ae_page_objects 2.0.0.beta2 → 2.0.0.beta3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/ae_page_objects/element_proxy.rb +8 -8
- data/lib/ae_page_objects/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: af66a2c786218a814f14fd33c4c565fd5dd5326e
|
4
|
+
data.tar.gz: 3a75738d3b40ed53f93362381404cfd058e5ec27
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 265b3d6d7837809c42e4dc79d3f1869d51707f90bd6efa97ed91b31ca783ebf60186d4a6468a6b09ba5f7b4a2bfb930f07683fcf2d9ffd3712447592c279c4bd
|
7
|
+
data.tar.gz: ef0f45f8e1c6103a5f9a9f8a3d6f189a0753c2a8e3aaef012de27e6f957f7da949517a75cfdf14047d6eefdab769b9c74cd1b25c1bd6e7609703d798509516aa
|
@@ -19,29 +19,29 @@ module AePageObjects
|
|
19
19
|
@loaded_element = nil
|
20
20
|
end
|
21
21
|
|
22
|
-
def visible?
|
23
|
-
wait_until_visible
|
22
|
+
def visible?(options = {})
|
23
|
+
wait_until_visible(options[:wait])
|
24
24
|
true
|
25
25
|
rescue ElementNotVisible
|
26
26
|
false
|
27
27
|
end
|
28
28
|
|
29
|
-
def hidden?
|
30
|
-
wait_until_hidden
|
29
|
+
def hidden?(options = {})
|
30
|
+
wait_until_hidden(options[:wait])
|
31
31
|
true
|
32
32
|
rescue ElementNotHidden
|
33
33
|
false
|
34
34
|
end
|
35
35
|
|
36
|
-
def present?
|
37
|
-
wait_until_present
|
36
|
+
def present?(options = {})
|
37
|
+
wait_until_present(options[:wait])
|
38
38
|
true
|
39
39
|
rescue ElementNotPresent
|
40
40
|
false
|
41
41
|
end
|
42
42
|
|
43
|
-
def absent?
|
44
|
-
wait_until_absent
|
43
|
+
def absent?(options = {})
|
44
|
+
wait_until_absent(options[:wait])
|
45
45
|
true
|
46
46
|
rescue ElementNotAbsent
|
47
47
|
false
|