selenium-webdriver 2.9.1 → 2.10.0
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGES +21 -0
- data/lib/selenium/webdriver/common/keyboard.rb +3 -6
- data/lib/selenium/webdriver/firefox/extension/webdriver.xpi +0 -0
- data/lib/selenium/webdriver/firefox/profile.rb +1 -0
- data/lib/selenium/webdriver/ie/native/win32/IEDriver.dll +0 -0
- data/lib/selenium/webdriver/ie/native/x64/IEDriver.dll +0 -0
- data/lib/selenium/webdriver/remote/bridge.rb +0 -4
- metadata +2 -2
data/CHANGES
CHANGED
@@ -1,3 +1,24 @@
|
|
1
|
+
2.10.0 (2011-10-27)
|
2
|
+
===================
|
3
|
+
|
4
|
+
* Improve native keyboard emulation on Windows.
|
5
|
+
* Allow commas in CSS selectors (#2301)
|
6
|
+
* Firefox:
|
7
|
+
* Fix intermittent error when finding elements by XPath (#2099)
|
8
|
+
* Fix detection of maximum page size (#2700)
|
9
|
+
* Avoid extension selection dialog (extensions.autoDisableScopes)
|
10
|
+
* Fix invalid wire responses from the synthetic mouse (#2695)
|
11
|
+
* Don't scroll unnecessarily (#1771).
|
12
|
+
* IE:
|
13
|
+
* Improve handling of #clear on disabled or readonly elements.
|
14
|
+
|
15
|
+
|
16
|
+
|
17
|
+
2.9.1 (2011-10-24)
|
18
|
+
==================
|
19
|
+
|
20
|
+
* Workaround for invalid error responses (#2695).
|
21
|
+
|
1
22
|
2.9.0 (2011-10-21)
|
2
23
|
==================
|
3
24
|
|
@@ -9,8 +9,7 @@ module Selenium
|
|
9
9
|
end
|
10
10
|
|
11
11
|
def send_keys(*keys)
|
12
|
-
|
13
|
-
@bridge.getActiveElement.send_keys(*keys)
|
12
|
+
@bridge.sendKeysToActiveElement Keys.encode(keys)
|
14
13
|
end
|
15
14
|
|
16
15
|
#
|
@@ -22,8 +21,7 @@ module Selenium
|
|
22
21
|
def press(key)
|
23
22
|
assert_modifier key
|
24
23
|
|
25
|
-
|
26
|
-
@bridge.sendModifierKeyToActiveElement Keys.encode([key]), true
|
24
|
+
@bridge.sendKeysToActiveElement Keys.encode([key])
|
27
25
|
end
|
28
26
|
|
29
27
|
#
|
@@ -35,8 +33,7 @@ module Selenium
|
|
35
33
|
def release(key)
|
36
34
|
assert_modifier key
|
37
35
|
|
38
|
-
|
39
|
-
@bridge.sendModifierKeyToActiveElement Keys.encode([key]), false
|
36
|
+
@bridge.sendKeysToActiveElement Keys.encode([key])
|
40
37
|
end
|
41
38
|
|
42
39
|
private
|
Binary file
|
@@ -278,6 +278,7 @@ module Selenium
|
|
278
278
|
"browser.tabs.warnOnOpen" => 'false',
|
279
279
|
"devtools.errorconsole.enabled" => 'true',
|
280
280
|
"dom.disable_open_during_load" => 'false',
|
281
|
+
"extensions.autoDisableScopes" => '10',
|
281
282
|
"extensions.logging.enabled" => 'true',
|
282
283
|
"extensions.update.enabled" => 'false',
|
283
284
|
"extensions.update.notifyUser" => 'false',
|
Binary file
|
Binary file
|
@@ -270,10 +270,6 @@ module Selenium
|
|
270
270
|
execute :mouseMoveTo, {}, params
|
271
271
|
end
|
272
272
|
|
273
|
-
def sendModifierKeyToActiveElement(key, down)
|
274
|
-
execute :sendModifierKeyToActiveElement, {}, :value => key, :isdown => down
|
275
|
-
end
|
276
|
-
|
277
273
|
def sendKeysToActiveElement(key)
|
278
274
|
execute :sendKeysToActiveElement, {}, :value => key
|
279
275
|
end
|
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.10.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: 2011-10-
|
13
|
+
date: 2011-10-27 00:00:00 -07:00
|
14
14
|
default_executable:
|
15
15
|
dependencies:
|
16
16
|
- !ruby/object:Gem::Dependency
|