selenium-webdriver 2.16.0 → 2.17.0
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGES +15 -0
- data/lib/selenium/webdriver/chrome/bridge.rb +14 -5
- data/lib/selenium/webdriver/common/driver_extensions/uploads_files.rb +2 -1
- data/lib/selenium/webdriver/firefox/extension/webdriver.xpi +0 -0
- data/lib/selenium/webdriver/firefox/profile.rb +2 -0
- data/lib/selenium/webdriver/ie/native/win32/IEDriver.dll +0 -0
- data/lib/selenium/webdriver/ie/native/x64/IEDriver.dll +0 -0
- metadata +54 -54
data/CHANGES
CHANGED
@@ -1,3 +1,18 @@
|
|
1
|
+
2.17.0 (2012-01-16)
|
2
|
+
===================
|
3
|
+
|
4
|
+
* Firefox:
|
5
|
+
* Fix excessive unwrapping when switching windows.
|
6
|
+
* Set toolkit.telemetry.{enabled,rejected} in the default Firefox profile.
|
7
|
+
* Support up to version 12 with synthesized events.
|
8
|
+
* Fixed issues launching Firefox 9 due to modal dialog (#3154, #3144)
|
9
|
+
* Chrome:
|
10
|
+
* Now accepts a :url option, pointing to an already running Chrome server.
|
11
|
+
* Now accepts a :proxy option (i.e. Selenium::WebDriver::Proxy instance).
|
12
|
+
* iPhone:
|
13
|
+
* iWebDriver will auto-play HTML5 video (#3152)
|
14
|
+
* Element#attribute("value") falls back to the text of option tags, if no value attribute is specified (#3169)
|
15
|
+
|
1
16
|
2.16.0 (2012-01-04)
|
2
17
|
===================
|
3
18
|
|
@@ -7,13 +7,20 @@ module Selenium
|
|
7
7
|
|
8
8
|
def initialize(opts = {})
|
9
9
|
http_client = opts.delete(:http_client)
|
10
|
-
caps = create_capabilities(opts)
|
11
10
|
|
12
|
-
|
13
|
-
|
11
|
+
if opts.has_key?(:url)
|
12
|
+
url = opts.delete(:url)
|
13
|
+
else
|
14
|
+
@service = Service.default_service
|
15
|
+
@service.start
|
16
|
+
|
17
|
+
url = @service.uri
|
18
|
+
end
|
19
|
+
|
20
|
+
caps = create_capabilities(opts)
|
14
21
|
|
15
22
|
remote_opts = {
|
16
|
-
:url =>
|
23
|
+
:url => url,
|
17
24
|
:desired_capabilities => caps
|
18
25
|
}
|
19
26
|
|
@@ -40,7 +47,7 @@ module Selenium
|
|
40
47
|
def quit
|
41
48
|
super
|
42
49
|
ensure
|
43
|
-
@service.stop
|
50
|
+
@service.stop if @service
|
44
51
|
end
|
45
52
|
|
46
53
|
private
|
@@ -51,6 +58,7 @@ module Selenium
|
|
51
58
|
verbose = opts.delete(:verbose)
|
52
59
|
profile = opts.delete(:profile)
|
53
60
|
detach = opts.delete(:detach)
|
61
|
+
proxy = opts.delete(:proxy)
|
54
62
|
|
55
63
|
unless opts.empty?
|
56
64
|
raise ArgumentError, "unknown option#{'s' if opts.size != 1}: #{opts.inspect}"
|
@@ -81,6 +89,7 @@ module Selenium
|
|
81
89
|
|
82
90
|
caps = Remote::Capabilities.chrome
|
83
91
|
caps['chromeOptions'] = chrome_options
|
92
|
+
caps['proxy'] = proxy if proxy
|
84
93
|
|
85
94
|
# legacy options - for chromedriver < 17.0.963.0
|
86
95
|
caps["chrome.switches"] = chrome_options['args'] if chrome_options.member?('args')
|
@@ -21,7 +21,8 @@ module Selenium
|
|
21
21
|
# driver = Selenium::WebDriver.for :remote
|
22
22
|
# driver.file_detector = lambda do |args|
|
23
23
|
# # args => ["/path/to/file"]
|
24
|
-
# str
|
24
|
+
# str = args.first.to_s
|
25
|
+
# str if File.exist?(str)
|
25
26
|
# end
|
26
27
|
#
|
27
28
|
# driver.find_element(:id => "upload").send_keys "/path/to/file"
|
Binary file
|
@@ -302,6 +302,8 @@ module Selenium
|
|
302
302
|
"signon.rememberSignons" => 'false',
|
303
303
|
"toolkit.networkmanager.disable" => 'true',
|
304
304
|
"toolkit.telemetry.prompted" => '2',
|
305
|
+
"toolkit.telemetry.enabled" => 'false',
|
306
|
+
"toolkit.telemetry.rejected" => 'true',
|
305
307
|
"javascript.options.showInConsole" => 'true',
|
306
308
|
"browser.dom.window.dump.enabled" => 'true',
|
307
309
|
"dom.report_all_js_exceptions" => "true"
|
Binary file
|
Binary file
|
metadata
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
name: selenium-webdriver
|
3
3
|
version: !ruby/object:Gem::Version
|
4
4
|
prerelease:
|
5
|
-
version: 2.
|
5
|
+
version: 2.17.0
|
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: 2012-01-
|
13
|
+
date: 2012-01-16 00:00:00 +01:00
|
14
14
|
default_executable:
|
15
15
|
dependencies:
|
16
16
|
- !ruby/object:Gem::Dependency
|
@@ -115,92 +115,92 @@ files:
|
|
115
115
|
- lib/selenium/client.rb
|
116
116
|
- lib/selenium/server.rb
|
117
117
|
- lib/selenium/webdriver.rb
|
118
|
+
- lib/selenium/client/base.rb
|
118
119
|
- lib/selenium/client/driver.rb
|
120
|
+
- lib/selenium/client/errors.rb
|
119
121
|
- lib/selenium/client/extensions.rb
|
122
|
+
- lib/selenium/client/idiomatic.rb
|
120
123
|
- lib/selenium/client/javascript_expression_builder.rb
|
121
|
-
- lib/selenium/client/base.rb
|
122
|
-
- lib/selenium/client/selenium_helper.rb
|
123
124
|
- lib/selenium/client/legacy_driver.rb
|
124
|
-
- lib/selenium/client/errors.rb
|
125
125
|
- lib/selenium/client/protocol.rb
|
126
|
-
- lib/selenium/client/
|
127
|
-
- lib/selenium/client/javascript_frameworks/prototype.rb
|
126
|
+
- lib/selenium/client/selenium_helper.rb
|
128
127
|
- lib/selenium/client/javascript_frameworks/jquery.rb
|
128
|
+
- lib/selenium/client/javascript_frameworks/prototype.rb
|
129
129
|
- lib/selenium/rake/server_task.rb
|
130
|
+
- lib/selenium/webdriver/android.rb
|
130
131
|
- lib/selenium/webdriver/chrome.rb
|
131
|
-
- lib/selenium/webdriver/iphone.rb
|
132
|
-
- lib/selenium/webdriver/remote.rb
|
133
|
-
- lib/selenium/webdriver/firefox.rb
|
134
132
|
- lib/selenium/webdriver/common.rb
|
133
|
+
- lib/selenium/webdriver/firefox.rb
|
135
134
|
- lib/selenium/webdriver/ie.rb
|
135
|
+
- lib/selenium/webdriver/iphone.rb
|
136
136
|
- lib/selenium/webdriver/opera.rb
|
137
|
+
- lib/selenium/webdriver/remote.rb
|
137
138
|
- lib/selenium/webdriver/support.rb
|
138
|
-
- lib/selenium/webdriver/android.rb
|
139
139
|
- lib/selenium/webdriver/android/bridge.rb
|
140
|
-
- lib/selenium/webdriver/iphone/bridge.rb
|
141
|
-
- lib/selenium/webdriver/support/event_firing_bridge.rb
|
142
|
-
- lib/selenium/webdriver/support/abstract_event_listener.rb
|
143
|
-
- lib/selenium/webdriver/support/block_event_listener.rb
|
144
|
-
- lib/selenium/webdriver/support/select.rb
|
145
140
|
- lib/selenium/webdriver/chrome/bridge.rb
|
146
141
|
- lib/selenium/webdriver/chrome/profile.rb
|
147
142
|
- lib/selenium/webdriver/chrome/service.rb
|
148
|
-
- lib/selenium/webdriver/opera/bridge.rb
|
149
|
-
- lib/selenium/webdriver/opera/service.rb
|
150
|
-
- lib/selenium/webdriver/remote/bridge.rb
|
151
|
-
- lib/selenium/webdriver/remote/commands.rb
|
152
|
-
- lib/selenium/webdriver/remote/server_error.rb
|
153
|
-
- lib/selenium/webdriver/remote/capabilities.rb
|
154
|
-
- lib/selenium/webdriver/remote/response.rb
|
155
|
-
- lib/selenium/webdriver/remote/http/persistent.rb
|
156
|
-
- lib/selenium/webdriver/remote/http/curb.rb
|
157
|
-
- lib/selenium/webdriver/remote/http/default.rb
|
158
|
-
- lib/selenium/webdriver/remote/http/common.rb
|
159
|
-
- lib/selenium/webdriver/firefox/bridge.rb
|
160
|
-
- lib/selenium/webdriver/firefox/profile.rb
|
161
|
-
- lib/selenium/webdriver/firefox/socket_lock.rb
|
162
|
-
- lib/selenium/webdriver/firefox/util.rb
|
163
|
-
- lib/selenium/webdriver/firefox/binary.rb
|
164
|
-
- lib/selenium/webdriver/firefox/extension.rb
|
165
|
-
- lib/selenium/webdriver/firefox/profiles_ini.rb
|
166
|
-
- lib/selenium/webdriver/firefox/launcher.rb
|
167
|
-
- lib/selenium/webdriver/firefox/extension/webdriver.xpi
|
168
|
-
- lib/selenium/webdriver/firefox/native/linux/amd64/x_ignore_nofocus.so
|
169
|
-
- lib/selenium/webdriver/firefox/native/linux/x86/x_ignore_nofocus.so
|
170
|
-
- lib/selenium/webdriver/common/platform.rb
|
171
|
-
- lib/selenium/webdriver/common/alert.rb
|
172
|
-
- lib/selenium/webdriver/common/keys.rb
|
173
143
|
- lib/selenium/webdriver/common/action_builder.rb
|
144
|
+
- lib/selenium/webdriver/common/alert.rb
|
145
|
+
- lib/selenium/webdriver/common/bridge_helper.rb
|
174
146
|
- lib/selenium/webdriver/common/driver.rb
|
175
|
-
- lib/selenium/webdriver/common/mouse.rb
|
176
|
-
- lib/selenium/webdriver/common/socket_poller.rb
|
177
147
|
- lib/selenium/webdriver/common/element.rb
|
178
|
-
- lib/selenium/webdriver/common/
|
179
|
-
- lib/selenium/webdriver/common/wait.rb
|
180
|
-
- lib/selenium/webdriver/common/navigation.rb
|
148
|
+
- lib/selenium/webdriver/common/error.rb
|
181
149
|
- lib/selenium/webdriver/common/file_reaper.rb
|
182
|
-
- lib/selenium/webdriver/common/
|
150
|
+
- lib/selenium/webdriver/common/keyboard.rb
|
151
|
+
- lib/selenium/webdriver/common/keys.rb
|
152
|
+
- lib/selenium/webdriver/common/mouse.rb
|
153
|
+
- lib/selenium/webdriver/common/navigation.rb
|
154
|
+
- lib/selenium/webdriver/common/options.rb
|
155
|
+
- lib/selenium/webdriver/common/platform.rb
|
183
156
|
- lib/selenium/webdriver/common/port_prober.rb
|
157
|
+
- lib/selenium/webdriver/common/profile_helper.rb
|
158
|
+
- lib/selenium/webdriver/common/proxy.rb
|
184
159
|
- lib/selenium/webdriver/common/search_context.rb
|
160
|
+
- lib/selenium/webdriver/common/socket_poller.rb
|
185
161
|
- lib/selenium/webdriver/common/target_locator.rb
|
186
|
-
- lib/selenium/webdriver/common/keyboard.rb
|
187
162
|
- lib/selenium/webdriver/common/timeouts.rb
|
188
|
-
- lib/selenium/webdriver/common/
|
189
|
-
- lib/selenium/webdriver/common/
|
190
|
-
- lib/selenium/webdriver/common/options.rb
|
163
|
+
- lib/selenium/webdriver/common/wait.rb
|
164
|
+
- lib/selenium/webdriver/common/window.rb
|
191
165
|
- lib/selenium/webdriver/common/zipper.rb
|
192
|
-
- lib/selenium/webdriver/common/proxy.rb
|
193
166
|
- lib/selenium/webdriver/common/core_ext/base64.rb
|
194
167
|
- lib/selenium/webdriver/common/core_ext/dir.rb
|
195
168
|
- lib/selenium/webdriver/common/core_ext/string.rb
|
196
|
-
- lib/selenium/webdriver/common/driver_extensions/takes_screenshot.rb
|
197
169
|
- lib/selenium/webdriver/common/driver_extensions/has_input_devices.rb
|
198
170
|
- lib/selenium/webdriver/common/driver_extensions/rotatable.rb
|
171
|
+
- lib/selenium/webdriver/common/driver_extensions/takes_screenshot.rb
|
199
172
|
- lib/selenium/webdriver/common/driver_extensions/uploads_files.rb
|
173
|
+
- lib/selenium/webdriver/firefox/binary.rb
|
174
|
+
- lib/selenium/webdriver/firefox/bridge.rb
|
175
|
+
- lib/selenium/webdriver/firefox/extension.rb
|
176
|
+
- lib/selenium/webdriver/firefox/launcher.rb
|
177
|
+
- lib/selenium/webdriver/firefox/profile.rb
|
178
|
+
- lib/selenium/webdriver/firefox/profiles_ini.rb
|
179
|
+
- lib/selenium/webdriver/firefox/socket_lock.rb
|
180
|
+
- lib/selenium/webdriver/firefox/util.rb
|
181
|
+
- lib/selenium/webdriver/firefox/extension/webdriver.xpi
|
182
|
+
- lib/selenium/webdriver/firefox/native/linux/amd64/x_ignore_nofocus.so
|
183
|
+
- lib/selenium/webdriver/firefox/native/linux/x86/x_ignore_nofocus.so
|
200
184
|
- lib/selenium/webdriver/ie/bridge.rb
|
201
185
|
- lib/selenium/webdriver/ie/server.rb
|
202
|
-
- lib/selenium/webdriver/ie/native/x64/IEDriver.dll
|
203
186
|
- lib/selenium/webdriver/ie/native/win32/IEDriver.dll
|
187
|
+
- lib/selenium/webdriver/ie/native/x64/IEDriver.dll
|
188
|
+
- lib/selenium/webdriver/iphone/bridge.rb
|
189
|
+
- lib/selenium/webdriver/opera/bridge.rb
|
190
|
+
- lib/selenium/webdriver/opera/service.rb
|
191
|
+
- lib/selenium/webdriver/remote/bridge.rb
|
192
|
+
- lib/selenium/webdriver/remote/capabilities.rb
|
193
|
+
- lib/selenium/webdriver/remote/commands.rb
|
194
|
+
- lib/selenium/webdriver/remote/response.rb
|
195
|
+
- lib/selenium/webdriver/remote/server_error.rb
|
196
|
+
- lib/selenium/webdriver/remote/http/common.rb
|
197
|
+
- lib/selenium/webdriver/remote/http/curb.rb
|
198
|
+
- lib/selenium/webdriver/remote/http/default.rb
|
199
|
+
- lib/selenium/webdriver/remote/http/persistent.rb
|
200
|
+
- lib/selenium/webdriver/support/abstract_event_listener.rb
|
201
|
+
- lib/selenium/webdriver/support/block_event_listener.rb
|
202
|
+
- lib/selenium/webdriver/support/event_firing_bridge.rb
|
203
|
+
- lib/selenium/webdriver/support/select.rb
|
204
204
|
- CHANGES
|
205
205
|
- README
|
206
206
|
has_rdoc: true
|