appium_lib 10.2.0 → 10.3.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.rubocop.yml +1 -14
- data/.travis.yml +0 -2
- data/CHANGELOG.md +9 -0
- data/Gemfile +14 -0
- data/Rakefile +14 -0
- data/appium_lib.gemspec +2 -2
- data/docs/android_docs.md +261 -229
- data/docs/ios_docs.md +346 -282
- data/lib/appium_lib.rb +14 -0
- data/lib/appium_lib/android/android.rb +14 -0
- data/lib/appium_lib/android/common/command/command.rb +14 -0
- data/lib/appium_lib/android/common/helper.rb +14 -0
- data/lib/appium_lib/android/element/alert.rb +14 -0
- data/lib/appium_lib/android/element/button.rb +35 -18
- data/lib/appium_lib/android/element/generic.rb +14 -0
- data/lib/appium_lib/android/element/text.rb +29 -14
- data/lib/appium_lib/android/element/textfield.rb +30 -15
- data/lib/appium_lib/android/espresso.rb +14 -0
- data/lib/appium_lib/android/espresso/bridge.rb +14 -0
- data/lib/appium_lib/android/espresso/element.rb +14 -0
- data/lib/appium_lib/android/espresso/element/button.rb +26 -12
- data/lib/appium_lib/android/espresso/element/generic.rb +14 -0
- data/lib/appium_lib/android/espresso/helper.rb +14 -0
- data/lib/appium_lib/android/uiautomator2.rb +14 -0
- data/lib/appium_lib/android/uiautomator2/bridge.rb +14 -0
- data/lib/appium_lib/android/uiautomator2/element.rb +14 -0
- data/lib/appium_lib/android/uiautomator2/element/button.rb +14 -0
- data/lib/appium_lib/android/uiautomator2/helper.rb +14 -0
- data/lib/appium_lib/appium.rb +14 -0
- data/lib/appium_lib/common/command.rb +14 -0
- data/lib/appium_lib/common/command/ws_logcat.rb +14 -0
- data/lib/appium_lib/common/device.rb +14 -0
- data/lib/appium_lib/common/helper.rb +19 -5
- data/lib/appium_lib/common/http_client.rb +14 -0
- data/lib/appium_lib/common/log.rb +14 -0
- data/lib/appium_lib/common/multi_touch.rb +14 -0
- data/lib/appium_lib/common/touch_actions.rb +14 -0
- data/lib/appium_lib/common/wait.rb +14 -0
- data/lib/appium_lib/driver.rb +16 -2
- data/lib/appium_lib/ios/common/errors.rb +14 -0
- data/lib/appium_lib/ios/common/helper.rb +15 -1
- data/lib/appium_lib/ios/element/alert.rb +14 -0
- data/lib/appium_lib/ios/element/button.rb +26 -9
- data/lib/appium_lib/ios/element/generic.rb +14 -0
- data/lib/appium_lib/ios/element/text.rb +26 -9
- data/lib/appium_lib/ios/element/textfield.rb +25 -7
- data/lib/appium_lib/ios/ios.rb +14 -0
- data/lib/appium_lib/ios/xcuitest.rb +14 -0
- data/lib/appium_lib/ios/xcuitest/bridge.rb +14 -0
- data/lib/appium_lib/ios/xcuitest/command.rb +14 -0
- data/lib/appium_lib/ios/xcuitest/command/certificate.rb +14 -0
- data/lib/appium_lib/ios/xcuitest/command/gestures.rb +14 -0
- data/lib/appium_lib/ios/xcuitest/command/get_context.rb +14 -0
- data/lib/appium_lib/ios/xcuitest/command/multi_app_handler.rb +14 -0
- data/lib/appium_lib/ios/xcuitest/command/pasteboard.rb +14 -0
- data/lib/appium_lib/ios/xcuitest/command/source.rb +14 -0
- data/lib/appium_lib/ios/xcuitest/element.rb +14 -0
- data/lib/appium_lib/ios/xcuitest/element/button.rb +22 -8
- data/lib/appium_lib/ios/xcuitest/element/generic.rb +14 -0
- data/lib/appium_lib/ios/xcuitest/element/text.rb +22 -8
- data/lib/appium_lib/ios/xcuitest/element/textfield.rb +18 -4
- data/lib/appium_lib/ios/xcuitest/helper.rb +14 -0
- data/lib/appium_lib/sauce_labs.rb +14 -0
- data/lib/appium_lib/version.rb +16 -2
- data/release_notes.md +7 -0
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6eb9b3d2b1e2217ad6cc72e618ab08e028d4e7655d62a164bb58cb7fb6033d56
|
4
|
+
data.tar.gz: 5b028b749fca1b797ed8d8c48b196907a7e6e6516a52ed38c63818ddf95a469d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 85828712d716dddfc721f0c2db22354b5635800abd05e33677488f8dab0fb59520ee0d4c92724e4f1936e50ebb303148dbf2b09ffc5a9798a1486fa7b58ec1db
|
7
|
+
data.tar.gz: 69a2ce22458b649d30de8440c4ce7d5eb4aa9fe66af92c73494ee972024dd8be1f6f8f3b0f46fede987ee49088370322094736478c852fd8348507849e758db3
|
data/.rubocop.yml
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
AllCops:
|
2
|
-
TargetRubyVersion: 2.
|
2
|
+
TargetRubyVersion: 2.3
|
3
3
|
Metrics/LineLength:
|
4
4
|
Max: 128
|
5
5
|
Metrics/MethodLength:
|
@@ -23,15 +23,8 @@ Style/RegexpLiteral:
|
|
23
23
|
# blocked on https://github.com/appium/ruby_lib/issues/312. Already removed from core part
|
24
24
|
Style/GlobalVars:
|
25
25
|
Enabled: false
|
26
|
-
Style/DoubleNegation:
|
27
|
-
Enabled: false
|
28
|
-
Style/EachWithObject:
|
29
|
-
Enabled: false
|
30
26
|
Style/PercentLiteralDelimiters:
|
31
27
|
Enabled: false
|
32
|
-
# Should enable and fix for Ruby3
|
33
|
-
Style/FrozenStringLiteralComment:
|
34
|
-
Enabled: false
|
35
28
|
# Can use over Ruby2.3
|
36
29
|
Style/SafeNavigation:
|
37
30
|
Enabled: false
|
@@ -40,14 +33,8 @@ Style/NumericPredicate:
|
|
40
33
|
Enabled: false
|
41
34
|
Style/CommentedKeyword:
|
42
35
|
Enabled: false
|
43
|
-
Lint/NestedMethodDefinition:
|
44
|
-
Enabled: false
|
45
|
-
Naming/ConstantName:
|
46
|
-
Enabled: false
|
47
36
|
Naming/AccessorMethodName:
|
48
37
|
Enabled: false
|
49
|
-
Naming/MemoizedInstanceVariableName:
|
50
|
-
Enabled: false
|
51
38
|
Layout/IndentHeredoc:
|
52
39
|
Enabled: false
|
53
40
|
Layout/RescueEnsureAlignment:
|
data/.travis.yml
CHANGED
data/CHANGELOG.md
CHANGED
@@ -10,6 +10,15 @@ Release tags are https://github.com/appium/ruby_lib/releases .
|
|
10
10
|
|
11
11
|
### 3. Deprecations
|
12
12
|
|
13
|
+
## v10.3.0
|
14
|
+
### 1. Enhancements
|
15
|
+
- Add `tvOS` support
|
16
|
+
- Requires Appium 1.13
|
17
|
+
|
18
|
+
### 2. Bug fixes
|
19
|
+
|
20
|
+
### 3. Deprecations
|
21
|
+
|
13
22
|
## v10.2.0
|
14
23
|
### 1. Enhancements
|
15
24
|
|
data/Gemfile
CHANGED
@@ -1,2 +1,16 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
4
|
+
# you may not use this file except in compliance with the License.
|
5
|
+
# You may obtain a copy of the License at
|
6
|
+
#
|
7
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
8
|
+
#
|
9
|
+
# Unless required by applicable law or agreed to in writing, software
|
10
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
11
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
12
|
+
# See the License for the specific language governing permissions and
|
13
|
+
# limitations under the License.
|
14
|
+
|
1
15
|
source 'https://rubygems.org'
|
2
16
|
gemspec
|
data/Rakefile
CHANGED
@@ -1,3 +1,17 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
4
|
+
# you may not use this file except in compliance with the License.
|
5
|
+
# You may obtain a copy of the License at
|
6
|
+
#
|
7
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
8
|
+
#
|
9
|
+
# Unless required by applicable law or agreed to in writing, software
|
10
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
11
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
12
|
+
# See the License for the specific language governing permissions and
|
13
|
+
# limitations under the License.
|
14
|
+
|
1
15
|
require 'bundler/gem_tasks'
|
2
16
|
require 'rubocop/rake_task'
|
3
17
|
|
data/appium_lib.gemspec
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
require_relative 'lib/appium_lib/version'
|
2
2
|
|
3
3
|
Gem::Specification.new do |s|
|
4
|
-
s.required_ruby_version = '>= 2.2'
|
4
|
+
s.required_ruby_version = '>= 2.2' # rubocop:disable Gemspec/RequiredRubyVersion
|
5
5
|
|
6
6
|
s.name = 'appium_lib'
|
7
7
|
s.version = Appium::VERSION
|
@@ -14,7 +14,7 @@ Gem::Specification.new do |s|
|
|
14
14
|
s.homepage = 'https://github.com/appium/ruby_lib' # published as appium_lib
|
15
15
|
s.require_paths = ['lib']
|
16
16
|
|
17
|
-
s.add_runtime_dependency 'appium_lib_core', '~> 3.
|
17
|
+
s.add_runtime_dependency 'appium_lib_core', '~> 3.1'
|
18
18
|
s.add_runtime_dependency 'nokogiri', '~> 1.8', '>= 1.8.1'
|
19
19
|
s.add_runtime_dependency 'tomlrb', '~> 1.1'
|
20
20
|
|
data/docs/android_docs.md
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
##### [load_settings](https://github.com/appium/ruby_lib/blob/
|
1
|
+
##### [load_settings](https://github.com/appium/ruby_lib/blob/499e824668f63958c2fe047b76841612f74d2c1c/lib/appium_lib/appium.rb#L60) common
|
2
2
|
|
3
3
|
> def load_settings(opts = {})
|
4
4
|
|
@@ -27,7 +27,7 @@ __Returns:__
|
|
27
27
|
|
28
28
|
--
|
29
29
|
|
30
|
-
##### [load_appium_txt](https://github.com/appium/ruby_lib/blob/
|
30
|
+
##### [load_appium_txt](https://github.com/appium/ruby_lib/blob/499e824668f63958c2fe047b76841612f74d2c1c/lib/appium_lib/appium.rb#L96) common
|
31
31
|
|
32
32
|
> def load_settings(opts = {})
|
33
33
|
|
@@ -56,7 +56,7 @@ __Returns:__
|
|
56
56
|
|
57
57
|
--
|
58
58
|
|
59
|
-
##### [expand_required_files](https://github.com/appium/ruby_lib/blob/
|
59
|
+
##### [expand_required_files](https://github.com/appium/ruby_lib/blob/499e824668f63958c2fe047b76841612f74d2c1c/lib/appium_lib/appium.rb#L101) common
|
60
60
|
|
61
61
|
> def expand_required_files(base_dir, file_paths)
|
62
62
|
|
@@ -74,7 +74,7 @@ __Returns:__
|
|
74
74
|
|
75
75
|
--
|
76
76
|
|
77
|
-
##### [promote_singleton_appium_methods](https://github.com/appium/ruby_lib/blob/
|
77
|
+
##### [promote_singleton_appium_methods](https://github.com/appium/ruby_lib/blob/499e824668f63958c2fe047b76841612f74d2c1c/lib/appium_lib/appium.rb#L143) common
|
78
78
|
|
79
79
|
> def promote_singleton_appium_methods(modules, driver = $driver)
|
80
80
|
|
@@ -98,7 +98,7 @@ __Parameters:__
|
|
98
98
|
|
99
99
|
--
|
100
100
|
|
101
|
-
##### [promote_appium_methods](https://github.com/appium/ruby_lib/blob/
|
101
|
+
##### [promote_appium_methods](https://github.com/appium/ruby_lib/blob/499e824668f63958c2fe047b76841612f74d2c1c/lib/appium_lib/appium.rb#L199) common
|
102
102
|
|
103
103
|
> def promote_appium_methods(class_array, driver = $driver)
|
104
104
|
|
@@ -116,7 +116,7 @@ __Parameters:__
|
|
116
116
|
|
117
117
|
--
|
118
118
|
|
119
|
-
##### [global_webdriver_http_sleep](https://github.com/appium/ruby_lib/blob/
|
119
|
+
##### [global_webdriver_http_sleep](https://github.com/appium/ruby_lib/blob/499e824668f63958c2fe047b76841612f74d2c1c/lib/appium_lib/driver.rb#L49) common
|
120
120
|
|
121
121
|
> def global_webdriver_http_sleep
|
122
122
|
|
@@ -124,7 +124,7 @@ The amount to sleep in seconds before every webdriver http call.
|
|
124
124
|
|
125
125
|
--
|
126
126
|
|
127
|
-
##### [global_webdriver_http_sleep=](https://github.com/appium/ruby_lib/blob/
|
127
|
+
##### [global_webdriver_http_sleep=](https://github.com/appium/ruby_lib/blob/499e824668f63958c2fe047b76841612f74d2c1c/lib/appium_lib/driver.rb#L49) common
|
128
128
|
|
129
129
|
> def global_webdriver_http_sleep=(value)
|
130
130
|
|
@@ -132,7 +132,7 @@ The amount to sleep in seconds before every webdriver http call.
|
|
132
132
|
|
133
133
|
--
|
134
134
|
|
135
|
-
##### [sauce](https://github.com/appium/ruby_lib/blob/
|
135
|
+
##### [sauce](https://github.com/appium/ruby_lib/blob/499e824668f63958c2fe047b76841612f74d2c1c/lib/appium_lib/driver.rb#L52) common
|
136
136
|
|
137
137
|
> def sauce
|
138
138
|
|
@@ -140,7 +140,7 @@ SauceLab's settings
|
|
140
140
|
|
141
141
|
--
|
142
142
|
|
143
|
-
##### [sauce_username](https://github.com/appium/ruby_lib/blob/
|
143
|
+
##### [sauce_username](https://github.com/appium/ruby_lib/blob/499e824668f63958c2fe047b76841612f74d2c1c/lib/appium_lib/driver.rb#L55) common
|
144
144
|
|
145
145
|
> def sauce_username
|
146
146
|
|
@@ -149,7 +149,7 @@ same as @sauce.username
|
|
149
149
|
|
150
150
|
--
|
151
151
|
|
152
|
-
##### [sauce_access_key](https://github.com/appium/ruby_lib/blob/
|
152
|
+
##### [sauce_access_key](https://github.com/appium/ruby_lib/blob/499e824668f63958c2fe047b76841612f74d2c1c/lib/appium_lib/driver.rb#L58) common
|
153
153
|
|
154
154
|
> def sauce_access_key
|
155
155
|
|
@@ -158,7 +158,7 @@ same as @sauce.access_key
|
|
158
158
|
|
159
159
|
--
|
160
160
|
|
161
|
-
##### [sauce_endpoint](https://github.com/appium/ruby_lib/blob/
|
161
|
+
##### [sauce_endpoint](https://github.com/appium/ruby_lib/blob/499e824668f63958c2fe047b76841612f74d2c1c/lib/appium_lib/driver.rb#L61) common
|
162
162
|
|
163
163
|
> def sauce_endpoint
|
164
164
|
|
@@ -167,7 +167,7 @@ same as @sauce.endpoint
|
|
167
167
|
|
168
168
|
--
|
169
169
|
|
170
|
-
##### [caps](https://github.com/appium/ruby_lib/blob/
|
170
|
+
##### [caps](https://github.com/appium/ruby_lib/blob/499e824668f63958c2fe047b76841612f74d2c1c/lib/appium_lib/driver.rb#L65) common
|
171
171
|
|
172
172
|
> def caps
|
173
173
|
|
@@ -176,7 +176,7 @@ read http://www.rubydoc.info/github/appium/ruby_lib_core/Appium/Core/Driver
|
|
176
176
|
|
177
177
|
--
|
178
178
|
|
179
|
-
##### [custom_url](https://github.com/appium/ruby_lib/blob/
|
179
|
+
##### [custom_url](https://github.com/appium/ruby_lib/blob/499e824668f63958c2fe047b76841612f74d2c1c/lib/appium_lib/driver.rb#L66) common
|
180
180
|
|
181
181
|
> def custom_url
|
182
182
|
|
@@ -184,7 +184,7 @@ Returns the value of attribute custom_url
|
|
184
184
|
|
185
185
|
--
|
186
186
|
|
187
|
-
##### [export_session](https://github.com/appium/ruby_lib/blob/
|
187
|
+
##### [export_session](https://github.com/appium/ruby_lib/blob/499e824668f63958c2fe047b76841612f74d2c1c/lib/appium_lib/driver.rb#L67) common
|
188
188
|
|
189
189
|
> def export_session
|
190
190
|
|
@@ -192,7 +192,7 @@ Returns the value of attribute export_session
|
|
192
192
|
|
193
193
|
--
|
194
194
|
|
195
|
-
##### [export_session_path](https://github.com/appium/ruby_lib/blob/
|
195
|
+
##### [export_session_path](https://github.com/appium/ruby_lib/blob/499e824668f63958c2fe047b76841612f74d2c1c/lib/appium_lib/driver.rb#L68) common
|
196
196
|
|
197
197
|
> def export_session_path
|
198
198
|
|
@@ -200,7 +200,7 @@ Returns the value of attribute export_session_path
|
|
200
200
|
|
201
201
|
--
|
202
202
|
|
203
|
-
##### [default_wait](https://github.com/appium/ruby_lib/blob/
|
203
|
+
##### [default_wait](https://github.com/appium/ruby_lib/blob/499e824668f63958c2fe047b76841612f74d2c1c/lib/appium_lib/driver.rb#L69) common
|
204
204
|
|
205
205
|
> def default_wait
|
206
206
|
|
@@ -208,7 +208,7 @@ Returns the value of attribute default_wait
|
|
208
208
|
|
209
209
|
--
|
210
210
|
|
211
|
-
##### [appium_port](https://github.com/appium/ruby_lib/blob/
|
211
|
+
##### [appium_port](https://github.com/appium/ruby_lib/blob/499e824668f63958c2fe047b76841612f74d2c1c/lib/appium_lib/driver.rb#L70) common
|
212
212
|
|
213
213
|
> def appium_port
|
214
214
|
|
@@ -216,7 +216,7 @@ Returns the value of attribute appium_port
|
|
216
216
|
|
217
217
|
--
|
218
218
|
|
219
|
-
##### [appium_device](https://github.com/appium/ruby_lib/blob/
|
219
|
+
##### [appium_device](https://github.com/appium/ruby_lib/blob/499e824668f63958c2fe047b76841612f74d2c1c/lib/appium_lib/driver.rb#L71) common
|
220
220
|
|
221
221
|
> def appium_device
|
222
222
|
|
@@ -224,7 +224,7 @@ Returns the value of attribute appium_device
|
|
224
224
|
|
225
225
|
--
|
226
226
|
|
227
|
-
##### [automation_name](https://github.com/appium/ruby_lib/blob/
|
227
|
+
##### [automation_name](https://github.com/appium/ruby_lib/blob/499e824668f63958c2fe047b76841612f74d2c1c/lib/appium_lib/driver.rb#L72) common
|
228
228
|
|
229
229
|
> def automation_name
|
230
230
|
|
@@ -232,7 +232,7 @@ Returns the value of attribute automation_name
|
|
232
232
|
|
233
233
|
--
|
234
234
|
|
235
|
-
##### [listener](https://github.com/appium/ruby_lib/blob/
|
235
|
+
##### [listener](https://github.com/appium/ruby_lib/blob/499e824668f63958c2fe047b76841612f74d2c1c/lib/appium_lib/driver.rb#L73) common
|
236
236
|
|
237
237
|
> def listener
|
238
238
|
|
@@ -240,7 +240,7 @@ Returns the value of attribute listener
|
|
240
240
|
|
241
241
|
--
|
242
242
|
|
243
|
-
##### [http_client](https://github.com/appium/ruby_lib/blob/
|
243
|
+
##### [http_client](https://github.com/appium/ruby_lib/blob/499e824668f63958c2fe047b76841612f74d2c1c/lib/appium_lib/driver.rb#L74) common
|
244
244
|
|
245
245
|
> def http_client
|
246
246
|
|
@@ -248,7 +248,7 @@ Returns the value of attribute http_client
|
|
248
248
|
|
249
249
|
--
|
250
250
|
|
251
|
-
##### [appium_wait_timeout](https://github.com/appium/ruby_lib/blob/
|
251
|
+
##### [appium_wait_timeout](https://github.com/appium/ruby_lib/blob/499e824668f63958c2fe047b76841612f74d2c1c/lib/appium_lib/driver.rb#L75) common
|
252
252
|
|
253
253
|
> def appium_wait_timeout
|
254
254
|
|
@@ -256,7 +256,7 @@ Returns the value of attribute appium_wait_timeout
|
|
256
256
|
|
257
257
|
--
|
258
258
|
|
259
|
-
##### [appium_wait_interval](https://github.com/appium/ruby_lib/blob/
|
259
|
+
##### [appium_wait_interval](https://github.com/appium/ruby_lib/blob/499e824668f63958c2fe047b76841612f74d2c1c/lib/appium_lib/driver.rb#L76) common
|
260
260
|
|
261
261
|
> def appium_wait_interval
|
262
262
|
|
@@ -264,7 +264,7 @@ Returns the value of attribute appium_wait_interval
|
|
264
264
|
|
265
265
|
--
|
266
266
|
|
267
|
-
##### [appium_server_status](https://github.com/appium/ruby_lib/blob/
|
267
|
+
##### [appium_server_status](https://github.com/appium/ruby_lib/blob/499e824668f63958c2fe047b76841612f74d2c1c/lib/appium_lib/driver.rb#L79) common
|
268
268
|
|
269
269
|
> def appium_server_status
|
270
270
|
|
@@ -272,7 +272,7 @@ Appium's server version
|
|
272
272
|
|
273
273
|
--
|
274
274
|
|
275
|
-
##### [appium_debug](https://github.com/appium/ruby_lib/blob/
|
275
|
+
##### [appium_debug](https://github.com/appium/ruby_lib/blob/499e824668f63958c2fe047b76841612f74d2c1c/lib/appium_lib/driver.rb#L81) common
|
276
276
|
|
277
277
|
> def appium_debug
|
278
278
|
|
@@ -280,7 +280,7 @@ Boolean debug mode for the Appium Ruby bindings
|
|
280
280
|
|
281
281
|
--
|
282
282
|
|
283
|
-
##### [driver](https://github.com/appium/ruby_lib/blob/
|
283
|
+
##### [driver](https://github.com/appium/ruby_lib/blob/499e824668f63958c2fe047b76841612f74d2c1c/lib/appium_lib/driver.rb#L84) common
|
284
284
|
|
285
285
|
> def driver
|
286
286
|
|
@@ -292,7 +292,7 @@ __Returns:__
|
|
292
292
|
|
293
293
|
--
|
294
294
|
|
295
|
-
##### [core](https://github.com/appium/ruby_lib/blob/
|
295
|
+
##### [core](https://github.com/appium/ruby_lib/blob/499e824668f63958c2fe047b76841612f74d2c1c/lib/appium_lib/driver.rb#L86) common
|
296
296
|
|
297
297
|
> def core
|
298
298
|
|
@@ -300,7 +300,7 @@ Instance of Appium::Core::Driver
|
|
300
300
|
|
301
301
|
--
|
302
302
|
|
303
|
-
##### [initialize](https://github.com/appium/ruby_lib/blob/
|
303
|
+
##### [initialize](https://github.com/appium/ruby_lib/blob/499e824668f63958c2fe047b76841612f74d2c1c/lib/appium_lib/driver.rb#L154) common
|
304
304
|
|
305
305
|
> def initialize(opts = {}, global_driver = nil)
|
306
306
|
|
@@ -319,7 +319,7 @@ __Returns:__
|
|
319
319
|
|
320
320
|
--
|
321
321
|
|
322
|
-
##### [driver_attributes](https://github.com/appium/ruby_lib/blob/
|
322
|
+
##### [driver_attributes](https://github.com/appium/ruby_lib/blob/499e824668f63958c2fe047b76841612f74d2c1c/lib/appium_lib/driver.rb#L273) common
|
323
323
|
|
324
324
|
> def driver_attributes
|
325
325
|
|
@@ -327,7 +327,7 @@ Returns a hash of the driver attributes
|
|
327
327
|
|
328
328
|
--
|
329
329
|
|
330
|
-
##### [device_is_android?](https://github.com/appium/ruby_lib/blob/
|
330
|
+
##### [device_is_android?](https://github.com/appium/ruby_lib/blob/499e824668f63958c2fe047b76841612f74d2c1c/lib/appium_lib/driver.rb#L295) common
|
331
331
|
|
332
332
|
> def device_is_android?
|
333
333
|
|
@@ -339,7 +339,7 @@ __Returns:__
|
|
339
339
|
|
340
340
|
--
|
341
341
|
|
342
|
-
##### [device_is_ios?](https://github.com/appium/ruby_lib/blob/
|
342
|
+
##### [device_is_ios?](https://github.com/appium/ruby_lib/blob/499e824668f63958c2fe047b76841612f74d2c1c/lib/appium_lib/driver.rb#L299) common
|
343
343
|
|
344
344
|
> def device_is_ios?
|
345
345
|
|
@@ -351,7 +351,7 @@ __Returns:__
|
|
351
351
|
|
352
352
|
--
|
353
353
|
|
354
|
-
##### [device_is_windows?](https://github.com/appium/ruby_lib/blob/
|
354
|
+
##### [device_is_windows?](https://github.com/appium/ruby_lib/blob/499e824668f63958c2fe047b76841612f74d2c1c/lib/appium_lib/driver.rb#L303) common
|
355
355
|
|
356
356
|
> def device_is_windows?
|
357
357
|
|
@@ -363,7 +363,7 @@ __Returns:__
|
|
363
363
|
|
364
364
|
--
|
365
365
|
|
366
|
-
##### [automation_name_is_uiautomator2?](https://github.com/appium/ruby_lib/blob/
|
366
|
+
##### [automation_name_is_uiautomator2?](https://github.com/appium/ruby_lib/blob/499e824668f63958c2fe047b76841612f74d2c1c/lib/appium_lib/driver.rb#L309) common
|
367
367
|
|
368
368
|
> def automation_name_is_uiautomator2?
|
369
369
|
|
@@ -375,7 +375,7 @@ __Returns:__
|
|
375
375
|
|
376
376
|
--
|
377
377
|
|
378
|
-
##### [automation_name_is_espresso?](https://github.com/appium/ruby_lib/blob/
|
378
|
+
##### [automation_name_is_espresso?](https://github.com/appium/ruby_lib/blob/499e824668f63958c2fe047b76841612f74d2c1c/lib/appium_lib/driver.rb#L315) common
|
379
379
|
|
380
380
|
> def automation_name_is_espresso?
|
381
381
|
|
@@ -387,7 +387,7 @@ __Returns:__
|
|
387
387
|
|
388
388
|
--
|
389
389
|
|
390
|
-
##### [automation_name_is_xcuitest?](https://github.com/appium/ruby_lib/blob/
|
390
|
+
##### [automation_name_is_xcuitest?](https://github.com/appium/ruby_lib/blob/499e824668f63958c2fe047b76841612f74d2c1c/lib/appium_lib/driver.rb#L321) common
|
391
391
|
|
392
392
|
> def automation_name_is_xcuitest?
|
393
393
|
|
@@ -399,7 +399,7 @@ __Returns:__
|
|
399
399
|
|
400
400
|
--
|
401
401
|
|
402
|
-
##### [dialect](https://github.com/appium/ruby_lib/blob/
|
402
|
+
##### [dialect](https://github.com/appium/ruby_lib/blob/499e824668f63958c2fe047b76841612f74d2c1c/lib/appium_lib/driver.rb#L341) common
|
403
403
|
|
404
404
|
> def dialect
|
405
405
|
|
@@ -421,7 +421,7 @@ __Returns:__
|
|
421
421
|
|
422
422
|
--
|
423
423
|
|
424
|
-
##### [action](https://github.com/appium/ruby_lib/blob/
|
424
|
+
##### [action](https://github.com/appium/ruby_lib/blob/499e824668f63958c2fe047b76841612f74d2c1c/lib/appium_lib/driver.rb#L355) common
|
425
425
|
|
426
426
|
> def action
|
427
427
|
|
@@ -434,7 +434,7 @@ __Returns:__
|
|
434
434
|
|
435
435
|
--
|
436
436
|
|
437
|
-
##### [appium_server_version](https://github.com/appium/ruby_lib/blob/
|
437
|
+
##### [appium_server_version](https://github.com/appium/ruby_lib/blob/499e824668f63958c2fe047b76841612f74d2c1c/lib/appium_lib/driver.rb#L375) common
|
438
438
|
|
439
439
|
> def appium_server_version
|
440
440
|
|
@@ -446,7 +446,7 @@ __Returns:__
|
|
446
446
|
|
447
447
|
--
|
448
448
|
|
449
|
-
##### [remote_status](https://github.com/appium/ruby_lib/blob/
|
449
|
+
##### [remote_status](https://github.com/appium/ruby_lib/blob/499e824668f63958c2fe047b76841612f74d2c1c/lib/appium_lib/driver.rb#L383) common
|
450
450
|
|
451
451
|
> def appium_server_version
|
452
452
|
|
@@ -458,7 +458,7 @@ __Returns:__
|
|
458
458
|
|
459
459
|
--
|
460
460
|
|
461
|
-
##### [platform_version](https://github.com/appium/ruby_lib/blob/
|
461
|
+
##### [platform_version](https://github.com/appium/ruby_lib/blob/499e824668f63958c2fe047b76841612f74d2c1c/lib/appium_lib/driver.rb#L387) common
|
462
462
|
|
463
463
|
> def platform_version
|
464
464
|
|
@@ -470,7 +470,7 @@ __Returns:__
|
|
470
470
|
|
471
471
|
--
|
472
472
|
|
473
|
-
##### [appium_client_version](https://github.com/appium/ruby_lib/blob/
|
473
|
+
##### [appium_client_version](https://github.com/appium/ruby_lib/blob/499e824668f63958c2fe047b76841612f74d2c1c/lib/appium_lib/driver.rb#L400) common
|
474
474
|
|
475
475
|
> def appium_client_version
|
476
476
|
|
@@ -482,7 +482,7 @@ __Returns:__
|
|
482
482
|
|
483
483
|
--
|
484
484
|
|
485
|
-
##### [absolute_app_path](https://github.com/appium/ruby_lib/blob/
|
485
|
+
##### [absolute_app_path](https://github.com/appium/ruby_lib/blob/499e824668f63958c2fe047b76841612f74d2c1c/lib/appium_lib/driver.rb#L412) common
|
486
486
|
|
487
487
|
> def self.absolute_app_path(opts)
|
488
488
|
|
@@ -499,7 +499,7 @@ __Returns:__
|
|
499
499
|
|
500
500
|
--
|
501
501
|
|
502
|
-
##### [server_url](https://github.com/appium/ruby_lib/blob/
|
502
|
+
##### [server_url](https://github.com/appium/ruby_lib/blob/499e824668f63958c2fe047b76841612f74d2c1c/lib/appium_lib/driver.rb#L435) common
|
503
503
|
|
504
504
|
> def server_url
|
505
505
|
|
@@ -511,7 +511,7 @@ __Returns:__
|
|
511
511
|
|
512
512
|
--
|
513
513
|
|
514
|
-
##### [restart](https://github.com/appium/ruby_lib/blob/
|
514
|
+
##### [restart](https://github.com/appium/ruby_lib/blob/499e824668f63958c2fe047b76841612f74d2c1c/lib/appium_lib/driver.rb#L444) common
|
515
515
|
|
516
516
|
> def restart
|
517
517
|
|
@@ -523,7 +523,7 @@ __Returns:__
|
|
523
523
|
|
524
524
|
--
|
525
525
|
|
526
|
-
##### [screenshot](https://github.com/appium/ruby_lib/blob/
|
526
|
+
##### [screenshot](https://github.com/appium/ruby_lib/blob/499e824668f63958c2fe047b76841612f74d2c1c/lib/appium_lib/driver.rb#L457) common
|
527
527
|
|
528
528
|
> def screenshot(png_save_path)
|
529
529
|
|
@@ -539,7 +539,7 @@ __Returns:__
|
|
539
539
|
|
540
540
|
--
|
541
541
|
|
542
|
-
##### [element_screenshot](https://github.com/appium/ruby_lib/blob/
|
542
|
+
##### [element_screenshot](https://github.com/appium/ruby_lib/blob/499e824668f63958c2fe047b76841612f74d2c1c/lib/appium_lib/driver.rb#L471) common
|
543
543
|
|
544
544
|
> def element_screenshot(element, png_save_path)
|
545
545
|
|
@@ -557,7 +557,7 @@ __Returns:__
|
|
557
557
|
|
558
558
|
--
|
559
559
|
|
560
|
-
##### [driver_quit](https://github.com/appium/ruby_lib/blob/
|
560
|
+
##### [driver_quit](https://github.com/appium/ruby_lib/blob/499e824668f63958c2fe047b76841612f74d2c1c/lib/appium_lib/driver.rb#L478) common
|
561
561
|
|
562
562
|
> def driver_quit
|
563
563
|
|
@@ -569,7 +569,7 @@ __Returns:__
|
|
569
569
|
|
570
570
|
--
|
571
571
|
|
572
|
-
##### [quit_driver](https://github.com/appium/ruby_lib/blob/
|
572
|
+
##### [quit_driver](https://github.com/appium/ruby_lib/blob/499e824668f63958c2fe047b76841612f74d2c1c/lib/appium_lib/driver.rb#L481) common
|
573
573
|
|
574
574
|
> def driver_quit
|
575
575
|
|
@@ -581,7 +581,7 @@ __Returns:__
|
|
581
581
|
|
582
582
|
--
|
583
583
|
|
584
|
-
##### [window_size](https://github.com/appium/ruby_lib/blob/
|
584
|
+
##### [window_size](https://github.com/appium/ruby_lib/blob/499e824668f63958c2fe047b76841612f74d2c1c/lib/appium_lib/driver.rb#L492) common
|
585
585
|
|
586
586
|
> def window_size
|
587
587
|
|
@@ -593,7 +593,7 @@ __Returns:__
|
|
593
593
|
|
594
594
|
--
|
595
595
|
|
596
|
-
##### [window_rect](https://github.com/appium/ruby_lib/blob/
|
596
|
+
##### [window_rect](https://github.com/appium/ruby_lib/blob/499e824668f63958c2fe047b76841612f74d2c1c/lib/appium_lib/driver.rb#L507) common
|
597
597
|
|
598
598
|
> def window_rect
|
599
599
|
|
@@ -605,7 +605,7 @@ __Returns:__
|
|
605
605
|
|
606
606
|
--
|
607
607
|
|
608
|
-
##### [start_driver](https://github.com/appium/ruby_lib/blob/
|
608
|
+
##### [start_driver](https://github.com/appium/ruby_lib/blob/499e824668f63958c2fe047b76841612f74d2c1c/lib/appium_lib/driver.rb#L540) common
|
609
609
|
|
610
610
|
> def start_driver(http_client_ops =
|
611
611
|
|
@@ -625,7 +625,7 @@ __Returns:__
|
|
625
625
|
|
626
626
|
--
|
627
627
|
|
628
|
-
##### [set_implicit_wait](https://github.com/appium/ruby_lib/blob/
|
628
|
+
##### [set_implicit_wait](https://github.com/appium/ruby_lib/blob/499e824668f63958c2fe047b76841612f74d2c1c/lib/appium_lib/driver.rb#L561) common
|
629
629
|
|
630
630
|
> def set_implicit_wait(wait)
|
631
631
|
|
@@ -633,7 +633,7 @@ To ignore error for Espresso Driver
|
|
633
633
|
|
634
634
|
--
|
635
635
|
|
636
|
-
##### [no_wait](https://github.com/appium/ruby_lib/blob/
|
636
|
+
##### [no_wait](https://github.com/appium/ruby_lib/blob/499e824668f63958c2fe047b76841612f74d2c1c/lib/appium_lib/driver.rb#L572) common
|
637
637
|
|
638
638
|
> def no_wait
|
639
639
|
|
@@ -641,7 +641,7 @@ Set implicit wait to zero.
|
|
641
641
|
|
642
642
|
--
|
643
643
|
|
644
|
-
##### [set_wait](https://github.com/appium/ruby_lib/blob/
|
644
|
+
##### [set_wait](https://github.com/appium/ruby_lib/blob/499e824668f63958c2fe047b76841612f74d2c1c/lib/appium_lib/driver.rb#L586) common
|
645
645
|
|
646
646
|
> def set_wait(timeout = nil)
|
647
647
|
|
@@ -657,7 +657,7 @@ __Returns:__
|
|
657
657
|
|
658
658
|
--
|
659
659
|
|
660
|
-
##### [exists](https://github.com/appium/ruby_lib/blob/
|
660
|
+
##### [exists](https://github.com/appium/ruby_lib/blob/499e824668f63958c2fe047b76841612f74d2c1c/lib/appium_lib/driver.rb#L603) common
|
661
661
|
|
662
662
|
> def exists(pre_check = 0, post_check = @core.default_wait)
|
663
663
|
|
@@ -681,7 +681,7 @@ __Returns:__
|
|
681
681
|
|
682
682
|
--
|
683
683
|
|
684
|
-
##### [execute_script](https://github.com/appium/ruby_lib/blob/
|
684
|
+
##### [execute_script](https://github.com/appium/ruby_lib/blob/499e824668f63958c2fe047b76841612f74d2c1c/lib/appium_lib/driver.rb#L627) common
|
685
685
|
|
686
686
|
> def execute_script(script, *args)
|
687
687
|
|
@@ -699,7 +699,7 @@ __Returns:__
|
|
699
699
|
|
700
700
|
--
|
701
701
|
|
702
|
-
##### [execute_async_script](https://github.com/appium/ruby_lib/blob/
|
702
|
+
##### [execute_async_script](https://github.com/appium/ruby_lib/blob/499e824668f63958c2fe047b76841612f74d2c1c/lib/appium_lib/driver.rb#L635) common
|
703
703
|
|
704
704
|
> def execute_async_script(script, *args)
|
705
705
|
|
@@ -709,7 +709,7 @@ Get the window handles of open browser windows
|
|
709
709
|
|
710
710
|
--
|
711
711
|
|
712
|
-
##### [window_handles](https://github.com/appium/ruby_lib/blob/
|
712
|
+
##### [window_handles](https://github.com/appium/ruby_lib/blob/499e824668f63958c2fe047b76841612f74d2c1c/lib/appium_lib/driver.rb#L639) common
|
713
713
|
|
714
714
|
> def window_handles
|
715
715
|
|
@@ -717,7 +717,7 @@ Get the window handles of open browser windows
|
|
717
717
|
|
718
718
|
--
|
719
719
|
|
720
|
-
##### [window_handle](https://github.com/appium/ruby_lib/blob/
|
720
|
+
##### [window_handle](https://github.com/appium/ruby_lib/blob/499e824668f63958c2fe047b76841612f74d2c1c/lib/appium_lib/driver.rb#L644) common
|
721
721
|
|
722
722
|
> def window_handle
|
723
723
|
|
@@ -725,7 +725,7 @@ Get the current window handle
|
|
725
725
|
|
726
726
|
--
|
727
727
|
|
728
|
-
##### [navigate](https://github.com/appium/ruby_lib/blob/
|
728
|
+
##### [navigate](https://github.com/appium/ruby_lib/blob/499e824668f63958c2fe047b76841612f74d2c1c/lib/appium_lib/driver.rb#L648) common
|
729
729
|
|
730
730
|
> def navigate
|
731
731
|
|
@@ -733,7 +733,7 @@ Get the current window handle
|
|
733
733
|
|
734
734
|
--
|
735
735
|
|
736
|
-
##### [manage](https://github.com/appium/ruby_lib/blob/
|
736
|
+
##### [manage](https://github.com/appium/ruby_lib/blob/499e824668f63958c2fe047b76841612f74d2c1c/lib/appium_lib/driver.rb#L652) common
|
737
737
|
|
738
738
|
> def manage
|
739
739
|
|
@@ -741,7 +741,7 @@ Get the current window handle
|
|
741
741
|
|
742
742
|
--
|
743
743
|
|
744
|
-
##### [get](https://github.com/appium/ruby_lib/blob/
|
744
|
+
##### [get](https://github.com/appium/ruby_lib/blob/499e824668f63958c2fe047b76841612f74d2c1c/lib/appium_lib/driver.rb#L656) common
|
745
745
|
|
746
746
|
> def get(url)
|
747
747
|
|
@@ -749,7 +749,7 @@ Get the current window handle
|
|
749
749
|
|
750
750
|
--
|
751
751
|
|
752
|
-
##### [current_url](https://github.com/appium/ruby_lib/blob/
|
752
|
+
##### [current_url](https://github.com/appium/ruby_lib/blob/499e824668f63958c2fe047b76841612f74d2c1c/lib/appium_lib/driver.rb#L660) common
|
753
753
|
|
754
754
|
> def current_url
|
755
755
|
|
@@ -757,7 +757,7 @@ Get the current window handle
|
|
757
757
|
|
758
758
|
--
|
759
759
|
|
760
|
-
##### [title](https://github.com/appium/ruby_lib/blob/
|
760
|
+
##### [title](https://github.com/appium/ruby_lib/blob/499e824668f63958c2fe047b76841612f74d2c1c/lib/appium_lib/driver.rb#L664) common
|
761
761
|
|
762
762
|
> def title
|
763
763
|
|
@@ -765,7 +765,7 @@ Get the current window handle
|
|
765
765
|
|
766
766
|
--
|
767
767
|
|
768
|
-
##### [switch_to](https://github.com/appium/ruby_lib/blob/
|
768
|
+
##### [switch_to](https://github.com/appium/ruby_lib/blob/499e824668f63958c2fe047b76841612f74d2c1c/lib/appium_lib/driver.rb#L670) common
|
769
769
|
|
770
770
|
> def switch_to
|
771
771
|
|
@@ -777,7 +777,7 @@ __Returns:__
|
|
777
777
|
|
778
778
|
--
|
779
779
|
|
780
|
-
##### [find_elements](https://github.com/appium/ruby_lib/blob/
|
780
|
+
##### [find_elements](https://github.com/appium/ruby_lib/blob/499e824668f63958c2fe047b76841612f74d2c1c/lib/appium_lib/driver.rb#L697) common
|
781
781
|
|
782
782
|
> def find_elements(*args)
|
783
783
|
|
@@ -797,7 +797,7 @@ __Returns:__
|
|
797
797
|
|
798
798
|
--
|
799
799
|
|
800
|
-
##### [find_element](https://github.com/appium/ruby_lib/blob/
|
800
|
+
##### [find_element](https://github.com/appium/ruby_lib/blob/499e824668f63958c2fe047b76841612f74d2c1c/lib/appium_lib/driver.rb#L713) common
|
801
801
|
|
802
802
|
> def find_element(*args)
|
803
803
|
|
@@ -815,7 +815,7 @@ __Returns:__
|
|
815
815
|
|
816
816
|
--
|
817
817
|
|
818
|
-
##### [find_element_by_image](https://github.com/appium/ruby_lib/blob/
|
818
|
+
##### [find_element_by_image](https://github.com/appium/ruby_lib/blob/499e824668f63958c2fe047b76841612f74d2c1c/lib/appium_lib/driver.rb#L728) common
|
819
819
|
|
820
820
|
> def find_element_by_image(png_img_path)
|
821
821
|
|
@@ -831,7 +831,7 @@ __Returns:__
|
|
831
831
|
|
832
832
|
--
|
833
833
|
|
834
|
-
##### [find_elements_by_image](https://github.com/appium/ruby_lib/blob/
|
834
|
+
##### [find_elements_by_image](https://github.com/appium/ruby_lib/blob/499e824668f63958c2fe047b76841612f74d2c1c/lib/appium_lib/driver.rb#L743) common
|
835
835
|
|
836
836
|
> def find_elements_by_image(png_img_paths)
|
837
837
|
|
@@ -847,7 +847,7 @@ __Returns:__
|
|
847
847
|
|
848
848
|
--
|
849
849
|
|
850
|
-
##### [set_location](https://github.com/appium/ruby_lib/blob/
|
850
|
+
##### [set_location](https://github.com/appium/ruby_lib/blob/499e824668f63958c2fe047b76841612f74d2c1c/lib/appium_lib/driver.rb#L756) common
|
851
851
|
|
852
852
|
> def set_location(opts = {})
|
853
853
|
|
@@ -863,7 +863,7 @@ __Returns:__
|
|
863
863
|
|
864
864
|
--
|
865
865
|
|
866
|
-
##### [x](https://github.com/appium/ruby_lib/blob/
|
866
|
+
##### [x](https://github.com/appium/ruby_lib/blob/499e824668f63958c2fe047b76841612f74d2c1c/lib/appium_lib/driver.rb#L766) common
|
867
867
|
|
868
868
|
> def x
|
869
869
|
|
@@ -876,7 +876,7 @@ __Returns:__
|
|
876
876
|
|
877
877
|
--
|
878
878
|
|
879
|
-
##### [username](https://github.com/appium/ruby_lib/blob/
|
879
|
+
##### [username](https://github.com/appium/ruby_lib/blob/499e824668f63958c2fe047b76841612f74d2c1c/lib/appium_lib/sauce_labs.rb#L18) common
|
880
880
|
|
881
881
|
> def username
|
882
882
|
|
@@ -884,7 +884,7 @@ Username for use on Sauce Labs. Set `false` to disable Sauce, even when SAUCE_US
|
|
884
884
|
|
885
885
|
--
|
886
886
|
|
887
|
-
##### [access_key](https://github.com/appium/ruby_lib/blob/
|
887
|
+
##### [access_key](https://github.com/appium/ruby_lib/blob/499e824668f63958c2fe047b76841612f74d2c1c/lib/appium_lib/sauce_labs.rb#L20) common
|
888
888
|
|
889
889
|
> def access_key
|
890
890
|
|
@@ -892,7 +892,7 @@ Access Key for use on Sauce Labs. Set `false` to disable Sauce, even when SAUCE_
|
|
892
892
|
|
893
893
|
--
|
894
894
|
|
895
|
-
##### [endpoint](https://github.com/appium/ruby_lib/blob/
|
895
|
+
##### [endpoint](https://github.com/appium/ruby_lib/blob/499e824668f63958c2fe047b76841612f74d2c1c/lib/appium_lib/sauce_labs.rb#L22) common
|
896
896
|
|
897
897
|
> def endpoint
|
898
898
|
|
@@ -900,7 +900,7 @@ Override the Sauce Appium endpoint to allow e.g. TestObject tests. Default is 'o
|
|
900
900
|
|
901
901
|
--
|
902
902
|
|
903
|
-
##### [initialize](https://github.com/appium/ruby_lib/blob/
|
903
|
+
##### [initialize](https://github.com/appium/ruby_lib/blob/499e824668f63958c2fe047b76841612f74d2c1c/lib/appium_lib/sauce_labs.rb#L47) common
|
904
904
|
|
905
905
|
> def initialize(appium_lib_opts)
|
906
906
|
|
@@ -916,7 +916,7 @@ __Returns:__
|
|
916
916
|
|
917
917
|
--
|
918
918
|
|
919
|
-
##### [sauce_server_url?](https://github.com/appium/ruby_lib/blob/
|
919
|
+
##### [sauce_server_url?](https://github.com/appium/ruby_lib/blob/499e824668f63958c2fe047b76841612f74d2c1c/lib/appium_lib/sauce_labs.rb#L67) common
|
920
920
|
|
921
921
|
> def sauce_server_url?
|
922
922
|
|
@@ -928,7 +928,7 @@ __Returns:__
|
|
928
928
|
|
929
929
|
--
|
930
930
|
|
931
|
-
##### [server_url](https://github.com/appium/ruby_lib/blob/
|
931
|
+
##### [server_url](https://github.com/appium/ruby_lib/blob/499e824668f63958c2fe047b76841612f74d2c1c/lib/appium_lib/sauce_labs.rb#L80) common
|
932
932
|
|
933
933
|
> def server_url
|
934
934
|
|
@@ -940,7 +940,7 @@ __Returns:__
|
|
940
940
|
|
941
941
|
--
|
942
942
|
|
943
|
-
##### [get_log](https://github.com/appium/ruby_lib/blob/
|
943
|
+
##### [get_log](https://github.com/appium/ruby_lib/blob/499e824668f63958c2fe047b76841612f74d2c1c/lib/appium_lib/common/log.rb#L25) common
|
944
944
|
|
945
945
|
> def get_log(type)
|
946
946
|
|
@@ -956,7 +956,7 @@ __Returns:__
|
|
956
956
|
|
957
957
|
--
|
958
958
|
|
959
|
-
##### [get_available_log_types](https://github.com/appium/ruby_lib/blob/
|
959
|
+
##### [get_available_log_types](https://github.com/appium/ruby_lib/blob/499e824668f63958c2fe047b76841612f74d2c1c/lib/appium_lib/common/log.rb#L37) common
|
960
960
|
|
961
961
|
> def get_available_log_types
|
962
962
|
|
@@ -968,7 +968,7 @@ __Returns:__
|
|
968
968
|
|
969
969
|
--
|
970
970
|
|
971
|
-
##### [wait_true](https://github.com/appium/ruby_lib/blob/
|
971
|
+
##### [wait_true](https://github.com/appium/ruby_lib/blob/499e824668f63958c2fe047b76841612f74d2c1c/lib/appium_lib/common/wait.rb#L44) common
|
972
972
|
|
973
973
|
> def wait_true(opts = {})
|
974
974
|
|
@@ -988,7 +988,7 @@ __Parameters:__
|
|
988
988
|
|
989
989
|
--
|
990
990
|
|
991
|
-
##### [wait](https://github.com/appium/ruby_lib/blob/
|
991
|
+
##### [wait](https://github.com/appium/ruby_lib/blob/499e824668f63958c2fe047b76841612f74d2c1c/lib/appium_lib/common/wait.rb#L73) common
|
992
992
|
|
993
993
|
> def wait(opts = {})
|
994
994
|
|
@@ -1006,7 +1006,7 @@ __Parameters:__
|
|
1006
1006
|
|
1007
1007
|
--
|
1008
1008
|
|
1009
|
-
##### [add_touch_actions](https://github.com/appium/ruby_lib/blob/
|
1009
|
+
##### [add_touch_actions](https://github.com/appium/ruby_lib/blob/499e824668f63958c2fe047b76841612f74d2c1c/lib/appium_lib/common/device.rb#L26) common
|
1010
1010
|
|
1011
1011
|
> def add_touch_actions
|
1012
1012
|
|
@@ -1014,7 +1014,7 @@ __Parameters:__
|
|
1014
1014
|
|
1015
1015
|
--
|
1016
1016
|
|
1017
|
-
##### [delegate_from_appium_driver](https://github.com/appium/ruby_lib/blob/
|
1017
|
+
##### [delegate_from_appium_driver](https://github.com/appium/ruby_lib/blob/499e824668f63958c2fe047b76841612f74d2c1c/lib/appium_lib/common/device.rb#L38) common
|
1018
1018
|
|
1019
1019
|
> def delegate_from_appium_driver(method, delegation_target)
|
1020
1020
|
|
@@ -1022,7 +1022,7 @@ __Parameters:__
|
|
1022
1022
|
|
1023
1023
|
--
|
1024
1024
|
|
1025
|
-
##### [ignore](https://github.com/appium/ruby_lib/blob/
|
1025
|
+
##### [ignore](https://github.com/appium/ruby_lib/blob/499e824668f63958c2fe047b76841612f74d2c1c/lib/appium_lib/common/helper.rb#L30) common
|
1026
1026
|
|
1027
1027
|
> def ignore
|
1028
1028
|
|
@@ -1030,7 +1030,7 @@ Return yield and ignore any exceptions.
|
|
1030
1030
|
|
1031
1031
|
--
|
1032
1032
|
|
1033
|
-
##### [back](https://github.com/appium/ruby_lib/blob/
|
1033
|
+
##### [back](https://github.com/appium/ruby_lib/blob/499e824668f63958c2fe047b76841612f74d2c1c/lib/appium_lib/common/helper.rb#L37) common
|
1034
1034
|
|
1035
1035
|
> def back
|
1036
1036
|
|
@@ -1042,7 +1042,7 @@ __Returns:__
|
|
1042
1042
|
|
1043
1043
|
--
|
1044
1044
|
|
1045
|
-
##### [session_id](https://github.com/appium/ruby_lib/blob/
|
1045
|
+
##### [session_id](https://github.com/appium/ruby_lib/blob/499e824668f63958c2fe047b76841612f74d2c1c/lib/appium_lib/common/helper.rb#L48) common
|
1046
1046
|
|
1047
1047
|
> def session_id
|
1048
1048
|
|
@@ -1054,7 +1054,7 @@ __Returns:__
|
|
1054
1054
|
|
1055
1055
|
--
|
1056
1056
|
|
1057
|
-
##### [xpath](https://github.com/appium/ruby_lib/blob/
|
1057
|
+
##### [xpath](https://github.com/appium/ruby_lib/blob/499e824668f63958c2fe047b76841612f74d2c1c/lib/appium_lib/common/helper.rb#L56) common
|
1058
1058
|
|
1059
1059
|
> def xpath(xpath_str)
|
1060
1060
|
|
@@ -1070,7 +1070,7 @@ __Returns:__
|
|
1070
1070
|
|
1071
1071
|
--
|
1072
1072
|
|
1073
|
-
##### [xpaths](https://github.com/appium/ruby_lib/blob/
|
1073
|
+
##### [xpaths](https://github.com/appium/ruby_lib/blob/499e824668f63958c2fe047b76841612f74d2c1c/lib/appium_lib/common/helper.rb#L64) common
|
1074
1074
|
|
1075
1075
|
> def xpaths(xpath_str)
|
1076
1076
|
|
@@ -1086,7 +1086,7 @@ __Returns:__
|
|
1086
1086
|
|
1087
1087
|
--
|
1088
1088
|
|
1089
|
-
##### [result](https://github.com/appium/ruby_lib/blob/
|
1089
|
+
##### [result](https://github.com/appium/ruby_lib/blob/499e824668f63958c2fe047b76841612f74d2c1c/lib/appium_lib/common/helper.rb#L74) common
|
1090
1090
|
|
1091
1091
|
> def result
|
1092
1092
|
|
@@ -1094,7 +1094,7 @@ Returns the value of attribute result
|
|
1094
1094
|
|
1095
1095
|
--
|
1096
1096
|
|
1097
|
-
##### [initialize](https://github.com/appium/ruby_lib/blob/
|
1097
|
+
##### [initialize](https://github.com/appium/ruby_lib/blob/499e824668f63958c2fe047b76841612f74d2c1c/lib/appium_lib/common/helper.rb#L76) common
|
1098
1098
|
|
1099
1099
|
> def initialize(platform)
|
1100
1100
|
|
@@ -1106,7 +1106,7 @@ __Returns:__
|
|
1106
1106
|
|
1107
1107
|
--
|
1108
1108
|
|
1109
|
-
##### [reset](https://github.com/appium/ruby_lib/blob/
|
1109
|
+
##### [reset](https://github.com/appium/ruby_lib/blob/499e824668f63958c2fe047b76841612f74d2c1c/lib/appium_lib/common/helper.rb#L81) common
|
1110
1110
|
|
1111
1111
|
> def reset
|
1112
1112
|
|
@@ -1114,7 +1114,7 @@ __Returns:__
|
|
1114
1114
|
|
1115
1115
|
--
|
1116
1116
|
|
1117
|
-
##### [start_element](https://github.com/appium/ruby_lib/blob/
|
1117
|
+
##### [start_element](https://github.com/appium/ruby_lib/blob/499e824668f63958c2fe047b76841612f74d2c1c/lib/appium_lib/common/helper.rb#L86) common
|
1118
1118
|
|
1119
1119
|
> def start_element(name, attrs = [])
|
1120
1120
|
|
@@ -1122,7 +1122,7 @@ http://nokogiri.org/Nokogiri/XML/SAX/Document.html
|
|
1122
1122
|
|
1123
1123
|
--
|
1124
1124
|
|
1125
|
-
##### [formatted_result](https://github.com/appium/ruby_lib/blob/
|
1125
|
+
##### [formatted_result](https://github.com/appium/ruby_lib/blob/499e824668f63958c2fe047b76841612f74d2c1c/lib/appium_lib/common/helper.rb#L97) common
|
1126
1126
|
|
1127
1127
|
> def formatted_result
|
1128
1128
|
|
@@ -1130,7 +1130,7 @@ http://nokogiri.org/Nokogiri/XML/SAX/Document.html
|
|
1130
1130
|
|
1131
1131
|
--
|
1132
1132
|
|
1133
|
-
##### [get_page_class](https://github.com/appium/ruby_lib/blob/
|
1133
|
+
##### [get_page_class](https://github.com/appium/ruby_lib/blob/499e824668f63958c2fe047b76841612f74d2c1c/lib/appium_lib/common/helper.rb#L115) common
|
1134
1134
|
|
1135
1135
|
> def get_page_class
|
1136
1136
|
|
@@ -1142,7 +1142,7 @@ __Returns:__
|
|
1142
1142
|
|
1143
1143
|
--
|
1144
1144
|
|
1145
|
-
##### [page_class](https://github.com/appium/ruby_lib/blob/
|
1145
|
+
##### [page_class](https://github.com/appium/ruby_lib/blob/499e824668f63958c2fe047b76841612f74d2c1c/lib/appium_lib/common/helper.rb#L140) common
|
1146
1146
|
|
1147
1147
|
> def page_class
|
1148
1148
|
|
@@ -1155,7 +1155,7 @@ __Returns:__
|
|
1155
1155
|
|
1156
1156
|
--
|
1157
1157
|
|
1158
|
-
##### [source](https://github.com/appium/ruby_lib/blob/
|
1158
|
+
##### [source](https://github.com/appium/ruby_lib/blob/499e824668f63958c2fe047b76841612f74d2c1c/lib/appium_lib/common/helper.rb#L147) common
|
1159
1159
|
|
1160
1160
|
> def source
|
1161
1161
|
|
@@ -1167,7 +1167,7 @@ __Returns:__
|
|
1167
1167
|
|
1168
1168
|
--
|
1169
1169
|
|
1170
|
-
##### [get_source](https://github.com/appium/ruby_lib/blob/
|
1170
|
+
##### [get_source](https://github.com/appium/ruby_lib/blob/499e824668f63958c2fe047b76841612f74d2c1c/lib/appium_lib/common/helper.rb#L154) common
|
1171
1171
|
|
1172
1172
|
> def get_source
|
1173
1173
|
|
@@ -1180,7 +1180,7 @@ __Returns:__
|
|
1180
1180
|
|
1181
1181
|
--
|
1182
1182
|
|
1183
|
-
##### [px_to_window_rel](https://github.com/appium/ruby_lib/blob/
|
1183
|
+
##### [px_to_window_rel](https://github.com/appium/ruby_lib/blob/499e824668f63958c2fe047b76841612f74d2c1c/lib/appium_lib/common/helper.rb#L164) common
|
1184
1184
|
|
1185
1185
|
> def px_to_window_rel(opts = {}, driver = $driver)
|
1186
1186
|
|
@@ -1188,7 +1188,7 @@ Converts pixel values to window relative values
|
|
1188
1188
|
|
1189
1189
|
--
|
1190
1190
|
|
1191
|
-
##### [xml_keys](https://github.com/appium/ruby_lib/blob/
|
1191
|
+
##### [xml_keys](https://github.com/appium/ruby_lib/blob/499e824668f63958c2fe047b76841612f74d2c1c/lib/appium_lib/common/helper.rb#L183) common
|
1192
1192
|
|
1193
1193
|
> def xml_keys(target)
|
1194
1194
|
|
@@ -1204,7 +1204,7 @@ __Returns:__
|
|
1204
1204
|
|
1205
1205
|
--
|
1206
1206
|
|
1207
|
-
##### [xml_values](https://github.com/appium/ruby_lib/blob/
|
1207
|
+
##### [xml_values](https://github.com/appium/ruby_lib/blob/499e824668f63958c2fe047b76841612f74d2c1c/lib/appium_lib/common/helper.rb#L191) common
|
1208
1208
|
|
1209
1209
|
> def xml_values(target)
|
1210
1210
|
|
@@ -1220,7 +1220,7 @@ __Returns:__
|
|
1220
1220
|
|
1221
1221
|
--
|
1222
1222
|
|
1223
|
-
##### [resolve_id](https://github.com/appium/ruby_lib/blob/
|
1223
|
+
##### [resolve_id](https://github.com/appium/ruby_lib/blob/499e824668f63958c2fe047b76841612f74d2c1c/lib/appium_lib/common/helper.rb#L199) common
|
1224
1224
|
|
1225
1225
|
> def resolve_id(id)
|
1226
1226
|
|
@@ -1236,7 +1236,7 @@ __Returns:__
|
|
1236
1236
|
|
1237
1237
|
--
|
1238
1238
|
|
1239
|
-
##### [filter](https://github.com/appium/ruby_lib/blob/
|
1239
|
+
##### [filter](https://github.com/appium/ruby_lib/blob/499e824668f63958c2fe047b76841612f74d2c1c/lib/appium_lib/common/helper.rb#L206) common
|
1240
1240
|
|
1241
1241
|
> def filter
|
1242
1242
|
|
@@ -1244,7 +1244,7 @@ Returns the value of attribute filter
|
|
1244
1244
|
|
1245
1245
|
--
|
1246
1246
|
|
1247
|
-
##### [filter=](https://github.com/appium/ruby_lib/blob/
|
1247
|
+
##### [filter=](https://github.com/appium/ruby_lib/blob/499e824668f63958c2fe047b76841612f74d2c1c/lib/appium_lib/common/helper.rb#L209) common
|
1248
1248
|
|
1249
1249
|
> def filter=(value)
|
1250
1250
|
|
@@ -1252,7 +1252,7 @@ convert to string to support symbols
|
|
1252
1252
|
|
1253
1253
|
--
|
1254
1254
|
|
1255
|
-
##### [initialize](https://github.com/appium/ruby_lib/blob/
|
1255
|
+
##### [initialize](https://github.com/appium/ruby_lib/blob/499e824668f63958c2fe047b76841612f74d2c1c/lib/appium_lib/common/helper.rb#L216) common
|
1256
1256
|
|
1257
1257
|
> def initialize
|
1258
1258
|
|
@@ -1264,7 +1264,7 @@ __Returns:__
|
|
1264
1264
|
|
1265
1265
|
--
|
1266
1266
|
|
1267
|
-
##### [reset](https://github.com/appium/ruby_lib/blob/
|
1267
|
+
##### [reset](https://github.com/appium/ruby_lib/blob/499e824668f63958c2fe047b76841612f74d2c1c/lib/appium_lib/common/helper.rb#L221) common
|
1268
1268
|
|
1269
1269
|
> def reset
|
1270
1270
|
|
@@ -1272,7 +1272,7 @@ __Returns:__
|
|
1272
1272
|
|
1273
1273
|
--
|
1274
1274
|
|
1275
|
-
##### [result](https://github.com/appium/ruby_lib/blob/
|
1275
|
+
##### [result](https://github.com/appium/ruby_lib/blob/499e824668f63958c2fe047b76841612f74d2c1c/lib/appium_lib/common/helper.rb#L227) common
|
1276
1276
|
|
1277
1277
|
> def result
|
1278
1278
|
|
@@ -1280,7 +1280,7 @@ __Returns:__
|
|
1280
1280
|
|
1281
1281
|
--
|
1282
1282
|
|
1283
|
-
##### [start_element](https://github.com/appium/ruby_lib/blob/
|
1283
|
+
##### [start_element](https://github.com/appium/ruby_lib/blob/499e824668f63958c2fe047b76841612f74d2c1c/lib/appium_lib/common/helper.rb#L240) common
|
1284
1284
|
|
1285
1285
|
> def start_element(name, attrs = [])
|
1286
1286
|
|
@@ -1288,7 +1288,7 @@ __Returns:__
|
|
1288
1288
|
|
1289
1289
|
--
|
1290
1290
|
|
1291
|
-
##### [end_element](https://github.com/appium/ruby_lib/blob/
|
1291
|
+
##### [end_element](https://github.com/appium/ruby_lib/blob/499e824668f63958c2fe047b76841612f74d2c1c/lib/appium_lib/common/helper.rb#L250) common
|
1292
1292
|
|
1293
1293
|
> def end_element(name)
|
1294
1294
|
|
@@ -1296,7 +1296,7 @@ __Returns:__
|
|
1296
1296
|
|
1297
1297
|
--
|
1298
1298
|
|
1299
|
-
##### [characters](https://github.com/appium/ruby_lib/blob/
|
1299
|
+
##### [characters](https://github.com/appium/ruby_lib/blob/499e824668f63958c2fe047b76841612f74d2c1c/lib/appium_lib/common/helper.rb#L257) common
|
1300
1300
|
|
1301
1301
|
> def characters(chars)
|
1302
1302
|
|
@@ -1304,7 +1304,7 @@ __Returns:__
|
|
1304
1304
|
|
1305
1305
|
--
|
1306
1306
|
|
1307
|
-
##### [DEFAULT_HEADERS](https://github.com/appium/ruby_lib/blob/
|
1307
|
+
##### [DEFAULT_HEADERS](https://github.com/appium/ruby_lib/blob/499e824668f63958c2fe047b76841612f74d2c1c/lib/appium_lib/common/http_client.rb#L22) common
|
1308
1308
|
|
1309
1309
|
> DEFAULT_HEADERS = { 'Accept' => CONTENT_TYPE, 'User-Agent' => "appium/ruby_lib/#{::Appium::VERSION}" }.freeze
|
1310
1310
|
|
@@ -1312,7 +1312,7 @@ Default HTTP client inherit Appium::Core::Base::Http::Default, but has different
|
|
1312
1312
|
|
1313
1313
|
--
|
1314
1314
|
|
1315
|
-
##### [pinch](https://github.com/appium/ruby_lib/blob/
|
1315
|
+
##### [pinch](https://github.com/appium/ruby_lib/blob/499e824668f63958c2fe047b76841612f74d2c1c/lib/appium_lib/common/multi_touch.rb#L65) common
|
1316
1316
|
|
1317
1317
|
> def pinch(percentage = 25, auto_perform = true, driver = $driver)
|
1318
1318
|
|
@@ -1332,7 +1332,7 @@ __Parameters:__
|
|
1332
1332
|
|
1333
1333
|
--
|
1334
1334
|
|
1335
|
-
##### [zoom](https://github.com/appium/ruby_lib/blob/
|
1335
|
+
##### [zoom](https://github.com/appium/ruby_lib/blob/499e824668f63958c2fe047b76841612f74d2c1c/lib/appium_lib/common/multi_touch.rb#L108) common
|
1336
1336
|
|
1337
1337
|
> def zoom(percentage = 200, auto_perform = true, driver = $driver)
|
1338
1338
|
|
@@ -1352,7 +1352,7 @@ __Parameters:__
|
|
1352
1352
|
|
1353
1353
|
--
|
1354
1354
|
|
1355
|
-
##### [initialize](https://github.com/appium/ruby_lib/blob/
|
1355
|
+
##### [initialize](https://github.com/appium/ruby_lib/blob/499e824668f63958c2fe047b76841612f74d2c1c/lib/appium_lib/common/multi_touch.rb#L194) common
|
1356
1356
|
|
1357
1357
|
> def initialize(driver = $driver)
|
1358
1358
|
|
@@ -1364,7 +1364,7 @@ __Returns:__
|
|
1364
1364
|
|
1365
1365
|
--
|
1366
1366
|
|
1367
|
-
##### [COMPLEX_ACTIONS](https://github.com/appium/ruby_lib/blob/
|
1367
|
+
##### [COMPLEX_ACTIONS](https://github.com/appium/ruby_lib/blob/499e824668f63958c2fe047b76841612f74d2c1c/lib/appium_lib/common/touch_actions.rb#L47) common
|
1368
1368
|
|
1369
1369
|
> COMPLEX_ACTIONS = ::Appium::Core::TouchAction::COMPLEX_ACTIONS
|
1370
1370
|
|
@@ -1372,7 +1372,7 @@ __Returns:__
|
|
1372
1372
|
|
1373
1373
|
--
|
1374
1374
|
|
1375
|
-
##### [initialize](https://github.com/appium/ruby_lib/blob/
|
1375
|
+
##### [initialize](https://github.com/appium/ruby_lib/blob/499e824668f63958c2fe047b76841612f74d2c1c/lib/appium_lib/common/touch_actions.rb#L62) common
|
1376
1376
|
|
1377
1377
|
> def initialize(driver = $driver)
|
1378
1378
|
|
@@ -1384,7 +1384,7 @@ __Returns:__
|
|
1384
1384
|
|
1385
1385
|
--
|
1386
1386
|
|
1387
|
-
##### [swipe](https://github.com/appium/ruby_lib/blob/
|
1387
|
+
##### [swipe](https://github.com/appium/ruby_lib/blob/499e824668f63958c2fe047b76841612f74d2c1c/lib/appium_lib/common/touch_actions.rb#L66) common
|
1388
1388
|
|
1389
1389
|
> def swipe(opts)
|
1390
1390
|
|
@@ -1392,7 +1392,7 @@ __Returns:__
|
|
1392
1392
|
|
1393
1393
|
--
|
1394
1394
|
|
1395
|
-
##### [initialize](https://github.com/appium/ruby_lib/blob/
|
1395
|
+
##### [initialize](https://github.com/appium/ruby_lib/blob/499e824668f63958c2fe047b76841612f74d2c1c/lib/appium_lib/common/command/ws_logcat.rb#L19) common
|
1396
1396
|
|
1397
1397
|
> def initialize(url:, output_file: 'logcat.log')
|
1398
1398
|
|
@@ -1404,7 +1404,7 @@ __Returns:__
|
|
1404
1404
|
|
1405
1405
|
--
|
1406
1406
|
|
1407
|
-
##### [handle_message_data](https://github.com/appium/ruby_lib/blob/
|
1407
|
+
##### [handle_message_data](https://github.com/appium/ruby_lib/blob/499e824668f63958c2fe047b76841612f74d2c1c/lib/appium_lib/common/command/ws_logcat.rb#L24) common
|
1408
1408
|
|
1409
1409
|
> def handle_message_data(data)
|
1410
1410
|
|
@@ -1412,7 +1412,7 @@ __Returns:__
|
|
1412
1412
|
|
1413
1413
|
--
|
1414
1414
|
|
1415
|
-
##### [for](https://github.com/appium/ruby_lib/blob/
|
1415
|
+
##### [for](https://github.com/appium/ruby_lib/blob/499e824668f63958c2fe047b76841612f74d2c1c/lib/appium_lib/android/android.rb#L33) android
|
1416
1416
|
|
1417
1417
|
> def self.for(target)
|
1418
1418
|
|
@@ -1420,15 +1420,23 @@ __Returns:__
|
|
1420
1420
|
|
1421
1421
|
--
|
1422
1422
|
|
1423
|
-
##### [
|
1423
|
+
##### [TEXT_VIEW](https://github.com/appium/ruby_lib/blob/499e824668f63958c2fe047b76841612f74d2c1c/lib/appium_lib/android/element/text.rb#L18) android
|
1424
1424
|
|
1425
|
-
>
|
1425
|
+
> TEXT_VIEW = 'android.widget.TextView'
|
1426
1426
|
|
1427
1427
|
|
1428
1428
|
|
1429
1429
|
--
|
1430
1430
|
|
1431
|
-
##### [
|
1431
|
+
##### [TextView](https://github.com/appium/ruby_lib/blob/499e824668f63958c2fe047b76841612f74d2c1c/lib/appium_lib/android/element/text.rb#L19) android
|
1432
|
+
|
1433
|
+
> TextView = TEXT_VIEW
|
1434
|
+
|
1435
|
+
|
1436
|
+
|
1437
|
+
--
|
1438
|
+
|
1439
|
+
##### [text](https://github.com/appium/ruby_lib/blob/499e824668f63958c2fe047b76841612f74d2c1c/lib/appium_lib/android/element/text.rb#L25) android
|
1432
1440
|
|
1433
1441
|
> def text(value)
|
1434
1442
|
|
@@ -1445,7 +1453,7 @@ __Returns:__
|
|
1445
1453
|
|
1446
1454
|
--
|
1447
1455
|
|
1448
|
-
##### [texts](https://github.com/appium/ruby_lib/blob/
|
1456
|
+
##### [texts](https://github.com/appium/ruby_lib/blob/499e824668f63958c2fe047b76841612f74d2c1c/lib/appium_lib/android/element/text.rb#L35) android
|
1449
1457
|
|
1450
1458
|
> def texts(value = false)
|
1451
1459
|
|
@@ -1458,11 +1466,11 @@ __Parameters:__
|
|
1458
1466
|
|
1459
1467
|
__Returns:__
|
1460
1468
|
|
1461
|
-
[Array<
|
1469
|
+
[Array<TEXT_VIEW>]
|
1462
1470
|
|
1463
1471
|
--
|
1464
1472
|
|
1465
|
-
##### [first_text](https://github.com/appium/ruby_lib/blob/
|
1473
|
+
##### [first_text](https://github.com/appium/ruby_lib/blob/499e824668f63958c2fe047b76841612f74d2c1c/lib/appium_lib/android/element/text.rb#L43) android
|
1466
1474
|
|
1467
1475
|
> def first_text
|
1468
1476
|
|
@@ -1470,11 +1478,11 @@ Find the first TextView.
|
|
1470
1478
|
|
1471
1479
|
__Returns:__
|
1472
1480
|
|
1473
|
-
[
|
1481
|
+
[TEXT_VIEW]
|
1474
1482
|
|
1475
1483
|
--
|
1476
1484
|
|
1477
|
-
##### [last_text](https://github.com/appium/ruby_lib/blob/
|
1485
|
+
##### [last_text](https://github.com/appium/ruby_lib/blob/499e824668f63958c2fe047b76841612f74d2c1c/lib/appium_lib/android/element/text.rb#L49) android
|
1478
1486
|
|
1479
1487
|
> def last_text
|
1480
1488
|
|
@@ -1482,11 +1490,11 @@ Find the last TextView.
|
|
1482
1490
|
|
1483
1491
|
__Returns:__
|
1484
1492
|
|
1485
|
-
[
|
1493
|
+
[TEXT_VIEW]
|
1486
1494
|
|
1487
1495
|
--
|
1488
1496
|
|
1489
|
-
##### [text_exact](https://github.com/appium/ruby_lib/blob/
|
1497
|
+
##### [text_exact](https://github.com/appium/ruby_lib/blob/499e824668f63958c2fe047b76841612f74d2c1c/lib/appium_lib/android/element/text.rb#L56) android
|
1490
1498
|
|
1491
1499
|
> def text_exact(value)
|
1492
1500
|
|
@@ -1498,11 +1506,11 @@ __Parameters:__
|
|
1498
1506
|
|
1499
1507
|
__Returns:__
|
1500
1508
|
|
1501
|
-
[
|
1509
|
+
[TEXT_VIEW]
|
1502
1510
|
|
1503
1511
|
--
|
1504
1512
|
|
1505
|
-
##### [texts_exact](https://github.com/appium/ruby_lib/blob/
|
1513
|
+
##### [texts_exact](https://github.com/appium/ruby_lib/blob/499e824668f63958c2fe047b76841612f74d2c1c/lib/appium_lib/android/element/text.rb#L63) android
|
1506
1514
|
|
1507
1515
|
> def texts_exact(value)
|
1508
1516
|
|
@@ -1514,11 +1522,11 @@ __Parameters:__
|
|
1514
1522
|
|
1515
1523
|
__Returns:__
|
1516
1524
|
|
1517
|
-
[Array<
|
1525
|
+
[Array<TEXT_VIEW>]
|
1518
1526
|
|
1519
1527
|
--
|
1520
1528
|
|
1521
|
-
##### [result](https://github.com/appium/ruby_lib/blob/
|
1529
|
+
##### [result](https://github.com/appium/ruby_lib/blob/499e824668f63958c2fe047b76841612f74d2c1c/lib/appium_lib/android/common/helper.rb#L20) android
|
1522
1530
|
|
1523
1531
|
> def result
|
1524
1532
|
|
@@ -1526,7 +1534,7 @@ Returns the value of attribute result
|
|
1526
1534
|
|
1527
1535
|
--
|
1528
1536
|
|
1529
|
-
##### [keys](https://github.com/appium/ruby_lib/blob/
|
1537
|
+
##### [keys](https://github.com/appium/ruby_lib/blob/499e824668f63958c2fe047b76841612f74d2c1c/lib/appium_lib/android/common/helper.rb#L20) android
|
1530
1538
|
|
1531
1539
|
> def keys
|
1532
1540
|
|
@@ -1534,7 +1542,7 @@ Returns the value of attribute keys
|
|
1534
1542
|
|
1535
1543
|
--
|
1536
1544
|
|
1537
|
-
##### [filter](https://github.com/appium/ruby_lib/blob/
|
1545
|
+
##### [filter](https://github.com/appium/ruby_lib/blob/499e824668f63958c2fe047b76841612f74d2c1c/lib/appium_lib/android/common/helper.rb#L20) android
|
1538
1546
|
|
1539
1547
|
> def filter
|
1540
1548
|
|
@@ -1542,7 +1550,7 @@ Returns the value of attribute filter
|
|
1542
1550
|
|
1543
1551
|
--
|
1544
1552
|
|
1545
|
-
##### [filter=](https://github.com/appium/ruby_lib/blob/
|
1553
|
+
##### [filter=](https://github.com/appium/ruby_lib/blob/499e824668f63958c2fe047b76841612f74d2c1c/lib/appium_lib/android/common/helper.rb#L23) android
|
1546
1554
|
|
1547
1555
|
> def filter=(value)
|
1548
1556
|
|
@@ -1550,7 +1558,7 @@ convert to string to support symbols
|
|
1550
1558
|
|
1551
1559
|
--
|
1552
1560
|
|
1553
|
-
##### [initialize](https://github.com/appium/ruby_lib/blob/
|
1561
|
+
##### [initialize](https://github.com/appium/ruby_lib/blob/499e824668f63958c2fe047b76841612f74d2c1c/lib/appium_lib/android/common/helper.rb#L30) android
|
1554
1562
|
|
1555
1563
|
> def initialize
|
1556
1564
|
|
@@ -1562,7 +1570,7 @@ __Returns:__
|
|
1562
1570
|
|
1563
1571
|
--
|
1564
1572
|
|
1565
|
-
##### [reset](https://github.com/appium/ruby_lib/blob/
|
1573
|
+
##### [reset](https://github.com/appium/ruby_lib/blob/499e824668f63958c2fe047b76841612f74d2c1c/lib/appium_lib/android/common/helper.rb#L35) android
|
1566
1574
|
|
1567
1575
|
> def reset
|
1568
1576
|
|
@@ -1570,7 +1578,7 @@ __Returns:__
|
|
1570
1578
|
|
1571
1579
|
--
|
1572
1580
|
|
1573
|
-
##### [start_element](https://github.com/appium/ruby_lib/blob/
|
1581
|
+
##### [start_element](https://github.com/appium/ruby_lib/blob/499e824668f63958c2fe047b76841612f74d2c1c/lib/appium_lib/android/common/helper.rb#L41) android
|
1574
1582
|
|
1575
1583
|
> def start_element(name, attrs = [], driver = $driver)
|
1576
1584
|
|
@@ -1578,7 +1586,7 @@ http://nokogiri.org/Nokogiri/XML/SAX/Document.html
|
|
1578
1586
|
|
1579
1587
|
--
|
1580
1588
|
|
1581
|
-
##### [get_android_inspect](https://github.com/appium/ruby_lib/blob/
|
1589
|
+
##### [get_android_inspect](https://github.com/appium/ruby_lib/blob/499e824668f63958c2fe047b76841612f74d2c1c/lib/appium_lib/android/common/helper.rb#L95) android
|
1582
1590
|
|
1583
1591
|
> def get_android_inspect(class_name = false)
|
1584
1592
|
|
@@ -1597,7 +1605,7 @@ __Returns:__
|
|
1597
1605
|
|
1598
1606
|
--
|
1599
1607
|
|
1600
|
-
##### [page](https://github.com/appium/ruby_lib/blob/
|
1608
|
+
##### [page](https://github.com/appium/ruby_lib/blob/499e824668f63958c2fe047b76841612f74d2c1c/lib/appium_lib/android/common/helper.rb#L121) android
|
1601
1609
|
|
1602
1610
|
> def page(opts = {})
|
1603
1611
|
|
@@ -1616,7 +1624,7 @@ __Returns:__
|
|
1616
1624
|
|
1617
1625
|
--
|
1618
1626
|
|
1619
|
-
##### [id](https://github.com/appium/ruby_lib/blob/
|
1627
|
+
##### [id](https://github.com/appium/ruby_lib/blob/499e824668f63958c2fe047b76841612f74d2c1c/lib/appium_lib/android/common/helper.rb#L130) android
|
1620
1628
|
|
1621
1629
|
> def id(id)
|
1622
1630
|
|
@@ -1632,7 +1640,7 @@ __Returns:__
|
|
1632
1640
|
|
1633
1641
|
--
|
1634
1642
|
|
1635
|
-
##### [ids](https://github.com/appium/ruby_lib/blob/
|
1643
|
+
##### [ids](https://github.com/appium/ruby_lib/blob/499e824668f63958c2fe047b76841612f74d2c1c/lib/appium_lib/android/common/helper.rb#L138) android
|
1636
1644
|
|
1637
1645
|
> def ids(id)
|
1638
1646
|
|
@@ -1648,7 +1656,7 @@ __Returns:__
|
|
1648
1656
|
|
1649
1657
|
--
|
1650
1658
|
|
1651
|
-
##### [ele_index](https://github.com/appium/ruby_lib/blob/
|
1659
|
+
##### [ele_index](https://github.com/appium/ruby_lib/blob/499e824668f63958c2fe047b76841612f74d2c1c/lib/appium_lib/android/common/helper.rb#L147) android
|
1652
1660
|
|
1653
1661
|
> def ele_index(class_name, index)
|
1654
1662
|
|
@@ -1666,7 +1674,7 @@ __Returns:__
|
|
1666
1674
|
|
1667
1675
|
--
|
1668
1676
|
|
1669
|
-
##### [first_ele](https://github.com/appium/ruby_lib/blob/
|
1677
|
+
##### [first_ele](https://github.com/appium/ruby_lib/blob/499e824668f63958c2fe047b76841612f74d2c1c/lib/appium_lib/android/common/helper.rb#L166) android
|
1670
1678
|
|
1671
1679
|
> def first_ele(class_name)
|
1672
1680
|
|
@@ -1682,7 +1690,7 @@ __Returns:__
|
|
1682
1690
|
|
1683
1691
|
--
|
1684
1692
|
|
1685
|
-
##### [last_ele](https://github.com/appium/ruby_lib/blob/
|
1693
|
+
##### [last_ele](https://github.com/appium/ruby_lib/blob/499e824668f63958c2fe047b76841612f74d2c1c/lib/appium_lib/android/common/helper.rb#L173) android
|
1686
1694
|
|
1687
1695
|
> def last_ele(class_name)
|
1688
1696
|
|
@@ -1698,7 +1706,7 @@ __Returns:__
|
|
1698
1706
|
|
1699
1707
|
--
|
1700
1708
|
|
1701
|
-
##### [tag](https://github.com/appium/ruby_lib/blob/
|
1709
|
+
##### [tag](https://github.com/appium/ruby_lib/blob/499e824668f63958c2fe047b76841612f74d2c1c/lib/appium_lib/android/common/helper.rb#L181) android
|
1702
1710
|
|
1703
1711
|
> def tag(class_name)
|
1704
1712
|
|
@@ -1714,7 +1722,7 @@ __Returns:__
|
|
1714
1722
|
|
1715
1723
|
--
|
1716
1724
|
|
1717
|
-
##### [tags](https://github.com/appium/ruby_lib/blob/
|
1725
|
+
##### [tags](https://github.com/appium/ruby_lib/blob/499e824668f63958c2fe047b76841612f74d2c1c/lib/appium_lib/android/common/helper.rb#L189) android
|
1718
1726
|
|
1719
1727
|
> def tags(class_name)
|
1720
1728
|
|
@@ -1730,7 +1738,7 @@ __Returns:__
|
|
1730
1738
|
|
1731
1739
|
--
|
1732
1740
|
|
1733
|
-
##### [string_visible_contains_xpath](https://github.com/appium/ruby_lib/blob/
|
1741
|
+
##### [string_visible_contains_xpath](https://github.com/appium/ruby_lib/blob/499e824668f63958c2fe047b76841612f74d2c1c/lib/appium_lib/android/common/helper.rb#L232) android
|
1734
1742
|
|
1735
1743
|
> def string_visible_contains_xpath(class_name, value)
|
1736
1744
|
|
@@ -1751,7 +1759,7 @@ __Returns:__
|
|
1751
1759
|
|
1752
1760
|
--
|
1753
1761
|
|
1754
|
-
##### [string_visible_contains](https://github.com/appium/ruby_lib/blob/
|
1762
|
+
##### [string_visible_contains](https://github.com/appium/ruby_lib/blob/499e824668f63958c2fe047b76841612f74d2c1c/lib/appium_lib/android/common/helper.rb#L252) android
|
1755
1763
|
|
1756
1764
|
> def string_visible_contains(class_name, value)
|
1757
1765
|
|
@@ -1772,7 +1780,7 @@ __Returns:__
|
|
1772
1780
|
|
1773
1781
|
--
|
1774
1782
|
|
1775
|
-
##### [complex_find_contains](https://github.com/appium/ruby_lib/blob/
|
1783
|
+
##### [complex_find_contains](https://github.com/appium/ruby_lib/blob/499e824668f63958c2fe047b76841612f74d2c1c/lib/appium_lib/android/common/helper.rb#L270) android
|
1776
1784
|
|
1777
1785
|
> def complex_find_contains(class_name, value)
|
1778
1786
|
|
@@ -1790,7 +1798,7 @@ __Returns:__
|
|
1790
1798
|
|
1791
1799
|
--
|
1792
1800
|
|
1793
|
-
##### [complex_finds_contains](https://github.com/appium/ruby_lib/blob/
|
1801
|
+
##### [complex_finds_contains](https://github.com/appium/ruby_lib/blob/499e824668f63958c2fe047b76841612f74d2c1c/lib/appium_lib/android/common/helper.rb#L278) android
|
1794
1802
|
|
1795
1803
|
> def complex_finds_contains(class_name, value)
|
1796
1804
|
|
@@ -1808,7 +1816,7 @@ __Returns:__
|
|
1808
1816
|
|
1809
1817
|
--
|
1810
1818
|
|
1811
|
-
##### [complex_find_exact](https://github.com/appium/ruby_lib/blob/
|
1819
|
+
##### [complex_find_exact](https://github.com/appium/ruby_lib/blob/499e824668f63958c2fe047b76841612f74d2c1c/lib/appium_lib/android/common/helper.rb#L320) android
|
1812
1820
|
|
1813
1821
|
> def complex_find_exact(class_name, value)
|
1814
1822
|
|
@@ -1826,7 +1834,7 @@ __Returns:__
|
|
1826
1834
|
|
1827
1835
|
--
|
1828
1836
|
|
1829
|
-
##### [complex_finds_exact](https://github.com/appium/ruby_lib/blob/
|
1837
|
+
##### [complex_finds_exact](https://github.com/appium/ruby_lib/blob/499e824668f63958c2fe047b76841612f74d2c1c/lib/appium_lib/android/common/helper.rb#L328) android
|
1830
1838
|
|
1831
1839
|
> def complex_finds_exact(class_name, value)
|
1832
1840
|
|
@@ -1844,7 +1852,7 @@ __Returns:__
|
|
1844
1852
|
|
1845
1853
|
--
|
1846
1854
|
|
1847
|
-
##### [alert_click](https://github.com/appium/ruby_lib/blob/
|
1855
|
+
##### [alert_click](https://github.com/appium/ruby_lib/blob/499e824668f63958c2fe047b76841612f74d2c1c/lib/appium_lib/android/element/alert.rb#L20) android
|
1848
1856
|
|
1849
1857
|
> def alert_click(value)
|
1850
1858
|
|
@@ -1860,7 +1868,7 @@ __Returns:__
|
|
1860
1868
|
|
1861
1869
|
--
|
1862
1870
|
|
1863
|
-
##### [alert_accept](https://github.com/appium/ruby_lib/blob/
|
1871
|
+
##### [alert_accept](https://github.com/appium/ruby_lib/blob/499e824668f63958c2fe047b76841612f74d2c1c/lib/appium_lib/android/element/alert.rb#L27) android
|
1864
1872
|
|
1865
1873
|
> def alert_accept
|
1866
1874
|
|
@@ -1873,7 +1881,7 @@ __Returns:__
|
|
1873
1881
|
|
1874
1882
|
--
|
1875
1883
|
|
1876
|
-
##### [alert_accept_text](https://github.com/appium/ruby_lib/blob/
|
1884
|
+
##### [alert_accept_text](https://github.com/appium/ruby_lib/blob/499e824668f63958c2fe047b76841612f74d2c1c/lib/appium_lib/android/element/alert.rb#L34) android
|
1877
1885
|
|
1878
1886
|
> def alert_accept_text
|
1879
1887
|
|
@@ -1886,7 +1894,7 @@ __Returns:__
|
|
1886
1894
|
|
1887
1895
|
--
|
1888
1896
|
|
1889
|
-
##### [alert_dismiss](https://github.com/appium/ruby_lib/blob/
|
1897
|
+
##### [alert_dismiss](https://github.com/appium/ruby_lib/blob/499e824668f63958c2fe047b76841612f74d2c1c/lib/appium_lib/android/element/alert.rb#L41) android
|
1890
1898
|
|
1891
1899
|
> def alert_dismiss
|
1892
1900
|
|
@@ -1899,7 +1907,7 @@ __Returns:__
|
|
1899
1907
|
|
1900
1908
|
--
|
1901
1909
|
|
1902
|
-
##### [alert_dismiss_text](https://github.com/appium/ruby_lib/blob/
|
1910
|
+
##### [alert_dismiss_text](https://github.com/appium/ruby_lib/blob/499e824668f63958c2fe047b76841612f74d2c1c/lib/appium_lib/android/element/alert.rb#L48) android
|
1903
1911
|
|
1904
1912
|
> def alert_dismiss_text
|
1905
1913
|
|
@@ -1912,23 +1920,39 @@ __Returns:__
|
|
1912
1920
|
|
1913
1921
|
--
|
1914
1922
|
|
1915
|
-
##### [
|
1923
|
+
##### [BUTTON](https://github.com/appium/ruby_lib/blob/499e824668f63958c2fe047b76841612f74d2c1c/lib/appium_lib/android/element/button.rb#L17) android
|
1924
|
+
|
1925
|
+
> BUTTON = 'android.widget.Button'
|
1926
|
+
|
1927
|
+
|
1916
1928
|
|
1917
|
-
|
1929
|
+
--
|
1930
|
+
|
1931
|
+
##### [Button](https://github.com/appium/ruby_lib/blob/499e824668f63958c2fe047b76841612f74d2c1c/lib/appium_lib/android/element/button.rb#L18) android
|
1918
1932
|
|
1933
|
+
> Button = BUTTON # backward compatibility
|
1919
1934
|
|
1935
|
+
backward compatibility
|
1920
1936
|
|
1921
1937
|
--
|
1922
1938
|
|
1923
|
-
##### [
|
1939
|
+
##### [IMAGE_BUTTON](https://github.com/appium/ruby_lib/blob/499e824668f63958c2fe047b76841612f74d2c1c/lib/appium_lib/android/element/button.rb#L20) android
|
1924
1940
|
|
1925
|
-
>
|
1941
|
+
> IMAGE_BUTTON = 'android.widget.ImageButton'
|
1926
1942
|
|
1927
1943
|
|
1928
1944
|
|
1929
1945
|
--
|
1930
1946
|
|
1931
|
-
##### [
|
1947
|
+
##### [ImageButton](https://github.com/appium/ruby_lib/blob/499e824668f63958c2fe047b76841612f74d2c1c/lib/appium_lib/android/element/button.rb#L21) android
|
1948
|
+
|
1949
|
+
> ImageButton = IMAGE_BUTTON # backward compatibility
|
1950
|
+
|
1951
|
+
backward compatibility
|
1952
|
+
|
1953
|
+
--
|
1954
|
+
|
1955
|
+
##### [button](https://github.com/appium/ruby_lib/blob/499e824668f63958c2fe047b76841612f74d2c1c/lib/appium_lib/android/element/button.rb#L27) android
|
1932
1956
|
|
1933
1957
|
> def button(value)
|
1934
1958
|
|
@@ -1941,11 +1965,11 @@ __Parameters:__
|
|
1941
1965
|
|
1942
1966
|
__Returns:__
|
1943
1967
|
|
1944
|
-
[
|
1968
|
+
[BUTTON]
|
1945
1969
|
|
1946
1970
|
--
|
1947
1971
|
|
1948
|
-
##### [buttons](https://github.com/appium/ruby_lib/blob/
|
1972
|
+
##### [buttons](https://github.com/appium/ruby_lib/blob/499e824668f63958c2fe047b76841612f74d2c1c/lib/appium_lib/android/element/button.rb#L45) android
|
1949
1973
|
|
1950
1974
|
> def buttons(value = false)
|
1951
1975
|
|
@@ -1958,11 +1982,11 @@ __Parameters:__
|
|
1958
1982
|
|
1959
1983
|
__Returns:__
|
1960
1984
|
|
1961
|
-
[Array<
|
1985
|
+
[Array<BUTTON>]
|
1962
1986
|
|
1963
1987
|
--
|
1964
1988
|
|
1965
|
-
##### [first_button](https://github.com/appium/ruby_lib/blob/
|
1989
|
+
##### [first_button](https://github.com/appium/ruby_lib/blob/499e824668f63958c2fe047b76841612f74d2c1c/lib/appium_lib/android/element/button.rb#L53) android
|
1966
1990
|
|
1967
1991
|
> def first_button
|
1968
1992
|
|
@@ -1970,11 +1994,11 @@ Find the first button.
|
|
1970
1994
|
|
1971
1995
|
__Returns:__
|
1972
1996
|
|
1973
|
-
[
|
1997
|
+
[BUTTON]
|
1974
1998
|
|
1975
1999
|
--
|
1976
2000
|
|
1977
|
-
##### [last_button](https://github.com/appium/ruby_lib/blob/
|
2001
|
+
##### [last_button](https://github.com/appium/ruby_lib/blob/499e824668f63958c2fe047b76841612f74d2c1c/lib/appium_lib/android/element/button.rb#L59) android
|
1978
2002
|
|
1979
2003
|
> def last_button
|
1980
2004
|
|
@@ -1982,11 +2006,11 @@ Find the last button.
|
|
1982
2006
|
|
1983
2007
|
__Returns:__
|
1984
2008
|
|
1985
|
-
[
|
2009
|
+
[BUTTON]
|
1986
2010
|
|
1987
2011
|
--
|
1988
2012
|
|
1989
|
-
##### [button_exact](https://github.com/appium/ruby_lib/blob/
|
2013
|
+
##### [button_exact](https://github.com/appium/ruby_lib/blob/499e824668f63958c2fe047b76841612f74d2c1c/lib/appium_lib/android/element/button.rb#L75) android
|
1990
2014
|
|
1991
2015
|
> def button_exact(value)
|
1992
2016
|
|
@@ -1998,11 +2022,11 @@ __Parameters:__
|
|
1998
2022
|
|
1999
2023
|
__Returns:__
|
2000
2024
|
|
2001
|
-
[
|
2025
|
+
[BUTTON]
|
2002
2026
|
|
2003
2027
|
--
|
2004
2028
|
|
2005
|
-
##### [buttons_exact](https://github.com/appium/ruby_lib/blob/
|
2029
|
+
##### [buttons_exact](https://github.com/appium/ruby_lib/blob/499e824668f63958c2fe047b76841612f74d2c1c/lib/appium_lib/android/element/button.rb#L82) android
|
2006
2030
|
|
2007
2031
|
> def buttons_exact(value)
|
2008
2032
|
|
@@ -2014,11 +2038,11 @@ __Parameters:__
|
|
2014
2038
|
|
2015
2039
|
__Returns:__
|
2016
2040
|
|
2017
|
-
[Array<
|
2041
|
+
[Array<BUTTON>]
|
2018
2042
|
|
2019
2043
|
--
|
2020
2044
|
|
2021
|
-
##### [_button_visible_selectors](https://github.com/appium/ruby_lib/blob/
|
2045
|
+
##### [_button_visible_selectors](https://github.com/appium/ruby_lib/blob/499e824668f63958c2fe047b76841612f74d2c1c/lib/appium_lib/android/element/button.rb#L95) android
|
2022
2046
|
|
2023
2047
|
> def _button_visible_selectors(opts = {})
|
2024
2048
|
|
@@ -2026,7 +2050,7 @@ __Returns:__
|
|
2026
2050
|
|
2027
2051
|
--
|
2028
2052
|
|
2029
|
-
##### [_button_exact_string](https://github.com/appium/ruby_lib/blob/
|
2053
|
+
##### [_button_exact_string](https://github.com/appium/ruby_lib/blob/499e824668f63958c2fe047b76841612f74d2c1c/lib/appium_lib/android/element/button.rb#L108) android
|
2030
2054
|
|
2031
2055
|
> def _button_exact_string(value)
|
2032
2056
|
|
@@ -2034,7 +2058,7 @@ __Returns:__
|
|
2034
2058
|
|
2035
2059
|
--
|
2036
2060
|
|
2037
|
-
##### [_button_contains_string](https://github.com/appium/ruby_lib/blob/
|
2061
|
+
##### [_button_contains_string](https://github.com/appium/ruby_lib/blob/499e824668f63958c2fe047b76841612f74d2c1c/lib/appium_lib/android/element/button.rb#L114) android
|
2038
2062
|
|
2039
2063
|
> def _button_contains_string(value)
|
2040
2064
|
|
@@ -2042,7 +2066,7 @@ __Returns:__
|
|
2042
2066
|
|
2043
2067
|
--
|
2044
2068
|
|
2045
|
-
##### [find](https://github.com/appium/ruby_lib/blob/
|
2069
|
+
##### [find](https://github.com/appium/ruby_lib/blob/499e824668f63958c2fe047b76841612f74d2c1c/lib/appium_lib/android/element/generic.rb#L20) android
|
2046
2070
|
|
2047
2071
|
> def find(value)
|
2048
2072
|
|
@@ -2058,7 +2082,7 @@ __Returns:__
|
|
2058
2082
|
|
2059
2083
|
--
|
2060
2084
|
|
2061
|
-
##### [finds](https://github.com/appium/ruby_lib/blob/
|
2085
|
+
##### [finds](https://github.com/appium/ruby_lib/blob/499e824668f63958c2fe047b76841612f74d2c1c/lib/appium_lib/android/element/generic.rb#L27) android
|
2062
2086
|
|
2063
2087
|
> def finds(value)
|
2064
2088
|
|
@@ -2074,7 +2098,7 @@ __Returns:__
|
|
2074
2098
|
|
2075
2099
|
--
|
2076
2100
|
|
2077
|
-
##### [find_exact](https://github.com/appium/ruby_lib/blob/
|
2101
|
+
##### [find_exact](https://github.com/appium/ruby_lib/blob/499e824668f63958c2fe047b76841612f74d2c1c/lib/appium_lib/android/element/generic.rb#L34) android
|
2078
2102
|
|
2079
2103
|
> def find_exact(value)
|
2080
2104
|
|
@@ -2090,7 +2114,7 @@ __Returns:__
|
|
2090
2114
|
|
2091
2115
|
--
|
2092
2116
|
|
2093
|
-
##### [finds_exact](https://github.com/appium/ruby_lib/blob/
|
2117
|
+
##### [finds_exact](https://github.com/appium/ruby_lib/blob/499e824668f63958c2fe047b76841612f74d2c1c/lib/appium_lib/android/element/generic.rb#L41) android
|
2094
2118
|
|
2095
2119
|
> def finds_exact(value)
|
2096
2120
|
|
@@ -2106,7 +2130,7 @@ __Returns:__
|
|
2106
2130
|
|
2107
2131
|
--
|
2108
2132
|
|
2109
|
-
##### [scroll_to](https://github.com/appium/ruby_lib/blob/
|
2133
|
+
##### [scroll_to](https://github.com/appium/ruby_lib/blob/499e824668f63958c2fe047b76841612f74d2c1c/lib/appium_lib/android/element/generic.rb#L54) android
|
2110
2134
|
|
2111
2135
|
> def scroll_to(text, scrollable_index = 0)
|
2112
2136
|
|
@@ -2124,7 +2148,7 @@ __Returns:__
|
|
2124
2148
|
|
2125
2149
|
--
|
2126
2150
|
|
2127
|
-
##### [scroll_to_exact](https://github.com/appium/ruby_lib/blob/
|
2151
|
+
##### [scroll_to_exact](https://github.com/appium/ruby_lib/blob/499e824668f63958c2fe047b76841612f74d2c1c/lib/appium_lib/android/element/generic.rb#L72) android
|
2128
2152
|
|
2129
2153
|
> def scroll_to_exact(text, scrollable_index = 0)
|
2130
2154
|
|
@@ -2142,7 +2166,7 @@ __Returns:__
|
|
2142
2166
|
|
2143
2167
|
--
|
2144
2168
|
|
2145
|
-
##### [for](https://github.com/appium/ruby_lib/blob/
|
2169
|
+
##### [for](https://github.com/appium/ruby_lib/blob/499e824668f63958c2fe047b76841612f74d2c1c/lib/appium_lib/android/espresso/bridge.rb#L21) android
|
2146
2170
|
|
2147
2171
|
> def self.for(target)
|
2148
2172
|
|
@@ -2150,7 +2174,7 @@ __Returns:__
|
|
2150
2174
|
|
2151
2175
|
--
|
2152
2176
|
|
2153
|
-
##### [complex_find_contains](https://github.com/appium/ruby_lib/blob/
|
2177
|
+
##### [complex_find_contains](https://github.com/appium/ruby_lib/blob/499e824668f63958c2fe047b76841612f74d2c1c/lib/appium_lib/android/espresso/helper.rb#L23) android
|
2154
2178
|
|
2155
2179
|
> def complex_find_contains(class_name, value)
|
2156
2180
|
|
@@ -2168,7 +2192,7 @@ __Returns:__
|
|
2168
2192
|
|
2169
2193
|
--
|
2170
2194
|
|
2171
|
-
##### [complex_finds_contains](https://github.com/appium/ruby_lib/blob/
|
2195
|
+
##### [complex_finds_contains](https://github.com/appium/ruby_lib/blob/499e824668f63958c2fe047b76841612f74d2c1c/lib/appium_lib/android/espresso/helper.rb#L31) android
|
2172
2196
|
|
2173
2197
|
> def complex_finds_contains(class_name, value)
|
2174
2198
|
|
@@ -2186,7 +2210,7 @@ __Returns:__
|
|
2186
2210
|
|
2187
2211
|
--
|
2188
2212
|
|
2189
|
-
##### [complex_find_exact](https://github.com/appium/ruby_lib/blob/
|
2213
|
+
##### [complex_find_exact](https://github.com/appium/ruby_lib/blob/499e824668f63958c2fe047b76841612f74d2c1c/lib/appium_lib/android/espresso/helper.rb#L39) android
|
2190
2214
|
|
2191
2215
|
> def complex_find_exact(class_name, value)
|
2192
2216
|
|
@@ -2204,7 +2228,7 @@ __Returns:__
|
|
2204
2228
|
|
2205
2229
|
--
|
2206
2230
|
|
2207
|
-
##### [complex_finds_exact](https://github.com/appium/ruby_lib/blob/
|
2231
|
+
##### [complex_finds_exact](https://github.com/appium/ruby_lib/blob/499e824668f63958c2fe047b76841612f74d2c1c/lib/appium_lib/android/espresso/helper.rb#L47) android
|
2208
2232
|
|
2209
2233
|
> def complex_finds_exact(class_name, value)
|
2210
2234
|
|
@@ -2222,15 +2246,23 @@ __Returns:__
|
|
2222
2246
|
|
2223
2247
|
--
|
2224
2248
|
|
2225
|
-
##### [
|
2249
|
+
##### [EDIT_TEXT](https://github.com/appium/ruby_lib/blob/499e824668f63958c2fe047b76841612f74d2c1c/lib/appium_lib/android/element/textfield.rb#L17) android
|
2250
|
+
|
2251
|
+
> EDIT_TEXT = 'android.widget.EditText'
|
2252
|
+
|
2253
|
+
|
2254
|
+
|
2255
|
+
--
|
2256
|
+
|
2257
|
+
##### [EditText](https://github.com/appium/ruby_lib/blob/499e824668f63958c2fe047b76841612f74d2c1c/lib/appium_lib/android/element/textfield.rb#L18) android
|
2226
2258
|
|
2227
|
-
> EditText =
|
2259
|
+
> EditText = EDIT_TEXT
|
2228
2260
|
|
2229
2261
|
|
2230
2262
|
|
2231
2263
|
--
|
2232
2264
|
|
2233
|
-
##### [textfield](https://github.com/appium/ruby_lib/blob/
|
2265
|
+
##### [textfield](https://github.com/appium/ruby_lib/blob/499e824668f63958c2fe047b76841612f74d2c1c/lib/appium_lib/android/element/textfield.rb#L24) android
|
2234
2266
|
|
2235
2267
|
> def textfield(value)
|
2236
2268
|
|
@@ -2243,11 +2275,11 @@ __Parameters:__
|
|
2243
2275
|
|
2244
2276
|
__Returns:__
|
2245
2277
|
|
2246
|
-
[
|
2278
|
+
[EDIT_TEXT]
|
2247
2279
|
|
2248
2280
|
--
|
2249
2281
|
|
2250
|
-
##### [textfields](https://github.com/appium/ruby_lib/blob/
|
2282
|
+
##### [textfields](https://github.com/appium/ruby_lib/blob/499e824668f63958c2fe047b76841612f74d2c1c/lib/appium_lib/android/element/textfield.rb#L34) android
|
2251
2283
|
|
2252
2284
|
> def textfields(value = false)
|
2253
2285
|
|
@@ -2260,11 +2292,11 @@ __Parameters:__
|
|
2260
2292
|
|
2261
2293
|
__Returns:__
|
2262
2294
|
|
2263
|
-
[Array<
|
2295
|
+
[Array<EDIT_TEXT>]
|
2264
2296
|
|
2265
2297
|
--
|
2266
2298
|
|
2267
|
-
##### [first_textfield](https://github.com/appium/ruby_lib/blob/
|
2299
|
+
##### [first_textfield](https://github.com/appium/ruby_lib/blob/499e824668f63958c2fe047b76841612f74d2c1c/lib/appium_lib/android/element/textfield.rb#L42) android
|
2268
2300
|
|
2269
2301
|
> def first_textfield
|
2270
2302
|
|
@@ -2272,11 +2304,11 @@ Find the first EditText.
|
|
2272
2304
|
|
2273
2305
|
__Returns:__
|
2274
2306
|
|
2275
|
-
[
|
2307
|
+
[EDIT_TEXT]
|
2276
2308
|
|
2277
2309
|
--
|
2278
2310
|
|
2279
|
-
##### [last_textfield](https://github.com/appium/ruby_lib/blob/
|
2311
|
+
##### [last_textfield](https://github.com/appium/ruby_lib/blob/499e824668f63958c2fe047b76841612f74d2c1c/lib/appium_lib/android/element/textfield.rb#L48) android
|
2280
2312
|
|
2281
2313
|
> def last_textfield
|
2282
2314
|
|
@@ -2284,11 +2316,11 @@ Find the last EditText.
|
|
2284
2316
|
|
2285
2317
|
__Returns:__
|
2286
2318
|
|
2287
|
-
[
|
2319
|
+
[EDIT_TEXT]
|
2288
2320
|
|
2289
2321
|
--
|
2290
2322
|
|
2291
|
-
##### [textfield_exact](https://github.com/appium/ruby_lib/blob/
|
2323
|
+
##### [textfield_exact](https://github.com/appium/ruby_lib/blob/499e824668f63958c2fe047b76841612f74d2c1c/lib/appium_lib/android/element/textfield.rb#L55) android
|
2292
2324
|
|
2293
2325
|
> def textfield_exact(value)
|
2294
2326
|
|
@@ -2300,11 +2332,11 @@ __Parameters:__
|
|
2300
2332
|
|
2301
2333
|
__Returns:__
|
2302
2334
|
|
2303
|
-
[
|
2335
|
+
[EDIT_TEXT]
|
2304
2336
|
|
2305
2337
|
--
|
2306
2338
|
|
2307
|
-
##### [textfields_exact](https://github.com/appium/ruby_lib/blob/
|
2339
|
+
##### [textfields_exact](https://github.com/appium/ruby_lib/blob/499e824668f63958c2fe047b76841612f74d2c1c/lib/appium_lib/android/element/textfield.rb#L62) android
|
2308
2340
|
|
2309
2341
|
> def textfields_exact(value)
|
2310
2342
|
|
@@ -2316,11 +2348,11 @@ __Parameters:__
|
|
2316
2348
|
|
2317
2349
|
__Returns:__
|
2318
2350
|
|
2319
|
-
[Array<
|
2351
|
+
[Array<EDIT_TEXT>]
|
2320
2352
|
|
2321
2353
|
--
|
2322
2354
|
|
2323
|
-
##### [for](https://github.com/appium/ruby_lib/blob/
|
2355
|
+
##### [for](https://github.com/appium/ruby_lib/blob/499e824668f63958c2fe047b76841612f74d2c1c/lib/appium_lib/android/uiautomator2/bridge.rb#L21) android
|
2324
2356
|
|
2325
2357
|
> def self.for(target)
|
2326
2358
|
|
@@ -2328,7 +2360,7 @@ __Returns:__
|
|
2328
2360
|
|
2329
2361
|
--
|
2330
2362
|
|
2331
|
-
##### [string_visible_contains](https://github.com/appium/ruby_lib/blob/
|
2363
|
+
##### [string_visible_contains](https://github.com/appium/ruby_lib/blob/499e824668f63958c2fe047b76841612f74d2c1c/lib/appium_lib/android/uiautomator2/helper.rb#L27) android
|
2332
2364
|
|
2333
2365
|
> def string_visible_contains(class_name, value)
|
2334
2366
|
|
@@ -2349,7 +2381,7 @@ __Returns:__
|
|
2349
2381
|
|
2350
2382
|
--
|
2351
2383
|
|
2352
|
-
##### [complex_find_contains](https://github.com/appium/ruby_lib/blob/
|
2384
|
+
##### [complex_find_contains](https://github.com/appium/ruby_lib/blob/499e824668f63958c2fe047b76841612f74d2c1c/lib/appium_lib/android/uiautomator2/helper.rb#L45) android
|
2353
2385
|
|
2354
2386
|
> def complex_find_contains(class_name, value)
|
2355
2387
|
|
@@ -2367,7 +2399,7 @@ __Returns:__
|
|
2367
2399
|
|
2368
2400
|
--
|
2369
2401
|
|
2370
|
-
##### [complex_finds_contains](https://github.com/appium/ruby_lib/blob/
|
2402
|
+
##### [complex_finds_contains](https://github.com/appium/ruby_lib/blob/499e824668f63958c2fe047b76841612f74d2c1c/lib/appium_lib/android/uiautomator2/helper.rb#L56) android
|
2371
2403
|
|
2372
2404
|
> def complex_finds_contains(class_name, value)
|
2373
2405
|
|
@@ -2385,7 +2417,7 @@ __Returns:__
|
|
2385
2417
|
|
2386
2418
|
--
|
2387
2419
|
|
2388
|
-
##### [complex_find_exact](https://github.com/appium/ruby_lib/blob/
|
2420
|
+
##### [complex_find_exact](https://github.com/appium/ruby_lib/blob/499e824668f63958c2fe047b76841612f74d2c1c/lib/appium_lib/android/uiautomator2/helper.rb#L84) android
|
2389
2421
|
|
2390
2422
|
> def complex_find_exact(class_name, value)
|
2391
2423
|
|
@@ -2403,7 +2435,7 @@ __Returns:__
|
|
2403
2435
|
|
2404
2436
|
--
|
2405
2437
|
|
2406
|
-
##### [complex_finds_exact](https://github.com/appium/ruby_lib/blob/
|
2438
|
+
##### [complex_finds_exact](https://github.com/appium/ruby_lib/blob/499e824668f63958c2fe047b76841612f74d2c1c/lib/appium_lib/android/uiautomator2/helper.rb#L95) android
|
2407
2439
|
|
2408
2440
|
> def complex_finds_exact(class_name, value)
|
2409
2441
|
|
@@ -2421,7 +2453,7 @@ __Returns:__
|
|
2421
2453
|
|
2422
2454
|
--
|
2423
2455
|
|
2424
|
-
##### [shell](https://github.com/appium/ruby_lib/blob/
|
2456
|
+
##### [shell](https://github.com/appium/ruby_lib/blob/499e824668f63958c2fe047b76841612f74d2c1c/lib/appium_lib/android/common/command/command.rb#L28) android
|
2425
2457
|
|
2426
2458
|
> def shell(command, arguments)
|
2427
2459
|
|
@@ -2436,7 +2468,7 @@ __Parameters:__
|
|
2436
2468
|
|
2437
2469
|
--
|
2438
2470
|
|
2439
|
-
##### [start_logs_broadcast](https://github.com/appium/ruby_lib/blob/
|
2471
|
+
##### [start_logs_broadcast](https://github.com/appium/ruby_lib/blob/499e824668f63958c2fe047b76841612f74d2c1c/lib/appium_lib/android/common/command/command.rb#L42) android
|
2440
2472
|
|
2441
2473
|
> def start_logs_broadcast(logcat_file = 'logcat.log')
|
2442
2474
|
|
@@ -2448,7 +2480,7 @@ __Parameters:__
|
|
2448
2480
|
|
2449
2481
|
--
|
2450
2482
|
|
2451
|
-
##### [stop_logs_broadcast](https://github.com/appium/ruby_lib/blob/
|
2483
|
+
##### [stop_logs_broadcast](https://github.com/appium/ruby_lib/blob/499e824668f63958c2fe047b76841612f74d2c1c/lib/appium_lib/android/common/command/command.rb#L55) android
|
2452
2484
|
|
2453
2485
|
> def stop_logs_broadcast
|
2454
2486
|
|
@@ -2456,7 +2488,7 @@ Stop Android logcat broadcast websocket
|
|
2456
2488
|
|
2457
2489
|
--
|
2458
2490
|
|
2459
|
-
##### [button](https://github.com/appium/ruby_lib/blob/
|
2491
|
+
##### [button](https://github.com/appium/ruby_lib/blob/499e824668f63958c2fe047b76841612f74d2c1c/lib/appium_lib/android/espresso/element/button.rb#L23) android
|
2460
2492
|
|
2461
2493
|
> def button(value)
|
2462
2494
|
|
@@ -2473,7 +2505,7 @@ __Returns:__
|
|
2473
2505
|
|
2474
2506
|
--
|
2475
2507
|
|
2476
|
-
##### [buttons](https://github.com/appium/ruby_lib/blob/
|
2508
|
+
##### [buttons](https://github.com/appium/ruby_lib/blob/499e824668f63958c2fe047b76841612f74d2c1c/lib/appium_lib/android/espresso/element/button.rb#L46) android
|
2477
2509
|
|
2478
2510
|
> def buttons(value = false)
|
2479
2511
|
|
@@ -2490,7 +2522,7 @@ __Returns:__
|
|
2490
2522
|
|
2491
2523
|
--
|
2492
2524
|
|
2493
|
-
##### [first_button](https://github.com/appium/ruby_lib/blob/
|
2525
|
+
##### [first_button](https://github.com/appium/ruby_lib/blob/499e824668f63958c2fe047b76841612f74d2c1c/lib/appium_lib/android/espresso/element/button.rb#L56) android
|
2494
2526
|
|
2495
2527
|
> def first_button
|
2496
2528
|
|
@@ -2502,7 +2534,7 @@ __Returns:__
|
|
2502
2534
|
|
2503
2535
|
--
|
2504
2536
|
|
2505
|
-
##### [last_button](https://github.com/appium/ruby_lib/blob/
|
2537
|
+
##### [last_button](https://github.com/appium/ruby_lib/blob/499e824668f63958c2fe047b76841612f74d2c1c/lib/appium_lib/android/espresso/element/button.rb#L62) android
|
2506
2538
|
|
2507
2539
|
> def last_button
|
2508
2540
|
|
@@ -2514,7 +2546,7 @@ __Returns:__
|
|
2514
2546
|
|
2515
2547
|
--
|
2516
2548
|
|
2517
|
-
##### [button_exact](https://github.com/appium/ruby_lib/blob/
|
2549
|
+
##### [button_exact](https://github.com/appium/ruby_lib/blob/499e824668f63958c2fe047b76841612f74d2c1c/lib/appium_lib/android/espresso/element/button.rb#L77) android
|
2518
2550
|
|
2519
2551
|
> def button_exact(value)
|
2520
2552
|
|
@@ -2530,7 +2562,7 @@ __Returns:__
|
|
2530
2562
|
|
2531
2563
|
--
|
2532
2564
|
|
2533
|
-
##### [buttons_exact](https://github.com/appium/ruby_lib/blob/
|
2565
|
+
##### [buttons_exact](https://github.com/appium/ruby_lib/blob/499e824668f63958c2fe047b76841612f74d2c1c/lib/appium_lib/android/espresso/element/button.rb#L89) android
|
2534
2566
|
|
2535
2567
|
> def buttons_exact(value)
|
2536
2568
|
|
@@ -2546,7 +2578,7 @@ __Returns:__
|
|
2546
2578
|
|
2547
2579
|
--
|
2548
2580
|
|
2549
|
-
##### [_button_visible_selectors_xpath](https://github.com/appium/ruby_lib/blob/
|
2581
|
+
##### [_button_visible_selectors_xpath](https://github.com/appium/ruby_lib/blob/499e824668f63958c2fe047b76841612f74d2c1c/lib/appium_lib/android/espresso/element/button.rb#L104) android
|
2550
2582
|
|
2551
2583
|
> def _button_visible_selectors_xpath(opts = {})
|
2552
2584
|
|
@@ -2554,7 +2586,7 @@ __Returns:__
|
|
2554
2586
|
|
2555
2587
|
--
|
2556
2588
|
|
2557
|
-
##### [_button_exact_string_xpath](https://github.com/appium/ruby_lib/blob/
|
2589
|
+
##### [_button_exact_string_xpath](https://github.com/appium/ruby_lib/blob/499e824668f63958c2fe047b76841612f74d2c1c/lib/appium_lib/android/espresso/element/button.rb#L125) android
|
2558
2590
|
|
2559
2591
|
> def _button_exact_string_xpath(class_name, value)
|
2560
2592
|
|
@@ -2562,7 +2594,7 @@ __Returns:__
|
|
2562
2594
|
|
2563
2595
|
--
|
2564
2596
|
|
2565
|
-
##### [_button_contains_string_xpath](https://github.com/appium/ruby_lib/blob/
|
2597
|
+
##### [_button_contains_string_xpath](https://github.com/appium/ruby_lib/blob/499e824668f63958c2fe047b76841612f74d2c1c/lib/appium_lib/android/espresso/element/button.rb#L130) android
|
2566
2598
|
|
2567
2599
|
> def _button_contains_string_xpath(class_name, value)
|
2568
2600
|
|
@@ -2570,7 +2602,7 @@ __Returns:__
|
|
2570
2602
|
|
2571
2603
|
--
|
2572
2604
|
|
2573
|
-
##### [scroll_to](https://github.com/appium/ruby_lib/blob/
|
2605
|
+
##### [scroll_to](https://github.com/appium/ruby_lib/blob/499e824668f63958c2fe047b76841612f74d2c1c/lib/appium_lib/android/espresso/element/generic.rb#L23) android
|
2574
2606
|
|
2575
2607
|
> def scroll_to(text)
|
2576
2608
|
|
@@ -2587,7 +2619,7 @@ __Returns:__
|
|
2587
2619
|
|
2588
2620
|
--
|
2589
2621
|
|
2590
|
-
##### [scroll_to_exact](https://github.com/appium/ruby_lib/blob/
|
2622
|
+
##### [scroll_to_exact](https://github.com/appium/ruby_lib/blob/499e824668f63958c2fe047b76841612f74d2c1c/lib/appium_lib/android/espresso/element/generic.rb#L50) android
|
2591
2623
|
|
2592
2624
|
> def scroll_to_exact(text)
|
2593
2625
|
|
@@ -2604,7 +2636,7 @@ __Returns:__
|
|
2604
2636
|
|
2605
2637
|
--
|
2606
2638
|
|
2607
|
-
##### [button](https://github.com/appium/ruby_lib/blob/
|
2639
|
+
##### [button](https://github.com/appium/ruby_lib/blob/499e824668f63958c2fe047b76841612f74d2c1c/lib/appium_lib/android/uiautomator2/element/button.rb#L23) android
|
2608
2640
|
|
2609
2641
|
> def button(value)
|
2610
2642
|
|
@@ -2621,7 +2653,7 @@ __Returns:__
|
|
2621
2653
|
|
2622
2654
|
--
|
2623
2655
|
|
2624
|
-
##### [buttons](https://github.com/appium/ruby_lib/blob/
|
2656
|
+
##### [buttons](https://github.com/appium/ruby_lib/blob/499e824668f63958c2fe047b76841612f74d2c1c/lib/appium_lib/android/uiautomator2/element/button.rb#L44) android
|
2625
2657
|
|
2626
2658
|
> def buttons(value = false)
|
2627
2659
|
|
@@ -2638,7 +2670,7 @@ __Returns:__
|
|
2638
2670
|
|
2639
2671
|
--
|
2640
2672
|
|
2641
|
-
##### [first_button](https://github.com/appium/ruby_lib/blob/
|
2673
|
+
##### [first_button](https://github.com/appium/ruby_lib/blob/499e824668f63958c2fe047b76841612f74d2c1c/lib/appium_lib/android/uiautomator2/element/button.rb#L52) android
|
2642
2674
|
|
2643
2675
|
> def first_button
|
2644
2676
|
|
@@ -2650,7 +2682,7 @@ __Returns:__
|
|
2650
2682
|
|
2651
2683
|
--
|
2652
2684
|
|
2653
|
-
##### [last_button](https://github.com/appium/ruby_lib/blob/
|
2685
|
+
##### [last_button](https://github.com/appium/ruby_lib/blob/499e824668f63958c2fe047b76841612f74d2c1c/lib/appium_lib/android/uiautomator2/element/button.rb#L59) android
|
2654
2686
|
|
2655
2687
|
> def last_button
|
2656
2688
|
|
@@ -2662,7 +2694,7 @@ __Returns:__
|
|
2662
2694
|
|
2663
2695
|
--
|
2664
2696
|
|
2665
|
-
##### [button_exact](https://github.com/appium/ruby_lib/blob/
|
2697
|
+
##### [button_exact](https://github.com/appium/ruby_lib/blob/499e824668f63958c2fe047b76841612f74d2c1c/lib/appium_lib/android/uiautomator2/element/button.rb#L76) android
|
2666
2698
|
|
2667
2699
|
> def button_exact(value)
|
2668
2700
|
|
@@ -2678,7 +2710,7 @@ __Returns:__
|
|
2678
2710
|
|
2679
2711
|
--
|
2680
2712
|
|
2681
|
-
##### [buttons_exact](https://github.com/appium/ruby_lib/blob/
|
2713
|
+
##### [buttons_exact](https://github.com/appium/ruby_lib/blob/499e824668f63958c2fe047b76841612f74d2c1c/lib/appium_lib/android/uiautomator2/element/button.rb#L84) android
|
2682
2714
|
|
2683
2715
|
> def buttons_exact(value)
|
2684
2716
|
|