appium_lib 8.0.2 → 8.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/Rakefile +1 -1
- data/android_tests/lib/android/specs/common/device_touchaction.rb +1 -1
- data/android_tests/lib/android/specs/device/touch_actions.rb +32 -0
- data/android_tests/lib/android/specs/driver.rb +2 -1
- data/appium_lib.gemspec +1 -1
- data/contributing.md +1 -1
- data/docs/android_docs.md +269 -204
- data/docs/ios_docs.md +252 -187
- data/ios_tests/appium.txt +1 -1
- data/ios_tests/lib/ios/specs/device/device.rb +1 -1
- data/ios_tests/lib/ios/specs/device/touch_actions.rb +15 -1
- data/ios_tests/lib/ios/specs/driver.rb +3 -2
- data/ios_tests/readme.md +1 -1
- data/lib/appium_lib/common/version.rb +2 -2
- data/lib/appium_lib/device/device.rb +19 -1
- data/lib/appium_lib/device/multi_touch.rb +4 -4
- data/lib/appium_lib/device/touch_actions.rb +45 -8
- data/lib/appium_lib/driver.rb +16 -4
- data/release_notes.md +19 -1
- metadata +6 -6
data/docs/ios_docs.md
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
##### [load_appium_txt](https://github.com/appium/ruby_lib/blob/
|
1
|
+
##### [load_appium_txt](https://github.com/appium/ruby_lib/blob/95d3a6535472559590c4d043e887d15acc445a1a/lib/appium_lib/driver.rb#L70)
|
2
2
|
|
3
3
|
> def self.load_appium_txt(opts = {})
|
4
4
|
|
@@ -27,7 +27,7 @@ __Returns:__
|
|
27
27
|
|
28
28
|
--
|
29
29
|
|
30
|
-
##### [symbolize_keys](https://github.com/appium/ruby_lib/blob/
|
30
|
+
##### [symbolize_keys](https://github.com/appium/ruby_lib/blob/95d3a6535472559590c4d043e887d15acc445a1a/lib/appium_lib/driver.rb#L136)
|
31
31
|
|
32
32
|
> def self.symbolize_keys(hash)
|
33
33
|
|
@@ -38,7 +38,7 @@ https://github.com/rails/docrails/blob/a3b1105ada3da64acfa3843b164b14b734456a50/
|
|
38
38
|
|
39
39
|
--
|
40
40
|
|
41
|
-
##### [promote_singleton_appium_methods](https://github.com/appium/ruby_lib/blob/
|
41
|
+
##### [promote_singleton_appium_methods](https://github.com/appium/ruby_lib/blob/95d3a6535472559590c4d043e887d15acc445a1a/lib/appium_lib/driver.rb#L157)
|
42
42
|
|
43
43
|
> def self.promote_singleton_appium_methods(modules)
|
44
44
|
|
@@ -56,7 +56,7 @@ otherwise, the array of modules will be used as the promotion target.
|
|
56
56
|
|
57
57
|
--
|
58
58
|
|
59
|
-
##### [promote_appium_methods](https://github.com/appium/ruby_lib/blob/
|
59
|
+
##### [promote_appium_methods](https://github.com/appium/ruby_lib/blob/95d3a6535472559590c4d043e887d15acc445a1a/lib/appium_lib/driver.rb#L208)
|
60
60
|
|
61
61
|
> def self.promote_appium_methods(class_array)
|
62
62
|
|
@@ -86,7 +86,7 @@ __Parameters:__
|
|
86
86
|
|
87
87
|
--
|
88
88
|
|
89
|
-
##### [global_webdriver_http_sleep](https://github.com/appium/ruby_lib/blob/
|
89
|
+
##### [global_webdriver_http_sleep](https://github.com/appium/ruby_lib/blob/95d3a6535472559590c4d043e887d15acc445a1a/lib/appium_lib/driver.rb#L242)
|
90
90
|
|
91
91
|
> def global_webdriver_http_sleep
|
92
92
|
|
@@ -94,7 +94,7 @@ The amount to sleep in seconds before every webdriver http call.
|
|
94
94
|
|
95
95
|
--
|
96
96
|
|
97
|
-
##### [global_webdriver_http_sleep=](https://github.com/appium/ruby_lib/blob/
|
97
|
+
##### [global_webdriver_http_sleep=](https://github.com/appium/ruby_lib/blob/95d3a6535472559590c4d043e887d15acc445a1a/lib/appium_lib/driver.rb#L242)
|
98
98
|
|
99
99
|
> def global_webdriver_http_sleep=(value)
|
100
100
|
|
@@ -102,7 +102,7 @@ The amount to sleep in seconds before every webdriver http call.
|
|
102
102
|
|
103
103
|
--
|
104
104
|
|
105
|
-
##### [caps](https://github.com/appium/ruby_lib/blob/
|
105
|
+
##### [caps](https://github.com/appium/ruby_lib/blob/95d3a6535472559590c4d043e887d15acc445a1a/lib/appium_lib/driver.rb#L244)
|
106
106
|
|
107
107
|
> def caps
|
108
108
|
|
@@ -110,7 +110,7 @@ Selenium webdriver capabilities
|
|
110
110
|
|
111
111
|
--
|
112
112
|
|
113
|
-
##### [caps=](https://github.com/appium/ruby_lib/blob/
|
113
|
+
##### [caps=](https://github.com/appium/ruby_lib/blob/95d3a6535472559590c4d043e887d15acc445a1a/lib/appium_lib/driver.rb#L244)
|
114
114
|
|
115
115
|
> def caps=(value)
|
116
116
|
|
@@ -118,7 +118,7 @@ Selenium webdriver capabilities
|
|
118
118
|
|
119
119
|
--
|
120
120
|
|
121
|
-
##### [custom_url](https://github.com/appium/ruby_lib/blob/
|
121
|
+
##### [custom_url](https://github.com/appium/ruby_lib/blob/95d3a6535472559590c4d043e887d15acc445a1a/lib/appium_lib/driver.rb#L246)
|
122
122
|
|
123
123
|
> def custom_url
|
124
124
|
|
@@ -126,7 +126,7 @@ Custom URL for the selenium server
|
|
126
126
|
|
127
127
|
--
|
128
128
|
|
129
|
-
##### [custom_url=](https://github.com/appium/ruby_lib/blob/
|
129
|
+
##### [custom_url=](https://github.com/appium/ruby_lib/blob/95d3a6535472559590c4d043e887d15acc445a1a/lib/appium_lib/driver.rb#L246)
|
130
130
|
|
131
131
|
> def custom_url=(value)
|
132
132
|
|
@@ -134,7 +134,7 @@ Custom URL for the selenium server
|
|
134
134
|
|
135
135
|
--
|
136
136
|
|
137
|
-
##### [export_session](https://github.com/appium/ruby_lib/blob/
|
137
|
+
##### [export_session](https://github.com/appium/ruby_lib/blob/95d3a6535472559590c4d043e887d15acc445a1a/lib/appium_lib/driver.rb#L248)
|
138
138
|
|
139
139
|
> def export_session
|
140
140
|
|
@@ -142,7 +142,7 @@ Export session id to textfile in /tmp for 3rd party tools
|
|
142
142
|
|
143
143
|
--
|
144
144
|
|
145
|
-
##### [export_session=](https://github.com/appium/ruby_lib/blob/
|
145
|
+
##### [export_session=](https://github.com/appium/ruby_lib/blob/95d3a6535472559590c4d043e887d15acc445a1a/lib/appium_lib/driver.rb#L248)
|
146
146
|
|
147
147
|
> def export_session=(value)
|
148
148
|
|
@@ -150,7 +150,7 @@ Export session id to textfile in /tmp for 3rd party tools
|
|
150
150
|
|
151
151
|
--
|
152
152
|
|
153
|
-
##### [default_wait](https://github.com/appium/ruby_lib/blob/
|
153
|
+
##### [default_wait](https://github.com/appium/ruby_lib/blob/95d3a6535472559590c4d043e887d15acc445a1a/lib/appium_lib/driver.rb#L253)
|
154
154
|
|
155
155
|
> def default_wait
|
156
156
|
|
@@ -164,7 +164,7 @@ __Returns:__
|
|
164
164
|
|
165
165
|
--
|
166
166
|
|
167
|
-
##### [default_wait=](https://github.com/appium/ruby_lib/blob/
|
167
|
+
##### [default_wait=](https://github.com/appium/ruby_lib/blob/95d3a6535472559590c4d043e887d15acc445a1a/lib/appium_lib/driver.rb#L253)
|
168
168
|
|
169
169
|
> def default_wait=(value)
|
170
170
|
|
@@ -178,7 +178,7 @@ __Returns:__
|
|
178
178
|
|
179
179
|
--
|
180
180
|
|
181
|
-
##### [last_waits](https://github.com/appium/ruby_lib/blob/
|
181
|
+
##### [last_waits](https://github.com/appium/ruby_lib/blob/95d3a6535472559590c4d043e887d15acc445a1a/lib/appium_lib/driver.rb#L255)
|
182
182
|
|
183
183
|
> def last_waits
|
184
184
|
|
@@ -186,7 +186,7 @@ Array of previous wait time values
|
|
186
186
|
|
187
187
|
--
|
188
188
|
|
189
|
-
##### [last_waits=](https://github.com/appium/ruby_lib/blob/
|
189
|
+
##### [last_waits=](https://github.com/appium/ruby_lib/blob/95d3a6535472559590c4d043e887d15acc445a1a/lib/appium_lib/driver.rb#L255)
|
190
190
|
|
191
191
|
> def last_waits=(value)
|
192
192
|
|
@@ -194,7 +194,7 @@ Array of previous wait time values
|
|
194
194
|
|
195
195
|
--
|
196
196
|
|
197
|
-
##### [sauce_username](https://github.com/appium/ruby_lib/blob/
|
197
|
+
##### [sauce_username](https://github.com/appium/ruby_lib/blob/95d3a6535472559590c4d043e887d15acc445a1a/lib/appium_lib/driver.rb#L257)
|
198
198
|
|
199
199
|
> def sauce_username
|
200
200
|
|
@@ -202,7 +202,7 @@ Username for use on Sauce Labs
|
|
202
202
|
|
203
203
|
--
|
204
204
|
|
205
|
-
##### [sauce_username=](https://github.com/appium/ruby_lib/blob/
|
205
|
+
##### [sauce_username=](https://github.com/appium/ruby_lib/blob/95d3a6535472559590c4d043e887d15acc445a1a/lib/appium_lib/driver.rb#L257)
|
206
206
|
|
207
207
|
> def sauce_username=(value)
|
208
208
|
|
@@ -210,7 +210,7 @@ Username for use on Sauce Labs
|
|
210
210
|
|
211
211
|
--
|
212
212
|
|
213
|
-
##### [sauce_access_key](https://github.com/appium/ruby_lib/blob/
|
213
|
+
##### [sauce_access_key](https://github.com/appium/ruby_lib/blob/95d3a6535472559590c4d043e887d15acc445a1a/lib/appium_lib/driver.rb#L259)
|
214
214
|
|
215
215
|
> def sauce_access_key
|
216
216
|
|
@@ -218,7 +218,7 @@ Access Key for use on Sauce Labs
|
|
218
218
|
|
219
219
|
--
|
220
220
|
|
221
|
-
##### [sauce_access_key=](https://github.com/appium/ruby_lib/blob/
|
221
|
+
##### [sauce_access_key=](https://github.com/appium/ruby_lib/blob/95d3a6535472559590c4d043e887d15acc445a1a/lib/appium_lib/driver.rb#L259)
|
222
222
|
|
223
223
|
> def sauce_access_key=(value)
|
224
224
|
|
@@ -226,7 +226,7 @@ Access Key for use on Sauce Labs
|
|
226
226
|
|
227
227
|
--
|
228
228
|
|
229
|
-
##### [appium_port](https://github.com/appium/ruby_lib/blob/
|
229
|
+
##### [appium_port](https://github.com/appium/ruby_lib/blob/95d3a6535472559590c4d043e887d15acc445a1a/lib/appium_lib/driver.rb#L261)
|
230
230
|
|
231
231
|
> def appium_port
|
232
232
|
|
@@ -234,7 +234,7 @@ Appium's server port
|
|
234
234
|
|
235
235
|
--
|
236
236
|
|
237
|
-
##### [appium_port=](https://github.com/appium/ruby_lib/blob/
|
237
|
+
##### [appium_port=](https://github.com/appium/ruby_lib/blob/95d3a6535472559590c4d043e887d15acc445a1a/lib/appium_lib/driver.rb#L261)
|
238
238
|
|
239
239
|
> def appium_port=(value)
|
240
240
|
|
@@ -242,7 +242,7 @@ Appium's server port
|
|
242
242
|
|
243
243
|
--
|
244
244
|
|
245
|
-
##### [appium_device](https://github.com/appium/ruby_lib/blob/
|
245
|
+
##### [appium_device](https://github.com/appium/ruby_lib/blob/95d3a6535472559590c4d043e887d15acc445a1a/lib/appium_lib/driver.rb#L263)
|
246
246
|
|
247
247
|
> def appium_device
|
248
248
|
|
@@ -250,7 +250,7 @@ Device type to request from the appium server
|
|
250
250
|
|
251
251
|
--
|
252
252
|
|
253
|
-
##### [appium_device=](https://github.com/appium/ruby_lib/blob/
|
253
|
+
##### [appium_device=](https://github.com/appium/ruby_lib/blob/95d3a6535472559590c4d043e887d15acc445a1a/lib/appium_lib/driver.rb#L263)
|
254
254
|
|
255
255
|
> def appium_device=(value)
|
256
256
|
|
@@ -258,7 +258,7 @@ Device type to request from the appium server
|
|
258
258
|
|
259
259
|
--
|
260
260
|
|
261
|
-
##### [appium_debug](https://github.com/appium/ruby_lib/blob/
|
261
|
+
##### [appium_debug](https://github.com/appium/ruby_lib/blob/95d3a6535472559590c4d043e887d15acc445a1a/lib/appium_lib/driver.rb#L265)
|
262
262
|
|
263
263
|
> def appium_debug
|
264
264
|
|
@@ -266,7 +266,7 @@ Boolean debug mode for the Appium Ruby bindings
|
|
266
266
|
|
267
267
|
--
|
268
268
|
|
269
|
-
##### [appium_debug=](https://github.com/appium/ruby_lib/blob/
|
269
|
+
##### [appium_debug=](https://github.com/appium/ruby_lib/blob/95d3a6535472559590c4d043e887d15acc445a1a/lib/appium_lib/driver.rb#L265)
|
270
270
|
|
271
271
|
> def appium_debug=(value)
|
272
272
|
|
@@ -274,7 +274,23 @@ Boolean debug mode for the Appium Ruby bindings
|
|
274
274
|
|
275
275
|
--
|
276
276
|
|
277
|
-
##### [
|
277
|
+
##### [listener](https://github.com/appium/ruby_lib/blob/95d3a6535472559590c4d043e887d15acc445a1a/lib/appium_lib/driver.rb#L267)
|
278
|
+
|
279
|
+
> def listener
|
280
|
+
|
281
|
+
instance of AbstractEventListener for logging support
|
282
|
+
|
283
|
+
--
|
284
|
+
|
285
|
+
##### [listener=](https://github.com/appium/ruby_lib/blob/95d3a6535472559590c4d043e887d15acc445a1a/lib/appium_lib/driver.rb#L267)
|
286
|
+
|
287
|
+
> def listener=(value)
|
288
|
+
|
289
|
+
instance of AbstractEventListener for logging support
|
290
|
+
|
291
|
+
--
|
292
|
+
|
293
|
+
##### [driver](https://github.com/appium/ruby_lib/blob/95d3a6535472559590c4d043e887d15acc445a1a/lib/appium_lib/driver.rb#L271)
|
278
294
|
|
279
295
|
> def driver
|
280
296
|
|
@@ -286,7 +302,7 @@ __Returns:__
|
|
286
302
|
|
287
303
|
--
|
288
304
|
|
289
|
-
##### [initialize](https://github.com/appium/ruby_lib/blob/
|
305
|
+
##### [initialize](https://github.com/appium/ruby_lib/blob/95d3a6535472559590c4d043e887d15acc445a1a/lib/appium_lib/driver.rb#L292)
|
290
306
|
|
291
307
|
> def initialize(opts = {})
|
292
308
|
|
@@ -317,7 +333,7 @@ __Returns:__
|
|
317
333
|
|
318
334
|
--
|
319
335
|
|
320
|
-
##### [driver_attributes](https://github.com/appium/ruby_lib/blob/
|
336
|
+
##### [driver_attributes](https://github.com/appium/ruby_lib/blob/95d3a6535472559590c4d043e887d15acc445a1a/lib/appium_lib/driver.rb#L360)
|
321
337
|
|
322
338
|
> def driver_attributes
|
323
339
|
|
@@ -325,7 +341,7 @@ Returns a hash of the driver attributes
|
|
325
341
|
|
326
342
|
--
|
327
343
|
|
328
|
-
##### [device_is_android?](https://github.com/appium/ruby_lib/blob/
|
344
|
+
##### [device_is_android?](https://github.com/appium/ruby_lib/blob/95d3a6535472559590c4d043e887d15acc445a1a/lib/appium_lib/driver.rb#L381)
|
329
345
|
|
330
346
|
> def device_is_android?
|
331
347
|
|
@@ -337,7 +353,7 @@ __Returns:__
|
|
337
353
|
|
338
354
|
--
|
339
355
|
|
340
|
-
##### [appium_server_version](https://github.com/appium/ruby_lib/blob/
|
356
|
+
##### [appium_server_version](https://github.com/appium/ruby_lib/blob/95d3a6535472559590c4d043e887d15acc445a1a/lib/appium_lib/driver.rb#L397)
|
341
357
|
|
342
358
|
> def appium_server_version
|
343
359
|
|
@@ -358,7 +374,7 @@ __Returns:__
|
|
358
374
|
|
359
375
|
--
|
360
376
|
|
361
|
-
##### [absolute_app_path](https://github.com/appium/ruby_lib/blob/
|
377
|
+
##### [absolute_app_path](https://github.com/appium/ruby_lib/blob/95d3a6535472559590c4d043e887d15acc445a1a/lib/appium_lib/driver.rb#L409)
|
362
378
|
|
363
379
|
> def self.absolute_app_path(opts)
|
364
380
|
|
@@ -375,7 +391,7 @@ __Returns:__
|
|
375
391
|
|
376
392
|
--
|
377
393
|
|
378
|
-
##### [server_url](https://github.com/appium/ruby_lib/blob/
|
394
|
+
##### [server_url](https://github.com/appium/ruby_lib/blob/95d3a6535472559590c4d043e887d15acc445a1a/lib/appium_lib/driver.rb#L442)
|
379
395
|
|
380
396
|
> def server_url
|
381
397
|
|
@@ -387,7 +403,7 @@ __Returns:__
|
|
387
403
|
|
388
404
|
--
|
389
405
|
|
390
|
-
##### [restart](https://github.com/appium/ruby_lib/blob/
|
406
|
+
##### [restart](https://github.com/appium/ruby_lib/blob/95d3a6535472559590c4d043e887d15acc445a1a/lib/appium_lib/driver.rb#L453)
|
391
407
|
|
392
408
|
> def restart
|
393
409
|
|
@@ -399,7 +415,7 @@ __Returns:__
|
|
399
415
|
|
400
416
|
--
|
401
417
|
|
402
|
-
##### [screenshot](https://github.com/appium/ruby_lib/blob/
|
418
|
+
##### [screenshot](https://github.com/appium/ruby_lib/blob/95d3a6535472559590c4d043e887d15acc445a1a/lib/appium_lib/driver.rb#L464)
|
403
419
|
|
404
420
|
> def screenshot(png_save_path)
|
405
421
|
|
@@ -417,7 +433,7 @@ __Returns:__
|
|
417
433
|
|
418
434
|
--
|
419
435
|
|
420
|
-
##### [driver_quit](https://github.com/appium/ruby_lib/blob/
|
436
|
+
##### [driver_quit](https://github.com/appium/ruby_lib/blob/95d3a6535472559590c4d043e887d15acc445a1a/lib/appium_lib/driver.rb#L471)
|
421
437
|
|
422
438
|
> def driver_quit
|
423
439
|
|
@@ -429,7 +445,7 @@ __Returns:__
|
|
429
445
|
|
430
446
|
--
|
431
447
|
|
432
|
-
##### [start_driver](https://github.com/appium/ruby_lib/blob/
|
448
|
+
##### [start_driver](https://github.com/appium/ruby_lib/blob/95d3a6535472559590c4d043e887d15acc445a1a/lib/appium_lib/driver.rb#L480)
|
433
449
|
|
434
450
|
> def start_driver
|
435
451
|
|
@@ -441,7 +457,7 @@ __Returns:__
|
|
441
457
|
|
442
458
|
--
|
443
459
|
|
444
|
-
##### [no_wait](https://github.com/appium/ruby_lib/blob/
|
460
|
+
##### [no_wait](https://github.com/appium/ruby_lib/blob/95d3a6535472559590c4d043e887d15acc445a1a/lib/appium_lib/driver.rb#L513)
|
445
461
|
|
446
462
|
> def no_wait
|
447
463
|
|
@@ -449,7 +465,7 @@ Set implicit wait and default_wait to zero.
|
|
449
465
|
|
450
466
|
--
|
451
467
|
|
452
|
-
##### [set_wait](https://github.com/appium/ruby_lib/blob/
|
468
|
+
##### [set_wait](https://github.com/appium/ruby_lib/blob/95d3a6535472559590c4d043e887d15acc445a1a/lib/appium_lib/driver.rb#L532)
|
453
469
|
|
454
470
|
> def set_wait(timeout = nil)
|
455
471
|
|
@@ -474,7 +490,7 @@ __Returns:__
|
|
474
490
|
|
475
491
|
--
|
476
492
|
|
477
|
-
##### [exists](https://github.com/appium/ruby_lib/blob/
|
493
|
+
##### [exists](https://github.com/appium/ruby_lib/blob/95d3a6535472559590c4d043e887d15acc445a1a/lib/appium_lib/driver.rb#L559)
|
478
494
|
|
479
495
|
> def exists(pre_check = 0, post_check = @default_wait, &search_block)
|
480
496
|
|
@@ -500,7 +516,7 @@ __Returns:__
|
|
500
516
|
|
501
517
|
--
|
502
518
|
|
503
|
-
##### [execute_script](https://github.com/appium/ruby_lib/blob/
|
519
|
+
##### [execute_script](https://github.com/appium/ruby_lib/blob/95d3a6535472559590c4d043e887d15acc445a1a/lib/appium_lib/driver.rb#L583)
|
504
520
|
|
505
521
|
> def execute_script(script, *args)
|
506
522
|
|
@@ -518,7 +534,7 @@ __Returns:__
|
|
518
534
|
|
519
535
|
--
|
520
536
|
|
521
|
-
##### [find_elements](https://github.com/appium/ruby_lib/blob/
|
537
|
+
##### [find_elements](https://github.com/appium/ruby_lib/blob/95d3a6535472559590c4d043e887d15acc445a1a/lib/appium_lib/driver.rb#L591)
|
522
538
|
|
523
539
|
> def find_elements(*args)
|
524
540
|
|
@@ -534,7 +550,7 @@ __Returns:__
|
|
534
550
|
|
535
551
|
--
|
536
552
|
|
537
|
-
##### [find_element](https://github.com/appium/ruby_lib/blob/
|
553
|
+
##### [find_element](https://github.com/appium/ruby_lib/blob/95d3a6535472559590c4d043e887d15acc445a1a/lib/appium_lib/driver.rb#L599)
|
538
554
|
|
539
555
|
> def find_element(*args)
|
540
556
|
|
@@ -550,7 +566,7 @@ __Returns:__
|
|
550
566
|
|
551
567
|
--
|
552
568
|
|
553
|
-
##### [set_location](https://github.com/appium/ruby_lib/blob/
|
569
|
+
##### [set_location](https://github.com/appium/ruby_lib/blob/95d3a6535472559590c4d043e887d15acc445a1a/lib/appium_lib/driver.rb#L612)
|
554
570
|
|
555
571
|
> def set_location(opts = {})
|
556
572
|
|
@@ -566,7 +582,7 @@ __Returns:__
|
|
566
582
|
|
567
583
|
--
|
568
584
|
|
569
|
-
##### [x](https://github.com/appium/ruby_lib/blob/
|
585
|
+
##### [x](https://github.com/appium/ruby_lib/blob/95d3a6535472559590c4d043e887d15acc445a1a/lib/appium_lib/driver.rb#L622)
|
570
586
|
|
571
587
|
> def x
|
572
588
|
|
@@ -579,7 +595,7 @@ __Returns:__
|
|
579
595
|
|
580
596
|
--
|
581
597
|
|
582
|
-
##### [logger=](https://github.com/appium/ruby_lib/blob/
|
598
|
+
##### [logger=](https://github.com/appium/ruby_lib/blob/95d3a6535472559590c4d043e887d15acc445a1a/lib/appium_lib/logger.rb#L13)
|
583
599
|
|
584
600
|
> def logger=(value)
|
585
601
|
|
@@ -591,7 +607,7 @@ __Parameters:__
|
|
591
607
|
|
592
608
|
--
|
593
609
|
|
594
|
-
##### [logger](https://github.com/appium/ruby_lib/blob/
|
610
|
+
##### [logger](https://github.com/appium/ruby_lib/blob/95d3a6535472559590c4d043e887d15acc445a1a/lib/appium_lib/logger.rb#L17)
|
595
611
|
|
596
612
|
> def logger
|
597
613
|
|
@@ -599,7 +615,7 @@ __Parameters:__
|
|
599
615
|
|
600
616
|
--
|
601
617
|
|
602
|
-
##### [NoArgMethods](https://github.com/appium/ruby_lib/blob/
|
618
|
+
##### [NoArgMethods](https://github.com/appium/ruby_lib/blob/95d3a6535472559590c4d043e887d15acc445a1a/lib/appium_lib/device/device.rb#L7)
|
603
619
|
|
604
620
|
> NoArgMethods = {
|
605
621
|
|
@@ -607,7 +623,7 @@ __Parameters:__
|
|
607
623
|
|
608
624
|
--
|
609
625
|
|
610
|
-
##### [app_strings](https://github.com/appium/ruby_lib/blob/
|
626
|
+
##### [app_strings](https://github.com/appium/ruby_lib/blob/95d3a6535472559590c4d043e887d15acc445a1a/lib/appium_lib/device/device.rb#L25)
|
611
627
|
|
612
628
|
> def app_strings
|
613
629
|
|
@@ -618,7 +634,7 @@ app_strings #=> "TransitionsTitle"=>"Transitions", "WebTitle"=>"Web"
|
|
618
634
|
|
619
635
|
--
|
620
636
|
|
621
|
-
##### [background_app](https://github.com/appium/ruby_lib/blob/
|
637
|
+
##### [background_app](https://github.com/appium/ruby_lib/blob/95d3a6535472559590c4d043e887d15acc445a1a/lib/appium_lib/device/device.rb#L31)
|
622
638
|
|
623
639
|
> def background_app
|
624
640
|
|
@@ -627,7 +643,7 @@ This is a blocking application
|
|
627
643
|
|
628
644
|
--
|
629
645
|
|
630
|
-
##### [current_activity](https://github.com/appium/ruby_lib/blob/
|
646
|
+
##### [current_activity](https://github.com/appium/ruby_lib/blob/95d3a6535472559590c4d043e887d15acc445a1a/lib/appium_lib/device/device.rb#L36)
|
631
647
|
|
632
648
|
> def current_activity
|
633
649
|
|
@@ -635,7 +651,7 @@ This is a blocking application
|
|
635
651
|
|
636
652
|
--
|
637
653
|
|
638
|
-
##### [launch_app](https://github.com/appium/ruby_lib/blob/
|
654
|
+
##### [launch_app](https://github.com/appium/ruby_lib/blob/95d3a6535472559590c4d043e887d15acc445a1a/lib/appium_lib/device/device.rb#L38)
|
639
655
|
|
640
656
|
> def launch_app
|
641
657
|
|
@@ -643,7 +659,7 @@ Start the simulator and application configured with desired capabilities
|
|
643
659
|
|
644
660
|
--
|
645
661
|
|
646
|
-
##### [reset](https://github.com/appium/ruby_lib/blob/
|
662
|
+
##### [reset](https://github.com/appium/ruby_lib/blob/95d3a6535472559590c4d043e887d15acc445a1a/lib/appium_lib/device/device.rb#L41)
|
647
663
|
|
648
664
|
> def reset
|
649
665
|
|
@@ -651,7 +667,7 @@ Reset the device, relaunching the application.
|
|
651
667
|
|
652
668
|
--
|
653
669
|
|
654
|
-
##### [shake](https://github.com/appium/ruby_lib/blob/
|
670
|
+
##### [shake](https://github.com/appium/ruby_lib/blob/95d3a6535472559590c4d043e887d15acc445a1a/lib/appium_lib/device/device.rb#L44)
|
655
671
|
|
656
672
|
> def shake
|
657
673
|
|
@@ -659,7 +675,7 @@ Cause the device to shake
|
|
659
675
|
|
660
676
|
--
|
661
677
|
|
662
|
-
##### [toggle_flight_mode](https://github.com/appium/ruby_lib/blob/
|
678
|
+
##### [toggle_flight_mode](https://github.com/appium/ruby_lib/blob/95d3a6535472559590c4d043e887d15acc445a1a/lib/appium_lib/device/device.rb#L47)
|
663
679
|
|
664
680
|
> def toggle_flight_mode
|
665
681
|
|
@@ -667,7 +683,7 @@ Toggle flight mode on or off
|
|
667
683
|
|
668
684
|
--
|
669
685
|
|
670
|
-
##### [device_locked?](https://github.com/appium/ruby_lib/blob/
|
686
|
+
##### [device_locked?](https://github.com/appium/ruby_lib/blob/95d3a6535472559590c4d043e887d15acc445a1a/lib/appium_lib/device/device.rb#L50)
|
671
687
|
|
672
688
|
> def device_locked?
|
673
689
|
|
@@ -675,7 +691,7 @@ Toggle flight mode on or off
|
|
675
691
|
|
676
692
|
--
|
677
693
|
|
678
|
-
##### [hide_keyboard](https://github.com/appium/ruby_lib/blob/
|
694
|
+
##### [hide_keyboard](https://github.com/appium/ruby_lib/blob/95d3a6535472559590c4d043e887d15acc445a1a/lib/appium_lib/device/device.rb#L52)
|
679
695
|
|
680
696
|
> def hide_keyboard
|
681
697
|
|
@@ -688,7 +704,7 @@ Defaults to 'Done'.
|
|
688
704
|
|
689
705
|
--
|
690
706
|
|
691
|
-
##### [press_keycode](https://github.com/appium/ruby_lib/blob/
|
707
|
+
##### [press_keycode](https://github.com/appium/ruby_lib/blob/95d3a6535472559590c4d043e887d15acc445a1a/lib/appium_lib/device/device.rb#L61)
|
692
708
|
|
693
709
|
> def press_keycode
|
694
710
|
|
@@ -703,7 +719,7 @@ __Parameters:__
|
|
703
719
|
|
704
720
|
--
|
705
721
|
|
706
|
-
##### [long_press_keycode](https://github.com/appium/ruby_lib/blob/
|
722
|
+
##### [long_press_keycode](https://github.com/appium/ruby_lib/blob/95d3a6535472559590c4d043e887d15acc445a1a/lib/appium_lib/device/device.rb#L67)
|
707
723
|
|
708
724
|
> def long_press_keycode
|
709
725
|
|
@@ -718,7 +734,7 @@ __Parameters:__
|
|
718
734
|
|
719
735
|
--
|
720
736
|
|
721
|
-
##### [push_file](https://github.com/appium/ruby_lib/blob/
|
737
|
+
##### [push_file](https://github.com/appium/ruby_lib/blob/95d3a6535472559590c4d043e887d15acc445a1a/lib/appium_lib/device/device.rb#L73)
|
722
738
|
|
723
739
|
> def push_file
|
724
740
|
|
@@ -732,7 +748,7 @@ __Parameters:__
|
|
732
748
|
|
733
749
|
--
|
734
750
|
|
735
|
-
##### [pull_file](https://github.com/appium/ruby_lib/blob/
|
751
|
+
##### [pull_file](https://github.com/appium/ruby_lib/blob/95d3a6535472559590c4d043e887d15acc445a1a/lib/appium_lib/device/device.rb#L78)
|
736
752
|
|
737
753
|
> def pull_file
|
738
754
|
|
@@ -749,7 +765,7 @@ __Parameters:__
|
|
749
765
|
|
750
766
|
--
|
751
767
|
|
752
|
-
##### [pull_folder](https://github.com/appium/ruby_lib/blob/
|
768
|
+
##### [pull_folder](https://github.com/appium/ruby_lib/blob/95d3a6535472559590c4d043e887d15acc445a1a/lib/appium_lib/device/device.rb#L88)
|
753
769
|
|
754
770
|
> def pull_folder
|
755
771
|
|
@@ -764,7 +780,24 @@ __Parameters:__
|
|
764
780
|
|
765
781
|
--
|
766
782
|
|
767
|
-
##### [
|
783
|
+
##### [touch_id](https://github.com/appium/ruby_lib/blob/95d3a6535472559590c4d043e887d15acc445a1a/lib/appium_lib/device/device.rb#L96)
|
784
|
+
|
785
|
+
> def touch_id
|
786
|
+
|
787
|
+
iOS only; Simulate Touch ID with either valid (match == true) or invalid (match == false) fingerprint.
|
788
|
+
```ruby
|
789
|
+
touch_id true #=> Simulate valid fingerprint
|
790
|
+
touch_id false #=> Simulate invalid fingerprint
|
791
|
+
```
|
792
|
+
|
793
|
+
__Parameters:__
|
794
|
+
|
795
|
+
[Boolean] match - fingerprint validity
|
796
|
+
Defaults to true.
|
797
|
+
|
798
|
+
--
|
799
|
+
|
800
|
+
##### [end_coverage](https://github.com/appium/ruby_lib/blob/95d3a6535472559590c4d043e887d15acc445a1a/lib/appium_lib/device/device.rb#L105)
|
768
801
|
|
769
802
|
> def end_coverage
|
770
803
|
|
@@ -778,7 +811,7 @@ __Parameters:__
|
|
778
811
|
|
779
812
|
--
|
780
813
|
|
781
|
-
##### [get_settings](https://github.com/appium/ruby_lib/blob/
|
814
|
+
##### [get_settings](https://github.com/appium/ruby_lib/blob/95d3a6535472559590c4d043e887d15acc445a1a/lib/appium_lib/device/device.rb#L110)
|
782
815
|
|
783
816
|
> def get_settings
|
784
817
|
|
@@ -786,7 +819,7 @@ Get appium Settings for current test session
|
|
786
819
|
|
787
820
|
--
|
788
821
|
|
789
|
-
##### [extend_search_contexts](https://github.com/appium/ruby_lib/blob/
|
822
|
+
##### [extend_search_contexts](https://github.com/appium/ruby_lib/blob/95d3a6535472559590c4d043e887d15acc445a1a/lib/appium_lib/device/device.rb#L370)
|
790
823
|
|
791
824
|
> def extend_search_contexts
|
792
825
|
|
@@ -794,9 +827,17 @@ Get appium Settings for current test session
|
|
794
827
|
|
795
828
|
--
|
796
829
|
|
797
|
-
##### [
|
830
|
+
##### [find_element](https://github.com/appium/ruby_lib/blob/95d3a6535472559590c4d043e887d15acc445a1a/lib/appium_lib/device/device.rb#L370)
|
831
|
+
|
832
|
+
> def find_element
|
833
|
+
|
834
|
+
|
835
|
+
|
836
|
+
--
|
837
|
+
|
838
|
+
##### [find_elements](https://github.com/appium/ruby_lib/blob/95d3a6535472559590c4d043e887d15acc445a1a/lib/appium_lib/device/device.rb#L370)
|
798
839
|
|
799
|
-
> def
|
840
|
+
> def find_elements
|
800
841
|
|
801
842
|
find_element/s with their accessibility_id
|
802
843
|
|
@@ -806,7 +847,7 @@ find_element/s with their accessibility_id
|
|
806
847
|
|
807
848
|
--
|
808
849
|
|
809
|
-
##### [add_touch_actions](https://github.com/appium/ruby_lib/blob/
|
850
|
+
##### [add_touch_actions](https://github.com/appium/ruby_lib/blob/95d3a6535472559590c4d043e887d15acc445a1a/lib/appium_lib/device/device.rb#L376)
|
810
851
|
|
811
852
|
> def add_touch_actions
|
812
853
|
|
@@ -814,7 +855,7 @@ find_element/s with their accessibility_id
|
|
814
855
|
|
815
856
|
--
|
816
857
|
|
817
|
-
##### [set_context](https://github.com/appium/ruby_lib/blob/
|
858
|
+
##### [set_context](https://github.com/appium/ruby_lib/blob/95d3a6535472559590c4d043e887d15acc445a1a/lib/appium_lib/device/device.rb#L400)
|
818
859
|
|
819
860
|
> def set_context
|
820
861
|
|
@@ -829,7 +870,7 @@ __Parameters:__
|
|
829
870
|
|
830
871
|
--
|
831
872
|
|
832
|
-
##### [current_context](https://github.com/appium/ruby_lib/blob/
|
873
|
+
##### [current_context](https://github.com/appium/ruby_lib/blob/95d3a6535472559590c4d043e887d15acc445a1a/lib/appium_lib/device/device.rb#L408)
|
833
874
|
|
834
875
|
> def current_context
|
835
876
|
|
@@ -841,7 +882,7 @@ __Returns:__
|
|
841
882
|
|
842
883
|
--
|
843
884
|
|
844
|
-
##### [available_contexts](https://github.com/appium/ruby_lib/blob/
|
885
|
+
##### [available_contexts](https://github.com/appium/ruby_lib/blob/95d3a6535472559590c4d043e887d15acc445a1a/lib/appium_lib/device/device.rb#L411)
|
845
886
|
|
846
887
|
> def available_contexts
|
847
888
|
|
@@ -853,7 +894,7 @@ __Returns:__
|
|
853
894
|
|
854
895
|
--
|
855
896
|
|
856
|
-
##### [within_context](https://github.com/appium/ruby_lib/blob/
|
897
|
+
##### [within_context](https://github.com/appium/ruby_lib/blob/95d3a6535472559590c4d043e887d15acc445a1a/lib/appium_lib/device/device.rb#L421)
|
857
898
|
|
858
899
|
> def within_context(context)
|
859
900
|
|
@@ -869,7 +910,7 @@ __Parameters:__
|
|
869
910
|
|
870
911
|
--
|
871
912
|
|
872
|
-
##### [switch_to_default_context](https://github.com/appium/ruby_lib/blob/
|
913
|
+
##### [switch_to_default_context](https://github.com/appium/ruby_lib/blob/95d3a6535472559590c4d043e887d15acc445a1a/lib/appium_lib/device/device.rb#L429)
|
873
914
|
|
874
915
|
> def switch_to_default_context
|
875
916
|
|
@@ -877,7 +918,7 @@ Change to the default context. This is equivalent to `set_context nil`.
|
|
877
918
|
|
878
919
|
--
|
879
920
|
|
880
|
-
##### [pinch](https://github.com/appium/ruby_lib/blob/
|
921
|
+
##### [pinch](https://github.com/appium/ruby_lib/blob/95d3a6535472559590c4d043e887d15acc445a1a/lib/appium_lib/device/multi_touch.rb#L28)
|
881
922
|
|
882
923
|
> def pinch(percentage = 25, auto_perform = true)
|
883
924
|
|
@@ -896,7 +937,7 @@ __Parameters:__
|
|
896
937
|
|
897
938
|
--
|
898
939
|
|
899
|
-
##### [zoom](https://github.com/appium/ruby_lib/blob/
|
940
|
+
##### [zoom](https://github.com/appium/ruby_lib/blob/95d3a6535472559590c4d043e887d15acc445a1a/lib/appium_lib/device/multi_touch.rb#L56)
|
900
941
|
|
901
942
|
> def zoom(percentage = 200, auto_perform = true)
|
902
943
|
|
@@ -915,7 +956,7 @@ __Parameters:__
|
|
915
956
|
|
916
957
|
--
|
917
958
|
|
918
|
-
##### [initialize](https://github.com/appium/ruby_lib/blob/
|
959
|
+
##### [initialize](https://github.com/appium/ruby_lib/blob/95d3a6535472559590c4d043e887d15acc445a1a/lib/appium_lib/device/multi_touch.rb#L77)
|
919
960
|
|
920
961
|
> def initialize
|
921
962
|
|
@@ -927,7 +968,7 @@ __Returns:__
|
|
927
968
|
|
928
969
|
--
|
929
970
|
|
930
|
-
##### [add](https://github.com/appium/ruby_lib/blob/
|
971
|
+
##### [add](https://github.com/appium/ruby_lib/blob/95d3a6535472559590c4d043e887d15acc445a1a/lib/appium_lib/device/multi_touch.rb#L83)
|
931
972
|
|
932
973
|
> def add(chain)
|
933
974
|
|
@@ -939,7 +980,7 @@ __Parameters:__
|
|
939
980
|
|
940
981
|
--
|
941
982
|
|
942
|
-
##### [perform](https://github.com/appium/ruby_lib/blob/
|
983
|
+
##### [perform](https://github.com/appium/ruby_lib/blob/95d3a6535472559590c4d043e887d15acc445a1a/lib/appium_lib/device/multi_touch.rb#L88)
|
943
984
|
|
944
985
|
> def perform
|
945
986
|
|
@@ -947,15 +988,15 @@ Ask Appium to perform the actions
|
|
947
988
|
|
948
989
|
--
|
949
990
|
|
950
|
-
##### [ACTIONS](https://github.com/appium/ruby_lib/blob/
|
991
|
+
##### [ACTIONS](https://github.com/appium/ruby_lib/blob/95d3a6535472559590c4d043e887d15acc445a1a/lib/appium_lib/device/touch_actions.rb#L11)
|
951
992
|
|
952
|
-
> ACTIONS = [:move_to, :long_press, :press, :release, :tap, :wait, :perform]
|
993
|
+
> ACTIONS = [:move_to, :long_press, :double_tap, :two_finger_tap, :press, :release, :tap, :wait, :perform]
|
953
994
|
|
954
995
|
|
955
996
|
|
956
997
|
--
|
957
998
|
|
958
|
-
##### [COMPLEX_ACTIONS](https://github.com/appium/ruby_lib/blob/
|
999
|
+
##### [COMPLEX_ACTIONS](https://github.com/appium/ruby_lib/blob/95d3a6535472559590c4d043e887d15acc445a1a/lib/appium_lib/device/touch_actions.rb#L12)
|
959
1000
|
|
960
1001
|
> COMPLEX_ACTIONS = [:swipe]
|
961
1002
|
|
@@ -963,7 +1004,7 @@ Ask Appium to perform the actions
|
|
963
1004
|
|
964
1005
|
--
|
965
1006
|
|
966
|
-
##### [actions](https://github.com/appium/ruby_lib/blob/
|
1007
|
+
##### [actions](https://github.com/appium/ruby_lib/blob/95d3a6535472559590c4d043e887d15acc445a1a/lib/appium_lib/device/touch_actions.rb#L26)
|
967
1008
|
|
968
1009
|
> def actions
|
969
1010
|
|
@@ -971,7 +1012,7 @@ Returns the value of attribute actions
|
|
971
1012
|
|
972
1013
|
--
|
973
1014
|
|
974
|
-
##### [initialize](https://github.com/appium/ruby_lib/blob/
|
1015
|
+
##### [initialize](https://github.com/appium/ruby_lib/blob/95d3a6535472559590c4d043e887d15acc445a1a/lib/appium_lib/device/touch_actions.rb#L28)
|
975
1016
|
|
976
1017
|
> def initialize
|
977
1018
|
|
@@ -983,7 +1024,7 @@ __Returns:__
|
|
983
1024
|
|
984
1025
|
--
|
985
1026
|
|
986
|
-
##### [move_to](https://github.com/appium/ruby_lib/blob/
|
1027
|
+
##### [move_to](https://github.com/appium/ruby_lib/blob/95d3a6535472559590c4d043e887d15acc445a1a/lib/appium_lib/device/touch_actions.rb#L36)
|
987
1028
|
|
988
1029
|
> def move_to(opts)
|
989
1030
|
|
@@ -995,7 +1036,7 @@ __Parameters:__
|
|
995
1036
|
|
996
1037
|
--
|
997
1038
|
|
998
|
-
##### [long_press](https://github.com/appium/ruby_lib/blob/
|
1039
|
+
##### [long_press](https://github.com/appium/ruby_lib/blob/95d3a6535472559590c4d043e887d15acc445a1a/lib/appium_lib/device/touch_actions.rb#L46)
|
999
1040
|
|
1000
1041
|
> def long_press(opts)
|
1001
1042
|
|
@@ -1013,7 +1054,7 @@ __Parameters:__
|
|
1013
1054
|
|
1014
1055
|
--
|
1015
1056
|
|
1016
|
-
##### [press](https://github.com/appium/ruby_lib/blob/
|
1057
|
+
##### [press](https://github.com/appium/ruby_lib/blob/95d3a6535472559590c4d043e887d15acc445a1a/lib/appium_lib/device/touch_actions.rb#L58)
|
1017
1058
|
|
1018
1059
|
> def press(opts)
|
1019
1060
|
|
@@ -1026,7 +1067,7 @@ __Parameters:__
|
|
1026
1067
|
|
1027
1068
|
--
|
1028
1069
|
|
1029
|
-
##### [release](https://github.com/appium/ruby_lib/blob/
|
1070
|
+
##### [release](https://github.com/appium/ruby_lib/blob/95d3a6535472559590c4d043e887d15acc445a1a/lib/appium_lib/device/touch_actions.rb#L69)
|
1030
1071
|
|
1031
1072
|
> def release(opts = nil)
|
1032
1073
|
|
@@ -1038,7 +1079,7 @@ __Parameters:__
|
|
1038
1079
|
|
1039
1080
|
--
|
1040
1081
|
|
1041
|
-
##### [tap](https://github.com/appium/ruby_lib/blob/
|
1082
|
+
##### [tap](https://github.com/appium/ruby_lib/blob/95d3a6535472559590c4d043e887d15acc445a1a/lib/appium_lib/device/touch_actions.rb#L80)
|
1042
1083
|
|
1043
1084
|
> def tap(opts)
|
1044
1085
|
|
@@ -1050,7 +1091,31 @@ __Parameters:__
|
|
1050
1091
|
|
1051
1092
|
--
|
1052
1093
|
|
1053
|
-
##### [
|
1094
|
+
##### [double_tap](https://github.com/appium/ruby_lib/blob/95d3a6535472559590c4d043e887d15acc445a1a/lib/appium_lib/device/touch_actions.rb#L93)
|
1095
|
+
|
1096
|
+
> def double_tap(opts)
|
1097
|
+
|
1098
|
+
Double tap an element on the screen
|
1099
|
+
|
1100
|
+
__Parameters:__
|
1101
|
+
|
1102
|
+
[Hash] opts - a customizable set of options
|
1103
|
+
|
1104
|
+
--
|
1105
|
+
|
1106
|
+
##### [two_finger_tap](https://github.com/appium/ruby_lib/blob/95d3a6535472559590c4d043e887d15acc445a1a/lib/appium_lib/device/touch_actions.rb#L104)
|
1107
|
+
|
1108
|
+
> def two_finger_tap(opts)
|
1109
|
+
|
1110
|
+
Two finger tap an element on the screen
|
1111
|
+
|
1112
|
+
__Parameters:__
|
1113
|
+
|
1114
|
+
[Hash] opts - a customizable set of options
|
1115
|
+
|
1116
|
+
--
|
1117
|
+
|
1118
|
+
##### [wait](https://github.com/appium/ruby_lib/blob/95d3a6535472559590c4d043e887d15acc445a1a/lib/appium_lib/device/touch_actions.rb#L112)
|
1054
1119
|
|
1055
1120
|
> def wait(milliseconds)
|
1056
1121
|
|
@@ -1062,7 +1127,7 @@ __Parameters:__
|
|
1062
1127
|
|
1063
1128
|
--
|
1064
1129
|
|
1065
|
-
##### [swipe](https://github.com/appium/ruby_lib/blob/
|
1130
|
+
##### [swipe](https://github.com/appium/ruby_lib/blob/95d3a6535472559590c4d043e887d15acc445a1a/lib/appium_lib/device/touch_actions.rb#L127)
|
1066
1131
|
|
1067
1132
|
> def swipe(opts)
|
1068
1133
|
|
@@ -1076,7 +1141,7 @@ __Parameters:__
|
|
1076
1141
|
|
1077
1142
|
--
|
1078
1143
|
|
1079
|
-
##### [perform](https://github.com/appium/ruby_lib/blob/
|
1144
|
+
##### [perform](https://github.com/appium/ruby_lib/blob/95d3a6535472559590c4d043e887d15acc445a1a/lib/appium_lib/device/touch_actions.rb#L155)
|
1080
1145
|
|
1081
1146
|
> def perform
|
1082
1147
|
|
@@ -1084,7 +1149,7 @@ Ask the driver to perform all actions in this action chain.
|
|
1084
1149
|
|
1085
1150
|
--
|
1086
1151
|
|
1087
|
-
##### [cancel](https://github.com/appium/ruby_lib/blob/
|
1152
|
+
##### [cancel](https://github.com/appium/ruby_lib/blob/95d3a6535472559590c4d043e887d15acc445a1a/lib/appium_lib/device/touch_actions.rb#L161)
|
1088
1153
|
|
1089
1154
|
> def cancel
|
1090
1155
|
|
@@ -1092,7 +1157,7 @@ Does nothing, currently.
|
|
1092
1157
|
|
1093
1158
|
--
|
1094
1159
|
|
1095
|
-
##### [chain_method](https://github.com/appium/ruby_lib/blob/
|
1160
|
+
##### [chain_method](https://github.com/appium/ruby_lib/blob/95d3a6535472559590c4d043e887d15acc445a1a/lib/appium_lib/device/touch_actions.rb#L169)
|
1096
1161
|
|
1097
1162
|
> def chain_method(method, args = nil)
|
1098
1163
|
|
@@ -1100,7 +1165,7 @@ Does nothing, currently.
|
|
1100
1165
|
|
1101
1166
|
--
|
1102
1167
|
|
1103
|
-
##### [args_with_ele_ref](https://github.com/appium/ruby_lib/blob/
|
1168
|
+
##### [args_with_ele_ref](https://github.com/appium/ruby_lib/blob/95d3a6535472559590c4d043e887d15acc445a1a/lib/appium_lib/device/touch_actions.rb#L178)
|
1104
1169
|
|
1105
1170
|
> def args_with_ele_ref(args)
|
1106
1171
|
|
@@ -1108,7 +1173,7 @@ Does nothing, currently.
|
|
1108
1173
|
|
1109
1174
|
--
|
1110
1175
|
|
1111
|
-
##### [_generic_wait](https://github.com/appium/ruby_lib/blob/
|
1176
|
+
##### [_generic_wait](https://github.com/appium/ruby_lib/blob/95d3a6535472559590c4d043e887d15acc445a1a/lib/appium_lib/common/wait.rb#L9)
|
1112
1177
|
|
1113
1178
|
> def _generic_wait(opts = {}, &block)
|
1114
1179
|
|
@@ -1117,7 +1182,7 @@ https://github.com/SeleniumHQ/selenium/blob/cf501dda3f0ed12233de51ce8170c0e8090f
|
|
1117
1182
|
|
1118
1183
|
--
|
1119
1184
|
|
1120
|
-
##### [_process_wait_opts](https://github.com/appium/ruby_lib/blob/
|
1185
|
+
##### [_process_wait_opts](https://github.com/appium/ruby_lib/blob/95d3a6535472559590c4d043e887d15acc445a1a/lib/appium_lib/common/wait.rb#L54)
|
1121
1186
|
|
1122
1187
|
> def _process_wait_opts(opts)
|
1123
1188
|
|
@@ -1125,7 +1190,7 @@ process opts before calling _generic_wait
|
|
1125
1190
|
|
1126
1191
|
--
|
1127
1192
|
|
1128
|
-
##### [wait_true](https://github.com/appium/ruby_lib/blob/
|
1193
|
+
##### [wait_true](https://github.com/appium/ruby_lib/blob/95d3a6535472559590c4d043e887d15acc445a1a/lib/appium_lib/common/wait.rb#L75)
|
1129
1194
|
|
1130
1195
|
> def wait_true(opts = {}, &block)
|
1131
1196
|
|
@@ -1145,7 +1210,7 @@ __Parameters:__
|
|
1145
1210
|
|
1146
1211
|
--
|
1147
1212
|
|
1148
|
-
##### [wait](https://github.com/appium/ruby_lib/blob/
|
1213
|
+
##### [wait](https://github.com/appium/ruby_lib/blob/95d3a6535472559590c4d043e887d15acc445a1a/lib/appium_lib/common/wait.rb#L93)
|
1149
1214
|
|
1150
1215
|
> def wait(opts = {}, &block)
|
1151
1216
|
|
@@ -1163,7 +1228,7 @@ __Parameters:__
|
|
1163
1228
|
|
1164
1229
|
--
|
1165
1230
|
|
1166
|
-
##### [ignore](https://github.com/appium/ruby_lib/blob/
|
1231
|
+
##### [ignore](https://github.com/appium/ruby_lib/blob/95d3a6535472559590c4d043e887d15acc445a1a/lib/appium_lib/common/helper.rb#L24)
|
1167
1232
|
|
1168
1233
|
> def ignore(&block)
|
1169
1234
|
|
@@ -1171,7 +1236,7 @@ Return block.call and ignore any exceptions.
|
|
1171
1236
|
|
1172
1237
|
--
|
1173
1238
|
|
1174
|
-
##### [back](https://github.com/appium/ruby_lib/blob/
|
1239
|
+
##### [back](https://github.com/appium/ruby_lib/blob/95d3a6535472559590c4d043e887d15acc445a1a/lib/appium_lib/common/helper.rb#L31)
|
1175
1240
|
|
1176
1241
|
> def back
|
1177
1242
|
|
@@ -1183,7 +1248,7 @@ __Returns:__
|
|
1183
1248
|
|
1184
1249
|
--
|
1185
1250
|
|
1186
|
-
##### [session_id](https://github.com/appium/ruby_lib/blob/
|
1251
|
+
##### [session_id](https://github.com/appium/ruby_lib/blob/95d3a6535472559590c4d043e887d15acc445a1a/lib/appium_lib/common/helper.rb#L36)
|
1187
1252
|
|
1188
1253
|
> def session_id
|
1189
1254
|
|
@@ -1191,7 +1256,7 @@ For Sauce Labs reporting. Returns the current session id.
|
|
1191
1256
|
|
1192
1257
|
--
|
1193
1258
|
|
1194
|
-
##### [xpath](https://github.com/appium/ruby_lib/blob/
|
1259
|
+
##### [xpath](https://github.com/appium/ruby_lib/blob/95d3a6535472559590c4d043e887d15acc445a1a/lib/appium_lib/common/helper.rb#L44)
|
1195
1260
|
|
1196
1261
|
> def xpath(xpath_str)
|
1197
1262
|
|
@@ -1207,7 +1272,7 @@ __Returns:__
|
|
1207
1272
|
|
1208
1273
|
--
|
1209
1274
|
|
1210
|
-
##### [xpaths](https://github.com/appium/ruby_lib/blob/
|
1275
|
+
##### [xpaths](https://github.com/appium/ruby_lib/blob/95d3a6535472559590c4d043e887d15acc445a1a/lib/appium_lib/common/helper.rb#L52)
|
1211
1276
|
|
1212
1277
|
> def xpaths(xpath_str)
|
1213
1278
|
|
@@ -1223,7 +1288,7 @@ __Returns:__
|
|
1223
1288
|
|
1224
1289
|
--
|
1225
1290
|
|
1226
|
-
##### [_print_source](https://github.com/appium/ruby_lib/blob/
|
1291
|
+
##### [_print_source](https://github.com/appium/ruby_lib/blob/95d3a6535472559590c4d043e887d15acc445a1a/lib/appium_lib/common/helper.rb#L56)
|
1227
1292
|
|
1228
1293
|
> def _print_source(source)
|
1229
1294
|
|
@@ -1231,7 +1296,7 @@ __Returns:__
|
|
1231
1296
|
|
1232
1297
|
--
|
1233
1298
|
|
1234
|
-
##### [result](https://github.com/appium/ruby_lib/blob/
|
1299
|
+
##### [result](https://github.com/appium/ruby_lib/blob/95d3a6535472559590c4d043e887d15acc445a1a/lib/appium_lib/common/helper.rb#L69)
|
1235
1300
|
|
1236
1301
|
> def result
|
1237
1302
|
|
@@ -1239,7 +1304,7 @@ Returns the value of attribute result
|
|
1239
1304
|
|
1240
1305
|
--
|
1241
1306
|
|
1242
|
-
##### [initialize](https://github.com/appium/ruby_lib/blob/
|
1307
|
+
##### [initialize](https://github.com/appium/ruby_lib/blob/95d3a6535472559590c4d043e887d15acc445a1a/lib/appium_lib/common/helper.rb#L71)
|
1243
1308
|
|
1244
1309
|
> def initialize
|
1245
1310
|
|
@@ -1251,7 +1316,7 @@ __Returns:__
|
|
1251
1316
|
|
1252
1317
|
--
|
1253
1318
|
|
1254
|
-
##### [reset](https://github.com/appium/ruby_lib/blob/
|
1319
|
+
##### [reset](https://github.com/appium/ruby_lib/blob/95d3a6535472559590c4d043e887d15acc445a1a/lib/appium_lib/common/helper.rb#L75)
|
1255
1320
|
|
1256
1321
|
> def reset
|
1257
1322
|
|
@@ -1259,7 +1324,7 @@ __Returns:__
|
|
1259
1324
|
|
1260
1325
|
--
|
1261
1326
|
|
1262
|
-
##### [start_element](https://github.com/appium/ruby_lib/blob/
|
1327
|
+
##### [start_element](https://github.com/appium/ruby_lib/blob/95d3a6535472559590c4d043e887d15acc445a1a/lib/appium_lib/common/helper.rb#L80)
|
1263
1328
|
|
1264
1329
|
> def start_element(name, attrs = [])
|
1265
1330
|
|
@@ -1267,7 +1332,7 @@ http://nokogiri.org/Nokogiri/XML/SAX/Document.html
|
|
1267
1332
|
|
1268
1333
|
--
|
1269
1334
|
|
1270
|
-
##### [formatted_result](https://github.com/appium/ruby_lib/blob/
|
1335
|
+
##### [formatted_result](https://github.com/appium/ruby_lib/blob/95d3a6535472559590c4d043e887d15acc445a1a/lib/appium_lib/common/helper.rb#L86)
|
1271
1336
|
|
1272
1337
|
> def formatted_result
|
1273
1338
|
|
@@ -1275,7 +1340,7 @@ http://nokogiri.org/Nokogiri/XML/SAX/Document.html
|
|
1275
1340
|
|
1276
1341
|
--
|
1277
1342
|
|
1278
|
-
##### [get_page_class](https://github.com/appium/ruby_lib/blob/
|
1343
|
+
##### [get_page_class](https://github.com/appium/ruby_lib/blob/95d3a6535472559590c4d043e887d15acc445a1a/lib/appium_lib/common/helper.rb#L97)
|
1279
1344
|
|
1280
1345
|
> def get_page_class
|
1281
1346
|
|
@@ -1283,7 +1348,7 @@ Returns a string of class counts of visible elements.
|
|
1283
1348
|
|
1284
1349
|
--
|
1285
1350
|
|
1286
|
-
##### [page_class](https://github.com/appium/ruby_lib/blob/
|
1351
|
+
##### [page_class](https://github.com/appium/ruby_lib/blob/95d3a6535472559590c4d043e887d15acc445a1a/lib/appium_lib/common/helper.rb#L108)
|
1287
1352
|
|
1288
1353
|
> def page_class
|
1289
1354
|
|
@@ -1292,7 +1357,7 @@ Useful for appium_console.
|
|
1292
1357
|
|
1293
1358
|
--
|
1294
1359
|
|
1295
|
-
##### [px_to_window_rel](https://github.com/appium/ruby_lib/blob/
|
1360
|
+
##### [px_to_window_rel](https://github.com/appium/ruby_lib/blob/95d3a6535472559590c4d043e887d15acc445a1a/lib/appium_lib/common/helper.rb#L118)
|
1296
1361
|
|
1297
1362
|
> def px_to_window_rel(opts = {})
|
1298
1363
|
|
@@ -1304,7 +1369,7 @@ px_to_window_rel x: 50, y: 150
|
|
1304
1369
|
|
1305
1370
|
--
|
1306
1371
|
|
1307
|
-
##### [xml_keys](https://github.com/appium/ruby_lib/blob/
|
1372
|
+
##### [xml_keys](https://github.com/appium/ruby_lib/blob/95d3a6535472559590c4d043e887d15acc445a1a/lib/appium_lib/common/helper.rb#L137)
|
1308
1373
|
|
1309
1374
|
> def xml_keys(target)
|
1310
1375
|
|
@@ -1320,7 +1385,7 @@ __Returns:__
|
|
1320
1385
|
|
1321
1386
|
--
|
1322
1387
|
|
1323
|
-
##### [xml_values](https://github.com/appium/ruby_lib/blob/
|
1388
|
+
##### [xml_values](https://github.com/appium/ruby_lib/blob/95d3a6535472559590c4d043e887d15acc445a1a/lib/appium_lib/common/helper.rb#L145)
|
1324
1389
|
|
1325
1390
|
> def xml_values(target)
|
1326
1391
|
|
@@ -1336,7 +1401,7 @@ __Returns:__
|
|
1336
1401
|
|
1337
1402
|
--
|
1338
1403
|
|
1339
|
-
##### [resolve_id](https://github.com/appium/ruby_lib/blob/
|
1404
|
+
##### [resolve_id](https://github.com/appium/ruby_lib/blob/95d3a6535472559590c4d043e887d15acc445a1a/lib/appium_lib/common/helper.rb#L153)
|
1340
1405
|
|
1341
1406
|
> def resolve_id(id)
|
1342
1407
|
|
@@ -1352,7 +1417,7 @@ __Returns:__
|
|
1352
1417
|
|
1353
1418
|
--
|
1354
1419
|
|
1355
|
-
##### [filter](https://github.com/appium/ruby_lib/blob/
|
1420
|
+
##### [filter](https://github.com/appium/ruby_lib/blob/95d3a6535472559590c4d043e887d15acc445a1a/lib/appium_lib/common/helper.rb#L159)
|
1356
1421
|
|
1357
1422
|
> def filter
|
1358
1423
|
|
@@ -1360,7 +1425,7 @@ Returns the value of attribute filter
|
|
1360
1425
|
|
1361
1426
|
--
|
1362
1427
|
|
1363
|
-
##### [filter=](https://github.com/appium/ruby_lib/blob/
|
1428
|
+
##### [filter=](https://github.com/appium/ruby_lib/blob/95d3a6535472559590c4d043e887d15acc445a1a/lib/appium_lib/common/helper.rb#L162)
|
1364
1429
|
|
1365
1430
|
> def filter=(value)
|
1366
1431
|
|
@@ -1368,7 +1433,7 @@ convert to string to support symbols
|
|
1368
1433
|
|
1369
1434
|
--
|
1370
1435
|
|
1371
|
-
##### [initialize](https://github.com/appium/ruby_lib/blob/
|
1436
|
+
##### [initialize](https://github.com/appium/ruby_lib/blob/95d3a6535472559590c4d043e887d15acc445a1a/lib/appium_lib/common/helper.rb#L168)
|
1372
1437
|
|
1373
1438
|
> def initialize
|
1374
1439
|
|
@@ -1380,7 +1445,7 @@ __Returns:__
|
|
1380
1445
|
|
1381
1446
|
--
|
1382
1447
|
|
1383
|
-
##### [reset](https://github.com/appium/ruby_lib/blob/
|
1448
|
+
##### [reset](https://github.com/appium/ruby_lib/blob/95d3a6535472559590c4d043e887d15acc445a1a/lib/appium_lib/common/helper.rb#L173)
|
1384
1449
|
|
1385
1450
|
> def reset
|
1386
1451
|
|
@@ -1388,7 +1453,7 @@ __Returns:__
|
|
1388
1453
|
|
1389
1454
|
--
|
1390
1455
|
|
1391
|
-
##### [result](https://github.com/appium/ruby_lib/blob/
|
1456
|
+
##### [result](https://github.com/appium/ruby_lib/blob/95d3a6535472559590c4d043e887d15acc445a1a/lib/appium_lib/common/helper.rb#L179)
|
1392
1457
|
|
1393
1458
|
> def result
|
1394
1459
|
|
@@ -1396,7 +1461,7 @@ __Returns:__
|
|
1396
1461
|
|
1397
1462
|
--
|
1398
1463
|
|
1399
|
-
##### [start_element](https://github.com/appium/ruby_lib/blob/
|
1464
|
+
##### [start_element](https://github.com/appium/ruby_lib/blob/95d3a6535472559590c4d043e887d15acc445a1a/lib/appium_lib/common/helper.rb#L195)
|
1400
1465
|
|
1401
1466
|
> def start_element(name, attrs = [])
|
1402
1467
|
|
@@ -1404,7 +1469,7 @@ __Returns:__
|
|
1404
1469
|
|
1405
1470
|
--
|
1406
1471
|
|
1407
|
-
##### [end_element](https://github.com/appium/ruby_lib/blob/
|
1472
|
+
##### [end_element](https://github.com/appium/ruby_lib/blob/95d3a6535472559590c4d043e887d15acc445a1a/lib/appium_lib/common/helper.rb#L204)
|
1408
1473
|
|
1409
1474
|
> def end_element(name)
|
1410
1475
|
|
@@ -1412,7 +1477,7 @@ __Returns:__
|
|
1412
1477
|
|
1413
1478
|
--
|
1414
1479
|
|
1415
|
-
##### [characters](https://github.com/appium/ruby_lib/blob/
|
1480
|
+
##### [characters](https://github.com/appium/ruby_lib/blob/95d3a6535472559590c4d043e887d15acc445a1a/lib/appium_lib/common/helper.rb#L210)
|
1416
1481
|
|
1417
1482
|
> def characters(chars)
|
1418
1483
|
|
@@ -1420,7 +1485,7 @@ __Returns:__
|
|
1420
1485
|
|
1421
1486
|
--
|
1422
1487
|
|
1423
|
-
##### [_no_such_element](https://github.com/appium/ruby_lib/blob/
|
1488
|
+
##### [_no_such_element](https://github.com/appium/ruby_lib/blob/95d3a6535472559590c4d043e887d15acc445a1a/lib/appium_lib/common/helper.rb#L217)
|
1424
1489
|
|
1425
1490
|
> def _no_such_element
|
1426
1491
|
|
@@ -1428,7 +1493,7 @@ __Returns:__
|
|
1428
1493
|
|
1429
1494
|
--
|
1430
1495
|
|
1431
|
-
##### [window_size](https://github.com/appium/ruby_lib/blob/
|
1496
|
+
##### [window_size](https://github.com/appium/ruby_lib/blob/95d3a6535472559590c4d043e887d15acc445a1a/lib/appium_lib/common/element/window.rb#L5)
|
1432
1497
|
|
1433
1498
|
> def window_size
|
1434
1499
|
|
@@ -1436,7 +1501,7 @@ Get the window's size
|
|
1436
1501
|
|
1437
1502
|
--
|
1438
1503
|
|
1439
|
-
##### [ios_password](https://github.com/appium/ruby_lib/blob/
|
1504
|
+
##### [ios_password](https://github.com/appium/ruby_lib/blob/95d3a6535472559590c4d043e887d15acc445a1a/lib/appium_lib/ios/helper.rb#L8) ios
|
1440
1505
|
|
1441
1506
|
> def ios_password(length = 1)
|
1442
1507
|
|
@@ -1454,7 +1519,7 @@ __Returns:__
|
|
1454
1519
|
|
1455
1520
|
--
|
1456
1521
|
|
1457
|
-
##### [get_page](https://github.com/appium/ruby_lib/blob/
|
1522
|
+
##### [get_page](https://github.com/appium/ruby_lib/blob/95d3a6535472559590c4d043e887d15acc445a1a/lib/appium_lib/ios/helper.rb#L20) ios
|
1458
1523
|
|
1459
1524
|
> def get_page(element = source_window(0), class_name = nil)
|
1460
1525
|
|
@@ -1475,7 +1540,7 @@ __Returns:__
|
|
1475
1540
|
|
1476
1541
|
--
|
1477
1542
|
|
1478
|
-
##### [page](https://github.com/appium/ruby_lib/blob/
|
1543
|
+
##### [page](https://github.com/appium/ruby_lib/blob/95d3a6535472559590c4d043e887d15acc445a1a/lib/appium_lib/ios/helper.rb#L129) ios
|
1479
1544
|
|
1480
1545
|
> def page(opts = {})
|
1481
1546
|
|
@@ -1501,7 +1566,7 @@ __Returns:__
|
|
1501
1566
|
|
1502
1567
|
--
|
1503
1568
|
|
1504
|
-
##### [source_window](https://github.com/appium/ruby_lib/blob/
|
1569
|
+
##### [source_window](https://github.com/appium/ruby_lib/blob/95d3a6535472559590c4d043e887d15acc445a1a/lib/appium_lib/ios/helper.rb#L161) ios
|
1505
1570
|
|
1506
1571
|
> def source_window(window_number = 0)
|
1507
1572
|
|
@@ -1517,7 +1582,7 @@ __Returns:__
|
|
1517
1582
|
|
1518
1583
|
--
|
1519
1584
|
|
1520
|
-
##### [page_window](https://github.com/appium/ruby_lib/blob/
|
1585
|
+
##### [page_window](https://github.com/appium/ruby_lib/blob/95d3a6535472559590c4d043e887d15acc445a1a/lib/appium_lib/ios/helper.rb#L175) ios
|
1521
1586
|
|
1522
1587
|
> def page_window(window_number = 0)
|
1523
1588
|
|
@@ -1535,7 +1600,7 @@ __Returns:__
|
|
1535
1600
|
|
1536
1601
|
--
|
1537
1602
|
|
1538
|
-
##### [id](https://github.com/appium/ruby_lib/blob/
|
1603
|
+
##### [id](https://github.com/appium/ruby_lib/blob/95d3a6535472559590c4d043e887d15acc445a1a/lib/appium_lib/ios/helper.rb#L183) ios
|
1539
1604
|
|
1540
1605
|
> def id(id)
|
1541
1606
|
|
@@ -1551,7 +1616,7 @@ __Returns:__
|
|
1551
1616
|
|
1552
1617
|
--
|
1553
1618
|
|
1554
|
-
##### [ios_version](https://github.com/appium/ruby_lib/blob/
|
1619
|
+
##### [ios_version](https://github.com/appium/ruby_lib/blob/95d3a6535472559590c4d043e887d15acc445a1a/lib/appium_lib/ios/helper.rb#L189) ios
|
1555
1620
|
|
1556
1621
|
> def ios_version
|
1557
1622
|
|
@@ -1563,7 +1628,7 @@ __Returns:__
|
|
1563
1628
|
|
1564
1629
|
--
|
1565
1630
|
|
1566
|
-
##### [ele_index](https://github.com/appium/ruby_lib/blob/
|
1631
|
+
##### [ele_index](https://github.com/appium/ruby_lib/blob/95d3a6535472559590c4d043e887d15acc445a1a/lib/appium_lib/ios/helper.rb#L198) ios
|
1567
1632
|
|
1568
1633
|
> def ele_index(class_name, index)
|
1569
1634
|
|
@@ -1581,7 +1646,7 @@ __Returns:__
|
|
1581
1646
|
|
1582
1647
|
--
|
1583
1648
|
|
1584
|
-
##### [find_ele_by_attr](https://github.com/appium/ruby_lib/blob/
|
1649
|
+
##### [find_ele_by_attr](https://github.com/appium/ruby_lib/blob/95d3a6535472559590c4d043e887d15acc445a1a/lib/appium_lib/ios/helper.rb#L225) ios
|
1585
1650
|
|
1586
1651
|
> def find_ele_by_attr(class_name, attr, value)
|
1587
1652
|
|
@@ -1602,7 +1667,7 @@ __Returns:__
|
|
1602
1667
|
|
1603
1668
|
--
|
1604
1669
|
|
1605
|
-
##### [find_eles_by_attr](https://github.com/appium/ruby_lib/blob/
|
1670
|
+
##### [find_eles_by_attr](https://github.com/appium/ruby_lib/blob/95d3a6535472559590c4d043e887d15acc445a1a/lib/appium_lib/ios/helper.rb#L235) ios
|
1606
1671
|
|
1607
1672
|
> def find_eles_by_attr(class_name, attr, value)
|
1608
1673
|
|
@@ -1623,7 +1688,7 @@ __Returns:__
|
|
1623
1688
|
|
1624
1689
|
--
|
1625
1690
|
|
1626
|
-
##### [find_ele_by_attr_include](https://github.com/appium/ruby_lib/blob/
|
1691
|
+
##### [find_ele_by_attr_include](https://github.com/appium/ruby_lib/blob/95d3a6535472559590c4d043e887d15acc445a1a/lib/appium_lib/ios/helper.rb#L250) ios
|
1627
1692
|
|
1628
1693
|
> def find_ele_by_attr_include(class_name, attr, value)
|
1629
1694
|
|
@@ -1644,7 +1709,7 @@ __Returns:__
|
|
1644
1709
|
|
1645
1710
|
--
|
1646
1711
|
|
1647
|
-
##### [find_eles_by_attr_include](https://github.com/appium/ruby_lib/blob/
|
1712
|
+
##### [find_eles_by_attr_include](https://github.com/appium/ruby_lib/blob/95d3a6535472559590c4d043e887d15acc445a1a/lib/appium_lib/ios/helper.rb#L260) ios
|
1648
1713
|
|
1649
1714
|
> def find_eles_by_attr_include(class_name, attr, value)
|
1650
1715
|
|
@@ -1665,7 +1730,7 @@ __Returns:__
|
|
1665
1730
|
|
1666
1731
|
--
|
1667
1732
|
|
1668
|
-
##### [first_ele](https://github.com/appium/ruby_lib/blob/
|
1733
|
+
##### [first_ele](https://github.com/appium/ruby_lib/blob/95d3a6535472559590c4d043e887d15acc445a1a/lib/appium_lib/ios/helper.rb#L267) ios
|
1669
1734
|
|
1670
1735
|
> def first_ele(class_name)
|
1671
1736
|
|
@@ -1681,7 +1746,7 @@ __Returns:__
|
|
1681
1746
|
|
1682
1747
|
--
|
1683
1748
|
|
1684
|
-
##### [last_ele](https://github.com/appium/ruby_lib/blob/
|
1749
|
+
##### [last_ele](https://github.com/appium/ruby_lib/blob/95d3a6535472559590c4d043e887d15acc445a1a/lib/appium_lib/ios/helper.rb#L275) ios
|
1685
1750
|
|
1686
1751
|
> def last_ele(class_name)
|
1687
1752
|
|
@@ -1697,7 +1762,7 @@ __Returns:__
|
|
1697
1762
|
|
1698
1763
|
--
|
1699
1764
|
|
1700
|
-
##### [tag](https://github.com/appium/ruby_lib/blob/
|
1765
|
+
##### [tag](https://github.com/appium/ruby_lib/blob/95d3a6535472559590c4d043e887d15acc445a1a/lib/appium_lib/ios/helper.rb#L283) ios
|
1701
1766
|
|
1702
1767
|
> def tag(class_name)
|
1703
1768
|
|
@@ -1713,7 +1778,7 @@ __Returns:__
|
|
1713
1778
|
|
1714
1779
|
--
|
1715
1780
|
|
1716
|
-
##### [tags](https://github.com/appium/ruby_lib/blob/
|
1781
|
+
##### [tags](https://github.com/appium/ruby_lib/blob/95d3a6535472559590c4d043e887d15acc445a1a/lib/appium_lib/ios/helper.rb#L294) ios
|
1717
1782
|
|
1718
1783
|
> def tags(class_name)
|
1719
1784
|
|
@@ -1729,7 +1794,7 @@ __Returns:__
|
|
1729
1794
|
|
1730
1795
|
--
|
1731
1796
|
|
1732
|
-
##### [ele_by_json_visible_contains](https://github.com/appium/ruby_lib/blob/
|
1797
|
+
##### [ele_by_json_visible_contains](https://github.com/appium/ruby_lib/blob/95d3a6535472559590c4d043e887d15acc445a1a/lib/appium_lib/ios/helper.rb#L329) ios
|
1733
1798
|
|
1734
1799
|
> def ele_by_json_visible_contains(element, value)
|
1735
1800
|
|
@@ -1747,7 +1812,7 @@ __Returns:__
|
|
1747
1812
|
|
1748
1813
|
--
|
1749
1814
|
|
1750
|
-
##### [eles_by_json_visible_contains](https://github.com/appium/ruby_lib/blob/
|
1815
|
+
##### [eles_by_json_visible_contains](https://github.com/appium/ruby_lib/blob/95d3a6535472559590c4d043e887d15acc445a1a/lib/appium_lib/ios/helper.rb#L337) ios
|
1751
1816
|
|
1752
1817
|
> def eles_by_json_visible_contains(element, value)
|
1753
1818
|
|
@@ -1765,7 +1830,7 @@ __Returns:__
|
|
1765
1830
|
|
1766
1831
|
--
|
1767
1832
|
|
1768
|
-
##### [ele_by_json_visible_exact](https://github.com/appium/ruby_lib/blob/
|
1833
|
+
##### [ele_by_json_visible_exact](https://github.com/appium/ruby_lib/blob/95d3a6535472559590c4d043e887d15acc445a1a/lib/appium_lib/ios/helper.rb#L366) ios
|
1769
1834
|
|
1770
1835
|
> def ele_by_json_visible_exact(element, value)
|
1771
1836
|
|
@@ -1783,7 +1848,7 @@ __Returns:__
|
|
1783
1848
|
|
1784
1849
|
--
|
1785
1850
|
|
1786
|
-
##### [eles_by_json_visible_exact](https://github.com/appium/ruby_lib/blob/
|
1851
|
+
##### [eles_by_json_visible_exact](https://github.com/appium/ruby_lib/blob/95d3a6535472559590c4d043e887d15acc445a1a/lib/appium_lib/ios/helper.rb#L374) ios
|
1787
1852
|
|
1788
1853
|
> def eles_by_json_visible_exact(element, value)
|
1789
1854
|
|
@@ -1801,7 +1866,7 @@ __Returns:__
|
|
1801
1866
|
|
1802
1867
|
--
|
1803
1868
|
|
1804
|
-
##### [_all_pred](https://github.com/appium/ruby_lib/blob/
|
1869
|
+
##### [_all_pred](https://github.com/appium/ruby_lib/blob/95d3a6535472559590c4d043e887d15acc445a1a/lib/appium_lib/ios/helper.rb#L438) ios
|
1805
1870
|
|
1806
1871
|
> def _all_pred(opts)
|
1807
1872
|
|
@@ -1811,7 +1876,7 @@ visible - if true, only visible elements are returned. default true
|
|
1811
1876
|
|
1812
1877
|
--
|
1813
1878
|
|
1814
|
-
##### [ele_with_pred](https://github.com/appium/ruby_lib/blob/
|
1879
|
+
##### [ele_with_pred](https://github.com/appium/ruby_lib/blob/95d3a6535472559590c4d043e887d15acc445a1a/lib/appium_lib/ios/helper.rb#L451) ios
|
1815
1880
|
|
1816
1881
|
> def ele_with_pred(opts)
|
1817
1882
|
|
@@ -1827,7 +1892,7 @@ __Returns:__
|
|
1827
1892
|
|
1828
1893
|
--
|
1829
1894
|
|
1830
|
-
##### [eles_with_pred](https://github.com/appium/ruby_lib/blob/
|
1895
|
+
##### [eles_with_pred](https://github.com/appium/ruby_lib/blob/95d3a6535472559590c4d043e887d15acc445a1a/lib/appium_lib/ios/helper.rb#L462) ios
|
1831
1896
|
|
1832
1897
|
> def eles_with_pred(opts)
|
1833
1898
|
|
@@ -1843,7 +1908,7 @@ __Returns:__
|
|
1843
1908
|
|
1844
1909
|
--
|
1845
1910
|
|
1846
|
-
##### [source](https://github.com/appium/ruby_lib/blob/
|
1911
|
+
##### [source](https://github.com/appium/ruby_lib/blob/95d3a6535472559590c4d043e887d15acc445a1a/lib/appium_lib/ios/helper.rb#L468) ios
|
1847
1912
|
|
1848
1913
|
> def source
|
1849
1914
|
|
@@ -1855,7 +1920,7 @@ __Returns:__
|
|
1855
1920
|
|
1856
1921
|
--
|
1857
1922
|
|
1858
|
-
##### [_validate_object](https://github.com/appium/ruby_lib/blob/
|
1923
|
+
##### [_validate_object](https://github.com/appium/ruby_lib/blob/95d3a6535472559590c4d043e887d15acc445a1a/lib/appium_lib/ios/helper.rb#L472) ios
|
1859
1924
|
|
1860
1925
|
> def _validate_object(*objects)
|
1861
1926
|
|
@@ -1863,7 +1928,7 @@ __Returns:__
|
|
1863
1928
|
|
1864
1929
|
--
|
1865
1930
|
|
1866
|
-
##### [_by_json](https://github.com/appium/ruby_lib/blob/
|
1931
|
+
##### [_by_json](https://github.com/appium/ruby_lib/blob/95d3a6535472559590c4d043e887d15acc445a1a/lib/appium_lib/ios/helper.rb#L520) ios
|
1867
1932
|
|
1868
1933
|
> def _by_json(opts)
|
1869
1934
|
|
@@ -1897,7 +1962,7 @@ opts = {
|
|
1897
1962
|
|
1898
1963
|
--
|
1899
1964
|
|
1900
|
-
##### [eles_by_json](https://github.com/appium/ruby_lib/blob/
|
1965
|
+
##### [eles_by_json](https://github.com/appium/ruby_lib/blob/95d3a6535472559590c4d043e887d15acc445a1a/lib/appium_lib/ios/helper.rb#L569) ios
|
1901
1966
|
|
1902
1967
|
> def eles_by_json(opts)
|
1903
1968
|
|
@@ -1915,7 +1980,7 @@ eles_by_json({
|
|
1915
1980
|
|
1916
1981
|
--
|
1917
1982
|
|
1918
|
-
##### [ele_by_json](https://github.com/appium/ruby_lib/blob/
|
1983
|
+
##### [ele_by_json](https://github.com/appium/ruby_lib/blob/95d3a6535472559590c4d043e887d15acc445a1a/lib/appium_lib/ios/helper.rb#L575) ios
|
1919
1984
|
|
1920
1985
|
> def ele_by_json(opts)
|
1921
1986
|
|
@@ -1923,7 +1988,7 @@ see eles_by_json
|
|
1923
1988
|
|
1924
1989
|
--
|
1925
1990
|
|
1926
|
-
##### [get_source](https://github.com/appium/ruby_lib/blob/
|
1991
|
+
##### [get_source](https://github.com/appium/ruby_lib/blob/95d3a6535472559590c4d043e887d15acc445a1a/lib/appium_lib/ios/helper.rb#L585) ios
|
1927
1992
|
|
1928
1993
|
> def get_source
|
1929
1994
|
|
@@ -1936,7 +2001,7 @@ __Returns:__
|
|
1936
2001
|
|
1937
2002
|
--
|
1938
2003
|
|
1939
|
-
##### [UIAStaticText](https://github.com/appium/ruby_lib/blob/
|
2004
|
+
##### [UIAStaticText](https://github.com/appium/ruby_lib/blob/95d3a6535472559590c4d043e887d15acc445a1a/lib/appium_lib/ios/element/text.rb#L4) ios
|
1940
2005
|
|
1941
2006
|
> UIAStaticText = 'UIAStaticText'
|
1942
2007
|
|
@@ -1944,7 +2009,7 @@ __Returns:__
|
|
1944
2009
|
|
1945
2010
|
--
|
1946
2011
|
|
1947
|
-
##### [text](https://github.com/appium/ruby_lib/blob/
|
2012
|
+
##### [text](https://github.com/appium/ruby_lib/blob/95d3a6535472559590c4d043e887d15acc445a1a/lib/appium_lib/ios/element/text.rb#L10) ios
|
1948
2013
|
|
1949
2014
|
> def text(value)
|
1950
2015
|
|
@@ -1961,7 +2026,7 @@ __Returns:__
|
|
1961
2026
|
|
1962
2027
|
--
|
1963
2028
|
|
1964
|
-
##### [texts](https://github.com/appium/ruby_lib/blob/
|
2029
|
+
##### [texts](https://github.com/appium/ruby_lib/blob/95d3a6535472559590c4d043e887d15acc445a1a/lib/appium_lib/ios/element/text.rb#L19) ios
|
1965
2030
|
|
1966
2031
|
> def texts(value = false)
|
1967
2032
|
|
@@ -1978,7 +2043,7 @@ __Returns:__
|
|
1978
2043
|
|
1979
2044
|
--
|
1980
2045
|
|
1981
|
-
##### [first_text](https://github.com/appium/ruby_lib/blob/
|
2046
|
+
##### [first_text](https://github.com/appium/ruby_lib/blob/95d3a6535472559590c4d043e887d15acc445a1a/lib/appium_lib/ios/element/text.rb#L26) ios
|
1982
2047
|
|
1983
2048
|
> def first_text
|
1984
2049
|
|
@@ -1990,7 +2055,7 @@ __Returns:__
|
|
1990
2055
|
|
1991
2056
|
--
|
1992
2057
|
|
1993
|
-
##### [last_text](https://github.com/appium/ruby_lib/blob/
|
2058
|
+
##### [last_text](https://github.com/appium/ruby_lib/blob/95d3a6535472559590c4d043e887d15acc445a1a/lib/appium_lib/ios/element/text.rb#L32) ios
|
1994
2059
|
|
1995
2060
|
> def last_text
|
1996
2061
|
|
@@ -2002,7 +2067,7 @@ __Returns:__
|
|
2002
2067
|
|
2003
2068
|
--
|
2004
2069
|
|
2005
|
-
##### [text_exact](https://github.com/appium/ruby_lib/blob/
|
2070
|
+
##### [text_exact](https://github.com/appium/ruby_lib/blob/95d3a6535472559590c4d043e887d15acc445a1a/lib/appium_lib/ios/element/text.rb#L39) ios
|
2006
2071
|
|
2007
2072
|
> def text_exact(value)
|
2008
2073
|
|
@@ -2018,7 +2083,7 @@ __Returns:__
|
|
2018
2083
|
|
2019
2084
|
--
|
2020
2085
|
|
2021
|
-
##### [texts_exact](https://github.com/appium/ruby_lib/blob/
|
2086
|
+
##### [texts_exact](https://github.com/appium/ruby_lib/blob/95d3a6535472559590c4d043e887d15acc445a1a/lib/appium_lib/ios/element/text.rb#L46) ios
|
2022
2087
|
|
2023
2088
|
> def texts_exact(value)
|
2024
2089
|
|
@@ -2034,7 +2099,7 @@ __Returns:__
|
|
2034
2099
|
|
2035
2100
|
--
|
2036
2101
|
|
2037
|
-
##### [alert_accept](https://github.com/appium/ruby_lib/blob/
|
2102
|
+
##### [alert_accept](https://github.com/appium/ruby_lib/blob/95d3a6535472559590c4d043e887d15acc445a1a/lib/appium_lib/ios/element/alert.rb#L5) ios
|
2038
2103
|
|
2039
2104
|
> def alert_accept
|
2040
2105
|
|
@@ -2046,7 +2111,7 @@ __Returns:__
|
|
2046
2111
|
|
2047
2112
|
--
|
2048
2113
|
|
2049
|
-
##### [alert_dismiss](https://github.com/appium/ruby_lib/blob/
|
2114
|
+
##### [alert_dismiss](https://github.com/appium/ruby_lib/blob/95d3a6535472559590c4d043e887d15acc445a1a/lib/appium_lib/ios/element/alert.rb#L13) ios
|
2050
2115
|
|
2051
2116
|
> def alert_dismiss
|
2052
2117
|
|
@@ -2058,7 +2123,7 @@ __Returns:__
|
|
2058
2123
|
|
2059
2124
|
--
|
2060
2125
|
|
2061
|
-
##### [uiautomation_find](https://github.com/appium/ruby_lib/blob/
|
2126
|
+
##### [uiautomation_find](https://github.com/appium/ruby_lib/blob/95d3a6535472559590c4d043e887d15acc445a1a/lib/appium_lib/ios/mobile_methods.rb#L10) ios
|
2062
2127
|
|
2063
2128
|
> def uiautomation_find
|
2064
2129
|
|
@@ -2070,7 +2135,7 @@ find_element/s can be used with a [UIAutomation command](https://developer.apple
|
|
2070
2135
|
|
2071
2136
|
--
|
2072
2137
|
|
2073
|
-
##### [UIAButton](https://github.com/appium/ruby_lib/blob/
|
2138
|
+
##### [UIAButton](https://github.com/appium/ruby_lib/blob/95d3a6535472559590c4d043e887d15acc445a1a/lib/appium_lib/ios/element/button.rb#L4) ios
|
2074
2139
|
|
2075
2140
|
> UIAButton = 'UIAButton'
|
2076
2141
|
|
@@ -2078,7 +2143,7 @@ find_element/s can be used with a [UIAutomation command](https://developer.apple
|
|
2078
2143
|
|
2079
2144
|
--
|
2080
2145
|
|
2081
|
-
##### [button](https://github.com/appium/ruby_lib/blob/
|
2146
|
+
##### [button](https://github.com/appium/ruby_lib/blob/95d3a6535472559590c4d043e887d15acc445a1a/lib/appium_lib/ios/element/button.rb#L10) ios
|
2082
2147
|
|
2083
2148
|
> def button(value)
|
2084
2149
|
|
@@ -2095,7 +2160,7 @@ __Returns:__
|
|
2095
2160
|
|
2096
2161
|
--
|
2097
2162
|
|
2098
|
-
##### [buttons](https://github.com/appium/ruby_lib/blob/
|
2163
|
+
##### [buttons](https://github.com/appium/ruby_lib/blob/95d3a6535472559590c4d043e887d15acc445a1a/lib/appium_lib/ios/element/button.rb#L20) ios
|
2099
2164
|
|
2100
2165
|
> def buttons(value = false)
|
2101
2166
|
|
@@ -2112,7 +2177,7 @@ __Returns:__
|
|
2112
2177
|
|
2113
2178
|
--
|
2114
2179
|
|
2115
|
-
##### [first_button](https://github.com/appium/ruby_lib/blob/
|
2180
|
+
##### [first_button](https://github.com/appium/ruby_lib/blob/95d3a6535472559590c4d043e887d15acc445a1a/lib/appium_lib/ios/element/button.rb#L27) ios
|
2116
2181
|
|
2117
2182
|
> def first_button
|
2118
2183
|
|
@@ -2124,7 +2189,7 @@ __Returns:__
|
|
2124
2189
|
|
2125
2190
|
--
|
2126
2191
|
|
2127
|
-
##### [last_button](https://github.com/appium/ruby_lib/blob/
|
2192
|
+
##### [last_button](https://github.com/appium/ruby_lib/blob/95d3a6535472559590c4d043e887d15acc445a1a/lib/appium_lib/ios/element/button.rb#L33) ios
|
2128
2193
|
|
2129
2194
|
> def last_button
|
2130
2195
|
|
@@ -2136,7 +2201,7 @@ __Returns:__
|
|
2136
2201
|
|
2137
2202
|
--
|
2138
2203
|
|
2139
|
-
##### [button_exact](https://github.com/appium/ruby_lib/blob/
|
2204
|
+
##### [button_exact](https://github.com/appium/ruby_lib/blob/95d3a6535472559590c4d043e887d15acc445a1a/lib/appium_lib/ios/element/button.rb#L40) ios
|
2140
2205
|
|
2141
2206
|
> def button_exact(value)
|
2142
2207
|
|
@@ -2152,7 +2217,7 @@ __Returns:__
|
|
2152
2217
|
|
2153
2218
|
--
|
2154
2219
|
|
2155
|
-
##### [buttons_exact](https://github.com/appium/ruby_lib/blob/
|
2220
|
+
##### [buttons_exact](https://github.com/appium/ruby_lib/blob/95d3a6535472559590c4d043e887d15acc445a1a/lib/appium_lib/ios/element/button.rb#L47) ios
|
2156
2221
|
|
2157
2222
|
> def buttons_exact(value)
|
2158
2223
|
|
@@ -2168,7 +2233,7 @@ __Returns:__
|
|
2168
2233
|
|
2169
2234
|
--
|
2170
2235
|
|
2171
|
-
##### [find](https://github.com/appium/ruby_lib/blob/
|
2236
|
+
##### [find](https://github.com/appium/ruby_lib/blob/95d3a6535472559590c4d043e887d15acc445a1a/lib/appium_lib/ios/element/generic.rb#L6) ios
|
2172
2237
|
|
2173
2238
|
> def find(value)
|
2174
2239
|
|
@@ -2184,7 +2249,7 @@ __Returns:__
|
|
2184
2249
|
|
2185
2250
|
--
|
2186
2251
|
|
2187
|
-
##### [finds](https://github.com/appium/ruby_lib/blob/
|
2252
|
+
##### [finds](https://github.com/appium/ruby_lib/blob/95d3a6535472559590c4d043e887d15acc445a1a/lib/appium_lib/ios/element/generic.rb#L13) ios
|
2188
2253
|
|
2189
2254
|
> def finds(value)
|
2190
2255
|
|
@@ -2200,7 +2265,7 @@ __Returns:__
|
|
2200
2265
|
|
2201
2266
|
--
|
2202
2267
|
|
2203
|
-
##### [find_exact](https://github.com/appium/ruby_lib/blob/
|
2268
|
+
##### [find_exact](https://github.com/appium/ruby_lib/blob/95d3a6535472559590c4d043e887d15acc445a1a/lib/appium_lib/ios/element/generic.rb#L20) ios
|
2204
2269
|
|
2205
2270
|
> def find_exact(value)
|
2206
2271
|
|
@@ -2216,7 +2281,7 @@ __Returns:__
|
|
2216
2281
|
|
2217
2282
|
--
|
2218
2283
|
|
2219
|
-
##### [finds_exact](https://github.com/appium/ruby_lib/blob/
|
2284
|
+
##### [finds_exact](https://github.com/appium/ruby_lib/blob/95d3a6535472559590c4d043e887d15acc445a1a/lib/appium_lib/ios/element/generic.rb#L27) ios
|
2220
2285
|
|
2221
2286
|
> def finds_exact(value)
|
2222
2287
|
|
@@ -2232,7 +2297,7 @@ __Returns:__
|
|
2232
2297
|
|
2233
2298
|
--
|
2234
2299
|
|
2235
|
-
##### [UIATextField](https://github.com/appium/ruby_lib/blob/
|
2300
|
+
##### [UIATextField](https://github.com/appium/ruby_lib/blob/95d3a6535472559590c4d043e887d15acc445a1a/lib/appium_lib/ios/element/textfield.rb#L3) ios
|
2236
2301
|
|
2237
2302
|
> UIATextField = 'UIATextField'
|
2238
2303
|
|
@@ -2240,7 +2305,7 @@ __Returns:__
|
|
2240
2305
|
|
2241
2306
|
--
|
2242
2307
|
|
2243
|
-
##### [UIASecureTextField](https://github.com/appium/ruby_lib/blob/
|
2308
|
+
##### [UIASecureTextField](https://github.com/appium/ruby_lib/blob/95d3a6535472559590c4d043e887d15acc445a1a/lib/appium_lib/ios/element/textfield.rb#L4) ios
|
2244
2309
|
|
2245
2310
|
> UIASecureTextField = 'UIASecureTextField'
|
2246
2311
|
|
@@ -2248,7 +2313,7 @@ __Returns:__
|
|
2248
2313
|
|
2249
2314
|
--
|
2250
2315
|
|
2251
|
-
##### [textfield](https://github.com/appium/ruby_lib/blob/
|
2316
|
+
##### [textfield](https://github.com/appium/ruby_lib/blob/95d3a6535472559590c4d043e887d15acc445a1a/lib/appium_lib/ios/element/textfield.rb#L52) ios
|
2252
2317
|
|
2253
2318
|
> def textfield(value)
|
2254
2319
|
|
@@ -2265,7 +2330,7 @@ __Returns:__
|
|
2265
2330
|
|
2266
2331
|
--
|
2267
2332
|
|
2268
|
-
##### [textfields](https://github.com/appium/ruby_lib/blob/
|
2333
|
+
##### [textfields](https://github.com/appium/ruby_lib/blob/95d3a6535472559590c4d043e887d15acc445a1a/lib/appium_lib/ios/element/textfield.rb#L72) ios
|
2269
2334
|
|
2270
2335
|
> def textfields(value = false)
|
2271
2336
|
|
@@ -2282,7 +2347,7 @@ __Returns:__
|
|
2282
2347
|
|
2283
2348
|
--
|
2284
2349
|
|
2285
|
-
##### [first_textfield](https://github.com/appium/ruby_lib/blob/
|
2350
|
+
##### [first_textfield](https://github.com/appium/ruby_lib/blob/95d3a6535472559590c4d043e887d15acc445a1a/lib/appium_lib/ios/element/textfield.rb#L79) ios
|
2286
2351
|
|
2287
2352
|
> def first_textfield
|
2288
2353
|
|
@@ -2294,7 +2359,7 @@ __Returns:__
|
|
2294
2359
|
|
2295
2360
|
--
|
2296
2361
|
|
2297
|
-
##### [last_textfield](https://github.com/appium/ruby_lib/blob/
|
2362
|
+
##### [last_textfield](https://github.com/appium/ruby_lib/blob/95d3a6535472559590c4d043e887d15acc445a1a/lib/appium_lib/ios/element/textfield.rb#L85) ios
|
2298
2363
|
|
2299
2364
|
> def last_textfield
|
2300
2365
|
|
@@ -2306,7 +2371,7 @@ __Returns:__
|
|
2306
2371
|
|
2307
2372
|
--
|
2308
2373
|
|
2309
|
-
##### [textfield_exact](https://github.com/appium/ruby_lib/blob/
|
2374
|
+
##### [textfield_exact](https://github.com/appium/ruby_lib/blob/95d3a6535472559590c4d043e887d15acc445a1a/lib/appium_lib/ios/element/textfield.rb#L94) ios
|
2310
2375
|
|
2311
2376
|
> def textfield_exact(value)
|
2312
2377
|
|
@@ -2322,7 +2387,7 @@ __Returns:__
|
|
2322
2387
|
|
2323
2388
|
--
|
2324
2389
|
|
2325
|
-
##### [textfields_exact](https://github.com/appium/ruby_lib/blob/
|
2390
|
+
##### [textfields_exact](https://github.com/appium/ruby_lib/blob/95d3a6535472559590c4d043e887d15acc445a1a/lib/appium_lib/ios/element/textfield.rb#L101) ios
|
2326
2391
|
|
2327
2392
|
> def textfields_exact(value)
|
2328
2393
|
|
@@ -2338,7 +2403,7 @@ __Returns:__
|
|
2338
2403
|
|
2339
2404
|
--
|
2340
2405
|
|
2341
|
-
##### [value](https://github.com/appium/ruby_lib/blob/
|
2406
|
+
##### [value](https://github.com/appium/ruby_lib/blob/95d3a6535472559590c4d043e887d15acc445a1a/lib/appium_lib/common/patch.rb#L12)
|
2342
2407
|
|
2343
2408
|
> def value
|
2344
2409
|
|
@@ -2348,7 +2413,7 @@ Fixes NoMethodError: undefined method `value' for Selenium::WebDriver::Element
|
|
2348
2413
|
|
2349
2414
|
--
|
2350
2415
|
|
2351
|
-
##### [name](https://github.com/appium/ruby_lib/blob/
|
2416
|
+
##### [name](https://github.com/appium/ruby_lib/blob/95d3a6535472559590c4d043e887d15acc445a1a/lib/appium_lib/common/patch.rb#L19)
|
2352
2417
|
|
2353
2418
|
> def name
|
2354
2419
|
|
@@ -2358,7 +2423,7 @@ Fixes NoMethodError: undefined method `name' for Selenium::WebDriver::Element
|
|
2358
2423
|
|
2359
2424
|
--
|
2360
2425
|
|
2361
|
-
##### [location_rel](https://github.com/appium/ruby_lib/blob/
|
2426
|
+
##### [location_rel](https://github.com/appium/ruby_lib/blob/95d3a6535472559590c4d043e887d15acc445a1a/lib/appium_lib/common/patch.rb#L31)
|
2362
2427
|
|
2363
2428
|
> def location_rel
|
2364
2429
|
|
@@ -2376,7 +2441,7 @@ __Returns:__
|
|
2376
2441
|
|
2377
2442
|
--
|
2378
2443
|
|
2379
|
-
##### [DEFAULT_HEADERS](https://github.com/appium/ruby_lib/blob/
|
2444
|
+
##### [DEFAULT_HEADERS](https://github.com/appium/ruby_lib/blob/95d3a6535472559590c4d043e887d15acc445a1a/lib/appium_lib/common/patch.rb#L147)
|
2380
2445
|
|
2381
2446
|
> DEFAULT_HEADERS = { 'Accept' => CONTENT_TYPE, 'User-Agent' => "appium/ruby_lib/#{::Appium::VERSION}" }
|
2382
2447
|
|