appium_lib 9.18.0 → 10.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +19 -0
- data/appium_lib.gemspec +1 -1
- data/docs/android_docs.md +209 -213
- data/docs/ios_docs.md +253 -257
- data/lib/appium_lib/driver.rb +0 -1
- data/lib/appium_lib/ios/xcuitest/command/gestures.rb +3 -6
- data/lib/appium_lib/version.rb +2 -2
- data/release_notes.md +8 -0
- metadata +4 -4
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/4e4ec298096f13f60db51bda2019c8e12a0d0c25/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/4e4ec298096f13f60db51bda2019c8e12a0d0c25/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/4e4ec298096f13f60db51bda2019c8e12a0d0c25/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/4e4ec298096f13f60db51bda2019c8e12a0d0c25/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/4e4ec298096f13f60db51bda2019c8e12a0d0c25/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/4e4ec298096f13f60db51bda2019c8e12a0d0c25/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/4e4ec298096f13f60db51bda2019c8e12a0d0c25/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/4e4ec298096f13f60db51bda2019c8e12a0d0c25/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/4e4ec298096f13f60db51bda2019c8e12a0d0c25/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/4e4ec298096f13f60db51bda2019c8e12a0d0c25/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/4e4ec298096f13f60db51bda2019c8e12a0d0c25/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/4e4ec298096f13f60db51bda2019c8e12a0d0c25/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/4e4ec298096f13f60db51bda2019c8e12a0d0c25/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/4e4ec298096f13f60db51bda2019c8e12a0d0c25/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/4e4ec298096f13f60db51bda2019c8e12a0d0c25/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/4e4ec298096f13f60db51bda2019c8e12a0d0c25/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/4e4ec298096f13f60db51bda2019c8e12a0d0c25/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/4e4ec298096f13f60db51bda2019c8e12a0d0c25/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/4e4ec298096f13f60db51bda2019c8e12a0d0c25/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/4e4ec298096f13f60db51bda2019c8e12a0d0c25/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/4e4ec298096f13f60db51bda2019c8e12a0d0c25/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/4e4ec298096f13f60db51bda2019c8e12a0d0c25/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/4e4ec298096f13f60db51bda2019c8e12a0d0c25/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/4e4ec298096f13f60db51bda2019c8e12a0d0c25/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/4e4ec298096f13f60db51bda2019c8e12a0d0c25/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/4e4ec298096f13f60db51bda2019c8e12a0d0c25/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/4e4ec298096f13f60db51bda2019c8e12a0d0c25/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/4e4ec298096f13f60db51bda2019c8e12a0d0c25/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/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/driver.rb#L259) 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/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/driver.rb#L281) 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/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/driver.rb#L285) 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/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/driver.rb#L289) 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/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/driver.rb#L295) 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/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/driver.rb#L301) 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/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/driver.rb#L307) 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/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/driver.rb#L327) common
|
403
403
|
|
404
404
|
> def dialect
|
405
405
|
|
@@ -421,24 +421,20 @@ __Returns:__
|
|
421
421
|
|
422
422
|
--
|
423
423
|
|
424
|
-
##### [action](https://github.com/appium/ruby_lib/blob/
|
424
|
+
##### [action](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/driver.rb#L341) common
|
425
425
|
|
426
426
|
> def action
|
427
427
|
|
428
428
|
An entry point to chain W3C actions. Returns `TouchAction.new` if it works as MJSONWP instead of W3C action.
|
429
429
|
Read https://www.rubydoc.info/github/appium/ruby_lib_core/Appium/Core/Base/Bridge/W3C#action-instance_method
|
430
430
|
|
431
|
-
__Parameters:__
|
432
|
-
|
433
|
-
[bool] async - Run actions async
|
434
|
-
|
435
431
|
__Returns:__
|
436
432
|
|
437
433
|
[TouchAction|Selenium::WebDriver::PointerActions]
|
438
434
|
|
439
435
|
--
|
440
436
|
|
441
|
-
##### [appium_server_version](https://github.com/appium/ruby_lib/blob/
|
437
|
+
##### [appium_server_version](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/driver.rb#L361) common
|
442
438
|
|
443
439
|
> def appium_server_version
|
444
440
|
|
@@ -450,7 +446,7 @@ __Returns:__
|
|
450
446
|
|
451
447
|
--
|
452
448
|
|
453
|
-
##### [remote_status](https://github.com/appium/ruby_lib/blob/
|
449
|
+
##### [remote_status](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/driver.rb#L369) common
|
454
450
|
|
455
451
|
> def appium_server_version
|
456
452
|
|
@@ -462,7 +458,7 @@ __Returns:__
|
|
462
458
|
|
463
459
|
--
|
464
460
|
|
465
|
-
##### [platform_version](https://github.com/appium/ruby_lib/blob/
|
461
|
+
##### [platform_version](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/driver.rb#L373) common
|
466
462
|
|
467
463
|
> def platform_version
|
468
464
|
|
@@ -474,7 +470,7 @@ __Returns:__
|
|
474
470
|
|
475
471
|
--
|
476
472
|
|
477
|
-
##### [appium_client_version](https://github.com/appium/ruby_lib/blob/
|
473
|
+
##### [appium_client_version](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/driver.rb#L386) common
|
478
474
|
|
479
475
|
> def appium_client_version
|
480
476
|
|
@@ -486,7 +482,7 @@ __Returns:__
|
|
486
482
|
|
487
483
|
--
|
488
484
|
|
489
|
-
##### [absolute_app_path](https://github.com/appium/ruby_lib/blob/
|
485
|
+
##### [absolute_app_path](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/driver.rb#L398) common
|
490
486
|
|
491
487
|
> def self.absolute_app_path(opts)
|
492
488
|
|
@@ -503,7 +499,7 @@ __Returns:__
|
|
503
499
|
|
504
500
|
--
|
505
501
|
|
506
|
-
##### [server_url](https://github.com/appium/ruby_lib/blob/
|
502
|
+
##### [server_url](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/driver.rb#L421) common
|
507
503
|
|
508
504
|
> def server_url
|
509
505
|
|
@@ -515,7 +511,7 @@ __Returns:__
|
|
515
511
|
|
516
512
|
--
|
517
513
|
|
518
|
-
##### [restart](https://github.com/appium/ruby_lib/blob/
|
514
|
+
##### [restart](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/driver.rb#L430) common
|
519
515
|
|
520
516
|
> def restart
|
521
517
|
|
@@ -527,7 +523,7 @@ __Returns:__
|
|
527
523
|
|
528
524
|
--
|
529
525
|
|
530
|
-
##### [screenshot](https://github.com/appium/ruby_lib/blob/
|
526
|
+
##### [screenshot](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/driver.rb#L443) common
|
531
527
|
|
532
528
|
> def screenshot(png_save_path)
|
533
529
|
|
@@ -543,7 +539,7 @@ __Returns:__
|
|
543
539
|
|
544
540
|
--
|
545
541
|
|
546
|
-
##### [element_screenshot](https://github.com/appium/ruby_lib/blob/
|
542
|
+
##### [element_screenshot](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/driver.rb#L457) common
|
547
543
|
|
548
544
|
> def element_screenshot(element, png_save_path)
|
549
545
|
|
@@ -561,7 +557,7 @@ __Returns:__
|
|
561
557
|
|
562
558
|
--
|
563
559
|
|
564
|
-
##### [driver_quit](https://github.com/appium/ruby_lib/blob/
|
560
|
+
##### [driver_quit](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/driver.rb#L464) common
|
565
561
|
|
566
562
|
> def driver_quit
|
567
563
|
|
@@ -573,7 +569,7 @@ __Returns:__
|
|
573
569
|
|
574
570
|
--
|
575
571
|
|
576
|
-
##### [quit_driver](https://github.com/appium/ruby_lib/blob/
|
572
|
+
##### [quit_driver](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/driver.rb#L467) common
|
577
573
|
|
578
574
|
> def driver_quit
|
579
575
|
|
@@ -585,7 +581,7 @@ __Returns:__
|
|
585
581
|
|
586
582
|
--
|
587
583
|
|
588
|
-
##### [window_size](https://github.com/appium/ruby_lib/blob/
|
584
|
+
##### [window_size](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/driver.rb#L478) common
|
589
585
|
|
590
586
|
> def window_size
|
591
587
|
|
@@ -597,7 +593,7 @@ __Returns:__
|
|
597
593
|
|
598
594
|
--
|
599
595
|
|
600
|
-
##### [window_rect](https://github.com/appium/ruby_lib/blob/
|
596
|
+
##### [window_rect](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/driver.rb#L493) common
|
601
597
|
|
602
598
|
> def window_rect
|
603
599
|
|
@@ -609,7 +605,7 @@ __Returns:__
|
|
609
605
|
|
610
606
|
--
|
611
607
|
|
612
|
-
##### [start_driver](https://github.com/appium/ruby_lib/blob/
|
608
|
+
##### [start_driver](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/driver.rb#L526) common
|
613
609
|
|
614
610
|
> def start_driver(http_client_ops =
|
615
611
|
|
@@ -629,7 +625,7 @@ __Returns:__
|
|
629
625
|
|
630
626
|
--
|
631
627
|
|
632
|
-
##### [set_implicit_wait](https://github.com/appium/ruby_lib/blob/
|
628
|
+
##### [set_implicit_wait](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/driver.rb#L547) common
|
633
629
|
|
634
630
|
> def set_implicit_wait(wait)
|
635
631
|
|
@@ -637,7 +633,7 @@ To ignore error for Espresso Driver
|
|
637
633
|
|
638
634
|
--
|
639
635
|
|
640
|
-
##### [no_wait](https://github.com/appium/ruby_lib/blob/
|
636
|
+
##### [no_wait](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/driver.rb#L558) common
|
641
637
|
|
642
638
|
> def no_wait
|
643
639
|
|
@@ -645,7 +641,7 @@ Set implicit wait to zero.
|
|
645
641
|
|
646
642
|
--
|
647
643
|
|
648
|
-
##### [set_wait](https://github.com/appium/ruby_lib/blob/
|
644
|
+
##### [set_wait](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/driver.rb#L572) common
|
649
645
|
|
650
646
|
> def set_wait(timeout = nil)
|
651
647
|
|
@@ -661,7 +657,7 @@ __Returns:__
|
|
661
657
|
|
662
658
|
--
|
663
659
|
|
664
|
-
##### [exists](https://github.com/appium/ruby_lib/blob/
|
660
|
+
##### [exists](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/driver.rb#L589) common
|
665
661
|
|
666
662
|
> def exists(pre_check = 0, post_check = @core.default_wait)
|
667
663
|
|
@@ -685,7 +681,7 @@ __Returns:__
|
|
685
681
|
|
686
682
|
--
|
687
683
|
|
688
|
-
##### [execute_script](https://github.com/appium/ruby_lib/blob/
|
684
|
+
##### [execute_script](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/driver.rb#L613) common
|
689
685
|
|
690
686
|
> def execute_script(script, *args)
|
691
687
|
|
@@ -703,7 +699,7 @@ __Returns:__
|
|
703
699
|
|
704
700
|
--
|
705
701
|
|
706
|
-
##### [execute_async_script](https://github.com/appium/ruby_lib/blob/
|
702
|
+
##### [execute_async_script](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/driver.rb#L621) common
|
707
703
|
|
708
704
|
> def execute_async_script(script, *args)
|
709
705
|
|
@@ -713,7 +709,7 @@ Get the window handles of open browser windows
|
|
713
709
|
|
714
710
|
--
|
715
711
|
|
716
|
-
##### [window_handles](https://github.com/appium/ruby_lib/blob/
|
712
|
+
##### [window_handles](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/driver.rb#L625) common
|
717
713
|
|
718
714
|
> def window_handles
|
719
715
|
|
@@ -721,7 +717,7 @@ Get the window handles of open browser windows
|
|
721
717
|
|
722
718
|
--
|
723
719
|
|
724
|
-
##### [window_handle](https://github.com/appium/ruby_lib/blob/
|
720
|
+
##### [window_handle](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/driver.rb#L630) common
|
725
721
|
|
726
722
|
> def window_handle
|
727
723
|
|
@@ -729,7 +725,7 @@ Get the current window handle
|
|
729
725
|
|
730
726
|
--
|
731
727
|
|
732
|
-
##### [navigate](https://github.com/appium/ruby_lib/blob/
|
728
|
+
##### [navigate](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/driver.rb#L634) common
|
733
729
|
|
734
730
|
> def navigate
|
735
731
|
|
@@ -737,7 +733,7 @@ Get the current window handle
|
|
737
733
|
|
738
734
|
--
|
739
735
|
|
740
|
-
##### [manage](https://github.com/appium/ruby_lib/blob/
|
736
|
+
##### [manage](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/driver.rb#L638) common
|
741
737
|
|
742
738
|
> def manage
|
743
739
|
|
@@ -745,7 +741,7 @@ Get the current window handle
|
|
745
741
|
|
746
742
|
--
|
747
743
|
|
748
|
-
##### [get](https://github.com/appium/ruby_lib/blob/
|
744
|
+
##### [get](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/driver.rb#L642) common
|
749
745
|
|
750
746
|
> def get(url)
|
751
747
|
|
@@ -753,7 +749,7 @@ Get the current window handle
|
|
753
749
|
|
754
750
|
--
|
755
751
|
|
756
|
-
##### [current_url](https://github.com/appium/ruby_lib/blob/
|
752
|
+
##### [current_url](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/driver.rb#L646) common
|
757
753
|
|
758
754
|
> def current_url
|
759
755
|
|
@@ -761,7 +757,7 @@ Get the current window handle
|
|
761
757
|
|
762
758
|
--
|
763
759
|
|
764
|
-
##### [title](https://github.com/appium/ruby_lib/blob/
|
760
|
+
##### [title](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/driver.rb#L650) common
|
765
761
|
|
766
762
|
> def title
|
767
763
|
|
@@ -769,7 +765,7 @@ Get the current window handle
|
|
769
765
|
|
770
766
|
--
|
771
767
|
|
772
|
-
##### [switch_to](https://github.com/appium/ruby_lib/blob/
|
768
|
+
##### [switch_to](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/driver.rb#L656) common
|
773
769
|
|
774
770
|
> def switch_to
|
775
771
|
|
@@ -781,7 +777,7 @@ __Returns:__
|
|
781
777
|
|
782
778
|
--
|
783
779
|
|
784
|
-
##### [find_elements](https://github.com/appium/ruby_lib/blob/
|
780
|
+
##### [find_elements](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/driver.rb#L683) common
|
785
781
|
|
786
782
|
> def find_elements(*args)
|
787
783
|
|
@@ -801,7 +797,7 @@ __Returns:__
|
|
801
797
|
|
802
798
|
--
|
803
799
|
|
804
|
-
##### [find_element](https://github.com/appium/ruby_lib/blob/
|
800
|
+
##### [find_element](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/driver.rb#L699) common
|
805
801
|
|
806
802
|
> def find_element(*args)
|
807
803
|
|
@@ -819,7 +815,7 @@ __Returns:__
|
|
819
815
|
|
820
816
|
--
|
821
817
|
|
822
|
-
##### [DEFAULT_MATCH_THRESHOLD](https://github.com/appium/ruby_lib/blob/
|
818
|
+
##### [DEFAULT_MATCH_THRESHOLD](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/driver.rb#L717) common
|
823
819
|
|
824
820
|
> DEFAULT_MATCH_THRESHOLD = 0.5
|
825
821
|
|
@@ -840,7 +836,7 @@ __Returns:__
|
|
840
836
|
|
841
837
|
--
|
842
838
|
|
843
|
-
##### [find_element_by_image](https://github.com/appium/ruby_lib/blob/
|
839
|
+
##### [find_element_by_image](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/driver.rb#L718) common
|
844
840
|
|
845
841
|
> def find_element_by_image(png_img_path, match_threshold: DEFAULT_MATCH_THRESHOLD, visualize: false)
|
846
842
|
|
@@ -848,7 +844,7 @@ __Returns:__
|
|
848
844
|
|
849
845
|
--
|
850
846
|
|
851
|
-
##### [find_elements_by_image](https://github.com/appium/ruby_lib/blob/
|
847
|
+
##### [find_elements_by_image](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/driver.rb#L736) common
|
852
848
|
|
853
849
|
> def find_elements_by_image(png_img_paths, match_threshold: DEFAULT_MATCH_THRESHOLD, visualize: false)
|
854
850
|
|
@@ -869,7 +865,7 @@ __Returns:__
|
|
869
865
|
|
870
866
|
--
|
871
867
|
|
872
|
-
##### [set_location](https://github.com/appium/ruby_lib/blob/
|
868
|
+
##### [set_location](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/driver.rb#L749) common
|
873
869
|
|
874
870
|
> def set_location(opts = {})
|
875
871
|
|
@@ -885,7 +881,7 @@ __Returns:__
|
|
885
881
|
|
886
882
|
--
|
887
883
|
|
888
|
-
##### [x](https://github.com/appium/ruby_lib/blob/
|
884
|
+
##### [x](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/driver.rb#L759) common
|
889
885
|
|
890
886
|
> def x
|
891
887
|
|
@@ -898,7 +894,7 @@ __Returns:__
|
|
898
894
|
|
899
895
|
--
|
900
896
|
|
901
|
-
##### [username](https://github.com/appium/ruby_lib/blob/
|
897
|
+
##### [username](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/sauce_labs.rb#L4) common
|
902
898
|
|
903
899
|
> def username
|
904
900
|
|
@@ -906,7 +902,7 @@ Username for use on Sauce Labs. Set `false` to disable Sauce, even when SAUCE_US
|
|
906
902
|
|
907
903
|
--
|
908
904
|
|
909
|
-
##### [access_key](https://github.com/appium/ruby_lib/blob/
|
905
|
+
##### [access_key](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/sauce_labs.rb#L6) common
|
910
906
|
|
911
907
|
> def access_key
|
912
908
|
|
@@ -914,7 +910,7 @@ Access Key for use on Sauce Labs. Set `false` to disable Sauce, even when SAUCE_
|
|
914
910
|
|
915
911
|
--
|
916
912
|
|
917
|
-
##### [endpoint](https://github.com/appium/ruby_lib/blob/
|
913
|
+
##### [endpoint](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/sauce_labs.rb#L8) common
|
918
914
|
|
919
915
|
> def endpoint
|
920
916
|
|
@@ -922,7 +918,7 @@ Override the Sauce Appium endpoint to allow e.g. TestObject tests. Default is 'o
|
|
922
918
|
|
923
919
|
--
|
924
920
|
|
925
|
-
##### [initialize](https://github.com/appium/ruby_lib/blob/
|
921
|
+
##### [initialize](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/sauce_labs.rb#L33) common
|
926
922
|
|
927
923
|
> def initialize(appium_lib_opts)
|
928
924
|
|
@@ -938,7 +934,7 @@ __Returns:__
|
|
938
934
|
|
939
935
|
--
|
940
936
|
|
941
|
-
##### [sauce_server_url?](https://github.com/appium/ruby_lib/blob/
|
937
|
+
##### [sauce_server_url?](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/sauce_labs.rb#L53) common
|
942
938
|
|
943
939
|
> def sauce_server_url?
|
944
940
|
|
@@ -950,7 +946,7 @@ __Returns:__
|
|
950
946
|
|
951
947
|
--
|
952
948
|
|
953
|
-
##### [server_url](https://github.com/appium/ruby_lib/blob/
|
949
|
+
##### [server_url](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/sauce_labs.rb#L66) common
|
954
950
|
|
955
951
|
> def server_url
|
956
952
|
|
@@ -962,7 +958,7 @@ __Returns:__
|
|
962
958
|
|
963
959
|
--
|
964
960
|
|
965
|
-
##### [get_log](https://github.com/appium/ruby_lib/blob/
|
961
|
+
##### [get_log](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/common/log.rb#L11) common
|
966
962
|
|
967
963
|
> def get_log(type)
|
968
964
|
|
@@ -978,7 +974,7 @@ __Returns:__
|
|
978
974
|
|
979
975
|
--
|
980
976
|
|
981
|
-
##### [get_available_log_types](https://github.com/appium/ruby_lib/blob/
|
977
|
+
##### [get_available_log_types](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/common/log.rb#L23) common
|
982
978
|
|
983
979
|
> def get_available_log_types
|
984
980
|
|
@@ -990,7 +986,7 @@ __Returns:__
|
|
990
986
|
|
991
987
|
--
|
992
988
|
|
993
|
-
##### [wait_true](https://github.com/appium/ruby_lib/blob/
|
989
|
+
##### [wait_true](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/common/wait.rb#L30) common
|
994
990
|
|
995
991
|
> def wait_true(opts = {})
|
996
992
|
|
@@ -1010,7 +1006,7 @@ __Parameters:__
|
|
1010
1006
|
|
1011
1007
|
--
|
1012
1008
|
|
1013
|
-
##### [wait](https://github.com/appium/ruby_lib/blob/
|
1009
|
+
##### [wait](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/common/wait.rb#L59) common
|
1014
1010
|
|
1015
1011
|
> def wait(opts = {})
|
1016
1012
|
|
@@ -1028,7 +1024,7 @@ __Parameters:__
|
|
1028
1024
|
|
1029
1025
|
--
|
1030
1026
|
|
1031
|
-
##### [add_touch_actions](https://github.com/appium/ruby_lib/blob/
|
1027
|
+
##### [add_touch_actions](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/common/device.rb#L12) common
|
1032
1028
|
|
1033
1029
|
> def add_touch_actions
|
1034
1030
|
|
@@ -1036,7 +1032,7 @@ __Parameters:__
|
|
1036
1032
|
|
1037
1033
|
--
|
1038
1034
|
|
1039
|
-
##### [delegate_from_appium_driver](https://github.com/appium/ruby_lib/blob/
|
1035
|
+
##### [delegate_from_appium_driver](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/common/device.rb#L24) common
|
1040
1036
|
|
1041
1037
|
> def delegate_from_appium_driver(method, delegation_target)
|
1042
1038
|
|
@@ -1044,7 +1040,7 @@ __Parameters:__
|
|
1044
1040
|
|
1045
1041
|
--
|
1046
1042
|
|
1047
|
-
##### [ignore](https://github.com/appium/ruby_lib/blob/
|
1043
|
+
##### [ignore](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/common/helper.rb#L16) common
|
1048
1044
|
|
1049
1045
|
> def ignore
|
1050
1046
|
|
@@ -1052,7 +1048,7 @@ Return yield and ignore any exceptions.
|
|
1052
1048
|
|
1053
1049
|
--
|
1054
1050
|
|
1055
|
-
##### [back](https://github.com/appium/ruby_lib/blob/
|
1051
|
+
##### [back](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/common/helper.rb#L23) common
|
1056
1052
|
|
1057
1053
|
> def back
|
1058
1054
|
|
@@ -1064,7 +1060,7 @@ __Returns:__
|
|
1064
1060
|
|
1065
1061
|
--
|
1066
1062
|
|
1067
|
-
##### [session_id](https://github.com/appium/ruby_lib/blob/
|
1063
|
+
##### [session_id](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/common/helper.rb#L34) common
|
1068
1064
|
|
1069
1065
|
> def session_id
|
1070
1066
|
|
@@ -1076,7 +1072,7 @@ __Returns:__
|
|
1076
1072
|
|
1077
1073
|
--
|
1078
1074
|
|
1079
|
-
##### [xpath](https://github.com/appium/ruby_lib/blob/
|
1075
|
+
##### [xpath](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/common/helper.rb#L42) common
|
1080
1076
|
|
1081
1077
|
> def xpath(xpath_str)
|
1082
1078
|
|
@@ -1092,7 +1088,7 @@ __Returns:__
|
|
1092
1088
|
|
1093
1089
|
--
|
1094
1090
|
|
1095
|
-
##### [xpaths](https://github.com/appium/ruby_lib/blob/
|
1091
|
+
##### [xpaths](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/common/helper.rb#L50) common
|
1096
1092
|
|
1097
1093
|
> def xpaths(xpath_str)
|
1098
1094
|
|
@@ -1108,7 +1104,7 @@ __Returns:__
|
|
1108
1104
|
|
1109
1105
|
--
|
1110
1106
|
|
1111
|
-
##### [result](https://github.com/appium/ruby_lib/blob/
|
1107
|
+
##### [result](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/common/helper.rb#L60) common
|
1112
1108
|
|
1113
1109
|
> def result
|
1114
1110
|
|
@@ -1116,7 +1112,7 @@ Returns the value of attribute result
|
|
1116
1112
|
|
1117
1113
|
--
|
1118
1114
|
|
1119
|
-
##### [initialize](https://github.com/appium/ruby_lib/blob/
|
1115
|
+
##### [initialize](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/common/helper.rb#L62) common
|
1120
1116
|
|
1121
1117
|
> def initialize(platform)
|
1122
1118
|
|
@@ -1128,7 +1124,7 @@ __Returns:__
|
|
1128
1124
|
|
1129
1125
|
--
|
1130
1126
|
|
1131
|
-
##### [reset](https://github.com/appium/ruby_lib/blob/
|
1127
|
+
##### [reset](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/common/helper.rb#L67) common
|
1132
1128
|
|
1133
1129
|
> def reset
|
1134
1130
|
|
@@ -1136,7 +1132,7 @@ __Returns:__
|
|
1136
1132
|
|
1137
1133
|
--
|
1138
1134
|
|
1139
|
-
##### [start_element](https://github.com/appium/ruby_lib/blob/
|
1135
|
+
##### [start_element](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/common/helper.rb#L72) common
|
1140
1136
|
|
1141
1137
|
> def start_element(name, attrs = [])
|
1142
1138
|
|
@@ -1144,7 +1140,7 @@ http://nokogiri.org/Nokogiri/XML/SAX/Document.html
|
|
1144
1140
|
|
1145
1141
|
--
|
1146
1142
|
|
1147
|
-
##### [formatted_result](https://github.com/appium/ruby_lib/blob/
|
1143
|
+
##### [formatted_result](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/common/helper.rb#L83) common
|
1148
1144
|
|
1149
1145
|
> def formatted_result
|
1150
1146
|
|
@@ -1152,7 +1148,7 @@ http://nokogiri.org/Nokogiri/XML/SAX/Document.html
|
|
1152
1148
|
|
1153
1149
|
--
|
1154
1150
|
|
1155
|
-
##### [get_page_class](https://github.com/appium/ruby_lib/blob/
|
1151
|
+
##### [get_page_class](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/common/helper.rb#L101) common
|
1156
1152
|
|
1157
1153
|
> def get_page_class
|
1158
1154
|
|
@@ -1164,7 +1160,7 @@ __Returns:__
|
|
1164
1160
|
|
1165
1161
|
--
|
1166
1162
|
|
1167
|
-
##### [page_class](https://github.com/appium/ruby_lib/blob/
|
1163
|
+
##### [page_class](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/common/helper.rb#L126) common
|
1168
1164
|
|
1169
1165
|
> def page_class
|
1170
1166
|
|
@@ -1177,7 +1173,7 @@ __Returns:__
|
|
1177
1173
|
|
1178
1174
|
--
|
1179
1175
|
|
1180
|
-
##### [source](https://github.com/appium/ruby_lib/blob/
|
1176
|
+
##### [source](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/common/helper.rb#L133) common
|
1181
1177
|
|
1182
1178
|
> def source
|
1183
1179
|
|
@@ -1189,7 +1185,7 @@ __Returns:__
|
|
1189
1185
|
|
1190
1186
|
--
|
1191
1187
|
|
1192
|
-
##### [get_source](https://github.com/appium/ruby_lib/blob/
|
1188
|
+
##### [get_source](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/common/helper.rb#L140) common
|
1193
1189
|
|
1194
1190
|
> def get_source
|
1195
1191
|
|
@@ -1202,7 +1198,7 @@ __Returns:__
|
|
1202
1198
|
|
1203
1199
|
--
|
1204
1200
|
|
1205
|
-
##### [px_to_window_rel](https://github.com/appium/ruby_lib/blob/
|
1201
|
+
##### [px_to_window_rel](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/common/helper.rb#L150) common
|
1206
1202
|
|
1207
1203
|
> def px_to_window_rel(opts = {}, driver = $driver)
|
1208
1204
|
|
@@ -1210,7 +1206,7 @@ Converts pixel values to window relative values
|
|
1210
1206
|
|
1211
1207
|
--
|
1212
1208
|
|
1213
|
-
##### [xml_keys](https://github.com/appium/ruby_lib/blob/
|
1209
|
+
##### [xml_keys](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/common/helper.rb#L169) common
|
1214
1210
|
|
1215
1211
|
> def xml_keys(target)
|
1216
1212
|
|
@@ -1226,7 +1222,7 @@ __Returns:__
|
|
1226
1222
|
|
1227
1223
|
--
|
1228
1224
|
|
1229
|
-
##### [xml_values](https://github.com/appium/ruby_lib/blob/
|
1225
|
+
##### [xml_values](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/common/helper.rb#L177) common
|
1230
1226
|
|
1231
1227
|
> def xml_values(target)
|
1232
1228
|
|
@@ -1242,7 +1238,7 @@ __Returns:__
|
|
1242
1238
|
|
1243
1239
|
--
|
1244
1240
|
|
1245
|
-
##### [resolve_id](https://github.com/appium/ruby_lib/blob/
|
1241
|
+
##### [resolve_id](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/common/helper.rb#L185) common
|
1246
1242
|
|
1247
1243
|
> def resolve_id(id)
|
1248
1244
|
|
@@ -1258,7 +1254,7 @@ __Returns:__
|
|
1258
1254
|
|
1259
1255
|
--
|
1260
1256
|
|
1261
|
-
##### [filter](https://github.com/appium/ruby_lib/blob/
|
1257
|
+
##### [filter](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/common/helper.rb#L192) common
|
1262
1258
|
|
1263
1259
|
> def filter
|
1264
1260
|
|
@@ -1266,7 +1262,7 @@ Returns the value of attribute filter
|
|
1266
1262
|
|
1267
1263
|
--
|
1268
1264
|
|
1269
|
-
##### [filter=](https://github.com/appium/ruby_lib/blob/
|
1265
|
+
##### [filter=](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/common/helper.rb#L195) common
|
1270
1266
|
|
1271
1267
|
> def filter=(value)
|
1272
1268
|
|
@@ -1274,7 +1270,7 @@ convert to string to support symbols
|
|
1274
1270
|
|
1275
1271
|
--
|
1276
1272
|
|
1277
|
-
##### [initialize](https://github.com/appium/ruby_lib/blob/
|
1273
|
+
##### [initialize](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/common/helper.rb#L202) common
|
1278
1274
|
|
1279
1275
|
> def initialize
|
1280
1276
|
|
@@ -1286,7 +1282,7 @@ __Returns:__
|
|
1286
1282
|
|
1287
1283
|
--
|
1288
1284
|
|
1289
|
-
##### [reset](https://github.com/appium/ruby_lib/blob/
|
1285
|
+
##### [reset](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/common/helper.rb#L207) common
|
1290
1286
|
|
1291
1287
|
> def reset
|
1292
1288
|
|
@@ -1294,7 +1290,7 @@ __Returns:__
|
|
1294
1290
|
|
1295
1291
|
--
|
1296
1292
|
|
1297
|
-
##### [result](https://github.com/appium/ruby_lib/blob/
|
1293
|
+
##### [result](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/common/helper.rb#L213) common
|
1298
1294
|
|
1299
1295
|
> def result
|
1300
1296
|
|
@@ -1302,7 +1298,7 @@ __Returns:__
|
|
1302
1298
|
|
1303
1299
|
--
|
1304
1300
|
|
1305
|
-
##### [start_element](https://github.com/appium/ruby_lib/blob/
|
1301
|
+
##### [start_element](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/common/helper.rb#L226) common
|
1306
1302
|
|
1307
1303
|
> def start_element(name, attrs = [])
|
1308
1304
|
|
@@ -1310,7 +1306,7 @@ __Returns:__
|
|
1310
1306
|
|
1311
1307
|
--
|
1312
1308
|
|
1313
|
-
##### [end_element](https://github.com/appium/ruby_lib/blob/
|
1309
|
+
##### [end_element](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/common/helper.rb#L236) common
|
1314
1310
|
|
1315
1311
|
> def end_element(name)
|
1316
1312
|
|
@@ -1318,7 +1314,7 @@ __Returns:__
|
|
1318
1314
|
|
1319
1315
|
--
|
1320
1316
|
|
1321
|
-
##### [characters](https://github.com/appium/ruby_lib/blob/
|
1317
|
+
##### [characters](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/common/helper.rb#L243) common
|
1322
1318
|
|
1323
1319
|
> def characters(chars)
|
1324
1320
|
|
@@ -1326,7 +1322,7 @@ __Returns:__
|
|
1326
1322
|
|
1327
1323
|
--
|
1328
1324
|
|
1329
|
-
##### [DEFAULT_HEADERS](https://github.com/appium/ruby_lib/blob/
|
1325
|
+
##### [DEFAULT_HEADERS](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/common/http_client.rb#L8) common
|
1330
1326
|
|
1331
1327
|
> DEFAULT_HEADERS = { 'Accept' => CONTENT_TYPE, 'User-Agent' => "appium/ruby_lib/#{::Appium::VERSION}" }.freeze
|
1332
1328
|
|
@@ -1334,7 +1330,7 @@ Default HTTP client inherit Appium::Core::Base::Http::Default, but has different
|
|
1334
1330
|
|
1335
1331
|
--
|
1336
1332
|
|
1337
|
-
##### [pinch](https://github.com/appium/ruby_lib/blob/
|
1333
|
+
##### [pinch](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/common/multi_touch.rb#L51) common
|
1338
1334
|
|
1339
1335
|
> def pinch(percentage = 25, auto_perform = true, driver = $driver)
|
1340
1336
|
|
@@ -1354,7 +1350,7 @@ __Parameters:__
|
|
1354
1350
|
|
1355
1351
|
--
|
1356
1352
|
|
1357
|
-
##### [zoom](https://github.com/appium/ruby_lib/blob/
|
1353
|
+
##### [zoom](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/common/multi_touch.rb#L94) common
|
1358
1354
|
|
1359
1355
|
> def zoom(percentage = 200, auto_perform = true, driver = $driver)
|
1360
1356
|
|
@@ -1374,7 +1370,7 @@ __Parameters:__
|
|
1374
1370
|
|
1375
1371
|
--
|
1376
1372
|
|
1377
|
-
##### [initialize](https://github.com/appium/ruby_lib/blob/
|
1373
|
+
##### [initialize](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/common/multi_touch.rb#L180) common
|
1378
1374
|
|
1379
1375
|
> def initialize(driver = $driver)
|
1380
1376
|
|
@@ -1386,7 +1382,7 @@ __Returns:__
|
|
1386
1382
|
|
1387
1383
|
--
|
1388
1384
|
|
1389
|
-
##### [COMPLEX_ACTIONS](https://github.com/appium/ruby_lib/blob/
|
1385
|
+
##### [COMPLEX_ACTIONS](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/common/touch_actions.rb#L33) common
|
1390
1386
|
|
1391
1387
|
> COMPLEX_ACTIONS = ::Appium::Core::TouchAction::COMPLEX_ACTIONS
|
1392
1388
|
|
@@ -1394,7 +1390,7 @@ __Returns:__
|
|
1394
1390
|
|
1395
1391
|
--
|
1396
1392
|
|
1397
|
-
##### [initialize](https://github.com/appium/ruby_lib/blob/
|
1393
|
+
##### [initialize](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/common/touch_actions.rb#L48) common
|
1398
1394
|
|
1399
1395
|
> def initialize(driver = $driver)
|
1400
1396
|
|
@@ -1406,7 +1402,7 @@ __Returns:__
|
|
1406
1402
|
|
1407
1403
|
--
|
1408
1404
|
|
1409
|
-
##### [swipe](https://github.com/appium/ruby_lib/blob/
|
1405
|
+
##### [swipe](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/common/touch_actions.rb#L52) common
|
1410
1406
|
|
1411
1407
|
> def swipe(opts)
|
1412
1408
|
|
@@ -1414,7 +1410,7 @@ __Returns:__
|
|
1414
1410
|
|
1415
1411
|
--
|
1416
1412
|
|
1417
|
-
##### [initialize](https://github.com/appium/ruby_lib/blob/
|
1413
|
+
##### [initialize](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/common/command/ws_logcat.rb#L5) common
|
1418
1414
|
|
1419
1415
|
> def initialize(url:, output_file: 'logcat.log')
|
1420
1416
|
|
@@ -1426,7 +1422,7 @@ __Returns:__
|
|
1426
1422
|
|
1427
1423
|
--
|
1428
1424
|
|
1429
|
-
##### [handle_message_data](https://github.com/appium/ruby_lib/blob/
|
1425
|
+
##### [handle_message_data](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/common/command/ws_logcat.rb#L10) common
|
1430
1426
|
|
1431
1427
|
> def handle_message_data(data)
|
1432
1428
|
|
@@ -1434,7 +1430,7 @@ __Returns:__
|
|
1434
1430
|
|
1435
1431
|
--
|
1436
1432
|
|
1437
|
-
##### [for](https://github.com/appium/ruby_lib/blob/
|
1433
|
+
##### [for](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/ios/ios.rb#L15) ios
|
1438
1434
|
|
1439
1435
|
> def self.for(target)
|
1440
1436
|
|
@@ -1442,7 +1438,7 @@ __Returns:__
|
|
1442
1438
|
|
1443
1439
|
--
|
1444
1440
|
|
1445
|
-
##### [UIAStaticText](https://github.com/appium/ruby_lib/blob/
|
1441
|
+
##### [UIAStaticText](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/ios/element/text.rb#L4) ios
|
1446
1442
|
|
1447
1443
|
> UIAStaticText = 'UIAStaticText'.freeze
|
1448
1444
|
|
@@ -1450,7 +1446,7 @@ __Returns:__
|
|
1450
1446
|
|
1451
1447
|
--
|
1452
1448
|
|
1453
|
-
##### [XCUIElementTypeStaticText](https://github.com/appium/ruby_lib/blob/
|
1449
|
+
##### [XCUIElementTypeStaticText](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/ios/element/text.rb#L5) ios
|
1454
1450
|
|
1455
1451
|
> XCUIElementTypeStaticText = 'XCUIElementTypeStaticText'.freeze
|
1456
1452
|
|
@@ -1458,7 +1454,7 @@ __Returns:__
|
|
1458
1454
|
|
1459
1455
|
--
|
1460
1456
|
|
1461
|
-
##### [static_text_class](https://github.com/appium/ruby_lib/blob/
|
1457
|
+
##### [static_text_class](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/ios/element/text.rb#L8) ios
|
1462
1458
|
|
1463
1459
|
> def static_text_class
|
1464
1460
|
|
@@ -1470,7 +1466,7 @@ __Returns:__
|
|
1470
1466
|
|
1471
1467
|
--
|
1472
1468
|
|
1473
|
-
##### [text](https://github.com/appium/ruby_lib/blob/
|
1469
|
+
##### [text](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/ios/element/text.rb#L16) ios
|
1474
1470
|
|
1475
1471
|
> def text(value)
|
1476
1472
|
|
@@ -1487,7 +1483,7 @@ __Returns:__
|
|
1487
1483
|
|
1488
1484
|
--
|
1489
1485
|
|
1490
|
-
##### [texts](https://github.com/appium/ruby_lib/blob/
|
1486
|
+
##### [texts](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/ios/element/text.rb#L26) ios
|
1491
1487
|
|
1492
1488
|
> def texts(value = false)
|
1493
1489
|
|
@@ -1504,7 +1500,7 @@ __Returns:__
|
|
1504
1500
|
|
1505
1501
|
--
|
1506
1502
|
|
1507
|
-
##### [first_text](https://github.com/appium/ruby_lib/blob/
|
1503
|
+
##### [first_text](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/ios/element/text.rb#L34) ios
|
1508
1504
|
|
1509
1505
|
> def first_text
|
1510
1506
|
|
@@ -1516,7 +1512,7 @@ __Returns:__
|
|
1516
1512
|
|
1517
1513
|
--
|
1518
1514
|
|
1519
|
-
##### [last_text](https://github.com/appium/ruby_lib/blob/
|
1515
|
+
##### [last_text](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/ios/element/text.rb#L40) ios
|
1520
1516
|
|
1521
1517
|
> def last_text
|
1522
1518
|
|
@@ -1528,7 +1524,7 @@ __Returns:__
|
|
1528
1524
|
|
1529
1525
|
--
|
1530
1526
|
|
1531
|
-
##### [text_exact](https://github.com/appium/ruby_lib/blob/
|
1527
|
+
##### [text_exact](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/ios/element/text.rb#L47) ios
|
1532
1528
|
|
1533
1529
|
> def text_exact(value)
|
1534
1530
|
|
@@ -1544,7 +1540,7 @@ __Returns:__
|
|
1544
1540
|
|
1545
1541
|
--
|
1546
1542
|
|
1547
|
-
##### [texts_exact](https://github.com/appium/ruby_lib/blob/
|
1543
|
+
##### [texts_exact](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/ios/element/text.rb#L54) ios
|
1548
1544
|
|
1549
1545
|
> def texts_exact(value)
|
1550
1546
|
|
@@ -1560,7 +1556,7 @@ __Returns:__
|
|
1560
1556
|
|
1561
1557
|
--
|
1562
1558
|
|
1563
|
-
##### [filter](https://github.com/appium/ruby_lib/blob/
|
1559
|
+
##### [filter](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/ios/common/helper.rb#L5) ios
|
1564
1560
|
|
1565
1561
|
> def filter
|
1566
1562
|
|
@@ -1568,7 +1564,7 @@ Returns the value of attribute filter
|
|
1568
1564
|
|
1569
1565
|
--
|
1570
1566
|
|
1571
|
-
##### [filter=](https://github.com/appium/ruby_lib/blob/
|
1567
|
+
##### [filter=](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/ios/common/helper.rb#L5) ios
|
1572
1568
|
|
1573
1569
|
> def filter=(value)
|
1574
1570
|
|
@@ -1580,7 +1576,7 @@ __Parameters:__
|
|
1580
1576
|
|
1581
1577
|
--
|
1582
1578
|
|
1583
|
-
##### [start_element](https://github.com/appium/ruby_lib/blob/
|
1579
|
+
##### [start_element](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/ios/common/helper.rb#L7) ios
|
1584
1580
|
|
1585
1581
|
> def start_element(type, attrs = [])
|
1586
1582
|
|
@@ -1588,7 +1584,7 @@ __Parameters:__
|
|
1588
1584
|
|
1589
1585
|
--
|
1590
1586
|
|
1591
|
-
##### [ios_password](https://github.com/appium/ruby_lib/blob/
|
1587
|
+
##### [ios_password](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/ios/common/helper.rb#L43) ios
|
1592
1588
|
|
1593
1589
|
> def ios_password(length = 1)
|
1594
1590
|
|
@@ -1606,7 +1602,7 @@ __Returns:__
|
|
1606
1602
|
|
1607
1603
|
--
|
1608
1604
|
|
1609
|
-
##### [page](https://github.com/appium/ruby_lib/blob/
|
1605
|
+
##### [page](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/ios/common/helper.rb#L59) ios
|
1610
1606
|
|
1611
1607
|
> def page(opts = {})
|
1612
1608
|
|
@@ -1624,7 +1620,7 @@ __Returns:__
|
|
1624
1620
|
|
1625
1621
|
--
|
1626
1622
|
|
1627
|
-
##### [id](https://github.com/appium/ruby_lib/blob/
|
1623
|
+
##### [id](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/ios/common/helper.rb#L86) ios
|
1628
1624
|
|
1629
1625
|
> def id(id)
|
1630
1626
|
|
@@ -1640,7 +1636,7 @@ __Returns:__
|
|
1640
1636
|
|
1641
1637
|
--
|
1642
1638
|
|
1643
|
-
##### [ele_index](https://github.com/appium/ruby_lib/blob/
|
1639
|
+
##### [ele_index](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/ios/common/helper.rb#L94) ios
|
1644
1640
|
|
1645
1641
|
> def ele_index(class_name, index)
|
1646
1642
|
|
@@ -1658,7 +1654,7 @@ __Returns:__
|
|
1658
1654
|
|
1659
1655
|
--
|
1660
1656
|
|
1661
|
-
##### [find_ele_by_attr](https://github.com/appium/ruby_lib/blob/
|
1657
|
+
##### [find_ele_by_attr](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/ios/common/helper.rb#L124) ios
|
1662
1658
|
|
1663
1659
|
> def find_ele_by_attr(class_name, attr, value)
|
1664
1660
|
|
@@ -1680,7 +1676,7 @@ __Returns:__
|
|
1680
1676
|
|
1681
1677
|
--
|
1682
1678
|
|
1683
|
-
##### [find_eles_by_attr](https://github.com/appium/ruby_lib/blob/
|
1679
|
+
##### [find_eles_by_attr](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/ios/common/helper.rb#L135) ios
|
1684
1680
|
|
1685
1681
|
> def find_eles_by_attr(class_name, attr, value)
|
1686
1682
|
|
@@ -1702,7 +1698,7 @@ __Returns:__
|
|
1702
1698
|
|
1703
1699
|
--
|
1704
1700
|
|
1705
|
-
##### [find_ele_by_predicate](https://github.com/appium/ruby_lib/blob/
|
1701
|
+
##### [find_ele_by_predicate](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/ios/common/helper.rb#L148) ios
|
1706
1702
|
|
1707
1703
|
> def find_ele_by_predicate(class_name: '*', value:)
|
1708
1704
|
|
@@ -1719,7 +1715,7 @@ __Returns:__
|
|
1719
1715
|
|
1720
1716
|
--
|
1721
1717
|
|
1722
|
-
##### [find_eles_by_predicate](https://github.com/appium/ruby_lib/blob/
|
1718
|
+
##### [find_eles_by_predicate](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/ios/common/helper.rb#L160) ios
|
1723
1719
|
|
1724
1720
|
> def find_eles_by_predicate(class_name: '*', value:)
|
1725
1721
|
|
@@ -1738,7 +1734,7 @@ __Returns:__
|
|
1738
1734
|
|
1739
1735
|
--
|
1740
1736
|
|
1741
|
-
##### [find_ele_by_attr_include](https://github.com/appium/ruby_lib/blob/
|
1737
|
+
##### [find_ele_by_attr_include](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/ios/common/helper.rb#L176) ios
|
1742
1738
|
|
1743
1739
|
> def find_ele_by_attr_include(class_name, attr, value)
|
1744
1740
|
|
@@ -1759,7 +1755,7 @@ __Returns:__
|
|
1759
1755
|
|
1760
1756
|
--
|
1761
1757
|
|
1762
|
-
##### [find_eles_by_attr_include](https://github.com/appium/ruby_lib/blob/
|
1758
|
+
##### [find_eles_by_attr_include](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/ios/common/helper.rb#L186) ios
|
1763
1759
|
|
1764
1760
|
> def find_eles_by_attr_include(class_name, attr, value)
|
1765
1761
|
|
@@ -1780,7 +1776,7 @@ __Returns:__
|
|
1780
1776
|
|
1781
1777
|
--
|
1782
1778
|
|
1783
|
-
##### [find_ele_by_predicate_include](https://github.com/appium/ruby_lib/blob/
|
1779
|
+
##### [find_ele_by_predicate_include](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/ios/common/helper.rb#L194) ios
|
1784
1780
|
|
1785
1781
|
> def find_ele_by_predicate_include(class_name: '*', value:)
|
1786
1782
|
|
@@ -1797,7 +1793,7 @@ __Returns:__
|
|
1797
1793
|
|
1798
1794
|
--
|
1799
1795
|
|
1800
|
-
##### [find_eles_by_predicate_include](https://github.com/appium/ruby_lib/blob/
|
1796
|
+
##### [find_eles_by_predicate_include](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/ios/common/helper.rb#L206) ios
|
1801
1797
|
|
1802
1798
|
> def find_eles_by_predicate_include(class_name: '*', value:)
|
1803
1799
|
|
@@ -1816,7 +1812,7 @@ __Returns:__
|
|
1816
1812
|
|
1817
1813
|
--
|
1818
1814
|
|
1819
|
-
##### [first_ele](https://github.com/appium/ruby_lib/blob/
|
1815
|
+
##### [first_ele](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/ios/common/helper.rb#L219) ios
|
1820
1816
|
|
1821
1817
|
> def first_ele(class_name)
|
1822
1818
|
|
@@ -1832,7 +1828,7 @@ __Returns:__
|
|
1832
1828
|
|
1833
1829
|
--
|
1834
1830
|
|
1835
|
-
##### [last_ele](https://github.com/appium/ruby_lib/blob/
|
1831
|
+
##### [last_ele](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/ios/common/helper.rb#L226) ios
|
1836
1832
|
|
1837
1833
|
> def last_ele(class_name)
|
1838
1834
|
|
@@ -1848,7 +1844,7 @@ __Returns:__
|
|
1848
1844
|
|
1849
1845
|
--
|
1850
1846
|
|
1851
|
-
##### [tag](https://github.com/appium/ruby_lib/blob/
|
1847
|
+
##### [tag](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/ios/common/helper.rb#L234) ios
|
1852
1848
|
|
1853
1849
|
> def tag(class_name)
|
1854
1850
|
|
@@ -1864,7 +1860,7 @@ __Returns:__
|
|
1864
1860
|
|
1865
1861
|
--
|
1866
1862
|
|
1867
|
-
##### [tags](https://github.com/appium/ruby_lib/blob/
|
1863
|
+
##### [tags](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/ios/common/helper.rb#L242) ios
|
1868
1864
|
|
1869
1865
|
> def tags(class_name)
|
1870
1866
|
|
@@ -1880,7 +1876,7 @@ __Returns:__
|
|
1880
1876
|
|
1881
1877
|
--
|
1882
1878
|
|
1883
|
-
##### [tags_include](https://github.com/appium/ruby_lib/blob/
|
1879
|
+
##### [tags_include](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/ios/common/helper.rb#L253) ios
|
1884
1880
|
|
1885
1881
|
> def tags_include(class_names:, value: nil)
|
1886
1882
|
|
@@ -1900,7 +1896,7 @@ __Returns:__
|
|
1900
1896
|
|
1901
1897
|
--
|
1902
1898
|
|
1903
|
-
##### [tags_exact](https://github.com/appium/ruby_lib/blob/
|
1899
|
+
##### [tags_exact](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/ios/common/helper.rb#L268) ios
|
1904
1900
|
|
1905
1901
|
> def tags_exact(class_names:, value: nil)
|
1906
1902
|
|
@@ -1920,7 +1916,7 @@ __Returns:__
|
|
1920
1916
|
|
1921
1917
|
--
|
1922
1918
|
|
1923
|
-
##### [ele_by_json_visible_contains](https://github.com/appium/ruby_lib/blob/
|
1919
|
+
##### [ele_by_json_visible_contains](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/ios/common/helper.rb#L305) ios
|
1924
1920
|
|
1925
1921
|
> def ele_by_json_visible_contains(element, value)
|
1926
1922
|
|
@@ -1939,7 +1935,7 @@ __Returns:__
|
|
1939
1935
|
|
1940
1936
|
--
|
1941
1937
|
|
1942
|
-
##### [eles_by_json_visible_contains](https://github.com/appium/ruby_lib/blob/
|
1938
|
+
##### [eles_by_json_visible_contains](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/ios/common/helper.rb#L314) ios
|
1943
1939
|
|
1944
1940
|
> def eles_by_json_visible_contains(element, value)
|
1945
1941
|
|
@@ -1958,7 +1954,7 @@ __Returns:__
|
|
1958
1954
|
|
1959
1955
|
--
|
1960
1956
|
|
1961
|
-
##### [ele_by_json_visible_exact](https://github.com/appium/ruby_lib/blob/
|
1957
|
+
##### [ele_by_json_visible_exact](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/ios/common/helper.rb#L344) ios
|
1962
1958
|
|
1963
1959
|
> def ele_by_json_visible_exact(element, value)
|
1964
1960
|
|
@@ -1977,7 +1973,7 @@ __Returns:__
|
|
1977
1973
|
|
1978
1974
|
--
|
1979
1975
|
|
1980
|
-
##### [eles_by_json_visible_exact](https://github.com/appium/ruby_lib/blob/
|
1976
|
+
##### [eles_by_json_visible_exact](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/ios/common/helper.rb#L353) ios
|
1981
1977
|
|
1982
1978
|
> def eles_by_json_visible_exact(element, value)
|
1983
1979
|
|
@@ -1996,7 +1992,7 @@ __Returns:__
|
|
1996
1992
|
|
1997
1993
|
--
|
1998
1994
|
|
1999
|
-
##### [_all_pred](https://github.com/appium/ruby_lib/blob/
|
1995
|
+
##### [_all_pred](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/ios/common/helper.rb#L362) ios
|
2000
1996
|
|
2001
1997
|
> def _all_pred(opts)
|
2002
1998
|
|
@@ -2006,7 +2002,7 @@ visible - if true, only visible elements are returned. default true
|
|
2006
2002
|
|
2007
2003
|
--
|
2008
2004
|
|
2009
|
-
##### [ele_with_pred](https://github.com/appium/ruby_lib/blob/
|
2005
|
+
##### [ele_with_pred](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/ios/common/helper.rb#L376) ios
|
2010
2006
|
|
2011
2007
|
> def ele_with_pred(opts)
|
2012
2008
|
|
@@ -2022,7 +2018,7 @@ __Returns:__
|
|
2022
2018
|
|
2023
2019
|
--
|
2024
2020
|
|
2025
|
-
##### [eles_with_pred](https://github.com/appium/ruby_lib/blob/
|
2021
|
+
##### [eles_with_pred](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/ios/common/helper.rb#L387) ios
|
2026
2022
|
|
2027
2023
|
> def eles_with_pred(opts)
|
2028
2024
|
|
@@ -2038,7 +2034,7 @@ __Returns:__
|
|
2038
2034
|
|
2039
2035
|
--
|
2040
2036
|
|
2041
|
-
##### [_validate_object](https://github.com/appium/ruby_lib/blob/
|
2037
|
+
##### [_validate_object](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/ios/common/helper.rb#L391) ios
|
2042
2038
|
|
2043
2039
|
> def _validate_object(*objects)
|
2044
2040
|
|
@@ -2046,7 +2042,7 @@ __Returns:__
|
|
2046
2042
|
|
2047
2043
|
--
|
2048
2044
|
|
2049
|
-
##### [_by_json](https://github.com/appium/ruby_lib/blob/
|
2045
|
+
##### [_by_json](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/ios/common/helper.rb#L441) ios
|
2050
2046
|
|
2051
2047
|
> def _by_json(opts)
|
2052
2048
|
|
@@ -2081,7 +2077,7 @@ opts = {
|
|
2081
2077
|
|
2082
2078
|
--
|
2083
2079
|
|
2084
|
-
##### [eles_by_json](https://github.com/appium/ruby_lib/blob/
|
2080
|
+
##### [eles_by_json](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/ios/common/helper.rb#L491) ios
|
2085
2081
|
|
2086
2082
|
> def eles_by_json(opts)
|
2087
2083
|
|
@@ -2100,7 +2096,7 @@ eles_by_json({
|
|
2100
2096
|
|
2101
2097
|
--
|
2102
2098
|
|
2103
|
-
##### [ele_by_json](https://github.com/appium/ruby_lib/blob/
|
2099
|
+
##### [ele_by_json](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/ios/common/helper.rb#L497) ios
|
2104
2100
|
|
2105
2101
|
> def ele_by_json(opts)
|
2106
2102
|
|
@@ -2108,7 +2104,7 @@ see eles_by_json
|
|
2108
2104
|
|
2109
2105
|
--
|
2110
2106
|
|
2111
|
-
##### [alert_accept](https://github.com/appium/ruby_lib/blob/
|
2107
|
+
##### [alert_accept](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/ios/element/alert.rb#L5) ios
|
2112
2108
|
|
2113
2109
|
> def alert_accept
|
2114
2110
|
|
@@ -2120,7 +2116,7 @@ __Returns:__
|
|
2120
2116
|
|
2121
2117
|
--
|
2122
2118
|
|
2123
|
-
##### [alert_dismiss](https://github.com/appium/ruby_lib/blob/
|
2119
|
+
##### [alert_dismiss](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/ios/element/alert.rb#L13) ios
|
2124
2120
|
|
2125
2121
|
> def alert_dismiss
|
2126
2122
|
|
@@ -2132,7 +2128,7 @@ __Returns:__
|
|
2132
2128
|
|
2133
2129
|
--
|
2134
2130
|
|
2135
|
-
##### [UIAButton](https://github.com/appium/ruby_lib/blob/
|
2131
|
+
##### [UIAButton](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/ios/element/button.rb#L4) ios
|
2136
2132
|
|
2137
2133
|
> UIAButton = 'UIAButton'.freeze
|
2138
2134
|
|
@@ -2140,7 +2136,7 @@ __Returns:__
|
|
2140
2136
|
|
2141
2137
|
--
|
2142
2138
|
|
2143
|
-
##### [XCUIElementTypeButton](https://github.com/appium/ruby_lib/blob/
|
2139
|
+
##### [XCUIElementTypeButton](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/ios/element/button.rb#L5) ios
|
2144
2140
|
|
2145
2141
|
> XCUIElementTypeButton = 'XCUIElementTypeButton'.freeze
|
2146
2142
|
|
@@ -2148,7 +2144,7 @@ __Returns:__
|
|
2148
2144
|
|
2149
2145
|
--
|
2150
2146
|
|
2151
|
-
##### [button_class](https://github.com/appium/ruby_lib/blob/
|
2147
|
+
##### [button_class](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/ios/element/button.rb#L8) ios
|
2152
2148
|
|
2153
2149
|
> def button_class
|
2154
2150
|
|
@@ -2160,7 +2156,7 @@ __Returns:__
|
|
2160
2156
|
|
2161
2157
|
--
|
2162
2158
|
|
2163
|
-
##### [button](https://github.com/appium/ruby_lib/blob/
|
2159
|
+
##### [button](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/ios/element/button.rb#L16) ios
|
2164
2160
|
|
2165
2161
|
> def button(value)
|
2166
2162
|
|
@@ -2177,7 +2173,7 @@ __Returns:__
|
|
2177
2173
|
|
2178
2174
|
--
|
2179
2175
|
|
2180
|
-
##### [buttons](https://github.com/appium/ruby_lib/blob/
|
2176
|
+
##### [buttons](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/ios/element/button.rb#L27) ios
|
2181
2177
|
|
2182
2178
|
> def buttons(value = false)
|
2183
2179
|
|
@@ -2194,7 +2190,7 @@ __Returns:__
|
|
2194
2190
|
|
2195
2191
|
--
|
2196
2192
|
|
2197
|
-
##### [first_button](https://github.com/appium/ruby_lib/blob/
|
2193
|
+
##### [first_button](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/ios/element/button.rb#L35) ios
|
2198
2194
|
|
2199
2195
|
> def first_button
|
2200
2196
|
|
@@ -2206,7 +2202,7 @@ __Returns:__
|
|
2206
2202
|
|
2207
2203
|
--
|
2208
2204
|
|
2209
|
-
##### [last_button](https://github.com/appium/ruby_lib/blob/
|
2205
|
+
##### [last_button](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/ios/element/button.rb#L43) ios
|
2210
2206
|
|
2211
2207
|
> def last_button
|
2212
2208
|
|
@@ -2220,7 +2216,7 @@ __Returns:__
|
|
2220
2216
|
|
2221
2217
|
--
|
2222
2218
|
|
2223
|
-
##### [button_exact](https://github.com/appium/ruby_lib/blob/
|
2219
|
+
##### [button_exact](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/ios/element/button.rb#L50) ios
|
2224
2220
|
|
2225
2221
|
> def button_exact(value)
|
2226
2222
|
|
@@ -2236,7 +2232,7 @@ __Returns:__
|
|
2236
2232
|
|
2237
2233
|
--
|
2238
2234
|
|
2239
|
-
##### [buttons_exact](https://github.com/appium/ruby_lib/blob/
|
2235
|
+
##### [buttons_exact](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/ios/element/button.rb#L57) ios
|
2240
2236
|
|
2241
2237
|
> def buttons_exact(value)
|
2242
2238
|
|
@@ -2252,7 +2248,7 @@ __Returns:__
|
|
2252
2248
|
|
2253
2249
|
--
|
2254
2250
|
|
2255
|
-
##### [find](https://github.com/appium/ruby_lib/blob/
|
2251
|
+
##### [find](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/ios/element/generic.rb#L6) ios
|
2256
2252
|
|
2257
2253
|
> def find(value)
|
2258
2254
|
|
@@ -2268,7 +2264,7 @@ __Returns:__
|
|
2268
2264
|
|
2269
2265
|
--
|
2270
2266
|
|
2271
|
-
##### [finds](https://github.com/appium/ruby_lib/blob/
|
2267
|
+
##### [finds](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/ios/element/generic.rb#L13) ios
|
2272
2268
|
|
2273
2269
|
> def finds(value)
|
2274
2270
|
|
@@ -2284,7 +2280,7 @@ __Returns:__
|
|
2284
2280
|
|
2285
2281
|
--
|
2286
2282
|
|
2287
|
-
##### [find_exact](https://github.com/appium/ruby_lib/blob/
|
2283
|
+
##### [find_exact](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/ios/element/generic.rb#L20) ios
|
2288
2284
|
|
2289
2285
|
> def find_exact(value)
|
2290
2286
|
|
@@ -2300,7 +2296,7 @@ __Returns:__
|
|
2300
2296
|
|
2301
2297
|
--
|
2302
2298
|
|
2303
|
-
##### [finds_exact](https://github.com/appium/ruby_lib/blob/
|
2299
|
+
##### [finds_exact](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/ios/element/generic.rb#L27) ios
|
2304
2300
|
|
2305
2301
|
> def finds_exact(value)
|
2306
2302
|
|
@@ -2316,7 +2312,7 @@ __Returns:__
|
|
2316
2312
|
|
2317
2313
|
--
|
2318
2314
|
|
2319
|
-
##### [raise_error_if_no_element](https://github.com/appium/ruby_lib/blob/
|
2315
|
+
##### [raise_error_if_no_element](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/ios/element/generic.rb#L33) ios
|
2320
2316
|
|
2321
2317
|
> def raise_error_if_no_element(element)
|
2322
2318
|
|
@@ -2324,7 +2320,7 @@ __Returns:__
|
|
2324
2320
|
|
2325
2321
|
--
|
2326
2322
|
|
2327
|
-
##### [select_visible_elements](https://github.com/appium/ruby_lib/blob/
|
2323
|
+
##### [select_visible_elements](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/ios/element/generic.rb#L41) ios
|
2328
2324
|
|
2329
2325
|
> def select_visible_elements(elements)
|
2330
2326
|
|
@@ -2332,7 +2328,7 @@ Return visible elements.
|
|
2332
2328
|
|
2333
2329
|
--
|
2334
2330
|
|
2335
|
-
##### [for](https://github.com/appium/ruby_lib/blob/
|
2331
|
+
##### [for](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/ios/xcuitest/bridge.rb#L7) ios
|
2336
2332
|
|
2337
2333
|
> def self.for(target)
|
2338
2334
|
|
@@ -2340,7 +2336,7 @@ Return visible elements.
|
|
2340
2336
|
|
2341
2337
|
--
|
2342
2338
|
|
2343
|
-
##### [last_ele](https://github.com/appium/ruby_lib/blob/
|
2339
|
+
##### [last_ele](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/ios/xcuitest/helper.rb#L26) ios
|
2344
2340
|
|
2345
2341
|
> def last_ele(class_name)
|
2346
2342
|
|
@@ -2356,7 +2352,7 @@ __Returns:__
|
|
2356
2352
|
|
2357
2353
|
--
|
2358
2354
|
|
2359
|
-
##### [tag](https://github.com/appium/ruby_lib/blob/
|
2355
|
+
##### [tag](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/ios/xcuitest/helper.rb#L37) ios
|
2360
2356
|
|
2361
2357
|
> def tag(class_name)
|
2362
2358
|
|
@@ -2372,7 +2368,7 @@ __Returns:__
|
|
2372
2368
|
|
2373
2369
|
--
|
2374
2370
|
|
2375
|
-
##### [tags](https://github.com/appium/ruby_lib/blob/
|
2371
|
+
##### [tags](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/ios/xcuitest/helper.rb#L45) ios
|
2376
2372
|
|
2377
2373
|
> def tags(class_name)
|
2378
2374
|
|
@@ -2388,7 +2384,7 @@ __Returns:__
|
|
2388
2384
|
|
2389
2385
|
--
|
2390
2386
|
|
2391
|
-
##### [tags_include](https://github.com/appium/ruby_lib/blob/
|
2387
|
+
##### [tags_include](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/ios/xcuitest/helper.rb#L57) ios
|
2392
2388
|
|
2393
2389
|
> def tags_include(class_names:, value: nil)
|
2394
2390
|
|
@@ -2408,7 +2404,7 @@ __Returns:__
|
|
2408
2404
|
|
2409
2405
|
--
|
2410
2406
|
|
2411
|
-
##### [tags_exact](https://github.com/appium/ruby_lib/blob/
|
2407
|
+
##### [tags_exact](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/ios/xcuitest/helper.rb#L79) ios
|
2412
2408
|
|
2413
2409
|
> def tags_exact(class_names:, value: nil)
|
2414
2410
|
|
@@ -2428,7 +2424,7 @@ __Returns:__
|
|
2428
2424
|
|
2429
2425
|
--
|
2430
2426
|
|
2431
|
-
##### [start_logs_broadcast](https://github.com/appium/ruby_lib/blob/
|
2427
|
+
##### [start_logs_broadcast](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/ios/xcuitest/command.rb#L19) ios
|
2432
2428
|
|
2433
2429
|
> def start_logs_broadcast(syslog_file = 'syslog.log')
|
2434
2430
|
|
@@ -2440,7 +2436,7 @@ __Parameters:__
|
|
2440
2436
|
|
2441
2437
|
--
|
2442
2438
|
|
2443
|
-
##### [stop_logs_broadcast](https://github.com/appium/ruby_lib/blob/
|
2439
|
+
##### [stop_logs_broadcast](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/ios/xcuitest/command.rb#L32) ios
|
2444
2440
|
|
2445
2441
|
> def stop_logs_broadcast
|
2446
2442
|
|
@@ -2448,7 +2444,7 @@ Stop iOS syslog broadcast websocket
|
|
2448
2444
|
|
2449
2445
|
--
|
2450
2446
|
|
2451
|
-
##### [UIATextField](https://github.com/appium/ruby_lib/blob/
|
2447
|
+
##### [UIATextField](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/ios/element/textfield.rb#L3) ios
|
2452
2448
|
|
2453
2449
|
> UIATextField = 'UIATextField'.freeze
|
2454
2450
|
|
@@ -2456,7 +2452,7 @@ Stop iOS syslog broadcast websocket
|
|
2456
2452
|
|
2457
2453
|
--
|
2458
2454
|
|
2459
|
-
##### [UIASecureTextField](https://github.com/appium/ruby_lib/blob/
|
2455
|
+
##### [UIASecureTextField](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/ios/element/textfield.rb#L4) ios
|
2460
2456
|
|
2461
2457
|
> UIASecureTextField = 'UIASecureTextField'.freeze
|
2462
2458
|
|
@@ -2464,7 +2460,7 @@ Stop iOS syslog broadcast websocket
|
|
2464
2460
|
|
2465
2461
|
--
|
2466
2462
|
|
2467
|
-
##### [XCUIElementTypeTextField](https://github.com/appium/ruby_lib/blob/
|
2463
|
+
##### [XCUIElementTypeTextField](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/ios/element/textfield.rb#L6) ios
|
2468
2464
|
|
2469
2465
|
> XCUIElementTypeTextField = 'XCUIElementTypeTextField'.freeze
|
2470
2466
|
|
@@ -2472,7 +2468,7 @@ Stop iOS syslog broadcast websocket
|
|
2472
2468
|
|
2473
2469
|
--
|
2474
2470
|
|
2475
|
-
##### [XCUIElementTypeSecureTextField](https://github.com/appium/ruby_lib/blob/
|
2471
|
+
##### [XCUIElementTypeSecureTextField](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/ios/element/textfield.rb#L7) ios
|
2476
2472
|
|
2477
2473
|
> XCUIElementTypeSecureTextField = 'XCUIElementTypeSecureTextField'.freeze
|
2478
2474
|
|
@@ -2480,7 +2476,7 @@ Stop iOS syslog broadcast websocket
|
|
2480
2476
|
|
2481
2477
|
--
|
2482
2478
|
|
2483
|
-
##### [text_field_class](https://github.com/appium/ruby_lib/blob/
|
2479
|
+
##### [text_field_class](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/ios/element/textfield.rb#L10) ios
|
2484
2480
|
|
2485
2481
|
> def text_field_class
|
2486
2482
|
|
@@ -2492,7 +2488,7 @@ __Returns:__
|
|
2492
2488
|
|
2493
2489
|
--
|
2494
2490
|
|
2495
|
-
##### [secure_text_field_class](https://github.com/appium/ruby_lib/blob/
|
2491
|
+
##### [secure_text_field_class](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/ios/element/textfield.rb#L15) ios
|
2496
2492
|
|
2497
2493
|
> def secure_text_field_class
|
2498
2494
|
|
@@ -2504,7 +2500,7 @@ __Returns:__
|
|
2504
2500
|
|
2505
2501
|
--
|
2506
2502
|
|
2507
|
-
##### [textfield](https://github.com/appium/ruby_lib/blob/
|
2503
|
+
##### [textfield](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/ios/element/textfield.rb#L24) ios
|
2508
2504
|
|
2509
2505
|
> def textfield(value)
|
2510
2506
|
|
@@ -2522,7 +2518,7 @@ __Returns:__
|
|
2522
2518
|
|
2523
2519
|
--
|
2524
2520
|
|
2525
|
-
##### [textfields](https://github.com/appium/ruby_lib/blob/
|
2521
|
+
##### [textfields](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/ios/element/textfield.rb#L43) ios
|
2526
2522
|
|
2527
2523
|
> def textfields(value = false)
|
2528
2524
|
|
@@ -2539,7 +2535,7 @@ __Returns:__
|
|
2539
2535
|
|
2540
2536
|
--
|
2541
2537
|
|
2542
|
-
##### [first_textfield](https://github.com/appium/ruby_lib/blob/
|
2538
|
+
##### [first_textfield](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/ios/element/textfield.rb#L51) ios
|
2543
2539
|
|
2544
2540
|
> def first_textfield
|
2545
2541
|
|
@@ -2551,7 +2547,7 @@ __Returns:__
|
|
2551
2547
|
|
2552
2548
|
--
|
2553
2549
|
|
2554
|
-
##### [last_textfield](https://github.com/appium/ruby_lib/blob/
|
2550
|
+
##### [last_textfield](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/ios/element/textfield.rb#L57) ios
|
2555
2551
|
|
2556
2552
|
> def last_textfield
|
2557
2553
|
|
@@ -2563,7 +2559,7 @@ __Returns:__
|
|
2563
2559
|
|
2564
2560
|
--
|
2565
2561
|
|
2566
|
-
##### [textfield_exact](https://github.com/appium/ruby_lib/blob/
|
2562
|
+
##### [textfield_exact](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/ios/element/textfield.rb#L67) ios
|
2567
2563
|
|
2568
2564
|
> def textfield_exact(value)
|
2569
2565
|
|
@@ -2579,7 +2575,7 @@ __Returns:__
|
|
2579
2575
|
|
2580
2576
|
--
|
2581
2577
|
|
2582
|
-
##### [textfields_exact](https://github.com/appium/ruby_lib/blob/
|
2578
|
+
##### [textfields_exact](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/ios/element/textfield.rb#L74) ios
|
2583
2579
|
|
2584
2580
|
> def textfields_exact(value)
|
2585
2581
|
|
@@ -2595,7 +2591,7 @@ __Returns:__
|
|
2595
2591
|
|
2596
2592
|
--
|
2597
2593
|
|
2598
|
-
##### [_textfield_visible](https://github.com/appium/ruby_lib/blob/
|
2594
|
+
##### [_textfield_visible](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/ios/element/textfield.rb#L81) ios
|
2599
2595
|
|
2600
2596
|
> def _textfield_visible
|
2601
2597
|
|
@@ -2603,7 +2599,7 @@ Appium
|
|
2603
2599
|
|
2604
2600
|
--
|
2605
2601
|
|
2606
|
-
##### [_textfield_exact_string](https://github.com/appium/ruby_lib/blob/
|
2602
|
+
##### [_textfield_exact_string](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/ios/element/textfield.rb#L86) ios
|
2607
2603
|
|
2608
2604
|
> def _textfield_exact_string(value)
|
2609
2605
|
|
@@ -2611,7 +2607,7 @@ Appium
|
|
2611
2607
|
|
2612
2608
|
--
|
2613
2609
|
|
2614
|
-
##### [_textfield_contains_string](https://github.com/appium/ruby_lib/blob/
|
2610
|
+
##### [_textfield_contains_string](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/ios/element/textfield.rb#L93) ios
|
2615
2611
|
|
2616
2612
|
> def _textfield_contains_string(value)
|
2617
2613
|
|
@@ -2619,7 +2615,7 @@ Appium
|
|
2619
2615
|
|
2620
2616
|
--
|
2621
2617
|
|
2622
|
-
##### [static_text_class](https://github.com/appium/ruby_lib/blob/
|
2618
|
+
##### [static_text_class](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/ios/xcuitest/element/text.rb#L9) ios
|
2623
2619
|
|
2624
2620
|
> def static_text_class
|
2625
2621
|
|
@@ -2631,7 +2627,7 @@ __Returns:__
|
|
2631
2627
|
|
2632
2628
|
--
|
2633
2629
|
|
2634
|
-
##### [text](https://github.com/appium/ruby_lib/blob/
|
2630
|
+
##### [text](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/ios/xcuitest/element/text.rb#L17) ios
|
2635
2631
|
|
2636
2632
|
> def text(value)
|
2637
2633
|
|
@@ -2648,7 +2644,7 @@ __Returns:__
|
|
2648
2644
|
|
2649
2645
|
--
|
2650
2646
|
|
2651
|
-
##### [texts](https://github.com/appium/ruby_lib/blob/
|
2647
|
+
##### [texts](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/ios/xcuitest/element/text.rb#L27) ios
|
2652
2648
|
|
2653
2649
|
> def texts(value = false)
|
2654
2650
|
|
@@ -2665,7 +2661,7 @@ __Returns:__
|
|
2665
2661
|
|
2666
2662
|
--
|
2667
2663
|
|
2668
|
-
##### [first_text](https://github.com/appium/ruby_lib/blob/
|
2664
|
+
##### [first_text](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/ios/xcuitest/element/text.rb#L36) ios
|
2669
2665
|
|
2670
2666
|
> def first_text
|
2671
2667
|
|
@@ -2677,7 +2673,7 @@ __Returns:__
|
|
2677
2673
|
|
2678
2674
|
--
|
2679
2675
|
|
2680
|
-
##### [last_text](https://github.com/appium/ruby_lib/blob/
|
2676
|
+
##### [last_text](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/ios/xcuitest/element/text.rb#L42) ios
|
2681
2677
|
|
2682
2678
|
> def last_text
|
2683
2679
|
|
@@ -2689,7 +2685,7 @@ __Returns:__
|
|
2689
2685
|
|
2690
2686
|
--
|
2691
2687
|
|
2692
|
-
##### [text_exact](https://github.com/appium/ruby_lib/blob/
|
2688
|
+
##### [text_exact](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/ios/xcuitest/element/text.rb#L49) ios
|
2693
2689
|
|
2694
2690
|
> def text_exact(value)
|
2695
2691
|
|
@@ -2705,7 +2701,7 @@ __Returns:__
|
|
2705
2701
|
|
2706
2702
|
--
|
2707
2703
|
|
2708
|
-
##### [texts_exact](https://github.com/appium/ruby_lib/blob/
|
2704
|
+
##### [texts_exact](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/ios/xcuitest/element/text.rb#L56) ios
|
2709
2705
|
|
2710
2706
|
> def texts_exact(value)
|
2711
2707
|
|
@@ -2721,7 +2717,7 @@ __Returns:__
|
|
2721
2717
|
|
2722
2718
|
--
|
2723
2719
|
|
2724
|
-
##### [xcuitest_source](https://github.com/appium/ruby_lib/blob/
|
2720
|
+
##### [xcuitest_source](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/ios/xcuitest/command/source.rb#L11) ios
|
2725
2721
|
|
2726
2722
|
> def xcuitest_source(format: :xml)
|
2727
2723
|
|
@@ -2737,7 +2733,7 @@ xcuitest_source format: :json
|
|
2737
2733
|
|
2738
2734
|
--
|
2739
2735
|
|
2740
|
-
##### [button_class](https://github.com/appium/ruby_lib/blob/
|
2736
|
+
##### [button_class](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/ios/xcuitest/element/button.rb#L9) ios
|
2741
2737
|
|
2742
2738
|
> def button_class
|
2743
2739
|
|
@@ -2749,7 +2745,7 @@ __Returns:__
|
|
2749
2745
|
|
2750
2746
|
--
|
2751
2747
|
|
2752
|
-
##### [button](https://github.com/appium/ruby_lib/blob/
|
2748
|
+
##### [button](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/ios/xcuitest/element/button.rb#L17) ios
|
2753
2749
|
|
2754
2750
|
> def button(value)
|
2755
2751
|
|
@@ -2766,7 +2762,7 @@ __Returns:__
|
|
2766
2762
|
|
2767
2763
|
--
|
2768
2764
|
|
2769
|
-
##### [buttons](https://github.com/appium/ruby_lib/blob/
|
2765
|
+
##### [buttons](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/ios/xcuitest/element/button.rb#L28) ios
|
2770
2766
|
|
2771
2767
|
> def buttons(value = false)
|
2772
2768
|
|
@@ -2783,7 +2779,7 @@ __Returns:__
|
|
2783
2779
|
|
2784
2780
|
--
|
2785
2781
|
|
2786
|
-
##### [first_button](https://github.com/appium/ruby_lib/blob/
|
2782
|
+
##### [first_button](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/ios/xcuitest/element/button.rb#L37) ios
|
2787
2783
|
|
2788
2784
|
> def first_button
|
2789
2785
|
|
@@ -2795,7 +2791,7 @@ __Returns:__
|
|
2795
2791
|
|
2796
2792
|
--
|
2797
2793
|
|
2798
|
-
##### [last_button](https://github.com/appium/ruby_lib/blob/
|
2794
|
+
##### [last_button](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/ios/xcuitest/element/button.rb#L45) ios
|
2799
2795
|
|
2800
2796
|
> def last_button
|
2801
2797
|
|
@@ -2809,7 +2805,7 @@ __Returns:__
|
|
2809
2805
|
|
2810
2806
|
--
|
2811
2807
|
|
2812
|
-
##### [button_exact](https://github.com/appium/ruby_lib/blob/
|
2808
|
+
##### [button_exact](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/ios/xcuitest/element/button.rb#L52) ios
|
2813
2809
|
|
2814
2810
|
> def button_exact(value)
|
2815
2811
|
|
@@ -2825,7 +2821,7 @@ __Returns:__
|
|
2825
2821
|
|
2826
2822
|
--
|
2827
2823
|
|
2828
|
-
##### [buttons_exact](https://github.com/appium/ruby_lib/blob/
|
2824
|
+
##### [buttons_exact](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/ios/xcuitest/element/button.rb#L59) ios
|
2829
2825
|
|
2830
2826
|
> def buttons_exact(value)
|
2831
2827
|
|
@@ -2841,7 +2837,7 @@ __Returns:__
|
|
2841
2837
|
|
2842
2838
|
--
|
2843
2839
|
|
2844
|
-
##### [find](https://github.com/appium/ruby_lib/blob/
|
2840
|
+
##### [find](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/ios/xcuitest/element/generic.rb#L8) ios
|
2845
2841
|
|
2846
2842
|
> def find(value)
|
2847
2843
|
|
@@ -2857,7 +2853,7 @@ __Returns:__
|
|
2857
2853
|
|
2858
2854
|
--
|
2859
2855
|
|
2860
|
-
##### [finds](https://github.com/appium/ruby_lib/blob/
|
2856
|
+
##### [finds](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/ios/xcuitest/element/generic.rb#L15) ios
|
2861
2857
|
|
2862
2858
|
> def finds(value)
|
2863
2859
|
|
@@ -2873,7 +2869,7 @@ __Returns:__
|
|
2873
2869
|
|
2874
2870
|
--
|
2875
2871
|
|
2876
|
-
##### [find_exact](https://github.com/appium/ruby_lib/blob/
|
2872
|
+
##### [find_exact](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/ios/xcuitest/element/generic.rb#L23) ios
|
2877
2873
|
|
2878
2874
|
> def find_exact(value)
|
2879
2875
|
|
@@ -2889,7 +2885,7 @@ __Returns:__
|
|
2889
2885
|
|
2890
2886
|
--
|
2891
2887
|
|
2892
|
-
##### [finds_exact](https://github.com/appium/ruby_lib/blob/
|
2888
|
+
##### [finds_exact](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/ios/xcuitest/element/generic.rb#L30) ios
|
2893
2889
|
|
2894
2890
|
> def finds_exact(value)
|
2895
2891
|
|
@@ -2905,7 +2901,7 @@ __Returns:__
|
|
2905
2901
|
|
2906
2902
|
--
|
2907
2903
|
|
2908
|
-
##### [raise_error_if_no_element](https://github.com/appium/ruby_lib/blob/
|
2904
|
+
##### [raise_error_if_no_element](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/ios/xcuitest/element/generic.rb#L37) ios
|
2909
2905
|
|
2910
2906
|
> def raise_error_if_no_element(element)
|
2911
2907
|
|
@@ -2913,7 +2909,7 @@ __Returns:__
|
|
2913
2909
|
|
2914
2910
|
--
|
2915
2911
|
|
2916
|
-
##### [select_visible_elements](https://github.com/appium/ruby_lib/blob/
|
2912
|
+
##### [select_visible_elements](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/ios/xcuitest/element/generic.rb#L45) ios
|
2917
2913
|
|
2918
2914
|
> def select_visible_elements(elements)
|
2919
2915
|
|
@@ -2921,7 +2917,7 @@ Return visible elements.
|
|
2921
2917
|
|
2922
2918
|
--
|
2923
2919
|
|
2924
|
-
##### [swipe](https://github.com/appium/ruby_lib/blob/
|
2920
|
+
##### [swipe](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/ios/xcuitest/command/gestures.rb#L11) ios
|
2925
2921
|
|
2926
2922
|
> def swipe(direction:, element: nil)
|
2927
2923
|
|
@@ -2935,11 +2931,11 @@ __Parameters:__
|
|
2935
2931
|
|
2936
2932
|
--
|
2937
2933
|
|
2938
|
-
##### [scroll](https://github.com/appium/ruby_lib/blob/
|
2939
|
-
|
2940
|
-
> def scroll(direction:, # rubocop:disable Metrics/ParameterLists
|
2934
|
+
##### [scroll](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/ios/xcuitest/command/gestures.rb#L32) ios
|
2941
2935
|
|
2936
|
+
> def scroll(direction:, distance: nil, name: nil, element: nil, to_visible: nil, predicate_string: nil)
|
2942
2937
|
|
2938
|
+
rubocop:disable Metrics/ParameterLists
|
2943
2939
|
|
2944
2940
|
__Parameters:__
|
2945
2941
|
|
@@ -2949,7 +2945,7 @@ __Parameters:__
|
|
2949
2945
|
|
2950
2946
|
--
|
2951
2947
|
|
2952
|
-
##### [pinch](https://github.com/appium/ruby_lib/blob/
|
2948
|
+
##### [pinch](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/ios/xcuitest/command/gestures.rb#L53) ios
|
2953
2949
|
|
2954
2950
|
> def pinch(scale:, velocity: 1.0, element: nil)
|
2955
2951
|
|
@@ -2965,7 +2961,7 @@ __Parameters:__
|
|
2965
2961
|
|
2966
2962
|
--
|
2967
2963
|
|
2968
|
-
##### [double_tap](https://github.com/appium/ruby_lib/blob/
|
2964
|
+
##### [double_tap](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/ios/xcuitest/command/gestures.rb#L68) ios
|
2969
2965
|
|
2970
2966
|
> def double_tap(x: nil, y: nil, element: nil) # rubocop:disable Naming/UncommunicativeMethodParamName
|
2971
2967
|
|
@@ -2981,7 +2977,7 @@ __Parameters:__
|
|
2981
2977
|
|
2982
2978
|
--
|
2983
2979
|
|
2984
|
-
##### [touch_and_hold](https://github.com/appium/ruby_lib/blob/
|
2980
|
+
##### [touch_and_hold](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/ios/xcuitest/command/gestures.rb#L85) ios
|
2985
2981
|
|
2986
2982
|
> def touch_and_hold(x: nil, y: nil, element: nil, duration: 1.0) # rubocop:disable Naming/UncommunicativeMethodParamName
|
2987
2983
|
|
@@ -2999,7 +2995,7 @@ __Parameters:__
|
|
2999
2995
|
|
3000
2996
|
--
|
3001
2997
|
|
3002
|
-
##### [two_finger_tap](https://github.com/appium/ruby_lib/blob/
|
2998
|
+
##### [two_finger_tap](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/ios/xcuitest/command/gestures.rb#L98) ios
|
3003
2999
|
|
3004
3000
|
> def two_finger_tap(element:)
|
3005
3001
|
|
@@ -3015,7 +3011,7 @@ two_finger_tap element: find_element(:accessibility_id, "some item")
|
|
3015
3011
|
|
3016
3012
|
--
|
3017
3013
|
|
3018
|
-
##### [tap](https://github.com/appium/ruby_lib/blob/
|
3014
|
+
##### [tap](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/ios/xcuitest/command/gestures.rb#L113) ios
|
3019
3015
|
|
3020
3016
|
> def tap(x:, y:, element: nil) # rubocop:disable Naming/UncommunicativeMethodParamName
|
3021
3017
|
|
@@ -3031,7 +3027,7 @@ __Parameters:__
|
|
3031
3027
|
|
3032
3028
|
--
|
3033
3029
|
|
3034
|
-
##### [drag_from_to_for_duration](https://github.com/appium/ruby_lib/blob/
|
3030
|
+
##### [drag_from_to_for_duration](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/ios/xcuitest/command/gestures.rb#L133) ios
|
3035
3031
|
|
3036
3032
|
> def drag_from_to_for_duration(from_x:, from_y:, to_x:, to_y:, duration: 1.0, element: nil)
|
3037
3033
|
|
@@ -3054,7 +3050,7 @@ drag point should be before to start dragging. Mandatory parameter
|
|
3054
3050
|
|
3055
3051
|
--
|
3056
3052
|
|
3057
|
-
##### [select_picker_wheel](https://github.com/appium/ruby_lib/blob/
|
3053
|
+
##### [select_picker_wheel](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/ios/xcuitest/command/gestures.rb#L150) ios
|
3058
3054
|
|
3059
3055
|
> def select_picker_wheel(element:, order:, offset: nil)
|
3060
3056
|
|
@@ -3071,7 +3067,7 @@ __Parameters:__
|
|
3071
3067
|
|
3072
3068
|
--
|
3073
3069
|
|
3074
|
-
##### [alert](https://github.com/appium/ruby_lib/blob/
|
3070
|
+
##### [alert](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/ios/xcuitest/command/gestures.rb#L168) ios
|
3075
3071
|
|
3076
3072
|
> def alert(action:, button_label: nil)
|
3077
3073
|
|
@@ -3096,7 +3092,7 @@ alert action: "dismiss"
|
|
3096
3092
|
|
3097
3093
|
--
|
3098
3094
|
|
3099
|
-
##### [text_field_class](https://github.com/appium/ruby_lib/blob/
|
3095
|
+
##### [text_field_class](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/ios/xcuitest/element/textfield.rb#L9) ios
|
3100
3096
|
|
3101
3097
|
> def text_field_class
|
3102
3098
|
|
@@ -3108,7 +3104,7 @@ __Returns:__
|
|
3108
3104
|
|
3109
3105
|
--
|
3110
3106
|
|
3111
|
-
##### [secure_text_field_class](https://github.com/appium/ruby_lib/blob/
|
3107
|
+
##### [secure_text_field_class](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/ios/xcuitest/element/textfield.rb#L14) ios
|
3112
3108
|
|
3113
3109
|
> def secure_text_field_class
|
3114
3110
|
|
@@ -3120,7 +3116,7 @@ __Returns:__
|
|
3120
3116
|
|
3121
3117
|
--
|
3122
3118
|
|
3123
|
-
##### [textfield](https://github.com/appium/ruby_lib/blob/
|
3119
|
+
##### [textfield](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/ios/xcuitest/element/textfield.rb#L23) ios
|
3124
3120
|
|
3125
3121
|
> def textfield(value)
|
3126
3122
|
|
@@ -3138,7 +3134,7 @@ __Returns:__
|
|
3138
3134
|
|
3139
3135
|
--
|
3140
3136
|
|
3141
|
-
##### [textfields](https://github.com/appium/ruby_lib/blob/
|
3137
|
+
##### [textfields](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/ios/xcuitest/element/textfield.rb#L43) ios
|
3142
3138
|
|
3143
3139
|
> def textfields(value = false)
|
3144
3140
|
|
@@ -3155,7 +3151,7 @@ __Returns:__
|
|
3155
3151
|
|
3156
3152
|
--
|
3157
3153
|
|
3158
|
-
##### [first_textfield](https://github.com/appium/ruby_lib/blob/
|
3154
|
+
##### [first_textfield](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/ios/xcuitest/element/textfield.rb#L52) ios
|
3159
3155
|
|
3160
3156
|
> def first_textfield
|
3161
3157
|
|
@@ -3167,7 +3163,7 @@ __Returns:__
|
|
3167
3163
|
|
3168
3164
|
--
|
3169
3165
|
|
3170
|
-
##### [last_textfield](https://github.com/appium/ruby_lib/blob/
|
3166
|
+
##### [last_textfield](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/ios/xcuitest/element/textfield.rb#L58) ios
|
3171
3167
|
|
3172
3168
|
> def last_textfield
|
3173
3169
|
|
@@ -3179,7 +3175,7 @@ __Returns:__
|
|
3179
3175
|
|
3180
3176
|
--
|
3181
3177
|
|
3182
|
-
##### [textfield_exact](https://github.com/appium/ruby_lib/blob/
|
3178
|
+
##### [textfield_exact](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/ios/xcuitest/element/textfield.rb#L68) ios
|
3183
3179
|
|
3184
3180
|
> def textfield_exact(value)
|
3185
3181
|
|
@@ -3195,7 +3191,7 @@ __Returns:__
|
|
3195
3191
|
|
3196
3192
|
--
|
3197
3193
|
|
3198
|
-
##### [textfields_exact](https://github.com/appium/ruby_lib/blob/
|
3194
|
+
##### [textfields_exact](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/ios/xcuitest/element/textfield.rb#L75) ios
|
3199
3195
|
|
3200
3196
|
> def textfields_exact(value)
|
3201
3197
|
|
@@ -3211,7 +3207,7 @@ __Returns:__
|
|
3211
3207
|
|
3212
3208
|
--
|
3213
3209
|
|
3214
|
-
##### [set_pasteboard](https://github.com/appium/ruby_lib/blob/
|
3210
|
+
##### [set_pasteboard](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/ios/xcuitest/command/pasteboard.rb#L12) ios
|
3215
3211
|
|
3216
3212
|
> def set_pasteboard(content:, encoding: nil)
|
3217
3213
|
|
@@ -3226,7 +3222,7 @@ The parameter is mandatory
|
|
3226
3222
|
|
3227
3223
|
--
|
3228
3224
|
|
3229
|
-
##### [get_pasteboard](https://github.com/appium/ruby_lib/blob/
|
3225
|
+
##### [get_pasteboard](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/ios/xcuitest/command/pasteboard.rb#L24) ios
|
3230
3226
|
|
3231
3227
|
> def get_pasteboard(encoding: nil)
|
3232
3228
|
|
@@ -3238,7 +3234,7 @@ __Parameters:__
|
|
3238
3234
|
|
3239
3235
|
--
|
3240
3236
|
|
3241
|
-
##### [install_certificate](https://github.com/appium/ruby_lib/blob/
|
3237
|
+
##### [install_certificate](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/ios/xcuitest/command/certificate.rb#L18) ios
|
3242
3238
|
|
3243
3239
|
> def install_certificate(cer_file:)
|
3244
3240
|
|
@@ -3253,7 +3249,7 @@ __Parameters:__
|
|
3253
3249
|
|
3254
3250
|
--
|
3255
3251
|
|
3256
|
-
##### [xcuitest_get_contexts](https://github.com/appium/ruby_lib/blob/
|
3252
|
+
##### [xcuitest_get_contexts](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/ios/xcuitest/command/get_context.rb#L14) ios
|
3257
3253
|
|
3258
3254
|
> def xcuitest_get_contexts
|
3259
3255
|
|
@@ -3261,7 +3257,7 @@ Get contexts
|
|
3261
3257
|
|
3262
3258
|
--
|
3263
3259
|
|
3264
|
-
##### [xcuitest_install_app](https://github.com/appium/ruby_lib/blob/
|
3260
|
+
##### [xcuitest_install_app](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/ios/xcuitest/command/multi_app_handler.rb#L21) ios
|
3265
3261
|
|
3266
3262
|
> def xcuitest_install_app(app:)
|
3267
3263
|
|
@@ -3281,7 +3277,7 @@ __Returns:__
|
|
3281
3277
|
|
3282
3278
|
--
|
3283
3279
|
|
3284
|
-
##### [xcuitest_app_installed?](https://github.com/appium/ruby_lib/blob/
|
3280
|
+
##### [xcuitest_app_installed?](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/ios/xcuitest/command/multi_app_handler.rb#L35) ios
|
3285
3281
|
|
3286
3282
|
> def xcuitest_app_installed?(bundle_id:)
|
3287
3283
|
|
@@ -3297,7 +3293,7 @@ __Returns:__
|
|
3297
3293
|
|
3298
3294
|
--
|
3299
3295
|
|
3300
|
-
##### [xcuitest_remove_app](https://github.com/appium/ruby_lib/blob/
|
3296
|
+
##### [xcuitest_remove_app](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/ios/xcuitest/command/multi_app_handler.rb#L50) ios
|
3301
3297
|
|
3302
3298
|
> def xcuitest_remove_app(bundle_id:)
|
3303
3299
|
|
@@ -3314,7 +3310,7 @@ __Returns:__
|
|
3314
3310
|
|
3315
3311
|
--
|
3316
3312
|
|
3317
|
-
##### [xcuitest_launch_app](https://github.com/appium/ruby_lib/blob/
|
3313
|
+
##### [xcuitest_launch_app](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/ios/xcuitest/command/multi_app_handler.rb#L65) ios
|
3318
3314
|
|
3319
3315
|
> def xcuitest_launch_app(bundle_id:)
|
3320
3316
|
|
@@ -3331,7 +3327,7 @@ __Returns:__
|
|
3331
3327
|
|
3332
3328
|
--
|
3333
3329
|
|
3334
|
-
##### [xcuitest_terminate_app](https://github.com/appium/ruby_lib/blob/
|
3330
|
+
##### [xcuitest_terminate_app](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/ios/xcuitest/command/multi_app_handler.rb#L80) ios
|
3335
3331
|
|
3336
3332
|
> def xcuitest_terminate_app(bundle_id:)
|
3337
3333
|
|
@@ -3348,7 +3344,7 @@ __Returns:__
|
|
3348
3344
|
|
3349
3345
|
--
|
3350
3346
|
|
3351
|
-
##### [xcuitest_query_app_status](https://github.com/appium/ruby_lib/blob/
|
3347
|
+
##### [xcuitest_query_app_status](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/ios/xcuitest/command/multi_app_handler.rb#L102) ios
|
3352
3348
|
|
3353
3349
|
> def xcuitest_query_app_status(bundle_id:)
|
3354
3350
|
|
@@ -3372,7 +3368,7 @@ __Returns:__
|
|
3372
3368
|
|
3373
3369
|
--
|
3374
3370
|
|
3375
|
-
##### [xcuitest_activate_app](https://github.com/appium/ruby_lib/blob/
|
3371
|
+
##### [xcuitest_activate_app](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/ios/xcuitest/command/multi_app_handler.rb#L118) ios
|
3376
3372
|
|
3377
3373
|
> def xcuitest_activate_app(bundle_id:)
|
3378
3374
|
|