docs/ios_docs.md in appium_lib-0.5.3 vs docs/ios_docs.md in appium_lib-0.5.4
- old
+ new
@@ -1,6 +1,6 @@
-##### [load_appium_txt](https://github.com/appium/ruby_lib/blob/44ffbcb4715c8caac2770972c72ca498e751be34/lib/appium_lib/driver.rb#L12)
+##### [load_appium_txt](https://github.com/appium/ruby_lib/blob/b24565df67d4f0468ab5e3c1a700711a4c82b80d/lib/appium_lib/driver.rb#L12)
> def load_appium_txt opts
Load appium.txt (toml format) into system ENV
the basedir of this file + appium.txt is what's used
@@ -13,11 +13,11 @@
[nil]
--
-##### [default_wait](https://github.com/appium/ruby_lib/blob/44ffbcb4715c8caac2770972c72ca498e751be34/lib/appium_lib/driver.rb#L344)
+##### [default_wait](https://github.com/appium/ruby_lib/blob/b24565df67d4f0468ab5e3c1a700711a4c82b80d/lib/appium_lib/driver.rb#L344)
> def default_wait
Returns the default client side wait.
This value is independent of what the server is using
@@ -26,99 +26,99 @@
[Integer]
--
-##### [app_path](https://github.com/appium/ruby_lib/blob/44ffbcb4715c8caac2770972c72ca498e751be34/lib/appium_lib/driver.rb#L87)
+##### [app_path](https://github.com/appium/ruby_lib/blob/b24565df67d4f0468ab5e3c1a700711a4c82b80d/lib/appium_lib/driver.rb#L87)
> def app_path
Returns the value of attribute app_path
--
-##### [app_name](https://github.com/appium/ruby_lib/blob/44ffbcb4715c8caac2770972c72ca498e751be34/lib/appium_lib/driver.rb#L87)
+##### [app_name](https://github.com/appium/ruby_lib/blob/b24565df67d4f0468ab5e3c1a700711a4c82b80d/lib/appium_lib/driver.rb#L87)
> def app_name
Returns the value of attribute app_name
--
-##### [selendroid](https://github.com/appium/ruby_lib/blob/44ffbcb4715c8caac2770972c72ca498e751be34/lib/appium_lib/driver.rb#L87)
+##### [selendroid](https://github.com/appium/ruby_lib/blob/b24565df67d4f0468ab5e3c1a700711a4c82b80d/lib/appium_lib/driver.rb#L87)
> def selendroid
Returns the value of attribute selendroid
--
-##### [app_package](https://github.com/appium/ruby_lib/blob/44ffbcb4715c8caac2770972c72ca498e751be34/lib/appium_lib/driver.rb#L87)
+##### [app_package](https://github.com/appium/ruby_lib/blob/b24565df67d4f0468ab5e3c1a700711a4c82b80d/lib/appium_lib/driver.rb#L87)
> def app_package
Returns the value of attribute app_package
--
-##### [app_activity](https://github.com/appium/ruby_lib/blob/44ffbcb4715c8caac2770972c72ca498e751be34/lib/appium_lib/driver.rb#L87)
+##### [app_activity](https://github.com/appium/ruby_lib/blob/b24565df67d4f0468ab5e3c1a700711a4c82b80d/lib/appium_lib/driver.rb#L87)
> def app_activity
Returns the value of attribute app_activity
--
-##### [app_wait_activity](https://github.com/appium/ruby_lib/blob/44ffbcb4715c8caac2770972c72ca498e751be34/lib/appium_lib/driver.rb#L87)
+##### [app_wait_activity](https://github.com/appium/ruby_lib/blob/b24565df67d4f0468ab5e3c1a700711a4c82b80d/lib/appium_lib/driver.rb#L87)
> def app_wait_activity
Returns the value of attribute app_wait_activity
--
-##### [sauce_username](https://github.com/appium/ruby_lib/blob/44ffbcb4715c8caac2770972c72ca498e751be34/lib/appium_lib/driver.rb#L87)
+##### [sauce_username](https://github.com/appium/ruby_lib/blob/b24565df67d4f0468ab5e3c1a700711a4c82b80d/lib/appium_lib/driver.rb#L87)
> def sauce_username
Returns the value of attribute sauce_username
--
-##### [sauce_access_key](https://github.com/appium/ruby_lib/blob/44ffbcb4715c8caac2770972c72ca498e751be34/lib/appium_lib/driver.rb#L87)
+##### [sauce_access_key](https://github.com/appium/ruby_lib/blob/b24565df67d4f0468ab5e3c1a700711a4c82b80d/lib/appium_lib/driver.rb#L87)
> def sauce_access_key
Returns the value of attribute sauce_access_key
--
-##### [port](https://github.com/appium/ruby_lib/blob/44ffbcb4715c8caac2770972c72ca498e751be34/lib/appium_lib/driver.rb#L87)
+##### [port](https://github.com/appium/ruby_lib/blob/b24565df67d4f0468ab5e3c1a700711a4c82b80d/lib/appium_lib/driver.rb#L87)
> def port
Returns the value of attribute port
--
-##### [os](https://github.com/appium/ruby_lib/blob/44ffbcb4715c8caac2770972c72ca498e751be34/lib/appium_lib/driver.rb#L87)
+##### [os](https://github.com/appium/ruby_lib/blob/b24565df67d4f0468ab5e3c1a700711a4c82b80d/lib/appium_lib/driver.rb#L87)
> def os
Returns the value of attribute os
--
-##### [debug](https://github.com/appium/ruby_lib/blob/44ffbcb4715c8caac2770972c72ca498e751be34/lib/appium_lib/driver.rb#L87)
+##### [debug](https://github.com/appium/ruby_lib/blob/b24565df67d4f0468ab5e3c1a700711a4c82b80d/lib/appium_lib/driver.rb#L87)
> def debug
Returns the value of attribute debug
--
-##### [initialize](https://github.com/appium/ruby_lib/blob/44ffbcb4715c8caac2770972c72ca498e751be34/lib/appium_lib/driver.rb#L117)
+##### [initialize](https://github.com/appium/ruby_lib/blob/b24565df67d4f0468ab5e3c1a700711a4c82b80d/lib/appium_lib/driver.rb#L117)
> def initialize opts={}
Creates a new driver.
@@ -153,19 +153,19 @@
[Driver]
--
-##### [status](https://github.com/appium/ruby_lib/blob/44ffbcb4715c8caac2770972c72ca498e751be34/lib/appium_lib/driver.rb#L204)
+##### [status](https://github.com/appium/ruby_lib/blob/b24565df67d4f0468ab5e3c1a700711a4c82b80d/lib/appium_lib/driver.rb#L204)
> def status
Returns the status payload
--
-##### [server_version](https://github.com/appium/ruby_lib/blob/44ffbcb4715c8caac2770972c72ca498e751be34/lib/appium_lib/driver.rb#L210)
+##### [server_version](https://github.com/appium/ruby_lib/blob/b24565df67d4f0468ab5e3c1a700711a4c82b80d/lib/appium_lib/driver.rb#L210)
> def server_version
Returns the server's version string
@@ -173,11 +173,11 @@
[String]
--
-##### [absolute_app_path](https://github.com/appium/ruby_lib/blob/44ffbcb4715c8caac2770972c72ca498e751be34/lib/appium_lib/driver.rb#L251)
+##### [absolute_app_path](https://github.com/appium/ruby_lib/blob/b24565df67d4f0468ab5e3c1a700711a4c82b80d/lib/appium_lib/driver.rb#L251)
> def absolute_app_path
Converts environment variable APP_PATH to an absolute path.
@@ -185,11 +185,11 @@
[String] APP_PATH as an absolute path
--
-##### [server_url](https://github.com/appium/ruby_lib/blob/44ffbcb4715c8caac2770972c72ca498e751be34/lib/appium_lib/driver.rb#L265)
+##### [server_url](https://github.com/appium/ruby_lib/blob/b24565df67d4f0468ab5e3c1a700711a4c82b80d/lib/appium_lib/driver.rb#L265)
> def server_url
Get the server url for sauce or local based on env vars.
@@ -197,11 +197,11 @@
[String] the server url
--
-##### [restart](https://github.com/appium/ruby_lib/blob/44ffbcb4715c8caac2770972c72ca498e751be34/lib/appium_lib/driver.rb#L275)
+##### [restart](https://github.com/appium/ruby_lib/blob/b24565df67d4f0468ab5e3c1a700711a4c82b80d/lib/appium_lib/driver.rb#L275)
> def restart
Restarts the driver
@@ -209,11 +209,11 @@
[Driver] the driver
--
-##### [driver](https://github.com/appium/ruby_lib/blob/44ffbcb4715c8caac2770972c72ca498e751be34/lib/appium_lib/driver.rb#L282)
+##### [driver](https://github.com/appium/ruby_lib/blob/b24565df67d4f0468ab5e3c1a700711a4c82b80d/lib/appium_lib/driver.rb#L282)
> def driver
Returns the driver
@@ -221,11 +221,11 @@
[Driver] the driver
--
-##### [screenshot](https://github.com/appium/ruby_lib/blob/44ffbcb4715c8caac2770972c72ca498e751be34/lib/appium_lib/driver.rb#L292)
+##### [screenshot](https://github.com/appium/ruby_lib/blob/b24565df67d4f0468ab5e3c1a700711a4c82b80d/lib/appium_lib/driver.rb#L292)
> def screenshot png_save_path
Takes a png screenshot and saves to the target path.
@@ -239,11 +239,11 @@
[void]
--
-##### [driver_quit](https://github.com/appium/ruby_lib/blob/44ffbcb4715c8caac2770972c72ca498e751be34/lib/appium_lib/driver.rb#L298)
+##### [driver_quit](https://github.com/appium/ruby_lib/blob/b24565df67d4f0468ab5e3c1a700711a4c82b80d/lib/appium_lib/driver.rb#L298)
> def driver_quit
Quits the driver
@@ -251,11 +251,11 @@
[void]
--
-##### [start_driver](https://github.com/appium/ruby_lib/blob/44ffbcb4715c8caac2770972c72ca498e751be34/lib/appium_lib/driver.rb#L306)
+##### [start_driver](https://github.com/appium/ruby_lib/blob/b24565df67d4f0468ab5e3c1a700711a4c82b80d/lib/appium_lib/driver.rb#L306)
> def start_driver
Creates a new global driver and quits the old one if it exists.
@@ -263,19 +263,19 @@
[Selenium::WebDriver] the new global driver
--
-##### [no_wait](https://github.com/appium/ruby_lib/blob/44ffbcb4715c8caac2770972c72ca498e751be34/lib/appium_lib/driver.rb#L330)
+##### [no_wait](https://github.com/appium/ruby_lib/blob/b24565df67d4f0468ab5e3c1a700711a4c82b80d/lib/appium_lib/driver.rb#L330)
> def no_wait
Set implicit wait to zero.
--
-##### [set_wait](https://github.com/appium/ruby_lib/blob/44ffbcb4715c8caac2770972c72ca498e751be34/lib/appium_lib/driver.rb#L337)
+##### [set_wait](https://github.com/appium/ruby_lib/blob/b24565df67d4f0468ab5e3c1a700711a4c82b80d/lib/appium_lib/driver.rb#L337)
> def set_wait timeout=@default_wait
Set implicit wait to timeout, defaults to 30.
@@ -287,11 +287,11 @@
[void]
--
-##### [exists](https://github.com/appium/ruby_lib/blob/44ffbcb4715c8caac2770972c72ca498e751be34/lib/appium_lib/driver.rb#L360)
+##### [exists](https://github.com/appium/ruby_lib/blob/b24565df67d4f0468ab5e3c1a700711a4c82b80d/lib/appium_lib/driver.rb#L360)
> def exists pre_check=0, post_check=@default_wait, &search_block
Returns existence of element.
@@ -313,11 +313,11 @@
[Boolean]
--
-##### [execute_script](https://github.com/appium/ruby_lib/blob/44ffbcb4715c8caac2770972c72ca498e751be34/lib/appium_lib/driver.rb#L382)
+##### [execute_script](https://github.com/appium/ruby_lib/blob/b24565df67d4f0468ab5e3c1a700711a4c82b80d/lib/appium_lib/driver.rb#L382)
> def execute_script script, *args
The same as @driver.execute_script
@@ -331,11 +331,11 @@
[Object]
--
-##### [mobile](https://github.com/appium/ruby_lib/blob/44ffbcb4715c8caac2770972c72ca498e751be34/lib/appium_lib/driver.rb#L398)
+##### [mobile](https://github.com/appium/ruby_lib/blob/b24565df67d4f0468ab5e3c1a700711a4c82b80d/lib/appium_lib/driver.rb#L398)
> def mobile method, *args
Helper method for mobile gestures
@@ -357,11 +357,11 @@
[Object]
--
-##### [find_elements](https://github.com/appium/ruby_lib/blob/44ffbcb4715c8caac2770972c72ca498e751be34/lib/appium_lib/driver.rb#L409)
+##### [find_elements](https://github.com/appium/ruby_lib/blob/b24565df67d4f0468ab5e3c1a700711a4c82b80d/lib/appium_lib/driver.rb#L409)
> def find_elements *args
Calls @driver.find_elements
@@ -373,11 +373,11 @@
[Array<Element>] Array is empty when no elements are found.
--
-##### [find_element](https://github.com/appium/ruby_lib/blob/44ffbcb4715c8caac2770972c72ca498e751be34/lib/appium_lib/driver.rb#L417)
+##### [find_element](https://github.com/appium/ruby_lib/blob/b24565df67d4f0468ab5e3c1a700711a4c82b80d/lib/appium_lib/driver.rb#L417)
> def find_element *args
Calls @driver.find_elements
@@ -389,11 +389,11 @@
[Element]
--
-##### [x](https://github.com/appium/ruby_lib/blob/44ffbcb4715c8caac2770972c72ca498e751be34/lib/appium_lib/driver.rb#L424)
+##### [x](https://github.com/appium/ruby_lib/blob/b24565df67d4f0468ab5e3c1a700711a4c82b80d/lib/appium_lib/driver.rb#L424)
> def x
Quit the driver and Pry.
quit and exit are reserved by Pry.
@@ -402,11 +402,11 @@
[void]
--
-##### [wait](https://github.com/appium/ruby_lib/blob/44ffbcb4715c8caac2770972c72ca498e751be34/lib/appium_lib/common/helper.rb#L33)
+##### [wait](https://github.com/appium/ruby_lib/blob/b24565df67d4f0468ab5e3c1a700711a4c82b80d/lib/appium_lib/common/helper.rb#L33)
> 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.
@@ -429,11 +429,11 @@
[Object] the result of block.call
--
-##### [wait_true](https://github.com/appium/ruby_lib/blob/44ffbcb4715c8caac2770972c72ca498e751be34/lib/appium_lib/common/helper.rb#L50)
+##### [wait_true](https://github.com/appium/ruby_lib/blob/b24565df67d4f0468ab5e3c1a700711a4c82b80d/lib/appium_lib/common/helper.rb#L50)
> 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.
@@ -450,11 +450,11 @@
[Object] the result of block.call
--
-##### [id](https://github.com/appium/ruby_lib/blob/44ffbcb4715c8caac2770972c72ca498e751be34/lib/appium_lib/common/helper.rb#L64)
+##### [id](https://github.com/appium/ruby_lib/blob/b24565df67d4f0468ab5e3c1a700711a4c82b80d/lib/appium_lib/common/helper.rb#L64)
> def id id
Find by id. Useful for selendroid
@@ -466,11 +466,11 @@
[Element]
--
-##### [back](https://github.com/appium/ruby_lib/blob/44ffbcb4715c8caac2770972c72ca498e751be34/lib/appium_lib/common/helper.rb#L70)
+##### [back](https://github.com/appium/ruby_lib/blob/b24565df67d4f0468ab5e3c1a700711a4c82b80d/lib/appium_lib/common/helper.rb#L70)
> def back
Navigate back.
@@ -478,19 +478,19 @@
[void]
--
-##### [session_id](https://github.com/appium/ruby_lib/blob/44ffbcb4715c8caac2770972c72ca498e751be34/lib/appium_lib/common/helper.rb#L75)
+##### [session_id](https://github.com/appium/ruby_lib/blob/b24565df67d4f0468ab5e3c1a700711a4c82b80d/lib/appium_lib/common/helper.rb#L75)
> def session_id
For Sauce Labs reporting. Returns the current session id.
--
-##### [xpath](https://github.com/appium/ruby_lib/blob/44ffbcb4715c8caac2770972c72ca498e751be34/lib/appium_lib/common/helper.rb#L83)
+##### [xpath](https://github.com/appium/ruby_lib/blob/b24565df67d4f0468ab5e3c1a700711a4c82b80d/lib/appium_lib/common/helper.rb#L83)
> def xpath xpath_str
Returns the first element that matches the provided xpath.
@@ -502,11 +502,11 @@
[Element]
--
-##### [xpaths](https://github.com/appium/ruby_lib/blob/44ffbcb4715c8caac2770972c72ca498e751be34/lib/appium_lib/common/helper.rb#L91)
+##### [xpaths](https://github.com/appium/ruby_lib/blob/b24565df67d4f0468ab5e3c1a700711a4c82b80d/lib/appium_lib/common/helper.rb#L91)
> def xpaths xpath_str
Returns all elements that match the provided xpath.
@@ -518,11 +518,11 @@
[Array<Element>]
--
-##### [ele_index](https://github.com/appium/ruby_lib/blob/44ffbcb4715c8caac2770972c72ca498e751be34/lib/appium_lib/common/helper.rb#L99)
+##### [ele_index](https://github.com/appium/ruby_lib/blob/b24565df67d4f0468ab5e3c1a700711a4c82b80d/lib/appium_lib/common/helper.rb#L99)
> def ele_index tag_name, index
Get the element of type tag_name at matching index.
@@ -536,11 +536,11 @@
[Element] the found element of type tag_name
--
-##### [find_eles](https://github.com/appium/ruby_lib/blob/44ffbcb4715c8caac2770972c72ca498e751be34/lib/appium_lib/common/helper.rb#L107)
+##### [find_eles](https://github.com/appium/ruby_lib/blob/b24565df67d4f0468ab5e3c1a700711a4c82b80d/lib/appium_lib/common/helper.rb#L107)
> def find_eles tag_name
Get all elements exactly matching tag name
@@ -552,11 +552,11 @@
[Array<Element>] the found elements of type tag_name
--
-##### [find_ele_by_text](https://github.com/appium/ruby_lib/blob/44ffbcb4715c8caac2770972c72ca498e751be34/lib/appium_lib/common/helper.rb#L115)
+##### [find_ele_by_text](https://github.com/appium/ruby_lib/blob/b24565df67d4f0468ab5e3c1a700711a4c82b80d/lib/appium_lib/common/helper.rb#L115)
> def find_ele_by_text tag, text
Get the first tag that exactly matches tag and text.
@@ -570,11 +570,11 @@
[Element] the element of type tag exactly matching text
--
-##### [find_eles_by_text](https://github.com/appium/ruby_lib/blob/44ffbcb4715c8caac2770972c72ca498e751be34/lib/appium_lib/common/helper.rb#L123)
+##### [find_eles_by_text](https://github.com/appium/ruby_lib/blob/b24565df67d4f0468ab5e3c1a700711a4c82b80d/lib/appium_lib/common/helper.rb#L123)
> def find_eles_by_text tag, text
Get all tags that exactly match tag and text.
@@ -588,11 +588,11 @@
[Array<Element>] the elements of type tag exactly matching text
--
-##### [find_ele_by_attr_include](https://github.com/appium/ruby_lib/blob/44ffbcb4715c8caac2770972c72ca498e751be34/lib/appium_lib/common/helper.rb#L132)
+##### [find_ele_by_attr_include](https://github.com/appium/ruby_lib/blob/b24565df67d4f0468ab5e3c1a700711a4c82b80d/lib/appium_lib/common/helper.rb#L132)
> def find_ele_by_attr_include tag, attr, value
Get the first tag by attribute that exactly matches value.
@@ -608,11 +608,11 @@
[Element] the element of type tag who's attribute includes value
--
-##### [find_eles_by_attr_include](https://github.com/appium/ruby_lib/blob/44ffbcb4715c8caac2770972c72ca498e751be34/lib/appium_lib/common/helper.rb#L141)
+##### [find_eles_by_attr_include](https://github.com/appium/ruby_lib/blob/b24565df67d4f0468ab5e3c1a700711a4c82b80d/lib/appium_lib/common/helper.rb#L141)
> def find_eles_by_attr_include tag, attr, value
Get tags by attribute that include value.
@@ -628,11 +628,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/44ffbcb4715c8caac2770972c72ca498e751be34/lib/appium_lib/common/helper.rb#L150)
+##### [find_ele_by_text_include](https://github.com/appium/ruby_lib/blob/b24565df67d4f0468ab5e3c1a700711a4c82b80d/lib/appium_lib/common/helper.rb#L150)
> def find_ele_by_text_include tag, text
Get the first tag that includes text.
element.attribute(:text).include? text
@@ -647,11 +647,11 @@
[Element] the element of type tag that includes text
--
-##### [find_eles_by_text_include](https://github.com/appium/ruby_lib/blob/44ffbcb4715c8caac2770972c72ca498e751be34/lib/appium_lib/common/helper.rb#L159)
+##### [find_eles_by_text_include](https://github.com/appium/ruby_lib/blob/b24565df67d4f0468ab5e3c1a700711a4c82b80d/lib/appium_lib/common/helper.rb#L159)
> def find_eles_by_text_include tag, text
Get the tags that include text.
element.attribute(:text).include? text
@@ -666,11 +666,11 @@
[Array<Element>] the elements of type tag that includes text
--
-##### [first_ele](https://github.com/appium/ruby_lib/blob/44ffbcb4715c8caac2770972c72ca498e751be34/lib/appium_lib/common/helper.rb#L166)
+##### [first_ele](https://github.com/appium/ruby_lib/blob/b24565df67d4f0468ab5e3c1a700711a4c82b80d/lib/appium_lib/common/helper.rb#L166)
> def first_ele tag_name
Get the first tag that matches tag_name
@@ -682,11 +682,11 @@
[Element]
--
-##### [last_ele](https://github.com/appium/ruby_lib/blob/44ffbcb4715c8caac2770972c72ca498e751be34/lib/appium_lib/common/helper.rb#L174)
+##### [last_ele](https://github.com/appium/ruby_lib/blob/b24565df67d4f0468ab5e3c1a700711a4c82b80d/lib/appium_lib/common/helper.rb#L174)
> def last_ele tag_name
Get the last tag that matches tag_name
@@ -698,11 +698,11 @@
[Element]
--
-##### [source](https://github.com/appium/ruby_lib/blob/44ffbcb4715c8caac2770972c72ca498e751be34/lib/appium_lib/common/helper.rb#L180)
+##### [source](https://github.com/appium/ruby_lib/blob/b24565df67d4f0468ab5e3c1a700711a4c82b80d/lib/appium_lib/common/helper.rb#L180)
> def source
Prints a JSON view of the current page
@@ -710,11 +710,11 @@
[void]
--
-##### [get_source](https://github.com/appium/ruby_lib/blob/44ffbcb4715c8caac2770972c72ca498e751be34/lib/appium_lib/common/helper.rb#L186)
+##### [get_source](https://github.com/appium/ruby_lib/blob/b24565df67d4f0468ab5e3c1a700711a4c82b80d/lib/appium_lib/common/helper.rb#L186)
> def get_source
Gets a JSON view of the current page
@@ -722,11 +722,11 @@
[JSON]
--
-##### [find_name](https://github.com/appium/ruby_lib/blob/44ffbcb4715c8caac2770972c72ca498e751be34/lib/appium_lib/common/helper.rb#L195)
+##### [find_name](https://github.com/appium/ruby_lib/blob/b24565df67d4f0468ab5e3c1a700711a4c82b80d/lib/appium_lib/common/helper.rb#L195)
> def find_name name
Returns the first element that exactly matches name
@@ -738,11 +738,11 @@
[Element]
--
-##### [find_names](https://github.com/appium/ruby_lib/blob/44ffbcb4715c8caac2770972c72ca498e751be34/lib/appium_lib/common/helper.rb#L203)
+##### [find_names](https://github.com/appium/ruby_lib/blob/b24565df67d4f0468ab5e3c1a700711a4c82b80d/lib/appium_lib/common/helper.rb#L203)
> def find_names name
Returns all elements that exactly match name
@@ -754,11 +754,11 @@
[Array<Element>]
--
-##### [s_texts](https://github.com/appium/ruby_lib/blob/44ffbcb4715c8caac2770972c72ca498e751be34/lib/appium_lib/common/element/text.rb#L8)
+##### [s_texts](https://github.com/appium/ruby_lib/blob/b24565df67d4f0468ab5e3c1a700711a4c82b80d/lib/appium_lib/common/element/text.rb#L8)
> def s_texts
Get an array of text texts.
@@ -766,11 +766,11 @@
[Array<String>]
--
-##### [e_s_texts](https://github.com/appium/ruby_lib/blob/44ffbcb4715c8caac2770972c72ca498e751be34/lib/appium_lib/common/element/text.rb#L14)
+##### [e_s_texts](https://github.com/appium/ruby_lib/blob/b24565df67d4f0468ab5e3c1a700711a4c82b80d/lib/appium_lib/common/element/text.rb#L14)
> def e_s_texts
Get an array of text elements.
@@ -778,11 +778,11 @@
[Array<Text>]
--
-##### [first_s_text](https://github.com/appium/ruby_lib/blob/44ffbcb4715c8caac2770972c72ca498e751be34/lib/appium_lib/common/element/text.rb#L20)
+##### [first_s_text](https://github.com/appium/ruby_lib/blob/b24565df67d4f0468ab5e3c1a700711a4c82b80d/lib/appium_lib/common/element/text.rb#L20)
> def first_s_text
Get the first text element.
@@ -790,11 +790,11 @@
[Text]
--
-##### [last_s_text](https://github.com/appium/ruby_lib/blob/44ffbcb4715c8caac2770972c72ca498e751be34/lib/appium_lib/common/element/text.rb#L26)
+##### [last_s_text](https://github.com/appium/ruby_lib/blob/b24565df67d4f0468ab5e3c1a700711a4c82b80d/lib/appium_lib/common/element/text.rb#L26)
> def last_s_text
Get the last text element
@@ -802,11 +802,11 @@
[Text]
--
-##### [s_text](https://github.com/appium/ruby_lib/blob/44ffbcb4715c8caac2770972c72ca498e751be34/lib/appium_lib/common/element/text.rb#L33)
+##### [s_text](https://github.com/appium/ruby_lib/blob/b24565df67d4f0468ab5e3c1a700711a4c82b80d/lib/appium_lib/common/element/text.rb#L33)
> def s_text text
Get the first element that includes text.
@@ -818,11 +818,11 @@
[Text]
--
-##### [s_text_exact](https://github.com/appium/ruby_lib/blob/44ffbcb4715c8caac2770972c72ca498e751be34/lib/appium_lib/common/element/text.rb#L41)
+##### [s_text_exact](https://github.com/appium/ruby_lib/blob/b24565df67d4f0468ab5e3c1a700711a4c82b80d/lib/appium_lib/common/element/text.rb#L41)
> def s_text_exact text
Get the first textfield that matches text.
@@ -834,19 +834,19 @@
[Text]
--
-##### [window_size](https://github.com/appium/ruby_lib/blob/44ffbcb4715c8caac2770972c72ca498e751be34/lib/appium_lib/common/element/window.rb#L5)
+##### [window_size](https://github.com/appium/ruby_lib/blob/b24565df67d4f0468ab5e3c1a700711a4c82b80d/lib/appium_lib/common/element/window.rb#L5)
> def window_size
Get the window's size
--
-##### [button](https://github.com/appium/ruby_lib/blob/44ffbcb4715c8caac2770972c72ca498e751be34/lib/appium_lib/common/element/button.rb#L8)
+##### [button](https://github.com/appium/ruby_lib/blob/b24565df67d4f0468ab5e3c1a700711a4c82b80d/lib/appium_lib/common/element/button.rb#L8)
> def button text, number=0
Find a button by text and optionally number.
@@ -860,11 +860,11 @@
[Button] the button found with text and matching number
--
-##### [buttons](https://github.com/appium/ruby_lib/blob/44ffbcb4715c8caac2770972c72ca498e751be34/lib/appium_lib/common/element/button.rb#L19)
+##### [buttons](https://github.com/appium/ruby_lib/blob/b24565df67d4f0468ab5e3c1a700711a4c82b80d/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.
@@ -876,11 +876,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/44ffbcb4715c8caac2770972c72ca498e751be34/lib/appium_lib/common/element/button.rb#L26)
+##### [first_button](https://github.com/appium/ruby_lib/blob/b24565df67d4f0468ab5e3c1a700711a4c82b80d/lib/appium_lib/common/element/button.rb#L26)
> def first_button
Get the first button element.
@@ -888,11 +888,11 @@
[Button]
--
-##### [last_button](https://github.com/appium/ruby_lib/blob/44ffbcb4715c8caac2770972c72ca498e751be34/lib/appium_lib/common/element/button.rb#L32)
+##### [last_button](https://github.com/appium/ruby_lib/blob/b24565df67d4f0468ab5e3c1a700711a4c82b80d/lib/appium_lib/common/element/button.rb#L32)
> def last_button
Get the last button element.
@@ -900,11 +900,11 @@
[Button]
--
-##### [button_exact](https://github.com/appium/ruby_lib/blob/44ffbcb4715c8caac2770972c72ca498e751be34/lib/appium_lib/common/element/button.rb#L39)
+##### [button_exact](https://github.com/appium/ruby_lib/blob/b24565df67d4f0468ab5e3c1a700711a4c82b80d/lib/appium_lib/common/element/button.rb#L39)
> def button_exact text
Get the first button element that exactly matches text.
@@ -916,11 +916,11 @@
[Button]
--
-##### [buttons_exact](https://github.com/appium/ruby_lib/blob/44ffbcb4715c8caac2770972c72ca498e751be34/lib/appium_lib/common/element/button.rb#L46)
+##### [buttons_exact](https://github.com/appium/ruby_lib/blob/b24565df67d4f0468ab5e3c1a700711a4c82b80d/lib/appium_lib/common/element/button.rb#L46)
> def buttons_exact text
Get all button elements that exactly match text.
@@ -932,11 +932,11 @@
[Array<Button>]
--
-##### [e_buttons](https://github.com/appium/ruby_lib/blob/44ffbcb4715c8caac2770972c72ca498e751be34/lib/appium_lib/common/element/button.rb#L52)
+##### [e_buttons](https://github.com/appium/ruby_lib/blob/b24565df67d4f0468ab5e3c1a700711a4c82b80d/lib/appium_lib/common/element/button.rb#L52)
> def e_buttons
Get an array of button elements.
@@ -944,11 +944,11 @@
[Array<Button>]
--
-##### [button_num](https://github.com/appium/ruby_lib/blob/44ffbcb4715c8caac2770972c72ca498e751be34/lib/appium_lib/common/element/button.rb#L72)
+##### [button_num](https://github.com/appium/ruby_lib/blob/b24565df67d4f0468ab5e3c1a700711a4c82b80d/lib/appium_lib/common/element/button.rb#L72)
> def button_num text, number=1
Expected to be called via button method.
@@ -973,11 +973,11 @@
[Button] the button that matches text and number
--
-##### [find_eles_attr](https://github.com/appium/ruby_lib/blob/44ffbcb4715c8caac2770972c72ca498e751be34/lib/appium_lib/ios/helper.rb#L8) ios
+##### [find_eles_attr](https://github.com/appium/ruby_lib/blob/b24565df67d4f0468ab5e3c1a700711a4c82b80d/lib/appium_lib/ios/helper.rb#L8) ios
> def find_eles_attr tag_name, attribute
iOS only. Android uses uiautomator instead of uiautomation.
Get an array of attribute values from elements exactly matching tag name.
@@ -992,11 +992,11 @@
[Array<String>] an array of strings containing the attribute from found elements of type tag_name.
--
-##### [find_2_eles_attr](https://github.com/appium/ruby_lib/blob/44ffbcb4715c8caac2770972c72ca498e751be34/lib/appium_lib/ios/helper.rb#L29) ios
+##### [find_2_eles_attr](https://github.com/appium/ruby_lib/blob/b24565df67d4f0468ab5e3c1a700711a4c82b80d/lib/appium_lib/ios/helper.rb#L29) ios
> def find_2_eles_attr tag_name_1, tag_name_2, attribute
iOS only. Android doesn't use find_2_eles_attr.
Get an array of attribute values from elements exactly matching tag name.
@@ -1013,11 +1013,11 @@
[Array<String>] an array of strings containing the attribute from found elements of type tag_name.
--
-##### [password](https://github.com/appium/ruby_lib/blob/44ffbcb4715c8caac2770972c72ca498e751be34/lib/appium_lib/ios/helper.rb#L50) ios
+##### [password](https://github.com/appium/ruby_lib/blob/b24565df67d4f0468ab5e3c1a700711a4c82b80d/lib/appium_lib/ios/helper.rb#L50) ios
> def password length=1
iOS only. On Android uiautomator always returns an empty string for EditText password.
@@ -1031,11 +1031,11 @@
[String] the returned string is of size length
--
-##### [get_page](https://github.com/appium/ruby_lib/blob/44ffbcb4715c8caac2770972c72ca498e751be34/lib/appium_lib/ios/helper.rb#L58) ios
+##### [get_page](https://github.com/appium/ruby_lib/blob/b24565df67d4f0468ab5e3c1a700711a4c82b80d/lib/appium_lib/ios/helper.rb#L58) ios
> def get_page element=get_source
Returns a string of interesting elements. iOS only.
@@ -1047,11 +1047,11 @@
[String]
--
-##### [page](https://github.com/appium/ruby_lib/blob/44ffbcb4715c8caac2770972c72ca498e751be34/lib/appium_lib/ios/helper.rb#L103) ios
+##### [page](https://github.com/appium/ruby_lib/blob/b24565df67d4f0468ab5e3c1a700711a4c82b80d/lib/appium_lib/ios/helper.rb#L103) ios
> def page
Prints a string of interesting elements to the console.
@@ -1059,11 +1059,11 @@
[void]
--
-##### [source_window](https://github.com/appium/ruby_lib/blob/44ffbcb4715c8caac2770972c72ca498e751be34/lib/appium_lib/ios/helper.rb#L111) ios
+##### [source_window](https://github.com/appium/ruby_lib/blob/b24565df67d4f0468ab5e3c1a700711a4c82b80d/lib/appium_lib/ios/helper.rb#L111) ios
> def source_window window_number=0
Gets the JSON source of window number
@@ -1075,11 +1075,11 @@
[JSON]
--
-##### [page_window](https://github.com/appium/ruby_lib/blob/44ffbcb4715c8caac2770972c72ca498e751be34/lib/appium_lib/ios/helper.rb#L118) ios
+##### [page_window](https://github.com/appium/ruby_lib/blob/b24565df67d4f0468ab5e3c1a700711a4c82b80d/lib/appium_lib/ios/helper.rb#L118) ios
> def page_window window_number=0
Prints parsed page source to console.
example: page_window 0
@@ -1088,11 +1088,11 @@
[Integer] window_number - the int index of the target window
--
-##### [fast_duration](https://github.com/appium/ruby_lib/blob/44ffbcb4715c8caac2770972c72ca498e751be34/lib/appium_lib/ios/helper.rb#L125) ios
+##### [fast_duration](https://github.com/appium/ruby_lib/blob/b24565df67d4f0468ab5e3c1a700711a4c82b80d/lib/appium_lib/ios/helper.rb#L125) ios
> def fast_duration
The fastest duration that can be used on iOS.
@@ -1100,11 +1100,11 @@
[Float]
--
-##### [alert_click](https://github.com/appium/ruby_lib/blob/44ffbcb4715c8caac2770972c72ca498e751be34/lib/appium_lib/ios/element/alert.rb#L14) ios
+##### [alert_click](https://github.com/appium/ruby_lib/blob/b24565df67d4f0468ab5e3c1a700711a4c82b80d/lib/appium_lib/ios/element/alert.rb#L14) ios
> def alert_click value
iOS only
Tap the alert button identified by value.
@@ -1123,11 +1123,11 @@
[void]
--
-##### [alert_text](https://github.com/appium/ruby_lib/blob/44ffbcb4715c8caac2770972c72ca498e751be34/lib/appium_lib/ios/element/alert.rb#L21) ios
+##### [alert_text](https://github.com/appium/ruby_lib/blob/b24565df67d4f0468ab5e3c1a700711a4c82b80d/lib/appium_lib/ios/element/alert.rb#L21) ios
> def alert_text
Get the alert message text.
@@ -1135,11 +1135,11 @@
[String]
--
-##### [alert_accept](https://github.com/appium/ruby_lib/blob/44ffbcb4715c8caac2770972c72ca498e751be34/lib/appium_lib/ios/element/alert.rb#L27) ios
+##### [alert_accept](https://github.com/appium/ruby_lib/blob/b24565df67d4f0468ab5e3c1a700711a4c82b80d/lib/appium_lib/ios/element/alert.rb#L27) ios
> def alert_accept
Accept the alert.
@@ -1147,11 +1147,11 @@
[void]
--
-##### [alert_accept_text](https://github.com/appium/ruby_lib/blob/44ffbcb4715c8caac2770972c72ca498e751be34/lib/appium_lib/ios/element/alert.rb#L34) ios
+##### [alert_accept_text](https://github.com/appium/ruby_lib/blob/b24565df67d4f0468ab5e3c1a700711a4c82b80d/lib/appium_lib/ios/element/alert.rb#L34) ios
> def alert_accept_text
Get the text of the alert's accept button.
The last button is considered "accept."
@@ -1160,11 +1160,11 @@
[String]
--
-##### [alert_dismiss](https://github.com/appium/ruby_lib/blob/44ffbcb4715c8caac2770972c72ca498e751be34/lib/appium_lib/ios/element/alert.rb#L43) ios
+##### [alert_dismiss](https://github.com/appium/ruby_lib/blob/b24565df67d4f0468ab5e3c1a700711a4c82b80d/lib/appium_lib/ios/element/alert.rb#L43) ios
> def alert_dismiss
Dismiss the alert.
@@ -1172,11 +1172,11 @@
[void]
--
-##### [alert_dismiss_text](https://github.com/appium/ruby_lib/blob/44ffbcb4715c8caac2770972c72ca498e751be34/lib/appium_lib/ios/element/alert.rb#L50) ios
+##### [alert_dismiss_text](https://github.com/appium/ruby_lib/blob/b24565df67d4f0468ab5e3c1a700711a4c82b80d/lib/appium_lib/ios/element/alert.rb#L50) ios
> def alert_dismiss_text
Get the text of the alert's dismiss button.
The first button is considered "dismiss."
@@ -1185,11 +1185,11 @@
[String]
--
-##### [find](https://github.com/appium/ruby_lib/blob/44ffbcb4715c8caac2770972c72ca498e751be34/lib/appium_lib/ios/element/generic.rb#L61) ios
+##### [find](https://github.com/appium/ruby_lib/blob/b24565df67d4f0468ab5e3c1a700711a4c82b80d/lib/appium_lib/ios/element/generic.rb#L61) ios
> def find text
Return the first element matching text.
@@ -1201,11 +1201,11 @@
[Element] the first matching element
--
-##### [finds](https://github.com/appium/ruby_lib/blob/44ffbcb4715c8caac2770972c72ca498e751be34/lib/appium_lib/ios/element/generic.rb#L69) ios
+##### [finds](https://github.com/appium/ruby_lib/blob/b24565df67d4f0468ab5e3c1a700711a4c82b80d/lib/appium_lib/ios/element/generic.rb#L69) ios
> def finds text
Return all elements matching text.
@@ -1217,11 +1217,11 @@
[Array<Element>] all matching elements
--
-##### [text](https://github.com/appium/ruby_lib/blob/44ffbcb4715c8caac2770972c72ca498e751be34/lib/appium_lib/ios/element/generic.rb#L79) ios
+##### [text](https://github.com/appium/ruby_lib/blob/b24565df67d4f0468ab5e3c1a700711a4c82b80d/lib/appium_lib/ios/element/generic.rb#L79) ios
> def text text
Return the first element matching text.
@@ -1233,11 +1233,11 @@
[Element] the first matching element
--
-##### [texts](https://github.com/appium/ruby_lib/blob/44ffbcb4715c8caac2770972c72ca498e751be34/lib/appium_lib/ios/element/generic.rb#L87) ios
+##### [texts](https://github.com/appium/ruby_lib/blob/b24565df67d4f0468ab5e3c1a700711a4c82b80d/lib/appium_lib/ios/element/generic.rb#L87) ios
> def texts text
Return all elements matching text.
@@ -1249,11 +1249,11 @@
[Array<Element>] all matching elements
--
-##### [name](https://github.com/appium/ruby_lib/blob/44ffbcb4715c8caac2770972c72ca498e751be34/lib/appium_lib/ios/element/generic.rb#L99) ios
+##### [name](https://github.com/appium/ruby_lib/blob/b24565df67d4f0468ab5e3c1a700711a4c82b80d/lib/appium_lib/ios/element/generic.rb#L99) ios
> def name name
Return the first element matching name.
on Android name is content description
@@ -1267,11 +1267,11 @@
[Element] the first matching element
--
-##### [names](https://github.com/appium/ruby_lib/blob/44ffbcb4715c8caac2770972c72ca498e751be34/lib/appium_lib/ios/element/generic.rb#L108) ios
+##### [names](https://github.com/appium/ruby_lib/blob/b24565df67d4f0468ab5e3c1a700711a4c82b80d/lib/appium_lib/ios/element/generic.rb#L108) ios
> def names name
Return all elements matching name.
on Android name is content description
@@ -1285,11 +1285,11 @@
[Array<Element>] all matching elements
--
-##### [textfields](https://github.com/appium/ruby_lib/blob/44ffbcb4715c8caac2770972c72ca498e751be34/lib/appium_lib/ios/element/textfield.rb#L10) ios
+##### [textfields](https://github.com/appium/ruby_lib/blob/b24565df67d4f0468ab5e3c1a700711a4c82b80d/lib/appium_lib/ios/element/textfield.rb#L10) ios
> def textfields
Get an array of textfield texts.
@@ -1297,11 +1297,11 @@
[Array<String>]
--
-##### [e_textfields](https://github.com/appium/ruby_lib/blob/44ffbcb4715c8caac2770972c72ca498e751be34/lib/appium_lib/ios/element/textfield.rb#L16) ios
+##### [e_textfields](https://github.com/appium/ruby_lib/blob/b24565df67d4f0468ab5e3c1a700711a4c82b80d/lib/appium_lib/ios/element/textfield.rb#L16) ios
> def e_textfields
Get an array of textfield elements.
@@ -1309,11 +1309,11 @@
[Array<Textfield>]
--
-##### [first_textfield](https://github.com/appium/ruby_lib/blob/44ffbcb4715c8caac2770972c72ca498e751be34/lib/appium_lib/ios/element/textfield.rb#L22) ios
+##### [first_textfield](https://github.com/appium/ruby_lib/blob/b24565df67d4f0468ab5e3c1a700711a4c82b80d/lib/appium_lib/ios/element/textfield.rb#L22) ios
> def first_textfield
Get the first textfield element.
@@ -1321,11 +1321,11 @@
[Textfield]
--
-##### [last_textfield](https://github.com/appium/ruby_lib/blob/44ffbcb4715c8caac2770972c72ca498e751be34/lib/appium_lib/ios/element/textfield.rb#L29) ios
+##### [last_textfield](https://github.com/appium/ruby_lib/blob/b24565df67d4f0468ab5e3c1a700711a4c82b80d/lib/appium_lib/ios/element/textfield.rb#L29) ios
> def last_textfield
Get the last textfield element.
@@ -1333,11 +1333,11 @@
[Textfield]
--
-##### [textfield](https://github.com/appium/ruby_lib/blob/44ffbcb4715c8caac2770972c72ca498e751be34/lib/appium_lib/ios/element/textfield.rb#L37) ios
+##### [textfield](https://github.com/appium/ruby_lib/blob/b24565df67d4f0468ab5e3c1a700711a4c82b80d/lib/appium_lib/ios/element/textfield.rb#L37) ios
> def textfield text
Get the first textfield that matches text.
@@ -1349,11 +1349,11 @@
[Textfield]
--
-##### [textfield_include](https://github.com/appium/ruby_lib/blob/44ffbcb4715c8caac2770972c72ca498e751be34/lib/appium_lib/ios/element/textfield.rb#L51) ios
+##### [textfield_include](https://github.com/appium/ruby_lib/blob/b24565df67d4f0468ab5e3c1a700711a4c82b80d/lib/appium_lib/ios/element/textfield.rb#L51) ios
> def textfield_include text
Get the first textfield that includes text.
@@ -1365,11 +1365,11 @@
[Textfield]
--
-##### [textfield_exact](https://github.com/appium/ruby_lib/blob/44ffbcb4715c8caac2770972c72ca498e751be34/lib/appium_lib/ios/element/textfield.rb#L64) ios
+##### [textfield_exact](https://github.com/appium/ruby_lib/blob/b24565df67d4f0468ab5e3c1a700711a4c82b80d/lib/appium_lib/ios/element/textfield.rb#L64) ios
> def textfield_exact text
Get the first textfield that exactly matches text.
@@ -1381,40 +1381,40 @@
[Textfield]
--
-##### [value](https://github.com/appium/ruby_lib/blob/44ffbcb4715c8caac2770972c72ca498e751be34/lib/appium_lib/common/patch.rb#L32)
+##### [value](https://github.com/appium/ruby_lib/blob/b24565df67d4f0468ab5e3c1a700711a4c82b80d/lib/appium_lib/common/patch.rb#L32)
> def value
Returns the value attribute
Fixes NoMethodError: undefined method `value' for Selenium::WebDriver::Element
--
-##### [name](https://github.com/appium/ruby_lib/blob/44ffbcb4715c8caac2770972c72ca498e751be34/lib/appium_lib/common/patch.rb#L39)
+##### [name](https://github.com/appium/ruby_lib/blob/b24565df67d4f0468ab5e3c1a700711a4c82b80d/lib/appium_lib/common/patch.rb#L39)
> def name
Returns the name attribute
Fixes NoMethodError: undefined method `name' for Selenium::WebDriver::Element
--
-##### [tag_name](https://github.com/appium/ruby_lib/blob/44ffbcb4715c8caac2770972c72ca498e751be34/lib/appium_lib/common/patch.rb#L46)
+##### [tag_name](https://github.com/appium/ruby_lib/blob/b24565df67d4f0468ab5e3c1a700711a4c82b80d/lib/appium_lib/common/patch.rb#L46)
> def tag_name
Returns the type attribute
Fixes Selenium::WebDriver::Error::UnknownError: Not yet implemented
--
-##### [location_rel](https://github.com/appium/ruby_lib/blob/44ffbcb4715c8caac2770972c72ca498e751be34/lib/appium_lib/common/patch.rb#L58)
+##### [location_rel](https://github.com/appium/ruby_lib/blob/b24565df67d4f0468ab5e3c1a700711a4c82b80d/lib/appium_lib/common/patch.rb#L58)
> def location_rel
For use with mobile tap.