webdrivers 3.6.0 → 3.7.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: b4e55b2ef62f95d8e9ab3c2befe6db30710aeac0
4
- data.tar.gz: e52688ba2c39015509364edc7160a1b20b38001f
2
+ SHA256:
3
+ metadata.gz: 234dcf7f2f7e833833b3e8943d2f223f8eec99a280a31765b1e1eb7896e892d9
4
+ data.tar.gz: fc80bb60c532e6ca7caf2b87a943671a20d0074be32455b1866c1476bcc04aad
5
5
  SHA512:
6
- metadata.gz: 13a9d284e61305ab64766f0a34746f8dd6bf48bf164efe9cfb76497c0060d8e381f18f15e7700d89dbab9efd81635f7230e0f5b11a4da6c8bc1978bda8c1e631
7
- data.tar.gz: bccf4adc7c5312a8bd2a560f3deb4cf1e7408e0c1e9e8187e420b813fe1847d88b70b7ce101b79761f953402e20508eb19df4376dc6c5d866e6e1c7e549c4e51
6
+ metadata.gz: ef17a229740ee31802abf2fe0a40a8534db9323d8ccc192263790b8892a243295fad8c2095c36d8870ef90ee1486014fffeef3cb06c514a55503352dda16e023
7
+ data.tar.gz: b7f75184b2ed26a026106420230b6d439b674909c63eea9362214485408f3be7ecdff961912874bb03bc8f310844210bfac39b183083db85834f45d4295f9021
data/.gitignore CHANGED
@@ -1,6 +1,6 @@
1
- *.gem
2
- .bundle
3
- Gemfile.lock
4
- pkg/*
5
- chromedriver.log
6
- /.idea/
1
+ *.gem
2
+ .bundle
3
+ Gemfile.lock
4
+ pkg/*
5
+ chromedriver.log
6
+ /.idea/
data/.travis.yml CHANGED
@@ -1,7 +1,11 @@
1
- sudo: required
2
- dist: trusty
3
- language: ruby
4
- cache: bundler
5
- rvm:
6
- - 2.4.1
7
- - jruby-9.2.0.0
1
+ sudo: required
2
+ os:
3
+ - linux
4
+ - osx
5
+ language: ruby
6
+ cache: bundler
7
+ rvm:
8
+ - 2.4.1
9
+ - jruby-9.2.0.0
10
+ addons:
11
+ chrome: stable
data/CHANGELOG.md CHANGED
@@ -1,96 +1,100 @@
1
- ### 3.6.0 (2018-12-30)
2
-
3
- * Put net_http_ssl_fix inside a toggle since it can cause other issues
4
-
5
- ### 3.5.2 (2018-12-16)
6
-
7
- * Use net_http_ssl_fix to address Net::HTTP issues on windows
8
-
9
- ### 3.5.1 (2018-12-16)
10
-
11
- ### 3.5.0 (2018-12-15)
12
-
13
- ### 3.5.0.beta1 (2018-12-15)
14
-
15
- * Allow version to be specified
16
-
17
- ### 3.4.3 (2018-10-22)
18
-
19
- * Fix bug with JRuby and geckodriver (thanks twalpole)
20
-
21
- ### 3.4.2 (2018-10-15)
22
-
23
- * Use chromedriver latest version
24
-
25
- ### 3.4.1 (2018-09-17)
26
-
27
- * Hardcode latest chromedriver version to 2.42 until we figure out chromedriver 70
28
-
29
- ### 3.4.0 (2018-09-07)
30
-
31
- * Allow public access to `#install_dir` and `#binary`
32
- * Allow user to set the default download directory
33
- * Improve version comparisons with use of `Gem::Version`
34
-
35
- ### 3.3.3 (2018-08-14)
36
-
37
- * Fix Geckodriver since Github changed its html again
38
-
39
- ### 3.3.2 (2018-05-04)
40
-
41
- * Fix bug with IEDriver versioning (Thanks Aleksei Gusev)
42
-
43
- ### 3.3.1 (2018-05-04)
44
-
45
- * Fix bug with MSWebdriver to fetch the correct driver instead of latest (Thanks kapoorlakshya)
46
-
47
- ### 3.3.0 (2018-04-29)
48
-
49
- * Ensures downloading correct MSWebdriver version (Thanks kapoorlakshya)
50
-
51
- ### 3.2.4 (2017-01-04)
52
-
53
- * Improve error message when unable to find the latest driver
54
-
55
- ### 3.2.3 (2017-12-12)
56
-
57
- * Fixed bug with finding geckodriver on updated Github release pages
58
-
59
- ### 3.2.2 (2017-11-20)
60
-
61
- * Fixed bug in `#untargz_file` (thanks Jake Goulding)
62
-
63
- ### 3.2.1 (2017-09-06)
64
-
65
- * Fixed Proxy support so it actually works (thanks Cheezy)
66
-
67
- ### 3.2.0 (2017-08-21)
68
-
69
- * Implemented Proxy support
70
-
71
- ### 3.1.0 (2017-08-21)
72
-
73
- * Implemented Logging functionality
74
-
75
- ### 3.0.1 (2017-08-18)
76
-
77
- * Create ~/.webdrivers directory if doesn't already exist
78
-
79
- ### 3.0.0 (2017-08-17)
80
-
81
- * Removes unnecessary downloads
82
-
83
- ### 3.0.0.beta3 (2017-08-17)
84
-
85
- * Supports Windows
86
- * Supports mswebdriver and iedriver
87
-
88
- ### 3.0.0.beta2 (2017-08-16)
89
-
90
- * Supports geckodriver on Mac and Linux
91
-
92
- ### 3.0.0.beta1 (2017-08-15)
93
-
94
- * Complete Rewrite of 2.x
95
- * Implemented with Monkey Patch not Shims
96
- * Supports chromedriver on Mac and Linux
1
+ ### 3.7.0 (2019-03-19)
2
+
3
+ * `chromedriver` version now matches the installed Chrome version. See [#32](https://github.com/titusfortner/webdrivers/pull/32).
4
+
5
+ ### 3.6.0 (2018-12-30)
6
+
7
+ * Put net_http_ssl_fix inside a toggle since it can cause other issues
8
+
9
+ ### 3.5.2 (2018-12-16)
10
+
11
+ * Use net_http_ssl_fix to address Net::HTTP issues on windows
12
+
13
+ ### 3.5.1 (2018-12-16)
14
+
15
+ ### 3.5.0 (2018-12-15)
16
+
17
+ ### 3.5.0.beta1 (2018-12-15)
18
+
19
+ * Allow version to be specified
20
+
21
+ ### 3.4.3 (2018-10-22)
22
+
23
+ * Fix bug with JRuby and geckodriver (thanks twalpole)
24
+
25
+ ### 3.4.2 (2018-10-15)
26
+
27
+ * Use chromedriver latest version
28
+
29
+ ### 3.4.1 (2018-09-17)
30
+
31
+ * Hardcode latest chromedriver version to 2.42 until we figure out chromedriver 70
32
+
33
+ ### 3.4.0 (2018-09-07)
34
+
35
+ * Allow public access to `#install_dir` and `#binary`
36
+ * Allow user to set the default download directory
37
+ * Improve version comparisons with use of `Gem::Version`
38
+
39
+ ### 3.3.3 (2018-08-14)
40
+
41
+ * Fix Geckodriver since Github changed its html again
42
+
43
+ ### 3.3.2 (2018-05-04)
44
+
45
+ * Fix bug with IEDriver versioning (Thanks Aleksei Gusev)
46
+
47
+ ### 3.3.1 (2018-05-04)
48
+
49
+ * Fix bug with MSWebdriver to fetch the correct driver instead of latest (Thanks kapoorlakshya)
50
+
51
+ ### 3.3.0 (2018-04-29)
52
+
53
+ * Ensures downloading correct MSWebdriver version (Thanks kapoorlakshya)
54
+
55
+ ### 3.2.4 (2017-01-04)
56
+
57
+ * Improve error message when unable to find the latest driver
58
+
59
+ ### 3.2.3 (2017-12-12)
60
+
61
+ * Fixed bug with finding geckodriver on updated Github release pages
62
+
63
+ ### 3.2.2 (2017-11-20)
64
+
65
+ * Fixed bug in `#untargz_file` (thanks Jake Goulding)
66
+
67
+ ### 3.2.1 (2017-09-06)
68
+
69
+ * Fixed Proxy support so it actually works (thanks Cheezy)
70
+
71
+ ### 3.2.0 (2017-08-21)
72
+
73
+ * Implemented Proxy support
74
+
75
+ ### 3.1.0 (2017-08-21)
76
+
77
+ * Implemented Logging functionality
78
+
79
+ ### 3.0.1 (2017-08-18)
80
+
81
+ * Create ~/.webdrivers directory if doesn't already exist
82
+
83
+ ### 3.0.0 (2017-08-17)
84
+
85
+ * Removes unnecessary downloads
86
+
87
+ ### 3.0.0.beta3 (2017-08-17)
88
+
89
+ * Supports Windows
90
+ * Supports mswebdriver and iedriver
91
+
92
+ ### 3.0.0.beta2 (2017-08-16)
93
+
94
+ * Supports geckodriver on Mac and Linux
95
+
96
+ ### 3.0.0.beta1 (2017-08-15)
97
+
98
+ * Complete Rewrite of 2.x
99
+ * Implemented with Monkey Patch not Shims
100
+ * Supports chromedriver on Mac and Linux
data/Gemfile CHANGED
@@ -1,4 +1,4 @@
1
- source "https://rubygems.org"
2
-
3
- # Specify your gem's dependencies in webdrivers.gemspec
4
- gemspec
1
+ source "https://rubygems.org"
2
+
3
+ # Specify your gem's dependencies in webdrivers.gemspec
4
+ gemspec
data/LICENSE.txt CHANGED
@@ -1,22 +1,22 @@
1
- (The MIT License)
2
-
3
- Copyright (c) 2017: Titus Fortner
4
-
5
- Permission is hereby granted, free of charge, to any person obtaining
6
- a copy of this software and associated documentation files (the
7
- 'Software'), to deal in the Software without restriction, including
8
- without limitation the rights to use, copy, modify, merge, publish,
9
- distribute, sublicense, and/or sell copies of the Software, and to
10
- permit persons to whom the Software is furnished to do so, subject to
11
- the following conditions:
12
-
13
- The above copyright notice and this permission notice shall be
14
- included in all copies or substantial portions of the Software.
15
-
16
- THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND,
17
- EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
18
- MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
19
- IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
20
- CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
21
- TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
22
- SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
1
+ (The MIT License)
2
+
3
+ Copyright (c) 2017: Titus Fortner
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining
6
+ a copy of this software and associated documentation files (the
7
+ 'Software'), to deal in the Software without restriction, including
8
+ without limitation the rights to use, copy, modify, merge, publish,
9
+ distribute, sublicense, and/or sell copies of the Software, and to
10
+ permit persons to whom the Software is furnished to do so, subject to
11
+ the following conditions:
12
+
13
+ The above copyright notice and this permission notice shall be
14
+ included in all copies or substantial portions of the Software.
15
+
16
+ THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND,
17
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
18
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
19
+ IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
20
+ CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
21
+ TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
22
+ SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
data/README.md CHANGED
@@ -1,76 +1,76 @@
1
- # Webdrivers
2
-
3
- [![Build status](https://api.travis-ci.org/titusfortner/webdrivers.svg)](https://travis-ci.org/titusfortner/webdrivers)
4
-
5
- Run Selenium tests more easily with automatic installation and updates for all supported webdrivers.
6
-
7
- # Description
8
-
9
- `webdrivers` downloads drivers and directs Selenium to use them.
10
-
11
- Currently supported:
12
- * `chromedriver`
13
- * `geckodriver`
14
- * `IEDriverServer`
15
- * `MicrosoftWebDriver`
16
-
17
- Drivers are stored in `~/.webdrivers` directory
18
-
19
- # Usage
20
-
21
- in your Gemfile:
22
-
23
- `gem "webdrivers", "~> 3.0"`
24
-
25
- in your project:
26
-
27
- `require 'webdrivers'`
28
-
29
- If there is a proxy between you and the Internet then you will need to configure
30
- the gem to use the proxy. You can do this by calling the `configure` method.
31
-
32
- ````ruby
33
- Webdrivers.configure do |config|
34
- config.proxy_addr = 'myproxy_address.com'
35
- config.proxy_port = '8080'
36
- config.proxy_user = 'username'
37
- config.proxy_pass = 'password'
38
- end
39
- ````
40
-
41
- If you are getting an error like this (especially common on Windows)
42
- `SSL_connect returned=1 errno=0 state=SSLv3 read server certificate B: certificate verify failed`
43
-
44
- add the following to your code:
45
-
46
- ````ruby
47
- Webdrivers.net_http_ssl_fix
48
- ````
49
-
50
- **Note when using Microsoft Edge**:
51
-
52
- After updating Microsoft Edge on Windows 10, you will need to delete the existing binary (`%USERPROFILE%/.webdrivers/MicrosoftWebDriver.exe`) to
53
- to be able to download the latest version through this gem.
54
-
55
- This is because `MicrosoftWebDriver.exe` is not backwards compatible and it does not have an argument to retrieve
56
- the current version. We work around this limitation by querying the current Edge version from the registry and
57
- fetching the corresponding binary IF a file does not already exist. If a file does exist, the gem assumes it is the
58
- expected version and skips the download process.
59
-
60
- If you continue with the outdated binary, Selenium will throw an error: `unable to connect to MicrosoftWebDriver localhost:17556`.
61
-
62
- # License
63
-
64
- The gem is available as open source under the terms of the [MIT License](http://opensource.org/licenses/MIT),
65
- see LICENSE.txt for full details and copyright.
66
-
67
-
68
- # Contributing
69
-
70
- Bug reports and pull requests are welcome [on GitHub](https://github.com/titusfortner/webdrivers).
71
-
72
-
73
- ## Copyright
74
-
75
- Copyright (c) 2017 Titus Fortner
76
- See LICENSE for details
1
+ # Webdrivers
2
+
3
+ [![Build status](https://api.travis-ci.org/titusfortner/webdrivers.svg)](https://travis-ci.org/titusfortner/webdrivers)
4
+
5
+ Run Selenium tests more easily with automatic installation and updates for all supported webdrivers.
6
+
7
+ # Description
8
+
9
+ `webdrivers` downloads drivers and directs Selenium to use them.
10
+
11
+ Currently supported:
12
+ * `chromedriver`
13
+ * `geckodriver`
14
+ * `IEDriverServer`
15
+ * `MicrosoftWebDriver`
16
+
17
+ Drivers are stored in `~/.webdrivers` directory
18
+
19
+ # Usage
20
+
21
+ in your Gemfile:
22
+
23
+ `gem "webdrivers", "~> 3.0"`
24
+
25
+ in your project:
26
+
27
+ `require 'webdrivers'`
28
+
29
+ If there is a proxy between you and the Internet then you will need to configure
30
+ the gem to use the proxy. You can do this by calling the `configure` method.
31
+
32
+ ````ruby
33
+ Webdrivers.configure do |config|
34
+ config.proxy_addr = 'myproxy_address.com'
35
+ config.proxy_port = '8080'
36
+ config.proxy_user = 'username'
37
+ config.proxy_pass = 'password'
38
+ end
39
+ ````
40
+
41
+ If you are getting an error like this (especially common on Windows)
42
+ `SSL_connect returned=1 errno=0 state=SSLv3 read server certificate B: certificate verify failed`
43
+
44
+ add the following to your code:
45
+
46
+ ````ruby
47
+ Webdrivers.net_http_ssl_fix
48
+ ````
49
+
50
+ **Note when using Microsoft Edge**:
51
+
52
+ After updating Microsoft Edge on Windows 10, you will need to delete the existing binary (`%USERPROFILE%/.webdrivers/MicrosoftWebDriver.exe`) to
53
+ to be able to download the latest version through this gem.
54
+
55
+ This is because `MicrosoftWebDriver.exe` is not backwards compatible and it does not have an argument to retrieve
56
+ the current version. We work around this limitation by querying the current Edge version from the registry and
57
+ fetching the corresponding binary IF a file does not already exist. If a file does exist, the gem assumes it is the
58
+ expected version and skips the download process.
59
+
60
+ If you continue with the outdated binary, Selenium will throw an error: `unable to connect to MicrosoftWebDriver localhost:17556`.
61
+
62
+ # License
63
+
64
+ The gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT),
65
+ see LICENSE.txt for full details and copyright.
66
+
67
+
68
+ # Contributing
69
+
70
+ Bug reports and pull requests are welcome [on GitHub](https://github.com/titusfortner/webdrivers).
71
+
72
+
73
+ ## Copyright
74
+
75
+ Copyright (c) 2017 Titus Fortner
76
+ See LICENSE for details