webdrivers 4.0.0.rc2 → 4.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +6 -0
- data/README.md +20 -10
- data/lib/webdrivers/version.rb +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7f9dfef27ff9ab5bae476fa1b8667572f892ef8f4d6631d150bc95018d33d327
|
4
|
+
data.tar.gz: a38a950bf647ec8d94fc7101d06a0325cac68568a2b0bcde65775fb64ee34a4e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 27a4cdef15c93e2fee024e0314dcaa663aeaf1f33bc23a5caecf3143d73b958c5486d4b09e52b961ab9bd80273630957dec8e773a7d76a4c8f85533c1cded036
|
7
|
+
data.tar.gz: bef2bc7580981a2444d5a8e5eb45c9be99c5bcdbe1f60029179cf0e28d3d2a3145bf608e06afec4da63d75041e4fdd47444a3a8e67c98b222b69e9a7095d5437
|
data/CHANGELOG.md
CHANGED
@@ -1,3 +1,9 @@
|
|
1
|
+
### 4.0.0 (2019-05-28)
|
2
|
+
|
3
|
+
No changes since rc2. Please report any issues [here](https://github.com/titusfortner/webdrivers/issues)
|
4
|
+
or join us in the `#webdrivers-gem` channel on [Slack](https://seleniumhq.herokuapp.com/) if you
|
5
|
+
have questions.
|
6
|
+
|
1
7
|
### 4.0.0.rc2 (2019-05-21)
|
2
8
|
* Fix a bug with `WD_CACHE_TIME` when using the rake tasks (issue [#123](https://github.com/titusfortner/webdrivers/pull/123))
|
3
9
|
|
data/README.md
CHANGED
@@ -14,11 +14,15 @@ Run Selenium tests more easily with automatic installation and updates for all s
|
|
14
14
|
* [geckodriver](https://github.com/mozilla/geckodriver)
|
15
15
|
* [IEDriverServer](https://github.com/SeleniumHQ/selenium/wiki/InternetExplorerDriver)
|
16
16
|
|
17
|
+
Support for [`msedgedriver`](https://developer.microsoft.com/en-us/microsoft-edge/tools/webdriver/)
|
18
|
+
will be added once the next Microsoft Edge version (v75) is released. More information is available
|
19
|
+
[here](https://developer.microsoft.com/en-us/microsoft-edge/).
|
20
|
+
|
17
21
|
## Usage
|
18
22
|
|
19
23
|
In your Gemfile:
|
20
24
|
|
21
|
-
`gem 'webdrivers', '~>
|
25
|
+
`gem 'webdrivers', '~> 4.0'`
|
22
26
|
|
23
27
|
In your project:
|
24
28
|
|
@@ -34,7 +38,7 @@ through Selenium.
|
|
34
38
|
If you want webdrivers to only manage specific drivers you can specify one or more as follows:
|
35
39
|
```ruby
|
36
40
|
require 'webdrivers/chromedriver'
|
37
|
-
require 'webdrivers/
|
41
|
+
require 'webdrivers/geckodriver'
|
38
42
|
require 'webdrivers/iedriver'
|
39
43
|
```
|
40
44
|
|
@@ -151,7 +155,7 @@ $ bundle exec rake webdrivers:chromedriver:update[2.46] webdrivers:geckodriver:u
|
|
151
155
|
|
152
156
|
Please note that these tasks do not use any of the configurations from your
|
153
157
|
project (code) and only respect the `ENV` variables and the version (optional)
|
154
|
-
passed to the `rake`
|
158
|
+
passed to the `rake` tasks.
|
155
159
|
|
156
160
|
### Logging
|
157
161
|
|
@@ -170,11 +174,11 @@ The version of `chromedriver` will depend on the version of Chrome you are using
|
|
170
174
|
* For versions >= 70, the downloaded version of `chromedriver` will match the installed version of Google Chrome.
|
171
175
|
More information [here](http://chromedriver.chromium.org/downloads/version-selection).
|
172
176
|
* For versions <= 69, `chromedriver` version 2.41 will be downloaded.
|
173
|
-
* For beta versions, you'll have to
|
177
|
+
* For beta versions, you'll have to require the beta version of `chromedriver`
|
174
178
|
using `Webdrivers::Chromedriver.required_version`.
|
175
179
|
|
176
|
-
The gem
|
177
|
-
|
180
|
+
The gem looks for the Chrome/Chromium version that `chromedriver` will use by default.
|
181
|
+
You can override this behavior by providing a path to the browser binary you want to use:
|
178
182
|
|
179
183
|
```ruby
|
180
184
|
Selenium::WebDriver::Chrome.path = '/chromium/install/path/to/binary'
|
@@ -183,12 +187,18 @@ Selenium::WebDriver::Chrome.path = '/chromium/install/path/to/binary'
|
|
183
187
|
This is also required if Google Chrome is not installed in its
|
184
188
|
[default location](https://github.com/SeleniumHQ/selenium/wiki/ChromeDriver).
|
185
189
|
|
190
|
+
##### Heroku/CircleCI Users
|
191
|
+
|
192
|
+
Follow the specific instructions [here](https://github.com/titusfortner/webdrivers/wiki/Heroku-buildpack-google-chrome) if your CI environment provides custom shims for Chrome or Chromium.
|
193
|
+
|
186
194
|
#### Microsoft Edge
|
187
195
|
|
188
|
-
Microsoft Edge support has been removed for now, as it is currently
|
196
|
+
Microsoft Edge support for v18 and older has been removed for now, as it is currently
|
197
|
+
unreliable. To use Microsoft Edge, please visit the [Downloads and Installation page](https://developer.microsoft.com/en-us/microsoft-edge/tools/webdriver/#downloads).
|
189
198
|
|
190
|
-
|
191
|
-
|
199
|
+
Support for [`msedgedriver`](https://developer.microsoft.com/en-us/microsoft-edge/tools/webdriver/)
|
200
|
+
will be added once the next Microsoft Edge version (v75) is released. More information is available
|
201
|
+
[here](https://developer.microsoft.com/en-us/microsoft-edge/).
|
192
202
|
|
193
203
|
## Wiki
|
194
204
|
|
@@ -196,7 +206,7 @@ Please see the [wiki](https://github.com/titusfortner/webdrivers/wiki)
|
|
196
206
|
for solutions to commonly reported issues.
|
197
207
|
|
198
208
|
Join us in the `#webdrivers-gem` channel on [Slack](https://seleniumhq.herokuapp.com/)
|
199
|
-
if you
|
209
|
+
if you have any questions.
|
200
210
|
|
201
211
|
## License
|
202
212
|
|
data/lib/webdrivers/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: webdrivers
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 4.0.0
|
4
|
+
version: 4.0.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Titus Fortner
|
@@ -10,7 +10,7 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date: 2019-05-
|
13
|
+
date: 2019-05-28 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: ffi
|
@@ -208,9 +208,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
208
208
|
version: '0'
|
209
209
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
210
210
|
requirements:
|
211
|
-
- - "
|
211
|
+
- - ">="
|
212
212
|
- !ruby/object:Gem::Version
|
213
|
-
version:
|
213
|
+
version: '0'
|
214
214
|
requirements: []
|
215
215
|
rubygems_version: 3.0.3
|
216
216
|
signing_key:
|