selenium-client 1.2.1 → 1.2.2
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/README.markdown +192 -0
- data/lib/selenium/client/generated_driver.rb +1642 -0
- data/lib/selenium/client/idiomatic.rb +2 -2
- metadata +4 -3
- data/README +0 -7
@@ -68,14 +68,14 @@ module Selenium
|
|
68
68
|
# Verifies that the specified text pattern appears somewhere on the rendered page shown to the user.
|
69
69
|
#
|
70
70
|
# 'pattern' is a pattern to match with the text of the page
|
71
|
-
def
|
71
|
+
def text?(pattern)
|
72
72
|
boolean_command "isTextPresent", [pattern,]
|
73
73
|
end
|
74
74
|
|
75
75
|
# Verifies that the specified element is somewhere on the page.
|
76
76
|
#
|
77
77
|
# 'locator' is an element locator
|
78
|
-
def
|
78
|
+
def element?(locator)
|
79
79
|
boolean_command "isElementPresent", [locator,]
|
80
80
|
end
|
81
81
|
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: selenium-client
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.2.
|
4
|
+
version: 1.2.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- OpenQA
|
@@ -20,12 +20,13 @@ executables: []
|
|
20
20
|
extensions: []
|
21
21
|
|
22
22
|
extra_rdoc_files:
|
23
|
-
- README
|
23
|
+
- README.markdown
|
24
24
|
files:
|
25
25
|
- lib/nautilus/shell.rb
|
26
26
|
- lib/selenium/client/base.rb
|
27
27
|
- lib/selenium/client/driver.rb
|
28
28
|
- lib/selenium/client/extensions.rb
|
29
|
+
- lib/selenium/client/generated_driver.rb
|
29
30
|
- lib/selenium/client/idiomatic.rb
|
30
31
|
- lib/selenium/client/protocol.rb
|
31
32
|
- lib/selenium/client/selenium_helper.rb
|
@@ -43,7 +44,7 @@ files:
|
|
43
44
|
- lib/selenium/rspec/spec_helper.rb
|
44
45
|
- lib/selenium.rb
|
45
46
|
- lib/tcp_socket_extension.rb
|
46
|
-
- README
|
47
|
+
- README.markdown
|
47
48
|
has_rdoc: true
|
48
49
|
homepage: http://selenium-client.rubyforge.com
|
49
50
|
post_install_message:
|