docs/android_docs.md in appium_lib-0.4.0 vs docs/android_docs.md in appium_lib-0.4.1
- old
+ new
@@ -1,86 +1,86 @@
-##### [app_path](https://github.com/appium/ruby_lib/blob/b30548e58783bc6b20bd5c0f11e2ae9ddb5faa30/lib/appium_lib/driver.rb#L38)
+##### [app_path](https://github.com/appium/ruby_lib/blob/eb11923543a1e3e2fe8f19d2f09959cefd16fa05/lib/appium_lib/driver.rb#L38)
> def app_path
Returns the value of attribute app_path
--
-##### [app_name](https://github.com/appium/ruby_lib/blob/b30548e58783bc6b20bd5c0f11e2ae9ddb5faa30/lib/appium_lib/driver.rb#L38)
+##### [app_name](https://github.com/appium/ruby_lib/blob/eb11923543a1e3e2fe8f19d2f09959cefd16fa05/lib/appium_lib/driver.rb#L38)
> def app_name
Returns the value of attribute app_name
--
-##### [app_package](https://github.com/appium/ruby_lib/blob/b30548e58783bc6b20bd5c0f11e2ae9ddb5faa30/lib/appium_lib/driver.rb#L38)
+##### [app_package](https://github.com/appium/ruby_lib/blob/eb11923543a1e3e2fe8f19d2f09959cefd16fa05/lib/appium_lib/driver.rb#L38)
> def app_package
Returns the value of attribute app_package
--
-##### [app_activity](https://github.com/appium/ruby_lib/blob/b30548e58783bc6b20bd5c0f11e2ae9ddb5faa30/lib/appium_lib/driver.rb#L38)
+##### [app_activity](https://github.com/appium/ruby_lib/blob/eb11923543a1e3e2fe8f19d2f09959cefd16fa05/lib/appium_lib/driver.rb#L38)
> def app_activity
Returns the value of attribute app_activity
--
-##### [app_wait_activity](https://github.com/appium/ruby_lib/blob/b30548e58783bc6b20bd5c0f11e2ae9ddb5faa30/lib/appium_lib/driver.rb#L38)
+##### [app_wait_activity](https://github.com/appium/ruby_lib/blob/eb11923543a1e3e2fe8f19d2f09959cefd16fa05/lib/appium_lib/driver.rb#L38)
> def app_wait_activity
Returns the value of attribute app_wait_activity
--
-##### [sauce_username](https://github.com/appium/ruby_lib/blob/b30548e58783bc6b20bd5c0f11e2ae9ddb5faa30/lib/appium_lib/driver.rb#L38)
+##### [sauce_username](https://github.com/appium/ruby_lib/blob/eb11923543a1e3e2fe8f19d2f09959cefd16fa05/lib/appium_lib/driver.rb#L38)
> def sauce_username
Returns the value of attribute sauce_username
--
-##### [sauce_access_key](https://github.com/appium/ruby_lib/blob/b30548e58783bc6b20bd5c0f11e2ae9ddb5faa30/lib/appium_lib/driver.rb#L38)
+##### [sauce_access_key](https://github.com/appium/ruby_lib/blob/eb11923543a1e3e2fe8f19d2f09959cefd16fa05/lib/appium_lib/driver.rb#L38)
> def sauce_access_key
Returns the value of attribute sauce_access_key
--
-##### [port](https://github.com/appium/ruby_lib/blob/b30548e58783bc6b20bd5c0f11e2ae9ddb5faa30/lib/appium_lib/driver.rb#L38)
+##### [port](https://github.com/appium/ruby_lib/blob/eb11923543a1e3e2fe8f19d2f09959cefd16fa05/lib/appium_lib/driver.rb#L38)
> def port
Returns the value of attribute port
--
-##### [os](https://github.com/appium/ruby_lib/blob/b30548e58783bc6b20bd5c0f11e2ae9ddb5faa30/lib/appium_lib/driver.rb#L38)
+##### [os](https://github.com/appium/ruby_lib/blob/eb11923543a1e3e2fe8f19d2f09959cefd16fa05/lib/appium_lib/driver.rb#L38)
> def os
Returns the value of attribute os
--
-##### [debug](https://github.com/appium/ruby_lib/blob/b30548e58783bc6b20bd5c0f11e2ae9ddb5faa30/lib/appium_lib/driver.rb#L38)
+##### [debug](https://github.com/appium/ruby_lib/blob/eb11923543a1e3e2fe8f19d2f09959cefd16fa05/lib/appium_lib/driver.rb#L38)
> def debug
Returns the value of attribute debug
--
-##### [initialize](https://github.com/appium/ruby_lib/blob/b30548e58783bc6b20bd5c0f11e2ae9ddb5faa30/lib/appium_lib/driver.rb#L68)
+##### [initialize](https://github.com/appium/ruby_lib/blob/eb11923543a1e3e2fe8f19d2f09959cefd16fa05/lib/appium_lib/driver.rb#L68)
> def initialize options={}
Creates a new driver.
@@ -115,11 +115,11 @@
[Driver]
--
-##### [absolute_app_path](https://github.com/appium/ruby_lib/blob/b30548e58783bc6b20bd5c0f11e2ae9ddb5faa30/lib/appium_lib/driver.rb#L189)
+##### [absolute_app_path](https://github.com/appium/ruby_lib/blob/eb11923543a1e3e2fe8f19d2f09959cefd16fa05/lib/appium_lib/driver.rb#L189)
> def absolute_app_path
Converts environment variable APP_PATH to an absolute path.
@@ -127,11 +127,11 @@
[String] APP_PATH as an absolute path
--
-##### [server_url](https://github.com/appium/ruby_lib/blob/b30548e58783bc6b20bd5c0f11e2ae9ddb5faa30/lib/appium_lib/driver.rb#L203)
+##### [server_url](https://github.com/appium/ruby_lib/blob/eb11923543a1e3e2fe8f19d2f09959cefd16fa05/lib/appium_lib/driver.rb#L203)
> def server_url
Get the server url for sauce or local based on env vars.
@@ -139,11 +139,11 @@
[String] the server url
--
-##### [restart](https://github.com/appium/ruby_lib/blob/b30548e58783bc6b20bd5c0f11e2ae9ddb5faa30/lib/appium_lib/driver.rb#L213)
+##### [restart](https://github.com/appium/ruby_lib/blob/eb11923543a1e3e2fe8f19d2f09959cefd16fa05/lib/appium_lib/driver.rb#L213)
> def restart
Restarts the driver
@@ -151,11 +151,11 @@
[Driver] the driver
--
-##### [driver](https://github.com/appium/ruby_lib/blob/b30548e58783bc6b20bd5c0f11e2ae9ddb5faa30/lib/appium_lib/driver.rb#L220)
+##### [driver](https://github.com/appium/ruby_lib/blob/eb11923543a1e3e2fe8f19d2f09959cefd16fa05/lib/appium_lib/driver.rb#L220)
> def driver
Returns the driver
@@ -163,11 +163,11 @@
[Driver] the driver
--
-##### [screenshot](https://github.com/appium/ruby_lib/blob/b30548e58783bc6b20bd5c0f11e2ae9ddb5faa30/lib/appium_lib/driver.rb#L228)
+##### [screenshot](https://github.com/appium/ruby_lib/blob/eb11923543a1e3e2fe8f19d2f09959cefd16fa05/lib/appium_lib/driver.rb#L228)
> def screenshot png_save_path
Takes a png screenshot and saves to the target path.
@@ -179,11 +179,11 @@
[void]
--
-##### [driver_quit](https://github.com/appium/ruby_lib/blob/b30548e58783bc6b20bd5c0f11e2ae9ddb5faa30/lib/appium_lib/driver.rb#L234)
+##### [driver_quit](https://github.com/appium/ruby_lib/blob/eb11923543a1e3e2fe8f19d2f09959cefd16fa05/lib/appium_lib/driver.rb#L234)
> def driver_quit
Quits the driver
@@ -191,11 +191,11 @@
[void]
--
-##### [start_driver](https://github.com/appium/ruby_lib/blob/b30548e58783bc6b20bd5c0f11e2ae9ddb5faa30/lib/appium_lib/driver.rb#L243)
+##### [start_driver](https://github.com/appium/ruby_lib/blob/eb11923543a1e3e2fe8f19d2f09959cefd16fa05/lib/appium_lib/driver.rb#L243)
> def start_driver wait=30
Creates a new global driver and quits the old one if it exists.
@@ -207,19 +207,19 @@
[Selenium::WebDriver] the new global driver
--
-##### [no_wait](https://github.com/appium/ruby_lib/blob/b30548e58783bc6b20bd5c0f11e2ae9ddb5faa30/lib/appium_lib/driver.rb#L269)
+##### [no_wait](https://github.com/appium/ruby_lib/blob/eb11923543a1e3e2fe8f19d2f09959cefd16fa05/lib/appium_lib/driver.rb#L269)
> def no_wait
Set implicit wait to zero.
--
-##### [set_wait](https://github.com/appium/ruby_lib/blob/b30548e58783bc6b20bd5c0f11e2ae9ddb5faa30/lib/appium_lib/driver.rb#L276)
+##### [set_wait](https://github.com/appium/ruby_lib/blob/eb11923543a1e3e2fe8f19d2f09959cefd16fa05/lib/appium_lib/driver.rb#L276)
> def set_wait timeout=@default_wait
Set implicit wait to timeout, defaults to 30.
@@ -231,11 +231,11 @@
[void]
--
-##### [default_wait](https://github.com/appium/ruby_lib/blob/b30548e58783bc6b20bd5c0f11e2ae9ddb5faa30/lib/appium_lib/driver.rb#L283)
+##### [default_wait](https://github.com/appium/ruby_lib/blob/eb11923543a1e3e2fe8f19d2f09959cefd16fa05/lib/appium_lib/driver.rb#L283)
> def default_wait
Returns the default client side wait.
This value is independent of what the server is using
@@ -244,11 +244,11 @@
[Integer]
--
-##### [exists](https://github.com/appium/ruby_lib/blob/b30548e58783bc6b20bd5c0f11e2ae9ddb5faa30/lib/appium_lib/driver.rb#L295)
+##### [exists](https://github.com/appium/ruby_lib/blob/eb11923543a1e3e2fe8f19d2f09959cefd16fa05/lib/appium_lib/driver.rb#L295)
> def exists &search_block
Returns existence of element.
@@ -264,11 +264,11 @@
[Boolean]
--
-##### [execute_script](https://github.com/appium/ruby_lib/blob/b30548e58783bc6b20bd5c0f11e2ae9ddb5faa30/lib/appium_lib/driver.rb#L320)
+##### [execute_script](https://github.com/appium/ruby_lib/blob/eb11923543a1e3e2fe8f19d2f09959cefd16fa05/lib/appium_lib/driver.rb#L320)
> def execute_script script, *args
The same as @driver.execute_script
@@ -282,11 +282,11 @@
[Object]
--
-##### [mobile](https://github.com/appium/ruby_lib/blob/b30548e58783bc6b20bd5c0f11e2ae9ddb5faa30/lib/appium_lib/driver.rb#L336)
+##### [mobile](https://github.com/appium/ruby_lib/blob/eb11923543a1e3e2fe8f19d2f09959cefd16fa05/lib/appium_lib/driver.rb#L336)
> def mobile method, *args
Helper method for mobile gestures
@@ -308,11 +308,11 @@
[Object]
--
-##### [find_elements](https://github.com/appium/ruby_lib/blob/b30548e58783bc6b20bd5c0f11e2ae9ddb5faa30/lib/appium_lib/driver.rb#L347)
+##### [find_elements](https://github.com/appium/ruby_lib/blob/eb11923543a1e3e2fe8f19d2f09959cefd16fa05/lib/appium_lib/driver.rb#L347)
> def find_elements *args
Calls @driver.find_elements
@@ -324,11 +324,11 @@
[Array<Element>] Array is empty when no elements are found.
--
-##### [find_element](https://github.com/appium/ruby_lib/blob/b30548e58783bc6b20bd5c0f11e2ae9ddb5faa30/lib/appium_lib/driver.rb#L355)
+##### [find_element](https://github.com/appium/ruby_lib/blob/eb11923543a1e3e2fe8f19d2f09959cefd16fa05/lib/appium_lib/driver.rb#L355)
> def find_element *args
Calls @driver.find_elements
@@ -340,11 +340,11 @@
[Element]
--
-##### [x](https://github.com/appium/ruby_lib/blob/b30548e58783bc6b20bd5c0f11e2ae9ddb5faa30/lib/appium_lib/driver.rb#L362)
+##### [x](https://github.com/appium/ruby_lib/blob/eb11923543a1e3e2fe8f19d2f09959cefd16fa05/lib/appium_lib/driver.rb#L362)
> def x
Quit the driver and Pry.
quit and exit are reserved by Pry.
@@ -353,11 +353,11 @@
[void]
--
-##### [wait](https://github.com/appium/ruby_lib/blob/b30548e58783bc6b20bd5c0f11e2ae9ddb5faa30/lib/appium_lib/common/helper.rb#L32)
+##### [wait](https://github.com/appium/ruby_lib/blob/eb11923543a1e3e2fe8f19d2f09959cefd16fa05/lib/appium_lib/common/helper.rb#L32)
> def wait max_wait=30, interval=0.5, &block
Check every 0.5 seconds to see if block.call doesn't raise an exception.
if .call raises an exception then it will be tried again.
@@ -379,11 +379,11 @@
[Object] the result of block.call
--
-##### [wait_true](https://github.com/appium/ruby_lib/blob/b30548e58783bc6b20bd5c0f11e2ae9ddb5faa30/lib/appium_lib/common/helper.rb#L49)
+##### [wait_true](https://github.com/appium/ruby_lib/blob/eb11923543a1e3e2fe8f19d2f09959cefd16fa05/lib/appium_lib/common/helper.rb#L49)
> def wait_true max_wait=30, interval=0.5, &block
Check every 0.5 seconds to see if block.call returns true. nil is considered a failure.
Give up after 30 seconds.
@@ -400,11 +400,11 @@
[Object] the result of block.call
--
-##### [id](https://github.com/appium/ruby_lib/blob/b30548e58783bc6b20bd5c0f11e2ae9ddb5faa30/lib/appium_lib/common/helper.rb#L63)
+##### [id](https://github.com/appium/ruby_lib/blob/eb11923543a1e3e2fe8f19d2f09959cefd16fa05/lib/appium_lib/common/helper.rb#L63)
> def id id
Find by id. Useful for selendroid
@@ -416,11 +416,11 @@
[Element]
--
-##### [back](https://github.com/appium/ruby_lib/blob/b30548e58783bc6b20bd5c0f11e2ae9ddb5faa30/lib/appium_lib/common/helper.rb#L69)
+##### [back](https://github.com/appium/ruby_lib/blob/eb11923543a1e3e2fe8f19d2f09959cefd16fa05/lib/appium_lib/common/helper.rb#L69)
> def back
Navigate back.
@@ -428,19 +428,19 @@
[void]
--
-##### [session_id](https://github.com/appium/ruby_lib/blob/b30548e58783bc6b20bd5c0f11e2ae9ddb5faa30/lib/appium_lib/common/helper.rb#L74)
+##### [session_id](https://github.com/appium/ruby_lib/blob/eb11923543a1e3e2fe8f19d2f09959cefd16fa05/lib/appium_lib/common/helper.rb#L74)
> def session_id
For Sauce Labs reporting. Returns the current session id.
--
-##### [xpath](https://github.com/appium/ruby_lib/blob/b30548e58783bc6b20bd5c0f11e2ae9ddb5faa30/lib/appium_lib/common/helper.rb#L82)
+##### [xpath](https://github.com/appium/ruby_lib/blob/eb11923543a1e3e2fe8f19d2f09959cefd16fa05/lib/appium_lib/common/helper.rb#L82)
> def xpath xpath_str
Returns the first element that matches the provided xpath.
@@ -452,11 +452,11 @@
[Element]
--
-##### [xpaths](https://github.com/appium/ruby_lib/blob/b30548e58783bc6b20bd5c0f11e2ae9ddb5faa30/lib/appium_lib/common/helper.rb#L90)
+##### [xpaths](https://github.com/appium/ruby_lib/blob/eb11923543a1e3e2fe8f19d2f09959cefd16fa05/lib/appium_lib/common/helper.rb#L90)
> def xpaths xpath_str
Returns all elements that match the provided xpath.
@@ -468,11 +468,11 @@
[Array<Element>]
--
-##### [ele_index](https://github.com/appium/ruby_lib/blob/b30548e58783bc6b20bd5c0f11e2ae9ddb5faa30/lib/appium_lib/common/helper.rb#L98)
+##### [ele_index](https://github.com/appium/ruby_lib/blob/eb11923543a1e3e2fe8f19d2f09959cefd16fa05/lib/appium_lib/common/helper.rb#L98)
> def ele_index tag_name, index
Get the element of type tag_name at matching index.
@@ -486,11 +486,11 @@
[Element] the found element of type tag_name
--
-##### [find_eles](https://github.com/appium/ruby_lib/blob/b30548e58783bc6b20bd5c0f11e2ae9ddb5faa30/lib/appium_lib/common/helper.rb#L106)
+##### [find_eles](https://github.com/appium/ruby_lib/blob/eb11923543a1e3e2fe8f19d2f09959cefd16fa05/lib/appium_lib/common/helper.rb#L106)
> def find_eles tag_name
Get all elements exactly matching tag name
@@ -502,11 +502,11 @@
[Array<Element>] the found elements of type tag_name
--
-##### [find_ele_by_text](https://github.com/appium/ruby_lib/blob/b30548e58783bc6b20bd5c0f11e2ae9ddb5faa30/lib/appium_lib/common/helper.rb#L114)
+##### [find_ele_by_text](https://github.com/appium/ruby_lib/blob/eb11923543a1e3e2fe8f19d2f09959cefd16fa05/lib/appium_lib/common/helper.rb#L114)
> def find_ele_by_text tag, text
Get the first tag that exactly matches tag and text.
@@ -520,11 +520,11 @@
[Element] the element of type tag exactly matching text
--
-##### [find_eles_by_text](https://github.com/appium/ruby_lib/blob/b30548e58783bc6b20bd5c0f11e2ae9ddb5faa30/lib/appium_lib/common/helper.rb#L122)
+##### [find_eles_by_text](https://github.com/appium/ruby_lib/blob/eb11923543a1e3e2fe8f19d2f09959cefd16fa05/lib/appium_lib/common/helper.rb#L122)
> def find_eles_by_text tag, text
Get all tags that exactly match tag and text.
@@ -538,11 +538,11 @@
[Array<Element>] the elements of type tag exactly matching text
--
-##### [find_ele_by_attr_include](https://github.com/appium/ruby_lib/blob/b30548e58783bc6b20bd5c0f11e2ae9ddb5faa30/lib/appium_lib/common/helper.rb#L131)
+##### [find_ele_by_attr_include](https://github.com/appium/ruby_lib/blob/eb11923543a1e3e2fe8f19d2f09959cefd16fa05/lib/appium_lib/common/helper.rb#L131)
> def find_ele_by_attr_include tag, attr, value
Get the first tag by attribute that exactly matches value.
@@ -558,11 +558,11 @@
[Element] the element of type tag who's attribute includes value
--
-##### [find_eles_by_attr_include](https://github.com/appium/ruby_lib/blob/b30548e58783bc6b20bd5c0f11e2ae9ddb5faa30/lib/appium_lib/common/helper.rb#L140)
+##### [find_eles_by_attr_include](https://github.com/appium/ruby_lib/blob/eb11923543a1e3e2fe8f19d2f09959cefd16fa05/lib/appium_lib/common/helper.rb#L140)
> def find_eles_by_attr_include tag, attr, value
Get tags by attribute that include value.
@@ -578,11 +578,11 @@
[Array<Element>] the elements of type tag who's attribute includes value
--
-##### [find_ele_by_text_include](https://github.com/appium/ruby_lib/blob/b30548e58783bc6b20bd5c0f11e2ae9ddb5faa30/lib/appium_lib/common/helper.rb#L149)
+##### [find_ele_by_text_include](https://github.com/appium/ruby_lib/blob/eb11923543a1e3e2fe8f19d2f09959cefd16fa05/lib/appium_lib/common/helper.rb#L149)
> def find_ele_by_text_include tag, text
Get the first tag that includes text.
element.attribute(:text).include? text
@@ -597,11 +597,11 @@
[Element] the element of type tag that includes text
--
-##### [find_eles_by_text_include](https://github.com/appium/ruby_lib/blob/b30548e58783bc6b20bd5c0f11e2ae9ddb5faa30/lib/appium_lib/common/helper.rb#L158)
+##### [find_eles_by_text_include](https://github.com/appium/ruby_lib/blob/eb11923543a1e3e2fe8f19d2f09959cefd16fa05/lib/appium_lib/common/helper.rb#L158)
> def find_eles_by_text_include tag, text
Get the tags that include text.
element.attribute(:text).include? text
@@ -616,11 +616,11 @@
[Array<Element>] the elements of type tag that includes text
--
-##### [first_ele](https://github.com/appium/ruby_lib/blob/b30548e58783bc6b20bd5c0f11e2ae9ddb5faa30/lib/appium_lib/common/helper.rb#L165)
+##### [first_ele](https://github.com/appium/ruby_lib/blob/eb11923543a1e3e2fe8f19d2f09959cefd16fa05/lib/appium_lib/common/helper.rb#L165)
> def first_ele tag_name
Get the first tag that matches tag_name
@@ -632,11 +632,11 @@
[Element]
--
-##### [last_ele](https://github.com/appium/ruby_lib/blob/b30548e58783bc6b20bd5c0f11e2ae9ddb5faa30/lib/appium_lib/common/helper.rb#L173)
+##### [last_ele](https://github.com/appium/ruby_lib/blob/eb11923543a1e3e2fe8f19d2f09959cefd16fa05/lib/appium_lib/common/helper.rb#L173)
> def last_ele tag_name
Get the last tag that matches tag_name
@@ -648,11 +648,11 @@
[Element]
--
-##### [source](https://github.com/appium/ruby_lib/blob/b30548e58783bc6b20bd5c0f11e2ae9ddb5faa30/lib/appium_lib/common/helper.rb#L179)
+##### [source](https://github.com/appium/ruby_lib/blob/eb11923543a1e3e2fe8f19d2f09959cefd16fa05/lib/appium_lib/common/helper.rb#L179)
> def source
Prints a JSON view of the current page
@@ -660,11 +660,11 @@
[void]
--
-##### [get_source](https://github.com/appium/ruby_lib/blob/b30548e58783bc6b20bd5c0f11e2ae9ddb5faa30/lib/appium_lib/common/helper.rb#L185)
+##### [get_source](https://github.com/appium/ruby_lib/blob/eb11923543a1e3e2fe8f19d2f09959cefd16fa05/lib/appium_lib/common/helper.rb#L185)
> def get_source
Gets a JSON view of the current page
@@ -672,11 +672,11 @@
[JSON]
--
-##### [find_name](https://github.com/appium/ruby_lib/blob/b30548e58783bc6b20bd5c0f11e2ae9ddb5faa30/lib/appium_lib/common/helper.rb#L194)
+##### [find_name](https://github.com/appium/ruby_lib/blob/eb11923543a1e3e2fe8f19d2f09959cefd16fa05/lib/appium_lib/common/helper.rb#L194)
> def find_name name
Returns the first element that matches name
@@ -688,11 +688,11 @@
[Element]
--
-##### [find_names](https://github.com/appium/ruby_lib/blob/b30548e58783bc6b20bd5c0f11e2ae9ddb5faa30/lib/appium_lib/common/helper.rb#L202)
+##### [find_names](https://github.com/appium/ruby_lib/blob/eb11923543a1e3e2fe8f19d2f09959cefd16fa05/lib/appium_lib/common/helper.rb#L202)
> def find_names name
Returns all elements that match name
@@ -704,19 +704,19 @@
[Array<Element>]
--
-##### [dynamic_code_to_string](https://github.com/appium/ruby_lib/blob/b30548e58783bc6b20bd5c0f11e2ae9ddb5faa30/lib/appium_lib/common/dynamic.rb#L38)
+##### [dynamic_code_to_string](https://github.com/appium/ruby_lib/blob/eb11923543a1e3e2fe8f19d2f09959cefd16fa05/lib/appium_lib/common/dynamic.rb#L38)
> def dynamic_code_to_string code, value=false
--
-##### [s_texts](https://github.com/appium/ruby_lib/blob/b30548e58783bc6b20bd5c0f11e2ae9ddb5faa30/lib/appium_lib/common/element/text.rb#L8)
+##### [s_texts](https://github.com/appium/ruby_lib/blob/eb11923543a1e3e2fe8f19d2f09959cefd16fa05/lib/appium_lib/common/element/text.rb#L8)
> def s_texts
Get an array of text texts.
@@ -724,11 +724,11 @@
[Array<String>]
--
-##### [e_s_texts](https://github.com/appium/ruby_lib/blob/b30548e58783bc6b20bd5c0f11e2ae9ddb5faa30/lib/appium_lib/common/element/text.rb#L14)
+##### [e_s_texts](https://github.com/appium/ruby_lib/blob/eb11923543a1e3e2fe8f19d2f09959cefd16fa05/lib/appium_lib/common/element/text.rb#L14)
> def e_s_texts
Get an array of text elements.
@@ -736,11 +736,11 @@
[Array<Text>]
--
-##### [s_first_text](https://github.com/appium/ruby_lib/blob/b30548e58783bc6b20bd5c0f11e2ae9ddb5faa30/lib/appium_lib/common/element/text.rb#L20)
+##### [s_first_text](https://github.com/appium/ruby_lib/blob/eb11923543a1e3e2fe8f19d2f09959cefd16fa05/lib/appium_lib/common/element/text.rb#L20)
> def s_first_text
Get the first text element.
@@ -748,11 +748,11 @@
[Text]
--
-##### [s_last_text](https://github.com/appium/ruby_lib/blob/b30548e58783bc6b20bd5c0f11e2ae9ddb5faa30/lib/appium_lib/common/element/text.rb#L26)
+##### [s_last_text](https://github.com/appium/ruby_lib/blob/eb11923543a1e3e2fe8f19d2f09959cefd16fa05/lib/appium_lib/common/element/text.rb#L26)
> def s_last_text
Get the last text element
@@ -760,11 +760,11 @@
[Text]
--
-##### [s_text](https://github.com/appium/ruby_lib/blob/b30548e58783bc6b20bd5c0f11e2ae9ddb5faa30/lib/appium_lib/common/element/text.rb#L33)
+##### [s_text](https://github.com/appium/ruby_lib/blob/eb11923543a1e3e2fe8f19d2f09959cefd16fa05/lib/appium_lib/common/element/text.rb#L33)
> def s_text text
Get the first element that includes text.
@@ -776,11 +776,11 @@
[Text]
--
-##### [s_text_exact](https://github.com/appium/ruby_lib/blob/b30548e58783bc6b20bd5c0f11e2ae9ddb5faa30/lib/appium_lib/common/element/text.rb#L41)
+##### [s_text_exact](https://github.com/appium/ruby_lib/blob/eb11923543a1e3e2fe8f19d2f09959cefd16fa05/lib/appium_lib/common/element/text.rb#L41)
> def s_text_exact text
Get the first textfield that matches text.
@@ -792,11 +792,11 @@
[Text]
--
-##### [button](https://github.com/appium/ruby_lib/blob/b30548e58783bc6b20bd5c0f11e2ae9ddb5faa30/lib/appium_lib/common/element/button.rb#L8)
+##### [button](https://github.com/appium/ruby_lib/blob/eb11923543a1e3e2fe8f19d2f09959cefd16fa05/lib/appium_lib/common/element/button.rb#L8)
> def button text, number=0
Find a button by text and optionally number.
@@ -810,11 +810,11 @@
[Button] the button found with text and matching number
--
-##### [buttons](https://github.com/appium/ruby_lib/blob/b30548e58783bc6b20bd5c0f11e2ae9ddb5faa30/lib/appium_lib/common/element/button.rb#L19)
+##### [buttons](https://github.com/appium/ruby_lib/blob/eb11923543a1e3e2fe8f19d2f09959cefd16fa05/lib/appium_lib/common/element/button.rb#L19)
> def buttons text=nil
Get an array of button texts or button elements if text is provided.
@@ -826,11 +826,11 @@
[Array<String>, Array<Buttons>] either an array of button texts or an array of button elements if text is provided.
--
-##### [first_button](https://github.com/appium/ruby_lib/blob/b30548e58783bc6b20bd5c0f11e2ae9ddb5faa30/lib/appium_lib/common/element/button.rb#L26)
+##### [first_button](https://github.com/appium/ruby_lib/blob/eb11923543a1e3e2fe8f19d2f09959cefd16fa05/lib/appium_lib/common/element/button.rb#L26)
> def first_button
Get the first button element.
@@ -838,11 +838,11 @@
[Button]
--
-##### [last_button](https://github.com/appium/ruby_lib/blob/b30548e58783bc6b20bd5c0f11e2ae9ddb5faa30/lib/appium_lib/common/element/button.rb#L32)
+##### [last_button](https://github.com/appium/ruby_lib/blob/eb11923543a1e3e2fe8f19d2f09959cefd16fa05/lib/appium_lib/common/element/button.rb#L32)
> def last_button
Get the last button element.
@@ -850,11 +850,11 @@
[Button]
--
-##### [button_exact](https://github.com/appium/ruby_lib/blob/b30548e58783bc6b20bd5c0f11e2ae9ddb5faa30/lib/appium_lib/common/element/button.rb#L39)
+##### [button_exact](https://github.com/appium/ruby_lib/blob/eb11923543a1e3e2fe8f19d2f09959cefd16fa05/lib/appium_lib/common/element/button.rb#L39)
> def button_exact text
Get the first button element that exactly matches text.
@@ -866,11 +866,11 @@
[Button]
--
-##### [buttons_exact](https://github.com/appium/ruby_lib/blob/b30548e58783bc6b20bd5c0f11e2ae9ddb5faa30/lib/appium_lib/common/element/button.rb#L46)
+##### [buttons_exact](https://github.com/appium/ruby_lib/blob/eb11923543a1e3e2fe8f19d2f09959cefd16fa05/lib/appium_lib/common/element/button.rb#L46)
> def buttons_exact text
Get all button elements that exactly match text.
@@ -882,11 +882,11 @@
[Array<Button>]
--
-##### [e_buttons](https://github.com/appium/ruby_lib/blob/b30548e58783bc6b20bd5c0f11e2ae9ddb5faa30/lib/appium_lib/common/element/button.rb#L52)
+##### [e_buttons](https://github.com/appium/ruby_lib/blob/eb11923543a1e3e2fe8f19d2f09959cefd16fa05/lib/appium_lib/common/element/button.rb#L52)
> def e_buttons
Get an array of button elements.
@@ -894,11 +894,11 @@
[Array<Button>]
--
-##### [button_num](https://github.com/appium/ruby_lib/blob/b30548e58783bc6b20bd5c0f11e2ae9ddb5faa30/lib/appium_lib/common/element/button.rb#L72)
+##### [button_num](https://github.com/appium/ruby_lib/blob/eb11923543a1e3e2fe8f19d2f09959cefd16fa05/lib/appium_lib/common/element/button.rb#L72)
> def button_num text, number=1
Expected to be called via button method.
@@ -923,19 +923,19 @@
[Button] the button that matches text and number
--
-##### [window_size](https://github.com/appium/ruby_lib/blob/b30548e58783bc6b20bd5c0f11e2ae9ddb5faa30/lib/appium_lib/common/element/window.rb#L5)
+##### [window_size](https://github.com/appium/ruby_lib/blob/eb11923543a1e3e2fe8f19d2f09959cefd16fa05/lib/appium_lib/common/element/window.rb#L5)
> def window_size
Get the window's size
--
-##### [tag_name_to_android](https://github.com/appium/ruby_lib/blob/b30548e58783bc6b20bd5c0f11e2ae9ddb5faa30/lib/appium_lib/android/helper.rb#L6) android
+##### [tag_name_to_android](https://github.com/appium/ruby_lib/blob/eb11923543a1e3e2fe8f19d2f09959cefd16fa05/lib/appium_lib/android/helper.rb#L6) android
> def tag_name_to_android tag_name
Returns an array of android classes that match the tag name
@@ -947,11 +947,11 @@
[String]
--
-##### [find_eles_attr](https://github.com/appium/ruby_lib/blob/b30548e58783bc6b20bd5c0f11e2ae9ddb5faa30/lib/appium_lib/android/helper.rb#L44) android
+##### [find_eles_attr](https://github.com/appium/ruby_lib/blob/eb11923543a1e3e2fe8f19d2f09959cefd16fa05/lib/appium_lib/android/helper.rb#L44) android
> def find_eles_attr tag_name
Find all elements matching the attribute
On android, assume the attr is name (which falls back to text).
@@ -964,11 +964,11 @@
[Element]
--
-##### [get_selendroid_inspect](https://github.com/appium/ruby_lib/blob/b30548e58783bc6b20bd5c0f11e2ae9ddb5faa30/lib/appium_lib/android/helper.rb#L66) android
+##### [get_selendroid_inspect](https://github.com/appium/ruby_lib/blob/eb11923543a1e3e2fe8f19d2f09959cefd16fa05/lib/appium_lib/android/helper.rb#L66) android
> def get_selendroid_inspect
Selendroid only.
Returns a string containing interesting elements.
@@ -977,11 +977,11 @@
[String]
--
-##### [get_android_inspect](https://github.com/appium/ruby_lib/blob/b30548e58783bc6b20bd5c0f11e2ae9ddb5faa30/lib/appium_lib/android/helper.rb#L131) android
+##### [get_android_inspect](https://github.com/appium/ruby_lib/blob/eb11923543a1e3e2fe8f19d2f09959cefd16fa05/lib/appium_lib/android/helper.rb#L131) android
> def get_android_inspect
Android only.
Returns a string containing interesting elements.
@@ -990,11 +990,11 @@
[String]
--
-##### [get_inspect](https://github.com/appium/ruby_lib/blob/b30548e58783bc6b20bd5c0f11e2ae9ddb5faa30/lib/appium_lib/android/helper.rb#L180) android
+##### [get_inspect](https://github.com/appium/ruby_lib/blob/eb11923543a1e3e2fe8f19d2f09959cefd16fa05/lib/appium_lib/android/helper.rb#L180) android
> def get_inspect
Automatically detects selendroid or android.
Returns a string containing interesting elements.
@@ -1003,20 +1003,20 @@
[String]
--
-##### [page](https://github.com/appium/ruby_lib/blob/b30548e58783bc6b20bd5c0f11e2ae9ddb5faa30/lib/appium_lib/android/helper.rb#L186) android
+##### [page](https://github.com/appium/ruby_lib/blob/eb11923543a1e3e2fe8f19d2f09959cefd16fa05/lib/appium_lib/android/helper.rb#L186) android
> def page
Intended for use with console.
Inspects and prints the current page.
--
-##### [fast_duration](https://github.com/appium/ruby_lib/blob/b30548e58783bc6b20bd5c0f11e2ae9ddb5faa30/lib/appium_lib/android/helper.rb#L199) android
+##### [fast_duration](https://github.com/appium/ruby_lib/blob/eb11923543a1e3e2fe8f19d2f09959cefd16fa05/lib/appium_lib/android/helper.rb#L199) android
> def fast_duration
JavaScript code from https://github.com/appium/appium/blob/master/app/android.js
@@ -1027,11 +1027,11 @@
We want steps to be exactly 1. If it's zero then a tap is used instead of a swipe.
--
-##### [alert_click](https://github.com/appium/ruby_lib/blob/b30548e58783bc6b20bd5c0f11e2ae9ddb5faa30/lib/appium_lib/android/element/alert.rb#L6) android
+##### [alert_click](https://github.com/appium/ruby_lib/blob/eb11923543a1e3e2fe8f19d2f09959cefd16fa05/lib/appium_lib/android/element/alert.rb#L6) android
> def alert_click value
Tap the alert button identified by value.
@@ -1043,11 +1043,11 @@
[void]
--
-##### [alert_accept](https://github.com/appium/ruby_lib/blob/b30548e58783bc6b20bd5c0f11e2ae9ddb5faa30/lib/appium_lib/android/element/alert.rb#L13) android
+##### [alert_accept](https://github.com/appium/ruby_lib/blob/eb11923543a1e3e2fe8f19d2f09959cefd16fa05/lib/appium_lib/android/element/alert.rb#L13) android
> def alert_accept
Accept the alert.
The last button is considered "accept."
@@ -1056,11 +1056,11 @@
[void]
--
-##### [alert_accept_text](https://github.com/appium/ruby_lib/blob/b30548e58783bc6b20bd5c0f11e2ae9ddb5faa30/lib/appium_lib/android/element/alert.rb#L20) android
+##### [alert_accept_text](https://github.com/appium/ruby_lib/blob/eb11923543a1e3e2fe8f19d2f09959cefd16fa05/lib/appium_lib/android/element/alert.rb#L20) android
> def alert_accept_text
Get the text of the alert's accept button.
The last button is considered "accept."
@@ -1069,11 +1069,11 @@
[String]
--
-##### [alert_dismiss](https://github.com/appium/ruby_lib/blob/b30548e58783bc6b20bd5c0f11e2ae9ddb5faa30/lib/appium_lib/android/element/alert.rb#L27) android
+##### [alert_dismiss](https://github.com/appium/ruby_lib/blob/eb11923543a1e3e2fe8f19d2f09959cefd16fa05/lib/appium_lib/android/element/alert.rb#L27) android
> def alert_dismiss
Dismiss the alert.
The first button is considered "dismiss."
@@ -1082,11 +1082,11 @@
[void]
--
-##### [alert_dismiss_text](https://github.com/appium/ruby_lib/blob/b30548e58783bc6b20bd5c0f11e2ae9ddb5faa30/lib/appium_lib/android/element/alert.rb#L34) android
+##### [alert_dismiss_text](https://github.com/appium/ruby_lib/blob/eb11923543a1e3e2fe8f19d2f09959cefd16fa05/lib/appium_lib/android/element/alert.rb#L34) android
> def alert_dismiss_text
Get the text of the alert's dismiss button.
The first button is considered "dismiss."
@@ -1095,11 +1095,11 @@
[String]
--
-##### [find](https://github.com/appium/ruby_lib/blob/b30548e58783bc6b20bd5c0f11e2ae9ddb5faa30/lib/appium_lib/android/element/generic.rb#L44) android
+##### [find](https://github.com/appium/ruby_lib/blob/eb11923543a1e3e2fe8f19d2f09959cefd16fa05/lib/appium_lib/android/element/generic.rb#L44) android
> def find val
Find the value contained in content description or text. Search elements
in this order: EditText, Button, ImageButton
@@ -1112,11 +1112,11 @@
[Element]
--
-##### [text](https://github.com/appium/ruby_lib/blob/b30548e58783bc6b20bd5c0f11e2ae9ddb5faa30/lib/appium_lib/android/element/generic.rb#L70) android
+##### [text](https://github.com/appium/ruby_lib/blob/eb11923543a1e3e2fe8f19d2f09959cefd16fa05/lib/appium_lib/android/element/generic.rb#L70) android
> def text text
Return the first element matching text.
@@ -1128,11 +1128,11 @@
[Element] the first matching element
--
-##### [texts](https://github.com/appium/ruby_lib/blob/b30548e58783bc6b20bd5c0f11e2ae9ddb5faa30/lib/appium_lib/android/element/generic.rb#L79) android
+##### [texts](https://github.com/appium/ruby_lib/blob/eb11923543a1e3e2fe8f19d2f09959cefd16fa05/lib/appium_lib/android/element/generic.rb#L79) android
> def texts text
Return all elements matching text.
@@ -1144,11 +1144,11 @@
[Array<Element>] all matching elements
--
-##### [name](https://github.com/appium/ruby_lib/blob/b30548e58783bc6b20bd5c0f11e2ae9ddb5faa30/lib/appium_lib/android/element/generic.rb#L88) android
+##### [name](https://github.com/appium/ruby_lib/blob/eb11923543a1e3e2fe8f19d2f09959cefd16fa05/lib/appium_lib/android/element/generic.rb#L88) android
> def name name
Return the first element matching name.
on Android name is content description
@@ -1162,11 +1162,11 @@
[Element] the first matching element
--
-##### [names](https://github.com/appium/ruby_lib/blob/b30548e58783bc6b20bd5c0f11e2ae9ddb5faa30/lib/appium_lib/android/element/generic.rb#L99) android
+##### [names](https://github.com/appium/ruby_lib/blob/eb11923543a1e3e2fe8f19d2f09959cefd16fa05/lib/appium_lib/android/element/generic.rb#L99) android
> def names name
Return all elements matching name.
on Android name is content description
@@ -1180,11 +1180,11 @@
[Array<Element>] all matching elements
--
-##### [scroll_to](https://github.com/appium/ruby_lib/blob/b30548e58783bc6b20bd5c0f11e2ae9ddb5faa30/lib/appium_lib/android/element/generic.rb#L106) android
+##### [scroll_to](https://github.com/appium/ruby_lib/blob/eb11923543a1e3e2fe8f19d2f09959cefd16fa05/lib/appium_lib/android/element/generic.rb#L106) android
> def scroll_to text
Scroll to an element containing target text or description.
@@ -1196,11 +1196,11 @@
[Element] the element scrolled to
--
-##### [textfields](https://github.com/appium/ruby_lib/blob/b30548e58783bc6b20bd5c0f11e2ae9ddb5faa30/lib/appium_lib/android/element/textfield.rb#L7) android
+##### [textfields](https://github.com/appium/ruby_lib/blob/eb11923543a1e3e2fe8f19d2f09959cefd16fa05/lib/appium_lib/android/element/textfield.rb#L7) android
> def textfields
Get an array of textfield texts.
@@ -1208,11 +1208,11 @@
[Array<String>]
--
-##### [e_textfields](https://github.com/appium/ruby_lib/blob/b30548e58783bc6b20bd5c0f11e2ae9ddb5faa30/lib/appium_lib/android/element/textfield.rb#L13) android
+##### [e_textfields](https://github.com/appium/ruby_lib/blob/eb11923543a1e3e2fe8f19d2f09959cefd16fa05/lib/appium_lib/android/element/textfield.rb#L13) android
> def e_textfields
Get an array of textfield elements.
@@ -1220,11 +1220,11 @@
[Array<Textfield>]
--
-##### [first_textfield](https://github.com/appium/ruby_lib/blob/b30548e58783bc6b20bd5c0f11e2ae9ddb5faa30/lib/appium_lib/android/element/textfield.rb#L19) android
+##### [first_textfield](https://github.com/appium/ruby_lib/blob/eb11923543a1e3e2fe8f19d2f09959cefd16fa05/lib/appium_lib/android/element/textfield.rb#L19) android
> def first_textfield
Get the first textfield element.
@@ -1232,11 +1232,11 @@
[Textfield]
--
-##### [last_textfield](https://github.com/appium/ruby_lib/blob/b30548e58783bc6b20bd5c0f11e2ae9ddb5faa30/lib/appium_lib/android/element/textfield.rb#L25) android
+##### [last_textfield](https://github.com/appium/ruby_lib/blob/eb11923543a1e3e2fe8f19d2f09959cefd16fa05/lib/appium_lib/android/element/textfield.rb#L25) android
> def last_textfield
Get the last textfield element.
@@ -1244,11 +1244,11 @@
[Textfield]
--
-##### [textfield](https://github.com/appium/ruby_lib/blob/b30548e58783bc6b20bd5c0f11e2ae9ddb5faa30/lib/appium_lib/android/element/textfield.rb#L32) android
+##### [textfield](https://github.com/appium/ruby_lib/blob/eb11923543a1e3e2fe8f19d2f09959cefd16fa05/lib/appium_lib/android/element/textfield.rb#L32) android
> def textfield text
Get the first textfield that includes text or name (content description).
@@ -1260,11 +1260,11 @@
[Textfield]
--
-##### [textfield_exact](https://github.com/appium/ruby_lib/blob/b30548e58783bc6b20bd5c0f11e2ae9ddb5faa30/lib/appium_lib/android/element/textfield.rb#L45) android
+##### [textfield_exact](https://github.com/appium/ruby_lib/blob/eb11923543a1e3e2fe8f19d2f09959cefd16fa05/lib/appium_lib/android/element/textfield.rb#L45) android
> def textfield_exact text
Get the first textfield that matches text.
@@ -1276,40 +1276,40 @@
[Textfield]
--
-##### [value](https://github.com/appium/ruby_lib/blob/b30548e58783bc6b20bd5c0f11e2ae9ddb5faa30/lib/appium_lib/common/patch.rb#L10)
+##### [value](https://github.com/appium/ruby_lib/blob/eb11923543a1e3e2fe8f19d2f09959cefd16fa05/lib/appium_lib/common/patch.rb#L10)
> def value
Returns the value attribute
Fixes NoMethodError: undefined method `value' for Selenium::WebDriver::Element
--
-##### [name](https://github.com/appium/ruby_lib/blob/b30548e58783bc6b20bd5c0f11e2ae9ddb5faa30/lib/appium_lib/common/patch.rb#L17)
+##### [name](https://github.com/appium/ruby_lib/blob/eb11923543a1e3e2fe8f19d2f09959cefd16fa05/lib/appium_lib/common/patch.rb#L17)
> def name
Returns the name attribute
Fixes NoMethodError: undefined method `name' for Selenium::WebDriver::Element
--
-##### [tag_name](https://github.com/appium/ruby_lib/blob/b30548e58783bc6b20bd5c0f11e2ae9ddb5faa30/lib/appium_lib/common/patch.rb#L24)
+##### [tag_name](https://github.com/appium/ruby_lib/blob/eb11923543a1e3e2fe8f19d2f09959cefd16fa05/lib/appium_lib/common/patch.rb#L24)
> def tag_name
Returns the type attribute
Fixes Selenium::WebDriver::Error::UnknownError: Not yet implemented
--
-##### [location_rel](https://github.com/appium/ruby_lib/blob/b30548e58783bc6b20bd5c0f11e2ae9ddb5faa30/lib/appium_lib/common/patch.rb#L36)
+##### [location_rel](https://github.com/appium/ruby_lib/blob/eb11923543a1e3e2fe8f19d2f09959cefd16fa05/lib/appium_lib/common/patch.rb#L36)
> def location_rel
For use with mobile tap.