appium_lib 9.16.1 → 9.17.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/CHANGELOG.md +11 -0
- data/appium_lib.gemspec +3 -3
- data/docs/android_docs.md +198 -194
- data/docs/ios_docs.md +258 -254
- data/lib/appium_lib/common/touch_actions.rb +0 -9
- data/lib/appium_lib/driver.rb +17 -13
- data/lib/appium_lib/version.rb +2 -2
- data/release_notes.md +8 -0
- metadata +2 -2
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/84f71e47b86a2f7a1de71c13888adce68622a35b/lib/appium_lib/appium.rb#L46) common
|
2
2
|
|
3
3
|
> def load_settings(opts = {})
|
4
4
|
|
@@ -27,7 +27,7 @@ __Returns:__
|
|
27
27
|
|
28
28
|
--
|
29
29
|
|
30
|
-
##### [load_appium_txt](https://github.com/appium/ruby_lib/blob/
|
30
|
+
##### [load_appium_txt](https://github.com/appium/ruby_lib/blob/84f71e47b86a2f7a1de71c13888adce68622a35b/lib/appium_lib/appium.rb#L82) common
|
31
31
|
|
32
32
|
> def load_settings(opts = {})
|
33
33
|
|
@@ -56,7 +56,7 @@ __Returns:__
|
|
56
56
|
|
57
57
|
--
|
58
58
|
|
59
|
-
##### [expand_required_files](https://github.com/appium/ruby_lib/blob/
|
59
|
+
##### [expand_required_files](https://github.com/appium/ruby_lib/blob/84f71e47b86a2f7a1de71c13888adce68622a35b/lib/appium_lib/appium.rb#L87) common
|
60
60
|
|
61
61
|
> def expand_required_files(base_dir, file_paths)
|
62
62
|
|
@@ -74,7 +74,7 @@ __Returns:__
|
|
74
74
|
|
75
75
|
--
|
76
76
|
|
77
|
-
##### [promote_singleton_appium_methods](https://github.com/appium/ruby_lib/blob/
|
77
|
+
##### [promote_singleton_appium_methods](https://github.com/appium/ruby_lib/blob/84f71e47b86a2f7a1de71c13888adce68622a35b/lib/appium_lib/appium.rb#L129) common
|
78
78
|
|
79
79
|
> def promote_singleton_appium_methods(modules, driver = $driver)
|
80
80
|
|
@@ -98,7 +98,7 @@ __Parameters:__
|
|
98
98
|
|
99
99
|
--
|
100
100
|
|
101
|
-
##### [promote_appium_methods](https://github.com/appium/ruby_lib/blob/
|
101
|
+
##### [promote_appium_methods](https://github.com/appium/ruby_lib/blob/84f71e47b86a2f7a1de71c13888adce68622a35b/lib/appium_lib/appium.rb#L185) common
|
102
102
|
|
103
103
|
> def promote_appium_methods(class_array, driver = $driver)
|
104
104
|
|
@@ -116,7 +116,7 @@ __Parameters:__
|
|
116
116
|
|
117
117
|
--
|
118
118
|
|
119
|
-
##### [global_webdriver_http_sleep](https://github.com/appium/ruby_lib/blob/
|
119
|
+
##### [global_webdriver_http_sleep](https://github.com/appium/ruby_lib/blob/84f71e47b86a2f7a1de71c13888adce68622a35b/lib/appium_lib/driver.rb#L35) common
|
120
120
|
|
121
121
|
> def global_webdriver_http_sleep
|
122
122
|
|
@@ -124,7 +124,7 @@ The amount to sleep in seconds before every webdriver http call.
|
|
124
124
|
|
125
125
|
--
|
126
126
|
|
127
|
-
##### [global_webdriver_http_sleep=](https://github.com/appium/ruby_lib/blob/
|
127
|
+
##### [global_webdriver_http_sleep=](https://github.com/appium/ruby_lib/blob/84f71e47b86a2f7a1de71c13888adce68622a35b/lib/appium_lib/driver.rb#L35) common
|
128
128
|
|
129
129
|
> def global_webdriver_http_sleep=(value)
|
130
130
|
|
@@ -132,7 +132,7 @@ The amount to sleep in seconds before every webdriver http call.
|
|
132
132
|
|
133
133
|
--
|
134
134
|
|
135
|
-
##### [sauce](https://github.com/appium/ruby_lib/blob/
|
135
|
+
##### [sauce](https://github.com/appium/ruby_lib/blob/84f71e47b86a2f7a1de71c13888adce68622a35b/lib/appium_lib/driver.rb#L38) common
|
136
136
|
|
137
137
|
> def sauce
|
138
138
|
|
@@ -140,7 +140,7 @@ SauceLab's settings
|
|
140
140
|
|
141
141
|
--
|
142
142
|
|
143
|
-
##### [sauce_username](https://github.com/appium/ruby_lib/blob/
|
143
|
+
##### [sauce_username](https://github.com/appium/ruby_lib/blob/84f71e47b86a2f7a1de71c13888adce68622a35b/lib/appium_lib/driver.rb#L41) common
|
144
144
|
|
145
145
|
> def sauce_username
|
146
146
|
|
@@ -149,7 +149,7 @@ same as @sauce.username
|
|
149
149
|
|
150
150
|
--
|
151
151
|
|
152
|
-
##### [sauce_access_key](https://github.com/appium/ruby_lib/blob/
|
152
|
+
##### [sauce_access_key](https://github.com/appium/ruby_lib/blob/84f71e47b86a2f7a1de71c13888adce68622a35b/lib/appium_lib/driver.rb#L44) common
|
153
153
|
|
154
154
|
> def sauce_access_key
|
155
155
|
|
@@ -158,7 +158,7 @@ same as @sauce.access_key
|
|
158
158
|
|
159
159
|
--
|
160
160
|
|
161
|
-
##### [sauce_endpoint](https://github.com/appium/ruby_lib/blob/
|
161
|
+
##### [sauce_endpoint](https://github.com/appium/ruby_lib/blob/84f71e47b86a2f7a1de71c13888adce68622a35b/lib/appium_lib/driver.rb#L47) common
|
162
162
|
|
163
163
|
> def sauce_endpoint
|
164
164
|
|
@@ -167,7 +167,7 @@ same as @sauce.endpoint
|
|
167
167
|
|
168
168
|
--
|
169
169
|
|
170
|
-
##### [caps](https://github.com/appium/ruby_lib/blob/
|
170
|
+
##### [caps](https://github.com/appium/ruby_lib/blob/84f71e47b86a2f7a1de71c13888adce68622a35b/lib/appium_lib/driver.rb#L51) common
|
171
171
|
|
172
172
|
> def caps
|
173
173
|
|
@@ -176,7 +176,7 @@ read http://www.rubydoc.info/github/appium/ruby_lib_core/Appium/Core/Driver
|
|
176
176
|
|
177
177
|
--
|
178
178
|
|
179
|
-
##### [custom_url](https://github.com/appium/ruby_lib/blob/
|
179
|
+
##### [custom_url](https://github.com/appium/ruby_lib/blob/84f71e47b86a2f7a1de71c13888adce68622a35b/lib/appium_lib/driver.rb#L52) common
|
180
180
|
|
181
181
|
> def custom_url
|
182
182
|
|
@@ -184,7 +184,7 @@ Returns the value of attribute custom_url
|
|
184
184
|
|
185
185
|
--
|
186
186
|
|
187
|
-
##### [export_session](https://github.com/appium/ruby_lib/blob/
|
187
|
+
##### [export_session](https://github.com/appium/ruby_lib/blob/84f71e47b86a2f7a1de71c13888adce68622a35b/lib/appium_lib/driver.rb#L53) common
|
188
188
|
|
189
189
|
> def export_session
|
190
190
|
|
@@ -192,7 +192,7 @@ Returns the value of attribute export_session
|
|
192
192
|
|
193
193
|
--
|
194
194
|
|
195
|
-
##### [export_session_path](https://github.com/appium/ruby_lib/blob/
|
195
|
+
##### [export_session_path](https://github.com/appium/ruby_lib/blob/84f71e47b86a2f7a1de71c13888adce68622a35b/lib/appium_lib/driver.rb#L54) common
|
196
196
|
|
197
197
|
> def export_session_path
|
198
198
|
|
@@ -200,7 +200,7 @@ Returns the value of attribute export_session_path
|
|
200
200
|
|
201
201
|
--
|
202
202
|
|
203
|
-
##### [default_wait](https://github.com/appium/ruby_lib/blob/
|
203
|
+
##### [default_wait](https://github.com/appium/ruby_lib/blob/84f71e47b86a2f7a1de71c13888adce68622a35b/lib/appium_lib/driver.rb#L55) common
|
204
204
|
|
205
205
|
> def default_wait
|
206
206
|
|
@@ -208,7 +208,7 @@ Returns the value of attribute default_wait
|
|
208
208
|
|
209
209
|
--
|
210
210
|
|
211
|
-
##### [appium_port](https://github.com/appium/ruby_lib/blob/
|
211
|
+
##### [appium_port](https://github.com/appium/ruby_lib/blob/84f71e47b86a2f7a1de71c13888adce68622a35b/lib/appium_lib/driver.rb#L56) common
|
212
212
|
|
213
213
|
> def appium_port
|
214
214
|
|
@@ -216,7 +216,7 @@ Returns the value of attribute appium_port
|
|
216
216
|
|
217
217
|
--
|
218
218
|
|
219
|
-
##### [appium_device](https://github.com/appium/ruby_lib/blob/
|
219
|
+
##### [appium_device](https://github.com/appium/ruby_lib/blob/84f71e47b86a2f7a1de71c13888adce68622a35b/lib/appium_lib/driver.rb#L57) common
|
220
220
|
|
221
221
|
> def appium_device
|
222
222
|
|
@@ -224,7 +224,7 @@ Returns the value of attribute appium_device
|
|
224
224
|
|
225
225
|
--
|
226
226
|
|
227
|
-
##### [automation_name](https://github.com/appium/ruby_lib/blob/
|
227
|
+
##### [automation_name](https://github.com/appium/ruby_lib/blob/84f71e47b86a2f7a1de71c13888adce68622a35b/lib/appium_lib/driver.rb#L58) common
|
228
228
|
|
229
229
|
> def automation_name
|
230
230
|
|
@@ -232,7 +232,7 @@ Returns the value of attribute automation_name
|
|
232
232
|
|
233
233
|
--
|
234
234
|
|
235
|
-
##### [listener](https://github.com/appium/ruby_lib/blob/
|
235
|
+
##### [listener](https://github.com/appium/ruby_lib/blob/84f71e47b86a2f7a1de71c13888adce68622a35b/lib/appium_lib/driver.rb#L59) common
|
236
236
|
|
237
237
|
> def listener
|
238
238
|
|
@@ -240,7 +240,7 @@ Returns the value of attribute listener
|
|
240
240
|
|
241
241
|
--
|
242
242
|
|
243
|
-
##### [http_client](https://github.com/appium/ruby_lib/blob/
|
243
|
+
##### [http_client](https://github.com/appium/ruby_lib/blob/84f71e47b86a2f7a1de71c13888adce68622a35b/lib/appium_lib/driver.rb#L60) common
|
244
244
|
|
245
245
|
> def http_client
|
246
246
|
|
@@ -248,7 +248,7 @@ Returns the value of attribute http_client
|
|
248
248
|
|
249
249
|
--
|
250
250
|
|
251
|
-
##### [appium_wait_timeout](https://github.com/appium/ruby_lib/blob/
|
251
|
+
##### [appium_wait_timeout](https://github.com/appium/ruby_lib/blob/84f71e47b86a2f7a1de71c13888adce68622a35b/lib/appium_lib/driver.rb#L61) common
|
252
252
|
|
253
253
|
> def appium_wait_timeout
|
254
254
|
|
@@ -256,7 +256,7 @@ Returns the value of attribute appium_wait_timeout
|
|
256
256
|
|
257
257
|
--
|
258
258
|
|
259
|
-
##### [appium_wait_interval](https://github.com/appium/ruby_lib/blob/
|
259
|
+
##### [appium_wait_interval](https://github.com/appium/ruby_lib/blob/84f71e47b86a2f7a1de71c13888adce68622a35b/lib/appium_lib/driver.rb#L62) common
|
260
260
|
|
261
261
|
> def appium_wait_interval
|
262
262
|
|
@@ -264,7 +264,7 @@ Returns the value of attribute appium_wait_interval
|
|
264
264
|
|
265
265
|
--
|
266
266
|
|
267
|
-
##### [appium_server_status](https://github.com/appium/ruby_lib/blob/
|
267
|
+
##### [appium_server_status](https://github.com/appium/ruby_lib/blob/84f71e47b86a2f7a1de71c13888adce68622a35b/lib/appium_lib/driver.rb#L65) common
|
268
268
|
|
269
269
|
> def appium_server_status
|
270
270
|
|
@@ -272,7 +272,7 @@ Appium's server version
|
|
272
272
|
|
273
273
|
--
|
274
274
|
|
275
|
-
##### [appium_debug](https://github.com/appium/ruby_lib/blob/
|
275
|
+
##### [appium_debug](https://github.com/appium/ruby_lib/blob/84f71e47b86a2f7a1de71c13888adce68622a35b/lib/appium_lib/driver.rb#L67) common
|
276
276
|
|
277
277
|
> def appium_debug
|
278
278
|
|
@@ -280,7 +280,7 @@ Boolean debug mode for the Appium Ruby bindings
|
|
280
280
|
|
281
281
|
--
|
282
282
|
|
283
|
-
##### [driver](https://github.com/appium/ruby_lib/blob/
|
283
|
+
##### [driver](https://github.com/appium/ruby_lib/blob/84f71e47b86a2f7a1de71c13888adce68622a35b/lib/appium_lib/driver.rb#L70) common
|
284
284
|
|
285
285
|
> def driver
|
286
286
|
|
@@ -292,7 +292,7 @@ __Returns:__
|
|
292
292
|
|
293
293
|
--
|
294
294
|
|
295
|
-
##### [core](https://github.com/appium/ruby_lib/blob/
|
295
|
+
##### [core](https://github.com/appium/ruby_lib/blob/84f71e47b86a2f7a1de71c13888adce68622a35b/lib/appium_lib/driver.rb#L72) common
|
296
296
|
|
297
297
|
> def core
|
298
298
|
|
@@ -300,7 +300,7 @@ Instance of Appium::Core::Driver
|
|
300
300
|
|
301
301
|
--
|
302
302
|
|
303
|
-
##### [initialize](https://github.com/appium/ruby_lib/blob/
|
303
|
+
##### [initialize](https://github.com/appium/ruby_lib/blob/84f71e47b86a2f7a1de71c13888adce68622a35b/lib/appium_lib/driver.rb#L140) common
|
304
304
|
|
305
305
|
> def initialize(opts = {}, global_driver = nil)
|
306
306
|
|
@@ -319,7 +319,7 @@ __Returns:__
|
|
319
319
|
|
320
320
|
--
|
321
321
|
|
322
|
-
##### [driver_attributes](https://github.com/appium/ruby_lib/blob/
|
322
|
+
##### [driver_attributes](https://github.com/appium/ruby_lib/blob/84f71e47b86a2f7a1de71c13888adce68622a35b/lib/appium_lib/driver.rb#L254) common
|
323
323
|
|
324
324
|
> def driver_attributes
|
325
325
|
|
@@ -327,7 +327,7 @@ Returns a hash of the driver attributes
|
|
327
327
|
|
328
328
|
--
|
329
329
|
|
330
|
-
##### [device_is_android?](https://github.com/appium/ruby_lib/blob/
|
330
|
+
##### [device_is_android?](https://github.com/appium/ruby_lib/blob/84f71e47b86a2f7a1de71c13888adce68622a35b/lib/appium_lib/driver.rb#L276) common
|
331
331
|
|
332
332
|
> def device_is_android?
|
333
333
|
|
@@ -339,7 +339,7 @@ __Returns:__
|
|
339
339
|
|
340
340
|
--
|
341
341
|
|
342
|
-
##### [device_is_ios?](https://github.com/appium/ruby_lib/blob/
|
342
|
+
##### [device_is_ios?](https://github.com/appium/ruby_lib/blob/84f71e47b86a2f7a1de71c13888adce68622a35b/lib/appium_lib/driver.rb#L280) common
|
343
343
|
|
344
344
|
> def device_is_ios?
|
345
345
|
|
@@ -351,7 +351,7 @@ __Returns:__
|
|
351
351
|
|
352
352
|
--
|
353
353
|
|
354
|
-
##### [device_is_windows?](https://github.com/appium/ruby_lib/blob/
|
354
|
+
##### [device_is_windows?](https://github.com/appium/ruby_lib/blob/84f71e47b86a2f7a1de71c13888adce68622a35b/lib/appium_lib/driver.rb#L284) common
|
355
355
|
|
356
356
|
> def device_is_windows?
|
357
357
|
|
@@ -363,7 +363,7 @@ __Returns:__
|
|
363
363
|
|
364
364
|
--
|
365
365
|
|
366
|
-
##### [automation_name_is_uiautomator2?](https://github.com/appium/ruby_lib/blob/
|
366
|
+
##### [automation_name_is_uiautomator2?](https://github.com/appium/ruby_lib/blob/84f71e47b86a2f7a1de71c13888adce68622a35b/lib/appium_lib/driver.rb#L290) common
|
367
367
|
|
368
368
|
> def automation_name_is_uiautomator2?
|
369
369
|
|
@@ -375,7 +375,7 @@ __Returns:__
|
|
375
375
|
|
376
376
|
--
|
377
377
|
|
378
|
-
##### [automation_name_is_espresso?](https://github.com/appium/ruby_lib/blob/
|
378
|
+
##### [automation_name_is_espresso?](https://github.com/appium/ruby_lib/blob/84f71e47b86a2f7a1de71c13888adce68622a35b/lib/appium_lib/driver.rb#L296) common
|
379
379
|
|
380
380
|
> def automation_name_is_espresso?
|
381
381
|
|
@@ -387,7 +387,7 @@ __Returns:__
|
|
387
387
|
|
388
388
|
--
|
389
389
|
|
390
|
-
##### [automation_name_is_xcuitest?](https://github.com/appium/ruby_lib/blob/
|
390
|
+
##### [automation_name_is_xcuitest?](https://github.com/appium/ruby_lib/blob/84f71e47b86a2f7a1de71c13888adce68622a35b/lib/appium_lib/driver.rb#L302) common
|
391
391
|
|
392
392
|
> def automation_name_is_xcuitest?
|
393
393
|
|
@@ -399,7 +399,7 @@ __Returns:__
|
|
399
399
|
|
400
400
|
--
|
401
401
|
|
402
|
-
##### [dialect](https://github.com/appium/ruby_lib/blob/
|
402
|
+
##### [dialect](https://github.com/appium/ruby_lib/blob/84f71e47b86a2f7a1de71c13888adce68622a35b/lib/appium_lib/driver.rb#L322) common
|
403
403
|
|
404
404
|
> def dialect
|
405
405
|
|
@@ -421,20 +421,24 @@ __Returns:__
|
|
421
421
|
|
422
422
|
--
|
423
423
|
|
424
|
-
##### [
|
424
|
+
##### [action](https://github.com/appium/ruby_lib/blob/84f71e47b86a2f7a1de71c13888adce68622a35b/lib/appium_lib/driver.rb#L337) common
|
425
425
|
|
426
|
-
> def
|
426
|
+
> def action(async = false)
|
427
427
|
|
428
|
-
|
429
|
-
|
428
|
+
An entry point to chain W3C actions. Returns `TouchAction.new` if it works as MJSONWP instead of W3C action.
|
429
|
+
Read https://www.rubydoc.info/github/appium/ruby_lib_core/Appium/Core/Base/Bridge/W3C#action-instance_method
|
430
|
+
|
431
|
+
__Parameters:__
|
432
|
+
|
433
|
+
[bool] async - Run actions async
|
430
434
|
|
431
435
|
__Returns:__
|
432
436
|
|
433
|
-
[
|
437
|
+
[TouchAction|Selenium::WebDriver::PointerActions]
|
434
438
|
|
435
439
|
--
|
436
440
|
|
437
|
-
##### [appium_server_version](https://github.com/appium/ruby_lib/blob/
|
441
|
+
##### [appium_server_version](https://github.com/appium/ruby_lib/blob/84f71e47b86a2f7a1de71c13888adce68622a35b/lib/appium_lib/driver.rb#L357) common
|
438
442
|
|
439
443
|
> def appium_server_version
|
440
444
|
|
@@ -446,7 +450,7 @@ __Returns:__
|
|
446
450
|
|
447
451
|
--
|
448
452
|
|
449
|
-
##### [remote_status](https://github.com/appium/ruby_lib/blob/
|
453
|
+
##### [remote_status](https://github.com/appium/ruby_lib/blob/84f71e47b86a2f7a1de71c13888adce68622a35b/lib/appium_lib/driver.rb#L365) common
|
450
454
|
|
451
455
|
> def appium_server_version
|
452
456
|
|
@@ -458,7 +462,7 @@ __Returns:__
|
|
458
462
|
|
459
463
|
--
|
460
464
|
|
461
|
-
##### [platform_version](https://github.com/appium/ruby_lib/blob/
|
465
|
+
##### [platform_version](https://github.com/appium/ruby_lib/blob/84f71e47b86a2f7a1de71c13888adce68622a35b/lib/appium_lib/driver.rb#L369) common
|
462
466
|
|
463
467
|
> def platform_version
|
464
468
|
|
@@ -470,7 +474,7 @@ __Returns:__
|
|
470
474
|
|
471
475
|
--
|
472
476
|
|
473
|
-
##### [appium_client_version](https://github.com/appium/ruby_lib/blob/
|
477
|
+
##### [appium_client_version](https://github.com/appium/ruby_lib/blob/84f71e47b86a2f7a1de71c13888adce68622a35b/lib/appium_lib/driver.rb#L382) common
|
474
478
|
|
475
479
|
> def appium_client_version
|
476
480
|
|
@@ -482,7 +486,7 @@ __Returns:__
|
|
482
486
|
|
483
487
|
--
|
484
488
|
|
485
|
-
##### [absolute_app_path](https://github.com/appium/ruby_lib/blob/
|
489
|
+
##### [absolute_app_path](https://github.com/appium/ruby_lib/blob/84f71e47b86a2f7a1de71c13888adce68622a35b/lib/appium_lib/driver.rb#L394) common
|
486
490
|
|
487
491
|
> def self.absolute_app_path(opts)
|
488
492
|
|
@@ -499,7 +503,7 @@ __Returns:__
|
|
499
503
|
|
500
504
|
--
|
501
505
|
|
502
|
-
##### [server_url](https://github.com/appium/ruby_lib/blob/
|
506
|
+
##### [server_url](https://github.com/appium/ruby_lib/blob/84f71e47b86a2f7a1de71c13888adce68622a35b/lib/appium_lib/driver.rb#L417) common
|
503
507
|
|
504
508
|
> def server_url
|
505
509
|
|
@@ -511,7 +515,7 @@ __Returns:__
|
|
511
515
|
|
512
516
|
--
|
513
517
|
|
514
|
-
##### [restart](https://github.com/appium/ruby_lib/blob/
|
518
|
+
##### [restart](https://github.com/appium/ruby_lib/blob/84f71e47b86a2f7a1de71c13888adce68622a35b/lib/appium_lib/driver.rb#L426) common
|
515
519
|
|
516
520
|
> def restart
|
517
521
|
|
@@ -523,7 +527,7 @@ __Returns:__
|
|
523
527
|
|
524
528
|
--
|
525
529
|
|
526
|
-
##### [screenshot](https://github.com/appium/ruby_lib/blob/
|
530
|
+
##### [screenshot](https://github.com/appium/ruby_lib/blob/84f71e47b86a2f7a1de71c13888adce68622a35b/lib/appium_lib/driver.rb#L439) common
|
527
531
|
|
528
532
|
> def screenshot(png_save_path)
|
529
533
|
|
@@ -539,7 +543,7 @@ __Returns:__
|
|
539
543
|
|
540
544
|
--
|
541
545
|
|
542
|
-
##### [element_screenshot](https://github.com/appium/ruby_lib/blob/
|
546
|
+
##### [element_screenshot](https://github.com/appium/ruby_lib/blob/84f71e47b86a2f7a1de71c13888adce68622a35b/lib/appium_lib/driver.rb#L453) common
|
543
547
|
|
544
548
|
> def element_screenshot(element, png_save_path)
|
545
549
|
|
@@ -557,7 +561,7 @@ __Returns:__
|
|
557
561
|
|
558
562
|
--
|
559
563
|
|
560
|
-
##### [driver_quit](https://github.com/appium/ruby_lib/blob/
|
564
|
+
##### [driver_quit](https://github.com/appium/ruby_lib/blob/84f71e47b86a2f7a1de71c13888adce68622a35b/lib/appium_lib/driver.rb#L460) common
|
561
565
|
|
562
566
|
> def driver_quit
|
563
567
|
|
@@ -569,7 +573,7 @@ __Returns:__
|
|
569
573
|
|
570
574
|
--
|
571
575
|
|
572
|
-
##### [quit_driver](https://github.com/appium/ruby_lib/blob/
|
576
|
+
##### [quit_driver](https://github.com/appium/ruby_lib/blob/84f71e47b86a2f7a1de71c13888adce68622a35b/lib/appium_lib/driver.rb#L463) common
|
573
577
|
|
574
578
|
> def driver_quit
|
575
579
|
|
@@ -581,7 +585,7 @@ __Returns:__
|
|
581
585
|
|
582
586
|
--
|
583
587
|
|
584
|
-
##### [window_size](https://github.com/appium/ruby_lib/blob/
|
588
|
+
##### [window_size](https://github.com/appium/ruby_lib/blob/84f71e47b86a2f7a1de71c13888adce68622a35b/lib/appium_lib/driver.rb#L474) common
|
585
589
|
|
586
590
|
> def window_size
|
587
591
|
|
@@ -593,7 +597,7 @@ __Returns:__
|
|
593
597
|
|
594
598
|
--
|
595
599
|
|
596
|
-
##### [start_driver](https://github.com/appium/ruby_lib/blob/
|
600
|
+
##### [start_driver](https://github.com/appium/ruby_lib/blob/84f71e47b86a2f7a1de71c13888adce68622a35b/lib/appium_lib/driver.rb#L507) common
|
597
601
|
|
598
602
|
> def start_driver(http_client_ops =
|
599
603
|
|
@@ -613,7 +617,7 @@ __Returns:__
|
|
613
617
|
|
614
618
|
--
|
615
619
|
|
616
|
-
##### [set_implicit_wait](https://github.com/appium/ruby_lib/blob/
|
620
|
+
##### [set_implicit_wait](https://github.com/appium/ruby_lib/blob/84f71e47b86a2f7a1de71c13888adce68622a35b/lib/appium_lib/driver.rb#L528) common
|
617
621
|
|
618
622
|
> def set_implicit_wait(wait)
|
619
623
|
|
@@ -621,7 +625,7 @@ To ignore error for Espresso Driver
|
|
621
625
|
|
622
626
|
--
|
623
627
|
|
624
|
-
##### [no_wait](https://github.com/appium/ruby_lib/blob/
|
628
|
+
##### [no_wait](https://github.com/appium/ruby_lib/blob/84f71e47b86a2f7a1de71c13888adce68622a35b/lib/appium_lib/driver.rb#L539) common
|
625
629
|
|
626
630
|
> def no_wait
|
627
631
|
|
@@ -629,7 +633,7 @@ Set implicit wait to zero.
|
|
629
633
|
|
630
634
|
--
|
631
635
|
|
632
|
-
##### [set_wait](https://github.com/appium/ruby_lib/blob/
|
636
|
+
##### [set_wait](https://github.com/appium/ruby_lib/blob/84f71e47b86a2f7a1de71c13888adce68622a35b/lib/appium_lib/driver.rb#L553) common
|
633
637
|
|
634
638
|
> def set_wait(timeout = nil)
|
635
639
|
|
@@ -645,7 +649,7 @@ __Returns:__
|
|
645
649
|
|
646
650
|
--
|
647
651
|
|
648
|
-
##### [exists](https://github.com/appium/ruby_lib/blob/
|
652
|
+
##### [exists](https://github.com/appium/ruby_lib/blob/84f71e47b86a2f7a1de71c13888adce68622a35b/lib/appium_lib/driver.rb#L570) common
|
649
653
|
|
650
654
|
> def exists(pre_check = 0, post_check = @core.default_wait)
|
651
655
|
|
@@ -669,7 +673,7 @@ __Returns:__
|
|
669
673
|
|
670
674
|
--
|
671
675
|
|
672
|
-
##### [execute_script](https://github.com/appium/ruby_lib/blob/
|
676
|
+
##### [execute_script](https://github.com/appium/ruby_lib/blob/84f71e47b86a2f7a1de71c13888adce68622a35b/lib/appium_lib/driver.rb#L594) common
|
673
677
|
|
674
678
|
> def execute_script(script, *args)
|
675
679
|
|
@@ -687,7 +691,7 @@ __Returns:__
|
|
687
691
|
|
688
692
|
--
|
689
693
|
|
690
|
-
##### [execute_async_script](https://github.com/appium/ruby_lib/blob/
|
694
|
+
##### [execute_async_script](https://github.com/appium/ruby_lib/blob/84f71e47b86a2f7a1de71c13888adce68622a35b/lib/appium_lib/driver.rb#L602) common
|
691
695
|
|
692
696
|
> def execute_async_script(script, *args)
|
693
697
|
|
@@ -697,7 +701,7 @@ Get the window handles of open browser windows
|
|
697
701
|
|
698
702
|
--
|
699
703
|
|
700
|
-
##### [window_handles](https://github.com/appium/ruby_lib/blob/
|
704
|
+
##### [window_handles](https://github.com/appium/ruby_lib/blob/84f71e47b86a2f7a1de71c13888adce68622a35b/lib/appium_lib/driver.rb#L606) common
|
701
705
|
|
702
706
|
> def window_handles
|
703
707
|
|
@@ -705,7 +709,7 @@ Get the window handles of open browser windows
|
|
705
709
|
|
706
710
|
--
|
707
711
|
|
708
|
-
##### [window_handle](https://github.com/appium/ruby_lib/blob/
|
712
|
+
##### [window_handle](https://github.com/appium/ruby_lib/blob/84f71e47b86a2f7a1de71c13888adce68622a35b/lib/appium_lib/driver.rb#L611) common
|
709
713
|
|
710
714
|
> def window_handle
|
711
715
|
|
@@ -713,7 +717,7 @@ Get the current window handle
|
|
713
717
|
|
714
718
|
--
|
715
719
|
|
716
|
-
##### [navigate](https://github.com/appium/ruby_lib/blob/
|
720
|
+
##### [navigate](https://github.com/appium/ruby_lib/blob/84f71e47b86a2f7a1de71c13888adce68622a35b/lib/appium_lib/driver.rb#L615) common
|
717
721
|
|
718
722
|
> def navigate
|
719
723
|
|
@@ -721,7 +725,7 @@ Get the current window handle
|
|
721
725
|
|
722
726
|
--
|
723
727
|
|
724
|
-
##### [manage](https://github.com/appium/ruby_lib/blob/
|
728
|
+
##### [manage](https://github.com/appium/ruby_lib/blob/84f71e47b86a2f7a1de71c13888adce68622a35b/lib/appium_lib/driver.rb#L619) common
|
725
729
|
|
726
730
|
> def manage
|
727
731
|
|
@@ -729,7 +733,7 @@ Get the current window handle
|
|
729
733
|
|
730
734
|
--
|
731
735
|
|
732
|
-
##### [get](https://github.com/appium/ruby_lib/blob/
|
736
|
+
##### [get](https://github.com/appium/ruby_lib/blob/84f71e47b86a2f7a1de71c13888adce68622a35b/lib/appium_lib/driver.rb#L623) common
|
733
737
|
|
734
738
|
> def get(url)
|
735
739
|
|
@@ -737,7 +741,7 @@ Get the current window handle
|
|
737
741
|
|
738
742
|
--
|
739
743
|
|
740
|
-
##### [current_url](https://github.com/appium/ruby_lib/blob/
|
744
|
+
##### [current_url](https://github.com/appium/ruby_lib/blob/84f71e47b86a2f7a1de71c13888adce68622a35b/lib/appium_lib/driver.rb#L627) common
|
741
745
|
|
742
746
|
> def current_url
|
743
747
|
|
@@ -745,7 +749,7 @@ Get the current window handle
|
|
745
749
|
|
746
750
|
--
|
747
751
|
|
748
|
-
##### [title](https://github.com/appium/ruby_lib/blob/
|
752
|
+
##### [title](https://github.com/appium/ruby_lib/blob/84f71e47b86a2f7a1de71c13888adce68622a35b/lib/appium_lib/driver.rb#L631) common
|
749
753
|
|
750
754
|
> def title
|
751
755
|
|
@@ -753,7 +757,7 @@ Get the current window handle
|
|
753
757
|
|
754
758
|
--
|
755
759
|
|
756
|
-
##### [switch_to](https://github.com/appium/ruby_lib/blob/
|
760
|
+
##### [switch_to](https://github.com/appium/ruby_lib/blob/84f71e47b86a2f7a1de71c13888adce68622a35b/lib/appium_lib/driver.rb#L637) common
|
757
761
|
|
758
762
|
> def switch_to
|
759
763
|
|
@@ -765,7 +769,7 @@ __Returns:__
|
|
765
769
|
|
766
770
|
--
|
767
771
|
|
768
|
-
##### [find_elements](https://github.com/appium/ruby_lib/blob/
|
772
|
+
##### [find_elements](https://github.com/appium/ruby_lib/blob/84f71e47b86a2f7a1de71c13888adce68622a35b/lib/appium_lib/driver.rb#L664) common
|
769
773
|
|
770
774
|
> def find_elements(*args)
|
771
775
|
|
@@ -785,7 +789,7 @@ __Returns:__
|
|
785
789
|
|
786
790
|
--
|
787
791
|
|
788
|
-
##### [find_element](https://github.com/appium/ruby_lib/blob/
|
792
|
+
##### [find_element](https://github.com/appium/ruby_lib/blob/84f71e47b86a2f7a1de71c13888adce68622a35b/lib/appium_lib/driver.rb#L680) common
|
789
793
|
|
790
794
|
> def find_element(*args)
|
791
795
|
|
@@ -803,7 +807,7 @@ __Returns:__
|
|
803
807
|
|
804
808
|
--
|
805
809
|
|
806
|
-
##### [DEFAULT_MATCH_THRESHOLD](https://github.com/appium/ruby_lib/blob/
|
810
|
+
##### [DEFAULT_MATCH_THRESHOLD](https://github.com/appium/ruby_lib/blob/84f71e47b86a2f7a1de71c13888adce68622a35b/lib/appium_lib/driver.rb#L698) common
|
807
811
|
|
808
812
|
> DEFAULT_MATCH_THRESHOLD = 0.5
|
809
813
|
|
@@ -824,7 +828,7 @@ __Returns:__
|
|
824
828
|
|
825
829
|
--
|
826
830
|
|
827
|
-
##### [find_element_by_image](https://github.com/appium/ruby_lib/blob/
|
831
|
+
##### [find_element_by_image](https://github.com/appium/ruby_lib/blob/84f71e47b86a2f7a1de71c13888adce68622a35b/lib/appium_lib/driver.rb#L699) common
|
828
832
|
|
829
833
|
> def find_element_by_image(png_img_path, match_threshold: DEFAULT_MATCH_THRESHOLD, visualize: false)
|
830
834
|
|
@@ -832,7 +836,7 @@ __Returns:__
|
|
832
836
|
|
833
837
|
--
|
834
838
|
|
835
|
-
##### [find_elements_by_image](https://github.com/appium/ruby_lib/blob/
|
839
|
+
##### [find_elements_by_image](https://github.com/appium/ruby_lib/blob/84f71e47b86a2f7a1de71c13888adce68622a35b/lib/appium_lib/driver.rb#L717) common
|
836
840
|
|
837
841
|
> def find_elements_by_image(png_img_paths, match_threshold: DEFAULT_MATCH_THRESHOLD, visualize: false)
|
838
842
|
|
@@ -853,7 +857,7 @@ __Returns:__
|
|
853
857
|
|
854
858
|
--
|
855
859
|
|
856
|
-
##### [set_location](https://github.com/appium/ruby_lib/blob/
|
860
|
+
##### [set_location](https://github.com/appium/ruby_lib/blob/84f71e47b86a2f7a1de71c13888adce68622a35b/lib/appium_lib/driver.rb#L730) common
|
857
861
|
|
858
862
|
> def set_location(opts = {})
|
859
863
|
|
@@ -869,7 +873,7 @@ __Returns:__
|
|
869
873
|
|
870
874
|
--
|
871
875
|
|
872
|
-
##### [x](https://github.com/appium/ruby_lib/blob/
|
876
|
+
##### [x](https://github.com/appium/ruby_lib/blob/84f71e47b86a2f7a1de71c13888adce68622a35b/lib/appium_lib/driver.rb#L740) common
|
873
877
|
|
874
878
|
> def x
|
875
879
|
|
@@ -882,7 +886,7 @@ __Returns:__
|
|
882
886
|
|
883
887
|
--
|
884
888
|
|
885
|
-
##### [username](https://github.com/appium/ruby_lib/blob/
|
889
|
+
##### [username](https://github.com/appium/ruby_lib/blob/84f71e47b86a2f7a1de71c13888adce68622a35b/lib/appium_lib/sauce_labs.rb#L4) common
|
886
890
|
|
887
891
|
> def username
|
888
892
|
|
@@ -890,7 +894,7 @@ Username for use on Sauce Labs. Set `false` to disable Sauce, even when SAUCE_US
|
|
890
894
|
|
891
895
|
--
|
892
896
|
|
893
|
-
##### [access_key](https://github.com/appium/ruby_lib/blob/
|
897
|
+
##### [access_key](https://github.com/appium/ruby_lib/blob/84f71e47b86a2f7a1de71c13888adce68622a35b/lib/appium_lib/sauce_labs.rb#L6) common
|
894
898
|
|
895
899
|
> def access_key
|
896
900
|
|
@@ -898,7 +902,7 @@ Access Key for use on Sauce Labs. Set `false` to disable Sauce, even when SAUCE_
|
|
898
902
|
|
899
903
|
--
|
900
904
|
|
901
|
-
##### [endpoint](https://github.com/appium/ruby_lib/blob/
|
905
|
+
##### [endpoint](https://github.com/appium/ruby_lib/blob/84f71e47b86a2f7a1de71c13888adce68622a35b/lib/appium_lib/sauce_labs.rb#L8) common
|
902
906
|
|
903
907
|
> def endpoint
|
904
908
|
|
@@ -906,7 +910,7 @@ Override the Sauce Appium endpoint to allow e.g. TestObject tests. Default is 'o
|
|
906
910
|
|
907
911
|
--
|
908
912
|
|
909
|
-
##### [initialize](https://github.com/appium/ruby_lib/blob/
|
913
|
+
##### [initialize](https://github.com/appium/ruby_lib/blob/84f71e47b86a2f7a1de71c13888adce68622a35b/lib/appium_lib/sauce_labs.rb#L33) common
|
910
914
|
|
911
915
|
> def initialize(appium_lib_opts)
|
912
916
|
|
@@ -922,7 +926,7 @@ __Returns:__
|
|
922
926
|
|
923
927
|
--
|
924
928
|
|
925
|
-
##### [sauce_server_url?](https://github.com/appium/ruby_lib/blob/
|
929
|
+
##### [sauce_server_url?](https://github.com/appium/ruby_lib/blob/84f71e47b86a2f7a1de71c13888adce68622a35b/lib/appium_lib/sauce_labs.rb#L53) common
|
926
930
|
|
927
931
|
> def sauce_server_url?
|
928
932
|
|
@@ -934,7 +938,7 @@ __Returns:__
|
|
934
938
|
|
935
939
|
--
|
936
940
|
|
937
|
-
##### [server_url](https://github.com/appium/ruby_lib/blob/
|
941
|
+
##### [server_url](https://github.com/appium/ruby_lib/blob/84f71e47b86a2f7a1de71c13888adce68622a35b/lib/appium_lib/sauce_labs.rb#L66) common
|
938
942
|
|
939
943
|
> def server_url
|
940
944
|
|
@@ -946,7 +950,7 @@ __Returns:__
|
|
946
950
|
|
947
951
|
--
|
948
952
|
|
949
|
-
##### [get_log](https://github.com/appium/ruby_lib/blob/
|
953
|
+
##### [get_log](https://github.com/appium/ruby_lib/blob/84f71e47b86a2f7a1de71c13888adce68622a35b/lib/appium_lib/common/log.rb#L11) common
|
950
954
|
|
951
955
|
> def get_log(type)
|
952
956
|
|
@@ -962,7 +966,7 @@ __Returns:__
|
|
962
966
|
|
963
967
|
--
|
964
968
|
|
965
|
-
##### [get_available_log_types](https://github.com/appium/ruby_lib/blob/
|
969
|
+
##### [get_available_log_types](https://github.com/appium/ruby_lib/blob/84f71e47b86a2f7a1de71c13888adce68622a35b/lib/appium_lib/common/log.rb#L23) common
|
966
970
|
|
967
971
|
> def get_available_log_types
|
968
972
|
|
@@ -974,7 +978,7 @@ __Returns:__
|
|
974
978
|
|
975
979
|
--
|
976
980
|
|
977
|
-
##### [wait_true](https://github.com/appium/ruby_lib/blob/
|
981
|
+
##### [wait_true](https://github.com/appium/ruby_lib/blob/84f71e47b86a2f7a1de71c13888adce68622a35b/lib/appium_lib/common/wait.rb#L30) common
|
978
982
|
|
979
983
|
> def wait_true(opts = {})
|
980
984
|
|
@@ -994,7 +998,7 @@ __Parameters:__
|
|
994
998
|
|
995
999
|
--
|
996
1000
|
|
997
|
-
##### [wait](https://github.com/appium/ruby_lib/blob/
|
1001
|
+
##### [wait](https://github.com/appium/ruby_lib/blob/84f71e47b86a2f7a1de71c13888adce68622a35b/lib/appium_lib/common/wait.rb#L59) common
|
998
1002
|
|
999
1003
|
> def wait(opts = {})
|
1000
1004
|
|
@@ -1012,7 +1016,7 @@ __Parameters:__
|
|
1012
1016
|
|
1013
1017
|
--
|
1014
1018
|
|
1015
|
-
##### [add_touch_actions](https://github.com/appium/ruby_lib/blob/
|
1019
|
+
##### [add_touch_actions](https://github.com/appium/ruby_lib/blob/84f71e47b86a2f7a1de71c13888adce68622a35b/lib/appium_lib/common/device.rb#L12) common
|
1016
1020
|
|
1017
1021
|
> def add_touch_actions
|
1018
1022
|
|
@@ -1020,7 +1024,7 @@ __Parameters:__
|
|
1020
1024
|
|
1021
1025
|
--
|
1022
1026
|
|
1023
|
-
##### [delegate_from_appium_driver](https://github.com/appium/ruby_lib/blob/
|
1027
|
+
##### [delegate_from_appium_driver](https://github.com/appium/ruby_lib/blob/84f71e47b86a2f7a1de71c13888adce68622a35b/lib/appium_lib/common/device.rb#L24) common
|
1024
1028
|
|
1025
1029
|
> def delegate_from_appium_driver(method, delegation_target)
|
1026
1030
|
|
@@ -1028,7 +1032,7 @@ __Parameters:__
|
|
1028
1032
|
|
1029
1033
|
--
|
1030
1034
|
|
1031
|
-
##### [ignore](https://github.com/appium/ruby_lib/blob/
|
1035
|
+
##### [ignore](https://github.com/appium/ruby_lib/blob/84f71e47b86a2f7a1de71c13888adce68622a35b/lib/appium_lib/common/helper.rb#L16) common
|
1032
1036
|
|
1033
1037
|
> def ignore
|
1034
1038
|
|
@@ -1036,7 +1040,7 @@ Return yield and ignore any exceptions.
|
|
1036
1040
|
|
1037
1041
|
--
|
1038
1042
|
|
1039
|
-
##### [back](https://github.com/appium/ruby_lib/blob/
|
1043
|
+
##### [back](https://github.com/appium/ruby_lib/blob/84f71e47b86a2f7a1de71c13888adce68622a35b/lib/appium_lib/common/helper.rb#L23) common
|
1040
1044
|
|
1041
1045
|
> def back
|
1042
1046
|
|
@@ -1048,7 +1052,7 @@ __Returns:__
|
|
1048
1052
|
|
1049
1053
|
--
|
1050
1054
|
|
1051
|
-
##### [session_id](https://github.com/appium/ruby_lib/blob/
|
1055
|
+
##### [session_id](https://github.com/appium/ruby_lib/blob/84f71e47b86a2f7a1de71c13888adce68622a35b/lib/appium_lib/common/helper.rb#L34) common
|
1052
1056
|
|
1053
1057
|
> def session_id
|
1054
1058
|
|
@@ -1060,7 +1064,7 @@ __Returns:__
|
|
1060
1064
|
|
1061
1065
|
--
|
1062
1066
|
|
1063
|
-
##### [xpath](https://github.com/appium/ruby_lib/blob/
|
1067
|
+
##### [xpath](https://github.com/appium/ruby_lib/blob/84f71e47b86a2f7a1de71c13888adce68622a35b/lib/appium_lib/common/helper.rb#L42) common
|
1064
1068
|
|
1065
1069
|
> def xpath(xpath_str)
|
1066
1070
|
|
@@ -1076,7 +1080,7 @@ __Returns:__
|
|
1076
1080
|
|
1077
1081
|
--
|
1078
1082
|
|
1079
|
-
##### [xpaths](https://github.com/appium/ruby_lib/blob/
|
1083
|
+
##### [xpaths](https://github.com/appium/ruby_lib/blob/84f71e47b86a2f7a1de71c13888adce68622a35b/lib/appium_lib/common/helper.rb#L50) common
|
1080
1084
|
|
1081
1085
|
> def xpaths(xpath_str)
|
1082
1086
|
|
@@ -1092,7 +1096,7 @@ __Returns:__
|
|
1092
1096
|
|
1093
1097
|
--
|
1094
1098
|
|
1095
|
-
##### [result](https://github.com/appium/ruby_lib/blob/
|
1099
|
+
##### [result](https://github.com/appium/ruby_lib/blob/84f71e47b86a2f7a1de71c13888adce68622a35b/lib/appium_lib/common/helper.rb#L60) common
|
1096
1100
|
|
1097
1101
|
> def result
|
1098
1102
|
|
@@ -1100,7 +1104,7 @@ Returns the value of attribute result
|
|
1100
1104
|
|
1101
1105
|
--
|
1102
1106
|
|
1103
|
-
##### [initialize](https://github.com/appium/ruby_lib/blob/
|
1107
|
+
##### [initialize](https://github.com/appium/ruby_lib/blob/84f71e47b86a2f7a1de71c13888adce68622a35b/lib/appium_lib/common/helper.rb#L62) common
|
1104
1108
|
|
1105
1109
|
> def initialize(platform)
|
1106
1110
|
|
@@ -1112,7 +1116,7 @@ __Returns:__
|
|
1112
1116
|
|
1113
1117
|
--
|
1114
1118
|
|
1115
|
-
##### [reset](https://github.com/appium/ruby_lib/blob/
|
1119
|
+
##### [reset](https://github.com/appium/ruby_lib/blob/84f71e47b86a2f7a1de71c13888adce68622a35b/lib/appium_lib/common/helper.rb#L67) common
|
1116
1120
|
|
1117
1121
|
> def reset
|
1118
1122
|
|
@@ -1120,7 +1124,7 @@ __Returns:__
|
|
1120
1124
|
|
1121
1125
|
--
|
1122
1126
|
|
1123
|
-
##### [start_element](https://github.com/appium/ruby_lib/blob/
|
1127
|
+
##### [start_element](https://github.com/appium/ruby_lib/blob/84f71e47b86a2f7a1de71c13888adce68622a35b/lib/appium_lib/common/helper.rb#L72) common
|
1124
1128
|
|
1125
1129
|
> def start_element(name, attrs = [])
|
1126
1130
|
|
@@ -1128,7 +1132,7 @@ http://nokogiri.org/Nokogiri/XML/SAX/Document.html
|
|
1128
1132
|
|
1129
1133
|
--
|
1130
1134
|
|
1131
|
-
##### [formatted_result](https://github.com/appium/ruby_lib/blob/
|
1135
|
+
##### [formatted_result](https://github.com/appium/ruby_lib/blob/84f71e47b86a2f7a1de71c13888adce68622a35b/lib/appium_lib/common/helper.rb#L83) common
|
1132
1136
|
|
1133
1137
|
> def formatted_result
|
1134
1138
|
|
@@ -1136,7 +1140,7 @@ http://nokogiri.org/Nokogiri/XML/SAX/Document.html
|
|
1136
1140
|
|
1137
1141
|
--
|
1138
1142
|
|
1139
|
-
##### [get_page_class](https://github.com/appium/ruby_lib/blob/
|
1143
|
+
##### [get_page_class](https://github.com/appium/ruby_lib/blob/84f71e47b86a2f7a1de71c13888adce68622a35b/lib/appium_lib/common/helper.rb#L101) common
|
1140
1144
|
|
1141
1145
|
> def get_page_class
|
1142
1146
|
|
@@ -1148,7 +1152,7 @@ __Returns:__
|
|
1148
1152
|
|
1149
1153
|
--
|
1150
1154
|
|
1151
|
-
##### [page_class](https://github.com/appium/ruby_lib/blob/
|
1155
|
+
##### [page_class](https://github.com/appium/ruby_lib/blob/84f71e47b86a2f7a1de71c13888adce68622a35b/lib/appium_lib/common/helper.rb#L126) common
|
1152
1156
|
|
1153
1157
|
> def page_class
|
1154
1158
|
|
@@ -1161,7 +1165,7 @@ __Returns:__
|
|
1161
1165
|
|
1162
1166
|
--
|
1163
1167
|
|
1164
|
-
##### [source](https://github.com/appium/ruby_lib/blob/
|
1168
|
+
##### [source](https://github.com/appium/ruby_lib/blob/84f71e47b86a2f7a1de71c13888adce68622a35b/lib/appium_lib/common/helper.rb#L133) common
|
1165
1169
|
|
1166
1170
|
> def source
|
1167
1171
|
|
@@ -1173,7 +1177,7 @@ __Returns:__
|
|
1173
1177
|
|
1174
1178
|
--
|
1175
1179
|
|
1176
|
-
##### [get_source](https://github.com/appium/ruby_lib/blob/
|
1180
|
+
##### [get_source](https://github.com/appium/ruby_lib/blob/84f71e47b86a2f7a1de71c13888adce68622a35b/lib/appium_lib/common/helper.rb#L140) common
|
1177
1181
|
|
1178
1182
|
> def get_source
|
1179
1183
|
|
@@ -1186,7 +1190,7 @@ __Returns:__
|
|
1186
1190
|
|
1187
1191
|
--
|
1188
1192
|
|
1189
|
-
##### [px_to_window_rel](https://github.com/appium/ruby_lib/blob/
|
1193
|
+
##### [px_to_window_rel](https://github.com/appium/ruby_lib/blob/84f71e47b86a2f7a1de71c13888adce68622a35b/lib/appium_lib/common/helper.rb#L150) common
|
1190
1194
|
|
1191
1195
|
> def px_to_window_rel(opts = {}, driver = $driver)
|
1192
1196
|
|
@@ -1194,7 +1198,7 @@ Converts pixel values to window relative values
|
|
1194
1198
|
|
1195
1199
|
--
|
1196
1200
|
|
1197
|
-
##### [xml_keys](https://github.com/appium/ruby_lib/blob/
|
1201
|
+
##### [xml_keys](https://github.com/appium/ruby_lib/blob/84f71e47b86a2f7a1de71c13888adce68622a35b/lib/appium_lib/common/helper.rb#L169) common
|
1198
1202
|
|
1199
1203
|
> def xml_keys(target)
|
1200
1204
|
|
@@ -1210,7 +1214,7 @@ __Returns:__
|
|
1210
1214
|
|
1211
1215
|
--
|
1212
1216
|
|
1213
|
-
##### [xml_values](https://github.com/appium/ruby_lib/blob/
|
1217
|
+
##### [xml_values](https://github.com/appium/ruby_lib/blob/84f71e47b86a2f7a1de71c13888adce68622a35b/lib/appium_lib/common/helper.rb#L177) common
|
1214
1218
|
|
1215
1219
|
> def xml_values(target)
|
1216
1220
|
|
@@ -1226,7 +1230,7 @@ __Returns:__
|
|
1226
1230
|
|
1227
1231
|
--
|
1228
1232
|
|
1229
|
-
##### [resolve_id](https://github.com/appium/ruby_lib/blob/
|
1233
|
+
##### [resolve_id](https://github.com/appium/ruby_lib/blob/84f71e47b86a2f7a1de71c13888adce68622a35b/lib/appium_lib/common/helper.rb#L185) common
|
1230
1234
|
|
1231
1235
|
> def resolve_id(id)
|
1232
1236
|
|
@@ -1242,7 +1246,7 @@ __Returns:__
|
|
1242
1246
|
|
1243
1247
|
--
|
1244
1248
|
|
1245
|
-
##### [filter](https://github.com/appium/ruby_lib/blob/
|
1249
|
+
##### [filter](https://github.com/appium/ruby_lib/blob/84f71e47b86a2f7a1de71c13888adce68622a35b/lib/appium_lib/common/helper.rb#L192) common
|
1246
1250
|
|
1247
1251
|
> def filter
|
1248
1252
|
|
@@ -1250,7 +1254,7 @@ Returns the value of attribute filter
|
|
1250
1254
|
|
1251
1255
|
--
|
1252
1256
|
|
1253
|
-
##### [filter=](https://github.com/appium/ruby_lib/blob/
|
1257
|
+
##### [filter=](https://github.com/appium/ruby_lib/blob/84f71e47b86a2f7a1de71c13888adce68622a35b/lib/appium_lib/common/helper.rb#L195) common
|
1254
1258
|
|
1255
1259
|
> def filter=(value)
|
1256
1260
|
|
@@ -1258,7 +1262,7 @@ convert to string to support symbols
|
|
1258
1262
|
|
1259
1263
|
--
|
1260
1264
|
|
1261
|
-
##### [initialize](https://github.com/appium/ruby_lib/blob/
|
1265
|
+
##### [initialize](https://github.com/appium/ruby_lib/blob/84f71e47b86a2f7a1de71c13888adce68622a35b/lib/appium_lib/common/helper.rb#L202) common
|
1262
1266
|
|
1263
1267
|
> def initialize
|
1264
1268
|
|
@@ -1270,7 +1274,7 @@ __Returns:__
|
|
1270
1274
|
|
1271
1275
|
--
|
1272
1276
|
|
1273
|
-
##### [reset](https://github.com/appium/ruby_lib/blob/
|
1277
|
+
##### [reset](https://github.com/appium/ruby_lib/blob/84f71e47b86a2f7a1de71c13888adce68622a35b/lib/appium_lib/common/helper.rb#L207) common
|
1274
1278
|
|
1275
1279
|
> def reset
|
1276
1280
|
|
@@ -1278,7 +1282,7 @@ __Returns:__
|
|
1278
1282
|
|
1279
1283
|
--
|
1280
1284
|
|
1281
|
-
##### [result](https://github.com/appium/ruby_lib/blob/
|
1285
|
+
##### [result](https://github.com/appium/ruby_lib/blob/84f71e47b86a2f7a1de71c13888adce68622a35b/lib/appium_lib/common/helper.rb#L213) common
|
1282
1286
|
|
1283
1287
|
> def result
|
1284
1288
|
|
@@ -1286,7 +1290,7 @@ __Returns:__
|
|
1286
1290
|
|
1287
1291
|
--
|
1288
1292
|
|
1289
|
-
##### [start_element](https://github.com/appium/ruby_lib/blob/
|
1293
|
+
##### [start_element](https://github.com/appium/ruby_lib/blob/84f71e47b86a2f7a1de71c13888adce68622a35b/lib/appium_lib/common/helper.rb#L226) common
|
1290
1294
|
|
1291
1295
|
> def start_element(name, attrs = [])
|
1292
1296
|
|
@@ -1294,7 +1298,7 @@ __Returns:__
|
|
1294
1298
|
|
1295
1299
|
--
|
1296
1300
|
|
1297
|
-
##### [end_element](https://github.com/appium/ruby_lib/blob/
|
1301
|
+
##### [end_element](https://github.com/appium/ruby_lib/blob/84f71e47b86a2f7a1de71c13888adce68622a35b/lib/appium_lib/common/helper.rb#L236) common
|
1298
1302
|
|
1299
1303
|
> def end_element(name)
|
1300
1304
|
|
@@ -1302,7 +1306,7 @@ __Returns:__
|
|
1302
1306
|
|
1303
1307
|
--
|
1304
1308
|
|
1305
|
-
##### [characters](https://github.com/appium/ruby_lib/blob/
|
1309
|
+
##### [characters](https://github.com/appium/ruby_lib/blob/84f71e47b86a2f7a1de71c13888adce68622a35b/lib/appium_lib/common/helper.rb#L243) common
|
1306
1310
|
|
1307
1311
|
> def characters(chars)
|
1308
1312
|
|
@@ -1310,7 +1314,7 @@ __Returns:__
|
|
1310
1314
|
|
1311
1315
|
--
|
1312
1316
|
|
1313
|
-
##### [DEFAULT_HEADERS](https://github.com/appium/ruby_lib/blob/
|
1317
|
+
##### [DEFAULT_HEADERS](https://github.com/appium/ruby_lib/blob/84f71e47b86a2f7a1de71c13888adce68622a35b/lib/appium_lib/common/http_client.rb#L8) common
|
1314
1318
|
|
1315
1319
|
> DEFAULT_HEADERS = { 'Accept' => CONTENT_TYPE, 'User-Agent' => "appium/ruby_lib/#{::Appium::VERSION}" }.freeze
|
1316
1320
|
|
@@ -1318,7 +1322,7 @@ Default HTTP client inherit Appium::Core::Base::Http::Default, but has different
|
|
1318
1322
|
|
1319
1323
|
--
|
1320
1324
|
|
1321
|
-
##### [pinch](https://github.com/appium/ruby_lib/blob/
|
1325
|
+
##### [pinch](https://github.com/appium/ruby_lib/blob/84f71e47b86a2f7a1de71c13888adce68622a35b/lib/appium_lib/common/multi_touch.rb#L51) common
|
1322
1326
|
|
1323
1327
|
> def pinch(percentage = 25, auto_perform = true, driver = $driver)
|
1324
1328
|
|
@@ -1338,7 +1342,7 @@ __Parameters:__
|
|
1338
1342
|
|
1339
1343
|
--
|
1340
1344
|
|
1341
|
-
##### [zoom](https://github.com/appium/ruby_lib/blob/
|
1345
|
+
##### [zoom](https://github.com/appium/ruby_lib/blob/84f71e47b86a2f7a1de71c13888adce68622a35b/lib/appium_lib/common/multi_touch.rb#L94) common
|
1342
1346
|
|
1343
1347
|
> def zoom(percentage = 200, auto_perform = true, driver = $driver)
|
1344
1348
|
|
@@ -1358,7 +1362,7 @@ __Parameters:__
|
|
1358
1362
|
|
1359
1363
|
--
|
1360
1364
|
|
1361
|
-
##### [initialize](https://github.com/appium/ruby_lib/blob/
|
1365
|
+
##### [initialize](https://github.com/appium/ruby_lib/blob/84f71e47b86a2f7a1de71c13888adce68622a35b/lib/appium_lib/common/multi_touch.rb#L180) common
|
1362
1366
|
|
1363
1367
|
> def initialize(driver = $driver)
|
1364
1368
|
|
@@ -1370,7 +1374,7 @@ __Returns:__
|
|
1370
1374
|
|
1371
1375
|
--
|
1372
1376
|
|
1373
|
-
##### [COMPLEX_ACTIONS](https://github.com/appium/ruby_lib/blob/
|
1377
|
+
##### [COMPLEX_ACTIONS](https://github.com/appium/ruby_lib/blob/84f71e47b86a2f7a1de71c13888adce68622a35b/lib/appium_lib/common/touch_actions.rb#L33) common
|
1374
1378
|
|
1375
1379
|
> COMPLEX_ACTIONS = ::Appium::Core::TouchAction::COMPLEX_ACTIONS
|
1376
1380
|
|
@@ -1378,7 +1382,7 @@ __Returns:__
|
|
1378
1382
|
|
1379
1383
|
--
|
1380
1384
|
|
1381
|
-
##### [initialize](https://github.com/appium/ruby_lib/blob/
|
1385
|
+
##### [initialize](https://github.com/appium/ruby_lib/blob/84f71e47b86a2f7a1de71c13888adce68622a35b/lib/appium_lib/common/touch_actions.rb#L48) common
|
1382
1386
|
|
1383
1387
|
> def initialize(driver = $driver)
|
1384
1388
|
|
@@ -1390,7 +1394,7 @@ __Returns:__
|
|
1390
1394
|
|
1391
1395
|
--
|
1392
1396
|
|
1393
|
-
##### [swipe](https://github.com/appium/ruby_lib/blob/
|
1397
|
+
##### [swipe](https://github.com/appium/ruby_lib/blob/84f71e47b86a2f7a1de71c13888adce68622a35b/lib/appium_lib/common/touch_actions.rb#L52) common
|
1394
1398
|
|
1395
1399
|
> def swipe(opts)
|
1396
1400
|
|
@@ -1398,7 +1402,7 @@ __Returns:__
|
|
1398
1402
|
|
1399
1403
|
--
|
1400
1404
|
|
1401
|
-
##### [initialize](https://github.com/appium/ruby_lib/blob/
|
1405
|
+
##### [initialize](https://github.com/appium/ruby_lib/blob/84f71e47b86a2f7a1de71c13888adce68622a35b/lib/appium_lib/common/command/ws_logcat.rb#L5) common
|
1402
1406
|
|
1403
1407
|
> def initialize(url:, output_file: 'logcat.log')
|
1404
1408
|
|
@@ -1410,7 +1414,7 @@ __Returns:__
|
|
1410
1414
|
|
1411
1415
|
--
|
1412
1416
|
|
1413
|
-
##### [handle_message_data](https://github.com/appium/ruby_lib/blob/
|
1417
|
+
##### [handle_message_data](https://github.com/appium/ruby_lib/blob/84f71e47b86a2f7a1de71c13888adce68622a35b/lib/appium_lib/common/command/ws_logcat.rb#L10) common
|
1414
1418
|
|
1415
1419
|
> def handle_message_data(data)
|
1416
1420
|
|
@@ -1418,7 +1422,7 @@ __Returns:__
|
|
1418
1422
|
|
1419
1423
|
--
|
1420
1424
|
|
1421
|
-
##### [for](https://github.com/appium/ruby_lib/blob/
|
1425
|
+
##### [for](https://github.com/appium/ruby_lib/blob/84f71e47b86a2f7a1de71c13888adce68622a35b/lib/appium_lib/ios/ios.rb#L15) ios
|
1422
1426
|
|
1423
1427
|
> def self.for(target)
|
1424
1428
|
|
@@ -1426,7 +1430,7 @@ __Returns:__
|
|
1426
1430
|
|
1427
1431
|
--
|
1428
1432
|
|
1429
|
-
##### [UIAStaticText](https://github.com/appium/ruby_lib/blob/
|
1433
|
+
##### [UIAStaticText](https://github.com/appium/ruby_lib/blob/84f71e47b86a2f7a1de71c13888adce68622a35b/lib/appium_lib/ios/element/text.rb#L4) ios
|
1430
1434
|
|
1431
1435
|
> UIAStaticText = 'UIAStaticText'.freeze
|
1432
1436
|
|
@@ -1434,7 +1438,7 @@ __Returns:__
|
|
1434
1438
|
|
1435
1439
|
--
|
1436
1440
|
|
1437
|
-
##### [XCUIElementTypeStaticText](https://github.com/appium/ruby_lib/blob/
|
1441
|
+
##### [XCUIElementTypeStaticText](https://github.com/appium/ruby_lib/blob/84f71e47b86a2f7a1de71c13888adce68622a35b/lib/appium_lib/ios/element/text.rb#L5) ios
|
1438
1442
|
|
1439
1443
|
> XCUIElementTypeStaticText = 'XCUIElementTypeStaticText'.freeze
|
1440
1444
|
|
@@ -1442,7 +1446,7 @@ __Returns:__
|
|
1442
1446
|
|
1443
1447
|
--
|
1444
1448
|
|
1445
|
-
##### [static_text_class](https://github.com/appium/ruby_lib/blob/
|
1449
|
+
##### [static_text_class](https://github.com/appium/ruby_lib/blob/84f71e47b86a2f7a1de71c13888adce68622a35b/lib/appium_lib/ios/element/text.rb#L8) ios
|
1446
1450
|
|
1447
1451
|
> def static_text_class
|
1448
1452
|
|
@@ -1454,7 +1458,7 @@ __Returns:__
|
|
1454
1458
|
|
1455
1459
|
--
|
1456
1460
|
|
1457
|
-
##### [text](https://github.com/appium/ruby_lib/blob/
|
1461
|
+
##### [text](https://github.com/appium/ruby_lib/blob/84f71e47b86a2f7a1de71c13888adce68622a35b/lib/appium_lib/ios/element/text.rb#L16) ios
|
1458
1462
|
|
1459
1463
|
> def text(value)
|
1460
1464
|
|
@@ -1471,7 +1475,7 @@ __Returns:__
|
|
1471
1475
|
|
1472
1476
|
--
|
1473
1477
|
|
1474
|
-
##### [texts](https://github.com/appium/ruby_lib/blob/
|
1478
|
+
##### [texts](https://github.com/appium/ruby_lib/blob/84f71e47b86a2f7a1de71c13888adce68622a35b/lib/appium_lib/ios/element/text.rb#L26) ios
|
1475
1479
|
|
1476
1480
|
> def texts(value = false)
|
1477
1481
|
|
@@ -1488,7 +1492,7 @@ __Returns:__
|
|
1488
1492
|
|
1489
1493
|
--
|
1490
1494
|
|
1491
|
-
##### [first_text](https://github.com/appium/ruby_lib/blob/
|
1495
|
+
##### [first_text](https://github.com/appium/ruby_lib/blob/84f71e47b86a2f7a1de71c13888adce68622a35b/lib/appium_lib/ios/element/text.rb#L34) ios
|
1492
1496
|
|
1493
1497
|
> def first_text
|
1494
1498
|
|
@@ -1500,7 +1504,7 @@ __Returns:__
|
|
1500
1504
|
|
1501
1505
|
--
|
1502
1506
|
|
1503
|
-
##### [last_text](https://github.com/appium/ruby_lib/blob/
|
1507
|
+
##### [last_text](https://github.com/appium/ruby_lib/blob/84f71e47b86a2f7a1de71c13888adce68622a35b/lib/appium_lib/ios/element/text.rb#L40) ios
|
1504
1508
|
|
1505
1509
|
> def last_text
|
1506
1510
|
|
@@ -1512,7 +1516,7 @@ __Returns:__
|
|
1512
1516
|
|
1513
1517
|
--
|
1514
1518
|
|
1515
|
-
##### [text_exact](https://github.com/appium/ruby_lib/blob/
|
1519
|
+
##### [text_exact](https://github.com/appium/ruby_lib/blob/84f71e47b86a2f7a1de71c13888adce68622a35b/lib/appium_lib/ios/element/text.rb#L47) ios
|
1516
1520
|
|
1517
1521
|
> def text_exact(value)
|
1518
1522
|
|
@@ -1528,7 +1532,7 @@ __Returns:__
|
|
1528
1532
|
|
1529
1533
|
--
|
1530
1534
|
|
1531
|
-
##### [texts_exact](https://github.com/appium/ruby_lib/blob/
|
1535
|
+
##### [texts_exact](https://github.com/appium/ruby_lib/blob/84f71e47b86a2f7a1de71c13888adce68622a35b/lib/appium_lib/ios/element/text.rb#L54) ios
|
1532
1536
|
|
1533
1537
|
> def texts_exact(value)
|
1534
1538
|
|
@@ -1544,7 +1548,7 @@ __Returns:__
|
|
1544
1548
|
|
1545
1549
|
--
|
1546
1550
|
|
1547
|
-
##### [filter](https://github.com/appium/ruby_lib/blob/
|
1551
|
+
##### [filter](https://github.com/appium/ruby_lib/blob/84f71e47b86a2f7a1de71c13888adce68622a35b/lib/appium_lib/ios/common/helper.rb#L5) ios
|
1548
1552
|
|
1549
1553
|
> def filter
|
1550
1554
|
|
@@ -1552,7 +1556,7 @@ Returns the value of attribute filter
|
|
1552
1556
|
|
1553
1557
|
--
|
1554
1558
|
|
1555
|
-
##### [filter=](https://github.com/appium/ruby_lib/blob/
|
1559
|
+
##### [filter=](https://github.com/appium/ruby_lib/blob/84f71e47b86a2f7a1de71c13888adce68622a35b/lib/appium_lib/ios/common/helper.rb#L5) ios
|
1556
1560
|
|
1557
1561
|
> def filter=(value)
|
1558
1562
|
|
@@ -1564,7 +1568,7 @@ __Parameters:__
|
|
1564
1568
|
|
1565
1569
|
--
|
1566
1570
|
|
1567
|
-
##### [start_element](https://github.com/appium/ruby_lib/blob/
|
1571
|
+
##### [start_element](https://github.com/appium/ruby_lib/blob/84f71e47b86a2f7a1de71c13888adce68622a35b/lib/appium_lib/ios/common/helper.rb#L7) ios
|
1568
1572
|
|
1569
1573
|
> def start_element(type, attrs = [])
|
1570
1574
|
|
@@ -1572,7 +1576,7 @@ __Parameters:__
|
|
1572
1576
|
|
1573
1577
|
--
|
1574
1578
|
|
1575
|
-
##### [ios_password](https://github.com/appium/ruby_lib/blob/
|
1579
|
+
##### [ios_password](https://github.com/appium/ruby_lib/blob/84f71e47b86a2f7a1de71c13888adce68622a35b/lib/appium_lib/ios/common/helper.rb#L43) ios
|
1576
1580
|
|
1577
1581
|
> def ios_password(length = 1)
|
1578
1582
|
|
@@ -1590,7 +1594,7 @@ __Returns:__
|
|
1590
1594
|
|
1591
1595
|
--
|
1592
1596
|
|
1593
|
-
##### [page](https://github.com/appium/ruby_lib/blob/
|
1597
|
+
##### [page](https://github.com/appium/ruby_lib/blob/84f71e47b86a2f7a1de71c13888adce68622a35b/lib/appium_lib/ios/common/helper.rb#L59) ios
|
1594
1598
|
|
1595
1599
|
> def page(opts = {})
|
1596
1600
|
|
@@ -1608,7 +1612,7 @@ __Returns:__
|
|
1608
1612
|
|
1609
1613
|
--
|
1610
1614
|
|
1611
|
-
##### [id](https://github.com/appium/ruby_lib/blob/
|
1615
|
+
##### [id](https://github.com/appium/ruby_lib/blob/84f71e47b86a2f7a1de71c13888adce68622a35b/lib/appium_lib/ios/common/helper.rb#L86) ios
|
1612
1616
|
|
1613
1617
|
> def id(id)
|
1614
1618
|
|
@@ -1624,7 +1628,7 @@ __Returns:__
|
|
1624
1628
|
|
1625
1629
|
--
|
1626
1630
|
|
1627
|
-
##### [ele_index](https://github.com/appium/ruby_lib/blob/
|
1631
|
+
##### [ele_index](https://github.com/appium/ruby_lib/blob/84f71e47b86a2f7a1de71c13888adce68622a35b/lib/appium_lib/ios/common/helper.rb#L94) ios
|
1628
1632
|
|
1629
1633
|
> def ele_index(class_name, index)
|
1630
1634
|
|
@@ -1642,7 +1646,7 @@ __Returns:__
|
|
1642
1646
|
|
1643
1647
|
--
|
1644
1648
|
|
1645
|
-
##### [find_ele_by_attr](https://github.com/appium/ruby_lib/blob/
|
1649
|
+
##### [find_ele_by_attr](https://github.com/appium/ruby_lib/blob/84f71e47b86a2f7a1de71c13888adce68622a35b/lib/appium_lib/ios/common/helper.rb#L124) ios
|
1646
1650
|
|
1647
1651
|
> def find_ele_by_attr(class_name, attr, value)
|
1648
1652
|
|
@@ -1664,7 +1668,7 @@ __Returns:__
|
|
1664
1668
|
|
1665
1669
|
--
|
1666
1670
|
|
1667
|
-
##### [find_eles_by_attr](https://github.com/appium/ruby_lib/blob/
|
1671
|
+
##### [find_eles_by_attr](https://github.com/appium/ruby_lib/blob/84f71e47b86a2f7a1de71c13888adce68622a35b/lib/appium_lib/ios/common/helper.rb#L135) ios
|
1668
1672
|
|
1669
1673
|
> def find_eles_by_attr(class_name, attr, value)
|
1670
1674
|
|
@@ -1686,7 +1690,7 @@ __Returns:__
|
|
1686
1690
|
|
1687
1691
|
--
|
1688
1692
|
|
1689
|
-
##### [find_ele_by_predicate](https://github.com/appium/ruby_lib/blob/
|
1693
|
+
##### [find_ele_by_predicate](https://github.com/appium/ruby_lib/blob/84f71e47b86a2f7a1de71c13888adce68622a35b/lib/appium_lib/ios/common/helper.rb#L148) ios
|
1690
1694
|
|
1691
1695
|
> def find_ele_by_predicate(class_name: '*', value:)
|
1692
1696
|
|
@@ -1703,7 +1707,7 @@ __Returns:__
|
|
1703
1707
|
|
1704
1708
|
--
|
1705
1709
|
|
1706
|
-
##### [find_eles_by_predicate](https://github.com/appium/ruby_lib/blob/
|
1710
|
+
##### [find_eles_by_predicate](https://github.com/appium/ruby_lib/blob/84f71e47b86a2f7a1de71c13888adce68622a35b/lib/appium_lib/ios/common/helper.rb#L160) ios
|
1707
1711
|
|
1708
1712
|
> def find_eles_by_predicate(class_name: '*', value:)
|
1709
1713
|
|
@@ -1722,7 +1726,7 @@ __Returns:__
|
|
1722
1726
|
|
1723
1727
|
--
|
1724
1728
|
|
1725
|
-
##### [find_ele_by_attr_include](https://github.com/appium/ruby_lib/blob/
|
1729
|
+
##### [find_ele_by_attr_include](https://github.com/appium/ruby_lib/blob/84f71e47b86a2f7a1de71c13888adce68622a35b/lib/appium_lib/ios/common/helper.rb#L176) ios
|
1726
1730
|
|
1727
1731
|
> def find_ele_by_attr_include(class_name, attr, value)
|
1728
1732
|
|
@@ -1743,7 +1747,7 @@ __Returns:__
|
|
1743
1747
|
|
1744
1748
|
--
|
1745
1749
|
|
1746
|
-
##### [find_eles_by_attr_include](https://github.com/appium/ruby_lib/blob/
|
1750
|
+
##### [find_eles_by_attr_include](https://github.com/appium/ruby_lib/blob/84f71e47b86a2f7a1de71c13888adce68622a35b/lib/appium_lib/ios/common/helper.rb#L186) ios
|
1747
1751
|
|
1748
1752
|
> def find_eles_by_attr_include(class_name, attr, value)
|
1749
1753
|
|
@@ -1764,7 +1768,7 @@ __Returns:__
|
|
1764
1768
|
|
1765
1769
|
--
|
1766
1770
|
|
1767
|
-
##### [find_ele_by_predicate_include](https://github.com/appium/ruby_lib/blob/
|
1771
|
+
##### [find_ele_by_predicate_include](https://github.com/appium/ruby_lib/blob/84f71e47b86a2f7a1de71c13888adce68622a35b/lib/appium_lib/ios/common/helper.rb#L194) ios
|
1768
1772
|
|
1769
1773
|
> def find_ele_by_predicate_include(class_name: '*', value:)
|
1770
1774
|
|
@@ -1781,7 +1785,7 @@ __Returns:__
|
|
1781
1785
|
|
1782
1786
|
--
|
1783
1787
|
|
1784
|
-
##### [find_eles_by_predicate_include](https://github.com/appium/ruby_lib/blob/
|
1788
|
+
##### [find_eles_by_predicate_include](https://github.com/appium/ruby_lib/blob/84f71e47b86a2f7a1de71c13888adce68622a35b/lib/appium_lib/ios/common/helper.rb#L206) ios
|
1785
1789
|
|
1786
1790
|
> def find_eles_by_predicate_include(class_name: '*', value:)
|
1787
1791
|
|
@@ -1800,7 +1804,7 @@ __Returns:__
|
|
1800
1804
|
|
1801
1805
|
--
|
1802
1806
|
|
1803
|
-
##### [first_ele](https://github.com/appium/ruby_lib/blob/
|
1807
|
+
##### [first_ele](https://github.com/appium/ruby_lib/blob/84f71e47b86a2f7a1de71c13888adce68622a35b/lib/appium_lib/ios/common/helper.rb#L219) ios
|
1804
1808
|
|
1805
1809
|
> def first_ele(class_name)
|
1806
1810
|
|
@@ -1816,7 +1820,7 @@ __Returns:__
|
|
1816
1820
|
|
1817
1821
|
--
|
1818
1822
|
|
1819
|
-
##### [last_ele](https://github.com/appium/ruby_lib/blob/
|
1823
|
+
##### [last_ele](https://github.com/appium/ruby_lib/blob/84f71e47b86a2f7a1de71c13888adce68622a35b/lib/appium_lib/ios/common/helper.rb#L226) ios
|
1820
1824
|
|
1821
1825
|
> def last_ele(class_name)
|
1822
1826
|
|
@@ -1832,7 +1836,7 @@ __Returns:__
|
|
1832
1836
|
|
1833
1837
|
--
|
1834
1838
|
|
1835
|
-
##### [tag](https://github.com/appium/ruby_lib/blob/
|
1839
|
+
##### [tag](https://github.com/appium/ruby_lib/blob/84f71e47b86a2f7a1de71c13888adce68622a35b/lib/appium_lib/ios/common/helper.rb#L234) ios
|
1836
1840
|
|
1837
1841
|
> def tag(class_name)
|
1838
1842
|
|
@@ -1848,7 +1852,7 @@ __Returns:__
|
|
1848
1852
|
|
1849
1853
|
--
|
1850
1854
|
|
1851
|
-
##### [tags](https://github.com/appium/ruby_lib/blob/
|
1855
|
+
##### [tags](https://github.com/appium/ruby_lib/blob/84f71e47b86a2f7a1de71c13888adce68622a35b/lib/appium_lib/ios/common/helper.rb#L242) ios
|
1852
1856
|
|
1853
1857
|
> def tags(class_name)
|
1854
1858
|
|
@@ -1864,7 +1868,7 @@ __Returns:__
|
|
1864
1868
|
|
1865
1869
|
--
|
1866
1870
|
|
1867
|
-
##### [tags_include](https://github.com/appium/ruby_lib/blob/
|
1871
|
+
##### [tags_include](https://github.com/appium/ruby_lib/blob/84f71e47b86a2f7a1de71c13888adce68622a35b/lib/appium_lib/ios/common/helper.rb#L253) ios
|
1868
1872
|
|
1869
1873
|
> def tags_include(class_names:, value: nil)
|
1870
1874
|
|
@@ -1884,7 +1888,7 @@ __Returns:__
|
|
1884
1888
|
|
1885
1889
|
--
|
1886
1890
|
|
1887
|
-
##### [tags_exact](https://github.com/appium/ruby_lib/blob/
|
1891
|
+
##### [tags_exact](https://github.com/appium/ruby_lib/blob/84f71e47b86a2f7a1de71c13888adce68622a35b/lib/appium_lib/ios/common/helper.rb#L268) ios
|
1888
1892
|
|
1889
1893
|
> def tags_exact(class_names:, value: nil)
|
1890
1894
|
|
@@ -1904,7 +1908,7 @@ __Returns:__
|
|
1904
1908
|
|
1905
1909
|
--
|
1906
1910
|
|
1907
|
-
##### [ele_by_json_visible_contains](https://github.com/appium/ruby_lib/blob/
|
1911
|
+
##### [ele_by_json_visible_contains](https://github.com/appium/ruby_lib/blob/84f71e47b86a2f7a1de71c13888adce68622a35b/lib/appium_lib/ios/common/helper.rb#L305) ios
|
1908
1912
|
|
1909
1913
|
> def ele_by_json_visible_contains(element, value)
|
1910
1914
|
|
@@ -1923,7 +1927,7 @@ __Returns:__
|
|
1923
1927
|
|
1924
1928
|
--
|
1925
1929
|
|
1926
|
-
##### [eles_by_json_visible_contains](https://github.com/appium/ruby_lib/blob/
|
1930
|
+
##### [eles_by_json_visible_contains](https://github.com/appium/ruby_lib/blob/84f71e47b86a2f7a1de71c13888adce68622a35b/lib/appium_lib/ios/common/helper.rb#L314) ios
|
1927
1931
|
|
1928
1932
|
> def eles_by_json_visible_contains(element, value)
|
1929
1933
|
|
@@ -1942,7 +1946,7 @@ __Returns:__
|
|
1942
1946
|
|
1943
1947
|
--
|
1944
1948
|
|
1945
|
-
##### [ele_by_json_visible_exact](https://github.com/appium/ruby_lib/blob/
|
1949
|
+
##### [ele_by_json_visible_exact](https://github.com/appium/ruby_lib/blob/84f71e47b86a2f7a1de71c13888adce68622a35b/lib/appium_lib/ios/common/helper.rb#L344) ios
|
1946
1950
|
|
1947
1951
|
> def ele_by_json_visible_exact(element, value)
|
1948
1952
|
|
@@ -1961,7 +1965,7 @@ __Returns:__
|
|
1961
1965
|
|
1962
1966
|
--
|
1963
1967
|
|
1964
|
-
##### [eles_by_json_visible_exact](https://github.com/appium/ruby_lib/blob/
|
1968
|
+
##### [eles_by_json_visible_exact](https://github.com/appium/ruby_lib/blob/84f71e47b86a2f7a1de71c13888adce68622a35b/lib/appium_lib/ios/common/helper.rb#L353) ios
|
1965
1969
|
|
1966
1970
|
> def eles_by_json_visible_exact(element, value)
|
1967
1971
|
|
@@ -1980,7 +1984,7 @@ __Returns:__
|
|
1980
1984
|
|
1981
1985
|
--
|
1982
1986
|
|
1983
|
-
##### [_all_pred](https://github.com/appium/ruby_lib/blob/
|
1987
|
+
##### [_all_pred](https://github.com/appium/ruby_lib/blob/84f71e47b86a2f7a1de71c13888adce68622a35b/lib/appium_lib/ios/common/helper.rb#L362) ios
|
1984
1988
|
|
1985
1989
|
> def _all_pred(opts)
|
1986
1990
|
|
@@ -1990,7 +1994,7 @@ visible - if true, only visible elements are returned. default true
|
|
1990
1994
|
|
1991
1995
|
--
|
1992
1996
|
|
1993
|
-
##### [ele_with_pred](https://github.com/appium/ruby_lib/blob/
|
1997
|
+
##### [ele_with_pred](https://github.com/appium/ruby_lib/blob/84f71e47b86a2f7a1de71c13888adce68622a35b/lib/appium_lib/ios/common/helper.rb#L376) ios
|
1994
1998
|
|
1995
1999
|
> def ele_with_pred(opts)
|
1996
2000
|
|
@@ -2006,7 +2010,7 @@ __Returns:__
|
|
2006
2010
|
|
2007
2011
|
--
|
2008
2012
|
|
2009
|
-
##### [eles_with_pred](https://github.com/appium/ruby_lib/blob/
|
2013
|
+
##### [eles_with_pred](https://github.com/appium/ruby_lib/blob/84f71e47b86a2f7a1de71c13888adce68622a35b/lib/appium_lib/ios/common/helper.rb#L387) ios
|
2010
2014
|
|
2011
2015
|
> def eles_with_pred(opts)
|
2012
2016
|
|
@@ -2022,7 +2026,7 @@ __Returns:__
|
|
2022
2026
|
|
2023
2027
|
--
|
2024
2028
|
|
2025
|
-
##### [_validate_object](https://github.com/appium/ruby_lib/blob/
|
2029
|
+
##### [_validate_object](https://github.com/appium/ruby_lib/blob/84f71e47b86a2f7a1de71c13888adce68622a35b/lib/appium_lib/ios/common/helper.rb#L391) ios
|
2026
2030
|
|
2027
2031
|
> def _validate_object(*objects)
|
2028
2032
|
|
@@ -2030,7 +2034,7 @@ __Returns:__
|
|
2030
2034
|
|
2031
2035
|
--
|
2032
2036
|
|
2033
|
-
##### [_by_json](https://github.com/appium/ruby_lib/blob/
|
2037
|
+
##### [_by_json](https://github.com/appium/ruby_lib/blob/84f71e47b86a2f7a1de71c13888adce68622a35b/lib/appium_lib/ios/common/helper.rb#L441) ios
|
2034
2038
|
|
2035
2039
|
> def _by_json(opts)
|
2036
2040
|
|
@@ -2065,7 +2069,7 @@ opts = {
|
|
2065
2069
|
|
2066
2070
|
--
|
2067
2071
|
|
2068
|
-
##### [eles_by_json](https://github.com/appium/ruby_lib/blob/
|
2072
|
+
##### [eles_by_json](https://github.com/appium/ruby_lib/blob/84f71e47b86a2f7a1de71c13888adce68622a35b/lib/appium_lib/ios/common/helper.rb#L491) ios
|
2069
2073
|
|
2070
2074
|
> def eles_by_json(opts)
|
2071
2075
|
|
@@ -2084,7 +2088,7 @@ eles_by_json({
|
|
2084
2088
|
|
2085
2089
|
--
|
2086
2090
|
|
2087
|
-
##### [ele_by_json](https://github.com/appium/ruby_lib/blob/
|
2091
|
+
##### [ele_by_json](https://github.com/appium/ruby_lib/blob/84f71e47b86a2f7a1de71c13888adce68622a35b/lib/appium_lib/ios/common/helper.rb#L497) ios
|
2088
2092
|
|
2089
2093
|
> def ele_by_json(opts)
|
2090
2094
|
|
@@ -2092,7 +2096,7 @@ see eles_by_json
|
|
2092
2096
|
|
2093
2097
|
--
|
2094
2098
|
|
2095
|
-
##### [alert_accept](https://github.com/appium/ruby_lib/blob/
|
2099
|
+
##### [alert_accept](https://github.com/appium/ruby_lib/blob/84f71e47b86a2f7a1de71c13888adce68622a35b/lib/appium_lib/ios/element/alert.rb#L5) ios
|
2096
2100
|
|
2097
2101
|
> def alert_accept
|
2098
2102
|
|
@@ -2104,7 +2108,7 @@ __Returns:__
|
|
2104
2108
|
|
2105
2109
|
--
|
2106
2110
|
|
2107
|
-
##### [alert_dismiss](https://github.com/appium/ruby_lib/blob/
|
2111
|
+
##### [alert_dismiss](https://github.com/appium/ruby_lib/blob/84f71e47b86a2f7a1de71c13888adce68622a35b/lib/appium_lib/ios/element/alert.rb#L13) ios
|
2108
2112
|
|
2109
2113
|
> def alert_dismiss
|
2110
2114
|
|
@@ -2116,7 +2120,7 @@ __Returns:__
|
|
2116
2120
|
|
2117
2121
|
--
|
2118
2122
|
|
2119
|
-
##### [UIAButton](https://github.com/appium/ruby_lib/blob/
|
2123
|
+
##### [UIAButton](https://github.com/appium/ruby_lib/blob/84f71e47b86a2f7a1de71c13888adce68622a35b/lib/appium_lib/ios/element/button.rb#L4) ios
|
2120
2124
|
|
2121
2125
|
> UIAButton = 'UIAButton'.freeze
|
2122
2126
|
|
@@ -2124,7 +2128,7 @@ __Returns:__
|
|
2124
2128
|
|
2125
2129
|
--
|
2126
2130
|
|
2127
|
-
##### [XCUIElementTypeButton](https://github.com/appium/ruby_lib/blob/
|
2131
|
+
##### [XCUIElementTypeButton](https://github.com/appium/ruby_lib/blob/84f71e47b86a2f7a1de71c13888adce68622a35b/lib/appium_lib/ios/element/button.rb#L5) ios
|
2128
2132
|
|
2129
2133
|
> XCUIElementTypeButton = 'XCUIElementTypeButton'.freeze
|
2130
2134
|
|
@@ -2132,7 +2136,7 @@ __Returns:__
|
|
2132
2136
|
|
2133
2137
|
--
|
2134
2138
|
|
2135
|
-
##### [button_class](https://github.com/appium/ruby_lib/blob/
|
2139
|
+
##### [button_class](https://github.com/appium/ruby_lib/blob/84f71e47b86a2f7a1de71c13888adce68622a35b/lib/appium_lib/ios/element/button.rb#L8) ios
|
2136
2140
|
|
2137
2141
|
> def button_class
|
2138
2142
|
|
@@ -2144,7 +2148,7 @@ __Returns:__
|
|
2144
2148
|
|
2145
2149
|
--
|
2146
2150
|
|
2147
|
-
##### [button](https://github.com/appium/ruby_lib/blob/
|
2151
|
+
##### [button](https://github.com/appium/ruby_lib/blob/84f71e47b86a2f7a1de71c13888adce68622a35b/lib/appium_lib/ios/element/button.rb#L16) ios
|
2148
2152
|
|
2149
2153
|
> def button(value)
|
2150
2154
|
|
@@ -2161,7 +2165,7 @@ __Returns:__
|
|
2161
2165
|
|
2162
2166
|
--
|
2163
2167
|
|
2164
|
-
##### [buttons](https://github.com/appium/ruby_lib/blob/
|
2168
|
+
##### [buttons](https://github.com/appium/ruby_lib/blob/84f71e47b86a2f7a1de71c13888adce68622a35b/lib/appium_lib/ios/element/button.rb#L27) ios
|
2165
2169
|
|
2166
2170
|
> def buttons(value = false)
|
2167
2171
|
|
@@ -2178,7 +2182,7 @@ __Returns:__
|
|
2178
2182
|
|
2179
2183
|
--
|
2180
2184
|
|
2181
|
-
##### [first_button](https://github.com/appium/ruby_lib/blob/
|
2185
|
+
##### [first_button](https://github.com/appium/ruby_lib/blob/84f71e47b86a2f7a1de71c13888adce68622a35b/lib/appium_lib/ios/element/button.rb#L35) ios
|
2182
2186
|
|
2183
2187
|
> def first_button
|
2184
2188
|
|
@@ -2190,7 +2194,7 @@ __Returns:__
|
|
2190
2194
|
|
2191
2195
|
--
|
2192
2196
|
|
2193
|
-
##### [last_button](https://github.com/appium/ruby_lib/blob/
|
2197
|
+
##### [last_button](https://github.com/appium/ruby_lib/blob/84f71e47b86a2f7a1de71c13888adce68622a35b/lib/appium_lib/ios/element/button.rb#L43) ios
|
2194
2198
|
|
2195
2199
|
> def last_button
|
2196
2200
|
|
@@ -2204,7 +2208,7 @@ __Returns:__
|
|
2204
2208
|
|
2205
2209
|
--
|
2206
2210
|
|
2207
|
-
##### [button_exact](https://github.com/appium/ruby_lib/blob/
|
2211
|
+
##### [button_exact](https://github.com/appium/ruby_lib/blob/84f71e47b86a2f7a1de71c13888adce68622a35b/lib/appium_lib/ios/element/button.rb#L50) ios
|
2208
2212
|
|
2209
2213
|
> def button_exact(value)
|
2210
2214
|
|
@@ -2220,7 +2224,7 @@ __Returns:__
|
|
2220
2224
|
|
2221
2225
|
--
|
2222
2226
|
|
2223
|
-
##### [buttons_exact](https://github.com/appium/ruby_lib/blob/
|
2227
|
+
##### [buttons_exact](https://github.com/appium/ruby_lib/blob/84f71e47b86a2f7a1de71c13888adce68622a35b/lib/appium_lib/ios/element/button.rb#L57) ios
|
2224
2228
|
|
2225
2229
|
> def buttons_exact(value)
|
2226
2230
|
|
@@ -2236,7 +2240,7 @@ __Returns:__
|
|
2236
2240
|
|
2237
2241
|
--
|
2238
2242
|
|
2239
|
-
##### [find](https://github.com/appium/ruby_lib/blob/
|
2243
|
+
##### [find](https://github.com/appium/ruby_lib/blob/84f71e47b86a2f7a1de71c13888adce68622a35b/lib/appium_lib/ios/element/generic.rb#L6) ios
|
2240
2244
|
|
2241
2245
|
> def find(value)
|
2242
2246
|
|
@@ -2252,7 +2256,7 @@ __Returns:__
|
|
2252
2256
|
|
2253
2257
|
--
|
2254
2258
|
|
2255
|
-
##### [finds](https://github.com/appium/ruby_lib/blob/
|
2259
|
+
##### [finds](https://github.com/appium/ruby_lib/blob/84f71e47b86a2f7a1de71c13888adce68622a35b/lib/appium_lib/ios/element/generic.rb#L13) ios
|
2256
2260
|
|
2257
2261
|
> def finds(value)
|
2258
2262
|
|
@@ -2268,7 +2272,7 @@ __Returns:__
|
|
2268
2272
|
|
2269
2273
|
--
|
2270
2274
|
|
2271
|
-
##### [find_exact](https://github.com/appium/ruby_lib/blob/
|
2275
|
+
##### [find_exact](https://github.com/appium/ruby_lib/blob/84f71e47b86a2f7a1de71c13888adce68622a35b/lib/appium_lib/ios/element/generic.rb#L20) ios
|
2272
2276
|
|
2273
2277
|
> def find_exact(value)
|
2274
2278
|
|
@@ -2284,7 +2288,7 @@ __Returns:__
|
|
2284
2288
|
|
2285
2289
|
--
|
2286
2290
|
|
2287
|
-
##### [finds_exact](https://github.com/appium/ruby_lib/blob/
|
2291
|
+
##### [finds_exact](https://github.com/appium/ruby_lib/blob/84f71e47b86a2f7a1de71c13888adce68622a35b/lib/appium_lib/ios/element/generic.rb#L27) ios
|
2288
2292
|
|
2289
2293
|
> def finds_exact(value)
|
2290
2294
|
|
@@ -2300,7 +2304,7 @@ __Returns:__
|
|
2300
2304
|
|
2301
2305
|
--
|
2302
2306
|
|
2303
|
-
##### [raise_error_if_no_element](https://github.com/appium/ruby_lib/blob/
|
2307
|
+
##### [raise_error_if_no_element](https://github.com/appium/ruby_lib/blob/84f71e47b86a2f7a1de71c13888adce68622a35b/lib/appium_lib/ios/element/generic.rb#L33) ios
|
2304
2308
|
|
2305
2309
|
> def raise_error_if_no_element(element)
|
2306
2310
|
|
@@ -2308,7 +2312,7 @@ __Returns:__
|
|
2308
2312
|
|
2309
2313
|
--
|
2310
2314
|
|
2311
|
-
##### [select_visible_elements](https://github.com/appium/ruby_lib/blob/
|
2315
|
+
##### [select_visible_elements](https://github.com/appium/ruby_lib/blob/84f71e47b86a2f7a1de71c13888adce68622a35b/lib/appium_lib/ios/element/generic.rb#L41) ios
|
2312
2316
|
|
2313
2317
|
> def select_visible_elements(elements)
|
2314
2318
|
|
@@ -2316,7 +2320,7 @@ Return visible elements.
|
|
2316
2320
|
|
2317
2321
|
--
|
2318
2322
|
|
2319
|
-
##### [for](https://github.com/appium/ruby_lib/blob/
|
2323
|
+
##### [for](https://github.com/appium/ruby_lib/blob/84f71e47b86a2f7a1de71c13888adce68622a35b/lib/appium_lib/ios/xcuitest/bridge.rb#L7) ios
|
2320
2324
|
|
2321
2325
|
> def self.for(target)
|
2322
2326
|
|
@@ -2324,7 +2328,7 @@ Return visible elements.
|
|
2324
2328
|
|
2325
2329
|
--
|
2326
2330
|
|
2327
|
-
##### [last_ele](https://github.com/appium/ruby_lib/blob/
|
2331
|
+
##### [last_ele](https://github.com/appium/ruby_lib/blob/84f71e47b86a2f7a1de71c13888adce68622a35b/lib/appium_lib/ios/xcuitest/helper.rb#L26) ios
|
2328
2332
|
|
2329
2333
|
> def last_ele(class_name)
|
2330
2334
|
|
@@ -2340,7 +2344,7 @@ __Returns:__
|
|
2340
2344
|
|
2341
2345
|
--
|
2342
2346
|
|
2343
|
-
##### [tag](https://github.com/appium/ruby_lib/blob/
|
2347
|
+
##### [tag](https://github.com/appium/ruby_lib/blob/84f71e47b86a2f7a1de71c13888adce68622a35b/lib/appium_lib/ios/xcuitest/helper.rb#L37) ios
|
2344
2348
|
|
2345
2349
|
> def tag(class_name)
|
2346
2350
|
|
@@ -2356,7 +2360,7 @@ __Returns:__
|
|
2356
2360
|
|
2357
2361
|
--
|
2358
2362
|
|
2359
|
-
##### [tags](https://github.com/appium/ruby_lib/blob/
|
2363
|
+
##### [tags](https://github.com/appium/ruby_lib/blob/84f71e47b86a2f7a1de71c13888adce68622a35b/lib/appium_lib/ios/xcuitest/helper.rb#L45) ios
|
2360
2364
|
|
2361
2365
|
> def tags(class_name)
|
2362
2366
|
|
@@ -2372,7 +2376,7 @@ __Returns:__
|
|
2372
2376
|
|
2373
2377
|
--
|
2374
2378
|
|
2375
|
-
##### [tags_include](https://github.com/appium/ruby_lib/blob/
|
2379
|
+
##### [tags_include](https://github.com/appium/ruby_lib/blob/84f71e47b86a2f7a1de71c13888adce68622a35b/lib/appium_lib/ios/xcuitest/helper.rb#L57) ios
|
2376
2380
|
|
2377
2381
|
> def tags_include(class_names:, value: nil)
|
2378
2382
|
|
@@ -2392,7 +2396,7 @@ __Returns:__
|
|
2392
2396
|
|
2393
2397
|
--
|
2394
2398
|
|
2395
|
-
##### [tags_exact](https://github.com/appium/ruby_lib/blob/
|
2399
|
+
##### [tags_exact](https://github.com/appium/ruby_lib/blob/84f71e47b86a2f7a1de71c13888adce68622a35b/lib/appium_lib/ios/xcuitest/helper.rb#L79) ios
|
2396
2400
|
|
2397
2401
|
> def tags_exact(class_names:, value: nil)
|
2398
2402
|
|
@@ -2412,7 +2416,7 @@ __Returns:__
|
|
2412
2416
|
|
2413
2417
|
--
|
2414
2418
|
|
2415
|
-
##### [start_logs_broadcast](https://github.com/appium/ruby_lib/blob/
|
2419
|
+
##### [start_logs_broadcast](https://github.com/appium/ruby_lib/blob/84f71e47b86a2f7a1de71c13888adce68622a35b/lib/appium_lib/ios/xcuitest/command.rb#L19) ios
|
2416
2420
|
|
2417
2421
|
> def start_logs_broadcast(syslog_file = 'syslog.log')
|
2418
2422
|
|
@@ -2424,7 +2428,7 @@ __Parameters:__
|
|
2424
2428
|
|
2425
2429
|
--
|
2426
2430
|
|
2427
|
-
##### [stop_logs_broadcast](https://github.com/appium/ruby_lib/blob/
|
2431
|
+
##### [stop_logs_broadcast](https://github.com/appium/ruby_lib/blob/84f71e47b86a2f7a1de71c13888adce68622a35b/lib/appium_lib/ios/xcuitest/command.rb#L32) ios
|
2428
2432
|
|
2429
2433
|
> def stop_logs_broadcast
|
2430
2434
|
|
@@ -2432,7 +2436,7 @@ Stop iOS syslog broadcast websocket
|
|
2432
2436
|
|
2433
2437
|
--
|
2434
2438
|
|
2435
|
-
##### [UIATextField](https://github.com/appium/ruby_lib/blob/
|
2439
|
+
##### [UIATextField](https://github.com/appium/ruby_lib/blob/84f71e47b86a2f7a1de71c13888adce68622a35b/lib/appium_lib/ios/element/textfield.rb#L3) ios
|
2436
2440
|
|
2437
2441
|
> UIATextField = 'UIATextField'.freeze
|
2438
2442
|
|
@@ -2440,7 +2444,7 @@ Stop iOS syslog broadcast websocket
|
|
2440
2444
|
|
2441
2445
|
--
|
2442
2446
|
|
2443
|
-
##### [UIASecureTextField](https://github.com/appium/ruby_lib/blob/
|
2447
|
+
##### [UIASecureTextField](https://github.com/appium/ruby_lib/blob/84f71e47b86a2f7a1de71c13888adce68622a35b/lib/appium_lib/ios/element/textfield.rb#L4) ios
|
2444
2448
|
|
2445
2449
|
> UIASecureTextField = 'UIASecureTextField'.freeze
|
2446
2450
|
|
@@ -2448,7 +2452,7 @@ Stop iOS syslog broadcast websocket
|
|
2448
2452
|
|
2449
2453
|
--
|
2450
2454
|
|
2451
|
-
##### [XCUIElementTypeTextField](https://github.com/appium/ruby_lib/blob/
|
2455
|
+
##### [XCUIElementTypeTextField](https://github.com/appium/ruby_lib/blob/84f71e47b86a2f7a1de71c13888adce68622a35b/lib/appium_lib/ios/element/textfield.rb#L6) ios
|
2452
2456
|
|
2453
2457
|
> XCUIElementTypeTextField = 'XCUIElementTypeTextField'.freeze
|
2454
2458
|
|
@@ -2456,7 +2460,7 @@ Stop iOS syslog broadcast websocket
|
|
2456
2460
|
|
2457
2461
|
--
|
2458
2462
|
|
2459
|
-
##### [XCUIElementTypeSecureTextField](https://github.com/appium/ruby_lib/blob/
|
2463
|
+
##### [XCUIElementTypeSecureTextField](https://github.com/appium/ruby_lib/blob/84f71e47b86a2f7a1de71c13888adce68622a35b/lib/appium_lib/ios/element/textfield.rb#L7) ios
|
2460
2464
|
|
2461
2465
|
> XCUIElementTypeSecureTextField = 'XCUIElementTypeSecureTextField'.freeze
|
2462
2466
|
|
@@ -2464,7 +2468,7 @@ Stop iOS syslog broadcast websocket
|
|
2464
2468
|
|
2465
2469
|
--
|
2466
2470
|
|
2467
|
-
##### [text_field_class](https://github.com/appium/ruby_lib/blob/
|
2471
|
+
##### [text_field_class](https://github.com/appium/ruby_lib/blob/84f71e47b86a2f7a1de71c13888adce68622a35b/lib/appium_lib/ios/element/textfield.rb#L10) ios
|
2468
2472
|
|
2469
2473
|
> def text_field_class
|
2470
2474
|
|
@@ -2476,7 +2480,7 @@ __Returns:__
|
|
2476
2480
|
|
2477
2481
|
--
|
2478
2482
|
|
2479
|
-
##### [secure_text_field_class](https://github.com/appium/ruby_lib/blob/
|
2483
|
+
##### [secure_text_field_class](https://github.com/appium/ruby_lib/blob/84f71e47b86a2f7a1de71c13888adce68622a35b/lib/appium_lib/ios/element/textfield.rb#L15) ios
|
2480
2484
|
|
2481
2485
|
> def secure_text_field_class
|
2482
2486
|
|
@@ -2488,7 +2492,7 @@ __Returns:__
|
|
2488
2492
|
|
2489
2493
|
--
|
2490
2494
|
|
2491
|
-
##### [textfield](https://github.com/appium/ruby_lib/blob/
|
2495
|
+
##### [textfield](https://github.com/appium/ruby_lib/blob/84f71e47b86a2f7a1de71c13888adce68622a35b/lib/appium_lib/ios/element/textfield.rb#L24) ios
|
2492
2496
|
|
2493
2497
|
> def textfield(value)
|
2494
2498
|
|
@@ -2506,7 +2510,7 @@ __Returns:__
|
|
2506
2510
|
|
2507
2511
|
--
|
2508
2512
|
|
2509
|
-
##### [textfields](https://github.com/appium/ruby_lib/blob/
|
2513
|
+
##### [textfields](https://github.com/appium/ruby_lib/blob/84f71e47b86a2f7a1de71c13888adce68622a35b/lib/appium_lib/ios/element/textfield.rb#L43) ios
|
2510
2514
|
|
2511
2515
|
> def textfields(value = false)
|
2512
2516
|
|
@@ -2523,7 +2527,7 @@ __Returns:__
|
|
2523
2527
|
|
2524
2528
|
--
|
2525
2529
|
|
2526
|
-
##### [first_textfield](https://github.com/appium/ruby_lib/blob/
|
2530
|
+
##### [first_textfield](https://github.com/appium/ruby_lib/blob/84f71e47b86a2f7a1de71c13888adce68622a35b/lib/appium_lib/ios/element/textfield.rb#L51) ios
|
2527
2531
|
|
2528
2532
|
> def first_textfield
|
2529
2533
|
|
@@ -2535,7 +2539,7 @@ __Returns:__
|
|
2535
2539
|
|
2536
2540
|
--
|
2537
2541
|
|
2538
|
-
##### [last_textfield](https://github.com/appium/ruby_lib/blob/
|
2542
|
+
##### [last_textfield](https://github.com/appium/ruby_lib/blob/84f71e47b86a2f7a1de71c13888adce68622a35b/lib/appium_lib/ios/element/textfield.rb#L57) ios
|
2539
2543
|
|
2540
2544
|
> def last_textfield
|
2541
2545
|
|
@@ -2547,7 +2551,7 @@ __Returns:__
|
|
2547
2551
|
|
2548
2552
|
--
|
2549
2553
|
|
2550
|
-
##### [textfield_exact](https://github.com/appium/ruby_lib/blob/
|
2554
|
+
##### [textfield_exact](https://github.com/appium/ruby_lib/blob/84f71e47b86a2f7a1de71c13888adce68622a35b/lib/appium_lib/ios/element/textfield.rb#L67) ios
|
2551
2555
|
|
2552
2556
|
> def textfield_exact(value)
|
2553
2557
|
|
@@ -2563,7 +2567,7 @@ __Returns:__
|
|
2563
2567
|
|
2564
2568
|
--
|
2565
2569
|
|
2566
|
-
##### [textfields_exact](https://github.com/appium/ruby_lib/blob/
|
2570
|
+
##### [textfields_exact](https://github.com/appium/ruby_lib/blob/84f71e47b86a2f7a1de71c13888adce68622a35b/lib/appium_lib/ios/element/textfield.rb#L74) ios
|
2567
2571
|
|
2568
2572
|
> def textfields_exact(value)
|
2569
2573
|
|
@@ -2579,7 +2583,7 @@ __Returns:__
|
|
2579
2583
|
|
2580
2584
|
--
|
2581
2585
|
|
2582
|
-
##### [_textfield_visible](https://github.com/appium/ruby_lib/blob/
|
2586
|
+
##### [_textfield_visible](https://github.com/appium/ruby_lib/blob/84f71e47b86a2f7a1de71c13888adce68622a35b/lib/appium_lib/ios/element/textfield.rb#L81) ios
|
2583
2587
|
|
2584
2588
|
> def _textfield_visible
|
2585
2589
|
|
@@ -2587,7 +2591,7 @@ Appium
|
|
2587
2591
|
|
2588
2592
|
--
|
2589
2593
|
|
2590
|
-
##### [_textfield_exact_string](https://github.com/appium/ruby_lib/blob/
|
2594
|
+
##### [_textfield_exact_string](https://github.com/appium/ruby_lib/blob/84f71e47b86a2f7a1de71c13888adce68622a35b/lib/appium_lib/ios/element/textfield.rb#L86) ios
|
2591
2595
|
|
2592
2596
|
> def _textfield_exact_string(value)
|
2593
2597
|
|
@@ -2595,7 +2599,7 @@ Appium
|
|
2595
2599
|
|
2596
2600
|
--
|
2597
2601
|
|
2598
|
-
##### [_textfield_contains_string](https://github.com/appium/ruby_lib/blob/
|
2602
|
+
##### [_textfield_contains_string](https://github.com/appium/ruby_lib/blob/84f71e47b86a2f7a1de71c13888adce68622a35b/lib/appium_lib/ios/element/textfield.rb#L93) ios
|
2599
2603
|
|
2600
2604
|
> def _textfield_contains_string(value)
|
2601
2605
|
|
@@ -2603,7 +2607,7 @@ Appium
|
|
2603
2607
|
|
2604
2608
|
--
|
2605
2609
|
|
2606
|
-
##### [static_text_class](https://github.com/appium/ruby_lib/blob/
|
2610
|
+
##### [static_text_class](https://github.com/appium/ruby_lib/blob/84f71e47b86a2f7a1de71c13888adce68622a35b/lib/appium_lib/ios/xcuitest/element/text.rb#L9) ios
|
2607
2611
|
|
2608
2612
|
> def static_text_class
|
2609
2613
|
|
@@ -2615,7 +2619,7 @@ __Returns:__
|
|
2615
2619
|
|
2616
2620
|
--
|
2617
2621
|
|
2618
|
-
##### [text](https://github.com/appium/ruby_lib/blob/
|
2622
|
+
##### [text](https://github.com/appium/ruby_lib/blob/84f71e47b86a2f7a1de71c13888adce68622a35b/lib/appium_lib/ios/xcuitest/element/text.rb#L17) ios
|
2619
2623
|
|
2620
2624
|
> def text(value)
|
2621
2625
|
|
@@ -2632,7 +2636,7 @@ __Returns:__
|
|
2632
2636
|
|
2633
2637
|
--
|
2634
2638
|
|
2635
|
-
##### [texts](https://github.com/appium/ruby_lib/blob/
|
2639
|
+
##### [texts](https://github.com/appium/ruby_lib/blob/84f71e47b86a2f7a1de71c13888adce68622a35b/lib/appium_lib/ios/xcuitest/element/text.rb#L27) ios
|
2636
2640
|
|
2637
2641
|
> def texts(value = false)
|
2638
2642
|
|
@@ -2649,7 +2653,7 @@ __Returns:__
|
|
2649
2653
|
|
2650
2654
|
--
|
2651
2655
|
|
2652
|
-
##### [first_text](https://github.com/appium/ruby_lib/blob/
|
2656
|
+
##### [first_text](https://github.com/appium/ruby_lib/blob/84f71e47b86a2f7a1de71c13888adce68622a35b/lib/appium_lib/ios/xcuitest/element/text.rb#L36) ios
|
2653
2657
|
|
2654
2658
|
> def first_text
|
2655
2659
|
|
@@ -2661,7 +2665,7 @@ __Returns:__
|
|
2661
2665
|
|
2662
2666
|
--
|
2663
2667
|
|
2664
|
-
##### [last_text](https://github.com/appium/ruby_lib/blob/
|
2668
|
+
##### [last_text](https://github.com/appium/ruby_lib/blob/84f71e47b86a2f7a1de71c13888adce68622a35b/lib/appium_lib/ios/xcuitest/element/text.rb#L42) ios
|
2665
2669
|
|
2666
2670
|
> def last_text
|
2667
2671
|
|
@@ -2673,7 +2677,7 @@ __Returns:__
|
|
2673
2677
|
|
2674
2678
|
--
|
2675
2679
|
|
2676
|
-
##### [text_exact](https://github.com/appium/ruby_lib/blob/
|
2680
|
+
##### [text_exact](https://github.com/appium/ruby_lib/blob/84f71e47b86a2f7a1de71c13888adce68622a35b/lib/appium_lib/ios/xcuitest/element/text.rb#L49) ios
|
2677
2681
|
|
2678
2682
|
> def text_exact(value)
|
2679
2683
|
|
@@ -2689,7 +2693,7 @@ __Returns:__
|
|
2689
2693
|
|
2690
2694
|
--
|
2691
2695
|
|
2692
|
-
##### [texts_exact](https://github.com/appium/ruby_lib/blob/
|
2696
|
+
##### [texts_exact](https://github.com/appium/ruby_lib/blob/84f71e47b86a2f7a1de71c13888adce68622a35b/lib/appium_lib/ios/xcuitest/element/text.rb#L56) ios
|
2693
2697
|
|
2694
2698
|
> def texts_exact(value)
|
2695
2699
|
|
@@ -2705,7 +2709,7 @@ __Returns:__
|
|
2705
2709
|
|
2706
2710
|
--
|
2707
2711
|
|
2708
|
-
##### [xcuitest_source](https://github.com/appium/ruby_lib/blob/
|
2712
|
+
##### [xcuitest_source](https://github.com/appium/ruby_lib/blob/84f71e47b86a2f7a1de71c13888adce68622a35b/lib/appium_lib/ios/xcuitest/command/source.rb#L11) ios
|
2709
2713
|
|
2710
2714
|
> def xcuitest_source(format: :xml)
|
2711
2715
|
|
@@ -2721,7 +2725,7 @@ xcuitest_source format: :json
|
|
2721
2725
|
|
2722
2726
|
--
|
2723
2727
|
|
2724
|
-
##### [button_class](https://github.com/appium/ruby_lib/blob/
|
2728
|
+
##### [button_class](https://github.com/appium/ruby_lib/blob/84f71e47b86a2f7a1de71c13888adce68622a35b/lib/appium_lib/ios/xcuitest/element/button.rb#L9) ios
|
2725
2729
|
|
2726
2730
|
> def button_class
|
2727
2731
|
|
@@ -2733,7 +2737,7 @@ __Returns:__
|
|
2733
2737
|
|
2734
2738
|
--
|
2735
2739
|
|
2736
|
-
##### [button](https://github.com/appium/ruby_lib/blob/
|
2740
|
+
##### [button](https://github.com/appium/ruby_lib/blob/84f71e47b86a2f7a1de71c13888adce68622a35b/lib/appium_lib/ios/xcuitest/element/button.rb#L17) ios
|
2737
2741
|
|
2738
2742
|
> def button(value)
|
2739
2743
|
|
@@ -2750,7 +2754,7 @@ __Returns:__
|
|
2750
2754
|
|
2751
2755
|
--
|
2752
2756
|
|
2753
|
-
##### [buttons](https://github.com/appium/ruby_lib/blob/
|
2757
|
+
##### [buttons](https://github.com/appium/ruby_lib/blob/84f71e47b86a2f7a1de71c13888adce68622a35b/lib/appium_lib/ios/xcuitest/element/button.rb#L28) ios
|
2754
2758
|
|
2755
2759
|
> def buttons(value = false)
|
2756
2760
|
|
@@ -2767,7 +2771,7 @@ __Returns:__
|
|
2767
2771
|
|
2768
2772
|
--
|
2769
2773
|
|
2770
|
-
##### [first_button](https://github.com/appium/ruby_lib/blob/
|
2774
|
+
##### [first_button](https://github.com/appium/ruby_lib/blob/84f71e47b86a2f7a1de71c13888adce68622a35b/lib/appium_lib/ios/xcuitest/element/button.rb#L37) ios
|
2771
2775
|
|
2772
2776
|
> def first_button
|
2773
2777
|
|
@@ -2779,7 +2783,7 @@ __Returns:__
|
|
2779
2783
|
|
2780
2784
|
--
|
2781
2785
|
|
2782
|
-
##### [last_button](https://github.com/appium/ruby_lib/blob/
|
2786
|
+
##### [last_button](https://github.com/appium/ruby_lib/blob/84f71e47b86a2f7a1de71c13888adce68622a35b/lib/appium_lib/ios/xcuitest/element/button.rb#L45) ios
|
2783
2787
|
|
2784
2788
|
> def last_button
|
2785
2789
|
|
@@ -2793,7 +2797,7 @@ __Returns:__
|
|
2793
2797
|
|
2794
2798
|
--
|
2795
2799
|
|
2796
|
-
##### [button_exact](https://github.com/appium/ruby_lib/blob/
|
2800
|
+
##### [button_exact](https://github.com/appium/ruby_lib/blob/84f71e47b86a2f7a1de71c13888adce68622a35b/lib/appium_lib/ios/xcuitest/element/button.rb#L52) ios
|
2797
2801
|
|
2798
2802
|
> def button_exact(value)
|
2799
2803
|
|
@@ -2809,7 +2813,7 @@ __Returns:__
|
|
2809
2813
|
|
2810
2814
|
--
|
2811
2815
|
|
2812
|
-
##### [buttons_exact](https://github.com/appium/ruby_lib/blob/
|
2816
|
+
##### [buttons_exact](https://github.com/appium/ruby_lib/blob/84f71e47b86a2f7a1de71c13888adce68622a35b/lib/appium_lib/ios/xcuitest/element/button.rb#L59) ios
|
2813
2817
|
|
2814
2818
|
> def buttons_exact(value)
|
2815
2819
|
|
@@ -2825,7 +2829,7 @@ __Returns:__
|
|
2825
2829
|
|
2826
2830
|
--
|
2827
2831
|
|
2828
|
-
##### [find](https://github.com/appium/ruby_lib/blob/
|
2832
|
+
##### [find](https://github.com/appium/ruby_lib/blob/84f71e47b86a2f7a1de71c13888adce68622a35b/lib/appium_lib/ios/xcuitest/element/generic.rb#L8) ios
|
2829
2833
|
|
2830
2834
|
> def find(value)
|
2831
2835
|
|
@@ -2841,7 +2845,7 @@ __Returns:__
|
|
2841
2845
|
|
2842
2846
|
--
|
2843
2847
|
|
2844
|
-
##### [finds](https://github.com/appium/ruby_lib/blob/
|
2848
|
+
##### [finds](https://github.com/appium/ruby_lib/blob/84f71e47b86a2f7a1de71c13888adce68622a35b/lib/appium_lib/ios/xcuitest/element/generic.rb#L15) ios
|
2845
2849
|
|
2846
2850
|
> def finds(value)
|
2847
2851
|
|
@@ -2857,7 +2861,7 @@ __Returns:__
|
|
2857
2861
|
|
2858
2862
|
--
|
2859
2863
|
|
2860
|
-
##### [find_exact](https://github.com/appium/ruby_lib/blob/
|
2864
|
+
##### [find_exact](https://github.com/appium/ruby_lib/blob/84f71e47b86a2f7a1de71c13888adce68622a35b/lib/appium_lib/ios/xcuitest/element/generic.rb#L23) ios
|
2861
2865
|
|
2862
2866
|
> def find_exact(value)
|
2863
2867
|
|
@@ -2873,7 +2877,7 @@ __Returns:__
|
|
2873
2877
|
|
2874
2878
|
--
|
2875
2879
|
|
2876
|
-
##### [finds_exact](https://github.com/appium/ruby_lib/blob/
|
2880
|
+
##### [finds_exact](https://github.com/appium/ruby_lib/blob/84f71e47b86a2f7a1de71c13888adce68622a35b/lib/appium_lib/ios/xcuitest/element/generic.rb#L30) ios
|
2877
2881
|
|
2878
2882
|
> def finds_exact(value)
|
2879
2883
|
|
@@ -2889,7 +2893,7 @@ __Returns:__
|
|
2889
2893
|
|
2890
2894
|
--
|
2891
2895
|
|
2892
|
-
##### [raise_error_if_no_element](https://github.com/appium/ruby_lib/blob/
|
2896
|
+
##### [raise_error_if_no_element](https://github.com/appium/ruby_lib/blob/84f71e47b86a2f7a1de71c13888adce68622a35b/lib/appium_lib/ios/xcuitest/element/generic.rb#L37) ios
|
2893
2897
|
|
2894
2898
|
> def raise_error_if_no_element(element)
|
2895
2899
|
|
@@ -2897,7 +2901,7 @@ __Returns:__
|
|
2897
2901
|
|
2898
2902
|
--
|
2899
2903
|
|
2900
|
-
##### [select_visible_elements](https://github.com/appium/ruby_lib/blob/
|
2904
|
+
##### [select_visible_elements](https://github.com/appium/ruby_lib/blob/84f71e47b86a2f7a1de71c13888adce68622a35b/lib/appium_lib/ios/xcuitest/element/generic.rb#L45) ios
|
2901
2905
|
|
2902
2906
|
> def select_visible_elements(elements)
|
2903
2907
|
|
@@ -2905,7 +2909,7 @@ Return visible elements.
|
|
2905
2909
|
|
2906
2910
|
--
|
2907
2911
|
|
2908
|
-
##### [swipe](https://github.com/appium/ruby_lib/blob/
|
2912
|
+
##### [swipe](https://github.com/appium/ruby_lib/blob/84f71e47b86a2f7a1de71c13888adce68622a35b/lib/appium_lib/ios/xcuitest/command/gestures.rb#L11) ios
|
2909
2913
|
|
2910
2914
|
> def swipe(direction:, element: nil)
|
2911
2915
|
|
@@ -2919,7 +2923,7 @@ __Parameters:__
|
|
2919
2923
|
|
2920
2924
|
--
|
2921
2925
|
|
2922
|
-
##### [scroll](https://github.com/appium/ruby_lib/blob/
|
2926
|
+
##### [scroll](https://github.com/appium/ruby_lib/blob/84f71e47b86a2f7a1de71c13888adce68622a35b/lib/appium_lib/ios/xcuitest/command/gestures.rb#L31) ios
|
2923
2927
|
|
2924
2928
|
> def scroll(direction:, # rubocop:disable Metrics/ParameterLists
|
2925
2929
|
|
@@ -2933,7 +2937,7 @@ __Parameters:__
|
|
2933
2937
|
|
2934
2938
|
--
|
2935
2939
|
|
2936
|
-
##### [pinch](https://github.com/appium/ruby_lib/blob/
|
2940
|
+
##### [pinch](https://github.com/appium/ruby_lib/blob/84f71e47b86a2f7a1de71c13888adce68622a35b/lib/appium_lib/ios/xcuitest/command/gestures.rb#L56) ios
|
2937
2941
|
|
2938
2942
|
> def pinch(scale:, velocity: 1.0, element: nil)
|
2939
2943
|
|
@@ -2949,7 +2953,7 @@ __Parameters:__
|
|
2949
2953
|
|
2950
2954
|
--
|
2951
2955
|
|
2952
|
-
##### [double_tap](https://github.com/appium/ruby_lib/blob/
|
2956
|
+
##### [double_tap](https://github.com/appium/ruby_lib/blob/84f71e47b86a2f7a1de71c13888adce68622a35b/lib/appium_lib/ios/xcuitest/command/gestures.rb#L71) ios
|
2953
2957
|
|
2954
2958
|
> def double_tap(x: nil, y: nil, element: nil) # rubocop:disable Naming/UncommunicativeMethodParamName
|
2955
2959
|
|
@@ -2965,7 +2969,7 @@ __Parameters:__
|
|
2965
2969
|
|
2966
2970
|
--
|
2967
2971
|
|
2968
|
-
##### [touch_and_hold](https://github.com/appium/ruby_lib/blob/
|
2972
|
+
##### [touch_and_hold](https://github.com/appium/ruby_lib/blob/84f71e47b86a2f7a1de71c13888adce68622a35b/lib/appium_lib/ios/xcuitest/command/gestures.rb#L88) ios
|
2969
2973
|
|
2970
2974
|
> def touch_and_hold(x: nil, y: nil, element: nil, duration: 1.0) # rubocop:disable Naming/UncommunicativeMethodParamName
|
2971
2975
|
|
@@ -2983,7 +2987,7 @@ __Parameters:__
|
|
2983
2987
|
|
2984
2988
|
--
|
2985
2989
|
|
2986
|
-
##### [two_finger_tap](https://github.com/appium/ruby_lib/blob/
|
2990
|
+
##### [two_finger_tap](https://github.com/appium/ruby_lib/blob/84f71e47b86a2f7a1de71c13888adce68622a35b/lib/appium_lib/ios/xcuitest/command/gestures.rb#L101) ios
|
2987
2991
|
|
2988
2992
|
> def two_finger_tap(element:)
|
2989
2993
|
|
@@ -2999,7 +3003,7 @@ two_finger_tap element: find_element(:accessibility_id, "some item")
|
|
2999
3003
|
|
3000
3004
|
--
|
3001
3005
|
|
3002
|
-
##### [tap](https://github.com/appium/ruby_lib/blob/
|
3006
|
+
##### [tap](https://github.com/appium/ruby_lib/blob/84f71e47b86a2f7a1de71c13888adce68622a35b/lib/appium_lib/ios/xcuitest/command/gestures.rb#L116) ios
|
3003
3007
|
|
3004
3008
|
> def tap(x:, y:, element: nil) # rubocop:disable Naming/UncommunicativeMethodParamName
|
3005
3009
|
|
@@ -3015,7 +3019,7 @@ __Parameters:__
|
|
3015
3019
|
|
3016
3020
|
--
|
3017
3021
|
|
3018
|
-
##### [drag_from_to_for_duration](https://github.com/appium/ruby_lib/blob/
|
3022
|
+
##### [drag_from_to_for_duration](https://github.com/appium/ruby_lib/blob/84f71e47b86a2f7a1de71c13888adce68622a35b/lib/appium_lib/ios/xcuitest/command/gestures.rb#L136) ios
|
3019
3023
|
|
3020
3024
|
> def drag_from_to_for_duration(from_x:, from_y:, to_x:, to_y:, duration: 1.0, element: nil)
|
3021
3025
|
|
@@ -3038,7 +3042,7 @@ drag point should be before to start dragging. Mandatory parameter
|
|
3038
3042
|
|
3039
3043
|
--
|
3040
3044
|
|
3041
|
-
##### [select_picker_wheel](https://github.com/appium/ruby_lib/blob/
|
3045
|
+
##### [select_picker_wheel](https://github.com/appium/ruby_lib/blob/84f71e47b86a2f7a1de71c13888adce68622a35b/lib/appium_lib/ios/xcuitest/command/gestures.rb#L153) ios
|
3042
3046
|
|
3043
3047
|
> def select_picker_wheel(element:, order:, offset: nil)
|
3044
3048
|
|
@@ -3055,7 +3059,7 @@ __Parameters:__
|
|
3055
3059
|
|
3056
3060
|
--
|
3057
3061
|
|
3058
|
-
##### [alert](https://github.com/appium/ruby_lib/blob/
|
3062
|
+
##### [alert](https://github.com/appium/ruby_lib/blob/84f71e47b86a2f7a1de71c13888adce68622a35b/lib/appium_lib/ios/xcuitest/command/gestures.rb#L171) ios
|
3059
3063
|
|
3060
3064
|
> def alert(action:, button_label: nil)
|
3061
3065
|
|
@@ -3080,7 +3084,7 @@ alert action: "dismiss"
|
|
3080
3084
|
|
3081
3085
|
--
|
3082
3086
|
|
3083
|
-
##### [text_field_class](https://github.com/appium/ruby_lib/blob/
|
3087
|
+
##### [text_field_class](https://github.com/appium/ruby_lib/blob/84f71e47b86a2f7a1de71c13888adce68622a35b/lib/appium_lib/ios/xcuitest/element/textfield.rb#L9) ios
|
3084
3088
|
|
3085
3089
|
> def text_field_class
|
3086
3090
|
|
@@ -3092,7 +3096,7 @@ __Returns:__
|
|
3092
3096
|
|
3093
3097
|
--
|
3094
3098
|
|
3095
|
-
##### [secure_text_field_class](https://github.com/appium/ruby_lib/blob/
|
3099
|
+
##### [secure_text_field_class](https://github.com/appium/ruby_lib/blob/84f71e47b86a2f7a1de71c13888adce68622a35b/lib/appium_lib/ios/xcuitest/element/textfield.rb#L14) ios
|
3096
3100
|
|
3097
3101
|
> def secure_text_field_class
|
3098
3102
|
|
@@ -3104,7 +3108,7 @@ __Returns:__
|
|
3104
3108
|
|
3105
3109
|
--
|
3106
3110
|
|
3107
|
-
##### [textfield](https://github.com/appium/ruby_lib/blob/
|
3111
|
+
##### [textfield](https://github.com/appium/ruby_lib/blob/84f71e47b86a2f7a1de71c13888adce68622a35b/lib/appium_lib/ios/xcuitest/element/textfield.rb#L23) ios
|
3108
3112
|
|
3109
3113
|
> def textfield(value)
|
3110
3114
|
|
@@ -3122,7 +3126,7 @@ __Returns:__
|
|
3122
3126
|
|
3123
3127
|
--
|
3124
3128
|
|
3125
|
-
##### [textfields](https://github.com/appium/ruby_lib/blob/
|
3129
|
+
##### [textfields](https://github.com/appium/ruby_lib/blob/84f71e47b86a2f7a1de71c13888adce68622a35b/lib/appium_lib/ios/xcuitest/element/textfield.rb#L43) ios
|
3126
3130
|
|
3127
3131
|
> def textfields(value = false)
|
3128
3132
|
|
@@ -3139,7 +3143,7 @@ __Returns:__
|
|
3139
3143
|
|
3140
3144
|
--
|
3141
3145
|
|
3142
|
-
##### [first_textfield](https://github.com/appium/ruby_lib/blob/
|
3146
|
+
##### [first_textfield](https://github.com/appium/ruby_lib/blob/84f71e47b86a2f7a1de71c13888adce68622a35b/lib/appium_lib/ios/xcuitest/element/textfield.rb#L52) ios
|
3143
3147
|
|
3144
3148
|
> def first_textfield
|
3145
3149
|
|
@@ -3151,7 +3155,7 @@ __Returns:__
|
|
3151
3155
|
|
3152
3156
|
--
|
3153
3157
|
|
3154
|
-
##### [last_textfield](https://github.com/appium/ruby_lib/blob/
|
3158
|
+
##### [last_textfield](https://github.com/appium/ruby_lib/blob/84f71e47b86a2f7a1de71c13888adce68622a35b/lib/appium_lib/ios/xcuitest/element/textfield.rb#L58) ios
|
3155
3159
|
|
3156
3160
|
> def last_textfield
|
3157
3161
|
|
@@ -3163,7 +3167,7 @@ __Returns:__
|
|
3163
3167
|
|
3164
3168
|
--
|
3165
3169
|
|
3166
|
-
##### [textfield_exact](https://github.com/appium/ruby_lib/blob/
|
3170
|
+
##### [textfield_exact](https://github.com/appium/ruby_lib/blob/84f71e47b86a2f7a1de71c13888adce68622a35b/lib/appium_lib/ios/xcuitest/element/textfield.rb#L68) ios
|
3167
3171
|
|
3168
3172
|
> def textfield_exact(value)
|
3169
3173
|
|
@@ -3179,7 +3183,7 @@ __Returns:__
|
|
3179
3183
|
|
3180
3184
|
--
|
3181
3185
|
|
3182
|
-
##### [textfields_exact](https://github.com/appium/ruby_lib/blob/
|
3186
|
+
##### [textfields_exact](https://github.com/appium/ruby_lib/blob/84f71e47b86a2f7a1de71c13888adce68622a35b/lib/appium_lib/ios/xcuitest/element/textfield.rb#L75) ios
|
3183
3187
|
|
3184
3188
|
> def textfields_exact(value)
|
3185
3189
|
|
@@ -3195,7 +3199,7 @@ __Returns:__
|
|
3195
3199
|
|
3196
3200
|
--
|
3197
3201
|
|
3198
|
-
##### [set_pasteboard](https://github.com/appium/ruby_lib/blob/
|
3202
|
+
##### [set_pasteboard](https://github.com/appium/ruby_lib/blob/84f71e47b86a2f7a1de71c13888adce68622a35b/lib/appium_lib/ios/xcuitest/command/pasteboard.rb#L12) ios
|
3199
3203
|
|
3200
3204
|
> def set_pasteboard(content:, encoding: nil)
|
3201
3205
|
|
@@ -3210,7 +3214,7 @@ The parameter is mandatory
|
|
3210
3214
|
|
3211
3215
|
--
|
3212
3216
|
|
3213
|
-
##### [get_pasteboard](https://github.com/appium/ruby_lib/blob/
|
3217
|
+
##### [get_pasteboard](https://github.com/appium/ruby_lib/blob/84f71e47b86a2f7a1de71c13888adce68622a35b/lib/appium_lib/ios/xcuitest/command/pasteboard.rb#L24) ios
|
3214
3218
|
|
3215
3219
|
> def get_pasteboard(encoding: nil)
|
3216
3220
|
|
@@ -3222,7 +3226,7 @@ __Parameters:__
|
|
3222
3226
|
|
3223
3227
|
--
|
3224
3228
|
|
3225
|
-
##### [install_certificate](https://github.com/appium/ruby_lib/blob/
|
3229
|
+
##### [install_certificate](https://github.com/appium/ruby_lib/blob/84f71e47b86a2f7a1de71c13888adce68622a35b/lib/appium_lib/ios/xcuitest/command/certificate.rb#L18) ios
|
3226
3230
|
|
3227
3231
|
> def install_certificate(cer_file:)
|
3228
3232
|
|
@@ -3237,7 +3241,7 @@ __Parameters:__
|
|
3237
3241
|
|
3238
3242
|
--
|
3239
3243
|
|
3240
|
-
##### [xcuitest_get_contexts](https://github.com/appium/ruby_lib/blob/
|
3244
|
+
##### [xcuitest_get_contexts](https://github.com/appium/ruby_lib/blob/84f71e47b86a2f7a1de71c13888adce68622a35b/lib/appium_lib/ios/xcuitest/command/get_context.rb#L14) ios
|
3241
3245
|
|
3242
3246
|
> def xcuitest_get_contexts
|
3243
3247
|
|
@@ -3245,7 +3249,7 @@ Get contexts
|
|
3245
3249
|
|
3246
3250
|
--
|
3247
3251
|
|
3248
|
-
##### [xcuitest_install_app](https://github.com/appium/ruby_lib/blob/
|
3252
|
+
##### [xcuitest_install_app](https://github.com/appium/ruby_lib/blob/84f71e47b86a2f7a1de71c13888adce68622a35b/lib/appium_lib/ios/xcuitest/command/multi_app_handler.rb#L21) ios
|
3249
3253
|
|
3250
3254
|
> def xcuitest_install_app(app:)
|
3251
3255
|
|
@@ -3265,7 +3269,7 @@ __Returns:__
|
|
3265
3269
|
|
3266
3270
|
--
|
3267
3271
|
|
3268
|
-
##### [xcuitest_app_installed?](https://github.com/appium/ruby_lib/blob/
|
3272
|
+
##### [xcuitest_app_installed?](https://github.com/appium/ruby_lib/blob/84f71e47b86a2f7a1de71c13888adce68622a35b/lib/appium_lib/ios/xcuitest/command/multi_app_handler.rb#L35) ios
|
3269
3273
|
|
3270
3274
|
> def xcuitest_app_installed?(bundle_id:)
|
3271
3275
|
|
@@ -3281,7 +3285,7 @@ __Returns:__
|
|
3281
3285
|
|
3282
3286
|
--
|
3283
3287
|
|
3284
|
-
##### [xcuitest_remove_app](https://github.com/appium/ruby_lib/blob/
|
3288
|
+
##### [xcuitest_remove_app](https://github.com/appium/ruby_lib/blob/84f71e47b86a2f7a1de71c13888adce68622a35b/lib/appium_lib/ios/xcuitest/command/multi_app_handler.rb#L50) ios
|
3285
3289
|
|
3286
3290
|
> def xcuitest_remove_app(bundle_id:)
|
3287
3291
|
|
@@ -3298,7 +3302,7 @@ __Returns:__
|
|
3298
3302
|
|
3299
3303
|
--
|
3300
3304
|
|
3301
|
-
##### [xcuitest_launch_app](https://github.com/appium/ruby_lib/blob/
|
3305
|
+
##### [xcuitest_launch_app](https://github.com/appium/ruby_lib/blob/84f71e47b86a2f7a1de71c13888adce68622a35b/lib/appium_lib/ios/xcuitest/command/multi_app_handler.rb#L65) ios
|
3302
3306
|
|
3303
3307
|
> def xcuitest_launch_app(bundle_id:)
|
3304
3308
|
|
@@ -3315,7 +3319,7 @@ __Returns:__
|
|
3315
3319
|
|
3316
3320
|
--
|
3317
3321
|
|
3318
|
-
##### [xcuitest_terminate_app](https://github.com/appium/ruby_lib/blob/
|
3322
|
+
##### [xcuitest_terminate_app](https://github.com/appium/ruby_lib/blob/84f71e47b86a2f7a1de71c13888adce68622a35b/lib/appium_lib/ios/xcuitest/command/multi_app_handler.rb#L80) ios
|
3319
3323
|
|
3320
3324
|
> def xcuitest_terminate_app(bundle_id:)
|
3321
3325
|
|
@@ -3332,7 +3336,7 @@ __Returns:__
|
|
3332
3336
|
|
3333
3337
|
--
|
3334
3338
|
|
3335
|
-
##### [xcuitest_query_app_status](https://github.com/appium/ruby_lib/blob/
|
3339
|
+
##### [xcuitest_query_app_status](https://github.com/appium/ruby_lib/blob/84f71e47b86a2f7a1de71c13888adce68622a35b/lib/appium_lib/ios/xcuitest/command/multi_app_handler.rb#L102) ios
|
3336
3340
|
|
3337
3341
|
> def xcuitest_query_app_status(bundle_id:)
|
3338
3342
|
|
@@ -3356,7 +3360,7 @@ __Returns:__
|
|
3356
3360
|
|
3357
3361
|
--
|
3358
3362
|
|
3359
|
-
##### [xcuitest_activate_app](https://github.com/appium/ruby_lib/blob/
|
3363
|
+
##### [xcuitest_activate_app](https://github.com/appium/ruby_lib/blob/84f71e47b86a2f7a1de71c13888adce68622a35b/lib/appium_lib/ios/xcuitest/command/multi_app_handler.rb#L118) ios
|
3360
3364
|
|
3361
3365
|
> def xcuitest_activate_app(bundle_id:)
|
3362
3366
|
|