Xceptance / neodymium-library

A test automation library based on common other best practice open source libraries. It adds missing functionalities but does not reinvent the wheel. Just glues stuff together nicely and adds some sprinkles.
MIT License
80 stars 11 forks source link

BrowserOptions set via arguments are getting ignored on SeleniumGrid #224

Closed Ankit3794 closed 4 months ago

Ankit3794 commented 1 year ago

Scenario:- wants to run chrome instance with --disable-dev-shm-usage option on selenium grid. Passed it as argument in browser.properties

browser.properties

browserprofile.Chrome.name = Chrome
browserprofile.Chrome.browser = chrome
browserprofile.Chrome.testEnvironment = grid
browserprofile.Chrome.arguments = disable-dev-shm-usage

credentials.properties

browserprofile.testEnvironment.grid.url = http://localhost:4444/
browserprofile.testEnvironment.grid.username =
browserprofile.testEnvironment.grid.password =

seems like, arguments passed from browserprofie..arguments are only being passed as Options if testEnvironment is empty or local.

Is there any way to pass arguments in TestEnvironment (i.e., Selenium Grid) approach.

wurzelkuchen commented 1 year ago

Hi, thanks for reaching out to us. I'll have a look and let you know once I checked the scenario.

Best, Bernd

wurzelkuchen commented 1 year ago

Hi,

unfortunately, this seems to be a Selenium issue. Currently Neodymium is still based on Selenium 3.x while this bug, seems to be fixed in Selenium 4.x. We are working on an update to Selenium 4.x but it still requires some work.

Best, Bernd

wurzelkuchen commented 4 months ago

Hi,

it took much longer than we anticipated, but with our current release for Neo 5.0.0. we support Selenide 7 which, comes with Selenium 4 and therefore, this issue should be resolved.

Best, Bernd