selenium-webdriver 2.37.0 → 2.38.0
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGES +9 -1
- data/lib/selenium/webdriver/chrome/service.rb +1 -1
- data/lib/selenium/webdriver/common.rb +1 -0
- data/lib/selenium/webdriver/common/logs.rb +23 -0
- data/lib/selenium/webdriver/common/options.rb +8 -0
- data/lib/selenium/webdriver/firefox/extension/prefs.json +5 -0
- data/lib/selenium/webdriver/firefox/extension/webdriver.xpi +0 -0
- data/lib/selenium/webdriver/safari/resources/SafariDriver.safariextz +0 -0
- metadata +5 -4
data/CHANGES
CHANGED
@@ -1,3 +1,11 @@
|
|
1
|
+
2.38.0 (2013-12-05)
|
2
|
+
===================
|
3
|
+
|
4
|
+
* Enforce required Ruby version in gemspec, not just transitively through rubyzip.
|
5
|
+
* Expose the logging API (beta API, subject to change) in the Ruby client: driver.manage.logs #=> Selenium::WebDriver::Logs
|
6
|
+
* Update to support native events for Firefox 25
|
7
|
+
|
8
|
+
|
1
9
|
2.37.0 (2013-10-18)
|
2
10
|
===================
|
3
11
|
|
@@ -20,7 +28,7 @@ IE:
|
|
20
28
|
* Use native events by default, also for remote IE (#4695)
|
21
29
|
Safari:
|
22
30
|
* Enable screenshots and input devices in the client.
|
23
|
-
|
31
|
+
|
24
32
|
2.35.1 (2013-08-26)
|
25
33
|
===================
|
26
34
|
|
@@ -10,7 +10,7 @@ module Selenium
|
|
10
10
|
START_TIMEOUT = 20
|
11
11
|
STOP_TIMEOUT = 5
|
12
12
|
DEFAULT_PORT = 9515
|
13
|
-
MISSING_TEXT = "Unable to find the chromedriver executable. Please download the server from http://
|
13
|
+
MISSING_TEXT = "Unable to find the chromedriver executable. Please download the server from http://chromedriver.storage.googleapis.com/index.html and place it somewhere on your PATH. More info at http://code.google.com/p/selenium/wiki/ChromeDriver."
|
14
14
|
|
15
15
|
attr_reader :uri
|
16
16
|
|
@@ -18,6 +18,7 @@ require 'selenium/webdriver/common/target_locator'
|
|
18
18
|
require 'selenium/webdriver/common/navigation'
|
19
19
|
require 'selenium/webdriver/common/timeouts'
|
20
20
|
require 'selenium/webdriver/common/window'
|
21
|
+
require 'selenium/webdriver/common/logs'
|
21
22
|
require 'selenium/webdriver/common/options'
|
22
23
|
require 'selenium/webdriver/common/search_context'
|
23
24
|
require 'selenium/webdriver/common/action_builder'
|
@@ -0,0 +1,23 @@
|
|
1
|
+
module Selenium
|
2
|
+
module WebDriver
|
3
|
+
class Logs
|
4
|
+
|
5
|
+
#
|
6
|
+
# @api private
|
7
|
+
#
|
8
|
+
|
9
|
+
def initialize(bridge)
|
10
|
+
@bridge = bridge
|
11
|
+
end
|
12
|
+
|
13
|
+
def get(type)
|
14
|
+
@bridge.getLog type
|
15
|
+
end
|
16
|
+
|
17
|
+
def available_types
|
18
|
+
@bridge.getAvailableLogTypes
|
19
|
+
end
|
20
|
+
|
21
|
+
end
|
22
|
+
end
|
23
|
+
end
|
@@ -94,6 +94,14 @@ module Selenium
|
|
94
94
|
# @api beta This API may be changed or removed in a future release.
|
95
95
|
#
|
96
96
|
|
97
|
+
def logs
|
98
|
+
@logs ||= Logs.new(@bridge)
|
99
|
+
end
|
100
|
+
|
101
|
+
#
|
102
|
+
# @api beta This API may be changed or removed in a future release.
|
103
|
+
#
|
104
|
+
|
97
105
|
def window
|
98
106
|
@window ||= Window.new(@bridge)
|
99
107
|
end
|
@@ -26,6 +26,7 @@
|
|
26
26
|
"network.http.phishy-userpass-length": 255,
|
27
27
|
"offline-apps.allow_by_default": true,
|
28
28
|
"prompts.tab_modal.enabled": false,
|
29
|
+
"security.csp.enable": false,
|
29
30
|
"security.fileuri.origin_policy": 3,
|
30
31
|
"security.fileuri.strict_origin_policy": false,
|
31
32
|
"security.warn_entering_secure": false,
|
@@ -45,12 +46,16 @@
|
|
45
46
|
},
|
46
47
|
"mutable": {
|
47
48
|
"browser.dom.window.dump.enabled": true,
|
49
|
+
"browser.newtab.url": "about:blank",
|
50
|
+
"browser.newtabpage.enabled": false,
|
48
51
|
"browser.startup.page": 0,
|
49
52
|
"browser.startup.homepage": "about:blank",
|
53
|
+
"dom.max_chrome_script_run_time": 30,
|
50
54
|
"dom.max_script_run_time": 30,
|
51
55
|
"dom.report_all_js_exceptions": true,
|
52
56
|
"javascript.options.showInConsole": true,
|
53
57
|
"network.http.max-connections-per-server": 10,
|
58
|
+
"startup.homepage_welcome_url": "about:blank",
|
54
59
|
"webdriver_accept_untrusted_certs": true,
|
55
60
|
"webdriver_assume_untrusted_issuer": true
|
56
61
|
}
|
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.38.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: 2013-
|
13
|
+
date: 2013-12-05 00:00:00 +01:00
|
14
14
|
default_executable:
|
15
15
|
dependencies:
|
16
16
|
- !ruby/object:Gem::Dependency
|
@@ -32,7 +32,7 @@ dependencies:
|
|
32
32
|
requirements:
|
33
33
|
- - ~>
|
34
34
|
- !ruby/object:Gem::Version
|
35
|
-
version: 1.0
|
35
|
+
version: "1.0"
|
36
36
|
type: :runtime
|
37
37
|
version_requirements: *id002
|
38
38
|
- !ruby/object:Gem::Dependency
|
@@ -153,6 +153,7 @@ files:
|
|
153
153
|
- lib/selenium/webdriver/common/keyboard.rb
|
154
154
|
- lib/selenium/webdriver/common/keys.rb
|
155
155
|
- lib/selenium/webdriver/common/log_entry.rb
|
156
|
+
- lib/selenium/webdriver/common/logs.rb
|
156
157
|
- lib/selenium/webdriver/common/mouse.rb
|
157
158
|
- lib/selenium/webdriver/common/navigation.rb
|
158
159
|
- lib/selenium/webdriver/common/options.rb
|
@@ -242,7 +243,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
242
243
|
requirements:
|
243
244
|
- - ">="
|
244
245
|
- !ruby/object:Gem::Version
|
245
|
-
version:
|
246
|
+
version: 1.9.2
|
246
247
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
247
248
|
none: false
|
248
249
|
requirements:
|