appium_lib 10.4.0 → 10.4.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +1 -0
- data/docs/android_docs.md +213 -213
- data/docs/ios_docs.md +259 -259
- data/lib/appium_lib/driver.rb +1 -1
- data/lib/appium_lib/ios/common/helper.rb +1 -1
- data/lib/appium_lib/version.rb +2 -2
- data/release_notes.md +7 -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/12317e4d74b20d01813526b28e642e3522193fa3/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/12317e4d74b20d01813526b28e642e3522193fa3/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/12317e4d74b20d01813526b28e642e3522193fa3/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/12317e4d74b20d01813526b28e642e3522193fa3/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/12317e4d74b20d01813526b28e642e3522193fa3/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/12317e4d74b20d01813526b28e642e3522193fa3/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/12317e4d74b20d01813526b28e642e3522193fa3/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/12317e4d74b20d01813526b28e642e3522193fa3/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/12317e4d74b20d01813526b28e642e3522193fa3/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/12317e4d74b20d01813526b28e642e3522193fa3/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/12317e4d74b20d01813526b28e642e3522193fa3/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/12317e4d74b20d01813526b28e642e3522193fa3/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/12317e4d74b20d01813526b28e642e3522193fa3/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/12317e4d74b20d01813526b28e642e3522193fa3/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/12317e4d74b20d01813526b28e642e3522193fa3/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/12317e4d74b20d01813526b28e642e3522193fa3/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/12317e4d74b20d01813526b28e642e3522193fa3/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/12317e4d74b20d01813526b28e642e3522193fa3/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/12317e4d74b20d01813526b28e642e3522193fa3/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/12317e4d74b20d01813526b28e642e3522193fa3/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/12317e4d74b20d01813526b28e642e3522193fa3/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/12317e4d74b20d01813526b28e642e3522193fa3/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/12317e4d74b20d01813526b28e642e3522193fa3/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/12317e4d74b20d01813526b28e642e3522193fa3/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/12317e4d74b20d01813526b28e642e3522193fa3/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/12317e4d74b20d01813526b28e642e3522193fa3/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/12317e4d74b20d01813526b28e642e3522193fa3/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/12317e4d74b20d01813526b28e642e3522193fa3/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/12317e4d74b20d01813526b28e642e3522193fa3/lib/appium_lib/driver.rb#L279) 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/12317e4d74b20d01813526b28e642e3522193fa3/lib/appium_lib/driver.rb#L301) 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/12317e4d74b20d01813526b28e642e3522193fa3/lib/appium_lib/driver.rb#L305) 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/12317e4d74b20d01813526b28e642e3522193fa3/lib/appium_lib/driver.rb#L309) 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/12317e4d74b20d01813526b28e642e3522193fa3/lib/appium_lib/driver.rb#L315) 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/12317e4d74b20d01813526b28e642e3522193fa3/lib/appium_lib/driver.rb#L321) 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/12317e4d74b20d01813526b28e642e3522193fa3/lib/appium_lib/driver.rb#L327) 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/12317e4d74b20d01813526b28e642e3522193fa3/lib/appium_lib/driver.rb#L347) 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/12317e4d74b20d01813526b28e642e3522193fa3/lib/appium_lib/driver.rb#L361) 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/12317e4d74b20d01813526b28e642e3522193fa3/lib/appium_lib/driver.rb#L381) 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/12317e4d74b20d01813526b28e642e3522193fa3/lib/appium_lib/driver.rb#L389) 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/12317e4d74b20d01813526b28e642e3522193fa3/lib/appium_lib/driver.rb#L393) 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/12317e4d74b20d01813526b28e642e3522193fa3/lib/appium_lib/driver.rb#L406) 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/12317e4d74b20d01813526b28e642e3522193fa3/lib/appium_lib/driver.rb#L418) 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/12317e4d74b20d01813526b28e642e3522193fa3/lib/appium_lib/driver.rb#L441) 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/12317e4d74b20d01813526b28e642e3522193fa3/lib/appium_lib/driver.rb#L450) 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/12317e4d74b20d01813526b28e642e3522193fa3/lib/appium_lib/driver.rb#L463) 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/12317e4d74b20d01813526b28e642e3522193fa3/lib/appium_lib/driver.rb#L477) 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/12317e4d74b20d01813526b28e642e3522193fa3/lib/appium_lib/driver.rb#L484) 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/12317e4d74b20d01813526b28e642e3522193fa3/lib/appium_lib/driver.rb#L487) 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/12317e4d74b20d01813526b28e642e3522193fa3/lib/appium_lib/driver.rb#L498) 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/12317e4d74b20d01813526b28e642e3522193fa3/lib/appium_lib/driver.rb#L513) 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/12317e4d74b20d01813526b28e642e3522193fa3/lib/appium_lib/driver.rb#L546) 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/12317e4d74b20d01813526b28e642e3522193fa3/lib/appium_lib/driver.rb#L567) 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/12317e4d74b20d01813526b28e642e3522193fa3/lib/appium_lib/driver.rb#L578) 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/12317e4d74b20d01813526b28e642e3522193fa3/lib/appium_lib/driver.rb#L592) 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/12317e4d74b20d01813526b28e642e3522193fa3/lib/appium_lib/driver.rb#L609) 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/12317e4d74b20d01813526b28e642e3522193fa3/lib/appium_lib/driver.rb#L633) 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/12317e4d74b20d01813526b28e642e3522193fa3/lib/appium_lib/driver.rb#L641) 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
|
-
##### [execute_driver](https://github.com/appium/ruby_lib/blob/
|
712
|
+
##### [execute_driver](https://github.com/appium/ruby_lib/blob/12317e4d74b20d01813526b28e642e3522193fa3/lib/appium_lib/driver.rb#L673) common
|
713
713
|
|
714
714
|
> def execute_driver(script: '', type: 'webdriverio', timeout_ms: nil)
|
715
715
|
|
@@ -735,7 +735,7 @@ Appium::Core::Base::Device::ExecuteDriver::Result.
|
|
735
735
|
|
736
736
|
--
|
737
737
|
|
738
|
-
##### [window_handles](https://github.com/appium/ruby_lib/blob/
|
738
|
+
##### [window_handles](https://github.com/appium/ruby_lib/blob/12317e4d74b20d01813526b28e642e3522193fa3/lib/appium_lib/driver.rb#L677) common
|
739
739
|
|
740
740
|
> def window_handles
|
741
741
|
|
@@ -743,7 +743,7 @@ Appium::Core::Base::Device::ExecuteDriver::Result.
|
|
743
743
|
|
744
744
|
--
|
745
745
|
|
746
|
-
##### [window_handle](https://github.com/appium/ruby_lib/blob/
|
746
|
+
##### [window_handle](https://github.com/appium/ruby_lib/blob/12317e4d74b20d01813526b28e642e3522193fa3/lib/appium_lib/driver.rb#L682) common
|
747
747
|
|
748
748
|
> def window_handle
|
749
749
|
|
@@ -751,7 +751,7 @@ Get the current window handle
|
|
751
751
|
|
752
752
|
--
|
753
753
|
|
754
|
-
##### [navigate](https://github.com/appium/ruby_lib/blob/
|
754
|
+
##### [navigate](https://github.com/appium/ruby_lib/blob/12317e4d74b20d01813526b28e642e3522193fa3/lib/appium_lib/driver.rb#L686) common
|
755
755
|
|
756
756
|
> def navigate
|
757
757
|
|
@@ -759,7 +759,7 @@ Get the current window handle
|
|
759
759
|
|
760
760
|
--
|
761
761
|
|
762
|
-
##### [manage](https://github.com/appium/ruby_lib/blob/
|
762
|
+
##### [manage](https://github.com/appium/ruby_lib/blob/12317e4d74b20d01813526b28e642e3522193fa3/lib/appium_lib/driver.rb#L690) common
|
763
763
|
|
764
764
|
> def manage
|
765
765
|
|
@@ -767,7 +767,7 @@ Get the current window handle
|
|
767
767
|
|
768
768
|
--
|
769
769
|
|
770
|
-
##### [get](https://github.com/appium/ruby_lib/blob/
|
770
|
+
##### [get](https://github.com/appium/ruby_lib/blob/12317e4d74b20d01813526b28e642e3522193fa3/lib/appium_lib/driver.rb#L694) common
|
771
771
|
|
772
772
|
> def get(url)
|
773
773
|
|
@@ -775,7 +775,7 @@ Get the current window handle
|
|
775
775
|
|
776
776
|
--
|
777
777
|
|
778
|
-
##### [current_url](https://github.com/appium/ruby_lib/blob/
|
778
|
+
##### [current_url](https://github.com/appium/ruby_lib/blob/12317e4d74b20d01813526b28e642e3522193fa3/lib/appium_lib/driver.rb#L698) common
|
779
779
|
|
780
780
|
> def current_url
|
781
781
|
|
@@ -783,7 +783,7 @@ Get the current window handle
|
|
783
783
|
|
784
784
|
--
|
785
785
|
|
786
|
-
##### [title](https://github.com/appium/ruby_lib/blob/
|
786
|
+
##### [title](https://github.com/appium/ruby_lib/blob/12317e4d74b20d01813526b28e642e3522193fa3/lib/appium_lib/driver.rb#L702) common
|
787
787
|
|
788
788
|
> def title
|
789
789
|
|
@@ -791,7 +791,7 @@ Get the current window handle
|
|
791
791
|
|
792
792
|
--
|
793
793
|
|
794
|
-
##### [switch_to](https://github.com/appium/ruby_lib/blob/
|
794
|
+
##### [switch_to](https://github.com/appium/ruby_lib/blob/12317e4d74b20d01813526b28e642e3522193fa3/lib/appium_lib/driver.rb#L708) common
|
795
795
|
|
796
796
|
> def switch_to
|
797
797
|
|
@@ -803,7 +803,7 @@ __Returns:__
|
|
803
803
|
|
804
804
|
--
|
805
805
|
|
806
|
-
##### [find_elements](https://github.com/appium/ruby_lib/blob/
|
806
|
+
##### [find_elements](https://github.com/appium/ruby_lib/blob/12317e4d74b20d01813526b28e642e3522193fa3/lib/appium_lib/driver.rb#L735) common
|
807
807
|
|
808
808
|
> def find_elements(*args)
|
809
809
|
|
@@ -823,7 +823,7 @@ __Returns:__
|
|
823
823
|
|
824
824
|
--
|
825
825
|
|
826
|
-
##### [find_element](https://github.com/appium/ruby_lib/blob/
|
826
|
+
##### [find_element](https://github.com/appium/ruby_lib/blob/12317e4d74b20d01813526b28e642e3522193fa3/lib/appium_lib/driver.rb#L751) common
|
827
827
|
|
828
828
|
> def find_element(*args)
|
829
829
|
|
@@ -841,7 +841,7 @@ __Returns:__
|
|
841
841
|
|
842
842
|
--
|
843
843
|
|
844
|
-
##### [find_element_by_image](https://github.com/appium/ruby_lib/blob/
|
844
|
+
##### [find_element_by_image](https://github.com/appium/ruby_lib/blob/12317e4d74b20d01813526b28e642e3522193fa3/lib/appium_lib/driver.rb#L766) common
|
845
845
|
|
846
846
|
> def find_element_by_image(png_img_path)
|
847
847
|
|
@@ -857,7 +857,7 @@ __Returns:__
|
|
857
857
|
|
858
858
|
--
|
859
859
|
|
860
|
-
##### [find_elements_by_image](https://github.com/appium/ruby_lib/blob/
|
860
|
+
##### [find_elements_by_image](https://github.com/appium/ruby_lib/blob/12317e4d74b20d01813526b28e642e3522193fa3/lib/appium_lib/driver.rb#L781) common
|
861
861
|
|
862
862
|
> def find_elements_by_image(png_img_paths)
|
863
863
|
|
@@ -873,7 +873,7 @@ __Returns:__
|
|
873
873
|
|
874
874
|
--
|
875
875
|
|
876
|
-
##### [set_location](https://github.com/appium/ruby_lib/blob/
|
876
|
+
##### [set_location](https://github.com/appium/ruby_lib/blob/12317e4d74b20d01813526b28e642e3522193fa3/lib/appium_lib/driver.rb#L794) common
|
877
877
|
|
878
878
|
> def set_location(opts = {})
|
879
879
|
|
@@ -889,7 +889,7 @@ __Returns:__
|
|
889
889
|
|
890
890
|
--
|
891
891
|
|
892
|
-
##### [x](https://github.com/appium/ruby_lib/blob/
|
892
|
+
##### [x](https://github.com/appium/ruby_lib/blob/12317e4d74b20d01813526b28e642e3522193fa3/lib/appium_lib/driver.rb#L804) common
|
893
893
|
|
894
894
|
> def x
|
895
895
|
|
@@ -902,7 +902,7 @@ __Returns:__
|
|
902
902
|
|
903
903
|
--
|
904
904
|
|
905
|
-
##### [username](https://github.com/appium/ruby_lib/blob/
|
905
|
+
##### [username](https://github.com/appium/ruby_lib/blob/12317e4d74b20d01813526b28e642e3522193fa3/lib/appium_lib/sauce_labs.rb#L18) common
|
906
906
|
|
907
907
|
> def username
|
908
908
|
|
@@ -910,7 +910,7 @@ Username for use on Sauce Labs. Set `false` to disable Sauce, even when SAUCE_US
|
|
910
910
|
|
911
911
|
--
|
912
912
|
|
913
|
-
##### [access_key](https://github.com/appium/ruby_lib/blob/
|
913
|
+
##### [access_key](https://github.com/appium/ruby_lib/blob/12317e4d74b20d01813526b28e642e3522193fa3/lib/appium_lib/sauce_labs.rb#L20) common
|
914
914
|
|
915
915
|
> def access_key
|
916
916
|
|
@@ -918,7 +918,7 @@ Access Key for use on Sauce Labs. Set `false` to disable Sauce, even when SAUCE_
|
|
918
918
|
|
919
919
|
--
|
920
920
|
|
921
|
-
##### [endpoint](https://github.com/appium/ruby_lib/blob/
|
921
|
+
##### [endpoint](https://github.com/appium/ruby_lib/blob/12317e4d74b20d01813526b28e642e3522193fa3/lib/appium_lib/sauce_labs.rb#L22) common
|
922
922
|
|
923
923
|
> def endpoint
|
924
924
|
|
@@ -926,7 +926,7 @@ Override the Sauce Appium endpoint to allow e.g. TestObject tests. Default is 'o
|
|
926
926
|
|
927
927
|
--
|
928
928
|
|
929
|
-
##### [initialize](https://github.com/appium/ruby_lib/blob/
|
929
|
+
##### [initialize](https://github.com/appium/ruby_lib/blob/12317e4d74b20d01813526b28e642e3522193fa3/lib/appium_lib/sauce_labs.rb#L47) common
|
930
930
|
|
931
931
|
> def initialize(appium_lib_opts)
|
932
932
|
|
@@ -942,7 +942,7 @@ __Returns:__
|
|
942
942
|
|
943
943
|
--
|
944
944
|
|
945
|
-
##### [sauce_server_url?](https://github.com/appium/ruby_lib/blob/
|
945
|
+
##### [sauce_server_url?](https://github.com/appium/ruby_lib/blob/12317e4d74b20d01813526b28e642e3522193fa3/lib/appium_lib/sauce_labs.rb#L67) common
|
946
946
|
|
947
947
|
> def sauce_server_url?
|
948
948
|
|
@@ -954,7 +954,7 @@ __Returns:__
|
|
954
954
|
|
955
955
|
--
|
956
956
|
|
957
|
-
##### [server_url](https://github.com/appium/ruby_lib/blob/
|
957
|
+
##### [server_url](https://github.com/appium/ruby_lib/blob/12317e4d74b20d01813526b28e642e3522193fa3/lib/appium_lib/sauce_labs.rb#L80) common
|
958
958
|
|
959
959
|
> def server_url
|
960
960
|
|
@@ -966,7 +966,7 @@ __Returns:__
|
|
966
966
|
|
967
967
|
--
|
968
968
|
|
969
|
-
##### [get_log](https://github.com/appium/ruby_lib/blob/
|
969
|
+
##### [get_log](https://github.com/appium/ruby_lib/blob/12317e4d74b20d01813526b28e642e3522193fa3/lib/appium_lib/common/log.rb#L25) common
|
970
970
|
|
971
971
|
> def get_log(type)
|
972
972
|
|
@@ -982,7 +982,7 @@ __Returns:__
|
|
982
982
|
|
983
983
|
--
|
984
984
|
|
985
|
-
##### [get_available_log_types](https://github.com/appium/ruby_lib/blob/
|
985
|
+
##### [get_available_log_types](https://github.com/appium/ruby_lib/blob/12317e4d74b20d01813526b28e642e3522193fa3/lib/appium_lib/common/log.rb#L37) common
|
986
986
|
|
987
987
|
> def get_available_log_types
|
988
988
|
|
@@ -994,7 +994,7 @@ __Returns:__
|
|
994
994
|
|
995
995
|
--
|
996
996
|
|
997
|
-
##### [wait_true](https://github.com/appium/ruby_lib/blob/
|
997
|
+
##### [wait_true](https://github.com/appium/ruby_lib/blob/12317e4d74b20d01813526b28e642e3522193fa3/lib/appium_lib/common/wait.rb#L44) common
|
998
998
|
|
999
999
|
> def wait_true(opts = {})
|
1000
1000
|
|
@@ -1014,7 +1014,7 @@ __Parameters:__
|
|
1014
1014
|
|
1015
1015
|
--
|
1016
1016
|
|
1017
|
-
##### [wait](https://github.com/appium/ruby_lib/blob/
|
1017
|
+
##### [wait](https://github.com/appium/ruby_lib/blob/12317e4d74b20d01813526b28e642e3522193fa3/lib/appium_lib/common/wait.rb#L73) common
|
1018
1018
|
|
1019
1019
|
> def wait(opts = {})
|
1020
1020
|
|
@@ -1032,7 +1032,7 @@ __Parameters:__
|
|
1032
1032
|
|
1033
1033
|
--
|
1034
1034
|
|
1035
|
-
##### [add_touch_actions](https://github.com/appium/ruby_lib/blob/
|
1035
|
+
##### [add_touch_actions](https://github.com/appium/ruby_lib/blob/12317e4d74b20d01813526b28e642e3522193fa3/lib/appium_lib/common/device.rb#L26) common
|
1036
1036
|
|
1037
1037
|
> def add_touch_actions
|
1038
1038
|
|
@@ -1040,7 +1040,7 @@ __Parameters:__
|
|
1040
1040
|
|
1041
1041
|
--
|
1042
1042
|
|
1043
|
-
##### [delegate_from_appium_driver](https://github.com/appium/ruby_lib/blob/
|
1043
|
+
##### [delegate_from_appium_driver](https://github.com/appium/ruby_lib/blob/12317e4d74b20d01813526b28e642e3522193fa3/lib/appium_lib/common/device.rb#L38) common
|
1044
1044
|
|
1045
1045
|
> def delegate_from_appium_driver(method, delegation_target)
|
1046
1046
|
|
@@ -1048,7 +1048,7 @@ __Parameters:__
|
|
1048
1048
|
|
1049
1049
|
--
|
1050
1050
|
|
1051
|
-
##### [ignore](https://github.com/appium/ruby_lib/blob/
|
1051
|
+
##### [ignore](https://github.com/appium/ruby_lib/blob/12317e4d74b20d01813526b28e642e3522193fa3/lib/appium_lib/common/helper.rb#L30) common
|
1052
1052
|
|
1053
1053
|
> def ignore
|
1054
1054
|
|
@@ -1056,7 +1056,7 @@ Return yield and ignore any exceptions.
|
|
1056
1056
|
|
1057
1057
|
--
|
1058
1058
|
|
1059
|
-
##### [back](https://github.com/appium/ruby_lib/blob/
|
1059
|
+
##### [back](https://github.com/appium/ruby_lib/blob/12317e4d74b20d01813526b28e642e3522193fa3/lib/appium_lib/common/helper.rb#L37) common
|
1060
1060
|
|
1061
1061
|
> def back
|
1062
1062
|
|
@@ -1068,7 +1068,7 @@ __Returns:__
|
|
1068
1068
|
|
1069
1069
|
--
|
1070
1070
|
|
1071
|
-
##### [session_id](https://github.com/appium/ruby_lib/blob/
|
1071
|
+
##### [session_id](https://github.com/appium/ruby_lib/blob/12317e4d74b20d01813526b28e642e3522193fa3/lib/appium_lib/common/helper.rb#L48) common
|
1072
1072
|
|
1073
1073
|
> def session_id
|
1074
1074
|
|
@@ -1080,7 +1080,7 @@ __Returns:__
|
|
1080
1080
|
|
1081
1081
|
--
|
1082
1082
|
|
1083
|
-
##### [xpath](https://github.com/appium/ruby_lib/blob/
|
1083
|
+
##### [xpath](https://github.com/appium/ruby_lib/blob/12317e4d74b20d01813526b28e642e3522193fa3/lib/appium_lib/common/helper.rb#L56) common
|
1084
1084
|
|
1085
1085
|
> def xpath(xpath_str)
|
1086
1086
|
|
@@ -1096,7 +1096,7 @@ __Returns:__
|
|
1096
1096
|
|
1097
1097
|
--
|
1098
1098
|
|
1099
|
-
##### [xpaths](https://github.com/appium/ruby_lib/blob/
|
1099
|
+
##### [xpaths](https://github.com/appium/ruby_lib/blob/12317e4d74b20d01813526b28e642e3522193fa3/lib/appium_lib/common/helper.rb#L64) common
|
1100
1100
|
|
1101
1101
|
> def xpaths(xpath_str)
|
1102
1102
|
|
@@ -1112,7 +1112,7 @@ __Returns:__
|
|
1112
1112
|
|
1113
1113
|
--
|
1114
1114
|
|
1115
|
-
##### [result](https://github.com/appium/ruby_lib/blob/
|
1115
|
+
##### [result](https://github.com/appium/ruby_lib/blob/12317e4d74b20d01813526b28e642e3522193fa3/lib/appium_lib/common/helper.rb#L74) common
|
1116
1116
|
|
1117
1117
|
> def result
|
1118
1118
|
|
@@ -1120,7 +1120,7 @@ Returns the value of attribute result
|
|
1120
1120
|
|
1121
1121
|
--
|
1122
1122
|
|
1123
|
-
##### [initialize](https://github.com/appium/ruby_lib/blob/
|
1123
|
+
##### [initialize](https://github.com/appium/ruby_lib/blob/12317e4d74b20d01813526b28e642e3522193fa3/lib/appium_lib/common/helper.rb#L76) common
|
1124
1124
|
|
1125
1125
|
> def initialize(platform)
|
1126
1126
|
|
@@ -1132,7 +1132,7 @@ __Returns:__
|
|
1132
1132
|
|
1133
1133
|
--
|
1134
1134
|
|
1135
|
-
##### [reset](https://github.com/appium/ruby_lib/blob/
|
1135
|
+
##### [reset](https://github.com/appium/ruby_lib/blob/12317e4d74b20d01813526b28e642e3522193fa3/lib/appium_lib/common/helper.rb#L81) common
|
1136
1136
|
|
1137
1137
|
> def reset
|
1138
1138
|
|
@@ -1140,7 +1140,7 @@ __Returns:__
|
|
1140
1140
|
|
1141
1141
|
--
|
1142
1142
|
|
1143
|
-
##### [start_element](https://github.com/appium/ruby_lib/blob/
|
1143
|
+
##### [start_element](https://github.com/appium/ruby_lib/blob/12317e4d74b20d01813526b28e642e3522193fa3/lib/appium_lib/common/helper.rb#L86) common
|
1144
1144
|
|
1145
1145
|
> def start_element(name, attrs = [])
|
1146
1146
|
|
@@ -1148,7 +1148,7 @@ http://nokogiri.org/Nokogiri/XML/SAX/Document.html
|
|
1148
1148
|
|
1149
1149
|
--
|
1150
1150
|
|
1151
|
-
##### [formatted_result](https://github.com/appium/ruby_lib/blob/
|
1151
|
+
##### [formatted_result](https://github.com/appium/ruby_lib/blob/12317e4d74b20d01813526b28e642e3522193fa3/lib/appium_lib/common/helper.rb#L97) common
|
1152
1152
|
|
1153
1153
|
> def formatted_result
|
1154
1154
|
|
@@ -1156,7 +1156,7 @@ http://nokogiri.org/Nokogiri/XML/SAX/Document.html
|
|
1156
1156
|
|
1157
1157
|
--
|
1158
1158
|
|
1159
|
-
##### [get_page_class](https://github.com/appium/ruby_lib/blob/
|
1159
|
+
##### [get_page_class](https://github.com/appium/ruby_lib/blob/12317e4d74b20d01813526b28e642e3522193fa3/lib/appium_lib/common/helper.rb#L115) common
|
1160
1160
|
|
1161
1161
|
> def get_page_class
|
1162
1162
|
|
@@ -1168,7 +1168,7 @@ __Returns:__
|
|
1168
1168
|
|
1169
1169
|
--
|
1170
1170
|
|
1171
|
-
##### [page_class](https://github.com/appium/ruby_lib/blob/
|
1171
|
+
##### [page_class](https://github.com/appium/ruby_lib/blob/12317e4d74b20d01813526b28e642e3522193fa3/lib/appium_lib/common/helper.rb#L140) common
|
1172
1172
|
|
1173
1173
|
> def page_class
|
1174
1174
|
|
@@ -1181,7 +1181,7 @@ __Returns:__
|
|
1181
1181
|
|
1182
1182
|
--
|
1183
1183
|
|
1184
|
-
##### [source](https://github.com/appium/ruby_lib/blob/
|
1184
|
+
##### [source](https://github.com/appium/ruby_lib/blob/12317e4d74b20d01813526b28e642e3522193fa3/lib/appium_lib/common/helper.rb#L147) common
|
1185
1185
|
|
1186
1186
|
> def source
|
1187
1187
|
|
@@ -1193,7 +1193,7 @@ __Returns:__
|
|
1193
1193
|
|
1194
1194
|
--
|
1195
1195
|
|
1196
|
-
##### [get_source](https://github.com/appium/ruby_lib/blob/
|
1196
|
+
##### [get_source](https://github.com/appium/ruby_lib/blob/12317e4d74b20d01813526b28e642e3522193fa3/lib/appium_lib/common/helper.rb#L154) common
|
1197
1197
|
|
1198
1198
|
> def get_source
|
1199
1199
|
|
@@ -1206,7 +1206,7 @@ __Returns:__
|
|
1206
1206
|
|
1207
1207
|
--
|
1208
1208
|
|
1209
|
-
##### [px_to_window_rel](https://github.com/appium/ruby_lib/blob/
|
1209
|
+
##### [px_to_window_rel](https://github.com/appium/ruby_lib/blob/12317e4d74b20d01813526b28e642e3522193fa3/lib/appium_lib/common/helper.rb#L164) common
|
1210
1210
|
|
1211
1211
|
> def px_to_window_rel(opts = {}, driver = $driver)
|
1212
1212
|
|
@@ -1214,7 +1214,7 @@ Converts pixel values to window relative values
|
|
1214
1214
|
|
1215
1215
|
--
|
1216
1216
|
|
1217
|
-
##### [xml_keys](https://github.com/appium/ruby_lib/blob/
|
1217
|
+
##### [xml_keys](https://github.com/appium/ruby_lib/blob/12317e4d74b20d01813526b28e642e3522193fa3/lib/appium_lib/common/helper.rb#L183) common
|
1218
1218
|
|
1219
1219
|
> def xml_keys(target)
|
1220
1220
|
|
@@ -1230,7 +1230,7 @@ __Returns:__
|
|
1230
1230
|
|
1231
1231
|
--
|
1232
1232
|
|
1233
|
-
##### [xml_values](https://github.com/appium/ruby_lib/blob/
|
1233
|
+
##### [xml_values](https://github.com/appium/ruby_lib/blob/12317e4d74b20d01813526b28e642e3522193fa3/lib/appium_lib/common/helper.rb#L191) common
|
1234
1234
|
|
1235
1235
|
> def xml_values(target)
|
1236
1236
|
|
@@ -1246,7 +1246,7 @@ __Returns:__
|
|
1246
1246
|
|
1247
1247
|
--
|
1248
1248
|
|
1249
|
-
##### [resolve_id](https://github.com/appium/ruby_lib/blob/
|
1249
|
+
##### [resolve_id](https://github.com/appium/ruby_lib/blob/12317e4d74b20d01813526b28e642e3522193fa3/lib/appium_lib/common/helper.rb#L199) common
|
1250
1250
|
|
1251
1251
|
> def resolve_id(id)
|
1252
1252
|
|
@@ -1262,7 +1262,7 @@ __Returns:__
|
|
1262
1262
|
|
1263
1263
|
--
|
1264
1264
|
|
1265
|
-
##### [filter](https://github.com/appium/ruby_lib/blob/
|
1265
|
+
##### [filter](https://github.com/appium/ruby_lib/blob/12317e4d74b20d01813526b28e642e3522193fa3/lib/appium_lib/common/helper.rb#L206) common
|
1266
1266
|
|
1267
1267
|
> def filter
|
1268
1268
|
|
@@ -1270,7 +1270,7 @@ Returns the value of attribute filter
|
|
1270
1270
|
|
1271
1271
|
--
|
1272
1272
|
|
1273
|
-
##### [filter=](https://github.com/appium/ruby_lib/blob/
|
1273
|
+
##### [filter=](https://github.com/appium/ruby_lib/blob/12317e4d74b20d01813526b28e642e3522193fa3/lib/appium_lib/common/helper.rb#L209) common
|
1274
1274
|
|
1275
1275
|
> def filter=(value)
|
1276
1276
|
|
@@ -1278,7 +1278,7 @@ convert to string to support symbols
|
|
1278
1278
|
|
1279
1279
|
--
|
1280
1280
|
|
1281
|
-
##### [initialize](https://github.com/appium/ruby_lib/blob/
|
1281
|
+
##### [initialize](https://github.com/appium/ruby_lib/blob/12317e4d74b20d01813526b28e642e3522193fa3/lib/appium_lib/common/helper.rb#L216) common
|
1282
1282
|
|
1283
1283
|
> def initialize
|
1284
1284
|
|
@@ -1290,7 +1290,7 @@ __Returns:__
|
|
1290
1290
|
|
1291
1291
|
--
|
1292
1292
|
|
1293
|
-
##### [reset](https://github.com/appium/ruby_lib/blob/
|
1293
|
+
##### [reset](https://github.com/appium/ruby_lib/blob/12317e4d74b20d01813526b28e642e3522193fa3/lib/appium_lib/common/helper.rb#L221) common
|
1294
1294
|
|
1295
1295
|
> def reset
|
1296
1296
|
|
@@ -1298,7 +1298,7 @@ __Returns:__
|
|
1298
1298
|
|
1299
1299
|
--
|
1300
1300
|
|
1301
|
-
##### [result](https://github.com/appium/ruby_lib/blob/
|
1301
|
+
##### [result](https://github.com/appium/ruby_lib/blob/12317e4d74b20d01813526b28e642e3522193fa3/lib/appium_lib/common/helper.rb#L227) common
|
1302
1302
|
|
1303
1303
|
> def result
|
1304
1304
|
|
@@ -1306,7 +1306,7 @@ __Returns:__
|
|
1306
1306
|
|
1307
1307
|
--
|
1308
1308
|
|
1309
|
-
##### [start_element](https://github.com/appium/ruby_lib/blob/
|
1309
|
+
##### [start_element](https://github.com/appium/ruby_lib/blob/12317e4d74b20d01813526b28e642e3522193fa3/lib/appium_lib/common/helper.rb#L240) common
|
1310
1310
|
|
1311
1311
|
> def start_element(name, attrs = [])
|
1312
1312
|
|
@@ -1314,7 +1314,7 @@ __Returns:__
|
|
1314
1314
|
|
1315
1315
|
--
|
1316
1316
|
|
1317
|
-
##### [end_element](https://github.com/appium/ruby_lib/blob/
|
1317
|
+
##### [end_element](https://github.com/appium/ruby_lib/blob/12317e4d74b20d01813526b28e642e3522193fa3/lib/appium_lib/common/helper.rb#L250) common
|
1318
1318
|
|
1319
1319
|
> def end_element(name)
|
1320
1320
|
|
@@ -1322,7 +1322,7 @@ __Returns:__
|
|
1322
1322
|
|
1323
1323
|
--
|
1324
1324
|
|
1325
|
-
##### [characters](https://github.com/appium/ruby_lib/blob/
|
1325
|
+
##### [characters](https://github.com/appium/ruby_lib/blob/12317e4d74b20d01813526b28e642e3522193fa3/lib/appium_lib/common/helper.rb#L257) common
|
1326
1326
|
|
1327
1327
|
> def characters(chars)
|
1328
1328
|
|
@@ -1330,7 +1330,7 @@ __Returns:__
|
|
1330
1330
|
|
1331
1331
|
--
|
1332
1332
|
|
1333
|
-
##### [DEFAULT_HEADERS](https://github.com/appium/ruby_lib/blob/
|
1333
|
+
##### [DEFAULT_HEADERS](https://github.com/appium/ruby_lib/blob/12317e4d74b20d01813526b28e642e3522193fa3/lib/appium_lib/common/http_client.rb#L22) common
|
1334
1334
|
|
1335
1335
|
> DEFAULT_HEADERS = { 'Accept' => CONTENT_TYPE, 'User-Agent' => "appium/ruby_lib/#{::Appium::VERSION}" }.freeze
|
1336
1336
|
|
@@ -1338,7 +1338,7 @@ Default HTTP client inherit Appium::Core::Base::Http::Default, but has different
|
|
1338
1338
|
|
1339
1339
|
--
|
1340
1340
|
|
1341
|
-
##### [pinch](https://github.com/appium/ruby_lib/blob/
|
1341
|
+
##### [pinch](https://github.com/appium/ruby_lib/blob/12317e4d74b20d01813526b28e642e3522193fa3/lib/appium_lib/common/multi_touch.rb#L65) common
|
1342
1342
|
|
1343
1343
|
> def pinch(percentage = 25, auto_perform = true, driver = $driver)
|
1344
1344
|
|
@@ -1358,7 +1358,7 @@ __Parameters:__
|
|
1358
1358
|
|
1359
1359
|
--
|
1360
1360
|
|
1361
|
-
##### [zoom](https://github.com/appium/ruby_lib/blob/
|
1361
|
+
##### [zoom](https://github.com/appium/ruby_lib/blob/12317e4d74b20d01813526b28e642e3522193fa3/lib/appium_lib/common/multi_touch.rb#L108) common
|
1362
1362
|
|
1363
1363
|
> def zoom(percentage = 200, auto_perform = true, driver = $driver)
|
1364
1364
|
|
@@ -1378,7 +1378,7 @@ __Parameters:__
|
|
1378
1378
|
|
1379
1379
|
--
|
1380
1380
|
|
1381
|
-
##### [initialize](https://github.com/appium/ruby_lib/blob/
|
1381
|
+
##### [initialize](https://github.com/appium/ruby_lib/blob/12317e4d74b20d01813526b28e642e3522193fa3/lib/appium_lib/common/multi_touch.rb#L194) common
|
1382
1382
|
|
1383
1383
|
> def initialize(driver = $driver)
|
1384
1384
|
|
@@ -1390,7 +1390,7 @@ __Returns:__
|
|
1390
1390
|
|
1391
1391
|
--
|
1392
1392
|
|
1393
|
-
##### [COMPLEX_ACTIONS](https://github.com/appium/ruby_lib/blob/
|
1393
|
+
##### [COMPLEX_ACTIONS](https://github.com/appium/ruby_lib/blob/12317e4d74b20d01813526b28e642e3522193fa3/lib/appium_lib/common/touch_actions.rb#L47) common
|
1394
1394
|
|
1395
1395
|
> COMPLEX_ACTIONS = ::Appium::Core::TouchAction::COMPLEX_ACTIONS
|
1396
1396
|
|
@@ -1398,7 +1398,7 @@ __Returns:__
|
|
1398
1398
|
|
1399
1399
|
--
|
1400
1400
|
|
1401
|
-
##### [initialize](https://github.com/appium/ruby_lib/blob/
|
1401
|
+
##### [initialize](https://github.com/appium/ruby_lib/blob/12317e4d74b20d01813526b28e642e3522193fa3/lib/appium_lib/common/touch_actions.rb#L62) common
|
1402
1402
|
|
1403
1403
|
> def initialize(driver = $driver)
|
1404
1404
|
|
@@ -1410,7 +1410,7 @@ __Returns:__
|
|
1410
1410
|
|
1411
1411
|
--
|
1412
1412
|
|
1413
|
-
##### [swipe](https://github.com/appium/ruby_lib/blob/
|
1413
|
+
##### [swipe](https://github.com/appium/ruby_lib/blob/12317e4d74b20d01813526b28e642e3522193fa3/lib/appium_lib/common/touch_actions.rb#L66) common
|
1414
1414
|
|
1415
1415
|
> def swipe(opts)
|
1416
1416
|
|
@@ -1418,7 +1418,7 @@ __Returns:__
|
|
1418
1418
|
|
1419
1419
|
--
|
1420
1420
|
|
1421
|
-
##### [initialize](https://github.com/appium/ruby_lib/blob/
|
1421
|
+
##### [initialize](https://github.com/appium/ruby_lib/blob/12317e4d74b20d01813526b28e642e3522193fa3/lib/appium_lib/common/command/ws_logcat.rb#L19) common
|
1422
1422
|
|
1423
1423
|
> def initialize(url:, output_file: 'logcat.log')
|
1424
1424
|
|
@@ -1430,7 +1430,7 @@ __Returns:__
|
|
1430
1430
|
|
1431
1431
|
--
|
1432
1432
|
|
1433
|
-
##### [handle_message_data](https://github.com/appium/ruby_lib/blob/
|
1433
|
+
##### [handle_message_data](https://github.com/appium/ruby_lib/blob/12317e4d74b20d01813526b28e642e3522193fa3/lib/appium_lib/common/command/ws_logcat.rb#L24) common
|
1434
1434
|
|
1435
1435
|
> def handle_message_data(data)
|
1436
1436
|
|
@@ -1438,7 +1438,7 @@ __Returns:__
|
|
1438
1438
|
|
1439
1439
|
--
|
1440
1440
|
|
1441
|
-
##### [for](https://github.com/appium/ruby_lib/blob/
|
1441
|
+
##### [for](https://github.com/appium/ruby_lib/blob/12317e4d74b20d01813526b28e642e3522193fa3/lib/appium_lib/ios/ios.rb#L29) ios
|
1442
1442
|
|
1443
1443
|
> def self.for(target)
|
1444
1444
|
|
@@ -1446,7 +1446,7 @@ __Returns:__
|
|
1446
1446
|
|
1447
1447
|
--
|
1448
1448
|
|
1449
|
-
##### [UIA_STATIC_TEXT](https://github.com/appium/ruby_lib/blob/
|
1449
|
+
##### [UIA_STATIC_TEXT](https://github.com/appium/ruby_lib/blob/12317e4d74b20d01813526b28e642e3522193fa3/lib/appium_lib/ios/element/text.rb#L18) ios
|
1450
1450
|
|
1451
1451
|
> UIA_STATIC_TEXT = 'UIAStaticText'
|
1452
1452
|
|
@@ -1454,7 +1454,7 @@ __Returns:__
|
|
1454
1454
|
|
1455
1455
|
--
|
1456
1456
|
|
1457
|
-
##### [UIAStaticText](https://github.com/appium/ruby_lib/blob/
|
1457
|
+
##### [UIAStaticText](https://github.com/appium/ruby_lib/blob/12317e4d74b20d01813526b28e642e3522193fa3/lib/appium_lib/ios/element/text.rb#L19) ios
|
1458
1458
|
|
1459
1459
|
> UIAStaticText = UIA_STATIC_TEXT
|
1460
1460
|
|
@@ -1462,7 +1462,7 @@ __Returns:__
|
|
1462
1462
|
|
1463
1463
|
--
|
1464
1464
|
|
1465
|
-
##### [XCUIELEMENT_TYPE_STATIC_TEXT](https://github.com/appium/ruby_lib/blob/
|
1465
|
+
##### [XCUIELEMENT_TYPE_STATIC_TEXT](https://github.com/appium/ruby_lib/blob/12317e4d74b20d01813526b28e642e3522193fa3/lib/appium_lib/ios/element/text.rb#L21) ios
|
1466
1466
|
|
1467
1467
|
> XCUIELEMENT_TYPE_STATIC_TEXT = 'XCUIElementTypeStaticText'
|
1468
1468
|
|
@@ -1470,7 +1470,7 @@ __Returns:__
|
|
1470
1470
|
|
1471
1471
|
--
|
1472
1472
|
|
1473
|
-
##### [XCUIElementTypeStaticText](https://github.com/appium/ruby_lib/blob/
|
1473
|
+
##### [XCUIElementTypeStaticText](https://github.com/appium/ruby_lib/blob/12317e4d74b20d01813526b28e642e3522193fa3/lib/appium_lib/ios/element/text.rb#L22) ios
|
1474
1474
|
|
1475
1475
|
> XCUIElementTypeStaticText = XCUIELEMENT_TYPE_STATIC_TEXT
|
1476
1476
|
|
@@ -1478,7 +1478,7 @@ __Returns:__
|
|
1478
1478
|
|
1479
1479
|
--
|
1480
1480
|
|
1481
|
-
##### [static_text_class](https://github.com/appium/ruby_lib/blob/
|
1481
|
+
##### [static_text_class](https://github.com/appium/ruby_lib/blob/12317e4d74b20d01813526b28e642e3522193fa3/lib/appium_lib/ios/element/text.rb#L25) ios
|
1482
1482
|
|
1483
1483
|
> def static_text_class
|
1484
1484
|
|
@@ -1490,7 +1490,7 @@ __Returns:__
|
|
1490
1490
|
|
1491
1491
|
--
|
1492
1492
|
|
1493
|
-
##### [text](https://github.com/appium/ruby_lib/blob/
|
1493
|
+
##### [text](https://github.com/appium/ruby_lib/blob/12317e4d74b20d01813526b28e642e3522193fa3/lib/appium_lib/ios/element/text.rb#L33) ios
|
1494
1494
|
|
1495
1495
|
> def text(value)
|
1496
1496
|
|
@@ -1507,7 +1507,7 @@ __Returns:__
|
|
1507
1507
|
|
1508
1508
|
--
|
1509
1509
|
|
1510
|
-
##### [texts](https://github.com/appium/ruby_lib/blob/
|
1510
|
+
##### [texts](https://github.com/appium/ruby_lib/blob/12317e4d74b20d01813526b28e642e3522193fa3/lib/appium_lib/ios/element/text.rb#L43) ios
|
1511
1511
|
|
1512
1512
|
> def texts(value = false)
|
1513
1513
|
|
@@ -1524,7 +1524,7 @@ __Returns:__
|
|
1524
1524
|
|
1525
1525
|
--
|
1526
1526
|
|
1527
|
-
##### [first_text](https://github.com/appium/ruby_lib/blob/
|
1527
|
+
##### [first_text](https://github.com/appium/ruby_lib/blob/12317e4d74b20d01813526b28e642e3522193fa3/lib/appium_lib/ios/element/text.rb#L51) ios
|
1528
1528
|
|
1529
1529
|
> def first_text
|
1530
1530
|
|
@@ -1536,7 +1536,7 @@ __Returns:__
|
|
1536
1536
|
|
1537
1537
|
--
|
1538
1538
|
|
1539
|
-
##### [last_text](https://github.com/appium/ruby_lib/blob/
|
1539
|
+
##### [last_text](https://github.com/appium/ruby_lib/blob/12317e4d74b20d01813526b28e642e3522193fa3/lib/appium_lib/ios/element/text.rb#L57) ios
|
1540
1540
|
|
1541
1541
|
> def last_text
|
1542
1542
|
|
@@ -1548,7 +1548,7 @@ __Returns:__
|
|
1548
1548
|
|
1549
1549
|
--
|
1550
1550
|
|
1551
|
-
##### [text_exact](https://github.com/appium/ruby_lib/blob/
|
1551
|
+
##### [text_exact](https://github.com/appium/ruby_lib/blob/12317e4d74b20d01813526b28e642e3522193fa3/lib/appium_lib/ios/element/text.rb#L64) ios
|
1552
1552
|
|
1553
1553
|
> def text_exact(value)
|
1554
1554
|
|
@@ -1564,7 +1564,7 @@ __Returns:__
|
|
1564
1564
|
|
1565
1565
|
--
|
1566
1566
|
|
1567
|
-
##### [texts_exact](https://github.com/appium/ruby_lib/blob/
|
1567
|
+
##### [texts_exact](https://github.com/appium/ruby_lib/blob/12317e4d74b20d01813526b28e642e3522193fa3/lib/appium_lib/ios/element/text.rb#L71) ios
|
1568
1568
|
|
1569
1569
|
> def texts_exact(value)
|
1570
1570
|
|
@@ -1580,7 +1580,7 @@ __Returns:__
|
|
1580
1580
|
|
1581
1581
|
--
|
1582
1582
|
|
1583
|
-
##### [filter](https://github.com/appium/ruby_lib/blob/
|
1583
|
+
##### [filter](https://github.com/appium/ruby_lib/blob/12317e4d74b20d01813526b28e642e3522193fa3/lib/appium_lib/ios/common/helper.rb#L19) ios
|
1584
1584
|
|
1585
1585
|
> def filter
|
1586
1586
|
|
@@ -1588,7 +1588,7 @@ Returns the value of attribute filter
|
|
1588
1588
|
|
1589
1589
|
--
|
1590
1590
|
|
1591
|
-
##### [filter=](https://github.com/appium/ruby_lib/blob/
|
1591
|
+
##### [filter=](https://github.com/appium/ruby_lib/blob/12317e4d74b20d01813526b28e642e3522193fa3/lib/appium_lib/ios/common/helper.rb#L19) ios
|
1592
1592
|
|
1593
1593
|
> def filter=(value)
|
1594
1594
|
|
@@ -1600,7 +1600,7 @@ __Parameters:__
|
|
1600
1600
|
|
1601
1601
|
--
|
1602
1602
|
|
1603
|
-
##### [start_element](https://github.com/appium/ruby_lib/blob/
|
1603
|
+
##### [start_element](https://github.com/appium/ruby_lib/blob/12317e4d74b20d01813526b28e642e3522193fa3/lib/appium_lib/ios/common/helper.rb#L21) ios
|
1604
1604
|
|
1605
1605
|
> def start_element(type, attrs = [])
|
1606
1606
|
|
@@ -1608,7 +1608,7 @@ __Parameters:__
|
|
1608
1608
|
|
1609
1609
|
--
|
1610
1610
|
|
1611
|
-
##### [ios_password](https://github.com/appium/ruby_lib/blob/
|
1611
|
+
##### [ios_password](https://github.com/appium/ruby_lib/blob/12317e4d74b20d01813526b28e642e3522193fa3/lib/appium_lib/ios/common/helper.rb#L57) ios
|
1612
1612
|
|
1613
1613
|
> def ios_password(length = 1)
|
1614
1614
|
|
@@ -1626,7 +1626,7 @@ __Returns:__
|
|
1626
1626
|
|
1627
1627
|
--
|
1628
1628
|
|
1629
|
-
##### [page](https://github.com/appium/ruby_lib/blob/
|
1629
|
+
##### [page](https://github.com/appium/ruby_lib/blob/12317e4d74b20d01813526b28e642e3522193fa3/lib/appium_lib/ios/common/helper.rb#L73) ios
|
1630
1630
|
|
1631
1631
|
> def page(opts = {})
|
1632
1632
|
|
@@ -1644,7 +1644,7 @@ __Returns:__
|
|
1644
1644
|
|
1645
1645
|
--
|
1646
1646
|
|
1647
|
-
##### [id](https://github.com/appium/ruby_lib/blob/
|
1647
|
+
##### [id](https://github.com/appium/ruby_lib/blob/12317e4d74b20d01813526b28e642e3522193fa3/lib/appium_lib/ios/common/helper.rb#L100) ios
|
1648
1648
|
|
1649
1649
|
> def id(id)
|
1650
1650
|
|
@@ -1660,7 +1660,7 @@ __Returns:__
|
|
1660
1660
|
|
1661
1661
|
--
|
1662
1662
|
|
1663
|
-
##### [ele_index](https://github.com/appium/ruby_lib/blob/
|
1663
|
+
##### [ele_index](https://github.com/appium/ruby_lib/blob/12317e4d74b20d01813526b28e642e3522193fa3/lib/appium_lib/ios/common/helper.rb#L108) ios
|
1664
1664
|
|
1665
1665
|
> def ele_index(class_name, index)
|
1666
1666
|
|
@@ -1678,7 +1678,7 @@ __Returns:__
|
|
1678
1678
|
|
1679
1679
|
--
|
1680
1680
|
|
1681
|
-
##### [find_ele_by_attr](https://github.com/appium/ruby_lib/blob/
|
1681
|
+
##### [find_ele_by_attr](https://github.com/appium/ruby_lib/blob/12317e4d74b20d01813526b28e642e3522193fa3/lib/appium_lib/ios/common/helper.rb#L138) ios
|
1682
1682
|
|
1683
1683
|
> def find_ele_by_attr(class_name, attr, value)
|
1684
1684
|
|
@@ -1700,7 +1700,7 @@ __Returns:__
|
|
1700
1700
|
|
1701
1701
|
--
|
1702
1702
|
|
1703
|
-
##### [find_eles_by_attr](https://github.com/appium/ruby_lib/blob/
|
1703
|
+
##### [find_eles_by_attr](https://github.com/appium/ruby_lib/blob/12317e4d74b20d01813526b28e642e3522193fa3/lib/appium_lib/ios/common/helper.rb#L149) ios
|
1704
1704
|
|
1705
1705
|
> def find_eles_by_attr(class_name, attr, value)
|
1706
1706
|
|
@@ -1722,7 +1722,7 @@ __Returns:__
|
|
1722
1722
|
|
1723
1723
|
--
|
1724
1724
|
|
1725
|
-
##### [find_ele_by_predicate](https://github.com/appium/ruby_lib/blob/
|
1725
|
+
##### [find_ele_by_predicate](https://github.com/appium/ruby_lib/blob/12317e4d74b20d01813526b28e642e3522193fa3/lib/appium_lib/ios/common/helper.rb#L162) ios
|
1726
1726
|
|
1727
1727
|
> def find_ele_by_predicate(class_name: '*', value:)
|
1728
1728
|
|
@@ -1739,7 +1739,7 @@ __Returns:__
|
|
1739
1739
|
|
1740
1740
|
--
|
1741
1741
|
|
1742
|
-
##### [find_eles_by_predicate](https://github.com/appium/ruby_lib/blob/
|
1742
|
+
##### [find_eles_by_predicate](https://github.com/appium/ruby_lib/blob/12317e4d74b20d01813526b28e642e3522193fa3/lib/appium_lib/ios/common/helper.rb#L174) ios
|
1743
1743
|
|
1744
1744
|
> def find_eles_by_predicate(class_name: '*', value:)
|
1745
1745
|
|
@@ -1758,7 +1758,7 @@ __Returns:__
|
|
1758
1758
|
|
1759
1759
|
--
|
1760
1760
|
|
1761
|
-
##### [find_ele_by_attr_include](https://github.com/appium/ruby_lib/blob/
|
1761
|
+
##### [find_ele_by_attr_include](https://github.com/appium/ruby_lib/blob/12317e4d74b20d01813526b28e642e3522193fa3/lib/appium_lib/ios/common/helper.rb#L190) ios
|
1762
1762
|
|
1763
1763
|
> def find_ele_by_attr_include(class_name, attr, value)
|
1764
1764
|
|
@@ -1779,7 +1779,7 @@ __Returns:__
|
|
1779
1779
|
|
1780
1780
|
--
|
1781
1781
|
|
1782
|
-
##### [find_eles_by_attr_include](https://github.com/appium/ruby_lib/blob/
|
1782
|
+
##### [find_eles_by_attr_include](https://github.com/appium/ruby_lib/blob/12317e4d74b20d01813526b28e642e3522193fa3/lib/appium_lib/ios/common/helper.rb#L200) ios
|
1783
1783
|
|
1784
1784
|
> def find_eles_by_attr_include(class_name, attr, value)
|
1785
1785
|
|
@@ -1800,7 +1800,7 @@ __Returns:__
|
|
1800
1800
|
|
1801
1801
|
--
|
1802
1802
|
|
1803
|
-
##### [find_ele_by_predicate_include](https://github.com/appium/ruby_lib/blob/
|
1803
|
+
##### [find_ele_by_predicate_include](https://github.com/appium/ruby_lib/blob/12317e4d74b20d01813526b28e642e3522193fa3/lib/appium_lib/ios/common/helper.rb#L208) ios
|
1804
1804
|
|
1805
1805
|
> def find_ele_by_predicate_include(class_name: '*', value:)
|
1806
1806
|
|
@@ -1817,7 +1817,7 @@ __Returns:__
|
|
1817
1817
|
|
1818
1818
|
--
|
1819
1819
|
|
1820
|
-
##### [find_eles_by_predicate_include](https://github.com/appium/ruby_lib/blob/
|
1820
|
+
##### [find_eles_by_predicate_include](https://github.com/appium/ruby_lib/blob/12317e4d74b20d01813526b28e642e3522193fa3/lib/appium_lib/ios/common/helper.rb#L220) ios
|
1821
1821
|
|
1822
1822
|
> def find_eles_by_predicate_include(class_name: '*', value:)
|
1823
1823
|
|
@@ -1836,7 +1836,7 @@ __Returns:__
|
|
1836
1836
|
|
1837
1837
|
--
|
1838
1838
|
|
1839
|
-
##### [first_ele](https://github.com/appium/ruby_lib/blob/
|
1839
|
+
##### [first_ele](https://github.com/appium/ruby_lib/blob/12317e4d74b20d01813526b28e642e3522193fa3/lib/appium_lib/ios/common/helper.rb#L233) ios
|
1840
1840
|
|
1841
1841
|
> def first_ele(class_name)
|
1842
1842
|
|
@@ -1852,7 +1852,7 @@ __Returns:__
|
|
1852
1852
|
|
1853
1853
|
--
|
1854
1854
|
|
1855
|
-
##### [last_ele](https://github.com/appium/ruby_lib/blob/
|
1855
|
+
##### [last_ele](https://github.com/appium/ruby_lib/blob/12317e4d74b20d01813526b28e642e3522193fa3/lib/appium_lib/ios/common/helper.rb#L240) ios
|
1856
1856
|
|
1857
1857
|
> def last_ele(class_name)
|
1858
1858
|
|
@@ -1868,7 +1868,7 @@ __Returns:__
|
|
1868
1868
|
|
1869
1869
|
--
|
1870
1870
|
|
1871
|
-
##### [tag](https://github.com/appium/ruby_lib/blob/
|
1871
|
+
##### [tag](https://github.com/appium/ruby_lib/blob/12317e4d74b20d01813526b28e642e3522193fa3/lib/appium_lib/ios/common/helper.rb#L248) ios
|
1872
1872
|
|
1873
1873
|
> def tag(class_name)
|
1874
1874
|
|
@@ -1884,7 +1884,7 @@ __Returns:__
|
|
1884
1884
|
|
1885
1885
|
--
|
1886
1886
|
|
1887
|
-
##### [tags](https://github.com/appium/ruby_lib/blob/
|
1887
|
+
##### [tags](https://github.com/appium/ruby_lib/blob/12317e4d74b20d01813526b28e642e3522193fa3/lib/appium_lib/ios/common/helper.rb#L256) ios
|
1888
1888
|
|
1889
1889
|
> def tags(class_name)
|
1890
1890
|
|
@@ -1900,7 +1900,7 @@ __Returns:__
|
|
1900
1900
|
|
1901
1901
|
--
|
1902
1902
|
|
1903
|
-
##### [tags_include](https://github.com/appium/ruby_lib/blob/
|
1903
|
+
##### [tags_include](https://github.com/appium/ruby_lib/blob/12317e4d74b20d01813526b28e642e3522193fa3/lib/appium_lib/ios/common/helper.rb#L267) ios
|
1904
1904
|
|
1905
1905
|
> def tags_include(class_names:, value: nil)
|
1906
1906
|
|
@@ -1920,7 +1920,7 @@ __Returns:__
|
|
1920
1920
|
|
1921
1921
|
--
|
1922
1922
|
|
1923
|
-
##### [tags_exact](https://github.com/appium/ruby_lib/blob/
|
1923
|
+
##### [tags_exact](https://github.com/appium/ruby_lib/blob/12317e4d74b20d01813526b28e642e3522193fa3/lib/appium_lib/ios/common/helper.rb#L282) ios
|
1924
1924
|
|
1925
1925
|
> def tags_exact(class_names:, value: nil)
|
1926
1926
|
|
@@ -1940,7 +1940,7 @@ __Returns:__
|
|
1940
1940
|
|
1941
1941
|
--
|
1942
1942
|
|
1943
|
-
##### [ele_by_json_visible_contains](https://github.com/appium/ruby_lib/blob/
|
1943
|
+
##### [ele_by_json_visible_contains](https://github.com/appium/ruby_lib/blob/12317e4d74b20d01813526b28e642e3522193fa3/lib/appium_lib/ios/common/helper.rb#L319) ios
|
1944
1944
|
|
1945
1945
|
> def ele_by_json_visible_contains(element, value)
|
1946
1946
|
|
@@ -1959,7 +1959,7 @@ __Returns:__
|
|
1959
1959
|
|
1960
1960
|
--
|
1961
1961
|
|
1962
|
-
##### [eles_by_json_visible_contains](https://github.com/appium/ruby_lib/blob/
|
1962
|
+
##### [eles_by_json_visible_contains](https://github.com/appium/ruby_lib/blob/12317e4d74b20d01813526b28e642e3522193fa3/lib/appium_lib/ios/common/helper.rb#L328) ios
|
1963
1963
|
|
1964
1964
|
> def eles_by_json_visible_contains(element, value)
|
1965
1965
|
|
@@ -1978,7 +1978,7 @@ __Returns:__
|
|
1978
1978
|
|
1979
1979
|
--
|
1980
1980
|
|
1981
|
-
##### [ele_by_json_visible_exact](https://github.com/appium/ruby_lib/blob/
|
1981
|
+
##### [ele_by_json_visible_exact](https://github.com/appium/ruby_lib/blob/12317e4d74b20d01813526b28e642e3522193fa3/lib/appium_lib/ios/common/helper.rb#L358) ios
|
1982
1982
|
|
1983
1983
|
> def ele_by_json_visible_exact(element, value)
|
1984
1984
|
|
@@ -1997,7 +1997,7 @@ __Returns:__
|
|
1997
1997
|
|
1998
1998
|
--
|
1999
1999
|
|
2000
|
-
##### [eles_by_json_visible_exact](https://github.com/appium/ruby_lib/blob/
|
2000
|
+
##### [eles_by_json_visible_exact](https://github.com/appium/ruby_lib/blob/12317e4d74b20d01813526b28e642e3522193fa3/lib/appium_lib/ios/common/helper.rb#L367) ios
|
2001
2001
|
|
2002
2002
|
> def eles_by_json_visible_exact(element, value)
|
2003
2003
|
|
@@ -2016,7 +2016,7 @@ __Returns:__
|
|
2016
2016
|
|
2017
2017
|
--
|
2018
2018
|
|
2019
|
-
##### [_all_pred](https://github.com/appium/ruby_lib/blob/
|
2019
|
+
##### [_all_pred](https://github.com/appium/ruby_lib/blob/12317e4d74b20d01813526b28e642e3522193fa3/lib/appium_lib/ios/common/helper.rb#L376) ios
|
2020
2020
|
|
2021
2021
|
> def _all_pred(opts)
|
2022
2022
|
|
@@ -2026,7 +2026,7 @@ visible - if true, only visible elements are returned. default true
|
|
2026
2026
|
|
2027
2027
|
--
|
2028
2028
|
|
2029
|
-
##### [ele_with_pred](https://github.com/appium/ruby_lib/blob/
|
2029
|
+
##### [ele_with_pred](https://github.com/appium/ruby_lib/blob/12317e4d74b20d01813526b28e642e3522193fa3/lib/appium_lib/ios/common/helper.rb#L390) ios
|
2030
2030
|
|
2031
2031
|
> def ele_with_pred(opts)
|
2032
2032
|
|
@@ -2042,7 +2042,7 @@ __Returns:__
|
|
2042
2042
|
|
2043
2043
|
--
|
2044
2044
|
|
2045
|
-
##### [eles_with_pred](https://github.com/appium/ruby_lib/blob/
|
2045
|
+
##### [eles_with_pred](https://github.com/appium/ruby_lib/blob/12317e4d74b20d01813526b28e642e3522193fa3/lib/appium_lib/ios/common/helper.rb#L401) ios
|
2046
2046
|
|
2047
2047
|
> def eles_with_pred(opts)
|
2048
2048
|
|
@@ -2058,7 +2058,7 @@ __Returns:__
|
|
2058
2058
|
|
2059
2059
|
--
|
2060
2060
|
|
2061
|
-
##### [_validate_object](https://github.com/appium/ruby_lib/blob/
|
2061
|
+
##### [_validate_object](https://github.com/appium/ruby_lib/blob/12317e4d74b20d01813526b28e642e3522193fa3/lib/appium_lib/ios/common/helper.rb#L405) ios
|
2062
2062
|
|
2063
2063
|
> def _validate_object(*objects)
|
2064
2064
|
|
@@ -2066,7 +2066,7 @@ __Returns:__
|
|
2066
2066
|
|
2067
2067
|
--
|
2068
2068
|
|
2069
|
-
##### [_by_json](https://github.com/appium/ruby_lib/blob/
|
2069
|
+
##### [_by_json](https://github.com/appium/ruby_lib/blob/12317e4d74b20d01813526b28e642e3522193fa3/lib/appium_lib/ios/common/helper.rb#L455) ios
|
2070
2070
|
|
2071
2071
|
> def _by_json(opts)
|
2072
2072
|
|
@@ -2101,7 +2101,7 @@ opts = {
|
|
2101
2101
|
|
2102
2102
|
--
|
2103
2103
|
|
2104
|
-
##### [eles_by_json](https://github.com/appium/ruby_lib/blob/
|
2104
|
+
##### [eles_by_json](https://github.com/appium/ruby_lib/blob/12317e4d74b20d01813526b28e642e3522193fa3/lib/appium_lib/ios/common/helper.rb#L505) ios
|
2105
2105
|
|
2106
2106
|
> def eles_by_json(opts)
|
2107
2107
|
|
@@ -2120,7 +2120,7 @@ eles_by_json({
|
|
2120
2120
|
|
2121
2121
|
--
|
2122
2122
|
|
2123
|
-
##### [ele_by_json](https://github.com/appium/ruby_lib/blob/
|
2123
|
+
##### [ele_by_json](https://github.com/appium/ruby_lib/blob/12317e4d74b20d01813526b28e642e3522193fa3/lib/appium_lib/ios/common/helper.rb#L511) ios
|
2124
2124
|
|
2125
2125
|
> def ele_by_json(opts)
|
2126
2126
|
|
@@ -2128,7 +2128,7 @@ see eles_by_json
|
|
2128
2128
|
|
2129
2129
|
--
|
2130
2130
|
|
2131
|
-
##### [alert_accept](https://github.com/appium/ruby_lib/blob/
|
2131
|
+
##### [alert_accept](https://github.com/appium/ruby_lib/blob/12317e4d74b20d01813526b28e642e3522193fa3/lib/appium_lib/ios/element/alert.rb#L19) ios
|
2132
2132
|
|
2133
2133
|
> def alert_accept
|
2134
2134
|
|
@@ -2140,7 +2140,7 @@ __Returns:__
|
|
2140
2140
|
|
2141
2141
|
--
|
2142
2142
|
|
2143
|
-
##### [alert_dismiss](https://github.com/appium/ruby_lib/blob/
|
2143
|
+
##### [alert_dismiss](https://github.com/appium/ruby_lib/blob/12317e4d74b20d01813526b28e642e3522193fa3/lib/appium_lib/ios/element/alert.rb#L27) ios
|
2144
2144
|
|
2145
2145
|
> def alert_dismiss
|
2146
2146
|
|
@@ -2152,7 +2152,7 @@ __Returns:__
|
|
2152
2152
|
|
2153
2153
|
--
|
2154
2154
|
|
2155
|
-
##### [UIA_BUTTON](https://github.com/appium/ruby_lib/blob/
|
2155
|
+
##### [UIA_BUTTON](https://github.com/appium/ruby_lib/blob/12317e4d74b20d01813526b28e642e3522193fa3/lib/appium_lib/ios/element/button.rb#L18) ios
|
2156
2156
|
|
2157
2157
|
> UIA_BUTTON = 'UIAButton'
|
2158
2158
|
|
@@ -2160,7 +2160,7 @@ __Returns:__
|
|
2160
2160
|
|
2161
2161
|
--
|
2162
2162
|
|
2163
|
-
##### [UIAButton](https://github.com/appium/ruby_lib/blob/
|
2163
|
+
##### [UIAButton](https://github.com/appium/ruby_lib/blob/12317e4d74b20d01813526b28e642e3522193fa3/lib/appium_lib/ios/element/button.rb#L19) ios
|
2164
2164
|
|
2165
2165
|
> UIAButton = UIA_BUTTON
|
2166
2166
|
|
@@ -2168,7 +2168,7 @@ __Returns:__
|
|
2168
2168
|
|
2169
2169
|
--
|
2170
2170
|
|
2171
|
-
##### [XCUIELEMENT_TYPE_BUTTON](https://github.com/appium/ruby_lib/blob/
|
2171
|
+
##### [XCUIELEMENT_TYPE_BUTTON](https://github.com/appium/ruby_lib/blob/12317e4d74b20d01813526b28e642e3522193fa3/lib/appium_lib/ios/element/button.rb#L21) ios
|
2172
2172
|
|
2173
2173
|
> XCUIELEMENT_TYPE_BUTTON = 'XCUIElementTypeButton'
|
2174
2174
|
|
@@ -2176,7 +2176,7 @@ __Returns:__
|
|
2176
2176
|
|
2177
2177
|
--
|
2178
2178
|
|
2179
|
-
##### [XCUIElementTypeButton](https://github.com/appium/ruby_lib/blob/
|
2179
|
+
##### [XCUIElementTypeButton](https://github.com/appium/ruby_lib/blob/12317e4d74b20d01813526b28e642e3522193fa3/lib/appium_lib/ios/element/button.rb#L22) ios
|
2180
2180
|
|
2181
2181
|
> XCUIElementTypeButton = XCUIELEMENT_TYPE_BUTTON
|
2182
2182
|
|
@@ -2184,7 +2184,7 @@ __Returns:__
|
|
2184
2184
|
|
2185
2185
|
--
|
2186
2186
|
|
2187
|
-
##### [button_class](https://github.com/appium/ruby_lib/blob/
|
2187
|
+
##### [button_class](https://github.com/appium/ruby_lib/blob/12317e4d74b20d01813526b28e642e3522193fa3/lib/appium_lib/ios/element/button.rb#L25) ios
|
2188
2188
|
|
2189
2189
|
> def button_class
|
2190
2190
|
|
@@ -2196,7 +2196,7 @@ __Returns:__
|
|
2196
2196
|
|
2197
2197
|
--
|
2198
2198
|
|
2199
|
-
##### [button](https://github.com/appium/ruby_lib/blob/
|
2199
|
+
##### [button](https://github.com/appium/ruby_lib/blob/12317e4d74b20d01813526b28e642e3522193fa3/lib/appium_lib/ios/element/button.rb#L33) ios
|
2200
2200
|
|
2201
2201
|
> def button(value)
|
2202
2202
|
|
@@ -2213,7 +2213,7 @@ __Returns:__
|
|
2213
2213
|
|
2214
2214
|
--
|
2215
2215
|
|
2216
|
-
##### [buttons](https://github.com/appium/ruby_lib/blob/
|
2216
|
+
##### [buttons](https://github.com/appium/ruby_lib/blob/12317e4d74b20d01813526b28e642e3522193fa3/lib/appium_lib/ios/element/button.rb#L44) ios
|
2217
2217
|
|
2218
2218
|
> def buttons(value = false)
|
2219
2219
|
|
@@ -2230,7 +2230,7 @@ __Returns:__
|
|
2230
2230
|
|
2231
2231
|
--
|
2232
2232
|
|
2233
|
-
##### [first_button](https://github.com/appium/ruby_lib/blob/
|
2233
|
+
##### [first_button](https://github.com/appium/ruby_lib/blob/12317e4d74b20d01813526b28e642e3522193fa3/lib/appium_lib/ios/element/button.rb#L52) ios
|
2234
2234
|
|
2235
2235
|
> def first_button
|
2236
2236
|
|
@@ -2242,7 +2242,7 @@ __Returns:__
|
|
2242
2242
|
|
2243
2243
|
--
|
2244
2244
|
|
2245
|
-
##### [last_button](https://github.com/appium/ruby_lib/blob/
|
2245
|
+
##### [last_button](https://github.com/appium/ruby_lib/blob/12317e4d74b20d01813526b28e642e3522193fa3/lib/appium_lib/ios/element/button.rb#L60) ios
|
2246
2246
|
|
2247
2247
|
> def last_button
|
2248
2248
|
|
@@ -2256,7 +2256,7 @@ __Returns:__
|
|
2256
2256
|
|
2257
2257
|
--
|
2258
2258
|
|
2259
|
-
##### [button_exact](https://github.com/appium/ruby_lib/blob/
|
2259
|
+
##### [button_exact](https://github.com/appium/ruby_lib/blob/12317e4d74b20d01813526b28e642e3522193fa3/lib/appium_lib/ios/element/button.rb#L67) ios
|
2260
2260
|
|
2261
2261
|
> def button_exact(value)
|
2262
2262
|
|
@@ -2272,7 +2272,7 @@ __Returns:__
|
|
2272
2272
|
|
2273
2273
|
--
|
2274
2274
|
|
2275
|
-
##### [buttons_exact](https://github.com/appium/ruby_lib/blob/
|
2275
|
+
##### [buttons_exact](https://github.com/appium/ruby_lib/blob/12317e4d74b20d01813526b28e642e3522193fa3/lib/appium_lib/ios/element/button.rb#L74) ios
|
2276
2276
|
|
2277
2277
|
> def buttons_exact(value)
|
2278
2278
|
|
@@ -2288,7 +2288,7 @@ __Returns:__
|
|
2288
2288
|
|
2289
2289
|
--
|
2290
2290
|
|
2291
|
-
##### [find](https://github.com/appium/ruby_lib/blob/
|
2291
|
+
##### [find](https://github.com/appium/ruby_lib/blob/12317e4d74b20d01813526b28e642e3522193fa3/lib/appium_lib/ios/element/generic.rb#L20) ios
|
2292
2292
|
|
2293
2293
|
> def find(value)
|
2294
2294
|
|
@@ -2304,7 +2304,7 @@ __Returns:__
|
|
2304
2304
|
|
2305
2305
|
--
|
2306
2306
|
|
2307
|
-
##### [finds](https://github.com/appium/ruby_lib/blob/
|
2307
|
+
##### [finds](https://github.com/appium/ruby_lib/blob/12317e4d74b20d01813526b28e642e3522193fa3/lib/appium_lib/ios/element/generic.rb#L27) ios
|
2308
2308
|
|
2309
2309
|
> def finds(value)
|
2310
2310
|
|
@@ -2320,7 +2320,7 @@ __Returns:__
|
|
2320
2320
|
|
2321
2321
|
--
|
2322
2322
|
|
2323
|
-
##### [find_exact](https://github.com/appium/ruby_lib/blob/
|
2323
|
+
##### [find_exact](https://github.com/appium/ruby_lib/blob/12317e4d74b20d01813526b28e642e3522193fa3/lib/appium_lib/ios/element/generic.rb#L34) ios
|
2324
2324
|
|
2325
2325
|
> def find_exact(value)
|
2326
2326
|
|
@@ -2336,7 +2336,7 @@ __Returns:__
|
|
2336
2336
|
|
2337
2337
|
--
|
2338
2338
|
|
2339
|
-
##### [finds_exact](https://github.com/appium/ruby_lib/blob/
|
2339
|
+
##### [finds_exact](https://github.com/appium/ruby_lib/blob/12317e4d74b20d01813526b28e642e3522193fa3/lib/appium_lib/ios/element/generic.rb#L41) ios
|
2340
2340
|
|
2341
2341
|
> def finds_exact(value)
|
2342
2342
|
|
@@ -2352,7 +2352,7 @@ __Returns:__
|
|
2352
2352
|
|
2353
2353
|
--
|
2354
2354
|
|
2355
|
-
##### [raise_error_if_no_element](https://github.com/appium/ruby_lib/blob/
|
2355
|
+
##### [raise_error_if_no_element](https://github.com/appium/ruby_lib/blob/12317e4d74b20d01813526b28e642e3522193fa3/lib/appium_lib/ios/element/generic.rb#L47) ios
|
2356
2356
|
|
2357
2357
|
> def raise_error_if_no_element(element)
|
2358
2358
|
|
@@ -2360,7 +2360,7 @@ __Returns:__
|
|
2360
2360
|
|
2361
2361
|
--
|
2362
2362
|
|
2363
|
-
##### [select_visible_elements](https://github.com/appium/ruby_lib/blob/
|
2363
|
+
##### [select_visible_elements](https://github.com/appium/ruby_lib/blob/12317e4d74b20d01813526b28e642e3522193fa3/lib/appium_lib/ios/element/generic.rb#L55) ios
|
2364
2364
|
|
2365
2365
|
> def select_visible_elements(elements)
|
2366
2366
|
|
@@ -2368,7 +2368,7 @@ Return visible elements.
|
|
2368
2368
|
|
2369
2369
|
--
|
2370
2370
|
|
2371
|
-
##### [for](https://github.com/appium/ruby_lib/blob/
|
2371
|
+
##### [for](https://github.com/appium/ruby_lib/blob/12317e4d74b20d01813526b28e642e3522193fa3/lib/appium_lib/ios/xcuitest/bridge.rb#L21) ios
|
2372
2372
|
|
2373
2373
|
> def self.for(target)
|
2374
2374
|
|
@@ -2376,7 +2376,7 @@ Return visible elements.
|
|
2376
2376
|
|
2377
2377
|
--
|
2378
2378
|
|
2379
|
-
##### [last_ele](https://github.com/appium/ruby_lib/blob/
|
2379
|
+
##### [last_ele](https://github.com/appium/ruby_lib/blob/12317e4d74b20d01813526b28e642e3522193fa3/lib/appium_lib/ios/xcuitest/helper.rb#L40) ios
|
2380
2380
|
|
2381
2381
|
> def last_ele(class_name)
|
2382
2382
|
|
@@ -2392,7 +2392,7 @@ __Returns:__
|
|
2392
2392
|
|
2393
2393
|
--
|
2394
2394
|
|
2395
|
-
##### [tag](https://github.com/appium/ruby_lib/blob/
|
2395
|
+
##### [tag](https://github.com/appium/ruby_lib/blob/12317e4d74b20d01813526b28e642e3522193fa3/lib/appium_lib/ios/xcuitest/helper.rb#L51) ios
|
2396
2396
|
|
2397
2397
|
> def tag(class_name)
|
2398
2398
|
|
@@ -2408,7 +2408,7 @@ __Returns:__
|
|
2408
2408
|
|
2409
2409
|
--
|
2410
2410
|
|
2411
|
-
##### [tags](https://github.com/appium/ruby_lib/blob/
|
2411
|
+
##### [tags](https://github.com/appium/ruby_lib/blob/12317e4d74b20d01813526b28e642e3522193fa3/lib/appium_lib/ios/xcuitest/helper.rb#L59) ios
|
2412
2412
|
|
2413
2413
|
> def tags(class_name)
|
2414
2414
|
|
@@ -2424,7 +2424,7 @@ __Returns:__
|
|
2424
2424
|
|
2425
2425
|
--
|
2426
2426
|
|
2427
|
-
##### [tags_include](https://github.com/appium/ruby_lib/blob/
|
2427
|
+
##### [tags_include](https://github.com/appium/ruby_lib/blob/12317e4d74b20d01813526b28e642e3522193fa3/lib/appium_lib/ios/xcuitest/helper.rb#L71) ios
|
2428
2428
|
|
2429
2429
|
> def tags_include(class_names:, value: nil)
|
2430
2430
|
|
@@ -2444,7 +2444,7 @@ __Returns:__
|
|
2444
2444
|
|
2445
2445
|
--
|
2446
2446
|
|
2447
|
-
##### [tags_exact](https://github.com/appium/ruby_lib/blob/
|
2447
|
+
##### [tags_exact](https://github.com/appium/ruby_lib/blob/12317e4d74b20d01813526b28e642e3522193fa3/lib/appium_lib/ios/xcuitest/helper.rb#L93) ios
|
2448
2448
|
|
2449
2449
|
> def tags_exact(class_names:, value: nil)
|
2450
2450
|
|
@@ -2464,7 +2464,7 @@ __Returns:__
|
|
2464
2464
|
|
2465
2465
|
--
|
2466
2466
|
|
2467
|
-
##### [start_logs_broadcast](https://github.com/appium/ruby_lib/blob/
|
2467
|
+
##### [start_logs_broadcast](https://github.com/appium/ruby_lib/blob/12317e4d74b20d01813526b28e642e3522193fa3/lib/appium_lib/ios/xcuitest/command.rb#L33) ios
|
2468
2468
|
|
2469
2469
|
> def start_logs_broadcast(syslog_file = 'syslog.log')
|
2470
2470
|
|
@@ -2476,7 +2476,7 @@ __Parameters:__
|
|
2476
2476
|
|
2477
2477
|
--
|
2478
2478
|
|
2479
|
-
##### [stop_logs_broadcast](https://github.com/appium/ruby_lib/blob/
|
2479
|
+
##### [stop_logs_broadcast](https://github.com/appium/ruby_lib/blob/12317e4d74b20d01813526b28e642e3522193fa3/lib/appium_lib/ios/xcuitest/command.rb#L46) ios
|
2480
2480
|
|
2481
2481
|
> def stop_logs_broadcast
|
2482
2482
|
|
@@ -2484,7 +2484,7 @@ Stop iOS syslog broadcast websocket
|
|
2484
2484
|
|
2485
2485
|
--
|
2486
2486
|
|
2487
|
-
##### [UIA_TEXT_FIELD](https://github.com/appium/ruby_lib/blob/
|
2487
|
+
##### [UIA_TEXT_FIELD](https://github.com/appium/ruby_lib/blob/12317e4d74b20d01813526b28e642e3522193fa3/lib/appium_lib/ios/element/textfield.rb#L17) ios
|
2488
2488
|
|
2489
2489
|
> UIA_TEXT_FIELD = 'UIATextField'
|
2490
2490
|
|
@@ -2492,7 +2492,7 @@ Stop iOS syslog broadcast websocket
|
|
2492
2492
|
|
2493
2493
|
--
|
2494
2494
|
|
2495
|
-
##### [UIATextField](https://github.com/appium/ruby_lib/blob/
|
2495
|
+
##### [UIATextField](https://github.com/appium/ruby_lib/blob/12317e4d74b20d01813526b28e642e3522193fa3/lib/appium_lib/ios/element/textfield.rb#L18) ios
|
2496
2496
|
|
2497
2497
|
> UIATextField = UIA_TEXT_FIELD
|
2498
2498
|
|
@@ -2500,7 +2500,7 @@ Stop iOS syslog broadcast websocket
|
|
2500
2500
|
|
2501
2501
|
--
|
2502
2502
|
|
2503
|
-
##### [UIA_SECURE_TEXT_FIELD](https://github.com/appium/ruby_lib/blob/
|
2503
|
+
##### [UIA_SECURE_TEXT_FIELD](https://github.com/appium/ruby_lib/blob/12317e4d74b20d01813526b28e642e3522193fa3/lib/appium_lib/ios/element/textfield.rb#L19) ios
|
2504
2504
|
|
2505
2505
|
> UIA_SECURE_TEXT_FIELD = 'UIASecureTextField'
|
2506
2506
|
|
@@ -2508,7 +2508,7 @@ Stop iOS syslog broadcast websocket
|
|
2508
2508
|
|
2509
2509
|
--
|
2510
2510
|
|
2511
|
-
##### [UIASecureTextField](https://github.com/appium/ruby_lib/blob/
|
2511
|
+
##### [UIASecureTextField](https://github.com/appium/ruby_lib/blob/12317e4d74b20d01813526b28e642e3522193fa3/lib/appium_lib/ios/element/textfield.rb#L20) ios
|
2512
2512
|
|
2513
2513
|
> UIASecureTextField = UIA_SECURE_TEXT_FIELD
|
2514
2514
|
|
@@ -2516,7 +2516,7 @@ Stop iOS syslog broadcast websocket
|
|
2516
2516
|
|
2517
2517
|
--
|
2518
2518
|
|
2519
|
-
##### [XCUIELEMENT_TYPE_TEXT_FIELD](https://github.com/appium/ruby_lib/blob/
|
2519
|
+
##### [XCUIELEMENT_TYPE_TEXT_FIELD](https://github.com/appium/ruby_lib/blob/12317e4d74b20d01813526b28e642e3522193fa3/lib/appium_lib/ios/element/textfield.rb#L22) ios
|
2520
2520
|
|
2521
2521
|
> XCUIELEMENT_TYPE_TEXT_FIELD = 'XCUIElementTypeTextField'
|
2522
2522
|
|
@@ -2524,7 +2524,7 @@ Stop iOS syslog broadcast websocket
|
|
2524
2524
|
|
2525
2525
|
--
|
2526
2526
|
|
2527
|
-
##### [XCUIElementTypeTextField](https://github.com/appium/ruby_lib/blob/
|
2527
|
+
##### [XCUIElementTypeTextField](https://github.com/appium/ruby_lib/blob/12317e4d74b20d01813526b28e642e3522193fa3/lib/appium_lib/ios/element/textfield.rb#L23) ios
|
2528
2528
|
|
2529
2529
|
> XCUIElementTypeTextField = XCUIELEMENT_TYPE_TEXT_FIELD
|
2530
2530
|
|
@@ -2532,7 +2532,7 @@ Stop iOS syslog broadcast websocket
|
|
2532
2532
|
|
2533
2533
|
--
|
2534
2534
|
|
2535
|
-
##### [XCUIELEMENT_TYPE_SECURE_TEXT_FIELD](https://github.com/appium/ruby_lib/blob/
|
2535
|
+
##### [XCUIELEMENT_TYPE_SECURE_TEXT_FIELD](https://github.com/appium/ruby_lib/blob/12317e4d74b20d01813526b28e642e3522193fa3/lib/appium_lib/ios/element/textfield.rb#L24) ios
|
2536
2536
|
|
2537
2537
|
> XCUIELEMENT_TYPE_SECURE_TEXT_FIELD = 'XCUIElementTypeSecureTextField'
|
2538
2538
|
|
@@ -2540,7 +2540,7 @@ Stop iOS syslog broadcast websocket
|
|
2540
2540
|
|
2541
2541
|
--
|
2542
2542
|
|
2543
|
-
##### [XCUIElementTypeSecureTextField](https://github.com/appium/ruby_lib/blob/
|
2543
|
+
##### [XCUIElementTypeSecureTextField](https://github.com/appium/ruby_lib/blob/12317e4d74b20d01813526b28e642e3522193fa3/lib/appium_lib/ios/element/textfield.rb#L25) ios
|
2544
2544
|
|
2545
2545
|
> XCUIElementTypeSecureTextField = XCUIELEMENT_TYPE_SECURE_TEXT_FIELD
|
2546
2546
|
|
@@ -2548,7 +2548,7 @@ Stop iOS syslog broadcast websocket
|
|
2548
2548
|
|
2549
2549
|
--
|
2550
2550
|
|
2551
|
-
##### [text_field_class](https://github.com/appium/ruby_lib/blob/
|
2551
|
+
##### [text_field_class](https://github.com/appium/ruby_lib/blob/12317e4d74b20d01813526b28e642e3522193fa3/lib/appium_lib/ios/element/textfield.rb#L28) ios
|
2552
2552
|
|
2553
2553
|
> def text_field_class
|
2554
2554
|
|
@@ -2560,7 +2560,7 @@ __Returns:__
|
|
2560
2560
|
|
2561
2561
|
--
|
2562
2562
|
|
2563
|
-
##### [secure_text_field_class](https://github.com/appium/ruby_lib/blob/
|
2563
|
+
##### [secure_text_field_class](https://github.com/appium/ruby_lib/blob/12317e4d74b20d01813526b28e642e3522193fa3/lib/appium_lib/ios/element/textfield.rb#L33) ios
|
2564
2564
|
|
2565
2565
|
> def secure_text_field_class
|
2566
2566
|
|
@@ -2572,7 +2572,7 @@ __Returns:__
|
|
2572
2572
|
|
2573
2573
|
--
|
2574
2574
|
|
2575
|
-
##### [textfield](https://github.com/appium/ruby_lib/blob/
|
2575
|
+
##### [textfield](https://github.com/appium/ruby_lib/blob/12317e4d74b20d01813526b28e642e3522193fa3/lib/appium_lib/ios/element/textfield.rb#L42) ios
|
2576
2576
|
|
2577
2577
|
> def textfield(value)
|
2578
2578
|
|
@@ -2590,7 +2590,7 @@ __Returns:__
|
|
2590
2590
|
|
2591
2591
|
--
|
2592
2592
|
|
2593
|
-
##### [textfields](https://github.com/appium/ruby_lib/blob/
|
2593
|
+
##### [textfields](https://github.com/appium/ruby_lib/blob/12317e4d74b20d01813526b28e642e3522193fa3/lib/appium_lib/ios/element/textfield.rb#L61) ios
|
2594
2594
|
|
2595
2595
|
> def textfields(value = false)
|
2596
2596
|
|
@@ -2607,7 +2607,7 @@ __Returns:__
|
|
2607
2607
|
|
2608
2608
|
--
|
2609
2609
|
|
2610
|
-
##### [first_textfield](https://github.com/appium/ruby_lib/blob/
|
2610
|
+
##### [first_textfield](https://github.com/appium/ruby_lib/blob/12317e4d74b20d01813526b28e642e3522193fa3/lib/appium_lib/ios/element/textfield.rb#L69) ios
|
2611
2611
|
|
2612
2612
|
> def first_textfield
|
2613
2613
|
|
@@ -2619,7 +2619,7 @@ __Returns:__
|
|
2619
2619
|
|
2620
2620
|
--
|
2621
2621
|
|
2622
|
-
##### [last_textfield](https://github.com/appium/ruby_lib/blob/
|
2622
|
+
##### [last_textfield](https://github.com/appium/ruby_lib/blob/12317e4d74b20d01813526b28e642e3522193fa3/lib/appium_lib/ios/element/textfield.rb#L75) ios
|
2623
2623
|
|
2624
2624
|
> def last_textfield
|
2625
2625
|
|
@@ -2631,7 +2631,7 @@ __Returns:__
|
|
2631
2631
|
|
2632
2632
|
--
|
2633
2633
|
|
2634
|
-
##### [textfield_exact](https://github.com/appium/ruby_lib/blob/
|
2634
|
+
##### [textfield_exact](https://github.com/appium/ruby_lib/blob/12317e4d74b20d01813526b28e642e3522193fa3/lib/appium_lib/ios/element/textfield.rb#L85) ios
|
2635
2635
|
|
2636
2636
|
> def textfield_exact(value)
|
2637
2637
|
|
@@ -2647,7 +2647,7 @@ __Returns:__
|
|
2647
2647
|
|
2648
2648
|
--
|
2649
2649
|
|
2650
|
-
##### [textfields_exact](https://github.com/appium/ruby_lib/blob/
|
2650
|
+
##### [textfields_exact](https://github.com/appium/ruby_lib/blob/12317e4d74b20d01813526b28e642e3522193fa3/lib/appium_lib/ios/element/textfield.rb#L92) ios
|
2651
2651
|
|
2652
2652
|
> def textfields_exact(value)
|
2653
2653
|
|
@@ -2663,7 +2663,7 @@ __Returns:__
|
|
2663
2663
|
|
2664
2664
|
--
|
2665
2665
|
|
2666
|
-
##### [_textfield_visible](https://github.com/appium/ruby_lib/blob/
|
2666
|
+
##### [_textfield_visible](https://github.com/appium/ruby_lib/blob/12317e4d74b20d01813526b28e642e3522193fa3/lib/appium_lib/ios/element/textfield.rb#L99) ios
|
2667
2667
|
|
2668
2668
|
> def _textfield_visible
|
2669
2669
|
|
@@ -2671,7 +2671,7 @@ Appium
|
|
2671
2671
|
|
2672
2672
|
--
|
2673
2673
|
|
2674
|
-
##### [_textfield_exact_string](https://github.com/appium/ruby_lib/blob/
|
2674
|
+
##### [_textfield_exact_string](https://github.com/appium/ruby_lib/blob/12317e4d74b20d01813526b28e642e3522193fa3/lib/appium_lib/ios/element/textfield.rb#L104) ios
|
2675
2675
|
|
2676
2676
|
> def _textfield_exact_string(value)
|
2677
2677
|
|
@@ -2679,7 +2679,7 @@ Appium
|
|
2679
2679
|
|
2680
2680
|
--
|
2681
2681
|
|
2682
|
-
##### [_textfield_contains_string](https://github.com/appium/ruby_lib/blob/
|
2682
|
+
##### [_textfield_contains_string](https://github.com/appium/ruby_lib/blob/12317e4d74b20d01813526b28e642e3522193fa3/lib/appium_lib/ios/element/textfield.rb#L111) ios
|
2683
2683
|
|
2684
2684
|
> def _textfield_contains_string(value)
|
2685
2685
|
|
@@ -2687,7 +2687,7 @@ Appium
|
|
2687
2687
|
|
2688
2688
|
--
|
2689
2689
|
|
2690
|
-
##### [static_text_class](https://github.com/appium/ruby_lib/blob/
|
2690
|
+
##### [static_text_class](https://github.com/appium/ruby_lib/blob/12317e4d74b20d01813526b28e642e3522193fa3/lib/appium_lib/ios/xcuitest/element/text.rb#L23) ios
|
2691
2691
|
|
2692
2692
|
> def static_text_class
|
2693
2693
|
|
@@ -2699,7 +2699,7 @@ __Returns:__
|
|
2699
2699
|
|
2700
2700
|
--
|
2701
2701
|
|
2702
|
-
##### [text](https://github.com/appium/ruby_lib/blob/
|
2702
|
+
##### [text](https://github.com/appium/ruby_lib/blob/12317e4d74b20d01813526b28e642e3522193fa3/lib/appium_lib/ios/xcuitest/element/text.rb#L31) ios
|
2703
2703
|
|
2704
2704
|
> def text(value)
|
2705
2705
|
|
@@ -2716,7 +2716,7 @@ __Returns:__
|
|
2716
2716
|
|
2717
2717
|
--
|
2718
2718
|
|
2719
|
-
##### [texts](https://github.com/appium/ruby_lib/blob/
|
2719
|
+
##### [texts](https://github.com/appium/ruby_lib/blob/12317e4d74b20d01813526b28e642e3522193fa3/lib/appium_lib/ios/xcuitest/element/text.rb#L41) ios
|
2720
2720
|
|
2721
2721
|
> def texts(value = false)
|
2722
2722
|
|
@@ -2733,7 +2733,7 @@ __Returns:__
|
|
2733
2733
|
|
2734
2734
|
--
|
2735
2735
|
|
2736
|
-
##### [first_text](https://github.com/appium/ruby_lib/blob/
|
2736
|
+
##### [first_text](https://github.com/appium/ruby_lib/blob/12317e4d74b20d01813526b28e642e3522193fa3/lib/appium_lib/ios/xcuitest/element/text.rb#L50) ios
|
2737
2737
|
|
2738
2738
|
> def first_text
|
2739
2739
|
|
@@ -2745,7 +2745,7 @@ __Returns:__
|
|
2745
2745
|
|
2746
2746
|
--
|
2747
2747
|
|
2748
|
-
##### [last_text](https://github.com/appium/ruby_lib/blob/
|
2748
|
+
##### [last_text](https://github.com/appium/ruby_lib/blob/12317e4d74b20d01813526b28e642e3522193fa3/lib/appium_lib/ios/xcuitest/element/text.rb#L56) ios
|
2749
2749
|
|
2750
2750
|
> def last_text
|
2751
2751
|
|
@@ -2757,7 +2757,7 @@ __Returns:__
|
|
2757
2757
|
|
2758
2758
|
--
|
2759
2759
|
|
2760
|
-
##### [text_exact](https://github.com/appium/ruby_lib/blob/
|
2760
|
+
##### [text_exact](https://github.com/appium/ruby_lib/blob/12317e4d74b20d01813526b28e642e3522193fa3/lib/appium_lib/ios/xcuitest/element/text.rb#L63) ios
|
2761
2761
|
|
2762
2762
|
> def text_exact(value)
|
2763
2763
|
|
@@ -2773,7 +2773,7 @@ __Returns:__
|
|
2773
2773
|
|
2774
2774
|
--
|
2775
2775
|
|
2776
|
-
##### [texts_exact](https://github.com/appium/ruby_lib/blob/
|
2776
|
+
##### [texts_exact](https://github.com/appium/ruby_lib/blob/12317e4d74b20d01813526b28e642e3522193fa3/lib/appium_lib/ios/xcuitest/element/text.rb#L70) ios
|
2777
2777
|
|
2778
2778
|
> def texts_exact(value)
|
2779
2779
|
|
@@ -2789,7 +2789,7 @@ __Returns:__
|
|
2789
2789
|
|
2790
2790
|
--
|
2791
2791
|
|
2792
|
-
##### [xcuitest_source](https://github.com/appium/ruby_lib/blob/
|
2792
|
+
##### [xcuitest_source](https://github.com/appium/ruby_lib/blob/12317e4d74b20d01813526b28e642e3522193fa3/lib/appium_lib/ios/xcuitest/command/source.rb#L25) ios
|
2793
2793
|
|
2794
2794
|
> def xcuitest_source(format: :xml)
|
2795
2795
|
|
@@ -2805,7 +2805,7 @@ xcuitest_source format: :json
|
|
2805
2805
|
|
2806
2806
|
--
|
2807
2807
|
|
2808
|
-
##### [button_class](https://github.com/appium/ruby_lib/blob/
|
2808
|
+
##### [button_class](https://github.com/appium/ruby_lib/blob/12317e4d74b20d01813526b28e642e3522193fa3/lib/appium_lib/ios/xcuitest/element/button.rb#L23) ios
|
2809
2809
|
|
2810
2810
|
> def button_class
|
2811
2811
|
|
@@ -2817,7 +2817,7 @@ __Returns:__
|
|
2817
2817
|
|
2818
2818
|
--
|
2819
2819
|
|
2820
|
-
##### [button](https://github.com/appium/ruby_lib/blob/
|
2820
|
+
##### [button](https://github.com/appium/ruby_lib/blob/12317e4d74b20d01813526b28e642e3522193fa3/lib/appium_lib/ios/xcuitest/element/button.rb#L31) ios
|
2821
2821
|
|
2822
2822
|
> def button(value)
|
2823
2823
|
|
@@ -2834,7 +2834,7 @@ __Returns:__
|
|
2834
2834
|
|
2835
2835
|
--
|
2836
2836
|
|
2837
|
-
##### [buttons](https://github.com/appium/ruby_lib/blob/
|
2837
|
+
##### [buttons](https://github.com/appium/ruby_lib/blob/12317e4d74b20d01813526b28e642e3522193fa3/lib/appium_lib/ios/xcuitest/element/button.rb#L42) ios
|
2838
2838
|
|
2839
2839
|
> def buttons(value = false)
|
2840
2840
|
|
@@ -2851,7 +2851,7 @@ __Returns:__
|
|
2851
2851
|
|
2852
2852
|
--
|
2853
2853
|
|
2854
|
-
##### [first_button](https://github.com/appium/ruby_lib/blob/
|
2854
|
+
##### [first_button](https://github.com/appium/ruby_lib/blob/12317e4d74b20d01813526b28e642e3522193fa3/lib/appium_lib/ios/xcuitest/element/button.rb#L51) ios
|
2855
2855
|
|
2856
2856
|
> def first_button
|
2857
2857
|
|
@@ -2863,7 +2863,7 @@ __Returns:__
|
|
2863
2863
|
|
2864
2864
|
--
|
2865
2865
|
|
2866
|
-
##### [last_button](https://github.com/appium/ruby_lib/blob/
|
2866
|
+
##### [last_button](https://github.com/appium/ruby_lib/blob/12317e4d74b20d01813526b28e642e3522193fa3/lib/appium_lib/ios/xcuitest/element/button.rb#L59) ios
|
2867
2867
|
|
2868
2868
|
> def last_button
|
2869
2869
|
|
@@ -2877,7 +2877,7 @@ __Returns:__
|
|
2877
2877
|
|
2878
2878
|
--
|
2879
2879
|
|
2880
|
-
##### [button_exact](https://github.com/appium/ruby_lib/blob/
|
2880
|
+
##### [button_exact](https://github.com/appium/ruby_lib/blob/12317e4d74b20d01813526b28e642e3522193fa3/lib/appium_lib/ios/xcuitest/element/button.rb#L66) ios
|
2881
2881
|
|
2882
2882
|
> def button_exact(value)
|
2883
2883
|
|
@@ -2893,7 +2893,7 @@ __Returns:__
|
|
2893
2893
|
|
2894
2894
|
--
|
2895
2895
|
|
2896
|
-
##### [buttons_exact](https://github.com/appium/ruby_lib/blob/
|
2896
|
+
##### [buttons_exact](https://github.com/appium/ruby_lib/blob/12317e4d74b20d01813526b28e642e3522193fa3/lib/appium_lib/ios/xcuitest/element/button.rb#L73) ios
|
2897
2897
|
|
2898
2898
|
> def buttons_exact(value)
|
2899
2899
|
|
@@ -2909,7 +2909,7 @@ __Returns:__
|
|
2909
2909
|
|
2910
2910
|
--
|
2911
2911
|
|
2912
|
-
##### [find](https://github.com/appium/ruby_lib/blob/
|
2912
|
+
##### [find](https://github.com/appium/ruby_lib/blob/12317e4d74b20d01813526b28e642e3522193fa3/lib/appium_lib/ios/xcuitest/element/generic.rb#L22) ios
|
2913
2913
|
|
2914
2914
|
> def find(value)
|
2915
2915
|
|
@@ -2925,7 +2925,7 @@ __Returns:__
|
|
2925
2925
|
|
2926
2926
|
--
|
2927
2927
|
|
2928
|
-
##### [finds](https://github.com/appium/ruby_lib/blob/
|
2928
|
+
##### [finds](https://github.com/appium/ruby_lib/blob/12317e4d74b20d01813526b28e642e3522193fa3/lib/appium_lib/ios/xcuitest/element/generic.rb#L29) ios
|
2929
2929
|
|
2930
2930
|
> def finds(value)
|
2931
2931
|
|
@@ -2941,7 +2941,7 @@ __Returns:__
|
|
2941
2941
|
|
2942
2942
|
--
|
2943
2943
|
|
2944
|
-
##### [find_exact](https://github.com/appium/ruby_lib/blob/
|
2944
|
+
##### [find_exact](https://github.com/appium/ruby_lib/blob/12317e4d74b20d01813526b28e642e3522193fa3/lib/appium_lib/ios/xcuitest/element/generic.rb#L37) ios
|
2945
2945
|
|
2946
2946
|
> def find_exact(value)
|
2947
2947
|
|
@@ -2957,7 +2957,7 @@ __Returns:__
|
|
2957
2957
|
|
2958
2958
|
--
|
2959
2959
|
|
2960
|
-
##### [finds_exact](https://github.com/appium/ruby_lib/blob/
|
2960
|
+
##### [finds_exact](https://github.com/appium/ruby_lib/blob/12317e4d74b20d01813526b28e642e3522193fa3/lib/appium_lib/ios/xcuitest/element/generic.rb#L44) ios
|
2961
2961
|
|
2962
2962
|
> def finds_exact(value)
|
2963
2963
|
|
@@ -2973,7 +2973,7 @@ __Returns:__
|
|
2973
2973
|
|
2974
2974
|
--
|
2975
2975
|
|
2976
|
-
##### [raise_error_if_no_element](https://github.com/appium/ruby_lib/blob/
|
2976
|
+
##### [raise_error_if_no_element](https://github.com/appium/ruby_lib/blob/12317e4d74b20d01813526b28e642e3522193fa3/lib/appium_lib/ios/xcuitest/element/generic.rb#L51) ios
|
2977
2977
|
|
2978
2978
|
> def raise_error_if_no_element(element)
|
2979
2979
|
|
@@ -2981,7 +2981,7 @@ __Returns:__
|
|
2981
2981
|
|
2982
2982
|
--
|
2983
2983
|
|
2984
|
-
##### [select_visible_elements](https://github.com/appium/ruby_lib/blob/
|
2984
|
+
##### [select_visible_elements](https://github.com/appium/ruby_lib/blob/12317e4d74b20d01813526b28e642e3522193fa3/lib/appium_lib/ios/xcuitest/element/generic.rb#L59) ios
|
2985
2985
|
|
2986
2986
|
> def select_visible_elements(elements)
|
2987
2987
|
|
@@ -2989,7 +2989,7 @@ Return visible elements.
|
|
2989
2989
|
|
2990
2990
|
--
|
2991
2991
|
|
2992
|
-
##### [swipe](https://github.com/appium/ruby_lib/blob/
|
2992
|
+
##### [swipe](https://github.com/appium/ruby_lib/blob/12317e4d74b20d01813526b28e642e3522193fa3/lib/appium_lib/ios/xcuitest/command/gestures.rb#L25) ios
|
2993
2993
|
|
2994
2994
|
> def swipe(direction:, element: nil)
|
2995
2995
|
|
@@ -3003,7 +3003,7 @@ __Parameters:__
|
|
3003
3003
|
|
3004
3004
|
--
|
3005
3005
|
|
3006
|
-
##### [scroll](https://github.com/appium/ruby_lib/blob/
|
3006
|
+
##### [scroll](https://github.com/appium/ruby_lib/blob/12317e4d74b20d01813526b28e642e3522193fa3/lib/appium_lib/ios/xcuitest/command/gestures.rb#L46) ios
|
3007
3007
|
|
3008
3008
|
> def scroll(direction:, distance: nil, name: nil, element: nil, to_visible: nil, predicate_string: nil)
|
3009
3009
|
|
@@ -3017,7 +3017,7 @@ __Parameters:__
|
|
3017
3017
|
|
3018
3018
|
--
|
3019
3019
|
|
3020
|
-
##### [pinch](https://github.com/appium/ruby_lib/blob/
|
3020
|
+
##### [pinch](https://github.com/appium/ruby_lib/blob/12317e4d74b20d01813526b28e642e3522193fa3/lib/appium_lib/ios/xcuitest/command/gestures.rb#L67) ios
|
3021
3021
|
|
3022
3022
|
> def pinch(scale:, velocity: 1.0, element: nil)
|
3023
3023
|
|
@@ -3033,7 +3033,7 @@ __Parameters:__
|
|
3033
3033
|
|
3034
3034
|
--
|
3035
3035
|
|
3036
|
-
##### [double_tap](https://github.com/appium/ruby_lib/blob/
|
3036
|
+
##### [double_tap](https://github.com/appium/ruby_lib/blob/12317e4d74b20d01813526b28e642e3522193fa3/lib/appium_lib/ios/xcuitest/command/gestures.rb#L82) ios
|
3037
3037
|
|
3038
3038
|
> def double_tap(x: nil, y: nil, element: nil) # rubocop:disable Naming/UncommunicativeMethodParamName
|
3039
3039
|
|
@@ -3049,7 +3049,7 @@ __Parameters:__
|
|
3049
3049
|
|
3050
3050
|
--
|
3051
3051
|
|
3052
|
-
##### [touch_and_hold](https://github.com/appium/ruby_lib/blob/
|
3052
|
+
##### [touch_and_hold](https://github.com/appium/ruby_lib/blob/12317e4d74b20d01813526b28e642e3522193fa3/lib/appium_lib/ios/xcuitest/command/gestures.rb#L99) ios
|
3053
3053
|
|
3054
3054
|
> def touch_and_hold(x: nil, y: nil, element: nil, duration: 1.0) # rubocop:disable Naming/UncommunicativeMethodParamName
|
3055
3055
|
|
@@ -3067,7 +3067,7 @@ __Parameters:__
|
|
3067
3067
|
|
3068
3068
|
--
|
3069
3069
|
|
3070
|
-
##### [two_finger_tap](https://github.com/appium/ruby_lib/blob/
|
3070
|
+
##### [two_finger_tap](https://github.com/appium/ruby_lib/blob/12317e4d74b20d01813526b28e642e3522193fa3/lib/appium_lib/ios/xcuitest/command/gestures.rb#L112) ios
|
3071
3071
|
|
3072
3072
|
> def two_finger_tap(element:)
|
3073
3073
|
|
@@ -3083,7 +3083,7 @@ two_finger_tap element: find_element(:accessibility_id, "some item")
|
|
3083
3083
|
|
3084
3084
|
--
|
3085
3085
|
|
3086
|
-
##### [tap](https://github.com/appium/ruby_lib/blob/
|
3086
|
+
##### [tap](https://github.com/appium/ruby_lib/blob/12317e4d74b20d01813526b28e642e3522193fa3/lib/appium_lib/ios/xcuitest/command/gestures.rb#L127) ios
|
3087
3087
|
|
3088
3088
|
> def tap(x:, y:, element: nil) # rubocop:disable Naming/UncommunicativeMethodParamName
|
3089
3089
|
|
@@ -3099,7 +3099,7 @@ __Parameters:__
|
|
3099
3099
|
|
3100
3100
|
--
|
3101
3101
|
|
3102
|
-
##### [drag_from_to_for_duration](https://github.com/appium/ruby_lib/blob/
|
3102
|
+
##### [drag_from_to_for_duration](https://github.com/appium/ruby_lib/blob/12317e4d74b20d01813526b28e642e3522193fa3/lib/appium_lib/ios/xcuitest/command/gestures.rb#L147) ios
|
3103
3103
|
|
3104
3104
|
> def drag_from_to_for_duration(from_x:, from_y:, to_x:, to_y:, duration: 1.0, element: nil)
|
3105
3105
|
|
@@ -3122,7 +3122,7 @@ drag point should be before to start dragging. Mandatory parameter
|
|
3122
3122
|
|
3123
3123
|
--
|
3124
3124
|
|
3125
|
-
##### [select_picker_wheel](https://github.com/appium/ruby_lib/blob/
|
3125
|
+
##### [select_picker_wheel](https://github.com/appium/ruby_lib/blob/12317e4d74b20d01813526b28e642e3522193fa3/lib/appium_lib/ios/xcuitest/command/gestures.rb#L164) ios
|
3126
3126
|
|
3127
3127
|
> def select_picker_wheel(element:, order:, offset: nil)
|
3128
3128
|
|
@@ -3139,7 +3139,7 @@ __Parameters:__
|
|
3139
3139
|
|
3140
3140
|
--
|
3141
3141
|
|
3142
|
-
##### [alert](https://github.com/appium/ruby_lib/blob/
|
3142
|
+
##### [alert](https://github.com/appium/ruby_lib/blob/12317e4d74b20d01813526b28e642e3522193fa3/lib/appium_lib/ios/xcuitest/command/gestures.rb#L182) ios
|
3143
3143
|
|
3144
3144
|
> def alert(action:, button_label: nil)
|
3145
3145
|
|
@@ -3164,7 +3164,7 @@ alert action: "dismiss"
|
|
3164
3164
|
|
3165
3165
|
--
|
3166
3166
|
|
3167
|
-
##### [text_field_class](https://github.com/appium/ruby_lib/blob/
|
3167
|
+
##### [text_field_class](https://github.com/appium/ruby_lib/blob/12317e4d74b20d01813526b28e642e3522193fa3/lib/appium_lib/ios/xcuitest/element/textfield.rb#L23) ios
|
3168
3168
|
|
3169
3169
|
> def text_field_class
|
3170
3170
|
|
@@ -3176,7 +3176,7 @@ __Returns:__
|
|
3176
3176
|
|
3177
3177
|
--
|
3178
3178
|
|
3179
|
-
##### [secure_text_field_class](https://github.com/appium/ruby_lib/blob/
|
3179
|
+
##### [secure_text_field_class](https://github.com/appium/ruby_lib/blob/12317e4d74b20d01813526b28e642e3522193fa3/lib/appium_lib/ios/xcuitest/element/textfield.rb#L28) ios
|
3180
3180
|
|
3181
3181
|
> def secure_text_field_class
|
3182
3182
|
|
@@ -3188,7 +3188,7 @@ __Returns:__
|
|
3188
3188
|
|
3189
3189
|
--
|
3190
3190
|
|
3191
|
-
##### [textfield](https://github.com/appium/ruby_lib/blob/
|
3191
|
+
##### [textfield](https://github.com/appium/ruby_lib/blob/12317e4d74b20d01813526b28e642e3522193fa3/lib/appium_lib/ios/xcuitest/element/textfield.rb#L37) ios
|
3192
3192
|
|
3193
3193
|
> def textfield(value)
|
3194
3194
|
|
@@ -3206,7 +3206,7 @@ __Returns:__
|
|
3206
3206
|
|
3207
3207
|
--
|
3208
3208
|
|
3209
|
-
##### [textfields](https://github.com/appium/ruby_lib/blob/
|
3209
|
+
##### [textfields](https://github.com/appium/ruby_lib/blob/12317e4d74b20d01813526b28e642e3522193fa3/lib/appium_lib/ios/xcuitest/element/textfield.rb#L57) ios
|
3210
3210
|
|
3211
3211
|
> def textfields(value = false)
|
3212
3212
|
|
@@ -3223,7 +3223,7 @@ __Returns:__
|
|
3223
3223
|
|
3224
3224
|
--
|
3225
3225
|
|
3226
|
-
##### [first_textfield](https://github.com/appium/ruby_lib/blob/
|
3226
|
+
##### [first_textfield](https://github.com/appium/ruby_lib/blob/12317e4d74b20d01813526b28e642e3522193fa3/lib/appium_lib/ios/xcuitest/element/textfield.rb#L66) ios
|
3227
3227
|
|
3228
3228
|
> def first_textfield
|
3229
3229
|
|
@@ -3235,7 +3235,7 @@ __Returns:__
|
|
3235
3235
|
|
3236
3236
|
--
|
3237
3237
|
|
3238
|
-
##### [last_textfield](https://github.com/appium/ruby_lib/blob/
|
3238
|
+
##### [last_textfield](https://github.com/appium/ruby_lib/blob/12317e4d74b20d01813526b28e642e3522193fa3/lib/appium_lib/ios/xcuitest/element/textfield.rb#L72) ios
|
3239
3239
|
|
3240
3240
|
> def last_textfield
|
3241
3241
|
|
@@ -3247,7 +3247,7 @@ __Returns:__
|
|
3247
3247
|
|
3248
3248
|
--
|
3249
3249
|
|
3250
|
-
##### [textfield_exact](https://github.com/appium/ruby_lib/blob/
|
3250
|
+
##### [textfield_exact](https://github.com/appium/ruby_lib/blob/12317e4d74b20d01813526b28e642e3522193fa3/lib/appium_lib/ios/xcuitest/element/textfield.rb#L82) ios
|
3251
3251
|
|
3252
3252
|
> def textfield_exact(value)
|
3253
3253
|
|
@@ -3263,7 +3263,7 @@ __Returns:__
|
|
3263
3263
|
|
3264
3264
|
--
|
3265
3265
|
|
3266
|
-
##### [textfields_exact](https://github.com/appium/ruby_lib/blob/
|
3266
|
+
##### [textfields_exact](https://github.com/appium/ruby_lib/blob/12317e4d74b20d01813526b28e642e3522193fa3/lib/appium_lib/ios/xcuitest/element/textfield.rb#L89) ios
|
3267
3267
|
|
3268
3268
|
> def textfields_exact(value)
|
3269
3269
|
|
@@ -3279,7 +3279,7 @@ __Returns:__
|
|
3279
3279
|
|
3280
3280
|
--
|
3281
3281
|
|
3282
|
-
##### [set_pasteboard](https://github.com/appium/ruby_lib/blob/
|
3282
|
+
##### [set_pasteboard](https://github.com/appium/ruby_lib/blob/12317e4d74b20d01813526b28e642e3522193fa3/lib/appium_lib/ios/xcuitest/command/pasteboard.rb#L26) ios
|
3283
3283
|
|
3284
3284
|
> def set_pasteboard(content:, encoding: nil)
|
3285
3285
|
|
@@ -3294,7 +3294,7 @@ The parameter is mandatory
|
|
3294
3294
|
|
3295
3295
|
--
|
3296
3296
|
|
3297
|
-
##### [get_pasteboard](https://github.com/appium/ruby_lib/blob/
|
3297
|
+
##### [get_pasteboard](https://github.com/appium/ruby_lib/blob/12317e4d74b20d01813526b28e642e3522193fa3/lib/appium_lib/ios/xcuitest/command/pasteboard.rb#L38) ios
|
3298
3298
|
|
3299
3299
|
> def get_pasteboard(encoding: nil)
|
3300
3300
|
|
@@ -3306,7 +3306,7 @@ __Parameters:__
|
|
3306
3306
|
|
3307
3307
|
--
|
3308
3308
|
|
3309
|
-
##### [install_certificate](https://github.com/appium/ruby_lib/blob/
|
3309
|
+
##### [install_certificate](https://github.com/appium/ruby_lib/blob/12317e4d74b20d01813526b28e642e3522193fa3/lib/appium_lib/ios/xcuitest/command/certificate.rb#L32) ios
|
3310
3310
|
|
3311
3311
|
> def install_certificate(cer_file:)
|
3312
3312
|
|
@@ -3321,7 +3321,7 @@ __Parameters:__
|
|
3321
3321
|
|
3322
3322
|
--
|
3323
3323
|
|
3324
|
-
##### [xcuitest_get_contexts](https://github.com/appium/ruby_lib/blob/
|
3324
|
+
##### [xcuitest_get_contexts](https://github.com/appium/ruby_lib/blob/12317e4d74b20d01813526b28e642e3522193fa3/lib/appium_lib/ios/xcuitest/command/get_context.rb#L28) ios
|
3325
3325
|
|
3326
3326
|
> def xcuitest_get_contexts
|
3327
3327
|
|
@@ -3329,7 +3329,7 @@ Get contexts
|
|
3329
3329
|
|
3330
3330
|
--
|
3331
3331
|
|
3332
|
-
##### [xcuitest_install_app](https://github.com/appium/ruby_lib/blob/
|
3332
|
+
##### [xcuitest_install_app](https://github.com/appium/ruby_lib/blob/12317e4d74b20d01813526b28e642e3522193fa3/lib/appium_lib/ios/xcuitest/command/multi_app_handler.rb#L35) ios
|
3333
3333
|
|
3334
3334
|
> def xcuitest_install_app(app:)
|
3335
3335
|
|
@@ -3349,7 +3349,7 @@ __Returns:__
|
|
3349
3349
|
|
3350
3350
|
--
|
3351
3351
|
|
3352
|
-
##### [xcuitest_app_installed?](https://github.com/appium/ruby_lib/blob/
|
3352
|
+
##### [xcuitest_app_installed?](https://github.com/appium/ruby_lib/blob/12317e4d74b20d01813526b28e642e3522193fa3/lib/appium_lib/ios/xcuitest/command/multi_app_handler.rb#L49) ios
|
3353
3353
|
|
3354
3354
|
> def xcuitest_app_installed?(bundle_id:)
|
3355
3355
|
|
@@ -3365,7 +3365,7 @@ __Returns:__
|
|
3365
3365
|
|
3366
3366
|
--
|
3367
3367
|
|
3368
|
-
##### [xcuitest_remove_app](https://github.com/appium/ruby_lib/blob/
|
3368
|
+
##### [xcuitest_remove_app](https://github.com/appium/ruby_lib/blob/12317e4d74b20d01813526b28e642e3522193fa3/lib/appium_lib/ios/xcuitest/command/multi_app_handler.rb#L64) ios
|
3369
3369
|
|
3370
3370
|
> def xcuitest_remove_app(bundle_id:)
|
3371
3371
|
|
@@ -3382,7 +3382,7 @@ __Returns:__
|
|
3382
3382
|
|
3383
3383
|
--
|
3384
3384
|
|
3385
|
-
##### [xcuitest_launch_app](https://github.com/appium/ruby_lib/blob/
|
3385
|
+
##### [xcuitest_launch_app](https://github.com/appium/ruby_lib/blob/12317e4d74b20d01813526b28e642e3522193fa3/lib/appium_lib/ios/xcuitest/command/multi_app_handler.rb#L79) ios
|
3386
3386
|
|
3387
3387
|
> def xcuitest_launch_app(bundle_id:)
|
3388
3388
|
|
@@ -3399,7 +3399,7 @@ __Returns:__
|
|
3399
3399
|
|
3400
3400
|
--
|
3401
3401
|
|
3402
|
-
##### [xcuitest_terminate_app](https://github.com/appium/ruby_lib/blob/
|
3402
|
+
##### [xcuitest_terminate_app](https://github.com/appium/ruby_lib/blob/12317e4d74b20d01813526b28e642e3522193fa3/lib/appium_lib/ios/xcuitest/command/multi_app_handler.rb#L94) ios
|
3403
3403
|
|
3404
3404
|
> def xcuitest_terminate_app(bundle_id:)
|
3405
3405
|
|
@@ -3416,7 +3416,7 @@ __Returns:__
|
|
3416
3416
|
|
3417
3417
|
--
|
3418
3418
|
|
3419
|
-
##### [xcuitest_query_app_status](https://github.com/appium/ruby_lib/blob/
|
3419
|
+
##### [xcuitest_query_app_status](https://github.com/appium/ruby_lib/blob/12317e4d74b20d01813526b28e642e3522193fa3/lib/appium_lib/ios/xcuitest/command/multi_app_handler.rb#L116) ios
|
3420
3420
|
|
3421
3421
|
> def xcuitest_query_app_status(bundle_id:)
|
3422
3422
|
|
@@ -3440,7 +3440,7 @@ __Returns:__
|
|
3440
3440
|
|
3441
3441
|
--
|
3442
3442
|
|
3443
|
-
##### [xcuitest_activate_app](https://github.com/appium/ruby_lib/blob/
|
3443
|
+
##### [xcuitest_activate_app](https://github.com/appium/ruby_lib/blob/12317e4d74b20d01813526b28e642e3522193fa3/lib/appium_lib/ios/xcuitest/command/multi_app_handler.rb#L132) ios
|
3444
3444
|
|
3445
3445
|
> def xcuitest_activate_app(bundle_id:)
|
3446
3446
|
|