...
Selenium WebDriver is a framework that facilitates web application automation. It makes direct calls to the browsers installed on the machine using the browsers' native driver. Each major browser provides its own implementation of the WebDriver interface (usually also referred to as a "WebDriver," too). The appropriate A compatible WebDriver is required for each browser in which your Selenium tests are written to execute. Refer to the System Requirements for a list of supported browsers and drivers.
Scroll Ignore | ||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||||||
|
Downloading WebDrivers
Be sure to download Download the correct WebDriver for your browser version.
- Chrome: http://chromedriver.chromium.org/downloads.
Microsoft Edge: The Microsoft WebDriver for Edge version 18 and 19 ships with Windows and can be installed by running the following command:
0No Format DISM.exe /Online /Add-Capability /CapabilityName:Microsoft.WebDriver~~~~0.0.1.
0
For builds prior to 18, you can download the appropriate driver for your version of Edge from the Microsoft developer site:
https://developer.microsoft.com/en-us/microsoft-edge/tools/webdriver/- Firefox: https://github.com/mozilla/geckodriver/releases.
- Internet Explorer: https://github.com/SeleniumHQ/selenium/wiki/InternetExplorerDriver
If you are setting up the WebDriver for IE11, use the 32-bit version of the driver, regardless of the system and browser architectures. - Safari: The WebDriver for Safari is built into macOS.
...
Code Block |
---|
mvn test -DargLine=-javaagent:/path/to/selenic_agent.jar -Dwebdriver.chrome.driver=/path/to/chromedriver |
See UsageSee Command Line for details.
Adding WebDrivers to Your Path
...