watir-webdriver-page-object 0.1.3 → 0.1.4
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.
- checksums.yaml +8 -8
- data/lib/watir-webdriver-page-object.rb +11 -11
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
YmVmNzhkN2UyODI3NTg0YzQwNmQyYzI4OGQ0MzgzNTU1NGNmYTBmZg==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
NjE0NGRiMmQwM2Q3MzIwOTQxZDMwMTg4MTE3MDYxOTFmZWI4ZjFlNQ==
|
7
7
|
SHA512:
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
MTZkMzJmY2M4ODg2ZWE3OTgwMzc4Y2UwY2VhZTllZTAwN2RkNzljNmQwZjY4
|
10
|
+
NDVhZDhlMzNhMWJkYjA3MmM1MmY3ZWQ5ZTg4ODM4ODE0YzJhYmUxZTQ1NmQy
|
11
|
+
ZWNkYjE5MWY3MTBhY2JmYzZmYWEzYjI2Y2RkYzZiN2VkZmU5Y2Y=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
NjUwYjMxYTZiNTc5ODUyODg4ZWNhZjdiOWQxOGY1ZGVlMjc2ZGNmNGNhNjQ1
|
14
|
+
MDZkNjZlY2IzZDlkNjhmMWVmODEwNjZmZDhkYWNmYWRmYjNkYWYzNDdlOTc3
|
15
|
+
NjAwNzE3NGUyYWMyODNiOTBiYWM5ZDU1NTE3NmNhN2NmNDkyZmE=
|
@@ -257,11 +257,11 @@ class WatirWebdriverPageObject
|
|
257
257
|
end
|
258
258
|
end
|
259
259
|
|
260
|
-
# For each
|
261
|
-
# * <name> - Returns the
|
262
|
-
# @param element_name [String] The desired name for the new
|
263
|
-
# @param selector [Hash] The selector for the new
|
264
|
-
def self.
|
260
|
+
# For each textarea() defined in the page object these methods are added:
|
261
|
+
# * <name> - Returns the textarea
|
262
|
+
# @param element_name [String] The desired name for the new textarea.
|
263
|
+
# @param selector [Hash] The selector for the new textarea.
|
264
|
+
def self.textarea(element_name, selector)
|
265
265
|
define_method element_name.to_s do
|
266
266
|
@browser.textarea(selector)
|
267
267
|
end
|
@@ -488,13 +488,13 @@ class WatirWebdriverPageObject
|
|
488
488
|
end
|
489
489
|
end
|
490
490
|
|
491
|
-
# For each
|
492
|
-
# * <name> - Returns an array of matching
|
493
|
-
# @param element_name [String] The desired name for the new
|
494
|
-
# @param selector [Hash] The selector for the new
|
495
|
-
def self.
|
491
|
+
# For each textareas() defined in the page object these methods are added:
|
492
|
+
# * <name> - Returns an array of matching textareas
|
493
|
+
# @param element_name [String] The desired name for the new textarea.
|
494
|
+
# @param selector [Hash] The selector for the new textarea.
|
495
|
+
def self.textareas(element_name, selector)
|
496
496
|
define_method element_name.to_s do
|
497
|
-
@browser.
|
497
|
+
@browser.textareas(selector)
|
498
498
|
end
|
499
499
|
end
|
500
500
|
|