selenium-client 1.2.1 → 1.2.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -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 text_present?(pattern)
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 element_present?(locator)
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.1
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:
data/README DELETED
@@ -1,7 +0,0 @@
1
- With Ruby installed on your computer....
2
-
3
- Change directories to ./ruby.
4
- Run selenium_example.rb
5
-
6
- Firefox should open, (you may need to add it to your path)
7
- and ruby will drive the testing with Selenium.