appium_lib 9.7.0 → 9.7.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +3 -0
- data/docs/android_docs.md +175 -167
- data/docs/ios_docs.md +227 -219
- data/lib/appium_lib/appium.rb +1 -0
- data/lib/appium_lib/common/http_client.rb +10 -0
- data/lib/appium_lib/core/common/base/http_default.rb +1 -1
- data/lib/appium_lib/driver.rb +2 -1
- data/lib/appium_lib/version.rb +1 -1
- data/release_notes.md +18 -0
- metadata +2 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b20ffb686dad886461fe5b29d459976c9e358c0d
|
4
|
+
data.tar.gz: 566e35d8b7974fa2859201f334e95e56da9c7d99
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7fa0aad8e5ce3c1ac73541878263bc8d725feb66ddf7697dfcb2775371427351fe639a7e3db40211b1a928a8d5a992bf1c89fff7815315cd885375ebd8d5adee
|
7
|
+
data.tar.gz: 02e9fd0c576a0185488e419640f2f1d7303cad808c99dc3bee226b3b220e84904fcb70ab823f90a9df8ed55d105a7e180ebf80ace58296ec2e38f0949604d961
|
data/CHANGELOG.md
CHANGED
@@ -3,6 +3,9 @@ Commit based release not is [release_notes.md](./release_notes.md)
|
|
3
3
|
|
4
4
|
Release tags are https://github.com/appium/ruby_lib/releases .
|
5
5
|
|
6
|
+
## v9.7.1
|
7
|
+
Hot-fix for v9.7.0: [uninitialized constant Appium::VERSION #680](https://github.com/appium/ruby_lib/issues/680)
|
8
|
+
|
6
9
|
## v9.7.0
|
7
10
|
|
8
11
|
_v9.7.0_ has [a bunch of refactoring](https://github.com/appium/ruby_lib/issues/602#issuecomment-331140219) but the behaviours must be the same as well as previous versions.
|
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/63a853ea755edb68a3469bd6647f23530c746853/lib/appium_lib/appium.rb#L45)
|
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/63a853ea755edb68a3469bd6647f23530c746853/lib/appium_lib/appium.rb#L78)
|
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/63a853ea755edb68a3469bd6647f23530c746853/lib/appium_lib/appium.rb#L83)
|
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/63a853ea755edb68a3469bd6647f23530c746853/lib/appium_lib/appium.rb#L122)
|
78
78
|
|
79
79
|
> def promote_singleton_appium_methods(modules, driver = $driver)
|
80
80
|
|
@@ -92,7 +92,7 @@ otherwise, the array of modules will be used as the promotion target.
|
|
92
92
|
|
93
93
|
--
|
94
94
|
|
95
|
-
##### [promote_appium_methods](https://github.com/appium/ruby_lib/blob/
|
95
|
+
##### [promote_appium_methods](https://github.com/appium/ruby_lib/blob/63a853ea755edb68a3469bd6647f23530c746853/lib/appium_lib/appium.rb#L175)
|
96
96
|
|
97
97
|
> def promote_appium_methods(class_array, driver = $driver)
|
98
98
|
|
@@ -122,7 +122,7 @@ __Parameters:__
|
|
122
122
|
|
123
123
|
--
|
124
124
|
|
125
|
-
##### [global_webdriver_http_sleep](https://github.com/appium/ruby_lib/blob/
|
125
|
+
##### [global_webdriver_http_sleep](https://github.com/appium/ruby_lib/blob/63a853ea755edb68a3469bd6647f23530c746853/lib/appium_lib/driver.rb#L24)
|
126
126
|
|
127
127
|
> def global_webdriver_http_sleep
|
128
128
|
|
@@ -130,7 +130,7 @@ The amount to sleep in seconds before every webdriver http call.
|
|
130
130
|
|
131
131
|
--
|
132
132
|
|
133
|
-
##### [global_webdriver_http_sleep=](https://github.com/appium/ruby_lib/blob/
|
133
|
+
##### [global_webdriver_http_sleep=](https://github.com/appium/ruby_lib/blob/63a853ea755edb68a3469bd6647f23530c746853/lib/appium_lib/driver.rb#L24)
|
134
134
|
|
135
135
|
> def global_webdriver_http_sleep=(value)
|
136
136
|
|
@@ -138,7 +138,7 @@ The amount to sleep in seconds before every webdriver http call.
|
|
138
138
|
|
139
139
|
--
|
140
140
|
|
141
|
-
##### [sauce](https://github.com/appium/ruby_lib/blob/
|
141
|
+
##### [sauce](https://github.com/appium/ruby_lib/blob/63a853ea755edb68a3469bd6647f23530c746853/lib/appium_lib/driver.rb#L27)
|
142
142
|
|
143
143
|
> def sauce
|
144
144
|
|
@@ -146,7 +146,7 @@ SauceLab's settings
|
|
146
146
|
|
147
147
|
--
|
148
148
|
|
149
|
-
##### [sauce_username](https://github.com/appium/ruby_lib/blob/
|
149
|
+
##### [sauce_username](https://github.com/appium/ruby_lib/blob/63a853ea755edb68a3469bd6647f23530c746853/lib/appium_lib/driver.rb#L30)
|
150
150
|
|
151
151
|
> def sauce_username
|
152
152
|
|
@@ -155,7 +155,7 @@ same as @sauce.username
|
|
155
155
|
|
156
156
|
--
|
157
157
|
|
158
|
-
##### [sauce_access_key](https://github.com/appium/ruby_lib/blob/
|
158
|
+
##### [sauce_access_key](https://github.com/appium/ruby_lib/blob/63a853ea755edb68a3469bd6647f23530c746853/lib/appium_lib/driver.rb#L33)
|
159
159
|
|
160
160
|
> def sauce_access_key
|
161
161
|
|
@@ -164,7 +164,7 @@ same as @sauce.access_key
|
|
164
164
|
|
165
165
|
--
|
166
166
|
|
167
|
-
##### [sauce_endpoint](https://github.com/appium/ruby_lib/blob/
|
167
|
+
##### [sauce_endpoint](https://github.com/appium/ruby_lib/blob/63a853ea755edb68a3469bd6647f23530c746853/lib/appium_lib/driver.rb#L36)
|
168
168
|
|
169
169
|
> def sauce_endpoint
|
170
170
|
|
@@ -173,7 +173,7 @@ same as @sauce.endpoint
|
|
173
173
|
|
174
174
|
--
|
175
175
|
|
176
|
-
##### [caps](https://github.com/appium/ruby_lib/blob/
|
176
|
+
##### [caps](https://github.com/appium/ruby_lib/blob/63a853ea755edb68a3469bd6647f23530c746853/lib/appium_lib/driver.rb#L39)
|
177
177
|
|
178
178
|
> def caps
|
179
179
|
|
@@ -181,7 +181,7 @@ from Core
|
|
181
181
|
|
182
182
|
--
|
183
183
|
|
184
|
-
##### [custom_url](https://github.com/appium/ruby_lib/blob/
|
184
|
+
##### [custom_url](https://github.com/appium/ruby_lib/blob/63a853ea755edb68a3469bd6647f23530c746853/lib/appium_lib/driver.rb#L40)
|
185
185
|
|
186
186
|
> def custom_url
|
187
187
|
|
@@ -189,7 +189,7 @@ Returns the value of attribute custom_url
|
|
189
189
|
|
190
190
|
--
|
191
191
|
|
192
|
-
##### [export_session](https://github.com/appium/ruby_lib/blob/
|
192
|
+
##### [export_session](https://github.com/appium/ruby_lib/blob/63a853ea755edb68a3469bd6647f23530c746853/lib/appium_lib/driver.rb#L41)
|
193
193
|
|
194
194
|
> def export_session
|
195
195
|
|
@@ -197,7 +197,7 @@ Returns the value of attribute export_session
|
|
197
197
|
|
198
198
|
--
|
199
199
|
|
200
|
-
##### [default_wait](https://github.com/appium/ruby_lib/blob/
|
200
|
+
##### [default_wait](https://github.com/appium/ruby_lib/blob/63a853ea755edb68a3469bd6647f23530c746853/lib/appium_lib/driver.rb#L42)
|
201
201
|
|
202
202
|
> def default_wait
|
203
203
|
|
@@ -205,7 +205,7 @@ Returns the value of attribute default_wait
|
|
205
205
|
|
206
206
|
--
|
207
207
|
|
208
|
-
##### [appium_port](https://github.com/appium/ruby_lib/blob/
|
208
|
+
##### [appium_port](https://github.com/appium/ruby_lib/blob/63a853ea755edb68a3469bd6647f23530c746853/lib/appium_lib/driver.rb#L43)
|
209
209
|
|
210
210
|
> def appium_port
|
211
211
|
|
@@ -213,7 +213,7 @@ Returns the value of attribute appium_port
|
|
213
213
|
|
214
214
|
--
|
215
215
|
|
216
|
-
##### [appium_device](https://github.com/appium/ruby_lib/blob/
|
216
|
+
##### [appium_device](https://github.com/appium/ruby_lib/blob/63a853ea755edb68a3469bd6647f23530c746853/lib/appium_lib/driver.rb#L44)
|
217
217
|
|
218
218
|
> def appium_device
|
219
219
|
|
@@ -221,7 +221,7 @@ Returns the value of attribute appium_device
|
|
221
221
|
|
222
222
|
--
|
223
223
|
|
224
|
-
##### [automation_name](https://github.com/appium/ruby_lib/blob/
|
224
|
+
##### [automation_name](https://github.com/appium/ruby_lib/blob/63a853ea755edb68a3469bd6647f23530c746853/lib/appium_lib/driver.rb#L45)
|
225
225
|
|
226
226
|
> def automation_name
|
227
227
|
|
@@ -229,7 +229,7 @@ Returns the value of attribute automation_name
|
|
229
229
|
|
230
230
|
--
|
231
231
|
|
232
|
-
##### [listener](https://github.com/appium/ruby_lib/blob/
|
232
|
+
##### [listener](https://github.com/appium/ruby_lib/blob/63a853ea755edb68a3469bd6647f23530c746853/lib/appium_lib/driver.rb#L46)
|
233
233
|
|
234
234
|
> def listener
|
235
235
|
|
@@ -237,7 +237,7 @@ Returns the value of attribute listener
|
|
237
237
|
|
238
238
|
--
|
239
239
|
|
240
|
-
##### [http_client](https://github.com/appium/ruby_lib/blob/
|
240
|
+
##### [http_client](https://github.com/appium/ruby_lib/blob/63a853ea755edb68a3469bd6647f23530c746853/lib/appium_lib/driver.rb#L47)
|
241
241
|
|
242
242
|
> def http_client
|
243
243
|
|
@@ -245,7 +245,7 @@ Returns the value of attribute http_client
|
|
245
245
|
|
246
246
|
--
|
247
247
|
|
248
|
-
##### [appium_wait_timeout](https://github.com/appium/ruby_lib/blob/
|
248
|
+
##### [appium_wait_timeout](https://github.com/appium/ruby_lib/blob/63a853ea755edb68a3469bd6647f23530c746853/lib/appium_lib/driver.rb#L48)
|
249
249
|
|
250
250
|
> def appium_wait_timeout
|
251
251
|
|
@@ -253,7 +253,7 @@ Returns the value of attribute appium_wait_timeout
|
|
253
253
|
|
254
254
|
--
|
255
255
|
|
256
|
-
##### [appium_wait_interval](https://github.com/appium/ruby_lib/blob/
|
256
|
+
##### [appium_wait_interval](https://github.com/appium/ruby_lib/blob/63a853ea755edb68a3469bd6647f23530c746853/lib/appium_lib/driver.rb#L49)
|
257
257
|
|
258
258
|
> def appium_wait_interval
|
259
259
|
|
@@ -261,7 +261,7 @@ Returns the value of attribute appium_wait_interval
|
|
261
261
|
|
262
262
|
--
|
263
263
|
|
264
|
-
##### [appium_server_status](https://github.com/appium/ruby_lib/blob/
|
264
|
+
##### [appium_server_status](https://github.com/appium/ruby_lib/blob/63a853ea755edb68a3469bd6647f23530c746853/lib/appium_lib/driver.rb#L52)
|
265
265
|
|
266
266
|
> def appium_server_status
|
267
267
|
|
@@ -269,7 +269,7 @@ Appium's server version
|
|
269
269
|
|
270
270
|
--
|
271
271
|
|
272
|
-
##### [appium_debug](https://github.com/appium/ruby_lib/blob/
|
272
|
+
##### [appium_debug](https://github.com/appium/ruby_lib/blob/63a853ea755edb68a3469bd6647f23530c746853/lib/appium_lib/driver.rb#L54)
|
273
273
|
|
274
274
|
> def appium_debug
|
275
275
|
|
@@ -277,7 +277,7 @@ Boolean debug mode for the Appium Ruby bindings
|
|
277
277
|
|
278
278
|
--
|
279
279
|
|
280
|
-
##### [driver](https://github.com/appium/ruby_lib/blob/
|
280
|
+
##### [driver](https://github.com/appium/ruby_lib/blob/63a853ea755edb68a3469bd6647f23530c746853/lib/appium_lib/driver.rb#L57)
|
281
281
|
|
282
282
|
> def driver
|
283
283
|
|
@@ -289,7 +289,7 @@ __Returns:__
|
|
289
289
|
|
290
290
|
--
|
291
291
|
|
292
|
-
##### [core](https://github.com/appium/ruby_lib/blob/
|
292
|
+
##### [core](https://github.com/appium/ruby_lib/blob/63a853ea755edb68a3469bd6647f23530c746853/lib/appium_lib/driver.rb#L59)
|
293
293
|
|
294
294
|
> def core
|
295
295
|
|
@@ -297,7 +297,7 @@ Instance of Appium::Core::Driver
|
|
297
297
|
|
298
298
|
--
|
299
299
|
|
300
|
-
##### [initialize](https://github.com/appium/ruby_lib/blob/
|
300
|
+
##### [initialize](https://github.com/appium/ruby_lib/blob/63a853ea755edb68a3469bd6647f23530c746853/lib/appium_lib/driver.rb#L113)
|
301
301
|
|
302
302
|
> def initialize(opts = {}, global_driver = nil)
|
303
303
|
|
@@ -316,7 +316,7 @@ __Returns:__
|
|
316
316
|
|
317
317
|
--
|
318
318
|
|
319
|
-
##### [driver_attributes](https://github.com/appium/ruby_lib/blob/
|
319
|
+
##### [driver_attributes](https://github.com/appium/ruby_lib/blob/63a853ea755edb68a3469bd6647f23530c746853/lib/appium_lib/driver.rb#L218)
|
320
320
|
|
321
321
|
> def driver_attributes
|
322
322
|
|
@@ -324,7 +324,7 @@ Returns a hash of the driver attributes
|
|
324
324
|
|
325
325
|
--
|
326
326
|
|
327
|
-
##### [device_is_android?](https://github.com/appium/ruby_lib/blob/
|
327
|
+
##### [device_is_android?](https://github.com/appium/ruby_lib/blob/63a853ea755edb68a3469bd6647f23530c746853/lib/appium_lib/driver.rb#L237)
|
328
328
|
|
329
329
|
> def device_is_android?
|
330
330
|
|
@@ -336,7 +336,7 @@ __Returns:__
|
|
336
336
|
|
337
337
|
--
|
338
338
|
|
339
|
-
##### [device_is_ios?](https://github.com/appium/ruby_lib/blob/
|
339
|
+
##### [device_is_ios?](https://github.com/appium/ruby_lib/blob/63a853ea755edb68a3469bd6647f23530c746853/lib/appium_lib/driver.rb#L241)
|
340
340
|
|
341
341
|
> def device_is_ios?
|
342
342
|
|
@@ -348,7 +348,7 @@ __Returns:__
|
|
348
348
|
|
349
349
|
--
|
350
350
|
|
351
|
-
##### [device_is_windows?](https://github.com/appium/ruby_lib/blob/
|
351
|
+
##### [device_is_windows?](https://github.com/appium/ruby_lib/blob/63a853ea755edb68a3469bd6647f23530c746853/lib/appium_lib/driver.rb#L245)
|
352
352
|
|
353
353
|
> def device_is_windows?
|
354
354
|
|
@@ -360,7 +360,7 @@ __Returns:__
|
|
360
360
|
|
361
361
|
--
|
362
362
|
|
363
|
-
##### [automation_name_is_uiautomator2?](https://github.com/appium/ruby_lib/blob/
|
363
|
+
##### [automation_name_is_uiautomator2?](https://github.com/appium/ruby_lib/blob/63a853ea755edb68a3469bd6647f23530c746853/lib/appium_lib/driver.rb#L251)
|
364
364
|
|
365
365
|
> def automation_name_is_uiautomator2?
|
366
366
|
|
@@ -372,7 +372,7 @@ __Returns:__
|
|
372
372
|
|
373
373
|
--
|
374
374
|
|
375
|
-
##### [automation_name_is_espresso?](https://github.com/appium/ruby_lib/blob/
|
375
|
+
##### [automation_name_is_espresso?](https://github.com/appium/ruby_lib/blob/63a853ea755edb68a3469bd6647f23530c746853/lib/appium_lib/driver.rb#L257)
|
376
376
|
|
377
377
|
> def automation_name_is_espresso?
|
378
378
|
|
@@ -384,7 +384,7 @@ __Returns:__
|
|
384
384
|
|
385
385
|
--
|
386
386
|
|
387
|
-
##### [automation_name_is_xcuitest?](https://github.com/appium/ruby_lib/blob/
|
387
|
+
##### [automation_name_is_xcuitest?](https://github.com/appium/ruby_lib/blob/63a853ea755edb68a3469bd6647f23530c746853/lib/appium_lib/driver.rb#L263)
|
388
388
|
|
389
389
|
> def automation_name_is_xcuitest?
|
390
390
|
|
@@ -396,7 +396,7 @@ __Returns:__
|
|
396
396
|
|
397
397
|
--
|
398
398
|
|
399
|
-
##### [check_server_version_xcuitest](https://github.com/appium/ruby_lib/blob/
|
399
|
+
##### [check_server_version_xcuitest](https://github.com/appium/ruby_lib/blob/63a853ea755edb68a3469bd6647f23530c746853/lib/appium_lib/driver.rb#L270)
|
400
400
|
|
401
401
|
> def check_server_version_xcuitest
|
402
402
|
|
@@ -409,7 +409,7 @@ __Returns:__
|
|
409
409
|
|
410
410
|
--
|
411
411
|
|
412
|
-
##### [appium_server_version](https://github.com/appium/ruby_lib/blob/
|
412
|
+
##### [appium_server_version](https://github.com/appium/ruby_lib/blob/63a853ea755edb68a3469bd6647f23530c746853/lib/appium_lib/driver.rb#L292)
|
413
413
|
|
414
414
|
> def appium_server_version
|
415
415
|
|
@@ -430,7 +430,7 @@ __Returns:__
|
|
430
430
|
|
431
431
|
--
|
432
432
|
|
433
|
-
##### [platform_version](https://github.com/appium/ruby_lib/blob/
|
433
|
+
##### [platform_version](https://github.com/appium/ruby_lib/blob/63a853ea755edb68a3469bd6647f23530c746853/lib/appium_lib/driver.rb#L302)
|
434
434
|
|
435
435
|
> def platform_version
|
436
436
|
|
@@ -442,7 +442,7 @@ __Returns:__
|
|
442
442
|
|
443
443
|
--
|
444
444
|
|
445
|
-
##### [appium_client_version](https://github.com/appium/ruby_lib/blob/
|
445
|
+
##### [appium_client_version](https://github.com/appium/ruby_lib/blob/63a853ea755edb68a3469bd6647f23530c746853/lib/appium_lib/driver.rb#L321)
|
446
446
|
|
447
447
|
> def appium_client_version
|
448
448
|
|
@@ -460,7 +460,7 @@ __Returns:__
|
|
460
460
|
|
461
461
|
--
|
462
462
|
|
463
|
-
##### [absolute_app_path](https://github.com/appium/ruby_lib/blob/
|
463
|
+
##### [absolute_app_path](https://github.com/appium/ruby_lib/blob/63a853ea755edb68a3469bd6647f23530c746853/lib/appium_lib/driver.rb#L333)
|
464
464
|
|
465
465
|
> def self.absolute_app_path(opts)
|
466
466
|
|
@@ -477,7 +477,7 @@ __Returns:__
|
|
477
477
|
|
478
478
|
--
|
479
479
|
|
480
|
-
##### [server_url](https://github.com/appium/ruby_lib/blob/
|
480
|
+
##### [server_url](https://github.com/appium/ruby_lib/blob/63a853ea755edb68a3469bd6647f23530c746853/lib/appium_lib/driver.rb#L366)
|
481
481
|
|
482
482
|
> def server_url
|
483
483
|
|
@@ -489,7 +489,7 @@ __Returns:__
|
|
489
489
|
|
490
490
|
--
|
491
491
|
|
492
|
-
##### [restart](https://github.com/appium/ruby_lib/blob/
|
492
|
+
##### [restart](https://github.com/appium/ruby_lib/blob/63a853ea755edb68a3469bd6647f23530c746853/lib/appium_lib/driver.rb#L374)
|
493
493
|
|
494
494
|
> def restart
|
495
495
|
|
@@ -501,7 +501,7 @@ __Returns:__
|
|
501
501
|
|
502
502
|
--
|
503
503
|
|
504
|
-
##### [screenshot](https://github.com/appium/ruby_lib/blob/
|
504
|
+
##### [screenshot](https://github.com/appium/ruby_lib/blob/63a853ea755edb68a3469bd6647f23530c746853/lib/appium_lib/driver.rb#L385)
|
505
505
|
|
506
506
|
> def screenshot(png_save_path)
|
507
507
|
|
@@ -519,7 +519,7 @@ __Returns:__
|
|
519
519
|
|
520
520
|
--
|
521
521
|
|
522
|
-
##### [driver_quit](https://github.com/appium/ruby_lib/blob/
|
522
|
+
##### [driver_quit](https://github.com/appium/ruby_lib/blob/63a853ea755edb68a3469bd6647f23530c746853/lib/appium_lib/driver.rb#L391)
|
523
523
|
|
524
524
|
> def driver_quit
|
525
525
|
|
@@ -531,7 +531,7 @@ __Returns:__
|
|
531
531
|
|
532
532
|
--
|
533
533
|
|
534
|
-
##### [quit_driver](https://github.com/appium/ruby_lib/blob/
|
534
|
+
##### [quit_driver](https://github.com/appium/ruby_lib/blob/63a853ea755edb68a3469bd6647f23530c746853/lib/appium_lib/driver.rb#L394)
|
535
535
|
|
536
536
|
> def driver_quit
|
537
537
|
|
@@ -543,7 +543,7 @@ __Returns:__
|
|
543
543
|
|
544
544
|
--
|
545
545
|
|
546
|
-
##### [window_size](https://github.com/appium/ruby_lib/blob/
|
546
|
+
##### [window_size](https://github.com/appium/ruby_lib/blob/63a853ea755edb68a3469bd6647f23530c746853/lib/appium_lib/driver.rb#L403)
|
547
547
|
|
548
548
|
> def window_size
|
549
549
|
|
@@ -555,9 +555,9 @@ __Returns:__
|
|
555
555
|
|
556
556
|
--
|
557
557
|
|
558
|
-
##### [start_driver](https://github.com/appium/ruby_lib/blob/
|
558
|
+
##### [start_driver](https://github.com/appium/ruby_lib/blob/63a853ea755edb68a3469bd6647f23530c746853/lib/appium_lib/driver.rb#L433)
|
559
559
|
|
560
|
-
> def start_driver(http_client_ops =
|
560
|
+
> def start_driver(http_client_ops =
|
561
561
|
|
562
562
|
Creates a new global driver and quits the old one if it exists.
|
563
563
|
You can customise http_client as the following
|
@@ -572,7 +572,7 @@ __Returns:__
|
|
572
572
|
|
573
573
|
--
|
574
574
|
|
575
|
-
##### [set_implicit_wait](https://github.com/appium/ruby_lib/blob/
|
575
|
+
##### [set_implicit_wait](https://github.com/appium/ruby_lib/blob/63a853ea755edb68a3469bd6647f23530c746853/lib/appium_lib/driver.rb#L457)
|
576
576
|
|
577
577
|
> def set_implicit_wait(wait)
|
578
578
|
|
@@ -580,7 +580,7 @@ To ignore error for Espresso Driver
|
|
580
580
|
|
581
581
|
--
|
582
582
|
|
583
|
-
##### [no_wait](https://github.com/appium/ruby_lib/blob/
|
583
|
+
##### [no_wait](https://github.com/appium/ruby_lib/blob/63a853ea755edb68a3469bd6647f23530c746853/lib/appium_lib/driver.rb#L467)
|
584
584
|
|
585
585
|
> def no_wait
|
586
586
|
|
@@ -588,7 +588,7 @@ Set implicit wait to zero.
|
|
588
588
|
|
589
589
|
--
|
590
590
|
|
591
|
-
##### [set_wait](https://github.com/appium/ruby_lib/blob/
|
591
|
+
##### [set_wait](https://github.com/appium/ruby_lib/blob/63a853ea755edb68a3469bd6647f23530c746853/lib/appium_lib/driver.rb#L481)
|
592
592
|
|
593
593
|
> def set_wait(timeout = nil)
|
594
594
|
|
@@ -610,7 +610,7 @@ __Returns:__
|
|
610
610
|
|
611
611
|
--
|
612
612
|
|
613
|
-
##### [exists](https://github.com/appium/ruby_lib/blob/
|
613
|
+
##### [exists](https://github.com/appium/ruby_lib/blob/63a853ea755edb68a3469bd6647f23530c746853/lib/appium_lib/driver.rb#L498)
|
614
614
|
|
615
615
|
> def exists(pre_check = 0, post_check = @core.default_wait)
|
616
616
|
|
@@ -634,7 +634,7 @@ __Returns:__
|
|
634
634
|
|
635
635
|
--
|
636
636
|
|
637
|
-
##### [execute_script](https://github.com/appium/ruby_lib/blob/
|
637
|
+
##### [execute_script](https://github.com/appium/ruby_lib/blob/63a853ea755edb68a3469bd6647f23530c746853/lib/appium_lib/driver.rb#L522)
|
638
638
|
|
639
639
|
> def execute_script(script, *args)
|
640
640
|
|
@@ -652,7 +652,7 @@ __Returns:__
|
|
652
652
|
|
653
653
|
--
|
654
654
|
|
655
|
-
##### [find_elements](https://github.com/appium/ruby_lib/blob/
|
655
|
+
##### [find_elements](https://github.com/appium/ruby_lib/blob/63a853ea755edb68a3469bd6647f23530c746853/lib/appium_lib/driver.rb#L546)
|
656
656
|
|
657
657
|
> def find_elements(*args)
|
658
658
|
|
@@ -672,7 +672,7 @@ __Returns:__
|
|
672
672
|
|
673
673
|
--
|
674
674
|
|
675
|
-
##### [find_element](https://github.com/appium/ruby_lib/blob/
|
675
|
+
##### [find_element](https://github.com/appium/ruby_lib/blob/63a853ea755edb68a3469bd6647f23530c746853/lib/appium_lib/driver.rb#L562)
|
676
676
|
|
677
677
|
> def find_element(*args)
|
678
678
|
|
@@ -690,7 +690,7 @@ __Returns:__
|
|
690
690
|
|
691
691
|
--
|
692
692
|
|
693
|
-
##### [set_location](https://github.com/appium/ruby_lib/blob/
|
693
|
+
##### [set_location](https://github.com/appium/ruby_lib/blob/63a853ea755edb68a3469bd6647f23530c746853/lib/appium_lib/driver.rb#L575)
|
694
694
|
|
695
695
|
> def set_location(opts = {})
|
696
696
|
|
@@ -706,7 +706,7 @@ __Returns:__
|
|
706
706
|
|
707
707
|
--
|
708
708
|
|
709
|
-
##### [x](https://github.com/appium/ruby_lib/blob/
|
709
|
+
##### [x](https://github.com/appium/ruby_lib/blob/63a853ea755edb68a3469bd6647f23530c746853/lib/appium_lib/driver.rb#L585)
|
710
710
|
|
711
711
|
> def x
|
712
712
|
|
@@ -719,7 +719,7 @@ __Returns:__
|
|
719
719
|
|
720
720
|
--
|
721
721
|
|
722
|
-
##### [username](https://github.com/appium/ruby_lib/blob/
|
722
|
+
##### [username](https://github.com/appium/ruby_lib/blob/63a853ea755edb68a3469bd6647f23530c746853/lib/appium_lib/sauce_labs.rb#L4)
|
723
723
|
|
724
724
|
> def username
|
725
725
|
|
@@ -727,7 +727,7 @@ Username for use on Sauce Labs. Set `false` to disable Sauce, even when SAUCE_US
|
|
727
727
|
|
728
728
|
--
|
729
729
|
|
730
|
-
##### [access_key](https://github.com/appium/ruby_lib/blob/
|
730
|
+
##### [access_key](https://github.com/appium/ruby_lib/blob/63a853ea755edb68a3469bd6647f23530c746853/lib/appium_lib/sauce_labs.rb#L6)
|
731
731
|
|
732
732
|
> def access_key
|
733
733
|
|
@@ -735,7 +735,7 @@ Access Key for use on Sauce Labs. Set `false` to disable Sauce, even when SAUCE_
|
|
735
735
|
|
736
736
|
--
|
737
737
|
|
738
|
-
##### [endpoint](https://github.com/appium/ruby_lib/blob/
|
738
|
+
##### [endpoint](https://github.com/appium/ruby_lib/blob/63a853ea755edb68a3469bd6647f23530c746853/lib/appium_lib/sauce_labs.rb#L8)
|
739
739
|
|
740
740
|
> def endpoint
|
741
741
|
|
@@ -743,7 +743,7 @@ Override the Sauce Appium endpoint to allow e.g. TestObject tests
|
|
743
743
|
|
744
744
|
--
|
745
745
|
|
746
|
-
##### [initialize](https://github.com/appium/ruby_lib/blob/
|
746
|
+
##### [initialize](https://github.com/appium/ruby_lib/blob/63a853ea755edb68a3469bd6647f23530c746853/lib/appium_lib/sauce_labs.rb#L10)
|
747
747
|
|
748
748
|
> def initialize(appium_lib_opts)
|
749
749
|
|
@@ -755,7 +755,7 @@ __Returns:__
|
|
755
755
|
|
756
756
|
--
|
757
757
|
|
758
|
-
##### [sauce_server_url?](https://github.com/appium/ruby_lib/blob/
|
758
|
+
##### [sauce_server_url?](https://github.com/appium/ruby_lib/blob/63a853ea755edb68a3469bd6647f23530c746853/lib/appium_lib/sauce_labs.rb#L21)
|
759
759
|
|
760
760
|
> def sauce_server_url?
|
761
761
|
|
@@ -767,7 +767,7 @@ __Returns:__
|
|
767
767
|
|
768
768
|
--
|
769
769
|
|
770
|
-
##### [server_url](https://github.com/appium/ruby_lib/blob/
|
770
|
+
##### [server_url](https://github.com/appium/ruby_lib/blob/63a853ea755edb68a3469bd6647f23530c746853/lib/appium_lib/sauce_labs.rb#L25)
|
771
771
|
|
772
772
|
> def server_url
|
773
773
|
|
@@ -775,7 +775,7 @@ __Returns:__
|
|
775
775
|
|
776
776
|
--
|
777
777
|
|
778
|
-
##### [get_log](https://github.com/appium/ruby_lib/blob/
|
778
|
+
##### [get_log](https://github.com/appium/ruby_lib/blob/63a853ea755edb68a3469bd6647f23530c746853/lib/appium_lib/common/log.rb#L10)
|
779
779
|
|
780
780
|
> def get_log(type)
|
781
781
|
|
@@ -791,7 +791,7 @@ __Returns:__
|
|
791
791
|
|
792
792
|
--
|
793
793
|
|
794
|
-
##### [get_available_log_types](https://github.com/appium/ruby_lib/blob/
|
794
|
+
##### [get_available_log_types](https://github.com/appium/ruby_lib/blob/63a853ea755edb68a3469bd6647f23530c746853/lib/appium_lib/common/log.rb#L20)
|
795
795
|
|
796
796
|
> def get_available_log_types
|
797
797
|
|
@@ -803,7 +803,7 @@ __Returns:__
|
|
803
803
|
|
804
804
|
--
|
805
805
|
|
806
|
-
##### [initialize](https://github.com/appium/ruby_lib/blob/
|
806
|
+
##### [initialize](https://github.com/appium/ruby_lib/blob/63a853ea755edb68a3469bd6647f23530c746853/lib/appium_lib/common/wait.rb#L6)
|
807
807
|
|
808
808
|
> def initialize(opts = {})
|
809
809
|
|
@@ -815,7 +815,7 @@ __Returns:__
|
|
815
815
|
|
816
816
|
--
|
817
817
|
|
818
|
-
##### [wait_true](https://github.com/appium/ruby_lib/blob/
|
818
|
+
##### [wait_true](https://github.com/appium/ruby_lib/blob/63a853ea755edb68a3469bd6647f23530c746853/lib/appium_lib/common/wait.rb#L34)
|
819
819
|
|
820
820
|
> def wait_true(opts = {})
|
821
821
|
|
@@ -835,7 +835,7 @@ __Parameters:__
|
|
835
835
|
|
836
836
|
--
|
837
837
|
|
838
|
-
##### [wait](https://github.com/appium/ruby_lib/blob/
|
838
|
+
##### [wait](https://github.com/appium/ruby_lib/blob/63a853ea755edb68a3469bd6647f23530c746853/lib/appium_lib/common/wait.rb#L57)
|
839
839
|
|
840
840
|
> def wait(opts = {})
|
841
841
|
|
@@ -853,7 +853,7 @@ __Parameters:__
|
|
853
853
|
|
854
854
|
--
|
855
855
|
|
856
|
-
##### [ignore](https://github.com/appium/ruby_lib/blob/
|
856
|
+
##### [ignore](https://github.com/appium/ruby_lib/blob/63a853ea755edb68a3469bd6647f23530c746853/lib/appium_lib/common/helper.rb#L17)
|
857
857
|
|
858
858
|
> def ignore
|
859
859
|
|
@@ -861,7 +861,7 @@ Return yield and ignore any exceptions.
|
|
861
861
|
|
862
862
|
--
|
863
863
|
|
864
|
-
##### [back](https://github.com/appium/ruby_lib/blob/
|
864
|
+
##### [back](https://github.com/appium/ruby_lib/blob/63a853ea755edb68a3469bd6647f23530c746853/lib/appium_lib/common/helper.rb#L24)
|
865
865
|
|
866
866
|
> def back
|
867
867
|
|
@@ -873,7 +873,7 @@ __Returns:__
|
|
873
873
|
|
874
874
|
--
|
875
875
|
|
876
|
-
##### [session_id](https://github.com/appium/ruby_lib/blob/
|
876
|
+
##### [session_id](https://github.com/appium/ruby_lib/blob/63a853ea755edb68a3469bd6647f23530c746853/lib/appium_lib/common/helper.rb#L29)
|
877
877
|
|
878
878
|
> def session_id
|
879
879
|
|
@@ -881,7 +881,7 @@ For Sauce Labs reporting. Returns the current session id.
|
|
881
881
|
|
882
882
|
--
|
883
883
|
|
884
|
-
##### [xpath](https://github.com/appium/ruby_lib/blob/
|
884
|
+
##### [xpath](https://github.com/appium/ruby_lib/blob/63a853ea755edb68a3469bd6647f23530c746853/lib/appium_lib/common/helper.rb#L37)
|
885
885
|
|
886
886
|
> def xpath(xpath_str)
|
887
887
|
|
@@ -897,7 +897,7 @@ __Returns:__
|
|
897
897
|
|
898
898
|
--
|
899
899
|
|
900
|
-
##### [xpaths](https://github.com/appium/ruby_lib/blob/
|
900
|
+
##### [xpaths](https://github.com/appium/ruby_lib/blob/63a853ea755edb68a3469bd6647f23530c746853/lib/appium_lib/common/helper.rb#L45)
|
901
901
|
|
902
902
|
> def xpaths(xpath_str)
|
903
903
|
|
@@ -913,7 +913,7 @@ __Returns:__
|
|
913
913
|
|
914
914
|
--
|
915
915
|
|
916
|
-
##### [result](https://github.com/appium/ruby_lib/blob/
|
916
|
+
##### [result](https://github.com/appium/ruby_lib/blob/63a853ea755edb68a3469bd6647f23530c746853/lib/appium_lib/common/helper.rb#L56)
|
917
917
|
|
918
918
|
> def result
|
919
919
|
|
@@ -921,7 +921,7 @@ Returns the value of attribute result
|
|
921
921
|
|
922
922
|
--
|
923
923
|
|
924
|
-
##### [initialize](https://github.com/appium/ruby_lib/blob/
|
924
|
+
##### [initialize](https://github.com/appium/ruby_lib/blob/63a853ea755edb68a3469bd6647f23530c746853/lib/appium_lib/common/helper.rb#L58)
|
925
925
|
|
926
926
|
> def initialize
|
927
927
|
|
@@ -933,7 +933,7 @@ __Returns:__
|
|
933
933
|
|
934
934
|
--
|
935
935
|
|
936
|
-
##### [reset](https://github.com/appium/ruby_lib/blob/
|
936
|
+
##### [reset](https://github.com/appium/ruby_lib/blob/63a853ea755edb68a3469bd6647f23530c746853/lib/appium_lib/common/helper.rb#L62)
|
937
937
|
|
938
938
|
> def reset
|
939
939
|
|
@@ -941,7 +941,7 @@ __Returns:__
|
|
941
941
|
|
942
942
|
--
|
943
943
|
|
944
|
-
##### [start_element](https://github.com/appium/ruby_lib/blob/
|
944
|
+
##### [start_element](https://github.com/appium/ruby_lib/blob/63a853ea755edb68a3469bd6647f23530c746853/lib/appium_lib/common/helper.rb#L67)
|
945
945
|
|
946
946
|
> def start_element(name, attrs = [], driver = $driver)
|
947
947
|
|
@@ -949,7 +949,7 @@ http://nokogiri.org/Nokogiri/XML/SAX/Document.html
|
|
949
949
|
|
950
950
|
--
|
951
951
|
|
952
|
-
##### [formatted_result](https://github.com/appium/ruby_lib/blob/
|
952
|
+
##### [formatted_result](https://github.com/appium/ruby_lib/blob/63a853ea755edb68a3469bd6647f23530c746853/lib/appium_lib/common/helper.rb#L73)
|
953
953
|
|
954
954
|
> def formatted_result
|
955
955
|
|
@@ -957,7 +957,7 @@ http://nokogiri.org/Nokogiri/XML/SAX/Document.html
|
|
957
957
|
|
958
958
|
--
|
959
959
|
|
960
|
-
##### [get_page_class](https://github.com/appium/ruby_lib/blob/
|
960
|
+
##### [get_page_class](https://github.com/appium/ruby_lib/blob/63a853ea755edb68a3469bd6647f23530c746853/lib/appium_lib/common/helper.rb#L84)
|
961
961
|
|
962
962
|
> def get_page_class
|
963
963
|
|
@@ -965,7 +965,7 @@ Returns a string of class counts of visible elements.
|
|
965
965
|
|
966
966
|
--
|
967
967
|
|
968
|
-
##### [page_class](https://github.com/appium/ruby_lib/blob/
|
968
|
+
##### [page_class](https://github.com/appium/ruby_lib/blob/63a853ea755edb68a3469bd6647f23530c746853/lib/appium_lib/common/helper.rb#L95)
|
969
969
|
|
970
970
|
> def page_class
|
971
971
|
|
@@ -974,7 +974,7 @@ Useful for appium_console.
|
|
974
974
|
|
975
975
|
--
|
976
976
|
|
977
|
-
##### [px_to_window_rel](https://github.com/appium/ruby_lib/blob/
|
977
|
+
##### [px_to_window_rel](https://github.com/appium/ruby_lib/blob/63a853ea755edb68a3469bd6647f23530c746853/lib/appium_lib/common/helper.rb#L105)
|
978
978
|
|
979
979
|
> def px_to_window_rel(opts = {}, driver = $driver)
|
980
980
|
|
@@ -986,7 +986,7 @@ px_to_window_rel x: 50, y: 150
|
|
986
986
|
|
987
987
|
--
|
988
988
|
|
989
|
-
##### [xml_keys](https://github.com/appium/ruby_lib/blob/
|
989
|
+
##### [xml_keys](https://github.com/appium/ruby_lib/blob/63a853ea755edb68a3469bd6647f23530c746853/lib/appium_lib/common/helper.rb#L124)
|
990
990
|
|
991
991
|
> def xml_keys(target)
|
992
992
|
|
@@ -1002,7 +1002,7 @@ __Returns:__
|
|
1002
1002
|
|
1003
1003
|
--
|
1004
1004
|
|
1005
|
-
##### [xml_values](https://github.com/appium/ruby_lib/blob/
|
1005
|
+
##### [xml_values](https://github.com/appium/ruby_lib/blob/63a853ea755edb68a3469bd6647f23530c746853/lib/appium_lib/common/helper.rb#L132)
|
1006
1006
|
|
1007
1007
|
> def xml_values(target)
|
1008
1008
|
|
@@ -1018,7 +1018,7 @@ __Returns:__
|
|
1018
1018
|
|
1019
1019
|
--
|
1020
1020
|
|
1021
|
-
##### [resolve_id](https://github.com/appium/ruby_lib/blob/
|
1021
|
+
##### [resolve_id](https://github.com/appium/ruby_lib/blob/63a853ea755edb68a3469bd6647f23530c746853/lib/appium_lib/common/helper.rb#L140)
|
1022
1022
|
|
1023
1023
|
> def resolve_id(id)
|
1024
1024
|
|
@@ -1034,7 +1034,7 @@ __Returns:__
|
|
1034
1034
|
|
1035
1035
|
--
|
1036
1036
|
|
1037
|
-
##### [filter](https://github.com/appium/ruby_lib/blob/
|
1037
|
+
##### [filter](https://github.com/appium/ruby_lib/blob/63a853ea755edb68a3469bd6647f23530c746853/lib/appium_lib/common/helper.rb#L146)
|
1038
1038
|
|
1039
1039
|
> def filter
|
1040
1040
|
|
@@ -1042,7 +1042,7 @@ Returns the value of attribute filter
|
|
1042
1042
|
|
1043
1043
|
--
|
1044
1044
|
|
1045
|
-
##### [filter=](https://github.com/appium/ruby_lib/blob/
|
1045
|
+
##### [filter=](https://github.com/appium/ruby_lib/blob/63a853ea755edb68a3469bd6647f23530c746853/lib/appium_lib/common/helper.rb#L149)
|
1046
1046
|
|
1047
1047
|
> def filter=(value)
|
1048
1048
|
|
@@ -1050,7 +1050,7 @@ convert to string to support symbols
|
|
1050
1050
|
|
1051
1051
|
--
|
1052
1052
|
|
1053
|
-
##### [initialize](https://github.com/appium/ruby_lib/blob/
|
1053
|
+
##### [initialize](https://github.com/appium/ruby_lib/blob/63a853ea755edb68a3469bd6647f23530c746853/lib/appium_lib/common/helper.rb#L155)
|
1054
1054
|
|
1055
1055
|
> def initialize
|
1056
1056
|
|
@@ -1062,7 +1062,7 @@ __Returns:__
|
|
1062
1062
|
|
1063
1063
|
--
|
1064
1064
|
|
1065
|
-
##### [reset](https://github.com/appium/ruby_lib/blob/
|
1065
|
+
##### [reset](https://github.com/appium/ruby_lib/blob/63a853ea755edb68a3469bd6647f23530c746853/lib/appium_lib/common/helper.rb#L160)
|
1066
1066
|
|
1067
1067
|
> def reset
|
1068
1068
|
|
@@ -1070,7 +1070,7 @@ __Returns:__
|
|
1070
1070
|
|
1071
1071
|
--
|
1072
1072
|
|
1073
|
-
##### [result](https://github.com/appium/ruby_lib/blob/
|
1073
|
+
##### [result](https://github.com/appium/ruby_lib/blob/63a853ea755edb68a3469bd6647f23530c746853/lib/appium_lib/common/helper.rb#L166)
|
1074
1074
|
|
1075
1075
|
> def result
|
1076
1076
|
|
@@ -1078,7 +1078,7 @@ __Returns:__
|
|
1078
1078
|
|
1079
1079
|
--
|
1080
1080
|
|
1081
|
-
##### [start_element](https://github.com/appium/ruby_lib/blob/
|
1081
|
+
##### [start_element](https://github.com/appium/ruby_lib/blob/63a853ea755edb68a3469bd6647f23530c746853/lib/appium_lib/common/helper.rb#L182)
|
1082
1082
|
|
1083
1083
|
> def start_element(name, attrs = [])
|
1084
1084
|
|
@@ -1086,7 +1086,7 @@ __Returns:__
|
|
1086
1086
|
|
1087
1087
|
--
|
1088
1088
|
|
1089
|
-
##### [end_element](https://github.com/appium/ruby_lib/blob/
|
1089
|
+
##### [end_element](https://github.com/appium/ruby_lib/blob/63a853ea755edb68a3469bd6647f23530c746853/lib/appium_lib/common/helper.rb#L191)
|
1090
1090
|
|
1091
1091
|
> def end_element(name)
|
1092
1092
|
|
@@ -1094,7 +1094,7 @@ __Returns:__
|
|
1094
1094
|
|
1095
1095
|
--
|
1096
1096
|
|
1097
|
-
##### [characters](https://github.com/appium/ruby_lib/blob/
|
1097
|
+
##### [characters](https://github.com/appium/ruby_lib/blob/63a853ea755edb68a3469bd6647f23530c746853/lib/appium_lib/common/helper.rb#L197)
|
1098
1098
|
|
1099
1099
|
> def characters(chars)
|
1100
1100
|
|
@@ -1102,7 +1102,15 @@ __Returns:__
|
|
1102
1102
|
|
1103
1103
|
--
|
1104
1104
|
|
1105
|
-
##### [
|
1105
|
+
##### [DEFAULT_HEADERS](https://github.com/appium/ruby_lib/blob/63a853ea755edb68a3469bd6647f23530c746853/lib/appium_lib/common/http_client.rb#L7)
|
1106
|
+
|
1107
|
+
> DEFAULT_HEADERS = { 'Accept' => CONTENT_TYPE, 'User-Agent' => "appium/ruby_lib/#{::Appium::VERSION}" }.freeze
|
1108
|
+
|
1109
|
+
|
1110
|
+
|
1111
|
+
--
|
1112
|
+
|
1113
|
+
##### [pinch](https://github.com/appium/ruby_lib/blob/63a853ea755edb68a3469bd6647f23530c746853/lib/appium_lib/common/multi_touch.rb#L53)
|
1106
1114
|
|
1107
1115
|
> def pinch(percentage = 25, auto_perform = true, driver = $driver)
|
1108
1116
|
|
@@ -1136,7 +1144,7 @@ __Parameters:__
|
|
1136
1144
|
|
1137
1145
|
--
|
1138
1146
|
|
1139
|
-
##### [zoom](https://github.com/appium/ruby_lib/blob/
|
1147
|
+
##### [zoom](https://github.com/appium/ruby_lib/blob/63a853ea755edb68a3469bd6647f23530c746853/lib/appium_lib/common/multi_touch.rb#L80)
|
1140
1148
|
|
1141
1149
|
> def zoom(percentage = 200, auto_perform = true, driver = $driver)
|
1142
1150
|
|
@@ -1170,7 +1178,7 @@ __Parameters:__
|
|
1170
1178
|
|
1171
1179
|
--
|
1172
1180
|
|
1173
|
-
##### [initialize](https://github.com/appium/ruby_lib/blob/
|
1181
|
+
##### [initialize](https://github.com/appium/ruby_lib/blob/63a853ea755edb68a3469bd6647f23530c746853/lib/appium_lib/common/multi_touch.rb#L85)
|
1174
1182
|
|
1175
1183
|
> def initialize(driver = $driver)
|
1176
1184
|
|
@@ -1182,7 +1190,7 @@ __Returns:__
|
|
1182
1190
|
|
1183
1191
|
--
|
1184
1192
|
|
1185
|
-
##### [COMPLEX_ACTIONS](https://github.com/appium/ruby_lib/blob/
|
1193
|
+
##### [COMPLEX_ACTIONS](https://github.com/appium/ruby_lib/blob/63a853ea755edb68a3469bd6647f23530c746853/lib/appium_lib/common/touch_actions.rb#L30)
|
1186
1194
|
|
1187
1195
|
> COMPLEX_ACTIONS = ::Appium::Core::TouchAction::COMPLEX_ACTIONS
|
1188
1196
|
|
@@ -1190,7 +1198,7 @@ __Returns:__
|
|
1190
1198
|
|
1191
1199
|
--
|
1192
1200
|
|
1193
|
-
##### [initialize](https://github.com/appium/ruby_lib/blob/
|
1201
|
+
##### [initialize](https://github.com/appium/ruby_lib/blob/63a853ea755edb68a3469bd6647f23530c746853/lib/appium_lib/common/touch_actions.rb#L44)
|
1194
1202
|
|
1195
1203
|
> def initialize(driver = $driver)
|
1196
1204
|
|
@@ -1202,7 +1210,7 @@ __Returns:__
|
|
1202
1210
|
|
1203
1211
|
--
|
1204
1212
|
|
1205
|
-
##### [for](https://github.com/appium/ruby_lib/blob/
|
1213
|
+
##### [for](https://github.com/appium/ruby_lib/blob/63a853ea755edb68a3469bd6647f23530c746853/lib/appium_lib/android/android.rb#L15) android
|
1206
1214
|
|
1207
1215
|
> def self.for(target)
|
1208
1216
|
|
@@ -1210,7 +1218,7 @@ __Returns:__
|
|
1210
1218
|
|
1211
1219
|
--
|
1212
1220
|
|
1213
|
-
##### [TextView](https://github.com/appium/ruby_lib/blob/
|
1221
|
+
##### [TextView](https://github.com/appium/ruby_lib/blob/63a853ea755edb68a3469bd6647f23530c746853/lib/appium_lib/android/element/text.rb#L4) android
|
1214
1222
|
|
1215
1223
|
> TextView = 'android.widget.TextView'.freeze
|
1216
1224
|
|
@@ -1218,7 +1226,7 @@ __Returns:__
|
|
1218
1226
|
|
1219
1227
|
--
|
1220
1228
|
|
1221
|
-
##### [text](https://github.com/appium/ruby_lib/blob/
|
1229
|
+
##### [text](https://github.com/appium/ruby_lib/blob/63a853ea755edb68a3469bd6647f23530c746853/lib/appium_lib/android/element/text.rb#L10) android
|
1222
1230
|
|
1223
1231
|
> def text(value)
|
1224
1232
|
|
@@ -1235,7 +1243,7 @@ __Returns:__
|
|
1235
1243
|
|
1236
1244
|
--
|
1237
1245
|
|
1238
|
-
##### [texts](https://github.com/appium/ruby_lib/blob/
|
1246
|
+
##### [texts](https://github.com/appium/ruby_lib/blob/63a853ea755edb68a3469bd6647f23530c746853/lib/appium_lib/android/element/text.rb#L19) android
|
1239
1247
|
|
1240
1248
|
> def texts(value = false)
|
1241
1249
|
|
@@ -1252,7 +1260,7 @@ __Returns:__
|
|
1252
1260
|
|
1253
1261
|
--
|
1254
1262
|
|
1255
|
-
##### [first_text](https://github.com/appium/ruby_lib/blob/
|
1263
|
+
##### [first_text](https://github.com/appium/ruby_lib/blob/63a853ea755edb68a3469bd6647f23530c746853/lib/appium_lib/android/element/text.rb#L26) android
|
1256
1264
|
|
1257
1265
|
> def first_text
|
1258
1266
|
|
@@ -1264,7 +1272,7 @@ __Returns:__
|
|
1264
1272
|
|
1265
1273
|
--
|
1266
1274
|
|
1267
|
-
##### [last_text](https://github.com/appium/ruby_lib/blob/
|
1275
|
+
##### [last_text](https://github.com/appium/ruby_lib/blob/63a853ea755edb68a3469bd6647f23530c746853/lib/appium_lib/android/element/text.rb#L32) android
|
1268
1276
|
|
1269
1277
|
> def last_text
|
1270
1278
|
|
@@ -1276,7 +1284,7 @@ __Returns:__
|
|
1276
1284
|
|
1277
1285
|
--
|
1278
1286
|
|
1279
|
-
##### [text_exact](https://github.com/appium/ruby_lib/blob/
|
1287
|
+
##### [text_exact](https://github.com/appium/ruby_lib/blob/63a853ea755edb68a3469bd6647f23530c746853/lib/appium_lib/android/element/text.rb#L39) android
|
1280
1288
|
|
1281
1289
|
> def text_exact(value)
|
1282
1290
|
|
@@ -1292,7 +1300,7 @@ __Returns:__
|
|
1292
1300
|
|
1293
1301
|
--
|
1294
1302
|
|
1295
|
-
##### [texts_exact](https://github.com/appium/ruby_lib/blob/
|
1303
|
+
##### [texts_exact](https://github.com/appium/ruby_lib/blob/63a853ea755edb68a3469bd6647f23530c746853/lib/appium_lib/android/element/text.rb#L46) android
|
1296
1304
|
|
1297
1305
|
> def texts_exact(value)
|
1298
1306
|
|
@@ -1308,7 +1316,7 @@ __Returns:__
|
|
1308
1316
|
|
1309
1317
|
--
|
1310
1318
|
|
1311
|
-
##### [result](https://github.com/appium/ruby_lib/blob/
|
1319
|
+
##### [result](https://github.com/appium/ruby_lib/blob/63a853ea755edb68a3469bd6647f23530c746853/lib/appium_lib/android/common/helper.rb#L6) android
|
1312
1320
|
|
1313
1321
|
> def result
|
1314
1322
|
|
@@ -1316,7 +1324,7 @@ Returns the value of attribute result
|
|
1316
1324
|
|
1317
1325
|
--
|
1318
1326
|
|
1319
|
-
##### [keys](https://github.com/appium/ruby_lib/blob/
|
1327
|
+
##### [keys](https://github.com/appium/ruby_lib/blob/63a853ea755edb68a3469bd6647f23530c746853/lib/appium_lib/android/common/helper.rb#L6) android
|
1320
1328
|
|
1321
1329
|
> def keys
|
1322
1330
|
|
@@ -1324,7 +1332,7 @@ Returns the value of attribute keys
|
|
1324
1332
|
|
1325
1333
|
--
|
1326
1334
|
|
1327
|
-
##### [filter](https://github.com/appium/ruby_lib/blob/
|
1335
|
+
##### [filter](https://github.com/appium/ruby_lib/blob/63a853ea755edb68a3469bd6647f23530c746853/lib/appium_lib/android/common/helper.rb#L6) android
|
1328
1336
|
|
1329
1337
|
> def filter
|
1330
1338
|
|
@@ -1332,7 +1340,7 @@ Returns the value of attribute filter
|
|
1332
1340
|
|
1333
1341
|
--
|
1334
1342
|
|
1335
|
-
##### [filter=](https://github.com/appium/ruby_lib/blob/
|
1343
|
+
##### [filter=](https://github.com/appium/ruby_lib/blob/63a853ea755edb68a3469bd6647f23530c746853/lib/appium_lib/android/common/helper.rb#L9) android
|
1336
1344
|
|
1337
1345
|
> def filter=(value)
|
1338
1346
|
|
@@ -1340,7 +1348,7 @@ convert to string to support symbols
|
|
1340
1348
|
|
1341
1349
|
--
|
1342
1350
|
|
1343
|
-
##### [initialize](https://github.com/appium/ruby_lib/blob/
|
1351
|
+
##### [initialize](https://github.com/appium/ruby_lib/blob/63a853ea755edb68a3469bd6647f23530c746853/lib/appium_lib/android/common/helper.rb#L15) android
|
1344
1352
|
|
1345
1353
|
> def initialize
|
1346
1354
|
|
@@ -1352,7 +1360,7 @@ __Returns:__
|
|
1352
1360
|
|
1353
1361
|
--
|
1354
1362
|
|
1355
|
-
##### [reset](https://github.com/appium/ruby_lib/blob/
|
1363
|
+
##### [reset](https://github.com/appium/ruby_lib/blob/63a853ea755edb68a3469bd6647f23530c746853/lib/appium_lib/android/common/helper.rb#L20) android
|
1356
1364
|
|
1357
1365
|
> def reset
|
1358
1366
|
|
@@ -1360,7 +1368,7 @@ __Returns:__
|
|
1360
1368
|
|
1361
1369
|
--
|
1362
1370
|
|
1363
|
-
##### [start_element](https://github.com/appium/ruby_lib/blob/
|
1371
|
+
##### [start_element](https://github.com/appium/ruby_lib/blob/63a853ea755edb68a3469bd6647f23530c746853/lib/appium_lib/android/common/helper.rb#L26) android
|
1364
1372
|
|
1365
1373
|
> def start_element(name, attrs = [], driver = $driver)
|
1366
1374
|
|
@@ -1368,7 +1376,7 @@ http://nokogiri.org/Nokogiri/XML/SAX/Document.html
|
|
1368
1376
|
|
1369
1377
|
--
|
1370
1378
|
|
1371
|
-
##### [source](https://github.com/appium/ruby_lib/blob/
|
1379
|
+
##### [source](https://github.com/appium/ruby_lib/blob/63a853ea755edb68a3469bd6647f23530c746853/lib/appium_lib/android/common/helper.rb#L76) android
|
1372
1380
|
|
1373
1381
|
> def source
|
1374
1382
|
|
@@ -1380,7 +1388,7 @@ __Returns:__
|
|
1380
1388
|
|
1381
1389
|
--
|
1382
1390
|
|
1383
|
-
##### [get_android_inspect](https://github.com/appium/ruby_lib/blob/
|
1391
|
+
##### [get_android_inspect](https://github.com/appium/ruby_lib/blob/63a853ea755edb68a3469bd6647f23530c746853/lib/appium_lib/android/common/helper.rb#L86) android
|
1384
1392
|
|
1385
1393
|
> def get_android_inspect(class_name = false)
|
1386
1394
|
|
@@ -1399,7 +1407,7 @@ __Returns:__
|
|
1399
1407
|
|
1400
1408
|
--
|
1401
1409
|
|
1402
|
-
##### [page](https://github.com/appium/ruby_lib/blob/
|
1410
|
+
##### [page](https://github.com/appium/ruby_lib/blob/63a853ea755edb68a3469bd6647f23530c746853/lib/appium_lib/android/common/helper.rb#L112) android
|
1403
1411
|
|
1404
1412
|
> def page(opts = {})
|
1405
1413
|
|
@@ -1418,7 +1426,7 @@ __Returns:__
|
|
1418
1426
|
|
1419
1427
|
--
|
1420
1428
|
|
1421
|
-
##### [current_app](https://github.com/appium/ruby_lib/blob/
|
1429
|
+
##### [current_app](https://github.com/appium/ruby_lib/blob/63a853ea755edb68a3469bd6647f23530c746853/lib/appium_lib/android/common/helper.rb#L124) android
|
1422
1430
|
|
1423
1431
|
> def current_app
|
1424
1432
|
|
@@ -1428,7 +1436,7 @@ example line:
|
|
1428
1436
|
|
1429
1437
|
--
|
1430
1438
|
|
1431
|
-
##### [id](https://github.com/appium/ruby_lib/blob/
|
1439
|
+
##### [id](https://github.com/appium/ruby_lib/blob/63a853ea755edb68a3469bd6647f23530c746853/lib/appium_lib/android/common/helper.rb#L148) android
|
1432
1440
|
|
1433
1441
|
> def id(id)
|
1434
1442
|
|
@@ -1444,7 +1452,7 @@ __Returns:__
|
|
1444
1452
|
|
1445
1453
|
--
|
1446
1454
|
|
1447
|
-
##### [ids](https://github.com/appium/ruby_lib/blob/
|
1455
|
+
##### [ids](https://github.com/appium/ruby_lib/blob/63a853ea755edb68a3469bd6647f23530c746853/lib/appium_lib/android/common/helper.rb#L156) android
|
1448
1456
|
|
1449
1457
|
> def ids(id)
|
1450
1458
|
|
@@ -1460,7 +1468,7 @@ __Returns:__
|
|
1460
1468
|
|
1461
1469
|
--
|
1462
1470
|
|
1463
|
-
##### [ele_index](https://github.com/appium/ruby_lib/blob/
|
1471
|
+
##### [ele_index](https://github.com/appium/ruby_lib/blob/63a853ea755edb68a3469bd6647f23530c746853/lib/appium_lib/android/common/helper.rb#L165) android
|
1464
1472
|
|
1465
1473
|
> def ele_index(class_name, index)
|
1466
1474
|
|
@@ -1478,7 +1486,7 @@ __Returns:__
|
|
1478
1486
|
|
1479
1487
|
--
|
1480
1488
|
|
1481
|
-
##### [first_ele](https://github.com/appium/ruby_lib/blob/
|
1489
|
+
##### [first_ele](https://github.com/appium/ruby_lib/blob/63a853ea755edb68a3469bd6647f23530c746853/lib/appium_lib/android/common/helper.rb#L183) android
|
1482
1490
|
|
1483
1491
|
> def first_ele(class_name)
|
1484
1492
|
|
@@ -1494,7 +1502,7 @@ __Returns:__
|
|
1494
1502
|
|
1495
1503
|
--
|
1496
1504
|
|
1497
|
-
##### [last_ele](https://github.com/appium/ruby_lib/blob/
|
1505
|
+
##### [last_ele](https://github.com/appium/ruby_lib/blob/63a853ea755edb68a3469bd6647f23530c746853/lib/appium_lib/android/common/helper.rb#L190) android
|
1498
1506
|
|
1499
1507
|
> def last_ele(class_name)
|
1500
1508
|
|
@@ -1510,7 +1518,7 @@ __Returns:__
|
|
1510
1518
|
|
1511
1519
|
--
|
1512
1520
|
|
1513
|
-
##### [tag](https://github.com/appium/ruby_lib/blob/
|
1521
|
+
##### [tag](https://github.com/appium/ruby_lib/blob/63a853ea755edb68a3469bd6647f23530c746853/lib/appium_lib/android/common/helper.rb#L198) android
|
1514
1522
|
|
1515
1523
|
> def tag(class_name)
|
1516
1524
|
|
@@ -1526,7 +1534,7 @@ __Returns:__
|
|
1526
1534
|
|
1527
1535
|
--
|
1528
1536
|
|
1529
|
-
##### [tags](https://github.com/appium/ruby_lib/blob/
|
1537
|
+
##### [tags](https://github.com/appium/ruby_lib/blob/63a853ea755edb68a3469bd6647f23530c746853/lib/appium_lib/android/common/helper.rb#L206) android
|
1530
1538
|
|
1531
1539
|
> def tags(class_name)
|
1532
1540
|
|
@@ -1542,7 +1550,7 @@ __Returns:__
|
|
1542
1550
|
|
1543
1551
|
--
|
1544
1552
|
|
1545
|
-
##### [string_visible_contains_xpath](https://github.com/appium/ruby_lib/blob/
|
1553
|
+
##### [string_visible_contains_xpath](https://github.com/appium/ruby_lib/blob/63a853ea755edb68a3469bd6647f23530c746853/lib/appium_lib/android/common/helper.rb#L249) android
|
1546
1554
|
|
1547
1555
|
> def string_visible_contains_xpath(class_name, value)
|
1548
1556
|
|
@@ -1563,7 +1571,7 @@ __Returns:__
|
|
1563
1571
|
|
1564
1572
|
--
|
1565
1573
|
|
1566
|
-
##### [string_visible_contains](https://github.com/appium/ruby_lib/blob/
|
1574
|
+
##### [string_visible_contains](https://github.com/appium/ruby_lib/blob/63a853ea755edb68a3469bd6647f23530c746853/lib/appium_lib/android/common/helper.rb#L269) android
|
1567
1575
|
|
1568
1576
|
> def string_visible_contains(class_name, value)
|
1569
1577
|
|
@@ -1584,7 +1592,7 @@ __Returns:__
|
|
1584
1592
|
|
1585
1593
|
--
|
1586
1594
|
|
1587
|
-
##### [complex_find_contains](https://github.com/appium/ruby_lib/blob/
|
1595
|
+
##### [complex_find_contains](https://github.com/appium/ruby_lib/blob/63a853ea755edb68a3469bd6647f23530c746853/lib/appium_lib/android/common/helper.rb#L287) android
|
1588
1596
|
|
1589
1597
|
> def complex_find_contains(class_name, value)
|
1590
1598
|
|
@@ -1602,7 +1610,7 @@ __Returns:__
|
|
1602
1610
|
|
1603
1611
|
--
|
1604
1612
|
|
1605
|
-
##### [complex_finds_contains](https://github.com/appium/ruby_lib/blob/
|
1613
|
+
##### [complex_finds_contains](https://github.com/appium/ruby_lib/blob/63a853ea755edb68a3469bd6647f23530c746853/lib/appium_lib/android/common/helper.rb#L295) android
|
1606
1614
|
|
1607
1615
|
> def complex_finds_contains(class_name, value)
|
1608
1616
|
|
@@ -1620,7 +1628,7 @@ __Returns:__
|
|
1620
1628
|
|
1621
1629
|
--
|
1622
1630
|
|
1623
|
-
##### [complex_find_exact](https://github.com/appium/ruby_lib/blob/
|
1631
|
+
##### [complex_find_exact](https://github.com/appium/ruby_lib/blob/63a853ea755edb68a3469bd6647f23530c746853/lib/appium_lib/android/common/helper.rb#L339) android
|
1624
1632
|
|
1625
1633
|
> def complex_find_exact(class_name, value)
|
1626
1634
|
|
@@ -1638,7 +1646,7 @@ __Returns:__
|
|
1638
1646
|
|
1639
1647
|
--
|
1640
1648
|
|
1641
|
-
##### [complex_finds_exact](https://github.com/appium/ruby_lib/blob/
|
1649
|
+
##### [complex_finds_exact](https://github.com/appium/ruby_lib/blob/63a853ea755edb68a3469bd6647f23530c746853/lib/appium_lib/android/common/helper.rb#L347) android
|
1642
1650
|
|
1643
1651
|
> def complex_finds_exact(class_name, value)
|
1644
1652
|
|
@@ -1656,7 +1664,7 @@ __Returns:__
|
|
1656
1664
|
|
1657
1665
|
--
|
1658
1666
|
|
1659
|
-
##### [get_source](https://github.com/appium/ruby_lib/blob/
|
1667
|
+
##### [get_source](https://github.com/appium/ruby_lib/blob/63a853ea755edb68a3469bd6647f23530c746853/lib/appium_lib/android/common/helper.rb#L353) android
|
1660
1668
|
|
1661
1669
|
> def get_source
|
1662
1670
|
|
@@ -1668,7 +1676,7 @@ __Returns:__
|
|
1668
1676
|
|
1669
1677
|
--
|
1670
1678
|
|
1671
|
-
##### [alert_click](https://github.com/appium/ruby_lib/blob/
|
1679
|
+
##### [alert_click](https://github.com/appium/ruby_lib/blob/63a853ea755edb68a3469bd6647f23530c746853/lib/appium_lib/android/element/alert.rb#L6) android
|
1672
1680
|
|
1673
1681
|
> def alert_click(value)
|
1674
1682
|
|
@@ -1684,7 +1692,7 @@ __Returns:__
|
|
1684
1692
|
|
1685
1693
|
--
|
1686
1694
|
|
1687
|
-
##### [alert_accept](https://github.com/appium/ruby_lib/blob/
|
1695
|
+
##### [alert_accept](https://github.com/appium/ruby_lib/blob/63a853ea755edb68a3469bd6647f23530c746853/lib/appium_lib/android/element/alert.rb#L13) android
|
1688
1696
|
|
1689
1697
|
> def alert_accept
|
1690
1698
|
|
@@ -1697,7 +1705,7 @@ __Returns:__
|
|
1697
1705
|
|
1698
1706
|
--
|
1699
1707
|
|
1700
|
-
##### [alert_accept_text](https://github.com/appium/ruby_lib/blob/
|
1708
|
+
##### [alert_accept_text](https://github.com/appium/ruby_lib/blob/63a853ea755edb68a3469bd6647f23530c746853/lib/appium_lib/android/element/alert.rb#L20) android
|
1701
1709
|
|
1702
1710
|
> def alert_accept_text
|
1703
1711
|
|
@@ -1710,7 +1718,7 @@ __Returns:__
|
|
1710
1718
|
|
1711
1719
|
--
|
1712
1720
|
|
1713
|
-
##### [alert_dismiss](https://github.com/appium/ruby_lib/blob/
|
1721
|
+
##### [alert_dismiss](https://github.com/appium/ruby_lib/blob/63a853ea755edb68a3469bd6647f23530c746853/lib/appium_lib/android/element/alert.rb#L27) android
|
1714
1722
|
|
1715
1723
|
> def alert_dismiss
|
1716
1724
|
|
@@ -1723,7 +1731,7 @@ __Returns:__
|
|
1723
1731
|
|
1724
1732
|
--
|
1725
1733
|
|
1726
|
-
##### [alert_dismiss_text](https://github.com/appium/ruby_lib/blob/
|
1734
|
+
##### [alert_dismiss_text](https://github.com/appium/ruby_lib/blob/63a853ea755edb68a3469bd6647f23530c746853/lib/appium_lib/android/element/alert.rb#L34) android
|
1727
1735
|
|
1728
1736
|
> def alert_dismiss_text
|
1729
1737
|
|
@@ -1736,7 +1744,7 @@ __Returns:__
|
|
1736
1744
|
|
1737
1745
|
--
|
1738
1746
|
|
1739
|
-
##### [Button](https://github.com/appium/ruby_lib/blob/
|
1747
|
+
##### [Button](https://github.com/appium/ruby_lib/blob/63a853ea755edb68a3469bd6647f23530c746853/lib/appium_lib/android/element/button.rb#L3) android
|
1740
1748
|
|
1741
1749
|
> Button = 'android.widget.Button'.freeze
|
1742
1750
|
|
@@ -1744,7 +1752,7 @@ __Returns:__
|
|
1744
1752
|
|
1745
1753
|
--
|
1746
1754
|
|
1747
|
-
##### [ImageButton](https://github.com/appium/ruby_lib/blob/
|
1755
|
+
##### [ImageButton](https://github.com/appium/ruby_lib/blob/63a853ea755edb68a3469bd6647f23530c746853/lib/appium_lib/android/element/button.rb#L4) android
|
1748
1756
|
|
1749
1757
|
> ImageButton = 'android.widget.ImageButton'.freeze
|
1750
1758
|
|
@@ -1752,7 +1760,7 @@ __Returns:__
|
|
1752
1760
|
|
1753
1761
|
--
|
1754
1762
|
|
1755
|
-
##### [button](https://github.com/appium/ruby_lib/blob/
|
1763
|
+
##### [button](https://github.com/appium/ruby_lib/blob/63a853ea755edb68a3469bd6647f23530c746853/lib/appium_lib/android/element/button.rb#L10) android
|
1756
1764
|
|
1757
1765
|
> def button(value)
|
1758
1766
|
|
@@ -1769,7 +1777,7 @@ __Returns:__
|
|
1769
1777
|
|
1770
1778
|
--
|
1771
1779
|
|
1772
|
-
##### [buttons](https://github.com/appium/ruby_lib/blob/
|
1780
|
+
##### [buttons](https://github.com/appium/ruby_lib/blob/63a853ea755edb68a3469bd6647f23530c746853/lib/appium_lib/android/element/button.rb#L27) android
|
1773
1781
|
|
1774
1782
|
> def buttons(value = false)
|
1775
1783
|
|
@@ -1786,7 +1794,7 @@ __Returns:__
|
|
1786
1794
|
|
1787
1795
|
--
|
1788
1796
|
|
1789
|
-
##### [first_button](https://github.com/appium/ruby_lib/blob/
|
1797
|
+
##### [first_button](https://github.com/appium/ruby_lib/blob/63a853ea755edb68a3469bd6647f23530c746853/lib/appium_lib/android/element/button.rb#L34) android
|
1790
1798
|
|
1791
1799
|
> def first_button
|
1792
1800
|
|
@@ -1798,7 +1806,7 @@ __Returns:__
|
|
1798
1806
|
|
1799
1807
|
--
|
1800
1808
|
|
1801
|
-
##### [last_button](https://github.com/appium/ruby_lib/blob/
|
1809
|
+
##### [last_button](https://github.com/appium/ruby_lib/blob/63a853ea755edb68a3469bd6647f23530c746853/lib/appium_lib/android/element/button.rb#L40) android
|
1802
1810
|
|
1803
1811
|
> def last_button
|
1804
1812
|
|
@@ -1810,7 +1818,7 @@ __Returns:__
|
|
1810
1818
|
|
1811
1819
|
--
|
1812
1820
|
|
1813
|
-
##### [button_exact](https://github.com/appium/ruby_lib/blob/
|
1821
|
+
##### [button_exact](https://github.com/appium/ruby_lib/blob/63a853ea755edb68a3469bd6647f23530c746853/lib/appium_lib/android/element/button.rb#L56) android
|
1814
1822
|
|
1815
1823
|
> def button_exact(value)
|
1816
1824
|
|
@@ -1826,7 +1834,7 @@ __Returns:__
|
|
1826
1834
|
|
1827
1835
|
--
|
1828
1836
|
|
1829
|
-
##### [buttons_exact](https://github.com/appium/ruby_lib/blob/
|
1837
|
+
##### [buttons_exact](https://github.com/appium/ruby_lib/blob/63a853ea755edb68a3469bd6647f23530c746853/lib/appium_lib/android/element/button.rb#L63) android
|
1830
1838
|
|
1831
1839
|
> def buttons_exact(value)
|
1832
1840
|
|
@@ -1842,7 +1850,7 @@ __Returns:__
|
|
1842
1850
|
|
1843
1851
|
--
|
1844
1852
|
|
1845
|
-
##### [find](https://github.com/appium/ruby_lib/blob/
|
1853
|
+
##### [find](https://github.com/appium/ruby_lib/blob/63a853ea755edb68a3469bd6647f23530c746853/lib/appium_lib/android/element/generic.rb#L6) android
|
1846
1854
|
|
1847
1855
|
> def find(value)
|
1848
1856
|
|
@@ -1858,7 +1866,7 @@ __Returns:__
|
|
1858
1866
|
|
1859
1867
|
--
|
1860
1868
|
|
1861
|
-
##### [finds](https://github.com/appium/ruby_lib/blob/
|
1869
|
+
##### [finds](https://github.com/appium/ruby_lib/blob/63a853ea755edb68a3469bd6647f23530c746853/lib/appium_lib/android/element/generic.rb#L13) android
|
1862
1870
|
|
1863
1871
|
> def finds(value)
|
1864
1872
|
|
@@ -1874,7 +1882,7 @@ __Returns:__
|
|
1874
1882
|
|
1875
1883
|
--
|
1876
1884
|
|
1877
|
-
##### [find_exact](https://github.com/appium/ruby_lib/blob/
|
1885
|
+
##### [find_exact](https://github.com/appium/ruby_lib/blob/63a853ea755edb68a3469bd6647f23530c746853/lib/appium_lib/android/element/generic.rb#L20) android
|
1878
1886
|
|
1879
1887
|
> def find_exact(value)
|
1880
1888
|
|
@@ -1890,7 +1898,7 @@ __Returns:__
|
|
1890
1898
|
|
1891
1899
|
--
|
1892
1900
|
|
1893
|
-
##### [finds_exact](https://github.com/appium/ruby_lib/blob/
|
1901
|
+
##### [finds_exact](https://github.com/appium/ruby_lib/blob/63a853ea755edb68a3469bd6647f23530c746853/lib/appium_lib/android/element/generic.rb#L27) android
|
1894
1902
|
|
1895
1903
|
> def finds_exact(value)
|
1896
1904
|
|
@@ -1906,7 +1914,7 @@ __Returns:__
|
|
1906
1914
|
|
1907
1915
|
--
|
1908
1916
|
|
1909
|
-
##### [scroll_to](https://github.com/appium/ruby_lib/blob/
|
1917
|
+
##### [scroll_to](https://github.com/appium/ruby_lib/blob/63a853ea755edb68a3469bd6647f23530c746853/lib/appium_lib/android/element/generic.rb#L40) android
|
1910
1918
|
|
1911
1919
|
> def scroll_to(text, scrollable_index = 0)
|
1912
1920
|
|
@@ -1924,7 +1932,7 @@ __Returns:__
|
|
1924
1932
|
|
1925
1933
|
--
|
1926
1934
|
|
1927
|
-
##### [scroll_to_exact](https://github.com/appium/ruby_lib/blob/
|
1935
|
+
##### [scroll_to_exact](https://github.com/appium/ruby_lib/blob/63a853ea755edb68a3469bd6647f23530c746853/lib/appium_lib/android/element/generic.rb#L58) android
|
1928
1936
|
|
1929
1937
|
> def scroll_to_exact(text, scrollable_index = 0)
|
1930
1938
|
|
@@ -1942,7 +1950,7 @@ __Returns:__
|
|
1942
1950
|
|
1943
1951
|
--
|
1944
1952
|
|
1945
|
-
##### [EditText](https://github.com/appium/ruby_lib/blob/
|
1953
|
+
##### [EditText](https://github.com/appium/ruby_lib/blob/63a853ea755edb68a3469bd6647f23530c746853/lib/appium_lib/android/element/textfield.rb#L3) android
|
1946
1954
|
|
1947
1955
|
> EditText = 'android.widget.EditText'.freeze
|
1948
1956
|
|
@@ -1950,7 +1958,7 @@ __Returns:__
|
|
1950
1958
|
|
1951
1959
|
--
|
1952
1960
|
|
1953
|
-
##### [textfield](https://github.com/appium/ruby_lib/blob/
|
1961
|
+
##### [textfield](https://github.com/appium/ruby_lib/blob/63a853ea755edb68a3469bd6647f23530c746853/lib/appium_lib/android/element/textfield.rb#L9) android
|
1954
1962
|
|
1955
1963
|
> def textfield(value)
|
1956
1964
|
|
@@ -1967,7 +1975,7 @@ __Returns:__
|
|
1967
1975
|
|
1968
1976
|
--
|
1969
1977
|
|
1970
|
-
##### [textfields](https://github.com/appium/ruby_lib/blob/
|
1978
|
+
##### [textfields](https://github.com/appium/ruby_lib/blob/63a853ea755edb68a3469bd6647f23530c746853/lib/appium_lib/android/element/textfield.rb#L18) android
|
1971
1979
|
|
1972
1980
|
> def textfields(value = false)
|
1973
1981
|
|
@@ -1984,7 +1992,7 @@ __Returns:__
|
|
1984
1992
|
|
1985
1993
|
--
|
1986
1994
|
|
1987
|
-
##### [first_textfield](https://github.com/appium/ruby_lib/blob/
|
1995
|
+
##### [first_textfield](https://github.com/appium/ruby_lib/blob/63a853ea755edb68a3469bd6647f23530c746853/lib/appium_lib/android/element/textfield.rb#L25) android
|
1988
1996
|
|
1989
1997
|
> def first_textfield
|
1990
1998
|
|
@@ -1996,7 +2004,7 @@ __Returns:__
|
|
1996
2004
|
|
1997
2005
|
--
|
1998
2006
|
|
1999
|
-
##### [last_textfield](https://github.com/appium/ruby_lib/blob/
|
2007
|
+
##### [last_textfield](https://github.com/appium/ruby_lib/blob/63a853ea755edb68a3469bd6647f23530c746853/lib/appium_lib/android/element/textfield.rb#L31) android
|
2000
2008
|
|
2001
2009
|
> def last_textfield
|
2002
2010
|
|
@@ -2008,7 +2016,7 @@ __Returns:__
|
|
2008
2016
|
|
2009
2017
|
--
|
2010
2018
|
|
2011
|
-
##### [textfield_exact](https://github.com/appium/ruby_lib/blob/
|
2019
|
+
##### [textfield_exact](https://github.com/appium/ruby_lib/blob/63a853ea755edb68a3469bd6647f23530c746853/lib/appium_lib/android/element/textfield.rb#L38) android
|
2012
2020
|
|
2013
2021
|
> def textfield_exact(value)
|
2014
2022
|
|
@@ -2024,7 +2032,7 @@ __Returns:__
|
|
2024
2032
|
|
2025
2033
|
--
|
2026
2034
|
|
2027
|
-
##### [textfields_exact](https://github.com/appium/ruby_lib/blob/
|
2035
|
+
##### [textfields_exact](https://github.com/appium/ruby_lib/blob/63a853ea755edb68a3469bd6647f23530c746853/lib/appium_lib/android/element/textfield.rb#L45) android
|
2028
2036
|
|
2029
2037
|
> def textfields_exact(value)
|
2030
2038
|
|
@@ -2040,7 +2048,7 @@ __Returns:__
|
|
2040
2048
|
|
2041
2049
|
--
|
2042
2050
|
|
2043
|
-
##### [for](https://github.com/appium/ruby_lib/blob/
|
2051
|
+
##### [for](https://github.com/appium/ruby_lib/blob/63a853ea755edb68a3469bd6647f23530c746853/lib/appium_lib/android/uiautomator2/bridge.rb#L7) android
|
2044
2052
|
|
2045
2053
|
> def self.for(target)
|
2046
2054
|
|
@@ -2048,7 +2056,7 @@ __Returns:__
|
|
2048
2056
|
|
2049
2057
|
--
|
2050
2058
|
|
2051
|
-
##### [string_visible_contains](https://github.com/appium/ruby_lib/blob/
|
2059
|
+
##### [string_visible_contains](https://github.com/appium/ruby_lib/blob/63a853ea755edb68a3469bd6647f23530c746853/lib/appium_lib/android/uiautomator2/helper.rb#L13) android
|
2052
2060
|
|
2053
2061
|
> def string_visible_contains(class_name, value)
|
2054
2062
|
|
@@ -2069,7 +2077,7 @@ __Returns:__
|
|
2069
2077
|
|
2070
2078
|
--
|
2071
2079
|
|
2072
|
-
##### [complex_find_contains](https://github.com/appium/ruby_lib/blob/
|
2080
|
+
##### [complex_find_contains](https://github.com/appium/ruby_lib/blob/63a853ea755edb68a3469bd6647f23530c746853/lib/appium_lib/android/uiautomator2/helper.rb#L31) android
|
2073
2081
|
|
2074
2082
|
> def complex_find_contains(class_name, value)
|
2075
2083
|
|
@@ -2087,7 +2095,7 @@ __Returns:__
|
|
2087
2095
|
|
2088
2096
|
--
|
2089
2097
|
|
2090
|
-
##### [complex_finds_contains](https://github.com/appium/ruby_lib/blob/
|
2098
|
+
##### [complex_finds_contains](https://github.com/appium/ruby_lib/blob/63a853ea755edb68a3469bd6647f23530c746853/lib/appium_lib/android/uiautomator2/helper.rb#L41) android
|
2091
2099
|
|
2092
2100
|
> def complex_finds_contains(class_name, value)
|
2093
2101
|
|
@@ -2105,7 +2113,7 @@ __Returns:__
|
|
2105
2113
|
|
2106
2114
|
--
|
2107
2115
|
|
2108
|
-
##### [complex_find_exact](https://github.com/appium/ruby_lib/blob/
|
2116
|
+
##### [complex_find_exact](https://github.com/appium/ruby_lib/blob/63a853ea755edb68a3469bd6647f23530c746853/lib/appium_lib/android/uiautomator2/helper.rb#L69) android
|
2109
2117
|
|
2110
2118
|
> def complex_find_exact(class_name, value)
|
2111
2119
|
|
@@ -2123,7 +2131,7 @@ __Returns:__
|
|
2123
2131
|
|
2124
2132
|
--
|
2125
2133
|
|
2126
|
-
##### [complex_finds_exact](https://github.com/appium/ruby_lib/blob/
|
2134
|
+
##### [complex_finds_exact](https://github.com/appium/ruby_lib/blob/63a853ea755edb68a3469bd6647f23530c746853/lib/appium_lib/android/uiautomator2/helper.rb#L79) android
|
2127
2135
|
|
2128
2136
|
> def complex_finds_exact(class_name, value)
|
2129
2137
|
|
@@ -2141,7 +2149,7 @@ __Returns:__
|
|
2141
2149
|
|
2142
2150
|
--
|
2143
2151
|
|
2144
|
-
##### [button](https://github.com/appium/ruby_lib/blob/
|
2152
|
+
##### [button](https://github.com/appium/ruby_lib/blob/63a853ea755edb68a3469bd6647f23530c746853/lib/appium_lib/android/uiautomator2/element/button.rb#L9) android
|
2145
2153
|
|
2146
2154
|
> def button(value)
|
2147
2155
|
|
@@ -2158,7 +2166,7 @@ __Returns:__
|
|
2158
2166
|
|
2159
2167
|
--
|
2160
2168
|
|
2161
|
-
##### [buttons](https://github.com/appium/ruby_lib/blob/
|
2169
|
+
##### [buttons](https://github.com/appium/ruby_lib/blob/63a853ea755edb68a3469bd6647f23530c746853/lib/appium_lib/android/uiautomator2/element/button.rb#L29) android
|
2162
2170
|
|
2163
2171
|
> def buttons(value = false)
|
2164
2172
|
|
@@ -2175,7 +2183,7 @@ __Returns:__
|
|
2175
2183
|
|
2176
2184
|
--
|
2177
2185
|
|
2178
|
-
##### [first_button](https://github.com/appium/ruby_lib/blob/
|
2186
|
+
##### [first_button](https://github.com/appium/ruby_lib/blob/63a853ea755edb68a3469bd6647f23530c746853/lib/appium_lib/android/uiautomator2/element/button.rb#L36) android
|
2179
2187
|
|
2180
2188
|
> def first_button
|
2181
2189
|
|
@@ -2187,7 +2195,7 @@ __Returns:__
|
|
2187
2195
|
|
2188
2196
|
--
|
2189
2197
|
|
2190
|
-
##### [last_button](https://github.com/appium/ruby_lib/blob/
|
2198
|
+
##### [last_button](https://github.com/appium/ruby_lib/blob/63a853ea755edb68a3469bd6647f23530c746853/lib/appium_lib/android/uiautomator2/element/button.rb#L43) android
|
2191
2199
|
|
2192
2200
|
> def last_button
|
2193
2201
|
|
@@ -2199,7 +2207,7 @@ __Returns:__
|
|
2199
2207
|
|
2200
2208
|
--
|
2201
2209
|
|
2202
|
-
##### [button_exact](https://github.com/appium/ruby_lib/blob/
|
2210
|
+
##### [button_exact](https://github.com/appium/ruby_lib/blob/63a853ea755edb68a3469bd6647f23530c746853/lib/appium_lib/android/uiautomator2/element/button.rb#L60) android
|
2203
2211
|
|
2204
2212
|
> def button_exact(value)
|
2205
2213
|
|
@@ -2215,7 +2223,7 @@ __Returns:__
|
|
2215
2223
|
|
2216
2224
|
--
|
2217
2225
|
|
2218
|
-
##### [buttons_exact](https://github.com/appium/ruby_lib/blob/
|
2226
|
+
##### [buttons_exact](https://github.com/appium/ruby_lib/blob/63a853ea755edb68a3469bd6647f23530c746853/lib/appium_lib/android/uiautomator2/element/button.rb#L68) android
|
2219
2227
|
|
2220
2228
|
> def buttons_exact(value)
|
2221
2229
|
|