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
Copy file name to clipboardexpand all lines: README.md
+2-10
Original file line number
Diff line number
Diff line change
@@ -20,7 +20,6 @@ This plugin exposes the following optional properties through the extension name
20
20
| --- | --- | --- |
21
21
|`chromedriver`|`String`| The exact version of ChromeDriver binary to be used by the project. No ChromeDriver binary will be downloaded if this property is not specified. |
22
22
|`geckodriver`|`String`| The exact version of GeckoDriver binary to be used by the project. No GeckoDriver binary will be downloaded if this property is not specified. |
23
-
|`iedriverserver`|`String`| The exact version of IEDriverServer binary to be used by the project. No IEDriverServer binary will be downloaded if this property is not specified. |
24
23
|`edgedriver`|`String`| The exact version of EdgeDriver binary to be used by the project. No EdgeDriver binary will be downloaded if this property is not specified. |
25
24
|`downloadRoot`|`File`| The location into which the binaries should be downloaded. If not specified the binaries are downloaded into the Gradle user home directory. Should not be specified under normal circumstances to benefit from caching of the binaries between multiple project builds. |
26
25
|`driverUrlsConfiguration`|`org.gradle.api.resources.TextResource`| The text resource which contains mapping from a binary version to a URL. If not specified then the default is to use [WebDriver Extensions Maven Plugin's `package.json` file](https://github.com/webdriverextensions/webdriverextensions-maven-plugin-repository/blob/master/repository-3.0.json) from `https://raw.githubusercontent.com/webdriverextensions/webdriverextensions-maven-plugin-repository/master/repository-3.0.json`. |
@@ -31,15 +30,14 @@ Example usage:
31
30
webdriverBinaries {
32
31
chromedriver '2.32'
33
32
geckodriver '0.19.0'
34
-
iedriverserver '3.8.0'
35
33
edgedriver '86.0.601.0'
36
34
}
37
35
38
36
### Extension methods
39
37
40
38
#### Detailed binaries configuration methods
41
39
42
-
Additionally to properties which can be used for specifying driver binaries versions, the plugin exposes `chromedriver()`, `geckodriver()`, `iedriverserver()`and `edgedriver()` configuration methods through the the extension named `webdriverBinaries`.
40
+
Additionally to properties which can be used for specifying driver binaries versions, the plugin exposes `chromedriver()`, `geckodriver()`, and `edgedriver()` configuration methods through the the extension named `webdriverBinaries`.
43
41
Each method takes a closure which delegates to an object with the following properties:
44
42
45
43
| Name | Type | Description |
@@ -60,11 +58,6 @@ Example usage:
60
58
version = '0.19.0'
61
59
architecture = 'X86'
62
60
}
63
-
iedriverserver {
64
-
version = '3.8.0'
65
-
architecture = 'X86'
66
-
fallbackTo32Bit = true
67
-
}
68
61
edgedriver {
69
62
version = '86.0.601.0'
70
63
architecture = 'X86'
@@ -100,7 +93,6 @@ Example usage:
100
93
This plugin adds the following tasks to the project:
101
94
*`configureChromeDriverBinary` - downloads, caches and configures the build to use a ChromeDriver binary
102
95
*`configureGeckoDriverBinary` - downloads, caches and configures the build to use a GeckoDriver binary
103
-
*`configureIeDriverServerBinary` - downloads, caches and configures the build to use a IEDriverServer binary
104
96
*`configureEdgeDriverBinary` - downloads, caches and configures the build to use a EdgeDriver binary
105
97
106
98
There is no need to call the above tasks directly because the plugin interweaves them into the build lifecycle by configuring all `org.gradle.api.tasks.testing.Test` tasks to depend on them.
@@ -129,7 +121,7 @@ Note that the `driverUrlsConfiguration` property is a `org.gradle.api.resources.
129
121
### Integration with Idea configuration extensions plugin (com.github.erdi.extended-idea)
130
122
131
123
If [Idea configuration extensions plugin](https://github.com/erdi/idea-gradle-plugins#idea-configuration-extensions-plugin) is applied to the project together with this plugin it will do the following:
132
-
* configure the `ideaWorkspace` task added to the build by [Gradle's built-in IDEA plugin](https://docs.gradle.org/current/userguide/idea_plugin.html) to depend on `configureChromeDriverBinary`, `configureGeckoDriverBinary`and `configureIeDriverServerBinary` tasks
124
+
* configure the `ideaWorkspace` task added to the build by [Gradle's built-in IDEA plugin](https://docs.gradle.org/current/userguide/idea_plugin.html) to depend on `configureChromeDriverBinary`and `configureGeckoDriverBinary` tasks
133
125
* add system properties specific for the drivers, setting the path to the downloaded binaries as their values, to default default JUnit run configuration in IntelliJ when the configuration tasks are executed
134
126
135
127
The above will ensure that locations of driver binaries are picked up when running tests from IntelliJ.
0 commit comments