watir-webdriver 0.0.1.dev7 → 0.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.0.1
|
1
|
+
0.0.1
|
@@ -182,9 +182,9 @@ module Watir
|
|
182
182
|
def option_xpath_for(how, string)
|
183
183
|
case how
|
184
184
|
when :text
|
185
|
-
"
|
185
|
+
".//option[normalize-space()='#{string}' or @label='#{string}']"
|
186
186
|
when :value
|
187
|
-
"
|
187
|
+
".//option[@value='#{string}']"
|
188
188
|
else
|
189
189
|
raise Error, "unknown how: #{how.inspect}"
|
190
190
|
end
|
metadata
CHANGED
@@ -1,14 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: watir-webdriver
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
5
|
-
prerelease:
|
4
|
+
hash: 29
|
5
|
+
prerelease: false
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 0
|
9
9
|
- 1
|
10
|
-
|
11
|
-
version: 0.0.1.dev7
|
10
|
+
version: 0.0.1
|
12
11
|
platform: ruby
|
13
12
|
authors:
|
14
13
|
- Jari Bakken
|
@@ -16,7 +15,7 @@ autorequire:
|
|
16
15
|
bindir: bin
|
17
16
|
cert_chain: []
|
18
17
|
|
19
|
-
date: 2010-06-
|
18
|
+
date: 2010-06-30 00:00:00 +02:00
|
20
19
|
default_executable:
|
21
20
|
dependencies:
|
22
21
|
- !ruby/object:Gem::Dependency
|
@@ -142,6 +141,7 @@ files:
|
|
142
141
|
- lib/watir-webdriver/elements/table_row.rb
|
143
142
|
- lib/watir-webdriver/elements/text_field.rb
|
144
143
|
- lib/watir-webdriver/exception.rb
|
144
|
+
- lib/watir-webdriver/extensions/nokogiri.rb
|
145
145
|
- lib/watir-webdriver/locators/button_locator.rb
|
146
146
|
- lib/watir-webdriver/locators/element_locator.rb
|
147
147
|
- lib/watir-webdriver/locators/table_row_locator.rb
|
@@ -253,14 +253,12 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
253
253
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
254
254
|
none: false
|
255
255
|
requirements:
|
256
|
-
- - "
|
256
|
+
- - ">="
|
257
257
|
- !ruby/object:Gem::Version
|
258
|
-
hash:
|
258
|
+
hash: 3
|
259
259
|
segments:
|
260
|
-
-
|
261
|
-
|
262
|
-
- 1
|
263
|
-
version: 1.3.1
|
260
|
+
- 0
|
261
|
+
version: "0"
|
264
262
|
requirements: []
|
265
263
|
|
266
264
|
rubyforge_project:
|