docs/ios_docs.md in appium_lib-9.14.1 vs docs/ios_docs.md in appium_lib-9.14.2

- old
+ new

@@ -1,6 +1,6 @@ -##### [load_settings](https://github.com/appium/ruby_lib/blob/0dca183c11919f20bff1acb7f04138ed6e678ca6/lib/appium_lib/appium.rb#L46) +##### [load_settings](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/appium.rb#L46) > 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 @@ &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[hash] the symbolized hash with updated :app and :require keys -- -##### [load_appium_txt](https://github.com/appium/ruby_lib/blob/0dca183c11919f20bff1acb7f04138ed6e678ca6/lib/appium_lib/appium.rb#L80) +##### [load_appium_txt](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/appium.rb#L80) > 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 @@ &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[hash] the symbolized hash with updated :app and :require keys -- -##### [expand_required_files](https://github.com/appium/ruby_lib/blob/0dca183c11919f20bff1acb7f04138ed6e678ca6/lib/appium_lib/appium.rb#L85) +##### [expand_required_files](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/appium.rb#L85) > def expand_required_files(base_dir, file_paths) @@ -72,11 +72,11 @@ &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[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/0dca183c11919f20bff1acb7f04138ed6e678ca6/lib/appium_lib/appium.rb#L127) +##### [promote_singleton_appium_methods](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/appium.rb#L127) > 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 @@ &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[Driver] driver - A driver to extend for -- -##### [promote_appium_methods](https://github.com/appium/ruby_lib/blob/0dca183c11919f20bff1acb7f04138ed6e678ca6/lib/appium_lib/appium.rb#L182) +##### [promote_appium_methods](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/appium.rb#L182) > def promote_appium_methods(class_array, driver = $driver) Promote appium methods to class instance methods @@ -114,175 +114,175 @@ &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[Driver] driver - A driver to extend for -- -##### [global_webdriver_http_sleep](https://github.com/appium/ruby_lib/blob/0dca183c11919f20bff1acb7f04138ed6e678ca6/lib/appium_lib/driver.rb#L36) +##### [global_webdriver_http_sleep](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/driver.rb#L36) > 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/0dca183c11919f20bff1acb7f04138ed6e678ca6/lib/appium_lib/driver.rb#L36) +##### [global_webdriver_http_sleep=](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/driver.rb#L36) > 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/0dca183c11919f20bff1acb7f04138ed6e678ca6/lib/appium_lib/driver.rb#L39) +##### [sauce](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/driver.rb#L39) > def sauce SauceLab's settings -- -##### [sauce_username](https://github.com/appium/ruby_lib/blob/0dca183c11919f20bff1acb7f04138ed6e678ca6/lib/appium_lib/driver.rb#L42) +##### [sauce_username](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/driver.rb#L42) > 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/0dca183c11919f20bff1acb7f04138ed6e678ca6/lib/appium_lib/driver.rb#L45) +##### [sauce_access_key](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/driver.rb#L45) > 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/0dca183c11919f20bff1acb7f04138ed6e678ca6/lib/appium_lib/driver.rb#L48) +##### [sauce_endpoint](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/driver.rb#L48) > 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/0dca183c11919f20bff1acb7f04138ed6e678ca6/lib/appium_lib/driver.rb#L52) +##### [caps](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/driver.rb#L52) > def caps from Core read http://www.rubydoc.info/github/appium/ruby_lib_core/Appium/Core/Driver -- -##### [custom_url](https://github.com/appium/ruby_lib/blob/0dca183c11919f20bff1acb7f04138ed6e678ca6/lib/appium_lib/driver.rb#L53) +##### [custom_url](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/driver.rb#L53) > def custom_url Returns the value of attribute custom_url -- -##### [export_session](https://github.com/appium/ruby_lib/blob/0dca183c11919f20bff1acb7f04138ed6e678ca6/lib/appium_lib/driver.rb#L54) +##### [export_session](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/driver.rb#L54) > def export_session Returns the value of attribute export_session -- -##### [export_session_path](https://github.com/appium/ruby_lib/blob/0dca183c11919f20bff1acb7f04138ed6e678ca6/lib/appium_lib/driver.rb#L55) +##### [export_session_path](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/driver.rb#L55) > def export_session_path Returns the value of attribute export_session_path -- -##### [default_wait](https://github.com/appium/ruby_lib/blob/0dca183c11919f20bff1acb7f04138ed6e678ca6/lib/appium_lib/driver.rb#L56) +##### [default_wait](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/driver.rb#L56) > def default_wait Returns the value of attribute default_wait -- -##### [appium_port](https://github.com/appium/ruby_lib/blob/0dca183c11919f20bff1acb7f04138ed6e678ca6/lib/appium_lib/driver.rb#L57) +##### [appium_port](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/driver.rb#L57) > def appium_port Returns the value of attribute appium_port -- -##### [appium_device](https://github.com/appium/ruby_lib/blob/0dca183c11919f20bff1acb7f04138ed6e678ca6/lib/appium_lib/driver.rb#L58) +##### [appium_device](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/driver.rb#L58) > def appium_device Returns the value of attribute appium_device -- -##### [automation_name](https://github.com/appium/ruby_lib/blob/0dca183c11919f20bff1acb7f04138ed6e678ca6/lib/appium_lib/driver.rb#L59) +##### [automation_name](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/driver.rb#L59) > def automation_name Returns the value of attribute automation_name -- -##### [listener](https://github.com/appium/ruby_lib/blob/0dca183c11919f20bff1acb7f04138ed6e678ca6/lib/appium_lib/driver.rb#L60) +##### [listener](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/driver.rb#L60) > def listener Returns the value of attribute listener -- -##### [http_client](https://github.com/appium/ruby_lib/blob/0dca183c11919f20bff1acb7f04138ed6e678ca6/lib/appium_lib/driver.rb#L61) +##### [http_client](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/driver.rb#L61) > def http_client Returns the value of attribute http_client -- -##### [appium_wait_timeout](https://github.com/appium/ruby_lib/blob/0dca183c11919f20bff1acb7f04138ed6e678ca6/lib/appium_lib/driver.rb#L62) +##### [appium_wait_timeout](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/driver.rb#L62) > def appium_wait_timeout Returns the value of attribute appium_wait_timeout -- -##### [appium_wait_interval](https://github.com/appium/ruby_lib/blob/0dca183c11919f20bff1acb7f04138ed6e678ca6/lib/appium_lib/driver.rb#L63) +##### [appium_wait_interval](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/driver.rb#L63) > def appium_wait_interval Returns the value of attribute appium_wait_interval -- -##### [appium_server_status](https://github.com/appium/ruby_lib/blob/0dca183c11919f20bff1acb7f04138ed6e678ca6/lib/appium_lib/driver.rb#L66) +##### [appium_server_status](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/driver.rb#L66) > def appium_server_status Appium's server version -- -##### [appium_debug](https://github.com/appium/ruby_lib/blob/0dca183c11919f20bff1acb7f04138ed6e678ca6/lib/appium_lib/driver.rb#L68) +##### [appium_debug](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/driver.rb#L68) > def appium_debug Boolean debug mode for the Appium Ruby bindings -- -##### [driver](https://github.com/appium/ruby_lib/blob/0dca183c11919f20bff1acb7f04138ed6e678ca6/lib/appium_lib/driver.rb#L71) +##### [driver](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/driver.rb#L71) > def driver Returns the driver @@ -290,19 +290,19 @@ &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[Driver] the driver -- -##### [core](https://github.com/appium/ruby_lib/blob/0dca183c11919f20bff1acb7f04138ed6e678ca6/lib/appium_lib/driver.rb#L73) +##### [core](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/driver.rb#L73) > def core Instance of Appium::Core::Driver -- -##### [initialize](https://github.com/appium/ruby_lib/blob/0dca183c11919f20bff1acb7f04138ed6e678ca6/lib/appium_lib/driver.rb#L141) +##### [initialize](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/driver.rb#L141) > 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. @@ -317,19 +317,19 @@ &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[Driver] -- -##### [driver_attributes](https://github.com/appium/ruby_lib/blob/0dca183c11919f20bff1acb7f04138ed6e678ca6/lib/appium_lib/driver.rb#L251) +##### [driver_attributes](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/driver.rb#L251) > def driver_attributes Returns a hash of the driver attributes -- -##### [device_is_android?](https://github.com/appium/ruby_lib/blob/0dca183c11919f20bff1acb7f04138ed6e678ca6/lib/appium_lib/driver.rb#L271) +##### [device_is_android?](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/driver.rb#L271) > def device_is_android? @@ -337,11 +337,11 @@ &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[Boolean] -- -##### [device_is_ios?](https://github.com/appium/ruby_lib/blob/0dca183c11919f20bff1acb7f04138ed6e678ca6/lib/appium_lib/driver.rb#L275) +##### [device_is_ios?](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/driver.rb#L275) > def device_is_ios? @@ -349,11 +349,11 @@ &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[Boolean] -- -##### [device_is_windows?](https://github.com/appium/ruby_lib/blob/0dca183c11919f20bff1acb7f04138ed6e678ca6/lib/appium_lib/driver.rb#L279) +##### [device_is_windows?](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/driver.rb#L279) > def device_is_windows? @@ -361,11 +361,11 @@ &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[Boolean] -- -##### [automation_name_is_uiautomator2?](https://github.com/appium/ruby_lib/blob/0dca183c11919f20bff1acb7f04138ed6e678ca6/lib/appium_lib/driver.rb#L285) +##### [automation_name_is_uiautomator2?](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/driver.rb#L285) > def automation_name_is_uiautomator2? Return true if automationName is 'uiautomator2' @@ -373,11 +373,11 @@ &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[Boolean] -- -##### [automation_name_is_espresso?](https://github.com/appium/ruby_lib/blob/0dca183c11919f20bff1acb7f04138ed6e678ca6/lib/appium_lib/driver.rb#L291) +##### [automation_name_is_espresso?](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/driver.rb#L291) > def automation_name_is_espresso? Return true if automationName is 'Espresso' @@ -385,11 +385,11 @@ &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[Boolean] -- -##### [automation_name_is_xcuitest?](https://github.com/appium/ruby_lib/blob/0dca183c11919f20bff1acb7f04138ed6e678ca6/lib/appium_lib/driver.rb#L297) +##### [automation_name_is_xcuitest?](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/driver.rb#L297) > def automation_name_is_xcuitest? Return true if automationName is 'XCUITest' @@ -397,11 +397,11 @@ &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[Boolean] -- -##### [dialect](https://github.com/appium/ruby_lib/blob/0dca183c11919f20bff1acb7f04138ed6e678ca6/lib/appium_lib/driver.rb#L317) +##### [dialect](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/driver.rb#L317) > def dialect Get the dialect value whether current driver is OSS or W3C @@ -419,11 +419,11 @@ action.perform end -- -##### [check_server_version_xcuitest](https://github.com/appium/ruby_lib/blob/0dca183c11919f20bff1acb7f04138ed6e678ca6/lib/appium_lib/driver.rb#L324) +##### [check_server_version_xcuitest](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/driver.rb#L324) > 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. @@ -432,11 +432,11 @@ &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[Boolean] -- -##### [appium_server_version](https://github.com/appium/ruby_lib/blob/0dca183c11919f20bff1acb7f04138ed6e678ca6/lib/appium_lib/driver.rb#L345) +##### [appium_server_version](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/driver.rb#L345) > def appium_server_version Returns the server's version info @@ -444,11 +444,11 @@ &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[Hash] -- -##### [remote_status](https://github.com/appium/ruby_lib/blob/0dca183c11919f20bff1acb7f04138ed6e678ca6/lib/appium_lib/driver.rb#L352) +##### [remote_status](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/driver.rb#L352) > def appium_server_version Returns the server's version info @@ -456,11 +456,11 @@ &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[Hash] -- -##### [platform_version](https://github.com/appium/ruby_lib/blob/0dca183c11919f20bff1acb7f04138ed6e678ca6/lib/appium_lib/driver.rb#L356) +##### [platform_version](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/driver.rb#L356) > def platform_version Return the platform version as an array of integers @@ -468,11 +468,11 @@ &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[Array<Integer>] -- -##### [appium_client_version](https://github.com/appium/ruby_lib/blob/0dca183c11919f20bff1acb7f04138ed6e678ca6/lib/appium_lib/driver.rb#L369) +##### [appium_client_version](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/driver.rb#L369) > def appium_client_version Returns the client's version info @@ -480,11 +480,11 @@ &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[Hash] -- -##### [absolute_app_path](https://github.com/appium/ruby_lib/blob/0dca183c11919f20bff1acb7f04138ed6e678ca6/lib/appium_lib/driver.rb#L381) +##### [absolute_app_path](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/driver.rb#L381) > def self.absolute_app_path(opts) Converts app_path to an absolute path. @@ -497,11 +497,11 @@ &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[String] APP_PATH as an absolute path -- -##### [server_url](https://github.com/appium/ruby_lib/blob/0dca183c11919f20bff1acb7f04138ed6e678ca6/lib/appium_lib/driver.rb#L414) +##### [server_url](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/driver.rb#L414) > def server_url Get the server url @@ -509,11 +509,11 @@ &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[String] the server url -- -##### [restart](https://github.com/appium/ruby_lib/blob/0dca183c11919f20bff1acb7f04138ed6e678ca6/lib/appium_lib/driver.rb#L422) +##### [restart](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/driver.rb#L422) > def restart Restarts the driver @@ -521,11 +521,11 @@ &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[Driver] the driver -- -##### [screenshot](https://github.com/appium/ruby_lib/blob/0dca183c11919f20bff1acb7f04138ed6e678ca6/lib/appium_lib/driver.rb#L435) +##### [screenshot](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/driver.rb#L435) > def screenshot(png_save_path) Takes a png screenshot and saves to the target path. @@ -537,11 +537,11 @@ &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[File] -- -##### [element_screenshot](https://github.com/appium/ruby_lib/blob/0dca183c11919f20bff1acb7f04138ed6e678ca6/lib/appium_lib/driver.rb#L449) +##### [element_screenshot](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/driver.rb#L449) > def element_screenshot(element, png_save_path) Takes a png screenshot of particular element's area @@ -555,11 +555,11 @@ &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[File] -- -##### [driver_quit](https://github.com/appium/ruby_lib/blob/0dca183c11919f20bff1acb7f04138ed6e678ca6/lib/appium_lib/driver.rb#L456) +##### [driver_quit](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/driver.rb#L456) > def driver_quit Quits the driver @@ -567,11 +567,11 @@ &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[void] -- -##### [quit_driver](https://github.com/appium/ruby_lib/blob/0dca183c11919f20bff1acb7f04138ed6e678ca6/lib/appium_lib/driver.rb#L459) +##### [quit_driver](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/driver.rb#L459) > def driver_quit Quits the driver @@ -579,11 +579,11 @@ &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[void] -- -##### [window_size](https://github.com/appium/ruby_lib/blob/0dca183c11919f20bff1acb7f04138ed6e678ca6/lib/appium_lib/driver.rb#L470) +##### [window_size](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/driver.rb#L470) > def window_size Get the device window's size. @@ -591,11 +591,11 @@ &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[Selenium::WebDriver::Dimension] -- -##### [start_driver](https://github.com/appium/ruby_lib/blob/0dca183c11919f20bff1acb7f04138ed6e678ca6/lib/appium_lib/driver.rb#L503) +##### [start_driver](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/driver.rb#L503) > 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 @@ -611,27 +611,27 @@ &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[Selenium::WebDriver] the new global driver -- -##### [set_implicit_wait](https://github.com/appium/ruby_lib/blob/0dca183c11919f20bff1acb7f04138ed6e678ca6/lib/appium_lib/driver.rb#L525) +##### [set_implicit_wait](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/driver.rb#L525) > def set_implicit_wait(wait) To ignore error for Espresso Driver -- -##### [no_wait](https://github.com/appium/ruby_lib/blob/0dca183c11919f20bff1acb7f04138ed6e678ca6/lib/appium_lib/driver.rb#L535) +##### [no_wait](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/driver.rb#L535) > def no_wait Set implicit wait to zero. -- -##### [set_wait](https://github.com/appium/ruby_lib/blob/0dca183c11919f20bff1acb7f04138ed6e678ca6/lib/appium_lib/driver.rb#L549) +##### [set_wait](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/driver.rb#L549) > def set_wait(timeout = nil) Set implicit wait. Default to @core.default_wait. @@ -643,11 +643,11 @@ &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[void] -- -##### [exists](https://github.com/appium/ruby_lib/blob/0dca183c11919f20bff1acb7f04138ed6e678ca6/lib/appium_lib/driver.rb#L566) +##### [exists](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/driver.rb#L566) > def exists(pre_check = 0, post_check = @core.default_wait) Returns existence of element. @@ -667,11 +667,11 @@ &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[Boolean] -- -##### [execute_script](https://github.com/appium/ruby_lib/blob/0dca183c11919f20bff1acb7f04138ed6e678ca6/lib/appium_lib/driver.rb#L590) +##### [execute_script](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/driver.rb#L590) > def execute_script(script, *args) The same as @driver.execute_script @@ -685,11 +685,11 @@ &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[Object] -- -##### [find_elements](https://github.com/appium/ruby_lib/blob/0dca183c11919f20bff1acb7f04138ed6e678ca6/lib/appium_lib/driver.rb#L614) +##### [find_elements](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/driver.rb#L614) > def find_elements(*args) Calls @driver.find_elements_with_appium @@ -705,11 +705,11 @@ &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[Array<Element>] Array is empty when no elements are found. -- -##### [find_element](https://github.com/appium/ruby_lib/blob/0dca183c11919f20bff1acb7f04138ed6e678ca6/lib/appium_lib/driver.rb#L630) +##### [find_element](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/driver.rb#L630) > def find_element(*args) Calls @driver.find_element @@ -723,12 +723,62 @@ &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[Element] -- -##### [set_location](https://github.com/appium/ruby_lib/blob/0dca183c11919f20bff1acb7f04138ed6e678ca6/lib/appium_lib/driver.rb#L643) +##### [DEFAULT_MATCH_THRESHOLD](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/driver.rb#L648) +> DEFAULT_MATCH_THRESHOLD = 0.5 + +Return ImageElement if current view has a partial image + +__Parameters:__ + +&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[String] png_img_path - A path to a partial image you'd like to find + +&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[Flood] match_threshold - At what normalized threshold to reject + +&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[Bool] visualize - Makes the endpoint to return an image, which contains the visualized result of +the corresponding picture matching operation. This option is disabled by default. + +__Returns:__ + +&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[::Appium::Core::ImageElement] + +-- + +##### [find_element_by_image](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/driver.rb#L649) + +> def find_element_by_image(png_img_path, match_threshold: DEFAULT_MATCH_THRESHOLD, visualize: false) + + + +-- + +##### [find_elements_by_image](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/driver.rb#L667) + +> def find_elements_by_image(png_img_paths, match_threshold: DEFAULT_MATCH_THRESHOLD, visualize: false) + +Return ImageElement if current view has partial images + +__Parameters:__ + +&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[[String]] png_img_paths - Paths to a partial image you'd like to find + +&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[Flood] match_threshold - At what normalized threshold to reject + +&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[Bool] visualize - Makes the endpoint to return an image, which contains the visualized result of +the corresponding picture matching operation. This option is disabled by default. + +__Returns:__ + +&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[[::Appium::Core::ImageElement]] + +-- + +##### [set_location](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/driver.rb#L680) + > def set_location(opts = {}) Calls @driver.set_location __Parameters:__ @@ -739,11 +789,11 @@ &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[Selenium::WebDriver::Location] the location constructed by the selenium webdriver -- -##### [x](https://github.com/appium/ruby_lib/blob/0dca183c11919f20bff1acb7f04138ed6e678ca6/lib/appium_lib/driver.rb#L653) +##### [x](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/driver.rb#L690) > def x Quit the driver and Pry. quit and exit are reserved by Pry. @@ -752,35 +802,35 @@ &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[void] -- -##### [username](https://github.com/appium/ruby_lib/blob/0dca183c11919f20bff1acb7f04138ed6e678ca6/lib/appium_lib/sauce_labs.rb#L4) +##### [username](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/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/0dca183c11919f20bff1acb7f04138ed6e678ca6/lib/appium_lib/sauce_labs.rb#L6) +##### [access_key](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/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/0dca183c11919f20bff1acb7f04138ed6e678ca6/lib/appium_lib/sauce_labs.rb#L8) +##### [endpoint](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/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/0dca183c11919f20bff1acb7f04138ed6e678ca6/lib/appium_lib/sauce_labs.rb#L33) +##### [initialize](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/sauce_labs.rb#L33) > def initialize(appium_lib_opts) Create a SauceLabs instance to manage sauce labs related attributes. @@ -792,11 +842,11 @@ &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[Appium::SauceLabs] -- -##### [sauce_server_url?](https://github.com/appium/ruby_lib/blob/0dca183c11919f20bff1acb7f04138ed6e678ca6/lib/appium_lib/sauce_labs.rb#L53) +##### [sauce_server_url?](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/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. @@ -804,11 +854,11 @@ &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[Boolean] -- -##### [server_url](https://github.com/appium/ruby_lib/blob/0dca183c11919f20bff1acb7f04138ed6e678ca6/lib/appium_lib/sauce_labs.rb#L66) +##### [server_url](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/sauce_labs.rb#L66) > def server_url Return a particular server url to access to. Default is the local address. @@ -816,11 +866,11 @@ &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[String] -- -##### [get_log](https://github.com/appium/ruby_lib/blob/0dca183c11919f20bff1acb7f04138ed6e678ca6/lib/appium_lib/common/log.rb#L11) +##### [get_log](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/common/log.rb#L11) > def get_log(type) @@ -832,11 +882,11 @@ &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[[Selenium::WebDriver::LogEntry]] A list of logs data. -- -##### [get_available_log_types](https://github.com/appium/ruby_lib/blob/0dca183c11919f20bff1acb7f04138ed6e678ca6/lib/appium_lib/common/log.rb#L23) +##### [get_available_log_types](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/common/log.rb#L23) > def get_available_log_types Get a list of available log types @@ -844,11 +894,11 @@ &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[[String]] A list of available log types. -- -##### [wait_true](https://github.com/appium/ruby_lib/blob/0dca183c11919f20bff1acb7f04138ed6e678ca6/lib/appium_lib/common/wait.rb#L30) +##### [wait_true](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/common/wait.rb#L30) > 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. @@ -864,11 +914,11 @@ &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[Hash|Numeric] opts - Options. If the value is _Numeric_, the value is set as `{ timeout: value }` -- -##### [wait](https://github.com/appium/ruby_lib/blob/0dca183c11919f20bff1acb7f04138ed6e678ca6/lib/appium_lib/common/wait.rb#L59) +##### [wait](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/common/wait.rb#L59) > def wait(opts = {}) Check every interval seconds to see if yield doesn't raise an exception. Give up after timeout seconds. @@ -882,35 +932,35 @@ &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[Hash|Numeric] opts - Options. If the value is _Numeric_, the value is set as `{ timeout: value }` -- -##### [add_touch_actions](https://github.com/appium/ruby_lib/blob/0dca183c11919f20bff1acb7f04138ed6e678ca6/lib/appium_lib/common/device.rb#L12) +##### [add_touch_actions](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/common/device.rb#L12) > def add_touch_actions -- -##### [delegate_from_appium_driver](https://github.com/appium/ruby_lib/blob/0dca183c11919f20bff1acb7f04138ed6e678ca6/lib/appium_lib/common/device.rb#L24) +##### [delegate_from_appium_driver](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/common/device.rb#L24) > def delegate_from_appium_driver(method, delegation_target) -- -##### [ignore](https://github.com/appium/ruby_lib/blob/0dca183c11919f20bff1acb7f04138ed6e678ca6/lib/appium_lib/common/helper.rb#L16) +##### [ignore](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/common/helper.rb#L16) > def ignore Return yield and ignore any exceptions. -- -##### [back](https://github.com/appium/ruby_lib/blob/0dca183c11919f20bff1acb7f04138ed6e678ca6/lib/appium_lib/common/helper.rb#L23) +##### [back](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/common/helper.rb#L23) > def back Navigate back. @@ -918,11 +968,11 @@ &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[void] -- -##### [session_id](https://github.com/appium/ruby_lib/blob/0dca183c11919f20bff1acb7f04138ed6e678ca6/lib/appium_lib/common/helper.rb#L34) +##### [session_id](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/common/helper.rb#L34) > def session_id For Sauce Labs reporting. Returns the current session id. @@ -930,11 +980,11 @@ &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[String] -- -##### [xpath](https://github.com/appium/ruby_lib/blob/0dca183c11919f20bff1acb7f04138ed6e678ca6/lib/appium_lib/common/helper.rb#L42) +##### [xpath](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/common/helper.rb#L42) > def xpath(xpath_str) Returns the first element that matches the provided xpath. @@ -946,11 +996,11 @@ &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[Element] -- -##### [xpaths](https://github.com/appium/ruby_lib/blob/0dca183c11919f20bff1acb7f04138ed6e678ca6/lib/appium_lib/common/helper.rb#L50) +##### [xpaths](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/common/helper.rb#L50) > def xpaths(xpath_str) Returns all elements that match the provided xpath. @@ -962,19 +1012,19 @@ &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[Array<Element>] -- -##### [result](https://github.com/appium/ruby_lib/blob/0dca183c11919f20bff1acb7f04138ed6e678ca6/lib/appium_lib/common/helper.rb#L60) +##### [result](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/common/helper.rb#L60) > def result Returns the value of attribute result -- -##### [initialize](https://github.com/appium/ruby_lib/blob/0dca183c11919f20bff1acb7f04138ed6e678ca6/lib/appium_lib/common/helper.rb#L62) +##### [initialize](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/common/helper.rb#L62) > def initialize @@ -982,35 +1032,35 @@ &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[CountElements] a new instance of CountElements -- -##### [reset](https://github.com/appium/ruby_lib/blob/0dca183c11919f20bff1acb7f04138ed6e678ca6/lib/appium_lib/common/helper.rb#L66) +##### [reset](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/common/helper.rb#L66) > def reset -- -##### [start_element](https://github.com/appium/ruby_lib/blob/0dca183c11919f20bff1acb7f04138ed6e678ca6/lib/appium_lib/common/helper.rb#L71) +##### [start_element](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/common/helper.rb#L71) > def start_element(name, attrs = [], driver = $driver) http://nokogiri.org/Nokogiri/XML/SAX/Document.html -- -##### [formatted_result](https://github.com/appium/ruby_lib/blob/0dca183c11919f20bff1acb7f04138ed6e678ca6/lib/appium_lib/common/helper.rb#L77) +##### [formatted_result](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/common/helper.rb#L77) > def formatted_result -- -##### [get_page_class](https://github.com/appium/ruby_lib/blob/0dca183c11919f20bff1acb7f04138ed6e678ca6/lib/appium_lib/common/helper.rb#L96) +##### [get_page_class](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/common/helper.rb#L96) > def get_page_class Returns a string of class counts of visible elements. @@ -1018,11 +1068,11 @@ &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[String] -- -##### [page_class](https://github.com/appium/ruby_lib/blob/0dca183c11919f20bff1acb7f04138ed6e678ca6/lib/appium_lib/common/helper.rb#L121) +##### [page_class](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/common/helper.rb#L121) > def page_class Count all classes on screen and print to stdout. Useful for appium_console. @@ -1031,11 +1081,11 @@ &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[nil] -- -##### [source](https://github.com/appium/ruby_lib/blob/0dca183c11919f20bff1acb7f04138ed6e678ca6/lib/appium_lib/common/helper.rb#L128) +##### [source](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/common/helper.rb#L128) > def source Prints xml of the current page @@ -1043,11 +1093,11 @@ &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[void] -- -##### [get_source](https://github.com/appium/ruby_lib/blob/0dca183c11919f20bff1acb7f04138ed6e678ca6/lib/appium_lib/common/helper.rb#L135) +##### [get_source](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/common/helper.rb#L135) > def get_source Returns XML string for the current page Same as driver.page_source @@ -1056,19 +1106,19 @@ &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[String] -- -##### [px_to_window_rel](https://github.com/appium/ruby_lib/blob/0dca183c11919f20bff1acb7f04138ed6e678ca6/lib/appium_lib/common/helper.rb#L145) +##### [px_to_window_rel](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/common/helper.rb#L145) > def px_to_window_rel(opts = {}, driver = $driver) Converts pixel values to window relative values -- -##### [xml_keys](https://github.com/appium/ruby_lib/blob/0dca183c11919f20bff1acb7f04138ed6e678ca6/lib/appium_lib/common/helper.rb#L164) +##### [xml_keys](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/common/helper.rb#L164) > def xml_keys(target) Search strings.xml's values for target. @@ -1080,11 +1130,11 @@ &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[Array] -- -##### [xml_values](https://github.com/appium/ruby_lib/blob/0dca183c11919f20bff1acb7f04138ed6e678ca6/lib/appium_lib/common/helper.rb#L172) +##### [xml_values](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/common/helper.rb#L172) > def xml_values(target) Search strings.xml's keys for target. @@ -1096,11 +1146,11 @@ &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[Array] -- -##### [resolve_id](https://github.com/appium/ruby_lib/blob/0dca183c11919f20bff1acb7f04138ed6e678ca6/lib/appium_lib/common/helper.rb#L180) +##### [resolve_id](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/common/helper.rb#L180) > def resolve_id(id) Resolve id in strings.xml and return the value. @@ -1112,27 +1162,27 @@ &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[String] -- -##### [filter](https://github.com/appium/ruby_lib/blob/0dca183c11919f20bff1acb7f04138ed6e678ca6/lib/appium_lib/common/helper.rb#L187) +##### [filter](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/common/helper.rb#L187) > def filter Returns the value of attribute filter -- -##### [filter=](https://github.com/appium/ruby_lib/blob/0dca183c11919f20bff1acb7f04138ed6e678ca6/lib/appium_lib/common/helper.rb#L190) +##### [filter=](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/common/helper.rb#L190) > def filter=(value) convert to string to support symbols -- -##### [initialize](https://github.com/appium/ruby_lib/blob/0dca183c11919f20bff1acb7f04138ed6e678ca6/lib/appium_lib/common/helper.rb#L196) +##### [initialize](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/common/helper.rb#L196) > def initialize @@ -1140,59 +1190,59 @@ &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[HTMLElements] a new instance of HTMLElements -- -##### [reset](https://github.com/appium/ruby_lib/blob/0dca183c11919f20bff1acb7f04138ed6e678ca6/lib/appium_lib/common/helper.rb#L201) +##### [reset](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/common/helper.rb#L201) > def reset -- -##### [result](https://github.com/appium/ruby_lib/blob/0dca183c11919f20bff1acb7f04138ed6e678ca6/lib/appium_lib/common/helper.rb#L207) +##### [result](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/common/helper.rb#L207) > def result -- -##### [start_element](https://github.com/appium/ruby_lib/blob/0dca183c11919f20bff1acb7f04138ed6e678ca6/lib/appium_lib/common/helper.rb#L223) +##### [start_element](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/common/helper.rb#L223) > def start_element(name, attrs = []) -- -##### [end_element](https://github.com/appium/ruby_lib/blob/0dca183c11919f20bff1acb7f04138ed6e678ca6/lib/appium_lib/common/helper.rb#L232) +##### [end_element](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/common/helper.rb#L232) > def end_element(name) -- -##### [characters](https://github.com/appium/ruby_lib/blob/0dca183c11919f20bff1acb7f04138ed6e678ca6/lib/appium_lib/common/helper.rb#L238) +##### [characters](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/common/helper.rb#L238) > def characters(chars) -- -##### [DEFAULT_HEADERS](https://github.com/appium/ruby_lib/blob/0dca183c11919f20bff1acb7f04138ed6e678ca6/lib/appium_lib/common/http_client.rb#L8) +##### [DEFAULT_HEADERS](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/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/0dca183c11919f20bff1acb7f04138ed6e678ca6/lib/appium_lib/common/multi_touch.rb#L51) +##### [pinch](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/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. @@ -1208,11 +1258,11 @@ &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[Driver] driver - Set a driver to conduct the action. DEfault is global driver($driver) -- -##### [zoom](https://github.com/appium/ruby_lib/blob/0dca183c11919f20bff1acb7f04138ed6e678ca6/lib/appium_lib/common/multi_touch.rb#L93) +##### [zoom](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/common/multi_touch.rb#L93) > 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. @@ -1228,11 +1278,11 @@ &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[Driver] driver - Set a driver to conduct the action. DEfault is global driver($driver) -- -##### [initialize](https://github.com/appium/ruby_lib/blob/0dca183c11919f20bff1acb7f04138ed6e678ca6/lib/appium_lib/common/multi_touch.rb#L178) +##### [initialize](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/common/multi_touch.rb#L178) > def initialize(driver = $driver) self @@ -1240,19 +1290,19 @@ &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[MultiTouch] a new instance of MultiTouch -- -##### [COMPLEX_ACTIONS](https://github.com/appium/ruby_lib/blob/0dca183c11919f20bff1acb7f04138ed6e678ca6/lib/appium_lib/common/touch_actions.rb#L33) +##### [COMPLEX_ACTIONS](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/common/touch_actions.rb#L33) > COMPLEX_ACTIONS = ::Appium::Core::TouchAction::COMPLEX_ACTIONS -- -##### [initialize](https://github.com/appium/ruby_lib/blob/0dca183c11919f20bff1acb7f04138ed6e678ca6/lib/appium_lib/common/touch_actions.rb#L47) +##### [initialize](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/common/touch_actions.rb#L47) > def initialize(driver = $driver) @@ -1260,19 +1310,19 @@ &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[TouchAction] a new instance of TouchAction -- -##### [swipe](https://github.com/appium/ruby_lib/blob/0dca183c11919f20bff1acb7f04138ed6e678ca6/lib/appium_lib/common/touch_actions.rb#L51) +##### [swipe](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/common/touch_actions.rb#L51) > def swipe(opts) -- -##### [initialize](https://github.com/appium/ruby_lib/blob/0dca183c11919f20bff1acb7f04138ed6e678ca6/lib/appium_lib/common/command/ws_logcat.rb#L5) +##### [initialize](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/common/command/ws_logcat.rb#L5) > def initialize(url:, output_file: 'logcat.log') @@ -1280,43 +1330,43 @@ &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[WsLogcat] a new instance of WsLogcat -- -##### [handle_message_data](https://github.com/appium/ruby_lib/blob/0dca183c11919f20bff1acb7f04138ed6e678ca6/lib/appium_lib/common/command/ws_logcat.rb#L10) +##### [handle_message_data](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/common/command/ws_logcat.rb#L10) > def handle_message_data(data) -- -##### [for](https://github.com/appium/ruby_lib/blob/0dca183c11919f20bff1acb7f04138ed6e678ca6/lib/appium_lib/ios/ios.rb#L15) ios +##### [for](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/ios/ios.rb#L15) ios > def self.for(target) -- -##### [UIAStaticText](https://github.com/appium/ruby_lib/blob/0dca183c11919f20bff1acb7f04138ed6e678ca6/lib/appium_lib/ios/element/text.rb#L4) ios +##### [UIAStaticText](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/ios/element/text.rb#L4) ios > UIAStaticText = 'UIAStaticText'.freeze -- -##### [XCUIElementTypeStaticText](https://github.com/appium/ruby_lib/blob/0dca183c11919f20bff1acb7f04138ed6e678ca6/lib/appium_lib/ios/element/text.rb#L5) ios +##### [XCUIElementTypeStaticText](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/ios/element/text.rb#L5) ios > XCUIElementTypeStaticText = 'XCUIElementTypeStaticText'.freeze -- -##### [static_text_class](https://github.com/appium/ruby_lib/blob/0dca183c11919f20bff1acb7f04138ed6e678ca6/lib/appium_lib/ios/element/text.rb#L8) ios +##### [static_text_class](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/ios/element/text.rb#L8) ios > def static_text_class @@ -1324,11 +1374,11 @@ &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[String] Class name for text -- -##### [text](https://github.com/appium/ruby_lib/blob/0dca183c11919f20bff1acb7f04138ed6e678ca6/lib/appium_lib/ios/element/text.rb#L16) ios +##### [text](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/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. @@ -1341,11 +1391,11 @@ &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[UIAStaticText|XCUIElementTypeStaticText] -- -##### [texts](https://github.com/appium/ruby_lib/blob/0dca183c11919f20bff1acb7f04138ed6e678ca6/lib/appium_lib/ios/element/text.rb#L25) ios +##### [texts](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/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 @@ -1358,11 +1408,11 @@ &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[Array<UIAStaticText|XCUIElementTypeStaticText>] -- -##### [first_text](https://github.com/appium/ruby_lib/blob/0dca183c11919f20bff1acb7f04138ed6e678ca6/lib/appium_lib/ios/element/text.rb#L32) ios +##### [first_text](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/ios/element/text.rb#L32) ios > def first_text Find the first UIAStaticText|XCUIElementTypeStaticText. @@ -1370,11 +1420,11 @@ &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[UIAStaticText|XCUIElementTypeStaticText] -- -##### [last_text](https://github.com/appium/ruby_lib/blob/0dca183c11919f20bff1acb7f04138ed6e678ca6/lib/appium_lib/ios/element/text.rb#L38) ios +##### [last_text](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/ios/element/text.rb#L38) ios > def last_text Find the last UIAStaticText|XCUIElementTypeStaticText. @@ -1382,11 +1432,11 @@ &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[UIAStaticText|XCUIElementTypeStaticText] -- -##### [text_exact](https://github.com/appium/ruby_lib/blob/0dca183c11919f20bff1acb7f04138ed6e678ca6/lib/appium_lib/ios/element/text.rb#L45) ios +##### [text_exact](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/ios/element/text.rb#L45) ios > def text_exact(value) Find the first UIAStaticText|XCUIElementTypeStaticText that exactly matches value. @@ -1398,11 +1448,11 @@ &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[UIAStaticText|XCUIElementTypeStaticText] -- -##### [texts_exact](https://github.com/appium/ruby_lib/blob/0dca183c11919f20bff1acb7f04138ed6e678ca6/lib/appium_lib/ios/element/text.rb#L52) ios +##### [texts_exact](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/ios/element/text.rb#L52) ios > def texts_exact(value) Find all UIAStaticTexts|XCUIElementTypeStaticTexts that exactly match value. @@ -1414,19 +1464,19 @@ &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[Array<UIAStaticText|XCUIElementTypeStaticText>] -- -##### [filter](https://github.com/appium/ruby_lib/blob/0dca183c11919f20bff1acb7f04138ed6e678ca6/lib/appium_lib/ios/common/helper.rb#L5) ios +##### [filter](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/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/0dca183c11919f20bff1acb7f04138ed6e678ca6/lib/appium_lib/ios/common/helper.rb#L5) ios +##### [filter=](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/ios/common/helper.rb#L5) ios > def filter=(value) Sets the attribute filter @@ -1434,19 +1484,19 @@ &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;value - the value to set the attribute filter to. -- -##### [start_element](https://github.com/appium/ruby_lib/blob/0dca183c11919f20bff1acb7f04138ed6e678ca6/lib/appium_lib/ios/common/helper.rb#L7) ios +##### [start_element](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/ios/common/helper.rb#L7) ios > def start_element(type, attrs = []) -- -##### [ios_password](https://github.com/appium/ruby_lib/blob/0dca183c11919f20bff1acb7f04138ed6e678ca6/lib/appium_lib/ios/common/helper.rb#L44) ios +##### [ios_password](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/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. @@ -1460,11 +1510,11 @@ &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[String] the returned string is of size length -- -##### [page](https://github.com/appium/ruby_lib/blob/0dca183c11919f20bff1acb7f04138ed6e678ca6/lib/appium_lib/ios/common/helper.rb#L60) ios +##### [page](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/ios/common/helper.rb#L60) ios > def page(opts = {}) Prints a string of interesting elements to the console. @@ -1478,11 +1528,11 @@ &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[void] -- -##### [id](https://github.com/appium/ruby_lib/blob/0dca183c11919f20bff1acb7f04138ed6e678ca6/lib/appium_lib/ios/common/helper.rb#L85) ios +##### [id](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/ios/common/helper.rb#L85) ios > def id(id) Find by id @@ -1494,11 +1544,11 @@ &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[Element] -- -##### [ele_index](https://github.com/appium/ruby_lib/blob/0dca183c11919f20bff1acb7f04138ed6e678ca6/lib/appium_lib/ios/common/helper.rb#L93) ios +##### [ele_index](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/ios/common/helper.rb#L93) ios > def ele_index(class_name, index) Get the element of type class_name at matching index. @@ -1512,11 +1562,11 @@ &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[Element] -- -##### [find_ele_by_attr](https://github.com/appium/ruby_lib/blob/0dca183c11919f20bff1acb7f04138ed6e678ca6/lib/appium_lib/ios/common/helper.rb#L121) ios +##### [find_ele_by_attr](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/ios/common/helper.rb#L121) ios > def find_ele_by_attr(class_name, attr, value) Find the first element exactly matching class and attribute value. Note: Uses XPath @@ -1534,11 +1584,11 @@ &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[Element] -- -##### [find_eles_by_attr](https://github.com/appium/ruby_lib/blob/0dca183c11919f20bff1acb7f04138ed6e678ca6/lib/appium_lib/ios/common/helper.rb#L132) ios +##### [find_eles_by_attr](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/ios/common/helper.rb#L132) ios > def find_eles_by_attr(class_name, attr, value) Find all elements exactly matching class and attribute value. Note: Uses XPath @@ -1556,11 +1606,11 @@ &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[Array<Element>] -- -##### [find_ele_by_predicate](https://github.com/appium/ruby_lib/blob/0dca183c11919f20bff1acb7f04138ed6e678ca6/lib/appium_lib/ios/common/helper.rb#L145) ios +##### [find_ele_by_predicate](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/ios/common/helper.rb#L145) ios > def find_ele_by_predicate(class_name: '*', value:) Find the first element exactly matching attribute case insensitive value. Note: Uses Predicate @@ -1573,11 +1623,11 @@ &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[Element] -- -##### [find_eles_by_predicate](https://github.com/appium/ruby_lib/blob/0dca183c11919f20bff1acb7f04138ed6e678ca6/lib/appium_lib/ios/common/helper.rb#L156) ios +##### [find_eles_by_predicate](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/ios/common/helper.rb#L156) ios > def find_eles_by_predicate(class_name: '*', value:) Find all elements exactly matching attribute case insensitive value. Note: Uses Predicate @@ -1592,11 +1642,11 @@ &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[Array<Element>] -- -##### [find_ele_by_attr_include](https://github.com/appium/ruby_lib/blob/0dca183c11919f20bff1acb7f04138ed6e678ca6/lib/appium_lib/ios/common/helper.rb#L172) ios +##### [find_ele_by_attr_include](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/ios/common/helper.rb#L172) ios > def find_ele_by_attr_include(class_name, attr, value) Get the first tag by attribute that exactly matches value. Note: Uses XPath @@ -1613,11 +1663,11 @@ &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[Element] the element of type tag who's attribute includes value -- -##### [find_eles_by_attr_include](https://github.com/appium/ruby_lib/blob/0dca183c11919f20bff1acb7f04138ed6e678ca6/lib/appium_lib/ios/common/helper.rb#L182) ios +##### [find_eles_by_attr_include](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/ios/common/helper.rb#L182) ios > def find_eles_by_attr_include(class_name, attr, value) Get tags by attribute that include value. Note: Uses XPath @@ -1634,11 +1684,11 @@ &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[Array<Element>] the elements of type tag who's attribute includes value -- -##### [find_ele_by_predicate_include](https://github.com/appium/ruby_lib/blob/0dca183c11919f20bff1acb7f04138ed6e678ca6/lib/appium_lib/ios/common/helper.rb#L190) ios +##### [find_ele_by_predicate_include](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/ios/common/helper.rb#L190) ios > def find_ele_by_predicate_include(class_name: '*', value:) Get the first elements that include insensitive value. Note: Uses Predicate @@ -1651,11 +1701,11 @@ &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[Element] the element of type tag who's attribute includes value -- -##### [find_eles_by_predicate_include](https://github.com/appium/ruby_lib/blob/0dca183c11919f20bff1acb7f04138ed6e678ca6/lib/appium_lib/ios/common/helper.rb#L201) ios +##### [find_eles_by_predicate_include](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/ios/common/helper.rb#L201) ios > def find_eles_by_predicate_include(class_name: '*', value:) Get elements that include case insensitive value. Note: Uses Predicate @@ -1670,11 +1720,11 @@ &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[Array<Element>] the elements of type tag who's attribute includes value -- -##### [first_ele](https://github.com/appium/ruby_lib/blob/0dca183c11919f20bff1acb7f04138ed6e678ca6/lib/appium_lib/ios/common/helper.rb#L214) ios +##### [first_ele](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/ios/common/helper.rb#L214) ios > def first_ele(class_name) Get the first tag that matches class_name @@ -1686,11 +1736,11 @@ &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[Element] -- -##### [last_ele](https://github.com/appium/ruby_lib/blob/0dca183c11919f20bff1acb7f04138ed6e678ca6/lib/appium_lib/ios/common/helper.rb#L221) ios +##### [last_ele](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/ios/common/helper.rb#L221) ios > def last_ele(class_name) Get the last tag that matches class_name @@ -1702,11 +1752,11 @@ &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[Element] -- -##### [tag](https://github.com/appium/ruby_lib/blob/0dca183c11919f20bff1acb7f04138ed6e678ca6/lib/appium_lib/ios/common/helper.rb#L229) ios +##### [tag](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/ios/common/helper.rb#L229) ios > def tag(class_name) Returns the first **visible** element matching class_name @@ -1718,11 +1768,11 @@ &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[Element] -- -##### [tags](https://github.com/appium/ruby_lib/blob/0dca183c11919f20bff1acb7f04138ed6e678ca6/lib/appium_lib/ios/common/helper.rb#L237) ios +##### [tags](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/ios/common/helper.rb#L237) ios > def tags(class_name) Returns all visible elements matching class_name @@ -1734,11 +1784,11 @@ &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[Element] -- -##### [tags_include](https://github.com/appium/ruby_lib/blob/0dca183c11919f20bff1acb7f04138ed6e678ca6/lib/appium_lib/ios/common/helper.rb#L248) ios +##### [tags_include](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/ios/common/helper.rb#L248) 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. @@ -1754,11 +1804,11 @@ &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[Array[Element]] -- -##### [tags_exact](https://github.com/appium/ruby_lib/blob/0dca183c11919f20bff1acb7f04138ed6e678ca6/lib/appium_lib/ios/common/helper.rb#L263) ios +##### [tags_exact](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/ios/common/helper.rb#L263) 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. @@ -1774,11 +1824,11 @@ &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[Array[Element]] -- -##### [ele_by_json_visible_contains](https://github.com/appium/ruby_lib/blob/0dca183c11919f20bff1acb7f04138ed6e678ca6/lib/appium_lib/ios/common/helper.rb#L300) ios +##### [ele_by_json_visible_contains](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/ios/common/helper.rb#L300) ios > def ele_by_json_visible_contains(element, value) Find the first element that contains value. For Appium(automation name), not XCUITest @@ -1793,11 +1843,11 @@ &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[Element] -- -##### [eles_by_json_visible_contains](https://github.com/appium/ruby_lib/blob/0dca183c11919f20bff1acb7f04138ed6e678ca6/lib/appium_lib/ios/common/helper.rb#L309) ios +##### [eles_by_json_visible_contains](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/ios/common/helper.rb#L309) ios > def eles_by_json_visible_contains(element, value) Find all elements containing value For Appium(automation name), not XCUITest @@ -1812,11 +1862,11 @@ &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[Array<Element>] -- -##### [ele_by_json_visible_exact](https://github.com/appium/ruby_lib/blob/0dca183c11919f20bff1acb7f04138ed6e678ca6/lib/appium_lib/ios/common/helper.rb#L339) ios +##### [ele_by_json_visible_exact](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/ios/common/helper.rb#L339) ios > def ele_by_json_visible_exact(element, value) Find the first element exactly matching value For Appium(automation name), not XCUITest @@ -1831,11 +1881,11 @@ &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[Element] -- -##### [eles_by_json_visible_exact](https://github.com/appium/ruby_lib/blob/0dca183c11919f20bff1acb7f04138ed6e678ca6/lib/appium_lib/ios/common/helper.rb#L348) ios +##### [eles_by_json_visible_exact](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/ios/common/helper.rb#L348) ios > def eles_by_json_visible_exact(element, value) Find all elements exactly matching value For Appium(automation name), not XCUITest @@ -1850,21 +1900,21 @@ &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[Element] -- -##### [_all_pred](https://github.com/appium/ruby_lib/blob/0dca183c11919f20bff1acb7f04138ed6e678ca6/lib/appium_lib/ios/common/helper.rb#L357) ios +##### [_all_pred](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/ios/common/helper.rb#L357) 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/0dca183c11919f20bff1acb7f04138ed6e678ca6/lib/appium_lib/ios/common/helper.rb#L370) ios +##### [ele_with_pred](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/ios/common/helper.rb#L370) ios > def ele_with_pred(opts) returns element matching predicate contained in the main app @@ -1876,11 +1926,11 @@ &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[Element] -- -##### [eles_with_pred](https://github.com/appium/ruby_lib/blob/0dca183c11919f20bff1acb7f04138ed6e678ca6/lib/appium_lib/ios/common/helper.rb#L381) ios +##### [eles_with_pred](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/ios/common/helper.rb#L381) ios > def eles_with_pred(opts) returns elements matching predicate contained in the main app @@ -1892,19 +1942,19 @@ &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[Array<Element>] -- -##### [_validate_object](https://github.com/appium/ruby_lib/blob/0dca183c11919f20bff1acb7f04138ed6e678ca6/lib/appium_lib/ios/common/helper.rb#L385) ios +##### [_validate_object](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/ios/common/helper.rb#L385) ios > def _validate_object(*objects) -- -##### [_by_json](https://github.com/appium/ruby_lib/blob/0dca183c11919f20bff1acb7f04138ed6e678ca6/lib/appium_lib/ios/common/helper.rb#L434) ios +##### [_by_json](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/ios/common/helper.rb#L434) ios > def _by_json(opts) For Appium(automation name), not XCUITest typeArray - array of string types to search for. Example: ["UIAStaticText"] @@ -1935,11 +1985,11 @@ } } -- -##### [eles_by_json](https://github.com/appium/ruby_lib/blob/0dca183c11919f20bff1acb7f04138ed6e678ca6/lib/appium_lib/ios/common/helper.rb#L484) ios +##### [eles_by_json](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/ios/common/helper.rb#L484) ios > def eles_by_json(opts) For Appium(automation name), not XCUITest example usage: @@ -1954,19 +2004,19 @@ }, }) -- -##### [ele_by_json](https://github.com/appium/ruby_lib/blob/0dca183c11919f20bff1acb7f04138ed6e678ca6/lib/appium_lib/ios/common/helper.rb#L490) ios +##### [ele_by_json](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/ios/common/helper.rb#L490) ios > def ele_by_json(opts) see eles_by_json -- -##### [alert_accept](https://github.com/appium/ruby_lib/blob/0dca183c11919f20bff1acb7f04138ed6e678ca6/lib/appium_lib/ios/element/alert.rb#L5) ios +##### [alert_accept](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/ios/element/alert.rb#L5) ios > def alert_accept Accept the alert. @@ -1974,11 +2024,11 @@ &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[void] -- -##### [alert_dismiss](https://github.com/appium/ruby_lib/blob/0dca183c11919f20bff1acb7f04138ed6e678ca6/lib/appium_lib/ios/element/alert.rb#L13) ios +##### [alert_dismiss](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/ios/element/alert.rb#L13) ios > def alert_dismiss Dismiss the alert. @@ -1986,27 +2036,27 @@ &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[void] -- -##### [UIAButton](https://github.com/appium/ruby_lib/blob/0dca183c11919f20bff1acb7f04138ed6e678ca6/lib/appium_lib/ios/element/button.rb#L4) ios +##### [UIAButton](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/ios/element/button.rb#L4) ios > UIAButton = 'UIAButton'.freeze -- -##### [XCUIElementTypeButton](https://github.com/appium/ruby_lib/blob/0dca183c11919f20bff1acb7f04138ed6e678ca6/lib/appium_lib/ios/element/button.rb#L5) ios +##### [XCUIElementTypeButton](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/ios/element/button.rb#L5) ios > XCUIElementTypeButton = 'XCUIElementTypeButton'.freeze -- -##### [button_class](https://github.com/appium/ruby_lib/blob/0dca183c11919f20bff1acb7f04138ed6e678ca6/lib/appium_lib/ios/element/button.rb#L8) ios +##### [button_class](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/ios/element/button.rb#L8) ios > def button_class @@ -2014,11 +2064,11 @@ &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[String] Class name for button -- -##### [button](https://github.com/appium/ruby_lib/blob/0dca183c11919f20bff1acb7f04138ed6e678ca6/lib/appium_lib/ios/element/button.rb#L16) ios +##### [button](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/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. @@ -2031,11 +2081,11 @@ &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[UIAButton|XCUIElementTypeButton] -- -##### [buttons](https://github.com/appium/ruby_lib/blob/0dca183c11919f20bff1acb7f04138ed6e678ca6/lib/appium_lib/ios/element/button.rb#L26) ios +##### [buttons](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/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. @@ -2048,11 +2098,11 @@ &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[Array<UIAButton|XCUIElementTypeButton>] -- -##### [first_button](https://github.com/appium/ruby_lib/blob/0dca183c11919f20bff1acb7f04138ed6e678ca6/lib/appium_lib/ios/element/button.rb#L33) ios +##### [first_button](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/ios/element/button.rb#L33) ios > def first_button Find the first UIAButton|XCUIElementTypeButton. @@ -2060,11 +2110,11 @@ &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[UIAButton|XCUIElementTypeButton] -- -##### [last_button](https://github.com/appium/ruby_lib/blob/0dca183c11919f20bff1acb7f04138ed6e678ca6/lib/appium_lib/ios/element/button.rb#L41) ios +##### [last_button](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/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. @@ -2074,11 +2124,11 @@ &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[UIAButton|XCUIElementTypeButton] -- -##### [button_exact](https://github.com/appium/ruby_lib/blob/0dca183c11919f20bff1acb7f04138ed6e678ca6/lib/appium_lib/ios/element/button.rb#L48) ios +##### [button_exact](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/ios/element/button.rb#L48) ios > def button_exact(value) Find the first UIAButton|XCUIElementTypeButton that exactly matches value. @@ -2090,11 +2140,11 @@ &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[UIAButton|XCUIElementTypeButton] -- -##### [buttons_exact](https://github.com/appium/ruby_lib/blob/0dca183c11919f20bff1acb7f04138ed6e678ca6/lib/appium_lib/ios/element/button.rb#L55) ios +##### [buttons_exact](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/ios/element/button.rb#L55) ios > def buttons_exact(value) Find all UIAButtons|XCUIElementTypeButtons that exactly match value. @@ -2106,11 +2156,11 @@ &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[Array<UIAButton|XCUIElementTypeButton>] -- -##### [find](https://github.com/appium/ruby_lib/blob/0dca183c11919f20bff1acb7f04138ed6e678ca6/lib/appium_lib/ios/element/generic.rb#L6) ios +##### [find](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/ios/element/generic.rb#L6) ios > def find(value) Find the first element containing value @@ -2122,11 +2172,11 @@ &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[Element] -- -##### [finds](https://github.com/appium/ruby_lib/blob/0dca183c11919f20bff1acb7f04138ed6e678ca6/lib/appium_lib/ios/element/generic.rb#L13) ios +##### [finds](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/ios/element/generic.rb#L13) ios > def finds(value) Find all elements containing value @@ -2138,11 +2188,11 @@ &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[Array<Element>] -- -##### [find_exact](https://github.com/appium/ruby_lib/blob/0dca183c11919f20bff1acb7f04138ed6e678ca6/lib/appium_lib/ios/element/generic.rb#L20) ios +##### [find_exact](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/ios/element/generic.rb#L20) ios > def find_exact(value) Find the first element exactly matching value @@ -2154,11 +2204,11 @@ &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[Element] -- -##### [finds_exact](https://github.com/appium/ruby_lib/blob/0dca183c11919f20bff1acb7f04138ed6e678ca6/lib/appium_lib/ios/element/generic.rb#L27) ios +##### [finds_exact](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/ios/element/generic.rb#L27) ios > def finds_exact(value) Find all elements exactly matching value @@ -2170,35 +2220,35 @@ &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[Array<Element>] -- -##### [raise_error_if_no_element](https://github.com/appium/ruby_lib/blob/0dca183c11919f20bff1acb7f04138ed6e678ca6/lib/appium_lib/ios/element/generic.rb#L33) ios +##### [raise_error_if_no_element](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/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/0dca183c11919f20bff1acb7f04138ed6e678ca6/lib/appium_lib/ios/element/generic.rb#L40) ios +##### [select_visible_elements](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/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/0dca183c11919f20bff1acb7f04138ed6e678ca6/lib/appium_lib/ios/xcuitest/bridge.rb#L7) ios +##### [for](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/ios/xcuitest/bridge.rb#L7) ios > def self.for(target) -- -##### [last_ele](https://github.com/appium/ruby_lib/blob/0dca183c11919f20bff1acb7f04138ed6e678ca6/lib/appium_lib/ios/xcuitest/helper.rb#L26) ios +##### [last_ele](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/ios/xcuitest/helper.rb#L26) ios > def last_ele(class_name) Get the last tag that matches class_name @@ -2210,11 +2260,11 @@ &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[Element] -- -##### [tag](https://github.com/appium/ruby_lib/blob/0dca183c11919f20bff1acb7f04138ed6e678ca6/lib/appium_lib/ios/xcuitest/helper.rb#L36) ios +##### [tag](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/ios/xcuitest/helper.rb#L36) ios > def tag(class_name) Returns the first **visible** element matching class_name @@ -2226,11 +2276,11 @@ &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[Element] -- -##### [tags](https://github.com/appium/ruby_lib/blob/0dca183c11919f20bff1acb7f04138ed6e678ca6/lib/appium_lib/ios/xcuitest/helper.rb#L44) ios +##### [tags](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/ios/xcuitest/helper.rb#L44) ios > def tags(class_name) Returns all visible elements matching class_name @@ -2242,11 +2292,11 @@ &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[Element] -- -##### [tags_include](https://github.com/appium/ruby_lib/blob/0dca183c11919f20bff1acb7f04138ed6e678ca6/lib/appium_lib/ios/xcuitest/helper.rb#L56) ios +##### [tags_include](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/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. @@ -2262,11 +2312,11 @@ &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[Array[Element]] -- -##### [tags_exact](https://github.com/appium/ruby_lib/blob/0dca183c11919f20bff1acb7f04138ed6e678ca6/lib/appium_lib/ios/xcuitest/helper.rb#L79) ios +##### [tags_exact](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/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. @@ -2282,11 +2332,11 @@ &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[Array[Element]] -- -##### [start_logs_broadcast](https://github.com/appium/ruby_lib/blob/0dca183c11919f20bff1acb7f04138ed6e678ca6/lib/appium_lib/ios/xcuitest/command.rb#L18) ios +##### [start_logs_broadcast](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/ios/xcuitest/command.rb#L19) ios > def start_logs_broadcast(syslog_file = 'syslog.log') Starts iOS syslog broadcast websocket @@ -2294,51 +2344,51 @@ &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[String] syslog_file - A file path to write messages from a syslog WebSocket client -- -##### [stop_logs_broadcast](https://github.com/appium/ruby_lib/blob/0dca183c11919f20bff1acb7f04138ed6e678ca6/lib/appium_lib/ios/xcuitest/command.rb#L31) ios +##### [stop_logs_broadcast](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/ios/xcuitest/command.rb#L32) ios > def stop_logs_broadcast Stop iOS syslog broadcast websocket -- -##### [UIATextField](https://github.com/appium/ruby_lib/blob/0dca183c11919f20bff1acb7f04138ed6e678ca6/lib/appium_lib/ios/element/textfield.rb#L3) ios +##### [UIATextField](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/ios/element/textfield.rb#L3) ios > UIATextField = 'UIATextField'.freeze -- -##### [UIASecureTextField](https://github.com/appium/ruby_lib/blob/0dca183c11919f20bff1acb7f04138ed6e678ca6/lib/appium_lib/ios/element/textfield.rb#L4) ios +##### [UIASecureTextField](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/ios/element/textfield.rb#L4) ios > UIASecureTextField = 'UIASecureTextField'.freeze -- -##### [XCUIElementTypeTextField](https://github.com/appium/ruby_lib/blob/0dca183c11919f20bff1acb7f04138ed6e678ca6/lib/appium_lib/ios/element/textfield.rb#L6) ios +##### [XCUIElementTypeTextField](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/ios/element/textfield.rb#L6) ios > XCUIElementTypeTextField = 'XCUIElementTypeTextField'.freeze -- -##### [XCUIElementTypeSecureTextField](https://github.com/appium/ruby_lib/blob/0dca183c11919f20bff1acb7f04138ed6e678ca6/lib/appium_lib/ios/element/textfield.rb#L7) ios +##### [XCUIElementTypeSecureTextField](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/ios/element/textfield.rb#L7) ios > XCUIElementTypeSecureTextField = 'XCUIElementTypeSecureTextField'.freeze -- -##### [text_field_class](https://github.com/appium/ruby_lib/blob/0dca183c11919f20bff1acb7f04138ed6e678ca6/lib/appium_lib/ios/element/textfield.rb#L10) ios +##### [text_field_class](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/ios/element/textfield.rb#L10) ios > def text_field_class @@ -2346,11 +2396,11 @@ &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[String] Class name for text field -- -##### [secure_text_field_class](https://github.com/appium/ruby_lib/blob/0dca183c11919f20bff1acb7f04138ed6e678ca6/lib/appium_lib/ios/element/textfield.rb#L15) ios +##### [secure_text_field_class](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/ios/element/textfield.rb#L15) ios > def secure_text_field_class @@ -2358,11 +2408,11 @@ &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[String] Class name for secure text field -- -##### [textfield](https://github.com/appium/ruby_lib/blob/0dca183c11919f20bff1acb7f04138ed6e678ca6/lib/appium_lib/ios/element/textfield.rb#L24) ios +##### [textfield](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/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 @@ -2376,11 +2426,11 @@ &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[TextField] -- -##### [textfields](https://github.com/appium/ruby_lib/blob/0dca183c11919f20bff1acb7f04138ed6e678ca6/lib/appium_lib/ios/element/textfield.rb#L42) ios +##### [textfields](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/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. @@ -2393,11 +2443,11 @@ &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[Array<TextField>] -- -##### [first_textfield](https://github.com/appium/ruby_lib/blob/0dca183c11919f20bff1acb7f04138ed6e678ca6/lib/appium_lib/ios/element/textfield.rb#L49) ios +##### [first_textfield](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/ios/element/textfield.rb#L49) ios > def first_textfield Find the first TextField. @@ -2405,11 +2455,11 @@ &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[TextField] -- -##### [last_textfield](https://github.com/appium/ruby_lib/blob/0dca183c11919f20bff1acb7f04138ed6e678ca6/lib/appium_lib/ios/element/textfield.rb#L55) ios +##### [last_textfield](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/ios/element/textfield.rb#L55) ios > def last_textfield Find the last TextField. @@ -2417,11 +2467,11 @@ &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[TextField] -- -##### [textfield_exact](https://github.com/appium/ruby_lib/blob/0dca183c11919f20bff1acb7f04138ed6e678ca6/lib/appium_lib/ios/element/textfield.rb#L64) ios +##### [textfield_exact](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/ios/element/textfield.rb#L64) ios > def textfield_exact(value) Find the first TextField that exactly matches value. @@ -2433,11 +2483,11 @@ &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[TextField] -- -##### [textfields_exact](https://github.com/appium/ruby_lib/blob/0dca183c11919f20bff1acb7f04138ed6e678ca6/lib/appium_lib/ios/element/textfield.rb#L71) ios +##### [textfields_exact](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/ios/element/textfield.rb#L71) ios > def textfields_exact(value) Find all TextFields that exactly match value. @@ -2449,35 +2499,35 @@ &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[Array<TextField>] -- -##### [_textfield_visible](https://github.com/appium/ruby_lib/blob/0dca183c11919f20bff1acb7f04138ed6e678ca6/lib/appium_lib/ios/element/textfield.rb#L78) ios +##### [_textfield_visible](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/ios/element/textfield.rb#L78) ios > def _textfield_visible Appium -- -##### [_textfield_exact_string](https://github.com/appium/ruby_lib/blob/0dca183c11919f20bff1acb7f04138ed6e678ca6/lib/appium_lib/ios/element/textfield.rb#L83) ios +##### [_textfield_exact_string](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/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/0dca183c11919f20bff1acb7f04138ed6e678ca6/lib/appium_lib/ios/element/textfield.rb#L90) ios +##### [_textfield_contains_string](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/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/0dca183c11919f20bff1acb7f04138ed6e678ca6/lib/appium_lib/ios/xcuitest/element/text.rb#L9) ios +##### [static_text_class](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/ios/xcuitest/element/text.rb#L9) ios > def static_text_class @@ -2485,11 +2535,11 @@ &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[String] Class name for text -- -##### [text](https://github.com/appium/ruby_lib/blob/0dca183c11919f20bff1acb7f04138ed6e678ca6/lib/appium_lib/ios/xcuitest/element/text.rb#L17) ios +##### [text](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/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. @@ -2502,11 +2552,11 @@ &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[UIAStaticText|XCUIElementTypeStaticText] -- -##### [texts](https://github.com/appium/ruby_lib/blob/0dca183c11919f20bff1acb7f04138ed6e678ca6/lib/appium_lib/ios/xcuitest/element/text.rb#L26) ios +##### [texts](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/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 @@ -2519,11 +2569,11 @@ &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[Array<UIAStaticText|XCUIElementTypeStaticText>] -- -##### [first_text](https://github.com/appium/ruby_lib/blob/0dca183c11919f20bff1acb7f04138ed6e678ca6/lib/appium_lib/ios/xcuitest/element/text.rb#L34) ios +##### [first_text](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/ios/xcuitest/element/text.rb#L34) ios > def first_text Find the first UIAStaticText|XCUIElementTypeStaticText. @@ -2531,11 +2581,11 @@ &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[UIAStaticText|XCUIElementTypeStaticText] -- -##### [last_text](https://github.com/appium/ruby_lib/blob/0dca183c11919f20bff1acb7f04138ed6e678ca6/lib/appium_lib/ios/xcuitest/element/text.rb#L40) ios +##### [last_text](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/ios/xcuitest/element/text.rb#L40) ios > def last_text Find the last UIAStaticText|XCUIElementTypeStaticText. @@ -2543,11 +2593,11 @@ &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[UIAStaticText|XCUIElementTypeStaticText] -- -##### [text_exact](https://github.com/appium/ruby_lib/blob/0dca183c11919f20bff1acb7f04138ed6e678ca6/lib/appium_lib/ios/xcuitest/element/text.rb#L47) ios +##### [text_exact](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/ios/xcuitest/element/text.rb#L47) ios > def text_exact(value) Find the first UIAStaticText|XCUIElementTypeStaticText that exactly matches value. @@ -2559,11 +2609,11 @@ &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[UIAStaticText|XCUIElementTypeStaticText] -- -##### [texts_exact](https://github.com/appium/ruby_lib/blob/0dca183c11919f20bff1acb7f04138ed6e678ca6/lib/appium_lib/ios/xcuitest/element/text.rb#L54) ios +##### [texts_exact](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/ios/xcuitest/element/text.rb#L54) ios > def texts_exact(value) Find all UIAStaticTexts|XCUIElementTypeStaticTexts that exactly match value. @@ -2575,11 +2625,11 @@ &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[Array<UIAStaticText|XCUIElementTypeStaticText>] -- -##### [xcuitest_source](https://github.com/appium/ruby_lib/blob/0dca183c11919f20bff1acb7f04138ed6e678ca6/lib/appium_lib/ios/xcuitest/command/source.rb#L12) ios +##### [xcuitest_source](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/ios/xcuitest/command/source.rb#L12) ios > def xcuitest_source(format: :xml) @@ -2589,11 +2639,11 @@ &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[Hash] opts - a customizable set of options -- -##### [button_class](https://github.com/appium/ruby_lib/blob/0dca183c11919f20bff1acb7f04138ed6e678ca6/lib/appium_lib/ios/xcuitest/element/button.rb#L9) ios +##### [button_class](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/ios/xcuitest/element/button.rb#L9) ios > def button_class @@ -2601,11 +2651,11 @@ &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[String] Class name for button -- -##### [button](https://github.com/appium/ruby_lib/blob/0dca183c11919f20bff1acb7f04138ed6e678ca6/lib/appium_lib/ios/xcuitest/element/button.rb#L17) ios +##### [button](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/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. @@ -2618,11 +2668,11 @@ &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[UIAButton|XCUIElementTypeButton] -- -##### [buttons](https://github.com/appium/ruby_lib/blob/0dca183c11919f20bff1acb7f04138ed6e678ca6/lib/appium_lib/ios/xcuitest/element/button.rb#L27) ios +##### [buttons](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/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. @@ -2635,11 +2685,11 @@ &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[Array<UIAButton|XCUIElementTypeButton>] -- -##### [first_button](https://github.com/appium/ruby_lib/blob/0dca183c11919f20bff1acb7f04138ed6e678ca6/lib/appium_lib/ios/xcuitest/element/button.rb#L35) ios +##### [first_button](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/ios/xcuitest/element/button.rb#L35) ios > def first_button Find the first UIAButton|XCUIElementTypeButton. @@ -2647,11 +2697,11 @@ &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[UIAButton|XCUIElementTypeButton] -- -##### [last_button](https://github.com/appium/ruby_lib/blob/0dca183c11919f20bff1acb7f04138ed6e678ca6/lib/appium_lib/ios/xcuitest/element/button.rb#L43) ios +##### [last_button](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/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. @@ -2661,11 +2711,11 @@ &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[UIAButton|XCUIElementTypeButton] -- -##### [button_exact](https://github.com/appium/ruby_lib/blob/0dca183c11919f20bff1acb7f04138ed6e678ca6/lib/appium_lib/ios/xcuitest/element/button.rb#L50) ios +##### [button_exact](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/ios/xcuitest/element/button.rb#L50) ios > def button_exact(value) Find the first UIAButton|XCUIElementTypeButton that exactly matches value. @@ -2677,11 +2727,11 @@ &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[UIAButton|XCUIElementTypeButton] -- -##### [buttons_exact](https://github.com/appium/ruby_lib/blob/0dca183c11919f20bff1acb7f04138ed6e678ca6/lib/appium_lib/ios/xcuitest/element/button.rb#L57) ios +##### [buttons_exact](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/ios/xcuitest/element/button.rb#L57) ios > def buttons_exact(value) Find all UIAButtons|XCUIElementTypeButtons that exactly match value. @@ -2693,11 +2743,11 @@ &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[Array<UIAButton|XCUIElementTypeButton>] -- -##### [find](https://github.com/appium/ruby_lib/blob/0dca183c11919f20bff1acb7f04138ed6e678ca6/lib/appium_lib/ios/xcuitest/element/generic.rb#L8) ios +##### [find](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/ios/xcuitest/element/generic.rb#L8) ios > def find(value) Find the first element containing value @@ -2709,11 +2759,11 @@ &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[Element] -- -##### [finds](https://github.com/appium/ruby_lib/blob/0dca183c11919f20bff1acb7f04138ed6e678ca6/lib/appium_lib/ios/xcuitest/element/generic.rb#L15) ios +##### [finds](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/ios/xcuitest/element/generic.rb#L15) ios > def finds(value) Find all elements containing value @@ -2725,11 +2775,11 @@ &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[Array<Element>] -- -##### [find_exact](https://github.com/appium/ruby_lib/blob/0dca183c11919f20bff1acb7f04138ed6e678ca6/lib/appium_lib/ios/xcuitest/element/generic.rb#L23) ios +##### [find_exact](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/ios/xcuitest/element/generic.rb#L23) ios > def find_exact(value) Find the first element exactly matching value @@ -2741,11 +2791,11 @@ &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[Element] -- -##### [finds_exact](https://github.com/appium/ruby_lib/blob/0dca183c11919f20bff1acb7f04138ed6e678ca6/lib/appium_lib/ios/xcuitest/element/generic.rb#L30) ios +##### [finds_exact](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/ios/xcuitest/element/generic.rb#L30) ios > def finds_exact(value) Find all elements exactly matching value @@ -2757,27 +2807,27 @@ &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[Array<Element>] -- -##### [raise_error_if_no_element](https://github.com/appium/ruby_lib/blob/0dca183c11919f20bff1acb7f04138ed6e678ca6/lib/appium_lib/ios/xcuitest/element/generic.rb#L37) ios +##### [raise_error_if_no_element](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/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/0dca183c11919f20bff1acb7f04138ed6e678ca6/lib/appium_lib/ios/xcuitest/element/generic.rb#L44) ios +##### [select_visible_elements](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/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/0dca183c11919f20bff1acb7f04138ed6e678ca6/lib/appium_lib/ios/xcuitest/command/gestures.rb#L11) ios +##### [swipe](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/ios/xcuitest/command/gestures.rb#L11) ios > def swipe(direction:, element: nil) @@ -2787,11 +2837,11 @@ &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[Hash] opts - a customizable set of options -- -##### [scroll](https://github.com/appium/ruby_lib/blob/0dca183c11919f20bff1acb7f04138ed6e678ca6/lib/appium_lib/ios/xcuitest/command/gestures.rb#L29) ios +##### [scroll](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/ios/xcuitest/command/gestures.rb#L29) ios > def scroll(direction:, name: nil, element: nil, to_visible: nil, predicate_string: nil) @@ -2801,11 +2851,11 @@ &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[Hash] opts - a customizable set of options -- -##### [pinch](https://github.com/appium/ruby_lib/blob/0dca183c11919f20bff1acb7f04138ed6e678ca6/lib/appium_lib/ios/xcuitest/command/gestures.rb#L48) ios +##### [pinch](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/ios/xcuitest/command/gestures.rb#L48) ios > def pinch(scale:, velocity: 1.0, element: nil) @@ -2817,11 +2867,11 @@ &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[Hash] opts - a customizable set of options -- -##### [double_tap](https://github.com/appium/ruby_lib/blob/0dca183c11919f20bff1acb7f04138ed6e678ca6/lib/appium_lib/ios/xcuitest/command/gestures.rb#L63) ios +##### [double_tap](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/ios/xcuitest/command/gestures.rb#L63) ios > def double_tap(x: nil, y: nil, element: nil) @@ -2833,11 +2883,11 @@ &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[Hash] opts - a customizable set of options -- -##### [touch_and_hold](https://github.com/appium/ruby_lib/blob/0dca183c11919f20bff1acb7f04138ed6e678ca6/lib/appium_lib/ios/xcuitest/command/gestures.rb#L80) ios +##### [touch_and_hold](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/ios/xcuitest/command/gestures.rb#L80) ios > def touch_and_hold(x: nil, y: nil, element: nil, duration: 1.0) @@ -2851,11 +2901,11 @@ &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[Hash] opts - a customizable set of options -- -##### [two_finger_tap](https://github.com/appium/ruby_lib/blob/0dca183c11919f20bff1acb7f04138ed6e678ca6/lib/appium_lib/ios/xcuitest/command/gestures.rb#L93) ios +##### [two_finger_tap](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/ios/xcuitest/command/gestures.rb#L93) ios > def two_finger_tap(element:) @@ -2867,11 +2917,11 @@ two_finger_tap element: find_element(:accessibility_id, "some item") ``` -- -##### [tap](https://github.com/appium/ruby_lib/blob/0dca183c11919f20bff1acb7f04138ed6e678ca6/lib/appium_lib/ios/xcuitest/command/gestures.rb#L108) ios +##### [tap](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/ios/xcuitest/command/gestures.rb#L108) ios > def tap(x:, y:, element: nil) @@ -2883,11 +2933,11 @@ &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[Hash] opts - a customizable set of options -- -##### [drag_from_to_for_duration](https://github.com/appium/ruby_lib/blob/0dca183c11919f20bff1acb7f04138ed6e678ca6/lib/appium_lib/ios/xcuitest/command/gestures.rb#L128) ios +##### [drag_from_to_for_duration](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/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 @@ -2906,11 +2956,11 @@ &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[Hash] opts - a customizable set of options -- -##### [select_picker_wheel](https://github.com/appium/ruby_lib/blob/0dca183c11919f20bff1acb7f04138ed6e678ca6/lib/appium_lib/ios/xcuitest/command/gestures.rb#L145) ios +##### [select_picker_wheel](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/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 @@ -2923,11 +2973,11 @@ &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[Hash] opts - a customizable set of options -- -##### [alert](https://github.com/appium/ruby_lib/blob/0dca183c11919f20bff1acb7f04138ed6e678ca6/lib/appium_lib/ios/xcuitest/command/gestures.rb#L163) ios +##### [alert](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/ios/xcuitest/command/gestures.rb#L163) ios > def alert(action:, button_label: nil) @@ -2938,11 +2988,11 @@ &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[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/0dca183c11919f20bff1acb7f04138ed6e678ca6/lib/appium_lib/ios/xcuitest/element/textfield.rb#L9) ios +##### [text_field_class](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/ios/xcuitest/element/textfield.rb#L9) ios > def text_field_class @@ -2950,11 +3000,11 @@ &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[String] Class name for text field -- -##### [secure_text_field_class](https://github.com/appium/ruby_lib/blob/0dca183c11919f20bff1acb7f04138ed6e678ca6/lib/appium_lib/ios/xcuitest/element/textfield.rb#L14) ios +##### [secure_text_field_class](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/ios/xcuitest/element/textfield.rb#L14) ios > def secure_text_field_class @@ -2962,11 +3012,11 @@ &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[String] Class name for secure text field -- -##### [textfield](https://github.com/appium/ruby_lib/blob/0dca183c11919f20bff1acb7f04138ed6e678ca6/lib/appium_lib/ios/xcuitest/element/textfield.rb#L23) ios +##### [textfield](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/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 @@ -2980,11 +3030,11 @@ &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[TextField] -- -##### [textfields](https://github.com/appium/ruby_lib/blob/0dca183c11919f20bff1acb7f04138ed6e678ca6/lib/appium_lib/ios/xcuitest/element/textfield.rb#L41) ios +##### [textfields](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/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. @@ -2997,11 +3047,11 @@ &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[Array<TextField>] -- -##### [first_textfield](https://github.com/appium/ruby_lib/blob/0dca183c11919f20bff1acb7f04138ed6e678ca6/lib/appium_lib/ios/xcuitest/element/textfield.rb#L50) ios +##### [first_textfield](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/ios/xcuitest/element/textfield.rb#L50) ios > def first_textfield Find the first TextField. @@ -3009,11 +3059,11 @@ &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[TextField] -- -##### [last_textfield](https://github.com/appium/ruby_lib/blob/0dca183c11919f20bff1acb7f04138ed6e678ca6/lib/appium_lib/ios/xcuitest/element/textfield.rb#L56) ios +##### [last_textfield](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/ios/xcuitest/element/textfield.rb#L56) ios > def last_textfield Find the last TextField. @@ -3021,11 +3071,11 @@ &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[TextField] -- -##### [textfield_exact](https://github.com/appium/ruby_lib/blob/0dca183c11919f20bff1acb7f04138ed6e678ca6/lib/appium_lib/ios/xcuitest/element/textfield.rb#L65) ios +##### [textfield_exact](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/ios/xcuitest/element/textfield.rb#L65) ios > def textfield_exact(value) Find the first TextField that exactly matches value. @@ -3037,11 +3087,11 @@ &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[TextField] -- -##### [textfields_exact](https://github.com/appium/ruby_lib/blob/0dca183c11919f20bff1acb7f04138ed6e678ca6/lib/appium_lib/ios/xcuitest/element/textfield.rb#L72) ios +##### [textfields_exact](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/ios/xcuitest/element/textfield.rb#L72) ios > def textfields_exact(value) Find all TextFields that exactly match value. @@ -3053,11 +3103,11 @@ &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[Array<TextField>] -- -##### [set_pasteboard](https://github.com/appium/ruby_lib/blob/0dca183c11919f20bff1acb7f04138ed6e678ca6/lib/appium_lib/ios/xcuitest/command/pasteboard.rb#L12) ios +##### [set_pasteboard](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/ios/xcuitest/command/pasteboard.rb#L12) ios > def set_pasteboard(content:, encoding: nil) @@ -3068,11 +3118,11 @@ &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[Hash] opts - a customizable set of options -- -##### [get_pasteboard](https://github.com/appium/ruby_lib/blob/0dca183c11919f20bff1acb7f04138ed6e678ca6/lib/appium_lib/ios/xcuitest/command/pasteboard.rb#L24) ios +##### [get_pasteboard](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/ios/xcuitest/command/pasteboard.rb#L24) ios > def get_pasteboard(encoding: nil) @@ -3080,12 +3130,35 @@ &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[Hash] opts - a customizable set of options -- -##### [xcuitest_install_app](https://github.com/appium/ruby_lib/blob/0dca183c11919f20bff1acb7f04138ed6e678ca6/lib/appium_lib/ios/xcuitest/command/multi_app_handler.rb#L21) ios +##### [install_certificate](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/ios/xcuitest/command/certificate.rb#L18) ios +> def install_certificate(cer_file:) + +Generates Apple's over-the-air configuration profile for certificate deployment +based on the given PEM certificate content. +https://developer.apple.com/library/content/documentation/NetworkingInternet/Conceptual/iPhoneOTAConfiguration/Introduction/Introduction.html +https://github.com/appium/appium-xcuitest-driver/pull/652 + +__Parameters:__ + +&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[string] cer_file - The content of the certificate file. + +-- + +##### [xcuitest_get_contexts](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/ios/xcuitest/command/get_context.rb#L14) ios + +> def xcuitest_get_contexts + +Get contexts + +-- + +##### [xcuitest_install_app](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/ios/xcuitest/command/multi_app_handler.rb#L21) ios + > def xcuitest_install_app(app:) Installs given application to the device under test. If the same application is already installed then it's going to be installed over it, which allows to test upgrades. Be careful while reinstalling the main application under test - make sure you called terminateApp @@ -3096,11 +3169,11 @@ &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[String] app - The path to an existing .ipa/.app file on the server file system, zipped .app file or an URL pointing to a remote .ipa/.zip file. Mandatory argument. -- -##### [xcuitest_app_installed?](https://github.com/appium/ruby_lib/blob/0dca183c11919f20bff1acb7f04138ed6e678ca6/lib/appium_lib/ios/xcuitest/command/multi_app_handler.rb#L35) ios +##### [xcuitest_app_installed?](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/ios/xcuitest/command/multi_app_handler.rb#L35) ios > def xcuitest_app_installed?(bundle_id:) Verifies whether the application with given bundle identifier is installed on the device. @@ -3112,11 +3185,11 @@ &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[boolean] -- -##### [xcuitest_remove_app](https://github.com/appium/ruby_lib/blob/0dca183c11919f20bff1acb7f04138ed6e678ca6/lib/appium_lib/ios/xcuitest/command/multi_app_handler.rb#L50) ios +##### [xcuitest_remove_app](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/ios/xcuitest/command/multi_app_handler.rb#L50) ios > def xcuitest_remove_app(bundle_id:) Uninstalls an existing application from the device under test. This endpoint does not verify whether the application is already installed or not before uninstalling it. @@ -3125,11 +3198,11 @@ &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[String] bundle_id - The bundle identifier of the application, which is going to be uninstalled. -- -##### [xcuitest_launch_app](https://github.com/appium/ruby_lib/blob/0dca183c11919f20bff1acb7f04138ed6e678ca6/lib/appium_lib/ios/xcuitest/command/multi_app_handler.rb#L65) ios +##### [xcuitest_launch_app](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/ios/xcuitest/command/multi_app_handler.rb#L65) ios > def xcuitest_launch_app(bundle_id:) Executes an existing application on the device. If the application is already running then it will be brought to the foreground. @@ -3138,11 +3211,11 @@ &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[String] bundle_id - The bundle identifier of the application, which is going to be executed. -- -##### [xcuitest_terminate_app](https://github.com/appium/ruby_lib/blob/0dca183c11919f20bff1acb7f04138ed6e678ca6/lib/appium_lib/ios/xcuitest/command/multi_app_handler.rb#L80) ios +##### [xcuitest_terminate_app](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/ios/xcuitest/command/multi_app_handler.rb#L80) ios > def xcuitest_terminate_app(bundle_id:) Terminates an existing application on the device. If the application is not running then the returned result will be false, otherwise true. @@ -3151,11 +3224,11 @@ &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[String] bundle_id - The bundle identifier of the application, which is going to be terminated. -- -##### [xcuitest_query_app_status](https://github.com/appium/ruby_lib/blob/0dca183c11919f20bff1acb7f04138ed6e678ca6/lib/appium_lib/ios/xcuitest/command/multi_app_handler.rb#L102) ios +##### [xcuitest_query_app_status](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/ios/xcuitest/command/multi_app_handler.rb#L102) ios > def xcuitest_query_app_status(bundle_id:) Get the status of an existing application on the device. State: @@ -3175,10 +3248,10 @@ &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[0|1|2|3|4] A number of the state -- -##### [xcuitest_activate_app](https://github.com/appium/ruby_lib/blob/0dca183c11919f20bff1acb7f04138ed6e678ca6/lib/appium_lib/ios/xcuitest/command/multi_app_handler.rb#L118) ios +##### [xcuitest_activate_app](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/ios/xcuitest/command/multi_app_handler.rb#L118) ios > def xcuitest_activate_app(bundle_id:) Activates an existing application on the device under test and moves it to the foreground. The application should be already running in order to activate it.