docs/android_docs.md in appium_lib-9.18.0 vs docs/android_docs.md in appium_lib-10.0.0

- old
+ new

@@ -1,6 +1,6 @@ -##### [load_settings](https://github.com/appium/ruby_lib/blob/32f327239055362ef630979d5975d0fac64d94c6/lib/appium_lib/appium.rb#L46) common +##### [load_settings](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/appium.rb#L46) common > 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/32f327239055362ef630979d5975d0fac64d94c6/lib/appium_lib/appium.rb#L82) common +##### [load_appium_txt](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/appium.rb#L82) common > 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/32f327239055362ef630979d5975d0fac64d94c6/lib/appium_lib/appium.rb#L87) common +##### [expand_required_files](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/appium.rb#L87) common > 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/32f327239055362ef630979d5975d0fac64d94c6/lib/appium_lib/appium.rb#L129) common +##### [promote_singleton_appium_methods](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/appium.rb#L129) common > 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/32f327239055362ef630979d5975d0fac64d94c6/lib/appium_lib/appium.rb#L185) common +##### [promote_appium_methods](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/appium.rb#L185) common > 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/32f327239055362ef630979d5975d0fac64d94c6/lib/appium_lib/driver.rb#L35) common +##### [global_webdriver_http_sleep](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/driver.rb#L35) common > 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/32f327239055362ef630979d5975d0fac64d94c6/lib/appium_lib/driver.rb#L35) common +##### [global_webdriver_http_sleep=](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/driver.rb#L35) common > 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/32f327239055362ef630979d5975d0fac64d94c6/lib/appium_lib/driver.rb#L38) common +##### [sauce](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/driver.rb#L38) common > def sauce SauceLab's settings -- -##### [sauce_username](https://github.com/appium/ruby_lib/blob/32f327239055362ef630979d5975d0fac64d94c6/lib/appium_lib/driver.rb#L41) common +##### [sauce_username](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/driver.rb#L41) common > 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/32f327239055362ef630979d5975d0fac64d94c6/lib/appium_lib/driver.rb#L44) common +##### [sauce_access_key](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/driver.rb#L44) common > 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/32f327239055362ef630979d5975d0fac64d94c6/lib/appium_lib/driver.rb#L47) common +##### [sauce_endpoint](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/driver.rb#L47) common > 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/32f327239055362ef630979d5975d0fac64d94c6/lib/appium_lib/driver.rb#L51) common +##### [caps](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/driver.rb#L51) common > 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/32f327239055362ef630979d5975d0fac64d94c6/lib/appium_lib/driver.rb#L52) common +##### [custom_url](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/driver.rb#L52) common > def custom_url Returns the value of attribute custom_url -- -##### [export_session](https://github.com/appium/ruby_lib/blob/32f327239055362ef630979d5975d0fac64d94c6/lib/appium_lib/driver.rb#L53) common +##### [export_session](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/driver.rb#L53) common > def export_session Returns the value of attribute export_session -- -##### [export_session_path](https://github.com/appium/ruby_lib/blob/32f327239055362ef630979d5975d0fac64d94c6/lib/appium_lib/driver.rb#L54) common +##### [export_session_path](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/driver.rb#L54) common > def export_session_path Returns the value of attribute export_session_path -- -##### [default_wait](https://github.com/appium/ruby_lib/blob/32f327239055362ef630979d5975d0fac64d94c6/lib/appium_lib/driver.rb#L55) common +##### [default_wait](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/driver.rb#L55) common > def default_wait Returns the value of attribute default_wait -- -##### [appium_port](https://github.com/appium/ruby_lib/blob/32f327239055362ef630979d5975d0fac64d94c6/lib/appium_lib/driver.rb#L56) common +##### [appium_port](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/driver.rb#L56) common > def appium_port Returns the value of attribute appium_port -- -##### [appium_device](https://github.com/appium/ruby_lib/blob/32f327239055362ef630979d5975d0fac64d94c6/lib/appium_lib/driver.rb#L57) common +##### [appium_device](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/driver.rb#L57) common > def appium_device Returns the value of attribute appium_device -- -##### [automation_name](https://github.com/appium/ruby_lib/blob/32f327239055362ef630979d5975d0fac64d94c6/lib/appium_lib/driver.rb#L58) common +##### [automation_name](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/driver.rb#L58) common > def automation_name Returns the value of attribute automation_name -- -##### [listener](https://github.com/appium/ruby_lib/blob/32f327239055362ef630979d5975d0fac64d94c6/lib/appium_lib/driver.rb#L59) common +##### [listener](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/driver.rb#L59) common > def listener Returns the value of attribute listener -- -##### [http_client](https://github.com/appium/ruby_lib/blob/32f327239055362ef630979d5975d0fac64d94c6/lib/appium_lib/driver.rb#L60) common +##### [http_client](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/driver.rb#L60) common > def http_client Returns the value of attribute http_client -- -##### [appium_wait_timeout](https://github.com/appium/ruby_lib/blob/32f327239055362ef630979d5975d0fac64d94c6/lib/appium_lib/driver.rb#L61) common +##### [appium_wait_timeout](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/driver.rb#L61) common > def appium_wait_timeout Returns the value of attribute appium_wait_timeout -- -##### [appium_wait_interval](https://github.com/appium/ruby_lib/blob/32f327239055362ef630979d5975d0fac64d94c6/lib/appium_lib/driver.rb#L62) common +##### [appium_wait_interval](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/driver.rb#L62) common > def appium_wait_interval Returns the value of attribute appium_wait_interval -- -##### [appium_server_status](https://github.com/appium/ruby_lib/blob/32f327239055362ef630979d5975d0fac64d94c6/lib/appium_lib/driver.rb#L65) common +##### [appium_server_status](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/driver.rb#L65) common > def appium_server_status Appium's server version -- -##### [appium_debug](https://github.com/appium/ruby_lib/blob/32f327239055362ef630979d5975d0fac64d94c6/lib/appium_lib/driver.rb#L67) common +##### [appium_debug](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/driver.rb#L67) common > def appium_debug Boolean debug mode for the Appium Ruby bindings -- -##### [driver](https://github.com/appium/ruby_lib/blob/32f327239055362ef630979d5975d0fac64d94c6/lib/appium_lib/driver.rb#L70) common +##### [driver](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/driver.rb#L70) common > 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/32f327239055362ef630979d5975d0fac64d94c6/lib/appium_lib/driver.rb#L72) common +##### [core](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/driver.rb#L72) common > def core Instance of Appium::Core::Driver -- -##### [initialize](https://github.com/appium/ruby_lib/blob/32f327239055362ef630979d5975d0fac64d94c6/lib/appium_lib/driver.rb#L140) common +##### [initialize](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/driver.rb#L140) common > 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/32f327239055362ef630979d5975d0fac64d94c6/lib/appium_lib/driver.rb#L259) common +##### [driver_attributes](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/driver.rb#L259) common > def driver_attributes Returns a hash of the driver attributes -- -##### [device_is_android?](https://github.com/appium/ruby_lib/blob/32f327239055362ef630979d5975d0fac64d94c6/lib/appium_lib/driver.rb#L281) common +##### [device_is_android?](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/driver.rb#L281) common > def device_is_android? @@ -337,11 +337,11 @@ &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[Boolean] -- -##### [device_is_ios?](https://github.com/appium/ruby_lib/blob/32f327239055362ef630979d5975d0fac64d94c6/lib/appium_lib/driver.rb#L285) common +##### [device_is_ios?](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/driver.rb#L285) common > def device_is_ios? @@ -349,11 +349,11 @@ &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[Boolean] -- -##### [device_is_windows?](https://github.com/appium/ruby_lib/blob/32f327239055362ef630979d5975d0fac64d94c6/lib/appium_lib/driver.rb#L289) common +##### [device_is_windows?](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/driver.rb#L289) common > 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/32f327239055362ef630979d5975d0fac64d94c6/lib/appium_lib/driver.rb#L295) common +##### [automation_name_is_uiautomator2?](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/driver.rb#L295) common > 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/32f327239055362ef630979d5975d0fac64d94c6/lib/appium_lib/driver.rb#L301) common +##### [automation_name_is_espresso?](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/driver.rb#L301) common > 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/32f327239055362ef630979d5975d0fac64d94c6/lib/appium_lib/driver.rb#L307) common +##### [automation_name_is_xcuitest?](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/driver.rb#L307) common > 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/32f327239055362ef630979d5975d0fac64d94c6/lib/appium_lib/driver.rb#L327) common +##### [dialect](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/driver.rb#L327) common > def dialect Get the dialect value whether current driver is OSS or W3C @@ -419,28 +419,24 @@ action.perform end -- -##### [action](https://github.com/appium/ruby_lib/blob/32f327239055362ef630979d5975d0fac64d94c6/lib/appium_lib/driver.rb#L342) common +##### [action](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/driver.rb#L341) common > def action An entry point to chain W3C actions. Returns `TouchAction.new` if it works as MJSONWP instead of W3C action. Read https://www.rubydoc.info/github/appium/ruby_lib_core/Appium/Core/Base/Bridge/W3C#action-instance_method -__Parameters:__ - -&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[bool] async - Run actions async - __Returns:__ &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[TouchAction|Selenium::WebDriver::PointerActions] -- -##### [appium_server_version](https://github.com/appium/ruby_lib/blob/32f327239055362ef630979d5975d0fac64d94c6/lib/appium_lib/driver.rb#L362) common +##### [appium_server_version](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/driver.rb#L361) common > def appium_server_version Returns the server's version info @@ -448,11 +444,11 @@ &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[Hash] -- -##### [remote_status](https://github.com/appium/ruby_lib/blob/32f327239055362ef630979d5975d0fac64d94c6/lib/appium_lib/driver.rb#L370) common +##### [remote_status](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/driver.rb#L369) common > def appium_server_version Returns the server's version info @@ -460,11 +456,11 @@ &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[Hash] -- -##### [platform_version](https://github.com/appium/ruby_lib/blob/32f327239055362ef630979d5975d0fac64d94c6/lib/appium_lib/driver.rb#L374) common +##### [platform_version](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/driver.rb#L373) common > def platform_version Return the platform version as an array of integers @@ -472,11 +468,11 @@ &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[Array<Integer>] -- -##### [appium_client_version](https://github.com/appium/ruby_lib/blob/32f327239055362ef630979d5975d0fac64d94c6/lib/appium_lib/driver.rb#L387) common +##### [appium_client_version](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/driver.rb#L386) common > def appium_client_version Returns the client's version info @@ -484,11 +480,11 @@ &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[Hash] -- -##### [absolute_app_path](https://github.com/appium/ruby_lib/blob/32f327239055362ef630979d5975d0fac64d94c6/lib/appium_lib/driver.rb#L399) common +##### [absolute_app_path](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/driver.rb#L398) common > def self.absolute_app_path(opts) Converts app_path to an absolute path. @@ -501,11 +497,11 @@ &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[String] APP_PATH as an absolute path -- -##### [server_url](https://github.com/appium/ruby_lib/blob/32f327239055362ef630979d5975d0fac64d94c6/lib/appium_lib/driver.rb#L422) common +##### [server_url](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/driver.rb#L421) common > def server_url Get the server url @@ -513,11 +509,11 @@ &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[String] the server url -- -##### [restart](https://github.com/appium/ruby_lib/blob/32f327239055362ef630979d5975d0fac64d94c6/lib/appium_lib/driver.rb#L431) common +##### [restart](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/driver.rb#L430) common > def restart Restarts the driver @@ -525,11 +521,11 @@ &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[Driver] the driver -- -##### [screenshot](https://github.com/appium/ruby_lib/blob/32f327239055362ef630979d5975d0fac64d94c6/lib/appium_lib/driver.rb#L444) common +##### [screenshot](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/driver.rb#L443) common > def screenshot(png_save_path) Takes a png screenshot and saves to the target path. @@ -541,11 +537,11 @@ &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[File] -- -##### [element_screenshot](https://github.com/appium/ruby_lib/blob/32f327239055362ef630979d5975d0fac64d94c6/lib/appium_lib/driver.rb#L458) common +##### [element_screenshot](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/driver.rb#L457) common > def element_screenshot(element, png_save_path) Takes a png screenshot of particular element's area @@ -559,11 +555,11 @@ &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[File] -- -##### [driver_quit](https://github.com/appium/ruby_lib/blob/32f327239055362ef630979d5975d0fac64d94c6/lib/appium_lib/driver.rb#L465) common +##### [driver_quit](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/driver.rb#L464) common > def driver_quit Quits the driver @@ -571,11 +567,11 @@ &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[void] -- -##### [quit_driver](https://github.com/appium/ruby_lib/blob/32f327239055362ef630979d5975d0fac64d94c6/lib/appium_lib/driver.rb#L468) common +##### [quit_driver](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/driver.rb#L467) common > def driver_quit Quits the driver @@ -583,11 +579,11 @@ &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[void] -- -##### [window_size](https://github.com/appium/ruby_lib/blob/32f327239055362ef630979d5975d0fac64d94c6/lib/appium_lib/driver.rb#L479) common +##### [window_size](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/driver.rb#L478) common > def window_size Get the device window's size. @@ -595,11 +591,11 @@ &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[Selenium::WebDriver::Dimension] -- -##### [window_rect](https://github.com/appium/ruby_lib/blob/32f327239055362ef630979d5975d0fac64d94c6/lib/appium_lib/driver.rb#L494) common +##### [window_rect](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/driver.rb#L493) common > def window_rect Get the device window's rect. @@ -607,11 +603,11 @@ &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[Selenium::WebDriver::Rectangle] -- -##### [start_driver](https://github.com/appium/ruby_lib/blob/32f327239055362ef630979d5975d0fac64d94c6/lib/appium_lib/driver.rb#L527) common +##### [start_driver](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/driver.rb#L526) common > 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 @@ -627,27 +623,27 @@ &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[Selenium::WebDriver] the new global driver -- -##### [set_implicit_wait](https://github.com/appium/ruby_lib/blob/32f327239055362ef630979d5975d0fac64d94c6/lib/appium_lib/driver.rb#L548) common +##### [set_implicit_wait](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/driver.rb#L547) common > def set_implicit_wait(wait) To ignore error for Espresso Driver -- -##### [no_wait](https://github.com/appium/ruby_lib/blob/32f327239055362ef630979d5975d0fac64d94c6/lib/appium_lib/driver.rb#L559) common +##### [no_wait](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/driver.rb#L558) common > def no_wait Set implicit wait to zero. -- -##### [set_wait](https://github.com/appium/ruby_lib/blob/32f327239055362ef630979d5975d0fac64d94c6/lib/appium_lib/driver.rb#L573) common +##### [set_wait](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/driver.rb#L572) common > def set_wait(timeout = nil) Set implicit wait. Default to @core.default_wait. @@ -659,11 +655,11 @@ &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[void] -- -##### [exists](https://github.com/appium/ruby_lib/blob/32f327239055362ef630979d5975d0fac64d94c6/lib/appium_lib/driver.rb#L590) common +##### [exists](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/driver.rb#L589) common > def exists(pre_check = 0, post_check = @core.default_wait) Returns existence of element. @@ -683,11 +679,11 @@ &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[Boolean] -- -##### [execute_script](https://github.com/appium/ruby_lib/blob/32f327239055362ef630979d5975d0fac64d94c6/lib/appium_lib/driver.rb#L614) common +##### [execute_script](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/driver.rb#L613) common > def execute_script(script, *args) The same as @driver.execute_script @@ -701,77 +697,77 @@ &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[Object] -- -##### [execute_async_script](https://github.com/appium/ruby_lib/blob/32f327239055362ef630979d5975d0fac64d94c6/lib/appium_lib/driver.rb#L622) common +##### [execute_async_script](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/driver.rb#L621) common > def execute_async_script(script, *args) Wrap calling selenium webdrier APIs via ruby_core Get the window handles of open browser windows -- -##### [window_handles](https://github.com/appium/ruby_lib/blob/32f327239055362ef630979d5975d0fac64d94c6/lib/appium_lib/driver.rb#L626) common +##### [window_handles](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/driver.rb#L625) common > def window_handles -- -##### [window_handle](https://github.com/appium/ruby_lib/blob/32f327239055362ef630979d5975d0fac64d94c6/lib/appium_lib/driver.rb#L631) common +##### [window_handle](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/driver.rb#L630) common > def window_handle Get the current window handle -- -##### [navigate](https://github.com/appium/ruby_lib/blob/32f327239055362ef630979d5975d0fac64d94c6/lib/appium_lib/driver.rb#L635) common +##### [navigate](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/driver.rb#L634) common > def navigate -- -##### [manage](https://github.com/appium/ruby_lib/blob/32f327239055362ef630979d5975d0fac64d94c6/lib/appium_lib/driver.rb#L639) common +##### [manage](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/driver.rb#L638) common > def manage -- -##### [get](https://github.com/appium/ruby_lib/blob/32f327239055362ef630979d5975d0fac64d94c6/lib/appium_lib/driver.rb#L643) common +##### [get](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/driver.rb#L642) common > def get(url) -- -##### [current_url](https://github.com/appium/ruby_lib/blob/32f327239055362ef630979d5975d0fac64d94c6/lib/appium_lib/driver.rb#L647) common +##### [current_url](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/driver.rb#L646) common > def current_url -- -##### [title](https://github.com/appium/ruby_lib/blob/32f327239055362ef630979d5975d0fac64d94c6/lib/appium_lib/driver.rb#L651) common +##### [title](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/driver.rb#L650) common > def title -- -##### [switch_to](https://github.com/appium/ruby_lib/blob/32f327239055362ef630979d5975d0fac64d94c6/lib/appium_lib/driver.rb#L657) common +##### [switch_to](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/driver.rb#L656) common > def switch_to @@ -779,11 +775,11 @@ &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[TargetLocator] -- -##### [find_elements](https://github.com/appium/ruby_lib/blob/32f327239055362ef630979d5975d0fac64d94c6/lib/appium_lib/driver.rb#L684) common +##### [find_elements](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/driver.rb#L683) common > def find_elements(*args) Calls @driver.find_elements_with_appium @@ -799,11 +795,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/32f327239055362ef630979d5975d0fac64d94c6/lib/appium_lib/driver.rb#L700) common +##### [find_element](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/driver.rb#L699) common > def find_element(*args) Calls @driver.find_element @@ -817,11 +813,11 @@ &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[Element] -- -##### [DEFAULT_MATCH_THRESHOLD](https://github.com/appium/ruby_lib/blob/32f327239055362ef630979d5975d0fac64d94c6/lib/appium_lib/driver.rb#L718) common +##### [DEFAULT_MATCH_THRESHOLD](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/driver.rb#L717) common > DEFAULT_MATCH_THRESHOLD = 0.5 Return ImageElement if current view has a partial image @@ -838,19 +834,19 @@ &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[::Appium::Core::ImageElement] -- -##### [find_element_by_image](https://github.com/appium/ruby_lib/blob/32f327239055362ef630979d5975d0fac64d94c6/lib/appium_lib/driver.rb#L719) common +##### [find_element_by_image](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/driver.rb#L718) common > 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/32f327239055362ef630979d5975d0fac64d94c6/lib/appium_lib/driver.rb#L737) common +##### [find_elements_by_image](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/driver.rb#L736) common > def find_elements_by_image(png_img_paths, match_threshold: DEFAULT_MATCH_THRESHOLD, visualize: false) Return ImageElement if current view has partial images @@ -867,11 +863,11 @@ &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[[::Appium::Core::ImageElement]] -- -##### [set_location](https://github.com/appium/ruby_lib/blob/32f327239055362ef630979d5975d0fac64d94c6/lib/appium_lib/driver.rb#L750) common +##### [set_location](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/driver.rb#L749) common > def set_location(opts = {}) Calls @driver.set_location @@ -883,11 +879,11 @@ &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[Selenium::WebDriver::Location] the location constructed by the selenium webdriver -- -##### [x](https://github.com/appium/ruby_lib/blob/32f327239055362ef630979d5975d0fac64d94c6/lib/appium_lib/driver.rb#L760) common +##### [x](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/driver.rb#L759) common > def x Quit the driver and Pry. quit and exit are reserved by Pry. @@ -896,35 +892,35 @@ &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[void] -- -##### [username](https://github.com/appium/ruby_lib/blob/32f327239055362ef630979d5975d0fac64d94c6/lib/appium_lib/sauce_labs.rb#L4) common +##### [username](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/sauce_labs.rb#L4) common > 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/32f327239055362ef630979d5975d0fac64d94c6/lib/appium_lib/sauce_labs.rb#L6) common +##### [access_key](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/sauce_labs.rb#L6) common > 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/32f327239055362ef630979d5975d0fac64d94c6/lib/appium_lib/sauce_labs.rb#L8) common +##### [endpoint](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/sauce_labs.rb#L8) common > 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/32f327239055362ef630979d5975d0fac64d94c6/lib/appium_lib/sauce_labs.rb#L33) common +##### [initialize](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/sauce_labs.rb#L33) common > def initialize(appium_lib_opts) Create a SauceLabs instance to manage sauce labs related attributes. @@ -936,11 +932,11 @@ &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[Appium::SauceLabs] -- -##### [sauce_server_url?](https://github.com/appium/ruby_lib/blob/32f327239055362ef630979d5975d0fac64d94c6/lib/appium_lib/sauce_labs.rb#L53) common +##### [sauce_server_url?](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/sauce_labs.rb#L53) common > def sauce_server_url? Return true if an instance of Appium::SauceLabs has sauce_username and sauce_access_key. @@ -948,11 +944,11 @@ &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[Boolean] -- -##### [server_url](https://github.com/appium/ruby_lib/blob/32f327239055362ef630979d5975d0fac64d94c6/lib/appium_lib/sauce_labs.rb#L66) common +##### [server_url](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/sauce_labs.rb#L66) common > def server_url Return a particular server url to access to. Default is the local address. @@ -960,11 +956,11 @@ &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[String] -- -##### [get_log](https://github.com/appium/ruby_lib/blob/32f327239055362ef630979d5975d0fac64d94c6/lib/appium_lib/common/log.rb#L11) common +##### [get_log](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/common/log.rb#L11) common > def get_log(type) @@ -976,11 +972,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/32f327239055362ef630979d5975d0fac64d94c6/lib/appium_lib/common/log.rb#L23) common +##### [get_available_log_types](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/common/log.rb#L23) common > def get_available_log_types Get a list of available log types @@ -988,11 +984,11 @@ &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[[String]] A list of available log types. -- -##### [wait_true](https://github.com/appium/ruby_lib/blob/32f327239055362ef630979d5975d0fac64d94c6/lib/appium_lib/common/wait.rb#L30) common +##### [wait_true](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/common/wait.rb#L30) common > 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. @@ -1008,11 +1004,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/32f327239055362ef630979d5975d0fac64d94c6/lib/appium_lib/common/wait.rb#L59) common +##### [wait](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/common/wait.rb#L59) common > def wait(opts = {}) Check every interval seconds to see if yield doesn't raise an exception. Give up after timeout seconds. @@ -1026,35 +1022,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/32f327239055362ef630979d5975d0fac64d94c6/lib/appium_lib/common/device.rb#L12) common +##### [add_touch_actions](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/common/device.rb#L12) common > def add_touch_actions -- -##### [delegate_from_appium_driver](https://github.com/appium/ruby_lib/blob/32f327239055362ef630979d5975d0fac64d94c6/lib/appium_lib/common/device.rb#L24) common +##### [delegate_from_appium_driver](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/common/device.rb#L24) common > def delegate_from_appium_driver(method, delegation_target) -- -##### [ignore](https://github.com/appium/ruby_lib/blob/32f327239055362ef630979d5975d0fac64d94c6/lib/appium_lib/common/helper.rb#L16) common +##### [ignore](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/common/helper.rb#L16) common > def ignore Return yield and ignore any exceptions. -- -##### [back](https://github.com/appium/ruby_lib/blob/32f327239055362ef630979d5975d0fac64d94c6/lib/appium_lib/common/helper.rb#L23) common +##### [back](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/common/helper.rb#L23) common > def back Navigate back. @@ -1062,11 +1058,11 @@ &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[void] -- -##### [session_id](https://github.com/appium/ruby_lib/blob/32f327239055362ef630979d5975d0fac64d94c6/lib/appium_lib/common/helper.rb#L34) common +##### [session_id](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/common/helper.rb#L34) common > def session_id For Sauce Labs reporting. Returns the current session id. @@ -1074,11 +1070,11 @@ &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[String] -- -##### [xpath](https://github.com/appium/ruby_lib/blob/32f327239055362ef630979d5975d0fac64d94c6/lib/appium_lib/common/helper.rb#L42) common +##### [xpath](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/common/helper.rb#L42) common > def xpath(xpath_str) Returns the first element that matches the provided xpath. @@ -1090,11 +1086,11 @@ &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[Element] -- -##### [xpaths](https://github.com/appium/ruby_lib/blob/32f327239055362ef630979d5975d0fac64d94c6/lib/appium_lib/common/helper.rb#L50) common +##### [xpaths](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/common/helper.rb#L50) common > def xpaths(xpath_str) Returns all elements that match the provided xpath. @@ -1106,19 +1102,19 @@ &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[Array<Element>] -- -##### [result](https://github.com/appium/ruby_lib/blob/32f327239055362ef630979d5975d0fac64d94c6/lib/appium_lib/common/helper.rb#L60) common +##### [result](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/common/helper.rb#L60) common > def result Returns the value of attribute result -- -##### [initialize](https://github.com/appium/ruby_lib/blob/32f327239055362ef630979d5975d0fac64d94c6/lib/appium_lib/common/helper.rb#L62) common +##### [initialize](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/common/helper.rb#L62) common > def initialize(platform) @@ -1126,35 +1122,35 @@ &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[CountElements] a new instance of CountElements -- -##### [reset](https://github.com/appium/ruby_lib/blob/32f327239055362ef630979d5975d0fac64d94c6/lib/appium_lib/common/helper.rb#L67) common +##### [reset](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/common/helper.rb#L67) common > def reset -- -##### [start_element](https://github.com/appium/ruby_lib/blob/32f327239055362ef630979d5975d0fac64d94c6/lib/appium_lib/common/helper.rb#L72) common +##### [start_element](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/common/helper.rb#L72) common > def start_element(name, attrs = []) http://nokogiri.org/Nokogiri/XML/SAX/Document.html -- -##### [formatted_result](https://github.com/appium/ruby_lib/blob/32f327239055362ef630979d5975d0fac64d94c6/lib/appium_lib/common/helper.rb#L83) common +##### [formatted_result](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/common/helper.rb#L83) common > def formatted_result -- -##### [get_page_class](https://github.com/appium/ruby_lib/blob/32f327239055362ef630979d5975d0fac64d94c6/lib/appium_lib/common/helper.rb#L101) common +##### [get_page_class](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/common/helper.rb#L101) common > def get_page_class Returns a string of class counts of visible elements. @@ -1162,11 +1158,11 @@ &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[String] -- -##### [page_class](https://github.com/appium/ruby_lib/blob/32f327239055362ef630979d5975d0fac64d94c6/lib/appium_lib/common/helper.rb#L126) common +##### [page_class](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/common/helper.rb#L126) common > def page_class Count all classes on screen and print to stdout. Useful for appium_console. @@ -1175,11 +1171,11 @@ &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[nil] -- -##### [source](https://github.com/appium/ruby_lib/blob/32f327239055362ef630979d5975d0fac64d94c6/lib/appium_lib/common/helper.rb#L133) common +##### [source](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/common/helper.rb#L133) common > def source Prints xml of the current page @@ -1187,11 +1183,11 @@ &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[void] -- -##### [get_source](https://github.com/appium/ruby_lib/blob/32f327239055362ef630979d5975d0fac64d94c6/lib/appium_lib/common/helper.rb#L140) common +##### [get_source](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/common/helper.rb#L140) common > def get_source Returns XML string for the current page Same as driver.page_source @@ -1200,19 +1196,19 @@ &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[String] -- -##### [px_to_window_rel](https://github.com/appium/ruby_lib/blob/32f327239055362ef630979d5975d0fac64d94c6/lib/appium_lib/common/helper.rb#L150) common +##### [px_to_window_rel](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/common/helper.rb#L150) common > def px_to_window_rel(opts = {}, driver = $driver) Converts pixel values to window relative values -- -##### [xml_keys](https://github.com/appium/ruby_lib/blob/32f327239055362ef630979d5975d0fac64d94c6/lib/appium_lib/common/helper.rb#L169) common +##### [xml_keys](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/common/helper.rb#L169) common > def xml_keys(target) Search strings.xml's values for target. @@ -1224,11 +1220,11 @@ &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[Array] -- -##### [xml_values](https://github.com/appium/ruby_lib/blob/32f327239055362ef630979d5975d0fac64d94c6/lib/appium_lib/common/helper.rb#L177) common +##### [xml_values](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/common/helper.rb#L177) common > def xml_values(target) Search strings.xml's keys for target. @@ -1240,11 +1236,11 @@ &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[Array] -- -##### [resolve_id](https://github.com/appium/ruby_lib/blob/32f327239055362ef630979d5975d0fac64d94c6/lib/appium_lib/common/helper.rb#L185) common +##### [resolve_id](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/common/helper.rb#L185) common > def resolve_id(id) Resolve id in strings.xml and return the value. @@ -1256,27 +1252,27 @@ &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[String] -- -##### [filter](https://github.com/appium/ruby_lib/blob/32f327239055362ef630979d5975d0fac64d94c6/lib/appium_lib/common/helper.rb#L192) common +##### [filter](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/common/helper.rb#L192) common > def filter Returns the value of attribute filter -- -##### [filter=](https://github.com/appium/ruby_lib/blob/32f327239055362ef630979d5975d0fac64d94c6/lib/appium_lib/common/helper.rb#L195) common +##### [filter=](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/common/helper.rb#L195) common > def filter=(value) convert to string to support symbols -- -##### [initialize](https://github.com/appium/ruby_lib/blob/32f327239055362ef630979d5975d0fac64d94c6/lib/appium_lib/common/helper.rb#L202) common +##### [initialize](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/common/helper.rb#L202) common > def initialize @@ -1284,59 +1280,59 @@ &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[HTMLElements] a new instance of HTMLElements -- -##### [reset](https://github.com/appium/ruby_lib/blob/32f327239055362ef630979d5975d0fac64d94c6/lib/appium_lib/common/helper.rb#L207) common +##### [reset](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/common/helper.rb#L207) common > def reset -- -##### [result](https://github.com/appium/ruby_lib/blob/32f327239055362ef630979d5975d0fac64d94c6/lib/appium_lib/common/helper.rb#L213) common +##### [result](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/common/helper.rb#L213) common > def result -- -##### [start_element](https://github.com/appium/ruby_lib/blob/32f327239055362ef630979d5975d0fac64d94c6/lib/appium_lib/common/helper.rb#L226) common +##### [start_element](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/common/helper.rb#L226) common > def start_element(name, attrs = []) -- -##### [end_element](https://github.com/appium/ruby_lib/blob/32f327239055362ef630979d5975d0fac64d94c6/lib/appium_lib/common/helper.rb#L236) common +##### [end_element](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/common/helper.rb#L236) common > def end_element(name) -- -##### [characters](https://github.com/appium/ruby_lib/blob/32f327239055362ef630979d5975d0fac64d94c6/lib/appium_lib/common/helper.rb#L243) common +##### [characters](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/common/helper.rb#L243) common > def characters(chars) -- -##### [DEFAULT_HEADERS](https://github.com/appium/ruby_lib/blob/32f327239055362ef630979d5975d0fac64d94c6/lib/appium_lib/common/http_client.rb#L8) common +##### [DEFAULT_HEADERS](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/common/http_client.rb#L8) common > 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/32f327239055362ef630979d5975d0fac64d94c6/lib/appium_lib/common/multi_touch.rb#L51) common +##### [pinch](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/common/multi_touch.rb#L51) common > 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. @@ -1352,11 +1348,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/32f327239055362ef630979d5975d0fac64d94c6/lib/appium_lib/common/multi_touch.rb#L94) common +##### [zoom](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/common/multi_touch.rb#L94) common > 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. @@ -1372,11 +1368,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/32f327239055362ef630979d5975d0fac64d94c6/lib/appium_lib/common/multi_touch.rb#L180) common +##### [initialize](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/common/multi_touch.rb#L180) common > def initialize(driver = $driver) self @@ -1384,19 +1380,19 @@ &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[MultiTouch] a new instance of MultiTouch -- -##### [COMPLEX_ACTIONS](https://github.com/appium/ruby_lib/blob/32f327239055362ef630979d5975d0fac64d94c6/lib/appium_lib/common/touch_actions.rb#L33) common +##### [COMPLEX_ACTIONS](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/common/touch_actions.rb#L33) common > COMPLEX_ACTIONS = ::Appium::Core::TouchAction::COMPLEX_ACTIONS -- -##### [initialize](https://github.com/appium/ruby_lib/blob/32f327239055362ef630979d5975d0fac64d94c6/lib/appium_lib/common/touch_actions.rb#L48) common +##### [initialize](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/common/touch_actions.rb#L48) common > def initialize(driver = $driver) @@ -1404,19 +1400,19 @@ &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[TouchAction] a new instance of TouchAction -- -##### [swipe](https://github.com/appium/ruby_lib/blob/32f327239055362ef630979d5975d0fac64d94c6/lib/appium_lib/common/touch_actions.rb#L52) common +##### [swipe](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/common/touch_actions.rb#L52) common > def swipe(opts) -- -##### [initialize](https://github.com/appium/ruby_lib/blob/32f327239055362ef630979d5975d0fac64d94c6/lib/appium_lib/common/command/ws_logcat.rb#L5) common +##### [initialize](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/common/command/ws_logcat.rb#L5) common > def initialize(url:, output_file: 'logcat.log') @@ -1424,35 +1420,35 @@ &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[WsLogcat] a new instance of WsLogcat -- -##### [handle_message_data](https://github.com/appium/ruby_lib/blob/32f327239055362ef630979d5975d0fac64d94c6/lib/appium_lib/common/command/ws_logcat.rb#L10) common +##### [handle_message_data](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/common/command/ws_logcat.rb#L10) common > def handle_message_data(data) -- -##### [for](https://github.com/appium/ruby_lib/blob/32f327239055362ef630979d5975d0fac64d94c6/lib/appium_lib/android/android.rb#L19) android +##### [for](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/android/android.rb#L19) android > def self.for(target) -- -##### [TextView](https://github.com/appium/ruby_lib/blob/32f327239055362ef630979d5975d0fac64d94c6/lib/appium_lib/android/element/text.rb#L4) android +##### [TextView](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/android/element/text.rb#L4) android > TextView = 'android.widget.TextView'.freeze -- -##### [text](https://github.com/appium/ruby_lib/blob/32f327239055362ef630979d5975d0fac64d94c6/lib/appium_lib/android/element/text.rb#L10) android +##### [text](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/android/element/text.rb#L10) android > def text(value) Find the first TextView that contains value or by index. If int then the TextView at that index is returned. @@ -1465,11 +1461,11 @@ &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[TextView] -- -##### [texts](https://github.com/appium/ruby_lib/blob/32f327239055362ef630979d5975d0fac64d94c6/lib/appium_lib/android/element/text.rb#L20) android +##### [texts](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/android/element/text.rb#L20) android > def texts(value = false) Find all TextViews containing value. If value is omitted, all texts are returned. @@ -1482,11 +1478,11 @@ &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[Array<TextView>] -- -##### [first_text](https://github.com/appium/ruby_lib/blob/32f327239055362ef630979d5975d0fac64d94c6/lib/appium_lib/android/element/text.rb#L28) android +##### [first_text](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/android/element/text.rb#L28) android > def first_text Find the first TextView. @@ -1494,11 +1490,11 @@ &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[TextView] -- -##### [last_text](https://github.com/appium/ruby_lib/blob/32f327239055362ef630979d5975d0fac64d94c6/lib/appium_lib/android/element/text.rb#L34) android +##### [last_text](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/android/element/text.rb#L34) android > def last_text Find the last TextView. @@ -1506,11 +1502,11 @@ &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[TextView] -- -##### [text_exact](https://github.com/appium/ruby_lib/blob/32f327239055362ef630979d5975d0fac64d94c6/lib/appium_lib/android/element/text.rb#L41) android +##### [text_exact](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/android/element/text.rb#L41) android > def text_exact(value) Find the first TextView that exactly matches value. @@ -1522,11 +1518,11 @@ &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[TextView] -- -##### [texts_exact](https://github.com/appium/ruby_lib/blob/32f327239055362ef630979d5975d0fac64d94c6/lib/appium_lib/android/element/text.rb#L48) android +##### [texts_exact](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/android/element/text.rb#L48) android > def texts_exact(value) Find all TextViews that exactly match value. @@ -1538,43 +1534,43 @@ &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[Array<TextView>] -- -##### [result](https://github.com/appium/ruby_lib/blob/32f327239055362ef630979d5975d0fac64d94c6/lib/appium_lib/android/common/helper.rb#L6) android +##### [result](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/android/common/helper.rb#L6) android > def result Returns the value of attribute result -- -##### [keys](https://github.com/appium/ruby_lib/blob/32f327239055362ef630979d5975d0fac64d94c6/lib/appium_lib/android/common/helper.rb#L6) android +##### [keys](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/android/common/helper.rb#L6) android > def keys Returns the value of attribute keys -- -##### [filter](https://github.com/appium/ruby_lib/blob/32f327239055362ef630979d5975d0fac64d94c6/lib/appium_lib/android/common/helper.rb#L6) android +##### [filter](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/android/common/helper.rb#L6) android > def filter Returns the value of attribute filter -- -##### [filter=](https://github.com/appium/ruby_lib/blob/32f327239055362ef630979d5975d0fac64d94c6/lib/appium_lib/android/common/helper.rb#L9) android +##### [filter=](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/android/common/helper.rb#L9) android > def filter=(value) convert to string to support symbols -- -##### [initialize](https://github.com/appium/ruby_lib/blob/32f327239055362ef630979d5975d0fac64d94c6/lib/appium_lib/android/common/helper.rb#L16) android +##### [initialize](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/android/common/helper.rb#L16) android > def initialize @@ -1582,27 +1578,27 @@ &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[AndroidElements] a new instance of AndroidElements -- -##### [reset](https://github.com/appium/ruby_lib/blob/32f327239055362ef630979d5975d0fac64d94c6/lib/appium_lib/android/common/helper.rb#L21) android +##### [reset](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/android/common/helper.rb#L21) android > def reset -- -##### [start_element](https://github.com/appium/ruby_lib/blob/32f327239055362ef630979d5975d0fac64d94c6/lib/appium_lib/android/common/helper.rb#L27) android +##### [start_element](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/android/common/helper.rb#L27) android > def start_element(name, attrs = [], driver = $driver) http://nokogiri.org/Nokogiri/XML/SAX/Document.html -- -##### [get_android_inspect](https://github.com/appium/ruby_lib/blob/32f327239055362ef630979d5975d0fac64d94c6/lib/appium_lib/android/common/helper.rb#L81) android +##### [get_android_inspect](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/android/common/helper.rb#L81) android > def get_android_inspect(class_name = false) Android only. Returns a string containing interesting elements. @@ -1617,11 +1613,11 @@ &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[String] -- -##### [page](https://github.com/appium/ruby_lib/blob/32f327239055362ef630979d5975d0fac64d94c6/lib/appium_lib/android/common/helper.rb#L107) android +##### [page](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/android/common/helper.rb#L107) android > def page(opts = {}) Intended for use with console. Inspects and prints the current page. @@ -1636,11 +1632,11 @@ &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[void] -- -##### [id](https://github.com/appium/ruby_lib/blob/32f327239055362ef630979d5975d0fac64d94c6/lib/appium_lib/android/common/helper.rb#L116) android +##### [id](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/android/common/helper.rb#L116) android > def id(id) Find the first matching element by id @@ -1652,11 +1648,11 @@ &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[Element] -- -##### [ids](https://github.com/appium/ruby_lib/blob/32f327239055362ef630979d5975d0fac64d94c6/lib/appium_lib/android/common/helper.rb#L124) android +##### [ids](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/android/common/helper.rb#L124) android > def ids(id) Find all matching elements by id @@ -1668,11 +1664,11 @@ &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[Element] -- -##### [ele_index](https://github.com/appium/ruby_lib/blob/32f327239055362ef630979d5975d0fac64d94c6/lib/appium_lib/android/common/helper.rb#L133) android +##### [ele_index](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/android/common/helper.rb#L133) android > def ele_index(class_name, index) Find the element of type class_name at matching index. @@ -1686,11 +1682,11 @@ &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[Element] the found element of type class_name -- -##### [first_ele](https://github.com/appium/ruby_lib/blob/32f327239055362ef630979d5975d0fac64d94c6/lib/appium_lib/android/common/helper.rb#L152) android +##### [first_ele](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/android/common/helper.rb#L152) android > def first_ele(class_name) Find the first element that matches class_name @@ -1702,11 +1698,11 @@ &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[Element] -- -##### [last_ele](https://github.com/appium/ruby_lib/blob/32f327239055362ef630979d5975d0fac64d94c6/lib/appium_lib/android/common/helper.rb#L159) android +##### [last_ele](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/android/common/helper.rb#L159) android > def last_ele(class_name) Find the last element that matches class_name @@ -1718,11 +1714,11 @@ &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[Element] -- -##### [tag](https://github.com/appium/ruby_lib/blob/32f327239055362ef630979d5975d0fac64d94c6/lib/appium_lib/android/common/helper.rb#L167) android +##### [tag](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/android/common/helper.rb#L167) android > def tag(class_name) Find the first element of type class_name @@ -1734,11 +1730,11 @@ &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[Element] -- -##### [tags](https://github.com/appium/ruby_lib/blob/32f327239055362ef630979d5975d0fac64d94c6/lib/appium_lib/android/common/helper.rb#L175) android +##### [tags](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/android/common/helper.rb#L175) android > def tags(class_name) Find all elements of type class_name @@ -1750,11 +1746,11 @@ &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[Element] -- -##### [string_visible_contains_xpath](https://github.com/appium/ruby_lib/blob/32f327239055362ef630979d5975d0fac64d94c6/lib/appium_lib/android/common/helper.rb#L218) android +##### [string_visible_contains_xpath](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/android/common/helper.rb#L218) android > def string_visible_contains_xpath(class_name, value) Returns a string that matches the first element that contains value For automationName is uiautomator2 @@ -1771,11 +1767,11 @@ &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[String] -- -##### [string_visible_contains](https://github.com/appium/ruby_lib/blob/32f327239055362ef630979d5975d0fac64d94c6/lib/appium_lib/android/common/helper.rb#L238) android +##### [string_visible_contains](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/android/common/helper.rb#L238) android > def string_visible_contains(class_name, value) Returns a string that matches the first element that contains value For automationName is Appium @@ -1792,11 +1788,11 @@ &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[String] -- -##### [complex_find_contains](https://github.com/appium/ruby_lib/blob/32f327239055362ef630979d5975d0fac64d94c6/lib/appium_lib/android/common/helper.rb#L256) android +##### [complex_find_contains](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/android/common/helper.rb#L256) android > def complex_find_contains(class_name, value) Find the first element that contains value @@ -1810,11 +1806,11 @@ &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[Element] -- -##### [complex_finds_contains](https://github.com/appium/ruby_lib/blob/32f327239055362ef630979d5975d0fac64d94c6/lib/appium_lib/android/common/helper.rb#L264) android +##### [complex_finds_contains](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/android/common/helper.rb#L264) android > def complex_finds_contains(class_name, value) Find all elements containing value @@ -1828,11 +1824,11 @@ &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[Array<Element>] -- -##### [complex_find_exact](https://github.com/appium/ruby_lib/blob/32f327239055362ef630979d5975d0fac64d94c6/lib/appium_lib/android/common/helper.rb#L306) android +##### [complex_find_exact](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/android/common/helper.rb#L306) android > def complex_find_exact(class_name, value) Find the first element exactly matching value @@ -1846,11 +1842,11 @@ &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[Element] -- -##### [complex_finds_exact](https://github.com/appium/ruby_lib/blob/32f327239055362ef630979d5975d0fac64d94c6/lib/appium_lib/android/common/helper.rb#L314) android +##### [complex_finds_exact](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/android/common/helper.rb#L314) android > def complex_finds_exact(class_name, value) Find all elements exactly matching value @@ -1864,11 +1860,11 @@ &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[Element] -- -##### [alert_click](https://github.com/appium/ruby_lib/blob/32f327239055362ef630979d5975d0fac64d94c6/lib/appium_lib/android/element/alert.rb#L6) android +##### [alert_click](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/android/element/alert.rb#L6) android > def alert_click(value) Click the first alert button that contains value or by index. @@ -1880,11 +1876,11 @@ &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[void] -- -##### [alert_accept](https://github.com/appium/ruby_lib/blob/32f327239055362ef630979d5975d0fac64d94c6/lib/appium_lib/android/element/alert.rb#L13) android +##### [alert_accept](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/android/element/alert.rb#L13) android > def alert_accept Accept the alert. The last button is considered "accept." @@ -1893,11 +1889,11 @@ &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[void] -- -##### [alert_accept_text](https://github.com/appium/ruby_lib/blob/32f327239055362ef630979d5975d0fac64d94c6/lib/appium_lib/android/element/alert.rb#L20) android +##### [alert_accept_text](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/android/element/alert.rb#L20) android > def alert_accept_text Get the text of the alert's accept button. The last button is considered "accept." @@ -1906,11 +1902,11 @@ &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[String] -- -##### [alert_dismiss](https://github.com/appium/ruby_lib/blob/32f327239055362ef630979d5975d0fac64d94c6/lib/appium_lib/android/element/alert.rb#L27) android +##### [alert_dismiss](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/android/element/alert.rb#L27) android > def alert_dismiss Dismiss the alert. The first button is considered "dismiss." @@ -1919,11 +1915,11 @@ &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[void] -- -##### [alert_dismiss_text](https://github.com/appium/ruby_lib/blob/32f327239055362ef630979d5975d0fac64d94c6/lib/appium_lib/android/element/alert.rb#L34) android +##### [alert_dismiss_text](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/android/element/alert.rb#L34) android > def alert_dismiss_text Get the text of the alert's dismiss button. The first button is considered "dismiss." @@ -1932,27 +1928,27 @@ &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[String] -- -##### [Button](https://github.com/appium/ruby_lib/blob/32f327239055362ef630979d5975d0fac64d94c6/lib/appium_lib/android/element/button.rb#L3) android +##### [Button](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/android/element/button.rb#L3) android > Button = 'android.widget.Button'.freeze -- -##### [ImageButton](https://github.com/appium/ruby_lib/blob/32f327239055362ef630979d5975d0fac64d94c6/lib/appium_lib/android/element/button.rb#L4) android +##### [ImageButton](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/android/element/button.rb#L4) android > ImageButton = 'android.widget.ImageButton'.freeze -- -##### [button](https://github.com/appium/ruby_lib/blob/32f327239055362ef630979d5975d0fac64d94c6/lib/appium_lib/android/element/button.rb#L10) android +##### [button](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/android/element/button.rb#L10) android > def button(value) Find the first button that contains value or by index. If int then the button at that index is returned. @@ -1965,11 +1961,11 @@ &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[Button] -- -##### [buttons](https://github.com/appium/ruby_lib/blob/32f327239055362ef630979d5975d0fac64d94c6/lib/appium_lib/android/element/button.rb#L28) android +##### [buttons](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/android/element/button.rb#L28) android > def buttons(value = false) Find all buttons containing value. If value is omitted, all buttons are returned. @@ -1982,11 +1978,11 @@ &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[Array<Button>] -- -##### [first_button](https://github.com/appium/ruby_lib/blob/32f327239055362ef630979d5975d0fac64d94c6/lib/appium_lib/android/element/button.rb#L36) android +##### [first_button](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/android/element/button.rb#L36) android > def first_button Find the first button. @@ -1994,11 +1990,11 @@ &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[Button] -- -##### [last_button](https://github.com/appium/ruby_lib/blob/32f327239055362ef630979d5975d0fac64d94c6/lib/appium_lib/android/element/button.rb#L42) android +##### [last_button](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/android/element/button.rb#L42) android > def last_button Find the last button. @@ -2006,11 +2002,11 @@ &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[Button] -- -##### [button_exact](https://github.com/appium/ruby_lib/blob/32f327239055362ef630979d5975d0fac64d94c6/lib/appium_lib/android/element/button.rb#L58) android +##### [button_exact](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/android/element/button.rb#L58) android > def button_exact(value) Find the first button that exactly matches value. @@ -2022,11 +2018,11 @@ &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[Button] -- -##### [buttons_exact](https://github.com/appium/ruby_lib/blob/32f327239055362ef630979d5975d0fac64d94c6/lib/appium_lib/android/element/button.rb#L65) android +##### [buttons_exact](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/android/element/button.rb#L65) android > def buttons_exact(value) Find all buttons that exactly match value. @@ -2038,35 +2034,35 @@ &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[Array<Button>] -- -##### [_button_visible_selectors](https://github.com/appium/ruby_lib/blob/32f327239055362ef630979d5975d0fac64d94c6/lib/appium_lib/android/element/button.rb#L78) android +##### [_button_visible_selectors](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/android/element/button.rb#L78) android > def _button_visible_selectors(opts = {}) -- -##### [_button_exact_string](https://github.com/appium/ruby_lib/blob/32f327239055362ef630979d5975d0fac64d94c6/lib/appium_lib/android/element/button.rb#L91) android +##### [_button_exact_string](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/android/element/button.rb#L91) android > def _button_exact_string(value) -- -##### [_button_contains_string](https://github.com/appium/ruby_lib/blob/32f327239055362ef630979d5975d0fac64d94c6/lib/appium_lib/android/element/button.rb#L97) android +##### [_button_contains_string](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/android/element/button.rb#L97) android > def _button_contains_string(value) -- -##### [find](https://github.com/appium/ruby_lib/blob/32f327239055362ef630979d5975d0fac64d94c6/lib/appium_lib/android/element/generic.rb#L6) android +##### [find](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/android/element/generic.rb#L6) android > def find(value) Find the first element containing value @@ -2078,11 +2074,11 @@ &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[Element] -- -##### [finds](https://github.com/appium/ruby_lib/blob/32f327239055362ef630979d5975d0fac64d94c6/lib/appium_lib/android/element/generic.rb#L13) android +##### [finds](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/android/element/generic.rb#L13) android > def finds(value) Find all elements containing value @@ -2094,11 +2090,11 @@ &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[Array<Element>] -- -##### [find_exact](https://github.com/appium/ruby_lib/blob/32f327239055362ef630979d5975d0fac64d94c6/lib/appium_lib/android/element/generic.rb#L20) android +##### [find_exact](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/android/element/generic.rb#L20) android > def find_exact(value) Find the first element exactly matching value @@ -2110,11 +2106,11 @@ &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[Element] -- -##### [finds_exact](https://github.com/appium/ruby_lib/blob/32f327239055362ef630979d5975d0fac64d94c6/lib/appium_lib/android/element/generic.rb#L27) android +##### [finds_exact](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/android/element/generic.rb#L27) android > def finds_exact(value) Find all elements exactly matching value @@ -2126,11 +2122,11 @@ &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[Array<Element>] -- -##### [scroll_to](https://github.com/appium/ruby_lib/blob/32f327239055362ef630979d5975d0fac64d94c6/lib/appium_lib/android/element/generic.rb#L40) android +##### [scroll_to](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/android/element/generic.rb#L40) android > def scroll_to(text, scrollable_index = 0) Scroll to the first element containing target text or description. @@ -2144,11 +2140,11 @@ &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[Element] the element scrolled to -- -##### [scroll_to_exact](https://github.com/appium/ruby_lib/blob/32f327239055362ef630979d5975d0fac64d94c6/lib/appium_lib/android/element/generic.rb#L58) android +##### [scroll_to_exact](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/android/element/generic.rb#L58) android > def scroll_to_exact(text, scrollable_index = 0) Scroll to the first element with the exact target text or description. @@ -2162,19 +2158,19 @@ &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[Element] the element scrolled to -- -##### [for](https://github.com/appium/ruby_lib/blob/32f327239055362ef630979d5975d0fac64d94c6/lib/appium_lib/android/espresso/bridge.rb#L7) android +##### [for](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/android/espresso/bridge.rb#L7) android > def self.for(target) -- -##### [complex_find_contains](https://github.com/appium/ruby_lib/blob/32f327239055362ef630979d5975d0fac64d94c6/lib/appium_lib/android/espresso/helper.rb#L9) android +##### [complex_find_contains](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/android/espresso/helper.rb#L9) android > def complex_find_contains(class_name, value) Find the first element that contains value @@ -2188,11 +2184,11 @@ &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[Element] -- -##### [complex_finds_contains](https://github.com/appium/ruby_lib/blob/32f327239055362ef630979d5975d0fac64d94c6/lib/appium_lib/android/espresso/helper.rb#L17) android +##### [complex_finds_contains](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/android/espresso/helper.rb#L17) android > def complex_finds_contains(class_name, value) Find all elements containing value @@ -2206,11 +2202,11 @@ &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[Array<Element>] -- -##### [complex_find_exact](https://github.com/appium/ruby_lib/blob/32f327239055362ef630979d5975d0fac64d94c6/lib/appium_lib/android/espresso/helper.rb#L25) android +##### [complex_find_exact](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/android/espresso/helper.rb#L25) android > def complex_find_exact(class_name, value) Find the first element exactly matching value @@ -2224,11 +2220,11 @@ &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[Element] -- -##### [complex_finds_exact](https://github.com/appium/ruby_lib/blob/32f327239055362ef630979d5975d0fac64d94c6/lib/appium_lib/android/espresso/helper.rb#L33) android +##### [complex_finds_exact](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/android/espresso/helper.rb#L33) android > def complex_finds_exact(class_name, value) Find all elements exactly matching value @@ -2242,19 +2238,19 @@ &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[Element] -- -##### [EditText](https://github.com/appium/ruby_lib/blob/32f327239055362ef630979d5975d0fac64d94c6/lib/appium_lib/android/element/textfield.rb#L3) android +##### [EditText](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/android/element/textfield.rb#L3) android > EditText = 'android.widget.EditText'.freeze -- -##### [textfield](https://github.com/appium/ruby_lib/blob/32f327239055362ef630979d5975d0fac64d94c6/lib/appium_lib/android/element/textfield.rb#L9) android +##### [textfield](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/android/element/textfield.rb#L9) android > def textfield(value) Find the first EditText that contains value or by index. If int then the EditText at that index is returned. @@ -2267,11 +2263,11 @@ &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[EditText] -- -##### [textfields](https://github.com/appium/ruby_lib/blob/32f327239055362ef630979d5975d0fac64d94c6/lib/appium_lib/android/element/textfield.rb#L19) android +##### [textfields](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/android/element/textfield.rb#L19) android > def textfields(value = false) Find all EditTexts containing value. If value is omitted, all EditTexts are returned. @@ -2284,11 +2280,11 @@ &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[Array<EditText>] -- -##### [first_textfield](https://github.com/appium/ruby_lib/blob/32f327239055362ef630979d5975d0fac64d94c6/lib/appium_lib/android/element/textfield.rb#L27) android +##### [first_textfield](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/android/element/textfield.rb#L27) android > def first_textfield Find the first EditText. @@ -2296,11 +2292,11 @@ &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[EditText] -- -##### [last_textfield](https://github.com/appium/ruby_lib/blob/32f327239055362ef630979d5975d0fac64d94c6/lib/appium_lib/android/element/textfield.rb#L33) android +##### [last_textfield](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/android/element/textfield.rb#L33) android > def last_textfield Find the last EditText. @@ -2308,11 +2304,11 @@ &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[EditText] -- -##### [textfield_exact](https://github.com/appium/ruby_lib/blob/32f327239055362ef630979d5975d0fac64d94c6/lib/appium_lib/android/element/textfield.rb#L40) android +##### [textfield_exact](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/android/element/textfield.rb#L40) android > def textfield_exact(value) Find the first EditText that exactly matches value. @@ -2324,11 +2320,11 @@ &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[EditText] -- -##### [textfields_exact](https://github.com/appium/ruby_lib/blob/32f327239055362ef630979d5975d0fac64d94c6/lib/appium_lib/android/element/textfield.rb#L47) android +##### [textfields_exact](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/android/element/textfield.rb#L47) android > def textfields_exact(value) Find all EditTexts that exactly match value. @@ -2340,19 +2336,19 @@ &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[Array<EditText>] -- -##### [for](https://github.com/appium/ruby_lib/blob/32f327239055362ef630979d5975d0fac64d94c6/lib/appium_lib/android/uiautomator2/bridge.rb#L7) android +##### [for](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/android/uiautomator2/bridge.rb#L7) android > def self.for(target) -- -##### [string_visible_contains](https://github.com/appium/ruby_lib/blob/32f327239055362ef630979d5975d0fac64d94c6/lib/appium_lib/android/uiautomator2/helper.rb#L13) android +##### [string_visible_contains](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/android/uiautomator2/helper.rb#L13) android > def string_visible_contains(class_name, value) Returns a string that matches the first element that contains value For automationName is Appium @@ -2369,11 +2365,11 @@ &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[String] -- -##### [complex_find_contains](https://github.com/appium/ruby_lib/blob/32f327239055362ef630979d5975d0fac64d94c6/lib/appium_lib/android/uiautomator2/helper.rb#L31) android +##### [complex_find_contains](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/android/uiautomator2/helper.rb#L31) android > def complex_find_contains(class_name, value) Find the first element that contains value @@ -2387,11 +2383,11 @@ &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[Element] -- -##### [complex_finds_contains](https://github.com/appium/ruby_lib/blob/32f327239055362ef630979d5975d0fac64d94c6/lib/appium_lib/android/uiautomator2/helper.rb#L42) android +##### [complex_finds_contains](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/android/uiautomator2/helper.rb#L42) android > def complex_finds_contains(class_name, value) Find all elements containing value @@ -2405,11 +2401,11 @@ &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[Array<Element>] -- -##### [complex_find_exact](https://github.com/appium/ruby_lib/blob/32f327239055362ef630979d5975d0fac64d94c6/lib/appium_lib/android/uiautomator2/helper.rb#L70) android +##### [complex_find_exact](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/android/uiautomator2/helper.rb#L70) android > def complex_find_exact(class_name, value) Find the first element exactly matching value @@ -2423,11 +2419,11 @@ &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[Element] -- -##### [complex_finds_exact](https://github.com/appium/ruby_lib/blob/32f327239055362ef630979d5975d0fac64d94c6/lib/appium_lib/android/uiautomator2/helper.rb#L81) android +##### [complex_finds_exact](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/android/uiautomator2/helper.rb#L81) android > def complex_finds_exact(class_name, value) Find all elements exactly matching value @@ -2441,11 +2437,11 @@ &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[Element] -- -##### [shell](https://github.com/appium/ruby_lib/blob/32f327239055362ef630979d5975d0fac64d94c6/lib/appium_lib/android/common/command/command.rb#L14) android +##### [shell](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/android/common/command/command.rb#L14) android > def shell(command, arguments) Conduct an adb shell script on Appium server. Require `--relaxed-security` arguments when run Appium server as server side arguments. @@ -2456,11 +2452,11 @@ &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[Array] arguments - Arguments for the adb command -- -##### [start_logs_broadcast](https://github.com/appium/ruby_lib/blob/32f327239055362ef630979d5975d0fac64d94c6/lib/appium_lib/android/common/command/command.rb#L28) android +##### [start_logs_broadcast](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/android/common/command/command.rb#L28) android > def start_logs_broadcast(logcat_file = 'logcat.log') Starts Android logcat broadcast websocket @@ -2468,19 +2464,19 @@ &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[String] logcat_file - A file path to write messages from a logcat WebSocket client -- -##### [stop_logs_broadcast](https://github.com/appium/ruby_lib/blob/32f327239055362ef630979d5975d0fac64d94c6/lib/appium_lib/android/common/command/command.rb#L41) android +##### [stop_logs_broadcast](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/android/common/command/command.rb#L41) android > def stop_logs_broadcast Stop Android logcat broadcast websocket -- -##### [button](https://github.com/appium/ruby_lib/blob/32f327239055362ef630979d5975d0fac64d94c6/lib/appium_lib/android/espresso/element/button.rb#L9) android +##### [button](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/android/espresso/element/button.rb#L9) android > def button(value) Find the first button that contains value or by index. If int then the button at that index is returned. @@ -2493,11 +2489,11 @@ &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[Button] -- -##### [buttons](https://github.com/appium/ruby_lib/blob/32f327239055362ef630979d5975d0fac64d94c6/lib/appium_lib/android/espresso/element/button.rb#L32) android +##### [buttons](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/android/espresso/element/button.rb#L32) android > def buttons(value = false) Find all buttons containing value. If value is omitted, all buttons are returned. @@ -2510,11 +2506,11 @@ &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[Array<Button>] -- -##### [first_button](https://github.com/appium/ruby_lib/blob/32f327239055362ef630979d5975d0fac64d94c6/lib/appium_lib/android/espresso/element/button.rb#L42) android +##### [first_button](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/android/espresso/element/button.rb#L42) android > def first_button Find the first button. @@ -2522,11 +2518,11 @@ &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[Button] -- -##### [last_button](https://github.com/appium/ruby_lib/blob/32f327239055362ef630979d5975d0fac64d94c6/lib/appium_lib/android/espresso/element/button.rb#L48) android +##### [last_button](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/android/espresso/element/button.rb#L48) android > def last_button Find the last button. @@ -2534,11 +2530,11 @@ &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[Button] -- -##### [button_exact](https://github.com/appium/ruby_lib/blob/32f327239055362ef630979d5975d0fac64d94c6/lib/appium_lib/android/espresso/element/button.rb#L63) android +##### [button_exact](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/android/espresso/element/button.rb#L63) android > def button_exact(value) Find the first button that exactly matches value. @@ -2550,11 +2546,11 @@ &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[Button] -- -##### [buttons_exact](https://github.com/appium/ruby_lib/blob/32f327239055362ef630979d5975d0fac64d94c6/lib/appium_lib/android/espresso/element/button.rb#L75) android +##### [buttons_exact](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/android/espresso/element/button.rb#L75) android > def buttons_exact(value) Find all buttons that exactly match value. @@ -2566,35 +2562,35 @@ &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[Array<Button>] -- -##### [_button_visible_selectors_xpath](https://github.com/appium/ruby_lib/blob/32f327239055362ef630979d5975d0fac64d94c6/lib/appium_lib/android/espresso/element/button.rb#L90) android +##### [_button_visible_selectors_xpath](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/android/espresso/element/button.rb#L90) android > def _button_visible_selectors_xpath(opts = {}) -- -##### [_button_exact_string_xpath](https://github.com/appium/ruby_lib/blob/32f327239055362ef630979d5975d0fac64d94c6/lib/appium_lib/android/espresso/element/button.rb#L111) android +##### [_button_exact_string_xpath](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/android/espresso/element/button.rb#L111) android > def _button_exact_string_xpath(class_name, value) -- -##### [_button_contains_string_xpath](https://github.com/appium/ruby_lib/blob/32f327239055362ef630979d5975d0fac64d94c6/lib/appium_lib/android/espresso/element/button.rb#L116) android +##### [_button_contains_string_xpath](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/android/espresso/element/button.rb#L116) android > def _button_contains_string_xpath(class_name, value) -- -##### [scroll_to](https://github.com/appium/ruby_lib/blob/32f327239055362ef630979d5975d0fac64d94c6/lib/appium_lib/android/espresso/element/generic.rb#L9) android +##### [scroll_to](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/android/espresso/element/generic.rb#L9) android > def scroll_to(text) Scroll to the first element containing target text or description. Scroll happens upto 30 times in centre of device width. @@ -2607,11 +2603,11 @@ &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[Element] the element scrolled to -- -##### [scroll_to_exact](https://github.com/appium/ruby_lib/blob/32f327239055362ef630979d5975d0fac64d94c6/lib/appium_lib/android/espresso/element/generic.rb#L36) android +##### [scroll_to_exact](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/android/espresso/element/generic.rb#L36) android > def scroll_to_exact(text) Scroll to the first element with the exact target text or description. Scroll happens upto 30 times in centre of device width. @@ -2624,11 +2620,11 @@ &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[Element] the element scrolled to -- -##### [button](https://github.com/appium/ruby_lib/blob/32f327239055362ef630979d5975d0fac64d94c6/lib/appium_lib/android/uiautomator2/element/button.rb#L9) android +##### [button](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/android/uiautomator2/element/button.rb#L9) android > def button(value) Find the first button that contains value or by index. If int then the button at that index is returned. @@ -2641,11 +2637,11 @@ &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[Button] -- -##### [buttons](https://github.com/appium/ruby_lib/blob/32f327239055362ef630979d5975d0fac64d94c6/lib/appium_lib/android/uiautomator2/element/button.rb#L30) android +##### [buttons](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/android/uiautomator2/element/button.rb#L30) android > def buttons(value = false) Find all buttons containing value. If value is omitted, all buttons are returned. @@ -2658,11 +2654,11 @@ &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[Array<Button>] -- -##### [first_button](https://github.com/appium/ruby_lib/blob/32f327239055362ef630979d5975d0fac64d94c6/lib/appium_lib/android/uiautomator2/element/button.rb#L38) android +##### [first_button](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/android/uiautomator2/element/button.rb#L38) android > def first_button Find the first button. @@ -2670,11 +2666,11 @@ &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[Button] -- -##### [last_button](https://github.com/appium/ruby_lib/blob/32f327239055362ef630979d5975d0fac64d94c6/lib/appium_lib/android/uiautomator2/element/button.rb#L45) android +##### [last_button](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/android/uiautomator2/element/button.rb#L45) android > def last_button Find the last button. @@ -2682,11 +2678,11 @@ &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[Button] -- -##### [button_exact](https://github.com/appium/ruby_lib/blob/32f327239055362ef630979d5975d0fac64d94c6/lib/appium_lib/android/uiautomator2/element/button.rb#L62) android +##### [button_exact](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/android/uiautomator2/element/button.rb#L62) android > def button_exact(value) Find the first button that exactly matches value. @@ -2698,10 +2694,10 @@ &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[Button] -- -##### [buttons_exact](https://github.com/appium/ruby_lib/blob/32f327239055362ef630979d5975d0fac64d94c6/lib/appium_lib/android/uiautomator2/element/button.rb#L70) android +##### [buttons_exact](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/android/uiautomator2/element/button.rb#L70) android > def buttons_exact(value) Find all buttons that exactly match value.