You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In addition to declaring driver plug-ins in the **ServiceLoader** provider configuration file, the Java project itself must declare the dependencies of the corresponding driver(s). These dependencies vary by the version of **Selenium API** you're using, and they're documented in the plug-in classes themselves. For example, here is the Maven dependency for the **Selenium 3** version of **`HtmlUnitPlugin`**:
36
-
37
-
```xml
38
-
<dependency>
39
-
<groupId>org.seleniumhq.selenium</groupId>
40
-
<artifactId>htmlunit-driver</artifactId>
41
-
<version>2.67.0</version>
42
-
</dependency>
43
-
```
35
+
In addition to declaring driver plug-ins in the **ServiceLoader** provider configuration file, the Java project itself must declare the dependencies of the corresponding driver(s). These dependencies vary by the version of **Selenium API** you're using, and they're documented in the plug-in classes themselves. For example, here are the Maven dependency declarations for **`HtmlUnitPlugin`**:
### Driver Plug-Ins for Desktop Browsers and Appium Engines
46
42
47
43
Driver plug-ins encapsulate the specific details related to launching **Selenium Grid** nodes that support the corresponding drivers. **Selenium Foundation** provides [driver plug-ins](ConfiguringProjectSettings.md#desktop-browser-support) for all of the major browsers. It also provides plug-ins for all of the major [automation engines](ConfiguringProjectSettings.md#appium-automation-engine-support) of the `Appium` project.
48
44
49
45
#### Drivers for Desktop Browsers
50
46
51
-
In addition to specifying browser driver plug-ins in the **ServiceLoader** provider configuration file, you'll need to [install](../README.md#installing-drivers) the corresponding browsers and matching drivers. The process for installing browsers and drivers varies. Just follow the instruction provided by the driver vendor.
47
+
Since the release of **Selenium Foundation**[28.0.0](https://github.com/sbabcoc/Selenium-Foundation/releases/tag/v28.0.0), we now use **Selenium Manager** (Selenium 4) and **Web Driver Manager** (Selenium 3) to acquire compatible drivers for the browsers targeted by your tests. If the manager is unable to locate or download a required driver, **DriverExecutableNotFoundException** is thrown.
48
+
49
+
**NOTE**: This driver acquisition process is bypassed for test classes that implement the [DriverProvider](ConfiguringProjectSettings.md#testing-with-non-default-browser-sessions) interface.
52
50
53
51
#### Appium-Specific Configuration
54
52
55
-
In addition to specifying `Appium`driver plug-ins in the **ServiceLoader** provider configuration file, you'll need to [install](http://appium.io/docs/en/about-appium/getting-started)`Appium` and its dependencies. With a conventional installation, **Selenium Foundation** can use your system configuration to locate the components that comprise an `Appium` node. For non-standard installations, **Selenium Foundation** provides [settings](ConfiguringProjectSettings.md#appium-binary-paths) that enable you to supply explicit paths to these items.
53
+
The automatic driver installation feature does not include management of Appium [automation engines](ConfiguringProjectSettings.md#appium-automation-engine-support), which must be installed separately, along with Appium's dependencies. With a conventional installation, **Selenium Foundation** can use your system configuration to locate the components that comprise an `Appium` node. For non-standard installations, **Selenium Foundation** provides [settings](ConfiguringProjectSettings.md#appium-binary-paths) that enable you to supply explicit paths to these items.
56
54
57
55
#### Appium Server Arguments
58
56
@@ -62,21 +60,21 @@ In addition to specifying `Appium` driver plug-ins in the **ServiceLoader** prov
62
60
63
61
Although **Selenium Foundation** doesn't need the Java bindings for `Appium` to launch the Grid node, you'll need to declare this dependency in your Java projects to acquire device-specific drivers like **AndroidDriver** or **IOSDriver**. Here are the Maven artifact coordinates that correspond to each version of the **Selenium API**:
To enable the `Local Grid` feature to support **Selenium 3**, the core configuration in **`SeleniumConfig`** defines version-specific default values for several settings:
69
+
To enable the `Local Grid` feature to support both **Selenium 3** and **Selenium 4**, the core configuration in **`SeleniumConfig`** defines version-specific default values for several settings:
0 commit comments