appium_lib 13.0.2 → 15.0.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/.github/workflows/rubocop.yml +4 -2
- data/CHANGELOG.md +13 -1
- data/Rakefile +8 -0
- data/appium_lib.gemspec +4 -3
- data/docs/android_docs.md +198 -303
- data/docs/ios_docs.md +236 -341
- data/docs/w3c.md +5 -1
- data/lib/appium_lib/appium.rb +0 -2
- data/lib/appium_lib/common/device.rb +0 -24
- data/lib/appium_lib/driver.rb +3 -10
- data/lib/appium_lib/version.rb +2 -2
- data/release_notes.md +21 -0
- data/test/first_test.rb +29 -0
- metadata +28 -27
- data/lib/appium_lib/common/multi_touch.rb +0 -198
- data/lib/appium_lib/common/touch_actions.rb +0 -76
data/docs/ios_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/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/appium.rb#L58) common
|
2
2
|
|
3
3
|
> def load_settings(opts = {})
|
4
4
|
|
@@ -27,7 +27,7 @@ __Returns:__
|
|
27
27
|
|
28
28
|
--
|
29
29
|
|
30
|
-
##### [load_appium_txt](https://github.com/appium/ruby_lib/blob/
|
30
|
+
##### [load_appium_txt](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/appium.rb#L106) common
|
31
31
|
|
32
32
|
> def load_settings(opts = {})
|
33
33
|
|
@@ -56,7 +56,7 @@ __Returns:__
|
|
56
56
|
|
57
57
|
--
|
58
58
|
|
59
|
-
##### [expand_required_files](https://github.com/appium/ruby_lib/blob/
|
59
|
+
##### [expand_required_files](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/appium.rb#L111) common
|
60
60
|
|
61
61
|
> def expand_required_files(base_dir, file_paths)
|
62
62
|
|
@@ -74,7 +74,7 @@ __Returns:__
|
|
74
74
|
|
75
75
|
--
|
76
76
|
|
77
|
-
##### [promote_singleton_appium_methods](https://github.com/appium/ruby_lib/blob/
|
77
|
+
##### [promote_singleton_appium_methods](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/appium.rb#L153) common
|
78
78
|
|
79
79
|
> def promote_singleton_appium_methods(modules, driver = $driver)
|
80
80
|
|
@@ -98,7 +98,7 @@ __Parameters:__
|
|
98
98
|
|
99
99
|
--
|
100
100
|
|
101
|
-
##### [promote_appium_methods](https://github.com/appium/ruby_lib/blob/
|
101
|
+
##### [promote_appium_methods](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/appium.rb#L207) common
|
102
102
|
|
103
103
|
> def promote_appium_methods(class_array, driver = $driver)
|
104
104
|
|
@@ -116,7 +116,7 @@ __Parameters:__
|
|
116
116
|
|
117
117
|
--
|
118
118
|
|
119
|
-
##### [global_webdriver_http_sleep](https://github.com/appium/ruby_lib/blob/
|
119
|
+
##### [global_webdriver_http_sleep](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/driver.rb#L49) common
|
120
120
|
|
121
121
|
> def global_webdriver_http_sleep
|
122
122
|
|
@@ -124,7 +124,7 @@ The amount to sleep in seconds before every webdriver http call.
|
|
124
124
|
|
125
125
|
--
|
126
126
|
|
127
|
-
##### [global_webdriver_http_sleep=](https://github.com/appium/ruby_lib/blob/
|
127
|
+
##### [global_webdriver_http_sleep=](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/driver.rb#L49) common
|
128
128
|
|
129
129
|
> def global_webdriver_http_sleep=(value)
|
130
130
|
|
@@ -132,7 +132,7 @@ The amount to sleep in seconds before every webdriver http call.
|
|
132
132
|
|
133
133
|
--
|
134
134
|
|
135
|
-
##### [sauce](https://github.com/appium/ruby_lib/blob/
|
135
|
+
##### [sauce](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/driver.rb#L52) common
|
136
136
|
|
137
137
|
> def sauce
|
138
138
|
|
@@ -140,7 +140,7 @@ SauceLab's settings
|
|
140
140
|
|
141
141
|
--
|
142
142
|
|
143
|
-
##### [sauce_username](https://github.com/appium/ruby_lib/blob/
|
143
|
+
##### [sauce_username](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/driver.rb#L55) common
|
144
144
|
|
145
145
|
> def sauce_username
|
146
146
|
|
@@ -149,7 +149,7 @@ same as @sauce.username
|
|
149
149
|
|
150
150
|
--
|
151
151
|
|
152
|
-
##### [sauce_access_key](https://github.com/appium/ruby_lib/blob/
|
152
|
+
##### [sauce_access_key](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/driver.rb#L58) common
|
153
153
|
|
154
154
|
> def sauce_access_key
|
155
155
|
|
@@ -158,7 +158,7 @@ same as @sauce.access_key
|
|
158
158
|
|
159
159
|
--
|
160
160
|
|
161
|
-
##### [sauce_endpoint](https://github.com/appium/ruby_lib/blob/
|
161
|
+
##### [sauce_endpoint](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/driver.rb#L61) common
|
162
162
|
|
163
163
|
> def sauce_endpoint
|
164
164
|
|
@@ -167,7 +167,7 @@ same as @sauce.endpoint
|
|
167
167
|
|
168
168
|
--
|
169
169
|
|
170
|
-
##### [caps](https://github.com/appium/ruby_lib/blob/
|
170
|
+
##### [caps](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/driver.rb#L65) common
|
171
171
|
|
172
172
|
> def caps
|
173
173
|
|
@@ -176,7 +176,7 @@ read http://www.rubydoc.info/github/appium/ruby_lib_core/Appium/Core/Driver
|
|
176
176
|
|
177
177
|
--
|
178
178
|
|
179
|
-
##### [custom_url](https://github.com/appium/ruby_lib/blob/
|
179
|
+
##### [custom_url](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/driver.rb#L66) common
|
180
180
|
|
181
181
|
> def custom_url
|
182
182
|
|
@@ -184,23 +184,7 @@ Returns the value of attribute custom_url.
|
|
184
184
|
|
185
185
|
--
|
186
186
|
|
187
|
-
##### [
|
188
|
-
|
189
|
-
> def export_session
|
190
|
-
|
191
|
-
Returns the value of attribute export_session.
|
192
|
-
|
193
|
-
--
|
194
|
-
|
195
|
-
##### [export_session_path](https://github.com/appium/ruby_lib/blob/9c52fd3a8f0ef88d7c4e83f210ab22f817a30632/lib/appium_lib/driver.rb#L68) common
|
196
|
-
|
197
|
-
> def export_session_path
|
198
|
-
|
199
|
-
Returns the value of attribute export_session_path.
|
200
|
-
|
201
|
-
--
|
202
|
-
|
203
|
-
##### [default_wait](https://github.com/appium/ruby_lib/blob/9c52fd3a8f0ef88d7c4e83f210ab22f817a30632/lib/appium_lib/driver.rb#L69) common
|
187
|
+
##### [default_wait](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/driver.rb#L67) common
|
204
188
|
|
205
189
|
> def default_wait
|
206
190
|
|
@@ -208,7 +192,7 @@ Returns the value of attribute default_wait.
|
|
208
192
|
|
209
193
|
--
|
210
194
|
|
211
|
-
##### [appium_port](https://github.com/appium/ruby_lib/blob/
|
195
|
+
##### [appium_port](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/driver.rb#L68) common
|
212
196
|
|
213
197
|
> def appium_port
|
214
198
|
|
@@ -216,7 +200,7 @@ Returns the value of attribute appium_port.
|
|
216
200
|
|
217
201
|
--
|
218
202
|
|
219
|
-
##### [appium_device](https://github.com/appium/ruby_lib/blob/
|
203
|
+
##### [appium_device](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/driver.rb#L69) common
|
220
204
|
|
221
205
|
> def appium_device
|
222
206
|
|
@@ -224,7 +208,7 @@ Returns the value of attribute appium_device.
|
|
224
208
|
|
225
209
|
--
|
226
210
|
|
227
|
-
##### [automation_name](https://github.com/appium/ruby_lib/blob/
|
211
|
+
##### [automation_name](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/driver.rb#L70) common
|
228
212
|
|
229
213
|
> def automation_name
|
230
214
|
|
@@ -232,7 +216,7 @@ Returns the value of attribute automation_name.
|
|
232
216
|
|
233
217
|
--
|
234
218
|
|
235
|
-
##### [listener](https://github.com/appium/ruby_lib/blob/
|
219
|
+
##### [listener](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/driver.rb#L71) common
|
236
220
|
|
237
221
|
> def listener
|
238
222
|
|
@@ -240,7 +224,7 @@ Returns the value of attribute listener.
|
|
240
224
|
|
241
225
|
--
|
242
226
|
|
243
|
-
##### [http_client](https://github.com/appium/ruby_lib/blob/
|
227
|
+
##### [http_client](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/driver.rb#L72) common
|
244
228
|
|
245
229
|
> def http_client
|
246
230
|
|
@@ -248,7 +232,7 @@ Returns the value of attribute http_client.
|
|
248
232
|
|
249
233
|
--
|
250
234
|
|
251
|
-
##### [appium_wait_timeout](https://github.com/appium/ruby_lib/blob/
|
235
|
+
##### [appium_wait_timeout](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/driver.rb#L73) common
|
252
236
|
|
253
237
|
> def appium_wait_timeout
|
254
238
|
|
@@ -256,7 +240,7 @@ Returns the value of attribute appium_wait_timeout.
|
|
256
240
|
|
257
241
|
--
|
258
242
|
|
259
|
-
##### [appium_wait_interval](https://github.com/appium/ruby_lib/blob/
|
243
|
+
##### [appium_wait_interval](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/driver.rb#L74) common
|
260
244
|
|
261
245
|
> def appium_wait_interval
|
262
246
|
|
@@ -264,7 +248,7 @@ Returns the value of attribute appium_wait_interval.
|
|
264
248
|
|
265
249
|
--
|
266
250
|
|
267
|
-
##### [appium_server_status](https://github.com/appium/ruby_lib/blob/
|
251
|
+
##### [appium_server_status](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/driver.rb#L77) common
|
268
252
|
|
269
253
|
> def appium_server_status
|
270
254
|
|
@@ -272,7 +256,7 @@ Appium's server version
|
|
272
256
|
|
273
257
|
--
|
274
258
|
|
275
|
-
##### [appium_debug](https://github.com/appium/ruby_lib/blob/
|
259
|
+
##### [appium_debug](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/driver.rb#L79) common
|
276
260
|
|
277
261
|
> def appium_debug
|
278
262
|
|
@@ -280,7 +264,7 @@ Boolean debug mode for the Appium Ruby bindings
|
|
280
264
|
|
281
265
|
--
|
282
266
|
|
283
|
-
##### [driver](https://github.com/appium/ruby_lib/blob/
|
267
|
+
##### [driver](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/driver.rb#L82) common
|
284
268
|
|
285
269
|
> def driver
|
286
270
|
|
@@ -292,7 +276,7 @@ __Returns:__
|
|
292
276
|
|
293
277
|
--
|
294
278
|
|
295
|
-
##### [core](https://github.com/appium/ruby_lib/blob/
|
279
|
+
##### [core](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/driver.rb#L84) common
|
296
280
|
|
297
281
|
> def core
|
298
282
|
|
@@ -300,7 +284,7 @@ Instance of Appium::Core::Driver
|
|
300
284
|
|
301
285
|
--
|
302
286
|
|
303
|
-
##### [initialize](https://github.com/appium/ruby_lib/blob/
|
287
|
+
##### [initialize](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/driver.rb#L153) common
|
304
288
|
|
305
289
|
> def initialize(opts = {}, global_driver = false)
|
306
290
|
|
@@ -319,7 +303,7 @@ __Returns:__
|
|
319
303
|
|
320
304
|
--
|
321
305
|
|
322
|
-
##### [driver_attributes](https://github.com/appium/ruby_lib/blob/
|
306
|
+
##### [driver_attributes](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/driver.rb#L273) common
|
323
307
|
|
324
308
|
> def driver_attributes
|
325
309
|
|
@@ -327,7 +311,7 @@ Returns a hash of the driver attributes
|
|
327
311
|
|
328
312
|
--
|
329
313
|
|
330
|
-
##### [device_is_android?](https://github.com/appium/ruby_lib/blob/
|
314
|
+
##### [device_is_android?](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/driver.rb#L291) common
|
331
315
|
|
332
316
|
> def device_is_android?
|
333
317
|
|
@@ -339,7 +323,7 @@ __Returns:__
|
|
339
323
|
|
340
324
|
--
|
341
325
|
|
342
|
-
##### [device_is_ios?](https://github.com/appium/ruby_lib/blob/
|
326
|
+
##### [device_is_ios?](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/driver.rb#L295) common
|
343
327
|
|
344
328
|
> def device_is_ios?
|
345
329
|
|
@@ -351,7 +335,7 @@ __Returns:__
|
|
351
335
|
|
352
336
|
--
|
353
337
|
|
354
|
-
##### [device_is_windows?](https://github.com/appium/ruby_lib/blob/
|
338
|
+
##### [device_is_windows?](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/driver.rb#L299) common
|
355
339
|
|
356
340
|
> def device_is_windows?
|
357
341
|
|
@@ -363,7 +347,7 @@ __Returns:__
|
|
363
347
|
|
364
348
|
--
|
365
349
|
|
366
|
-
##### [automation_name_is_uiautomator2?](https://github.com/appium/ruby_lib/blob/
|
350
|
+
##### [automation_name_is_uiautomator2?](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/driver.rb#L305) common
|
367
351
|
|
368
352
|
> def automation_name_is_uiautomator2?
|
369
353
|
|
@@ -375,7 +359,7 @@ __Returns:__
|
|
375
359
|
|
376
360
|
--
|
377
361
|
|
378
|
-
##### [automation_name_is_espresso?](https://github.com/appium/ruby_lib/blob/
|
362
|
+
##### [automation_name_is_espresso?](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/driver.rb#L311) common
|
379
363
|
|
380
364
|
> def automation_name_is_espresso?
|
381
365
|
|
@@ -387,7 +371,7 @@ __Returns:__
|
|
387
371
|
|
388
372
|
--
|
389
373
|
|
390
|
-
##### [automation_name_is_xcuitest?](https://github.com/appium/ruby_lib/blob/
|
374
|
+
##### [automation_name_is_xcuitest?](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/driver.rb#L317) common
|
391
375
|
|
392
376
|
> def automation_name_is_xcuitest?
|
393
377
|
|
@@ -399,7 +383,7 @@ __Returns:__
|
|
399
383
|
|
400
384
|
--
|
401
385
|
|
402
|
-
##### [action](https://github.com/appium/ruby_lib/blob/
|
386
|
+
##### [action](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/driver.rb#L331) common
|
403
387
|
|
404
388
|
> def action
|
405
389
|
|
@@ -408,11 +392,11 @@ Read https://www.rubydoc.info/github/appium/ruby_lib_core/Appium/Core/Base/Bridg
|
|
408
392
|
|
409
393
|
__Returns:__
|
410
394
|
|
411
|
-
[
|
395
|
+
[Selenium::WebDriver::PointerActions]
|
412
396
|
|
413
397
|
--
|
414
398
|
|
415
|
-
##### [appium_server_version](https://github.com/appium/ruby_lib/blob/
|
399
|
+
##### [appium_server_version](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/driver.rb#L346) common
|
416
400
|
|
417
401
|
> def appium_server_version
|
418
402
|
|
@@ -424,7 +408,7 @@ __Returns:__
|
|
424
408
|
|
425
409
|
--
|
426
410
|
|
427
|
-
##### [remote_status](https://github.com/appium/ruby_lib/blob/
|
411
|
+
##### [remote_status](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/driver.rb#L354) common
|
428
412
|
|
429
413
|
> def appium_server_version
|
430
414
|
|
@@ -436,7 +420,7 @@ __Returns:__
|
|
436
420
|
|
437
421
|
--
|
438
422
|
|
439
|
-
##### [platform_version](https://github.com/appium/ruby_lib/blob/
|
423
|
+
##### [platform_version](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/driver.rb#L358) common
|
440
424
|
|
441
425
|
> def platform_version
|
442
426
|
|
@@ -448,7 +432,7 @@ __Returns:__
|
|
448
432
|
|
449
433
|
--
|
450
434
|
|
451
|
-
##### [appium_client_version](https://github.com/appium/ruby_lib/blob/
|
435
|
+
##### [appium_client_version](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/driver.rb#L374) common
|
452
436
|
|
453
437
|
> def appium_client_version
|
454
438
|
|
@@ -460,7 +444,7 @@ __Returns:__
|
|
460
444
|
|
461
445
|
--
|
462
446
|
|
463
|
-
##### [absolute_app_path](https://github.com/appium/ruby_lib/blob/
|
447
|
+
##### [absolute_app_path](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/driver.rb#L386) common
|
464
448
|
|
465
449
|
> def absolute_app_path(opts)
|
466
450
|
|
@@ -477,7 +461,7 @@ __Returns:__
|
|
477
461
|
|
478
462
|
--
|
479
463
|
|
480
|
-
##### [server_url](https://github.com/appium/ruby_lib/blob/
|
464
|
+
##### [server_url](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/driver.rb#L411) common
|
481
465
|
|
482
466
|
> def server_url
|
483
467
|
|
@@ -489,7 +473,7 @@ __Returns:__
|
|
489
473
|
|
490
474
|
--
|
491
475
|
|
492
|
-
##### [restart](https://github.com/appium/ruby_lib/blob/
|
476
|
+
##### [restart](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/driver.rb#L420) common
|
493
477
|
|
494
478
|
> def restart
|
495
479
|
|
@@ -501,7 +485,7 @@ __Returns:__
|
|
501
485
|
|
502
486
|
--
|
503
487
|
|
504
|
-
##### [screenshot](https://github.com/appium/ruby_lib/blob/
|
488
|
+
##### [screenshot](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/driver.rb#L433) common
|
505
489
|
|
506
490
|
> def screenshot(png_save_path)
|
507
491
|
|
@@ -517,7 +501,7 @@ __Returns:__
|
|
517
501
|
|
518
502
|
--
|
519
503
|
|
520
|
-
##### [element_screenshot](https://github.com/appium/ruby_lib/blob/
|
504
|
+
##### [element_screenshot](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/driver.rb#L447) common
|
521
505
|
|
522
506
|
> def element_screenshot(element, png_save_path)
|
523
507
|
|
@@ -535,7 +519,7 @@ __Returns:__
|
|
535
519
|
|
536
520
|
--
|
537
521
|
|
538
|
-
##### [driver_quit](https://github.com/appium/ruby_lib/blob/
|
522
|
+
##### [driver_quit](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/driver.rb#L454) common
|
539
523
|
|
540
524
|
> def driver_quit
|
541
525
|
|
@@ -547,7 +531,7 @@ __Returns:__
|
|
547
531
|
|
548
532
|
--
|
549
533
|
|
550
|
-
##### [quit_driver](https://github.com/appium/ruby_lib/blob/
|
534
|
+
##### [quit_driver](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/driver.rb#L460) common
|
551
535
|
|
552
536
|
> def driver_quit
|
553
537
|
|
@@ -559,7 +543,7 @@ __Returns:__
|
|
559
543
|
|
560
544
|
--
|
561
545
|
|
562
|
-
##### [window_size](https://github.com/appium/ruby_lib/blob/
|
546
|
+
##### [window_size](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/driver.rb#L471) common
|
563
547
|
|
564
548
|
> def window_size
|
565
549
|
|
@@ -571,7 +555,7 @@ __Returns:__
|
|
571
555
|
|
572
556
|
--
|
573
557
|
|
574
|
-
##### [window_rect](https://github.com/appium/ruby_lib/blob/
|
558
|
+
##### [window_rect](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/driver.rb#L486) common
|
575
559
|
|
576
560
|
> def window_rect
|
577
561
|
|
@@ -583,7 +567,7 @@ __Returns:__
|
|
583
567
|
|
584
568
|
--
|
585
569
|
|
586
|
-
##### [start_driver](https://github.com/appium/ruby_lib/blob/
|
570
|
+
##### [start_driver](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/driver.rb#L519) common
|
587
571
|
|
588
572
|
> def start_driver(http_client_ops = { http_client: ::Appium::Http::Default.new, open_timeout: 999_999, read_timeout: 999_999 })
|
589
573
|
|
@@ -603,7 +587,7 @@ __Returns:__
|
|
603
587
|
|
604
588
|
--
|
605
589
|
|
606
|
-
##### [set_implicit_wait](https://github.com/appium/ruby_lib/blob/
|
590
|
+
##### [set_implicit_wait](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/driver.rb#L546) common
|
607
591
|
|
608
592
|
> def set_implicit_wait(wait)
|
609
593
|
|
@@ -611,7 +595,7 @@ To ignore error for Espresso Driver
|
|
611
595
|
|
612
596
|
--
|
613
597
|
|
614
|
-
##### [no_wait](https://github.com/appium/ruby_lib/blob/
|
598
|
+
##### [no_wait](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/driver.rb#L557) common
|
615
599
|
|
616
600
|
> def no_wait
|
617
601
|
|
@@ -619,7 +603,7 @@ Set implicit wait to zero.
|
|
619
603
|
|
620
604
|
--
|
621
605
|
|
622
|
-
##### [set_wait](https://github.com/appium/ruby_lib/blob/
|
606
|
+
##### [set_wait](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/driver.rb#L571) common
|
623
607
|
|
624
608
|
> def set_wait(timeout = nil)
|
625
609
|
|
@@ -635,7 +619,7 @@ __Returns:__
|
|
635
619
|
|
636
620
|
--
|
637
621
|
|
638
|
-
##### [exists](https://github.com/appium/ruby_lib/blob/
|
622
|
+
##### [exists](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/driver.rb#L588) common
|
639
623
|
|
640
624
|
> def exists(pre_check = 0, post_check = @default_wait)
|
641
625
|
|
@@ -659,7 +643,7 @@ __Returns:__
|
|
659
643
|
|
660
644
|
--
|
661
645
|
|
662
|
-
##### [execute_script](https://github.com/appium/ruby_lib/blob/
|
646
|
+
##### [execute_script](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/driver.rb#L612) common
|
663
647
|
|
664
648
|
> def execute_script(script, *args)
|
665
649
|
|
@@ -677,7 +661,7 @@ __Returns:__
|
|
677
661
|
|
678
662
|
--
|
679
663
|
|
680
|
-
##### [execute_async_script](https://github.com/appium/ruby_lib/blob/
|
664
|
+
##### [execute_async_script](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/driver.rb#L620) common
|
681
665
|
|
682
666
|
> def execute_async_script(script, *args)
|
683
667
|
|
@@ -687,7 +671,7 @@ Get the window handles of open browser windows
|
|
687
671
|
|
688
672
|
--
|
689
673
|
|
690
|
-
##### [execute_driver](https://github.com/appium/ruby_lib/blob/
|
674
|
+
##### [execute_driver](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/driver.rb#L652) common
|
691
675
|
|
692
676
|
> def execute_driver(script: '', type: 'webdriverio', timeout_ms: nil)
|
693
677
|
|
@@ -713,7 +697,7 @@ Appium::Core::Base::Device::ExecuteDriver::Result.
|
|
713
697
|
|
714
698
|
--
|
715
699
|
|
716
|
-
##### [window_handles](https://github.com/appium/ruby_lib/blob/
|
700
|
+
##### [window_handles](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/driver.rb#L656) common
|
717
701
|
|
718
702
|
> def window_handles
|
719
703
|
|
@@ -721,7 +705,7 @@ Appium::Core::Base::Device::ExecuteDriver::Result.
|
|
721
705
|
|
722
706
|
--
|
723
707
|
|
724
|
-
##### [window_handle](https://github.com/appium/ruby_lib/blob/
|
708
|
+
##### [window_handle](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/driver.rb#L661) common
|
725
709
|
|
726
710
|
> def window_handle
|
727
711
|
|
@@ -729,7 +713,7 @@ Get the current window handle
|
|
729
713
|
|
730
714
|
--
|
731
715
|
|
732
|
-
##### [navigate](https://github.com/appium/ruby_lib/blob/
|
716
|
+
##### [navigate](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/driver.rb#L665) common
|
733
717
|
|
734
718
|
> def navigate
|
735
719
|
|
@@ -737,7 +721,7 @@ Get the current window handle
|
|
737
721
|
|
738
722
|
--
|
739
723
|
|
740
|
-
##### [manage](https://github.com/appium/ruby_lib/blob/
|
724
|
+
##### [manage](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/driver.rb#L669) common
|
741
725
|
|
742
726
|
> def manage
|
743
727
|
|
@@ -745,7 +729,7 @@ Get the current window handle
|
|
745
729
|
|
746
730
|
--
|
747
731
|
|
748
|
-
##### [get](https://github.com/appium/ruby_lib/blob/
|
732
|
+
##### [get](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/driver.rb#L673) common
|
749
733
|
|
750
734
|
> def get(url)
|
751
735
|
|
@@ -753,7 +737,7 @@ Get the current window handle
|
|
753
737
|
|
754
738
|
--
|
755
739
|
|
756
|
-
##### [current_url](https://github.com/appium/ruby_lib/blob/
|
740
|
+
##### [current_url](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/driver.rb#L677) common
|
757
741
|
|
758
742
|
> def current_url
|
759
743
|
|
@@ -761,7 +745,7 @@ Get the current window handle
|
|
761
745
|
|
762
746
|
--
|
763
747
|
|
764
|
-
##### [title](https://github.com/appium/ruby_lib/blob/
|
748
|
+
##### [title](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/driver.rb#L681) common
|
765
749
|
|
766
750
|
> def title
|
767
751
|
|
@@ -769,7 +753,7 @@ Get the current window handle
|
|
769
753
|
|
770
754
|
--
|
771
755
|
|
772
|
-
##### [switch_to](https://github.com/appium/ruby_lib/blob/
|
756
|
+
##### [switch_to](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/driver.rb#L687) common
|
773
757
|
|
774
758
|
> def switch_to
|
775
759
|
|
@@ -781,7 +765,7 @@ __Returns:__
|
|
781
765
|
|
782
766
|
--
|
783
767
|
|
784
|
-
##### [find_elements](https://github.com/appium/ruby_lib/blob/
|
768
|
+
##### [find_elements](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/driver.rb#L714) common
|
785
769
|
|
786
770
|
> def find_elements(*args)
|
787
771
|
|
@@ -801,7 +785,7 @@ __Returns:__
|
|
801
785
|
|
802
786
|
--
|
803
787
|
|
804
|
-
##### [find_element](https://github.com/appium/ruby_lib/blob/
|
788
|
+
##### [find_element](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/driver.rb#L730) common
|
805
789
|
|
806
790
|
> def find_element(*args)
|
807
791
|
|
@@ -819,7 +803,7 @@ __Returns:__
|
|
819
803
|
|
820
804
|
--
|
821
805
|
|
822
|
-
##### [find_element_by_image](https://github.com/appium/ruby_lib/blob/
|
806
|
+
##### [find_element_by_image](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/driver.rb#L745) common
|
823
807
|
|
824
808
|
> def find_element_by_image(png_img_path)
|
825
809
|
|
@@ -835,7 +819,7 @@ __Returns:__
|
|
835
819
|
|
836
820
|
--
|
837
821
|
|
838
|
-
##### [find_elements_by_image](https://github.com/appium/ruby_lib/blob/
|
822
|
+
##### [find_elements_by_image](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/driver.rb#L760) common
|
839
823
|
|
840
824
|
> def find_elements_by_image(png_img_paths)
|
841
825
|
|
@@ -851,7 +835,7 @@ __Returns:__
|
|
851
835
|
|
852
836
|
--
|
853
837
|
|
854
|
-
##### [set_location](https://github.com/appium/ruby_lib/blob/
|
838
|
+
##### [set_location](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/driver.rb#L773) common
|
855
839
|
|
856
840
|
> def set_location(opts = {})
|
857
841
|
|
@@ -867,12 +851,11 @@ __Returns:__
|
|
867
851
|
|
868
852
|
--
|
869
853
|
|
870
|
-
##### [log_event](https://github.com/appium/ruby_lib/blob/
|
854
|
+
##### [log_event](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/driver.rb#L796) common
|
871
855
|
|
872
856
|
> def log_event(vendor:, event:)
|
873
857
|
|
874
|
-
Logs a custom event. The event is available via {::Appium::Core::Events#get}
|
875
|
-
<code>driver.session_capabilities['events']</code> with <code>eventTimings</code> capabilities.
|
858
|
+
Logs a custom event. The event is available via {::Appium::Core::Events#get}.
|
876
859
|
|
877
860
|
__Parameters:__
|
878
861
|
|
@@ -886,7 +869,7 @@ __Returns:__
|
|
886
869
|
|
887
870
|
--
|
888
871
|
|
889
|
-
##### [log_event=](https://github.com/appium/ruby_lib/blob/
|
872
|
+
##### [log_event=](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/driver.rb#L800) common
|
890
873
|
|
891
874
|
> def log_event=(log_event)
|
892
875
|
|
@@ -894,7 +877,7 @@ __Returns:__
|
|
894
877
|
|
895
878
|
--
|
896
879
|
|
897
|
-
##### [log_events](https://github.com/appium/ruby_lib/blob/
|
880
|
+
##### [log_events](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/driver.rb#L819) common
|
898
881
|
|
899
882
|
> def log_events(type = nil)
|
900
883
|
|
@@ -910,7 +893,7 @@ __Returns:__
|
|
910
893
|
|
911
894
|
--
|
912
895
|
|
913
|
-
##### [x](https://github.com/appium/ruby_lib/blob/
|
896
|
+
##### [x](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/driver.rb#L826) common
|
914
897
|
|
915
898
|
> def x
|
916
899
|
|
@@ -923,7 +906,7 @@ __Returns:__
|
|
923
906
|
|
924
907
|
--
|
925
908
|
|
926
|
-
##### [username](https://github.com/appium/ruby_lib/blob/
|
909
|
+
##### [username](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/sauce_labs.rb#L18) common
|
927
910
|
|
928
911
|
> def username
|
929
912
|
|
@@ -931,7 +914,7 @@ Username for use on Sauce Labs. Set `false` to disable Sauce, even when SAUCE_US
|
|
931
914
|
|
932
915
|
--
|
933
916
|
|
934
|
-
##### [access_key](https://github.com/appium/ruby_lib/blob/
|
917
|
+
##### [access_key](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/sauce_labs.rb#L20) common
|
935
918
|
|
936
919
|
> def access_key
|
937
920
|
|
@@ -939,7 +922,7 @@ Access Key for use on Sauce Labs. Set `false` to disable Sauce, even when SAUCE_
|
|
939
922
|
|
940
923
|
--
|
941
924
|
|
942
|
-
##### [endpoint](https://github.com/appium/ruby_lib/blob/
|
925
|
+
##### [endpoint](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/sauce_labs.rb#L22) common
|
943
926
|
|
944
927
|
> def endpoint
|
945
928
|
|
@@ -947,7 +930,7 @@ Override the Sauce Appium endpoint to allow e.g. TestObject tests. Default is 'o
|
|
947
930
|
|
948
931
|
--
|
949
932
|
|
950
|
-
##### [initialize](https://github.com/appium/ruby_lib/blob/
|
933
|
+
##### [initialize](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/sauce_labs.rb#L47) common
|
951
934
|
|
952
935
|
> def initialize(appium_lib_opts)
|
953
936
|
|
@@ -963,7 +946,7 @@ __Returns:__
|
|
963
946
|
|
964
947
|
--
|
965
948
|
|
966
|
-
##### [sauce_server_url?](https://github.com/appium/ruby_lib/blob/
|
949
|
+
##### [sauce_server_url?](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/sauce_labs.rb#L67) common
|
967
950
|
|
968
951
|
> def sauce_server_url?
|
969
952
|
|
@@ -975,7 +958,7 @@ __Returns:__
|
|
975
958
|
|
976
959
|
--
|
977
960
|
|
978
|
-
##### [server_url](https://github.com/appium/ruby_lib/blob/
|
961
|
+
##### [server_url](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/sauce_labs.rb#L80) common
|
979
962
|
|
980
963
|
> def server_url
|
981
964
|
|
@@ -987,7 +970,7 @@ __Returns:__
|
|
987
970
|
|
988
971
|
--
|
989
972
|
|
990
|
-
##### [get_log](https://github.com/appium/ruby_lib/blob/
|
973
|
+
##### [get_log](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/common/log.rb#L25) common
|
991
974
|
|
992
975
|
> def get_log(type)
|
993
976
|
|
@@ -1003,7 +986,7 @@ __Returns:__
|
|
1003
986
|
|
1004
987
|
--
|
1005
988
|
|
1006
|
-
##### [get_available_log_types](https://github.com/appium/ruby_lib/blob/
|
989
|
+
##### [get_available_log_types](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/common/log.rb#L37) common
|
1007
990
|
|
1008
991
|
> def get_available_log_types
|
1009
992
|
|
@@ -1015,7 +998,7 @@ __Returns:__
|
|
1015
998
|
|
1016
999
|
--
|
1017
1000
|
|
1018
|
-
##### [wait_true](https://github.com/appium/ruby_lib/blob/
|
1001
|
+
##### [wait_true](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/common/wait.rb#L44) common
|
1019
1002
|
|
1020
1003
|
> def wait_true(opts = {})
|
1021
1004
|
|
@@ -1035,7 +1018,7 @@ __Parameters:__
|
|
1035
1018
|
|
1036
1019
|
--
|
1037
1020
|
|
1038
|
-
##### [wait](https://github.com/appium/ruby_lib/blob/
|
1021
|
+
##### [wait](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/common/wait.rb#L73) common
|
1039
1022
|
|
1040
1023
|
> def wait(opts = {})
|
1041
1024
|
|
@@ -1053,23 +1036,7 @@ __Parameters:__
|
|
1053
1036
|
|
1054
1037
|
--
|
1055
1038
|
|
1056
|
-
##### [
|
1057
|
-
|
1058
|
-
> def add_touch_actions
|
1059
|
-
|
1060
|
-
|
1061
|
-
|
1062
|
-
--
|
1063
|
-
|
1064
|
-
##### [delegate_from_appium_driver](https://github.com/appium/ruby_lib/blob/9c52fd3a8f0ef88d7c4e83f210ab22f817a30632/lib/appium_lib/common/device.rb#L38) common
|
1065
|
-
|
1066
|
-
> def delegate_from_appium_driver(method, delegation_target)
|
1067
|
-
|
1068
|
-
|
1069
|
-
|
1070
|
-
--
|
1071
|
-
|
1072
|
-
##### [ignore](https://github.com/appium/ruby_lib/blob/9c52fd3a8f0ef88d7c4e83f210ab22f817a30632/lib/appium_lib/common/helper.rb#L30) common
|
1039
|
+
##### [ignore](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/common/helper.rb#L30) common
|
1073
1040
|
|
1074
1041
|
> def ignore
|
1075
1042
|
|
@@ -1077,7 +1044,7 @@ Return yield and ignore any exceptions.
|
|
1077
1044
|
|
1078
1045
|
--
|
1079
1046
|
|
1080
|
-
##### [back](https://github.com/appium/ruby_lib/blob/
|
1047
|
+
##### [back](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/common/helper.rb#L38) common
|
1081
1048
|
|
1082
1049
|
> def back
|
1083
1050
|
|
@@ -1089,7 +1056,7 @@ __Returns:__
|
|
1089
1056
|
|
1090
1057
|
--
|
1091
1058
|
|
1092
|
-
##### [session_id](https://github.com/appium/ruby_lib/blob/
|
1059
|
+
##### [session_id](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/common/helper.rb#L49) common
|
1093
1060
|
|
1094
1061
|
> def session_id
|
1095
1062
|
|
@@ -1101,7 +1068,7 @@ __Returns:__
|
|
1101
1068
|
|
1102
1069
|
--
|
1103
1070
|
|
1104
|
-
##### [xpath](https://github.com/appium/ruby_lib/blob/
|
1071
|
+
##### [xpath](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/common/helper.rb#L57) common
|
1105
1072
|
|
1106
1073
|
> def xpath(xpath_str)
|
1107
1074
|
|
@@ -1117,7 +1084,7 @@ __Returns:__
|
|
1117
1084
|
|
1118
1085
|
--
|
1119
1086
|
|
1120
|
-
##### [xpaths](https://github.com/appium/ruby_lib/blob/
|
1087
|
+
##### [xpaths](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/common/helper.rb#L65) common
|
1121
1088
|
|
1122
1089
|
> def xpaths(xpath_str)
|
1123
1090
|
|
@@ -1133,7 +1100,7 @@ __Returns:__
|
|
1133
1100
|
|
1134
1101
|
--
|
1135
1102
|
|
1136
|
-
##### [result](https://github.com/appium/ruby_lib/blob/
|
1103
|
+
##### [result](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/common/helper.rb#L75) common
|
1137
1104
|
|
1138
1105
|
> def result
|
1139
1106
|
|
@@ -1141,7 +1108,7 @@ Returns the value of attribute result.
|
|
1141
1108
|
|
1142
1109
|
--
|
1143
1110
|
|
1144
|
-
##### [initialize](https://github.com/appium/ruby_lib/blob/
|
1111
|
+
##### [initialize](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/common/helper.rb#L77) common
|
1145
1112
|
|
1146
1113
|
> def initialize(platform)
|
1147
1114
|
|
@@ -1153,7 +1120,7 @@ __Returns:__
|
|
1153
1120
|
|
1154
1121
|
--
|
1155
1122
|
|
1156
|
-
##### [reset](https://github.com/appium/ruby_lib/blob/
|
1123
|
+
##### [reset](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/common/helper.rb#L82) common
|
1157
1124
|
|
1158
1125
|
> def reset
|
1159
1126
|
|
@@ -1161,7 +1128,7 @@ __Returns:__
|
|
1161
1128
|
|
1162
1129
|
--
|
1163
1130
|
|
1164
|
-
##### [start_element](https://github.com/appium/ruby_lib/blob/
|
1131
|
+
##### [start_element](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/common/helper.rb#L87) common
|
1165
1132
|
|
1166
1133
|
> def start_element(name, attrs = [])
|
1167
1134
|
|
@@ -1169,7 +1136,7 @@ http://nokogiri.org/Nokogiri/XML/SAX/Document.html
|
|
1169
1136
|
|
1170
1137
|
--
|
1171
1138
|
|
1172
|
-
##### [formatted_result](https://github.com/appium/ruby_lib/blob/
|
1139
|
+
##### [formatted_result](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/common/helper.rb#L98) common
|
1173
1140
|
|
1174
1141
|
> def formatted_result
|
1175
1142
|
|
@@ -1177,7 +1144,7 @@ http://nokogiri.org/Nokogiri/XML/SAX/Document.html
|
|
1177
1144
|
|
1178
1145
|
--
|
1179
1146
|
|
1180
|
-
##### [get_page_class](https://github.com/appium/ruby_lib/blob/
|
1147
|
+
##### [get_page_class](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/common/helper.rb#L116) common
|
1181
1148
|
|
1182
1149
|
> def get_page_class
|
1183
1150
|
|
@@ -1189,7 +1156,7 @@ __Returns:__
|
|
1189
1156
|
|
1190
1157
|
--
|
1191
1158
|
|
1192
|
-
##### [page_class](https://github.com/appium/ruby_lib/blob/
|
1159
|
+
##### [page_class](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/common/helper.rb#L141) common
|
1193
1160
|
|
1194
1161
|
> def page_class
|
1195
1162
|
|
@@ -1202,7 +1169,7 @@ __Returns:__
|
|
1202
1169
|
|
1203
1170
|
--
|
1204
1171
|
|
1205
|
-
##### [source](https://github.com/appium/ruby_lib/blob/
|
1172
|
+
##### [source](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/common/helper.rb#L148) common
|
1206
1173
|
|
1207
1174
|
> def source
|
1208
1175
|
|
@@ -1214,7 +1181,7 @@ __Returns:__
|
|
1214
1181
|
|
1215
1182
|
--
|
1216
1183
|
|
1217
|
-
##### [get_source](https://github.com/appium/ruby_lib/blob/
|
1184
|
+
##### [get_source](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/common/helper.rb#L155) common
|
1218
1185
|
|
1219
1186
|
> def get_source
|
1220
1187
|
|
@@ -1227,7 +1194,7 @@ __Returns:__
|
|
1227
1194
|
|
1228
1195
|
--
|
1229
1196
|
|
1230
|
-
##### [px_to_window_rel](https://github.com/appium/ruby_lib/blob/
|
1197
|
+
##### [px_to_window_rel](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/common/helper.rb#L165) common
|
1231
1198
|
|
1232
1199
|
> def px_to_window_rel(opts = {}, driver = $driver)
|
1233
1200
|
|
@@ -1235,7 +1202,7 @@ Converts pixel values to window relative values
|
|
1235
1202
|
|
1236
1203
|
--
|
1237
1204
|
|
1238
|
-
##### [xml_keys](https://github.com/appium/ruby_lib/blob/
|
1205
|
+
##### [xml_keys](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/common/helper.rb#L184) common
|
1239
1206
|
|
1240
1207
|
> def xml_keys(target)
|
1241
1208
|
|
@@ -1251,7 +1218,7 @@ __Returns:__
|
|
1251
1218
|
|
1252
1219
|
--
|
1253
1220
|
|
1254
|
-
##### [xml_values](https://github.com/appium/ruby_lib/blob/
|
1221
|
+
##### [xml_values](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/common/helper.rb#L192) common
|
1255
1222
|
|
1256
1223
|
> def xml_values(target)
|
1257
1224
|
|
@@ -1267,7 +1234,7 @@ __Returns:__
|
|
1267
1234
|
|
1268
1235
|
--
|
1269
1236
|
|
1270
|
-
##### [resolve_id](https://github.com/appium/ruby_lib/blob/
|
1237
|
+
##### [resolve_id](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/common/helper.rb#L200) common
|
1271
1238
|
|
1272
1239
|
> def resolve_id(id)
|
1273
1240
|
|
@@ -1283,7 +1250,7 @@ __Returns:__
|
|
1283
1250
|
|
1284
1251
|
--
|
1285
1252
|
|
1286
|
-
##### [filter](https://github.com/appium/ruby_lib/blob/
|
1253
|
+
##### [filter](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/common/helper.rb#L207) common
|
1287
1254
|
|
1288
1255
|
> def filter
|
1289
1256
|
|
@@ -1291,7 +1258,7 @@ Returns the value of attribute filter.
|
|
1291
1258
|
|
1292
1259
|
--
|
1293
1260
|
|
1294
|
-
##### [filter=](https://github.com/appium/ruby_lib/blob/
|
1261
|
+
##### [filter=](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/common/helper.rb#L210) common
|
1295
1262
|
|
1296
1263
|
> def filter=(value)
|
1297
1264
|
|
@@ -1299,7 +1266,7 @@ convert to string to support symbols
|
|
1299
1266
|
|
1300
1267
|
--
|
1301
1268
|
|
1302
|
-
##### [initialize](https://github.com/appium/ruby_lib/blob/
|
1269
|
+
##### [initialize](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/common/helper.rb#L217) common
|
1303
1270
|
|
1304
1271
|
> def initialize
|
1305
1272
|
|
@@ -1311,7 +1278,7 @@ __Returns:__
|
|
1311
1278
|
|
1312
1279
|
--
|
1313
1280
|
|
1314
|
-
##### [reset](https://github.com/appium/ruby_lib/blob/
|
1281
|
+
##### [reset](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/common/helper.rb#L222) common
|
1315
1282
|
|
1316
1283
|
> def reset
|
1317
1284
|
|
@@ -1319,7 +1286,7 @@ __Returns:__
|
|
1319
1286
|
|
1320
1287
|
--
|
1321
1288
|
|
1322
|
-
##### [result](https://github.com/appium/ruby_lib/blob/
|
1289
|
+
##### [result](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/common/helper.rb#L228) common
|
1323
1290
|
|
1324
1291
|
> def result
|
1325
1292
|
|
@@ -1327,7 +1294,7 @@ __Returns:__
|
|
1327
1294
|
|
1328
1295
|
--
|
1329
1296
|
|
1330
|
-
##### [start_element](https://github.com/appium/ruby_lib/blob/
|
1297
|
+
##### [start_element](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/common/helper.rb#L242) common
|
1331
1298
|
|
1332
1299
|
> def start_element(name, attrs = [])
|
1333
1300
|
|
@@ -1335,7 +1302,7 @@ __Returns:__
|
|
1335
1302
|
|
1336
1303
|
--
|
1337
1304
|
|
1338
|
-
##### [end_element](https://github.com/appium/ruby_lib/blob/
|
1305
|
+
##### [end_element](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/common/helper.rb#L252) common
|
1339
1306
|
|
1340
1307
|
> def end_element(name)
|
1341
1308
|
|
@@ -1343,7 +1310,7 @@ __Returns:__
|
|
1343
1310
|
|
1344
1311
|
--
|
1345
1312
|
|
1346
|
-
##### [characters](https://github.com/appium/ruby_lib/blob/
|
1313
|
+
##### [characters](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/common/helper.rb#L259) common
|
1347
1314
|
|
1348
1315
|
> def characters(chars)
|
1349
1316
|
|
@@ -1351,79 +1318,7 @@ __Returns:__
|
|
1351
1318
|
|
1352
1319
|
--
|
1353
1320
|
|
1354
|
-
##### [
|
1355
|
-
|
1356
|
-
> def pinch(percentage = 25, auto_perform = true, driver = $driver)
|
1357
|
-
|
1358
|
-
Convenience method for pinching the screen.
|
1359
|
-
Places two fingers at the edges of the screen and brings them together.
|
1360
|
-
Without auto_perform
|
1361
|
-
|
1362
|
-
With driver
|
1363
|
-
|
1364
|
-
__Parameters:__
|
1365
|
-
|
1366
|
-
[int] percentage - The percent size by which to shrink the screen when pinched.
|
1367
|
-
|
1368
|
-
[boolean] auto_perform - Whether to perform the action immediately (default true)
|
1369
|
-
|
1370
|
-
[Driver] driver - Set a driver to conduct the action. DEfault is global driver($driver)
|
1371
|
-
|
1372
|
-
--
|
1373
|
-
|
1374
|
-
##### [zoom](https://github.com/appium/ruby_lib/blob/9c52fd3a8f0ef88d7c4e83f210ab22f817a30632/lib/appium_lib/common/multi_touch.rb#L108) common
|
1375
|
-
|
1376
|
-
> def zoom(percentage = 200, auto_perform = true, driver = $driver)
|
1377
|
-
|
1378
|
-
Convenience method for zooming the screen.
|
1379
|
-
Places two fingers at the edges of the screen and brings them together.
|
1380
|
-
Without auto_perform
|
1381
|
-
|
1382
|
-
With driver
|
1383
|
-
|
1384
|
-
__Parameters:__
|
1385
|
-
|
1386
|
-
[int] percentage - The percent size by which to shrink the screen when pinched.
|
1387
|
-
|
1388
|
-
[boolean] auto_perform - Whether to perform the action immediately (default true)
|
1389
|
-
|
1390
|
-
[Driver] driver - Set a driver to conduct the action. DEfault is global driver($driver)
|
1391
|
-
|
1392
|
-
--
|
1393
|
-
|
1394
|
-
##### [initialize](https://github.com/appium/ruby_lib/blob/9c52fd3a8f0ef88d7c4e83f210ab22f817a30632/lib/appium_lib/common/multi_touch.rb#L194) common
|
1395
|
-
|
1396
|
-
> def initialize(driver = $driver)
|
1397
|
-
|
1398
|
-
self
|
1399
|
-
|
1400
|
-
__Returns:__
|
1401
|
-
|
1402
|
-
[MultiTouch] a new instance of MultiTouch
|
1403
|
-
|
1404
|
-
--
|
1405
|
-
|
1406
|
-
##### [initialize](https://github.com/appium/ruby_lib/blob/9c52fd3a8f0ef88d7c4e83f210ab22f817a30632/lib/appium_lib/common/touch_actions.rb#L62) common
|
1407
|
-
|
1408
|
-
> def initialize(driver = $driver)
|
1409
|
-
|
1410
|
-
|
1411
|
-
|
1412
|
-
__Returns:__
|
1413
|
-
|
1414
|
-
[TouchAction] a new instance of TouchAction
|
1415
|
-
|
1416
|
-
--
|
1417
|
-
|
1418
|
-
##### [swipe](https://github.com/appium/ruby_lib/blob/9c52fd3a8f0ef88d7c4e83f210ab22f817a30632/lib/appium_lib/common/touch_actions.rb#L66) common
|
1419
|
-
|
1420
|
-
> def swipe(opts)
|
1421
|
-
|
1422
|
-
|
1423
|
-
|
1424
|
-
--
|
1425
|
-
|
1426
|
-
##### [initialize](https://github.com/appium/ruby_lib/blob/9c52fd3a8f0ef88d7c4e83f210ab22f817a30632/lib/appium_lib/common/command/ws_logcat.rb#L19) common
|
1321
|
+
##### [initialize](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/common/command/ws_logcat.rb#L19) common
|
1427
1322
|
|
1428
1323
|
> def initialize(url:, output_file: 'logcat.log')
|
1429
1324
|
|
@@ -1435,7 +1330,7 @@ __Returns:__
|
|
1435
1330
|
|
1436
1331
|
--
|
1437
1332
|
|
1438
|
-
##### [handle_message_data](https://github.com/appium/ruby_lib/blob/
|
1333
|
+
##### [handle_message_data](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/common/command/ws_logcat.rb#L24) common
|
1439
1334
|
|
1440
1335
|
> def handle_message_data(data)
|
1441
1336
|
|
@@ -1443,7 +1338,7 @@ __Returns:__
|
|
1443
1338
|
|
1444
1339
|
--
|
1445
1340
|
|
1446
|
-
##### [for](https://github.com/appium/ruby_lib/blob/
|
1341
|
+
##### [for](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/ios/ios.rb#L29) ios
|
1447
1342
|
|
1448
1343
|
> def for(target)
|
1449
1344
|
|
@@ -1451,7 +1346,7 @@ __Returns:__
|
|
1451
1346
|
|
1452
1347
|
--
|
1453
1348
|
|
1454
|
-
##### [static_text_class](https://github.com/appium/ruby_lib/blob/
|
1349
|
+
##### [static_text_class](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/ios/element/text.rb#L25) ios
|
1455
1350
|
|
1456
1351
|
> def static_text_class
|
1457
1352
|
|
@@ -1463,7 +1358,7 @@ __Returns:__
|
|
1463
1358
|
|
1464
1359
|
--
|
1465
1360
|
|
1466
|
-
##### [text](https://github.com/appium/ruby_lib/blob/
|
1361
|
+
##### [text](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/ios/element/text.rb#L33) ios
|
1467
1362
|
|
1468
1363
|
> def text(value)
|
1469
1364
|
|
@@ -1480,7 +1375,7 @@ __Returns:__
|
|
1480
1375
|
|
1481
1376
|
--
|
1482
1377
|
|
1483
|
-
##### [texts](https://github.com/appium/ruby_lib/blob/
|
1378
|
+
##### [texts](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/ios/element/text.rb#L43) ios
|
1484
1379
|
|
1485
1380
|
> def texts(value = false)
|
1486
1381
|
|
@@ -1497,7 +1392,7 @@ __Returns:__
|
|
1497
1392
|
|
1498
1393
|
--
|
1499
1394
|
|
1500
|
-
##### [first_text](https://github.com/appium/ruby_lib/blob/
|
1395
|
+
##### [first_text](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/ios/element/text.rb#L51) ios
|
1501
1396
|
|
1502
1397
|
> def first_text
|
1503
1398
|
|
@@ -1509,7 +1404,7 @@ __Returns:__
|
|
1509
1404
|
|
1510
1405
|
--
|
1511
1406
|
|
1512
|
-
##### [last_text](https://github.com/appium/ruby_lib/blob/
|
1407
|
+
##### [last_text](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/ios/element/text.rb#L57) ios
|
1513
1408
|
|
1514
1409
|
> def last_text
|
1515
1410
|
|
@@ -1521,7 +1416,7 @@ __Returns:__
|
|
1521
1416
|
|
1522
1417
|
--
|
1523
1418
|
|
1524
|
-
##### [text_exact](https://github.com/appium/ruby_lib/blob/
|
1419
|
+
##### [text_exact](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/ios/element/text.rb#L64) ios
|
1525
1420
|
|
1526
1421
|
> def text_exact(value)
|
1527
1422
|
|
@@ -1537,7 +1432,7 @@ __Returns:__
|
|
1537
1432
|
|
1538
1433
|
--
|
1539
1434
|
|
1540
|
-
##### [texts_exact](https://github.com/appium/ruby_lib/blob/
|
1435
|
+
##### [texts_exact](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/ios/element/text.rb#L71) ios
|
1541
1436
|
|
1542
1437
|
> def texts_exact(value)
|
1543
1438
|
|
@@ -1553,7 +1448,7 @@ __Returns:__
|
|
1553
1448
|
|
1554
1449
|
--
|
1555
1450
|
|
1556
|
-
##### [filter](https://github.com/appium/ruby_lib/blob/
|
1451
|
+
##### [filter](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/ios/common/helper.rb#L19) ios
|
1557
1452
|
|
1558
1453
|
> def filter
|
1559
1454
|
|
@@ -1561,7 +1456,7 @@ Returns the value of attribute filter.
|
|
1561
1456
|
|
1562
1457
|
--
|
1563
1458
|
|
1564
|
-
##### [filter=](https://github.com/appium/ruby_lib/blob/
|
1459
|
+
##### [filter=](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/ios/common/helper.rb#L19) ios
|
1565
1460
|
|
1566
1461
|
> def filter=(value)
|
1567
1462
|
|
@@ -1573,7 +1468,7 @@ __Parameters:__
|
|
1573
1468
|
|
1574
1469
|
--
|
1575
1470
|
|
1576
|
-
##### [start_element](https://github.com/appium/ruby_lib/blob/
|
1471
|
+
##### [start_element](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/ios/common/helper.rb#L21) ios
|
1577
1472
|
|
1578
1473
|
> def start_element(type, attrs = [])
|
1579
1474
|
|
@@ -1581,7 +1476,7 @@ __Parameters:__
|
|
1581
1476
|
|
1582
1477
|
--
|
1583
1478
|
|
1584
|
-
##### [ios_password](https://github.com/appium/ruby_lib/blob/
|
1479
|
+
##### [ios_password](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/ios/common/helper.rb#L58) ios
|
1585
1480
|
|
1586
1481
|
> def ios_password(length = 1)
|
1587
1482
|
|
@@ -1599,7 +1494,7 @@ __Returns:__
|
|
1599
1494
|
|
1600
1495
|
--
|
1601
1496
|
|
1602
|
-
##### [page](https://github.com/appium/ruby_lib/blob/
|
1497
|
+
##### [page](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/ios/common/helper.rb#L74) ios
|
1603
1498
|
|
1604
1499
|
> def page(opts = {})
|
1605
1500
|
|
@@ -1617,7 +1512,7 @@ __Returns:__
|
|
1617
1512
|
|
1618
1513
|
--
|
1619
1514
|
|
1620
|
-
##### [id](https://github.com/appium/ruby_lib/blob/
|
1515
|
+
##### [id](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/ios/common/helper.rb#L101) ios
|
1621
1516
|
|
1622
1517
|
> def id(id)
|
1623
1518
|
|
@@ -1633,7 +1528,7 @@ __Returns:__
|
|
1633
1528
|
|
1634
1529
|
--
|
1635
1530
|
|
1636
|
-
##### [ele_index](https://github.com/appium/ruby_lib/blob/
|
1531
|
+
##### [ele_index](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/ios/common/helper.rb#L109) ios
|
1637
1532
|
|
1638
1533
|
> def ele_index(class_name, index)
|
1639
1534
|
|
@@ -1651,7 +1546,7 @@ __Returns:__
|
|
1651
1546
|
|
1652
1547
|
--
|
1653
1548
|
|
1654
|
-
##### [find_ele_by_attr](https://github.com/appium/ruby_lib/blob/
|
1549
|
+
##### [find_ele_by_attr](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/ios/common/helper.rb#L139) ios
|
1655
1550
|
|
1656
1551
|
> def find_ele_by_attr(class_name, attr, value)
|
1657
1552
|
|
@@ -1673,7 +1568,7 @@ __Returns:__
|
|
1673
1568
|
|
1674
1569
|
--
|
1675
1570
|
|
1676
|
-
##### [find_eles_by_attr](https://github.com/appium/ruby_lib/blob/
|
1571
|
+
##### [find_eles_by_attr](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/ios/common/helper.rb#L150) ios
|
1677
1572
|
|
1678
1573
|
> def find_eles_by_attr(class_name, attr, value)
|
1679
1574
|
|
@@ -1695,7 +1590,7 @@ __Returns:__
|
|
1695
1590
|
|
1696
1591
|
--
|
1697
1592
|
|
1698
|
-
##### [find_ele_by_predicate](https://github.com/appium/ruby_lib/blob/
|
1593
|
+
##### [find_ele_by_predicate](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/ios/common/helper.rb#L163) ios
|
1699
1594
|
|
1700
1595
|
> def find_ele_by_predicate(class_name: '*', value:)
|
1701
1596
|
|
@@ -1712,7 +1607,7 @@ __Returns:__
|
|
1712
1607
|
|
1713
1608
|
--
|
1714
1609
|
|
1715
|
-
##### [find_eles_by_predicate](https://github.com/appium/ruby_lib/blob/
|
1610
|
+
##### [find_eles_by_predicate](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/ios/common/helper.rb#L175) ios
|
1716
1611
|
|
1717
1612
|
> def find_eles_by_predicate(class_name: '*', value:)
|
1718
1613
|
|
@@ -1731,7 +1626,7 @@ __Returns:__
|
|
1731
1626
|
|
1732
1627
|
--
|
1733
1628
|
|
1734
|
-
##### [find_ele_by_attr_include](https://github.com/appium/ruby_lib/blob/
|
1629
|
+
##### [find_ele_by_attr_include](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/ios/common/helper.rb#L191) ios
|
1735
1630
|
|
1736
1631
|
> def find_ele_by_attr_include(class_name, attr, value)
|
1737
1632
|
|
@@ -1752,7 +1647,7 @@ __Returns:__
|
|
1752
1647
|
|
1753
1648
|
--
|
1754
1649
|
|
1755
|
-
##### [find_eles_by_attr_include](https://github.com/appium/ruby_lib/blob/
|
1650
|
+
##### [find_eles_by_attr_include](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/ios/common/helper.rb#L201) ios
|
1756
1651
|
|
1757
1652
|
> def find_eles_by_attr_include(class_name, attr, value)
|
1758
1653
|
|
@@ -1773,7 +1668,7 @@ __Returns:__
|
|
1773
1668
|
|
1774
1669
|
--
|
1775
1670
|
|
1776
|
-
##### [find_ele_by_predicate_include](https://github.com/appium/ruby_lib/blob/
|
1671
|
+
##### [find_ele_by_predicate_include](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/ios/common/helper.rb#L209) ios
|
1777
1672
|
|
1778
1673
|
> def find_ele_by_predicate_include(class_name: '*', value:)
|
1779
1674
|
|
@@ -1790,7 +1685,7 @@ __Returns:__
|
|
1790
1685
|
|
1791
1686
|
--
|
1792
1687
|
|
1793
|
-
##### [find_eles_by_predicate_include](https://github.com/appium/ruby_lib/blob/
|
1688
|
+
##### [find_eles_by_predicate_include](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/ios/common/helper.rb#L221) ios
|
1794
1689
|
|
1795
1690
|
> def find_eles_by_predicate_include(class_name: '*', value:)
|
1796
1691
|
|
@@ -1809,7 +1704,7 @@ __Returns:__
|
|
1809
1704
|
|
1810
1705
|
--
|
1811
1706
|
|
1812
|
-
##### [first_ele](https://github.com/appium/ruby_lib/blob/
|
1707
|
+
##### [first_ele](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/ios/common/helper.rb#L234) ios
|
1813
1708
|
|
1814
1709
|
> def first_ele(class_name)
|
1815
1710
|
|
@@ -1825,7 +1720,7 @@ __Returns:__
|
|
1825
1720
|
|
1826
1721
|
--
|
1827
1722
|
|
1828
|
-
##### [last_ele](https://github.com/appium/ruby_lib/blob/
|
1723
|
+
##### [last_ele](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/ios/common/helper.rb#L241) ios
|
1829
1724
|
|
1830
1725
|
> def last_ele(class_name)
|
1831
1726
|
|
@@ -1841,7 +1736,7 @@ __Returns:__
|
|
1841
1736
|
|
1842
1737
|
--
|
1843
1738
|
|
1844
|
-
##### [tag](https://github.com/appium/ruby_lib/blob/
|
1739
|
+
##### [tag](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/ios/common/helper.rb#L249) ios
|
1845
1740
|
|
1846
1741
|
> def tag(class_name)
|
1847
1742
|
|
@@ -1857,7 +1752,7 @@ __Returns:__
|
|
1857
1752
|
|
1858
1753
|
--
|
1859
1754
|
|
1860
|
-
##### [tags](https://github.com/appium/ruby_lib/blob/
|
1755
|
+
##### [tags](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/ios/common/helper.rb#L257) ios
|
1861
1756
|
|
1862
1757
|
> def tags(class_name)
|
1863
1758
|
|
@@ -1873,7 +1768,7 @@ __Returns:__
|
|
1873
1768
|
|
1874
1769
|
--
|
1875
1770
|
|
1876
|
-
##### [tags_include](https://github.com/appium/ruby_lib/blob/
|
1771
|
+
##### [tags_include](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/ios/common/helper.rb#L268) ios
|
1877
1772
|
|
1878
1773
|
> def tags_include(class_names:, value: nil)
|
1879
1774
|
|
@@ -1893,7 +1788,7 @@ __Returns:__
|
|
1893
1788
|
|
1894
1789
|
--
|
1895
1790
|
|
1896
|
-
##### [tags_exact](https://github.com/appium/ruby_lib/blob/
|
1791
|
+
##### [tags_exact](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/ios/common/helper.rb#L283) ios
|
1897
1792
|
|
1898
1793
|
> def tags_exact(class_names:, value: nil)
|
1899
1794
|
|
@@ -1913,7 +1808,7 @@ __Returns:__
|
|
1913
1808
|
|
1914
1809
|
--
|
1915
1810
|
|
1916
|
-
##### [ele_by_json_visible_contains](https://github.com/appium/ruby_lib/blob/
|
1811
|
+
##### [ele_by_json_visible_contains](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/ios/common/helper.rb#L320) ios
|
1917
1812
|
|
1918
1813
|
> def ele_by_json_visible_contains(element, value)
|
1919
1814
|
|
@@ -1932,7 +1827,7 @@ __Returns:__
|
|
1932
1827
|
|
1933
1828
|
--
|
1934
1829
|
|
1935
|
-
##### [eles_by_json_visible_contains](https://github.com/appium/ruby_lib/blob/
|
1830
|
+
##### [eles_by_json_visible_contains](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/ios/common/helper.rb#L329) ios
|
1936
1831
|
|
1937
1832
|
> def eles_by_json_visible_contains(element, value)
|
1938
1833
|
|
@@ -1951,7 +1846,7 @@ __Returns:__
|
|
1951
1846
|
|
1952
1847
|
--
|
1953
1848
|
|
1954
|
-
##### [ele_by_json_visible_exact](https://github.com/appium/ruby_lib/blob/
|
1849
|
+
##### [ele_by_json_visible_exact](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/ios/common/helper.rb#L359) ios
|
1955
1850
|
|
1956
1851
|
> def ele_by_json_visible_exact(element, value)
|
1957
1852
|
|
@@ -1970,7 +1865,7 @@ __Returns:__
|
|
1970
1865
|
|
1971
1866
|
--
|
1972
1867
|
|
1973
|
-
##### [eles_by_json_visible_exact](https://github.com/appium/ruby_lib/blob/
|
1868
|
+
##### [eles_by_json_visible_exact](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/ios/common/helper.rb#L368) ios
|
1974
1869
|
|
1975
1870
|
> def eles_by_json_visible_exact(element, value)
|
1976
1871
|
|
@@ -1989,7 +1884,7 @@ __Returns:__
|
|
1989
1884
|
|
1990
1885
|
--
|
1991
1886
|
|
1992
|
-
##### [_all_pred](https://github.com/appium/ruby_lib/blob/
|
1887
|
+
##### [_all_pred](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/ios/common/helper.rb#L377) ios
|
1993
1888
|
|
1994
1889
|
> def _all_pred(opts)
|
1995
1890
|
|
@@ -1999,7 +1894,7 @@ visible - if true, only visible elements are returned. default true
|
|
1999
1894
|
|
2000
1895
|
--
|
2001
1896
|
|
2002
|
-
##### [ele_with_pred](https://github.com/appium/ruby_lib/blob/
|
1897
|
+
##### [ele_with_pred](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/ios/common/helper.rb#L391) ios
|
2003
1898
|
|
2004
1899
|
> def ele_with_pred(opts)
|
2005
1900
|
|
@@ -2015,7 +1910,7 @@ __Returns:__
|
|
2015
1910
|
|
2016
1911
|
--
|
2017
1912
|
|
2018
|
-
##### [eles_with_pred](https://github.com/appium/ruby_lib/blob/
|
1913
|
+
##### [eles_with_pred](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/ios/common/helper.rb#L402) ios
|
2019
1914
|
|
2020
1915
|
> def eles_with_pred(opts)
|
2021
1916
|
|
@@ -2031,7 +1926,7 @@ __Returns:__
|
|
2031
1926
|
|
2032
1927
|
--
|
2033
1928
|
|
2034
|
-
##### [_validate_object](https://github.com/appium/ruby_lib/blob/
|
1929
|
+
##### [_validate_object](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/ios/common/helper.rb#L406) ios
|
2035
1930
|
|
2036
1931
|
> def _validate_object(*objects)
|
2037
1932
|
|
@@ -2039,7 +1934,7 @@ __Returns:__
|
|
2039
1934
|
|
2040
1935
|
--
|
2041
1936
|
|
2042
|
-
##### [_by_json](https://github.com/appium/ruby_lib/blob/
|
1937
|
+
##### [_by_json](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/ios/common/helper.rb#L456) ios
|
2043
1938
|
|
2044
1939
|
> def _by_json(opts)
|
2045
1940
|
|
@@ -2074,7 +1969,7 @@ opts = {
|
|
2074
1969
|
|
2075
1970
|
--
|
2076
1971
|
|
2077
|
-
##### [eles_by_json](https://github.com/appium/ruby_lib/blob/
|
1972
|
+
##### [eles_by_json](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/ios/common/helper.rb#L506) ios
|
2078
1973
|
|
2079
1974
|
> def eles_by_json(opts)
|
2080
1975
|
|
@@ -2093,7 +1988,7 @@ eles_by_json({
|
|
2093
1988
|
|
2094
1989
|
--
|
2095
1990
|
|
2096
|
-
##### [ele_by_json](https://github.com/appium/ruby_lib/blob/
|
1991
|
+
##### [ele_by_json](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/ios/common/helper.rb#L512) ios
|
2097
1992
|
|
2098
1993
|
> def ele_by_json(opts)
|
2099
1994
|
|
@@ -2101,7 +1996,7 @@ see eles_by_json
|
|
2101
1996
|
|
2102
1997
|
--
|
2103
1998
|
|
2104
|
-
##### [alert_accept](https://github.com/appium/ruby_lib/blob/
|
1999
|
+
##### [alert_accept](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/ios/element/alert.rb#L19) ios
|
2105
2000
|
|
2106
2001
|
> def alert_accept
|
2107
2002
|
|
@@ -2113,7 +2008,7 @@ __Returns:__
|
|
2113
2008
|
|
2114
2009
|
--
|
2115
2010
|
|
2116
|
-
##### [alert_dismiss](https://github.com/appium/ruby_lib/blob/
|
2011
|
+
##### [alert_dismiss](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/ios/element/alert.rb#L27) ios
|
2117
2012
|
|
2118
2013
|
> def alert_dismiss
|
2119
2014
|
|
@@ -2125,7 +2020,7 @@ __Returns:__
|
|
2125
2020
|
|
2126
2021
|
--
|
2127
2022
|
|
2128
|
-
##### [button_class](https://github.com/appium/ruby_lib/blob/
|
2023
|
+
##### [button_class](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/ios/element/button.rb#L25) ios
|
2129
2024
|
|
2130
2025
|
> def button_class
|
2131
2026
|
|
@@ -2137,7 +2032,7 @@ __Returns:__
|
|
2137
2032
|
|
2138
2033
|
--
|
2139
2034
|
|
2140
|
-
##### [button](https://github.com/appium/ruby_lib/blob/
|
2035
|
+
##### [button](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/ios/element/button.rb#L33) ios
|
2141
2036
|
|
2142
2037
|
> def button(value)
|
2143
2038
|
|
@@ -2154,7 +2049,7 @@ __Returns:__
|
|
2154
2049
|
|
2155
2050
|
--
|
2156
2051
|
|
2157
|
-
##### [buttons](https://github.com/appium/ruby_lib/blob/
|
2052
|
+
##### [buttons](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/ios/element/button.rb#L44) ios
|
2158
2053
|
|
2159
2054
|
> def buttons(value = false)
|
2160
2055
|
|
@@ -2171,7 +2066,7 @@ __Returns:__
|
|
2171
2066
|
|
2172
2067
|
--
|
2173
2068
|
|
2174
|
-
##### [first_button](https://github.com/appium/ruby_lib/blob/
|
2069
|
+
##### [first_button](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/ios/element/button.rb#L52) ios
|
2175
2070
|
|
2176
2071
|
> def first_button
|
2177
2072
|
|
@@ -2183,7 +2078,7 @@ __Returns:__
|
|
2183
2078
|
|
2184
2079
|
--
|
2185
2080
|
|
2186
|
-
##### [last_button](https://github.com/appium/ruby_lib/blob/
|
2081
|
+
##### [last_button](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/ios/element/button.rb#L60) ios
|
2187
2082
|
|
2188
2083
|
> def last_button
|
2189
2084
|
|
@@ -2197,7 +2092,7 @@ __Returns:__
|
|
2197
2092
|
|
2198
2093
|
--
|
2199
2094
|
|
2200
|
-
##### [button_exact](https://github.com/appium/ruby_lib/blob/
|
2095
|
+
##### [button_exact](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/ios/element/button.rb#L67) ios
|
2201
2096
|
|
2202
2097
|
> def button_exact(value)
|
2203
2098
|
|
@@ -2213,7 +2108,7 @@ __Returns:__
|
|
2213
2108
|
|
2214
2109
|
--
|
2215
2110
|
|
2216
|
-
##### [buttons_exact](https://github.com/appium/ruby_lib/blob/
|
2111
|
+
##### [buttons_exact](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/ios/element/button.rb#L74) ios
|
2217
2112
|
|
2218
2113
|
> def buttons_exact(value)
|
2219
2114
|
|
@@ -2229,7 +2124,7 @@ __Returns:__
|
|
2229
2124
|
|
2230
2125
|
--
|
2231
2126
|
|
2232
|
-
##### [find](https://github.com/appium/ruby_lib/blob/
|
2127
|
+
##### [find](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/ios/element/generic.rb#L20) ios
|
2233
2128
|
|
2234
2129
|
> def find(value)
|
2235
2130
|
|
@@ -2245,7 +2140,7 @@ __Returns:__
|
|
2245
2140
|
|
2246
2141
|
--
|
2247
2142
|
|
2248
|
-
##### [finds](https://github.com/appium/ruby_lib/blob/
|
2143
|
+
##### [finds](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/ios/element/generic.rb#L27) ios
|
2249
2144
|
|
2250
2145
|
> def finds(value)
|
2251
2146
|
|
@@ -2261,7 +2156,7 @@ __Returns:__
|
|
2261
2156
|
|
2262
2157
|
--
|
2263
2158
|
|
2264
|
-
##### [find_exact](https://github.com/appium/ruby_lib/blob/
|
2159
|
+
##### [find_exact](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/ios/element/generic.rb#L34) ios
|
2265
2160
|
|
2266
2161
|
> def find_exact(value)
|
2267
2162
|
|
@@ -2277,7 +2172,7 @@ __Returns:__
|
|
2277
2172
|
|
2278
2173
|
--
|
2279
2174
|
|
2280
|
-
##### [finds_exact](https://github.com/appium/ruby_lib/blob/
|
2175
|
+
##### [finds_exact](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/ios/element/generic.rb#L41) ios
|
2281
2176
|
|
2282
2177
|
> def finds_exact(value)
|
2283
2178
|
|
@@ -2293,7 +2188,7 @@ __Returns:__
|
|
2293
2188
|
|
2294
2189
|
--
|
2295
2190
|
|
2296
|
-
##### [raise_error_if_no_element](https://github.com/appium/ruby_lib/blob/
|
2191
|
+
##### [raise_error_if_no_element](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/ios/element/generic.rb#L47) ios
|
2297
2192
|
|
2298
2193
|
> def raise_error_if_no_element(element)
|
2299
2194
|
|
@@ -2301,7 +2196,7 @@ __Returns:__
|
|
2301
2196
|
|
2302
2197
|
--
|
2303
2198
|
|
2304
|
-
##### [select_visible_elements](https://github.com/appium/ruby_lib/blob/
|
2199
|
+
##### [select_visible_elements](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/ios/element/generic.rb#L55) ios
|
2305
2200
|
|
2306
2201
|
> def select_visible_elements(elements)
|
2307
2202
|
|
@@ -2309,7 +2204,7 @@ Return visible elements.
|
|
2309
2204
|
|
2310
2205
|
--
|
2311
2206
|
|
2312
|
-
##### [for](https://github.com/appium/ruby_lib/blob/
|
2207
|
+
##### [for](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/ios/xcuitest/bridge.rb#L21) ios
|
2313
2208
|
|
2314
2209
|
> def for(target)
|
2315
2210
|
|
@@ -2317,7 +2212,7 @@ Return visible elements.
|
|
2317
2212
|
|
2318
2213
|
--
|
2319
2214
|
|
2320
|
-
##### [last_ele](https://github.com/appium/ruby_lib/blob/
|
2215
|
+
##### [last_ele](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/ios/xcuitest/helper.rb#L40) ios
|
2321
2216
|
|
2322
2217
|
> def last_ele(class_name)
|
2323
2218
|
|
@@ -2333,7 +2228,7 @@ __Returns:__
|
|
2333
2228
|
|
2334
2229
|
--
|
2335
2230
|
|
2336
|
-
##### [tag](https://github.com/appium/ruby_lib/blob/
|
2231
|
+
##### [tag](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/ios/xcuitest/helper.rb#L51) ios
|
2337
2232
|
|
2338
2233
|
> def tag(class_name)
|
2339
2234
|
|
@@ -2349,7 +2244,7 @@ __Returns:__
|
|
2349
2244
|
|
2350
2245
|
--
|
2351
2246
|
|
2352
|
-
##### [tags](https://github.com/appium/ruby_lib/blob/
|
2247
|
+
##### [tags](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/ios/xcuitest/helper.rb#L59) ios
|
2353
2248
|
|
2354
2249
|
> def tags(class_name)
|
2355
2250
|
|
@@ -2365,7 +2260,7 @@ __Returns:__
|
|
2365
2260
|
|
2366
2261
|
--
|
2367
2262
|
|
2368
|
-
##### [tags_include](https://github.com/appium/ruby_lib/blob/
|
2263
|
+
##### [tags_include](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/ios/xcuitest/helper.rb#L71) ios
|
2369
2264
|
|
2370
2265
|
> def tags_include(class_names:, value: nil)
|
2371
2266
|
|
@@ -2385,7 +2280,7 @@ __Returns:__
|
|
2385
2280
|
|
2386
2281
|
--
|
2387
2282
|
|
2388
|
-
##### [tags_exact](https://github.com/appium/ruby_lib/blob/
|
2283
|
+
##### [tags_exact](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/ios/xcuitest/helper.rb#L93) ios
|
2389
2284
|
|
2390
2285
|
> def tags_exact(class_names:, value: nil)
|
2391
2286
|
|
@@ -2405,7 +2300,7 @@ __Returns:__
|
|
2405
2300
|
|
2406
2301
|
--
|
2407
2302
|
|
2408
|
-
##### [start_logs_broadcast](https://github.com/appium/ruby_lib/blob/
|
2303
|
+
##### [start_logs_broadcast](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/ios/xcuitest/command.rb#L33) ios
|
2409
2304
|
|
2410
2305
|
> def start_logs_broadcast(syslog_file = 'syslog.log')
|
2411
2306
|
|
@@ -2417,7 +2312,7 @@ __Parameters:__
|
|
2417
2312
|
|
2418
2313
|
--
|
2419
2314
|
|
2420
|
-
##### [stop_logs_broadcast](https://github.com/appium/ruby_lib/blob/
|
2315
|
+
##### [stop_logs_broadcast](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/ios/xcuitest/command.rb#L46) ios
|
2421
2316
|
|
2422
2317
|
> def stop_logs_broadcast
|
2423
2318
|
|
@@ -2425,7 +2320,7 @@ Stop iOS syslog broadcast websocket
|
|
2425
2320
|
|
2426
2321
|
--
|
2427
2322
|
|
2428
|
-
##### [text_field_class](https://github.com/appium/ruby_lib/blob/
|
2323
|
+
##### [text_field_class](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/ios/element/textfield.rb#L28) ios
|
2429
2324
|
|
2430
2325
|
> def text_field_class
|
2431
2326
|
|
@@ -2437,7 +2332,7 @@ __Returns:__
|
|
2437
2332
|
|
2438
2333
|
--
|
2439
2334
|
|
2440
|
-
##### [secure_text_field_class](https://github.com/appium/ruby_lib/blob/
|
2335
|
+
##### [secure_text_field_class](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/ios/element/textfield.rb#L33) ios
|
2441
2336
|
|
2442
2337
|
> def secure_text_field_class
|
2443
2338
|
|
@@ -2449,7 +2344,7 @@ __Returns:__
|
|
2449
2344
|
|
2450
2345
|
--
|
2451
2346
|
|
2452
|
-
##### [textfield](https://github.com/appium/ruby_lib/blob/
|
2347
|
+
##### [textfield](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/ios/element/textfield.rb#L42) ios
|
2453
2348
|
|
2454
2349
|
> def textfield(value)
|
2455
2350
|
|
@@ -2467,7 +2362,7 @@ __Returns:__
|
|
2467
2362
|
|
2468
2363
|
--
|
2469
2364
|
|
2470
|
-
##### [textfields](https://github.com/appium/ruby_lib/blob/
|
2365
|
+
##### [textfields](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/ios/element/textfield.rb#L61) ios
|
2471
2366
|
|
2472
2367
|
> def textfields(value = false)
|
2473
2368
|
|
@@ -2484,7 +2379,7 @@ __Returns:__
|
|
2484
2379
|
|
2485
2380
|
--
|
2486
2381
|
|
2487
|
-
##### [first_textfield](https://github.com/appium/ruby_lib/blob/
|
2382
|
+
##### [first_textfield](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/ios/element/textfield.rb#L69) ios
|
2488
2383
|
|
2489
2384
|
> def first_textfield
|
2490
2385
|
|
@@ -2496,7 +2391,7 @@ __Returns:__
|
|
2496
2391
|
|
2497
2392
|
--
|
2498
2393
|
|
2499
|
-
##### [last_textfield](https://github.com/appium/ruby_lib/blob/
|
2394
|
+
##### [last_textfield](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/ios/element/textfield.rb#L75) ios
|
2500
2395
|
|
2501
2396
|
> def last_textfield
|
2502
2397
|
|
@@ -2508,7 +2403,7 @@ __Returns:__
|
|
2508
2403
|
|
2509
2404
|
--
|
2510
2405
|
|
2511
|
-
##### [textfield_exact](https://github.com/appium/ruby_lib/blob/
|
2406
|
+
##### [textfield_exact](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/ios/element/textfield.rb#L85) ios
|
2512
2407
|
|
2513
2408
|
> def textfield_exact(value)
|
2514
2409
|
|
@@ -2524,7 +2419,7 @@ __Returns:__
|
|
2524
2419
|
|
2525
2420
|
--
|
2526
2421
|
|
2527
|
-
##### [textfields_exact](https://github.com/appium/ruby_lib/blob/
|
2422
|
+
##### [textfields_exact](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/ios/element/textfield.rb#L92) ios
|
2528
2423
|
|
2529
2424
|
> def textfields_exact(value)
|
2530
2425
|
|
@@ -2540,7 +2435,7 @@ __Returns:__
|
|
2540
2435
|
|
2541
2436
|
--
|
2542
2437
|
|
2543
|
-
##### [_textfield_visible](https://github.com/appium/ruby_lib/blob/
|
2438
|
+
##### [_textfield_visible](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/ios/element/textfield.rb#L99) ios
|
2544
2439
|
|
2545
2440
|
> def _textfield_visible
|
2546
2441
|
|
@@ -2548,7 +2443,7 @@ Appium
|
|
2548
2443
|
|
2549
2444
|
--
|
2550
2445
|
|
2551
|
-
##### [_textfield_exact_string](https://github.com/appium/ruby_lib/blob/
|
2446
|
+
##### [_textfield_exact_string](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/ios/element/textfield.rb#L104) ios
|
2552
2447
|
|
2553
2448
|
> def _textfield_exact_string(value)
|
2554
2449
|
|
@@ -2556,7 +2451,7 @@ Appium
|
|
2556
2451
|
|
2557
2452
|
--
|
2558
2453
|
|
2559
|
-
##### [_textfield_contains_string](https://github.com/appium/ruby_lib/blob/
|
2454
|
+
##### [_textfield_contains_string](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/ios/element/textfield.rb#L111) ios
|
2560
2455
|
|
2561
2456
|
> def _textfield_contains_string(value)
|
2562
2457
|
|
@@ -2564,7 +2459,7 @@ Appium
|
|
2564
2459
|
|
2565
2460
|
--
|
2566
2461
|
|
2567
|
-
##### [static_text_class](https://github.com/appium/ruby_lib/blob/
|
2462
|
+
##### [static_text_class](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/ios/xcuitest/element/text.rb#L23) ios
|
2568
2463
|
|
2569
2464
|
> def static_text_class
|
2570
2465
|
|
@@ -2576,7 +2471,7 @@ __Returns:__
|
|
2576
2471
|
|
2577
2472
|
--
|
2578
2473
|
|
2579
|
-
##### [text](https://github.com/appium/ruby_lib/blob/
|
2474
|
+
##### [text](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/ios/xcuitest/element/text.rb#L31) ios
|
2580
2475
|
|
2581
2476
|
> def text(value)
|
2582
2477
|
|
@@ -2593,7 +2488,7 @@ __Returns:__
|
|
2593
2488
|
|
2594
2489
|
--
|
2595
2490
|
|
2596
|
-
##### [texts](https://github.com/appium/ruby_lib/blob/
|
2491
|
+
##### [texts](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/ios/xcuitest/element/text.rb#L41) ios
|
2597
2492
|
|
2598
2493
|
> def texts(value = false)
|
2599
2494
|
|
@@ -2610,7 +2505,7 @@ __Returns:__
|
|
2610
2505
|
|
2611
2506
|
--
|
2612
2507
|
|
2613
|
-
##### [first_text](https://github.com/appium/ruby_lib/blob/
|
2508
|
+
##### [first_text](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/ios/xcuitest/element/text.rb#L50) ios
|
2614
2509
|
|
2615
2510
|
> def first_text
|
2616
2511
|
|
@@ -2622,7 +2517,7 @@ __Returns:__
|
|
2622
2517
|
|
2623
2518
|
--
|
2624
2519
|
|
2625
|
-
##### [last_text](https://github.com/appium/ruby_lib/blob/
|
2520
|
+
##### [last_text](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/ios/xcuitest/element/text.rb#L56) ios
|
2626
2521
|
|
2627
2522
|
> def last_text
|
2628
2523
|
|
@@ -2634,7 +2529,7 @@ __Returns:__
|
|
2634
2529
|
|
2635
2530
|
--
|
2636
2531
|
|
2637
|
-
##### [text_exact](https://github.com/appium/ruby_lib/blob/
|
2532
|
+
##### [text_exact](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/ios/xcuitest/element/text.rb#L63) ios
|
2638
2533
|
|
2639
2534
|
> def text_exact(value)
|
2640
2535
|
|
@@ -2650,7 +2545,7 @@ __Returns:__
|
|
2650
2545
|
|
2651
2546
|
--
|
2652
2547
|
|
2653
|
-
##### [texts_exact](https://github.com/appium/ruby_lib/blob/
|
2548
|
+
##### [texts_exact](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/ios/xcuitest/element/text.rb#L70) ios
|
2654
2549
|
|
2655
2550
|
> def texts_exact(value)
|
2656
2551
|
|
@@ -2666,7 +2561,7 @@ __Returns:__
|
|
2666
2561
|
|
2667
2562
|
--
|
2668
2563
|
|
2669
|
-
##### [xcuitest_source](https://github.com/appium/ruby_lib/blob/
|
2564
|
+
##### [xcuitest_source](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/ios/xcuitest/command/source.rb#L25) ios
|
2670
2565
|
|
2671
2566
|
> def xcuitest_source(format: :xml)
|
2672
2567
|
|
@@ -2682,7 +2577,7 @@ xcuitest_source format: :json
|
|
2682
2577
|
|
2683
2578
|
--
|
2684
2579
|
|
2685
|
-
##### [button_class](https://github.com/appium/ruby_lib/blob/
|
2580
|
+
##### [button_class](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/ios/xcuitest/element/button.rb#L23) ios
|
2686
2581
|
|
2687
2582
|
> def button_class
|
2688
2583
|
|
@@ -2694,7 +2589,7 @@ __Returns:__
|
|
2694
2589
|
|
2695
2590
|
--
|
2696
2591
|
|
2697
|
-
##### [button](https://github.com/appium/ruby_lib/blob/
|
2592
|
+
##### [button](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/ios/xcuitest/element/button.rb#L31) ios
|
2698
2593
|
|
2699
2594
|
> def button(value)
|
2700
2595
|
|
@@ -2711,7 +2606,7 @@ __Returns:__
|
|
2711
2606
|
|
2712
2607
|
--
|
2713
2608
|
|
2714
|
-
##### [buttons](https://github.com/appium/ruby_lib/blob/
|
2609
|
+
##### [buttons](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/ios/xcuitest/element/button.rb#L42) ios
|
2715
2610
|
|
2716
2611
|
> def buttons(value = false)
|
2717
2612
|
|
@@ -2728,7 +2623,7 @@ __Returns:__
|
|
2728
2623
|
|
2729
2624
|
--
|
2730
2625
|
|
2731
|
-
##### [first_button](https://github.com/appium/ruby_lib/blob/
|
2626
|
+
##### [first_button](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/ios/xcuitest/element/button.rb#L51) ios
|
2732
2627
|
|
2733
2628
|
> def first_button
|
2734
2629
|
|
@@ -2740,7 +2635,7 @@ __Returns:__
|
|
2740
2635
|
|
2741
2636
|
--
|
2742
2637
|
|
2743
|
-
##### [last_button](https://github.com/appium/ruby_lib/blob/
|
2638
|
+
##### [last_button](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/ios/xcuitest/element/button.rb#L59) ios
|
2744
2639
|
|
2745
2640
|
> def last_button
|
2746
2641
|
|
@@ -2754,7 +2649,7 @@ __Returns:__
|
|
2754
2649
|
|
2755
2650
|
--
|
2756
2651
|
|
2757
|
-
##### [button_exact](https://github.com/appium/ruby_lib/blob/
|
2652
|
+
##### [button_exact](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/ios/xcuitest/element/button.rb#L66) ios
|
2758
2653
|
|
2759
2654
|
> def button_exact(value)
|
2760
2655
|
|
@@ -2770,7 +2665,7 @@ __Returns:__
|
|
2770
2665
|
|
2771
2666
|
--
|
2772
2667
|
|
2773
|
-
##### [buttons_exact](https://github.com/appium/ruby_lib/blob/
|
2668
|
+
##### [buttons_exact](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/ios/xcuitest/element/button.rb#L73) ios
|
2774
2669
|
|
2775
2670
|
> def buttons_exact(value)
|
2776
2671
|
|
@@ -2786,7 +2681,7 @@ __Returns:__
|
|
2786
2681
|
|
2787
2682
|
--
|
2788
2683
|
|
2789
|
-
##### [find](https://github.com/appium/ruby_lib/blob/
|
2684
|
+
##### [find](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/ios/xcuitest/element/generic.rb#L22) ios
|
2790
2685
|
|
2791
2686
|
> def find(value)
|
2792
2687
|
|
@@ -2802,7 +2697,7 @@ __Returns:__
|
|
2802
2697
|
|
2803
2698
|
--
|
2804
2699
|
|
2805
|
-
##### [finds](https://github.com/appium/ruby_lib/blob/
|
2700
|
+
##### [finds](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/ios/xcuitest/element/generic.rb#L29) ios
|
2806
2701
|
|
2807
2702
|
> def finds(value)
|
2808
2703
|
|
@@ -2818,7 +2713,7 @@ __Returns:__
|
|
2818
2713
|
|
2819
2714
|
--
|
2820
2715
|
|
2821
|
-
##### [find_exact](https://github.com/appium/ruby_lib/blob/
|
2716
|
+
##### [find_exact](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/ios/xcuitest/element/generic.rb#L37) ios
|
2822
2717
|
|
2823
2718
|
> def find_exact(value)
|
2824
2719
|
|
@@ -2834,7 +2729,7 @@ __Returns:__
|
|
2834
2729
|
|
2835
2730
|
--
|
2836
2731
|
|
2837
|
-
##### [finds_exact](https://github.com/appium/ruby_lib/blob/
|
2732
|
+
##### [finds_exact](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/ios/xcuitest/element/generic.rb#L44) ios
|
2838
2733
|
|
2839
2734
|
> def finds_exact(value)
|
2840
2735
|
|
@@ -2850,7 +2745,7 @@ __Returns:__
|
|
2850
2745
|
|
2851
2746
|
--
|
2852
2747
|
|
2853
|
-
##### [raise_error_if_no_element](https://github.com/appium/ruby_lib/blob/
|
2748
|
+
##### [raise_error_if_no_element](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/ios/xcuitest/element/generic.rb#L51) ios
|
2854
2749
|
|
2855
2750
|
> def raise_error_if_no_element(element)
|
2856
2751
|
|
@@ -2858,7 +2753,7 @@ __Returns:__
|
|
2858
2753
|
|
2859
2754
|
--
|
2860
2755
|
|
2861
|
-
##### [select_visible_elements](https://github.com/appium/ruby_lib/blob/
|
2756
|
+
##### [select_visible_elements](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/ios/xcuitest/element/generic.rb#L59) ios
|
2862
2757
|
|
2863
2758
|
> def select_visible_elements(elements)
|
2864
2759
|
|
@@ -2866,7 +2761,7 @@ Return visible elements.
|
|
2866
2761
|
|
2867
2762
|
--
|
2868
2763
|
|
2869
|
-
##### [swipe](https://github.com/appium/ruby_lib/blob/
|
2764
|
+
##### [swipe](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/ios/xcuitest/command/gestures.rb#L25) ios
|
2870
2765
|
|
2871
2766
|
> def swipe(direction:, element: nil)
|
2872
2767
|
|
@@ -2880,7 +2775,7 @@ __Parameters:__
|
|
2880
2775
|
|
2881
2776
|
--
|
2882
2777
|
|
2883
|
-
##### [scroll](https://github.com/appium/ruby_lib/blob/
|
2778
|
+
##### [scroll](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/ios/xcuitest/command/gestures.rb#L46) ios
|
2884
2779
|
|
2885
2780
|
> def scroll(direction:, distance: nil, name: nil, element: nil, to_visible: nil, predicate_string: nil)
|
2886
2781
|
|
@@ -2894,7 +2789,7 @@ __Parameters:__
|
|
2894
2789
|
|
2895
2790
|
--
|
2896
2791
|
|
2897
|
-
##### [pinch](https://github.com/appium/ruby_lib/blob/
|
2792
|
+
##### [pinch](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/ios/xcuitest/command/gestures.rb#L67) ios
|
2898
2793
|
|
2899
2794
|
> def pinch(scale:, velocity: 1.0, element: nil)
|
2900
2795
|
|
@@ -2910,7 +2805,7 @@ __Parameters:__
|
|
2910
2805
|
|
2911
2806
|
--
|
2912
2807
|
|
2913
|
-
##### [double_tap](https://github.com/appium/ruby_lib/blob/
|
2808
|
+
##### [double_tap](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/ios/xcuitest/command/gestures.rb#L82) ios
|
2914
2809
|
|
2915
2810
|
> def double_tap(x: nil, y: nil, element: nil)
|
2916
2811
|
|
@@ -2926,7 +2821,7 @@ __Parameters:__
|
|
2926
2821
|
|
2927
2822
|
--
|
2928
2823
|
|
2929
|
-
##### [touch_and_hold](https://github.com/appium/ruby_lib/blob/
|
2824
|
+
##### [touch_and_hold](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/ios/xcuitest/command/gestures.rb#L99) ios
|
2930
2825
|
|
2931
2826
|
> def touch_and_hold(x: nil, y: nil, element: nil, duration: 1.0)
|
2932
2827
|
|
@@ -2944,7 +2839,7 @@ __Parameters:__
|
|
2944
2839
|
|
2945
2840
|
--
|
2946
2841
|
|
2947
|
-
##### [two_finger_tap](https://github.com/appium/ruby_lib/blob/
|
2842
|
+
##### [two_finger_tap](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/ios/xcuitest/command/gestures.rb#L112) ios
|
2948
2843
|
|
2949
2844
|
> def two_finger_tap(element:)
|
2950
2845
|
|
@@ -2960,7 +2855,7 @@ two_finger_tap element: find_element(:accessibility_id, "some item")
|
|
2960
2855
|
|
2961
2856
|
--
|
2962
2857
|
|
2963
|
-
##### [one_finger_tap](https://github.com/appium/ruby_lib/blob/
|
2858
|
+
##### [one_finger_tap](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/ios/xcuitest/command/gestures.rb#L127) ios
|
2964
2859
|
|
2965
2860
|
> def one_finger_tap(x:, y:, element: nil)
|
2966
2861
|
|
@@ -2976,7 +2871,7 @@ __Parameters:__
|
|
2976
2871
|
|
2977
2872
|
--
|
2978
2873
|
|
2979
|
-
##### [drag_from_to_for_duration](https://github.com/appium/ruby_lib/blob/
|
2874
|
+
##### [drag_from_to_for_duration](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/ios/xcuitest/command/gestures.rb#L147) ios
|
2980
2875
|
|
2981
2876
|
> def drag_from_to_for_duration(from_x:, from_y:, to_x:, to_y:, duration: 1.0, element: nil)
|
2982
2877
|
|
@@ -2999,7 +2894,7 @@ drag point should be before to start dragging. Mandatory parameter
|
|
2999
2894
|
|
3000
2895
|
--
|
3001
2896
|
|
3002
|
-
##### [select_picker_wheel](https://github.com/appium/ruby_lib/blob/
|
2897
|
+
##### [select_picker_wheel](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/ios/xcuitest/command/gestures.rb#L164) ios
|
3003
2898
|
|
3004
2899
|
> def select_picker_wheel(element:, order:, offset: nil)
|
3005
2900
|
|
@@ -3016,7 +2911,7 @@ __Parameters:__
|
|
3016
2911
|
|
3017
2912
|
--
|
3018
2913
|
|
3019
|
-
##### [alert](https://github.com/appium/ruby_lib/blob/
|
2914
|
+
##### [alert](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/ios/xcuitest/command/gestures.rb#L182) ios
|
3020
2915
|
|
3021
2916
|
> def alert(action:, button_label: nil)
|
3022
2917
|
|
@@ -3041,7 +2936,7 @@ alert action: "dismiss"
|
|
3041
2936
|
|
3042
2937
|
--
|
3043
2938
|
|
3044
|
-
##### [text_field_class](https://github.com/appium/ruby_lib/blob/
|
2939
|
+
##### [text_field_class](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/ios/xcuitest/element/textfield.rb#L23) ios
|
3045
2940
|
|
3046
2941
|
> def text_field_class
|
3047
2942
|
|
@@ -3053,7 +2948,7 @@ __Returns:__
|
|
3053
2948
|
|
3054
2949
|
--
|
3055
2950
|
|
3056
|
-
##### [secure_text_field_class](https://github.com/appium/ruby_lib/blob/
|
2951
|
+
##### [secure_text_field_class](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/ios/xcuitest/element/textfield.rb#L28) ios
|
3057
2952
|
|
3058
2953
|
> def secure_text_field_class
|
3059
2954
|
|
@@ -3065,7 +2960,7 @@ __Returns:__
|
|
3065
2960
|
|
3066
2961
|
--
|
3067
2962
|
|
3068
|
-
##### [textfield](https://github.com/appium/ruby_lib/blob/
|
2963
|
+
##### [textfield](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/ios/xcuitest/element/textfield.rb#L37) ios
|
3069
2964
|
|
3070
2965
|
> def textfield(value)
|
3071
2966
|
|
@@ -3083,7 +2978,7 @@ __Returns:__
|
|
3083
2978
|
|
3084
2979
|
--
|
3085
2980
|
|
3086
|
-
##### [textfields](https://github.com/appium/ruby_lib/blob/
|
2981
|
+
##### [textfields](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/ios/xcuitest/element/textfield.rb#L57) ios
|
3087
2982
|
|
3088
2983
|
> def textfields(value = false)
|
3089
2984
|
|
@@ -3100,7 +2995,7 @@ __Returns:__
|
|
3100
2995
|
|
3101
2996
|
--
|
3102
2997
|
|
3103
|
-
##### [first_textfield](https://github.com/appium/ruby_lib/blob/
|
2998
|
+
##### [first_textfield](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/ios/xcuitest/element/textfield.rb#L66) ios
|
3104
2999
|
|
3105
3000
|
> def first_textfield
|
3106
3001
|
|
@@ -3112,7 +3007,7 @@ __Returns:__
|
|
3112
3007
|
|
3113
3008
|
--
|
3114
3009
|
|
3115
|
-
##### [last_textfield](https://github.com/appium/ruby_lib/blob/
|
3010
|
+
##### [last_textfield](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/ios/xcuitest/element/textfield.rb#L72) ios
|
3116
3011
|
|
3117
3012
|
> def last_textfield
|
3118
3013
|
|
@@ -3124,7 +3019,7 @@ __Returns:__
|
|
3124
3019
|
|
3125
3020
|
--
|
3126
3021
|
|
3127
|
-
##### [textfield_exact](https://github.com/appium/ruby_lib/blob/
|
3022
|
+
##### [textfield_exact](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/ios/xcuitest/element/textfield.rb#L82) ios
|
3128
3023
|
|
3129
3024
|
> def textfield_exact(value)
|
3130
3025
|
|
@@ -3140,7 +3035,7 @@ __Returns:__
|
|
3140
3035
|
|
3141
3036
|
--
|
3142
3037
|
|
3143
|
-
##### [textfields_exact](https://github.com/appium/ruby_lib/blob/
|
3038
|
+
##### [textfields_exact](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/ios/xcuitest/element/textfield.rb#L89) ios
|
3144
3039
|
|
3145
3040
|
> def textfields_exact(value)
|
3146
3041
|
|
@@ -3156,7 +3051,7 @@ __Returns:__
|
|
3156
3051
|
|
3157
3052
|
--
|
3158
3053
|
|
3159
|
-
##### [set_pasteboard](https://github.com/appium/ruby_lib/blob/
|
3054
|
+
##### [set_pasteboard](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/ios/xcuitest/command/pasteboard.rb#L26) ios
|
3160
3055
|
|
3161
3056
|
> def set_pasteboard(content:, encoding: nil)
|
3162
3057
|
|
@@ -3171,7 +3066,7 @@ The parameter is mandatory
|
|
3171
3066
|
|
3172
3067
|
--
|
3173
3068
|
|
3174
|
-
##### [get_pasteboard](https://github.com/appium/ruby_lib/blob/
|
3069
|
+
##### [get_pasteboard](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/ios/xcuitest/command/pasteboard.rb#L38) ios
|
3175
3070
|
|
3176
3071
|
> def get_pasteboard(encoding: nil)
|
3177
3072
|
|
@@ -3183,7 +3078,7 @@ __Parameters:__
|
|
3183
3078
|
|
3184
3079
|
--
|
3185
3080
|
|
3186
|
-
##### [install_certificate](https://github.com/appium/ruby_lib/blob/
|
3081
|
+
##### [install_certificate](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/ios/xcuitest/command/certificate.rb#L32) ios
|
3187
3082
|
|
3188
3083
|
> def install_certificate(cer_file:)
|
3189
3084
|
|
@@ -3198,7 +3093,7 @@ __Parameters:__
|
|
3198
3093
|
|
3199
3094
|
--
|
3200
3095
|
|
3201
|
-
##### [xcuitest_get_contexts](https://github.com/appium/ruby_lib/blob/
|
3096
|
+
##### [xcuitest_get_contexts](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/ios/xcuitest/command/get_context.rb#L28) ios
|
3202
3097
|
|
3203
3098
|
> def xcuitest_get_contexts
|
3204
3099
|
|
@@ -3206,7 +3101,7 @@ Get contexts
|
|
3206
3101
|
|
3207
3102
|
--
|
3208
3103
|
|
3209
|
-
##### [xcuitest_install_app](https://github.com/appium/ruby_lib/blob/
|
3104
|
+
##### [xcuitest_install_app](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/ios/xcuitest/command/multi_app_handler.rb#L35) ios
|
3210
3105
|
|
3211
3106
|
> def xcuitest_install_app(app:)
|
3212
3107
|
|
@@ -3226,7 +3121,7 @@ __Returns:__
|
|
3226
3121
|
|
3227
3122
|
--
|
3228
3123
|
|
3229
|
-
##### [xcuitest_app_installed?](https://github.com/appium/ruby_lib/blob/
|
3124
|
+
##### [xcuitest_app_installed?](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/ios/xcuitest/command/multi_app_handler.rb#L48) ios
|
3230
3125
|
|
3231
3126
|
> def xcuitest_app_installed?(bundle_id:)
|
3232
3127
|
|
@@ -3242,7 +3137,7 @@ __Returns:__
|
|
3242
3137
|
|
3243
3138
|
--
|
3244
3139
|
|
3245
|
-
##### [xcuitest_remove_app](https://github.com/appium/ruby_lib/blob/
|
3140
|
+
##### [xcuitest_remove_app](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/ios/xcuitest/command/multi_app_handler.rb#L62) ios
|
3246
3141
|
|
3247
3142
|
> def xcuitest_remove_app(bundle_id:)
|
3248
3143
|
|
@@ -3259,7 +3154,7 @@ __Returns:__
|
|
3259
3154
|
|
3260
3155
|
--
|
3261
3156
|
|
3262
|
-
##### [xcuitest_launch_app](https://github.com/appium/ruby_lib/blob/
|
3157
|
+
##### [xcuitest_launch_app](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/ios/xcuitest/command/multi_app_handler.rb#L76) ios
|
3263
3158
|
|
3264
3159
|
> def xcuitest_launch_app(bundle_id:)
|
3265
3160
|
|
@@ -3276,7 +3171,7 @@ __Returns:__
|
|
3276
3171
|
|
3277
3172
|
--
|
3278
3173
|
|
3279
|
-
##### [xcuitest_terminate_app](https://github.com/appium/ruby_lib/blob/
|
3174
|
+
##### [xcuitest_terminate_app](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/ios/xcuitest/command/multi_app_handler.rb#L91) ios
|
3280
3175
|
|
3281
3176
|
> def xcuitest_terminate_app(bundle_id:)
|
3282
3177
|
|
@@ -3293,7 +3188,7 @@ __Returns:__
|
|
3293
3188
|
|
3294
3189
|
--
|
3295
3190
|
|
3296
|
-
##### [xcuitest_query_app_status](https://github.com/appium/ruby_lib/blob/
|
3191
|
+
##### [xcuitest_query_app_status](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/ios/xcuitest/command/multi_app_handler.rb#L112) ios
|
3297
3192
|
|
3298
3193
|
> def xcuitest_query_app_status(bundle_id:)
|
3299
3194
|
|
@@ -3317,7 +3212,7 @@ __Returns:__
|
|
3317
3212
|
|
3318
3213
|
--
|
3319
3214
|
|
3320
|
-
##### [xcuitest_activate_app](https://github.com/appium/ruby_lib/blob/
|
3215
|
+
##### [xcuitest_activate_app](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/ios/xcuitest/command/multi_app_handler.rb#L127) ios
|
3321
3216
|
|
3322
3217
|
> def xcuitest_activate_app(bundle_id:)
|
3323
3218
|
|