selenium-client 1.2.11 → 1.2.12
Sign up to get free protection for your applications and to get access to all the features.
@@ -115,21 +115,21 @@ module Selenium
|
|
115
115
|
# Using 'options' you can automatically wait for an event to happen after the
|
116
116
|
# click. e.g.
|
117
117
|
#
|
118
|
-
# * click :wait_for => :page # will wait for a new page to load
|
119
|
-
# * click :wait_for => :popup, :window => 'a window id' # will wait for a new popup window to appear. Also selects the popup window for you provide `:select => true`
|
120
|
-
# * click :wait_for => :ajax # will wait for all ajax requests to be completed using semantics of default javascript framework
|
121
|
-
# * click :wait_for => :ajax, :javascript_framework => :jquery # will wait for all ajax requests to be completed overriding default javascript framework
|
122
|
-
# * click :wait_for => :effects # will wait for all javascript effects to be rendered using semantics of default javascript framework
|
123
|
-
# * click :wait_for => :effects, :javascript_framework => :prototype # will wait for all javascript effects to be rendered overriding default javascript framework
|
124
|
-
# * click :wait_for => :element, :element => 'new_element_id' # will wait for an element to be present/appear
|
125
|
-
# * click :wait_for => :no_element, :element => 'new_element_id' # will wait for an element to be not be present/disappear
|
126
|
-
# * click :wait_for => :text, :text => 'some text' # will wait for some text to be present/appear
|
127
|
-
# * click :wait_for => :text, :element => 'a_locator', :text => 'some text' # will wait for the content of 'a_locator' to be 'some text'
|
128
|
-
# * click :wait_for => :no_text, :text => 'some text' # will wait for the text to be not be present/disappear
|
129
|
-
# * click :wait_for => :no_text, :element => 'a_locator', :text => 'some text' # will wait for the content of 'a_locator' to not be 'some text'
|
130
|
-
# * click :wait_for => :value, :element => 'a_locator', :value => 'some value' # will wait for the field value of 'a_locator' to be 'some value'
|
131
|
-
# * click :wait_for => :no_value, :element => 'a_locator', :value => 'some value' # will wait for the field value of 'a_locator' to not be 'some value'
|
132
|
-
# * click :wait_for => :condition, :javascript => 'some expression' # will wait for the javascript expression to be true
|
118
|
+
# * click "a_locator", :wait_for => :page # will wait for a new page to load
|
119
|
+
# * click "a_locator", :wait_for => :popup, :window => 'a window id' # will wait for a new popup window to appear. Also selects the popup window for you provide `:select => true`
|
120
|
+
# * click "a_locator", :wait_for => :ajax # will wait for all ajax requests to be completed using semantics of default javascript framework
|
121
|
+
# * click "a_locator", :wait_for => :ajax, :javascript_framework => :jquery # will wait for all ajax requests to be completed overriding default javascript framework
|
122
|
+
# * click "a_locator", :wait_for => :effects # will wait for all javascript effects to be rendered using semantics of default javascript framework
|
123
|
+
# * click "a_locator", :wait_for => :effects, :javascript_framework => :prototype # will wait for all javascript effects to be rendered overriding default javascript framework
|
124
|
+
# * click "a_locator", :wait_for => :element, :element => 'new_element_id' # will wait for an element to be present/appear
|
125
|
+
# * click "a_locator", :wait_for => :no_element, :element => 'new_element_id' # will wait for an element to be not be present/disappear
|
126
|
+
# * click "a_locator", :wait_for => :text, :text => 'some text' # will wait for some text to be present/appear
|
127
|
+
# * click "a_locator", :wait_for => :text, :element => 'a_locator', :text => 'some text' # will wait for the content of 'a_locator' to be 'some text'
|
128
|
+
# * click "a_locator", :wait_for => :no_text, :text => 'some text' # will wait for the text to be not be present/disappear
|
129
|
+
# * click "a_locator", :wait_for => :no_text, :element => 'a_locator', :text => 'some text' # will wait for the content of 'a_locator' to not be 'some text'
|
130
|
+
# * click "a_locator", :wait_for => :value, :element => 'a_locator', :value => 'some value' # will wait for the field value of 'a_locator' to be 'some value'
|
131
|
+
# * click "a_locator", :wait_for => :no_value, :element => 'a_locator', :value => 'some value' # will wait for the field value of 'a_locator' to not be 'some value'
|
132
|
+
# * click "a_locator", :wait_for => :condition, :javascript => 'some expression' # will wait for the javascript expression to be true
|
133
133
|
#
|
134
134
|
# Using options you can also define an explicit timeout (:timeout_in_seconds key). Otherwise the default driver timeout
|
135
135
|
# is used.
|
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.12
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- OpenQA
|
@@ -9,7 +9,7 @@ autorequire:
|
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
11
|
|
12
|
-
date: 2009-02-
|
12
|
+
date: 2009-02-28 00:00:00 -08:00
|
13
13
|
default_executable:
|
14
14
|
dependencies: []
|
15
15
|
|
@@ -26,6 +26,7 @@ files:
|
|
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/javascript_frameworks/jquery.rb
|
31
32
|
- lib/selenium/client/javascript_frameworks/prototype.rb
|