-
-
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
Create WebDriver with different ChromeOption by test #2675
Comments
@globalworming Yes this can be a solution but I don't know if the custom web driver will be created after the Before test hook is executed, in order to tell to the CustomWebDriver implementation which proxy-server to use... I will test it out. Also I have an additional concern: Will I lose some serenity configuration related to the WebDriver creation if I will use a Custom one that will create the ChromeDriver?
|
If you create a custom driver you are entirely responsible for its configuration. |
Closing presumed answered. |
I am using the serenity to manage the WebDriver download and creation. Right now I am using the chrome driver.
I need to extend a test in order to open the browser with different IP addresses because the application has different behavior by ip address's country.
I need to specify the '--proxy-server' ChromeOption before the WebDriver is created. This value will be different by test. Is there a before web driver hook in Serenity? So I can specify in a programmatic way the ChromeOption before the driver is created.
The text was updated successfully, but these errors were encountered: