-
Notifications
You must be signed in to change notification settings - Fork 136
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
How can I use WebDriverManager in Docker? #406
Comments
The provided information is not enough to understand problem. However, for custom implementation, below are the steps you can follow:
|
WebDriverManager 5 is the ability to create browsers in Docker containers out of the box. The requirement to use this feature is to have installed a Docker Engine in the machine running the tests. To use it, we need to invoke the method browserInDocker() in conjunction with create() of a given manager. This way, WebDriverManager pulls the image from Docker Hub, starts the container, and instantiates the WebDriver object to use it. The following test shows a simple example using Chrome in Docker:
Reference Link: https://bonigarcia.dev/webdrivermanager/#browsers-in-docker Currently, there are two commands need to be executed,
Here, you must have to pass <local_ip_address> and the driver will be RemoteWebDriver. |
QAF Version
Expected behavior
It should support WDM with Docker with the latest version of WDM.
Reference: https://bonigarcia.dev/webdrivermanager/
The text was updated successfully, but these errors were encountered: