appium_lib 10.3.0 → 10.3.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +8 -0
- data/docs/android_docs.md +212 -212
- data/docs/ios_docs.md +258 -258
- data/lib/appium_lib/android/element/generic.rb +2 -2
- data/lib/appium_lib/version.rb +2 -2
- data/release_notes.md +6 -0
- metadata +2 -2
data/docs/ios_docs.md
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
##### [load_settings](https://github.com/appium/ruby_lib/blob/
|
1
|
+
##### [load_settings](https://github.com/appium/ruby_lib/blob/ef89749d25c7044fe27fa4b7c1adfd011b60bba1/lib/appium_lib/appium.rb#L60) 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/ef89749d25c7044fe27fa4b7c1adfd011b60bba1/lib/appium_lib/appium.rb#L96) 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/ef89749d25c7044fe27fa4b7c1adfd011b60bba1/lib/appium_lib/appium.rb#L101) 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/ef89749d25c7044fe27fa4b7c1adfd011b60bba1/lib/appium_lib/appium.rb#L143) 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/ef89749d25c7044fe27fa4b7c1adfd011b60bba1/lib/appium_lib/appium.rb#L199) 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/ef89749d25c7044fe27fa4b7c1adfd011b60bba1/lib/appium_lib/driver.rb#L49) common
|
120
120
|
|
121
121
|
> def global_webdriver_http_sleep
|
122
122
|
|
@@ -124,7 +124,7 @@ The amount to sleep in seconds before every webdriver http call.
|
|
124
124
|
|
125
125
|
--
|
126
126
|
|
127
|
-
##### [global_webdriver_http_sleep=](https://github.com/appium/ruby_lib/blob/
|
127
|
+
##### [global_webdriver_http_sleep=](https://github.com/appium/ruby_lib/blob/ef89749d25c7044fe27fa4b7c1adfd011b60bba1/lib/appium_lib/driver.rb#L49) common
|
128
128
|
|
129
129
|
> def global_webdriver_http_sleep=(value)
|
130
130
|
|
@@ -132,7 +132,7 @@ The amount to sleep in seconds before every webdriver http call.
|
|
132
132
|
|
133
133
|
--
|
134
134
|
|
135
|
-
##### [sauce](https://github.com/appium/ruby_lib/blob/
|
135
|
+
##### [sauce](https://github.com/appium/ruby_lib/blob/ef89749d25c7044fe27fa4b7c1adfd011b60bba1/lib/appium_lib/driver.rb#L52) common
|
136
136
|
|
137
137
|
> def sauce
|
138
138
|
|
@@ -140,7 +140,7 @@ SauceLab's settings
|
|
140
140
|
|
141
141
|
--
|
142
142
|
|
143
|
-
##### [sauce_username](https://github.com/appium/ruby_lib/blob/
|
143
|
+
##### [sauce_username](https://github.com/appium/ruby_lib/blob/ef89749d25c7044fe27fa4b7c1adfd011b60bba1/lib/appium_lib/driver.rb#L55) common
|
144
144
|
|
145
145
|
> def sauce_username
|
146
146
|
|
@@ -149,7 +149,7 @@ same as @sauce.username
|
|
149
149
|
|
150
150
|
--
|
151
151
|
|
152
|
-
##### [sauce_access_key](https://github.com/appium/ruby_lib/blob/
|
152
|
+
##### [sauce_access_key](https://github.com/appium/ruby_lib/blob/ef89749d25c7044fe27fa4b7c1adfd011b60bba1/lib/appium_lib/driver.rb#L58) common
|
153
153
|
|
154
154
|
> def sauce_access_key
|
155
155
|
|
@@ -158,7 +158,7 @@ same as @sauce.access_key
|
|
158
158
|
|
159
159
|
--
|
160
160
|
|
161
|
-
##### [sauce_endpoint](https://github.com/appium/ruby_lib/blob/
|
161
|
+
##### [sauce_endpoint](https://github.com/appium/ruby_lib/blob/ef89749d25c7044fe27fa4b7c1adfd011b60bba1/lib/appium_lib/driver.rb#L61) common
|
162
162
|
|
163
163
|
> def sauce_endpoint
|
164
164
|
|
@@ -167,7 +167,7 @@ same as @sauce.endpoint
|
|
167
167
|
|
168
168
|
--
|
169
169
|
|
170
|
-
##### [caps](https://github.com/appium/ruby_lib/blob/
|
170
|
+
##### [caps](https://github.com/appium/ruby_lib/blob/ef89749d25c7044fe27fa4b7c1adfd011b60bba1/lib/appium_lib/driver.rb#L65) common
|
171
171
|
|
172
172
|
> def caps
|
173
173
|
|
@@ -176,7 +176,7 @@ read http://www.rubydoc.info/github/appium/ruby_lib_core/Appium/Core/Driver
|
|
176
176
|
|
177
177
|
--
|
178
178
|
|
179
|
-
##### [custom_url](https://github.com/appium/ruby_lib/blob/
|
179
|
+
##### [custom_url](https://github.com/appium/ruby_lib/blob/ef89749d25c7044fe27fa4b7c1adfd011b60bba1/lib/appium_lib/driver.rb#L66) 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/ef89749d25c7044fe27fa4b7c1adfd011b60bba1/lib/appium_lib/driver.rb#L67) 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/ef89749d25c7044fe27fa4b7c1adfd011b60bba1/lib/appium_lib/driver.rb#L68) 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/ef89749d25c7044fe27fa4b7c1adfd011b60bba1/lib/appium_lib/driver.rb#L69) 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/ef89749d25c7044fe27fa4b7c1adfd011b60bba1/lib/appium_lib/driver.rb#L70) 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/ef89749d25c7044fe27fa4b7c1adfd011b60bba1/lib/appium_lib/driver.rb#L71) 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/ef89749d25c7044fe27fa4b7c1adfd011b60bba1/lib/appium_lib/driver.rb#L72) 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/ef89749d25c7044fe27fa4b7c1adfd011b60bba1/lib/appium_lib/driver.rb#L73) 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/ef89749d25c7044fe27fa4b7c1adfd011b60bba1/lib/appium_lib/driver.rb#L74) 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/ef89749d25c7044fe27fa4b7c1adfd011b60bba1/lib/appium_lib/driver.rb#L75) 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/ef89749d25c7044fe27fa4b7c1adfd011b60bba1/lib/appium_lib/driver.rb#L76) 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/ef89749d25c7044fe27fa4b7c1adfd011b60bba1/lib/appium_lib/driver.rb#L79) 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/ef89749d25c7044fe27fa4b7c1adfd011b60bba1/lib/appium_lib/driver.rb#L81) 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/ef89749d25c7044fe27fa4b7c1adfd011b60bba1/lib/appium_lib/driver.rb#L84) 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/ef89749d25c7044fe27fa4b7c1adfd011b60bba1/lib/appium_lib/driver.rb#L86) 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/ef89749d25c7044fe27fa4b7c1adfd011b60bba1/lib/appium_lib/driver.rb#L154) 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/ef89749d25c7044fe27fa4b7c1adfd011b60bba1/lib/appium_lib/driver.rb#L273) 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/ef89749d25c7044fe27fa4b7c1adfd011b60bba1/lib/appium_lib/driver.rb#L295) 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/ef89749d25c7044fe27fa4b7c1adfd011b60bba1/lib/appium_lib/driver.rb#L299) 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/ef89749d25c7044fe27fa4b7c1adfd011b60bba1/lib/appium_lib/driver.rb#L303) 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/ef89749d25c7044fe27fa4b7c1adfd011b60bba1/lib/appium_lib/driver.rb#L309) 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/ef89749d25c7044fe27fa4b7c1adfd011b60bba1/lib/appium_lib/driver.rb#L315) 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/ef89749d25c7044fe27fa4b7c1adfd011b60bba1/lib/appium_lib/driver.rb#L321) 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/ef89749d25c7044fe27fa4b7c1adfd011b60bba1/lib/appium_lib/driver.rb#L341) common
|
403
403
|
|
404
404
|
> def dialect
|
405
405
|
|
@@ -421,7 +421,7 @@ __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/ef89749d25c7044fe27fa4b7c1adfd011b60bba1/lib/appium_lib/driver.rb#L355) common
|
425
425
|
|
426
426
|
> def action
|
427
427
|
|
@@ -434,7 +434,7 @@ __Returns:__
|
|
434
434
|
|
435
435
|
--
|
436
436
|
|
437
|
-
##### [appium_server_version](https://github.com/appium/ruby_lib/blob/
|
437
|
+
##### [appium_server_version](https://github.com/appium/ruby_lib/blob/ef89749d25c7044fe27fa4b7c1adfd011b60bba1/lib/appium_lib/driver.rb#L375) common
|
438
438
|
|
439
439
|
> def appium_server_version
|
440
440
|
|
@@ -446,7 +446,7 @@ __Returns:__
|
|
446
446
|
|
447
447
|
--
|
448
448
|
|
449
|
-
##### [remote_status](https://github.com/appium/ruby_lib/blob/
|
449
|
+
##### [remote_status](https://github.com/appium/ruby_lib/blob/ef89749d25c7044fe27fa4b7c1adfd011b60bba1/lib/appium_lib/driver.rb#L383) common
|
450
450
|
|
451
451
|
> def appium_server_version
|
452
452
|
|
@@ -458,7 +458,7 @@ __Returns:__
|
|
458
458
|
|
459
459
|
--
|
460
460
|
|
461
|
-
##### [platform_version](https://github.com/appium/ruby_lib/blob/
|
461
|
+
##### [platform_version](https://github.com/appium/ruby_lib/blob/ef89749d25c7044fe27fa4b7c1adfd011b60bba1/lib/appium_lib/driver.rb#L387) common
|
462
462
|
|
463
463
|
> def platform_version
|
464
464
|
|
@@ -470,7 +470,7 @@ __Returns:__
|
|
470
470
|
|
471
471
|
--
|
472
472
|
|
473
|
-
##### [appium_client_version](https://github.com/appium/ruby_lib/blob/
|
473
|
+
##### [appium_client_version](https://github.com/appium/ruby_lib/blob/ef89749d25c7044fe27fa4b7c1adfd011b60bba1/lib/appium_lib/driver.rb#L400) common
|
474
474
|
|
475
475
|
> def appium_client_version
|
476
476
|
|
@@ -482,7 +482,7 @@ __Returns:__
|
|
482
482
|
|
483
483
|
--
|
484
484
|
|
485
|
-
##### [absolute_app_path](https://github.com/appium/ruby_lib/blob/
|
485
|
+
##### [absolute_app_path](https://github.com/appium/ruby_lib/blob/ef89749d25c7044fe27fa4b7c1adfd011b60bba1/lib/appium_lib/driver.rb#L412) common
|
486
486
|
|
487
487
|
> def self.absolute_app_path(opts)
|
488
488
|
|
@@ -499,7 +499,7 @@ __Returns:__
|
|
499
499
|
|
500
500
|
--
|
501
501
|
|
502
|
-
##### [server_url](https://github.com/appium/ruby_lib/blob/
|
502
|
+
##### [server_url](https://github.com/appium/ruby_lib/blob/ef89749d25c7044fe27fa4b7c1adfd011b60bba1/lib/appium_lib/driver.rb#L435) common
|
503
503
|
|
504
504
|
> def server_url
|
505
505
|
|
@@ -511,7 +511,7 @@ __Returns:__
|
|
511
511
|
|
512
512
|
--
|
513
513
|
|
514
|
-
##### [restart](https://github.com/appium/ruby_lib/blob/
|
514
|
+
##### [restart](https://github.com/appium/ruby_lib/blob/ef89749d25c7044fe27fa4b7c1adfd011b60bba1/lib/appium_lib/driver.rb#L444) common
|
515
515
|
|
516
516
|
> def restart
|
517
517
|
|
@@ -523,7 +523,7 @@ __Returns:__
|
|
523
523
|
|
524
524
|
--
|
525
525
|
|
526
|
-
##### [screenshot](https://github.com/appium/ruby_lib/blob/
|
526
|
+
##### [screenshot](https://github.com/appium/ruby_lib/blob/ef89749d25c7044fe27fa4b7c1adfd011b60bba1/lib/appium_lib/driver.rb#L457) common
|
527
527
|
|
528
528
|
> def screenshot(png_save_path)
|
529
529
|
|
@@ -539,7 +539,7 @@ __Returns:__
|
|
539
539
|
|
540
540
|
--
|
541
541
|
|
542
|
-
##### [element_screenshot](https://github.com/appium/ruby_lib/blob/
|
542
|
+
##### [element_screenshot](https://github.com/appium/ruby_lib/blob/ef89749d25c7044fe27fa4b7c1adfd011b60bba1/lib/appium_lib/driver.rb#L471) common
|
543
543
|
|
544
544
|
> def element_screenshot(element, png_save_path)
|
545
545
|
|
@@ -557,7 +557,7 @@ __Returns:__
|
|
557
557
|
|
558
558
|
--
|
559
559
|
|
560
|
-
##### [driver_quit](https://github.com/appium/ruby_lib/blob/
|
560
|
+
##### [driver_quit](https://github.com/appium/ruby_lib/blob/ef89749d25c7044fe27fa4b7c1adfd011b60bba1/lib/appium_lib/driver.rb#L478) common
|
561
561
|
|
562
562
|
> def driver_quit
|
563
563
|
|
@@ -569,7 +569,7 @@ __Returns:__
|
|
569
569
|
|
570
570
|
--
|
571
571
|
|
572
|
-
##### [quit_driver](https://github.com/appium/ruby_lib/blob/
|
572
|
+
##### [quit_driver](https://github.com/appium/ruby_lib/blob/ef89749d25c7044fe27fa4b7c1adfd011b60bba1/lib/appium_lib/driver.rb#L481) common
|
573
573
|
|
574
574
|
> def driver_quit
|
575
575
|
|
@@ -581,7 +581,7 @@ __Returns:__
|
|
581
581
|
|
582
582
|
--
|
583
583
|
|
584
|
-
##### [window_size](https://github.com/appium/ruby_lib/blob/
|
584
|
+
##### [window_size](https://github.com/appium/ruby_lib/blob/ef89749d25c7044fe27fa4b7c1adfd011b60bba1/lib/appium_lib/driver.rb#L492) common
|
585
585
|
|
586
586
|
> def window_size
|
587
587
|
|
@@ -593,7 +593,7 @@ __Returns:__
|
|
593
593
|
|
594
594
|
--
|
595
595
|
|
596
|
-
##### [window_rect](https://github.com/appium/ruby_lib/blob/
|
596
|
+
##### [window_rect](https://github.com/appium/ruby_lib/blob/ef89749d25c7044fe27fa4b7c1adfd011b60bba1/lib/appium_lib/driver.rb#L507) common
|
597
597
|
|
598
598
|
> def window_rect
|
599
599
|
|
@@ -605,7 +605,7 @@ __Returns:__
|
|
605
605
|
|
606
606
|
--
|
607
607
|
|
608
|
-
##### [start_driver](https://github.com/appium/ruby_lib/blob/
|
608
|
+
##### [start_driver](https://github.com/appium/ruby_lib/blob/ef89749d25c7044fe27fa4b7c1adfd011b60bba1/lib/appium_lib/driver.rb#L540) common
|
609
609
|
|
610
610
|
> def start_driver(http_client_ops =
|
611
611
|
|
@@ -625,7 +625,7 @@ __Returns:__
|
|
625
625
|
|
626
626
|
--
|
627
627
|
|
628
|
-
##### [set_implicit_wait](https://github.com/appium/ruby_lib/blob/
|
628
|
+
##### [set_implicit_wait](https://github.com/appium/ruby_lib/blob/ef89749d25c7044fe27fa4b7c1adfd011b60bba1/lib/appium_lib/driver.rb#L561) common
|
629
629
|
|
630
630
|
> def set_implicit_wait(wait)
|
631
631
|
|
@@ -633,7 +633,7 @@ To ignore error for Espresso Driver
|
|
633
633
|
|
634
634
|
--
|
635
635
|
|
636
|
-
##### [no_wait](https://github.com/appium/ruby_lib/blob/
|
636
|
+
##### [no_wait](https://github.com/appium/ruby_lib/blob/ef89749d25c7044fe27fa4b7c1adfd011b60bba1/lib/appium_lib/driver.rb#L572) common
|
637
637
|
|
638
638
|
> def no_wait
|
639
639
|
|
@@ -641,7 +641,7 @@ Set implicit wait to zero.
|
|
641
641
|
|
642
642
|
--
|
643
643
|
|
644
|
-
##### [set_wait](https://github.com/appium/ruby_lib/blob/
|
644
|
+
##### [set_wait](https://github.com/appium/ruby_lib/blob/ef89749d25c7044fe27fa4b7c1adfd011b60bba1/lib/appium_lib/driver.rb#L586) common
|
645
645
|
|
646
646
|
> def set_wait(timeout = nil)
|
647
647
|
|
@@ -657,7 +657,7 @@ __Returns:__
|
|
657
657
|
|
658
658
|
--
|
659
659
|
|
660
|
-
##### [exists](https://github.com/appium/ruby_lib/blob/
|
660
|
+
##### [exists](https://github.com/appium/ruby_lib/blob/ef89749d25c7044fe27fa4b7c1adfd011b60bba1/lib/appium_lib/driver.rb#L603) common
|
661
661
|
|
662
662
|
> def exists(pre_check = 0, post_check = @core.default_wait)
|
663
663
|
|
@@ -681,7 +681,7 @@ __Returns:__
|
|
681
681
|
|
682
682
|
--
|
683
683
|
|
684
|
-
##### [execute_script](https://github.com/appium/ruby_lib/blob/
|
684
|
+
##### [execute_script](https://github.com/appium/ruby_lib/blob/ef89749d25c7044fe27fa4b7c1adfd011b60bba1/lib/appium_lib/driver.rb#L627) common
|
685
685
|
|
686
686
|
> def execute_script(script, *args)
|
687
687
|
|
@@ -699,7 +699,7 @@ __Returns:__
|
|
699
699
|
|
700
700
|
--
|
701
701
|
|
702
|
-
##### [execute_async_script](https://github.com/appium/ruby_lib/blob/
|
702
|
+
##### [execute_async_script](https://github.com/appium/ruby_lib/blob/ef89749d25c7044fe27fa4b7c1adfd011b60bba1/lib/appium_lib/driver.rb#L635) common
|
703
703
|
|
704
704
|
> def execute_async_script(script, *args)
|
705
705
|
|
@@ -709,7 +709,7 @@ Get the window handles of open browser windows
|
|
709
709
|
|
710
710
|
--
|
711
711
|
|
712
|
-
##### [window_handles](https://github.com/appium/ruby_lib/blob/
|
712
|
+
##### [window_handles](https://github.com/appium/ruby_lib/blob/ef89749d25c7044fe27fa4b7c1adfd011b60bba1/lib/appium_lib/driver.rb#L639) common
|
713
713
|
|
714
714
|
> def window_handles
|
715
715
|
|
@@ -717,7 +717,7 @@ Get the window handles of open browser windows
|
|
717
717
|
|
718
718
|
--
|
719
719
|
|
720
|
-
##### [window_handle](https://github.com/appium/ruby_lib/blob/
|
720
|
+
##### [window_handle](https://github.com/appium/ruby_lib/blob/ef89749d25c7044fe27fa4b7c1adfd011b60bba1/lib/appium_lib/driver.rb#L644) common
|
721
721
|
|
722
722
|
> def window_handle
|
723
723
|
|
@@ -725,7 +725,7 @@ Get the current window handle
|
|
725
725
|
|
726
726
|
--
|
727
727
|
|
728
|
-
##### [navigate](https://github.com/appium/ruby_lib/blob/
|
728
|
+
##### [navigate](https://github.com/appium/ruby_lib/blob/ef89749d25c7044fe27fa4b7c1adfd011b60bba1/lib/appium_lib/driver.rb#L648) common
|
729
729
|
|
730
730
|
> def navigate
|
731
731
|
|
@@ -733,7 +733,7 @@ Get the current window handle
|
|
733
733
|
|
734
734
|
--
|
735
735
|
|
736
|
-
##### [manage](https://github.com/appium/ruby_lib/blob/
|
736
|
+
##### [manage](https://github.com/appium/ruby_lib/blob/ef89749d25c7044fe27fa4b7c1adfd011b60bba1/lib/appium_lib/driver.rb#L652) common
|
737
737
|
|
738
738
|
> def manage
|
739
739
|
|
@@ -741,7 +741,7 @@ Get the current window handle
|
|
741
741
|
|
742
742
|
--
|
743
743
|
|
744
|
-
##### [get](https://github.com/appium/ruby_lib/blob/
|
744
|
+
##### [get](https://github.com/appium/ruby_lib/blob/ef89749d25c7044fe27fa4b7c1adfd011b60bba1/lib/appium_lib/driver.rb#L656) common
|
745
745
|
|
746
746
|
> def get(url)
|
747
747
|
|
@@ -749,7 +749,7 @@ Get the current window handle
|
|
749
749
|
|
750
750
|
--
|
751
751
|
|
752
|
-
##### [current_url](https://github.com/appium/ruby_lib/blob/
|
752
|
+
##### [current_url](https://github.com/appium/ruby_lib/blob/ef89749d25c7044fe27fa4b7c1adfd011b60bba1/lib/appium_lib/driver.rb#L660) common
|
753
753
|
|
754
754
|
> def current_url
|
755
755
|
|
@@ -757,7 +757,7 @@ Get the current window handle
|
|
757
757
|
|
758
758
|
--
|
759
759
|
|
760
|
-
##### [title](https://github.com/appium/ruby_lib/blob/
|
760
|
+
##### [title](https://github.com/appium/ruby_lib/blob/ef89749d25c7044fe27fa4b7c1adfd011b60bba1/lib/appium_lib/driver.rb#L664) common
|
761
761
|
|
762
762
|
> def title
|
763
763
|
|
@@ -765,7 +765,7 @@ Get the current window handle
|
|
765
765
|
|
766
766
|
--
|
767
767
|
|
768
|
-
##### [switch_to](https://github.com/appium/ruby_lib/blob/
|
768
|
+
##### [switch_to](https://github.com/appium/ruby_lib/blob/ef89749d25c7044fe27fa4b7c1adfd011b60bba1/lib/appium_lib/driver.rb#L670) common
|
769
769
|
|
770
770
|
> def switch_to
|
771
771
|
|
@@ -777,7 +777,7 @@ __Returns:__
|
|
777
777
|
|
778
778
|
--
|
779
779
|
|
780
|
-
##### [find_elements](https://github.com/appium/ruby_lib/blob/
|
780
|
+
##### [find_elements](https://github.com/appium/ruby_lib/blob/ef89749d25c7044fe27fa4b7c1adfd011b60bba1/lib/appium_lib/driver.rb#L697) common
|
781
781
|
|
782
782
|
> def find_elements(*args)
|
783
783
|
|
@@ -797,7 +797,7 @@ __Returns:__
|
|
797
797
|
|
798
798
|
--
|
799
799
|
|
800
|
-
##### [find_element](https://github.com/appium/ruby_lib/blob/
|
800
|
+
##### [find_element](https://github.com/appium/ruby_lib/blob/ef89749d25c7044fe27fa4b7c1adfd011b60bba1/lib/appium_lib/driver.rb#L713) common
|
801
801
|
|
802
802
|
> def find_element(*args)
|
803
803
|
|
@@ -815,7 +815,7 @@ __Returns:__
|
|
815
815
|
|
816
816
|
--
|
817
817
|
|
818
|
-
##### [find_element_by_image](https://github.com/appium/ruby_lib/blob/
|
818
|
+
##### [find_element_by_image](https://github.com/appium/ruby_lib/blob/ef89749d25c7044fe27fa4b7c1adfd011b60bba1/lib/appium_lib/driver.rb#L728) common
|
819
819
|
|
820
820
|
> def find_element_by_image(png_img_path)
|
821
821
|
|
@@ -831,7 +831,7 @@ __Returns:__
|
|
831
831
|
|
832
832
|
--
|
833
833
|
|
834
|
-
##### [find_elements_by_image](https://github.com/appium/ruby_lib/blob/
|
834
|
+
##### [find_elements_by_image](https://github.com/appium/ruby_lib/blob/ef89749d25c7044fe27fa4b7c1adfd011b60bba1/lib/appium_lib/driver.rb#L743) common
|
835
835
|
|
836
836
|
> def find_elements_by_image(png_img_paths)
|
837
837
|
|
@@ -847,7 +847,7 @@ __Returns:__
|
|
847
847
|
|
848
848
|
--
|
849
849
|
|
850
|
-
##### [set_location](https://github.com/appium/ruby_lib/blob/
|
850
|
+
##### [set_location](https://github.com/appium/ruby_lib/blob/ef89749d25c7044fe27fa4b7c1adfd011b60bba1/lib/appium_lib/driver.rb#L756) common
|
851
851
|
|
852
852
|
> def set_location(opts = {})
|
853
853
|
|
@@ -863,7 +863,7 @@ __Returns:__
|
|
863
863
|
|
864
864
|
--
|
865
865
|
|
866
|
-
##### [x](https://github.com/appium/ruby_lib/blob/
|
866
|
+
##### [x](https://github.com/appium/ruby_lib/blob/ef89749d25c7044fe27fa4b7c1adfd011b60bba1/lib/appium_lib/driver.rb#L766) common
|
867
867
|
|
868
868
|
> def x
|
869
869
|
|
@@ -876,7 +876,7 @@ __Returns:__
|
|
876
876
|
|
877
877
|
--
|
878
878
|
|
879
|
-
##### [username](https://github.com/appium/ruby_lib/blob/
|
879
|
+
##### [username](https://github.com/appium/ruby_lib/blob/ef89749d25c7044fe27fa4b7c1adfd011b60bba1/lib/appium_lib/sauce_labs.rb#L18) common
|
880
880
|
|
881
881
|
> def username
|
882
882
|
|
@@ -884,7 +884,7 @@ Username for use on Sauce Labs. Set `false` to disable Sauce, even when SAUCE_US
|
|
884
884
|
|
885
885
|
--
|
886
886
|
|
887
|
-
##### [access_key](https://github.com/appium/ruby_lib/blob/
|
887
|
+
##### [access_key](https://github.com/appium/ruby_lib/blob/ef89749d25c7044fe27fa4b7c1adfd011b60bba1/lib/appium_lib/sauce_labs.rb#L20) common
|
888
888
|
|
889
889
|
> def access_key
|
890
890
|
|
@@ -892,7 +892,7 @@ Access Key for use on Sauce Labs. Set `false` to disable Sauce, even when SAUCE_
|
|
892
892
|
|
893
893
|
--
|
894
894
|
|
895
|
-
##### [endpoint](https://github.com/appium/ruby_lib/blob/
|
895
|
+
##### [endpoint](https://github.com/appium/ruby_lib/blob/ef89749d25c7044fe27fa4b7c1adfd011b60bba1/lib/appium_lib/sauce_labs.rb#L22) common
|
896
896
|
|
897
897
|
> def endpoint
|
898
898
|
|
@@ -900,7 +900,7 @@ Override the Sauce Appium endpoint to allow e.g. TestObject tests. Default is 'o
|
|
900
900
|
|
901
901
|
--
|
902
902
|
|
903
|
-
##### [initialize](https://github.com/appium/ruby_lib/blob/
|
903
|
+
##### [initialize](https://github.com/appium/ruby_lib/blob/ef89749d25c7044fe27fa4b7c1adfd011b60bba1/lib/appium_lib/sauce_labs.rb#L47) common
|
904
904
|
|
905
905
|
> def initialize(appium_lib_opts)
|
906
906
|
|
@@ -916,7 +916,7 @@ __Returns:__
|
|
916
916
|
|
917
917
|
--
|
918
918
|
|
919
|
-
##### [sauce_server_url?](https://github.com/appium/ruby_lib/blob/
|
919
|
+
##### [sauce_server_url?](https://github.com/appium/ruby_lib/blob/ef89749d25c7044fe27fa4b7c1adfd011b60bba1/lib/appium_lib/sauce_labs.rb#L67) common
|
920
920
|
|
921
921
|
> def sauce_server_url?
|
922
922
|
|
@@ -928,7 +928,7 @@ __Returns:__
|
|
928
928
|
|
929
929
|
--
|
930
930
|
|
931
|
-
##### [server_url](https://github.com/appium/ruby_lib/blob/
|
931
|
+
##### [server_url](https://github.com/appium/ruby_lib/blob/ef89749d25c7044fe27fa4b7c1adfd011b60bba1/lib/appium_lib/sauce_labs.rb#L80) common
|
932
932
|
|
933
933
|
> def server_url
|
934
934
|
|
@@ -940,7 +940,7 @@ __Returns:__
|
|
940
940
|
|
941
941
|
--
|
942
942
|
|
943
|
-
##### [get_log](https://github.com/appium/ruby_lib/blob/
|
943
|
+
##### [get_log](https://github.com/appium/ruby_lib/blob/ef89749d25c7044fe27fa4b7c1adfd011b60bba1/lib/appium_lib/common/log.rb#L25) common
|
944
944
|
|
945
945
|
> def get_log(type)
|
946
946
|
|
@@ -956,7 +956,7 @@ __Returns:__
|
|
956
956
|
|
957
957
|
--
|
958
958
|
|
959
|
-
##### [get_available_log_types](https://github.com/appium/ruby_lib/blob/
|
959
|
+
##### [get_available_log_types](https://github.com/appium/ruby_lib/blob/ef89749d25c7044fe27fa4b7c1adfd011b60bba1/lib/appium_lib/common/log.rb#L37) common
|
960
960
|
|
961
961
|
> def get_available_log_types
|
962
962
|
|
@@ -968,7 +968,7 @@ __Returns:__
|
|
968
968
|
|
969
969
|
--
|
970
970
|
|
971
|
-
##### [wait_true](https://github.com/appium/ruby_lib/blob/
|
971
|
+
##### [wait_true](https://github.com/appium/ruby_lib/blob/ef89749d25c7044fe27fa4b7c1adfd011b60bba1/lib/appium_lib/common/wait.rb#L44) common
|
972
972
|
|
973
973
|
> def wait_true(opts = {})
|
974
974
|
|
@@ -988,7 +988,7 @@ __Parameters:__
|
|
988
988
|
|
989
989
|
--
|
990
990
|
|
991
|
-
##### [wait](https://github.com/appium/ruby_lib/blob/
|
991
|
+
##### [wait](https://github.com/appium/ruby_lib/blob/ef89749d25c7044fe27fa4b7c1adfd011b60bba1/lib/appium_lib/common/wait.rb#L73) common
|
992
992
|
|
993
993
|
> def wait(opts = {})
|
994
994
|
|
@@ -1006,7 +1006,7 @@ __Parameters:__
|
|
1006
1006
|
|
1007
1007
|
--
|
1008
1008
|
|
1009
|
-
##### [add_touch_actions](https://github.com/appium/ruby_lib/blob/
|
1009
|
+
##### [add_touch_actions](https://github.com/appium/ruby_lib/blob/ef89749d25c7044fe27fa4b7c1adfd011b60bba1/lib/appium_lib/common/device.rb#L26) common
|
1010
1010
|
|
1011
1011
|
> def add_touch_actions
|
1012
1012
|
|
@@ -1014,7 +1014,7 @@ __Parameters:__
|
|
1014
1014
|
|
1015
1015
|
--
|
1016
1016
|
|
1017
|
-
##### [delegate_from_appium_driver](https://github.com/appium/ruby_lib/blob/
|
1017
|
+
##### [delegate_from_appium_driver](https://github.com/appium/ruby_lib/blob/ef89749d25c7044fe27fa4b7c1adfd011b60bba1/lib/appium_lib/common/device.rb#L38) common
|
1018
1018
|
|
1019
1019
|
> def delegate_from_appium_driver(method, delegation_target)
|
1020
1020
|
|
@@ -1022,7 +1022,7 @@ __Parameters:__
|
|
1022
1022
|
|
1023
1023
|
--
|
1024
1024
|
|
1025
|
-
##### [ignore](https://github.com/appium/ruby_lib/blob/
|
1025
|
+
##### [ignore](https://github.com/appium/ruby_lib/blob/ef89749d25c7044fe27fa4b7c1adfd011b60bba1/lib/appium_lib/common/helper.rb#L30) common
|
1026
1026
|
|
1027
1027
|
> def ignore
|
1028
1028
|
|
@@ -1030,7 +1030,7 @@ Return yield and ignore any exceptions.
|
|
1030
1030
|
|
1031
1031
|
--
|
1032
1032
|
|
1033
|
-
##### [back](https://github.com/appium/ruby_lib/blob/
|
1033
|
+
##### [back](https://github.com/appium/ruby_lib/blob/ef89749d25c7044fe27fa4b7c1adfd011b60bba1/lib/appium_lib/common/helper.rb#L37) common
|
1034
1034
|
|
1035
1035
|
> def back
|
1036
1036
|
|
@@ -1042,7 +1042,7 @@ __Returns:__
|
|
1042
1042
|
|
1043
1043
|
--
|
1044
1044
|
|
1045
|
-
##### [session_id](https://github.com/appium/ruby_lib/blob/
|
1045
|
+
##### [session_id](https://github.com/appium/ruby_lib/blob/ef89749d25c7044fe27fa4b7c1adfd011b60bba1/lib/appium_lib/common/helper.rb#L48) common
|
1046
1046
|
|
1047
1047
|
> def session_id
|
1048
1048
|
|
@@ -1054,7 +1054,7 @@ __Returns:__
|
|
1054
1054
|
|
1055
1055
|
--
|
1056
1056
|
|
1057
|
-
##### [xpath](https://github.com/appium/ruby_lib/blob/
|
1057
|
+
##### [xpath](https://github.com/appium/ruby_lib/blob/ef89749d25c7044fe27fa4b7c1adfd011b60bba1/lib/appium_lib/common/helper.rb#L56) common
|
1058
1058
|
|
1059
1059
|
> def xpath(xpath_str)
|
1060
1060
|
|
@@ -1070,7 +1070,7 @@ __Returns:__
|
|
1070
1070
|
|
1071
1071
|
--
|
1072
1072
|
|
1073
|
-
##### [xpaths](https://github.com/appium/ruby_lib/blob/
|
1073
|
+
##### [xpaths](https://github.com/appium/ruby_lib/blob/ef89749d25c7044fe27fa4b7c1adfd011b60bba1/lib/appium_lib/common/helper.rb#L64) common
|
1074
1074
|
|
1075
1075
|
> def xpaths(xpath_str)
|
1076
1076
|
|
@@ -1086,7 +1086,7 @@ __Returns:__
|
|
1086
1086
|
|
1087
1087
|
--
|
1088
1088
|
|
1089
|
-
##### [result](https://github.com/appium/ruby_lib/blob/
|
1089
|
+
##### [result](https://github.com/appium/ruby_lib/blob/ef89749d25c7044fe27fa4b7c1adfd011b60bba1/lib/appium_lib/common/helper.rb#L74) common
|
1090
1090
|
|
1091
1091
|
> def result
|
1092
1092
|
|
@@ -1094,7 +1094,7 @@ Returns the value of attribute result
|
|
1094
1094
|
|
1095
1095
|
--
|
1096
1096
|
|
1097
|
-
##### [initialize](https://github.com/appium/ruby_lib/blob/
|
1097
|
+
##### [initialize](https://github.com/appium/ruby_lib/blob/ef89749d25c7044fe27fa4b7c1adfd011b60bba1/lib/appium_lib/common/helper.rb#L76) common
|
1098
1098
|
|
1099
1099
|
> def initialize(platform)
|
1100
1100
|
|
@@ -1106,7 +1106,7 @@ __Returns:__
|
|
1106
1106
|
|
1107
1107
|
--
|
1108
1108
|
|
1109
|
-
##### [reset](https://github.com/appium/ruby_lib/blob/
|
1109
|
+
##### [reset](https://github.com/appium/ruby_lib/blob/ef89749d25c7044fe27fa4b7c1adfd011b60bba1/lib/appium_lib/common/helper.rb#L81) common
|
1110
1110
|
|
1111
1111
|
> def reset
|
1112
1112
|
|
@@ -1114,7 +1114,7 @@ __Returns:__
|
|
1114
1114
|
|
1115
1115
|
--
|
1116
1116
|
|
1117
|
-
##### [start_element](https://github.com/appium/ruby_lib/blob/
|
1117
|
+
##### [start_element](https://github.com/appium/ruby_lib/blob/ef89749d25c7044fe27fa4b7c1adfd011b60bba1/lib/appium_lib/common/helper.rb#L86) common
|
1118
1118
|
|
1119
1119
|
> def start_element(name, attrs = [])
|
1120
1120
|
|
@@ -1122,7 +1122,7 @@ http://nokogiri.org/Nokogiri/XML/SAX/Document.html
|
|
1122
1122
|
|
1123
1123
|
--
|
1124
1124
|
|
1125
|
-
##### [formatted_result](https://github.com/appium/ruby_lib/blob/
|
1125
|
+
##### [formatted_result](https://github.com/appium/ruby_lib/blob/ef89749d25c7044fe27fa4b7c1adfd011b60bba1/lib/appium_lib/common/helper.rb#L97) common
|
1126
1126
|
|
1127
1127
|
> def formatted_result
|
1128
1128
|
|
@@ -1130,7 +1130,7 @@ http://nokogiri.org/Nokogiri/XML/SAX/Document.html
|
|
1130
1130
|
|
1131
1131
|
--
|
1132
1132
|
|
1133
|
-
##### [get_page_class](https://github.com/appium/ruby_lib/blob/
|
1133
|
+
##### [get_page_class](https://github.com/appium/ruby_lib/blob/ef89749d25c7044fe27fa4b7c1adfd011b60bba1/lib/appium_lib/common/helper.rb#L115) common
|
1134
1134
|
|
1135
1135
|
> def get_page_class
|
1136
1136
|
|
@@ -1142,7 +1142,7 @@ __Returns:__
|
|
1142
1142
|
|
1143
1143
|
--
|
1144
1144
|
|
1145
|
-
##### [page_class](https://github.com/appium/ruby_lib/blob/
|
1145
|
+
##### [page_class](https://github.com/appium/ruby_lib/blob/ef89749d25c7044fe27fa4b7c1adfd011b60bba1/lib/appium_lib/common/helper.rb#L140) common
|
1146
1146
|
|
1147
1147
|
> def page_class
|
1148
1148
|
|
@@ -1155,7 +1155,7 @@ __Returns:__
|
|
1155
1155
|
|
1156
1156
|
--
|
1157
1157
|
|
1158
|
-
##### [source](https://github.com/appium/ruby_lib/blob/
|
1158
|
+
##### [source](https://github.com/appium/ruby_lib/blob/ef89749d25c7044fe27fa4b7c1adfd011b60bba1/lib/appium_lib/common/helper.rb#L147) common
|
1159
1159
|
|
1160
1160
|
> def source
|
1161
1161
|
|
@@ -1167,7 +1167,7 @@ __Returns:__
|
|
1167
1167
|
|
1168
1168
|
--
|
1169
1169
|
|
1170
|
-
##### [get_source](https://github.com/appium/ruby_lib/blob/
|
1170
|
+
##### [get_source](https://github.com/appium/ruby_lib/blob/ef89749d25c7044fe27fa4b7c1adfd011b60bba1/lib/appium_lib/common/helper.rb#L154) common
|
1171
1171
|
|
1172
1172
|
> def get_source
|
1173
1173
|
|
@@ -1180,7 +1180,7 @@ __Returns:__
|
|
1180
1180
|
|
1181
1181
|
--
|
1182
1182
|
|
1183
|
-
##### [px_to_window_rel](https://github.com/appium/ruby_lib/blob/
|
1183
|
+
##### [px_to_window_rel](https://github.com/appium/ruby_lib/blob/ef89749d25c7044fe27fa4b7c1adfd011b60bba1/lib/appium_lib/common/helper.rb#L164) common
|
1184
1184
|
|
1185
1185
|
> def px_to_window_rel(opts = {}, driver = $driver)
|
1186
1186
|
|
@@ -1188,7 +1188,7 @@ Converts pixel values to window relative values
|
|
1188
1188
|
|
1189
1189
|
--
|
1190
1190
|
|
1191
|
-
##### [xml_keys](https://github.com/appium/ruby_lib/blob/
|
1191
|
+
##### [xml_keys](https://github.com/appium/ruby_lib/blob/ef89749d25c7044fe27fa4b7c1adfd011b60bba1/lib/appium_lib/common/helper.rb#L183) common
|
1192
1192
|
|
1193
1193
|
> def xml_keys(target)
|
1194
1194
|
|
@@ -1204,7 +1204,7 @@ __Returns:__
|
|
1204
1204
|
|
1205
1205
|
--
|
1206
1206
|
|
1207
|
-
##### [xml_values](https://github.com/appium/ruby_lib/blob/
|
1207
|
+
##### [xml_values](https://github.com/appium/ruby_lib/blob/ef89749d25c7044fe27fa4b7c1adfd011b60bba1/lib/appium_lib/common/helper.rb#L191) common
|
1208
1208
|
|
1209
1209
|
> def xml_values(target)
|
1210
1210
|
|
@@ -1220,7 +1220,7 @@ __Returns:__
|
|
1220
1220
|
|
1221
1221
|
--
|
1222
1222
|
|
1223
|
-
##### [resolve_id](https://github.com/appium/ruby_lib/blob/
|
1223
|
+
##### [resolve_id](https://github.com/appium/ruby_lib/blob/ef89749d25c7044fe27fa4b7c1adfd011b60bba1/lib/appium_lib/common/helper.rb#L199) common
|
1224
1224
|
|
1225
1225
|
> def resolve_id(id)
|
1226
1226
|
|
@@ -1236,7 +1236,7 @@ __Returns:__
|
|
1236
1236
|
|
1237
1237
|
--
|
1238
1238
|
|
1239
|
-
##### [filter](https://github.com/appium/ruby_lib/blob/
|
1239
|
+
##### [filter](https://github.com/appium/ruby_lib/blob/ef89749d25c7044fe27fa4b7c1adfd011b60bba1/lib/appium_lib/common/helper.rb#L206) common
|
1240
1240
|
|
1241
1241
|
> def filter
|
1242
1242
|
|
@@ -1244,7 +1244,7 @@ Returns the value of attribute filter
|
|
1244
1244
|
|
1245
1245
|
--
|
1246
1246
|
|
1247
|
-
##### [filter=](https://github.com/appium/ruby_lib/blob/
|
1247
|
+
##### [filter=](https://github.com/appium/ruby_lib/blob/ef89749d25c7044fe27fa4b7c1adfd011b60bba1/lib/appium_lib/common/helper.rb#L209) common
|
1248
1248
|
|
1249
1249
|
> def filter=(value)
|
1250
1250
|
|
@@ -1252,7 +1252,7 @@ convert to string to support symbols
|
|
1252
1252
|
|
1253
1253
|
--
|
1254
1254
|
|
1255
|
-
##### [initialize](https://github.com/appium/ruby_lib/blob/
|
1255
|
+
##### [initialize](https://github.com/appium/ruby_lib/blob/ef89749d25c7044fe27fa4b7c1adfd011b60bba1/lib/appium_lib/common/helper.rb#L216) common
|
1256
1256
|
|
1257
1257
|
> def initialize
|
1258
1258
|
|
@@ -1264,7 +1264,7 @@ __Returns:__
|
|
1264
1264
|
|
1265
1265
|
--
|
1266
1266
|
|
1267
|
-
##### [reset](https://github.com/appium/ruby_lib/blob/
|
1267
|
+
##### [reset](https://github.com/appium/ruby_lib/blob/ef89749d25c7044fe27fa4b7c1adfd011b60bba1/lib/appium_lib/common/helper.rb#L221) common
|
1268
1268
|
|
1269
1269
|
> def reset
|
1270
1270
|
|
@@ -1272,7 +1272,7 @@ __Returns:__
|
|
1272
1272
|
|
1273
1273
|
--
|
1274
1274
|
|
1275
|
-
##### [result](https://github.com/appium/ruby_lib/blob/
|
1275
|
+
##### [result](https://github.com/appium/ruby_lib/blob/ef89749d25c7044fe27fa4b7c1adfd011b60bba1/lib/appium_lib/common/helper.rb#L227) common
|
1276
1276
|
|
1277
1277
|
> def result
|
1278
1278
|
|
@@ -1280,7 +1280,7 @@ __Returns:__
|
|
1280
1280
|
|
1281
1281
|
--
|
1282
1282
|
|
1283
|
-
##### [start_element](https://github.com/appium/ruby_lib/blob/
|
1283
|
+
##### [start_element](https://github.com/appium/ruby_lib/blob/ef89749d25c7044fe27fa4b7c1adfd011b60bba1/lib/appium_lib/common/helper.rb#L240) common
|
1284
1284
|
|
1285
1285
|
> def start_element(name, attrs = [])
|
1286
1286
|
|
@@ -1288,7 +1288,7 @@ __Returns:__
|
|
1288
1288
|
|
1289
1289
|
--
|
1290
1290
|
|
1291
|
-
##### [end_element](https://github.com/appium/ruby_lib/blob/
|
1291
|
+
##### [end_element](https://github.com/appium/ruby_lib/blob/ef89749d25c7044fe27fa4b7c1adfd011b60bba1/lib/appium_lib/common/helper.rb#L250) common
|
1292
1292
|
|
1293
1293
|
> def end_element(name)
|
1294
1294
|
|
@@ -1296,7 +1296,7 @@ __Returns:__
|
|
1296
1296
|
|
1297
1297
|
--
|
1298
1298
|
|
1299
|
-
##### [characters](https://github.com/appium/ruby_lib/blob/
|
1299
|
+
##### [characters](https://github.com/appium/ruby_lib/blob/ef89749d25c7044fe27fa4b7c1adfd011b60bba1/lib/appium_lib/common/helper.rb#L257) common
|
1300
1300
|
|
1301
1301
|
> def characters(chars)
|
1302
1302
|
|
@@ -1304,7 +1304,7 @@ __Returns:__
|
|
1304
1304
|
|
1305
1305
|
--
|
1306
1306
|
|
1307
|
-
##### [DEFAULT_HEADERS](https://github.com/appium/ruby_lib/blob/
|
1307
|
+
##### [DEFAULT_HEADERS](https://github.com/appium/ruby_lib/blob/ef89749d25c7044fe27fa4b7c1adfd011b60bba1/lib/appium_lib/common/http_client.rb#L22) common
|
1308
1308
|
|
1309
1309
|
> DEFAULT_HEADERS = { 'Accept' => CONTENT_TYPE, 'User-Agent' => "appium/ruby_lib/#{::Appium::VERSION}" }.freeze
|
1310
1310
|
|
@@ -1312,7 +1312,7 @@ Default HTTP client inherit Appium::Core::Base::Http::Default, but has different
|
|
1312
1312
|
|
1313
1313
|
--
|
1314
1314
|
|
1315
|
-
##### [pinch](https://github.com/appium/ruby_lib/blob/
|
1315
|
+
##### [pinch](https://github.com/appium/ruby_lib/blob/ef89749d25c7044fe27fa4b7c1adfd011b60bba1/lib/appium_lib/common/multi_touch.rb#L65) common
|
1316
1316
|
|
1317
1317
|
> def pinch(percentage = 25, auto_perform = true, driver = $driver)
|
1318
1318
|
|
@@ -1332,7 +1332,7 @@ __Parameters:__
|
|
1332
1332
|
|
1333
1333
|
--
|
1334
1334
|
|
1335
|
-
##### [zoom](https://github.com/appium/ruby_lib/blob/
|
1335
|
+
##### [zoom](https://github.com/appium/ruby_lib/blob/ef89749d25c7044fe27fa4b7c1adfd011b60bba1/lib/appium_lib/common/multi_touch.rb#L108) common
|
1336
1336
|
|
1337
1337
|
> def zoom(percentage = 200, auto_perform = true, driver = $driver)
|
1338
1338
|
|
@@ -1352,7 +1352,7 @@ __Parameters:__
|
|
1352
1352
|
|
1353
1353
|
--
|
1354
1354
|
|
1355
|
-
##### [initialize](https://github.com/appium/ruby_lib/blob/
|
1355
|
+
##### [initialize](https://github.com/appium/ruby_lib/blob/ef89749d25c7044fe27fa4b7c1adfd011b60bba1/lib/appium_lib/common/multi_touch.rb#L194) common
|
1356
1356
|
|
1357
1357
|
> def initialize(driver = $driver)
|
1358
1358
|
|
@@ -1364,7 +1364,7 @@ __Returns:__
|
|
1364
1364
|
|
1365
1365
|
--
|
1366
1366
|
|
1367
|
-
##### [COMPLEX_ACTIONS](https://github.com/appium/ruby_lib/blob/
|
1367
|
+
##### [COMPLEX_ACTIONS](https://github.com/appium/ruby_lib/blob/ef89749d25c7044fe27fa4b7c1adfd011b60bba1/lib/appium_lib/common/touch_actions.rb#L47) common
|
1368
1368
|
|
1369
1369
|
> COMPLEX_ACTIONS = ::Appium::Core::TouchAction::COMPLEX_ACTIONS
|
1370
1370
|
|
@@ -1372,7 +1372,7 @@ __Returns:__
|
|
1372
1372
|
|
1373
1373
|
--
|
1374
1374
|
|
1375
|
-
##### [initialize](https://github.com/appium/ruby_lib/blob/
|
1375
|
+
##### [initialize](https://github.com/appium/ruby_lib/blob/ef89749d25c7044fe27fa4b7c1adfd011b60bba1/lib/appium_lib/common/touch_actions.rb#L62) common
|
1376
1376
|
|
1377
1377
|
> def initialize(driver = $driver)
|
1378
1378
|
|
@@ -1384,7 +1384,7 @@ __Returns:__
|
|
1384
1384
|
|
1385
1385
|
--
|
1386
1386
|
|
1387
|
-
##### [swipe](https://github.com/appium/ruby_lib/blob/
|
1387
|
+
##### [swipe](https://github.com/appium/ruby_lib/blob/ef89749d25c7044fe27fa4b7c1adfd011b60bba1/lib/appium_lib/common/touch_actions.rb#L66) common
|
1388
1388
|
|
1389
1389
|
> def swipe(opts)
|
1390
1390
|
|
@@ -1392,7 +1392,7 @@ __Returns:__
|
|
1392
1392
|
|
1393
1393
|
--
|
1394
1394
|
|
1395
|
-
##### [initialize](https://github.com/appium/ruby_lib/blob/
|
1395
|
+
##### [initialize](https://github.com/appium/ruby_lib/blob/ef89749d25c7044fe27fa4b7c1adfd011b60bba1/lib/appium_lib/common/command/ws_logcat.rb#L19) common
|
1396
1396
|
|
1397
1397
|
> def initialize(url:, output_file: 'logcat.log')
|
1398
1398
|
|
@@ -1404,7 +1404,7 @@ __Returns:__
|
|
1404
1404
|
|
1405
1405
|
--
|
1406
1406
|
|
1407
|
-
##### [handle_message_data](https://github.com/appium/ruby_lib/blob/
|
1407
|
+
##### [handle_message_data](https://github.com/appium/ruby_lib/blob/ef89749d25c7044fe27fa4b7c1adfd011b60bba1/lib/appium_lib/common/command/ws_logcat.rb#L24) common
|
1408
1408
|
|
1409
1409
|
> def handle_message_data(data)
|
1410
1410
|
|
@@ -1412,7 +1412,7 @@ __Returns:__
|
|
1412
1412
|
|
1413
1413
|
--
|
1414
1414
|
|
1415
|
-
##### [for](https://github.com/appium/ruby_lib/blob/
|
1415
|
+
##### [for](https://github.com/appium/ruby_lib/blob/ef89749d25c7044fe27fa4b7c1adfd011b60bba1/lib/appium_lib/ios/ios.rb#L29) ios
|
1416
1416
|
|
1417
1417
|
> def self.for(target)
|
1418
1418
|
|
@@ -1420,7 +1420,7 @@ __Returns:__
|
|
1420
1420
|
|
1421
1421
|
--
|
1422
1422
|
|
1423
|
-
##### [UIA_STATIC_TEXT](https://github.com/appium/ruby_lib/blob/
|
1423
|
+
##### [UIA_STATIC_TEXT](https://github.com/appium/ruby_lib/blob/ef89749d25c7044fe27fa4b7c1adfd011b60bba1/lib/appium_lib/ios/element/text.rb#L18) ios
|
1424
1424
|
|
1425
1425
|
> UIA_STATIC_TEXT = 'UIAStaticText'
|
1426
1426
|
|
@@ -1428,7 +1428,7 @@ __Returns:__
|
|
1428
1428
|
|
1429
1429
|
--
|
1430
1430
|
|
1431
|
-
##### [UIAStaticText](https://github.com/appium/ruby_lib/blob/
|
1431
|
+
##### [UIAStaticText](https://github.com/appium/ruby_lib/blob/ef89749d25c7044fe27fa4b7c1adfd011b60bba1/lib/appium_lib/ios/element/text.rb#L19) ios
|
1432
1432
|
|
1433
1433
|
> UIAStaticText = UIA_STATIC_TEXT
|
1434
1434
|
|
@@ -1436,7 +1436,7 @@ __Returns:__
|
|
1436
1436
|
|
1437
1437
|
--
|
1438
1438
|
|
1439
|
-
##### [XCUIELEMENT_TYPE_STATIC_TEXT](https://github.com/appium/ruby_lib/blob/
|
1439
|
+
##### [XCUIELEMENT_TYPE_STATIC_TEXT](https://github.com/appium/ruby_lib/blob/ef89749d25c7044fe27fa4b7c1adfd011b60bba1/lib/appium_lib/ios/element/text.rb#L21) ios
|
1440
1440
|
|
1441
1441
|
> XCUIELEMENT_TYPE_STATIC_TEXT = 'XCUIElementTypeStaticText'
|
1442
1442
|
|
@@ -1444,7 +1444,7 @@ __Returns:__
|
|
1444
1444
|
|
1445
1445
|
--
|
1446
1446
|
|
1447
|
-
##### [XCUIElementTypeStaticText](https://github.com/appium/ruby_lib/blob/
|
1447
|
+
##### [XCUIElementTypeStaticText](https://github.com/appium/ruby_lib/blob/ef89749d25c7044fe27fa4b7c1adfd011b60bba1/lib/appium_lib/ios/element/text.rb#L22) ios
|
1448
1448
|
|
1449
1449
|
> XCUIElementTypeStaticText = XCUIELEMENT_TYPE_STATIC_TEXT
|
1450
1450
|
|
@@ -1452,7 +1452,7 @@ __Returns:__
|
|
1452
1452
|
|
1453
1453
|
--
|
1454
1454
|
|
1455
|
-
##### [static_text_class](https://github.com/appium/ruby_lib/blob/
|
1455
|
+
##### [static_text_class](https://github.com/appium/ruby_lib/blob/ef89749d25c7044fe27fa4b7c1adfd011b60bba1/lib/appium_lib/ios/element/text.rb#L25) ios
|
1456
1456
|
|
1457
1457
|
> def static_text_class
|
1458
1458
|
|
@@ -1464,7 +1464,7 @@ __Returns:__
|
|
1464
1464
|
|
1465
1465
|
--
|
1466
1466
|
|
1467
|
-
##### [text](https://github.com/appium/ruby_lib/blob/
|
1467
|
+
##### [text](https://github.com/appium/ruby_lib/blob/ef89749d25c7044fe27fa4b7c1adfd011b60bba1/lib/appium_lib/ios/element/text.rb#L33) ios
|
1468
1468
|
|
1469
1469
|
> def text(value)
|
1470
1470
|
|
@@ -1481,7 +1481,7 @@ __Returns:__
|
|
1481
1481
|
|
1482
1482
|
--
|
1483
1483
|
|
1484
|
-
##### [texts](https://github.com/appium/ruby_lib/blob/
|
1484
|
+
##### [texts](https://github.com/appium/ruby_lib/blob/ef89749d25c7044fe27fa4b7c1adfd011b60bba1/lib/appium_lib/ios/element/text.rb#L43) ios
|
1485
1485
|
|
1486
1486
|
> def texts(value = false)
|
1487
1487
|
|
@@ -1498,7 +1498,7 @@ __Returns:__
|
|
1498
1498
|
|
1499
1499
|
--
|
1500
1500
|
|
1501
|
-
##### [first_text](https://github.com/appium/ruby_lib/blob/
|
1501
|
+
##### [first_text](https://github.com/appium/ruby_lib/blob/ef89749d25c7044fe27fa4b7c1adfd011b60bba1/lib/appium_lib/ios/element/text.rb#L51) ios
|
1502
1502
|
|
1503
1503
|
> def first_text
|
1504
1504
|
|
@@ -1510,7 +1510,7 @@ __Returns:__
|
|
1510
1510
|
|
1511
1511
|
--
|
1512
1512
|
|
1513
|
-
##### [last_text](https://github.com/appium/ruby_lib/blob/
|
1513
|
+
##### [last_text](https://github.com/appium/ruby_lib/blob/ef89749d25c7044fe27fa4b7c1adfd011b60bba1/lib/appium_lib/ios/element/text.rb#L57) ios
|
1514
1514
|
|
1515
1515
|
> def last_text
|
1516
1516
|
|
@@ -1522,7 +1522,7 @@ __Returns:__
|
|
1522
1522
|
|
1523
1523
|
--
|
1524
1524
|
|
1525
|
-
##### [text_exact](https://github.com/appium/ruby_lib/blob/
|
1525
|
+
##### [text_exact](https://github.com/appium/ruby_lib/blob/ef89749d25c7044fe27fa4b7c1adfd011b60bba1/lib/appium_lib/ios/element/text.rb#L64) ios
|
1526
1526
|
|
1527
1527
|
> def text_exact(value)
|
1528
1528
|
|
@@ -1538,7 +1538,7 @@ __Returns:__
|
|
1538
1538
|
|
1539
1539
|
--
|
1540
1540
|
|
1541
|
-
##### [texts_exact](https://github.com/appium/ruby_lib/blob/
|
1541
|
+
##### [texts_exact](https://github.com/appium/ruby_lib/blob/ef89749d25c7044fe27fa4b7c1adfd011b60bba1/lib/appium_lib/ios/element/text.rb#L71) ios
|
1542
1542
|
|
1543
1543
|
> def texts_exact(value)
|
1544
1544
|
|
@@ -1554,7 +1554,7 @@ __Returns:__
|
|
1554
1554
|
|
1555
1555
|
--
|
1556
1556
|
|
1557
|
-
##### [filter](https://github.com/appium/ruby_lib/blob/
|
1557
|
+
##### [filter](https://github.com/appium/ruby_lib/blob/ef89749d25c7044fe27fa4b7c1adfd011b60bba1/lib/appium_lib/ios/common/helper.rb#L19) ios
|
1558
1558
|
|
1559
1559
|
> def filter
|
1560
1560
|
|
@@ -1562,7 +1562,7 @@ Returns the value of attribute filter
|
|
1562
1562
|
|
1563
1563
|
--
|
1564
1564
|
|
1565
|
-
##### [filter=](https://github.com/appium/ruby_lib/blob/
|
1565
|
+
##### [filter=](https://github.com/appium/ruby_lib/blob/ef89749d25c7044fe27fa4b7c1adfd011b60bba1/lib/appium_lib/ios/common/helper.rb#L19) ios
|
1566
1566
|
|
1567
1567
|
> def filter=(value)
|
1568
1568
|
|
@@ -1574,7 +1574,7 @@ __Parameters:__
|
|
1574
1574
|
|
1575
1575
|
--
|
1576
1576
|
|
1577
|
-
##### [start_element](https://github.com/appium/ruby_lib/blob/
|
1577
|
+
##### [start_element](https://github.com/appium/ruby_lib/blob/ef89749d25c7044fe27fa4b7c1adfd011b60bba1/lib/appium_lib/ios/common/helper.rb#L21) ios
|
1578
1578
|
|
1579
1579
|
> def start_element(type, attrs = [])
|
1580
1580
|
|
@@ -1582,7 +1582,7 @@ __Parameters:__
|
|
1582
1582
|
|
1583
1583
|
--
|
1584
1584
|
|
1585
|
-
##### [ios_password](https://github.com/appium/ruby_lib/blob/
|
1585
|
+
##### [ios_password](https://github.com/appium/ruby_lib/blob/ef89749d25c7044fe27fa4b7c1adfd011b60bba1/lib/appium_lib/ios/common/helper.rb#L57) ios
|
1586
1586
|
|
1587
1587
|
> def ios_password(length = 1)
|
1588
1588
|
|
@@ -1600,7 +1600,7 @@ __Returns:__
|
|
1600
1600
|
|
1601
1601
|
--
|
1602
1602
|
|
1603
|
-
##### [page](https://github.com/appium/ruby_lib/blob/
|
1603
|
+
##### [page](https://github.com/appium/ruby_lib/blob/ef89749d25c7044fe27fa4b7c1adfd011b60bba1/lib/appium_lib/ios/common/helper.rb#L73) ios
|
1604
1604
|
|
1605
1605
|
> def page(opts = {})
|
1606
1606
|
|
@@ -1618,7 +1618,7 @@ __Returns:__
|
|
1618
1618
|
|
1619
1619
|
--
|
1620
1620
|
|
1621
|
-
##### [id](https://github.com/appium/ruby_lib/blob/
|
1621
|
+
##### [id](https://github.com/appium/ruby_lib/blob/ef89749d25c7044fe27fa4b7c1adfd011b60bba1/lib/appium_lib/ios/common/helper.rb#L100) ios
|
1622
1622
|
|
1623
1623
|
> def id(id)
|
1624
1624
|
|
@@ -1634,7 +1634,7 @@ __Returns:__
|
|
1634
1634
|
|
1635
1635
|
--
|
1636
1636
|
|
1637
|
-
##### [ele_index](https://github.com/appium/ruby_lib/blob/
|
1637
|
+
##### [ele_index](https://github.com/appium/ruby_lib/blob/ef89749d25c7044fe27fa4b7c1adfd011b60bba1/lib/appium_lib/ios/common/helper.rb#L108) ios
|
1638
1638
|
|
1639
1639
|
> def ele_index(class_name, index)
|
1640
1640
|
|
@@ -1652,7 +1652,7 @@ __Returns:__
|
|
1652
1652
|
|
1653
1653
|
--
|
1654
1654
|
|
1655
|
-
##### [find_ele_by_attr](https://github.com/appium/ruby_lib/blob/
|
1655
|
+
##### [find_ele_by_attr](https://github.com/appium/ruby_lib/blob/ef89749d25c7044fe27fa4b7c1adfd011b60bba1/lib/appium_lib/ios/common/helper.rb#L138) ios
|
1656
1656
|
|
1657
1657
|
> def find_ele_by_attr(class_name, attr, value)
|
1658
1658
|
|
@@ -1674,7 +1674,7 @@ __Returns:__
|
|
1674
1674
|
|
1675
1675
|
--
|
1676
1676
|
|
1677
|
-
##### [find_eles_by_attr](https://github.com/appium/ruby_lib/blob/
|
1677
|
+
##### [find_eles_by_attr](https://github.com/appium/ruby_lib/blob/ef89749d25c7044fe27fa4b7c1adfd011b60bba1/lib/appium_lib/ios/common/helper.rb#L149) ios
|
1678
1678
|
|
1679
1679
|
> def find_eles_by_attr(class_name, attr, value)
|
1680
1680
|
|
@@ -1696,7 +1696,7 @@ __Returns:__
|
|
1696
1696
|
|
1697
1697
|
--
|
1698
1698
|
|
1699
|
-
##### [find_ele_by_predicate](https://github.com/appium/ruby_lib/blob/
|
1699
|
+
##### [find_ele_by_predicate](https://github.com/appium/ruby_lib/blob/ef89749d25c7044fe27fa4b7c1adfd011b60bba1/lib/appium_lib/ios/common/helper.rb#L162) ios
|
1700
1700
|
|
1701
1701
|
> def find_ele_by_predicate(class_name: '*', value:)
|
1702
1702
|
|
@@ -1713,7 +1713,7 @@ __Returns:__
|
|
1713
1713
|
|
1714
1714
|
--
|
1715
1715
|
|
1716
|
-
##### [find_eles_by_predicate](https://github.com/appium/ruby_lib/blob/
|
1716
|
+
##### [find_eles_by_predicate](https://github.com/appium/ruby_lib/blob/ef89749d25c7044fe27fa4b7c1adfd011b60bba1/lib/appium_lib/ios/common/helper.rb#L174) ios
|
1717
1717
|
|
1718
1718
|
> def find_eles_by_predicate(class_name: '*', value:)
|
1719
1719
|
|
@@ -1732,7 +1732,7 @@ __Returns:__
|
|
1732
1732
|
|
1733
1733
|
--
|
1734
1734
|
|
1735
|
-
##### [find_ele_by_attr_include](https://github.com/appium/ruby_lib/blob/
|
1735
|
+
##### [find_ele_by_attr_include](https://github.com/appium/ruby_lib/blob/ef89749d25c7044fe27fa4b7c1adfd011b60bba1/lib/appium_lib/ios/common/helper.rb#L190) ios
|
1736
1736
|
|
1737
1737
|
> def find_ele_by_attr_include(class_name, attr, value)
|
1738
1738
|
|
@@ -1753,7 +1753,7 @@ __Returns:__
|
|
1753
1753
|
|
1754
1754
|
--
|
1755
1755
|
|
1756
|
-
##### [find_eles_by_attr_include](https://github.com/appium/ruby_lib/blob/
|
1756
|
+
##### [find_eles_by_attr_include](https://github.com/appium/ruby_lib/blob/ef89749d25c7044fe27fa4b7c1adfd011b60bba1/lib/appium_lib/ios/common/helper.rb#L200) ios
|
1757
1757
|
|
1758
1758
|
> def find_eles_by_attr_include(class_name, attr, value)
|
1759
1759
|
|
@@ -1774,7 +1774,7 @@ __Returns:__
|
|
1774
1774
|
|
1775
1775
|
--
|
1776
1776
|
|
1777
|
-
##### [find_ele_by_predicate_include](https://github.com/appium/ruby_lib/blob/
|
1777
|
+
##### [find_ele_by_predicate_include](https://github.com/appium/ruby_lib/blob/ef89749d25c7044fe27fa4b7c1adfd011b60bba1/lib/appium_lib/ios/common/helper.rb#L208) ios
|
1778
1778
|
|
1779
1779
|
> def find_ele_by_predicate_include(class_name: '*', value:)
|
1780
1780
|
|
@@ -1791,7 +1791,7 @@ __Returns:__
|
|
1791
1791
|
|
1792
1792
|
--
|
1793
1793
|
|
1794
|
-
##### [find_eles_by_predicate_include](https://github.com/appium/ruby_lib/blob/
|
1794
|
+
##### [find_eles_by_predicate_include](https://github.com/appium/ruby_lib/blob/ef89749d25c7044fe27fa4b7c1adfd011b60bba1/lib/appium_lib/ios/common/helper.rb#L220) ios
|
1795
1795
|
|
1796
1796
|
> def find_eles_by_predicate_include(class_name: '*', value:)
|
1797
1797
|
|
@@ -1810,7 +1810,7 @@ __Returns:__
|
|
1810
1810
|
|
1811
1811
|
--
|
1812
1812
|
|
1813
|
-
##### [first_ele](https://github.com/appium/ruby_lib/blob/
|
1813
|
+
##### [first_ele](https://github.com/appium/ruby_lib/blob/ef89749d25c7044fe27fa4b7c1adfd011b60bba1/lib/appium_lib/ios/common/helper.rb#L233) ios
|
1814
1814
|
|
1815
1815
|
> def first_ele(class_name)
|
1816
1816
|
|
@@ -1826,7 +1826,7 @@ __Returns:__
|
|
1826
1826
|
|
1827
1827
|
--
|
1828
1828
|
|
1829
|
-
##### [last_ele](https://github.com/appium/ruby_lib/blob/
|
1829
|
+
##### [last_ele](https://github.com/appium/ruby_lib/blob/ef89749d25c7044fe27fa4b7c1adfd011b60bba1/lib/appium_lib/ios/common/helper.rb#L240) ios
|
1830
1830
|
|
1831
1831
|
> def last_ele(class_name)
|
1832
1832
|
|
@@ -1842,7 +1842,7 @@ __Returns:__
|
|
1842
1842
|
|
1843
1843
|
--
|
1844
1844
|
|
1845
|
-
##### [tag](https://github.com/appium/ruby_lib/blob/
|
1845
|
+
##### [tag](https://github.com/appium/ruby_lib/blob/ef89749d25c7044fe27fa4b7c1adfd011b60bba1/lib/appium_lib/ios/common/helper.rb#L248) ios
|
1846
1846
|
|
1847
1847
|
> def tag(class_name)
|
1848
1848
|
|
@@ -1858,7 +1858,7 @@ __Returns:__
|
|
1858
1858
|
|
1859
1859
|
--
|
1860
1860
|
|
1861
|
-
##### [tags](https://github.com/appium/ruby_lib/blob/
|
1861
|
+
##### [tags](https://github.com/appium/ruby_lib/blob/ef89749d25c7044fe27fa4b7c1adfd011b60bba1/lib/appium_lib/ios/common/helper.rb#L256) ios
|
1862
1862
|
|
1863
1863
|
> def tags(class_name)
|
1864
1864
|
|
@@ -1874,7 +1874,7 @@ __Returns:__
|
|
1874
1874
|
|
1875
1875
|
--
|
1876
1876
|
|
1877
|
-
##### [tags_include](https://github.com/appium/ruby_lib/blob/
|
1877
|
+
##### [tags_include](https://github.com/appium/ruby_lib/blob/ef89749d25c7044fe27fa4b7c1adfd011b60bba1/lib/appium_lib/ios/common/helper.rb#L267) ios
|
1878
1878
|
|
1879
1879
|
> def tags_include(class_names:, value: nil)
|
1880
1880
|
|
@@ -1894,7 +1894,7 @@ __Returns:__
|
|
1894
1894
|
|
1895
1895
|
--
|
1896
1896
|
|
1897
|
-
##### [tags_exact](https://github.com/appium/ruby_lib/blob/
|
1897
|
+
##### [tags_exact](https://github.com/appium/ruby_lib/blob/ef89749d25c7044fe27fa4b7c1adfd011b60bba1/lib/appium_lib/ios/common/helper.rb#L282) ios
|
1898
1898
|
|
1899
1899
|
> def tags_exact(class_names:, value: nil)
|
1900
1900
|
|
@@ -1914,7 +1914,7 @@ __Returns:__
|
|
1914
1914
|
|
1915
1915
|
--
|
1916
1916
|
|
1917
|
-
##### [ele_by_json_visible_contains](https://github.com/appium/ruby_lib/blob/
|
1917
|
+
##### [ele_by_json_visible_contains](https://github.com/appium/ruby_lib/blob/ef89749d25c7044fe27fa4b7c1adfd011b60bba1/lib/appium_lib/ios/common/helper.rb#L319) ios
|
1918
1918
|
|
1919
1919
|
> def ele_by_json_visible_contains(element, value)
|
1920
1920
|
|
@@ -1933,7 +1933,7 @@ __Returns:__
|
|
1933
1933
|
|
1934
1934
|
--
|
1935
1935
|
|
1936
|
-
##### [eles_by_json_visible_contains](https://github.com/appium/ruby_lib/blob/
|
1936
|
+
##### [eles_by_json_visible_contains](https://github.com/appium/ruby_lib/blob/ef89749d25c7044fe27fa4b7c1adfd011b60bba1/lib/appium_lib/ios/common/helper.rb#L328) ios
|
1937
1937
|
|
1938
1938
|
> def eles_by_json_visible_contains(element, value)
|
1939
1939
|
|
@@ -1952,7 +1952,7 @@ __Returns:__
|
|
1952
1952
|
|
1953
1953
|
--
|
1954
1954
|
|
1955
|
-
##### [ele_by_json_visible_exact](https://github.com/appium/ruby_lib/blob/
|
1955
|
+
##### [ele_by_json_visible_exact](https://github.com/appium/ruby_lib/blob/ef89749d25c7044fe27fa4b7c1adfd011b60bba1/lib/appium_lib/ios/common/helper.rb#L358) ios
|
1956
1956
|
|
1957
1957
|
> def ele_by_json_visible_exact(element, value)
|
1958
1958
|
|
@@ -1971,7 +1971,7 @@ __Returns:__
|
|
1971
1971
|
|
1972
1972
|
--
|
1973
1973
|
|
1974
|
-
##### [eles_by_json_visible_exact](https://github.com/appium/ruby_lib/blob/
|
1974
|
+
##### [eles_by_json_visible_exact](https://github.com/appium/ruby_lib/blob/ef89749d25c7044fe27fa4b7c1adfd011b60bba1/lib/appium_lib/ios/common/helper.rb#L367) ios
|
1975
1975
|
|
1976
1976
|
> def eles_by_json_visible_exact(element, value)
|
1977
1977
|
|
@@ -1990,7 +1990,7 @@ __Returns:__
|
|
1990
1990
|
|
1991
1991
|
--
|
1992
1992
|
|
1993
|
-
##### [_all_pred](https://github.com/appium/ruby_lib/blob/
|
1993
|
+
##### [_all_pred](https://github.com/appium/ruby_lib/blob/ef89749d25c7044fe27fa4b7c1adfd011b60bba1/lib/appium_lib/ios/common/helper.rb#L376) ios
|
1994
1994
|
|
1995
1995
|
> def _all_pred(opts)
|
1996
1996
|
|
@@ -2000,7 +2000,7 @@ visible - if true, only visible elements are returned. default true
|
|
2000
2000
|
|
2001
2001
|
--
|
2002
2002
|
|
2003
|
-
##### [ele_with_pred](https://github.com/appium/ruby_lib/blob/
|
2003
|
+
##### [ele_with_pred](https://github.com/appium/ruby_lib/blob/ef89749d25c7044fe27fa4b7c1adfd011b60bba1/lib/appium_lib/ios/common/helper.rb#L390) ios
|
2004
2004
|
|
2005
2005
|
> def ele_with_pred(opts)
|
2006
2006
|
|
@@ -2016,7 +2016,7 @@ __Returns:__
|
|
2016
2016
|
|
2017
2017
|
--
|
2018
2018
|
|
2019
|
-
##### [eles_with_pred](https://github.com/appium/ruby_lib/blob/
|
2019
|
+
##### [eles_with_pred](https://github.com/appium/ruby_lib/blob/ef89749d25c7044fe27fa4b7c1adfd011b60bba1/lib/appium_lib/ios/common/helper.rb#L401) ios
|
2020
2020
|
|
2021
2021
|
> def eles_with_pred(opts)
|
2022
2022
|
|
@@ -2032,7 +2032,7 @@ __Returns:__
|
|
2032
2032
|
|
2033
2033
|
--
|
2034
2034
|
|
2035
|
-
##### [_validate_object](https://github.com/appium/ruby_lib/blob/
|
2035
|
+
##### [_validate_object](https://github.com/appium/ruby_lib/blob/ef89749d25c7044fe27fa4b7c1adfd011b60bba1/lib/appium_lib/ios/common/helper.rb#L405) ios
|
2036
2036
|
|
2037
2037
|
> def _validate_object(*objects)
|
2038
2038
|
|
@@ -2040,7 +2040,7 @@ __Returns:__
|
|
2040
2040
|
|
2041
2041
|
--
|
2042
2042
|
|
2043
|
-
##### [_by_json](https://github.com/appium/ruby_lib/blob/
|
2043
|
+
##### [_by_json](https://github.com/appium/ruby_lib/blob/ef89749d25c7044fe27fa4b7c1adfd011b60bba1/lib/appium_lib/ios/common/helper.rb#L455) ios
|
2044
2044
|
|
2045
2045
|
> def _by_json(opts)
|
2046
2046
|
|
@@ -2075,7 +2075,7 @@ opts = {
|
|
2075
2075
|
|
2076
2076
|
--
|
2077
2077
|
|
2078
|
-
##### [eles_by_json](https://github.com/appium/ruby_lib/blob/
|
2078
|
+
##### [eles_by_json](https://github.com/appium/ruby_lib/blob/ef89749d25c7044fe27fa4b7c1adfd011b60bba1/lib/appium_lib/ios/common/helper.rb#L505) ios
|
2079
2079
|
|
2080
2080
|
> def eles_by_json(opts)
|
2081
2081
|
|
@@ -2094,7 +2094,7 @@ eles_by_json({
|
|
2094
2094
|
|
2095
2095
|
--
|
2096
2096
|
|
2097
|
-
##### [ele_by_json](https://github.com/appium/ruby_lib/blob/
|
2097
|
+
##### [ele_by_json](https://github.com/appium/ruby_lib/blob/ef89749d25c7044fe27fa4b7c1adfd011b60bba1/lib/appium_lib/ios/common/helper.rb#L511) ios
|
2098
2098
|
|
2099
2099
|
> def ele_by_json(opts)
|
2100
2100
|
|
@@ -2102,7 +2102,7 @@ see eles_by_json
|
|
2102
2102
|
|
2103
2103
|
--
|
2104
2104
|
|
2105
|
-
##### [alert_accept](https://github.com/appium/ruby_lib/blob/
|
2105
|
+
##### [alert_accept](https://github.com/appium/ruby_lib/blob/ef89749d25c7044fe27fa4b7c1adfd011b60bba1/lib/appium_lib/ios/element/alert.rb#L19) ios
|
2106
2106
|
|
2107
2107
|
> def alert_accept
|
2108
2108
|
|
@@ -2114,7 +2114,7 @@ __Returns:__
|
|
2114
2114
|
|
2115
2115
|
--
|
2116
2116
|
|
2117
|
-
##### [alert_dismiss](https://github.com/appium/ruby_lib/blob/
|
2117
|
+
##### [alert_dismiss](https://github.com/appium/ruby_lib/blob/ef89749d25c7044fe27fa4b7c1adfd011b60bba1/lib/appium_lib/ios/element/alert.rb#L27) ios
|
2118
2118
|
|
2119
2119
|
> def alert_dismiss
|
2120
2120
|
|
@@ -2126,7 +2126,7 @@ __Returns:__
|
|
2126
2126
|
|
2127
2127
|
--
|
2128
2128
|
|
2129
|
-
##### [UIA_BUTTON](https://github.com/appium/ruby_lib/blob/
|
2129
|
+
##### [UIA_BUTTON](https://github.com/appium/ruby_lib/blob/ef89749d25c7044fe27fa4b7c1adfd011b60bba1/lib/appium_lib/ios/element/button.rb#L18) ios
|
2130
2130
|
|
2131
2131
|
> UIA_BUTTON = 'UIAButton'
|
2132
2132
|
|
@@ -2134,7 +2134,7 @@ __Returns:__
|
|
2134
2134
|
|
2135
2135
|
--
|
2136
2136
|
|
2137
|
-
##### [UIAButton](https://github.com/appium/ruby_lib/blob/
|
2137
|
+
##### [UIAButton](https://github.com/appium/ruby_lib/blob/ef89749d25c7044fe27fa4b7c1adfd011b60bba1/lib/appium_lib/ios/element/button.rb#L19) ios
|
2138
2138
|
|
2139
2139
|
> UIAButton = UIA_BUTTON
|
2140
2140
|
|
@@ -2142,7 +2142,7 @@ __Returns:__
|
|
2142
2142
|
|
2143
2143
|
--
|
2144
2144
|
|
2145
|
-
##### [XCUIELEMENT_TYPE_BUTTON](https://github.com/appium/ruby_lib/blob/
|
2145
|
+
##### [XCUIELEMENT_TYPE_BUTTON](https://github.com/appium/ruby_lib/blob/ef89749d25c7044fe27fa4b7c1adfd011b60bba1/lib/appium_lib/ios/element/button.rb#L21) ios
|
2146
2146
|
|
2147
2147
|
> XCUIELEMENT_TYPE_BUTTON = 'XCUIElementTypeButton'
|
2148
2148
|
|
@@ -2150,7 +2150,7 @@ __Returns:__
|
|
2150
2150
|
|
2151
2151
|
--
|
2152
2152
|
|
2153
|
-
##### [XCUIElementTypeButton](https://github.com/appium/ruby_lib/blob/
|
2153
|
+
##### [XCUIElementTypeButton](https://github.com/appium/ruby_lib/blob/ef89749d25c7044fe27fa4b7c1adfd011b60bba1/lib/appium_lib/ios/element/button.rb#L22) ios
|
2154
2154
|
|
2155
2155
|
> XCUIElementTypeButton = XCUIELEMENT_TYPE_BUTTON
|
2156
2156
|
|
@@ -2158,7 +2158,7 @@ __Returns:__
|
|
2158
2158
|
|
2159
2159
|
--
|
2160
2160
|
|
2161
|
-
##### [button_class](https://github.com/appium/ruby_lib/blob/
|
2161
|
+
##### [button_class](https://github.com/appium/ruby_lib/blob/ef89749d25c7044fe27fa4b7c1adfd011b60bba1/lib/appium_lib/ios/element/button.rb#L25) ios
|
2162
2162
|
|
2163
2163
|
> def button_class
|
2164
2164
|
|
@@ -2170,7 +2170,7 @@ __Returns:__
|
|
2170
2170
|
|
2171
2171
|
--
|
2172
2172
|
|
2173
|
-
##### [button](https://github.com/appium/ruby_lib/blob/
|
2173
|
+
##### [button](https://github.com/appium/ruby_lib/blob/ef89749d25c7044fe27fa4b7c1adfd011b60bba1/lib/appium_lib/ios/element/button.rb#L33) ios
|
2174
2174
|
|
2175
2175
|
> def button(value)
|
2176
2176
|
|
@@ -2187,7 +2187,7 @@ __Returns:__
|
|
2187
2187
|
|
2188
2188
|
--
|
2189
2189
|
|
2190
|
-
##### [buttons](https://github.com/appium/ruby_lib/blob/
|
2190
|
+
##### [buttons](https://github.com/appium/ruby_lib/blob/ef89749d25c7044fe27fa4b7c1adfd011b60bba1/lib/appium_lib/ios/element/button.rb#L44) ios
|
2191
2191
|
|
2192
2192
|
> def buttons(value = false)
|
2193
2193
|
|
@@ -2204,7 +2204,7 @@ __Returns:__
|
|
2204
2204
|
|
2205
2205
|
--
|
2206
2206
|
|
2207
|
-
##### [first_button](https://github.com/appium/ruby_lib/blob/
|
2207
|
+
##### [first_button](https://github.com/appium/ruby_lib/blob/ef89749d25c7044fe27fa4b7c1adfd011b60bba1/lib/appium_lib/ios/element/button.rb#L52) ios
|
2208
2208
|
|
2209
2209
|
> def first_button
|
2210
2210
|
|
@@ -2216,7 +2216,7 @@ __Returns:__
|
|
2216
2216
|
|
2217
2217
|
--
|
2218
2218
|
|
2219
|
-
##### [last_button](https://github.com/appium/ruby_lib/blob/
|
2219
|
+
##### [last_button](https://github.com/appium/ruby_lib/blob/ef89749d25c7044fe27fa4b7c1adfd011b60bba1/lib/appium_lib/ios/element/button.rb#L60) ios
|
2220
2220
|
|
2221
2221
|
> def last_button
|
2222
2222
|
|
@@ -2230,7 +2230,7 @@ __Returns:__
|
|
2230
2230
|
|
2231
2231
|
--
|
2232
2232
|
|
2233
|
-
##### [button_exact](https://github.com/appium/ruby_lib/blob/
|
2233
|
+
##### [button_exact](https://github.com/appium/ruby_lib/blob/ef89749d25c7044fe27fa4b7c1adfd011b60bba1/lib/appium_lib/ios/element/button.rb#L67) ios
|
2234
2234
|
|
2235
2235
|
> def button_exact(value)
|
2236
2236
|
|
@@ -2246,7 +2246,7 @@ __Returns:__
|
|
2246
2246
|
|
2247
2247
|
--
|
2248
2248
|
|
2249
|
-
##### [buttons_exact](https://github.com/appium/ruby_lib/blob/
|
2249
|
+
##### [buttons_exact](https://github.com/appium/ruby_lib/blob/ef89749d25c7044fe27fa4b7c1adfd011b60bba1/lib/appium_lib/ios/element/button.rb#L74) ios
|
2250
2250
|
|
2251
2251
|
> def buttons_exact(value)
|
2252
2252
|
|
@@ -2262,7 +2262,7 @@ __Returns:__
|
|
2262
2262
|
|
2263
2263
|
--
|
2264
2264
|
|
2265
|
-
##### [find](https://github.com/appium/ruby_lib/blob/
|
2265
|
+
##### [find](https://github.com/appium/ruby_lib/blob/ef89749d25c7044fe27fa4b7c1adfd011b60bba1/lib/appium_lib/ios/element/generic.rb#L20) ios
|
2266
2266
|
|
2267
2267
|
> def find(value)
|
2268
2268
|
|
@@ -2278,7 +2278,7 @@ __Returns:__
|
|
2278
2278
|
|
2279
2279
|
--
|
2280
2280
|
|
2281
|
-
##### [finds](https://github.com/appium/ruby_lib/blob/
|
2281
|
+
##### [finds](https://github.com/appium/ruby_lib/blob/ef89749d25c7044fe27fa4b7c1adfd011b60bba1/lib/appium_lib/ios/element/generic.rb#L27) ios
|
2282
2282
|
|
2283
2283
|
> def finds(value)
|
2284
2284
|
|
@@ -2294,7 +2294,7 @@ __Returns:__
|
|
2294
2294
|
|
2295
2295
|
--
|
2296
2296
|
|
2297
|
-
##### [find_exact](https://github.com/appium/ruby_lib/blob/
|
2297
|
+
##### [find_exact](https://github.com/appium/ruby_lib/blob/ef89749d25c7044fe27fa4b7c1adfd011b60bba1/lib/appium_lib/ios/element/generic.rb#L34) ios
|
2298
2298
|
|
2299
2299
|
> def find_exact(value)
|
2300
2300
|
|
@@ -2310,7 +2310,7 @@ __Returns:__
|
|
2310
2310
|
|
2311
2311
|
--
|
2312
2312
|
|
2313
|
-
##### [finds_exact](https://github.com/appium/ruby_lib/blob/
|
2313
|
+
##### [finds_exact](https://github.com/appium/ruby_lib/blob/ef89749d25c7044fe27fa4b7c1adfd011b60bba1/lib/appium_lib/ios/element/generic.rb#L41) ios
|
2314
2314
|
|
2315
2315
|
> def finds_exact(value)
|
2316
2316
|
|
@@ -2326,7 +2326,7 @@ __Returns:__
|
|
2326
2326
|
|
2327
2327
|
--
|
2328
2328
|
|
2329
|
-
##### [raise_error_if_no_element](https://github.com/appium/ruby_lib/blob/
|
2329
|
+
##### [raise_error_if_no_element](https://github.com/appium/ruby_lib/blob/ef89749d25c7044fe27fa4b7c1adfd011b60bba1/lib/appium_lib/ios/element/generic.rb#L47) ios
|
2330
2330
|
|
2331
2331
|
> def raise_error_if_no_element(element)
|
2332
2332
|
|
@@ -2334,7 +2334,7 @@ __Returns:__
|
|
2334
2334
|
|
2335
2335
|
--
|
2336
2336
|
|
2337
|
-
##### [select_visible_elements](https://github.com/appium/ruby_lib/blob/
|
2337
|
+
##### [select_visible_elements](https://github.com/appium/ruby_lib/blob/ef89749d25c7044fe27fa4b7c1adfd011b60bba1/lib/appium_lib/ios/element/generic.rb#L55) ios
|
2338
2338
|
|
2339
2339
|
> def select_visible_elements(elements)
|
2340
2340
|
|
@@ -2342,7 +2342,7 @@ Return visible elements.
|
|
2342
2342
|
|
2343
2343
|
--
|
2344
2344
|
|
2345
|
-
##### [for](https://github.com/appium/ruby_lib/blob/
|
2345
|
+
##### [for](https://github.com/appium/ruby_lib/blob/ef89749d25c7044fe27fa4b7c1adfd011b60bba1/lib/appium_lib/ios/xcuitest/bridge.rb#L21) ios
|
2346
2346
|
|
2347
2347
|
> def self.for(target)
|
2348
2348
|
|
@@ -2350,7 +2350,7 @@ Return visible elements.
|
|
2350
2350
|
|
2351
2351
|
--
|
2352
2352
|
|
2353
|
-
##### [last_ele](https://github.com/appium/ruby_lib/blob/
|
2353
|
+
##### [last_ele](https://github.com/appium/ruby_lib/blob/ef89749d25c7044fe27fa4b7c1adfd011b60bba1/lib/appium_lib/ios/xcuitest/helper.rb#L40) ios
|
2354
2354
|
|
2355
2355
|
> def last_ele(class_name)
|
2356
2356
|
|
@@ -2366,7 +2366,7 @@ __Returns:__
|
|
2366
2366
|
|
2367
2367
|
--
|
2368
2368
|
|
2369
|
-
##### [tag](https://github.com/appium/ruby_lib/blob/
|
2369
|
+
##### [tag](https://github.com/appium/ruby_lib/blob/ef89749d25c7044fe27fa4b7c1adfd011b60bba1/lib/appium_lib/ios/xcuitest/helper.rb#L51) ios
|
2370
2370
|
|
2371
2371
|
> def tag(class_name)
|
2372
2372
|
|
@@ -2382,7 +2382,7 @@ __Returns:__
|
|
2382
2382
|
|
2383
2383
|
--
|
2384
2384
|
|
2385
|
-
##### [tags](https://github.com/appium/ruby_lib/blob/
|
2385
|
+
##### [tags](https://github.com/appium/ruby_lib/blob/ef89749d25c7044fe27fa4b7c1adfd011b60bba1/lib/appium_lib/ios/xcuitest/helper.rb#L59) ios
|
2386
2386
|
|
2387
2387
|
> def tags(class_name)
|
2388
2388
|
|
@@ -2398,7 +2398,7 @@ __Returns:__
|
|
2398
2398
|
|
2399
2399
|
--
|
2400
2400
|
|
2401
|
-
##### [tags_include](https://github.com/appium/ruby_lib/blob/
|
2401
|
+
##### [tags_include](https://github.com/appium/ruby_lib/blob/ef89749d25c7044fe27fa4b7c1adfd011b60bba1/lib/appium_lib/ios/xcuitest/helper.rb#L71) ios
|
2402
2402
|
|
2403
2403
|
> def tags_include(class_names:, value: nil)
|
2404
2404
|
|
@@ -2418,7 +2418,7 @@ __Returns:__
|
|
2418
2418
|
|
2419
2419
|
--
|
2420
2420
|
|
2421
|
-
##### [tags_exact](https://github.com/appium/ruby_lib/blob/
|
2421
|
+
##### [tags_exact](https://github.com/appium/ruby_lib/blob/ef89749d25c7044fe27fa4b7c1adfd011b60bba1/lib/appium_lib/ios/xcuitest/helper.rb#L93) ios
|
2422
2422
|
|
2423
2423
|
> def tags_exact(class_names:, value: nil)
|
2424
2424
|
|
@@ -2438,7 +2438,7 @@ __Returns:__
|
|
2438
2438
|
|
2439
2439
|
--
|
2440
2440
|
|
2441
|
-
##### [start_logs_broadcast](https://github.com/appium/ruby_lib/blob/
|
2441
|
+
##### [start_logs_broadcast](https://github.com/appium/ruby_lib/blob/ef89749d25c7044fe27fa4b7c1adfd011b60bba1/lib/appium_lib/ios/xcuitest/command.rb#L33) ios
|
2442
2442
|
|
2443
2443
|
> def start_logs_broadcast(syslog_file = 'syslog.log')
|
2444
2444
|
|
@@ -2450,7 +2450,7 @@ __Parameters:__
|
|
2450
2450
|
|
2451
2451
|
--
|
2452
2452
|
|
2453
|
-
##### [stop_logs_broadcast](https://github.com/appium/ruby_lib/blob/
|
2453
|
+
##### [stop_logs_broadcast](https://github.com/appium/ruby_lib/blob/ef89749d25c7044fe27fa4b7c1adfd011b60bba1/lib/appium_lib/ios/xcuitest/command.rb#L46) ios
|
2454
2454
|
|
2455
2455
|
> def stop_logs_broadcast
|
2456
2456
|
|
@@ -2458,7 +2458,7 @@ Stop iOS syslog broadcast websocket
|
|
2458
2458
|
|
2459
2459
|
--
|
2460
2460
|
|
2461
|
-
##### [UIA_TEXT_FIELD](https://github.com/appium/ruby_lib/blob/
|
2461
|
+
##### [UIA_TEXT_FIELD](https://github.com/appium/ruby_lib/blob/ef89749d25c7044fe27fa4b7c1adfd011b60bba1/lib/appium_lib/ios/element/textfield.rb#L17) ios
|
2462
2462
|
|
2463
2463
|
> UIA_TEXT_FIELD = 'UIATextField'
|
2464
2464
|
|
@@ -2466,7 +2466,7 @@ Stop iOS syslog broadcast websocket
|
|
2466
2466
|
|
2467
2467
|
--
|
2468
2468
|
|
2469
|
-
##### [UIATextField](https://github.com/appium/ruby_lib/blob/
|
2469
|
+
##### [UIATextField](https://github.com/appium/ruby_lib/blob/ef89749d25c7044fe27fa4b7c1adfd011b60bba1/lib/appium_lib/ios/element/textfield.rb#L18) ios
|
2470
2470
|
|
2471
2471
|
> UIATextField = UIA_TEXT_FIELD
|
2472
2472
|
|
@@ -2474,7 +2474,7 @@ Stop iOS syslog broadcast websocket
|
|
2474
2474
|
|
2475
2475
|
--
|
2476
2476
|
|
2477
|
-
##### [UIA_SECURE_TEXT_FIELD](https://github.com/appium/ruby_lib/blob/
|
2477
|
+
##### [UIA_SECURE_TEXT_FIELD](https://github.com/appium/ruby_lib/blob/ef89749d25c7044fe27fa4b7c1adfd011b60bba1/lib/appium_lib/ios/element/textfield.rb#L19) ios
|
2478
2478
|
|
2479
2479
|
> UIA_SECURE_TEXT_FIELD = 'UIASecureTextField'
|
2480
2480
|
|
@@ -2482,7 +2482,7 @@ Stop iOS syslog broadcast websocket
|
|
2482
2482
|
|
2483
2483
|
--
|
2484
2484
|
|
2485
|
-
##### [UIASecureTextField](https://github.com/appium/ruby_lib/blob/
|
2485
|
+
##### [UIASecureTextField](https://github.com/appium/ruby_lib/blob/ef89749d25c7044fe27fa4b7c1adfd011b60bba1/lib/appium_lib/ios/element/textfield.rb#L20) ios
|
2486
2486
|
|
2487
2487
|
> UIASecureTextField = UIA_SECURE_TEXT_FIELD
|
2488
2488
|
|
@@ -2490,7 +2490,7 @@ Stop iOS syslog broadcast websocket
|
|
2490
2490
|
|
2491
2491
|
--
|
2492
2492
|
|
2493
|
-
##### [XCUIELEMENT_TYPE_TEXT_FIELD](https://github.com/appium/ruby_lib/blob/
|
2493
|
+
##### [XCUIELEMENT_TYPE_TEXT_FIELD](https://github.com/appium/ruby_lib/blob/ef89749d25c7044fe27fa4b7c1adfd011b60bba1/lib/appium_lib/ios/element/textfield.rb#L22) ios
|
2494
2494
|
|
2495
2495
|
> XCUIELEMENT_TYPE_TEXT_FIELD = 'XCUIElementTypeTextField'
|
2496
2496
|
|
@@ -2498,7 +2498,7 @@ Stop iOS syslog broadcast websocket
|
|
2498
2498
|
|
2499
2499
|
--
|
2500
2500
|
|
2501
|
-
##### [XCUIElementTypeTextField](https://github.com/appium/ruby_lib/blob/
|
2501
|
+
##### [XCUIElementTypeTextField](https://github.com/appium/ruby_lib/blob/ef89749d25c7044fe27fa4b7c1adfd011b60bba1/lib/appium_lib/ios/element/textfield.rb#L23) ios
|
2502
2502
|
|
2503
2503
|
> XCUIElementTypeTextField = XCUIELEMENT_TYPE_TEXT_FIELD
|
2504
2504
|
|
@@ -2506,7 +2506,7 @@ Stop iOS syslog broadcast websocket
|
|
2506
2506
|
|
2507
2507
|
--
|
2508
2508
|
|
2509
|
-
##### [XCUIELEMENT_TYPE_SECURE_TEXT_FIELD](https://github.com/appium/ruby_lib/blob/
|
2509
|
+
##### [XCUIELEMENT_TYPE_SECURE_TEXT_FIELD](https://github.com/appium/ruby_lib/blob/ef89749d25c7044fe27fa4b7c1adfd011b60bba1/lib/appium_lib/ios/element/textfield.rb#L24) ios
|
2510
2510
|
|
2511
2511
|
> XCUIELEMENT_TYPE_SECURE_TEXT_FIELD = 'XCUIElementTypeSecureTextField'
|
2512
2512
|
|
@@ -2514,7 +2514,7 @@ Stop iOS syslog broadcast websocket
|
|
2514
2514
|
|
2515
2515
|
--
|
2516
2516
|
|
2517
|
-
##### [XCUIElementTypeSecureTextField](https://github.com/appium/ruby_lib/blob/
|
2517
|
+
##### [XCUIElementTypeSecureTextField](https://github.com/appium/ruby_lib/blob/ef89749d25c7044fe27fa4b7c1adfd011b60bba1/lib/appium_lib/ios/element/textfield.rb#L25) ios
|
2518
2518
|
|
2519
2519
|
> XCUIElementTypeSecureTextField = XCUIELEMENT_TYPE_SECURE_TEXT_FIELD
|
2520
2520
|
|
@@ -2522,7 +2522,7 @@ Stop iOS syslog broadcast websocket
|
|
2522
2522
|
|
2523
2523
|
--
|
2524
2524
|
|
2525
|
-
##### [text_field_class](https://github.com/appium/ruby_lib/blob/
|
2525
|
+
##### [text_field_class](https://github.com/appium/ruby_lib/blob/ef89749d25c7044fe27fa4b7c1adfd011b60bba1/lib/appium_lib/ios/element/textfield.rb#L28) ios
|
2526
2526
|
|
2527
2527
|
> def text_field_class
|
2528
2528
|
|
@@ -2534,7 +2534,7 @@ __Returns:__
|
|
2534
2534
|
|
2535
2535
|
--
|
2536
2536
|
|
2537
|
-
##### [secure_text_field_class](https://github.com/appium/ruby_lib/blob/
|
2537
|
+
##### [secure_text_field_class](https://github.com/appium/ruby_lib/blob/ef89749d25c7044fe27fa4b7c1adfd011b60bba1/lib/appium_lib/ios/element/textfield.rb#L33) ios
|
2538
2538
|
|
2539
2539
|
> def secure_text_field_class
|
2540
2540
|
|
@@ -2546,7 +2546,7 @@ __Returns:__
|
|
2546
2546
|
|
2547
2547
|
--
|
2548
2548
|
|
2549
|
-
##### [textfield](https://github.com/appium/ruby_lib/blob/
|
2549
|
+
##### [textfield](https://github.com/appium/ruby_lib/blob/ef89749d25c7044fe27fa4b7c1adfd011b60bba1/lib/appium_lib/ios/element/textfield.rb#L42) ios
|
2550
2550
|
|
2551
2551
|
> def textfield(value)
|
2552
2552
|
|
@@ -2564,7 +2564,7 @@ __Returns:__
|
|
2564
2564
|
|
2565
2565
|
--
|
2566
2566
|
|
2567
|
-
##### [textfields](https://github.com/appium/ruby_lib/blob/
|
2567
|
+
##### [textfields](https://github.com/appium/ruby_lib/blob/ef89749d25c7044fe27fa4b7c1adfd011b60bba1/lib/appium_lib/ios/element/textfield.rb#L61) ios
|
2568
2568
|
|
2569
2569
|
> def textfields(value = false)
|
2570
2570
|
|
@@ -2581,7 +2581,7 @@ __Returns:__
|
|
2581
2581
|
|
2582
2582
|
--
|
2583
2583
|
|
2584
|
-
##### [first_textfield](https://github.com/appium/ruby_lib/blob/
|
2584
|
+
##### [first_textfield](https://github.com/appium/ruby_lib/blob/ef89749d25c7044fe27fa4b7c1adfd011b60bba1/lib/appium_lib/ios/element/textfield.rb#L69) ios
|
2585
2585
|
|
2586
2586
|
> def first_textfield
|
2587
2587
|
|
@@ -2593,7 +2593,7 @@ __Returns:__
|
|
2593
2593
|
|
2594
2594
|
--
|
2595
2595
|
|
2596
|
-
##### [last_textfield](https://github.com/appium/ruby_lib/blob/
|
2596
|
+
##### [last_textfield](https://github.com/appium/ruby_lib/blob/ef89749d25c7044fe27fa4b7c1adfd011b60bba1/lib/appium_lib/ios/element/textfield.rb#L75) ios
|
2597
2597
|
|
2598
2598
|
> def last_textfield
|
2599
2599
|
|
@@ -2605,7 +2605,7 @@ __Returns:__
|
|
2605
2605
|
|
2606
2606
|
--
|
2607
2607
|
|
2608
|
-
##### [textfield_exact](https://github.com/appium/ruby_lib/blob/
|
2608
|
+
##### [textfield_exact](https://github.com/appium/ruby_lib/blob/ef89749d25c7044fe27fa4b7c1adfd011b60bba1/lib/appium_lib/ios/element/textfield.rb#L85) ios
|
2609
2609
|
|
2610
2610
|
> def textfield_exact(value)
|
2611
2611
|
|
@@ -2621,7 +2621,7 @@ __Returns:__
|
|
2621
2621
|
|
2622
2622
|
--
|
2623
2623
|
|
2624
|
-
##### [textfields_exact](https://github.com/appium/ruby_lib/blob/
|
2624
|
+
##### [textfields_exact](https://github.com/appium/ruby_lib/blob/ef89749d25c7044fe27fa4b7c1adfd011b60bba1/lib/appium_lib/ios/element/textfield.rb#L92) ios
|
2625
2625
|
|
2626
2626
|
> def textfields_exact(value)
|
2627
2627
|
|
@@ -2637,7 +2637,7 @@ __Returns:__
|
|
2637
2637
|
|
2638
2638
|
--
|
2639
2639
|
|
2640
|
-
##### [_textfield_visible](https://github.com/appium/ruby_lib/blob/
|
2640
|
+
##### [_textfield_visible](https://github.com/appium/ruby_lib/blob/ef89749d25c7044fe27fa4b7c1adfd011b60bba1/lib/appium_lib/ios/element/textfield.rb#L99) ios
|
2641
2641
|
|
2642
2642
|
> def _textfield_visible
|
2643
2643
|
|
@@ -2645,7 +2645,7 @@ Appium
|
|
2645
2645
|
|
2646
2646
|
--
|
2647
2647
|
|
2648
|
-
##### [_textfield_exact_string](https://github.com/appium/ruby_lib/blob/
|
2648
|
+
##### [_textfield_exact_string](https://github.com/appium/ruby_lib/blob/ef89749d25c7044fe27fa4b7c1adfd011b60bba1/lib/appium_lib/ios/element/textfield.rb#L104) ios
|
2649
2649
|
|
2650
2650
|
> def _textfield_exact_string(value)
|
2651
2651
|
|
@@ -2653,7 +2653,7 @@ Appium
|
|
2653
2653
|
|
2654
2654
|
--
|
2655
2655
|
|
2656
|
-
##### [_textfield_contains_string](https://github.com/appium/ruby_lib/blob/
|
2656
|
+
##### [_textfield_contains_string](https://github.com/appium/ruby_lib/blob/ef89749d25c7044fe27fa4b7c1adfd011b60bba1/lib/appium_lib/ios/element/textfield.rb#L111) ios
|
2657
2657
|
|
2658
2658
|
> def _textfield_contains_string(value)
|
2659
2659
|
|
@@ -2661,7 +2661,7 @@ Appium
|
|
2661
2661
|
|
2662
2662
|
--
|
2663
2663
|
|
2664
|
-
##### [static_text_class](https://github.com/appium/ruby_lib/blob/
|
2664
|
+
##### [static_text_class](https://github.com/appium/ruby_lib/blob/ef89749d25c7044fe27fa4b7c1adfd011b60bba1/lib/appium_lib/ios/xcuitest/element/text.rb#L23) ios
|
2665
2665
|
|
2666
2666
|
> def static_text_class
|
2667
2667
|
|
@@ -2673,7 +2673,7 @@ __Returns:__
|
|
2673
2673
|
|
2674
2674
|
--
|
2675
2675
|
|
2676
|
-
##### [text](https://github.com/appium/ruby_lib/blob/
|
2676
|
+
##### [text](https://github.com/appium/ruby_lib/blob/ef89749d25c7044fe27fa4b7c1adfd011b60bba1/lib/appium_lib/ios/xcuitest/element/text.rb#L31) ios
|
2677
2677
|
|
2678
2678
|
> def text(value)
|
2679
2679
|
|
@@ -2690,7 +2690,7 @@ __Returns:__
|
|
2690
2690
|
|
2691
2691
|
--
|
2692
2692
|
|
2693
|
-
##### [texts](https://github.com/appium/ruby_lib/blob/
|
2693
|
+
##### [texts](https://github.com/appium/ruby_lib/blob/ef89749d25c7044fe27fa4b7c1adfd011b60bba1/lib/appium_lib/ios/xcuitest/element/text.rb#L41) ios
|
2694
2694
|
|
2695
2695
|
> def texts(value = false)
|
2696
2696
|
|
@@ -2707,7 +2707,7 @@ __Returns:__
|
|
2707
2707
|
|
2708
2708
|
--
|
2709
2709
|
|
2710
|
-
##### [first_text](https://github.com/appium/ruby_lib/blob/
|
2710
|
+
##### [first_text](https://github.com/appium/ruby_lib/blob/ef89749d25c7044fe27fa4b7c1adfd011b60bba1/lib/appium_lib/ios/xcuitest/element/text.rb#L50) ios
|
2711
2711
|
|
2712
2712
|
> def first_text
|
2713
2713
|
|
@@ -2719,7 +2719,7 @@ __Returns:__
|
|
2719
2719
|
|
2720
2720
|
--
|
2721
2721
|
|
2722
|
-
##### [last_text](https://github.com/appium/ruby_lib/blob/
|
2722
|
+
##### [last_text](https://github.com/appium/ruby_lib/blob/ef89749d25c7044fe27fa4b7c1adfd011b60bba1/lib/appium_lib/ios/xcuitest/element/text.rb#L56) ios
|
2723
2723
|
|
2724
2724
|
> def last_text
|
2725
2725
|
|
@@ -2731,7 +2731,7 @@ __Returns:__
|
|
2731
2731
|
|
2732
2732
|
--
|
2733
2733
|
|
2734
|
-
##### [text_exact](https://github.com/appium/ruby_lib/blob/
|
2734
|
+
##### [text_exact](https://github.com/appium/ruby_lib/blob/ef89749d25c7044fe27fa4b7c1adfd011b60bba1/lib/appium_lib/ios/xcuitest/element/text.rb#L63) ios
|
2735
2735
|
|
2736
2736
|
> def text_exact(value)
|
2737
2737
|
|
@@ -2747,7 +2747,7 @@ __Returns:__
|
|
2747
2747
|
|
2748
2748
|
--
|
2749
2749
|
|
2750
|
-
##### [texts_exact](https://github.com/appium/ruby_lib/blob/
|
2750
|
+
##### [texts_exact](https://github.com/appium/ruby_lib/blob/ef89749d25c7044fe27fa4b7c1adfd011b60bba1/lib/appium_lib/ios/xcuitest/element/text.rb#L70) ios
|
2751
2751
|
|
2752
2752
|
> def texts_exact(value)
|
2753
2753
|
|
@@ -2763,7 +2763,7 @@ __Returns:__
|
|
2763
2763
|
|
2764
2764
|
--
|
2765
2765
|
|
2766
|
-
##### [xcuitest_source](https://github.com/appium/ruby_lib/blob/
|
2766
|
+
##### [xcuitest_source](https://github.com/appium/ruby_lib/blob/ef89749d25c7044fe27fa4b7c1adfd011b60bba1/lib/appium_lib/ios/xcuitest/command/source.rb#L25) ios
|
2767
2767
|
|
2768
2768
|
> def xcuitest_source(format: :xml)
|
2769
2769
|
|
@@ -2779,7 +2779,7 @@ xcuitest_source format: :json
|
|
2779
2779
|
|
2780
2780
|
--
|
2781
2781
|
|
2782
|
-
##### [button_class](https://github.com/appium/ruby_lib/blob/
|
2782
|
+
##### [button_class](https://github.com/appium/ruby_lib/blob/ef89749d25c7044fe27fa4b7c1adfd011b60bba1/lib/appium_lib/ios/xcuitest/element/button.rb#L23) ios
|
2783
2783
|
|
2784
2784
|
> def button_class
|
2785
2785
|
|
@@ -2791,7 +2791,7 @@ __Returns:__
|
|
2791
2791
|
|
2792
2792
|
--
|
2793
2793
|
|
2794
|
-
##### [button](https://github.com/appium/ruby_lib/blob/
|
2794
|
+
##### [button](https://github.com/appium/ruby_lib/blob/ef89749d25c7044fe27fa4b7c1adfd011b60bba1/lib/appium_lib/ios/xcuitest/element/button.rb#L31) ios
|
2795
2795
|
|
2796
2796
|
> def button(value)
|
2797
2797
|
|
@@ -2808,7 +2808,7 @@ __Returns:__
|
|
2808
2808
|
|
2809
2809
|
--
|
2810
2810
|
|
2811
|
-
##### [buttons](https://github.com/appium/ruby_lib/blob/
|
2811
|
+
##### [buttons](https://github.com/appium/ruby_lib/blob/ef89749d25c7044fe27fa4b7c1adfd011b60bba1/lib/appium_lib/ios/xcuitest/element/button.rb#L42) ios
|
2812
2812
|
|
2813
2813
|
> def buttons(value = false)
|
2814
2814
|
|
@@ -2825,7 +2825,7 @@ __Returns:__
|
|
2825
2825
|
|
2826
2826
|
--
|
2827
2827
|
|
2828
|
-
##### [first_button](https://github.com/appium/ruby_lib/blob/
|
2828
|
+
##### [first_button](https://github.com/appium/ruby_lib/blob/ef89749d25c7044fe27fa4b7c1adfd011b60bba1/lib/appium_lib/ios/xcuitest/element/button.rb#L51) ios
|
2829
2829
|
|
2830
2830
|
> def first_button
|
2831
2831
|
|
@@ -2837,7 +2837,7 @@ __Returns:__
|
|
2837
2837
|
|
2838
2838
|
--
|
2839
2839
|
|
2840
|
-
##### [last_button](https://github.com/appium/ruby_lib/blob/
|
2840
|
+
##### [last_button](https://github.com/appium/ruby_lib/blob/ef89749d25c7044fe27fa4b7c1adfd011b60bba1/lib/appium_lib/ios/xcuitest/element/button.rb#L59) ios
|
2841
2841
|
|
2842
2842
|
> def last_button
|
2843
2843
|
|
@@ -2851,7 +2851,7 @@ __Returns:__
|
|
2851
2851
|
|
2852
2852
|
--
|
2853
2853
|
|
2854
|
-
##### [button_exact](https://github.com/appium/ruby_lib/blob/
|
2854
|
+
##### [button_exact](https://github.com/appium/ruby_lib/blob/ef89749d25c7044fe27fa4b7c1adfd011b60bba1/lib/appium_lib/ios/xcuitest/element/button.rb#L66) ios
|
2855
2855
|
|
2856
2856
|
> def button_exact(value)
|
2857
2857
|
|
@@ -2867,7 +2867,7 @@ __Returns:__
|
|
2867
2867
|
|
2868
2868
|
--
|
2869
2869
|
|
2870
|
-
##### [buttons_exact](https://github.com/appium/ruby_lib/blob/
|
2870
|
+
##### [buttons_exact](https://github.com/appium/ruby_lib/blob/ef89749d25c7044fe27fa4b7c1adfd011b60bba1/lib/appium_lib/ios/xcuitest/element/button.rb#L73) ios
|
2871
2871
|
|
2872
2872
|
> def buttons_exact(value)
|
2873
2873
|
|
@@ -2883,7 +2883,7 @@ __Returns:__
|
|
2883
2883
|
|
2884
2884
|
--
|
2885
2885
|
|
2886
|
-
##### [find](https://github.com/appium/ruby_lib/blob/
|
2886
|
+
##### [find](https://github.com/appium/ruby_lib/blob/ef89749d25c7044fe27fa4b7c1adfd011b60bba1/lib/appium_lib/ios/xcuitest/element/generic.rb#L22) ios
|
2887
2887
|
|
2888
2888
|
> def find(value)
|
2889
2889
|
|
@@ -2899,7 +2899,7 @@ __Returns:__
|
|
2899
2899
|
|
2900
2900
|
--
|
2901
2901
|
|
2902
|
-
##### [finds](https://github.com/appium/ruby_lib/blob/
|
2902
|
+
##### [finds](https://github.com/appium/ruby_lib/blob/ef89749d25c7044fe27fa4b7c1adfd011b60bba1/lib/appium_lib/ios/xcuitest/element/generic.rb#L29) ios
|
2903
2903
|
|
2904
2904
|
> def finds(value)
|
2905
2905
|
|
@@ -2915,7 +2915,7 @@ __Returns:__
|
|
2915
2915
|
|
2916
2916
|
--
|
2917
2917
|
|
2918
|
-
##### [find_exact](https://github.com/appium/ruby_lib/blob/
|
2918
|
+
##### [find_exact](https://github.com/appium/ruby_lib/blob/ef89749d25c7044fe27fa4b7c1adfd011b60bba1/lib/appium_lib/ios/xcuitest/element/generic.rb#L37) ios
|
2919
2919
|
|
2920
2920
|
> def find_exact(value)
|
2921
2921
|
|
@@ -2931,7 +2931,7 @@ __Returns:__
|
|
2931
2931
|
|
2932
2932
|
--
|
2933
2933
|
|
2934
|
-
##### [finds_exact](https://github.com/appium/ruby_lib/blob/
|
2934
|
+
##### [finds_exact](https://github.com/appium/ruby_lib/blob/ef89749d25c7044fe27fa4b7c1adfd011b60bba1/lib/appium_lib/ios/xcuitest/element/generic.rb#L44) ios
|
2935
2935
|
|
2936
2936
|
> def finds_exact(value)
|
2937
2937
|
|
@@ -2947,7 +2947,7 @@ __Returns:__
|
|
2947
2947
|
|
2948
2948
|
--
|
2949
2949
|
|
2950
|
-
##### [raise_error_if_no_element](https://github.com/appium/ruby_lib/blob/
|
2950
|
+
##### [raise_error_if_no_element](https://github.com/appium/ruby_lib/blob/ef89749d25c7044fe27fa4b7c1adfd011b60bba1/lib/appium_lib/ios/xcuitest/element/generic.rb#L51) ios
|
2951
2951
|
|
2952
2952
|
> def raise_error_if_no_element(element)
|
2953
2953
|
|
@@ -2955,7 +2955,7 @@ __Returns:__
|
|
2955
2955
|
|
2956
2956
|
--
|
2957
2957
|
|
2958
|
-
##### [select_visible_elements](https://github.com/appium/ruby_lib/blob/
|
2958
|
+
##### [select_visible_elements](https://github.com/appium/ruby_lib/blob/ef89749d25c7044fe27fa4b7c1adfd011b60bba1/lib/appium_lib/ios/xcuitest/element/generic.rb#L59) ios
|
2959
2959
|
|
2960
2960
|
> def select_visible_elements(elements)
|
2961
2961
|
|
@@ -2963,7 +2963,7 @@ Return visible elements.
|
|
2963
2963
|
|
2964
2964
|
--
|
2965
2965
|
|
2966
|
-
##### [swipe](https://github.com/appium/ruby_lib/blob/
|
2966
|
+
##### [swipe](https://github.com/appium/ruby_lib/blob/ef89749d25c7044fe27fa4b7c1adfd011b60bba1/lib/appium_lib/ios/xcuitest/command/gestures.rb#L25) ios
|
2967
2967
|
|
2968
2968
|
> def swipe(direction:, element: nil)
|
2969
2969
|
|
@@ -2977,7 +2977,7 @@ __Parameters:__
|
|
2977
2977
|
|
2978
2978
|
--
|
2979
2979
|
|
2980
|
-
##### [scroll](https://github.com/appium/ruby_lib/blob/
|
2980
|
+
##### [scroll](https://github.com/appium/ruby_lib/blob/ef89749d25c7044fe27fa4b7c1adfd011b60bba1/lib/appium_lib/ios/xcuitest/command/gestures.rb#L46) ios
|
2981
2981
|
|
2982
2982
|
> def scroll(direction:, distance: nil, name: nil, element: nil, to_visible: nil, predicate_string: nil)
|
2983
2983
|
|
@@ -2991,7 +2991,7 @@ __Parameters:__
|
|
2991
2991
|
|
2992
2992
|
--
|
2993
2993
|
|
2994
|
-
##### [pinch](https://github.com/appium/ruby_lib/blob/
|
2994
|
+
##### [pinch](https://github.com/appium/ruby_lib/blob/ef89749d25c7044fe27fa4b7c1adfd011b60bba1/lib/appium_lib/ios/xcuitest/command/gestures.rb#L67) ios
|
2995
2995
|
|
2996
2996
|
> def pinch(scale:, velocity: 1.0, element: nil)
|
2997
2997
|
|
@@ -3007,7 +3007,7 @@ __Parameters:__
|
|
3007
3007
|
|
3008
3008
|
--
|
3009
3009
|
|
3010
|
-
##### [double_tap](https://github.com/appium/ruby_lib/blob/
|
3010
|
+
##### [double_tap](https://github.com/appium/ruby_lib/blob/ef89749d25c7044fe27fa4b7c1adfd011b60bba1/lib/appium_lib/ios/xcuitest/command/gestures.rb#L82) ios
|
3011
3011
|
|
3012
3012
|
> def double_tap(x: nil, y: nil, element: nil) # rubocop:disable Naming/UncommunicativeMethodParamName
|
3013
3013
|
|
@@ -3023,7 +3023,7 @@ __Parameters:__
|
|
3023
3023
|
|
3024
3024
|
--
|
3025
3025
|
|
3026
|
-
##### [touch_and_hold](https://github.com/appium/ruby_lib/blob/
|
3026
|
+
##### [touch_and_hold](https://github.com/appium/ruby_lib/blob/ef89749d25c7044fe27fa4b7c1adfd011b60bba1/lib/appium_lib/ios/xcuitest/command/gestures.rb#L99) ios
|
3027
3027
|
|
3028
3028
|
> def touch_and_hold(x: nil, y: nil, element: nil, duration: 1.0) # rubocop:disable Naming/UncommunicativeMethodParamName
|
3029
3029
|
|
@@ -3041,7 +3041,7 @@ __Parameters:__
|
|
3041
3041
|
|
3042
3042
|
--
|
3043
3043
|
|
3044
|
-
##### [two_finger_tap](https://github.com/appium/ruby_lib/blob/
|
3044
|
+
##### [two_finger_tap](https://github.com/appium/ruby_lib/blob/ef89749d25c7044fe27fa4b7c1adfd011b60bba1/lib/appium_lib/ios/xcuitest/command/gestures.rb#L112) ios
|
3045
3045
|
|
3046
3046
|
> def two_finger_tap(element:)
|
3047
3047
|
|
@@ -3057,7 +3057,7 @@ two_finger_tap element: find_element(:accessibility_id, "some item")
|
|
3057
3057
|
|
3058
3058
|
--
|
3059
3059
|
|
3060
|
-
##### [tap](https://github.com/appium/ruby_lib/blob/
|
3060
|
+
##### [tap](https://github.com/appium/ruby_lib/blob/ef89749d25c7044fe27fa4b7c1adfd011b60bba1/lib/appium_lib/ios/xcuitest/command/gestures.rb#L127) ios
|
3061
3061
|
|
3062
3062
|
> def tap(x:, y:, element: nil) # rubocop:disable Naming/UncommunicativeMethodParamName
|
3063
3063
|
|
@@ -3073,7 +3073,7 @@ __Parameters:__
|
|
3073
3073
|
|
3074
3074
|
--
|
3075
3075
|
|
3076
|
-
##### [drag_from_to_for_duration](https://github.com/appium/ruby_lib/blob/
|
3076
|
+
##### [drag_from_to_for_duration](https://github.com/appium/ruby_lib/blob/ef89749d25c7044fe27fa4b7c1adfd011b60bba1/lib/appium_lib/ios/xcuitest/command/gestures.rb#L147) ios
|
3077
3077
|
|
3078
3078
|
> def drag_from_to_for_duration(from_x:, from_y:, to_x:, to_y:, duration: 1.0, element: nil)
|
3079
3079
|
|
@@ -3096,7 +3096,7 @@ drag point should be before to start dragging. Mandatory parameter
|
|
3096
3096
|
|
3097
3097
|
--
|
3098
3098
|
|
3099
|
-
##### [select_picker_wheel](https://github.com/appium/ruby_lib/blob/
|
3099
|
+
##### [select_picker_wheel](https://github.com/appium/ruby_lib/blob/ef89749d25c7044fe27fa4b7c1adfd011b60bba1/lib/appium_lib/ios/xcuitest/command/gestures.rb#L164) ios
|
3100
3100
|
|
3101
3101
|
> def select_picker_wheel(element:, order:, offset: nil)
|
3102
3102
|
|
@@ -3113,7 +3113,7 @@ __Parameters:__
|
|
3113
3113
|
|
3114
3114
|
--
|
3115
3115
|
|
3116
|
-
##### [alert](https://github.com/appium/ruby_lib/blob/
|
3116
|
+
##### [alert](https://github.com/appium/ruby_lib/blob/ef89749d25c7044fe27fa4b7c1adfd011b60bba1/lib/appium_lib/ios/xcuitest/command/gestures.rb#L182) ios
|
3117
3117
|
|
3118
3118
|
> def alert(action:, button_label: nil)
|
3119
3119
|
|
@@ -3138,7 +3138,7 @@ alert action: "dismiss"
|
|
3138
3138
|
|
3139
3139
|
--
|
3140
3140
|
|
3141
|
-
##### [text_field_class](https://github.com/appium/ruby_lib/blob/
|
3141
|
+
##### [text_field_class](https://github.com/appium/ruby_lib/blob/ef89749d25c7044fe27fa4b7c1adfd011b60bba1/lib/appium_lib/ios/xcuitest/element/textfield.rb#L23) ios
|
3142
3142
|
|
3143
3143
|
> def text_field_class
|
3144
3144
|
|
@@ -3150,7 +3150,7 @@ __Returns:__
|
|
3150
3150
|
|
3151
3151
|
--
|
3152
3152
|
|
3153
|
-
##### [secure_text_field_class](https://github.com/appium/ruby_lib/blob/
|
3153
|
+
##### [secure_text_field_class](https://github.com/appium/ruby_lib/blob/ef89749d25c7044fe27fa4b7c1adfd011b60bba1/lib/appium_lib/ios/xcuitest/element/textfield.rb#L28) ios
|
3154
3154
|
|
3155
3155
|
> def secure_text_field_class
|
3156
3156
|
|
@@ -3162,7 +3162,7 @@ __Returns:__
|
|
3162
3162
|
|
3163
3163
|
--
|
3164
3164
|
|
3165
|
-
##### [textfield](https://github.com/appium/ruby_lib/blob/
|
3165
|
+
##### [textfield](https://github.com/appium/ruby_lib/blob/ef89749d25c7044fe27fa4b7c1adfd011b60bba1/lib/appium_lib/ios/xcuitest/element/textfield.rb#L37) ios
|
3166
3166
|
|
3167
3167
|
> def textfield(value)
|
3168
3168
|
|
@@ -3180,7 +3180,7 @@ __Returns:__
|
|
3180
3180
|
|
3181
3181
|
--
|
3182
3182
|
|
3183
|
-
##### [textfields](https://github.com/appium/ruby_lib/blob/
|
3183
|
+
##### [textfields](https://github.com/appium/ruby_lib/blob/ef89749d25c7044fe27fa4b7c1adfd011b60bba1/lib/appium_lib/ios/xcuitest/element/textfield.rb#L57) ios
|
3184
3184
|
|
3185
3185
|
> def textfields(value = false)
|
3186
3186
|
|
@@ -3197,7 +3197,7 @@ __Returns:__
|
|
3197
3197
|
|
3198
3198
|
--
|
3199
3199
|
|
3200
|
-
##### [first_textfield](https://github.com/appium/ruby_lib/blob/
|
3200
|
+
##### [first_textfield](https://github.com/appium/ruby_lib/blob/ef89749d25c7044fe27fa4b7c1adfd011b60bba1/lib/appium_lib/ios/xcuitest/element/textfield.rb#L66) ios
|
3201
3201
|
|
3202
3202
|
> def first_textfield
|
3203
3203
|
|
@@ -3209,7 +3209,7 @@ __Returns:__
|
|
3209
3209
|
|
3210
3210
|
--
|
3211
3211
|
|
3212
|
-
##### [last_textfield](https://github.com/appium/ruby_lib/blob/
|
3212
|
+
##### [last_textfield](https://github.com/appium/ruby_lib/blob/ef89749d25c7044fe27fa4b7c1adfd011b60bba1/lib/appium_lib/ios/xcuitest/element/textfield.rb#L72) ios
|
3213
3213
|
|
3214
3214
|
> def last_textfield
|
3215
3215
|
|
@@ -3221,7 +3221,7 @@ __Returns:__
|
|
3221
3221
|
|
3222
3222
|
--
|
3223
3223
|
|
3224
|
-
##### [textfield_exact](https://github.com/appium/ruby_lib/blob/
|
3224
|
+
##### [textfield_exact](https://github.com/appium/ruby_lib/blob/ef89749d25c7044fe27fa4b7c1adfd011b60bba1/lib/appium_lib/ios/xcuitest/element/textfield.rb#L82) ios
|
3225
3225
|
|
3226
3226
|
> def textfield_exact(value)
|
3227
3227
|
|
@@ -3237,7 +3237,7 @@ __Returns:__
|
|
3237
3237
|
|
3238
3238
|
--
|
3239
3239
|
|
3240
|
-
##### [textfields_exact](https://github.com/appium/ruby_lib/blob/
|
3240
|
+
##### [textfields_exact](https://github.com/appium/ruby_lib/blob/ef89749d25c7044fe27fa4b7c1adfd011b60bba1/lib/appium_lib/ios/xcuitest/element/textfield.rb#L89) ios
|
3241
3241
|
|
3242
3242
|
> def textfields_exact(value)
|
3243
3243
|
|
@@ -3253,7 +3253,7 @@ __Returns:__
|
|
3253
3253
|
|
3254
3254
|
--
|
3255
3255
|
|
3256
|
-
##### [set_pasteboard](https://github.com/appium/ruby_lib/blob/
|
3256
|
+
##### [set_pasteboard](https://github.com/appium/ruby_lib/blob/ef89749d25c7044fe27fa4b7c1adfd011b60bba1/lib/appium_lib/ios/xcuitest/command/pasteboard.rb#L26) ios
|
3257
3257
|
|
3258
3258
|
> def set_pasteboard(content:, encoding: nil)
|
3259
3259
|
|
@@ -3268,7 +3268,7 @@ The parameter is mandatory
|
|
3268
3268
|
|
3269
3269
|
--
|
3270
3270
|
|
3271
|
-
##### [get_pasteboard](https://github.com/appium/ruby_lib/blob/
|
3271
|
+
##### [get_pasteboard](https://github.com/appium/ruby_lib/blob/ef89749d25c7044fe27fa4b7c1adfd011b60bba1/lib/appium_lib/ios/xcuitest/command/pasteboard.rb#L38) ios
|
3272
3272
|
|
3273
3273
|
> def get_pasteboard(encoding: nil)
|
3274
3274
|
|
@@ -3280,7 +3280,7 @@ __Parameters:__
|
|
3280
3280
|
|
3281
3281
|
--
|
3282
3282
|
|
3283
|
-
##### [install_certificate](https://github.com/appium/ruby_lib/blob/
|
3283
|
+
##### [install_certificate](https://github.com/appium/ruby_lib/blob/ef89749d25c7044fe27fa4b7c1adfd011b60bba1/lib/appium_lib/ios/xcuitest/command/certificate.rb#L32) ios
|
3284
3284
|
|
3285
3285
|
> def install_certificate(cer_file:)
|
3286
3286
|
|
@@ -3295,7 +3295,7 @@ __Parameters:__
|
|
3295
3295
|
|
3296
3296
|
--
|
3297
3297
|
|
3298
|
-
##### [xcuitest_get_contexts](https://github.com/appium/ruby_lib/blob/
|
3298
|
+
##### [xcuitest_get_contexts](https://github.com/appium/ruby_lib/blob/ef89749d25c7044fe27fa4b7c1adfd011b60bba1/lib/appium_lib/ios/xcuitest/command/get_context.rb#L28) ios
|
3299
3299
|
|
3300
3300
|
> def xcuitest_get_contexts
|
3301
3301
|
|
@@ -3303,7 +3303,7 @@ Get contexts
|
|
3303
3303
|
|
3304
3304
|
--
|
3305
3305
|
|
3306
|
-
##### [xcuitest_install_app](https://github.com/appium/ruby_lib/blob/
|
3306
|
+
##### [xcuitest_install_app](https://github.com/appium/ruby_lib/blob/ef89749d25c7044fe27fa4b7c1adfd011b60bba1/lib/appium_lib/ios/xcuitest/command/multi_app_handler.rb#L35) ios
|
3307
3307
|
|
3308
3308
|
> def xcuitest_install_app(app:)
|
3309
3309
|
|
@@ -3323,7 +3323,7 @@ __Returns:__
|
|
3323
3323
|
|
3324
3324
|
--
|
3325
3325
|
|
3326
|
-
##### [xcuitest_app_installed?](https://github.com/appium/ruby_lib/blob/
|
3326
|
+
##### [xcuitest_app_installed?](https://github.com/appium/ruby_lib/blob/ef89749d25c7044fe27fa4b7c1adfd011b60bba1/lib/appium_lib/ios/xcuitest/command/multi_app_handler.rb#L49) ios
|
3327
3327
|
|
3328
3328
|
> def xcuitest_app_installed?(bundle_id:)
|
3329
3329
|
|
@@ -3339,7 +3339,7 @@ __Returns:__
|
|
3339
3339
|
|
3340
3340
|
--
|
3341
3341
|
|
3342
|
-
##### [xcuitest_remove_app](https://github.com/appium/ruby_lib/blob/
|
3342
|
+
##### [xcuitest_remove_app](https://github.com/appium/ruby_lib/blob/ef89749d25c7044fe27fa4b7c1adfd011b60bba1/lib/appium_lib/ios/xcuitest/command/multi_app_handler.rb#L64) ios
|
3343
3343
|
|
3344
3344
|
> def xcuitest_remove_app(bundle_id:)
|
3345
3345
|
|
@@ -3356,7 +3356,7 @@ __Returns:__
|
|
3356
3356
|
|
3357
3357
|
--
|
3358
3358
|
|
3359
|
-
##### [xcuitest_launch_app](https://github.com/appium/ruby_lib/blob/
|
3359
|
+
##### [xcuitest_launch_app](https://github.com/appium/ruby_lib/blob/ef89749d25c7044fe27fa4b7c1adfd011b60bba1/lib/appium_lib/ios/xcuitest/command/multi_app_handler.rb#L79) ios
|
3360
3360
|
|
3361
3361
|
> def xcuitest_launch_app(bundle_id:)
|
3362
3362
|
|
@@ -3373,7 +3373,7 @@ __Returns:__
|
|
3373
3373
|
|
3374
3374
|
--
|
3375
3375
|
|
3376
|
-
##### [xcuitest_terminate_app](https://github.com/appium/ruby_lib/blob/
|
3376
|
+
##### [xcuitest_terminate_app](https://github.com/appium/ruby_lib/blob/ef89749d25c7044fe27fa4b7c1adfd011b60bba1/lib/appium_lib/ios/xcuitest/command/multi_app_handler.rb#L94) ios
|
3377
3377
|
|
3378
3378
|
> def xcuitest_terminate_app(bundle_id:)
|
3379
3379
|
|
@@ -3390,7 +3390,7 @@ __Returns:__
|
|
3390
3390
|
|
3391
3391
|
--
|
3392
3392
|
|
3393
|
-
##### [xcuitest_query_app_status](https://github.com/appium/ruby_lib/blob/
|
3393
|
+
##### [xcuitest_query_app_status](https://github.com/appium/ruby_lib/blob/ef89749d25c7044fe27fa4b7c1adfd011b60bba1/lib/appium_lib/ios/xcuitest/command/multi_app_handler.rb#L116) ios
|
3394
3394
|
|
3395
3395
|
> def xcuitest_query_app_status(bundle_id:)
|
3396
3396
|
|
@@ -3414,7 +3414,7 @@ __Returns:__
|
|
3414
3414
|
|
3415
3415
|
--
|
3416
3416
|
|
3417
|
-
##### [xcuitest_activate_app](https://github.com/appium/ruby_lib/blob/
|
3417
|
+
##### [xcuitest_activate_app](https://github.com/appium/ruby_lib/blob/ef89749d25c7044fe27fa4b7c1adfd011b60bba1/lib/appium_lib/ios/xcuitest/command/multi_app_handler.rb#L132) ios
|
3418
3418
|
|
3419
3419
|
> def xcuitest_activate_app(bundle_id:)
|
3420
3420
|
|