watir-webdriver 0.5.4 → 0.5.5
Sign up to get free protection for your applications and to get access to all the features.
@@ -46,6 +46,8 @@ module Watir
|
|
46
46
|
|
47
47
|
def inspect
|
48
48
|
'#<%s:0x%x url=%s title=%s>' % [self.class, hash*2, url.inspect, title.inspect]
|
49
|
+
rescue
|
50
|
+
'#<%s:0x%x closed=true>' % [self.class, hash*2]
|
49
51
|
end
|
50
52
|
|
51
53
|
#
|
@@ -87,11 +89,6 @@ module Watir
|
|
87
89
|
end
|
88
90
|
alias_method :quit, :close # TODO: close vs quit
|
89
91
|
|
90
|
-
def clear_cookies
|
91
|
-
warn 'Browser#clear_cookies is deprecated and replaced by Browser#cookies (i.e. browser.cookies.clear)'
|
92
|
-
@driver.manage.delete_all_cookies
|
93
|
-
end
|
94
|
-
|
95
92
|
def cookies
|
96
93
|
@cookies ||= Cookies.new driver.manage
|
97
94
|
end
|
@@ -14,7 +14,8 @@ module Watir
|
|
14
14
|
include EventuallyPresent
|
15
15
|
|
16
16
|
#
|
17
|
-
# need to add
|
17
|
+
# need to add :id manually since it's not specified in the HTML spec.
|
18
|
+
#
|
18
19
|
# @see http://html5.org/r/6605
|
19
20
|
# @see http://www.w3.org/Bugs/Public/show_bug.cgi?id=13610
|
20
21
|
#
|
data/watir-webdriver.gemspec
CHANGED
@@ -29,24 +29,4 @@ Gem::Specification.new do |s|
|
|
29
29
|
s.add_development_dependency "fuubar", "~> 0.0.6"
|
30
30
|
s.add_development_dependency "nokogiri"
|
31
31
|
s.add_development_dependency "activesupport", "~> 2.3.5" # for pluralization during code generation
|
32
|
-
|
33
|
-
s.post_install_message = <<-MSG
|
34
|
-
Please note that watir-webdriver 0.5.0 brings some backwards incompatible changes:
|
35
|
-
|
36
|
-
* Watir::Select#selected_options no longer returns Array<String>, but Array<Watir::Option>
|
37
|
-
[ https://github.com/watir/watir-webdriver/issues/21 ]
|
38
|
-
* Finding elements by :class now matches partial class attributes.
|
39
|
-
[ https://github.com/watir/watir-webdriver/issues/36 ]
|
40
|
-
|
41
|
-
Additionally, watir-webdriver 0.5.1 removes the following deprecated methods:
|
42
|
-
|
43
|
-
* element_by_xpath : replaced by .element(:xpath, '...')
|
44
|
-
* elements_by_xpath : replaced by .elements(:xpath, '...')
|
45
|
-
|
46
|
-
And deprecates the following methods:
|
47
|
-
|
48
|
-
* Browser#clear_cookies - replaced by Browser#cookies API
|
49
|
-
[ https://github.com/watir/watir-webdriver/issues/24 ]
|
50
|
-
|
51
|
-
MSG
|
52
32
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: watir-webdriver
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.5.
|
4
|
+
version: 0.5.5
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2012-
|
12
|
+
date: 2012-04-21 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: selenium-webdriver
|
@@ -252,16 +252,7 @@ files:
|
|
252
252
|
- watir-webdriver.gemspec
|
253
253
|
homepage: http://github.com/watir/watir-webdriver
|
254
254
|
licenses: []
|
255
|
-
post_install_message:
|
256
|
-
incompatible changes:\n\n * Watir::Select#selected_options no longer returns Array<String>,
|
257
|
-
but Array<Watir::Option>\n [ https://github.com/watir/watir-webdriver/issues/21
|
258
|
-
]\n * Finding elements by :class now matches partial class attributes.\n [
|
259
|
-
https://github.com/watir/watir-webdriver/issues/36 ]\n\nAdditionally, watir-webdriver
|
260
|
-
0.5.1 removes the following deprecated methods:\n\n * element_by_xpath : replaced
|
261
|
-
by .element(:xpath, '...')\n * elements_by_xpath : replaced by .elements(:xpath,
|
262
|
-
'...')\n\nAnd deprecates the following methods:\n\n * Browser#clear_cookies - replaced
|
263
|
-
by Browser#cookies API\n [ https://github.com/watir/watir-webdriver/issues/24
|
264
|
-
]\n\n"
|
255
|
+
post_install_message:
|
265
256
|
rdoc_options: []
|
266
257
|
require_paths:
|
267
258
|
- lib
|
@@ -279,7 +270,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
279
270
|
version: '0'
|
280
271
|
requirements: []
|
281
272
|
rubyforge_project: watir-webdriver
|
282
|
-
rubygems_version: 1.8.
|
273
|
+
rubygems_version: 1.8.21
|
283
274
|
signing_key:
|
284
275
|
specification_version: 3
|
285
276
|
summary: Watir on WebDriver
|