selenium-webdriver 3.142.2 → 3.142.3

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
2
  SHA1:
3
- metadata.gz: 59326754a9ae3f92a632b93b2c55a85567a5e1c6
4
- data.tar.gz: 544ab60eef8205b5db5d35d89aa5a44c430d908e
3
+ metadata.gz: d3ab72be7aa7d763442528c54d9cfcd5ca5d2b14
4
+ data.tar.gz: c26d2d6a59e9268990ea74cc32d8302bddad5fdb
5
5
  SHA512:
6
- metadata.gz: 80dc6e2ad10a7f5c38cd77c1097b63ea82a66e003acc535f751f3dc542231f4eee0a144ce08fc33b487639fc05fc7cf5ec9edfbfe45e62ab588bc0e7684a188d
7
- data.tar.gz: 3528f7acab90183f9651d18a99fba645a23f3cca3d32627f322d24ea5d9959d047cf6bab8094a5da076eec1f3b2052f653a1f7950c679dedca0270669e40fc54
6
+ metadata.gz: bdc0d5a6d9ccf1f66002f0b6536e12c04fa894df838c306b34c951a20e0e66a9df59d8fb22e198bef5fd4d4613e06430ed4809ae5b7be3d651677436a198bd94
7
+ data.tar.gz: f13990a7b3af740745c75fe362bf1b0ab4118bf8f1471a48e8245da2e39107146fbc9ba83ef419bd92bd04723ecbe9e6ddba31b3d768f6e06a7f495a35a04176
data/CHANGES CHANGED
@@ -1,3 +1,11 @@
1
+ 3.142.3 (2019-05-21)
2
+ ====================
3
+
4
+ Firefox:
5
+ * Fixed a regression when Firefox binary path was not sent to GeckoDriver
6
+ by default and browser could not be located (issue #7219)
7
+
8
+
1
9
  3.142.2 (2019-05-11)
2
10
  ====================
3
11
 
@@ -37,25 +37,38 @@ module Selenium
37
37
  class << self
38
38
  attr_reader :default_port, :driver_path, :executable, :missing_text, :shutdown_supported
39
39
 
40
- def chrome(*args)
41
- Chrome::Service.new(*args)
40
+ def chrome(**opts)
41
+ Chrome::Service.new(**opts)
42
42
  end
43
43
 
44
- def firefox(*args)
45
- Firefox::Service.new(*args)
44
+ def firefox(**opts)
45
+ binary_path = Firefox::Binary.path
46
+ args = opts.delete(:args)
47
+ case args
48
+ when Hash
49
+ args[:binary] ||= binary_path
50
+ opts[:args] = args
51
+ when Array
52
+ opts[:args] = ["--binary=#{binary_path}"]
53
+ opts[:args] += args
54
+ else
55
+ opts[:args] = ["--binary=#{binary_path}"]
56
+ end
57
+
58
+ Firefox::Service.new(**opts)
46
59
  end
47
60
 
48
- def ie(*args)
49
- IE::Service.new(*args)
61
+ def ie(**opts)
62
+ IE::Service.new(**opts)
50
63
  end
51
64
  alias_method :internet_explorer, :ie
52
65
 
53
- def edge(*args)
54
- Edge::Service.new(*args)
66
+ def edge(**opts)
67
+ Edge::Service.new(**opts)
55
68
  end
56
69
 
57
- def safari(*args)
58
- Safari::Service.new(*args)
70
+ def safari(**opts)
71
+ Safari::Service.new(**opts)
59
72
  end
60
73
 
61
74
  def driver_path=(path)
@@ -19,6 +19,6 @@
19
19
 
20
20
  module Selenium
21
21
  module WebDriver
22
- VERSION = '3.142.2'
22
+ VERSION = '3.142.3'
23
23
  end # WebDriver
24
24
  end # Selenium
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: selenium-webdriver
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.142.2
4
+ version: 3.142.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Alex Rodionov
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2019-05-11 00:00:00.000000000 Z
13
+ date: 2019-05-21 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  requirement: !ruby/object:Gem::Requirement