docs/android_docs.md in appium_lib-2.0.0 vs docs/android_docs.md in appium_lib-2.1.0
- old
+ new
@@ -1,6 +1,6 @@
-##### [load_appium_txt](https://github.com/appium/ruby_lib/blob/2d7ab8b6cc442f39f6171f8a27bc4923e4d4e2a4/lib/appium_lib/driver.rb#L71)
+##### [load_appium_txt](https://github.com/appium/ruby_lib/blob/f0db0910ea077e04329d3e0cafb434f829760abb/lib/appium_lib/driver.rb#L71)
> def self.load_appium_txt opts={}
Load appium.txt (toml format)
the basedir of this file + appium.txt is what's used
@@ -25,30 +25,30 @@
[hash] the symbolized hash with updated :app and :require keys
--
-##### [symbolize_keys](https://github.com/appium/ruby_lib/blob/2d7ab8b6cc442f39f6171f8a27bc4923e4d4e2a4/lib/appium_lib/driver.rb#L141)
+##### [symbolize_keys](https://github.com/appium/ruby_lib/blob/f0db0910ea077e04329d3e0cafb434f829760abb/lib/appium_lib/driver.rb#L141)
> def self.symbolize_keys hash
convert all keys (including nested) to symbols
based on deep_symbolize_keys & deep_transform_keys from rails
https://github.com/rails/docrails/blob/a3b1105ada3da64acfa3843b164b14b734456a50/activesupport/lib/active_support/core_ext/hash/keys.rb#L84
--
-##### [promote_singleton_appium_methods](https://github.com/appium/ruby_lib/blob/2d7ab8b6cc442f39f6171f8a27bc4923e4d4e2a4/lib/appium_lib/driver.rb#L151)
+##### [promote_singleton_appium_methods](https://github.com/appium/ruby_lib/blob/f0db0910ea077e04329d3e0cafb434f829760abb/lib/appium_lib/driver.rb#L151)
> def self.promote_singleton_appium_methods main_module
--
-##### [promote_appium_methods](https://github.com/appium/ruby_lib/blob/2d7ab8b6cc442f39f6171f8a27bc4923e4d4e2a4/lib/appium_lib/driver.rb#L180)
+##### [promote_appium_methods](https://github.com/appium/ruby_lib/blob/f0db0910ea077e04329d3e0cafb434f829760abb/lib/appium_lib/driver.rb#L180)
> def self.promote_appium_methods class_array
Promote appium methods to class instance methods
@@ -62,27 +62,27 @@
[Array<Class>] class_array - An array of classes
--
-##### [global_webdriver_http_sleep](https://github.com/appium/ruby_lib/blob/2d7ab8b6cc442f39f6171f8a27bc4923e4d4e2a4/lib/appium_lib/driver.rb#L213)
+##### [global_webdriver_http_sleep](https://github.com/appium/ruby_lib/blob/f0db0910ea077e04329d3e0cafb434f829760abb/lib/appium_lib/driver.rb#L213)
> 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/2d7ab8b6cc442f39f6171f8a27bc4923e4d4e2a4/lib/appium_lib/driver.rb#L213)
+##### [global_webdriver_http_sleep=](https://github.com/appium/ruby_lib/blob/f0db0910ea077e04329d3e0cafb434f829760abb/lib/appium_lib/driver.rb#L213)
> def global_webdriver_http_sleep=(value)
The amount to sleep in seconds before every webdriver http call.
--
-##### [initialize](https://github.com/appium/ruby_lib/blob/2d7ab8b6cc442f39f6171f8a27bc4923e4d4e2a4/lib/appium_lib/driver.rb#L234)
+##### [initialize](https://github.com/appium/ruby_lib/blob/f0db0910ea077e04329d3e0cafb434f829760abb/lib/appium_lib/driver.rb#L234)
> def initialize opts={}
Creates a new driver
@@ -96,11 +96,11 @@
opts = { caps: { platformName: :ios, app: '/path/to/MyiOS.app' } }
Appium::Driver.new(opts).start_driver
# Start Android driver
opts = { caps: { platformName: :android, app: '/path/to/my.apk' } }
-Appium::Driver.new(apk).start_driver
+Appium::Driver.new(opts).start_driver
```
__Parameters:__
[Object] opts - A hash containing various options.
@@ -109,19 +109,19 @@
[Driver]
--
-##### [driver_attributes](https://github.com/appium/ruby_lib/blob/2d7ab8b6cc442f39f6171f8a27bc4923e4d4e2a4/lib/appium_lib/driver.rb#L308)
+##### [driver_attributes](https://github.com/appium/ruby_lib/blob/f0db0910ea077e04329d3e0cafb434f829760abb/lib/appium_lib/driver.rb#L311)
> def driver_attributes
Returns a hash of the driver attributes
--
-##### [device_is_android?](https://github.com/appium/ruby_lib/blob/2d7ab8b6cc442f39f6171f8a27bc4923e4d4e2a4/lib/appium_lib/driver.rb#L328)
+##### [device_is_android?](https://github.com/appium/ruby_lib/blob/f0db0910ea077e04329d3e0cafb434f829760abb/lib/appium_lib/driver.rb#L331)
> def device_is_android?
@@ -129,11 +129,11 @@
[Boolean]
--
-##### [appium_server_version](https://github.com/appium/ruby_lib/blob/2d7ab8b6cc442f39f6171f8a27bc4923e4d4e2a4/lib/appium_lib/driver.rb#L344)
+##### [appium_server_version](https://github.com/appium/ruby_lib/blob/f0db0910ea077e04329d3e0cafb434f829760abb/lib/appium_lib/driver.rb#L347)
> def appium_server_version
Returns the server's version info
@@ -150,11 +150,11 @@
[Hash]
--
-##### [absolute_app_path](https://github.com/appium/ruby_lib/blob/2d7ab8b6cc442f39f6171f8a27bc4923e4d4e2a4/lib/appium_lib/driver.rb#L350)
+##### [absolute_app_path](https://github.com/appium/ruby_lib/blob/f0db0910ea077e04329d3e0cafb434f829760abb/lib/appium_lib/driver.rb#L353)
> def self.absolute_app_path app_path
Converts app_path to an absolute path.
@@ -162,11 +162,11 @@
[String] APP_PATH as an absolute path
--
-##### [server_url](https://github.com/appium/ruby_lib/blob/2d7ab8b6cc442f39f6171f8a27bc4923e4d4e2a4/lib/appium_lib/driver.rb#L374)
+##### [server_url](https://github.com/appium/ruby_lib/blob/f0db0910ea077e04329d3e0cafb434f829760abb/lib/appium_lib/driver.rb#L377)
> def server_url
Get the server url
@@ -174,11 +174,11 @@
[String] the server url
--
-##### [restart](https://github.com/appium/ruby_lib/blob/2d7ab8b6cc442f39f6171f8a27bc4923e4d4e2a4/lib/appium_lib/driver.rb#L385)
+##### [restart](https://github.com/appium/ruby_lib/blob/f0db0910ea077e04329d3e0cafb434f829760abb/lib/appium_lib/driver.rb#L388)
> def restart
Restarts the driver
@@ -186,11 +186,11 @@
[Driver] the driver
--
-##### [driver](https://github.com/appium/ruby_lib/blob/2d7ab8b6cc442f39f6171f8a27bc4923e4d4e2a4/lib/appium_lib/driver.rb#L392)
+##### [driver](https://github.com/appium/ruby_lib/blob/f0db0910ea077e04329d3e0cafb434f829760abb/lib/appium_lib/driver.rb#L395)
> def driver
Returns the driver
@@ -198,11 +198,11 @@
[Driver] the driver
--
-##### [screenshot](https://github.com/appium/ruby_lib/blob/2d7ab8b6cc442f39f6171f8a27bc4923e4d4e2a4/lib/appium_lib/driver.rb#L402)
+##### [screenshot](https://github.com/appium/ruby_lib/blob/f0db0910ea077e04329d3e0cafb434f829760abb/lib/appium_lib/driver.rb#L405)
> def screenshot png_save_path
Takes a png screenshot and saves to the target path.
@@ -216,11 +216,11 @@
[nil]
--
-##### [driver_quit](https://github.com/appium/ruby_lib/blob/2d7ab8b6cc442f39f6171f8a27bc4923e4d4e2a4/lib/appium_lib/driver.rb#L409)
+##### [driver_quit](https://github.com/appium/ruby_lib/blob/f0db0910ea077e04329d3e0cafb434f829760abb/lib/appium_lib/driver.rb#L412)
> def driver_quit
Quits the driver
@@ -228,11 +228,11 @@
[void]
--
-##### [start_driver](https://github.com/appium/ruby_lib/blob/2d7ab8b6cc442f39f6171f8a27bc4923e4d4e2a4/lib/appium_lib/driver.rb#L417)
+##### [start_driver](https://github.com/appium/ruby_lib/blob/f0db0910ea077e04329d3e0cafb434f829760abb/lib/appium_lib/driver.rb#L420)
> def start_driver
Creates a new global driver and quits the old one if it exists.
@@ -240,19 +240,19 @@
[Selenium::WebDriver] the new global driver
--
-##### [no_wait](https://github.com/appium/ruby_lib/blob/2d7ab8b6cc442f39f6171f8a27bc4923e4d4e2a4/lib/appium_lib/driver.rb#L443)
+##### [no_wait](https://github.com/appium/ruby_lib/blob/f0db0910ea077e04329d3e0cafb434f829760abb/lib/appium_lib/driver.rb#L447)
> def no_wait
Set implicit wait and default_wait to zero.
--
-##### [set_wait](https://github.com/appium/ruby_lib/blob/2d7ab8b6cc442f39f6171f8a27bc4923e4d4e2a4/lib/appium_lib/driver.rb#L462)
+##### [set_wait](https://github.com/appium/ruby_lib/blob/f0db0910ea077e04329d3e0cafb434f829760abb/lib/appium_lib/driver.rb#L466)
> def set_wait timeout=nil
Set implicit wait and default_wait to timeout, defaults to 30.
if set_wait is called without a param then the second to last
@@ -273,11 +273,11 @@
[void]
--
-##### [default_wait](https://github.com/appium/ruby_lib/blob/2d7ab8b6cc442f39f6171f8a27bc4923e4d4e2a4/lib/appium_lib/driver.rb#L480)
+##### [default_wait](https://github.com/appium/ruby_lib/blob/f0db0910ea077e04329d3e0cafb434f829760abb/lib/appium_lib/driver.rb#L484)
> def default_wait
Returns the default client side wait.
This value is independent of what the server is using
@@ -286,11 +286,11 @@
[Integer]
--
-##### [exists](https://github.com/appium/ruby_lib/blob/2d7ab8b6cc442f39f6171f8a27bc4923e4d4e2a4/lib/appium_lib/driver.rb#L496)
+##### [exists](https://github.com/appium/ruby_lib/blob/f0db0910ea077e04329d3e0cafb434f829760abb/lib/appium_lib/driver.rb#L500)
> def exists pre_check=0, post_check=@default_wait, &search_block
Returns existence of element.
@@ -312,11 +312,11 @@
[Boolean]
--
-##### [execute_script](https://github.com/appium/ruby_lib/blob/2d7ab8b6cc442f39f6171f8a27bc4923e4d4e2a4/lib/appium_lib/driver.rb#L520)
+##### [execute_script](https://github.com/appium/ruby_lib/blob/f0db0910ea077e04329d3e0cafb434f829760abb/lib/appium_lib/driver.rb#L524)
> def execute_script script, *args
The same as @driver.execute_script
@@ -330,11 +330,11 @@
[Object]
--
-##### [find_elements](https://github.com/appium/ruby_lib/blob/2d7ab8b6cc442f39f6171f8a27bc4923e4d4e2a4/lib/appium_lib/driver.rb#L528)
+##### [find_elements](https://github.com/appium/ruby_lib/blob/f0db0910ea077e04329d3e0cafb434f829760abb/lib/appium_lib/driver.rb#L532)
> def find_elements *args
Calls @driver.find_elements
@@ -346,11 +346,11 @@
[Array<Element>] Array is empty when no elements are found.
--
-##### [find_element](https://github.com/appium/ruby_lib/blob/2d7ab8b6cc442f39f6171f8a27bc4923e4d4e2a4/lib/appium_lib/driver.rb#L536)
+##### [find_element](https://github.com/appium/ruby_lib/blob/f0db0910ea077e04329d3e0cafb434f829760abb/lib/appium_lib/driver.rb#L540)
> def find_element *args
Calls @driver.find_elements
@@ -362,11 +362,11 @@
[Element]
--
-##### [x](https://github.com/appium/ruby_lib/blob/2d7ab8b6cc442f39f6171f8a27bc4923e4d4e2a4/lib/appium_lib/driver.rb#L543)
+##### [x](https://github.com/appium/ruby_lib/blob/f0db0910ea077e04329d3e0cafb434f829760abb/lib/appium_lib/driver.rb#L547)
> def x
Quit the driver and Pry.
quit and exit are reserved by Pry.
@@ -375,79 +375,79 @@
[void]
--
-##### [NoArgMethods](https://github.com/appium/ruby_lib/blob/2d7ab8b6cc442f39f6171f8a27bc4923e4d4e2a4/lib/appium_lib/device/device.rb#L7)
+##### [NoArgMethods](https://github.com/appium/ruby_lib/blob/f0db0910ea077e04329d3e0cafb434f829760abb/lib/appium_lib/device/device.rb#L7)
> NoArgMethods = {
--
-##### [app_strings](https://github.com/appium/ruby_lib/blob/2d7ab8b6cc442f39f6171f8a27bc4923e4d4e2a4/lib/appium_lib/device/device.rb#L22)
+##### [app_strings](https://github.com/appium/ruby_lib/blob/f0db0910ea077e04329d3e0cafb434f829760abb/lib/appium_lib/device/device.rb#L22)
> def app_strings
Return the hash of all localization strings.
```ruby
app_strings #=> "TransitionsTitle"=>"Transitions", "WebTitle"=>"Web"
```
--
-##### [background_app](https://github.com/appium/ruby_lib/blob/2d7ab8b6cc442f39f6171f8a27bc4923e4d4e2a4/lib/appium_lib/device/device.rb#L28)
+##### [background_app](https://github.com/appium/ruby_lib/blob/f0db0910ea077e04329d3e0cafb434f829760abb/lib/appium_lib/device/device.rb#L28)
> def background_app
Backgrounds the app for a set number of seconds.
This is a blocking application
--
-##### [current_activity](https://github.com/appium/ruby_lib/blob/2d7ab8b6cc442f39f6171f8a27bc4923e4d4e2a4/lib/appium_lib/device/device.rb#L33)
+##### [current_activity](https://github.com/appium/ruby_lib/blob/f0db0910ea077e04329d3e0cafb434f829760abb/lib/appium_lib/device/device.rb#L33)
> def current_activity
--
-##### [launch](https://github.com/appium/ruby_lib/blob/2d7ab8b6cc442f39f6171f8a27bc4923e4d4e2a4/lib/appium_lib/device/device.rb#L35)
+##### [launch](https://github.com/appium/ruby_lib/blob/f0db0910ea077e04329d3e0cafb434f829760abb/lib/appium_lib/device/device.rb#L35)
> def launch
Start the simulator and applicaton configured with desired capabilities
--
-##### [reset](https://github.com/appium/ruby_lib/blob/2d7ab8b6cc442f39f6171f8a27bc4923e4d4e2a4/lib/appium_lib/device/device.rb#L38)
+##### [reset](https://github.com/appium/ruby_lib/blob/f0db0910ea077e04329d3e0cafb434f829760abb/lib/appium_lib/device/device.rb#L38)
> def reset
Reset the device, relaunching the application.
--
-##### [shake](https://github.com/appium/ruby_lib/blob/2d7ab8b6cc442f39f6171f8a27bc4923e4d4e2a4/lib/appium_lib/device/device.rb#L41)
+##### [shake](https://github.com/appium/ruby_lib/blob/f0db0910ea077e04329d3e0cafb434f829760abb/lib/appium_lib/device/device.rb#L41)
> def shake
Cause the device to shake
--
-##### [toggle_flight_mode](https://github.com/appium/ruby_lib/blob/2d7ab8b6cc442f39f6171f8a27bc4923e4d4e2a4/lib/appium_lib/device/device.rb#L44)
+##### [toggle_flight_mode](https://github.com/appium/ruby_lib/blob/f0db0910ea077e04329d3e0cafb434f829760abb/lib/appium_lib/device/device.rb#L44)
> def toggle_flight_mode
toggle flight mode on or off
--
-##### [complex_find](https://github.com/appium/ruby_lib/blob/2d7ab8b6cc442f39f6171f8a27bc4923e4d4e2a4/lib/appium_lib/device/device.rb#L47)
+##### [complex_find](https://github.com/appium/ruby_lib/blob/f0db0910ea077e04329d3e0cafb434f829760abb/lib/appium_lib/device/device.rb#L47)
> def complex_find
Find an element by a complex array of criteria. Available criteria
are listed in [link here]. Criteria are formed by creating an array
@@ -464,11 +464,11 @@
[Array<Object>] selectors - The selectors to find elements with.
--
-##### [hide_keyboard](https://github.com/appium/ruby_lib/blob/2d7ab8b6cc442f39f6171f8a27bc4923e4d4e2a4/lib/appium_lib/device/device.rb#L59)
+##### [hide_keyboard](https://github.com/appium/ruby_lib/blob/f0db0910ea077e04329d3e0cafb434f829760abb/lib/appium_lib/device/device.rb#L59)
> def hide_keyboard
Hide the onscreen keyboard
@@ -477,11 +477,11 @@
[String] close_key - the name of the key which closes the keyboard.
Defaults to 'Done'.
--
-##### [key_event](https://github.com/appium/ruby_lib/blob/2d7ab8b6cc442f39f6171f8a27bc4923e4d4e2a4/lib/appium_lib/device/device.rb#L68)
+##### [key_event](https://github.com/appium/ruby_lib/blob/f0db0910ea077e04329d3e0cafb434f829760abb/lib/appium_lib/device/device.rb#L68)
> def key_event
Send a key event to the device.
@@ -491,11 +491,11 @@
[String] metastate - The state the metakeys should be in when sending the key.
--
-##### [push_file](https://github.com/appium/ruby_lib/blob/2d7ab8b6cc442f39f6171f8a27bc4923e4d4e2a4/lib/appium_lib/device/device.rb#L73)
+##### [push_file](https://github.com/appium/ruby_lib/blob/f0db0910ea077e04329d3e0cafb434f829760abb/lib/appium_lib/device/device.rb#L73)
> def push_file
Place a file in a specific location on the device.
@@ -505,11 +505,11 @@
[String] data - Raw file data to be sent to the device.
--
-##### [pull_file](https://github.com/appium/ruby_lib/blob/2d7ab8b6cc442f39f6171f8a27bc4923e4d4e2a4/lib/appium_lib/device/device.rb#L78)
+##### [pull_file](https://github.com/appium/ruby_lib/blob/f0db0910ea077e04329d3e0cafb434f829760abb/lib/appium_lib/device/device.rb#L78)
> def pull_file
Retrieve a file from the device. This can retrieve an absolute path or
a path relative to the installed app (iOS only).
@@ -522,19 +522,19 @@
[String] path - Either an absolute path OR, for iOS devices, a path relative to the app, as described.
--
-##### [extend_search_contexts](https://github.com/appium/ruby_lib/blob/2d7ab8b6cc442f39f6171f8a27bc4923e4d4e2a4/lib/appium_lib/device/device.rb#L283)
+##### [extend_search_contexts](https://github.com/appium/ruby_lib/blob/f0db0910ea077e04329d3e0cafb434f829760abb/lib/appium_lib/device/device.rb#L283)
> def extend_search_contexts
--
-##### [accessiblity_id_find](https://github.com/appium/ruby_lib/blob/2d7ab8b6cc442f39f6171f8a27bc4923e4d4e2a4/lib/appium_lib/device/device.rb#L283)
+##### [accessiblity_id_find](https://github.com/appium/ruby_lib/blob/f0db0910ea077e04329d3e0cafb434f829760abb/lib/appium_lib/device/device.rb#L283)
> def accessiblity_id_find
find_element/s with their accessibility_id
@@ -542,19 +542,19 @@
find_elements :accessibility_id, 'Animation'
```
--
-##### [add_touch_actions](https://github.com/appium/ruby_lib/blob/2d7ab8b6cc442f39f6171f8a27bc4923e4d4e2a4/lib/appium_lib/device/device.rb#L289)
+##### [add_touch_actions](https://github.com/appium/ruby_lib/blob/f0db0910ea077e04329d3e0cafb434f829760abb/lib/appium_lib/device/device.rb#L289)
> def add_touch_actions
--
-##### [set_context](https://github.com/appium/ruby_lib/blob/2d7ab8b6cc442f39f6171f8a27bc4923e4d4e2a4/lib/appium_lib/device/device.rb#L313)
+##### [set_context](https://github.com/appium/ruby_lib/blob/f0db0910ea077e04329d3e0cafb434f829760abb/lib/appium_lib/device/device.rb#L313)
> def set_context
Change the context to the given context.
```ruby
@@ -565,11 +565,11 @@
[String] The - context to change to
--
-##### [current_context](https://github.com/appium/ruby_lib/blob/2d7ab8b6cc442f39f6171f8a27bc4923e4d4e2a4/lib/appium_lib/device/device.rb#L321)
+##### [current_context](https://github.com/appium/ruby_lib/blob/f0db0910ea077e04329d3e0cafb434f829760abb/lib/appium_lib/device/device.rb#L321)
> def current_context
@@ -577,11 +577,11 @@
[String] The context currently being used.
--
-##### [available_contexts](https://github.com/appium/ruby_lib/blob/2d7ab8b6cc442f39f6171f8a27bc4923e4d4e2a4/lib/appium_lib/device/device.rb#L324)
+##### [available_contexts](https://github.com/appium/ruby_lib/blob/f0db0910ea077e04329d3e0cafb434f829760abb/lib/appium_lib/device/device.rb#L324)
> def available_contexts
@@ -589,11 +589,11 @@
[Array<String>] All usable contexts, as an array of strings.
--
-##### [within_context](https://github.com/appium/ruby_lib/blob/2d7ab8b6cc442f39f6171f8a27bc4923e4d4e2a4/lib/appium_lib/device/device.rb#L334)
+##### [within_context](https://github.com/appium/ruby_lib/blob/f0db0910ea077e04329d3e0cafb434f829760abb/lib/appium_lib/device/device.rb#L334)
> def within_context(context)
Perform a block within the given context, then switch back to the starting context.
```ruby
@@ -605,19 +605,19 @@
[String] context - The context to switch to for the duration of the block.
--
-##### [switch_to_default_context](https://github.com/appium/ruby_lib/blob/2d7ab8b6cc442f39f6171f8a27bc4923e4d4e2a4/lib/appium_lib/device/device.rb#L342)
+##### [switch_to_default_context](https://github.com/appium/ruby_lib/blob/f0db0910ea077e04329d3e0cafb434f829760abb/lib/appium_lib/device/device.rb#L342)
> def switch_to_default_context
Change to the default context. This is equivalent to `set_context nil`.
--
-##### [pinch](https://github.com/appium/ruby_lib/blob/2d7ab8b6cc442f39f6171f8a27bc4923e4d4e2a4/lib/appium_lib/device/multi_touch.rb#L30)
+##### [pinch](https://github.com/appium/ruby_lib/blob/f0db0910ea077e04329d3e0cafb434f829760abb/lib/appium_lib/device/multi_touch.rb#L30)
> def pinch(percentage=25, auto_perform=true)
Convenience method for pinching the screen.
Places two fingers at the edges of the screen and brings them together.
@@ -632,11 +632,11 @@
[boolean] auto_perform - Whether to perform the action immediately (default true)
--
-##### [zoom](https://github.com/appium/ruby_lib/blob/2d7ab8b6cc442f39f6171f8a27bc4923e4d4e2a4/lib/appium_lib/device/multi_touch.rb#L58)
+##### [zoom](https://github.com/appium/ruby_lib/blob/f0db0910ea077e04329d3e0cafb434f829760abb/lib/appium_lib/device/multi_touch.rb#L58)
> def zoom(percentage=200, auto_perform=true)
Convenience method for zooming the screen.
Places two fingers at the edges of the screen and brings them together.
@@ -651,11 +651,11 @@
[boolean] auto_perform - Whether to perform the action immediately (default true)
--
-##### [initialize](https://github.com/appium/ruby_lib/blob/2d7ab8b6cc442f39f6171f8a27bc4923e4d4e2a4/lib/appium_lib/device/multi_touch.rb#L79)
+##### [initialize](https://github.com/appium/ruby_lib/blob/f0db0910ea077e04329d3e0cafb434f829760abb/lib/appium_lib/device/multi_touch.rb#L79)
> def initialize
Create a new multi-action
@@ -663,11 +663,11 @@
[MultiTouch] a new instance of MultiTouch
--
-##### [add](https://github.com/appium/ruby_lib/blob/2d7ab8b6cc442f39f6171f8a27bc4923e4d4e2a4/lib/appium_lib/device/multi_touch.rb#L85)
+##### [add](https://github.com/appium/ruby_lib/blob/f0db0910ea077e04329d3e0cafb434f829760abb/lib/appium_lib/device/multi_touch.rb#L85)
> def add(chain)
Add a touch_action to be performed
@@ -675,43 +675,43 @@
[TouchAction] chain - The action to add to the chain
--
-##### [perform](https://github.com/appium/ruby_lib/blob/2d7ab8b6cc442f39f6171f8a27bc4923e4d4e2a4/lib/appium_lib/device/multi_touch.rb#L90)
+##### [perform](https://github.com/appium/ruby_lib/blob/f0db0910ea077e04329d3e0cafb434f829760abb/lib/appium_lib/device/multi_touch.rb#L90)
> def perform
Ask Appium to perform the actions
--
-##### [ACTIONS](https://github.com/appium/ruby_lib/blob/2d7ab8b6cc442f39f6171f8a27bc4923e4d4e2a4/lib/appium_lib/device/touch_actions.rb#L12)
+##### [ACTIONS](https://github.com/appium/ruby_lib/blob/f0db0910ea077e04329d3e0cafb434f829760abb/lib/appium_lib/device/touch_actions.rb#L12)
> ACTIONS = [:move_to, :long_press, :press, :release, :tap, :wait, :perform]
--
-##### [COMPLEX_ACTIONS](https://github.com/appium/ruby_lib/blob/2d7ab8b6cc442f39f6171f8a27bc4923e4d4e2a4/lib/appium_lib/device/touch_actions.rb#L13)
+##### [COMPLEX_ACTIONS](https://github.com/appium/ruby_lib/blob/f0db0910ea077e04329d3e0cafb434f829760abb/lib/appium_lib/device/touch_actions.rb#L13)
> COMPLEX_ACTIONS = [:swipe]
--
-##### [actions](https://github.com/appium/ruby_lib/blob/2d7ab8b6cc442f39f6171f8a27bc4923e4d4e2a4/lib/appium_lib/device/touch_actions.rb#L27)
+##### [actions](https://github.com/appium/ruby_lib/blob/f0db0910ea077e04329d3e0cafb434f829760abb/lib/appium_lib/device/touch_actions.rb#L27)
> def actions
Returns the value of attribute actions
--
-##### [initialize](https://github.com/appium/ruby_lib/blob/2d7ab8b6cc442f39f6171f8a27bc4923e4d4e2a4/lib/appium_lib/device/touch_actions.rb#L29)
+##### [initialize](https://github.com/appium/ruby_lib/blob/f0db0910ea077e04329d3e0cafb434f829760abb/lib/appium_lib/device/touch_actions.rb#L29)
> def initialize
@@ -719,11 +719,11 @@
[TouchAction] a new instance of TouchAction
--
-##### [move_to](https://github.com/appium/ruby_lib/blob/2d7ab8b6cc442f39f6171f8a27bc4923e4d4e2a4/lib/appium_lib/device/touch_actions.rb#L37)
+##### [move_to](https://github.com/appium/ruby_lib/blob/f0db0910ea077e04329d3e0cafb434f829760abb/lib/appium_lib/device/touch_actions.rb#L37)
> def move_to(opts)
Move to the given co-ordinates.
@@ -731,11 +731,11 @@
[Hash] opts - a customizable set of options
--
-##### [long_press](https://github.com/appium/ruby_lib/blob/2d7ab8b6cc442f39f6171f8a27bc4923e4d4e2a4/lib/appium_lib/device/touch_actions.rb#L47)
+##### [long_press](https://github.com/appium/ruby_lib/blob/f0db0910ea077e04329d3e0cafb434f829760abb/lib/appium_lib/device/touch_actions.rb#L47)
> def long_press(opts)
Press down for a specific duration.
@@ -749,11 +749,11 @@
[Hash] duration - a customizable set of options
--
-##### [press](https://github.com/appium/ruby_lib/blob/2d7ab8b6cc442f39f6171f8a27bc4923e4d4e2a4/lib/appium_lib/device/touch_actions.rb#L59)
+##### [press](https://github.com/appium/ruby_lib/blob/f0db0910ea077e04329d3e0cafb434f829760abb/lib/appium_lib/device/touch_actions.rb#L59)
> def press(opts)
Press a finger onto the screen. Finger will stay down until you call
`release`.
@@ -762,11 +762,11 @@
[Hash] opts - a customizable set of options
--
-##### [release](https://github.com/appium/ruby_lib/blob/2d7ab8b6cc442f39f6171f8a27bc4923e4d4e2a4/lib/appium_lib/device/touch_actions.rb#L70)
+##### [release](https://github.com/appium/ruby_lib/blob/f0db0910ea077e04329d3e0cafb434f829760abb/lib/appium_lib/device/touch_actions.rb#L70)
> def release(opts=nil)
Remove a finger from the screen.
@@ -774,11 +774,11 @@
[Hash] opts - a customizable set of options
--
-##### [tap](https://github.com/appium/ruby_lib/blob/2d7ab8b6cc442f39f6171f8a27bc4923e4d4e2a4/lib/appium_lib/device/touch_actions.rb#L81)
+##### [tap](https://github.com/appium/ruby_lib/blob/f0db0910ea077e04329d3e0cafb434f829760abb/lib/appium_lib/device/touch_actions.rb#L81)
> def tap(opts)
Touch a point on the screen
@@ -786,11 +786,11 @@
[Hash] opts - a customizable set of options
--
-##### [wait](https://github.com/appium/ruby_lib/blob/2d7ab8b6cc442f39f6171f8a27bc4923e4d4e2a4/lib/appium_lib/device/touch_actions.rb#L90)
+##### [wait](https://github.com/appium/ruby_lib/blob/f0db0910ea077e04329d3e0cafb434f829760abb/lib/appium_lib/device/touch_actions.rb#L90)
> def wait(milliseconds)
Pause for a number of milliseconds before the next action
@@ -798,11 +798,11 @@
[integer] milliseconds - Number of milliseconds to pause for
--
-##### [swipe](https://github.com/appium/ruby_lib/blob/2d7ab8b6cc442f39f6171f8a27bc4923e4d4e2a4/lib/appium_lib/device/touch_actions.rb#L101)
+##### [swipe](https://github.com/appium/ruby_lib/blob/f0db0910ea077e04329d3e0cafb434f829760abb/lib/appium_lib/device/touch_actions.rb#L101)
> def swipe(opts)
Convenience method to peform a swipe.
@@ -810,43 +810,43 @@
[Hash] opts - a customizable set of options
--
-##### [perform](https://github.com/appium/ruby_lib/blob/2d7ab8b6cc442f39f6171f8a27bc4923e4d4e2a4/lib/appium_lib/device/touch_actions.rb#L116)
+##### [perform](https://github.com/appium/ruby_lib/blob/f0db0910ea077e04329d3e0cafb434f829760abb/lib/appium_lib/device/touch_actions.rb#L116)
> def perform
Ask the driver to perform all actions in this action chain.
--
-##### [cancel](https://github.com/appium/ruby_lib/blob/2d7ab8b6cc442f39f6171f8a27bc4923e4d4e2a4/lib/appium_lib/device/touch_actions.rb#L122)
+##### [cancel](https://github.com/appium/ruby_lib/blob/f0db0910ea077e04329d3e0cafb434f829760abb/lib/appium_lib/device/touch_actions.rb#L122)
> def cancel
Does nothing, currently.
--
-##### [chain_method](https://github.com/appium/ruby_lib/blob/2d7ab8b6cc442f39f6171f8a27bc4923e4d4e2a4/lib/appium_lib/device/touch_actions.rb#L130)
+##### [chain_method](https://github.com/appium/ruby_lib/blob/f0db0910ea077e04329d3e0cafb434f829760abb/lib/appium_lib/device/touch_actions.rb#L130)
> def chain_method(method, args=nil)
--
-##### [args_with_ele_ref](https://github.com/appium/ruby_lib/blob/2d7ab8b6cc442f39f6171f8a27bc4923e4d4e2a4/lib/appium_lib/device/touch_actions.rb#L139)
+##### [args_with_ele_ref](https://github.com/appium/ruby_lib/blob/f0db0910ea077e04329d3e0cafb434f829760abb/lib/appium_lib/device/touch_actions.rb#L139)
> def args_with_ele_ref(args)
--
-##### [wait](https://github.com/appium/ruby_lib/blob/2d7ab8b6cc442f39f6171f8a27bc4923e4d4e2a4/lib/appium_lib/common/helper.rb#L33)
+##### [wait](https://github.com/appium/ruby_lib/blob/f0db0910ea077e04329d3e0cafb434f829760abb/lib/appium_lib/common/helper.rb#L33)
> def wait max_wait=30, interval=0.5, &block
Check every 0.5 seconds to see if block.call doesn't raise an exception.
if .call raises an exception then it will be tried again.
@@ -869,19 +869,19 @@
[Object] the result of block.call
--
-##### [ignore](https://github.com/appium/ruby_lib/blob/2d7ab8b6cc442f39f6171f8a27bc4923e4d4e2a4/lib/appium_lib/common/helper.rb#L49)
+##### [ignore](https://github.com/appium/ruby_lib/blob/f0db0910ea077e04329d3e0cafb434f829760abb/lib/appium_lib/common/helper.rb#L54)
> def ignore &block
Return block.call and ignore any exceptions.
--
-##### [wait_true](https://github.com/appium/ruby_lib/blob/2d7ab8b6cc442f39f6171f8a27bc4923e4d4e2a4/lib/appium_lib/common/helper.rb#L64)
+##### [wait_true](https://github.com/appium/ruby_lib/blob/f0db0910ea077e04329d3e0cafb434f829760abb/lib/appium_lib/common/helper.rb#L69)
> def wait_true max_wait=30, interval=0.5, &block
Check every 0.5 seconds to see if block.call returns a truthy value.
Note this isn't a strict boolean true, any truthy value is accepted.
@@ -900,11 +900,11 @@
[Object] the result of block.call
--
-##### [back](https://github.com/appium/ruby_lib/blob/2d7ab8b6cc442f39f6171f8a27bc4923e4d4e2a4/lib/appium_lib/common/helper.rb#L81)
+##### [back](https://github.com/appium/ruby_lib/blob/f0db0910ea077e04329d3e0cafb434f829760abb/lib/appium_lib/common/helper.rb#L89)
> def back
Navigate back.
@@ -912,19 +912,19 @@
[void]
--
-##### [session_id](https://github.com/appium/ruby_lib/blob/2d7ab8b6cc442f39f6171f8a27bc4923e4d4e2a4/lib/appium_lib/common/helper.rb#L86)
+##### [session_id](https://github.com/appium/ruby_lib/blob/f0db0910ea077e04329d3e0cafb434f829760abb/lib/appium_lib/common/helper.rb#L94)
> def session_id
For Sauce Labs reporting. Returns the current session id.
--
-##### [xpath](https://github.com/appium/ruby_lib/blob/2d7ab8b6cc442f39f6171f8a27bc4923e4d4e2a4/lib/appium_lib/common/helper.rb#L94)
+##### [xpath](https://github.com/appium/ruby_lib/blob/f0db0910ea077e04329d3e0cafb434f829760abb/lib/appium_lib/common/helper.rb#L102)
> def xpath xpath_str
Returns the first element that matches the provided xpath.
@@ -936,11 +936,11 @@
[Element]
--
-##### [xpaths](https://github.com/appium/ruby_lib/blob/2d7ab8b6cc442f39f6171f8a27bc4923e4d4e2a4/lib/appium_lib/common/helper.rb#L102)
+##### [xpaths](https://github.com/appium/ruby_lib/blob/f0db0910ea077e04329d3e0cafb434f829760abb/lib/appium_lib/common/helper.rb#L110)
> def xpaths xpath_str
Returns all elements that match the provided xpath.
@@ -952,11 +952,11 @@
[Array<Element>]
--
-##### [source](https://github.com/appium/ruby_lib/blob/2d7ab8b6cc442f39f6171f8a27bc4923e4d4e2a4/lib/appium_lib/common/helper.rb#L108)
+##### [source](https://github.com/appium/ruby_lib/blob/f0db0910ea077e04329d3e0cafb434f829760abb/lib/appium_lib/common/helper.rb#L116)
> def source
Prints xml of the current page
@@ -964,11 +964,11 @@
[void]
--
-##### [get_source](https://github.com/appium/ruby_lib/blob/2d7ab8b6cc442f39f6171f8a27bc4923e4d4e2a4/lib/appium_lib/common/helper.rb#L118)
+##### [get_source](https://github.com/appium/ruby_lib/blob/f0db0910ea077e04329d3e0cafb434f829760abb/lib/appium_lib/common/helper.rb#L134)
> def get_source
Returns XML string for the current page
Same as driver.page_source
@@ -977,19 +977,19 @@
[String]
--
-##### [result](https://github.com/appium/ruby_lib/blob/2d7ab8b6cc442f39f6171f8a27bc4923e4d4e2a4/lib/appium_lib/common/helper.rb#L125)
+##### [result](https://github.com/appium/ruby_lib/blob/f0db0910ea077e04329d3e0cafb434f829760abb/lib/appium_lib/common/helper.rb#L141)
> def result
Returns the value of attribute result
--
-##### [initialize](https://github.com/appium/ruby_lib/blob/2d7ab8b6cc442f39f6171f8a27bc4923e4d4e2a4/lib/appium_lib/common/helper.rb#L127)
+##### [initialize](https://github.com/appium/ruby_lib/blob/f0db0910ea077e04329d3e0cafb434f829760abb/lib/appium_lib/common/helper.rb#L143)
> def initialize
@@ -997,52 +997,52 @@
[CountElements] a new instance of CountElements
--
-##### [reset](https://github.com/appium/ruby_lib/blob/2d7ab8b6cc442f39f6171f8a27bc4923e4d4e2a4/lib/appium_lib/common/helper.rb#L131)
+##### [reset](https://github.com/appium/ruby_lib/blob/f0db0910ea077e04329d3e0cafb434f829760abb/lib/appium_lib/common/helper.rb#L147)
> def reset
--
-##### [start_element](https://github.com/appium/ruby_lib/blob/2d7ab8b6cc442f39f6171f8a27bc4923e4d4e2a4/lib/appium_lib/common/helper.rb#L136)
+##### [start_element](https://github.com/appium/ruby_lib/blob/f0db0910ea077e04329d3e0cafb434f829760abb/lib/appium_lib/common/helper.rb#L152)
> def start_element name, attrs = []
http://nokogiri.org/Nokogiri/XML/SAX/Document.html
--
-##### [formatted_result](https://github.com/appium/ruby_lib/blob/2d7ab8b6cc442f39f6171f8a27bc4923e4d4e2a4/lib/appium_lib/common/helper.rb#L142)
+##### [formatted_result](https://github.com/appium/ruby_lib/blob/f0db0910ea077e04329d3e0cafb434f829760abb/lib/appium_lib/common/helper.rb#L158)
> def formatted_result
--
-##### [get_page_class](https://github.com/appium/ruby_lib/blob/2d7ab8b6cc442f39f6171f8a27bc4923e4d4e2a4/lib/appium_lib/common/helper.rb#L153)
+##### [get_page_class](https://github.com/appium/ruby_lib/blob/f0db0910ea077e04329d3e0cafb434f829760abb/lib/appium_lib/common/helper.rb#L169)
> def get_page_class
Returns a string of class counts of visible elements.
--
-##### [page_class](https://github.com/appium/ruby_lib/blob/2d7ab8b6cc442f39f6171f8a27bc4923e4d4e2a4/lib/appium_lib/common/helper.rb#L164)
+##### [page_class](https://github.com/appium/ruby_lib/blob/f0db0910ea077e04329d3e0cafb434f829760abb/lib/appium_lib/common/helper.rb#L180)
> def page_class
Count all classes on screen and print to stdout.
Useful for appium_console.
--
-##### [px_to_window_rel](https://github.com/appium/ruby_lib/blob/2d7ab8b6cc442f39f6171f8a27bc4923e4d4e2a4/lib/appium_lib/common/helper.rb#L174)
+##### [px_to_window_rel](https://github.com/appium/ruby_lib/blob/f0db0910ea077e04329d3e0cafb434f829760abb/lib/appium_lib/common/helper.rb#L190)
> def px_to_window_rel opts={}
Converts pixel values to window relative values
@@ -1050,11 +1050,11 @@
px_to_window_rel x: 50, y: 150
```
--
-##### [xml_keys](https://github.com/appium/ruby_lib/blob/2d7ab8b6cc442f39f6171f8a27bc4923e4d4e2a4/lib/appium_lib/common/helper.rb#L191)
+##### [xml_keys](https://github.com/appium/ruby_lib/blob/f0db0910ea077e04329d3e0cafb434f829760abb/lib/appium_lib/common/helper.rb#L207)
> def xml_keys target
Search strings.xml's values for target.
@@ -1066,11 +1066,11 @@
[Array]
--
-##### [xml_values](https://github.com/appium/ruby_lib/blob/2d7ab8b6cc442f39f6171f8a27bc4923e4d4e2a4/lib/appium_lib/common/helper.rb#L199)
+##### [xml_values](https://github.com/appium/ruby_lib/blob/f0db0910ea077e04329d3e0cafb434f829760abb/lib/appium_lib/common/helper.rb#L215)
> def xml_values target
Search strings.xml's keys for target.
@@ -1082,11 +1082,11 @@
[Array]
--
-##### [resolve_id](https://github.com/appium/ruby_lib/blob/2d7ab8b6cc442f39f6171f8a27bc4923e4d4e2a4/lib/appium_lib/common/helper.rb#L207)
+##### [resolve_id](https://github.com/appium/ruby_lib/blob/f0db0910ea077e04329d3e0cafb434f829760abb/lib/appium_lib/common/helper.rb#L223)
> def resolve_id id
Resolve id in strings.xml and return the value.
@@ -1098,51 +1098,119 @@
[String]
--
-##### [window_size](https://github.com/appium/ruby_lib/blob/2d7ab8b6cc442f39f6171f8a27bc4923e4d4e2a4/lib/appium_lib/common/element/window.rb#L5)
+##### [filter](https://github.com/appium/ruby_lib/blob/f0db0910ea077e04329d3e0cafb434f829760abb/lib/appium_lib/common/helper.rb#L229)
+> def filter
+
+
+
+--
+
+##### [filter=](https://github.com/appium/ruby_lib/blob/f0db0910ea077e04329d3e0cafb434f829760abb/lib/appium_lib/common/helper.rb#L234)
+
+> def filter= value
+
+convert to string to support symbols
+
+--
+
+##### [initialize](https://github.com/appium/ruby_lib/blob/f0db0910ea077e04329d3e0cafb434f829760abb/lib/appium_lib/common/helper.rb#L240)
+
+> def initialize
+
+
+
+__Returns:__
+
+ [HTMLElements] a new instance of HTMLElements
+
+--
+
+##### [reset](https://github.com/appium/ruby_lib/blob/f0db0910ea077e04329d3e0cafb434f829760abb/lib/appium_lib/common/helper.rb#L245)
+
+> def reset
+
+
+
+--
+
+##### [result](https://github.com/appium/ruby_lib/blob/f0db0910ea077e04329d3e0cafb434f829760abb/lib/appium_lib/common/helper.rb#L251)
+
+> def result
+
+
+
+--
+
+##### [start_element](https://github.com/appium/ruby_lib/blob/f0db0910ea077e04329d3e0cafb434f829760abb/lib/appium_lib/common/helper.rb#L265)
+
+> def start_element name, attrs = []
+
+
+
+--
+
+##### [end_element](https://github.com/appium/ruby_lib/blob/f0db0910ea077e04329d3e0cafb434f829760abb/lib/appium_lib/common/helper.rb#L275)
+
+> def end_element name
+
+
+
+--
+
+##### [characters](https://github.com/appium/ruby_lib/blob/f0db0910ea077e04329d3e0cafb434f829760abb/lib/appium_lib/common/helper.rb#L281)
+
+> def characters(chars)
+
+
+
+--
+
+##### [window_size](https://github.com/appium/ruby_lib/blob/f0db0910ea077e04329d3e0cafb434f829760abb/lib/appium_lib/common/element/window.rb#L5)
+
> def window_size
Get the window's size
--
-##### [result](https://github.com/appium/ruby_lib/blob/2d7ab8b6cc442f39f6171f8a27bc4923e4d4e2a4/lib/appium_lib/android/helper.rb#L7) android
+##### [result](https://github.com/appium/ruby_lib/blob/f0db0910ea077e04329d3e0cafb434f829760abb/lib/appium_lib/android/helper.rb#L7) android
> def result
TODO: Support strings.xml ids
--
-##### [keys](https://github.com/appium/ruby_lib/blob/2d7ab8b6cc442f39f6171f8a27bc4923e4d4e2a4/lib/appium_lib/android/helper.rb#L7) android
+##### [keys](https://github.com/appium/ruby_lib/blob/f0db0910ea077e04329d3e0cafb434f829760abb/lib/appium_lib/android/helper.rb#L7) android
> def keys
TODO: Support strings.xml ids
--
-##### [filter](https://github.com/appium/ruby_lib/blob/2d7ab8b6cc442f39f6171f8a27bc4923e4d4e2a4/lib/appium_lib/android/helper.rb#L9) android
+##### [filter](https://github.com/appium/ruby_lib/blob/f0db0910ea077e04329d3e0cafb434f829760abb/lib/appium_lib/android/helper.rb#L9) android
> def filter
--
-##### [filter=](https://github.com/appium/ruby_lib/blob/2d7ab8b6cc442f39f6171f8a27bc4923e4d4e2a4/lib/appium_lib/android/helper.rb#L14) android
+##### [filter=](https://github.com/appium/ruby_lib/blob/f0db0910ea077e04329d3e0cafb434f829760abb/lib/appium_lib/android/helper.rb#L14) android
> def filter= value
convert to string to support symbols
--
-##### [initialize](https://github.com/appium/ruby_lib/blob/2d7ab8b6cc442f39f6171f8a27bc4923e4d4e2a4/lib/appium_lib/android/helper.rb#L20) android
+##### [initialize](https://github.com/appium/ruby_lib/blob/f0db0910ea077e04329d3e0cafb434f829760abb/lib/appium_lib/android/helper.rb#L20) android
> def initialize
@@ -1150,27 +1218,27 @@
[AndroidElements] a new instance of AndroidElements
--
-##### [reset](https://github.com/appium/ruby_lib/blob/2d7ab8b6cc442f39f6171f8a27bc4923e4d4e2a4/lib/appium_lib/android/helper.rb#L25) android
+##### [reset](https://github.com/appium/ruby_lib/blob/f0db0910ea077e04329d3e0cafb434f829760abb/lib/appium_lib/android/helper.rb#L25) android
> def reset
--
-##### [start_element](https://github.com/appium/ruby_lib/blob/2d7ab8b6cc442f39f6171f8a27bc4923e4d4e2a4/lib/appium_lib/android/helper.rb#L31) android
+##### [start_element](https://github.com/appium/ruby_lib/blob/f0db0910ea077e04329d3e0cafb434f829760abb/lib/appium_lib/android/helper.rb#L31) android
> def start_element name, attrs = []
http://nokogiri.org/Nokogiri/XML/SAX/Document.html
--
-##### [get_android_inspect](https://github.com/appium/ruby_lib/blob/2d7ab8b6cc442f39f6171f8a27bc4923e4d4e2a4/lib/appium_lib/android/helper.rb#L88) android
+##### [get_android_inspect](https://github.com/appium/ruby_lib/blob/f0db0910ea077e04329d3e0cafb434f829760abb/lib/appium_lib/android/helper.rb#L88) android
> def get_android_inspect class_name=false
Android only.
Returns a string containing interesting elements.
@@ -1185,16 +1253,17 @@
[String]
--
-##### [page](https://github.com/appium/ruby_lib/blob/2d7ab8b6cc442f39f6171f8a27bc4923e4d4e2a4/lib/appium_lib/android/helper.rb#L103) android
+##### [page](https://github.com/appium/ruby_lib/blob/f0db0910ea077e04329d3e0cafb434f829760abb/lib/appium_lib/android/helper.rb#L107) android
> def page opts={}
Intended for use with console.
Inspects and prints the current page.
+Will return XHTML for Web contexts because of a quirk with Nokogiri.
if nil (default) then all classes will be inspected
__Parameters:__
[Hash] class - a customizable set of options
@@ -1203,21 +1272,23 @@
[void]
--
-##### [current_app](https://github.com/appium/ruby_lib/blob/2d7ab8b6cc442f39f6171f8a27bc4923e4d4e2a4/lib/appium_lib/android/helper.rb#L112) android
+##### [current_app](https://github.com/appium/ruby_lib/blob/f0db0910ea077e04329d3e0cafb434f829760abb/lib/appium_lib/android/helper.rb#L118) android
> def current_app
Lists package, activity, and adb shell am start -n value for current app.
Works on local host only (not remote).
noinspection RubyArgCount
+example line:
+"mFocusedApp=AppWindowToken{b1420058 token=Token{b128add0 ActivityRecord{b1264d10 u0 com.example.android.apis/.ApiDemos t23}}}"
--
-##### [id](https://github.com/appium/ruby_lib/blob/2d7ab8b6cc442f39f6171f8a27bc4923e4d4e2a4/lib/appium_lib/android/helper.rb#L137) android
+##### [id](https://github.com/appium/ruby_lib/blob/f0db0910ea077e04329d3e0cafb434f829760abb/lib/appium_lib/android/helper.rb#L147) android
> def id id
Find the first matching element by id
@@ -1229,11 +1300,11 @@
[Element]
--
-##### [ids](https://github.com/appium/ruby_lib/blob/2d7ab8b6cc442f39f6171f8a27bc4923e4d4e2a4/lib/appium_lib/android/helper.rb#L144) android
+##### [ids](https://github.com/appium/ruby_lib/blob/f0db0910ea077e04329d3e0cafb434f829760abb/lib/appium_lib/android/helper.rb#L154) android
> def ids id
Find all matching elements by id
@@ -1245,11 +1316,11 @@
[Element]
--
-##### [ele_index](https://github.com/appium/ruby_lib/blob/2d7ab8b6cc442f39f6171f8a27bc4923e4d4e2a4/lib/appium_lib/android/helper.rb#L152) android
+##### [ele_index](https://github.com/appium/ruby_lib/blob/f0db0910ea077e04329d3e0cafb434f829760abb/lib/appium_lib/android/helper.rb#L162) android
> def ele_index class_name, index
Find the element of type class_name at matching index.
@@ -1263,11 +1334,11 @@
[Element] the found element of type class_name
--
-##### [find_ele_by_attr](https://github.com/appium/ruby_lib/blob/2d7ab8b6cc442f39f6171f8a27bc4923e4d4e2a4/lib/appium_lib/android/helper.rb#L170) android
+##### [find_ele_by_attr](https://github.com/appium/ruby_lib/blob/f0db0910ea077e04329d3e0cafb434f829760abb/lib/appium_lib/android/helper.rb#L180) android
> def find_ele_by_attr class_name, attr, value
Find the first element exactly matching class and attribute value.
@@ -1283,11 +1354,11 @@
[Element]
--
-##### [find_eles_by_attr](https://github.com/appium/ruby_lib/blob/2d7ab8b6cc442f39f6171f8a27bc4923e4d4e2a4/lib/appium_lib/android/helper.rb#L179) android
+##### [find_eles_by_attr](https://github.com/appium/ruby_lib/blob/f0db0910ea077e04329d3e0cafb434f829760abb/lib/appium_lib/android/helper.rb#L189) android
> def find_eles_by_attr class_name, attr, value
Find all elements exactly matching class and attribute value.
@@ -1303,11 +1374,11 @@
[Array<Element>]
--
-##### [find_ele_by_attr_include](https://github.com/appium/ruby_lib/blob/2d7ab8b6cc442f39f6171f8a27bc4923e4d4e2a4/lib/appium_lib/android/helper.rb#L193) android
+##### [find_ele_by_attr_include](https://github.com/appium/ruby_lib/blob/f0db0910ea077e04329d3e0cafb434f829760abb/lib/appium_lib/android/helper.rb#L203) android
> def find_ele_by_attr_include class_name, attr, value
Find the first element by attribute that exactly matches value.
@@ -1323,11 +1394,11 @@
[Element] the element of type tag who's attribute includes value
--
-##### [find_eles_by_attr_include](https://github.com/appium/ruby_lib/blob/2d7ab8b6cc442f39f6171f8a27bc4923e4d4e2a4/lib/appium_lib/android/helper.rb#L202) android
+##### [find_eles_by_attr_include](https://github.com/appium/ruby_lib/blob/f0db0910ea077e04329d3e0cafb434f829760abb/lib/appium_lib/android/helper.rb#L212) android
> def find_eles_by_attr_include class_name, attr, value
Find elements by attribute that include value.
@@ -1343,11 +1414,11 @@
[Array<Element>] the elements of type tag who's attribute includes value
--
-##### [first_ele](https://github.com/appium/ruby_lib/blob/2d7ab8b6cc442f39f6171f8a27bc4923e4d4e2a4/lib/appium_lib/android/helper.rb#L209) android
+##### [first_ele](https://github.com/appium/ruby_lib/blob/f0db0910ea077e04329d3e0cafb434f829760abb/lib/appium_lib/android/helper.rb#L219) android
> def first_ele class_name
Find the first element that matches class_name
@@ -1359,11 +1430,11 @@
[Element]
--
-##### [last_ele](https://github.com/appium/ruby_lib/blob/2d7ab8b6cc442f39f6171f8a27bc4923e4d4e2a4/lib/appium_lib/android/helper.rb#L217) android
+##### [last_ele](https://github.com/appium/ruby_lib/blob/f0db0910ea077e04329d3e0cafb434f829760abb/lib/appium_lib/android/helper.rb#L227) android
> def last_ele class_name
Find the last element that matches class_name
@@ -1375,11 +1446,11 @@
[Element]
--
-##### [tag](https://github.com/appium/ruby_lib/blob/2d7ab8b6cc442f39f6171f8a27bc4923e4d4e2a4/lib/appium_lib/android/helper.rb#L225) android
+##### [tag](https://github.com/appium/ruby_lib/blob/f0db0910ea077e04329d3e0cafb434f829760abb/lib/appium_lib/android/helper.rb#L235) android
> def tag class_name
Find the first element of type class_name
@@ -1391,11 +1462,11 @@
[Element]
--
-##### [tags](https://github.com/appium/ruby_lib/blob/2d7ab8b6cc442f39f6171f8a27bc4923e4d4e2a4/lib/appium_lib/android/helper.rb#L233) android
+##### [tags](https://github.com/appium/ruby_lib/blob/f0db0910ea077e04329d3e0cafb434f829760abb/lib/appium_lib/android/helper.rb#L243) android
> def tags class_name
Find all elements of type class_name
@@ -1407,11 +1478,11 @@
[Element]
--
-##### [xpath_visible_contains](https://github.com/appium/ruby_lib/blob/2d7ab8b6cc442f39f6171f8a27bc4923e4d4e2a4/lib/appium_lib/android/helper.rb#L268) android
+##### [xpath_visible_contains](https://github.com/appium/ruby_lib/blob/f0db0910ea077e04329d3e0cafb434f829760abb/lib/appium_lib/android/helper.rb#L278) android
> def xpath_visible_contains element, value
Find the first element that contains value
@@ -1425,11 +1496,11 @@
[Element]
--
-##### [xpaths_visible_contains](https://github.com/appium/ruby_lib/blob/2d7ab8b6cc442f39f6171f8a27bc4923e4d4e2a4/lib/appium_lib/android/helper.rb#L276) android
+##### [xpaths_visible_contains](https://github.com/appium/ruby_lib/blob/f0db0910ea077e04329d3e0cafb434f829760abb/lib/appium_lib/android/helper.rb#L286) android
> def xpaths_visible_contains element, value
Find all elements containing value
@@ -1443,11 +1514,11 @@
[Array<Element>]
--
-##### [xpath_visible_exact](https://github.com/appium/ruby_lib/blob/2d7ab8b6cc442f39f6171f8a27bc4923e4d4e2a4/lib/appium_lib/android/helper.rb#L302) android
+##### [xpath_visible_exact](https://github.com/appium/ruby_lib/blob/f0db0910ea077e04329d3e0cafb434f829760abb/lib/appium_lib/android/helper.rb#L312) android
> def xpath_visible_exact element, value
Find the first element exactly matching value
@@ -1461,11 +1532,11 @@
[Element]
--
-##### [xpaths_visible_exact](https://github.com/appium/ruby_lib/blob/2d7ab8b6cc442f39f6171f8a27bc4923e4d4e2a4/lib/appium_lib/android/helper.rb#L310) android
+##### [xpaths_visible_exact](https://github.com/appium/ruby_lib/blob/f0db0910ea077e04329d3e0cafb434f829760abb/lib/appium_lib/android/helper.rb#L320) android
> def xpaths_visible_exact element, value
Find all elements exactly matching value
@@ -1479,19 +1550,19 @@
[Element]
--
-##### [TextView](https://github.com/appium/ruby_lib/blob/2d7ab8b6cc442f39f6171f8a27bc4923e4d4e2a4/lib/appium_lib/android/element/text.rb#L4) android
+##### [TextView](https://github.com/appium/ruby_lib/blob/f0db0910ea077e04329d3e0cafb434f829760abb/lib/appium_lib/android/element/text.rb#L4) android
> TextView = 'android.widget.TextView'
--
-##### [text](https://github.com/appium/ruby_lib/blob/2d7ab8b6cc442f39f6171f8a27bc4923e4d4e2a4/lib/appium_lib/android/element/text.rb#L10) android
+##### [text](https://github.com/appium/ruby_lib/blob/f0db0910ea077e04329d3e0cafb434f829760abb/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.
@@ -1504,11 +1575,11 @@
[TextView]
--
-##### [texts](https://github.com/appium/ruby_lib/blob/2d7ab8b6cc442f39f6171f8a27bc4923e4d4e2a4/lib/appium_lib/android/element/text.rb#L19) android
+##### [texts](https://github.com/appium/ruby_lib/blob/f0db0910ea077e04329d3e0cafb434f829760abb/lib/appium_lib/android/element/text.rb#L19) android
> def texts value=false
Find all TextViews containing value.
If value is omitted, all texts are returned.
@@ -1521,11 +1592,11 @@
[Array<TextView>]
--
-##### [first_text](https://github.com/appium/ruby_lib/blob/2d7ab8b6cc442f39f6171f8a27bc4923e4d4e2a4/lib/appium_lib/android/element/text.rb#L26) android
+##### [first_text](https://github.com/appium/ruby_lib/blob/f0db0910ea077e04329d3e0cafb434f829760abb/lib/appium_lib/android/element/text.rb#L26) android
> def first_text
Find the first TextView.
@@ -1533,11 +1604,11 @@
[TextView]
--
-##### [last_text](https://github.com/appium/ruby_lib/blob/2d7ab8b6cc442f39f6171f8a27bc4923e4d4e2a4/lib/appium_lib/android/element/text.rb#L32) android
+##### [last_text](https://github.com/appium/ruby_lib/blob/f0db0910ea077e04329d3e0cafb434f829760abb/lib/appium_lib/android/element/text.rb#L32) android
> def last_text
Find the last TextView.
@@ -1545,11 +1616,11 @@
[TextView]
--
-##### [text_exact](https://github.com/appium/ruby_lib/blob/2d7ab8b6cc442f39f6171f8a27bc4923e4d4e2a4/lib/appium_lib/android/element/text.rb#L39) android
+##### [text_exact](https://github.com/appium/ruby_lib/blob/f0db0910ea077e04329d3e0cafb434f829760abb/lib/appium_lib/android/element/text.rb#L39) android
> def text_exact value
Find the first TextView that exactly matches value.
@@ -1561,11 +1632,11 @@
[TextView]
--
-##### [texts_exact](https://github.com/appium/ruby_lib/blob/2d7ab8b6cc442f39f6171f8a27bc4923e4d4e2a4/lib/appium_lib/android/element/text.rb#L46) android
+##### [texts_exact](https://github.com/appium/ruby_lib/blob/f0db0910ea077e04329d3e0cafb434f829760abb/lib/appium_lib/android/element/text.rb#L46) android
> def texts_exact value
Find all TextViews that exactly match value.
@@ -1577,11 +1648,11 @@
[Array<TextView>]
--
-##### [alert_click](https://github.com/appium/ruby_lib/blob/2d7ab8b6cc442f39f6171f8a27bc4923e4d4e2a4/lib/appium_lib/android/element/alert.rb#L6) android
+##### [alert_click](https://github.com/appium/ruby_lib/blob/f0db0910ea077e04329d3e0cafb434f829760abb/lib/appium_lib/android/element/alert.rb#L6) android
> def alert_click value
Click the first alert button that contains value or by index.
@@ -1593,11 +1664,11 @@
[void]
--
-##### [alert_accept](https://github.com/appium/ruby_lib/blob/2d7ab8b6cc442f39f6171f8a27bc4923e4d4e2a4/lib/appium_lib/android/element/alert.rb#L13) android
+##### [alert_accept](https://github.com/appium/ruby_lib/blob/f0db0910ea077e04329d3e0cafb434f829760abb/lib/appium_lib/android/element/alert.rb#L13) android
> def alert_accept
Accept the alert.
The last button is considered "accept."
@@ -1606,11 +1677,11 @@
[void]
--
-##### [alert_accept_text](https://github.com/appium/ruby_lib/blob/2d7ab8b6cc442f39f6171f8a27bc4923e4d4e2a4/lib/appium_lib/android/element/alert.rb#L20) android
+##### [alert_accept_text](https://github.com/appium/ruby_lib/blob/f0db0910ea077e04329d3e0cafb434f829760abb/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."
@@ -1619,11 +1690,11 @@
[String]
--
-##### [alert_dismiss](https://github.com/appium/ruby_lib/blob/2d7ab8b6cc442f39f6171f8a27bc4923e4d4e2a4/lib/appium_lib/android/element/alert.rb#L27) android
+##### [alert_dismiss](https://github.com/appium/ruby_lib/blob/f0db0910ea077e04329d3e0cafb434f829760abb/lib/appium_lib/android/element/alert.rb#L27) android
> def alert_dismiss
Dismiss the alert.
The first button is considered "dismiss."
@@ -1632,11 +1703,11 @@
[void]
--
-##### [alert_dismiss_text](https://github.com/appium/ruby_lib/blob/2d7ab8b6cc442f39f6171f8a27bc4923e4d4e2a4/lib/appium_lib/android/element/alert.rb#L34) android
+##### [alert_dismiss_text](https://github.com/appium/ruby_lib/blob/f0db0910ea077e04329d3e0cafb434f829760abb/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."
@@ -1645,11 +1716,11 @@
[String]
--
-##### [uiautomator_find](https://github.com/appium/ruby_lib/blob/2d7ab8b6cc442f39f6171f8a27bc4923e4d4e2a4/lib/appium_lib/android/mobile_methods.rb#L10) android
+##### [uiautomator_find](https://github.com/appium/ruby_lib/blob/f0db0910ea077e04329d3e0cafb434f829760abb/lib/appium_lib/android/mobile_methods.rb#L10) android
> def uiautomator_find
find_element/s can be used with a [UISelector](http://developer.android.com/tools/help/uiautomator/UiSelector.html).
@@ -1657,27 +1728,27 @@
find_elements :uiautomator, 'new UiSelector().clickable(true)'
```
--
-##### [Button](https://github.com/appium/ruby_lib/blob/2d7ab8b6cc442f39f6171f8a27bc4923e4d4e2a4/lib/appium_lib/android/element/button.rb#L4) android
+##### [Button](https://github.com/appium/ruby_lib/blob/f0db0910ea077e04329d3e0cafb434f829760abb/lib/appium_lib/android/element/button.rb#L4) android
> Button = 'android.widget.Button'
--
-##### [ImageButton](https://github.com/appium/ruby_lib/blob/2d7ab8b6cc442f39f6171f8a27bc4923e4d4e2a4/lib/appium_lib/android/element/button.rb#L5) android
+##### [ImageButton](https://github.com/appium/ruby_lib/blob/f0db0910ea077e04329d3e0cafb434f829760abb/lib/appium_lib/android/element/button.rb#L5) android
> ImageButton = 'android.widget.ImageButton'
--
-##### [button](https://github.com/appium/ruby_lib/blob/2d7ab8b6cc442f39f6171f8a27bc4923e4d4e2a4/lib/appium_lib/android/element/button.rb#L39) android
+##### [button](https://github.com/appium/ruby_lib/blob/f0db0910ea077e04329d3e0cafb434f829760abb/lib/appium_lib/android/element/button.rb#L39) android
> def button value
Find the first button that contains value or by index.
If int then the button at that index is returned.
@@ -1690,11 +1761,11 @@
[Button]
--
-##### [buttons](https://github.com/appium/ruby_lib/blob/2d7ab8b6cc442f39f6171f8a27bc4923e4d4e2a4/lib/appium_lib/android/element/button.rb#L56) android
+##### [buttons](https://github.com/appium/ruby_lib/blob/f0db0910ea077e04329d3e0cafb434f829760abb/lib/appium_lib/android/element/button.rb#L56) android
> def buttons value=false
Find all buttons containing value.
If value is omitted, all buttons are returned.
@@ -1707,11 +1778,11 @@
[Array<Button>]
--
-##### [first_button](https://github.com/appium/ruby_lib/blob/2d7ab8b6cc442f39f6171f8a27bc4923e4d4e2a4/lib/appium_lib/android/element/button.rb#L63) android
+##### [first_button](https://github.com/appium/ruby_lib/blob/f0db0910ea077e04329d3e0cafb434f829760abb/lib/appium_lib/android/element/button.rb#L63) android
> def first_button
Find the first button.
@@ -1719,11 +1790,11 @@
[Button]
--
-##### [last_button](https://github.com/appium/ruby_lib/blob/2d7ab8b6cc442f39f6171f8a27bc4923e4d4e2a4/lib/appium_lib/android/element/button.rb#L69) android
+##### [last_button](https://github.com/appium/ruby_lib/blob/f0db0910ea077e04329d3e0cafb434f829760abb/lib/appium_lib/android/element/button.rb#L69) android
> def last_button
Find the last button.
@@ -1731,11 +1802,11 @@
[Button]
--
-##### [button_exact](https://github.com/appium/ruby_lib/blob/2d7ab8b6cc442f39f6171f8a27bc4923e4d4e2a4/lib/appium_lib/android/element/button.rb#L76) android
+##### [button_exact](https://github.com/appium/ruby_lib/blob/f0db0910ea077e04329d3e0cafb434f829760abb/lib/appium_lib/android/element/button.rb#L76) android
> def button_exact value
Find the first button that exactly matches value.
@@ -1747,11 +1818,11 @@
[Button]
--
-##### [buttons_exact](https://github.com/appium/ruby_lib/blob/2d7ab8b6cc442f39f6171f8a27bc4923e4d4e2a4/lib/appium_lib/android/element/button.rb#L83) android
+##### [buttons_exact](https://github.com/appium/ruby_lib/blob/f0db0910ea077e04329d3e0cafb434f829760abb/lib/appium_lib/android/element/button.rb#L83) android
> def buttons_exact value
Find all buttons that exactly match value.
@@ -1763,11 +1834,11 @@
[Array<Button>]
--
-##### [find](https://github.com/appium/ruby_lib/blob/2d7ab8b6cc442f39f6171f8a27bc4923e4d4e2a4/lib/appium_lib/android/element/generic.rb#L7) android
+##### [find](https://github.com/appium/ruby_lib/blob/f0db0910ea077e04329d3e0cafb434f829760abb/lib/appium_lib/android/element/generic.rb#L7) android
> def find value
Find the first element containing value
@@ -1779,11 +1850,11 @@
[Element]
--
-##### [finds](https://github.com/appium/ruby_lib/blob/2d7ab8b6cc442f39f6171f8a27bc4923e4d4e2a4/lib/appium_lib/android/element/generic.rb#L14) android
+##### [finds](https://github.com/appium/ruby_lib/blob/f0db0910ea077e04329d3e0cafb434f829760abb/lib/appium_lib/android/element/generic.rb#L14) android
> def finds value
Find all elements containing value
@@ -1795,11 +1866,11 @@
[Array<Element>]
--
-##### [find_exact](https://github.com/appium/ruby_lib/blob/2d7ab8b6cc442f39f6171f8a27bc4923e4d4e2a4/lib/appium_lib/android/element/generic.rb#L21) android
+##### [find_exact](https://github.com/appium/ruby_lib/blob/f0db0910ea077e04329d3e0cafb434f829760abb/lib/appium_lib/android/element/generic.rb#L21) android
> def find_exact value
Find the first element exactly matching value
@@ -1811,11 +1882,11 @@
[Element]
--
-##### [finds_exact](https://github.com/appium/ruby_lib/blob/2d7ab8b6cc442f39f6171f8a27bc4923e4d4e2a4/lib/appium_lib/android/element/generic.rb#L28) android
+##### [finds_exact](https://github.com/appium/ruby_lib/blob/f0db0910ea077e04329d3e0cafb434f829760abb/lib/appium_lib/android/element/generic.rb#L28) android
> def finds_exact value
Find all elements exactly matching value
@@ -1827,11 +1898,11 @@
[Array<Element>]
--
-##### [scroll_to](https://github.com/appium/ruby_lib/blob/2d7ab8b6cc442f39f6171f8a27bc4923e4d4e2a4/lib/appium_lib/android/element/generic.rb#L35) android
+##### [scroll_to](https://github.com/appium/ruby_lib/blob/f0db0910ea077e04329d3e0cafb434f829760abb/lib/appium_lib/android/element/generic.rb#L35) android
> def scroll_to text
Scroll to the first element containing target text or description.
@@ -1843,11 +1914,11 @@
[Element] the element scrolled to
--
-##### [scroll_to_exact](https://github.com/appium/ruby_lib/blob/2d7ab8b6cc442f39f6171f8a27bc4923e4d4e2a4/lib/appium_lib/android/element/generic.rb#L48) android
+##### [scroll_to_exact](https://github.com/appium/ruby_lib/blob/f0db0910ea077e04329d3e0cafb434f829760abb/lib/appium_lib/android/element/generic.rb#L48) android
> def scroll_to_exact text
Scroll to the first element with the exact target text or description.
@@ -1859,19 +1930,19 @@
[Element] the element scrolled to
--
-##### [EditText](https://github.com/appium/ruby_lib/blob/2d7ab8b6cc442f39f6171f8a27bc4923e4d4e2a4/lib/appium_lib/android/element/textfield.rb#L3) android
+##### [EditText](https://github.com/appium/ruby_lib/blob/f0db0910ea077e04329d3e0cafb434f829760abb/lib/appium_lib/android/element/textfield.rb#L3) android
> EditText = 'android.widget.EditText'
--
-##### [textfield](https://github.com/appium/ruby_lib/blob/2d7ab8b6cc442f39f6171f8a27bc4923e4d4e2a4/lib/appium_lib/android/element/textfield.rb#L9) android
+##### [textfield](https://github.com/appium/ruby_lib/blob/f0db0910ea077e04329d3e0cafb434f829760abb/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.
@@ -1884,11 +1955,11 @@
[EditText]
--
-##### [textfields](https://github.com/appium/ruby_lib/blob/2d7ab8b6cc442f39f6171f8a27bc4923e4d4e2a4/lib/appium_lib/android/element/textfield.rb#L18) android
+##### [textfields](https://github.com/appium/ruby_lib/blob/f0db0910ea077e04329d3e0cafb434f829760abb/lib/appium_lib/android/element/textfield.rb#L18) android
> def textfields value=false
Find all EditTexts containing value.
If value is omitted, all EditTexts are returned.
@@ -1901,11 +1972,11 @@
[Array<EditText>]
--
-##### [first_textfield](https://github.com/appium/ruby_lib/blob/2d7ab8b6cc442f39f6171f8a27bc4923e4d4e2a4/lib/appium_lib/android/element/textfield.rb#L25) android
+##### [first_textfield](https://github.com/appium/ruby_lib/blob/f0db0910ea077e04329d3e0cafb434f829760abb/lib/appium_lib/android/element/textfield.rb#L25) android
> def first_textfield
Find the first EditText.
@@ -1913,11 +1984,11 @@
[EditText]
--
-##### [last_textfield](https://github.com/appium/ruby_lib/blob/2d7ab8b6cc442f39f6171f8a27bc4923e4d4e2a4/lib/appium_lib/android/element/textfield.rb#L31) android
+##### [last_textfield](https://github.com/appium/ruby_lib/blob/f0db0910ea077e04329d3e0cafb434f829760abb/lib/appium_lib/android/element/textfield.rb#L31) android
> def last_textfield
Find the last EditText.
@@ -1925,11 +1996,11 @@
[EditText]
--
-##### [textfield_exact](https://github.com/appium/ruby_lib/blob/2d7ab8b6cc442f39f6171f8a27bc4923e4d4e2a4/lib/appium_lib/android/element/textfield.rb#L38) android
+##### [textfield_exact](https://github.com/appium/ruby_lib/blob/f0db0910ea077e04329d3e0cafb434f829760abb/lib/appium_lib/android/element/textfield.rb#L38) android
> def textfield_exact value
Find the first EditText that exactly matches value.
@@ -1941,11 +2012,11 @@
[EditText]
--
-##### [textfields_exact](https://github.com/appium/ruby_lib/blob/2d7ab8b6cc442f39f6171f8a27bc4923e4d4e2a4/lib/appium_lib/android/element/textfield.rb#L45) android
+##### [textfields_exact](https://github.com/appium/ruby_lib/blob/f0db0910ea077e04329d3e0cafb434f829760abb/lib/appium_lib/android/element/textfield.rb#L45) android
> def textfields_exact value
Find all EditTexts that exactly match value.
@@ -1957,30 +2028,30 @@
[Array<EditText>]
--
-##### [value](https://github.com/appium/ruby_lib/blob/2d7ab8b6cc442f39f6171f8a27bc4923e4d4e2a4/lib/appium_lib/common/patch.rb#L10)
+##### [value](https://github.com/appium/ruby_lib/blob/f0db0910ea077e04329d3e0cafb434f829760abb/lib/appium_lib/common/patch.rb#L10)
> def value
Returns the value attribute
Fixes NoMethodError: undefined method `value' for Selenium::WebDriver::Element
--
-##### [name](https://github.com/appium/ruby_lib/blob/2d7ab8b6cc442f39f6171f8a27bc4923e4d4e2a4/lib/appium_lib/common/patch.rb#L17)
+##### [name](https://github.com/appium/ruby_lib/blob/f0db0910ea077e04329d3e0cafb434f829760abb/lib/appium_lib/common/patch.rb#L17)
> def name
Returns the name attribute
Fixes NoMethodError: undefined method `name' for Selenium::WebDriver::Element
--
-##### [location_rel](https://github.com/appium/ruby_lib/blob/2d7ab8b6cc442f39f6171f8a27bc4923e4d4e2a4/lib/appium_lib/common/patch.rb#L29)
+##### [location_rel](https://github.com/appium/ruby_lib/blob/f0db0910ea077e04329d3e0cafb434f829760abb/lib/appium_lib/common/patch.rb#L29)
> def location_rel
For use with mobile tap.