selenium-webdriver 2.0.0 → 2.0.1
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGES +6 -0
- data/lib/selenium/webdriver/chrome/service.rb +1 -1
- data/lib/selenium/webdriver/common/file_reaper.rb +1 -1
- data/lib/selenium/webdriver/common/platform.rb +8 -0
- data/lib/selenium/webdriver/firefox/extension/webdriver.xpi +0 -0
- data/lib/selenium/webdriver/opera/service.rb +1 -1
- metadata +211 -173
data/CHANGES
CHANGED
@@ -45,7 +45,7 @@ module Selenium
|
|
45
45
|
raise Error::WebDriverError, "unable to connect to chromedriver #{@uri}"
|
46
46
|
end
|
47
47
|
|
48
|
-
|
48
|
+
Platform.exit_hook { stop } # make sure we don't leave the server running
|
49
49
|
end
|
50
50
|
|
51
51
|
def stop
|
@@ -117,6 +117,14 @@ module Selenium
|
|
117
117
|
end
|
118
118
|
end
|
119
119
|
|
120
|
+
def exit_hook(&blk)
|
121
|
+
pid = Process.pid
|
122
|
+
|
123
|
+
at_exit do
|
124
|
+
yield if Process.pid == pid
|
125
|
+
end
|
126
|
+
end
|
127
|
+
|
120
128
|
def find_binary(*binary_names)
|
121
129
|
paths = ENV['PATH'].split(File::PATH_SEPARATOR)
|
122
130
|
binary_names.map! { |n| "#{n}.exe" } if windows?
|
Binary file
|
metadata
CHANGED
@@ -1,95 +1,128 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: selenium-webdriver
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
+
hash: 13
|
4
5
|
prerelease:
|
5
|
-
|
6
|
+
segments:
|
7
|
+
- 2
|
8
|
+
- 0
|
9
|
+
- 1
|
10
|
+
version: 2.0.1
|
6
11
|
platform: ruby
|
7
12
|
authors:
|
8
|
-
|
13
|
+
- Jari Bakken
|
9
14
|
autorequire:
|
10
15
|
bindir: bin
|
11
16
|
cert_chain: []
|
12
17
|
|
13
|
-
date: 2011-07-
|
14
|
-
default_executable:
|
18
|
+
date: 2011-07-11 00:00:00 Z
|
15
19
|
dependencies:
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
|
84
|
-
|
85
|
-
|
86
|
-
|
87
|
-
|
88
|
-
|
89
|
-
|
90
|
-
|
91
|
-
|
92
|
-
|
20
|
+
- !ruby/object:Gem::Dependency
|
21
|
+
name: json_pure
|
22
|
+
prerelease: false
|
23
|
+
requirement: &id001 !ruby/object:Gem::Requirement
|
24
|
+
none: false
|
25
|
+
requirements:
|
26
|
+
- - ">="
|
27
|
+
- !ruby/object:Gem::Version
|
28
|
+
hash: 3
|
29
|
+
segments:
|
30
|
+
- 0
|
31
|
+
version: "0"
|
32
|
+
type: :runtime
|
33
|
+
version_requirements: *id001
|
34
|
+
- !ruby/object:Gem::Dependency
|
35
|
+
name: rubyzip
|
36
|
+
prerelease: false
|
37
|
+
requirement: &id002 !ruby/object:Gem::Requirement
|
38
|
+
none: false
|
39
|
+
requirements:
|
40
|
+
- - ">="
|
41
|
+
- !ruby/object:Gem::Version
|
42
|
+
hash: 3
|
43
|
+
segments:
|
44
|
+
- 0
|
45
|
+
version: "0"
|
46
|
+
type: :runtime
|
47
|
+
version_requirements: *id002
|
48
|
+
- !ruby/object:Gem::Dependency
|
49
|
+
name: childprocess
|
50
|
+
prerelease: false
|
51
|
+
requirement: &id003 !ruby/object:Gem::Requirement
|
52
|
+
none: false
|
53
|
+
requirements:
|
54
|
+
- - ">="
|
55
|
+
- !ruby/object:Gem::Version
|
56
|
+
hash: 9
|
57
|
+
segments:
|
58
|
+
- 0
|
59
|
+
- 1
|
60
|
+
- 9
|
61
|
+
version: 0.1.9
|
62
|
+
type: :runtime
|
63
|
+
version_requirements: *id003
|
64
|
+
- !ruby/object:Gem::Dependency
|
65
|
+
name: ffi
|
66
|
+
prerelease: false
|
67
|
+
requirement: &id004 !ruby/object:Gem::Requirement
|
68
|
+
none: false
|
69
|
+
requirements:
|
70
|
+
- - ">="
|
71
|
+
- !ruby/object:Gem::Version
|
72
|
+
hash: 25
|
73
|
+
segments:
|
74
|
+
- 1
|
75
|
+
- 0
|
76
|
+
- 7
|
77
|
+
version: 1.0.7
|
78
|
+
type: :runtime
|
79
|
+
version_requirements: *id004
|
80
|
+
- !ruby/object:Gem::Dependency
|
81
|
+
name: rspec
|
82
|
+
prerelease: false
|
83
|
+
requirement: &id005 !ruby/object:Gem::Requirement
|
84
|
+
none: false
|
85
|
+
requirements:
|
86
|
+
- - ~>
|
87
|
+
- !ruby/object:Gem::Version
|
88
|
+
hash: 3
|
89
|
+
segments:
|
90
|
+
- 2
|
91
|
+
- 0
|
92
|
+
version: "2.0"
|
93
|
+
type: :development
|
94
|
+
version_requirements: *id005
|
95
|
+
- !ruby/object:Gem::Dependency
|
96
|
+
name: rack
|
97
|
+
prerelease: false
|
98
|
+
requirement: &id006 !ruby/object:Gem::Requirement
|
99
|
+
none: false
|
100
|
+
requirements:
|
101
|
+
- - ~>
|
102
|
+
- !ruby/object:Gem::Version
|
103
|
+
hash: 15
|
104
|
+
segments:
|
105
|
+
- 1
|
106
|
+
- 0
|
107
|
+
version: "1.0"
|
108
|
+
type: :development
|
109
|
+
version_requirements: *id006
|
110
|
+
- !ruby/object:Gem::Dependency
|
111
|
+
name: ci_reporter
|
112
|
+
prerelease: false
|
113
|
+
requirement: &id007 !ruby/object:Gem::Requirement
|
114
|
+
none: false
|
115
|
+
requirements:
|
116
|
+
- - ~>
|
117
|
+
- !ruby/object:Gem::Version
|
118
|
+
hash: 11
|
119
|
+
segments:
|
120
|
+
- 1
|
121
|
+
- 6
|
122
|
+
- 2
|
123
|
+
version: 1.6.2
|
124
|
+
type: :development
|
125
|
+
version_requirements: *id007
|
93
126
|
description: WebDriver is a tool for writing automated tests of websites. It aims to mimic the behaviour of a real user, and as such interacts with the HTML of the application.
|
94
127
|
email: jari.bakken@gmail.com
|
95
128
|
executables: []
|
@@ -99,90 +132,89 @@ extensions: []
|
|
99
132
|
extra_rdoc_files: []
|
100
133
|
|
101
134
|
files:
|
102
|
-
|
103
|
-
|
104
|
-
|
105
|
-
|
106
|
-
|
107
|
-
|
108
|
-
|
109
|
-
|
110
|
-
|
111
|
-
|
112
|
-
|
113
|
-
|
114
|
-
|
115
|
-
|
116
|
-
|
117
|
-
|
118
|
-
|
119
|
-
|
120
|
-
|
121
|
-
|
122
|
-
|
123
|
-
|
124
|
-
|
125
|
-
|
126
|
-
|
127
|
-
|
128
|
-
|
129
|
-
|
130
|
-
|
131
|
-
|
132
|
-
|
133
|
-
|
134
|
-
|
135
|
-
|
136
|
-
|
137
|
-
|
138
|
-
|
139
|
-
|
140
|
-
|
141
|
-
|
142
|
-
|
143
|
-
|
144
|
-
|
145
|
-
|
146
|
-
|
147
|
-
|
148
|
-
|
149
|
-
|
150
|
-
|
151
|
-
|
152
|
-
|
153
|
-
|
154
|
-
|
155
|
-
|
156
|
-
|
157
|
-
|
158
|
-
|
159
|
-
|
160
|
-
|
161
|
-
|
162
|
-
|
163
|
-
|
164
|
-
|
165
|
-
|
166
|
-
|
167
|
-
|
168
|
-
|
169
|
-
|
170
|
-
|
171
|
-
|
172
|
-
|
173
|
-
|
174
|
-
|
175
|
-
|
176
|
-
|
177
|
-
|
178
|
-
|
179
|
-
|
180
|
-
|
181
|
-
|
182
|
-
|
183
|
-
|
184
|
-
|
185
|
-
has_rdoc: true
|
135
|
+
- lib/selenium/client/base.rb
|
136
|
+
- lib/selenium/client/driver.rb
|
137
|
+
- lib/selenium/client/errors.rb
|
138
|
+
- lib/selenium/client/extensions.rb
|
139
|
+
- lib/selenium/client/idiomatic.rb
|
140
|
+
- lib/selenium/client/javascript_expression_builder.rb
|
141
|
+
- lib/selenium/client/javascript_frameworks/jquery.rb
|
142
|
+
- lib/selenium/client/javascript_frameworks/prototype.rb
|
143
|
+
- lib/selenium/client/legacy_driver.rb
|
144
|
+
- lib/selenium/client/protocol.rb
|
145
|
+
- lib/selenium/client/selenium_helper.rb
|
146
|
+
- lib/selenium/client.rb
|
147
|
+
- lib/selenium/rake/server_task.rb
|
148
|
+
- lib/selenium/server.rb
|
149
|
+
- lib/selenium/webdriver/android/bridge.rb
|
150
|
+
- lib/selenium/webdriver/android.rb
|
151
|
+
- lib/selenium/webdriver/chrome/bridge.rb
|
152
|
+
- lib/selenium/webdriver/chrome/service.rb
|
153
|
+
- lib/selenium/webdriver/chrome.rb
|
154
|
+
- lib/selenium/webdriver/common/action_builder.rb
|
155
|
+
- lib/selenium/webdriver/common/alert.rb
|
156
|
+
- lib/selenium/webdriver/common/bridge_helper.rb
|
157
|
+
- lib/selenium/webdriver/common/core_ext/dir.rb
|
158
|
+
- lib/selenium/webdriver/common/core_ext/string.rb
|
159
|
+
- lib/selenium/webdriver/common/driver.rb
|
160
|
+
- lib/selenium/webdriver/common/driver_extensions/has_input_devices.rb
|
161
|
+
- lib/selenium/webdriver/common/driver_extensions/rotatable.rb
|
162
|
+
- lib/selenium/webdriver/common/driver_extensions/takes_screenshot.rb
|
163
|
+
- lib/selenium/webdriver/common/element.rb
|
164
|
+
- lib/selenium/webdriver/common/error.rb
|
165
|
+
- lib/selenium/webdriver/common/file_reaper.rb
|
166
|
+
- lib/selenium/webdriver/common/keyboard.rb
|
167
|
+
- lib/selenium/webdriver/common/keys.rb
|
168
|
+
- lib/selenium/webdriver/common/mouse.rb
|
169
|
+
- lib/selenium/webdriver/common/navigation.rb
|
170
|
+
- lib/selenium/webdriver/common/options.rb
|
171
|
+
- lib/selenium/webdriver/common/platform.rb
|
172
|
+
- lib/selenium/webdriver/common/port_prober.rb
|
173
|
+
- lib/selenium/webdriver/common/proxy.rb
|
174
|
+
- lib/selenium/webdriver/common/search_context.rb
|
175
|
+
- lib/selenium/webdriver/common/socket_poller.rb
|
176
|
+
- lib/selenium/webdriver/common/target_locator.rb
|
177
|
+
- lib/selenium/webdriver/common/timeouts.rb
|
178
|
+
- lib/selenium/webdriver/common/wait.rb
|
179
|
+
- lib/selenium/webdriver/common/zipper.rb
|
180
|
+
- lib/selenium/webdriver/common.rb
|
181
|
+
- lib/selenium/webdriver/firefox/binary.rb
|
182
|
+
- lib/selenium/webdriver/firefox/bridge.rb
|
183
|
+
- lib/selenium/webdriver/firefox/extension/webdriver.xpi
|
184
|
+
- lib/selenium/webdriver/firefox/extension.rb
|
185
|
+
- lib/selenium/webdriver/firefox/launcher.rb
|
186
|
+
- lib/selenium/webdriver/firefox/native/linux/amd64/x_ignore_nofocus.so
|
187
|
+
- lib/selenium/webdriver/firefox/native/linux/x86/x_ignore_nofocus.so
|
188
|
+
- lib/selenium/webdriver/firefox/profile.rb
|
189
|
+
- lib/selenium/webdriver/firefox/profiles_ini.rb
|
190
|
+
- lib/selenium/webdriver/firefox/socket_lock.rb
|
191
|
+
- lib/selenium/webdriver/firefox/util.rb
|
192
|
+
- lib/selenium/webdriver/firefox.rb
|
193
|
+
- lib/selenium/webdriver/ie/bridge.rb
|
194
|
+
- lib/selenium/webdriver/ie/native/win32/IEDriver.dll
|
195
|
+
- lib/selenium/webdriver/ie/native/x64/IEDriver.dll
|
196
|
+
- lib/selenium/webdriver/ie/server.rb
|
197
|
+
- lib/selenium/webdriver/ie.rb
|
198
|
+
- lib/selenium/webdriver/iphone/bridge.rb
|
199
|
+
- lib/selenium/webdriver/iphone.rb
|
200
|
+
- lib/selenium/webdriver/opera/bridge.rb
|
201
|
+
- lib/selenium/webdriver/opera/service.rb
|
202
|
+
- lib/selenium/webdriver/opera.rb
|
203
|
+
- lib/selenium/webdriver/remote/bridge.rb
|
204
|
+
- lib/selenium/webdriver/remote/capabilities.rb
|
205
|
+
- lib/selenium/webdriver/remote/commands.rb
|
206
|
+
- lib/selenium/webdriver/remote/http/common.rb
|
207
|
+
- lib/selenium/webdriver/remote/http/curb.rb
|
208
|
+
- lib/selenium/webdriver/remote/http/default.rb
|
209
|
+
- lib/selenium/webdriver/remote/http/persistent.rb
|
210
|
+
- lib/selenium/webdriver/remote/response.rb
|
211
|
+
- lib/selenium/webdriver/remote/server_error.rb
|
212
|
+
- lib/selenium/webdriver/remote.rb
|
213
|
+
- lib/selenium/webdriver.rb
|
214
|
+
- lib/selenium-client.rb
|
215
|
+
- lib/selenium-webdriver.rb
|
216
|
+
- CHANGES
|
217
|
+
- README
|
186
218
|
homepage: http://selenium.googlecode.com
|
187
219
|
licenses: []
|
188
220
|
|
@@ -190,23 +222,29 @@ post_install_message:
|
|
190
222
|
rdoc_options: []
|
191
223
|
|
192
224
|
require_paths:
|
193
|
-
|
225
|
+
- lib
|
194
226
|
required_ruby_version: !ruby/object:Gem::Requirement
|
195
227
|
none: false
|
196
228
|
requirements:
|
197
|
-
|
198
|
-
|
199
|
-
|
229
|
+
- - ">="
|
230
|
+
- !ruby/object:Gem::Version
|
231
|
+
hash: 3
|
232
|
+
segments:
|
233
|
+
- 0
|
234
|
+
version: "0"
|
200
235
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
201
236
|
none: false
|
202
237
|
requirements:
|
203
|
-
|
204
|
-
|
205
|
-
|
238
|
+
- - ">="
|
239
|
+
- !ruby/object:Gem::Version
|
240
|
+
hash: 3
|
241
|
+
segments:
|
242
|
+
- 0
|
243
|
+
version: "0"
|
206
244
|
requirements: []
|
207
245
|
|
208
246
|
rubyforge_project:
|
209
|
-
rubygems_version: 1.
|
247
|
+
rubygems_version: 1.8.5
|
210
248
|
signing_key:
|
211
249
|
specification_version: 3
|
212
250
|
summary: The next generation developer focused tool for automated testing of webapps
|