appium_lib 9.16.1 → 9.17.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +11 -0
- data/appium_lib.gemspec +3 -3
- data/docs/android_docs.md +198 -194
- data/docs/ios_docs.md +258 -254
- data/lib/appium_lib/common/touch_actions.rb +0 -9
- data/lib/appium_lib/driver.rb +17 -13
- data/lib/appium_lib/version.rb +2 -2
- data/release_notes.md +8 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ffe18fdb0b5e8d72e83396936a2814eaf189d969
|
4
|
+
data.tar.gz: d7591d124a57ce33e9cb7bc74060317a5aeef9d0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8646335d15b8c8e988a7f547ce05df0098040bc7aeb582e50dbf31264b8951976dd3256ce8f7e7a278c03e79c4ac9025ea952370fa44180abaedb23e0289ad90
|
7
|
+
data.tar.gz: df3690ead5edf4881a490b75adfa7601645f1b5c37a0eb215d709ea4e047a47c82afb5e67ee7ddd4f5d53102d8bf6c09a4b2d9e146c6a2baa994046e374c0c33
|
data/CHANGELOG.md
CHANGED
@@ -10,6 +10,17 @@ Release tags are https://github.com/appium/ruby_lib/releases .
|
|
10
10
|
|
11
11
|
### 3. Deprecations
|
12
12
|
|
13
|
+
## v9.17.0
|
14
|
+
### 1. Enhancements
|
15
|
+
- Add `action` wrapping _ruby_lib_core_ for [W3C actions](https://github.com/appium/ruby_lib_core/blob/master/lib/appium_lib_core/common/base/bridge/w3c.rb#L39)
|
16
|
+
- Returns `TouchAction.new` if the driver works as _MJSONWP_
|
17
|
+
|
18
|
+
### 2. Bug fixes
|
19
|
+
|
20
|
+
### 3. Deprecations
|
21
|
+
- `:offset_x` and `:offset_y` in `TouchAction#swipe` is deprecated in favor of `:end_x` and `:end_y`
|
22
|
+
- [internal] Remove `check_server_version_xcuitest`
|
23
|
+
|
13
24
|
## v9.16.1
|
14
25
|
### 1. Enhancements
|
15
26
|
|
data/appium_lib.gemspec
CHANGED
@@ -7,8 +7,8 @@ Gem::Specification.new do |s|
|
|
7
7
|
s.version = Appium::VERSION
|
8
8
|
s.date = Appium::DATE
|
9
9
|
s.license = 'Apache-2.0'
|
10
|
-
s.description =
|
11
|
-
s.
|
10
|
+
s.description = 'Ruby library for Appium.'
|
11
|
+
s.summary = 'Ruby library for Appium'
|
12
12
|
s.authors = ['code@bootstraponline.com', 'Kazuaki Matsuo']
|
13
13
|
s.email = %w(code@bootstraponline.com fly.49.89.over@gmail.com)
|
14
14
|
s.homepage = 'https://github.com/appium/ruby_lib' # published as appium_lib
|
@@ -28,5 +28,5 @@ Gem::Specification.new do |s|
|
|
28
28
|
s.add_development_dependency 'spec', '~> 5.3', '>= 5.3.4'
|
29
29
|
s.add_development_dependency 'yard', '~> 0.9.11'
|
30
30
|
|
31
|
-
s.files = `git ls-files`.split("\n").reject { |v| v.match
|
31
|
+
s.files = `git ls-files`.split("\n").reject { |v| v.match(/\A^(ios_tests|android_tests|grid|test_apps)\/.+/) }
|
32
32
|
end
|
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/84f71e47b86a2f7a1de71c13888adce68622a35b/lib/appium_lib/appium.rb#L46) 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/84f71e47b86a2f7a1de71c13888adce68622a35b/lib/appium_lib/appium.rb#L82) 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/84f71e47b86a2f7a1de71c13888adce68622a35b/lib/appium_lib/appium.rb#L87) 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/84f71e47b86a2f7a1de71c13888adce68622a35b/lib/appium_lib/appium.rb#L129) 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/84f71e47b86a2f7a1de71c13888adce68622a35b/lib/appium_lib/appium.rb#L185) 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/84f71e47b86a2f7a1de71c13888adce68622a35b/lib/appium_lib/driver.rb#L35) 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/84f71e47b86a2f7a1de71c13888adce68622a35b/lib/appium_lib/driver.rb#L35) 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/84f71e47b86a2f7a1de71c13888adce68622a35b/lib/appium_lib/driver.rb#L38) 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/84f71e47b86a2f7a1de71c13888adce68622a35b/lib/appium_lib/driver.rb#L41) 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/84f71e47b86a2f7a1de71c13888adce68622a35b/lib/appium_lib/driver.rb#L44) 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/84f71e47b86a2f7a1de71c13888adce68622a35b/lib/appium_lib/driver.rb#L47) 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/84f71e47b86a2f7a1de71c13888adce68622a35b/lib/appium_lib/driver.rb#L51) 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/84f71e47b86a2f7a1de71c13888adce68622a35b/lib/appium_lib/driver.rb#L52) 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/84f71e47b86a2f7a1de71c13888adce68622a35b/lib/appium_lib/driver.rb#L53) 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/84f71e47b86a2f7a1de71c13888adce68622a35b/lib/appium_lib/driver.rb#L54) 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/84f71e47b86a2f7a1de71c13888adce68622a35b/lib/appium_lib/driver.rb#L55) 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/84f71e47b86a2f7a1de71c13888adce68622a35b/lib/appium_lib/driver.rb#L56) 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/84f71e47b86a2f7a1de71c13888adce68622a35b/lib/appium_lib/driver.rb#L57) 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/84f71e47b86a2f7a1de71c13888adce68622a35b/lib/appium_lib/driver.rb#L58) 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/84f71e47b86a2f7a1de71c13888adce68622a35b/lib/appium_lib/driver.rb#L59) 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/84f71e47b86a2f7a1de71c13888adce68622a35b/lib/appium_lib/driver.rb#L60) 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/84f71e47b86a2f7a1de71c13888adce68622a35b/lib/appium_lib/driver.rb#L61) 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/84f71e47b86a2f7a1de71c13888adce68622a35b/lib/appium_lib/driver.rb#L62) 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/84f71e47b86a2f7a1de71c13888adce68622a35b/lib/appium_lib/driver.rb#L65) 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/84f71e47b86a2f7a1de71c13888adce68622a35b/lib/appium_lib/driver.rb#L67) 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/84f71e47b86a2f7a1de71c13888adce68622a35b/lib/appium_lib/driver.rb#L70) 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/84f71e47b86a2f7a1de71c13888adce68622a35b/lib/appium_lib/driver.rb#L72) 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/84f71e47b86a2f7a1de71c13888adce68622a35b/lib/appium_lib/driver.rb#L140) 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/84f71e47b86a2f7a1de71c13888adce68622a35b/lib/appium_lib/driver.rb#L254) 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/84f71e47b86a2f7a1de71c13888adce68622a35b/lib/appium_lib/driver.rb#L276) 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/84f71e47b86a2f7a1de71c13888adce68622a35b/lib/appium_lib/driver.rb#L280) 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/84f71e47b86a2f7a1de71c13888adce68622a35b/lib/appium_lib/driver.rb#L284) 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/84f71e47b86a2f7a1de71c13888adce68622a35b/lib/appium_lib/driver.rb#L290) 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/84f71e47b86a2f7a1de71c13888adce68622a35b/lib/appium_lib/driver.rb#L296) 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/84f71e47b86a2f7a1de71c13888adce68622a35b/lib/appium_lib/driver.rb#L302) 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/84f71e47b86a2f7a1de71c13888adce68622a35b/lib/appium_lib/driver.rb#L322) common
|
403
403
|
|
404
404
|
> def dialect
|
405
405
|
|
@@ -421,20 +421,24 @@ __Returns:__
|
|
421
421
|
|
422
422
|
--
|
423
423
|
|
424
|
-
##### [
|
424
|
+
##### [action](https://github.com/appium/ruby_lib/blob/84f71e47b86a2f7a1de71c13888adce68622a35b/lib/appium_lib/driver.rb#L337) common
|
425
425
|
|
426
|
-
> def
|
426
|
+
> def action(async = false)
|
427
427
|
|
428
|
-
|
429
|
-
|
428
|
+
An entry point to chain W3C actions. Returns `TouchAction.new` if it works as MJSONWP instead of W3C action.
|
429
|
+
Read https://www.rubydoc.info/github/appium/ruby_lib_core/Appium/Core/Base/Bridge/W3C#action-instance_method
|
430
|
+
|
431
|
+
__Parameters:__
|
432
|
+
|
433
|
+
[bool] async - Run actions async
|
430
434
|
|
431
435
|
__Returns:__
|
432
436
|
|
433
|
-
[
|
437
|
+
[TouchAction|Selenium::WebDriver::PointerActions]
|
434
438
|
|
435
439
|
--
|
436
440
|
|
437
|
-
##### [appium_server_version](https://github.com/appium/ruby_lib/blob/
|
441
|
+
##### [appium_server_version](https://github.com/appium/ruby_lib/blob/84f71e47b86a2f7a1de71c13888adce68622a35b/lib/appium_lib/driver.rb#L357) common
|
438
442
|
|
439
443
|
> def appium_server_version
|
440
444
|
|
@@ -446,7 +450,7 @@ __Returns:__
|
|
446
450
|
|
447
451
|
--
|
448
452
|
|
449
|
-
##### [remote_status](https://github.com/appium/ruby_lib/blob/
|
453
|
+
##### [remote_status](https://github.com/appium/ruby_lib/blob/84f71e47b86a2f7a1de71c13888adce68622a35b/lib/appium_lib/driver.rb#L365) common
|
450
454
|
|
451
455
|
> def appium_server_version
|
452
456
|
|
@@ -458,7 +462,7 @@ __Returns:__
|
|
458
462
|
|
459
463
|
--
|
460
464
|
|
461
|
-
##### [platform_version](https://github.com/appium/ruby_lib/blob/
|
465
|
+
##### [platform_version](https://github.com/appium/ruby_lib/blob/84f71e47b86a2f7a1de71c13888adce68622a35b/lib/appium_lib/driver.rb#L369) common
|
462
466
|
|
463
467
|
> def platform_version
|
464
468
|
|
@@ -470,7 +474,7 @@ __Returns:__
|
|
470
474
|
|
471
475
|
--
|
472
476
|
|
473
|
-
##### [appium_client_version](https://github.com/appium/ruby_lib/blob/
|
477
|
+
##### [appium_client_version](https://github.com/appium/ruby_lib/blob/84f71e47b86a2f7a1de71c13888adce68622a35b/lib/appium_lib/driver.rb#L382) common
|
474
478
|
|
475
479
|
> def appium_client_version
|
476
480
|
|
@@ -482,7 +486,7 @@ __Returns:__
|
|
482
486
|
|
483
487
|
--
|
484
488
|
|
485
|
-
##### [absolute_app_path](https://github.com/appium/ruby_lib/blob/
|
489
|
+
##### [absolute_app_path](https://github.com/appium/ruby_lib/blob/84f71e47b86a2f7a1de71c13888adce68622a35b/lib/appium_lib/driver.rb#L394) common
|
486
490
|
|
487
491
|
> def self.absolute_app_path(opts)
|
488
492
|
|
@@ -499,7 +503,7 @@ __Returns:__
|
|
499
503
|
|
500
504
|
--
|
501
505
|
|
502
|
-
##### [server_url](https://github.com/appium/ruby_lib/blob/
|
506
|
+
##### [server_url](https://github.com/appium/ruby_lib/blob/84f71e47b86a2f7a1de71c13888adce68622a35b/lib/appium_lib/driver.rb#L417) common
|
503
507
|
|
504
508
|
> def server_url
|
505
509
|
|
@@ -511,7 +515,7 @@ __Returns:__
|
|
511
515
|
|
512
516
|
--
|
513
517
|
|
514
|
-
##### [restart](https://github.com/appium/ruby_lib/blob/
|
518
|
+
##### [restart](https://github.com/appium/ruby_lib/blob/84f71e47b86a2f7a1de71c13888adce68622a35b/lib/appium_lib/driver.rb#L426) common
|
515
519
|
|
516
520
|
> def restart
|
517
521
|
|
@@ -523,7 +527,7 @@ __Returns:__
|
|
523
527
|
|
524
528
|
--
|
525
529
|
|
526
|
-
##### [screenshot](https://github.com/appium/ruby_lib/blob/
|
530
|
+
##### [screenshot](https://github.com/appium/ruby_lib/blob/84f71e47b86a2f7a1de71c13888adce68622a35b/lib/appium_lib/driver.rb#L439) common
|
527
531
|
|
528
532
|
> def screenshot(png_save_path)
|
529
533
|
|
@@ -539,7 +543,7 @@ __Returns:__
|
|
539
543
|
|
540
544
|
--
|
541
545
|
|
542
|
-
##### [element_screenshot](https://github.com/appium/ruby_lib/blob/
|
546
|
+
##### [element_screenshot](https://github.com/appium/ruby_lib/blob/84f71e47b86a2f7a1de71c13888adce68622a35b/lib/appium_lib/driver.rb#L453) common
|
543
547
|
|
544
548
|
> def element_screenshot(element, png_save_path)
|
545
549
|
|
@@ -557,7 +561,7 @@ __Returns:__
|
|
557
561
|
|
558
562
|
--
|
559
563
|
|
560
|
-
##### [driver_quit](https://github.com/appium/ruby_lib/blob/
|
564
|
+
##### [driver_quit](https://github.com/appium/ruby_lib/blob/84f71e47b86a2f7a1de71c13888adce68622a35b/lib/appium_lib/driver.rb#L460) common
|
561
565
|
|
562
566
|
> def driver_quit
|
563
567
|
|
@@ -569,7 +573,7 @@ __Returns:__
|
|
569
573
|
|
570
574
|
--
|
571
575
|
|
572
|
-
##### [quit_driver](https://github.com/appium/ruby_lib/blob/
|
576
|
+
##### [quit_driver](https://github.com/appium/ruby_lib/blob/84f71e47b86a2f7a1de71c13888adce68622a35b/lib/appium_lib/driver.rb#L463) common
|
573
577
|
|
574
578
|
> def driver_quit
|
575
579
|
|
@@ -581,7 +585,7 @@ __Returns:__
|
|
581
585
|
|
582
586
|
--
|
583
587
|
|
584
|
-
##### [window_size](https://github.com/appium/ruby_lib/blob/
|
588
|
+
##### [window_size](https://github.com/appium/ruby_lib/blob/84f71e47b86a2f7a1de71c13888adce68622a35b/lib/appium_lib/driver.rb#L474) common
|
585
589
|
|
586
590
|
> def window_size
|
587
591
|
|
@@ -593,7 +597,7 @@ __Returns:__
|
|
593
597
|
|
594
598
|
--
|
595
599
|
|
596
|
-
##### [start_driver](https://github.com/appium/ruby_lib/blob/
|
600
|
+
##### [start_driver](https://github.com/appium/ruby_lib/blob/84f71e47b86a2f7a1de71c13888adce68622a35b/lib/appium_lib/driver.rb#L507) common
|
597
601
|
|
598
602
|
> def start_driver(http_client_ops =
|
599
603
|
|
@@ -613,7 +617,7 @@ __Returns:__
|
|
613
617
|
|
614
618
|
--
|
615
619
|
|
616
|
-
##### [set_implicit_wait](https://github.com/appium/ruby_lib/blob/
|
620
|
+
##### [set_implicit_wait](https://github.com/appium/ruby_lib/blob/84f71e47b86a2f7a1de71c13888adce68622a35b/lib/appium_lib/driver.rb#L528) common
|
617
621
|
|
618
622
|
> def set_implicit_wait(wait)
|
619
623
|
|
@@ -621,7 +625,7 @@ To ignore error for Espresso Driver
|
|
621
625
|
|
622
626
|
--
|
623
627
|
|
624
|
-
##### [no_wait](https://github.com/appium/ruby_lib/blob/
|
628
|
+
##### [no_wait](https://github.com/appium/ruby_lib/blob/84f71e47b86a2f7a1de71c13888adce68622a35b/lib/appium_lib/driver.rb#L539) common
|
625
629
|
|
626
630
|
> def no_wait
|
627
631
|
|
@@ -629,7 +633,7 @@ Set implicit wait to zero.
|
|
629
633
|
|
630
634
|
--
|
631
635
|
|
632
|
-
##### [set_wait](https://github.com/appium/ruby_lib/blob/
|
636
|
+
##### [set_wait](https://github.com/appium/ruby_lib/blob/84f71e47b86a2f7a1de71c13888adce68622a35b/lib/appium_lib/driver.rb#L553) common
|
633
637
|
|
634
638
|
> def set_wait(timeout = nil)
|
635
639
|
|
@@ -645,7 +649,7 @@ __Returns:__
|
|
645
649
|
|
646
650
|
--
|
647
651
|
|
648
|
-
##### [exists](https://github.com/appium/ruby_lib/blob/
|
652
|
+
##### [exists](https://github.com/appium/ruby_lib/blob/84f71e47b86a2f7a1de71c13888adce68622a35b/lib/appium_lib/driver.rb#L570) common
|
649
653
|
|
650
654
|
> def exists(pre_check = 0, post_check = @core.default_wait)
|
651
655
|
|
@@ -669,7 +673,7 @@ __Returns:__
|
|
669
673
|
|
670
674
|
--
|
671
675
|
|
672
|
-
##### [execute_script](https://github.com/appium/ruby_lib/blob/
|
676
|
+
##### [execute_script](https://github.com/appium/ruby_lib/blob/84f71e47b86a2f7a1de71c13888adce68622a35b/lib/appium_lib/driver.rb#L594) common
|
673
677
|
|
674
678
|
> def execute_script(script, *args)
|
675
679
|
|
@@ -687,7 +691,7 @@ __Returns:__
|
|
687
691
|
|
688
692
|
--
|
689
693
|
|
690
|
-
##### [execute_async_script](https://github.com/appium/ruby_lib/blob/
|
694
|
+
##### [execute_async_script](https://github.com/appium/ruby_lib/blob/84f71e47b86a2f7a1de71c13888adce68622a35b/lib/appium_lib/driver.rb#L602) common
|
691
695
|
|
692
696
|
> def execute_async_script(script, *args)
|
693
697
|
|
@@ -697,7 +701,7 @@ Get the window handles of open browser windows
|
|
697
701
|
|
698
702
|
--
|
699
703
|
|
700
|
-
##### [window_handles](https://github.com/appium/ruby_lib/blob/
|
704
|
+
##### [window_handles](https://github.com/appium/ruby_lib/blob/84f71e47b86a2f7a1de71c13888adce68622a35b/lib/appium_lib/driver.rb#L606) common
|
701
705
|
|
702
706
|
> def window_handles
|
703
707
|
|
@@ -705,7 +709,7 @@ Get the window handles of open browser windows
|
|
705
709
|
|
706
710
|
--
|
707
711
|
|
708
|
-
##### [window_handle](https://github.com/appium/ruby_lib/blob/
|
712
|
+
##### [window_handle](https://github.com/appium/ruby_lib/blob/84f71e47b86a2f7a1de71c13888adce68622a35b/lib/appium_lib/driver.rb#L611) common
|
709
713
|
|
710
714
|
> def window_handle
|
711
715
|
|
@@ -713,7 +717,7 @@ Get the current window handle
|
|
713
717
|
|
714
718
|
--
|
715
719
|
|
716
|
-
##### [navigate](https://github.com/appium/ruby_lib/blob/
|
720
|
+
##### [navigate](https://github.com/appium/ruby_lib/blob/84f71e47b86a2f7a1de71c13888adce68622a35b/lib/appium_lib/driver.rb#L615) common
|
717
721
|
|
718
722
|
> def navigate
|
719
723
|
|
@@ -721,7 +725,7 @@ Get the current window handle
|
|
721
725
|
|
722
726
|
--
|
723
727
|
|
724
|
-
##### [manage](https://github.com/appium/ruby_lib/blob/
|
728
|
+
##### [manage](https://github.com/appium/ruby_lib/blob/84f71e47b86a2f7a1de71c13888adce68622a35b/lib/appium_lib/driver.rb#L619) common
|
725
729
|
|
726
730
|
> def manage
|
727
731
|
|
@@ -729,7 +733,7 @@ Get the current window handle
|
|
729
733
|
|
730
734
|
--
|
731
735
|
|
732
|
-
##### [get](https://github.com/appium/ruby_lib/blob/
|
736
|
+
##### [get](https://github.com/appium/ruby_lib/blob/84f71e47b86a2f7a1de71c13888adce68622a35b/lib/appium_lib/driver.rb#L623) common
|
733
737
|
|
734
738
|
> def get(url)
|
735
739
|
|
@@ -737,7 +741,7 @@ Get the current window handle
|
|
737
741
|
|
738
742
|
--
|
739
743
|
|
740
|
-
##### [current_url](https://github.com/appium/ruby_lib/blob/
|
744
|
+
##### [current_url](https://github.com/appium/ruby_lib/blob/84f71e47b86a2f7a1de71c13888adce68622a35b/lib/appium_lib/driver.rb#L627) common
|
741
745
|
|
742
746
|
> def current_url
|
743
747
|
|
@@ -745,7 +749,7 @@ Get the current window handle
|
|
745
749
|
|
746
750
|
--
|
747
751
|
|
748
|
-
##### [title](https://github.com/appium/ruby_lib/blob/
|
752
|
+
##### [title](https://github.com/appium/ruby_lib/blob/84f71e47b86a2f7a1de71c13888adce68622a35b/lib/appium_lib/driver.rb#L631) common
|
749
753
|
|
750
754
|
> def title
|
751
755
|
|
@@ -753,7 +757,7 @@ Get the current window handle
|
|
753
757
|
|
754
758
|
--
|
755
759
|
|
756
|
-
##### [switch_to](https://github.com/appium/ruby_lib/blob/
|
760
|
+
##### [switch_to](https://github.com/appium/ruby_lib/blob/84f71e47b86a2f7a1de71c13888adce68622a35b/lib/appium_lib/driver.rb#L637) common
|
757
761
|
|
758
762
|
> def switch_to
|
759
763
|
|
@@ -765,7 +769,7 @@ __Returns:__
|
|
765
769
|
|
766
770
|
--
|
767
771
|
|
768
|
-
##### [find_elements](https://github.com/appium/ruby_lib/blob/
|
772
|
+
##### [find_elements](https://github.com/appium/ruby_lib/blob/84f71e47b86a2f7a1de71c13888adce68622a35b/lib/appium_lib/driver.rb#L664) common
|
769
773
|
|
770
774
|
> def find_elements(*args)
|
771
775
|
|
@@ -785,7 +789,7 @@ __Returns:__
|
|
785
789
|
|
786
790
|
--
|
787
791
|
|
788
|
-
##### [find_element](https://github.com/appium/ruby_lib/blob/
|
792
|
+
##### [find_element](https://github.com/appium/ruby_lib/blob/84f71e47b86a2f7a1de71c13888adce68622a35b/lib/appium_lib/driver.rb#L680) common
|
789
793
|
|
790
794
|
> def find_element(*args)
|
791
795
|
|
@@ -803,7 +807,7 @@ __Returns:__
|
|
803
807
|
|
804
808
|
--
|
805
809
|
|
806
|
-
##### [DEFAULT_MATCH_THRESHOLD](https://github.com/appium/ruby_lib/blob/
|
810
|
+
##### [DEFAULT_MATCH_THRESHOLD](https://github.com/appium/ruby_lib/blob/84f71e47b86a2f7a1de71c13888adce68622a35b/lib/appium_lib/driver.rb#L698) common
|
807
811
|
|
808
812
|
> DEFAULT_MATCH_THRESHOLD = 0.5
|
809
813
|
|
@@ -824,7 +828,7 @@ __Returns:__
|
|
824
828
|
|
825
829
|
--
|
826
830
|
|
827
|
-
##### [find_element_by_image](https://github.com/appium/ruby_lib/blob/
|
831
|
+
##### [find_element_by_image](https://github.com/appium/ruby_lib/blob/84f71e47b86a2f7a1de71c13888adce68622a35b/lib/appium_lib/driver.rb#L699) common
|
828
832
|
|
829
833
|
> def find_element_by_image(png_img_path, match_threshold: DEFAULT_MATCH_THRESHOLD, visualize: false)
|
830
834
|
|
@@ -832,7 +836,7 @@ __Returns:__
|
|
832
836
|
|
833
837
|
--
|
834
838
|
|
835
|
-
##### [find_elements_by_image](https://github.com/appium/ruby_lib/blob/
|
839
|
+
##### [find_elements_by_image](https://github.com/appium/ruby_lib/blob/84f71e47b86a2f7a1de71c13888adce68622a35b/lib/appium_lib/driver.rb#L717) common
|
836
840
|
|
837
841
|
> def find_elements_by_image(png_img_paths, match_threshold: DEFAULT_MATCH_THRESHOLD, visualize: false)
|
838
842
|
|
@@ -853,7 +857,7 @@ __Returns:__
|
|
853
857
|
|
854
858
|
--
|
855
859
|
|
856
|
-
##### [set_location](https://github.com/appium/ruby_lib/blob/
|
860
|
+
##### [set_location](https://github.com/appium/ruby_lib/blob/84f71e47b86a2f7a1de71c13888adce68622a35b/lib/appium_lib/driver.rb#L730) common
|
857
861
|
|
858
862
|
> def set_location(opts = {})
|
859
863
|
|
@@ -869,7 +873,7 @@ __Returns:__
|
|
869
873
|
|
870
874
|
--
|
871
875
|
|
872
|
-
##### [x](https://github.com/appium/ruby_lib/blob/
|
876
|
+
##### [x](https://github.com/appium/ruby_lib/blob/84f71e47b86a2f7a1de71c13888adce68622a35b/lib/appium_lib/driver.rb#L740) common
|
873
877
|
|
874
878
|
> def x
|
875
879
|
|
@@ -882,7 +886,7 @@ __Returns:__
|
|
882
886
|
|
883
887
|
--
|
884
888
|
|
885
|
-
##### [username](https://github.com/appium/ruby_lib/blob/
|
889
|
+
##### [username](https://github.com/appium/ruby_lib/blob/84f71e47b86a2f7a1de71c13888adce68622a35b/lib/appium_lib/sauce_labs.rb#L4) common
|
886
890
|
|
887
891
|
> def username
|
888
892
|
|
@@ -890,7 +894,7 @@ Username for use on Sauce Labs. Set `false` to disable Sauce, even when SAUCE_US
|
|
890
894
|
|
891
895
|
--
|
892
896
|
|
893
|
-
##### [access_key](https://github.com/appium/ruby_lib/blob/
|
897
|
+
##### [access_key](https://github.com/appium/ruby_lib/blob/84f71e47b86a2f7a1de71c13888adce68622a35b/lib/appium_lib/sauce_labs.rb#L6) common
|
894
898
|
|
895
899
|
> def access_key
|
896
900
|
|
@@ -898,7 +902,7 @@ Access Key for use on Sauce Labs. Set `false` to disable Sauce, even when SAUCE_
|
|
898
902
|
|
899
903
|
--
|
900
904
|
|
901
|
-
##### [endpoint](https://github.com/appium/ruby_lib/blob/
|
905
|
+
##### [endpoint](https://github.com/appium/ruby_lib/blob/84f71e47b86a2f7a1de71c13888adce68622a35b/lib/appium_lib/sauce_labs.rb#L8) common
|
902
906
|
|
903
907
|
> def endpoint
|
904
908
|
|
@@ -906,7 +910,7 @@ Override the Sauce Appium endpoint to allow e.g. TestObject tests. Default is 'o
|
|
906
910
|
|
907
911
|
--
|
908
912
|
|
909
|
-
##### [initialize](https://github.com/appium/ruby_lib/blob/
|
913
|
+
##### [initialize](https://github.com/appium/ruby_lib/blob/84f71e47b86a2f7a1de71c13888adce68622a35b/lib/appium_lib/sauce_labs.rb#L33) common
|
910
914
|
|
911
915
|
> def initialize(appium_lib_opts)
|
912
916
|
|
@@ -922,7 +926,7 @@ __Returns:__
|
|
922
926
|
|
923
927
|
--
|
924
928
|
|
925
|
-
##### [sauce_server_url?](https://github.com/appium/ruby_lib/blob/
|
929
|
+
##### [sauce_server_url?](https://github.com/appium/ruby_lib/blob/84f71e47b86a2f7a1de71c13888adce68622a35b/lib/appium_lib/sauce_labs.rb#L53) common
|
926
930
|
|
927
931
|
> def sauce_server_url?
|
928
932
|
|
@@ -934,7 +938,7 @@ __Returns:__
|
|
934
938
|
|
935
939
|
--
|
936
940
|
|
937
|
-
##### [server_url](https://github.com/appium/ruby_lib/blob/
|
941
|
+
##### [server_url](https://github.com/appium/ruby_lib/blob/84f71e47b86a2f7a1de71c13888adce68622a35b/lib/appium_lib/sauce_labs.rb#L66) common
|
938
942
|
|
939
943
|
> def server_url
|
940
944
|
|
@@ -946,7 +950,7 @@ __Returns:__
|
|
946
950
|
|
947
951
|
--
|
948
952
|
|
949
|
-
##### [get_log](https://github.com/appium/ruby_lib/blob/
|
953
|
+
##### [get_log](https://github.com/appium/ruby_lib/blob/84f71e47b86a2f7a1de71c13888adce68622a35b/lib/appium_lib/common/log.rb#L11) common
|
950
954
|
|
951
955
|
> def get_log(type)
|
952
956
|
|
@@ -962,7 +966,7 @@ __Returns:__
|
|
962
966
|
|
963
967
|
--
|
964
968
|
|
965
|
-
##### [get_available_log_types](https://github.com/appium/ruby_lib/blob/
|
969
|
+
##### [get_available_log_types](https://github.com/appium/ruby_lib/blob/84f71e47b86a2f7a1de71c13888adce68622a35b/lib/appium_lib/common/log.rb#L23) common
|
966
970
|
|
967
971
|
> def get_available_log_types
|
968
972
|
|
@@ -974,7 +978,7 @@ __Returns:__
|
|
974
978
|
|
975
979
|
--
|
976
980
|
|
977
|
-
##### [wait_true](https://github.com/appium/ruby_lib/blob/
|
981
|
+
##### [wait_true](https://github.com/appium/ruby_lib/blob/84f71e47b86a2f7a1de71c13888adce68622a35b/lib/appium_lib/common/wait.rb#L30) common
|
978
982
|
|
979
983
|
> def wait_true(opts = {})
|
980
984
|
|
@@ -994,7 +998,7 @@ __Parameters:__
|
|
994
998
|
|
995
999
|
--
|
996
1000
|
|
997
|
-
##### [wait](https://github.com/appium/ruby_lib/blob/
|
1001
|
+
##### [wait](https://github.com/appium/ruby_lib/blob/84f71e47b86a2f7a1de71c13888adce68622a35b/lib/appium_lib/common/wait.rb#L59) common
|
998
1002
|
|
999
1003
|
> def wait(opts = {})
|
1000
1004
|
|
@@ -1012,7 +1016,7 @@ __Parameters:__
|
|
1012
1016
|
|
1013
1017
|
--
|
1014
1018
|
|
1015
|
-
##### [add_touch_actions](https://github.com/appium/ruby_lib/blob/
|
1019
|
+
##### [add_touch_actions](https://github.com/appium/ruby_lib/blob/84f71e47b86a2f7a1de71c13888adce68622a35b/lib/appium_lib/common/device.rb#L12) common
|
1016
1020
|
|
1017
1021
|
> def add_touch_actions
|
1018
1022
|
|
@@ -1020,7 +1024,7 @@ __Parameters:__
|
|
1020
1024
|
|
1021
1025
|
--
|
1022
1026
|
|
1023
|
-
##### [delegate_from_appium_driver](https://github.com/appium/ruby_lib/blob/
|
1027
|
+
##### [delegate_from_appium_driver](https://github.com/appium/ruby_lib/blob/84f71e47b86a2f7a1de71c13888adce68622a35b/lib/appium_lib/common/device.rb#L24) common
|
1024
1028
|
|
1025
1029
|
> def delegate_from_appium_driver(method, delegation_target)
|
1026
1030
|
|
@@ -1028,7 +1032,7 @@ __Parameters:__
|
|
1028
1032
|
|
1029
1033
|
--
|
1030
1034
|
|
1031
|
-
##### [ignore](https://github.com/appium/ruby_lib/blob/
|
1035
|
+
##### [ignore](https://github.com/appium/ruby_lib/blob/84f71e47b86a2f7a1de71c13888adce68622a35b/lib/appium_lib/common/helper.rb#L16) common
|
1032
1036
|
|
1033
1037
|
> def ignore
|
1034
1038
|
|
@@ -1036,7 +1040,7 @@ Return yield and ignore any exceptions.
|
|
1036
1040
|
|
1037
1041
|
--
|
1038
1042
|
|
1039
|
-
##### [back](https://github.com/appium/ruby_lib/blob/
|
1043
|
+
##### [back](https://github.com/appium/ruby_lib/blob/84f71e47b86a2f7a1de71c13888adce68622a35b/lib/appium_lib/common/helper.rb#L23) common
|
1040
1044
|
|
1041
1045
|
> def back
|
1042
1046
|
|
@@ -1048,7 +1052,7 @@ __Returns:__
|
|
1048
1052
|
|
1049
1053
|
--
|
1050
1054
|
|
1051
|
-
##### [session_id](https://github.com/appium/ruby_lib/blob/
|
1055
|
+
##### [session_id](https://github.com/appium/ruby_lib/blob/84f71e47b86a2f7a1de71c13888adce68622a35b/lib/appium_lib/common/helper.rb#L34) common
|
1052
1056
|
|
1053
1057
|
> def session_id
|
1054
1058
|
|
@@ -1060,7 +1064,7 @@ __Returns:__
|
|
1060
1064
|
|
1061
1065
|
--
|
1062
1066
|
|
1063
|
-
##### [xpath](https://github.com/appium/ruby_lib/blob/
|
1067
|
+
##### [xpath](https://github.com/appium/ruby_lib/blob/84f71e47b86a2f7a1de71c13888adce68622a35b/lib/appium_lib/common/helper.rb#L42) common
|
1064
1068
|
|
1065
1069
|
> def xpath(xpath_str)
|
1066
1070
|
|
@@ -1076,7 +1080,7 @@ __Returns:__
|
|
1076
1080
|
|
1077
1081
|
--
|
1078
1082
|
|
1079
|
-
##### [xpaths](https://github.com/appium/ruby_lib/blob/
|
1083
|
+
##### [xpaths](https://github.com/appium/ruby_lib/blob/84f71e47b86a2f7a1de71c13888adce68622a35b/lib/appium_lib/common/helper.rb#L50) common
|
1080
1084
|
|
1081
1085
|
> def xpaths(xpath_str)
|
1082
1086
|
|
@@ -1092,7 +1096,7 @@ __Returns:__
|
|
1092
1096
|
|
1093
1097
|
--
|
1094
1098
|
|
1095
|
-
##### [result](https://github.com/appium/ruby_lib/blob/
|
1099
|
+
##### [result](https://github.com/appium/ruby_lib/blob/84f71e47b86a2f7a1de71c13888adce68622a35b/lib/appium_lib/common/helper.rb#L60) common
|
1096
1100
|
|
1097
1101
|
> def result
|
1098
1102
|
|
@@ -1100,7 +1104,7 @@ Returns the value of attribute result
|
|
1100
1104
|
|
1101
1105
|
--
|
1102
1106
|
|
1103
|
-
##### [initialize](https://github.com/appium/ruby_lib/blob/
|
1107
|
+
##### [initialize](https://github.com/appium/ruby_lib/blob/84f71e47b86a2f7a1de71c13888adce68622a35b/lib/appium_lib/common/helper.rb#L62) common
|
1104
1108
|
|
1105
1109
|
> def initialize(platform)
|
1106
1110
|
|
@@ -1112,7 +1116,7 @@ __Returns:__
|
|
1112
1116
|
|
1113
1117
|
--
|
1114
1118
|
|
1115
|
-
##### [reset](https://github.com/appium/ruby_lib/blob/
|
1119
|
+
##### [reset](https://github.com/appium/ruby_lib/blob/84f71e47b86a2f7a1de71c13888adce68622a35b/lib/appium_lib/common/helper.rb#L67) common
|
1116
1120
|
|
1117
1121
|
> def reset
|
1118
1122
|
|
@@ -1120,7 +1124,7 @@ __Returns:__
|
|
1120
1124
|
|
1121
1125
|
--
|
1122
1126
|
|
1123
|
-
##### [start_element](https://github.com/appium/ruby_lib/blob/
|
1127
|
+
##### [start_element](https://github.com/appium/ruby_lib/blob/84f71e47b86a2f7a1de71c13888adce68622a35b/lib/appium_lib/common/helper.rb#L72) common
|
1124
1128
|
|
1125
1129
|
> def start_element(name, attrs = [])
|
1126
1130
|
|
@@ -1128,7 +1132,7 @@ http://nokogiri.org/Nokogiri/XML/SAX/Document.html
|
|
1128
1132
|
|
1129
1133
|
--
|
1130
1134
|
|
1131
|
-
##### [formatted_result](https://github.com/appium/ruby_lib/blob/
|
1135
|
+
##### [formatted_result](https://github.com/appium/ruby_lib/blob/84f71e47b86a2f7a1de71c13888adce68622a35b/lib/appium_lib/common/helper.rb#L83) common
|
1132
1136
|
|
1133
1137
|
> def formatted_result
|
1134
1138
|
|
@@ -1136,7 +1140,7 @@ http://nokogiri.org/Nokogiri/XML/SAX/Document.html
|
|
1136
1140
|
|
1137
1141
|
--
|
1138
1142
|
|
1139
|
-
##### [get_page_class](https://github.com/appium/ruby_lib/blob/
|
1143
|
+
##### [get_page_class](https://github.com/appium/ruby_lib/blob/84f71e47b86a2f7a1de71c13888adce68622a35b/lib/appium_lib/common/helper.rb#L101) common
|
1140
1144
|
|
1141
1145
|
> def get_page_class
|
1142
1146
|
|
@@ -1148,7 +1152,7 @@ __Returns:__
|
|
1148
1152
|
|
1149
1153
|
--
|
1150
1154
|
|
1151
|
-
##### [page_class](https://github.com/appium/ruby_lib/blob/
|
1155
|
+
##### [page_class](https://github.com/appium/ruby_lib/blob/84f71e47b86a2f7a1de71c13888adce68622a35b/lib/appium_lib/common/helper.rb#L126) common
|
1152
1156
|
|
1153
1157
|
> def page_class
|
1154
1158
|
|
@@ -1161,7 +1165,7 @@ __Returns:__
|
|
1161
1165
|
|
1162
1166
|
--
|
1163
1167
|
|
1164
|
-
##### [source](https://github.com/appium/ruby_lib/blob/
|
1168
|
+
##### [source](https://github.com/appium/ruby_lib/blob/84f71e47b86a2f7a1de71c13888adce68622a35b/lib/appium_lib/common/helper.rb#L133) common
|
1165
1169
|
|
1166
1170
|
> def source
|
1167
1171
|
|
@@ -1173,7 +1177,7 @@ __Returns:__
|
|
1173
1177
|
|
1174
1178
|
--
|
1175
1179
|
|
1176
|
-
##### [get_source](https://github.com/appium/ruby_lib/blob/
|
1180
|
+
##### [get_source](https://github.com/appium/ruby_lib/blob/84f71e47b86a2f7a1de71c13888adce68622a35b/lib/appium_lib/common/helper.rb#L140) common
|
1177
1181
|
|
1178
1182
|
> def get_source
|
1179
1183
|
|
@@ -1186,7 +1190,7 @@ __Returns:__
|
|
1186
1190
|
|
1187
1191
|
--
|
1188
1192
|
|
1189
|
-
##### [px_to_window_rel](https://github.com/appium/ruby_lib/blob/
|
1193
|
+
##### [px_to_window_rel](https://github.com/appium/ruby_lib/blob/84f71e47b86a2f7a1de71c13888adce68622a35b/lib/appium_lib/common/helper.rb#L150) common
|
1190
1194
|
|
1191
1195
|
> def px_to_window_rel(opts = {}, driver = $driver)
|
1192
1196
|
|
@@ -1194,7 +1198,7 @@ Converts pixel values to window relative values
|
|
1194
1198
|
|
1195
1199
|
--
|
1196
1200
|
|
1197
|
-
##### [xml_keys](https://github.com/appium/ruby_lib/blob/
|
1201
|
+
##### [xml_keys](https://github.com/appium/ruby_lib/blob/84f71e47b86a2f7a1de71c13888adce68622a35b/lib/appium_lib/common/helper.rb#L169) common
|
1198
1202
|
|
1199
1203
|
> def xml_keys(target)
|
1200
1204
|
|
@@ -1210,7 +1214,7 @@ __Returns:__
|
|
1210
1214
|
|
1211
1215
|
--
|
1212
1216
|
|
1213
|
-
##### [xml_values](https://github.com/appium/ruby_lib/blob/
|
1217
|
+
##### [xml_values](https://github.com/appium/ruby_lib/blob/84f71e47b86a2f7a1de71c13888adce68622a35b/lib/appium_lib/common/helper.rb#L177) common
|
1214
1218
|
|
1215
1219
|
> def xml_values(target)
|
1216
1220
|
|
@@ -1226,7 +1230,7 @@ __Returns:__
|
|
1226
1230
|
|
1227
1231
|
--
|
1228
1232
|
|
1229
|
-
##### [resolve_id](https://github.com/appium/ruby_lib/blob/
|
1233
|
+
##### [resolve_id](https://github.com/appium/ruby_lib/blob/84f71e47b86a2f7a1de71c13888adce68622a35b/lib/appium_lib/common/helper.rb#L185) common
|
1230
1234
|
|
1231
1235
|
> def resolve_id(id)
|
1232
1236
|
|
@@ -1242,7 +1246,7 @@ __Returns:__
|
|
1242
1246
|
|
1243
1247
|
--
|
1244
1248
|
|
1245
|
-
##### [filter](https://github.com/appium/ruby_lib/blob/
|
1249
|
+
##### [filter](https://github.com/appium/ruby_lib/blob/84f71e47b86a2f7a1de71c13888adce68622a35b/lib/appium_lib/common/helper.rb#L192) common
|
1246
1250
|
|
1247
1251
|
> def filter
|
1248
1252
|
|
@@ -1250,7 +1254,7 @@ Returns the value of attribute filter
|
|
1250
1254
|
|
1251
1255
|
--
|
1252
1256
|
|
1253
|
-
##### [filter=](https://github.com/appium/ruby_lib/blob/
|
1257
|
+
##### [filter=](https://github.com/appium/ruby_lib/blob/84f71e47b86a2f7a1de71c13888adce68622a35b/lib/appium_lib/common/helper.rb#L195) common
|
1254
1258
|
|
1255
1259
|
> def filter=(value)
|
1256
1260
|
|
@@ -1258,7 +1262,7 @@ convert to string to support symbols
|
|
1258
1262
|
|
1259
1263
|
--
|
1260
1264
|
|
1261
|
-
##### [initialize](https://github.com/appium/ruby_lib/blob/
|
1265
|
+
##### [initialize](https://github.com/appium/ruby_lib/blob/84f71e47b86a2f7a1de71c13888adce68622a35b/lib/appium_lib/common/helper.rb#L202) common
|
1262
1266
|
|
1263
1267
|
> def initialize
|
1264
1268
|
|
@@ -1270,7 +1274,7 @@ __Returns:__
|
|
1270
1274
|
|
1271
1275
|
--
|
1272
1276
|
|
1273
|
-
##### [reset](https://github.com/appium/ruby_lib/blob/
|
1277
|
+
##### [reset](https://github.com/appium/ruby_lib/blob/84f71e47b86a2f7a1de71c13888adce68622a35b/lib/appium_lib/common/helper.rb#L207) common
|
1274
1278
|
|
1275
1279
|
> def reset
|
1276
1280
|
|
@@ -1278,7 +1282,7 @@ __Returns:__
|
|
1278
1282
|
|
1279
1283
|
--
|
1280
1284
|
|
1281
|
-
##### [result](https://github.com/appium/ruby_lib/blob/
|
1285
|
+
##### [result](https://github.com/appium/ruby_lib/blob/84f71e47b86a2f7a1de71c13888adce68622a35b/lib/appium_lib/common/helper.rb#L213) common
|
1282
1286
|
|
1283
1287
|
> def result
|
1284
1288
|
|
@@ -1286,7 +1290,7 @@ __Returns:__
|
|
1286
1290
|
|
1287
1291
|
--
|
1288
1292
|
|
1289
|
-
##### [start_element](https://github.com/appium/ruby_lib/blob/
|
1293
|
+
##### [start_element](https://github.com/appium/ruby_lib/blob/84f71e47b86a2f7a1de71c13888adce68622a35b/lib/appium_lib/common/helper.rb#L226) common
|
1290
1294
|
|
1291
1295
|
> def start_element(name, attrs = [])
|
1292
1296
|
|
@@ -1294,7 +1298,7 @@ __Returns:__
|
|
1294
1298
|
|
1295
1299
|
--
|
1296
1300
|
|
1297
|
-
##### [end_element](https://github.com/appium/ruby_lib/blob/
|
1301
|
+
##### [end_element](https://github.com/appium/ruby_lib/blob/84f71e47b86a2f7a1de71c13888adce68622a35b/lib/appium_lib/common/helper.rb#L236) common
|
1298
1302
|
|
1299
1303
|
> def end_element(name)
|
1300
1304
|
|
@@ -1302,7 +1306,7 @@ __Returns:__
|
|
1302
1306
|
|
1303
1307
|
--
|
1304
1308
|
|
1305
|
-
##### [characters](https://github.com/appium/ruby_lib/blob/
|
1309
|
+
##### [characters](https://github.com/appium/ruby_lib/blob/84f71e47b86a2f7a1de71c13888adce68622a35b/lib/appium_lib/common/helper.rb#L243) common
|
1306
1310
|
|
1307
1311
|
> def characters(chars)
|
1308
1312
|
|
@@ -1310,7 +1314,7 @@ __Returns:__
|
|
1310
1314
|
|
1311
1315
|
--
|
1312
1316
|
|
1313
|
-
##### [DEFAULT_HEADERS](https://github.com/appium/ruby_lib/blob/
|
1317
|
+
##### [DEFAULT_HEADERS](https://github.com/appium/ruby_lib/blob/84f71e47b86a2f7a1de71c13888adce68622a35b/lib/appium_lib/common/http_client.rb#L8) common
|
1314
1318
|
|
1315
1319
|
> DEFAULT_HEADERS = { 'Accept' => CONTENT_TYPE, 'User-Agent' => "appium/ruby_lib/#{::Appium::VERSION}" }.freeze
|
1316
1320
|
|
@@ -1318,7 +1322,7 @@ Default HTTP client inherit Appium::Core::Base::Http::Default, but has different
|
|
1318
1322
|
|
1319
1323
|
--
|
1320
1324
|
|
1321
|
-
##### [pinch](https://github.com/appium/ruby_lib/blob/
|
1325
|
+
##### [pinch](https://github.com/appium/ruby_lib/blob/84f71e47b86a2f7a1de71c13888adce68622a35b/lib/appium_lib/common/multi_touch.rb#L51) common
|
1322
1326
|
|
1323
1327
|
> def pinch(percentage = 25, auto_perform = true, driver = $driver)
|
1324
1328
|
|
@@ -1338,7 +1342,7 @@ __Parameters:__
|
|
1338
1342
|
|
1339
1343
|
--
|
1340
1344
|
|
1341
|
-
##### [zoom](https://github.com/appium/ruby_lib/blob/
|
1345
|
+
##### [zoom](https://github.com/appium/ruby_lib/blob/84f71e47b86a2f7a1de71c13888adce68622a35b/lib/appium_lib/common/multi_touch.rb#L94) common
|
1342
1346
|
|
1343
1347
|
> def zoom(percentage = 200, auto_perform = true, driver = $driver)
|
1344
1348
|
|
@@ -1358,7 +1362,7 @@ __Parameters:__
|
|
1358
1362
|
|
1359
1363
|
--
|
1360
1364
|
|
1361
|
-
##### [initialize](https://github.com/appium/ruby_lib/blob/
|
1365
|
+
##### [initialize](https://github.com/appium/ruby_lib/blob/84f71e47b86a2f7a1de71c13888adce68622a35b/lib/appium_lib/common/multi_touch.rb#L180) common
|
1362
1366
|
|
1363
1367
|
> def initialize(driver = $driver)
|
1364
1368
|
|
@@ -1370,7 +1374,7 @@ __Returns:__
|
|
1370
1374
|
|
1371
1375
|
--
|
1372
1376
|
|
1373
|
-
##### [COMPLEX_ACTIONS](https://github.com/appium/ruby_lib/blob/
|
1377
|
+
##### [COMPLEX_ACTIONS](https://github.com/appium/ruby_lib/blob/84f71e47b86a2f7a1de71c13888adce68622a35b/lib/appium_lib/common/touch_actions.rb#L33) common
|
1374
1378
|
|
1375
1379
|
> COMPLEX_ACTIONS = ::Appium::Core::TouchAction::COMPLEX_ACTIONS
|
1376
1380
|
|
@@ -1378,7 +1382,7 @@ __Returns:__
|
|
1378
1382
|
|
1379
1383
|
--
|
1380
1384
|
|
1381
|
-
##### [initialize](https://github.com/appium/ruby_lib/blob/
|
1385
|
+
##### [initialize](https://github.com/appium/ruby_lib/blob/84f71e47b86a2f7a1de71c13888adce68622a35b/lib/appium_lib/common/touch_actions.rb#L48) common
|
1382
1386
|
|
1383
1387
|
> def initialize(driver = $driver)
|
1384
1388
|
|
@@ -1390,7 +1394,7 @@ __Returns:__
|
|
1390
1394
|
|
1391
1395
|
--
|
1392
1396
|
|
1393
|
-
##### [swipe](https://github.com/appium/ruby_lib/blob/
|
1397
|
+
##### [swipe](https://github.com/appium/ruby_lib/blob/84f71e47b86a2f7a1de71c13888adce68622a35b/lib/appium_lib/common/touch_actions.rb#L52) common
|
1394
1398
|
|
1395
1399
|
> def swipe(opts)
|
1396
1400
|
|
@@ -1398,7 +1402,7 @@ __Returns:__
|
|
1398
1402
|
|
1399
1403
|
--
|
1400
1404
|
|
1401
|
-
##### [initialize](https://github.com/appium/ruby_lib/blob/
|
1405
|
+
##### [initialize](https://github.com/appium/ruby_lib/blob/84f71e47b86a2f7a1de71c13888adce68622a35b/lib/appium_lib/common/command/ws_logcat.rb#L5) common
|
1402
1406
|
|
1403
1407
|
> def initialize(url:, output_file: 'logcat.log')
|
1404
1408
|
|
@@ -1410,7 +1414,7 @@ __Returns:__
|
|
1410
1414
|
|
1411
1415
|
--
|
1412
1416
|
|
1413
|
-
##### [handle_message_data](https://github.com/appium/ruby_lib/blob/
|
1417
|
+
##### [handle_message_data](https://github.com/appium/ruby_lib/blob/84f71e47b86a2f7a1de71c13888adce68622a35b/lib/appium_lib/common/command/ws_logcat.rb#L10) common
|
1414
1418
|
|
1415
1419
|
> def handle_message_data(data)
|
1416
1420
|
|
@@ -1418,7 +1422,7 @@ __Returns:__
|
|
1418
1422
|
|
1419
1423
|
--
|
1420
1424
|
|
1421
|
-
##### [for](https://github.com/appium/ruby_lib/blob/
|
1425
|
+
##### [for](https://github.com/appium/ruby_lib/blob/84f71e47b86a2f7a1de71c13888adce68622a35b/lib/appium_lib/android/android.rb#L19) android
|
1422
1426
|
|
1423
1427
|
> def self.for(target)
|
1424
1428
|
|
@@ -1426,7 +1430,7 @@ __Returns:__
|
|
1426
1430
|
|
1427
1431
|
--
|
1428
1432
|
|
1429
|
-
##### [TextView](https://github.com/appium/ruby_lib/blob/
|
1433
|
+
##### [TextView](https://github.com/appium/ruby_lib/blob/84f71e47b86a2f7a1de71c13888adce68622a35b/lib/appium_lib/android/element/text.rb#L4) android
|
1430
1434
|
|
1431
1435
|
> TextView = 'android.widget.TextView'.freeze
|
1432
1436
|
|
@@ -1434,7 +1438,7 @@ __Returns:__
|
|
1434
1438
|
|
1435
1439
|
--
|
1436
1440
|
|
1437
|
-
##### [text](https://github.com/appium/ruby_lib/blob/
|
1441
|
+
##### [text](https://github.com/appium/ruby_lib/blob/84f71e47b86a2f7a1de71c13888adce68622a35b/lib/appium_lib/android/element/text.rb#L10) android
|
1438
1442
|
|
1439
1443
|
> def text(value)
|
1440
1444
|
|
@@ -1451,7 +1455,7 @@ __Returns:__
|
|
1451
1455
|
|
1452
1456
|
--
|
1453
1457
|
|
1454
|
-
##### [texts](https://github.com/appium/ruby_lib/blob/
|
1458
|
+
##### [texts](https://github.com/appium/ruby_lib/blob/84f71e47b86a2f7a1de71c13888adce68622a35b/lib/appium_lib/android/element/text.rb#L20) android
|
1455
1459
|
|
1456
1460
|
> def texts(value = false)
|
1457
1461
|
|
@@ -1468,7 +1472,7 @@ __Returns:__
|
|
1468
1472
|
|
1469
1473
|
--
|
1470
1474
|
|
1471
|
-
##### [first_text](https://github.com/appium/ruby_lib/blob/
|
1475
|
+
##### [first_text](https://github.com/appium/ruby_lib/blob/84f71e47b86a2f7a1de71c13888adce68622a35b/lib/appium_lib/android/element/text.rb#L28) android
|
1472
1476
|
|
1473
1477
|
> def first_text
|
1474
1478
|
|
@@ -1480,7 +1484,7 @@ __Returns:__
|
|
1480
1484
|
|
1481
1485
|
--
|
1482
1486
|
|
1483
|
-
##### [last_text](https://github.com/appium/ruby_lib/blob/
|
1487
|
+
##### [last_text](https://github.com/appium/ruby_lib/blob/84f71e47b86a2f7a1de71c13888adce68622a35b/lib/appium_lib/android/element/text.rb#L34) android
|
1484
1488
|
|
1485
1489
|
> def last_text
|
1486
1490
|
|
@@ -1492,7 +1496,7 @@ __Returns:__
|
|
1492
1496
|
|
1493
1497
|
--
|
1494
1498
|
|
1495
|
-
##### [text_exact](https://github.com/appium/ruby_lib/blob/
|
1499
|
+
##### [text_exact](https://github.com/appium/ruby_lib/blob/84f71e47b86a2f7a1de71c13888adce68622a35b/lib/appium_lib/android/element/text.rb#L41) android
|
1496
1500
|
|
1497
1501
|
> def text_exact(value)
|
1498
1502
|
|
@@ -1508,7 +1512,7 @@ __Returns:__
|
|
1508
1512
|
|
1509
1513
|
--
|
1510
1514
|
|
1511
|
-
##### [texts_exact](https://github.com/appium/ruby_lib/blob/
|
1515
|
+
##### [texts_exact](https://github.com/appium/ruby_lib/blob/84f71e47b86a2f7a1de71c13888adce68622a35b/lib/appium_lib/android/element/text.rb#L48) android
|
1512
1516
|
|
1513
1517
|
> def texts_exact(value)
|
1514
1518
|
|
@@ -1524,7 +1528,7 @@ __Returns:__
|
|
1524
1528
|
|
1525
1529
|
--
|
1526
1530
|
|
1527
|
-
##### [result](https://github.com/appium/ruby_lib/blob/
|
1531
|
+
##### [result](https://github.com/appium/ruby_lib/blob/84f71e47b86a2f7a1de71c13888adce68622a35b/lib/appium_lib/android/common/helper.rb#L6) android
|
1528
1532
|
|
1529
1533
|
> def result
|
1530
1534
|
|
@@ -1532,7 +1536,7 @@ Returns the value of attribute result
|
|
1532
1536
|
|
1533
1537
|
--
|
1534
1538
|
|
1535
|
-
##### [keys](https://github.com/appium/ruby_lib/blob/
|
1539
|
+
##### [keys](https://github.com/appium/ruby_lib/blob/84f71e47b86a2f7a1de71c13888adce68622a35b/lib/appium_lib/android/common/helper.rb#L6) android
|
1536
1540
|
|
1537
1541
|
> def keys
|
1538
1542
|
|
@@ -1540,7 +1544,7 @@ Returns the value of attribute keys
|
|
1540
1544
|
|
1541
1545
|
--
|
1542
1546
|
|
1543
|
-
##### [filter](https://github.com/appium/ruby_lib/blob/
|
1547
|
+
##### [filter](https://github.com/appium/ruby_lib/blob/84f71e47b86a2f7a1de71c13888adce68622a35b/lib/appium_lib/android/common/helper.rb#L6) android
|
1544
1548
|
|
1545
1549
|
> def filter
|
1546
1550
|
|
@@ -1548,7 +1552,7 @@ Returns the value of attribute filter
|
|
1548
1552
|
|
1549
1553
|
--
|
1550
1554
|
|
1551
|
-
##### [filter=](https://github.com/appium/ruby_lib/blob/
|
1555
|
+
##### [filter=](https://github.com/appium/ruby_lib/blob/84f71e47b86a2f7a1de71c13888adce68622a35b/lib/appium_lib/android/common/helper.rb#L9) android
|
1552
1556
|
|
1553
1557
|
> def filter=(value)
|
1554
1558
|
|
@@ -1556,7 +1560,7 @@ convert to string to support symbols
|
|
1556
1560
|
|
1557
1561
|
--
|
1558
1562
|
|
1559
|
-
##### [initialize](https://github.com/appium/ruby_lib/blob/
|
1563
|
+
##### [initialize](https://github.com/appium/ruby_lib/blob/84f71e47b86a2f7a1de71c13888adce68622a35b/lib/appium_lib/android/common/helper.rb#L16) android
|
1560
1564
|
|
1561
1565
|
> def initialize
|
1562
1566
|
|
@@ -1568,7 +1572,7 @@ __Returns:__
|
|
1568
1572
|
|
1569
1573
|
--
|
1570
1574
|
|
1571
|
-
##### [reset](https://github.com/appium/ruby_lib/blob/
|
1575
|
+
##### [reset](https://github.com/appium/ruby_lib/blob/84f71e47b86a2f7a1de71c13888adce68622a35b/lib/appium_lib/android/common/helper.rb#L21) android
|
1572
1576
|
|
1573
1577
|
> def reset
|
1574
1578
|
|
@@ -1576,7 +1580,7 @@ __Returns:__
|
|
1576
1580
|
|
1577
1581
|
--
|
1578
1582
|
|
1579
|
-
##### [start_element](https://github.com/appium/ruby_lib/blob/
|
1583
|
+
##### [start_element](https://github.com/appium/ruby_lib/blob/84f71e47b86a2f7a1de71c13888adce68622a35b/lib/appium_lib/android/common/helper.rb#L27) android
|
1580
1584
|
|
1581
1585
|
> def start_element(name, attrs = [], driver = $driver)
|
1582
1586
|
|
@@ -1584,7 +1588,7 @@ http://nokogiri.org/Nokogiri/XML/SAX/Document.html
|
|
1584
1588
|
|
1585
1589
|
--
|
1586
1590
|
|
1587
|
-
##### [get_android_inspect](https://github.com/appium/ruby_lib/blob/
|
1591
|
+
##### [get_android_inspect](https://github.com/appium/ruby_lib/blob/84f71e47b86a2f7a1de71c13888adce68622a35b/lib/appium_lib/android/common/helper.rb#L81) android
|
1588
1592
|
|
1589
1593
|
> def get_android_inspect(class_name = false)
|
1590
1594
|
|
@@ -1603,7 +1607,7 @@ __Returns:__
|
|
1603
1607
|
|
1604
1608
|
--
|
1605
1609
|
|
1606
|
-
##### [page](https://github.com/appium/ruby_lib/blob/
|
1610
|
+
##### [page](https://github.com/appium/ruby_lib/blob/84f71e47b86a2f7a1de71c13888adce68622a35b/lib/appium_lib/android/common/helper.rb#L107) android
|
1607
1611
|
|
1608
1612
|
> def page(opts = {})
|
1609
1613
|
|
@@ -1622,7 +1626,7 @@ __Returns:__
|
|
1622
1626
|
|
1623
1627
|
--
|
1624
1628
|
|
1625
|
-
##### [id](https://github.com/appium/ruby_lib/blob/
|
1629
|
+
##### [id](https://github.com/appium/ruby_lib/blob/84f71e47b86a2f7a1de71c13888adce68622a35b/lib/appium_lib/android/common/helper.rb#L116) android
|
1626
1630
|
|
1627
1631
|
> def id(id)
|
1628
1632
|
|
@@ -1638,7 +1642,7 @@ __Returns:__
|
|
1638
1642
|
|
1639
1643
|
--
|
1640
1644
|
|
1641
|
-
##### [ids](https://github.com/appium/ruby_lib/blob/
|
1645
|
+
##### [ids](https://github.com/appium/ruby_lib/blob/84f71e47b86a2f7a1de71c13888adce68622a35b/lib/appium_lib/android/common/helper.rb#L124) android
|
1642
1646
|
|
1643
1647
|
> def ids(id)
|
1644
1648
|
|
@@ -1654,7 +1658,7 @@ __Returns:__
|
|
1654
1658
|
|
1655
1659
|
--
|
1656
1660
|
|
1657
|
-
##### [ele_index](https://github.com/appium/ruby_lib/blob/
|
1661
|
+
##### [ele_index](https://github.com/appium/ruby_lib/blob/84f71e47b86a2f7a1de71c13888adce68622a35b/lib/appium_lib/android/common/helper.rb#L133) android
|
1658
1662
|
|
1659
1663
|
> def ele_index(class_name, index)
|
1660
1664
|
|
@@ -1672,7 +1676,7 @@ __Returns:__
|
|
1672
1676
|
|
1673
1677
|
--
|
1674
1678
|
|
1675
|
-
##### [first_ele](https://github.com/appium/ruby_lib/blob/
|
1679
|
+
##### [first_ele](https://github.com/appium/ruby_lib/blob/84f71e47b86a2f7a1de71c13888adce68622a35b/lib/appium_lib/android/common/helper.rb#L152) android
|
1676
1680
|
|
1677
1681
|
> def first_ele(class_name)
|
1678
1682
|
|
@@ -1688,7 +1692,7 @@ __Returns:__
|
|
1688
1692
|
|
1689
1693
|
--
|
1690
1694
|
|
1691
|
-
##### [last_ele](https://github.com/appium/ruby_lib/blob/
|
1695
|
+
##### [last_ele](https://github.com/appium/ruby_lib/blob/84f71e47b86a2f7a1de71c13888adce68622a35b/lib/appium_lib/android/common/helper.rb#L159) android
|
1692
1696
|
|
1693
1697
|
> def last_ele(class_name)
|
1694
1698
|
|
@@ -1704,7 +1708,7 @@ __Returns:__
|
|
1704
1708
|
|
1705
1709
|
--
|
1706
1710
|
|
1707
|
-
##### [tag](https://github.com/appium/ruby_lib/blob/
|
1711
|
+
##### [tag](https://github.com/appium/ruby_lib/blob/84f71e47b86a2f7a1de71c13888adce68622a35b/lib/appium_lib/android/common/helper.rb#L167) android
|
1708
1712
|
|
1709
1713
|
> def tag(class_name)
|
1710
1714
|
|
@@ -1720,7 +1724,7 @@ __Returns:__
|
|
1720
1724
|
|
1721
1725
|
--
|
1722
1726
|
|
1723
|
-
##### [tags](https://github.com/appium/ruby_lib/blob/
|
1727
|
+
##### [tags](https://github.com/appium/ruby_lib/blob/84f71e47b86a2f7a1de71c13888adce68622a35b/lib/appium_lib/android/common/helper.rb#L175) android
|
1724
1728
|
|
1725
1729
|
> def tags(class_name)
|
1726
1730
|
|
@@ -1736,7 +1740,7 @@ __Returns:__
|
|
1736
1740
|
|
1737
1741
|
--
|
1738
1742
|
|
1739
|
-
##### [string_visible_contains_xpath](https://github.com/appium/ruby_lib/blob/
|
1743
|
+
##### [string_visible_contains_xpath](https://github.com/appium/ruby_lib/blob/84f71e47b86a2f7a1de71c13888adce68622a35b/lib/appium_lib/android/common/helper.rb#L218) android
|
1740
1744
|
|
1741
1745
|
> def string_visible_contains_xpath(class_name, value)
|
1742
1746
|
|
@@ -1757,7 +1761,7 @@ __Returns:__
|
|
1757
1761
|
|
1758
1762
|
--
|
1759
1763
|
|
1760
|
-
##### [string_visible_contains](https://github.com/appium/ruby_lib/blob/
|
1764
|
+
##### [string_visible_contains](https://github.com/appium/ruby_lib/blob/84f71e47b86a2f7a1de71c13888adce68622a35b/lib/appium_lib/android/common/helper.rb#L238) android
|
1761
1765
|
|
1762
1766
|
> def string_visible_contains(class_name, value)
|
1763
1767
|
|
@@ -1778,7 +1782,7 @@ __Returns:__
|
|
1778
1782
|
|
1779
1783
|
--
|
1780
1784
|
|
1781
|
-
##### [complex_find_contains](https://github.com/appium/ruby_lib/blob/
|
1785
|
+
##### [complex_find_contains](https://github.com/appium/ruby_lib/blob/84f71e47b86a2f7a1de71c13888adce68622a35b/lib/appium_lib/android/common/helper.rb#L256) android
|
1782
1786
|
|
1783
1787
|
> def complex_find_contains(class_name, value)
|
1784
1788
|
|
@@ -1796,7 +1800,7 @@ __Returns:__
|
|
1796
1800
|
|
1797
1801
|
--
|
1798
1802
|
|
1799
|
-
##### [complex_finds_contains](https://github.com/appium/ruby_lib/blob/
|
1803
|
+
##### [complex_finds_contains](https://github.com/appium/ruby_lib/blob/84f71e47b86a2f7a1de71c13888adce68622a35b/lib/appium_lib/android/common/helper.rb#L264) android
|
1800
1804
|
|
1801
1805
|
> def complex_finds_contains(class_name, value)
|
1802
1806
|
|
@@ -1814,7 +1818,7 @@ __Returns:__
|
|
1814
1818
|
|
1815
1819
|
--
|
1816
1820
|
|
1817
|
-
##### [complex_find_exact](https://github.com/appium/ruby_lib/blob/
|
1821
|
+
##### [complex_find_exact](https://github.com/appium/ruby_lib/blob/84f71e47b86a2f7a1de71c13888adce68622a35b/lib/appium_lib/android/common/helper.rb#L306) android
|
1818
1822
|
|
1819
1823
|
> def complex_find_exact(class_name, value)
|
1820
1824
|
|
@@ -1832,7 +1836,7 @@ __Returns:__
|
|
1832
1836
|
|
1833
1837
|
--
|
1834
1838
|
|
1835
|
-
##### [complex_finds_exact](https://github.com/appium/ruby_lib/blob/
|
1839
|
+
##### [complex_finds_exact](https://github.com/appium/ruby_lib/blob/84f71e47b86a2f7a1de71c13888adce68622a35b/lib/appium_lib/android/common/helper.rb#L314) android
|
1836
1840
|
|
1837
1841
|
> def complex_finds_exact(class_name, value)
|
1838
1842
|
|
@@ -1850,7 +1854,7 @@ __Returns:__
|
|
1850
1854
|
|
1851
1855
|
--
|
1852
1856
|
|
1853
|
-
##### [alert_click](https://github.com/appium/ruby_lib/blob/
|
1857
|
+
##### [alert_click](https://github.com/appium/ruby_lib/blob/84f71e47b86a2f7a1de71c13888adce68622a35b/lib/appium_lib/android/element/alert.rb#L6) android
|
1854
1858
|
|
1855
1859
|
> def alert_click(value)
|
1856
1860
|
|
@@ -1866,7 +1870,7 @@ __Returns:__
|
|
1866
1870
|
|
1867
1871
|
--
|
1868
1872
|
|
1869
|
-
##### [alert_accept](https://github.com/appium/ruby_lib/blob/
|
1873
|
+
##### [alert_accept](https://github.com/appium/ruby_lib/blob/84f71e47b86a2f7a1de71c13888adce68622a35b/lib/appium_lib/android/element/alert.rb#L13) android
|
1870
1874
|
|
1871
1875
|
> def alert_accept
|
1872
1876
|
|
@@ -1879,7 +1883,7 @@ __Returns:__
|
|
1879
1883
|
|
1880
1884
|
--
|
1881
1885
|
|
1882
|
-
##### [alert_accept_text](https://github.com/appium/ruby_lib/blob/
|
1886
|
+
##### [alert_accept_text](https://github.com/appium/ruby_lib/blob/84f71e47b86a2f7a1de71c13888adce68622a35b/lib/appium_lib/android/element/alert.rb#L20) android
|
1883
1887
|
|
1884
1888
|
> def alert_accept_text
|
1885
1889
|
|
@@ -1892,7 +1896,7 @@ __Returns:__
|
|
1892
1896
|
|
1893
1897
|
--
|
1894
1898
|
|
1895
|
-
##### [alert_dismiss](https://github.com/appium/ruby_lib/blob/
|
1899
|
+
##### [alert_dismiss](https://github.com/appium/ruby_lib/blob/84f71e47b86a2f7a1de71c13888adce68622a35b/lib/appium_lib/android/element/alert.rb#L27) android
|
1896
1900
|
|
1897
1901
|
> def alert_dismiss
|
1898
1902
|
|
@@ -1905,7 +1909,7 @@ __Returns:__
|
|
1905
1909
|
|
1906
1910
|
--
|
1907
1911
|
|
1908
|
-
##### [alert_dismiss_text](https://github.com/appium/ruby_lib/blob/
|
1912
|
+
##### [alert_dismiss_text](https://github.com/appium/ruby_lib/blob/84f71e47b86a2f7a1de71c13888adce68622a35b/lib/appium_lib/android/element/alert.rb#L34) android
|
1909
1913
|
|
1910
1914
|
> def alert_dismiss_text
|
1911
1915
|
|
@@ -1918,7 +1922,7 @@ __Returns:__
|
|
1918
1922
|
|
1919
1923
|
--
|
1920
1924
|
|
1921
|
-
##### [Button](https://github.com/appium/ruby_lib/blob/
|
1925
|
+
##### [Button](https://github.com/appium/ruby_lib/blob/84f71e47b86a2f7a1de71c13888adce68622a35b/lib/appium_lib/android/element/button.rb#L3) android
|
1922
1926
|
|
1923
1927
|
> Button = 'android.widget.Button'.freeze
|
1924
1928
|
|
@@ -1926,7 +1930,7 @@ __Returns:__
|
|
1926
1930
|
|
1927
1931
|
--
|
1928
1932
|
|
1929
|
-
##### [ImageButton](https://github.com/appium/ruby_lib/blob/
|
1933
|
+
##### [ImageButton](https://github.com/appium/ruby_lib/blob/84f71e47b86a2f7a1de71c13888adce68622a35b/lib/appium_lib/android/element/button.rb#L4) android
|
1930
1934
|
|
1931
1935
|
> ImageButton = 'android.widget.ImageButton'.freeze
|
1932
1936
|
|
@@ -1934,7 +1938,7 @@ __Returns:__
|
|
1934
1938
|
|
1935
1939
|
--
|
1936
1940
|
|
1937
|
-
##### [button](https://github.com/appium/ruby_lib/blob/
|
1941
|
+
##### [button](https://github.com/appium/ruby_lib/blob/84f71e47b86a2f7a1de71c13888adce68622a35b/lib/appium_lib/android/element/button.rb#L10) android
|
1938
1942
|
|
1939
1943
|
> def button(value)
|
1940
1944
|
|
@@ -1951,7 +1955,7 @@ __Returns:__
|
|
1951
1955
|
|
1952
1956
|
--
|
1953
1957
|
|
1954
|
-
##### [buttons](https://github.com/appium/ruby_lib/blob/
|
1958
|
+
##### [buttons](https://github.com/appium/ruby_lib/blob/84f71e47b86a2f7a1de71c13888adce68622a35b/lib/appium_lib/android/element/button.rb#L27) android
|
1955
1959
|
|
1956
1960
|
> def buttons(value = false)
|
1957
1961
|
|
@@ -1968,7 +1972,7 @@ __Returns:__
|
|
1968
1972
|
|
1969
1973
|
--
|
1970
1974
|
|
1971
|
-
##### [first_button](https://github.com/appium/ruby_lib/blob/
|
1975
|
+
##### [first_button](https://github.com/appium/ruby_lib/blob/84f71e47b86a2f7a1de71c13888adce68622a35b/lib/appium_lib/android/element/button.rb#L35) android
|
1972
1976
|
|
1973
1977
|
> def first_button
|
1974
1978
|
|
@@ -1980,7 +1984,7 @@ __Returns:__
|
|
1980
1984
|
|
1981
1985
|
--
|
1982
1986
|
|
1983
|
-
##### [last_button](https://github.com/appium/ruby_lib/blob/
|
1987
|
+
##### [last_button](https://github.com/appium/ruby_lib/blob/84f71e47b86a2f7a1de71c13888adce68622a35b/lib/appium_lib/android/element/button.rb#L41) android
|
1984
1988
|
|
1985
1989
|
> def last_button
|
1986
1990
|
|
@@ -1992,7 +1996,7 @@ __Returns:__
|
|
1992
1996
|
|
1993
1997
|
--
|
1994
1998
|
|
1995
|
-
##### [button_exact](https://github.com/appium/ruby_lib/blob/
|
1999
|
+
##### [button_exact](https://github.com/appium/ruby_lib/blob/84f71e47b86a2f7a1de71c13888adce68622a35b/lib/appium_lib/android/element/button.rb#L57) android
|
1996
2000
|
|
1997
2001
|
> def button_exact(value)
|
1998
2002
|
|
@@ -2008,7 +2012,7 @@ __Returns:__
|
|
2008
2012
|
|
2009
2013
|
--
|
2010
2014
|
|
2011
|
-
##### [buttons_exact](https://github.com/appium/ruby_lib/blob/
|
2015
|
+
##### [buttons_exact](https://github.com/appium/ruby_lib/blob/84f71e47b86a2f7a1de71c13888adce68622a35b/lib/appium_lib/android/element/button.rb#L64) android
|
2012
2016
|
|
2013
2017
|
> def buttons_exact(value)
|
2014
2018
|
|
@@ -2024,7 +2028,7 @@ __Returns:__
|
|
2024
2028
|
|
2025
2029
|
--
|
2026
2030
|
|
2027
|
-
##### [find](https://github.com/appium/ruby_lib/blob/
|
2031
|
+
##### [find](https://github.com/appium/ruby_lib/blob/84f71e47b86a2f7a1de71c13888adce68622a35b/lib/appium_lib/android/element/generic.rb#L6) android
|
2028
2032
|
|
2029
2033
|
> def find(value)
|
2030
2034
|
|
@@ -2040,7 +2044,7 @@ __Returns:__
|
|
2040
2044
|
|
2041
2045
|
--
|
2042
2046
|
|
2043
|
-
##### [finds](https://github.com/appium/ruby_lib/blob/
|
2047
|
+
##### [finds](https://github.com/appium/ruby_lib/blob/84f71e47b86a2f7a1de71c13888adce68622a35b/lib/appium_lib/android/element/generic.rb#L13) android
|
2044
2048
|
|
2045
2049
|
> def finds(value)
|
2046
2050
|
|
@@ -2056,7 +2060,7 @@ __Returns:__
|
|
2056
2060
|
|
2057
2061
|
--
|
2058
2062
|
|
2059
|
-
##### [find_exact](https://github.com/appium/ruby_lib/blob/
|
2063
|
+
##### [find_exact](https://github.com/appium/ruby_lib/blob/84f71e47b86a2f7a1de71c13888adce68622a35b/lib/appium_lib/android/element/generic.rb#L20) android
|
2060
2064
|
|
2061
2065
|
> def find_exact(value)
|
2062
2066
|
|
@@ -2072,7 +2076,7 @@ __Returns:__
|
|
2072
2076
|
|
2073
2077
|
--
|
2074
2078
|
|
2075
|
-
##### [finds_exact](https://github.com/appium/ruby_lib/blob/
|
2079
|
+
##### [finds_exact](https://github.com/appium/ruby_lib/blob/84f71e47b86a2f7a1de71c13888adce68622a35b/lib/appium_lib/android/element/generic.rb#L27) android
|
2076
2080
|
|
2077
2081
|
> def finds_exact(value)
|
2078
2082
|
|
@@ -2088,7 +2092,7 @@ __Returns:__
|
|
2088
2092
|
|
2089
2093
|
--
|
2090
2094
|
|
2091
|
-
##### [scroll_to](https://github.com/appium/ruby_lib/blob/
|
2095
|
+
##### [scroll_to](https://github.com/appium/ruby_lib/blob/84f71e47b86a2f7a1de71c13888adce68622a35b/lib/appium_lib/android/element/generic.rb#L40) android
|
2092
2096
|
|
2093
2097
|
> def scroll_to(text, scrollable_index = 0)
|
2094
2098
|
|
@@ -2106,7 +2110,7 @@ __Returns:__
|
|
2106
2110
|
|
2107
2111
|
--
|
2108
2112
|
|
2109
|
-
##### [scroll_to_exact](https://github.com/appium/ruby_lib/blob/
|
2113
|
+
##### [scroll_to_exact](https://github.com/appium/ruby_lib/blob/84f71e47b86a2f7a1de71c13888adce68622a35b/lib/appium_lib/android/element/generic.rb#L58) android
|
2110
2114
|
|
2111
2115
|
> def scroll_to_exact(text, scrollable_index = 0)
|
2112
2116
|
|
@@ -2124,7 +2128,7 @@ __Returns:__
|
|
2124
2128
|
|
2125
2129
|
--
|
2126
2130
|
|
2127
|
-
##### [for](https://github.com/appium/ruby_lib/blob/
|
2131
|
+
##### [for](https://github.com/appium/ruby_lib/blob/84f71e47b86a2f7a1de71c13888adce68622a35b/lib/appium_lib/android/espresso/bridge.rb#L7) android
|
2128
2132
|
|
2129
2133
|
> def self.for(target)
|
2130
2134
|
|
@@ -2132,7 +2136,7 @@ __Returns:__
|
|
2132
2136
|
|
2133
2137
|
--
|
2134
2138
|
|
2135
|
-
##### [EditText](https://github.com/appium/ruby_lib/blob/
|
2139
|
+
##### [EditText](https://github.com/appium/ruby_lib/blob/84f71e47b86a2f7a1de71c13888adce68622a35b/lib/appium_lib/android/element/textfield.rb#L3) android
|
2136
2140
|
|
2137
2141
|
> EditText = 'android.widget.EditText'.freeze
|
2138
2142
|
|
@@ -2140,7 +2144,7 @@ __Returns:__
|
|
2140
2144
|
|
2141
2145
|
--
|
2142
2146
|
|
2143
|
-
##### [textfield](https://github.com/appium/ruby_lib/blob/
|
2147
|
+
##### [textfield](https://github.com/appium/ruby_lib/blob/84f71e47b86a2f7a1de71c13888adce68622a35b/lib/appium_lib/android/element/textfield.rb#L9) android
|
2144
2148
|
|
2145
2149
|
> def textfield(value)
|
2146
2150
|
|
@@ -2157,7 +2161,7 @@ __Returns:__
|
|
2157
2161
|
|
2158
2162
|
--
|
2159
2163
|
|
2160
|
-
##### [textfields](https://github.com/appium/ruby_lib/blob/
|
2164
|
+
##### [textfields](https://github.com/appium/ruby_lib/blob/84f71e47b86a2f7a1de71c13888adce68622a35b/lib/appium_lib/android/element/textfield.rb#L19) android
|
2161
2165
|
|
2162
2166
|
> def textfields(value = false)
|
2163
2167
|
|
@@ -2174,7 +2178,7 @@ __Returns:__
|
|
2174
2178
|
|
2175
2179
|
--
|
2176
2180
|
|
2177
|
-
##### [first_textfield](https://github.com/appium/ruby_lib/blob/
|
2181
|
+
##### [first_textfield](https://github.com/appium/ruby_lib/blob/84f71e47b86a2f7a1de71c13888adce68622a35b/lib/appium_lib/android/element/textfield.rb#L27) android
|
2178
2182
|
|
2179
2183
|
> def first_textfield
|
2180
2184
|
|
@@ -2186,7 +2190,7 @@ __Returns:__
|
|
2186
2190
|
|
2187
2191
|
--
|
2188
2192
|
|
2189
|
-
##### [last_textfield](https://github.com/appium/ruby_lib/blob/
|
2193
|
+
##### [last_textfield](https://github.com/appium/ruby_lib/blob/84f71e47b86a2f7a1de71c13888adce68622a35b/lib/appium_lib/android/element/textfield.rb#L33) android
|
2190
2194
|
|
2191
2195
|
> def last_textfield
|
2192
2196
|
|
@@ -2198,7 +2202,7 @@ __Returns:__
|
|
2198
2202
|
|
2199
2203
|
--
|
2200
2204
|
|
2201
|
-
##### [textfield_exact](https://github.com/appium/ruby_lib/blob/
|
2205
|
+
##### [textfield_exact](https://github.com/appium/ruby_lib/blob/84f71e47b86a2f7a1de71c13888adce68622a35b/lib/appium_lib/android/element/textfield.rb#L40) android
|
2202
2206
|
|
2203
2207
|
> def textfield_exact(value)
|
2204
2208
|
|
@@ -2214,7 +2218,7 @@ __Returns:__
|
|
2214
2218
|
|
2215
2219
|
--
|
2216
2220
|
|
2217
|
-
##### [textfields_exact](https://github.com/appium/ruby_lib/blob/
|
2221
|
+
##### [textfields_exact](https://github.com/appium/ruby_lib/blob/84f71e47b86a2f7a1de71c13888adce68622a35b/lib/appium_lib/android/element/textfield.rb#L47) android
|
2218
2222
|
|
2219
2223
|
> def textfields_exact(value)
|
2220
2224
|
|
@@ -2230,7 +2234,7 @@ __Returns:__
|
|
2230
2234
|
|
2231
2235
|
--
|
2232
2236
|
|
2233
|
-
##### [for](https://github.com/appium/ruby_lib/blob/
|
2237
|
+
##### [for](https://github.com/appium/ruby_lib/blob/84f71e47b86a2f7a1de71c13888adce68622a35b/lib/appium_lib/android/uiautomator2/bridge.rb#L7) android
|
2234
2238
|
|
2235
2239
|
> def self.for(target)
|
2236
2240
|
|
@@ -2238,7 +2242,7 @@ __Returns:__
|
|
2238
2242
|
|
2239
2243
|
--
|
2240
2244
|
|
2241
|
-
##### [string_visible_contains](https://github.com/appium/ruby_lib/blob/
|
2245
|
+
##### [string_visible_contains](https://github.com/appium/ruby_lib/blob/84f71e47b86a2f7a1de71c13888adce68622a35b/lib/appium_lib/android/uiautomator2/helper.rb#L13) android
|
2242
2246
|
|
2243
2247
|
> def string_visible_contains(class_name, value)
|
2244
2248
|
|
@@ -2259,7 +2263,7 @@ __Returns:__
|
|
2259
2263
|
|
2260
2264
|
--
|
2261
2265
|
|
2262
|
-
##### [complex_find_contains](https://github.com/appium/ruby_lib/blob/
|
2266
|
+
##### [complex_find_contains](https://github.com/appium/ruby_lib/blob/84f71e47b86a2f7a1de71c13888adce68622a35b/lib/appium_lib/android/uiautomator2/helper.rb#L31) android
|
2263
2267
|
|
2264
2268
|
> def complex_find_contains(class_name, value)
|
2265
2269
|
|
@@ -2277,7 +2281,7 @@ __Returns:__
|
|
2277
2281
|
|
2278
2282
|
--
|
2279
2283
|
|
2280
|
-
##### [complex_finds_contains](https://github.com/appium/ruby_lib/blob/
|
2284
|
+
##### [complex_finds_contains](https://github.com/appium/ruby_lib/blob/84f71e47b86a2f7a1de71c13888adce68622a35b/lib/appium_lib/android/uiautomator2/helper.rb#L42) android
|
2281
2285
|
|
2282
2286
|
> def complex_finds_contains(class_name, value)
|
2283
2287
|
|
@@ -2295,7 +2299,7 @@ __Returns:__
|
|
2295
2299
|
|
2296
2300
|
--
|
2297
2301
|
|
2298
|
-
##### [complex_find_exact](https://github.com/appium/ruby_lib/blob/
|
2302
|
+
##### [complex_find_exact](https://github.com/appium/ruby_lib/blob/84f71e47b86a2f7a1de71c13888adce68622a35b/lib/appium_lib/android/uiautomator2/helper.rb#L70) android
|
2299
2303
|
|
2300
2304
|
> def complex_find_exact(class_name, value)
|
2301
2305
|
|
@@ -2313,7 +2317,7 @@ __Returns:__
|
|
2313
2317
|
|
2314
2318
|
--
|
2315
2319
|
|
2316
|
-
##### [complex_finds_exact](https://github.com/appium/ruby_lib/blob/
|
2320
|
+
##### [complex_finds_exact](https://github.com/appium/ruby_lib/blob/84f71e47b86a2f7a1de71c13888adce68622a35b/lib/appium_lib/android/uiautomator2/helper.rb#L81) android
|
2317
2321
|
|
2318
2322
|
> def complex_finds_exact(class_name, value)
|
2319
2323
|
|
@@ -2331,7 +2335,7 @@ __Returns:__
|
|
2331
2335
|
|
2332
2336
|
--
|
2333
2337
|
|
2334
|
-
##### [shell](https://github.com/appium/ruby_lib/blob/
|
2338
|
+
##### [shell](https://github.com/appium/ruby_lib/blob/84f71e47b86a2f7a1de71c13888adce68622a35b/lib/appium_lib/android/common/command/command.rb#L14) android
|
2335
2339
|
|
2336
2340
|
> def shell(command, arguments)
|
2337
2341
|
|
@@ -2346,7 +2350,7 @@ __Parameters:__
|
|
2346
2350
|
|
2347
2351
|
--
|
2348
2352
|
|
2349
|
-
##### [start_logs_broadcast](https://github.com/appium/ruby_lib/blob/
|
2353
|
+
##### [start_logs_broadcast](https://github.com/appium/ruby_lib/blob/84f71e47b86a2f7a1de71c13888adce68622a35b/lib/appium_lib/android/common/command/command.rb#L28) android
|
2350
2354
|
|
2351
2355
|
> def start_logs_broadcast(logcat_file = 'logcat.log')
|
2352
2356
|
|
@@ -2358,7 +2362,7 @@ __Parameters:__
|
|
2358
2362
|
|
2359
2363
|
--
|
2360
2364
|
|
2361
|
-
##### [stop_logs_broadcast](https://github.com/appium/ruby_lib/blob/
|
2365
|
+
##### [stop_logs_broadcast](https://github.com/appium/ruby_lib/blob/84f71e47b86a2f7a1de71c13888adce68622a35b/lib/appium_lib/android/common/command/command.rb#L41) android
|
2362
2366
|
|
2363
2367
|
> def stop_logs_broadcast
|
2364
2368
|
|
@@ -2366,7 +2370,7 @@ Stop Android logcat broadcast websocket
|
|
2366
2370
|
|
2367
2371
|
--
|
2368
2372
|
|
2369
|
-
##### [button](https://github.com/appium/ruby_lib/blob/
|
2373
|
+
##### [button](https://github.com/appium/ruby_lib/blob/84f71e47b86a2f7a1de71c13888adce68622a35b/lib/appium_lib/android/uiautomator2/element/button.rb#L9) android
|
2370
2374
|
|
2371
2375
|
> def button(value)
|
2372
2376
|
|
@@ -2383,7 +2387,7 @@ __Returns:__
|
|
2383
2387
|
|
2384
2388
|
--
|
2385
2389
|
|
2386
|
-
##### [buttons](https://github.com/appium/ruby_lib/blob/
|
2390
|
+
##### [buttons](https://github.com/appium/ruby_lib/blob/84f71e47b86a2f7a1de71c13888adce68622a35b/lib/appium_lib/android/uiautomator2/element/button.rb#L30) android
|
2387
2391
|
|
2388
2392
|
> def buttons(value = false)
|
2389
2393
|
|
@@ -2400,7 +2404,7 @@ __Returns:__
|
|
2400
2404
|
|
2401
2405
|
--
|
2402
2406
|
|
2403
|
-
##### [first_button](https://github.com/appium/ruby_lib/blob/
|
2407
|
+
##### [first_button](https://github.com/appium/ruby_lib/blob/84f71e47b86a2f7a1de71c13888adce68622a35b/lib/appium_lib/android/uiautomator2/element/button.rb#L38) android
|
2404
2408
|
|
2405
2409
|
> def first_button
|
2406
2410
|
|
@@ -2412,7 +2416,7 @@ __Returns:__
|
|
2412
2416
|
|
2413
2417
|
--
|
2414
2418
|
|
2415
|
-
##### [last_button](https://github.com/appium/ruby_lib/blob/
|
2419
|
+
##### [last_button](https://github.com/appium/ruby_lib/blob/84f71e47b86a2f7a1de71c13888adce68622a35b/lib/appium_lib/android/uiautomator2/element/button.rb#L45) android
|
2416
2420
|
|
2417
2421
|
> def last_button
|
2418
2422
|
|
@@ -2424,7 +2428,7 @@ __Returns:__
|
|
2424
2428
|
|
2425
2429
|
--
|
2426
2430
|
|
2427
|
-
##### [button_exact](https://github.com/appium/ruby_lib/blob/
|
2431
|
+
##### [button_exact](https://github.com/appium/ruby_lib/blob/84f71e47b86a2f7a1de71c13888adce68622a35b/lib/appium_lib/android/uiautomator2/element/button.rb#L62) android
|
2428
2432
|
|
2429
2433
|
> def button_exact(value)
|
2430
2434
|
|
@@ -2440,7 +2444,7 @@ __Returns:__
|
|
2440
2444
|
|
2441
2445
|
--
|
2442
2446
|
|
2443
|
-
##### [buttons_exact](https://github.com/appium/ruby_lib/blob/
|
2447
|
+
##### [buttons_exact](https://github.com/appium/ruby_lib/blob/84f71e47b86a2f7a1de71c13888adce68622a35b/lib/appium_lib/android/uiautomator2/element/button.rb#L70) android
|
2444
2448
|
|
2445
2449
|
> def buttons_exact(value)
|
2446
2450
|
|