selenium-webdriver 2.43.0 → 2.44.0.dev
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGES +3 -0
- data/lib/selenium/webdriver/firefox/extension/webdriver.xpi +0 -0
- data/lib/selenium/webdriver/ie/bridge.rb +9 -8
- data/lib/selenium/webdriver/ie/server.rb +8 -4
- data/lib/selenium/webdriver/remote/bridge.rb +2 -0
- data/lib/selenium/webdriver/remote/http/default.rb +1 -1
- data/selenium-webdriver.gemspec +1 -1
- metadata +3 -3
data/CHANGES
CHANGED
Binary file
|
@@ -13,14 +13,15 @@ module Selenium
|
|
13
13
|
DEFAULT_TIMEOUT = 30
|
14
14
|
|
15
15
|
def initialize(opts = {})
|
16
|
-
caps
|
17
|
-
timeout
|
18
|
-
port
|
19
|
-
http_client
|
20
|
-
ignore_mode
|
21
|
-
native_events
|
22
|
-
|
23
|
-
|
16
|
+
caps = opts.delete(:desired_capabilities) { Remote::Capabilities.internet_explorer }
|
17
|
+
timeout = opts.delete(:timeout) { DEFAULT_TIMEOUT }
|
18
|
+
port = opts.delete(:port) { PortProber.above(DEFAULT_PORT) }
|
19
|
+
http_client = opts.delete(:http_client)
|
20
|
+
ignore_mode = opts.delete(:introduce_flakiness_by_ignoring_security_domains)
|
21
|
+
native_events = opts.delete(:native_events) != false
|
22
|
+
implementation = opts.delete(:implementation)
|
23
|
+
|
24
|
+
@server = Server.get(:implementation => implementation)
|
24
25
|
|
25
26
|
@server.log_level = opts.delete(:log_level) if opts[:log_level]
|
26
27
|
@server.log_file = opts.delete(:log_file) if opts[:log_file]
|
@@ -5,10 +5,11 @@ module Selenium
|
|
5
5
|
|
6
6
|
STOP_TIMEOUT = 5
|
7
7
|
|
8
|
-
def self.get
|
8
|
+
def self.get(opts = {})
|
9
9
|
binary = IE.driver_path || Platform.find_binary("IEDriverServer")
|
10
|
+
|
10
11
|
if binary
|
11
|
-
new
|
12
|
+
new binary, opts
|
12
13
|
else
|
13
14
|
raise Error::WebDriverError,
|
14
15
|
"Unable to find standalone executable. Please download the IEDriverServer from http://selenium-release.storage.googleapis.com/index.html and place the executable on your PATH."
|
@@ -24,8 +25,10 @@ module Selenium
|
|
24
25
|
@process = nil
|
25
26
|
|
26
27
|
opts = opts.dup
|
27
|
-
|
28
|
-
@
|
28
|
+
|
29
|
+
@log_level = opts.delete(:log_level)
|
30
|
+
@log_file = opts.delete(:log_file)
|
31
|
+
@implementation = opts.delete(:implementation)
|
29
32
|
|
30
33
|
unless opts.empty?
|
31
34
|
raise ArgumentError, "invalid option#{'s' if opts.size != 1}: #{opts.inspect}"
|
@@ -76,6 +79,7 @@ module Selenium
|
|
76
79
|
|
77
80
|
args << "--log-level=#{@log_level.to_s.upcase}" if @log_level
|
78
81
|
args << "--log-file=#{@log_file}" if @log_file
|
82
|
+
args << "--implementation=#{@implementation.to_s.upcase}" if @implementation
|
79
83
|
|
80
84
|
args
|
81
85
|
end
|
data/selenium-webdriver.gemspec
CHANGED
metadata
CHANGED
@@ -1,8 +1,8 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: selenium-webdriver
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
prerelease:
|
5
|
-
version: 2.
|
4
|
+
prerelease: 7
|
5
|
+
version: 2.44.0.dev
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
8
8
|
- Jari Bakken
|
@@ -10,7 +10,7 @@ autorequire:
|
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
12
|
|
13
|
-
date: 2014-
|
13
|
+
date: 2014-11-05 00:00:00 +01:00
|
14
14
|
default_executable:
|
15
15
|
dependencies:
|
16
16
|
- !ruby/object:Gem::Dependency
|