appium_lib 9.0.0 → 9.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (46) hide show
  1. checksums.yaml +4 -4
  2. data/.rubocop.yml +21 -0
  3. data/android_tests/lib/android/specs/android/helper.rb +3 -5
  4. data/android_tests/lib/android/specs/common/command.rb +47 -0
  5. data/android_tests/lib/android/specs/common/helper.rb +8 -8
  6. data/android_tests/lib/android/specs/common/web_context.rb +1 -1
  7. data/android_tests/lib/android/specs/driver.rb +19 -11
  8. data/android_tests/lib/format.rb +3 -3
  9. data/android_tests/lib/run.rb +7 -5
  10. data/android_tests/readme.md +1 -1
  11. data/appium_lib.gemspec +6 -7
  12. data/contributing.md +10 -0
  13. data/docs/android_docs.md +252 -217
  14. data/docs/ios_docs.md +257 -222
  15. data/docs/ios_xcuitest.md +32 -4
  16. data/ios_tests/lib/common.rb +11 -55
  17. data/ios_tests/lib/ios/specs/common/command.rb +44 -0
  18. data/ios_tests/lib/ios/specs/common/helper.rb +8 -8
  19. data/ios_tests/lib/ios/specs/device/device.rb +5 -5
  20. data/ios_tests/lib/ios/specs/driver.rb +34 -15
  21. data/ios_tests/lib/ios/specs/ios/element/textfield.rb +1 -1
  22. data/ios_tests/readme.md +1 -1
  23. data/ios_tests/upload/sauce_storage.rb +10 -8
  24. data/lib/appium_lib/android/element/button.rb +3 -3
  25. data/lib/appium_lib/android/element/text.rb +1 -1
  26. data/lib/appium_lib/android/element/textfield.rb +1 -1
  27. data/lib/appium_lib/android/helper.rb +12 -12
  28. data/lib/appium_lib/android/mobile_methods.rb +1 -3
  29. data/lib/appium_lib/common/command.rb +55 -0
  30. data/lib/appium_lib/common/helper.rb +7 -7
  31. data/lib/appium_lib/common/patch.rb +21 -8
  32. data/lib/appium_lib/common/search_context.rb +10 -0
  33. data/lib/appium_lib/common/version.rb +2 -2
  34. data/lib/appium_lib/common/wait.rb +8 -14
  35. data/lib/appium_lib/device/device.rb +65 -83
  36. data/lib/appium_lib/device/multi_touch.rb +2 -2
  37. data/lib/appium_lib/device/touch_actions.rb +4 -7
  38. data/lib/appium_lib/driver.rb +66 -38
  39. data/lib/appium_lib/ios/element/alert.rb +4 -4
  40. data/lib/appium_lib/ios/element/textfield.rb +3 -3
  41. data/lib/appium_lib/ios/errors.rb +6 -0
  42. data/lib/appium_lib/ios/helper.rb +25 -25
  43. data/lib/appium_lib/ios/mobile_methods.rb +2 -4
  44. data/readme.md +3 -1
  45. data/release_notes.md +13 -0
  46. metadata +23 -12
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: b66ad1137772906167a62c33d8f4adc53984aaf4
4
- data.tar.gz: 3895c3700ed5dedd908d296c891bad78700f50c1
3
+ metadata.gz: 80547dd6cb529b71cfdbce78e68e08db617b9b59
4
+ data.tar.gz: 23c7aedb4e456ecec13eee8d2b6cbfcdb3f9fbe3
5
5
  SHA512:
6
- metadata.gz: cf595faedeb4f08b95cd9664a7fb0472f093c65d136445e565d5207b4a58f2a3768f5dc5555ef7ea64f5d78e25fbf71f555298b6322fd958cf880f675c77c69b
7
- data.tar.gz: 5409d672c3cf12da2dda31aedb92aa306fa36d5d87332dab7bf3400bc3ea8f056005e38f8f05ffd4a47e86c56241f98c1d2e1c47c8cdc5b982c415a32299246e
6
+ metadata.gz: 8fbe0e0f91205db2fe83db9ab44b7763eecbe3dae0c80ac10aa51d0b977fb03bac6c7a280e86207cde6fd5a223a1e310ed5f1ce28686f8b406bf6a39cc27338f
7
+ data.tar.gz: a8aa634e6747ef6f2eabd12213e2876468baef82c1e1c73301d2008884c97463aea3fc93ba9a3cd043f42ad4dd976b65706095228c8a67dffabc28cab7663ca8
@@ -3,6 +3,8 @@ Metrics/LineLength:
3
3
  Max: 125
4
4
  Metrics/MethodLength:
5
5
  Enabled: false
6
+ Metrics/ModuleLength:
7
+ Enabled: false
6
8
  Metrics/ClassLength:
7
9
  Enabled: false
8
10
  Metrics/CyclomaticComplexity:
@@ -11,6 +13,8 @@ Metrics/PerceivedComplexity:
11
13
  Enabled: false
12
14
  Metrics/AbcSize:
13
15
  Enabled: false
16
+ Metrics/BlockLength:
17
+ Enabled: false
14
18
  Style/Documentation:
15
19
  Enabled: false
16
20
  Style/RegexpLiteral:
@@ -26,3 +30,20 @@ Style/DoubleNegation:
26
30
  Enabled: false
27
31
  Style/EachWithObject:
28
32
  Enabled: false
33
+ Style/SpaceAroundOperators:
34
+ Enabled: false
35
+ Style/ExtraSpacing:
36
+ Enabled: false
37
+ Style/IndentHash:
38
+ Enabled: false
39
+ Style/VariableNumber:
40
+ EnforcedStyle: 'snake_case'
41
+ # The followings should checked again
42
+ Style/IdenticalConditionalBranches:
43
+ Enabled: false
44
+ Lint/NestedMethodDefinition:
45
+ Enabled: false
46
+ Lint/UnifiedInteger:
47
+ Enabled: false
48
+ Performance/RedundantBlockCall:
49
+ Enabled: false
@@ -85,18 +85,16 @@ describe 'android/helper' do
85
85
  # api 19
86
86
  ['mFocusedApp=AppWindowToken{b40af858 token=Token{b3e2ce38 ActivityRecord{b3eb47d8 u0 io.appium.android.apis/.ApiDemos t6}}}',
87
87
  'io.appium.android.apis',
88
- '.ApiDemos'
89
- ],
88
+ '.ApiDemos'],
90
89
  # api 16 selendroid
91
90
  ['mFocusedApp=AppWindowToken{4157a2c8 token=Token{41582628 ActivityRecord{415821f0 com.android.launcher/com.android.launcher2.Launcher}}}',
92
91
  'com.android.launcher',
93
- 'com.android.launcher2.Launcher'
94
- ]
92
+ 'com.android.launcher2.Launcher']
95
93
  ]
96
94
 
97
95
  expected.each do |line, package, activity|
98
96
  parsed = _parse_current_app_line(line)
99
- fail "failed to parse #{line}" if parsed.nil?
97
+ raise "failed to parse #{line}" if parsed.nil?
100
98
  parsed.package.must_equal package
101
99
  parsed.activity.must_equal activity
102
100
  parsed.am_start.must_equal package + '/' + activity
@@ -0,0 +1,47 @@
1
+ # rake android[common/command]
2
+ describe 'common/command.rb' do
3
+ def before_first
4
+ wait { current_activity.must_equal '.ApiDemos' }
5
+ end
6
+
7
+ t 'before_first' do
8
+ before_first
9
+ end
10
+
11
+ t 'check all command no arg' do
12
+ Selenium::WebDriver::Remote::Bridge.method_defined?(:shake).must_equal true
13
+ Selenium::WebDriver::Remote::Bridge.method_defined?(:launch_app).must_equal true
14
+ Selenium::WebDriver::Remote::Bridge.method_defined?(:close_app).must_equal true
15
+ Selenium::WebDriver::Remote::Bridge.method_defined?(:reset).must_equal true
16
+ Selenium::WebDriver::Remote::Bridge.method_defined?(:device_locked?).must_equal true
17
+ Selenium::WebDriver::Remote::Bridge.method_defined?(:open_notifications).must_equal true
18
+ Selenium::WebDriver::Remote::Bridge.method_defined?(:toggle_airplane_mode).must_equal true
19
+ Selenium::WebDriver::Remote::Bridge.method_defined?(:current_activity).must_equal true
20
+ Selenium::WebDriver::Remote::Bridge.method_defined?(:get_network_connection).must_equal true
21
+ end
22
+
23
+ t 'check all command with arg' do
24
+ Selenium::WebDriver::Remote::Bridge.method_defined?(:available_contexts).must_equal true
25
+ Selenium::WebDriver::Remote::Bridge.method_defined?(:app_strings).must_equal true
26
+ Selenium::WebDriver::Remote::Bridge.method_defined?(:lock).must_equal true
27
+ Selenium::WebDriver::Remote::Bridge.method_defined?(:install_app).must_equal true
28
+ Selenium::WebDriver::Remote::Bridge.method_defined?(:remove_app).must_equal true
29
+ Selenium::WebDriver::Remote::Bridge.method_defined?(:app_installed?).must_equal true
30
+ Selenium::WebDriver::Remote::Bridge.method_defined?(:background_app).must_equal true
31
+ Selenium::WebDriver::Remote::Bridge.method_defined?(:start_activity).must_equal true
32
+ Selenium::WebDriver::Remote::Bridge.method_defined?(:set_context).must_equal true
33
+ Selenium::WebDriver::Remote::Bridge.method_defined?(:hide_keyboard).must_equal true
34
+ Selenium::WebDriver::Remote::Bridge.method_defined?(:press_keycode).must_equal true
35
+ Selenium::WebDriver::Remote::Bridge.method_defined?(:long_press_keycode).must_equal true
36
+ Selenium::WebDriver::Remote::Bridge.method_defined?(:set_immediate_value).must_equal true
37
+ Selenium::WebDriver::Remote::Bridge.method_defined?(:push_file).must_equal true
38
+ Selenium::WebDriver::Remote::Bridge.method_defined?(:pull_file).must_equal true
39
+ Selenium::WebDriver::Remote::Bridge.method_defined?(:pull_folder).must_equal true
40
+ Selenium::WebDriver::Remote::Bridge.method_defined?(:end_coverage).must_equal true
41
+ Selenium::WebDriver::Remote::Bridge.method_defined?(:get_settings).must_equal true
42
+ Selenium::WebDriver::Remote::Bridge.method_defined?(:update_settings).must_equal true
43
+ Selenium::WebDriver::Remote::Bridge.method_defined?(:set_network_connection).must_equal true
44
+ Selenium::WebDriver::Remote::Bridge.method_defined?(:touch_actions).must_equal true
45
+ Selenium::WebDriver::Remote::Bridge.method_defined?(:multi_touch).must_equal true
46
+ end
47
+ end
@@ -15,12 +15,12 @@ describe 'common/helper' do
15
15
  wait(wait_opts) { nil }
16
16
 
17
17
  # failed wait should error
18
- proc { wait(wait_opts) { fail } }.must_raise Selenium::WebDriver::Error::TimeOutError
18
+ proc { wait(wait_opts) { raise } }.must_raise Selenium::WebDriver::Error::TimeOutError
19
19
 
20
20
  # regular rescue will not handle exceptions outside of StandardError hierarchy
21
21
  # must rescue Exception explicitly to rescue everything
22
- proc { wait(wait_opts) { fail NoMemoryError } }.must_raise Selenium::WebDriver::Error::TimeOutError
23
- proc { wait(timeout: 0.2, interval: 0.0) { fail NoMemoryError } }.must_raise Selenium::WebDriver::Error::TimeOutError
22
+ proc { wait(wait_opts) { raise NoMemoryError } }.must_raise Selenium::WebDriver::Error::TimeOutError
23
+ proc { wait(timeout: 0.2, interval: 0.0) { raise NoMemoryError } }.must_raise Selenium::WebDriver::Error::TimeOutError
24
24
 
25
25
  # invalid keys are rejected
26
26
  proc { wait(invalidkey: 2) { true } }.must_raise RuntimeError
@@ -31,8 +31,8 @@ describe 'common/helper' do
31
31
  ignore { true }
32
32
  ignore { false }
33
33
  ignore { nil }
34
- ignore { fail }
35
- ignore { fail NoMemoryError }
34
+ ignore { raise }
35
+ ignore { raise NoMemoryError }
36
36
  end
37
37
 
38
38
  # wait_true is a success unless the value is not true
@@ -45,12 +45,12 @@ describe 'common/helper' do
45
45
  proc { wait_true(wait_opts) { nil } }.must_raise Selenium::WebDriver::Error::TimeOutError
46
46
 
47
47
  # raise should error
48
- proc { wait_true(wait_opts) { fail } }.must_raise Selenium::WebDriver::Error::TimeOutError
48
+ proc { wait_true(wait_opts) { raise } }.must_raise Selenium::WebDriver::Error::TimeOutError
49
49
 
50
50
  # regular rescue will not handle exceptions outside of StandardError hierarchy
51
51
  # must rescue Exception explicitly to rescue everything
52
- proc { wait_true(wait_opts) { fail NoMemoryError } }.must_raise Selenium::WebDriver::Error::TimeOutError
53
- proc { wait_true(timeout: 0.2, interval: 0.0) { fail NoMemoryError } }
52
+ proc { wait_true(wait_opts) { raise NoMemoryError } }.must_raise Selenium::WebDriver::Error::TimeOutError
53
+ proc { wait_true(timeout: 0.2, interval: 0.0) { raise NoMemoryError } }
54
54
  .must_raise Selenium::WebDriver::Error::TimeOutError
55
55
 
56
56
  # invalid keys are rejected
@@ -27,7 +27,7 @@ describe 'the web context' do
27
27
 
28
28
  if webview_context.nil?
29
29
  undo_setcontext_nav
30
- fail "No webview context found. contexts are: #{contexts}"
30
+ raise "No webview context found. contexts are: #{contexts}"
31
31
  end
32
32
 
33
33
  wait { set_context webview_context }
@@ -31,13 +31,15 @@ describe 'driver' do
31
31
  # Only used for Sauce Labs
32
32
  t 'verify all attributes' do
33
33
  2.times { set_wait 1 } # must set twice to validate last_waits
34
- actual = driver_attributes
35
- actual[:caps][:app] = File.basename actual[:caps][:app]
36
- expected = { caps: { platformName: 'android',
37
- app: 'api.apk',
38
- appPackage: 'io.appium.android.apis',
39
- appActivity: '.ApiDemos',
40
- deviceName: 'Nexus 7' },
34
+ actual = driver_attributes
35
+ caps_app_for_teardown = actual[:caps][:app]
36
+ actual[:caps][:app] = File.basename actual[:caps][:app]
37
+ expected_caps = ::Appium::Driver::Capabilities.init_caps_for_appium(platformName: 'Android',
38
+ app: 'api.apk',
39
+ appPackage: 'io.appium.android.apis',
40
+ appActivity: '.ApiDemos',
41
+ deviceName: 'Nexus 7')
42
+ expected = { caps: expected_caps,
41
43
  custom_url: false,
42
44
  export_session: false,
43
45
  default_wait: 1,
@@ -52,12 +54,18 @@ describe 'driver' do
52
54
  if actual != expected
53
55
  diff = HashDiff.diff expected, actual
54
56
  diff = "diff (expected, actual):\n#{diff}"
57
+
58
+ actual[:caps][:app] = caps_app_for_teardown
55
59
  # example:
56
60
  # change :ios in expected to match 'ios' in actual
57
61
  # [["~", "caps.platformName", :ios, "ios"]]
58
62
  message = "\n\nactual:\n\n: #{actual.ai}expected:\n\n#{expected.ai}\n\n#{diff}"
59
- fail message
63
+ raise message
60
64
  end
65
+
66
+ actual_selenium_caps = actual[:caps][:platformName]
67
+ actual_selenium_caps.must_equal 'Android'
68
+ actual[:caps][:app] = caps_app_for_teardown
61
69
  end
62
70
  end
63
71
 
@@ -149,7 +157,7 @@ describe 'driver' do
149
157
  # start_driver # tested by restart
150
158
  # no_wait # posts value to server, it's not stored locally
151
159
  # set_wait # posts value to server, it's not stored locally
152
- # execute_script # 'mobile: ' is deprecated and plain executeScript unsupported
160
+ # execute_script # 'mobile: ' is deprecated and plain execute_script unsupported
153
161
 
154
162
  t 'default_wait' do
155
163
  set_wait 1
@@ -159,7 +167,7 @@ describe 'driver' do
159
167
  # returns true unless an error is raised
160
168
  t 'exists' do
161
169
  exists(0, 0) { true }.must_equal true
162
- exists(0, 0) { fail 'error' }.must_equal false
170
+ exists(0, 0) { raise 'error' }.must_equal false
163
171
  end
164
172
 
165
173
  # any elements
@@ -181,7 +189,7 @@ describe 'driver' do
181
189
  begin
182
190
  set_location latitude: 55, longitude: -72, altitude: 33
183
191
  rescue Selenium::WebDriver::Error::UnknownError => e
184
- # on android this method is expected to fail with this message when running
192
+ # on android this method is expected to raise with this message when running
185
193
  # on a regular device, or on genymotion.
186
194
  # error could be many messages, including:
187
195
  # ERROR running Appium command: port should be a number or string
@@ -32,11 +32,11 @@ list.split("\n").each do |method|
32
32
 
33
33
  indent = 6
34
34
  puts ' ' * indent + "when '" + tag + "'"
35
- line2 = ' ' * (indent + 2) + "prefix '" + klass + "'"
35
+ line_2 = ' ' * (indent + 2) + "prefix '" + klass + "'"
36
36
  # button must translate to both button and image button
37
37
  # for ruby_lib to find all buttons
38
- line2 += ", 'ImageButton'" if klass == 'Button'
39
- puts line2
38
+ line_2 += ", 'ImageButton'" if klass == 'Button'
39
+ puts line_2
40
40
  end
41
41
 
42
42
  # for Pry
@@ -19,13 +19,13 @@ end
19
19
 
20
20
  # Sanity check
21
21
  a = OpenStruct.new x: 'ok'
22
- fail 'x issue' unless a.x == 'ok'
22
+ raise 'x issue' unless a.x == 'ok'
23
23
 
24
24
  dir = File.expand_path(File.join(Dir.pwd, 'lib'))
25
25
  appium_txt = File.join(Dir.pwd, 'appium.txt')
26
26
  device = ARGV[0].downcase.strip
27
27
  devices = %w(android selendroid ios)
28
- fail 'Expected android, selendroid or ios as first argument' unless devices.include? device
28
+ raise 'Expected android, selendroid or ios as first argument' unless devices.include? device
29
29
 
30
30
  one_test = ARGV[1]
31
31
  test_dir = "/#{device}/"
@@ -46,11 +46,12 @@ if one_test
46
46
  one_test = File.join(dir, test_dir + 'specs/', one_test)
47
47
  end
48
48
 
49
- fail "\nTest #{one_test} does not exist.\n" unless File.exist?(one_test)
49
+ raise "\nTest #{one_test} does not exist.\n" unless File.exist?(one_test)
50
50
  start_driver(caps)
51
51
 
52
52
  # require support (common.rb)
53
- Dir.glob(File.join dir, test_dir + '/*.rb') do |test|
53
+ file_name = File.join dir, test_dir + '/*.rb'
54
+ Dir.glob(file_name) do |test|
54
55
  require test
55
56
  trace_files << test
56
57
  end
@@ -59,7 +60,8 @@ if one_test
59
60
  trace_files << one_test
60
61
  else
61
62
  # require all
62
- Dir.glob(File.join dir, test_dir + '**/*.rb') do |test|
63
+ file_names = File.join(dir, test_dir + '**/*.rb')
64
+ Dir.glob(file_names) do |test|
63
65
  # load all tests
64
66
  trace_files << test
65
67
  puts " #{File.basename(test, '.*')}"
@@ -1,7 +1,7 @@
1
1
  ruby_lib_android
2
2
  =====================
3
3
 
4
- ruby_lib's Android tests. Requires `Ruby 1.9.3` or better.
4
+ ruby_lib's Android tests. Requires `Ruby 2.2+` or better.
5
5
 
6
6
  - `rake install` Install gems required to run the tests.
7
7
  - `rake android` Run all tests.
@@ -1,22 +1,21 @@
1
1
  require_relative 'lib/appium_lib/common/version'
2
2
 
3
3
  Gem::Specification.new do |s|
4
- # 1.8.x is not supported
5
- s.required_ruby_version = '>= 1.9.3'
4
+ s.required_ruby_version = '>= 2.2'
6
5
 
7
6
  s.name = 'appium_lib'
8
7
  s.version = Appium::VERSION
9
8
  s.date = Appium::DATE
10
- s.license = 'http://www.apache.org/licenses/LICENSE-2.0.txt'
9
+ s.license = 'Apache'
11
10
  s.description = s.summary = 'Ruby library for Appium'
12
11
  s.description += '.' # avoid identical warning
13
12
  s.authors = s.email = ['code@bootstraponline.com']
14
13
  s.homepage = 'https://github.com/appium/ruby_lib' # published as appium_lib
15
14
  s.require_paths = ['lib']
16
15
 
17
- s.add_runtime_dependency 'selenium-webdriver', '~> 2.50'
16
+ s.add_runtime_dependency 'selenium-webdriver', '~> 3.0', '>= 3.0.2'
18
17
  s.add_runtime_dependency 'awesome_print', '~> 1.6'
19
- s.add_runtime_dependency 'json', '~> 1.8'
18
+ s.add_runtime_dependency 'json', '>= 1.8'
20
19
  s.add_runtime_dependency 'tomlrb', '~> 1.1'
21
20
  s.add_runtime_dependency 'nokogiri', '~> 1.6', '>= 1.6.6'
22
21
 
@@ -25,10 +24,10 @@ Gem::Specification.new do |s|
25
24
  s.add_development_dependency 'spec', '~> 5.3', '>= 5.3.4'
26
25
  s.add_development_dependency 'fakefs', '~> 0.6.7'
27
26
 
28
- s.add_development_dependency 'rake', '~> 10.4'
27
+ s.add_development_dependency 'rake', '~> 12.0'
29
28
  s.add_development_dependency 'yard', '~> 0.8'
30
29
 
31
- s.add_development_dependency 'rubocop', '~> 0.30.1'
30
+ s.add_development_dependency 'rubocop', '~> 0.46.0'
32
31
 
33
32
  s.files = `git ls-files`.split "\n"
34
33
  end
@@ -32,3 +32,13 @@ Android tests require running on physical hardware with Android 5.0 (API 21). Th
32
32
  2. Generate release note and create a branch with `rake release`
33
33
  - Push and merge the branch to the master
34
34
  3. Build and publish gem with `rake publish`
35
+ 4. Add release information on GitHub: https://github.com/appium/ruby_lib/releases
36
+ - Template
37
+ ```
38
+ ### 1. Enhancements
39
+
40
+ ### 2. Bug fixes
41
+
42
+ ### 3. Deprecations
43
+ ```
44
+
@@ -1,4 +1,4 @@
1
- ##### [load_settings](https://github.com/appium/ruby_lib/blob/54ff9c45df80ce901b718347e79e761f93a4316b/lib/appium_lib/driver.rb#L72)
1
+ ##### [load_settings](https://github.com/appium/ruby_lib/blob/ba9ec64031f242b3065674b1e4f8b236b391f9fa/lib/appium_lib/driver.rb#L74)
2
2
 
3
3
  > def self.load_settings(opts = {})
4
4
 
@@ -26,7 +26,7 @@ __Returns:__
26
26
 
27
27
  --
28
28
 
29
- ##### [load_appium_txt](https://github.com/appium/ruby_lib/blob/54ff9c45df80ce901b718347e79e761f93a4316b/lib/appium_lib/driver.rb#L105)
29
+ ##### [load_appium_txt](https://github.com/appium/ruby_lib/blob/ba9ec64031f242b3065674b1e4f8b236b391f9fa/lib/appium_lib/driver.rb#L110)
30
30
 
31
31
  > def self.load_settings(opts = {})
32
32
 
@@ -43,6 +43,7 @@ port = 8080
43
43
  :app is expanded
44
44
  :require is expanded
45
45
  all keys are converted to symbols
46
+ rubocop:disable Style/Alias
46
47
 
47
48
  __Parameters:__
48
49
 
@@ -54,7 +55,7 @@ __Returns:__
54
55
 
55
56
  --
56
57
 
57
- ##### [expand_required_files](https://github.com/appium/ruby_lib/blob/54ff9c45df80ce901b718347e79e761f93a4316b/lib/appium_lib/driver.rb#L111)
58
+ ##### [expand_required_files](https://github.com/appium/ruby_lib/blob/ba9ec64031f242b3065674b1e4f8b236b391f9fa/lib/appium_lib/driver.rb#L116)
58
59
 
59
60
  > def self.expand_required_files(base_dir, file_paths)
60
61
 
@@ -72,7 +73,7 @@ __Returns:__
72
73
 
73
74
  --
74
75
 
75
- ##### [symbolize_keys](https://github.com/appium/ruby_lib/blob/54ff9c45df80ce901b718347e79e761f93a4316b/lib/appium_lib/driver.rb#L143)
76
+ ##### [symbolize_keys](https://github.com/appium/ruby_lib/blob/ba9ec64031f242b3065674b1e4f8b236b391f9fa/lib/appium_lib/driver.rb#L148)
76
77
 
77
78
  > def self.symbolize_keys(hash)
78
79
 
@@ -83,7 +84,7 @@ https://github.com/rails/docrails/blob/a3b1105ada3da64acfa3843b164b14b734456a50/
83
84
 
84
85
  --
85
86
 
86
- ##### [promote_singleton_appium_methods](https://github.com/appium/ruby_lib/blob/54ff9c45df80ce901b718347e79e761f93a4316b/lib/appium_lib/driver.rb#L164)
87
+ ##### [promote_singleton_appium_methods](https://github.com/appium/ruby_lib/blob/ba9ec64031f242b3065674b1e4f8b236b391f9fa/lib/appium_lib/driver.rb#L169)
87
88
 
88
89
  > def self.promote_singleton_appium_methods(modules)
89
90
 
@@ -101,7 +102,7 @@ otherwise, the array of modules will be used as the promotion target.
101
102
 
102
103
  --
103
104
 
104
- ##### [promote_appium_methods](https://github.com/appium/ruby_lib/blob/54ff9c45df80ce901b718347e79e761f93a4316b/lib/appium_lib/driver.rb#L215)
105
+ ##### [promote_appium_methods](https://github.com/appium/ruby_lib/blob/ba9ec64031f242b3065674b1e4f8b236b391f9fa/lib/appium_lib/driver.rb#L222)
105
106
 
106
107
  > def self.promote_appium_methods(class_array)
107
108
 
@@ -131,7 +132,17 @@ __Parameters:__
131
132
 
132
133
  --
133
134
 
134
- ##### [global_webdriver_http_sleep](https://github.com/appium/ruby_lib/blob/54ff9c45df80ce901b718347e79e761f93a4316b/lib/appium_lib/driver.rb#L249)
135
+ ##### [init_caps_for_appium](https://github.com/appium/ruby_lib/blob/ba9ec64031f242b3065674b1e4f8b236b391f9fa/lib/appium_lib/driver.rb#L254)
136
+
137
+ > def self.init_caps_for_appium(opts_caps = {})
138
+
139
+ except for browser_name, default capability is equal to ::Selenium::WebDriver::Remote::Capabilities.firefox
140
+ Because Selenium::WebDriver::Remote::Bridge uses Capabilities.firefox by default
141
+ https://github.com/SeleniumHQ/selenium/blob/selenium-3.0.1/rb/lib/selenium/webdriver/remote/bridge.rb#L67
142
+
143
+ --
144
+
145
+ ##### [global_webdriver_http_sleep](https://github.com/appium/ruby_lib/blob/ba9ec64031f242b3065674b1e4f8b236b391f9fa/lib/appium_lib/driver.rb#L272)
135
146
 
136
147
  > def global_webdriver_http_sleep
137
148
 
@@ -139,7 +150,7 @@ The amount to sleep in seconds before every webdriver http call.
139
150
 
140
151
  --
141
152
 
142
- ##### [global_webdriver_http_sleep=](https://github.com/appium/ruby_lib/blob/54ff9c45df80ce901b718347e79e761f93a4316b/lib/appium_lib/driver.rb#L249)
153
+ ##### [global_webdriver_http_sleep=](https://github.com/appium/ruby_lib/blob/ba9ec64031f242b3065674b1e4f8b236b391f9fa/lib/appium_lib/driver.rb#L272)
143
154
 
144
155
  > def global_webdriver_http_sleep=(value)
145
156
 
@@ -147,7 +158,7 @@ The amount to sleep in seconds before every webdriver http call.
147
158
 
148
159
  --
149
160
 
150
- ##### [caps](https://github.com/appium/ruby_lib/blob/54ff9c45df80ce901b718347e79e761f93a4316b/lib/appium_lib/driver.rb#L251)
161
+ ##### [caps](https://github.com/appium/ruby_lib/blob/ba9ec64031f242b3065674b1e4f8b236b391f9fa/lib/appium_lib/driver.rb#L274)
151
162
 
152
163
  > def caps
153
164
 
@@ -155,7 +166,7 @@ Selenium webdriver capabilities
155
166
 
156
167
  --
157
168
 
158
- ##### [caps=](https://github.com/appium/ruby_lib/blob/54ff9c45df80ce901b718347e79e761f93a4316b/lib/appium_lib/driver.rb#L251)
169
+ ##### [caps=](https://github.com/appium/ruby_lib/blob/ba9ec64031f242b3065674b1e4f8b236b391f9fa/lib/appium_lib/driver.rb#L274)
159
170
 
160
171
  > def caps=(value)
161
172
 
@@ -163,7 +174,7 @@ Selenium webdriver capabilities
163
174
 
164
175
  --
165
176
 
166
- ##### [custom_url](https://github.com/appium/ruby_lib/blob/54ff9c45df80ce901b718347e79e761f93a4316b/lib/appium_lib/driver.rb#L253)
177
+ ##### [custom_url](https://github.com/appium/ruby_lib/blob/ba9ec64031f242b3065674b1e4f8b236b391f9fa/lib/appium_lib/driver.rb#L276)
167
178
 
168
179
  > def custom_url
169
180
 
@@ -171,7 +182,7 @@ Custom URL for the selenium server
171
182
 
172
183
  --
173
184
 
174
- ##### [custom_url=](https://github.com/appium/ruby_lib/blob/54ff9c45df80ce901b718347e79e761f93a4316b/lib/appium_lib/driver.rb#L253)
185
+ ##### [custom_url=](https://github.com/appium/ruby_lib/blob/ba9ec64031f242b3065674b1e4f8b236b391f9fa/lib/appium_lib/driver.rb#L276)
175
186
 
176
187
  > def custom_url=(value)
177
188
 
@@ -179,7 +190,7 @@ Custom URL for the selenium server
179
190
 
180
191
  --
181
192
 
182
- ##### [export_session](https://github.com/appium/ruby_lib/blob/54ff9c45df80ce901b718347e79e761f93a4316b/lib/appium_lib/driver.rb#L255)
193
+ ##### [export_session](https://github.com/appium/ruby_lib/blob/ba9ec64031f242b3065674b1e4f8b236b391f9fa/lib/appium_lib/driver.rb#L278)
183
194
 
184
195
  > def export_session
185
196
 
@@ -187,7 +198,7 @@ Export session id to textfile in /tmp for 3rd party tools
187
198
 
188
199
  --
189
200
 
190
- ##### [export_session=](https://github.com/appium/ruby_lib/blob/54ff9c45df80ce901b718347e79e761f93a4316b/lib/appium_lib/driver.rb#L255)
201
+ ##### [export_session=](https://github.com/appium/ruby_lib/blob/ba9ec64031f242b3065674b1e4f8b236b391f9fa/lib/appium_lib/driver.rb#L278)
191
202
 
192
203
  > def export_session=(value)
193
204
 
@@ -195,7 +206,7 @@ Export session id to textfile in /tmp for 3rd party tools
195
206
 
196
207
  --
197
208
 
198
- ##### [default_wait](https://github.com/appium/ruby_lib/blob/54ff9c45df80ce901b718347e79e761f93a4316b/lib/appium_lib/driver.rb#L260)
209
+ ##### [default_wait](https://github.com/appium/ruby_lib/blob/ba9ec64031f242b3065674b1e4f8b236b391f9fa/lib/appium_lib/driver.rb#L283)
199
210
 
200
211
  > def default_wait
201
212
 
@@ -209,7 +220,7 @@ __Returns:__
209
220
 
210
221
  --
211
222
 
212
- ##### [default_wait=](https://github.com/appium/ruby_lib/blob/54ff9c45df80ce901b718347e79e761f93a4316b/lib/appium_lib/driver.rb#L260)
223
+ ##### [default_wait=](https://github.com/appium/ruby_lib/blob/ba9ec64031f242b3065674b1e4f8b236b391f9fa/lib/appium_lib/driver.rb#L283)
213
224
 
214
225
  > def default_wait=(value)
215
226
 
@@ -223,7 +234,7 @@ __Returns:__
223
234
 
224
235
  --
225
236
 
226
- ##### [last_waits](https://github.com/appium/ruby_lib/blob/54ff9c45df80ce901b718347e79e761f93a4316b/lib/appium_lib/driver.rb#L262)
237
+ ##### [last_waits](https://github.com/appium/ruby_lib/blob/ba9ec64031f242b3065674b1e4f8b236b391f9fa/lib/appium_lib/driver.rb#L285)
227
238
 
228
239
  > def last_waits
229
240
 
@@ -231,7 +242,7 @@ Array of previous wait time values
231
242
 
232
243
  --
233
244
 
234
- ##### [last_waits=](https://github.com/appium/ruby_lib/blob/54ff9c45df80ce901b718347e79e761f93a4316b/lib/appium_lib/driver.rb#L262)
245
+ ##### [last_waits=](https://github.com/appium/ruby_lib/blob/ba9ec64031f242b3065674b1e4f8b236b391f9fa/lib/appium_lib/driver.rb#L285)
235
246
 
236
247
  > def last_waits=(value)
237
248
 
@@ -239,7 +250,7 @@ Array of previous wait time values
239
250
 
240
251
  --
241
252
 
242
- ##### [sauce_username](https://github.com/appium/ruby_lib/blob/54ff9c45df80ce901b718347e79e761f93a4316b/lib/appium_lib/driver.rb#L264)
253
+ ##### [sauce_username](https://github.com/appium/ruby_lib/blob/ba9ec64031f242b3065674b1e4f8b236b391f9fa/lib/appium_lib/driver.rb#L287)
243
254
 
244
255
  > def sauce_username
245
256
 
@@ -247,7 +258,7 @@ Username for use on Sauce Labs
247
258
 
248
259
  --
249
260
 
250
- ##### [sauce_username=](https://github.com/appium/ruby_lib/blob/54ff9c45df80ce901b718347e79e761f93a4316b/lib/appium_lib/driver.rb#L264)
261
+ ##### [sauce_username=](https://github.com/appium/ruby_lib/blob/ba9ec64031f242b3065674b1e4f8b236b391f9fa/lib/appium_lib/driver.rb#L287)
251
262
 
252
263
  > def sauce_username=(value)
253
264
 
@@ -255,7 +266,7 @@ Username for use on Sauce Labs
255
266
 
256
267
  --
257
268
 
258
- ##### [sauce_access_key](https://github.com/appium/ruby_lib/blob/54ff9c45df80ce901b718347e79e761f93a4316b/lib/appium_lib/driver.rb#L266)
269
+ ##### [sauce_access_key](https://github.com/appium/ruby_lib/blob/ba9ec64031f242b3065674b1e4f8b236b391f9fa/lib/appium_lib/driver.rb#L289)
259
270
 
260
271
  > def sauce_access_key
261
272
 
@@ -263,7 +274,7 @@ Access Key for use on Sauce Labs
263
274
 
264
275
  --
265
276
 
266
- ##### [sauce_access_key=](https://github.com/appium/ruby_lib/blob/54ff9c45df80ce901b718347e79e761f93a4316b/lib/appium_lib/driver.rb#L266)
277
+ ##### [sauce_access_key=](https://github.com/appium/ruby_lib/blob/ba9ec64031f242b3065674b1e4f8b236b391f9fa/lib/appium_lib/driver.rb#L289)
267
278
 
268
279
  > def sauce_access_key=(value)
269
280
 
@@ -271,7 +282,7 @@ Access Key for use on Sauce Labs
271
282
 
272
283
  --
273
284
 
274
- ##### [appium_port](https://github.com/appium/ruby_lib/blob/54ff9c45df80ce901b718347e79e761f93a4316b/lib/appium_lib/driver.rb#L268)
285
+ ##### [appium_port](https://github.com/appium/ruby_lib/blob/ba9ec64031f242b3065674b1e4f8b236b391f9fa/lib/appium_lib/driver.rb#L291)
275
286
 
276
287
  > def appium_port
277
288
 
@@ -279,7 +290,7 @@ Appium's server port
279
290
 
280
291
  --
281
292
 
282
- ##### [appium_port=](https://github.com/appium/ruby_lib/blob/54ff9c45df80ce901b718347e79e761f93a4316b/lib/appium_lib/driver.rb#L268)
293
+ ##### [appium_port=](https://github.com/appium/ruby_lib/blob/ba9ec64031f242b3065674b1e4f8b236b391f9fa/lib/appium_lib/driver.rb#L291)
283
294
 
284
295
  > def appium_port=(value)
285
296
 
@@ -287,7 +298,7 @@ Appium's server port
287
298
 
288
299
  --
289
300
 
290
- ##### [appium_device](https://github.com/appium/ruby_lib/blob/54ff9c45df80ce901b718347e79e761f93a4316b/lib/appium_lib/driver.rb#L270)
301
+ ##### [appium_device](https://github.com/appium/ruby_lib/blob/ba9ec64031f242b3065674b1e4f8b236b391f9fa/lib/appium_lib/driver.rb#L293)
291
302
 
292
303
  > def appium_device
293
304
 
@@ -295,7 +306,7 @@ Device type to request from the appium server
295
306
 
296
307
  --
297
308
 
298
- ##### [appium_device=](https://github.com/appium/ruby_lib/blob/54ff9c45df80ce901b718347e79e761f93a4316b/lib/appium_lib/driver.rb#L270)
309
+ ##### [appium_device=](https://github.com/appium/ruby_lib/blob/ba9ec64031f242b3065674b1e4f8b236b391f9fa/lib/appium_lib/driver.rb#L293)
299
310
 
300
311
  > def appium_device=(value)
301
312
 
@@ -303,7 +314,7 @@ Device type to request from the appium server
303
314
 
304
315
  --
305
316
 
306
- ##### [automation_name](https://github.com/appium/ruby_lib/blob/54ff9c45df80ce901b718347e79e761f93a4316b/lib/appium_lib/driver.rb#L272)
317
+ ##### [automation_name](https://github.com/appium/ruby_lib/blob/ba9ec64031f242b3065674b1e4f8b236b391f9fa/lib/appium_lib/driver.rb#L295)
307
318
 
308
319
  > def automation_name
309
320
 
@@ -311,7 +322,7 @@ Automation name sent to appium server
311
322
 
312
323
  --
313
324
 
314
- ##### [appium_server_version](https://github.com/appium/ruby_lib/blob/54ff9c45df80ce901b718347e79e761f93a4316b/lib/appium_lib/driver.rb#L274)
325
+ ##### [appium_server_version](https://github.com/appium/ruby_lib/blob/ba9ec64031f242b3065674b1e4f8b236b391f9fa/lib/appium_lib/driver.rb#L297)
315
326
 
316
327
  > def appium_server_version
317
328
 
@@ -332,7 +343,7 @@ __Returns:__
332
343
 
333
344
  --
334
345
 
335
- ##### [appium_debug](https://github.com/appium/ruby_lib/blob/54ff9c45df80ce901b718347e79e761f93a4316b/lib/appium_lib/driver.rb#L276)
346
+ ##### [appium_debug](https://github.com/appium/ruby_lib/blob/ba9ec64031f242b3065674b1e4f8b236b391f9fa/lib/appium_lib/driver.rb#L299)
336
347
 
337
348
  > def appium_debug
338
349
 
@@ -340,7 +351,7 @@ Boolean debug mode for the Appium Ruby bindings
340
351
 
341
352
  --
342
353
 
343
- ##### [appium_debug=](https://github.com/appium/ruby_lib/blob/54ff9c45df80ce901b718347e79e761f93a4316b/lib/appium_lib/driver.rb#L276)
354
+ ##### [appium_debug=](https://github.com/appium/ruby_lib/blob/ba9ec64031f242b3065674b1e4f8b236b391f9fa/lib/appium_lib/driver.rb#L299)
344
355
 
345
356
  > def appium_debug=(value)
346
357
 
@@ -348,7 +359,7 @@ Boolean debug mode for the Appium Ruby bindings
348
359
 
349
360
  --
350
361
 
351
- ##### [listener](https://github.com/appium/ruby_lib/blob/54ff9c45df80ce901b718347e79e761f93a4316b/lib/appium_lib/driver.rb#L278)
362
+ ##### [listener](https://github.com/appium/ruby_lib/blob/ba9ec64031f242b3065674b1e4f8b236b391f9fa/lib/appium_lib/driver.rb#L301)
352
363
 
353
364
  > def listener
354
365
 
@@ -356,7 +367,7 @@ instance of AbstractEventListener for logging support
356
367
 
357
368
  --
358
369
 
359
- ##### [listener=](https://github.com/appium/ruby_lib/blob/54ff9c45df80ce901b718347e79e761f93a4316b/lib/appium_lib/driver.rb#L278)
370
+ ##### [listener=](https://github.com/appium/ruby_lib/blob/ba9ec64031f242b3065674b1e4f8b236b391f9fa/lib/appium_lib/driver.rb#L301)
360
371
 
361
372
  > def listener=(value)
362
373
 
@@ -364,7 +375,7 @@ instance of AbstractEventListener for logging support
364
375
 
365
376
  --
366
377
 
367
- ##### [driver](https://github.com/appium/ruby_lib/blob/54ff9c45df80ce901b718347e79e761f93a4316b/lib/appium_lib/driver.rb#L281)
378
+ ##### [driver](https://github.com/appium/ruby_lib/blob/ba9ec64031f242b3065674b1e4f8b236b391f9fa/lib/appium_lib/driver.rb#L304)
368
379
 
369
380
  > def driver
370
381
 
@@ -376,7 +387,7 @@ __Returns:__
376
387
 
377
388
  --
378
389
 
379
- ##### [initialize](https://github.com/appium/ruby_lib/blob/54ff9c45df80ce901b718347e79e761f93a4316b/lib/appium_lib/driver.rb#L302)
390
+ ##### [initialize](https://github.com/appium/ruby_lib/blob/ba9ec64031f242b3065674b1e4f8b236b391f9fa/lib/appium_lib/driver.rb#L325)
380
391
 
381
392
  > def initialize(opts = {})
382
393
 
@@ -407,7 +418,7 @@ __Returns:__
407
418
 
408
419
  --
409
420
 
410
- ##### [driver_attributes](https://github.com/appium/ruby_lib/blob/54ff9c45df80ce901b718347e79e761f93a4316b/lib/appium_lib/driver.rb#L372)
421
+ ##### [driver_attributes](https://github.com/appium/ruby_lib/blob/ba9ec64031f242b3065674b1e4f8b236b391f9fa/lib/appium_lib/driver.rb#L398)
411
422
 
412
423
  > def driver_attributes
413
424
 
@@ -415,7 +426,7 @@ Returns a hash of the driver attributes
415
426
 
416
427
  --
417
428
 
418
- ##### [device_is_android?](https://github.com/appium/ruby_lib/blob/54ff9c45df80ce901b718347e79e761f93a4316b/lib/appium_lib/driver.rb#L393)
429
+ ##### [device_is_android?](https://github.com/appium/ruby_lib/blob/ba9ec64031f242b3065674b1e4f8b236b391f9fa/lib/appium_lib/driver.rb#L420)
419
430
 
420
431
  > def device_is_android?
421
432
 
@@ -427,7 +438,7 @@ __Returns:__
427
438
 
428
439
  --
429
440
 
430
- ##### [automation_name_is_xcuitest?](https://github.com/appium/ruby_lib/blob/54ff9c45df80ce901b718347e79e761f93a4316b/lib/appium_lib/driver.rb#L399)
441
+ ##### [automation_name_is_xcuitest?](https://github.com/appium/ruby_lib/blob/ba9ec64031f242b3065674b1e4f8b236b391f9fa/lib/appium_lib/driver.rb#L426)
431
442
 
432
443
  > def automation_name_is_xcuitest?
433
444
 
@@ -439,7 +450,7 @@ __Returns:__
439
450
 
440
451
  --
441
452
 
442
- ##### [check_server_version_xcuitest](https://github.com/appium/ruby_lib/blob/54ff9c45df80ce901b718347e79e761f93a4316b/lib/appium_lib/driver.rb#L406)
453
+ ##### [check_server_version_xcuitest](https://github.com/appium/ruby_lib/blob/ba9ec64031f242b3065674b1e4f8b236b391f9fa/lib/appium_lib/driver.rb#L433)
443
454
 
444
455
  > def check_server_version_xcuitest
445
456
 
@@ -452,7 +463,7 @@ __Returns:__
452
463
 
453
464
  --
454
465
 
455
- ##### [absolute_app_path](https://github.com/appium/ruby_lib/blob/54ff9c45df80ce901b718347e79e761f93a4316b/lib/appium_lib/driver.rb#L437)
466
+ ##### [absolute_app_path](https://github.com/appium/ruby_lib/blob/ba9ec64031f242b3065674b1e4f8b236b391f9fa/lib/appium_lib/driver.rb#L464)
456
467
 
457
468
  > def self.absolute_app_path(opts)
458
469
 
@@ -469,7 +480,7 @@ __Returns:__
469
480
 
470
481
  --
471
482
 
472
- ##### [server_url](https://github.com/appium/ruby_lib/blob/54ff9c45df80ce901b718347e79e761f93a4316b/lib/appium_lib/driver.rb#L470)
483
+ ##### [server_url](https://github.com/appium/ruby_lib/blob/ba9ec64031f242b3065674b1e4f8b236b391f9fa/lib/appium_lib/driver.rb#L497)
473
484
 
474
485
  > def server_url
475
486
 
@@ -481,7 +492,7 @@ __Returns:__
481
492
 
482
493
  --
483
494
 
484
- ##### [restart](https://github.com/appium/ruby_lib/blob/54ff9c45df80ce901b718347e79e761f93a4316b/lib/appium_lib/driver.rb#L481)
495
+ ##### [restart](https://github.com/appium/ruby_lib/blob/ba9ec64031f242b3065674b1e4f8b236b391f9fa/lib/appium_lib/driver.rb#L508)
485
496
 
486
497
  > def restart
487
498
 
@@ -493,7 +504,7 @@ __Returns:__
493
504
 
494
505
  --
495
506
 
496
- ##### [screenshot](https://github.com/appium/ruby_lib/blob/54ff9c45df80ce901b718347e79e761f93a4316b/lib/appium_lib/driver.rb#L492)
507
+ ##### [screenshot](https://github.com/appium/ruby_lib/blob/ba9ec64031f242b3065674b1e4f8b236b391f9fa/lib/appium_lib/driver.rb#L519)
497
508
 
498
509
  > def screenshot(png_save_path)
499
510
 
@@ -511,7 +522,7 @@ __Returns:__
511
522
 
512
523
  --
513
524
 
514
- ##### [driver_quit](https://github.com/appium/ruby_lib/blob/54ff9c45df80ce901b718347e79e761f93a4316b/lib/appium_lib/driver.rb#L499)
525
+ ##### [driver_quit](https://github.com/appium/ruby_lib/blob/ba9ec64031f242b3065674b1e4f8b236b391f9fa/lib/appium_lib/driver.rb#L526)
515
526
 
516
527
  > def driver_quit
517
528
 
@@ -523,7 +534,7 @@ __Returns:__
523
534
 
524
535
  --
525
536
 
526
- ##### [start_driver](https://github.com/appium/ruby_lib/blob/54ff9c45df80ce901b718347e79e761f93a4316b/lib/appium_lib/driver.rb#L508)
537
+ ##### [start_driver](https://github.com/appium/ruby_lib/blob/ba9ec64031f242b3065674b1e4f8b236b391f9fa/lib/appium_lib/driver.rb#L536)
527
538
 
528
539
  > def start_driver
529
540
 
@@ -535,7 +546,7 @@ __Returns:__
535
546
 
536
547
  --
537
548
 
538
- ##### [no_wait](https://github.com/appium/ruby_lib/blob/54ff9c45df80ce901b718347e79e761f93a4316b/lib/appium_lib/driver.rb#L545)
549
+ ##### [no_wait](https://github.com/appium/ruby_lib/blob/ba9ec64031f242b3065674b1e4f8b236b391f9fa/lib/appium_lib/driver.rb#L573)
539
550
 
540
551
  > def no_wait
541
552
 
@@ -543,7 +554,7 @@ Set implicit wait and default_wait to zero.
543
554
 
544
555
  --
545
556
 
546
- ##### [set_wait](https://github.com/appium/ruby_lib/blob/54ff9c45df80ce901b718347e79e761f93a4316b/lib/appium_lib/driver.rb#L564)
557
+ ##### [set_wait](https://github.com/appium/ruby_lib/blob/ba9ec64031f242b3065674b1e4f8b236b391f9fa/lib/appium_lib/driver.rb#L592)
547
558
 
548
559
  > def set_wait(timeout = nil)
549
560
 
@@ -568,7 +579,7 @@ __Returns:__
568
579
 
569
580
  --
570
581
 
571
- ##### [exists](https://github.com/appium/ruby_lib/blob/54ff9c45df80ce901b718347e79e761f93a4316b/lib/appium_lib/driver.rb#L591)
582
+ ##### [exists](https://github.com/appium/ruby_lib/blob/ba9ec64031f242b3065674b1e4f8b236b391f9fa/lib/appium_lib/driver.rb#L619)
572
583
 
573
584
  > def exists(pre_check = 0, post_check = @default_wait, &search_block)
574
585
 
@@ -594,7 +605,7 @@ __Returns:__
594
605
 
595
606
  --
596
607
 
597
- ##### [execute_script](https://github.com/appium/ruby_lib/blob/54ff9c45df80ce901b718347e79e761f93a4316b/lib/appium_lib/driver.rb#L615)
608
+ ##### [execute_script](https://github.com/appium/ruby_lib/blob/ba9ec64031f242b3065674b1e4f8b236b391f9fa/lib/appium_lib/driver.rb#L643)
598
609
 
599
610
  > def execute_script(script, *args)
600
611
 
@@ -612,7 +623,7 @@ __Returns:__
612
623
 
613
624
  --
614
625
 
615
- ##### [find_elements](https://github.com/appium/ruby_lib/blob/54ff9c45df80ce901b718347e79e761f93a4316b/lib/appium_lib/driver.rb#L623)
626
+ ##### [find_elements](https://github.com/appium/ruby_lib/blob/ba9ec64031f242b3065674b1e4f8b236b391f9fa/lib/appium_lib/driver.rb#L651)
616
627
 
617
628
  > def find_elements(*args)
618
629
 
@@ -628,7 +639,7 @@ __Returns:__
628
639
 
629
640
  --
630
641
 
631
- ##### [find_element](https://github.com/appium/ruby_lib/blob/54ff9c45df80ce901b718347e79e761f93a4316b/lib/appium_lib/driver.rb#L631)
642
+ ##### [find_element](https://github.com/appium/ruby_lib/blob/ba9ec64031f242b3065674b1e4f8b236b391f9fa/lib/appium_lib/driver.rb#L659)
632
643
 
633
644
  > def find_element(*args)
634
645
 
@@ -644,7 +655,7 @@ __Returns:__
644
655
 
645
656
  --
646
657
 
647
- ##### [set_location](https://github.com/appium/ruby_lib/blob/54ff9c45df80ce901b718347e79e761f93a4316b/lib/appium_lib/driver.rb#L644)
658
+ ##### [set_location](https://github.com/appium/ruby_lib/blob/ba9ec64031f242b3065674b1e4f8b236b391f9fa/lib/appium_lib/driver.rb#L672)
648
659
 
649
660
  > def set_location(opts = {})
650
661
 
@@ -660,7 +671,7 @@ __Returns:__
660
671
 
661
672
  --
662
673
 
663
- ##### [x](https://github.com/appium/ruby_lib/blob/54ff9c45df80ce901b718347e79e761f93a4316b/lib/appium_lib/driver.rb#L654)
674
+ ##### [x](https://github.com/appium/ruby_lib/blob/ba9ec64031f242b3065674b1e4f8b236b391f9fa/lib/appium_lib/driver.rb#L682)
664
675
 
665
676
  > def x
666
677
 
@@ -673,7 +684,7 @@ __Returns:__
673
684
 
674
685
  --
675
686
 
676
- ##### [logger=](https://github.com/appium/ruby_lib/blob/54ff9c45df80ce901b718347e79e761f93a4316b/lib/appium_lib/logger.rb#L13)
687
+ ##### [logger=](https://github.com/appium/ruby_lib/blob/ba9ec64031f242b3065674b1e4f8b236b391f9fa/lib/appium_lib/logger.rb#L13)
677
688
 
678
689
  > def logger=(value)
679
690
 
@@ -685,7 +696,7 @@ __Parameters:__
685
696
 
686
697
  --
687
698
 
688
- ##### [logger](https://github.com/appium/ruby_lib/blob/54ff9c45df80ce901b718347e79e761f93a4316b/lib/appium_lib/logger.rb#L17)
699
+ ##### [logger](https://github.com/appium/ruby_lib/blob/ba9ec64031f242b3065674b1e4f8b236b391f9fa/lib/appium_lib/logger.rb#L17)
689
700
 
690
701
  > def logger
691
702
 
@@ -693,15 +704,7 @@ __Parameters:__
693
704
 
694
705
  --
695
706
 
696
- ##### [NoArgMethods](https://github.com/appium/ruby_lib/blob/54ff9c45df80ce901b718347e79e761f93a4316b/lib/appium_lib/device/device.rb#L7)
697
-
698
- > NoArgMethods = {
699
-
700
-
701
-
702
- --
703
-
704
- ##### [app_strings](https://github.com/appium/ruby_lib/blob/54ff9c45df80ce901b718347e79e761f93a4316b/lib/appium_lib/device/device.rb#L25)
707
+ ##### [app_strings](https://github.com/appium/ruby_lib/blob/ba9ec64031f242b3065674b1e4f8b236b391f9fa/lib/appium_lib/device/device.rb#L7)
705
708
 
706
709
  > def app_strings
707
710
 
@@ -712,7 +715,7 @@ app_strings #=> "TransitionsTitle"=>"Transitions", "WebTitle"=>"Web"
712
715
 
713
716
  --
714
717
 
715
- ##### [background_app](https://github.com/appium/ruby_lib/blob/54ff9c45df80ce901b718347e79e761f93a4316b/lib/appium_lib/device/device.rb#L31)
718
+ ##### [background_app](https://github.com/appium/ruby_lib/blob/ba9ec64031f242b3065674b1e4f8b236b391f9fa/lib/appium_lib/device/device.rb#L13)
716
719
 
717
720
  > def background_app
718
721
 
@@ -721,7 +724,7 @@ This is a blocking application
721
724
 
722
725
  --
723
726
 
724
- ##### [current_activity](https://github.com/appium/ruby_lib/blob/54ff9c45df80ce901b718347e79e761f93a4316b/lib/appium_lib/device/device.rb#L36)
727
+ ##### [current_activity](https://github.com/appium/ruby_lib/blob/ba9ec64031f242b3065674b1e4f8b236b391f9fa/lib/appium_lib/device/device.rb#L18)
725
728
 
726
729
  > def current_activity
727
730
 
@@ -729,7 +732,7 @@ This is a blocking application
729
732
 
730
733
  --
731
734
 
732
- ##### [launch_app](https://github.com/appium/ruby_lib/blob/54ff9c45df80ce901b718347e79e761f93a4316b/lib/appium_lib/device/device.rb#L38)
735
+ ##### [launch_app](https://github.com/appium/ruby_lib/blob/ba9ec64031f242b3065674b1e4f8b236b391f9fa/lib/appium_lib/device/device.rb#L20)
733
736
 
734
737
  > def launch_app
735
738
 
@@ -737,7 +740,7 @@ Start the simulator and application configured with desired capabilities
737
740
 
738
741
  --
739
742
 
740
- ##### [reset](https://github.com/appium/ruby_lib/blob/54ff9c45df80ce901b718347e79e761f93a4316b/lib/appium_lib/device/device.rb#L41)
743
+ ##### [reset](https://github.com/appium/ruby_lib/blob/ba9ec64031f242b3065674b1e4f8b236b391f9fa/lib/appium_lib/device/device.rb#L23)
741
744
 
742
745
  > def reset
743
746
 
@@ -745,7 +748,7 @@ Reset the device, relaunching the application.
745
748
 
746
749
  --
747
750
 
748
- ##### [shake](https://github.com/appium/ruby_lib/blob/54ff9c45df80ce901b718347e79e761f93a4316b/lib/appium_lib/device/device.rb#L44)
751
+ ##### [shake](https://github.com/appium/ruby_lib/blob/ba9ec64031f242b3065674b1e4f8b236b391f9fa/lib/appium_lib/device/device.rb#L26)
749
752
 
750
753
  > def shake
751
754
 
@@ -753,7 +756,7 @@ Cause the device to shake
753
756
 
754
757
  --
755
758
 
756
- ##### [toggle_flight_mode](https://github.com/appium/ruby_lib/blob/54ff9c45df80ce901b718347e79e761f93a4316b/lib/appium_lib/device/device.rb#L47)
759
+ ##### [toggle_flight_mode](https://github.com/appium/ruby_lib/blob/ba9ec64031f242b3065674b1e4f8b236b391f9fa/lib/appium_lib/device/device.rb#L29)
757
760
 
758
761
  > def toggle_flight_mode
759
762
 
@@ -761,7 +764,7 @@ Toggle flight mode on or off
761
764
 
762
765
  --
763
766
 
764
- ##### [device_locked?](https://github.com/appium/ruby_lib/blob/54ff9c45df80ce901b718347e79e761f93a4316b/lib/appium_lib/device/device.rb#L50)
767
+ ##### [device_locked?](https://github.com/appium/ruby_lib/blob/ba9ec64031f242b3065674b1e4f8b236b391f9fa/lib/appium_lib/device/device.rb#L32)
765
768
 
766
769
  > def device_locked?
767
770
 
@@ -769,7 +772,7 @@ Toggle flight mode on or off
769
772
 
770
773
  --
771
774
 
772
- ##### [hide_keyboard](https://github.com/appium/ruby_lib/blob/54ff9c45df80ce901b718347e79e761f93a4316b/lib/appium_lib/device/device.rb#L52)
775
+ ##### [hide_keyboard](https://github.com/appium/ruby_lib/blob/ba9ec64031f242b3065674b1e4f8b236b391f9fa/lib/appium_lib/device/device.rb#L34)
773
776
 
774
777
  > def hide_keyboard
775
778
 
@@ -782,7 +785,7 @@ Defaults to 'Done'.
782
785
 
783
786
  --
784
787
 
785
- ##### [press_keycode](https://github.com/appium/ruby_lib/blob/54ff9c45df80ce901b718347e79e761f93a4316b/lib/appium_lib/device/device.rb#L61)
788
+ ##### [press_keycode](https://github.com/appium/ruby_lib/blob/ba9ec64031f242b3065674b1e4f8b236b391f9fa/lib/appium_lib/device/device.rb#L43)
786
789
 
787
790
  > def press_keycode
788
791
 
@@ -797,7 +800,7 @@ __Parameters:__
797
800
 
798
801
  --
799
802
 
800
- ##### [long_press_keycode](https://github.com/appium/ruby_lib/blob/54ff9c45df80ce901b718347e79e761f93a4316b/lib/appium_lib/device/device.rb#L67)
803
+ ##### [long_press_keycode](https://github.com/appium/ruby_lib/blob/ba9ec64031f242b3065674b1e4f8b236b391f9fa/lib/appium_lib/device/device.rb#L49)
801
804
 
802
805
  > def long_press_keycode
803
806
 
@@ -812,7 +815,7 @@ __Parameters:__
812
815
 
813
816
  --
814
817
 
815
- ##### [push_file](https://github.com/appium/ruby_lib/blob/54ff9c45df80ce901b718347e79e761f93a4316b/lib/appium_lib/device/device.rb#L73)
818
+ ##### [push_file](https://github.com/appium/ruby_lib/blob/ba9ec64031f242b3065674b1e4f8b236b391f9fa/lib/appium_lib/device/device.rb#L55)
816
819
 
817
820
  > def push_file
818
821
 
@@ -826,7 +829,7 @@ __Parameters:__
826
829
 
827
830
  --
828
831
 
829
- ##### [pull_file](https://github.com/appium/ruby_lib/blob/54ff9c45df80ce901b718347e79e761f93a4316b/lib/appium_lib/device/device.rb#L78)
832
+ ##### [pull_file](https://github.com/appium/ruby_lib/blob/ba9ec64031f242b3065674b1e4f8b236b391f9fa/lib/appium_lib/device/device.rb#L60)
830
833
 
831
834
  > def pull_file
832
835
 
@@ -843,7 +846,7 @@ __Parameters:__
843
846
 
844
847
  --
845
848
 
846
- ##### [pull_folder](https://github.com/appium/ruby_lib/blob/54ff9c45df80ce901b718347e79e761f93a4316b/lib/appium_lib/device/device.rb#L88)
849
+ ##### [pull_folder](https://github.com/appium/ruby_lib/blob/ba9ec64031f242b3065674b1e4f8b236b391f9fa/lib/appium_lib/device/device.rb#L70)
847
850
 
848
851
  > def pull_folder
849
852
 
@@ -858,7 +861,7 @@ __Parameters:__
858
861
 
859
862
  --
860
863
 
861
- ##### [touch_id](https://github.com/appium/ruby_lib/blob/54ff9c45df80ce901b718347e79e761f93a4316b/lib/appium_lib/device/device.rb#L96)
864
+ ##### [touch_id](https://github.com/appium/ruby_lib/blob/ba9ec64031f242b3065674b1e4f8b236b391f9fa/lib/appium_lib/device/device.rb#L78)
862
865
 
863
866
  > def touch_id
864
867
 
@@ -875,7 +878,7 @@ Defaults to true.
875
878
 
876
879
  --
877
880
 
878
- ##### [end_coverage](https://github.com/appium/ruby_lib/blob/54ff9c45df80ce901b718347e79e761f93a4316b/lib/appium_lib/device/device.rb#L105)
881
+ ##### [end_coverage](https://github.com/appium/ruby_lib/blob/ba9ec64031f242b3065674b1e4f8b236b391f9fa/lib/appium_lib/device/device.rb#L87)
879
882
 
880
883
  > def end_coverage
881
884
 
@@ -889,7 +892,7 @@ __Parameters:__
889
892
 
890
893
  --
891
894
 
892
- ##### [get_settings](https://github.com/appium/ruby_lib/blob/54ff9c45df80ce901b718347e79e761f93a4316b/lib/appium_lib/device/device.rb#L110)
895
+ ##### [get_settings](https://github.com/appium/ruby_lib/blob/ba9ec64031f242b3065674b1e4f8b236b391f9fa/lib/appium_lib/device/device.rb#L92)
893
896
 
894
897
  > def get_settings
895
898
 
@@ -897,7 +900,7 @@ Get appium Settings for current test session
897
900
 
898
901
  --
899
902
 
900
- ##### [extend_search_contexts](https://github.com/appium/ruby_lib/blob/54ff9c45df80ce901b718347e79e761f93a4316b/lib/appium_lib/device/device.rb#L400)
903
+ ##### [extend_search_contexts](https://github.com/appium/ruby_lib/blob/ba9ec64031f242b3065674b1e4f8b236b391f9fa/lib/appium_lib/device/device.rb#L356)
901
904
 
902
905
  > def extend_search_contexts
903
906
 
@@ -905,7 +908,7 @@ Get appium Settings for current test session
905
908
 
906
909
  --
907
910
 
908
- ##### [find_element](https://github.com/appium/ruby_lib/blob/54ff9c45df80ce901b718347e79e761f93a4316b/lib/appium_lib/device/device.rb#L400)
911
+ ##### [find_element](https://github.com/appium/ruby_lib/blob/ba9ec64031f242b3065674b1e4f8b236b391f9fa/lib/appium_lib/device/device.rb#L356)
909
912
 
910
913
  > def find_element
911
914
 
@@ -913,7 +916,7 @@ Get appium Settings for current test session
913
916
 
914
917
  --
915
918
 
916
- ##### [find_elements](https://github.com/appium/ruby_lib/blob/54ff9c45df80ce901b718347e79e761f93a4316b/lib/appium_lib/device/device.rb#L400)
919
+ ##### [find_elements](https://github.com/appium/ruby_lib/blob/ba9ec64031f242b3065674b1e4f8b236b391f9fa/lib/appium_lib/device/device.rb#L356)
917
920
 
918
921
  > def find_elements
919
922
 
@@ -925,7 +928,7 @@ find_element/s with their accessibility_id
925
928
 
926
929
  --
927
930
 
928
- ##### [add_touch_actions](https://github.com/appium/ruby_lib/blob/54ff9c45df80ce901b718347e79e761f93a4316b/lib/appium_lib/device/device.rb#L406)
931
+ ##### [add_touch_actions](https://github.com/appium/ruby_lib/blob/ba9ec64031f242b3065674b1e4f8b236b391f9fa/lib/appium_lib/device/device.rb#L388)
929
932
 
930
933
  > def add_touch_actions
931
934
 
@@ -933,7 +936,7 @@ find_element/s with their accessibility_id
933
936
 
934
937
  --
935
938
 
936
- ##### [add_ime_actions](https://github.com/appium/ruby_lib/blob/54ff9c45df80ce901b718347e79e761f93a4316b/lib/appium_lib/device/device.rb#L429)
939
+ ##### [add_ime_actions](https://github.com/appium/ruby_lib/blob/ba9ec64031f242b3065674b1e4f8b236b391f9fa/lib/appium_lib/device/device.rb#L411)
937
940
 
938
941
  > def add_ime_actions
939
942
 
@@ -941,7 +944,7 @@ find_element/s with their accessibility_id
941
944
 
942
945
  --
943
946
 
944
- ##### [set_context](https://github.com/appium/ruby_lib/blob/54ff9c45df80ce901b718347e79e761f93a4316b/lib/appium_lib/device/device.rb#L504)
947
+ ##### [set_context](https://github.com/appium/ruby_lib/blob/ba9ec64031f242b3065674b1e4f8b236b391f9fa/lib/appium_lib/device/device.rb#L486)
945
948
 
946
949
  > def set_context
947
950
 
@@ -956,7 +959,7 @@ __Parameters:__
956
959
 
957
960
  --
958
961
 
959
- ##### [current_context](https://github.com/appium/ruby_lib/blob/54ff9c45df80ce901b718347e79e761f93a4316b/lib/appium_lib/device/device.rb#L512)
962
+ ##### [current_context](https://github.com/appium/ruby_lib/blob/ba9ec64031f242b3065674b1e4f8b236b391f9fa/lib/appium_lib/device/device.rb#L494)
960
963
 
961
964
  > def current_context
962
965
 
@@ -968,7 +971,7 @@ __Returns:__
968
971
 
969
972
  --
970
973
 
971
- ##### [available_contexts](https://github.com/appium/ruby_lib/blob/54ff9c45df80ce901b718347e79e761f93a4316b/lib/appium_lib/device/device.rb#L515)
974
+ ##### [available_contexts](https://github.com/appium/ruby_lib/blob/ba9ec64031f242b3065674b1e4f8b236b391f9fa/lib/appium_lib/device/device.rb#L497)
972
975
 
973
976
  > def available_contexts
974
977
 
@@ -980,7 +983,7 @@ __Returns:__
980
983
 
981
984
  --
982
985
 
983
- ##### [within_context](https://github.com/appium/ruby_lib/blob/54ff9c45df80ce901b718347e79e761f93a4316b/lib/appium_lib/device/device.rb#L525)
986
+ ##### [within_context](https://github.com/appium/ruby_lib/blob/ba9ec64031f242b3065674b1e4f8b236b391f9fa/lib/appium_lib/device/device.rb#L507)
984
987
 
985
988
  > def within_context(context)
986
989
 
@@ -996,7 +999,7 @@ __Parameters:__
996
999
 
997
1000
  --
998
1001
 
999
- ##### [switch_to_default_context](https://github.com/appium/ruby_lib/blob/54ff9c45df80ce901b718347e79e761f93a4316b/lib/appium_lib/device/device.rb#L533)
1002
+ ##### [switch_to_default_context](https://github.com/appium/ruby_lib/blob/ba9ec64031f242b3065674b1e4f8b236b391f9fa/lib/appium_lib/device/device.rb#L515)
1000
1003
 
1001
1004
  > def switch_to_default_context
1002
1005
 
@@ -1004,7 +1007,7 @@ Change to the default context. This is equivalent to `set_context nil`.
1004
1007
 
1005
1008
  --
1006
1009
 
1007
- ##### [pinch](https://github.com/appium/ruby_lib/blob/54ff9c45df80ce901b718347e79e761f93a4316b/lib/appium_lib/device/multi_touch.rb#L28)
1010
+ ##### [pinch](https://github.com/appium/ruby_lib/blob/ba9ec64031f242b3065674b1e4f8b236b391f9fa/lib/appium_lib/device/multi_touch.rb#L28)
1008
1011
 
1009
1012
  > def pinch(percentage = 25, auto_perform = true)
1010
1013
 
@@ -1023,7 +1026,7 @@ __Parameters:__
1023
1026
 
1024
1027
  --
1025
1028
 
1026
- ##### [zoom](https://github.com/appium/ruby_lib/blob/54ff9c45df80ce901b718347e79e761f93a4316b/lib/appium_lib/device/multi_touch.rb#L64)
1029
+ ##### [zoom](https://github.com/appium/ruby_lib/blob/ba9ec64031f242b3065674b1e4f8b236b391f9fa/lib/appium_lib/device/multi_touch.rb#L64)
1027
1030
 
1028
1031
  > def zoom(percentage = 200, auto_perform = true)
1029
1032
 
@@ -1042,7 +1045,7 @@ __Parameters:__
1042
1045
 
1043
1046
  --
1044
1047
 
1045
- ##### [initialize](https://github.com/appium/ruby_lib/blob/54ff9c45df80ce901b718347e79e761f93a4316b/lib/appium_lib/device/multi_touch.rb#L95)
1048
+ ##### [initialize](https://github.com/appium/ruby_lib/blob/ba9ec64031f242b3065674b1e4f8b236b391f9fa/lib/appium_lib/device/multi_touch.rb#L95)
1046
1049
 
1047
1050
  > def initialize
1048
1051
 
@@ -1054,7 +1057,7 @@ __Returns:__
1054
1057
 
1055
1058
  --
1056
1059
 
1057
- ##### [add](https://github.com/appium/ruby_lib/blob/54ff9c45df80ce901b718347e79e761f93a4316b/lib/appium_lib/device/multi_touch.rb#L101)
1060
+ ##### [add](https://github.com/appium/ruby_lib/blob/ba9ec64031f242b3065674b1e4f8b236b391f9fa/lib/appium_lib/device/multi_touch.rb#L101)
1058
1061
 
1059
1062
  > def add(chain)
1060
1063
 
@@ -1066,7 +1069,7 @@ __Parameters:__
1066
1069
 
1067
1070
  --
1068
1071
 
1069
- ##### [perform](https://github.com/appium/ruby_lib/blob/54ff9c45df80ce901b718347e79e761f93a4316b/lib/appium_lib/device/multi_touch.rb#L106)
1072
+ ##### [perform](https://github.com/appium/ruby_lib/blob/ba9ec64031f242b3065674b1e4f8b236b391f9fa/lib/appium_lib/device/multi_touch.rb#L106)
1070
1073
 
1071
1074
  > def perform
1072
1075
 
@@ -1074,23 +1077,23 @@ Ask Appium to perform the actions
1074
1077
 
1075
1078
  --
1076
1079
 
1077
- ##### [ACTIONS](https://github.com/appium/ruby_lib/blob/54ff9c45df80ce901b718347e79e761f93a4316b/lib/appium_lib/device/touch_actions.rb#L11)
1080
+ ##### [ACTIONS](https://github.com/appium/ruby_lib/blob/ba9ec64031f242b3065674b1e4f8b236b391f9fa/lib/appium_lib/device/touch_actions.rb#L11)
1078
1081
 
1079
- > ACTIONS = [:move_to, :long_press, :double_tap, :two_finger_tap, :press, :release, :tap, :wait, :perform]
1082
+ > ACTIONS = [:move_to, :long_press, :double_tap, :two_finger_tap, :press, :release, :tap, :wait, :perform].freeze
1080
1083
 
1081
1084
 
1082
1085
 
1083
1086
  --
1084
1087
 
1085
- ##### [COMPLEX_ACTIONS](https://github.com/appium/ruby_lib/blob/54ff9c45df80ce901b718347e79e761f93a4316b/lib/appium_lib/device/touch_actions.rb#L12)
1088
+ ##### [COMPLEX_ACTIONS](https://github.com/appium/ruby_lib/blob/ba9ec64031f242b3065674b1e4f8b236b391f9fa/lib/appium_lib/device/touch_actions.rb#L12)
1086
1089
 
1087
- > COMPLEX_ACTIONS = [:swipe]
1090
+ > COMPLEX_ACTIONS = [:swipe].freeze
1088
1091
 
1089
1092
 
1090
1093
 
1091
1094
  --
1092
1095
 
1093
- ##### [actions](https://github.com/appium/ruby_lib/blob/54ff9c45df80ce901b718347e79e761f93a4316b/lib/appium_lib/device/touch_actions.rb#L26)
1096
+ ##### [actions](https://github.com/appium/ruby_lib/blob/ba9ec64031f242b3065674b1e4f8b236b391f9fa/lib/appium_lib/device/touch_actions.rb#L26)
1094
1097
 
1095
1098
  > def actions
1096
1099
 
@@ -1098,7 +1101,7 @@ Returns the value of attribute actions
1098
1101
 
1099
1102
  --
1100
1103
 
1101
- ##### [initialize](https://github.com/appium/ruby_lib/blob/54ff9c45df80ce901b718347e79e761f93a4316b/lib/appium_lib/device/touch_actions.rb#L28)
1104
+ ##### [initialize](https://github.com/appium/ruby_lib/blob/ba9ec64031f242b3065674b1e4f8b236b391f9fa/lib/appium_lib/device/touch_actions.rb#L28)
1102
1105
 
1103
1106
  > def initialize
1104
1107
 
@@ -1110,7 +1113,7 @@ __Returns:__
1110
1113
 
1111
1114
  --
1112
1115
 
1113
- ##### [move_to](https://github.com/appium/ruby_lib/blob/54ff9c45df80ce901b718347e79e761f93a4316b/lib/appium_lib/device/touch_actions.rb#L36)
1116
+ ##### [move_to](https://github.com/appium/ruby_lib/blob/ba9ec64031f242b3065674b1e4f8b236b391f9fa/lib/appium_lib/device/touch_actions.rb#L36)
1114
1117
 
1115
1118
  > def move_to(opts)
1116
1119
 
@@ -1122,7 +1125,7 @@ __Parameters:__
1122
1125
 
1123
1126
  --
1124
1127
 
1125
- ##### [long_press](https://github.com/appium/ruby_lib/blob/54ff9c45df80ce901b718347e79e761f93a4316b/lib/appium_lib/device/touch_actions.rb#L46)
1128
+ ##### [long_press](https://github.com/appium/ruby_lib/blob/ba9ec64031f242b3065674b1e4f8b236b391f9fa/lib/appium_lib/device/touch_actions.rb#L46)
1126
1129
 
1127
1130
  > def long_press(opts)
1128
1131
 
@@ -1140,7 +1143,7 @@ __Parameters:__
1140
1143
 
1141
1144
  --
1142
1145
 
1143
- ##### [press](https://github.com/appium/ruby_lib/blob/54ff9c45df80ce901b718347e79e761f93a4316b/lib/appium_lib/device/touch_actions.rb#L58)
1146
+ ##### [press](https://github.com/appium/ruby_lib/blob/ba9ec64031f242b3065674b1e4f8b236b391f9fa/lib/appium_lib/device/touch_actions.rb#L58)
1144
1147
 
1145
1148
  > def press(opts)
1146
1149
 
@@ -1153,7 +1156,7 @@ __Parameters:__
1153
1156
 
1154
1157
  --
1155
1158
 
1156
- ##### [release](https://github.com/appium/ruby_lib/blob/54ff9c45df80ce901b718347e79e761f93a4316b/lib/appium_lib/device/touch_actions.rb#L69)
1159
+ ##### [release](https://github.com/appium/ruby_lib/blob/ba9ec64031f242b3065674b1e4f8b236b391f9fa/lib/appium_lib/device/touch_actions.rb#L69)
1157
1160
 
1158
1161
  > def release(opts = nil)
1159
1162
 
@@ -1165,7 +1168,7 @@ __Parameters:__
1165
1168
 
1166
1169
  --
1167
1170
 
1168
- ##### [tap](https://github.com/appium/ruby_lib/blob/54ff9c45df80ce901b718347e79e761f93a4316b/lib/appium_lib/device/touch_actions.rb#L80)
1171
+ ##### [tap](https://github.com/appium/ruby_lib/blob/ba9ec64031f242b3065674b1e4f8b236b391f9fa/lib/appium_lib/device/touch_actions.rb#L80)
1169
1172
 
1170
1173
  > def tap(opts)
1171
1174
 
@@ -1177,7 +1180,7 @@ __Parameters:__
1177
1180
 
1178
1181
  --
1179
1182
 
1180
- ##### [double_tap](https://github.com/appium/ruby_lib/blob/54ff9c45df80ce901b718347e79e761f93a4316b/lib/appium_lib/device/touch_actions.rb#L93)
1183
+ ##### [double_tap](https://github.com/appium/ruby_lib/blob/ba9ec64031f242b3065674b1e4f8b236b391f9fa/lib/appium_lib/device/touch_actions.rb#L93)
1181
1184
 
1182
1185
  > def double_tap(opts)
1183
1186
 
@@ -1189,7 +1192,7 @@ __Parameters:__
1189
1192
 
1190
1193
  --
1191
1194
 
1192
- ##### [two_finger_tap](https://github.com/appium/ruby_lib/blob/54ff9c45df80ce901b718347e79e761f93a4316b/lib/appium_lib/device/touch_actions.rb#L104)
1195
+ ##### [two_finger_tap](https://github.com/appium/ruby_lib/blob/ba9ec64031f242b3065674b1e4f8b236b391f9fa/lib/appium_lib/device/touch_actions.rb#L104)
1193
1196
 
1194
1197
  > def two_finger_tap(opts)
1195
1198
 
@@ -1201,7 +1204,7 @@ __Parameters:__
1201
1204
 
1202
1205
  --
1203
1206
 
1204
- ##### [wait](https://github.com/appium/ruby_lib/blob/54ff9c45df80ce901b718347e79e761f93a4316b/lib/appium_lib/device/touch_actions.rb#L112)
1207
+ ##### [wait](https://github.com/appium/ruby_lib/blob/ba9ec64031f242b3065674b1e4f8b236b391f9fa/lib/appium_lib/device/touch_actions.rb#L112)
1205
1208
 
1206
1209
  > def wait(milliseconds)
1207
1210
 
@@ -1213,7 +1216,7 @@ __Parameters:__
1213
1216
 
1214
1217
  --
1215
1218
 
1216
- ##### [swipe](https://github.com/appium/ruby_lib/blob/54ff9c45df80ce901b718347e79e761f93a4316b/lib/appium_lib/device/touch_actions.rb#L127)
1219
+ ##### [swipe](https://github.com/appium/ruby_lib/blob/ba9ec64031f242b3065674b1e4f8b236b391f9fa/lib/appium_lib/device/touch_actions.rb#L127)
1217
1220
 
1218
1221
  > def swipe(opts, ele = nil)
1219
1222
 
@@ -1227,7 +1230,7 @@ __Parameters:__
1227
1230
 
1228
1231
  --
1229
1232
 
1230
- ##### [perform](https://github.com/appium/ruby_lib/blob/54ff9c45df80ce901b718347e79e761f93a4316b/lib/appium_lib/device/touch_actions.rb#L162)
1233
+ ##### [perform](https://github.com/appium/ruby_lib/blob/ba9ec64031f242b3065674b1e4f8b236b391f9fa/lib/appium_lib/device/touch_actions.rb#L162)
1231
1234
 
1232
1235
  > def perform
1233
1236
 
@@ -1235,7 +1238,7 @@ Ask the driver to perform all actions in this action chain.
1235
1238
 
1236
1239
  --
1237
1240
 
1238
- ##### [cancel](https://github.com/appium/ruby_lib/blob/54ff9c45df80ce901b718347e79e761f93a4316b/lib/appium_lib/device/touch_actions.rb#L168)
1241
+ ##### [cancel](https://github.com/appium/ruby_lib/blob/ba9ec64031f242b3065674b1e4f8b236b391f9fa/lib/appium_lib/device/touch_actions.rb#L168)
1239
1242
 
1240
1243
  > def cancel
1241
1244
 
@@ -1243,7 +1246,7 @@ Does nothing, currently.
1243
1246
 
1244
1247
  --
1245
1248
 
1246
- ##### [chain_method](https://github.com/appium/ruby_lib/blob/54ff9c45df80ce901b718347e79e761f93a4316b/lib/appium_lib/device/touch_actions.rb#L176)
1249
+ ##### [chain_method](https://github.com/appium/ruby_lib/blob/ba9ec64031f242b3065674b1e4f8b236b391f9fa/lib/appium_lib/device/touch_actions.rb#L176)
1247
1250
 
1248
1251
  > def chain_method(method, args = nil)
1249
1252
 
@@ -1251,7 +1254,7 @@ Does nothing, currently.
1251
1254
 
1252
1255
  --
1253
1256
 
1254
- ##### [args_with_ele_ref](https://github.com/appium/ruby_lib/blob/54ff9c45df80ce901b718347e79e761f93a4316b/lib/appium_lib/device/touch_actions.rb#L185)
1257
+ ##### [args_with_ele_ref](https://github.com/appium/ruby_lib/blob/ba9ec64031f242b3065674b1e4f8b236b391f9fa/lib/appium_lib/device/touch_actions.rb#L182)
1255
1258
 
1256
1259
  > def args_with_ele_ref(args)
1257
1260
 
@@ -1259,7 +1262,7 @@ Does nothing, currently.
1259
1262
 
1260
1263
  --
1261
1264
 
1262
- ##### [_generic_wait](https://github.com/appium/ruby_lib/blob/54ff9c45df80ce901b718347e79e761f93a4316b/lib/appium_lib/common/wait.rb#L9)
1265
+ ##### [_generic_wait](https://github.com/appium/ruby_lib/blob/ba9ec64031f242b3065674b1e4f8b236b391f9fa/lib/appium_lib/common/wait.rb#L9)
1263
1266
 
1264
1267
  > def _generic_wait(opts = {}, &block)
1265
1268
 
@@ -1268,7 +1271,7 @@ https://github.com/SeleniumHQ/selenium/blob/cf501dda3f0ed12233de51ce8170c0e8090f
1268
1271
 
1269
1272
  --
1270
1273
 
1271
- ##### [_process_wait_opts](https://github.com/appium/ruby_lib/blob/54ff9c45df80ce901b718347e79e761f93a4316b/lib/appium_lib/common/wait.rb#L54)
1274
+ ##### [_process_wait_opts](https://github.com/appium/ruby_lib/blob/ba9ec64031f242b3065674b1e4f8b236b391f9fa/lib/appium_lib/common/wait.rb#L48)
1272
1275
 
1273
1276
  > def _process_wait_opts(opts)
1274
1277
 
@@ -1276,7 +1279,7 @@ process opts before calling _generic_wait
1276
1279
 
1277
1280
  --
1278
1281
 
1279
- ##### [wait_true](https://github.com/appium/ruby_lib/blob/54ff9c45df80ce901b718347e79e761f93a4316b/lib/appium_lib/common/wait.rb#L75)
1282
+ ##### [wait_true](https://github.com/appium/ruby_lib/blob/ba9ec64031f242b3065674b1e4f8b236b391f9fa/lib/appium_lib/common/wait.rb#L69)
1280
1283
 
1281
1284
  > def wait_true(opts = {}, &block)
1282
1285
 
@@ -1296,7 +1299,7 @@ __Parameters:__
1296
1299
 
1297
1300
  --
1298
1301
 
1299
- ##### [wait](https://github.com/appium/ruby_lib/blob/54ff9c45df80ce901b718347e79e761f93a4316b/lib/appium_lib/common/wait.rb#L93)
1302
+ ##### [wait](https://github.com/appium/ruby_lib/blob/ba9ec64031f242b3065674b1e4f8b236b391f9fa/lib/appium_lib/common/wait.rb#L87)
1300
1303
 
1301
1304
  > def wait(opts = {}, &block)
1302
1305
 
@@ -1314,7 +1317,7 @@ __Parameters:__
1314
1317
 
1315
1318
  --
1316
1319
 
1317
- ##### [ignore](https://github.com/appium/ruby_lib/blob/54ff9c45df80ce901b718347e79e761f93a4316b/lib/appium_lib/common/helper.rb#L24)
1320
+ ##### [ignore](https://github.com/appium/ruby_lib/blob/ba9ec64031f242b3065674b1e4f8b236b391f9fa/lib/appium_lib/common/helper.rb#L24)
1318
1321
 
1319
1322
  > def ignore(&block)
1320
1323
 
@@ -1322,7 +1325,7 @@ Return block.call and ignore any exceptions.
1322
1325
 
1323
1326
  --
1324
1327
 
1325
- ##### [back](https://github.com/appium/ruby_lib/blob/54ff9c45df80ce901b718347e79e761f93a4316b/lib/appium_lib/common/helper.rb#L31)
1328
+ ##### [back](https://github.com/appium/ruby_lib/blob/ba9ec64031f242b3065674b1e4f8b236b391f9fa/lib/appium_lib/common/helper.rb#L31)
1326
1329
 
1327
1330
  > def back
1328
1331
 
@@ -1334,7 +1337,7 @@ __Returns:__
1334
1337
 
1335
1338
  --
1336
1339
 
1337
- ##### [session_id](https://github.com/appium/ruby_lib/blob/54ff9c45df80ce901b718347e79e761f93a4316b/lib/appium_lib/common/helper.rb#L36)
1340
+ ##### [session_id](https://github.com/appium/ruby_lib/blob/ba9ec64031f242b3065674b1e4f8b236b391f9fa/lib/appium_lib/common/helper.rb#L36)
1338
1341
 
1339
1342
  > def session_id
1340
1343
 
@@ -1342,7 +1345,7 @@ For Sauce Labs reporting. Returns the current session id.
1342
1345
 
1343
1346
  --
1344
1347
 
1345
- ##### [xpath](https://github.com/appium/ruby_lib/blob/54ff9c45df80ce901b718347e79e761f93a4316b/lib/appium_lib/common/helper.rb#L44)
1348
+ ##### [xpath](https://github.com/appium/ruby_lib/blob/ba9ec64031f242b3065674b1e4f8b236b391f9fa/lib/appium_lib/common/helper.rb#L44)
1346
1349
 
1347
1350
  > def xpath(xpath_str)
1348
1351
 
@@ -1358,7 +1361,7 @@ __Returns:__
1358
1361
 
1359
1362
  --
1360
1363
 
1361
- ##### [xpaths](https://github.com/appium/ruby_lib/blob/54ff9c45df80ce901b718347e79e761f93a4316b/lib/appium_lib/common/helper.rb#L52)
1364
+ ##### [xpaths](https://github.com/appium/ruby_lib/blob/ba9ec64031f242b3065674b1e4f8b236b391f9fa/lib/appium_lib/common/helper.rb#L52)
1362
1365
 
1363
1366
  > def xpaths(xpath_str)
1364
1367
 
@@ -1374,7 +1377,7 @@ __Returns:__
1374
1377
 
1375
1378
  --
1376
1379
 
1377
- ##### [_print_source](https://github.com/appium/ruby_lib/blob/54ff9c45df80ce901b718347e79e761f93a4316b/lib/appium_lib/common/helper.rb#L56)
1380
+ ##### [_print_source](https://github.com/appium/ruby_lib/blob/ba9ec64031f242b3065674b1e4f8b236b391f9fa/lib/appium_lib/common/helper.rb#L56)
1378
1381
 
1379
1382
  > def _print_source(source)
1380
1383
 
@@ -1382,7 +1385,7 @@ __Returns:__
1382
1385
 
1383
1386
  --
1384
1387
 
1385
- ##### [result](https://github.com/appium/ruby_lib/blob/54ff9c45df80ce901b718347e79e761f93a4316b/lib/appium_lib/common/helper.rb#L69)
1388
+ ##### [result](https://github.com/appium/ruby_lib/blob/ba9ec64031f242b3065674b1e4f8b236b391f9fa/lib/appium_lib/common/helper.rb#L69)
1386
1389
 
1387
1390
  > def result
1388
1391
 
@@ -1390,7 +1393,7 @@ Returns the value of attribute result
1390
1393
 
1391
1394
  --
1392
1395
 
1393
- ##### [initialize](https://github.com/appium/ruby_lib/blob/54ff9c45df80ce901b718347e79e761f93a4316b/lib/appium_lib/common/helper.rb#L71)
1396
+ ##### [initialize](https://github.com/appium/ruby_lib/blob/ba9ec64031f242b3065674b1e4f8b236b391f9fa/lib/appium_lib/common/helper.rb#L71)
1394
1397
 
1395
1398
  > def initialize
1396
1399
 
@@ -1402,7 +1405,7 @@ __Returns:__
1402
1405
 
1403
1406
  --
1404
1407
 
1405
- ##### [reset](https://github.com/appium/ruby_lib/blob/54ff9c45df80ce901b718347e79e761f93a4316b/lib/appium_lib/common/helper.rb#L75)
1408
+ ##### [reset](https://github.com/appium/ruby_lib/blob/ba9ec64031f242b3065674b1e4f8b236b391f9fa/lib/appium_lib/common/helper.rb#L75)
1406
1409
 
1407
1410
  > def reset
1408
1411
 
@@ -1410,7 +1413,7 @@ __Returns:__
1410
1413
 
1411
1414
  --
1412
1415
 
1413
- ##### [start_element](https://github.com/appium/ruby_lib/blob/54ff9c45df80ce901b718347e79e761f93a4316b/lib/appium_lib/common/helper.rb#L80)
1416
+ ##### [start_element](https://github.com/appium/ruby_lib/blob/ba9ec64031f242b3065674b1e4f8b236b391f9fa/lib/appium_lib/common/helper.rb#L80)
1414
1417
 
1415
1418
  > def start_element(name, attrs = [])
1416
1419
 
@@ -1418,7 +1421,7 @@ http://nokogiri.org/Nokogiri/XML/SAX/Document.html
1418
1421
 
1419
1422
  --
1420
1423
 
1421
- ##### [formatted_result](https://github.com/appium/ruby_lib/blob/54ff9c45df80ce901b718347e79e761f93a4316b/lib/appium_lib/common/helper.rb#L86)
1424
+ ##### [formatted_result](https://github.com/appium/ruby_lib/blob/ba9ec64031f242b3065674b1e4f8b236b391f9fa/lib/appium_lib/common/helper.rb#L86)
1422
1425
 
1423
1426
  > def formatted_result
1424
1427
 
@@ -1426,7 +1429,7 @@ http://nokogiri.org/Nokogiri/XML/SAX/Document.html
1426
1429
 
1427
1430
  --
1428
1431
 
1429
- ##### [get_page_class](https://github.com/appium/ruby_lib/blob/54ff9c45df80ce901b718347e79e761f93a4316b/lib/appium_lib/common/helper.rb#L97)
1432
+ ##### [get_page_class](https://github.com/appium/ruby_lib/blob/ba9ec64031f242b3065674b1e4f8b236b391f9fa/lib/appium_lib/common/helper.rb#L97)
1430
1433
 
1431
1434
  > def get_page_class
1432
1435
 
@@ -1434,7 +1437,7 @@ Returns a string of class counts of visible elements.
1434
1437
 
1435
1438
  --
1436
1439
 
1437
- ##### [page_class](https://github.com/appium/ruby_lib/blob/54ff9c45df80ce901b718347e79e761f93a4316b/lib/appium_lib/common/helper.rb#L108)
1440
+ ##### [page_class](https://github.com/appium/ruby_lib/blob/ba9ec64031f242b3065674b1e4f8b236b391f9fa/lib/appium_lib/common/helper.rb#L108)
1438
1441
 
1439
1442
  > def page_class
1440
1443
 
@@ -1443,7 +1446,7 @@ Useful for appium_console.
1443
1446
 
1444
1447
  --
1445
1448
 
1446
- ##### [px_to_window_rel](https://github.com/appium/ruby_lib/blob/54ff9c45df80ce901b718347e79e761f93a4316b/lib/appium_lib/common/helper.rb#L118)
1449
+ ##### [px_to_window_rel](https://github.com/appium/ruby_lib/blob/ba9ec64031f242b3065674b1e4f8b236b391f9fa/lib/appium_lib/common/helper.rb#L118)
1447
1450
 
1448
1451
  > def px_to_window_rel(opts = {})
1449
1452
 
@@ -1455,7 +1458,7 @@ px_to_window_rel x: 50, y: 150
1455
1458
 
1456
1459
  --
1457
1460
 
1458
- ##### [xml_keys](https://github.com/appium/ruby_lib/blob/54ff9c45df80ce901b718347e79e761f93a4316b/lib/appium_lib/common/helper.rb#L137)
1461
+ ##### [xml_keys](https://github.com/appium/ruby_lib/blob/ba9ec64031f242b3065674b1e4f8b236b391f9fa/lib/appium_lib/common/helper.rb#L137)
1459
1462
 
1460
1463
  > def xml_keys(target)
1461
1464
 
@@ -1471,7 +1474,7 @@ __Returns:__
1471
1474
 
1472
1475
  --
1473
1476
 
1474
- ##### [xml_values](https://github.com/appium/ruby_lib/blob/54ff9c45df80ce901b718347e79e761f93a4316b/lib/appium_lib/common/helper.rb#L145)
1477
+ ##### [xml_values](https://github.com/appium/ruby_lib/blob/ba9ec64031f242b3065674b1e4f8b236b391f9fa/lib/appium_lib/common/helper.rb#L145)
1475
1478
 
1476
1479
  > def xml_values(target)
1477
1480
 
@@ -1487,7 +1490,7 @@ __Returns:__
1487
1490
 
1488
1491
  --
1489
1492
 
1490
- ##### [resolve_id](https://github.com/appium/ruby_lib/blob/54ff9c45df80ce901b718347e79e761f93a4316b/lib/appium_lib/common/helper.rb#L153)
1493
+ ##### [resolve_id](https://github.com/appium/ruby_lib/blob/ba9ec64031f242b3065674b1e4f8b236b391f9fa/lib/appium_lib/common/helper.rb#L153)
1491
1494
 
1492
1495
  > def resolve_id(id)
1493
1496
 
@@ -1503,7 +1506,7 @@ __Returns:__
1503
1506
 
1504
1507
  --
1505
1508
 
1506
- ##### [filter](https://github.com/appium/ruby_lib/blob/54ff9c45df80ce901b718347e79e761f93a4316b/lib/appium_lib/common/helper.rb#L159)
1509
+ ##### [filter](https://github.com/appium/ruby_lib/blob/ba9ec64031f242b3065674b1e4f8b236b391f9fa/lib/appium_lib/common/helper.rb#L159)
1507
1510
 
1508
1511
  > def filter
1509
1512
 
@@ -1511,7 +1514,7 @@ Returns the value of attribute filter
1511
1514
 
1512
1515
  --
1513
1516
 
1514
- ##### [filter=](https://github.com/appium/ruby_lib/blob/54ff9c45df80ce901b718347e79e761f93a4316b/lib/appium_lib/common/helper.rb#L162)
1517
+ ##### [filter=](https://github.com/appium/ruby_lib/blob/ba9ec64031f242b3065674b1e4f8b236b391f9fa/lib/appium_lib/common/helper.rb#L162)
1515
1518
 
1516
1519
  > def filter=(value)
1517
1520
 
@@ -1519,7 +1522,7 @@ convert to string to support symbols
1519
1522
 
1520
1523
  --
1521
1524
 
1522
- ##### [initialize](https://github.com/appium/ruby_lib/blob/54ff9c45df80ce901b718347e79e761f93a4316b/lib/appium_lib/common/helper.rb#L168)
1525
+ ##### [initialize](https://github.com/appium/ruby_lib/blob/ba9ec64031f242b3065674b1e4f8b236b391f9fa/lib/appium_lib/common/helper.rb#L168)
1523
1526
 
1524
1527
  > def initialize
1525
1528
 
@@ -1531,7 +1534,7 @@ __Returns:__
1531
1534
 
1532
1535
  --
1533
1536
 
1534
- ##### [reset](https://github.com/appium/ruby_lib/blob/54ff9c45df80ce901b718347e79e761f93a4316b/lib/appium_lib/common/helper.rb#L173)
1537
+ ##### [reset](https://github.com/appium/ruby_lib/blob/ba9ec64031f242b3065674b1e4f8b236b391f9fa/lib/appium_lib/common/helper.rb#L173)
1535
1538
 
1536
1539
  > def reset
1537
1540
 
@@ -1539,7 +1542,7 @@ __Returns:__
1539
1542
 
1540
1543
  --
1541
1544
 
1542
- ##### [result](https://github.com/appium/ruby_lib/blob/54ff9c45df80ce901b718347e79e761f93a4316b/lib/appium_lib/common/helper.rb#L179)
1545
+ ##### [result](https://github.com/appium/ruby_lib/blob/ba9ec64031f242b3065674b1e4f8b236b391f9fa/lib/appium_lib/common/helper.rb#L179)
1543
1546
 
1544
1547
  > def result
1545
1548
 
@@ -1547,7 +1550,7 @@ __Returns:__
1547
1550
 
1548
1551
  --
1549
1552
 
1550
- ##### [start_element](https://github.com/appium/ruby_lib/blob/54ff9c45df80ce901b718347e79e761f93a4316b/lib/appium_lib/common/helper.rb#L195)
1553
+ ##### [start_element](https://github.com/appium/ruby_lib/blob/ba9ec64031f242b3065674b1e4f8b236b391f9fa/lib/appium_lib/common/helper.rb#L195)
1551
1554
 
1552
1555
  > def start_element(name, attrs = [])
1553
1556
 
@@ -1555,7 +1558,7 @@ __Returns:__
1555
1558
 
1556
1559
  --
1557
1560
 
1558
- ##### [end_element](https://github.com/appium/ruby_lib/blob/54ff9c45df80ce901b718347e79e761f93a4316b/lib/appium_lib/common/helper.rb#L204)
1561
+ ##### [end_element](https://github.com/appium/ruby_lib/blob/ba9ec64031f242b3065674b1e4f8b236b391f9fa/lib/appium_lib/common/helper.rb#L204)
1559
1562
 
1560
1563
  > def end_element(name)
1561
1564
 
@@ -1563,7 +1566,7 @@ __Returns:__
1563
1566
 
1564
1567
  --
1565
1568
 
1566
- ##### [characters](https://github.com/appium/ruby_lib/blob/54ff9c45df80ce901b718347e79e761f93a4316b/lib/appium_lib/common/helper.rb#L210)
1569
+ ##### [characters](https://github.com/appium/ruby_lib/blob/ba9ec64031f242b3065674b1e4f8b236b391f9fa/lib/appium_lib/common/helper.rb#L210)
1567
1570
 
1568
1571
  > def characters(chars)
1569
1572
 
@@ -1571,7 +1574,7 @@ __Returns:__
1571
1574
 
1572
1575
  --
1573
1576
 
1574
- ##### [_no_such_element](https://github.com/appium/ruby_lib/blob/54ff9c45df80ce901b718347e79e761f93a4316b/lib/appium_lib/common/helper.rb#L217)
1577
+ ##### [_no_such_element](https://github.com/appium/ruby_lib/blob/ba9ec64031f242b3065674b1e4f8b236b391f9fa/lib/appium_lib/common/helper.rb#L217)
1575
1578
 
1576
1579
  > def _no_such_element
1577
1580
 
@@ -1579,7 +1582,31 @@ __Returns:__
1579
1582
 
1580
1583
  --
1581
1584
 
1582
- ##### [window_size](https://github.com/appium/ruby_lib/blob/54ff9c45df80ce901b718347e79e761f93a4316b/lib/appium_lib/common/element/window.rb#L5)
1585
+ ##### [COMMAND_NO_ARG](https://github.com/appium/ruby_lib/blob/ba9ec64031f242b3065674b1e4f8b236b391f9fa/lib/appium_lib/common/command.rb#L4)
1586
+
1587
+ > COMMAND_NO_ARG = {
1588
+
1589
+
1590
+
1591
+ --
1592
+
1593
+ ##### [COMMAND](https://github.com/appium/ruby_lib/blob/ba9ec64031f242b3065674b1e4f8b236b391f9fa/lib/appium_lib/common/command.rb#L23)
1594
+
1595
+ > COMMAND = {
1596
+
1597
+
1598
+
1599
+ --
1600
+
1601
+ ##### [FINDERS](https://github.com/appium/ruby_lib/blob/ba9ec64031f242b3065674b1e4f8b236b391f9fa/lib/appium_lib/common/search_context.rb#L5)
1602
+
1603
+ > FINDERS = {
1604
+
1605
+ rubocop:disable Style/MutableConstant
1606
+
1607
+ --
1608
+
1609
+ ##### [window_size](https://github.com/appium/ruby_lib/blob/ba9ec64031f242b3065674b1e4f8b236b391f9fa/lib/appium_lib/common/element/window.rb#L5)
1583
1610
 
1584
1611
  > def window_size
1585
1612
 
@@ -1587,7 +1614,7 @@ Get the window's size
1587
1614
 
1588
1615
  --
1589
1616
 
1590
- ##### [result](https://github.com/appium/ruby_lib/blob/54ff9c45df80ce901b718347e79e761f93a4316b/lib/appium_lib/android/helper.rb#L6) android
1617
+ ##### [result](https://github.com/appium/ruby_lib/blob/ba9ec64031f242b3065674b1e4f8b236b391f9fa/lib/appium_lib/android/helper.rb#L6) android
1591
1618
 
1592
1619
  > def result
1593
1620
 
@@ -1595,7 +1622,7 @@ Returns the value of attribute result
1595
1622
 
1596
1623
  --
1597
1624
 
1598
- ##### [keys](https://github.com/appium/ruby_lib/blob/54ff9c45df80ce901b718347e79e761f93a4316b/lib/appium_lib/android/helper.rb#L6) android
1625
+ ##### [keys](https://github.com/appium/ruby_lib/blob/ba9ec64031f242b3065674b1e4f8b236b391f9fa/lib/appium_lib/android/helper.rb#L6) android
1599
1626
 
1600
1627
  > def keys
1601
1628
 
@@ -1603,7 +1630,7 @@ Returns the value of attribute keys
1603
1630
 
1604
1631
  --
1605
1632
 
1606
- ##### [instance](https://github.com/appium/ruby_lib/blob/54ff9c45df80ce901b718347e79e761f93a4316b/lib/appium_lib/android/helper.rb#L6) android
1633
+ ##### [instance](https://github.com/appium/ruby_lib/blob/ba9ec64031f242b3065674b1e4f8b236b391f9fa/lib/appium_lib/android/helper.rb#L6) android
1607
1634
 
1608
1635
  > def instance
1609
1636
 
@@ -1611,7 +1638,7 @@ Returns the value of attribute instance
1611
1638
 
1612
1639
  --
1613
1640
 
1614
- ##### [filter](https://github.com/appium/ruby_lib/blob/54ff9c45df80ce901b718347e79e761f93a4316b/lib/appium_lib/android/helper.rb#L6) android
1641
+ ##### [filter](https://github.com/appium/ruby_lib/blob/ba9ec64031f242b3065674b1e4f8b236b391f9fa/lib/appium_lib/android/helper.rb#L6) android
1615
1642
 
1616
1643
  > def filter
1617
1644
 
@@ -1619,7 +1646,7 @@ Returns the value of attribute filter
1619
1646
 
1620
1647
  --
1621
1648
 
1622
- ##### [filter=](https://github.com/appium/ruby_lib/blob/54ff9c45df80ce901b718347e79e761f93a4316b/lib/appium_lib/android/helper.rb#L9) android
1649
+ ##### [filter=](https://github.com/appium/ruby_lib/blob/ba9ec64031f242b3065674b1e4f8b236b391f9fa/lib/appium_lib/android/helper.rb#L9) android
1623
1650
 
1624
1651
  > def filter=(value)
1625
1652
 
@@ -1627,7 +1654,7 @@ convert to string to support symbols
1627
1654
 
1628
1655
  --
1629
1656
 
1630
- ##### [initialize](https://github.com/appium/ruby_lib/blob/54ff9c45df80ce901b718347e79e761f93a4316b/lib/appium_lib/android/helper.rb#L15) android
1657
+ ##### [initialize](https://github.com/appium/ruby_lib/blob/ba9ec64031f242b3065674b1e4f8b236b391f9fa/lib/appium_lib/android/helper.rb#L15) android
1631
1658
 
1632
1659
  > def initialize
1633
1660
 
@@ -1639,7 +1666,7 @@ __Returns:__
1639
1666
 
1640
1667
  --
1641
1668
 
1642
- ##### [reset](https://github.com/appium/ruby_lib/blob/54ff9c45df80ce901b718347e79e761f93a4316b/lib/appium_lib/android/helper.rb#L21) android
1669
+ ##### [reset](https://github.com/appium/ruby_lib/blob/ba9ec64031f242b3065674b1e4f8b236b391f9fa/lib/appium_lib/android/helper.rb#L21) android
1643
1670
 
1644
1671
  > def reset
1645
1672
 
@@ -1647,7 +1674,7 @@ __Returns:__
1647
1674
 
1648
1675
  --
1649
1676
 
1650
- ##### [start_element](https://github.com/appium/ruby_lib/blob/54ff9c45df80ce901b718347e79e761f93a4316b/lib/appium_lib/android/helper.rb#L28) android
1677
+ ##### [start_element](https://github.com/appium/ruby_lib/blob/ba9ec64031f242b3065674b1e4f8b236b391f9fa/lib/appium_lib/android/helper.rb#L28) android
1651
1678
 
1652
1679
  > def start_element(name, attrs = [])
1653
1680
 
@@ -1655,7 +1682,7 @@ http://nokogiri.org/Nokogiri/XML/SAX/Document.html
1655
1682
 
1656
1683
  --
1657
1684
 
1658
- ##### [_fix_android_native_source](https://github.com/appium/ruby_lib/blob/54ff9c45df80ce901b718347e79e761f93a4316b/lib/appium_lib/android/helper.rb#L88) android
1685
+ ##### [_fix_android_native_source](https://github.com/appium/ruby_lib/blob/ba9ec64031f242b3065674b1e4f8b236b391f9fa/lib/appium_lib/android/helper.rb#L88) android
1659
1686
 
1660
1687
  > def _fix_android_native_source(source)
1661
1688
 
@@ -1665,7 +1692,7 @@ https://code.google.com/p/android/issues/detail?id=74143
1665
1692
 
1666
1693
  --
1667
1694
 
1668
- ##### [source](https://github.com/appium/ruby_lib/blob/54ff9c45df80ce901b718347e79e761f93a4316b/lib/appium_lib/android/helper.rb#L116) android
1695
+ ##### [source](https://github.com/appium/ruby_lib/blob/ba9ec64031f242b3065674b1e4f8b236b391f9fa/lib/appium_lib/android/helper.rb#L116) android
1669
1696
 
1670
1697
  > def source
1671
1698
 
@@ -1677,7 +1704,7 @@ __Returns:__
1677
1704
 
1678
1705
  --
1679
1706
 
1680
- ##### [get_android_inspect](https://github.com/appium/ruby_lib/blob/54ff9c45df80ce901b718347e79e761f93a4316b/lib/appium_lib/android/helper.rb#L126) android
1707
+ ##### [get_android_inspect](https://github.com/appium/ruby_lib/blob/ba9ec64031f242b3065674b1e4f8b236b391f9fa/lib/appium_lib/android/helper.rb#L126) android
1681
1708
 
1682
1709
  > def get_android_inspect(class_name = false)
1683
1710
 
@@ -1696,7 +1723,7 @@ __Returns:__
1696
1723
 
1697
1724
  --
1698
1725
 
1699
- ##### [page](https://github.com/appium/ruby_lib/blob/54ff9c45df80ce901b718347e79e761f93a4316b/lib/appium_lib/android/helper.rb#L152) android
1726
+ ##### [page](https://github.com/appium/ruby_lib/blob/ba9ec64031f242b3065674b1e4f8b236b391f9fa/lib/appium_lib/android/helper.rb#L152) android
1700
1727
 
1701
1728
  > def page(opts = {})
1702
1729
 
@@ -1715,7 +1742,7 @@ __Returns:__
1715
1742
 
1716
1743
  --
1717
1744
 
1718
- ##### [current_app](https://github.com/appium/ruby_lib/blob/54ff9c45df80ce901b718347e79e761f93a4316b/lib/appium_lib/android/helper.rb#L164) android
1745
+ ##### [current_app](https://github.com/appium/ruby_lib/blob/ba9ec64031f242b3065674b1e4f8b236b391f9fa/lib/appium_lib/android/helper.rb#L164) android
1719
1746
 
1720
1747
  > def current_app
1721
1748
 
@@ -1725,7 +1752,7 @@ example line:
1725
1752
 
1726
1753
  --
1727
1754
 
1728
- ##### [id](https://github.com/appium/ruby_lib/blob/54ff9c45df80ce901b718347e79e761f93a4316b/lib/appium_lib/android/helper.rb#L188) android
1755
+ ##### [id](https://github.com/appium/ruby_lib/blob/ba9ec64031f242b3065674b1e4f8b236b391f9fa/lib/appium_lib/android/helper.rb#L188) android
1729
1756
 
1730
1757
  > def id(id)
1731
1758
 
@@ -1741,7 +1768,7 @@ __Returns:__
1741
1768
 
1742
1769
  --
1743
1770
 
1744
- ##### [ids](https://github.com/appium/ruby_lib/blob/54ff9c45df80ce901b718347e79e761f93a4316b/lib/appium_lib/android/helper.rb#L196) android
1771
+ ##### [ids](https://github.com/appium/ruby_lib/blob/ba9ec64031f242b3065674b1e4f8b236b391f9fa/lib/appium_lib/android/helper.rb#L196) android
1745
1772
 
1746
1773
  > def ids(id)
1747
1774
 
@@ -1757,7 +1784,7 @@ __Returns:__
1757
1784
 
1758
1785
  --
1759
1786
 
1760
- ##### [ele_index](https://github.com/appium/ruby_lib/blob/54ff9c45df80ce901b718347e79e761f93a4316b/lib/appium_lib/android/helper.rb#L205) android
1787
+ ##### [ele_index](https://github.com/appium/ruby_lib/blob/ba9ec64031f242b3065674b1e4f8b236b391f9fa/lib/appium_lib/android/helper.rb#L205) android
1761
1788
 
1762
1789
  > def ele_index(class_name, index)
1763
1790
 
@@ -1775,7 +1802,7 @@ __Returns:__
1775
1802
 
1776
1803
  --
1777
1804
 
1778
- ##### [first_ele](https://github.com/appium/ruby_lib/blob/54ff9c45df80ce901b718347e79e761f93a4316b/lib/appium_lib/android/helper.rb#L223) android
1805
+ ##### [first_ele](https://github.com/appium/ruby_lib/blob/ba9ec64031f242b3065674b1e4f8b236b391f9fa/lib/appium_lib/android/helper.rb#L223) android
1779
1806
 
1780
1807
  > def first_ele(class_name)
1781
1808
 
@@ -1791,7 +1818,7 @@ __Returns:__
1791
1818
 
1792
1819
  --
1793
1820
 
1794
- ##### [last_ele](https://github.com/appium/ruby_lib/blob/54ff9c45df80ce901b718347e79e761f93a4316b/lib/appium_lib/android/helper.rb#L230) android
1821
+ ##### [last_ele](https://github.com/appium/ruby_lib/blob/ba9ec64031f242b3065674b1e4f8b236b391f9fa/lib/appium_lib/android/helper.rb#L230) android
1795
1822
 
1796
1823
  > def last_ele(class_name)
1797
1824
 
@@ -1807,7 +1834,7 @@ __Returns:__
1807
1834
 
1808
1835
  --
1809
1836
 
1810
- ##### [tag](https://github.com/appium/ruby_lib/blob/54ff9c45df80ce901b718347e79e761f93a4316b/lib/appium_lib/android/helper.rb#L238) android
1837
+ ##### [tag](https://github.com/appium/ruby_lib/blob/ba9ec64031f242b3065674b1e4f8b236b391f9fa/lib/appium_lib/android/helper.rb#L238) android
1811
1838
 
1812
1839
  > def tag(class_name)
1813
1840
 
@@ -1823,7 +1850,7 @@ __Returns:__
1823
1850
 
1824
1851
  --
1825
1852
 
1826
- ##### [tags](https://github.com/appium/ruby_lib/blob/54ff9c45df80ce901b718347e79e761f93a4316b/lib/appium_lib/android/helper.rb#L246) android
1853
+ ##### [tags](https://github.com/appium/ruby_lib/blob/ba9ec64031f242b3065674b1e4f8b236b391f9fa/lib/appium_lib/android/helper.rb#L246) android
1827
1854
 
1828
1855
  > def tags(class_name)
1829
1856
 
@@ -1839,7 +1866,7 @@ __Returns:__
1839
1866
 
1840
1867
  --
1841
1868
 
1842
- ##### [string_visible_contains](https://github.com/appium/ruby_lib/blob/54ff9c45df80ce901b718347e79e761f93a4316b/lib/appium_lib/android/helper.rb#L288) android
1869
+ ##### [string_visible_contains](https://github.com/appium/ruby_lib/blob/ba9ec64031f242b3065674b1e4f8b236b391f9fa/lib/appium_lib/android/helper.rb#L288) android
1843
1870
 
1844
1871
  > def string_visible_contains(class_name, value)
1845
1872
 
@@ -1859,7 +1886,7 @@ __Returns:__
1859
1886
 
1860
1887
  --
1861
1888
 
1862
- ##### [complex_find_contains](https://github.com/appium/ruby_lib/blob/54ff9c45df80ce901b718347e79e761f93a4316b/lib/appium_lib/android/helper.rb#L308) android
1889
+ ##### [complex_find_contains](https://github.com/appium/ruby_lib/blob/ba9ec64031f242b3065674b1e4f8b236b391f9fa/lib/appium_lib/android/helper.rb#L308) android
1863
1890
 
1864
1891
  > def complex_find_contains(element, value)
1865
1892
 
@@ -1877,7 +1904,7 @@ __Returns:__
1877
1904
 
1878
1905
  --
1879
1906
 
1880
- ##### [complex_finds_contains](https://github.com/appium/ruby_lib/blob/54ff9c45df80ce901b718347e79e761f93a4316b/lib/appium_lib/android/helper.rb#L316) android
1907
+ ##### [complex_finds_contains](https://github.com/appium/ruby_lib/blob/ba9ec64031f242b3065674b1e4f8b236b391f9fa/lib/appium_lib/android/helper.rb#L316) android
1881
1908
 
1882
1909
  > def complex_finds_contains(element, value)
1883
1910
 
@@ -1895,7 +1922,7 @@ __Returns:__
1895
1922
 
1896
1923
  --
1897
1924
 
1898
- ##### [complex_find_exact](https://github.com/appium/ruby_lib/blob/54ff9c45df80ce901b718347e79e761f93a4316b/lib/appium_lib/android/helper.rb#L345) android
1925
+ ##### [complex_find_exact](https://github.com/appium/ruby_lib/blob/ba9ec64031f242b3065674b1e4f8b236b391f9fa/lib/appium_lib/android/helper.rb#L345) android
1899
1926
 
1900
1927
  > def complex_find_exact(class_name, value)
1901
1928
 
@@ -1913,7 +1940,7 @@ __Returns:__
1913
1940
 
1914
1941
  --
1915
1942
 
1916
- ##### [complex_finds_exact](https://github.com/appium/ruby_lib/blob/54ff9c45df80ce901b718347e79e761f93a4316b/lib/appium_lib/android/helper.rb#L353) android
1943
+ ##### [complex_finds_exact](https://github.com/appium/ruby_lib/blob/ba9ec64031f242b3065674b1e4f8b236b391f9fa/lib/appium_lib/android/helper.rb#L353) android
1917
1944
 
1918
1945
  > def complex_finds_exact(class_name, value)
1919
1946
 
@@ -1931,7 +1958,7 @@ __Returns:__
1931
1958
 
1932
1959
  --
1933
1960
 
1934
- ##### [get_source](https://github.com/appium/ruby_lib/blob/54ff9c45df80ce901b718347e79e761f93a4316b/lib/appium_lib/android/helper.rb#L361) android
1961
+ ##### [get_source](https://github.com/appium/ruby_lib/blob/ba9ec64031f242b3065674b1e4f8b236b391f9fa/lib/appium_lib/android/helper.rb#L361) android
1935
1962
 
1936
1963
  > def get_source
1937
1964
 
@@ -1945,15 +1972,15 @@ __Returns:__
1945
1972
 
1946
1973
  --
1947
1974
 
1948
- ##### [TextView](https://github.com/appium/ruby_lib/blob/54ff9c45df80ce901b718347e79e761f93a4316b/lib/appium_lib/android/element/text.rb#L4) android
1975
+ ##### [TextView](https://github.com/appium/ruby_lib/blob/ba9ec64031f242b3065674b1e4f8b236b391f9fa/lib/appium_lib/android/element/text.rb#L4) android
1949
1976
 
1950
- > TextView = 'android.widget.TextView'
1977
+ > TextView = 'android.widget.TextView'.freeze
1951
1978
 
1952
1979
 
1953
1980
 
1954
1981
  --
1955
1982
 
1956
- ##### [text](https://github.com/appium/ruby_lib/blob/54ff9c45df80ce901b718347e79e761f93a4316b/lib/appium_lib/android/element/text.rb#L10) android
1983
+ ##### [text](https://github.com/appium/ruby_lib/blob/ba9ec64031f242b3065674b1e4f8b236b391f9fa/lib/appium_lib/android/element/text.rb#L10) android
1957
1984
 
1958
1985
  > def text(value)
1959
1986
 
@@ -1970,7 +1997,7 @@ __Returns:__
1970
1997
 
1971
1998
  --
1972
1999
 
1973
- ##### [texts](https://github.com/appium/ruby_lib/blob/54ff9c45df80ce901b718347e79e761f93a4316b/lib/appium_lib/android/element/text.rb#L19) android
2000
+ ##### [texts](https://github.com/appium/ruby_lib/blob/ba9ec64031f242b3065674b1e4f8b236b391f9fa/lib/appium_lib/android/element/text.rb#L19) android
1974
2001
 
1975
2002
  > def texts(value = false)
1976
2003
 
@@ -1987,7 +2014,7 @@ __Returns:__
1987
2014
 
1988
2015
  --
1989
2016
 
1990
- ##### [first_text](https://github.com/appium/ruby_lib/blob/54ff9c45df80ce901b718347e79e761f93a4316b/lib/appium_lib/android/element/text.rb#L26) android
2017
+ ##### [first_text](https://github.com/appium/ruby_lib/blob/ba9ec64031f242b3065674b1e4f8b236b391f9fa/lib/appium_lib/android/element/text.rb#L26) android
1991
2018
 
1992
2019
  > def first_text
1993
2020
 
@@ -1999,7 +2026,7 @@ __Returns:__
1999
2026
 
2000
2027
  --
2001
2028
 
2002
- ##### [last_text](https://github.com/appium/ruby_lib/blob/54ff9c45df80ce901b718347e79e761f93a4316b/lib/appium_lib/android/element/text.rb#L32) android
2029
+ ##### [last_text](https://github.com/appium/ruby_lib/blob/ba9ec64031f242b3065674b1e4f8b236b391f9fa/lib/appium_lib/android/element/text.rb#L32) android
2003
2030
 
2004
2031
  > def last_text
2005
2032
 
@@ -2011,7 +2038,7 @@ __Returns:__
2011
2038
 
2012
2039
  --
2013
2040
 
2014
- ##### [text_exact](https://github.com/appium/ruby_lib/blob/54ff9c45df80ce901b718347e79e761f93a4316b/lib/appium_lib/android/element/text.rb#L39) android
2041
+ ##### [text_exact](https://github.com/appium/ruby_lib/blob/ba9ec64031f242b3065674b1e4f8b236b391f9fa/lib/appium_lib/android/element/text.rb#L39) android
2015
2042
 
2016
2043
  > def text_exact(value)
2017
2044
 
@@ -2027,7 +2054,7 @@ __Returns:__
2027
2054
 
2028
2055
  --
2029
2056
 
2030
- ##### [texts_exact](https://github.com/appium/ruby_lib/blob/54ff9c45df80ce901b718347e79e761f93a4316b/lib/appium_lib/android/element/text.rb#L46) android
2057
+ ##### [texts_exact](https://github.com/appium/ruby_lib/blob/ba9ec64031f242b3065674b1e4f8b236b391f9fa/lib/appium_lib/android/element/text.rb#L46) android
2031
2058
 
2032
2059
  > def texts_exact(value)
2033
2060
 
@@ -2043,7 +2070,7 @@ __Returns:__
2043
2070
 
2044
2071
  --
2045
2072
 
2046
- ##### [_nodeset_to_uiselector](https://github.com/appium/ruby_lib/blob/54ff9c45df80ce901b718347e79e761f93a4316b/lib/appium_lib/android/client_xpath.rb#L5) android
2073
+ ##### [_nodeset_to_uiselector](https://github.com/appium/ruby_lib/blob/ba9ec64031f242b3065674b1e4f8b236b391f9fa/lib/appium_lib/android/client_xpath.rb#L5) android
2047
2074
 
2048
2075
  > def _nodeset_to_uiselector(opts = {})
2049
2076
 
@@ -2051,7 +2078,7 @@ __Returns:__
2051
2078
 
2052
2079
  --
2053
2080
 
2054
- ##### [_client_xpath](https://github.com/appium/ruby_lib/blob/54ff9c45df80ce901b718347e79e761f93a4316b/lib/appium_lib/android/client_xpath.rb#L20) android
2081
+ ##### [_client_xpath](https://github.com/appium/ruby_lib/blob/ba9ec64031f242b3065674b1e4f8b236b391f9fa/lib/appium_lib/android/client_xpath.rb#L20) android
2055
2082
 
2056
2083
  > def _client_xpath(opts = {})
2057
2084
 
@@ -2059,7 +2086,7 @@ __Returns:__
2059
2086
 
2060
2087
  --
2061
2088
 
2062
- ##### [client_xpath](https://github.com/appium/ruby_lib/blob/54ff9c45df80ce901b718347e79e761f93a4316b/lib/appium_lib/android/client_xpath.rb#L36) android
2089
+ ##### [client_xpath](https://github.com/appium/ruby_lib/blob/ba9ec64031f242b3065674b1e4f8b236b391f9fa/lib/appium_lib/android/client_xpath.rb#L36) android
2063
2090
 
2064
2091
  > def client_xpath(xpath)
2065
2092
 
@@ -2067,7 +2094,7 @@ __Returns:__
2067
2094
 
2068
2095
  --
2069
2096
 
2070
- ##### [client_xpaths](https://github.com/appium/ruby_lib/blob/54ff9c45df80ce901b718347e79e761f93a4316b/lib/appium_lib/android/client_xpath.rb#L40) android
2097
+ ##### [client_xpaths](https://github.com/appium/ruby_lib/blob/ba9ec64031f242b3065674b1e4f8b236b391f9fa/lib/appium_lib/android/client_xpath.rb#L40) android
2071
2098
 
2072
2099
  > def client_xpaths(xpath)
2073
2100
 
@@ -2075,7 +2102,7 @@ __Returns:__
2075
2102
 
2076
2103
  --
2077
2104
 
2078
- ##### [alert_click](https://github.com/appium/ruby_lib/blob/54ff9c45df80ce901b718347e79e761f93a4316b/lib/appium_lib/android/element/alert.rb#L6) android
2105
+ ##### [alert_click](https://github.com/appium/ruby_lib/blob/ba9ec64031f242b3065674b1e4f8b236b391f9fa/lib/appium_lib/android/element/alert.rb#L6) android
2079
2106
 
2080
2107
  > def alert_click(value)
2081
2108
 
@@ -2091,7 +2118,7 @@ __Returns:__
2091
2118
 
2092
2119
  --
2093
2120
 
2094
- ##### [alert_accept](https://github.com/appium/ruby_lib/blob/54ff9c45df80ce901b718347e79e761f93a4316b/lib/appium_lib/android/element/alert.rb#L13) android
2121
+ ##### [alert_accept](https://github.com/appium/ruby_lib/blob/ba9ec64031f242b3065674b1e4f8b236b391f9fa/lib/appium_lib/android/element/alert.rb#L13) android
2095
2122
 
2096
2123
  > def alert_accept
2097
2124
 
@@ -2104,7 +2131,7 @@ __Returns:__
2104
2131
 
2105
2132
  --
2106
2133
 
2107
- ##### [alert_accept_text](https://github.com/appium/ruby_lib/blob/54ff9c45df80ce901b718347e79e761f93a4316b/lib/appium_lib/android/element/alert.rb#L20) android
2134
+ ##### [alert_accept_text](https://github.com/appium/ruby_lib/blob/ba9ec64031f242b3065674b1e4f8b236b391f9fa/lib/appium_lib/android/element/alert.rb#L20) android
2108
2135
 
2109
2136
  > def alert_accept_text
2110
2137
 
@@ -2117,7 +2144,7 @@ __Returns:__
2117
2144
 
2118
2145
  --
2119
2146
 
2120
- ##### [alert_dismiss](https://github.com/appium/ruby_lib/blob/54ff9c45df80ce901b718347e79e761f93a4316b/lib/appium_lib/android/element/alert.rb#L27) android
2147
+ ##### [alert_dismiss](https://github.com/appium/ruby_lib/blob/ba9ec64031f242b3065674b1e4f8b236b391f9fa/lib/appium_lib/android/element/alert.rb#L27) android
2121
2148
 
2122
2149
  > def alert_dismiss
2123
2150
 
@@ -2130,7 +2157,7 @@ __Returns:__
2130
2157
 
2131
2158
  --
2132
2159
 
2133
- ##### [alert_dismiss_text](https://github.com/appium/ruby_lib/blob/54ff9c45df80ce901b718347e79e761f93a4316b/lib/appium_lib/android/element/alert.rb#L34) android
2160
+ ##### [alert_dismiss_text](https://github.com/appium/ruby_lib/blob/ba9ec64031f242b3065674b1e4f8b236b391f9fa/lib/appium_lib/android/element/alert.rb#L34) android
2134
2161
 
2135
2162
  > def alert_dismiss_text
2136
2163
 
@@ -2143,23 +2170,23 @@ __Returns:__
2143
2170
 
2144
2171
  --
2145
2172
 
2146
- ##### [Button](https://github.com/appium/ruby_lib/blob/54ff9c45df80ce901b718347e79e761f93a4316b/lib/appium_lib/android/element/button.rb#L4) android
2173
+ ##### [Button](https://github.com/appium/ruby_lib/blob/ba9ec64031f242b3065674b1e4f8b236b391f9fa/lib/appium_lib/android/element/button.rb#L4) android
2147
2174
 
2148
- > Button = 'android.widget.Button'
2175
+ > Button = 'android.widget.Button'.freeze
2149
2176
 
2150
2177
 
2151
2178
 
2152
2179
  --
2153
2180
 
2154
- ##### [ImageButton](https://github.com/appium/ruby_lib/blob/54ff9c45df80ce901b718347e79e761f93a4316b/lib/appium_lib/android/element/button.rb#L5) android
2181
+ ##### [ImageButton](https://github.com/appium/ruby_lib/blob/ba9ec64031f242b3065674b1e4f8b236b391f9fa/lib/appium_lib/android/element/button.rb#L5) android
2155
2182
 
2156
- > ImageButton = 'android.widget.ImageButton'
2183
+ > ImageButton = 'android.widget.ImageButton'.freeze
2157
2184
 
2158
2185
 
2159
2186
 
2160
2187
  --
2161
2188
 
2162
- ##### [button](https://github.com/appium/ruby_lib/blob/54ff9c45df80ce901b718347e79e761f93a4316b/lib/appium_lib/android/element/button.rb#L43) android
2189
+ ##### [button](https://github.com/appium/ruby_lib/blob/ba9ec64031f242b3065674b1e4f8b236b391f9fa/lib/appium_lib/android/element/button.rb#L43) android
2163
2190
 
2164
2191
  > def button(value)
2165
2192
 
@@ -2176,7 +2203,7 @@ __Returns:__
2176
2203
 
2177
2204
  --
2178
2205
 
2179
- ##### [buttons](https://github.com/appium/ruby_lib/blob/54ff9c45df80ce901b718347e79e761f93a4316b/lib/appium_lib/android/element/button.rb#L60) android
2206
+ ##### [buttons](https://github.com/appium/ruby_lib/blob/ba9ec64031f242b3065674b1e4f8b236b391f9fa/lib/appium_lib/android/element/button.rb#L60) android
2180
2207
 
2181
2208
  > def buttons(value = false)
2182
2209
 
@@ -2193,7 +2220,7 @@ __Returns:__
2193
2220
 
2194
2221
  --
2195
2222
 
2196
- ##### [first_button](https://github.com/appium/ruby_lib/blob/54ff9c45df80ce901b718347e79e761f93a4316b/lib/appium_lib/android/element/button.rb#L67) android
2223
+ ##### [first_button](https://github.com/appium/ruby_lib/blob/ba9ec64031f242b3065674b1e4f8b236b391f9fa/lib/appium_lib/android/element/button.rb#L67) android
2197
2224
 
2198
2225
  > def first_button
2199
2226
 
@@ -2205,7 +2232,7 @@ __Returns:__
2205
2232
 
2206
2233
  --
2207
2234
 
2208
- ##### [last_button](https://github.com/appium/ruby_lib/blob/54ff9c45df80ce901b718347e79e761f93a4316b/lib/appium_lib/android/element/button.rb#L73) android
2235
+ ##### [last_button](https://github.com/appium/ruby_lib/blob/ba9ec64031f242b3065674b1e4f8b236b391f9fa/lib/appium_lib/android/element/button.rb#L73) android
2209
2236
 
2210
2237
  > def last_button
2211
2238
 
@@ -2217,7 +2244,7 @@ __Returns:__
2217
2244
 
2218
2245
  --
2219
2246
 
2220
- ##### [button_exact](https://github.com/appium/ruby_lib/blob/54ff9c45df80ce901b718347e79e761f93a4316b/lib/appium_lib/android/element/button.rb#L89) android
2247
+ ##### [button_exact](https://github.com/appium/ruby_lib/blob/ba9ec64031f242b3065674b1e4f8b236b391f9fa/lib/appium_lib/android/element/button.rb#L89) android
2221
2248
 
2222
2249
  > def button_exact(value)
2223
2250
 
@@ -2233,7 +2260,7 @@ __Returns:__
2233
2260
 
2234
2261
  --
2235
2262
 
2236
- ##### [buttons_exact](https://github.com/appium/ruby_lib/blob/54ff9c45df80ce901b718347e79e761f93a4316b/lib/appium_lib/android/element/button.rb#L96) android
2263
+ ##### [buttons_exact](https://github.com/appium/ruby_lib/blob/ba9ec64031f242b3065674b1e4f8b236b391f9fa/lib/appium_lib/android/element/button.rb#L96) android
2237
2264
 
2238
2265
  > def buttons_exact(value)
2239
2266
 
@@ -2249,7 +2276,7 @@ __Returns:__
2249
2276
 
2250
2277
  --
2251
2278
 
2252
- ##### [uiautomator_find](https://github.com/appium/ruby_lib/blob/54ff9c45df80ce901b718347e79e761f93a4316b/lib/appium_lib/android/mobile_methods.rb#L10) android
2279
+ ##### [uiautomator_find](https://github.com/appium/ruby_lib/blob/ba9ec64031f242b3065674b1e4f8b236b391f9fa/lib/appium_lib/android/mobile_methods.rb#L10) android
2253
2280
 
2254
2281
  > def uiautomator_find
2255
2282
 
@@ -2261,7 +2288,7 @@ find_element/s can be used with a [UISelector](http://developer.android.com/tool
2261
2288
 
2262
2289
  --
2263
2290
 
2264
- ##### [find](https://github.com/appium/ruby_lib/blob/54ff9c45df80ce901b718347e79e761f93a4316b/lib/appium_lib/android/element/generic.rb#L6) android
2291
+ ##### [find](https://github.com/appium/ruby_lib/blob/ba9ec64031f242b3065674b1e4f8b236b391f9fa/lib/appium_lib/android/element/generic.rb#L6) android
2265
2292
 
2266
2293
  > def find(value)
2267
2294
 
@@ -2277,7 +2304,7 @@ __Returns:__
2277
2304
 
2278
2305
  --
2279
2306
 
2280
- ##### [finds](https://github.com/appium/ruby_lib/blob/54ff9c45df80ce901b718347e79e761f93a4316b/lib/appium_lib/android/element/generic.rb#L13) android
2307
+ ##### [finds](https://github.com/appium/ruby_lib/blob/ba9ec64031f242b3065674b1e4f8b236b391f9fa/lib/appium_lib/android/element/generic.rb#L13) android
2281
2308
 
2282
2309
  > def finds(value)
2283
2310
 
@@ -2293,7 +2320,7 @@ __Returns:__
2293
2320
 
2294
2321
  --
2295
2322
 
2296
- ##### [find_exact](https://github.com/appium/ruby_lib/blob/54ff9c45df80ce901b718347e79e761f93a4316b/lib/appium_lib/android/element/generic.rb#L20) android
2323
+ ##### [find_exact](https://github.com/appium/ruby_lib/blob/ba9ec64031f242b3065674b1e4f8b236b391f9fa/lib/appium_lib/android/element/generic.rb#L20) android
2297
2324
 
2298
2325
  > def find_exact(value)
2299
2326
 
@@ -2309,7 +2336,7 @@ __Returns:__
2309
2336
 
2310
2337
  --
2311
2338
 
2312
- ##### [finds_exact](https://github.com/appium/ruby_lib/blob/54ff9c45df80ce901b718347e79e761f93a4316b/lib/appium_lib/android/element/generic.rb#L27) android
2339
+ ##### [finds_exact](https://github.com/appium/ruby_lib/blob/ba9ec64031f242b3065674b1e4f8b236b391f9fa/lib/appium_lib/android/element/generic.rb#L27) android
2313
2340
 
2314
2341
  > def finds_exact(value)
2315
2342
 
@@ -2325,7 +2352,7 @@ __Returns:__
2325
2352
 
2326
2353
  --
2327
2354
 
2328
- ##### [scroll_to](https://github.com/appium/ruby_lib/blob/54ff9c45df80ce901b718347e79e761f93a4316b/lib/appium_lib/android/element/generic.rb#L39) android
2355
+ ##### [scroll_to](https://github.com/appium/ruby_lib/blob/ba9ec64031f242b3065674b1e4f8b236b391f9fa/lib/appium_lib/android/element/generic.rb#L39) android
2329
2356
 
2330
2357
  > def scroll_to(text)
2331
2358
 
@@ -2341,7 +2368,7 @@ __Returns:__
2341
2368
 
2342
2369
  --
2343
2370
 
2344
- ##### [scroll_to_exact](https://github.com/appium/ruby_lib/blob/54ff9c45df80ce901b718347e79e761f93a4316b/lib/appium_lib/android/element/generic.rb#L51) android
2371
+ ##### [scroll_to_exact](https://github.com/appium/ruby_lib/blob/ba9ec64031f242b3065674b1e4f8b236b391f9fa/lib/appium_lib/android/element/generic.rb#L51) android
2345
2372
 
2346
2373
  > def scroll_to_exact(text)
2347
2374
 
@@ -2357,15 +2384,15 @@ __Returns:__
2357
2384
 
2358
2385
  --
2359
2386
 
2360
- ##### [EditText](https://github.com/appium/ruby_lib/blob/54ff9c45df80ce901b718347e79e761f93a4316b/lib/appium_lib/android/element/textfield.rb#L3) android
2387
+ ##### [EditText](https://github.com/appium/ruby_lib/blob/ba9ec64031f242b3065674b1e4f8b236b391f9fa/lib/appium_lib/android/element/textfield.rb#L3) android
2361
2388
 
2362
- > EditText = 'android.widget.EditText'
2389
+ > EditText = 'android.widget.EditText'.freeze
2363
2390
 
2364
2391
 
2365
2392
 
2366
2393
  --
2367
2394
 
2368
- ##### [textfield](https://github.com/appium/ruby_lib/blob/54ff9c45df80ce901b718347e79e761f93a4316b/lib/appium_lib/android/element/textfield.rb#L9) android
2395
+ ##### [textfield](https://github.com/appium/ruby_lib/blob/ba9ec64031f242b3065674b1e4f8b236b391f9fa/lib/appium_lib/android/element/textfield.rb#L9) android
2369
2396
 
2370
2397
  > def textfield(value)
2371
2398
 
@@ -2382,7 +2409,7 @@ __Returns:__
2382
2409
 
2383
2410
  --
2384
2411
 
2385
- ##### [textfields](https://github.com/appium/ruby_lib/blob/54ff9c45df80ce901b718347e79e761f93a4316b/lib/appium_lib/android/element/textfield.rb#L18) android
2412
+ ##### [textfields](https://github.com/appium/ruby_lib/blob/ba9ec64031f242b3065674b1e4f8b236b391f9fa/lib/appium_lib/android/element/textfield.rb#L18) android
2386
2413
 
2387
2414
  > def textfields(value = false)
2388
2415
 
@@ -2399,7 +2426,7 @@ __Returns:__
2399
2426
 
2400
2427
  --
2401
2428
 
2402
- ##### [first_textfield](https://github.com/appium/ruby_lib/blob/54ff9c45df80ce901b718347e79e761f93a4316b/lib/appium_lib/android/element/textfield.rb#L25) android
2429
+ ##### [first_textfield](https://github.com/appium/ruby_lib/blob/ba9ec64031f242b3065674b1e4f8b236b391f9fa/lib/appium_lib/android/element/textfield.rb#L25) android
2403
2430
 
2404
2431
  > def first_textfield
2405
2432
 
@@ -2411,7 +2438,7 @@ __Returns:__
2411
2438
 
2412
2439
  --
2413
2440
 
2414
- ##### [last_textfield](https://github.com/appium/ruby_lib/blob/54ff9c45df80ce901b718347e79e761f93a4316b/lib/appium_lib/android/element/textfield.rb#L31) android
2441
+ ##### [last_textfield](https://github.com/appium/ruby_lib/blob/ba9ec64031f242b3065674b1e4f8b236b391f9fa/lib/appium_lib/android/element/textfield.rb#L31) android
2415
2442
 
2416
2443
  > def last_textfield
2417
2444
 
@@ -2423,7 +2450,7 @@ __Returns:__
2423
2450
 
2424
2451
  --
2425
2452
 
2426
- ##### [textfield_exact](https://github.com/appium/ruby_lib/blob/54ff9c45df80ce901b718347e79e761f93a4316b/lib/appium_lib/android/element/textfield.rb#L38) android
2453
+ ##### [textfield_exact](https://github.com/appium/ruby_lib/blob/ba9ec64031f242b3065674b1e4f8b236b391f9fa/lib/appium_lib/android/element/textfield.rb#L38) android
2427
2454
 
2428
2455
  > def textfield_exact(value)
2429
2456
 
@@ -2439,7 +2466,7 @@ __Returns:__
2439
2466
 
2440
2467
  --
2441
2468
 
2442
- ##### [textfields_exact](https://github.com/appium/ruby_lib/blob/54ff9c45df80ce901b718347e79e761f93a4316b/lib/appium_lib/android/element/textfield.rb#L45) android
2469
+ ##### [textfields_exact](https://github.com/appium/ruby_lib/blob/ba9ec64031f242b3065674b1e4f8b236b391f9fa/lib/appium_lib/android/element/textfield.rb#L45) android
2443
2470
 
2444
2471
  > def textfields_exact(value)
2445
2472
 
@@ -2455,7 +2482,7 @@ __Returns:__
2455
2482
 
2456
2483
  --
2457
2484
 
2458
- ##### [value](https://github.com/appium/ruby_lib/blob/54ff9c45df80ce901b718347e79e761f93a4316b/lib/appium_lib/common/patch.rb#L12)
2485
+ ##### [value](https://github.com/appium/ruby_lib/blob/ba9ec64031f242b3065674b1e4f8b236b391f9fa/lib/appium_lib/common/patch.rb#L12)
2459
2486
 
2460
2487
  > def value
2461
2488
 
@@ -2465,7 +2492,7 @@ Fixes NoMethodError: undefined method `value' for Selenium::WebDriver::Element
2465
2492
 
2466
2493
  --
2467
2494
 
2468
- ##### [name](https://github.com/appium/ruby_lib/blob/54ff9c45df80ce901b718347e79e761f93a4316b/lib/appium_lib/common/patch.rb#L19)
2495
+ ##### [name](https://github.com/appium/ruby_lib/blob/ba9ec64031f242b3065674b1e4f8b236b391f9fa/lib/appium_lib/common/patch.rb#L19)
2469
2496
 
2470
2497
  > def name
2471
2498
 
@@ -2475,7 +2502,7 @@ Fixes NoMethodError: undefined method `name' for Selenium::WebDriver::Element
2475
2502
 
2476
2503
  --
2477
2504
 
2478
- ##### [location_rel](https://github.com/appium/ruby_lib/blob/54ff9c45df80ce901b718347e79e761f93a4316b/lib/appium_lib/common/patch.rb#L31)
2505
+ ##### [location_rel](https://github.com/appium/ruby_lib/blob/ba9ec64031f242b3065674b1e4f8b236b391f9fa/lib/appium_lib/common/patch.rb#L31)
2479
2506
 
2480
2507
  > def location_rel
2481
2508
 
@@ -2493,9 +2520,17 @@ __Returns:__
2493
2520
 
2494
2521
  --
2495
2522
 
2496
- ##### [DEFAULT_HEADERS](https://github.com/appium/ruby_lib/blob/54ff9c45df80ce901b718347e79e761f93a4316b/lib/appium_lib/common/patch.rb#L147)
2523
+ ##### [DEFAULT_HEADERS](https://github.com/appium/ruby_lib/blob/ba9ec64031f242b3065674b1e4f8b236b391f9fa/lib/appium_lib/common/patch.rb#L152)
2524
+
2525
+ > DEFAULT_HEADERS = { 'Accept' => CONTENT_TYPE, 'User-Agent' => "appium/ruby_lib/#{::Appium::VERSION}" }.freeze
2526
+
2527
+
2528
+
2529
+ --
2530
+
2531
+ ##### [patch_remote_driver_commands](https://github.com/appium/ruby_lib/blob/ba9ec64031f242b3065674b1e4f8b236b391f9fa/lib/appium_lib/common/patch.rb#L155)
2497
2532
 
2498
- > DEFAULT_HEADERS = { 'Accept' => CONTENT_TYPE, 'User-Agent' => "appium/ruby_lib/#{::Appium::VERSION}" }
2533
+ > def patch_remote_driver_commands
2499
2534
 
2500
2535
 
2501
2536