docs/ios_docs.md in appium_lib-9.7.2 vs docs/ios_docs.md in appium_lib-9.7.3
- old
+ new
@@ -1,6 +1,6 @@
-##### [load_settings](https://github.com/appium/ruby_lib/blob/b9b8784697d9fbe73d3883cf42d260f19138d8f5/lib/appium_lib/appium.rb#L45)
+##### [load_settings](https://github.com/appium/ruby_lib/blob/07ebd5767f3e9fafdfb597ec186b0e7f5384a839/lib/appium_lib/appium.rb#L45)
> def load_settings(opts = {})
Load arbitrary text ([toml format](https://github.com/toml-lang/toml))
The toml is parsed by https://github.com/fbernier/tomlrb .
@@ -25,11 +25,11 @@
[hash] the symbolized hash with updated :app and :require keys
--
-##### [load_appium_txt](https://github.com/appium/ruby_lib/blob/b9b8784697d9fbe73d3883cf42d260f19138d8f5/lib/appium_lib/appium.rb#L79)
+##### [load_appium_txt](https://github.com/appium/ruby_lib/blob/07ebd5767f3e9fafdfb597ec186b0e7f5384a839/lib/appium_lib/appium.rb#L79)
> def load_settings(opts = {})
Load arbitrary text ([toml format](https://github.com/toml-lang/toml))
The toml is parsed by https://github.com/fbernier/tomlrb .
@@ -54,11 +54,11 @@
[hash] the symbolized hash with updated :app and :require keys
--
-##### [expand_required_files](https://github.com/appium/ruby_lib/blob/b9b8784697d9fbe73d3883cf42d260f19138d8f5/lib/appium_lib/appium.rb#L84)
+##### [expand_required_files](https://github.com/appium/ruby_lib/blob/07ebd5767f3e9fafdfb597ec186b0e7f5384a839/lib/appium_lib/appium.rb#L84)
> def expand_required_files(base_dir, file_paths)
@@ -72,11 +72,11 @@
[Array] list of require files as an array, nil if require doesn't exist
--
-##### [promote_singleton_appium_methods](https://github.com/appium/ruby_lib/blob/b9b8784697d9fbe73d3883cf42d260f19138d8f5/lib/appium_lib/appium.rb#L126)
+##### [promote_singleton_appium_methods](https://github.com/appium/ruby_lib/blob/07ebd5767f3e9fafdfb597ec186b0e7f5384a839/lib/appium_lib/appium.rb#L126)
> def promote_singleton_appium_methods(modules, driver = $driver)
This method is intended to work with page objects that share
a common module. For example, Page::HomePage, Page::SignIn
@@ -96,11 +96,11 @@
[Driver] driver - A driver to extend for
--
-##### [promote_appium_methods](https://github.com/appium/ruby_lib/blob/b9b8784697d9fbe73d3883cf42d260f19138d8f5/lib/appium_lib/appium.rb#L181)
+##### [promote_appium_methods](https://github.com/appium/ruby_lib/blob/07ebd5767f3e9fafdfb597ec186b0e7f5384a839/lib/appium_lib/appium.rb#L181)
> def promote_appium_methods(class_array, driver = $driver)
Promote appium methods to class instance methods
@@ -114,166 +114,174 @@
[Driver] driver - A driver to extend for
--
-##### [global_webdriver_http_sleep](https://github.com/appium/ruby_lib/blob/b9b8784697d9fbe73d3883cf42d260f19138d8f5/lib/appium_lib/driver.rb#L24)
+##### [global_webdriver_http_sleep](https://github.com/appium/ruby_lib/blob/07ebd5767f3e9fafdfb597ec186b0e7f5384a839/lib/appium_lib/driver.rb#L24)
> def global_webdriver_http_sleep
The amount to sleep in seconds before every webdriver http call.
--
-##### [global_webdriver_http_sleep=](https://github.com/appium/ruby_lib/blob/b9b8784697d9fbe73d3883cf42d260f19138d8f5/lib/appium_lib/driver.rb#L24)
+##### [global_webdriver_http_sleep=](https://github.com/appium/ruby_lib/blob/07ebd5767f3e9fafdfb597ec186b0e7f5384a839/lib/appium_lib/driver.rb#L24)
> def global_webdriver_http_sleep=(value)
The amount to sleep in seconds before every webdriver http call.
--
-##### [sauce](https://github.com/appium/ruby_lib/blob/b9b8784697d9fbe73d3883cf42d260f19138d8f5/lib/appium_lib/driver.rb#L27)
+##### [sauce](https://github.com/appium/ruby_lib/blob/07ebd5767f3e9fafdfb597ec186b0e7f5384a839/lib/appium_lib/driver.rb#L27)
> def sauce
SauceLab's settings
--
-##### [sauce_username](https://github.com/appium/ruby_lib/blob/b9b8784697d9fbe73d3883cf42d260f19138d8f5/lib/appium_lib/driver.rb#L30)
+##### [sauce_username](https://github.com/appium/ruby_lib/blob/07ebd5767f3e9fafdfb597ec186b0e7f5384a839/lib/appium_lib/driver.rb#L30)
> def sauce_username
Username for use on Sauce Labs. Set `false` to disable Sauce, even when SAUCE_USERNAME is in ENV.
same as @sauce.username
--
-##### [sauce_access_key](https://github.com/appium/ruby_lib/blob/b9b8784697d9fbe73d3883cf42d260f19138d8f5/lib/appium_lib/driver.rb#L33)
+##### [sauce_access_key](https://github.com/appium/ruby_lib/blob/07ebd5767f3e9fafdfb597ec186b0e7f5384a839/lib/appium_lib/driver.rb#L33)
> def sauce_access_key
Access Key for use on Sauce Labs. Set `false` to disable Sauce, even when SAUCE_ACCESS_KEY is in ENV.
same as @sauce.access_key
--
-##### [sauce_endpoint](https://github.com/appium/ruby_lib/blob/b9b8784697d9fbe73d3883cf42d260f19138d8f5/lib/appium_lib/driver.rb#L36)
+##### [sauce_endpoint](https://github.com/appium/ruby_lib/blob/07ebd5767f3e9fafdfb597ec186b0e7f5384a839/lib/appium_lib/driver.rb#L36)
> def sauce_endpoint
Override the Sauce Appium endpoint to allow e.g. TestObject tests
same as @sauce.endpoint
--
-##### [caps](https://github.com/appium/ruby_lib/blob/b9b8784697d9fbe73d3883cf42d260f19138d8f5/lib/appium_lib/driver.rb#L39)
+##### [caps](https://github.com/appium/ruby_lib/blob/07ebd5767f3e9fafdfb597ec186b0e7f5384a839/lib/appium_lib/driver.rb#L39)
> def caps
from Core
--
-##### [custom_url](https://github.com/appium/ruby_lib/blob/b9b8784697d9fbe73d3883cf42d260f19138d8f5/lib/appium_lib/driver.rb#L40)
+##### [custom_url](https://github.com/appium/ruby_lib/blob/07ebd5767f3e9fafdfb597ec186b0e7f5384a839/lib/appium_lib/driver.rb#L40)
> def custom_url
Returns the value of attribute custom_url
--
-##### [export_session](https://github.com/appium/ruby_lib/blob/b9b8784697d9fbe73d3883cf42d260f19138d8f5/lib/appium_lib/driver.rb#L41)
+##### [export_session](https://github.com/appium/ruby_lib/blob/07ebd5767f3e9fafdfb597ec186b0e7f5384a839/lib/appium_lib/driver.rb#L41)
> def export_session
Returns the value of attribute export_session
--
-##### [default_wait](https://github.com/appium/ruby_lib/blob/b9b8784697d9fbe73d3883cf42d260f19138d8f5/lib/appium_lib/driver.rb#L42)
+##### [export_session_path](https://github.com/appium/ruby_lib/blob/07ebd5767f3e9fafdfb597ec186b0e7f5384a839/lib/appium_lib/driver.rb#L42)
+> def export_session_path
+
+Returns the value of attribute export_session_path
+
+--
+
+##### [default_wait](https://github.com/appium/ruby_lib/blob/07ebd5767f3e9fafdfb597ec186b0e7f5384a839/lib/appium_lib/driver.rb#L43)
+
> def default_wait
Returns the value of attribute default_wait
--
-##### [appium_port](https://github.com/appium/ruby_lib/blob/b9b8784697d9fbe73d3883cf42d260f19138d8f5/lib/appium_lib/driver.rb#L43)
+##### [appium_port](https://github.com/appium/ruby_lib/blob/07ebd5767f3e9fafdfb597ec186b0e7f5384a839/lib/appium_lib/driver.rb#L44)
> def appium_port
Returns the value of attribute appium_port
--
-##### [appium_device](https://github.com/appium/ruby_lib/blob/b9b8784697d9fbe73d3883cf42d260f19138d8f5/lib/appium_lib/driver.rb#L44)
+##### [appium_device](https://github.com/appium/ruby_lib/blob/07ebd5767f3e9fafdfb597ec186b0e7f5384a839/lib/appium_lib/driver.rb#L45)
> def appium_device
Returns the value of attribute appium_device
--
-##### [automation_name](https://github.com/appium/ruby_lib/blob/b9b8784697d9fbe73d3883cf42d260f19138d8f5/lib/appium_lib/driver.rb#L45)
+##### [automation_name](https://github.com/appium/ruby_lib/blob/07ebd5767f3e9fafdfb597ec186b0e7f5384a839/lib/appium_lib/driver.rb#L46)
> def automation_name
Returns the value of attribute automation_name
--
-##### [listener](https://github.com/appium/ruby_lib/blob/b9b8784697d9fbe73d3883cf42d260f19138d8f5/lib/appium_lib/driver.rb#L46)
+##### [listener](https://github.com/appium/ruby_lib/blob/07ebd5767f3e9fafdfb597ec186b0e7f5384a839/lib/appium_lib/driver.rb#L47)
> def listener
Returns the value of attribute listener
--
-##### [http_client](https://github.com/appium/ruby_lib/blob/b9b8784697d9fbe73d3883cf42d260f19138d8f5/lib/appium_lib/driver.rb#L47)
+##### [http_client](https://github.com/appium/ruby_lib/blob/07ebd5767f3e9fafdfb597ec186b0e7f5384a839/lib/appium_lib/driver.rb#L48)
> def http_client
Returns the value of attribute http_client
--
-##### [appium_wait_timeout](https://github.com/appium/ruby_lib/blob/b9b8784697d9fbe73d3883cf42d260f19138d8f5/lib/appium_lib/driver.rb#L48)
+##### [appium_wait_timeout](https://github.com/appium/ruby_lib/blob/07ebd5767f3e9fafdfb597ec186b0e7f5384a839/lib/appium_lib/driver.rb#L49)
> def appium_wait_timeout
Returns the value of attribute appium_wait_timeout
--
-##### [appium_wait_interval](https://github.com/appium/ruby_lib/blob/b9b8784697d9fbe73d3883cf42d260f19138d8f5/lib/appium_lib/driver.rb#L49)
+##### [appium_wait_interval](https://github.com/appium/ruby_lib/blob/07ebd5767f3e9fafdfb597ec186b0e7f5384a839/lib/appium_lib/driver.rb#L50)
> def appium_wait_interval
Returns the value of attribute appium_wait_interval
--
-##### [appium_server_status](https://github.com/appium/ruby_lib/blob/b9b8784697d9fbe73d3883cf42d260f19138d8f5/lib/appium_lib/driver.rb#L52)
+##### [appium_server_status](https://github.com/appium/ruby_lib/blob/07ebd5767f3e9fafdfb597ec186b0e7f5384a839/lib/appium_lib/driver.rb#L53)
> def appium_server_status
Appium's server version
--
-##### [appium_debug](https://github.com/appium/ruby_lib/blob/b9b8784697d9fbe73d3883cf42d260f19138d8f5/lib/appium_lib/driver.rb#L54)
+##### [appium_debug](https://github.com/appium/ruby_lib/blob/07ebd5767f3e9fafdfb597ec186b0e7f5384a839/lib/appium_lib/driver.rb#L55)
> def appium_debug
Boolean debug mode for the Appium Ruby bindings
--
-##### [driver](https://github.com/appium/ruby_lib/blob/b9b8784697d9fbe73d3883cf42d260f19138d8f5/lib/appium_lib/driver.rb#L57)
+##### [driver](https://github.com/appium/ruby_lib/blob/07ebd5767f3e9fafdfb597ec186b0e7f5384a839/lib/appium_lib/driver.rb#L58)
> def driver
Returns the driver
@@ -281,19 +289,19 @@
[Driver] the driver
--
-##### [core](https://github.com/appium/ruby_lib/blob/b9b8784697d9fbe73d3883cf42d260f19138d8f5/lib/appium_lib/driver.rb#L59)
+##### [core](https://github.com/appium/ruby_lib/blob/07ebd5767f3e9fafdfb597ec186b0e7f5384a839/lib/appium_lib/driver.rb#L60)
> def core
Instance of Appium::Core::Driver
--
-##### [initialize](https://github.com/appium/ruby_lib/blob/b9b8784697d9fbe73d3883cf42d260f19138d8f5/lib/appium_lib/driver.rb#L110)
+##### [initialize](https://github.com/appium/ruby_lib/blob/07ebd5767f3e9fafdfb597ec186b0e7f5384a839/lib/appium_lib/driver.rb#L111)
> def initialize(opts = {}, global_driver = nil)
Creates a new driver. The driver is defined as global scope by default.
We can avoid defining global driver.
@@ -308,19 +316,19 @@
[Driver]
--
-##### [driver_attributes](https://github.com/appium/ruby_lib/blob/b9b8784697d9fbe73d3883cf42d260f19138d8f5/lib/appium_lib/driver.rb#L215)
+##### [driver_attributes](https://github.com/appium/ruby_lib/blob/07ebd5767f3e9fafdfb597ec186b0e7f5384a839/lib/appium_lib/driver.rb#L217)
> def driver_attributes
Returns a hash of the driver attributes
--
-##### [device_is_android?](https://github.com/appium/ruby_lib/blob/b9b8784697d9fbe73d3883cf42d260f19138d8f5/lib/appium_lib/driver.rb#L234)
+##### [device_is_android?](https://github.com/appium/ruby_lib/blob/07ebd5767f3e9fafdfb597ec186b0e7f5384a839/lib/appium_lib/driver.rb#L237)
> def device_is_android?
@@ -328,11 +336,11 @@
[Boolean]
--
-##### [device_is_ios?](https://github.com/appium/ruby_lib/blob/b9b8784697d9fbe73d3883cf42d260f19138d8f5/lib/appium_lib/driver.rb#L238)
+##### [device_is_ios?](https://github.com/appium/ruby_lib/blob/07ebd5767f3e9fafdfb597ec186b0e7f5384a839/lib/appium_lib/driver.rb#L241)
> def device_is_ios?
@@ -340,11 +348,11 @@
[Boolean]
--
-##### [device_is_windows?](https://github.com/appium/ruby_lib/blob/b9b8784697d9fbe73d3883cf42d260f19138d8f5/lib/appium_lib/driver.rb#L242)
+##### [device_is_windows?](https://github.com/appium/ruby_lib/blob/07ebd5767f3e9fafdfb597ec186b0e7f5384a839/lib/appium_lib/driver.rb#L245)
> def device_is_windows?
@@ -352,11 +360,11 @@
[Boolean]
--
-##### [automation_name_is_uiautomator2?](https://github.com/appium/ruby_lib/blob/b9b8784697d9fbe73d3883cf42d260f19138d8f5/lib/appium_lib/driver.rb#L248)
+##### [automation_name_is_uiautomator2?](https://github.com/appium/ruby_lib/blob/07ebd5767f3e9fafdfb597ec186b0e7f5384a839/lib/appium_lib/driver.rb#L251)
> def automation_name_is_uiautomator2?
Return true if automationName is 'uiautomator2'
@@ -364,11 +372,11 @@
[Boolean]
--
-##### [automation_name_is_espresso?](https://github.com/appium/ruby_lib/blob/b9b8784697d9fbe73d3883cf42d260f19138d8f5/lib/appium_lib/driver.rb#L254)
+##### [automation_name_is_espresso?](https://github.com/appium/ruby_lib/blob/07ebd5767f3e9fafdfb597ec186b0e7f5384a839/lib/appium_lib/driver.rb#L257)
> def automation_name_is_espresso?
Return true if automationName is 'Espresso'
@@ -376,11 +384,11 @@
[Boolean]
--
-##### [automation_name_is_xcuitest?](https://github.com/appium/ruby_lib/blob/b9b8784697d9fbe73d3883cf42d260f19138d8f5/lib/appium_lib/driver.rb#L260)
+##### [automation_name_is_xcuitest?](https://github.com/appium/ruby_lib/blob/07ebd5767f3e9fafdfb597ec186b0e7f5384a839/lib/appium_lib/driver.rb#L263)
> def automation_name_is_xcuitest?
Return true if automationName is 'XCUITest'
@@ -388,11 +396,11 @@
[Boolean]
--
-##### [check_server_version_xcuitest](https://github.com/appium/ruby_lib/blob/b9b8784697d9fbe73d3883cf42d260f19138d8f5/lib/appium_lib/driver.rb#L267)
+##### [check_server_version_xcuitest](https://github.com/appium/ruby_lib/blob/07ebd5767f3e9fafdfb597ec186b0e7f5384a839/lib/appium_lib/driver.rb#L270)
> def check_server_version_xcuitest
Return true if the target Appium server is over REQUIRED_VERSION_XCUITEST.
If the Appium server is under REQUIRED_VERSION_XCUITEST, then error is raised.
@@ -401,11 +409,11 @@
[Boolean]
--
-##### [appium_server_version](https://github.com/appium/ruby_lib/blob/b9b8784697d9fbe73d3883cf42d260f19138d8f5/lib/appium_lib/driver.rb#L288)
+##### [appium_server_version](https://github.com/appium/ruby_lib/blob/07ebd5767f3e9fafdfb597ec186b0e7f5384a839/lib/appium_lib/driver.rb#L291)
> def appium_server_version
Returns the server's version info
@@ -413,11 +421,11 @@
[Hash]
--
-##### [platform_version](https://github.com/appium/ruby_lib/blob/b9b8784697d9fbe73d3883cf42d260f19138d8f5/lib/appium_lib/driver.rb#L298)
+##### [platform_version](https://github.com/appium/ruby_lib/blob/07ebd5767f3e9fafdfb597ec186b0e7f5384a839/lib/appium_lib/driver.rb#L301)
> def platform_version
Return the platform version as an array of integers
@@ -425,11 +433,11 @@
[Array<Integer>]
--
-##### [appium_client_version](https://github.com/appium/ruby_lib/blob/b9b8784697d9fbe73d3883cf42d260f19138d8f5/lib/appium_lib/driver.rb#L317)
+##### [appium_client_version](https://github.com/appium/ruby_lib/blob/07ebd5767f3e9fafdfb597ec186b0e7f5384a839/lib/appium_lib/driver.rb#L320)
> def appium_client_version
Returns the client's version info
@@ -437,11 +445,11 @@
[Hash]
--
-##### [absolute_app_path](https://github.com/appium/ruby_lib/blob/b9b8784697d9fbe73d3883cf42d260f19138d8f5/lib/appium_lib/driver.rb#L329)
+##### [absolute_app_path](https://github.com/appium/ruby_lib/blob/07ebd5767f3e9fafdfb597ec186b0e7f5384a839/lib/appium_lib/driver.rb#L332)
> def self.absolute_app_path(opts)
Converts app_path to an absolute path.
@@ -454,11 +462,11 @@
[String] APP_PATH as an absolute path
--
-##### [server_url](https://github.com/appium/ruby_lib/blob/b9b8784697d9fbe73d3883cf42d260f19138d8f5/lib/appium_lib/driver.rb#L362)
+##### [server_url](https://github.com/appium/ruby_lib/blob/07ebd5767f3e9fafdfb597ec186b0e7f5384a839/lib/appium_lib/driver.rb#L365)
> def server_url
Get the server url
@@ -466,11 +474,11 @@
[String] the server url
--
-##### [restart](https://github.com/appium/ruby_lib/blob/b9b8784697d9fbe73d3883cf42d260f19138d8f5/lib/appium_lib/driver.rb#L370)
+##### [restart](https://github.com/appium/ruby_lib/blob/07ebd5767f3e9fafdfb597ec186b0e7f5384a839/lib/appium_lib/driver.rb#L373)
> def restart
Restarts the driver
@@ -478,11 +486,11 @@
[Driver] the driver
--
-##### [screenshot](https://github.com/appium/ruby_lib/blob/b9b8784697d9fbe73d3883cf42d260f19138d8f5/lib/appium_lib/driver.rb#L383)
+##### [screenshot](https://github.com/appium/ruby_lib/blob/07ebd5767f3e9fafdfb597ec186b0e7f5384a839/lib/appium_lib/driver.rb#L386)
> def screenshot(png_save_path)
Takes a png screenshot and saves to the target path.
@@ -494,11 +502,11 @@
[nil]
--
-##### [driver_quit](https://github.com/appium/ruby_lib/blob/b9b8784697d9fbe73d3883cf42d260f19138d8f5/lib/appium_lib/driver.rb#L389)
+##### [driver_quit](https://github.com/appium/ruby_lib/blob/07ebd5767f3e9fafdfb597ec186b0e7f5384a839/lib/appium_lib/driver.rb#L392)
> def driver_quit
Quits the driver
@@ -506,11 +514,11 @@
[void]
--
-##### [quit_driver](https://github.com/appium/ruby_lib/blob/b9b8784697d9fbe73d3883cf42d260f19138d8f5/lib/appium_lib/driver.rb#L392)
+##### [quit_driver](https://github.com/appium/ruby_lib/blob/07ebd5767f3e9fafdfb597ec186b0e7f5384a839/lib/appium_lib/driver.rb#L395)
> def driver_quit
Quits the driver
@@ -518,11 +526,11 @@
[void]
--
-##### [window_size](https://github.com/appium/ruby_lib/blob/b9b8784697d9fbe73d3883cf42d260f19138d8f5/lib/appium_lib/driver.rb#L403)
+##### [window_size](https://github.com/appium/ruby_lib/blob/07ebd5767f3e9fafdfb597ec186b0e7f5384a839/lib/appium_lib/driver.rb#L406)
> def window_size
Get the device window's size.
@@ -530,11 +538,11 @@
[Selenium::WebDriver::Dimension]
--
-##### [start_driver](https://github.com/appium/ruby_lib/blob/b9b8784697d9fbe73d3883cf42d260f19138d8f5/lib/appium_lib/driver.rb#L432)
+##### [start_driver](https://github.com/appium/ruby_lib/blob/07ebd5767f3e9fafdfb597ec186b0e7f5384a839/lib/appium_lib/driver.rb#L435)
> def start_driver(http_client_ops =
Creates a new global driver and quits the old one if it exists.
You can customise http_client as the following
@@ -547,27 +555,27 @@
[Selenium::WebDriver] the new global driver
--
-##### [set_implicit_wait](https://github.com/appium/ruby_lib/blob/b9b8784697d9fbe73d3883cf42d260f19138d8f5/lib/appium_lib/driver.rb#L456)
+##### [set_implicit_wait](https://github.com/appium/ruby_lib/blob/07ebd5767f3e9fafdfb597ec186b0e7f5384a839/lib/appium_lib/driver.rb#L459)
> def set_implicit_wait(wait)
To ignore error for Espresso Driver
--
-##### [no_wait](https://github.com/appium/ruby_lib/blob/b9b8784697d9fbe73d3883cf42d260f19138d8f5/lib/appium_lib/driver.rb#L466)
+##### [no_wait](https://github.com/appium/ruby_lib/blob/07ebd5767f3e9fafdfb597ec186b0e7f5384a839/lib/appium_lib/driver.rb#L469)
> def no_wait
Set implicit wait to zero.
--
-##### [set_wait](https://github.com/appium/ruby_lib/blob/b9b8784697d9fbe73d3883cf42d260f19138d8f5/lib/appium_lib/driver.rb#L480)
+##### [set_wait](https://github.com/appium/ruby_lib/blob/07ebd5767f3e9fafdfb597ec186b0e7f5384a839/lib/appium_lib/driver.rb#L483)
> def set_wait(timeout = nil)
Set implicit wait. Default to @core.default_wait.
@@ -579,11 +587,11 @@
[void]
--
-##### [exists](https://github.com/appium/ruby_lib/blob/b9b8784697d9fbe73d3883cf42d260f19138d8f5/lib/appium_lib/driver.rb#L497)
+##### [exists](https://github.com/appium/ruby_lib/blob/07ebd5767f3e9fafdfb597ec186b0e7f5384a839/lib/appium_lib/driver.rb#L500)
> def exists(pre_check = 0, post_check = @core.default_wait)
Returns existence of element.
@@ -603,11 +611,11 @@
[Boolean]
--
-##### [execute_script](https://github.com/appium/ruby_lib/blob/b9b8784697d9fbe73d3883cf42d260f19138d8f5/lib/appium_lib/driver.rb#L521)
+##### [execute_script](https://github.com/appium/ruby_lib/blob/07ebd5767f3e9fafdfb597ec186b0e7f5384a839/lib/appium_lib/driver.rb#L524)
> def execute_script(script, *args)
The same as @driver.execute_script
@@ -621,11 +629,11 @@
[Object]
--
-##### [find_elements](https://github.com/appium/ruby_lib/blob/b9b8784697d9fbe73d3883cf42d260f19138d8f5/lib/appium_lib/driver.rb#L543)
+##### [find_elements](https://github.com/appium/ruby_lib/blob/07ebd5767f3e9fafdfb597ec186b0e7f5384a839/lib/appium_lib/driver.rb#L546)
> def find_elements(*args)
Calls @driver.find_elements_with_appium
@@ -641,11 +649,11 @@
[Array<Element>] Array is empty when no elements are found.
--
-##### [find_element](https://github.com/appium/ruby_lib/blob/b9b8784697d9fbe73d3883cf42d260f19138d8f5/lib/appium_lib/driver.rb#L558)
+##### [find_element](https://github.com/appium/ruby_lib/blob/07ebd5767f3e9fafdfb597ec186b0e7f5384a839/lib/appium_lib/driver.rb#L561)
> def find_element(*args)
Calls @driver.find_element
@@ -659,11 +667,11 @@
[Element]
--
-##### [set_location](https://github.com/appium/ruby_lib/blob/b9b8784697d9fbe73d3883cf42d260f19138d8f5/lib/appium_lib/driver.rb#L571)
+##### [set_location](https://github.com/appium/ruby_lib/blob/07ebd5767f3e9fafdfb597ec186b0e7f5384a839/lib/appium_lib/driver.rb#L574)
> def set_location(opts = {})
Calls @driver.set_location
@@ -675,11 +683,11 @@
[Selenium::WebDriver::Location] the location constructed by the selenium webdriver
--
-##### [x](https://github.com/appium/ruby_lib/blob/b9b8784697d9fbe73d3883cf42d260f19138d8f5/lib/appium_lib/driver.rb#L581)
+##### [x](https://github.com/appium/ruby_lib/blob/07ebd5767f3e9fafdfb597ec186b0e7f5384a839/lib/appium_lib/driver.rb#L584)
> def x
Quit the driver and Pry.
quit and exit are reserved by Pry.
@@ -688,35 +696,35 @@
[void]
--
-##### [username](https://github.com/appium/ruby_lib/blob/b9b8784697d9fbe73d3883cf42d260f19138d8f5/lib/appium_lib/sauce_labs.rb#L4)
+##### [username](https://github.com/appium/ruby_lib/blob/07ebd5767f3e9fafdfb597ec186b0e7f5384a839/lib/appium_lib/sauce_labs.rb#L4)
> def username
Username for use on Sauce Labs. Set `false` to disable Sauce, even when SAUCE_USERNAME is in ENV.
--
-##### [access_key](https://github.com/appium/ruby_lib/blob/b9b8784697d9fbe73d3883cf42d260f19138d8f5/lib/appium_lib/sauce_labs.rb#L6)
+##### [access_key](https://github.com/appium/ruby_lib/blob/07ebd5767f3e9fafdfb597ec186b0e7f5384a839/lib/appium_lib/sauce_labs.rb#L6)
> def access_key
Access Key for use on Sauce Labs. Set `false` to disable Sauce, even when SAUCE_ACCESS_KEY is in ENV.
--
-##### [endpoint](https://github.com/appium/ruby_lib/blob/b9b8784697d9fbe73d3883cf42d260f19138d8f5/lib/appium_lib/sauce_labs.rb#L8)
+##### [endpoint](https://github.com/appium/ruby_lib/blob/07ebd5767f3e9fafdfb597ec186b0e7f5384a839/lib/appium_lib/sauce_labs.rb#L8)
> def endpoint
Override the Sauce Appium endpoint to allow e.g. TestObject tests. Default is 'ondemand.saucelabs.com:443/wd/hub'.
--
-##### [initialize](https://github.com/appium/ruby_lib/blob/b9b8784697d9fbe73d3883cf42d260f19138d8f5/lib/appium_lib/sauce_labs.rb#L33)
+##### [initialize](https://github.com/appium/ruby_lib/blob/07ebd5767f3e9fafdfb597ec186b0e7f5384a839/lib/appium_lib/sauce_labs.rb#L33)
> def initialize(appium_lib_opts)
Create a SauceLabs instance to manage sauce labs related attributes.
@@ -728,11 +736,11 @@
[Appium::SauceLabs]
--
-##### [sauce_server_url?](https://github.com/appium/ruby_lib/blob/b9b8784697d9fbe73d3883cf42d260f19138d8f5/lib/appium_lib/sauce_labs.rb#L53)
+##### [sauce_server_url?](https://github.com/appium/ruby_lib/blob/07ebd5767f3e9fafdfb597ec186b0e7f5384a839/lib/appium_lib/sauce_labs.rb#L53)
> def sauce_server_url?
Return true if an instance of Appium::SauceLabs has sauce_username and sauce_access_key.
@@ -740,11 +748,11 @@
[Boolean]
--
-##### [server_url](https://github.com/appium/ruby_lib/blob/b9b8784697d9fbe73d3883cf42d260f19138d8f5/lib/appium_lib/sauce_labs.rb#L66)
+##### [server_url](https://github.com/appium/ruby_lib/blob/07ebd5767f3e9fafdfb597ec186b0e7f5384a839/lib/appium_lib/sauce_labs.rb#L66)
> def server_url
Return a particular server url to access to. Default is the local address.
@@ -752,11 +760,11 @@
[String]
--
-##### [get_log](https://github.com/appium/ruby_lib/blob/b9b8784697d9fbe73d3883cf42d260f19138d8f5/lib/appium_lib/common/log.rb#L11)
+##### [get_log](https://github.com/appium/ruby_lib/blob/07ebd5767f3e9fafdfb597ec186b0e7f5384a839/lib/appium_lib/common/log.rb#L11)
> def get_log(type)
@@ -768,11 +776,11 @@
[[Selenium::WebDriver::LogEntry]] A list of logs data.
--
-##### [get_available_log_types](https://github.com/appium/ruby_lib/blob/b9b8784697d9fbe73d3883cf42d260f19138d8f5/lib/appium_lib/common/log.rb#L23)
+##### [get_available_log_types](https://github.com/appium/ruby_lib/blob/07ebd5767f3e9fafdfb597ec186b0e7f5384a839/lib/appium_lib/common/log.rb#L23)
> def get_available_log_types
Get a list of available log types
@@ -780,11 +788,11 @@
[[String]] A list of available log types.
--
-##### [initialize](https://github.com/appium/ruby_lib/blob/b9b8784697d9fbe73d3883cf42d260f19138d8f5/lib/appium_lib/common/wait.rb#L6)
+##### [initialize](https://github.com/appium/ruby_lib/blob/07ebd5767f3e9fafdfb597ec186b0e7f5384a839/lib/appium_lib/common/wait.rb#L6)
> def initialize(opts = {})
@@ -792,11 +800,11 @@
[Wait] a new instance of Wait
--
-##### [wait_true](https://github.com/appium/ruby_lib/blob/b9b8784697d9fbe73d3883cf42d260f19138d8f5/lib/appium_lib/common/wait.rb#L34)
+##### [wait_true](https://github.com/appium/ruby_lib/blob/07ebd5767f3e9fafdfb597ec186b0e7f5384a839/lib/appium_lib/common/wait.rb#L26)
> def wait_true(opts = {})
Check every interval seconds to see if yield returns a truthy value.
Note this isn't a strict boolean true, any truthy value is accepted.
@@ -812,11 +820,11 @@
[Hash] opts - Options
--
-##### [wait](https://github.com/appium/ruby_lib/blob/b9b8784697d9fbe73d3883cf42d260f19138d8f5/lib/appium_lib/common/wait.rb#L57)
+##### [wait](https://github.com/appium/ruby_lib/blob/07ebd5767f3e9fafdfb597ec186b0e7f5384a839/lib/appium_lib/common/wait.rb#L43)
> def wait(opts = {})
Check every interval seconds to see if yield doesn't raise an exception.
Give up after timeout seconds.
@@ -830,19 +838,19 @@
[Hash] opts - Options
--
-##### [ignore](https://github.com/appium/ruby_lib/blob/b9b8784697d9fbe73d3883cf42d260f19138d8f5/lib/appium_lib/common/helper.rb#L16)
+##### [ignore](https://github.com/appium/ruby_lib/blob/07ebd5767f3e9fafdfb597ec186b0e7f5384a839/lib/appium_lib/common/helper.rb#L16)
> def ignore
Return yield and ignore any exceptions.
--
-##### [back](https://github.com/appium/ruby_lib/blob/b9b8784697d9fbe73d3883cf42d260f19138d8f5/lib/appium_lib/common/helper.rb#L23)
+##### [back](https://github.com/appium/ruby_lib/blob/07ebd5767f3e9fafdfb597ec186b0e7f5384a839/lib/appium_lib/common/helper.rb#L23)
> def back
Navigate back.
@@ -850,11 +858,11 @@
[void]
--
-##### [session_id](https://github.com/appium/ruby_lib/blob/b9b8784697d9fbe73d3883cf42d260f19138d8f5/lib/appium_lib/common/helper.rb#L34)
+##### [session_id](https://github.com/appium/ruby_lib/blob/07ebd5767f3e9fafdfb597ec186b0e7f5384a839/lib/appium_lib/common/helper.rb#L34)
> def session_id
For Sauce Labs reporting. Returns the current session id.
@@ -862,11 +870,11 @@
[String]
--
-##### [xpath](https://github.com/appium/ruby_lib/blob/b9b8784697d9fbe73d3883cf42d260f19138d8f5/lib/appium_lib/common/helper.rb#L42)
+##### [xpath](https://github.com/appium/ruby_lib/blob/07ebd5767f3e9fafdfb597ec186b0e7f5384a839/lib/appium_lib/common/helper.rb#L42)
> def xpath(xpath_str)
Returns the first element that matches the provided xpath.
@@ -878,11 +886,11 @@
[Element]
--
-##### [xpaths](https://github.com/appium/ruby_lib/blob/b9b8784697d9fbe73d3883cf42d260f19138d8f5/lib/appium_lib/common/helper.rb#L50)
+##### [xpaths](https://github.com/appium/ruby_lib/blob/07ebd5767f3e9fafdfb597ec186b0e7f5384a839/lib/appium_lib/common/helper.rb#L50)
> def xpaths(xpath_str)
Returns all elements that match the provided xpath.
@@ -894,19 +902,19 @@
[Array<Element>]
--
-##### [result](https://github.com/appium/ruby_lib/blob/b9b8784697d9fbe73d3883cf42d260f19138d8f5/lib/appium_lib/common/helper.rb#L61)
+##### [result](https://github.com/appium/ruby_lib/blob/07ebd5767f3e9fafdfb597ec186b0e7f5384a839/lib/appium_lib/common/helper.rb#L61)
> def result
Returns the value of attribute result
--
-##### [initialize](https://github.com/appium/ruby_lib/blob/b9b8784697d9fbe73d3883cf42d260f19138d8f5/lib/appium_lib/common/helper.rb#L63)
+##### [initialize](https://github.com/appium/ruby_lib/blob/07ebd5767f3e9fafdfb597ec186b0e7f5384a839/lib/appium_lib/common/helper.rb#L63)
> def initialize
@@ -914,35 +922,35 @@
[CountElements] a new instance of CountElements
--
-##### [reset](https://github.com/appium/ruby_lib/blob/b9b8784697d9fbe73d3883cf42d260f19138d8f5/lib/appium_lib/common/helper.rb#L67)
+##### [reset](https://github.com/appium/ruby_lib/blob/07ebd5767f3e9fafdfb597ec186b0e7f5384a839/lib/appium_lib/common/helper.rb#L67)
> def reset
--
-##### [start_element](https://github.com/appium/ruby_lib/blob/b9b8784697d9fbe73d3883cf42d260f19138d8f5/lib/appium_lib/common/helper.rb#L72)
+##### [start_element](https://github.com/appium/ruby_lib/blob/07ebd5767f3e9fafdfb597ec186b0e7f5384a839/lib/appium_lib/common/helper.rb#L72)
> def start_element(name, attrs = [], driver = $driver)
http://nokogiri.org/Nokogiri/XML/SAX/Document.html
--
-##### [formatted_result](https://github.com/appium/ruby_lib/blob/b9b8784697d9fbe73d3883cf42d260f19138d8f5/lib/appium_lib/common/helper.rb#L78)
+##### [formatted_result](https://github.com/appium/ruby_lib/blob/07ebd5767f3e9fafdfb597ec186b0e7f5384a839/lib/appium_lib/common/helper.rb#L78)
> def formatted_result
--
-##### [get_page_class](https://github.com/appium/ruby_lib/blob/b9b8784697d9fbe73d3883cf42d260f19138d8f5/lib/appium_lib/common/helper.rb#L97)
+##### [get_page_class](https://github.com/appium/ruby_lib/blob/07ebd5767f3e9fafdfb597ec186b0e7f5384a839/lib/appium_lib/common/helper.rb#L97)
> def get_page_class
Returns a string of class counts of visible elements.
@@ -950,11 +958,11 @@
[String]
--
-##### [page_class](https://github.com/appium/ruby_lib/blob/b9b8784697d9fbe73d3883cf42d260f19138d8f5/lib/appium_lib/common/helper.rb#L122)
+##### [page_class](https://github.com/appium/ruby_lib/blob/07ebd5767f3e9fafdfb597ec186b0e7f5384a839/lib/appium_lib/common/helper.rb#L122)
> def page_class
Count all classes on screen and print to stdout.
Useful for appium_console.
@@ -963,19 +971,19 @@
[nil]
--
-##### [px_to_window_rel](https://github.com/appium/ruby_lib/blob/b9b8784697d9fbe73d3883cf42d260f19138d8f5/lib/appium_lib/common/helper.rb#L133)
+##### [px_to_window_rel](https://github.com/appium/ruby_lib/blob/07ebd5767f3e9fafdfb597ec186b0e7f5384a839/lib/appium_lib/common/helper.rb#L133)
> def px_to_window_rel(opts = {}, driver = $driver)
Converts pixel values to window relative values
--
-##### [xml_keys](https://github.com/appium/ruby_lib/blob/b9b8784697d9fbe73d3883cf42d260f19138d8f5/lib/appium_lib/common/helper.rb#L152)
+##### [xml_keys](https://github.com/appium/ruby_lib/blob/07ebd5767f3e9fafdfb597ec186b0e7f5384a839/lib/appium_lib/common/helper.rb#L152)
> def xml_keys(target)
Search strings.xml's values for target.
@@ -987,11 +995,11 @@
[Array]
--
-##### [xml_values](https://github.com/appium/ruby_lib/blob/b9b8784697d9fbe73d3883cf42d260f19138d8f5/lib/appium_lib/common/helper.rb#L160)
+##### [xml_values](https://github.com/appium/ruby_lib/blob/07ebd5767f3e9fafdfb597ec186b0e7f5384a839/lib/appium_lib/common/helper.rb#L160)
> def xml_values(target)
Search strings.xml's keys for target.
@@ -1003,11 +1011,11 @@
[Array]
--
-##### [resolve_id](https://github.com/appium/ruby_lib/blob/b9b8784697d9fbe73d3883cf42d260f19138d8f5/lib/appium_lib/common/helper.rb#L168)
+##### [resolve_id](https://github.com/appium/ruby_lib/blob/07ebd5767f3e9fafdfb597ec186b0e7f5384a839/lib/appium_lib/common/helper.rb#L168)
> def resolve_id(id)
Resolve id in strings.xml and return the value.
@@ -1019,27 +1027,27 @@
[String]
--
-##### [filter](https://github.com/appium/ruby_lib/blob/b9b8784697d9fbe73d3883cf42d260f19138d8f5/lib/appium_lib/common/helper.rb#L175)
+##### [filter](https://github.com/appium/ruby_lib/blob/07ebd5767f3e9fafdfb597ec186b0e7f5384a839/lib/appium_lib/common/helper.rb#L175)
> def filter
Returns the value of attribute filter
--
-##### [filter=](https://github.com/appium/ruby_lib/blob/b9b8784697d9fbe73d3883cf42d260f19138d8f5/lib/appium_lib/common/helper.rb#L178)
+##### [filter=](https://github.com/appium/ruby_lib/blob/07ebd5767f3e9fafdfb597ec186b0e7f5384a839/lib/appium_lib/common/helper.rb#L178)
> def filter=(value)
convert to string to support symbols
--
-##### [initialize](https://github.com/appium/ruby_lib/blob/b9b8784697d9fbe73d3883cf42d260f19138d8f5/lib/appium_lib/common/helper.rb#L184)
+##### [initialize](https://github.com/appium/ruby_lib/blob/07ebd5767f3e9fafdfb597ec186b0e7f5384a839/lib/appium_lib/common/helper.rb#L184)
> def initialize
@@ -1047,59 +1055,59 @@
[HTMLElements] a new instance of HTMLElements
--
-##### [reset](https://github.com/appium/ruby_lib/blob/b9b8784697d9fbe73d3883cf42d260f19138d8f5/lib/appium_lib/common/helper.rb#L189)
+##### [reset](https://github.com/appium/ruby_lib/blob/07ebd5767f3e9fafdfb597ec186b0e7f5384a839/lib/appium_lib/common/helper.rb#L189)
> def reset
--
-##### [result](https://github.com/appium/ruby_lib/blob/b9b8784697d9fbe73d3883cf42d260f19138d8f5/lib/appium_lib/common/helper.rb#L195)
+##### [result](https://github.com/appium/ruby_lib/blob/07ebd5767f3e9fafdfb597ec186b0e7f5384a839/lib/appium_lib/common/helper.rb#L195)
> def result
--
-##### [start_element](https://github.com/appium/ruby_lib/blob/b9b8784697d9fbe73d3883cf42d260f19138d8f5/lib/appium_lib/common/helper.rb#L211)
+##### [start_element](https://github.com/appium/ruby_lib/blob/07ebd5767f3e9fafdfb597ec186b0e7f5384a839/lib/appium_lib/common/helper.rb#L211)
> def start_element(name, attrs = [])
--
-##### [end_element](https://github.com/appium/ruby_lib/blob/b9b8784697d9fbe73d3883cf42d260f19138d8f5/lib/appium_lib/common/helper.rb#L220)
+##### [end_element](https://github.com/appium/ruby_lib/blob/07ebd5767f3e9fafdfb597ec186b0e7f5384a839/lib/appium_lib/common/helper.rb#L220)
> def end_element(name)
--
-##### [characters](https://github.com/appium/ruby_lib/blob/b9b8784697d9fbe73d3883cf42d260f19138d8f5/lib/appium_lib/common/helper.rb#L226)
+##### [characters](https://github.com/appium/ruby_lib/blob/07ebd5767f3e9fafdfb597ec186b0e7f5384a839/lib/appium_lib/common/helper.rb#L226)
> def characters(chars)
--
-##### [DEFAULT_HEADERS](https://github.com/appium/ruby_lib/blob/b9b8784697d9fbe73d3883cf42d260f19138d8f5/lib/appium_lib/common/http_client.rb#L8)
+##### [DEFAULT_HEADERS](https://github.com/appium/ruby_lib/blob/07ebd5767f3e9fafdfb597ec186b0e7f5384a839/lib/appium_lib/common/http_client.rb#L8)
> DEFAULT_HEADERS = { 'Accept' => CONTENT_TYPE, 'User-Agent' => "appium/ruby_lib/#{::Appium::VERSION}" }.freeze
Default HTTP client inherit Appium::Core::Base::Http::Default, but has different DEFAULT_HEADERS
--
-##### [pinch](https://github.com/appium/ruby_lib/blob/b9b8784697d9fbe73d3883cf42d260f19138d8f5/lib/appium_lib/common/multi_touch.rb#L51)
+##### [pinch](https://github.com/appium/ruby_lib/blob/07ebd5767f3e9fafdfb597ec186b0e7f5384a839/lib/appium_lib/common/multi_touch.rb#L51)
> def pinch(percentage = 25, auto_perform = true, driver = $driver)
Convenience method for pinching the screen.
Places two fingers at the edges of the screen and brings them together.
@@ -1115,11 +1123,11 @@
[Driver] driver - Set a driver to conduct the action. DEfault is global driver($driver)
--
-##### [zoom](https://github.com/appium/ruby_lib/blob/b9b8784697d9fbe73d3883cf42d260f19138d8f5/lib/appium_lib/common/multi_touch.rb#L79)
+##### [zoom](https://github.com/appium/ruby_lib/blob/07ebd5767f3e9fafdfb597ec186b0e7f5384a839/lib/appium_lib/common/multi_touch.rb#L95)
> def zoom(percentage = 200, auto_perform = true, driver = $driver)
Convenience method for zooming the screen.
Places two fingers at the edges of the screen and brings them together.
@@ -1135,31 +1143,59 @@
[Driver] driver - Set a driver to conduct the action. DEfault is global driver($driver)
--
-##### [initialize](https://github.com/appium/ruby_lib/blob/b9b8784697d9fbe73d3883cf42d260f19138d8f5/lib/appium_lib/common/multi_touch.rb#L84)
+##### [driver](https://github.com/appium/ruby_lib/blob/07ebd5767f3e9fafdfb597ec186b0e7f5384a839/lib/appium_lib/common/multi_touch.rb#L216)
-> def initialize(driver = $driver)
+> def driver
self
+--
+
+##### [initialize](https://github.com/appium/ruby_lib/blob/07ebd5767f3e9fafdfb597ec186b0e7f5384a839/lib/appium_lib/common/multi_touch.rb#L218)
+
+> def initialize(driver = $driver)
+
+
+
__Returns:__
[MultiTouch] a new instance of MultiTouch
--
-##### [COMPLEX_ACTIONS](https://github.com/appium/ruby_lib/blob/b9b8784697d9fbe73d3883cf42d260f19138d8f5/lib/appium_lib/common/touch_actions.rb#L33)
+##### [add](https://github.com/appium/ruby_lib/blob/07ebd5767f3e9fafdfb597ec186b0e7f5384a839/lib/appium_lib/common/multi_touch.rb#L225)
+> def add(chain)
+
+Add a touch_action to be performed
+
+__Parameters:__
+
+ [TouchAction] chain - The action to add to the chain
+
+--
+
+##### [perform](https://github.com/appium/ruby_lib/blob/07ebd5767f3e9fafdfb597ec186b0e7f5384a839/lib/appium_lib/common/multi_touch.rb#L230)
+
+> def perform
+
+Ask Appium to perform the actions
+
+--
+
+##### [COMPLEX_ACTIONS](https://github.com/appium/ruby_lib/blob/07ebd5767f3e9fafdfb597ec186b0e7f5384a839/lib/appium_lib/common/touch_actions.rb#L33)
+
> COMPLEX_ACTIONS = ::Appium::Core::TouchAction::COMPLEX_ACTIONS
--
-##### [initialize](https://github.com/appium/ruby_lib/blob/b9b8784697d9fbe73d3883cf42d260f19138d8f5/lib/appium_lib/common/touch_actions.rb#L47)
+##### [initialize](https://github.com/appium/ruby_lib/blob/07ebd5767f3e9fafdfb597ec186b0e7f5384a839/lib/appium_lib/common/touch_actions.rb#L47)
> def initialize(driver = $driver)
@@ -1167,35 +1203,43 @@
[TouchAction] a new instance of TouchAction
--
-##### [for](https://github.com/appium/ruby_lib/blob/b9b8784697d9fbe73d3883cf42d260f19138d8f5/lib/appium_lib/ios/ios.rb#L15) ios
+##### [swipe](https://github.com/appium/ruby_lib/blob/07ebd5767f3e9fafdfb597ec186b0e7f5384a839/lib/appium_lib/common/touch_actions.rb#L51)
+> def swipe(opts, ele = nil)
+
+
+
+--
+
+##### [for](https://github.com/appium/ruby_lib/blob/07ebd5767f3e9fafdfb597ec186b0e7f5384a839/lib/appium_lib/ios/ios.rb#L15) ios
+
> def self.for(target)
--
-##### [UIAStaticText](https://github.com/appium/ruby_lib/blob/b9b8784697d9fbe73d3883cf42d260f19138d8f5/lib/appium_lib/ios/element/text.rb#L4) ios
+##### [UIAStaticText](https://github.com/appium/ruby_lib/blob/07ebd5767f3e9fafdfb597ec186b0e7f5384a839/lib/appium_lib/ios/element/text.rb#L4) ios
> UIAStaticText = 'UIAStaticText'.freeze
--
-##### [XCUIElementTypeStaticText](https://github.com/appium/ruby_lib/blob/b9b8784697d9fbe73d3883cf42d260f19138d8f5/lib/appium_lib/ios/element/text.rb#L5) ios
+##### [XCUIElementTypeStaticText](https://github.com/appium/ruby_lib/blob/07ebd5767f3e9fafdfb597ec186b0e7f5384a839/lib/appium_lib/ios/element/text.rb#L5) ios
> XCUIElementTypeStaticText = 'XCUIElementTypeStaticText'.freeze
--
-##### [static_text_class](https://github.com/appium/ruby_lib/blob/b9b8784697d9fbe73d3883cf42d260f19138d8f5/lib/appium_lib/ios/element/text.rb#L8) ios
+##### [static_text_class](https://github.com/appium/ruby_lib/blob/07ebd5767f3e9fafdfb597ec186b0e7f5384a839/lib/appium_lib/ios/element/text.rb#L8) ios
> def static_text_class
@@ -1203,11 +1247,11 @@
[String] Class name for text
--
-##### [text](https://github.com/appium/ruby_lib/blob/b9b8784697d9fbe73d3883cf42d260f19138d8f5/lib/appium_lib/ios/element/text.rb#L16) ios
+##### [text](https://github.com/appium/ruby_lib/blob/07ebd5767f3e9fafdfb597ec186b0e7f5384a839/lib/appium_lib/ios/element/text.rb#L16) ios
> def text(value)
Find the first UIAStaticText|XCUIElementTypeStaticText that contains value or by index.
If int then the UIAStaticText|XCUIElementTypeStaticText at that index is returned.
@@ -1220,11 +1264,11 @@
[UIAStaticText|XCUIElementTypeStaticText]
--
-##### [texts](https://github.com/appium/ruby_lib/blob/b9b8784697d9fbe73d3883cf42d260f19138d8f5/lib/appium_lib/ios/element/text.rb#L25) ios
+##### [texts](https://github.com/appium/ruby_lib/blob/07ebd5767f3e9fafdfb597ec186b0e7f5384a839/lib/appium_lib/ios/element/text.rb#L25) ios
> def texts(value = false)
Find all UIAStaticTexts|XCUIElementTypeStaticTexts containing value.
If value is omitted, all UIAStaticTexts|XCUIElementTypeStaticTexts are returned
@@ -1237,11 +1281,11 @@
[Array<UIAStaticText|XCUIElementTypeStaticText>]
--
-##### [first_text](https://github.com/appium/ruby_lib/blob/b9b8784697d9fbe73d3883cf42d260f19138d8f5/lib/appium_lib/ios/element/text.rb#L32) ios
+##### [first_text](https://github.com/appium/ruby_lib/blob/07ebd5767f3e9fafdfb597ec186b0e7f5384a839/lib/appium_lib/ios/element/text.rb#L32) ios
> def first_text
Find the first UIAStaticText|XCUIElementTypeStaticText.
@@ -1249,11 +1293,11 @@
[UIAStaticText|XCUIElementTypeStaticText]
--
-##### [last_text](https://github.com/appium/ruby_lib/blob/b9b8784697d9fbe73d3883cf42d260f19138d8f5/lib/appium_lib/ios/element/text.rb#L38) ios
+##### [last_text](https://github.com/appium/ruby_lib/blob/07ebd5767f3e9fafdfb597ec186b0e7f5384a839/lib/appium_lib/ios/element/text.rb#L38) ios
> def last_text
Find the last UIAStaticText|XCUIElementTypeStaticText.
@@ -1261,11 +1305,11 @@
[UIAStaticText|XCUIElementTypeStaticText]
--
-##### [text_exact](https://github.com/appium/ruby_lib/blob/b9b8784697d9fbe73d3883cf42d260f19138d8f5/lib/appium_lib/ios/element/text.rb#L45) ios
+##### [text_exact](https://github.com/appium/ruby_lib/blob/07ebd5767f3e9fafdfb597ec186b0e7f5384a839/lib/appium_lib/ios/element/text.rb#L45) ios
> def text_exact(value)
Find the first UIAStaticText|XCUIElementTypeStaticText that exactly matches value.
@@ -1277,11 +1321,11 @@
[UIAStaticText|XCUIElementTypeStaticText]
--
-##### [texts_exact](https://github.com/appium/ruby_lib/blob/b9b8784697d9fbe73d3883cf42d260f19138d8f5/lib/appium_lib/ios/element/text.rb#L52) ios
+##### [texts_exact](https://github.com/appium/ruby_lib/blob/07ebd5767f3e9fafdfb597ec186b0e7f5384a839/lib/appium_lib/ios/element/text.rb#L52) ios
> def texts_exact(value)
Find all UIAStaticTexts|XCUIElementTypeStaticTexts that exactly match value.
@@ -1293,19 +1337,19 @@
[Array<UIAStaticText|XCUIElementTypeStaticText>]
--
-##### [filter](https://github.com/appium/ruby_lib/blob/b9b8784697d9fbe73d3883cf42d260f19138d8f5/lib/appium_lib/ios/common/helper.rb#L5) ios
+##### [filter](https://github.com/appium/ruby_lib/blob/07ebd5767f3e9fafdfb597ec186b0e7f5384a839/lib/appium_lib/ios/common/helper.rb#L5) ios
> def filter
Returns the value of attribute filter
--
-##### [filter=](https://github.com/appium/ruby_lib/blob/b9b8784697d9fbe73d3883cf42d260f19138d8f5/lib/appium_lib/ios/common/helper.rb#L5) ios
+##### [filter=](https://github.com/appium/ruby_lib/blob/07ebd5767f3e9fafdfb597ec186b0e7f5384a839/lib/appium_lib/ios/common/helper.rb#L5) ios
> def filter=(value)
Sets the attribute filter
@@ -1313,19 +1357,19 @@
value - the value to set the attribute filter to.
--
-##### [start_element](https://github.com/appium/ruby_lib/blob/b9b8784697d9fbe73d3883cf42d260f19138d8f5/lib/appium_lib/ios/common/helper.rb#L7) ios
+##### [start_element](https://github.com/appium/ruby_lib/blob/07ebd5767f3e9fafdfb597ec186b0e7f5384a839/lib/appium_lib/ios/common/helper.rb#L7) ios
> def start_element(type, attrs = [])
--
-##### [ios_password](https://github.com/appium/ruby_lib/blob/b9b8784697d9fbe73d3883cf42d260f19138d8f5/lib/appium_lib/ios/common/helper.rb#L44) ios
+##### [ios_password](https://github.com/appium/ruby_lib/blob/07ebd5767f3e9fafdfb597ec186b0e7f5384a839/lib/appium_lib/ios/common/helper.rb#L44) ios
> def ios_password(length = 1)
iOS only. On Android uiautomator always returns an empty string for EditText password.
@@ -1339,11 +1383,11 @@
[String] the returned string is of size length
--
-##### [page](https://github.com/appium/ruby_lib/blob/b9b8784697d9fbe73d3883cf42d260f19138d8f5/lib/appium_lib/ios/common/helper.rb#L60) ios
+##### [page](https://github.com/appium/ruby_lib/blob/07ebd5767f3e9fafdfb597ec186b0e7f5384a839/lib/appium_lib/ios/common/helper.rb#L60) ios
> def page(opts = {})
Prints a string of interesting elements to the console.
@@ -1357,11 +1401,11 @@
[void]
--
-##### [source_window](https://github.com/appium/ruby_lib/blob/b9b8784697d9fbe73d3883cf42d260f19138d8f5/lib/appium_lib/ios/common/helper.rb#L84) ios
+##### [source_window](https://github.com/appium/ruby_lib/blob/07ebd5767f3e9fafdfb597ec186b0e7f5384a839/lib/appium_lib/ios/common/helper.rb#L84) ios
> def source_window(_window_number = nil)
Gets the JSON source of window number
@@ -1369,11 +1413,11 @@
[JSON]
--
-##### [id](https://github.com/appium/ruby_lib/blob/b9b8784697d9fbe73d3883cf42d260f19138d8f5/lib/appium_lib/ios/common/helper.rb#L92) ios
+##### [id](https://github.com/appium/ruby_lib/blob/07ebd5767f3e9fafdfb597ec186b0e7f5384a839/lib/appium_lib/ios/common/helper.rb#L92) ios
> def id(id)
Find by id
@@ -1385,11 +1429,11 @@
[Element]
--
-##### [ele_index](https://github.com/appium/ruby_lib/blob/b9b8784697d9fbe73d3883cf42d260f19138d8f5/lib/appium_lib/ios/common/helper.rb#L100) ios
+##### [ele_index](https://github.com/appium/ruby_lib/blob/07ebd5767f3e9fafdfb597ec186b0e7f5384a839/lib/appium_lib/ios/common/helper.rb#L100) ios
> def ele_index(class_name, index)
Get the element of type class_name at matching index.
@@ -1403,11 +1447,11 @@
[Element]
--
-##### [find_ele_by_attr](https://github.com/appium/ruby_lib/blob/b9b8784697d9fbe73d3883cf42d260f19138d8f5/lib/appium_lib/ios/common/helper.rb#L128) ios
+##### [find_ele_by_attr](https://github.com/appium/ruby_lib/blob/07ebd5767f3e9fafdfb597ec186b0e7f5384a839/lib/appium_lib/ios/common/helper.rb#L128) ios
> def find_ele_by_attr(class_name, attr, value)
Find the first element exactly matching class and attribute value.
Note: Uses XPath
@@ -1425,11 +1469,11 @@
[Element]
--
-##### [find_eles_by_attr](https://github.com/appium/ruby_lib/blob/b9b8784697d9fbe73d3883cf42d260f19138d8f5/lib/appium_lib/ios/common/helper.rb#L139) ios
+##### [find_eles_by_attr](https://github.com/appium/ruby_lib/blob/07ebd5767f3e9fafdfb597ec186b0e7f5384a839/lib/appium_lib/ios/common/helper.rb#L139) ios
> def find_eles_by_attr(class_name, attr, value)
Find all elements exactly matching class and attribute value.
Note: Uses XPath
@@ -1447,11 +1491,11 @@
[Array<Element>]
--
-##### [find_ele_by_predicate](https://github.com/appium/ruby_lib/blob/b9b8784697d9fbe73d3883cf42d260f19138d8f5/lib/appium_lib/ios/common/helper.rb#L152) ios
+##### [find_ele_by_predicate](https://github.com/appium/ruby_lib/blob/07ebd5767f3e9fafdfb597ec186b0e7f5384a839/lib/appium_lib/ios/common/helper.rb#L152) ios
> def find_ele_by_predicate(class_name: '*', value:)
Find the first element exactly matching attribute case insensitive value.
Note: Uses Predicate
@@ -1464,11 +1508,11 @@
[Element]
--
-##### [find_eles_by_predicate](https://github.com/appium/ruby_lib/blob/b9b8784697d9fbe73d3883cf42d260f19138d8f5/lib/appium_lib/ios/common/helper.rb#L163) ios
+##### [find_eles_by_predicate](https://github.com/appium/ruby_lib/blob/07ebd5767f3e9fafdfb597ec186b0e7f5384a839/lib/appium_lib/ios/common/helper.rb#L163) ios
> def find_eles_by_predicate(class_name: '*', value:)
Find all elements exactly matching attribute case insensitive value.
Note: Uses Predicate
@@ -1483,11 +1527,11 @@
[Array<Element>]
--
-##### [find_ele_by_attr_include](https://github.com/appium/ruby_lib/blob/b9b8784697d9fbe73d3883cf42d260f19138d8f5/lib/appium_lib/ios/common/helper.rb#L179) ios
+##### [find_ele_by_attr_include](https://github.com/appium/ruby_lib/blob/07ebd5767f3e9fafdfb597ec186b0e7f5384a839/lib/appium_lib/ios/common/helper.rb#L179) ios
> def find_ele_by_attr_include(class_name, attr, value)
Get the first tag by attribute that exactly matches value.
Note: Uses XPath
@@ -1504,11 +1548,11 @@
[Element] the element of type tag who's attribute includes value
--
-##### [find_eles_by_attr_include](https://github.com/appium/ruby_lib/blob/b9b8784697d9fbe73d3883cf42d260f19138d8f5/lib/appium_lib/ios/common/helper.rb#L189) ios
+##### [find_eles_by_attr_include](https://github.com/appium/ruby_lib/blob/07ebd5767f3e9fafdfb597ec186b0e7f5384a839/lib/appium_lib/ios/common/helper.rb#L189) ios
> def find_eles_by_attr_include(class_name, attr, value)
Get tags by attribute that include value.
Note: Uses XPath
@@ -1525,11 +1569,11 @@
[Array<Element>] the elements of type tag who's attribute includes value
--
-##### [find_ele_by_predicate_include](https://github.com/appium/ruby_lib/blob/b9b8784697d9fbe73d3883cf42d260f19138d8f5/lib/appium_lib/ios/common/helper.rb#L197) ios
+##### [find_ele_by_predicate_include](https://github.com/appium/ruby_lib/blob/07ebd5767f3e9fafdfb597ec186b0e7f5384a839/lib/appium_lib/ios/common/helper.rb#L197) ios
> def find_ele_by_predicate_include(class_name: '*', value:)
Get the first elements that include insensitive value.
Note: Uses Predicate
@@ -1542,11 +1586,11 @@
[Element] the element of type tag who's attribute includes value
--
-##### [find_eles_by_predicate_include](https://github.com/appium/ruby_lib/blob/b9b8784697d9fbe73d3883cf42d260f19138d8f5/lib/appium_lib/ios/common/helper.rb#L208) ios
+##### [find_eles_by_predicate_include](https://github.com/appium/ruby_lib/blob/07ebd5767f3e9fafdfb597ec186b0e7f5384a839/lib/appium_lib/ios/common/helper.rb#L208) ios
> def find_eles_by_predicate_include(class_name: '*', value:)
Get elements that include case insensitive value.
Note: Uses Predicate
@@ -1561,11 +1605,11 @@
[Array<Element>] the elements of type tag who's attribute includes value
--
-##### [first_ele](https://github.com/appium/ruby_lib/blob/b9b8784697d9fbe73d3883cf42d260f19138d8f5/lib/appium_lib/ios/common/helper.rb#L221) ios
+##### [first_ele](https://github.com/appium/ruby_lib/blob/07ebd5767f3e9fafdfb597ec186b0e7f5384a839/lib/appium_lib/ios/common/helper.rb#L221) ios
> def first_ele(class_name)
Get the first tag that matches class_name
@@ -1577,11 +1621,11 @@
[Element]
--
-##### [last_ele](https://github.com/appium/ruby_lib/blob/b9b8784697d9fbe73d3883cf42d260f19138d8f5/lib/appium_lib/ios/common/helper.rb#L228) ios
+##### [last_ele](https://github.com/appium/ruby_lib/blob/07ebd5767f3e9fafdfb597ec186b0e7f5384a839/lib/appium_lib/ios/common/helper.rb#L228) ios
> def last_ele(class_name)
Get the last tag that matches class_name
@@ -1593,11 +1637,11 @@
[Element]
--
-##### [tag](https://github.com/appium/ruby_lib/blob/b9b8784697d9fbe73d3883cf42d260f19138d8f5/lib/appium_lib/ios/common/helper.rb#L236) ios
+##### [tag](https://github.com/appium/ruby_lib/blob/07ebd5767f3e9fafdfb597ec186b0e7f5384a839/lib/appium_lib/ios/common/helper.rb#L236) ios
> def tag(class_name)
Returns the first **visible** element matching class_name
@@ -1609,11 +1653,11 @@
[Element]
--
-##### [tags](https://github.com/appium/ruby_lib/blob/b9b8784697d9fbe73d3883cf42d260f19138d8f5/lib/appium_lib/ios/common/helper.rb#L244) ios
+##### [tags](https://github.com/appium/ruby_lib/blob/07ebd5767f3e9fafdfb597ec186b0e7f5384a839/lib/appium_lib/ios/common/helper.rb#L244) ios
> def tags(class_name)
Returns all visible elements matching class_name
@@ -1625,11 +1669,11 @@
[Element]
--
-##### [tags_include](https://github.com/appium/ruby_lib/blob/b9b8784697d9fbe73d3883cf42d260f19138d8f5/lib/appium_lib/ios/common/helper.rb#L255) ios
+##### [tags_include](https://github.com/appium/ruby_lib/blob/07ebd5767f3e9fafdfb597ec186b0e7f5384a839/lib/appium_lib/ios/common/helper.rb#L255) ios
> def tags_include(class_names:, value: nil)
Returns all visible elements matching class_names and value
This method calls find_element/s and element.value/text many times.
@@ -1645,11 +1689,11 @@
[Array[Element]]
--
-##### [tags_exact](https://github.com/appium/ruby_lib/blob/b9b8784697d9fbe73d3883cf42d260f19138d8f5/lib/appium_lib/ios/common/helper.rb#L270) ios
+##### [tags_exact](https://github.com/appium/ruby_lib/blob/07ebd5767f3e9fafdfb597ec186b0e7f5384a839/lib/appium_lib/ios/common/helper.rb#L270) ios
> def tags_exact(class_names:, value: nil)
Returns all visible elements matching class_names and value.
This method calls find_element/s and element.value/text many times.
@@ -1665,11 +1709,11 @@
[Array[Element]]
--
-##### [ele_by_json_visible_contains](https://github.com/appium/ruby_lib/blob/b9b8784697d9fbe73d3883cf42d260f19138d8f5/lib/appium_lib/ios/common/helper.rb#L307) ios
+##### [ele_by_json_visible_contains](https://github.com/appium/ruby_lib/blob/07ebd5767f3e9fafdfb597ec186b0e7f5384a839/lib/appium_lib/ios/common/helper.rb#L307) ios
> def ele_by_json_visible_contains(element, value)
Find the first element that contains value.
For Appium(automation name), not XCUITest
@@ -1684,11 +1728,11 @@
[Element]
--
-##### [eles_by_json_visible_contains](https://github.com/appium/ruby_lib/blob/b9b8784697d9fbe73d3883cf42d260f19138d8f5/lib/appium_lib/ios/common/helper.rb#L316) ios
+##### [eles_by_json_visible_contains](https://github.com/appium/ruby_lib/blob/07ebd5767f3e9fafdfb597ec186b0e7f5384a839/lib/appium_lib/ios/common/helper.rb#L316) ios
> def eles_by_json_visible_contains(element, value)
Find all elements containing value
For Appium(automation name), not XCUITest
@@ -1703,11 +1747,11 @@
[Array<Element>]
--
-##### [ele_by_json_visible_exact](https://github.com/appium/ruby_lib/blob/b9b8784697d9fbe73d3883cf42d260f19138d8f5/lib/appium_lib/ios/common/helper.rb#L346) ios
+##### [ele_by_json_visible_exact](https://github.com/appium/ruby_lib/blob/07ebd5767f3e9fafdfb597ec186b0e7f5384a839/lib/appium_lib/ios/common/helper.rb#L346) ios
> def ele_by_json_visible_exact(element, value)
Find the first element exactly matching value
For Appium(automation name), not XCUITest
@@ -1722,11 +1766,11 @@
[Element]
--
-##### [eles_by_json_visible_exact](https://github.com/appium/ruby_lib/blob/b9b8784697d9fbe73d3883cf42d260f19138d8f5/lib/appium_lib/ios/common/helper.rb#L355) ios
+##### [eles_by_json_visible_exact](https://github.com/appium/ruby_lib/blob/07ebd5767f3e9fafdfb597ec186b0e7f5384a839/lib/appium_lib/ios/common/helper.rb#L355) ios
> def eles_by_json_visible_exact(element, value)
Find all elements exactly matching value
For Appium(automation name), not XCUITest
@@ -1741,21 +1785,21 @@
[Element]
--
-##### [_all_pred](https://github.com/appium/ruby_lib/blob/b9b8784697d9fbe73d3883cf42d260f19138d8f5/lib/appium_lib/ios/common/helper.rb#L364) ios
+##### [_all_pred](https://github.com/appium/ruby_lib/blob/07ebd5767f3e9fafdfb597ec186b0e7f5384a839/lib/appium_lib/ios/common/helper.rb#L364) ios
> def _all_pred(opts)
predicate - the predicate to evaluate on the main app
visible - if true, only visible elements are returned. default true
--
-##### [ele_with_pred](https://github.com/appium/ruby_lib/blob/b9b8784697d9fbe73d3883cf42d260f19138d8f5/lib/appium_lib/ios/common/helper.rb#L377) ios
+##### [ele_with_pred](https://github.com/appium/ruby_lib/blob/07ebd5767f3e9fafdfb597ec186b0e7f5384a839/lib/appium_lib/ios/common/helper.rb#L377) ios
> def ele_with_pred(opts)
returns element matching predicate contained in the main app
@@ -1767,11 +1811,11 @@
[Element]
--
-##### [eles_with_pred](https://github.com/appium/ruby_lib/blob/b9b8784697d9fbe73d3883cf42d260f19138d8f5/lib/appium_lib/ios/common/helper.rb#L388) ios
+##### [eles_with_pred](https://github.com/appium/ruby_lib/blob/07ebd5767f3e9fafdfb597ec186b0e7f5384a839/lib/appium_lib/ios/common/helper.rb#L388) ios
> def eles_with_pred(opts)
returns elements matching predicate contained in the main app
@@ -1783,11 +1827,11 @@
[Array<Element>]
--
-##### [source](https://github.com/appium/ruby_lib/blob/b9b8784697d9fbe73d3883cf42d260f19138d8f5/lib/appium_lib/ios/common/helper.rb#L394) ios
+##### [source](https://github.com/appium/ruby_lib/blob/07ebd5767f3e9fafdfb597ec186b0e7f5384a839/lib/appium_lib/ios/common/helper.rb#L394) ios
> def source
Prints xml of the current page
@@ -1795,19 +1839,19 @@
[void]
--
-##### [_validate_object](https://github.com/appium/ruby_lib/blob/b9b8784697d9fbe73d3883cf42d260f19138d8f5/lib/appium_lib/ios/common/helper.rb#L398) ios
+##### [_validate_object](https://github.com/appium/ruby_lib/blob/07ebd5767f3e9fafdfb597ec186b0e7f5384a839/lib/appium_lib/ios/common/helper.rb#L398) ios
> def _validate_object(*objects)
--
-##### [_by_json](https://github.com/appium/ruby_lib/blob/b9b8784697d9fbe73d3883cf42d260f19138d8f5/lib/appium_lib/ios/common/helper.rb#L447) ios
+##### [_by_json](https://github.com/appium/ruby_lib/blob/07ebd5767f3e9fafdfb597ec186b0e7f5384a839/lib/appium_lib/ios/common/helper.rb#L447) ios
> def _by_json(opts)
For Appium(automation name), not XCUITest
typeArray - array of string types to search for. Example: ["UIAStaticText"]
@@ -1838,11 +1882,11 @@
}
}
--
-##### [eles_by_json](https://github.com/appium/ruby_lib/blob/b9b8784697d9fbe73d3883cf42d260f19138d8f5/lib/appium_lib/ios/common/helper.rb#L497) ios
+##### [eles_by_json](https://github.com/appium/ruby_lib/blob/07ebd5767f3e9fafdfb597ec186b0e7f5384a839/lib/appium_lib/ios/common/helper.rb#L497) ios
> def eles_by_json(opts)
For Appium(automation name), not XCUITest
example usage:
@@ -1857,19 +1901,19 @@
},
})
--
-##### [ele_by_json](https://github.com/appium/ruby_lib/blob/b9b8784697d9fbe73d3883cf42d260f19138d8f5/lib/appium_lib/ios/common/helper.rb#L503) ios
+##### [ele_by_json](https://github.com/appium/ruby_lib/blob/07ebd5767f3e9fafdfb597ec186b0e7f5384a839/lib/appium_lib/ios/common/helper.rb#L503) ios
> def ele_by_json(opts)
see eles_by_json
--
-##### [get_source](https://github.com/appium/ruby_lib/blob/b9b8784697d9fbe73d3883cf42d260f19138d8f5/lib/appium_lib/ios/common/helper.rb#L513) ios
+##### [get_source](https://github.com/appium/ruby_lib/blob/07ebd5767f3e9fafdfb597ec186b0e7f5384a839/lib/appium_lib/ios/common/helper.rb#L513) ios
> def get_source
Returns XML string for the current page
Same as driver.page_source
@@ -1878,11 +1922,11 @@
[String]
--
-##### [alert_accept](https://github.com/appium/ruby_lib/blob/b9b8784697d9fbe73d3883cf42d260f19138d8f5/lib/appium_lib/ios/element/alert.rb#L5) ios
+##### [alert_accept](https://github.com/appium/ruby_lib/blob/07ebd5767f3e9fafdfb597ec186b0e7f5384a839/lib/appium_lib/ios/element/alert.rb#L5) ios
> def alert_accept
Accept the alert.
@@ -1890,11 +1934,11 @@
[void]
--
-##### [alert_dismiss](https://github.com/appium/ruby_lib/blob/b9b8784697d9fbe73d3883cf42d260f19138d8f5/lib/appium_lib/ios/element/alert.rb#L13) ios
+##### [alert_dismiss](https://github.com/appium/ruby_lib/blob/07ebd5767f3e9fafdfb597ec186b0e7f5384a839/lib/appium_lib/ios/element/alert.rb#L13) ios
> def alert_dismiss
Dismiss the alert.
@@ -1902,27 +1946,27 @@
[void]
--
-##### [UIAButton](https://github.com/appium/ruby_lib/blob/b9b8784697d9fbe73d3883cf42d260f19138d8f5/lib/appium_lib/ios/element/button.rb#L4) ios
+##### [UIAButton](https://github.com/appium/ruby_lib/blob/07ebd5767f3e9fafdfb597ec186b0e7f5384a839/lib/appium_lib/ios/element/button.rb#L4) ios
> UIAButton = 'UIAButton'.freeze
--
-##### [XCUIElementTypeButton](https://github.com/appium/ruby_lib/blob/b9b8784697d9fbe73d3883cf42d260f19138d8f5/lib/appium_lib/ios/element/button.rb#L5) ios
+##### [XCUIElementTypeButton](https://github.com/appium/ruby_lib/blob/07ebd5767f3e9fafdfb597ec186b0e7f5384a839/lib/appium_lib/ios/element/button.rb#L5) ios
> XCUIElementTypeButton = 'XCUIElementTypeButton'.freeze
--
-##### [button_class](https://github.com/appium/ruby_lib/blob/b9b8784697d9fbe73d3883cf42d260f19138d8f5/lib/appium_lib/ios/element/button.rb#L8) ios
+##### [button_class](https://github.com/appium/ruby_lib/blob/07ebd5767f3e9fafdfb597ec186b0e7f5384a839/lib/appium_lib/ios/element/button.rb#L8) ios
> def button_class
@@ -1930,11 +1974,11 @@
[String] Class name for button
--
-##### [button](https://github.com/appium/ruby_lib/blob/b9b8784697d9fbe73d3883cf42d260f19138d8f5/lib/appium_lib/ios/element/button.rb#L16) ios
+##### [button](https://github.com/appium/ruby_lib/blob/07ebd5767f3e9fafdfb597ec186b0e7f5384a839/lib/appium_lib/ios/element/button.rb#L16) ios
> def button(value)
Find the first UIAButton|XCUIElementTypeButton that contains value or by index.
If int then the UIAButton|XCUIElementTypeButton at that index is returned.
@@ -1947,11 +1991,11 @@
[UIAButton|XCUIElementTypeButton]
--
-##### [buttons](https://github.com/appium/ruby_lib/blob/b9b8784697d9fbe73d3883cf42d260f19138d8f5/lib/appium_lib/ios/element/button.rb#L26) ios
+##### [buttons](https://github.com/appium/ruby_lib/blob/07ebd5767f3e9fafdfb597ec186b0e7f5384a839/lib/appium_lib/ios/element/button.rb#L26) ios
> def buttons(value = false)
Find all UIAButtons|XCUIElementTypeButtons containing value.
If value is omitted, all UIAButtons|XCUIElementTypeButtons are returned.
@@ -1964,11 +2008,11 @@
[Array<UIAButton|XCUIElementTypeButton>]
--
-##### [first_button](https://github.com/appium/ruby_lib/blob/b9b8784697d9fbe73d3883cf42d260f19138d8f5/lib/appium_lib/ios/element/button.rb#L33) ios
+##### [first_button](https://github.com/appium/ruby_lib/blob/07ebd5767f3e9fafdfb597ec186b0e7f5384a839/lib/appium_lib/ios/element/button.rb#L33) ios
> def first_button
Find the first UIAButton|XCUIElementTypeButton.
@@ -1976,11 +2020,11 @@
[UIAButton|XCUIElementTypeButton]
--
-##### [last_button](https://github.com/appium/ruby_lib/blob/b9b8784697d9fbe73d3883cf42d260f19138d8f5/lib/appium_lib/ios/element/button.rb#L41) ios
+##### [last_button](https://github.com/appium/ruby_lib/blob/07ebd5767f3e9fafdfb597ec186b0e7f5384a839/lib/appium_lib/ios/element/button.rb#L41) ios
> def last_button
TODO: add documentation regarding previous element.
Previous UIAElement is differ from UIAButton|XCUIElementTypeButton. So, the results are different.
@@ -1990,11 +2034,11 @@
[UIAButton|XCUIElementTypeButton]
--
-##### [button_exact](https://github.com/appium/ruby_lib/blob/b9b8784697d9fbe73d3883cf42d260f19138d8f5/lib/appium_lib/ios/element/button.rb#L48) ios
+##### [button_exact](https://github.com/appium/ruby_lib/blob/07ebd5767f3e9fafdfb597ec186b0e7f5384a839/lib/appium_lib/ios/element/button.rb#L48) ios
> def button_exact(value)
Find the first UIAButton|XCUIElementTypeButton that exactly matches value.
@@ -2006,11 +2050,11 @@
[UIAButton|XCUIElementTypeButton]
--
-##### [buttons_exact](https://github.com/appium/ruby_lib/blob/b9b8784697d9fbe73d3883cf42d260f19138d8f5/lib/appium_lib/ios/element/button.rb#L55) ios
+##### [buttons_exact](https://github.com/appium/ruby_lib/blob/07ebd5767f3e9fafdfb597ec186b0e7f5384a839/lib/appium_lib/ios/element/button.rb#L55) ios
> def buttons_exact(value)
Find all UIAButtons|XCUIElementTypeButtons that exactly match value.
@@ -2022,11 +2066,11 @@
[Array<UIAButton|XCUIElementTypeButton>]
--
-##### [find](https://github.com/appium/ruby_lib/blob/b9b8784697d9fbe73d3883cf42d260f19138d8f5/lib/appium_lib/ios/element/generic.rb#L6) ios
+##### [find](https://github.com/appium/ruby_lib/blob/07ebd5767f3e9fafdfb597ec186b0e7f5384a839/lib/appium_lib/ios/element/generic.rb#L6) ios
> def find(value)
Find the first element containing value
@@ -2038,11 +2082,11 @@
[Element]
--
-##### [finds](https://github.com/appium/ruby_lib/blob/b9b8784697d9fbe73d3883cf42d260f19138d8f5/lib/appium_lib/ios/element/generic.rb#L13) ios
+##### [finds](https://github.com/appium/ruby_lib/blob/07ebd5767f3e9fafdfb597ec186b0e7f5384a839/lib/appium_lib/ios/element/generic.rb#L13) ios
> def finds(value)
Find all elements containing value
@@ -2054,11 +2098,11 @@
[Array<Element>]
--
-##### [find_exact](https://github.com/appium/ruby_lib/blob/b9b8784697d9fbe73d3883cf42d260f19138d8f5/lib/appium_lib/ios/element/generic.rb#L20) ios
+##### [find_exact](https://github.com/appium/ruby_lib/blob/07ebd5767f3e9fafdfb597ec186b0e7f5384a839/lib/appium_lib/ios/element/generic.rb#L20) ios
> def find_exact(value)
Find the first element exactly matching value
@@ -2070,11 +2114,11 @@
[Element]
--
-##### [finds_exact](https://github.com/appium/ruby_lib/blob/b9b8784697d9fbe73d3883cf42d260f19138d8f5/lib/appium_lib/ios/element/generic.rb#L27) ios
+##### [finds_exact](https://github.com/appium/ruby_lib/blob/07ebd5767f3e9fafdfb597ec186b0e7f5384a839/lib/appium_lib/ios/element/generic.rb#L27) ios
> def finds_exact(value)
Find all elements exactly matching value
@@ -2086,35 +2130,35 @@
[Array<Element>]
--
-##### [raise_error_if_no_element](https://github.com/appium/ruby_lib/blob/b9b8784697d9fbe73d3883cf42d260f19138d8f5/lib/appium_lib/ios/element/generic.rb#L33) ios
+##### [raise_error_if_no_element](https://github.com/appium/ruby_lib/blob/07ebd5767f3e9fafdfb597ec186b0e7f5384a839/lib/appium_lib/ios/element/generic.rb#L33) ios
> def raise_error_if_no_element(element)
--
-##### [select_visible_elements](https://github.com/appium/ruby_lib/blob/b9b8784697d9fbe73d3883cf42d260f19138d8f5/lib/appium_lib/ios/element/generic.rb#L40) ios
+##### [select_visible_elements](https://github.com/appium/ruby_lib/blob/07ebd5767f3e9fafdfb597ec186b0e7f5384a839/lib/appium_lib/ios/element/generic.rb#L40) ios
> def select_visible_elements(elements)
Return visible elements.
--
-##### [for](https://github.com/appium/ruby_lib/blob/b9b8784697d9fbe73d3883cf42d260f19138d8f5/lib/appium_lib/ios/xcuitest/bridge.rb#L7) ios
+##### [for](https://github.com/appium/ruby_lib/blob/07ebd5767f3e9fafdfb597ec186b0e7f5384a839/lib/appium_lib/ios/xcuitest/bridge.rb#L7) ios
> def self.for(target)
--
-##### [last_ele](https://github.com/appium/ruby_lib/blob/b9b8784697d9fbe73d3883cf42d260f19138d8f5/lib/appium_lib/ios/xcuitest/helper.rb#L26) ios
+##### [last_ele](https://github.com/appium/ruby_lib/blob/07ebd5767f3e9fafdfb597ec186b0e7f5384a839/lib/appium_lib/ios/xcuitest/helper.rb#L26) ios
> def last_ele(class_name)
Get the last tag that matches class_name
@@ -2126,11 +2170,11 @@
[Element]
--
-##### [tag](https://github.com/appium/ruby_lib/blob/b9b8784697d9fbe73d3883cf42d260f19138d8f5/lib/appium_lib/ios/xcuitest/helper.rb#L36) ios
+##### [tag](https://github.com/appium/ruby_lib/blob/07ebd5767f3e9fafdfb597ec186b0e7f5384a839/lib/appium_lib/ios/xcuitest/helper.rb#L36) ios
> def tag(class_name)
Returns the first **visible** element matching class_name
@@ -2142,11 +2186,11 @@
[Element]
--
-##### [tags](https://github.com/appium/ruby_lib/blob/b9b8784697d9fbe73d3883cf42d260f19138d8f5/lib/appium_lib/ios/xcuitest/helper.rb#L44) ios
+##### [tags](https://github.com/appium/ruby_lib/blob/07ebd5767f3e9fafdfb597ec186b0e7f5384a839/lib/appium_lib/ios/xcuitest/helper.rb#L44) ios
> def tags(class_name)
Returns all visible elements matching class_name
@@ -2158,11 +2202,11 @@
[Element]
--
-##### [tags_include](https://github.com/appium/ruby_lib/blob/b9b8784697d9fbe73d3883cf42d260f19138d8f5/lib/appium_lib/ios/xcuitest/helper.rb#L56) ios
+##### [tags_include](https://github.com/appium/ruby_lib/blob/07ebd5767f3e9fafdfb597ec186b0e7f5384a839/lib/appium_lib/ios/xcuitest/helper.rb#L56) ios
> def tags_include(class_names:, value: nil)
Returns all visible elements matching class_names and value
This method calls find_element/s and element.value/text many times.
@@ -2178,11 +2222,11 @@
[Array[Element]]
--
-##### [tags_exact](https://github.com/appium/ruby_lib/blob/b9b8784697d9fbe73d3883cf42d260f19138d8f5/lib/appium_lib/ios/xcuitest/helper.rb#L79) ios
+##### [tags_exact](https://github.com/appium/ruby_lib/blob/07ebd5767f3e9fafdfb597ec186b0e7f5384a839/lib/appium_lib/ios/xcuitest/helper.rb#L79) ios
> def tags_exact(class_names:, value: nil)
Returns all visible elements matching class_names and value.
This method calls find_element/s and element.value/text many times.
@@ -2198,43 +2242,43 @@
[Array[Element]]
--
-##### [UIATextField](https://github.com/appium/ruby_lib/blob/b9b8784697d9fbe73d3883cf42d260f19138d8f5/lib/appium_lib/ios/element/textfield.rb#L3) ios
+##### [UIATextField](https://github.com/appium/ruby_lib/blob/07ebd5767f3e9fafdfb597ec186b0e7f5384a839/lib/appium_lib/ios/element/textfield.rb#L3) ios
> UIATextField = 'UIATextField'.freeze
--
-##### [UIASecureTextField](https://github.com/appium/ruby_lib/blob/b9b8784697d9fbe73d3883cf42d260f19138d8f5/lib/appium_lib/ios/element/textfield.rb#L4) ios
+##### [UIASecureTextField](https://github.com/appium/ruby_lib/blob/07ebd5767f3e9fafdfb597ec186b0e7f5384a839/lib/appium_lib/ios/element/textfield.rb#L4) ios
> UIASecureTextField = 'UIASecureTextField'.freeze
--
-##### [XCUIElementTypeTextField](https://github.com/appium/ruby_lib/blob/b9b8784697d9fbe73d3883cf42d260f19138d8f5/lib/appium_lib/ios/element/textfield.rb#L6) ios
+##### [XCUIElementTypeTextField](https://github.com/appium/ruby_lib/blob/07ebd5767f3e9fafdfb597ec186b0e7f5384a839/lib/appium_lib/ios/element/textfield.rb#L6) ios
> XCUIElementTypeTextField = 'XCUIElementTypeTextField'.freeze
--
-##### [XCUIElementTypeSecureTextField](https://github.com/appium/ruby_lib/blob/b9b8784697d9fbe73d3883cf42d260f19138d8f5/lib/appium_lib/ios/element/textfield.rb#L7) ios
+##### [XCUIElementTypeSecureTextField](https://github.com/appium/ruby_lib/blob/07ebd5767f3e9fafdfb597ec186b0e7f5384a839/lib/appium_lib/ios/element/textfield.rb#L7) ios
> XCUIElementTypeSecureTextField = 'XCUIElementTypeSecureTextField'.freeze
--
-##### [text_field_class](https://github.com/appium/ruby_lib/blob/b9b8784697d9fbe73d3883cf42d260f19138d8f5/lib/appium_lib/ios/element/textfield.rb#L10) ios
+##### [text_field_class](https://github.com/appium/ruby_lib/blob/07ebd5767f3e9fafdfb597ec186b0e7f5384a839/lib/appium_lib/ios/element/textfield.rb#L10) ios
> def text_field_class
@@ -2242,11 +2286,11 @@
[String] Class name for text field
--
-##### [secure_text_field_class](https://github.com/appium/ruby_lib/blob/b9b8784697d9fbe73d3883cf42d260f19138d8f5/lib/appium_lib/ios/element/textfield.rb#L15) ios
+##### [secure_text_field_class](https://github.com/appium/ruby_lib/blob/07ebd5767f3e9fafdfb597ec186b0e7f5384a839/lib/appium_lib/ios/element/textfield.rb#L15) ios
> def secure_text_field_class
@@ -2254,11 +2298,11 @@
[String] Class name for secure text field
--
-##### [textfield](https://github.com/appium/ruby_lib/blob/b9b8784697d9fbe73d3883cf42d260f19138d8f5/lib/appium_lib/ios/element/textfield.rb#L24) ios
+##### [textfield](https://github.com/appium/ruby_lib/blob/07ebd5767f3e9fafdfb597ec186b0e7f5384a839/lib/appium_lib/ios/element/textfield.rb#L24) ios
> def textfield(value)
Find the first TextField that contains value or by index.
Note: Uses XPath
@@ -2272,11 +2316,11 @@
[TextField]
--
-##### [textfields](https://github.com/appium/ruby_lib/blob/b9b8784697d9fbe73d3883cf42d260f19138d8f5/lib/appium_lib/ios/element/textfield.rb#L42) ios
+##### [textfields](https://github.com/appium/ruby_lib/blob/07ebd5767f3e9fafdfb597ec186b0e7f5384a839/lib/appium_lib/ios/element/textfield.rb#L42) ios
> def textfields(value = false)
Find all TextFields containing value.
If value is omitted, all TextFields are returned.
@@ -2289,11 +2333,11 @@
[Array<TextField>]
--
-##### [first_textfield](https://github.com/appium/ruby_lib/blob/b9b8784697d9fbe73d3883cf42d260f19138d8f5/lib/appium_lib/ios/element/textfield.rb#L49) ios
+##### [first_textfield](https://github.com/appium/ruby_lib/blob/07ebd5767f3e9fafdfb597ec186b0e7f5384a839/lib/appium_lib/ios/element/textfield.rb#L49) ios
> def first_textfield
Find the first TextField.
@@ -2301,11 +2345,11 @@
[TextField]
--
-##### [last_textfield](https://github.com/appium/ruby_lib/blob/b9b8784697d9fbe73d3883cf42d260f19138d8f5/lib/appium_lib/ios/element/textfield.rb#L55) ios
+##### [last_textfield](https://github.com/appium/ruby_lib/blob/07ebd5767f3e9fafdfb597ec186b0e7f5384a839/lib/appium_lib/ios/element/textfield.rb#L55) ios
> def last_textfield
Find the last TextField.
@@ -2313,11 +2357,11 @@
[TextField]
--
-##### [textfield_exact](https://github.com/appium/ruby_lib/blob/b9b8784697d9fbe73d3883cf42d260f19138d8f5/lib/appium_lib/ios/element/textfield.rb#L64) ios
+##### [textfield_exact](https://github.com/appium/ruby_lib/blob/07ebd5767f3e9fafdfb597ec186b0e7f5384a839/lib/appium_lib/ios/element/textfield.rb#L64) ios
> def textfield_exact(value)
Find the first TextField that exactly matches value.
@@ -2329,11 +2373,11 @@
[TextField]
--
-##### [textfields_exact](https://github.com/appium/ruby_lib/blob/b9b8784697d9fbe73d3883cf42d260f19138d8f5/lib/appium_lib/ios/element/textfield.rb#L71) ios
+##### [textfields_exact](https://github.com/appium/ruby_lib/blob/07ebd5767f3e9fafdfb597ec186b0e7f5384a839/lib/appium_lib/ios/element/textfield.rb#L71) ios
> def textfields_exact(value)
Find all TextFields that exactly match value.
@@ -2345,35 +2389,35 @@
[Array<TextField>]
--
-##### [_textfield_visible](https://github.com/appium/ruby_lib/blob/b9b8784697d9fbe73d3883cf42d260f19138d8f5/lib/appium_lib/ios/element/textfield.rb#L78) ios
+##### [_textfield_visible](https://github.com/appium/ruby_lib/blob/07ebd5767f3e9fafdfb597ec186b0e7f5384a839/lib/appium_lib/ios/element/textfield.rb#L78) ios
> def _textfield_visible
Appium
--
-##### [_textfield_exact_string](https://github.com/appium/ruby_lib/blob/b9b8784697d9fbe73d3883cf42d260f19138d8f5/lib/appium_lib/ios/element/textfield.rb#L83) ios
+##### [_textfield_exact_string](https://github.com/appium/ruby_lib/blob/07ebd5767f3e9fafdfb597ec186b0e7f5384a839/lib/appium_lib/ios/element/textfield.rb#L83) ios
> def _textfield_exact_string(value)
Appium
--
-##### [_textfield_contains_string](https://github.com/appium/ruby_lib/blob/b9b8784697d9fbe73d3883cf42d260f19138d8f5/lib/appium_lib/ios/element/textfield.rb#L90) ios
+##### [_textfield_contains_string](https://github.com/appium/ruby_lib/blob/07ebd5767f3e9fafdfb597ec186b0e7f5384a839/lib/appium_lib/ios/element/textfield.rb#L90) ios
> def _textfield_contains_string(value)
Appium
--
-##### [static_text_class](https://github.com/appium/ruby_lib/blob/b9b8784697d9fbe73d3883cf42d260f19138d8f5/lib/appium_lib/ios/xcuitest/element/text.rb#L9) ios
+##### [static_text_class](https://github.com/appium/ruby_lib/blob/07ebd5767f3e9fafdfb597ec186b0e7f5384a839/lib/appium_lib/ios/xcuitest/element/text.rb#L9) ios
> def static_text_class
@@ -2381,11 +2425,11 @@
[String] Class name for text
--
-##### [text](https://github.com/appium/ruby_lib/blob/b9b8784697d9fbe73d3883cf42d260f19138d8f5/lib/appium_lib/ios/xcuitest/element/text.rb#L17) ios
+##### [text](https://github.com/appium/ruby_lib/blob/07ebd5767f3e9fafdfb597ec186b0e7f5384a839/lib/appium_lib/ios/xcuitest/element/text.rb#L17) ios
> def text(value)
Find the first UIAStaticText|XCUIElementTypeStaticText that contains value or by index.
If int then the UIAStaticText|XCUIElementTypeStaticText at that index is returned.
@@ -2398,11 +2442,11 @@
[UIAStaticText|XCUIElementTypeStaticText]
--
-##### [texts](https://github.com/appium/ruby_lib/blob/b9b8784697d9fbe73d3883cf42d260f19138d8f5/lib/appium_lib/ios/xcuitest/element/text.rb#L26) ios
+##### [texts](https://github.com/appium/ruby_lib/blob/07ebd5767f3e9fafdfb597ec186b0e7f5384a839/lib/appium_lib/ios/xcuitest/element/text.rb#L26) ios
> def texts(value = false)
Find all UIAStaticTexts|XCUIElementTypeStaticTexts containing value.
If value is omitted, all UIAStaticTexts|XCUIElementTypeStaticTexts are returned
@@ -2415,11 +2459,11 @@
[Array<UIAStaticText|XCUIElementTypeStaticText>]
--
-##### [first_text](https://github.com/appium/ruby_lib/blob/b9b8784697d9fbe73d3883cf42d260f19138d8f5/lib/appium_lib/ios/xcuitest/element/text.rb#L34) ios
+##### [first_text](https://github.com/appium/ruby_lib/blob/07ebd5767f3e9fafdfb597ec186b0e7f5384a839/lib/appium_lib/ios/xcuitest/element/text.rb#L34) ios
> def first_text
Find the first UIAStaticText|XCUIElementTypeStaticText.
@@ -2427,11 +2471,11 @@
[UIAStaticText|XCUIElementTypeStaticText]
--
-##### [last_text](https://github.com/appium/ruby_lib/blob/b9b8784697d9fbe73d3883cf42d260f19138d8f5/lib/appium_lib/ios/xcuitest/element/text.rb#L40) ios
+##### [last_text](https://github.com/appium/ruby_lib/blob/07ebd5767f3e9fafdfb597ec186b0e7f5384a839/lib/appium_lib/ios/xcuitest/element/text.rb#L40) ios
> def last_text
Find the last UIAStaticText|XCUIElementTypeStaticText.
@@ -2439,11 +2483,11 @@
[UIAStaticText|XCUIElementTypeStaticText]
--
-##### [text_exact](https://github.com/appium/ruby_lib/blob/b9b8784697d9fbe73d3883cf42d260f19138d8f5/lib/appium_lib/ios/xcuitest/element/text.rb#L47) ios
+##### [text_exact](https://github.com/appium/ruby_lib/blob/07ebd5767f3e9fafdfb597ec186b0e7f5384a839/lib/appium_lib/ios/xcuitest/element/text.rb#L47) ios
> def text_exact(value)
Find the first UIAStaticText|XCUIElementTypeStaticText that exactly matches value.
@@ -2455,11 +2499,11 @@
[UIAStaticText|XCUIElementTypeStaticText]
--
-##### [texts_exact](https://github.com/appium/ruby_lib/blob/b9b8784697d9fbe73d3883cf42d260f19138d8f5/lib/appium_lib/ios/xcuitest/element/text.rb#L54) ios
+##### [texts_exact](https://github.com/appium/ruby_lib/blob/07ebd5767f3e9fafdfb597ec186b0e7f5384a839/lib/appium_lib/ios/xcuitest/element/text.rb#L54) ios
> def texts_exact(value)
Find all UIAStaticTexts|XCUIElementTypeStaticTexts that exactly match value.
@@ -2471,23 +2515,37 @@
[Array<UIAStaticText|XCUIElementTypeStaticText>]
--
-##### [button_class](https://github.com/appium/ruby_lib/blob/b9b8784697d9fbe73d3883cf42d260f19138d8f5/lib/appium_lib/ios/xcuitest/element/button.rb#L9) ios
+##### [xcuitest_source](https://github.com/appium/ruby_lib/blob/07ebd5767f3e9fafdfb597ec186b0e7f5384a839/lib/appium_lib/ios/xcuitest/command/source.rb#L11) ios
+> def xcuitest_source(format: :xml)
+
+
+
+__Parameters:__
+
+ [String|Symbol] format - :xml or :json. :xml is by default.
+
+ [Hash] opts - a customizable set of options
+
+--
+
+##### [button_class](https://github.com/appium/ruby_lib/blob/07ebd5767f3e9fafdfb597ec186b0e7f5384a839/lib/appium_lib/ios/xcuitest/element/button.rb#L9) ios
+
> def button_class
__Returns:__
[String] Class name for button
--
-##### [button](https://github.com/appium/ruby_lib/blob/b9b8784697d9fbe73d3883cf42d260f19138d8f5/lib/appium_lib/ios/xcuitest/element/button.rb#L17) ios
+##### [button](https://github.com/appium/ruby_lib/blob/07ebd5767f3e9fafdfb597ec186b0e7f5384a839/lib/appium_lib/ios/xcuitest/element/button.rb#L17) ios
> def button(value)
Find the first UIAButton|XCUIElementTypeButton that contains value or by index.
If int then the UIAButton|XCUIElementTypeButton at that index is returned.
@@ -2500,11 +2558,11 @@
[UIAButton|XCUIElementTypeButton]
--
-##### [buttons](https://github.com/appium/ruby_lib/blob/b9b8784697d9fbe73d3883cf42d260f19138d8f5/lib/appium_lib/ios/xcuitest/element/button.rb#L27) ios
+##### [buttons](https://github.com/appium/ruby_lib/blob/07ebd5767f3e9fafdfb597ec186b0e7f5384a839/lib/appium_lib/ios/xcuitest/element/button.rb#L27) ios
> def buttons(value = false)
Find all UIAButtons|XCUIElementTypeButtons containing value.
If value is omitted, all UIAButtons|XCUIElementTypeButtons are returned.
@@ -2517,11 +2575,11 @@
[Array<UIAButton|XCUIElementTypeButton>]
--
-##### [first_button](https://github.com/appium/ruby_lib/blob/b9b8784697d9fbe73d3883cf42d260f19138d8f5/lib/appium_lib/ios/xcuitest/element/button.rb#L35) ios
+##### [first_button](https://github.com/appium/ruby_lib/blob/07ebd5767f3e9fafdfb597ec186b0e7f5384a839/lib/appium_lib/ios/xcuitest/element/button.rb#L35) ios
> def first_button
Find the first UIAButton|XCUIElementTypeButton.
@@ -2529,11 +2587,11 @@
[UIAButton|XCUIElementTypeButton]
--
-##### [last_button](https://github.com/appium/ruby_lib/blob/b9b8784697d9fbe73d3883cf42d260f19138d8f5/lib/appium_lib/ios/xcuitest/element/button.rb#L43) ios
+##### [last_button](https://github.com/appium/ruby_lib/blob/07ebd5767f3e9fafdfb597ec186b0e7f5384a839/lib/appium_lib/ios/xcuitest/element/button.rb#L43) ios
> def last_button
TODO: add documentation regarding previous element.
Previous UIAElement is differ from UIAButton|XCUIElementTypeButton. So, the results are different.
@@ -2543,11 +2601,11 @@
[UIAButton|XCUIElementTypeButton]
--
-##### [button_exact](https://github.com/appium/ruby_lib/blob/b9b8784697d9fbe73d3883cf42d260f19138d8f5/lib/appium_lib/ios/xcuitest/element/button.rb#L50) ios
+##### [button_exact](https://github.com/appium/ruby_lib/blob/07ebd5767f3e9fafdfb597ec186b0e7f5384a839/lib/appium_lib/ios/xcuitest/element/button.rb#L50) ios
> def button_exact(value)
Find the first UIAButton|XCUIElementTypeButton that exactly matches value.
@@ -2559,11 +2617,11 @@
[UIAButton|XCUIElementTypeButton]
--
-##### [buttons_exact](https://github.com/appium/ruby_lib/blob/b9b8784697d9fbe73d3883cf42d260f19138d8f5/lib/appium_lib/ios/xcuitest/element/button.rb#L57) ios
+##### [buttons_exact](https://github.com/appium/ruby_lib/blob/07ebd5767f3e9fafdfb597ec186b0e7f5384a839/lib/appium_lib/ios/xcuitest/element/button.rb#L57) ios
> def buttons_exact(value)
Find all UIAButtons|XCUIElementTypeButtons that exactly match value.
@@ -2575,11 +2633,11 @@
[Array<UIAButton|XCUIElementTypeButton>]
--
-##### [find](https://github.com/appium/ruby_lib/blob/b9b8784697d9fbe73d3883cf42d260f19138d8f5/lib/appium_lib/ios/xcuitest/element/generic.rb#L8) ios
+##### [find](https://github.com/appium/ruby_lib/blob/07ebd5767f3e9fafdfb597ec186b0e7f5384a839/lib/appium_lib/ios/xcuitest/element/generic.rb#L8) ios
> def find(value)
Find the first element containing value
@@ -2591,11 +2649,11 @@
[Element]
--
-##### [finds](https://github.com/appium/ruby_lib/blob/b9b8784697d9fbe73d3883cf42d260f19138d8f5/lib/appium_lib/ios/xcuitest/element/generic.rb#L15) ios
+##### [finds](https://github.com/appium/ruby_lib/blob/07ebd5767f3e9fafdfb597ec186b0e7f5384a839/lib/appium_lib/ios/xcuitest/element/generic.rb#L15) ios
> def finds(value)
Find all elements containing value
@@ -2607,11 +2665,11 @@
[Array<Element>]
--
-##### [find_exact](https://github.com/appium/ruby_lib/blob/b9b8784697d9fbe73d3883cf42d260f19138d8f5/lib/appium_lib/ios/xcuitest/element/generic.rb#L23) ios
+##### [find_exact](https://github.com/appium/ruby_lib/blob/07ebd5767f3e9fafdfb597ec186b0e7f5384a839/lib/appium_lib/ios/xcuitest/element/generic.rb#L23) ios
> def find_exact(value)
Find the first element exactly matching value
@@ -2623,11 +2681,11 @@
[Element]
--
-##### [finds_exact](https://github.com/appium/ruby_lib/blob/b9b8784697d9fbe73d3883cf42d260f19138d8f5/lib/appium_lib/ios/xcuitest/element/generic.rb#L30) ios
+##### [finds_exact](https://github.com/appium/ruby_lib/blob/07ebd5767f3e9fafdfb597ec186b0e7f5384a839/lib/appium_lib/ios/xcuitest/element/generic.rb#L30) ios
> def finds_exact(value)
Find all elements exactly matching value
@@ -2639,27 +2697,27 @@
[Array<Element>]
--
-##### [raise_error_if_no_element](https://github.com/appium/ruby_lib/blob/b9b8784697d9fbe73d3883cf42d260f19138d8f5/lib/appium_lib/ios/xcuitest/element/generic.rb#L37) ios
+##### [raise_error_if_no_element](https://github.com/appium/ruby_lib/blob/07ebd5767f3e9fafdfb597ec186b0e7f5384a839/lib/appium_lib/ios/xcuitest/element/generic.rb#L37) ios
> def raise_error_if_no_element(element)
--
-##### [select_visible_elements](https://github.com/appium/ruby_lib/blob/b9b8784697d9fbe73d3883cf42d260f19138d8f5/lib/appium_lib/ios/xcuitest/element/generic.rb#L44) ios
+##### [select_visible_elements](https://github.com/appium/ruby_lib/blob/07ebd5767f3e9fafdfb597ec186b0e7f5384a839/lib/appium_lib/ios/xcuitest/element/generic.rb#L44) ios
> def select_visible_elements(elements)
Return visible elements.
--
-##### [swipe](https://github.com/appium/ruby_lib/blob/b9b8784697d9fbe73d3883cf42d260f19138d8f5/lib/appium_lib/ios/xcuitest/command/gestures.rb#L11) ios
+##### [swipe](https://github.com/appium/ruby_lib/blob/07ebd5767f3e9fafdfb597ec186b0e7f5384a839/lib/appium_lib/ios/xcuitest/command/gestures.rb#L11) ios
> def swipe(direction:, element: nil)
@@ -2669,11 +2727,11 @@
[Hash] opts - a customizable set of options
--
-##### [scroll](https://github.com/appium/ruby_lib/blob/b9b8784697d9fbe73d3883cf42d260f19138d8f5/lib/appium_lib/ios/xcuitest/command/gestures.rb#L29) ios
+##### [scroll](https://github.com/appium/ruby_lib/blob/07ebd5767f3e9fafdfb597ec186b0e7f5384a839/lib/appium_lib/ios/xcuitest/command/gestures.rb#L29) ios
> def scroll(direction:, name: nil, element: nil, to_visible: nil, predicate_string: nil)
@@ -2683,11 +2741,11 @@
[Hash] opts - a customizable set of options
--
-##### [pinch](https://github.com/appium/ruby_lib/blob/b9b8784697d9fbe73d3883cf42d260f19138d8f5/lib/appium_lib/ios/xcuitest/command/gestures.rb#L48) ios
+##### [pinch](https://github.com/appium/ruby_lib/blob/07ebd5767f3e9fafdfb597ec186b0e7f5384a839/lib/appium_lib/ios/xcuitest/command/gestures.rb#L48) ios
> def pinch(scale:, velocity: 1.0, element: nil)
@@ -2699,11 +2757,11 @@
[Hash] opts - a customizable set of options
--
-##### [double_tap](https://github.com/appium/ruby_lib/blob/b9b8784697d9fbe73d3883cf42d260f19138d8f5/lib/appium_lib/ios/xcuitest/command/gestures.rb#L63) ios
+##### [double_tap](https://github.com/appium/ruby_lib/blob/07ebd5767f3e9fafdfb597ec186b0e7f5384a839/lib/appium_lib/ios/xcuitest/command/gestures.rb#L63) ios
> def double_tap(x: nil, y: nil, element: nil)
@@ -2715,11 +2773,11 @@
[Hash] opts - a customizable set of options
--
-##### [touch_and_hold](https://github.com/appium/ruby_lib/blob/b9b8784697d9fbe73d3883cf42d260f19138d8f5/lib/appium_lib/ios/xcuitest/command/gestures.rb#L80) ios
+##### [touch_and_hold](https://github.com/appium/ruby_lib/blob/07ebd5767f3e9fafdfb597ec186b0e7f5384a839/lib/appium_lib/ios/xcuitest/command/gestures.rb#L80) ios
> def touch_and_hold(x: nil, y: nil, element: nil, duration: 1.0)
@@ -2733,11 +2791,11 @@
[Hash] opts - a customizable set of options
--
-##### [two_finger_tap](https://github.com/appium/ruby_lib/blob/b9b8784697d9fbe73d3883cf42d260f19138d8f5/lib/appium_lib/ios/xcuitest/command/gestures.rb#L93) ios
+##### [two_finger_tap](https://github.com/appium/ruby_lib/blob/07ebd5767f3e9fafdfb597ec186b0e7f5384a839/lib/appium_lib/ios/xcuitest/command/gestures.rb#L93) ios
> def two_finger_tap(element:)
@@ -2749,11 +2807,11 @@
two_finger_tap element: find_element(:accessibility_id, "some item")
```
--
-##### [tap](https://github.com/appium/ruby_lib/blob/b9b8784697d9fbe73d3883cf42d260f19138d8f5/lib/appium_lib/ios/xcuitest/command/gestures.rb#L108) ios
+##### [tap](https://github.com/appium/ruby_lib/blob/07ebd5767f3e9fafdfb597ec186b0e7f5384a839/lib/appium_lib/ios/xcuitest/command/gestures.rb#L108) ios
> def tap(x:, y:, element: nil)
@@ -2765,11 +2823,11 @@
[Hash] opts - a customizable set of options
--
-##### [drag_from_to_for_duration](https://github.com/appium/ruby_lib/blob/b9b8784697d9fbe73d3883cf42d260f19138d8f5/lib/appium_lib/ios/xcuitest/command/gestures.rb#L128) ios
+##### [drag_from_to_for_duration](https://github.com/appium/ruby_lib/blob/07ebd5767f3e9fafdfb597ec186b0e7f5384a839/lib/appium_lib/ios/xcuitest/command/gestures.rb#L128) ios
> def drag_from_to_for_duration(from_x:, from_y:, to_x:, to_y:, duration: 1.0, element: nil)
rubocop:disable Metrics/ParameterLists
@@ -2788,11 +2846,11 @@
[Hash] opts - a customizable set of options
--
-##### [select_picker_wheel](https://github.com/appium/ruby_lib/blob/b9b8784697d9fbe73d3883cf42d260f19138d8f5/lib/appium_lib/ios/xcuitest/command/gestures.rb#L145) ios
+##### [select_picker_wheel](https://github.com/appium/ruby_lib/blob/07ebd5767f3e9fafdfb597ec186b0e7f5384a839/lib/appium_lib/ios/xcuitest/command/gestures.rb#L145) ios
> def select_picker_wheel(element:, order:, offset: nil)
https://github.com/facebook/WebDriverAgent/pull/523
https://github.com/appium/appium-xcuitest-driver/pull/420
@@ -2805,11 +2863,11 @@
[Hash] opts - a customizable set of options
--
-##### [alert](https://github.com/appium/ruby_lib/blob/b9b8784697d9fbe73d3883cf42d260f19138d8f5/lib/appium_lib/ios/xcuitest/command/gestures.rb#L163) ios
+##### [alert](https://github.com/appium/ruby_lib/blob/07ebd5767f3e9fafdfb597ec186b0e7f5384a839/lib/appium_lib/ios/xcuitest/command/gestures.rb#L163) ios
> def alert(action:, button_label: nil)
@@ -2820,11 +2878,11 @@
[String] button_label - The label text of an existing alert button to click on.
This is an optional parameter and is only valid in combination with accept and dismiss actions.
--
-##### [text_field_class](https://github.com/appium/ruby_lib/blob/b9b8784697d9fbe73d3883cf42d260f19138d8f5/lib/appium_lib/ios/xcuitest/element/textfield.rb#L9) ios
+##### [text_field_class](https://github.com/appium/ruby_lib/blob/07ebd5767f3e9fafdfb597ec186b0e7f5384a839/lib/appium_lib/ios/xcuitest/element/textfield.rb#L9) ios
> def text_field_class
@@ -2832,11 +2890,11 @@
[String] Class name for text field
--
-##### [secure_text_field_class](https://github.com/appium/ruby_lib/blob/b9b8784697d9fbe73d3883cf42d260f19138d8f5/lib/appium_lib/ios/xcuitest/element/textfield.rb#L14) ios
+##### [secure_text_field_class](https://github.com/appium/ruby_lib/blob/07ebd5767f3e9fafdfb597ec186b0e7f5384a839/lib/appium_lib/ios/xcuitest/element/textfield.rb#L14) ios
> def secure_text_field_class
@@ -2844,11 +2902,11 @@
[String] Class name for secure text field
--
-##### [textfield](https://github.com/appium/ruby_lib/blob/b9b8784697d9fbe73d3883cf42d260f19138d8f5/lib/appium_lib/ios/xcuitest/element/textfield.rb#L23) ios
+##### [textfield](https://github.com/appium/ruby_lib/blob/07ebd5767f3e9fafdfb597ec186b0e7f5384a839/lib/appium_lib/ios/xcuitest/element/textfield.rb#L23) ios
> def textfield(value)
Find the first TextField that contains value or by index.
Note: Uses XPath
@@ -2862,11 +2920,11 @@
[TextField]
--
-##### [textfields](https://github.com/appium/ruby_lib/blob/b9b8784697d9fbe73d3883cf42d260f19138d8f5/lib/appium_lib/ios/xcuitest/element/textfield.rb#L41) ios
+##### [textfields](https://github.com/appium/ruby_lib/blob/07ebd5767f3e9fafdfb597ec186b0e7f5384a839/lib/appium_lib/ios/xcuitest/element/textfield.rb#L41) ios
> def textfields(value = false)
Find all TextFields containing value.
If value is omitted, all TextFields are returned.
@@ -2879,11 +2937,11 @@
[Array<TextField>]
--
-##### [first_textfield](https://github.com/appium/ruby_lib/blob/b9b8784697d9fbe73d3883cf42d260f19138d8f5/lib/appium_lib/ios/xcuitest/element/textfield.rb#L50) ios
+##### [first_textfield](https://github.com/appium/ruby_lib/blob/07ebd5767f3e9fafdfb597ec186b0e7f5384a839/lib/appium_lib/ios/xcuitest/element/textfield.rb#L50) ios
> def first_textfield
Find the first TextField.
@@ -2891,11 +2949,11 @@
[TextField]
--
-##### [last_textfield](https://github.com/appium/ruby_lib/blob/b9b8784697d9fbe73d3883cf42d260f19138d8f5/lib/appium_lib/ios/xcuitest/element/textfield.rb#L56) ios
+##### [last_textfield](https://github.com/appium/ruby_lib/blob/07ebd5767f3e9fafdfb597ec186b0e7f5384a839/lib/appium_lib/ios/xcuitest/element/textfield.rb#L56) ios
> def last_textfield
Find the last TextField.
@@ -2903,11 +2961,11 @@
[TextField]
--
-##### [textfield_exact](https://github.com/appium/ruby_lib/blob/b9b8784697d9fbe73d3883cf42d260f19138d8f5/lib/appium_lib/ios/xcuitest/element/textfield.rb#L65) ios
+##### [textfield_exact](https://github.com/appium/ruby_lib/blob/07ebd5767f3e9fafdfb597ec186b0e7f5384a839/lib/appium_lib/ios/xcuitest/element/textfield.rb#L65) ios
> def textfield_exact(value)
Find the first TextField that exactly matches value.
@@ -2919,11 +2977,11 @@
[TextField]
--
-##### [textfields_exact](https://github.com/appium/ruby_lib/blob/b9b8784697d9fbe73d3883cf42d260f19138d8f5/lib/appium_lib/ios/xcuitest/element/textfield.rb#L72) ios
+##### [textfields_exact](https://github.com/appium/ruby_lib/blob/07ebd5767f3e9fafdfb597ec186b0e7f5384a839/lib/appium_lib/ios/xcuitest/element/textfield.rb#L72) ios
> def textfields_exact(value)
Find all TextFields that exactly match value.
@@ -2935,11 +2993,11 @@
[Array<TextField>]
--
-##### [set_pasteboard](https://github.com/appium/ruby_lib/blob/b9b8784697d9fbe73d3883cf42d260f19138d8f5/lib/appium_lib/ios/xcuitest/command/pasteboard.rb#L12) ios
+##### [set_pasteboard](https://github.com/appium/ruby_lib/blob/07ebd5767f3e9fafdfb597ec186b0e7f5384a839/lib/appium_lib/ios/xcuitest/command/pasteboard.rb#L12) ios
> def set_pasteboard(content:, encoding: nil)
@@ -2950,10 +3008,10 @@
[Hash] opts - a customizable set of options
--
-##### [get_pasteboard](https://github.com/appium/ruby_lib/blob/b9b8784697d9fbe73d3883cf42d260f19138d8f5/lib/appium_lib/ios/xcuitest/command/pasteboard.rb#L24) ios
+##### [get_pasteboard](https://github.com/appium/ruby_lib/blob/07ebd5767f3e9fafdfb597ec186b0e7f5384a839/lib/appium_lib/ios/xcuitest/command/pasteboard.rb#L24) ios
> def get_pasteboard(encoding: nil)