-
-
Notifications
You must be signed in to change notification settings - Fork 513
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CustomChromeOptions is not being called with remote provider #2719
Comments
I'm not sure, since the ChromeOptions is a Chrome-specific class. Have a look at the RemoteDriverProvider class and see if you can find a way to do it without breaking support for all of the other remote drivers. |
Currently, the only way to add extensions with RemoteDriverProvider is to implement a BeforeAWebDriverScenario, but with this option it doesn't work with Chrome. I've tried also a second option, using the extension property at serenity.json, but it only works with chrome driver, not with remote driver. It seems not using the property. |
This is a complex problem; I'm not sure when I will be able to look into it, but if feel free to look at the RemoteDriverProvider and see if you can find a more general solution to the problem. |
OK, I'll see then. It's a must for us in order to execute the tests in our pipeline, I will inform you... |
If it's a must for your company maybe you could consider sponsoring the implementation of this features then? |
What do you mean about sponsoring? |
Serenity BDD is an open source project, which means you have several options to prioritise work on features that your company finds valuable. These include:
|
I've found a way that works using FixtureService:
|
I've added an extension from a class that implements CustomChromeOptions (it can't be used from CustomDriverEnhancer as this does not allow to change capabilities):
This is working correctly from a local provider, but not in remote. In remote provider the CustomDriverEnhancer is being called, but not the CustomChromeOptions.
Can you add CustomChromeOptions in the code of remote provider?
The text was updated successfully, but these errors were encountered: