appium_lib 10.0.0 → 10.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +5 -5
- data/CHANGELOG.md +2 -0
- data/docs/android_docs.md +209 -209
- data/docs/ios_docs.md +251 -251
- data/lib/appium_lib/ios/common/helper.rb +2 -2
- data/lib/appium_lib/version.rb +2 -2
- data/release_notes.md +6 -0
- metadata +3 -4
data/docs/ios_docs.md
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
##### [load_settings](https://github.com/appium/ruby_lib/blob/
|
1
|
+
##### [load_settings](https://github.com/appium/ruby_lib/blob/4b43cf7b240a7b4cab7b22198ed4dd1307611545/lib/appium_lib/appium.rb#L46) common
|
2
2
|
|
3
3
|
> def load_settings(opts = {})
|
4
4
|
|
@@ -27,7 +27,7 @@ __Returns:__
|
|
27
27
|
|
28
28
|
--
|
29
29
|
|
30
|
-
##### [load_appium_txt](https://github.com/appium/ruby_lib/blob/
|
30
|
+
##### [load_appium_txt](https://github.com/appium/ruby_lib/blob/4b43cf7b240a7b4cab7b22198ed4dd1307611545/lib/appium_lib/appium.rb#L82) common
|
31
31
|
|
32
32
|
> def load_settings(opts = {})
|
33
33
|
|
@@ -56,7 +56,7 @@ __Returns:__
|
|
56
56
|
|
57
57
|
--
|
58
58
|
|
59
|
-
##### [expand_required_files](https://github.com/appium/ruby_lib/blob/
|
59
|
+
##### [expand_required_files](https://github.com/appium/ruby_lib/blob/4b43cf7b240a7b4cab7b22198ed4dd1307611545/lib/appium_lib/appium.rb#L87) common
|
60
60
|
|
61
61
|
> def expand_required_files(base_dir, file_paths)
|
62
62
|
|
@@ -74,7 +74,7 @@ __Returns:__
|
|
74
74
|
|
75
75
|
--
|
76
76
|
|
77
|
-
##### [promote_singleton_appium_methods](https://github.com/appium/ruby_lib/blob/
|
77
|
+
##### [promote_singleton_appium_methods](https://github.com/appium/ruby_lib/blob/4b43cf7b240a7b4cab7b22198ed4dd1307611545/lib/appium_lib/appium.rb#L129) common
|
78
78
|
|
79
79
|
> def promote_singleton_appium_methods(modules, driver = $driver)
|
80
80
|
|
@@ -98,7 +98,7 @@ __Parameters:__
|
|
98
98
|
|
99
99
|
--
|
100
100
|
|
101
|
-
##### [promote_appium_methods](https://github.com/appium/ruby_lib/blob/
|
101
|
+
##### [promote_appium_methods](https://github.com/appium/ruby_lib/blob/4b43cf7b240a7b4cab7b22198ed4dd1307611545/lib/appium_lib/appium.rb#L185) common
|
102
102
|
|
103
103
|
> def promote_appium_methods(class_array, driver = $driver)
|
104
104
|
|
@@ -116,7 +116,7 @@ __Parameters:__
|
|
116
116
|
|
117
117
|
--
|
118
118
|
|
119
|
-
##### [global_webdriver_http_sleep](https://github.com/appium/ruby_lib/blob/
|
119
|
+
##### [global_webdriver_http_sleep](https://github.com/appium/ruby_lib/blob/4b43cf7b240a7b4cab7b22198ed4dd1307611545/lib/appium_lib/driver.rb#L35) common
|
120
120
|
|
121
121
|
> def global_webdriver_http_sleep
|
122
122
|
|
@@ -124,7 +124,7 @@ The amount to sleep in seconds before every webdriver http call.
|
|
124
124
|
|
125
125
|
--
|
126
126
|
|
127
|
-
##### [global_webdriver_http_sleep=](https://github.com/appium/ruby_lib/blob/
|
127
|
+
##### [global_webdriver_http_sleep=](https://github.com/appium/ruby_lib/blob/4b43cf7b240a7b4cab7b22198ed4dd1307611545/lib/appium_lib/driver.rb#L35) common
|
128
128
|
|
129
129
|
> def global_webdriver_http_sleep=(value)
|
130
130
|
|
@@ -132,7 +132,7 @@ The amount to sleep in seconds before every webdriver http call.
|
|
132
132
|
|
133
133
|
--
|
134
134
|
|
135
|
-
##### [sauce](https://github.com/appium/ruby_lib/blob/
|
135
|
+
##### [sauce](https://github.com/appium/ruby_lib/blob/4b43cf7b240a7b4cab7b22198ed4dd1307611545/lib/appium_lib/driver.rb#L38) common
|
136
136
|
|
137
137
|
> def sauce
|
138
138
|
|
@@ -140,7 +140,7 @@ SauceLab's settings
|
|
140
140
|
|
141
141
|
--
|
142
142
|
|
143
|
-
##### [sauce_username](https://github.com/appium/ruby_lib/blob/
|
143
|
+
##### [sauce_username](https://github.com/appium/ruby_lib/blob/4b43cf7b240a7b4cab7b22198ed4dd1307611545/lib/appium_lib/driver.rb#L41) common
|
144
144
|
|
145
145
|
> def sauce_username
|
146
146
|
|
@@ -149,7 +149,7 @@ same as @sauce.username
|
|
149
149
|
|
150
150
|
--
|
151
151
|
|
152
|
-
##### [sauce_access_key](https://github.com/appium/ruby_lib/blob/
|
152
|
+
##### [sauce_access_key](https://github.com/appium/ruby_lib/blob/4b43cf7b240a7b4cab7b22198ed4dd1307611545/lib/appium_lib/driver.rb#L44) common
|
153
153
|
|
154
154
|
> def sauce_access_key
|
155
155
|
|
@@ -158,7 +158,7 @@ same as @sauce.access_key
|
|
158
158
|
|
159
159
|
--
|
160
160
|
|
161
|
-
##### [sauce_endpoint](https://github.com/appium/ruby_lib/blob/
|
161
|
+
##### [sauce_endpoint](https://github.com/appium/ruby_lib/blob/4b43cf7b240a7b4cab7b22198ed4dd1307611545/lib/appium_lib/driver.rb#L47) common
|
162
162
|
|
163
163
|
> def sauce_endpoint
|
164
164
|
|
@@ -167,7 +167,7 @@ same as @sauce.endpoint
|
|
167
167
|
|
168
168
|
--
|
169
169
|
|
170
|
-
##### [caps](https://github.com/appium/ruby_lib/blob/
|
170
|
+
##### [caps](https://github.com/appium/ruby_lib/blob/4b43cf7b240a7b4cab7b22198ed4dd1307611545/lib/appium_lib/driver.rb#L51) common
|
171
171
|
|
172
172
|
> def caps
|
173
173
|
|
@@ -176,7 +176,7 @@ read http://www.rubydoc.info/github/appium/ruby_lib_core/Appium/Core/Driver
|
|
176
176
|
|
177
177
|
--
|
178
178
|
|
179
|
-
##### [custom_url](https://github.com/appium/ruby_lib/blob/
|
179
|
+
##### [custom_url](https://github.com/appium/ruby_lib/blob/4b43cf7b240a7b4cab7b22198ed4dd1307611545/lib/appium_lib/driver.rb#L52) common
|
180
180
|
|
181
181
|
> def custom_url
|
182
182
|
|
@@ -184,7 +184,7 @@ Returns the value of attribute custom_url
|
|
184
184
|
|
185
185
|
--
|
186
186
|
|
187
|
-
##### [export_session](https://github.com/appium/ruby_lib/blob/
|
187
|
+
##### [export_session](https://github.com/appium/ruby_lib/blob/4b43cf7b240a7b4cab7b22198ed4dd1307611545/lib/appium_lib/driver.rb#L53) common
|
188
188
|
|
189
189
|
> def export_session
|
190
190
|
|
@@ -192,7 +192,7 @@ Returns the value of attribute export_session
|
|
192
192
|
|
193
193
|
--
|
194
194
|
|
195
|
-
##### [export_session_path](https://github.com/appium/ruby_lib/blob/
|
195
|
+
##### [export_session_path](https://github.com/appium/ruby_lib/blob/4b43cf7b240a7b4cab7b22198ed4dd1307611545/lib/appium_lib/driver.rb#L54) common
|
196
196
|
|
197
197
|
> def export_session_path
|
198
198
|
|
@@ -200,7 +200,7 @@ Returns the value of attribute export_session_path
|
|
200
200
|
|
201
201
|
--
|
202
202
|
|
203
|
-
##### [default_wait](https://github.com/appium/ruby_lib/blob/
|
203
|
+
##### [default_wait](https://github.com/appium/ruby_lib/blob/4b43cf7b240a7b4cab7b22198ed4dd1307611545/lib/appium_lib/driver.rb#L55) common
|
204
204
|
|
205
205
|
> def default_wait
|
206
206
|
|
@@ -208,7 +208,7 @@ Returns the value of attribute default_wait
|
|
208
208
|
|
209
209
|
--
|
210
210
|
|
211
|
-
##### [appium_port](https://github.com/appium/ruby_lib/blob/
|
211
|
+
##### [appium_port](https://github.com/appium/ruby_lib/blob/4b43cf7b240a7b4cab7b22198ed4dd1307611545/lib/appium_lib/driver.rb#L56) common
|
212
212
|
|
213
213
|
> def appium_port
|
214
214
|
|
@@ -216,7 +216,7 @@ Returns the value of attribute appium_port
|
|
216
216
|
|
217
217
|
--
|
218
218
|
|
219
|
-
##### [appium_device](https://github.com/appium/ruby_lib/blob/
|
219
|
+
##### [appium_device](https://github.com/appium/ruby_lib/blob/4b43cf7b240a7b4cab7b22198ed4dd1307611545/lib/appium_lib/driver.rb#L57) common
|
220
220
|
|
221
221
|
> def appium_device
|
222
222
|
|
@@ -224,7 +224,7 @@ Returns the value of attribute appium_device
|
|
224
224
|
|
225
225
|
--
|
226
226
|
|
227
|
-
##### [automation_name](https://github.com/appium/ruby_lib/blob/
|
227
|
+
##### [automation_name](https://github.com/appium/ruby_lib/blob/4b43cf7b240a7b4cab7b22198ed4dd1307611545/lib/appium_lib/driver.rb#L58) common
|
228
228
|
|
229
229
|
> def automation_name
|
230
230
|
|
@@ -232,7 +232,7 @@ Returns the value of attribute automation_name
|
|
232
232
|
|
233
233
|
--
|
234
234
|
|
235
|
-
##### [listener](https://github.com/appium/ruby_lib/blob/
|
235
|
+
##### [listener](https://github.com/appium/ruby_lib/blob/4b43cf7b240a7b4cab7b22198ed4dd1307611545/lib/appium_lib/driver.rb#L59) common
|
236
236
|
|
237
237
|
> def listener
|
238
238
|
|
@@ -240,7 +240,7 @@ Returns the value of attribute listener
|
|
240
240
|
|
241
241
|
--
|
242
242
|
|
243
|
-
##### [http_client](https://github.com/appium/ruby_lib/blob/
|
243
|
+
##### [http_client](https://github.com/appium/ruby_lib/blob/4b43cf7b240a7b4cab7b22198ed4dd1307611545/lib/appium_lib/driver.rb#L60) common
|
244
244
|
|
245
245
|
> def http_client
|
246
246
|
|
@@ -248,7 +248,7 @@ Returns the value of attribute http_client
|
|
248
248
|
|
249
249
|
--
|
250
250
|
|
251
|
-
##### [appium_wait_timeout](https://github.com/appium/ruby_lib/blob/
|
251
|
+
##### [appium_wait_timeout](https://github.com/appium/ruby_lib/blob/4b43cf7b240a7b4cab7b22198ed4dd1307611545/lib/appium_lib/driver.rb#L61) common
|
252
252
|
|
253
253
|
> def appium_wait_timeout
|
254
254
|
|
@@ -256,7 +256,7 @@ Returns the value of attribute appium_wait_timeout
|
|
256
256
|
|
257
257
|
--
|
258
258
|
|
259
|
-
##### [appium_wait_interval](https://github.com/appium/ruby_lib/blob/
|
259
|
+
##### [appium_wait_interval](https://github.com/appium/ruby_lib/blob/4b43cf7b240a7b4cab7b22198ed4dd1307611545/lib/appium_lib/driver.rb#L62) common
|
260
260
|
|
261
261
|
> def appium_wait_interval
|
262
262
|
|
@@ -264,7 +264,7 @@ Returns the value of attribute appium_wait_interval
|
|
264
264
|
|
265
265
|
--
|
266
266
|
|
267
|
-
##### [appium_server_status](https://github.com/appium/ruby_lib/blob/
|
267
|
+
##### [appium_server_status](https://github.com/appium/ruby_lib/blob/4b43cf7b240a7b4cab7b22198ed4dd1307611545/lib/appium_lib/driver.rb#L65) common
|
268
268
|
|
269
269
|
> def appium_server_status
|
270
270
|
|
@@ -272,7 +272,7 @@ Appium's server version
|
|
272
272
|
|
273
273
|
--
|
274
274
|
|
275
|
-
##### [appium_debug](https://github.com/appium/ruby_lib/blob/
|
275
|
+
##### [appium_debug](https://github.com/appium/ruby_lib/blob/4b43cf7b240a7b4cab7b22198ed4dd1307611545/lib/appium_lib/driver.rb#L67) common
|
276
276
|
|
277
277
|
> def appium_debug
|
278
278
|
|
@@ -280,7 +280,7 @@ Boolean debug mode for the Appium Ruby bindings
|
|
280
280
|
|
281
281
|
--
|
282
282
|
|
283
|
-
##### [driver](https://github.com/appium/ruby_lib/blob/
|
283
|
+
##### [driver](https://github.com/appium/ruby_lib/blob/4b43cf7b240a7b4cab7b22198ed4dd1307611545/lib/appium_lib/driver.rb#L70) common
|
284
284
|
|
285
285
|
> def driver
|
286
286
|
|
@@ -292,7 +292,7 @@ __Returns:__
|
|
292
292
|
|
293
293
|
--
|
294
294
|
|
295
|
-
##### [core](https://github.com/appium/ruby_lib/blob/
|
295
|
+
##### [core](https://github.com/appium/ruby_lib/blob/4b43cf7b240a7b4cab7b22198ed4dd1307611545/lib/appium_lib/driver.rb#L72) common
|
296
296
|
|
297
297
|
> def core
|
298
298
|
|
@@ -300,7 +300,7 @@ Instance of Appium::Core::Driver
|
|
300
300
|
|
301
301
|
--
|
302
302
|
|
303
|
-
##### [initialize](https://github.com/appium/ruby_lib/blob/
|
303
|
+
##### [initialize](https://github.com/appium/ruby_lib/blob/4b43cf7b240a7b4cab7b22198ed4dd1307611545/lib/appium_lib/driver.rb#L140) common
|
304
304
|
|
305
305
|
> def initialize(opts = {}, global_driver = nil)
|
306
306
|
|
@@ -319,7 +319,7 @@ __Returns:__
|
|
319
319
|
|
320
320
|
--
|
321
321
|
|
322
|
-
##### [driver_attributes](https://github.com/appium/ruby_lib/blob/
|
322
|
+
##### [driver_attributes](https://github.com/appium/ruby_lib/blob/4b43cf7b240a7b4cab7b22198ed4dd1307611545/lib/appium_lib/driver.rb#L259) common
|
323
323
|
|
324
324
|
> def driver_attributes
|
325
325
|
|
@@ -327,7 +327,7 @@ Returns a hash of the driver attributes
|
|
327
327
|
|
328
328
|
--
|
329
329
|
|
330
|
-
##### [device_is_android?](https://github.com/appium/ruby_lib/blob/
|
330
|
+
##### [device_is_android?](https://github.com/appium/ruby_lib/blob/4b43cf7b240a7b4cab7b22198ed4dd1307611545/lib/appium_lib/driver.rb#L281) common
|
331
331
|
|
332
332
|
> def device_is_android?
|
333
333
|
|
@@ -339,7 +339,7 @@ __Returns:__
|
|
339
339
|
|
340
340
|
--
|
341
341
|
|
342
|
-
##### [device_is_ios?](https://github.com/appium/ruby_lib/blob/
|
342
|
+
##### [device_is_ios?](https://github.com/appium/ruby_lib/blob/4b43cf7b240a7b4cab7b22198ed4dd1307611545/lib/appium_lib/driver.rb#L285) common
|
343
343
|
|
344
344
|
> def device_is_ios?
|
345
345
|
|
@@ -351,7 +351,7 @@ __Returns:__
|
|
351
351
|
|
352
352
|
--
|
353
353
|
|
354
|
-
##### [device_is_windows?](https://github.com/appium/ruby_lib/blob/
|
354
|
+
##### [device_is_windows?](https://github.com/appium/ruby_lib/blob/4b43cf7b240a7b4cab7b22198ed4dd1307611545/lib/appium_lib/driver.rb#L289) common
|
355
355
|
|
356
356
|
> def device_is_windows?
|
357
357
|
|
@@ -363,7 +363,7 @@ __Returns:__
|
|
363
363
|
|
364
364
|
--
|
365
365
|
|
366
|
-
##### [automation_name_is_uiautomator2?](https://github.com/appium/ruby_lib/blob/
|
366
|
+
##### [automation_name_is_uiautomator2?](https://github.com/appium/ruby_lib/blob/4b43cf7b240a7b4cab7b22198ed4dd1307611545/lib/appium_lib/driver.rb#L295) common
|
367
367
|
|
368
368
|
> def automation_name_is_uiautomator2?
|
369
369
|
|
@@ -375,7 +375,7 @@ __Returns:__
|
|
375
375
|
|
376
376
|
--
|
377
377
|
|
378
|
-
##### [automation_name_is_espresso?](https://github.com/appium/ruby_lib/blob/
|
378
|
+
##### [automation_name_is_espresso?](https://github.com/appium/ruby_lib/blob/4b43cf7b240a7b4cab7b22198ed4dd1307611545/lib/appium_lib/driver.rb#L301) common
|
379
379
|
|
380
380
|
> def automation_name_is_espresso?
|
381
381
|
|
@@ -387,7 +387,7 @@ __Returns:__
|
|
387
387
|
|
388
388
|
--
|
389
389
|
|
390
|
-
##### [automation_name_is_xcuitest?](https://github.com/appium/ruby_lib/blob/
|
390
|
+
##### [automation_name_is_xcuitest?](https://github.com/appium/ruby_lib/blob/4b43cf7b240a7b4cab7b22198ed4dd1307611545/lib/appium_lib/driver.rb#L307) common
|
391
391
|
|
392
392
|
> def automation_name_is_xcuitest?
|
393
393
|
|
@@ -399,7 +399,7 @@ __Returns:__
|
|
399
399
|
|
400
400
|
--
|
401
401
|
|
402
|
-
##### [dialect](https://github.com/appium/ruby_lib/blob/
|
402
|
+
##### [dialect](https://github.com/appium/ruby_lib/blob/4b43cf7b240a7b4cab7b22198ed4dd1307611545/lib/appium_lib/driver.rb#L327) 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/4b43cf7b240a7b4cab7b22198ed4dd1307611545/lib/appium_lib/driver.rb#L341) 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/4b43cf7b240a7b4cab7b22198ed4dd1307611545/lib/appium_lib/driver.rb#L361) 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/4b43cf7b240a7b4cab7b22198ed4dd1307611545/lib/appium_lib/driver.rb#L369) 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/4b43cf7b240a7b4cab7b22198ed4dd1307611545/lib/appium_lib/driver.rb#L373) 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/4b43cf7b240a7b4cab7b22198ed4dd1307611545/lib/appium_lib/driver.rb#L386) 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/4b43cf7b240a7b4cab7b22198ed4dd1307611545/lib/appium_lib/driver.rb#L398) 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/4b43cf7b240a7b4cab7b22198ed4dd1307611545/lib/appium_lib/driver.rb#L421) 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/4b43cf7b240a7b4cab7b22198ed4dd1307611545/lib/appium_lib/driver.rb#L430) 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/4b43cf7b240a7b4cab7b22198ed4dd1307611545/lib/appium_lib/driver.rb#L443) 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/4b43cf7b240a7b4cab7b22198ed4dd1307611545/lib/appium_lib/driver.rb#L457) 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/4b43cf7b240a7b4cab7b22198ed4dd1307611545/lib/appium_lib/driver.rb#L464) 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/4b43cf7b240a7b4cab7b22198ed4dd1307611545/lib/appium_lib/driver.rb#L467) 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/4b43cf7b240a7b4cab7b22198ed4dd1307611545/lib/appium_lib/driver.rb#L478) 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/4b43cf7b240a7b4cab7b22198ed4dd1307611545/lib/appium_lib/driver.rb#L493) 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/4b43cf7b240a7b4cab7b22198ed4dd1307611545/lib/appium_lib/driver.rb#L526) 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/4b43cf7b240a7b4cab7b22198ed4dd1307611545/lib/appium_lib/driver.rb#L547) 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/4b43cf7b240a7b4cab7b22198ed4dd1307611545/lib/appium_lib/driver.rb#L558) 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/4b43cf7b240a7b4cab7b22198ed4dd1307611545/lib/appium_lib/driver.rb#L572) 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/4b43cf7b240a7b4cab7b22198ed4dd1307611545/lib/appium_lib/driver.rb#L589) 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/4b43cf7b240a7b4cab7b22198ed4dd1307611545/lib/appium_lib/driver.rb#L613) 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/4b43cf7b240a7b4cab7b22198ed4dd1307611545/lib/appium_lib/driver.rb#L621) common
|
703
703
|
|
704
704
|
> def execute_async_script(script, *args)
|
705
705
|
|
@@ -709,7 +709,7 @@ Get the window handles of open browser windows
|
|
709
709
|
|
710
710
|
--
|
711
711
|
|
712
|
-
##### [window_handles](https://github.com/appium/ruby_lib/blob/
|
712
|
+
##### [window_handles](https://github.com/appium/ruby_lib/blob/4b43cf7b240a7b4cab7b22198ed4dd1307611545/lib/appium_lib/driver.rb#L625) common
|
713
713
|
|
714
714
|
> def window_handles
|
715
715
|
|
@@ -717,7 +717,7 @@ Get the window handles of open browser windows
|
|
717
717
|
|
718
718
|
--
|
719
719
|
|
720
|
-
##### [window_handle](https://github.com/appium/ruby_lib/blob/
|
720
|
+
##### [window_handle](https://github.com/appium/ruby_lib/blob/4b43cf7b240a7b4cab7b22198ed4dd1307611545/lib/appium_lib/driver.rb#L630) common
|
721
721
|
|
722
722
|
> def window_handle
|
723
723
|
|
@@ -725,7 +725,7 @@ Get the current window handle
|
|
725
725
|
|
726
726
|
--
|
727
727
|
|
728
|
-
##### [navigate](https://github.com/appium/ruby_lib/blob/
|
728
|
+
##### [navigate](https://github.com/appium/ruby_lib/blob/4b43cf7b240a7b4cab7b22198ed4dd1307611545/lib/appium_lib/driver.rb#L634) common
|
729
729
|
|
730
730
|
> def navigate
|
731
731
|
|
@@ -733,7 +733,7 @@ Get the current window handle
|
|
733
733
|
|
734
734
|
--
|
735
735
|
|
736
|
-
##### [manage](https://github.com/appium/ruby_lib/blob/
|
736
|
+
##### [manage](https://github.com/appium/ruby_lib/blob/4b43cf7b240a7b4cab7b22198ed4dd1307611545/lib/appium_lib/driver.rb#L638) common
|
737
737
|
|
738
738
|
> def manage
|
739
739
|
|
@@ -741,7 +741,7 @@ Get the current window handle
|
|
741
741
|
|
742
742
|
--
|
743
743
|
|
744
|
-
##### [get](https://github.com/appium/ruby_lib/blob/
|
744
|
+
##### [get](https://github.com/appium/ruby_lib/blob/4b43cf7b240a7b4cab7b22198ed4dd1307611545/lib/appium_lib/driver.rb#L642) common
|
745
745
|
|
746
746
|
> def get(url)
|
747
747
|
|
@@ -749,7 +749,7 @@ Get the current window handle
|
|
749
749
|
|
750
750
|
--
|
751
751
|
|
752
|
-
##### [current_url](https://github.com/appium/ruby_lib/blob/
|
752
|
+
##### [current_url](https://github.com/appium/ruby_lib/blob/4b43cf7b240a7b4cab7b22198ed4dd1307611545/lib/appium_lib/driver.rb#L646) common
|
753
753
|
|
754
754
|
> def current_url
|
755
755
|
|
@@ -757,7 +757,7 @@ Get the current window handle
|
|
757
757
|
|
758
758
|
--
|
759
759
|
|
760
|
-
##### [title](https://github.com/appium/ruby_lib/blob/
|
760
|
+
##### [title](https://github.com/appium/ruby_lib/blob/4b43cf7b240a7b4cab7b22198ed4dd1307611545/lib/appium_lib/driver.rb#L650) common
|
761
761
|
|
762
762
|
> def title
|
763
763
|
|
@@ -765,7 +765,7 @@ Get the current window handle
|
|
765
765
|
|
766
766
|
--
|
767
767
|
|
768
|
-
##### [switch_to](https://github.com/appium/ruby_lib/blob/
|
768
|
+
##### [switch_to](https://github.com/appium/ruby_lib/blob/4b43cf7b240a7b4cab7b22198ed4dd1307611545/lib/appium_lib/driver.rb#L656) common
|
769
769
|
|
770
770
|
> def switch_to
|
771
771
|
|
@@ -777,7 +777,7 @@ __Returns:__
|
|
777
777
|
|
778
778
|
--
|
779
779
|
|
780
|
-
##### [find_elements](https://github.com/appium/ruby_lib/blob/
|
780
|
+
##### [find_elements](https://github.com/appium/ruby_lib/blob/4b43cf7b240a7b4cab7b22198ed4dd1307611545/lib/appium_lib/driver.rb#L683) common
|
781
781
|
|
782
782
|
> def find_elements(*args)
|
783
783
|
|
@@ -797,7 +797,7 @@ __Returns:__
|
|
797
797
|
|
798
798
|
--
|
799
799
|
|
800
|
-
##### [find_element](https://github.com/appium/ruby_lib/blob/
|
800
|
+
##### [find_element](https://github.com/appium/ruby_lib/blob/4b43cf7b240a7b4cab7b22198ed4dd1307611545/lib/appium_lib/driver.rb#L699) common
|
801
801
|
|
802
802
|
> def find_element(*args)
|
803
803
|
|
@@ -815,7 +815,7 @@ __Returns:__
|
|
815
815
|
|
816
816
|
--
|
817
817
|
|
818
|
-
##### [DEFAULT_MATCH_THRESHOLD](https://github.com/appium/ruby_lib/blob/
|
818
|
+
##### [DEFAULT_MATCH_THRESHOLD](https://github.com/appium/ruby_lib/blob/4b43cf7b240a7b4cab7b22198ed4dd1307611545/lib/appium_lib/driver.rb#L717) common
|
819
819
|
|
820
820
|
> DEFAULT_MATCH_THRESHOLD = 0.5
|
821
821
|
|
@@ -836,7 +836,7 @@ __Returns:__
|
|
836
836
|
|
837
837
|
--
|
838
838
|
|
839
|
-
##### [find_element_by_image](https://github.com/appium/ruby_lib/blob/
|
839
|
+
##### [find_element_by_image](https://github.com/appium/ruby_lib/blob/4b43cf7b240a7b4cab7b22198ed4dd1307611545/lib/appium_lib/driver.rb#L718) common
|
840
840
|
|
841
841
|
> def find_element_by_image(png_img_path, match_threshold: DEFAULT_MATCH_THRESHOLD, visualize: false)
|
842
842
|
|
@@ -844,7 +844,7 @@ __Returns:__
|
|
844
844
|
|
845
845
|
--
|
846
846
|
|
847
|
-
##### [find_elements_by_image](https://github.com/appium/ruby_lib/blob/
|
847
|
+
##### [find_elements_by_image](https://github.com/appium/ruby_lib/blob/4b43cf7b240a7b4cab7b22198ed4dd1307611545/lib/appium_lib/driver.rb#L736) common
|
848
848
|
|
849
849
|
> def find_elements_by_image(png_img_paths, match_threshold: DEFAULT_MATCH_THRESHOLD, visualize: false)
|
850
850
|
|
@@ -865,7 +865,7 @@ __Returns:__
|
|
865
865
|
|
866
866
|
--
|
867
867
|
|
868
|
-
##### [set_location](https://github.com/appium/ruby_lib/blob/
|
868
|
+
##### [set_location](https://github.com/appium/ruby_lib/blob/4b43cf7b240a7b4cab7b22198ed4dd1307611545/lib/appium_lib/driver.rb#L749) common
|
869
869
|
|
870
870
|
> def set_location(opts = {})
|
871
871
|
|
@@ -881,7 +881,7 @@ __Returns:__
|
|
881
881
|
|
882
882
|
--
|
883
883
|
|
884
|
-
##### [x](https://github.com/appium/ruby_lib/blob/
|
884
|
+
##### [x](https://github.com/appium/ruby_lib/blob/4b43cf7b240a7b4cab7b22198ed4dd1307611545/lib/appium_lib/driver.rb#L759) common
|
885
885
|
|
886
886
|
> def x
|
887
887
|
|
@@ -894,7 +894,7 @@ __Returns:__
|
|
894
894
|
|
895
895
|
--
|
896
896
|
|
897
|
-
##### [username](https://github.com/appium/ruby_lib/blob/
|
897
|
+
##### [username](https://github.com/appium/ruby_lib/blob/4b43cf7b240a7b4cab7b22198ed4dd1307611545/lib/appium_lib/sauce_labs.rb#L4) common
|
898
898
|
|
899
899
|
> def username
|
900
900
|
|
@@ -902,7 +902,7 @@ Username for use on Sauce Labs. Set `false` to disable Sauce, even when SAUCE_US
|
|
902
902
|
|
903
903
|
--
|
904
904
|
|
905
|
-
##### [access_key](https://github.com/appium/ruby_lib/blob/
|
905
|
+
##### [access_key](https://github.com/appium/ruby_lib/blob/4b43cf7b240a7b4cab7b22198ed4dd1307611545/lib/appium_lib/sauce_labs.rb#L6) common
|
906
906
|
|
907
907
|
> def access_key
|
908
908
|
|
@@ -910,7 +910,7 @@ Access Key for use on Sauce Labs. Set `false` to disable Sauce, even when SAUCE_
|
|
910
910
|
|
911
911
|
--
|
912
912
|
|
913
|
-
##### [endpoint](https://github.com/appium/ruby_lib/blob/
|
913
|
+
##### [endpoint](https://github.com/appium/ruby_lib/blob/4b43cf7b240a7b4cab7b22198ed4dd1307611545/lib/appium_lib/sauce_labs.rb#L8) common
|
914
914
|
|
915
915
|
> def endpoint
|
916
916
|
|
@@ -918,7 +918,7 @@ Override the Sauce Appium endpoint to allow e.g. TestObject tests. Default is 'o
|
|
918
918
|
|
919
919
|
--
|
920
920
|
|
921
|
-
##### [initialize](https://github.com/appium/ruby_lib/blob/
|
921
|
+
##### [initialize](https://github.com/appium/ruby_lib/blob/4b43cf7b240a7b4cab7b22198ed4dd1307611545/lib/appium_lib/sauce_labs.rb#L33) common
|
922
922
|
|
923
923
|
> def initialize(appium_lib_opts)
|
924
924
|
|
@@ -934,7 +934,7 @@ __Returns:__
|
|
934
934
|
|
935
935
|
--
|
936
936
|
|
937
|
-
##### [sauce_server_url?](https://github.com/appium/ruby_lib/blob/
|
937
|
+
##### [sauce_server_url?](https://github.com/appium/ruby_lib/blob/4b43cf7b240a7b4cab7b22198ed4dd1307611545/lib/appium_lib/sauce_labs.rb#L53) common
|
938
938
|
|
939
939
|
> def sauce_server_url?
|
940
940
|
|
@@ -946,7 +946,7 @@ __Returns:__
|
|
946
946
|
|
947
947
|
--
|
948
948
|
|
949
|
-
##### [server_url](https://github.com/appium/ruby_lib/blob/
|
949
|
+
##### [server_url](https://github.com/appium/ruby_lib/blob/4b43cf7b240a7b4cab7b22198ed4dd1307611545/lib/appium_lib/sauce_labs.rb#L66) common
|
950
950
|
|
951
951
|
> def server_url
|
952
952
|
|
@@ -958,7 +958,7 @@ __Returns:__
|
|
958
958
|
|
959
959
|
--
|
960
960
|
|
961
|
-
##### [get_log](https://github.com/appium/ruby_lib/blob/
|
961
|
+
##### [get_log](https://github.com/appium/ruby_lib/blob/4b43cf7b240a7b4cab7b22198ed4dd1307611545/lib/appium_lib/common/log.rb#L11) common
|
962
962
|
|
963
963
|
> def get_log(type)
|
964
964
|
|
@@ -974,7 +974,7 @@ __Returns:__
|
|
974
974
|
|
975
975
|
--
|
976
976
|
|
977
|
-
##### [get_available_log_types](https://github.com/appium/ruby_lib/blob/
|
977
|
+
##### [get_available_log_types](https://github.com/appium/ruby_lib/blob/4b43cf7b240a7b4cab7b22198ed4dd1307611545/lib/appium_lib/common/log.rb#L23) common
|
978
978
|
|
979
979
|
> def get_available_log_types
|
980
980
|
|
@@ -986,7 +986,7 @@ __Returns:__
|
|
986
986
|
|
987
987
|
--
|
988
988
|
|
989
|
-
##### [wait_true](https://github.com/appium/ruby_lib/blob/
|
989
|
+
##### [wait_true](https://github.com/appium/ruby_lib/blob/4b43cf7b240a7b4cab7b22198ed4dd1307611545/lib/appium_lib/common/wait.rb#L30) common
|
990
990
|
|
991
991
|
> def wait_true(opts = {})
|
992
992
|
|
@@ -1006,7 +1006,7 @@ __Parameters:__
|
|
1006
1006
|
|
1007
1007
|
--
|
1008
1008
|
|
1009
|
-
##### [wait](https://github.com/appium/ruby_lib/blob/
|
1009
|
+
##### [wait](https://github.com/appium/ruby_lib/blob/4b43cf7b240a7b4cab7b22198ed4dd1307611545/lib/appium_lib/common/wait.rb#L59) common
|
1010
1010
|
|
1011
1011
|
> def wait(opts = {})
|
1012
1012
|
|
@@ -1024,7 +1024,7 @@ __Parameters:__
|
|
1024
1024
|
|
1025
1025
|
--
|
1026
1026
|
|
1027
|
-
##### [add_touch_actions](https://github.com/appium/ruby_lib/blob/
|
1027
|
+
##### [add_touch_actions](https://github.com/appium/ruby_lib/blob/4b43cf7b240a7b4cab7b22198ed4dd1307611545/lib/appium_lib/common/device.rb#L12) common
|
1028
1028
|
|
1029
1029
|
> def add_touch_actions
|
1030
1030
|
|
@@ -1032,7 +1032,7 @@ __Parameters:__
|
|
1032
1032
|
|
1033
1033
|
--
|
1034
1034
|
|
1035
|
-
##### [delegate_from_appium_driver](https://github.com/appium/ruby_lib/blob/
|
1035
|
+
##### [delegate_from_appium_driver](https://github.com/appium/ruby_lib/blob/4b43cf7b240a7b4cab7b22198ed4dd1307611545/lib/appium_lib/common/device.rb#L24) common
|
1036
1036
|
|
1037
1037
|
> def delegate_from_appium_driver(method, delegation_target)
|
1038
1038
|
|
@@ -1040,7 +1040,7 @@ __Parameters:__
|
|
1040
1040
|
|
1041
1041
|
--
|
1042
1042
|
|
1043
|
-
##### [ignore](https://github.com/appium/ruby_lib/blob/
|
1043
|
+
##### [ignore](https://github.com/appium/ruby_lib/blob/4b43cf7b240a7b4cab7b22198ed4dd1307611545/lib/appium_lib/common/helper.rb#L16) common
|
1044
1044
|
|
1045
1045
|
> def ignore
|
1046
1046
|
|
@@ -1048,7 +1048,7 @@ Return yield and ignore any exceptions.
|
|
1048
1048
|
|
1049
1049
|
--
|
1050
1050
|
|
1051
|
-
##### [back](https://github.com/appium/ruby_lib/blob/
|
1051
|
+
##### [back](https://github.com/appium/ruby_lib/blob/4b43cf7b240a7b4cab7b22198ed4dd1307611545/lib/appium_lib/common/helper.rb#L23) common
|
1052
1052
|
|
1053
1053
|
> def back
|
1054
1054
|
|
@@ -1060,7 +1060,7 @@ __Returns:__
|
|
1060
1060
|
|
1061
1061
|
--
|
1062
1062
|
|
1063
|
-
##### [session_id](https://github.com/appium/ruby_lib/blob/
|
1063
|
+
##### [session_id](https://github.com/appium/ruby_lib/blob/4b43cf7b240a7b4cab7b22198ed4dd1307611545/lib/appium_lib/common/helper.rb#L34) common
|
1064
1064
|
|
1065
1065
|
> def session_id
|
1066
1066
|
|
@@ -1072,7 +1072,7 @@ __Returns:__
|
|
1072
1072
|
|
1073
1073
|
--
|
1074
1074
|
|
1075
|
-
##### [xpath](https://github.com/appium/ruby_lib/blob/
|
1075
|
+
##### [xpath](https://github.com/appium/ruby_lib/blob/4b43cf7b240a7b4cab7b22198ed4dd1307611545/lib/appium_lib/common/helper.rb#L42) common
|
1076
1076
|
|
1077
1077
|
> def xpath(xpath_str)
|
1078
1078
|
|
@@ -1088,7 +1088,7 @@ __Returns:__
|
|
1088
1088
|
|
1089
1089
|
--
|
1090
1090
|
|
1091
|
-
##### [xpaths](https://github.com/appium/ruby_lib/blob/
|
1091
|
+
##### [xpaths](https://github.com/appium/ruby_lib/blob/4b43cf7b240a7b4cab7b22198ed4dd1307611545/lib/appium_lib/common/helper.rb#L50) common
|
1092
1092
|
|
1093
1093
|
> def xpaths(xpath_str)
|
1094
1094
|
|
@@ -1104,7 +1104,7 @@ __Returns:__
|
|
1104
1104
|
|
1105
1105
|
--
|
1106
1106
|
|
1107
|
-
##### [result](https://github.com/appium/ruby_lib/blob/
|
1107
|
+
##### [result](https://github.com/appium/ruby_lib/blob/4b43cf7b240a7b4cab7b22198ed4dd1307611545/lib/appium_lib/common/helper.rb#L60) common
|
1108
1108
|
|
1109
1109
|
> def result
|
1110
1110
|
|
@@ -1112,7 +1112,7 @@ Returns the value of attribute result
|
|
1112
1112
|
|
1113
1113
|
--
|
1114
1114
|
|
1115
|
-
##### [initialize](https://github.com/appium/ruby_lib/blob/
|
1115
|
+
##### [initialize](https://github.com/appium/ruby_lib/blob/4b43cf7b240a7b4cab7b22198ed4dd1307611545/lib/appium_lib/common/helper.rb#L62) common
|
1116
1116
|
|
1117
1117
|
> def initialize(platform)
|
1118
1118
|
|
@@ -1124,7 +1124,7 @@ __Returns:__
|
|
1124
1124
|
|
1125
1125
|
--
|
1126
1126
|
|
1127
|
-
##### [reset](https://github.com/appium/ruby_lib/blob/
|
1127
|
+
##### [reset](https://github.com/appium/ruby_lib/blob/4b43cf7b240a7b4cab7b22198ed4dd1307611545/lib/appium_lib/common/helper.rb#L67) common
|
1128
1128
|
|
1129
1129
|
> def reset
|
1130
1130
|
|
@@ -1132,7 +1132,7 @@ __Returns:__
|
|
1132
1132
|
|
1133
1133
|
--
|
1134
1134
|
|
1135
|
-
##### [start_element](https://github.com/appium/ruby_lib/blob/
|
1135
|
+
##### [start_element](https://github.com/appium/ruby_lib/blob/4b43cf7b240a7b4cab7b22198ed4dd1307611545/lib/appium_lib/common/helper.rb#L72) common
|
1136
1136
|
|
1137
1137
|
> def start_element(name, attrs = [])
|
1138
1138
|
|
@@ -1140,7 +1140,7 @@ http://nokogiri.org/Nokogiri/XML/SAX/Document.html
|
|
1140
1140
|
|
1141
1141
|
--
|
1142
1142
|
|
1143
|
-
##### [formatted_result](https://github.com/appium/ruby_lib/blob/
|
1143
|
+
##### [formatted_result](https://github.com/appium/ruby_lib/blob/4b43cf7b240a7b4cab7b22198ed4dd1307611545/lib/appium_lib/common/helper.rb#L83) common
|
1144
1144
|
|
1145
1145
|
> def formatted_result
|
1146
1146
|
|
@@ -1148,7 +1148,7 @@ http://nokogiri.org/Nokogiri/XML/SAX/Document.html
|
|
1148
1148
|
|
1149
1149
|
--
|
1150
1150
|
|
1151
|
-
##### [get_page_class](https://github.com/appium/ruby_lib/blob/
|
1151
|
+
##### [get_page_class](https://github.com/appium/ruby_lib/blob/4b43cf7b240a7b4cab7b22198ed4dd1307611545/lib/appium_lib/common/helper.rb#L101) common
|
1152
1152
|
|
1153
1153
|
> def get_page_class
|
1154
1154
|
|
@@ -1160,7 +1160,7 @@ __Returns:__
|
|
1160
1160
|
|
1161
1161
|
--
|
1162
1162
|
|
1163
|
-
##### [page_class](https://github.com/appium/ruby_lib/blob/
|
1163
|
+
##### [page_class](https://github.com/appium/ruby_lib/blob/4b43cf7b240a7b4cab7b22198ed4dd1307611545/lib/appium_lib/common/helper.rb#L126) common
|
1164
1164
|
|
1165
1165
|
> def page_class
|
1166
1166
|
|
@@ -1173,7 +1173,7 @@ __Returns:__
|
|
1173
1173
|
|
1174
1174
|
--
|
1175
1175
|
|
1176
|
-
##### [source](https://github.com/appium/ruby_lib/blob/
|
1176
|
+
##### [source](https://github.com/appium/ruby_lib/blob/4b43cf7b240a7b4cab7b22198ed4dd1307611545/lib/appium_lib/common/helper.rb#L133) common
|
1177
1177
|
|
1178
1178
|
> def source
|
1179
1179
|
|
@@ -1185,7 +1185,7 @@ __Returns:__
|
|
1185
1185
|
|
1186
1186
|
--
|
1187
1187
|
|
1188
|
-
##### [get_source](https://github.com/appium/ruby_lib/blob/
|
1188
|
+
##### [get_source](https://github.com/appium/ruby_lib/blob/4b43cf7b240a7b4cab7b22198ed4dd1307611545/lib/appium_lib/common/helper.rb#L140) common
|
1189
1189
|
|
1190
1190
|
> def get_source
|
1191
1191
|
|
@@ -1198,7 +1198,7 @@ __Returns:__
|
|
1198
1198
|
|
1199
1199
|
--
|
1200
1200
|
|
1201
|
-
##### [px_to_window_rel](https://github.com/appium/ruby_lib/blob/
|
1201
|
+
##### [px_to_window_rel](https://github.com/appium/ruby_lib/blob/4b43cf7b240a7b4cab7b22198ed4dd1307611545/lib/appium_lib/common/helper.rb#L150) common
|
1202
1202
|
|
1203
1203
|
> def px_to_window_rel(opts = {}, driver = $driver)
|
1204
1204
|
|
@@ -1206,7 +1206,7 @@ Converts pixel values to window relative values
|
|
1206
1206
|
|
1207
1207
|
--
|
1208
1208
|
|
1209
|
-
##### [xml_keys](https://github.com/appium/ruby_lib/blob/
|
1209
|
+
##### [xml_keys](https://github.com/appium/ruby_lib/blob/4b43cf7b240a7b4cab7b22198ed4dd1307611545/lib/appium_lib/common/helper.rb#L169) common
|
1210
1210
|
|
1211
1211
|
> def xml_keys(target)
|
1212
1212
|
|
@@ -1222,7 +1222,7 @@ __Returns:__
|
|
1222
1222
|
|
1223
1223
|
--
|
1224
1224
|
|
1225
|
-
##### [xml_values](https://github.com/appium/ruby_lib/blob/
|
1225
|
+
##### [xml_values](https://github.com/appium/ruby_lib/blob/4b43cf7b240a7b4cab7b22198ed4dd1307611545/lib/appium_lib/common/helper.rb#L177) common
|
1226
1226
|
|
1227
1227
|
> def xml_values(target)
|
1228
1228
|
|
@@ -1238,7 +1238,7 @@ __Returns:__
|
|
1238
1238
|
|
1239
1239
|
--
|
1240
1240
|
|
1241
|
-
##### [resolve_id](https://github.com/appium/ruby_lib/blob/
|
1241
|
+
##### [resolve_id](https://github.com/appium/ruby_lib/blob/4b43cf7b240a7b4cab7b22198ed4dd1307611545/lib/appium_lib/common/helper.rb#L185) common
|
1242
1242
|
|
1243
1243
|
> def resolve_id(id)
|
1244
1244
|
|
@@ -1254,7 +1254,7 @@ __Returns:__
|
|
1254
1254
|
|
1255
1255
|
--
|
1256
1256
|
|
1257
|
-
##### [filter](https://github.com/appium/ruby_lib/blob/
|
1257
|
+
##### [filter](https://github.com/appium/ruby_lib/blob/4b43cf7b240a7b4cab7b22198ed4dd1307611545/lib/appium_lib/common/helper.rb#L192) common
|
1258
1258
|
|
1259
1259
|
> def filter
|
1260
1260
|
|
@@ -1262,7 +1262,7 @@ Returns the value of attribute filter
|
|
1262
1262
|
|
1263
1263
|
--
|
1264
1264
|
|
1265
|
-
##### [filter=](https://github.com/appium/ruby_lib/blob/
|
1265
|
+
##### [filter=](https://github.com/appium/ruby_lib/blob/4b43cf7b240a7b4cab7b22198ed4dd1307611545/lib/appium_lib/common/helper.rb#L195) common
|
1266
1266
|
|
1267
1267
|
> def filter=(value)
|
1268
1268
|
|
@@ -1270,7 +1270,7 @@ convert to string to support symbols
|
|
1270
1270
|
|
1271
1271
|
--
|
1272
1272
|
|
1273
|
-
##### [initialize](https://github.com/appium/ruby_lib/blob/
|
1273
|
+
##### [initialize](https://github.com/appium/ruby_lib/blob/4b43cf7b240a7b4cab7b22198ed4dd1307611545/lib/appium_lib/common/helper.rb#L202) common
|
1274
1274
|
|
1275
1275
|
> def initialize
|
1276
1276
|
|
@@ -1282,7 +1282,7 @@ __Returns:__
|
|
1282
1282
|
|
1283
1283
|
--
|
1284
1284
|
|
1285
|
-
##### [reset](https://github.com/appium/ruby_lib/blob/
|
1285
|
+
##### [reset](https://github.com/appium/ruby_lib/blob/4b43cf7b240a7b4cab7b22198ed4dd1307611545/lib/appium_lib/common/helper.rb#L207) common
|
1286
1286
|
|
1287
1287
|
> def reset
|
1288
1288
|
|
@@ -1290,7 +1290,7 @@ __Returns:__
|
|
1290
1290
|
|
1291
1291
|
--
|
1292
1292
|
|
1293
|
-
##### [result](https://github.com/appium/ruby_lib/blob/
|
1293
|
+
##### [result](https://github.com/appium/ruby_lib/blob/4b43cf7b240a7b4cab7b22198ed4dd1307611545/lib/appium_lib/common/helper.rb#L213) common
|
1294
1294
|
|
1295
1295
|
> def result
|
1296
1296
|
|
@@ -1298,7 +1298,7 @@ __Returns:__
|
|
1298
1298
|
|
1299
1299
|
--
|
1300
1300
|
|
1301
|
-
##### [start_element](https://github.com/appium/ruby_lib/blob/
|
1301
|
+
##### [start_element](https://github.com/appium/ruby_lib/blob/4b43cf7b240a7b4cab7b22198ed4dd1307611545/lib/appium_lib/common/helper.rb#L226) common
|
1302
1302
|
|
1303
1303
|
> def start_element(name, attrs = [])
|
1304
1304
|
|
@@ -1306,7 +1306,7 @@ __Returns:__
|
|
1306
1306
|
|
1307
1307
|
--
|
1308
1308
|
|
1309
|
-
##### [end_element](https://github.com/appium/ruby_lib/blob/
|
1309
|
+
##### [end_element](https://github.com/appium/ruby_lib/blob/4b43cf7b240a7b4cab7b22198ed4dd1307611545/lib/appium_lib/common/helper.rb#L236) common
|
1310
1310
|
|
1311
1311
|
> def end_element(name)
|
1312
1312
|
|
@@ -1314,7 +1314,7 @@ __Returns:__
|
|
1314
1314
|
|
1315
1315
|
--
|
1316
1316
|
|
1317
|
-
##### [characters](https://github.com/appium/ruby_lib/blob/
|
1317
|
+
##### [characters](https://github.com/appium/ruby_lib/blob/4b43cf7b240a7b4cab7b22198ed4dd1307611545/lib/appium_lib/common/helper.rb#L243) common
|
1318
1318
|
|
1319
1319
|
> def characters(chars)
|
1320
1320
|
|
@@ -1322,7 +1322,7 @@ __Returns:__
|
|
1322
1322
|
|
1323
1323
|
--
|
1324
1324
|
|
1325
|
-
##### [DEFAULT_HEADERS](https://github.com/appium/ruby_lib/blob/
|
1325
|
+
##### [DEFAULT_HEADERS](https://github.com/appium/ruby_lib/blob/4b43cf7b240a7b4cab7b22198ed4dd1307611545/lib/appium_lib/common/http_client.rb#L8) common
|
1326
1326
|
|
1327
1327
|
> DEFAULT_HEADERS = { 'Accept' => CONTENT_TYPE, 'User-Agent' => "appium/ruby_lib/#{::Appium::VERSION}" }.freeze
|
1328
1328
|
|
@@ -1330,7 +1330,7 @@ Default HTTP client inherit Appium::Core::Base::Http::Default, but has different
|
|
1330
1330
|
|
1331
1331
|
--
|
1332
1332
|
|
1333
|
-
##### [pinch](https://github.com/appium/ruby_lib/blob/
|
1333
|
+
##### [pinch](https://github.com/appium/ruby_lib/blob/4b43cf7b240a7b4cab7b22198ed4dd1307611545/lib/appium_lib/common/multi_touch.rb#L51) common
|
1334
1334
|
|
1335
1335
|
> def pinch(percentage = 25, auto_perform = true, driver = $driver)
|
1336
1336
|
|
@@ -1350,7 +1350,7 @@ __Parameters:__
|
|
1350
1350
|
|
1351
1351
|
--
|
1352
1352
|
|
1353
|
-
##### [zoom](https://github.com/appium/ruby_lib/blob/
|
1353
|
+
##### [zoom](https://github.com/appium/ruby_lib/blob/4b43cf7b240a7b4cab7b22198ed4dd1307611545/lib/appium_lib/common/multi_touch.rb#L94) common
|
1354
1354
|
|
1355
1355
|
> def zoom(percentage = 200, auto_perform = true, driver = $driver)
|
1356
1356
|
|
@@ -1370,7 +1370,7 @@ __Parameters:__
|
|
1370
1370
|
|
1371
1371
|
--
|
1372
1372
|
|
1373
|
-
##### [initialize](https://github.com/appium/ruby_lib/blob/
|
1373
|
+
##### [initialize](https://github.com/appium/ruby_lib/blob/4b43cf7b240a7b4cab7b22198ed4dd1307611545/lib/appium_lib/common/multi_touch.rb#L180) common
|
1374
1374
|
|
1375
1375
|
> def initialize(driver = $driver)
|
1376
1376
|
|
@@ -1382,7 +1382,7 @@ __Returns:__
|
|
1382
1382
|
|
1383
1383
|
--
|
1384
1384
|
|
1385
|
-
##### [COMPLEX_ACTIONS](https://github.com/appium/ruby_lib/blob/
|
1385
|
+
##### [COMPLEX_ACTIONS](https://github.com/appium/ruby_lib/blob/4b43cf7b240a7b4cab7b22198ed4dd1307611545/lib/appium_lib/common/touch_actions.rb#L33) common
|
1386
1386
|
|
1387
1387
|
> COMPLEX_ACTIONS = ::Appium::Core::TouchAction::COMPLEX_ACTIONS
|
1388
1388
|
|
@@ -1390,7 +1390,7 @@ __Returns:__
|
|
1390
1390
|
|
1391
1391
|
--
|
1392
1392
|
|
1393
|
-
##### [initialize](https://github.com/appium/ruby_lib/blob/
|
1393
|
+
##### [initialize](https://github.com/appium/ruby_lib/blob/4b43cf7b240a7b4cab7b22198ed4dd1307611545/lib/appium_lib/common/touch_actions.rb#L48) common
|
1394
1394
|
|
1395
1395
|
> def initialize(driver = $driver)
|
1396
1396
|
|
@@ -1402,7 +1402,7 @@ __Returns:__
|
|
1402
1402
|
|
1403
1403
|
--
|
1404
1404
|
|
1405
|
-
##### [swipe](https://github.com/appium/ruby_lib/blob/
|
1405
|
+
##### [swipe](https://github.com/appium/ruby_lib/blob/4b43cf7b240a7b4cab7b22198ed4dd1307611545/lib/appium_lib/common/touch_actions.rb#L52) common
|
1406
1406
|
|
1407
1407
|
> def swipe(opts)
|
1408
1408
|
|
@@ -1410,7 +1410,7 @@ __Returns:__
|
|
1410
1410
|
|
1411
1411
|
--
|
1412
1412
|
|
1413
|
-
##### [initialize](https://github.com/appium/ruby_lib/blob/
|
1413
|
+
##### [initialize](https://github.com/appium/ruby_lib/blob/4b43cf7b240a7b4cab7b22198ed4dd1307611545/lib/appium_lib/common/command/ws_logcat.rb#L5) common
|
1414
1414
|
|
1415
1415
|
> def initialize(url:, output_file: 'logcat.log')
|
1416
1416
|
|
@@ -1422,7 +1422,7 @@ __Returns:__
|
|
1422
1422
|
|
1423
1423
|
--
|
1424
1424
|
|
1425
|
-
##### [handle_message_data](https://github.com/appium/ruby_lib/blob/
|
1425
|
+
##### [handle_message_data](https://github.com/appium/ruby_lib/blob/4b43cf7b240a7b4cab7b22198ed4dd1307611545/lib/appium_lib/common/command/ws_logcat.rb#L10) common
|
1426
1426
|
|
1427
1427
|
> def handle_message_data(data)
|
1428
1428
|
|
@@ -1430,7 +1430,7 @@ __Returns:__
|
|
1430
1430
|
|
1431
1431
|
--
|
1432
1432
|
|
1433
|
-
##### [for](https://github.com/appium/ruby_lib/blob/
|
1433
|
+
##### [for](https://github.com/appium/ruby_lib/blob/4b43cf7b240a7b4cab7b22198ed4dd1307611545/lib/appium_lib/ios/ios.rb#L15) ios
|
1434
1434
|
|
1435
1435
|
> def self.for(target)
|
1436
1436
|
|
@@ -1438,7 +1438,7 @@ __Returns:__
|
|
1438
1438
|
|
1439
1439
|
--
|
1440
1440
|
|
1441
|
-
##### [UIAStaticText](https://github.com/appium/ruby_lib/blob/
|
1441
|
+
##### [UIAStaticText](https://github.com/appium/ruby_lib/blob/4b43cf7b240a7b4cab7b22198ed4dd1307611545/lib/appium_lib/ios/element/text.rb#L4) ios
|
1442
1442
|
|
1443
1443
|
> UIAStaticText = 'UIAStaticText'.freeze
|
1444
1444
|
|
@@ -1446,7 +1446,7 @@ __Returns:__
|
|
1446
1446
|
|
1447
1447
|
--
|
1448
1448
|
|
1449
|
-
##### [XCUIElementTypeStaticText](https://github.com/appium/ruby_lib/blob/
|
1449
|
+
##### [XCUIElementTypeStaticText](https://github.com/appium/ruby_lib/blob/4b43cf7b240a7b4cab7b22198ed4dd1307611545/lib/appium_lib/ios/element/text.rb#L5) ios
|
1450
1450
|
|
1451
1451
|
> XCUIElementTypeStaticText = 'XCUIElementTypeStaticText'.freeze
|
1452
1452
|
|
@@ -1454,7 +1454,7 @@ __Returns:__
|
|
1454
1454
|
|
1455
1455
|
--
|
1456
1456
|
|
1457
|
-
##### [static_text_class](https://github.com/appium/ruby_lib/blob/
|
1457
|
+
##### [static_text_class](https://github.com/appium/ruby_lib/blob/4b43cf7b240a7b4cab7b22198ed4dd1307611545/lib/appium_lib/ios/element/text.rb#L8) ios
|
1458
1458
|
|
1459
1459
|
> def static_text_class
|
1460
1460
|
|
@@ -1466,7 +1466,7 @@ __Returns:__
|
|
1466
1466
|
|
1467
1467
|
--
|
1468
1468
|
|
1469
|
-
##### [text](https://github.com/appium/ruby_lib/blob/
|
1469
|
+
##### [text](https://github.com/appium/ruby_lib/blob/4b43cf7b240a7b4cab7b22198ed4dd1307611545/lib/appium_lib/ios/element/text.rb#L16) ios
|
1470
1470
|
|
1471
1471
|
> def text(value)
|
1472
1472
|
|
@@ -1483,7 +1483,7 @@ __Returns:__
|
|
1483
1483
|
|
1484
1484
|
--
|
1485
1485
|
|
1486
|
-
##### [texts](https://github.com/appium/ruby_lib/blob/
|
1486
|
+
##### [texts](https://github.com/appium/ruby_lib/blob/4b43cf7b240a7b4cab7b22198ed4dd1307611545/lib/appium_lib/ios/element/text.rb#L26) ios
|
1487
1487
|
|
1488
1488
|
> def texts(value = false)
|
1489
1489
|
|
@@ -1500,7 +1500,7 @@ __Returns:__
|
|
1500
1500
|
|
1501
1501
|
--
|
1502
1502
|
|
1503
|
-
##### [first_text](https://github.com/appium/ruby_lib/blob/
|
1503
|
+
##### [first_text](https://github.com/appium/ruby_lib/blob/4b43cf7b240a7b4cab7b22198ed4dd1307611545/lib/appium_lib/ios/element/text.rb#L34) ios
|
1504
1504
|
|
1505
1505
|
> def first_text
|
1506
1506
|
|
@@ -1512,7 +1512,7 @@ __Returns:__
|
|
1512
1512
|
|
1513
1513
|
--
|
1514
1514
|
|
1515
|
-
##### [last_text](https://github.com/appium/ruby_lib/blob/
|
1515
|
+
##### [last_text](https://github.com/appium/ruby_lib/blob/4b43cf7b240a7b4cab7b22198ed4dd1307611545/lib/appium_lib/ios/element/text.rb#L40) ios
|
1516
1516
|
|
1517
1517
|
> def last_text
|
1518
1518
|
|
@@ -1524,7 +1524,7 @@ __Returns:__
|
|
1524
1524
|
|
1525
1525
|
--
|
1526
1526
|
|
1527
|
-
##### [text_exact](https://github.com/appium/ruby_lib/blob/
|
1527
|
+
##### [text_exact](https://github.com/appium/ruby_lib/blob/4b43cf7b240a7b4cab7b22198ed4dd1307611545/lib/appium_lib/ios/element/text.rb#L47) ios
|
1528
1528
|
|
1529
1529
|
> def text_exact(value)
|
1530
1530
|
|
@@ -1540,7 +1540,7 @@ __Returns:__
|
|
1540
1540
|
|
1541
1541
|
--
|
1542
1542
|
|
1543
|
-
##### [texts_exact](https://github.com/appium/ruby_lib/blob/
|
1543
|
+
##### [texts_exact](https://github.com/appium/ruby_lib/blob/4b43cf7b240a7b4cab7b22198ed4dd1307611545/lib/appium_lib/ios/element/text.rb#L54) ios
|
1544
1544
|
|
1545
1545
|
> def texts_exact(value)
|
1546
1546
|
|
@@ -1556,7 +1556,7 @@ __Returns:__
|
|
1556
1556
|
|
1557
1557
|
--
|
1558
1558
|
|
1559
|
-
##### [filter](https://github.com/appium/ruby_lib/blob/
|
1559
|
+
##### [filter](https://github.com/appium/ruby_lib/blob/4b43cf7b240a7b4cab7b22198ed4dd1307611545/lib/appium_lib/ios/common/helper.rb#L5) ios
|
1560
1560
|
|
1561
1561
|
> def filter
|
1562
1562
|
|
@@ -1564,7 +1564,7 @@ Returns the value of attribute filter
|
|
1564
1564
|
|
1565
1565
|
--
|
1566
1566
|
|
1567
|
-
##### [filter=](https://github.com/appium/ruby_lib/blob/
|
1567
|
+
##### [filter=](https://github.com/appium/ruby_lib/blob/4b43cf7b240a7b4cab7b22198ed4dd1307611545/lib/appium_lib/ios/common/helper.rb#L5) ios
|
1568
1568
|
|
1569
1569
|
> def filter=(value)
|
1570
1570
|
|
@@ -1576,7 +1576,7 @@ __Parameters:__
|
|
1576
1576
|
|
1577
1577
|
--
|
1578
1578
|
|
1579
|
-
##### [start_element](https://github.com/appium/ruby_lib/blob/
|
1579
|
+
##### [start_element](https://github.com/appium/ruby_lib/blob/4b43cf7b240a7b4cab7b22198ed4dd1307611545/lib/appium_lib/ios/common/helper.rb#L7) ios
|
1580
1580
|
|
1581
1581
|
> def start_element(type, attrs = [])
|
1582
1582
|
|
@@ -1584,7 +1584,7 @@ __Parameters:__
|
|
1584
1584
|
|
1585
1585
|
--
|
1586
1586
|
|
1587
|
-
##### [ios_password](https://github.com/appium/ruby_lib/blob/
|
1587
|
+
##### [ios_password](https://github.com/appium/ruby_lib/blob/4b43cf7b240a7b4cab7b22198ed4dd1307611545/lib/appium_lib/ios/common/helper.rb#L43) ios
|
1588
1588
|
|
1589
1589
|
> def ios_password(length = 1)
|
1590
1590
|
|
@@ -1602,7 +1602,7 @@ __Returns:__
|
|
1602
1602
|
|
1603
1603
|
--
|
1604
1604
|
|
1605
|
-
##### [page](https://github.com/appium/ruby_lib/blob/
|
1605
|
+
##### [page](https://github.com/appium/ruby_lib/blob/4b43cf7b240a7b4cab7b22198ed4dd1307611545/lib/appium_lib/ios/common/helper.rb#L59) ios
|
1606
1606
|
|
1607
1607
|
> def page(opts = {})
|
1608
1608
|
|
@@ -1620,7 +1620,7 @@ __Returns:__
|
|
1620
1620
|
|
1621
1621
|
--
|
1622
1622
|
|
1623
|
-
##### [id](https://github.com/appium/ruby_lib/blob/
|
1623
|
+
##### [id](https://github.com/appium/ruby_lib/blob/4b43cf7b240a7b4cab7b22198ed4dd1307611545/lib/appium_lib/ios/common/helper.rb#L86) ios
|
1624
1624
|
|
1625
1625
|
> def id(id)
|
1626
1626
|
|
@@ -1636,7 +1636,7 @@ __Returns:__
|
|
1636
1636
|
|
1637
1637
|
--
|
1638
1638
|
|
1639
|
-
##### [ele_index](https://github.com/appium/ruby_lib/blob/
|
1639
|
+
##### [ele_index](https://github.com/appium/ruby_lib/blob/4b43cf7b240a7b4cab7b22198ed4dd1307611545/lib/appium_lib/ios/common/helper.rb#L94) ios
|
1640
1640
|
|
1641
1641
|
> def ele_index(class_name, index)
|
1642
1642
|
|
@@ -1654,7 +1654,7 @@ __Returns:__
|
|
1654
1654
|
|
1655
1655
|
--
|
1656
1656
|
|
1657
|
-
##### [find_ele_by_attr](https://github.com/appium/ruby_lib/blob/
|
1657
|
+
##### [find_ele_by_attr](https://github.com/appium/ruby_lib/blob/4b43cf7b240a7b4cab7b22198ed4dd1307611545/lib/appium_lib/ios/common/helper.rb#L124) ios
|
1658
1658
|
|
1659
1659
|
> def find_ele_by_attr(class_name, attr, value)
|
1660
1660
|
|
@@ -1676,7 +1676,7 @@ __Returns:__
|
|
1676
1676
|
|
1677
1677
|
--
|
1678
1678
|
|
1679
|
-
##### [find_eles_by_attr](https://github.com/appium/ruby_lib/blob/
|
1679
|
+
##### [find_eles_by_attr](https://github.com/appium/ruby_lib/blob/4b43cf7b240a7b4cab7b22198ed4dd1307611545/lib/appium_lib/ios/common/helper.rb#L135) ios
|
1680
1680
|
|
1681
1681
|
> def find_eles_by_attr(class_name, attr, value)
|
1682
1682
|
|
@@ -1698,7 +1698,7 @@ __Returns:__
|
|
1698
1698
|
|
1699
1699
|
--
|
1700
1700
|
|
1701
|
-
##### [find_ele_by_predicate](https://github.com/appium/ruby_lib/blob/
|
1701
|
+
##### [find_ele_by_predicate](https://github.com/appium/ruby_lib/blob/4b43cf7b240a7b4cab7b22198ed4dd1307611545/lib/appium_lib/ios/common/helper.rb#L148) ios
|
1702
1702
|
|
1703
1703
|
> def find_ele_by_predicate(class_name: '*', value:)
|
1704
1704
|
|
@@ -1715,7 +1715,7 @@ __Returns:__
|
|
1715
1715
|
|
1716
1716
|
--
|
1717
1717
|
|
1718
|
-
##### [find_eles_by_predicate](https://github.com/appium/ruby_lib/blob/
|
1718
|
+
##### [find_eles_by_predicate](https://github.com/appium/ruby_lib/blob/4b43cf7b240a7b4cab7b22198ed4dd1307611545/lib/appium_lib/ios/common/helper.rb#L160) ios
|
1719
1719
|
|
1720
1720
|
> def find_eles_by_predicate(class_name: '*', value:)
|
1721
1721
|
|
@@ -1734,7 +1734,7 @@ __Returns:__
|
|
1734
1734
|
|
1735
1735
|
--
|
1736
1736
|
|
1737
|
-
##### [find_ele_by_attr_include](https://github.com/appium/ruby_lib/blob/
|
1737
|
+
##### [find_ele_by_attr_include](https://github.com/appium/ruby_lib/blob/4b43cf7b240a7b4cab7b22198ed4dd1307611545/lib/appium_lib/ios/common/helper.rb#L176) ios
|
1738
1738
|
|
1739
1739
|
> def find_ele_by_attr_include(class_name, attr, value)
|
1740
1740
|
|
@@ -1755,7 +1755,7 @@ __Returns:__
|
|
1755
1755
|
|
1756
1756
|
--
|
1757
1757
|
|
1758
|
-
##### [find_eles_by_attr_include](https://github.com/appium/ruby_lib/blob/
|
1758
|
+
##### [find_eles_by_attr_include](https://github.com/appium/ruby_lib/blob/4b43cf7b240a7b4cab7b22198ed4dd1307611545/lib/appium_lib/ios/common/helper.rb#L186) ios
|
1759
1759
|
|
1760
1760
|
> def find_eles_by_attr_include(class_name, attr, value)
|
1761
1761
|
|
@@ -1776,7 +1776,7 @@ __Returns:__
|
|
1776
1776
|
|
1777
1777
|
--
|
1778
1778
|
|
1779
|
-
##### [find_ele_by_predicate_include](https://github.com/appium/ruby_lib/blob/
|
1779
|
+
##### [find_ele_by_predicate_include](https://github.com/appium/ruby_lib/blob/4b43cf7b240a7b4cab7b22198ed4dd1307611545/lib/appium_lib/ios/common/helper.rb#L194) ios
|
1780
1780
|
|
1781
1781
|
> def find_ele_by_predicate_include(class_name: '*', value:)
|
1782
1782
|
|
@@ -1793,7 +1793,7 @@ __Returns:__
|
|
1793
1793
|
|
1794
1794
|
--
|
1795
1795
|
|
1796
|
-
##### [find_eles_by_predicate_include](https://github.com/appium/ruby_lib/blob/
|
1796
|
+
##### [find_eles_by_predicate_include](https://github.com/appium/ruby_lib/blob/4b43cf7b240a7b4cab7b22198ed4dd1307611545/lib/appium_lib/ios/common/helper.rb#L206) ios
|
1797
1797
|
|
1798
1798
|
> def find_eles_by_predicate_include(class_name: '*', value:)
|
1799
1799
|
|
@@ -1812,7 +1812,7 @@ __Returns:__
|
|
1812
1812
|
|
1813
1813
|
--
|
1814
1814
|
|
1815
|
-
##### [first_ele](https://github.com/appium/ruby_lib/blob/
|
1815
|
+
##### [first_ele](https://github.com/appium/ruby_lib/blob/4b43cf7b240a7b4cab7b22198ed4dd1307611545/lib/appium_lib/ios/common/helper.rb#L219) ios
|
1816
1816
|
|
1817
1817
|
> def first_ele(class_name)
|
1818
1818
|
|
@@ -1828,7 +1828,7 @@ __Returns:__
|
|
1828
1828
|
|
1829
1829
|
--
|
1830
1830
|
|
1831
|
-
##### [last_ele](https://github.com/appium/ruby_lib/blob/
|
1831
|
+
##### [last_ele](https://github.com/appium/ruby_lib/blob/4b43cf7b240a7b4cab7b22198ed4dd1307611545/lib/appium_lib/ios/common/helper.rb#L226) ios
|
1832
1832
|
|
1833
1833
|
> def last_ele(class_name)
|
1834
1834
|
|
@@ -1844,7 +1844,7 @@ __Returns:__
|
|
1844
1844
|
|
1845
1845
|
--
|
1846
1846
|
|
1847
|
-
##### [tag](https://github.com/appium/ruby_lib/blob/
|
1847
|
+
##### [tag](https://github.com/appium/ruby_lib/blob/4b43cf7b240a7b4cab7b22198ed4dd1307611545/lib/appium_lib/ios/common/helper.rb#L234) ios
|
1848
1848
|
|
1849
1849
|
> def tag(class_name)
|
1850
1850
|
|
@@ -1860,7 +1860,7 @@ __Returns:__
|
|
1860
1860
|
|
1861
1861
|
--
|
1862
1862
|
|
1863
|
-
##### [tags](https://github.com/appium/ruby_lib/blob/
|
1863
|
+
##### [tags](https://github.com/appium/ruby_lib/blob/4b43cf7b240a7b4cab7b22198ed4dd1307611545/lib/appium_lib/ios/common/helper.rb#L242) ios
|
1864
1864
|
|
1865
1865
|
> def tags(class_name)
|
1866
1866
|
|
@@ -1876,7 +1876,7 @@ __Returns:__
|
|
1876
1876
|
|
1877
1877
|
--
|
1878
1878
|
|
1879
|
-
##### [tags_include](https://github.com/appium/ruby_lib/blob/
|
1879
|
+
##### [tags_include](https://github.com/appium/ruby_lib/blob/4b43cf7b240a7b4cab7b22198ed4dd1307611545/lib/appium_lib/ios/common/helper.rb#L253) ios
|
1880
1880
|
|
1881
1881
|
> def tags_include(class_names:, value: nil)
|
1882
1882
|
|
@@ -1896,7 +1896,7 @@ __Returns:__
|
|
1896
1896
|
|
1897
1897
|
--
|
1898
1898
|
|
1899
|
-
##### [tags_exact](https://github.com/appium/ruby_lib/blob/
|
1899
|
+
##### [tags_exact](https://github.com/appium/ruby_lib/blob/4b43cf7b240a7b4cab7b22198ed4dd1307611545/lib/appium_lib/ios/common/helper.rb#L268) ios
|
1900
1900
|
|
1901
1901
|
> def tags_exact(class_names:, value: nil)
|
1902
1902
|
|
@@ -1916,7 +1916,7 @@ __Returns:__
|
|
1916
1916
|
|
1917
1917
|
--
|
1918
1918
|
|
1919
|
-
##### [ele_by_json_visible_contains](https://github.com/appium/ruby_lib/blob/
|
1919
|
+
##### [ele_by_json_visible_contains](https://github.com/appium/ruby_lib/blob/4b43cf7b240a7b4cab7b22198ed4dd1307611545/lib/appium_lib/ios/common/helper.rb#L305) ios
|
1920
1920
|
|
1921
1921
|
> def ele_by_json_visible_contains(element, value)
|
1922
1922
|
|
@@ -1935,7 +1935,7 @@ __Returns:__
|
|
1935
1935
|
|
1936
1936
|
--
|
1937
1937
|
|
1938
|
-
##### [eles_by_json_visible_contains](https://github.com/appium/ruby_lib/blob/
|
1938
|
+
##### [eles_by_json_visible_contains](https://github.com/appium/ruby_lib/blob/4b43cf7b240a7b4cab7b22198ed4dd1307611545/lib/appium_lib/ios/common/helper.rb#L314) ios
|
1939
1939
|
|
1940
1940
|
> def eles_by_json_visible_contains(element, value)
|
1941
1941
|
|
@@ -1954,7 +1954,7 @@ __Returns:__
|
|
1954
1954
|
|
1955
1955
|
--
|
1956
1956
|
|
1957
|
-
##### [ele_by_json_visible_exact](https://github.com/appium/ruby_lib/blob/
|
1957
|
+
##### [ele_by_json_visible_exact](https://github.com/appium/ruby_lib/blob/4b43cf7b240a7b4cab7b22198ed4dd1307611545/lib/appium_lib/ios/common/helper.rb#L344) ios
|
1958
1958
|
|
1959
1959
|
> def ele_by_json_visible_exact(element, value)
|
1960
1960
|
|
@@ -1973,7 +1973,7 @@ __Returns:__
|
|
1973
1973
|
|
1974
1974
|
--
|
1975
1975
|
|
1976
|
-
##### [eles_by_json_visible_exact](https://github.com/appium/ruby_lib/blob/
|
1976
|
+
##### [eles_by_json_visible_exact](https://github.com/appium/ruby_lib/blob/4b43cf7b240a7b4cab7b22198ed4dd1307611545/lib/appium_lib/ios/common/helper.rb#L353) ios
|
1977
1977
|
|
1978
1978
|
> def eles_by_json_visible_exact(element, value)
|
1979
1979
|
|
@@ -1992,7 +1992,7 @@ __Returns:__
|
|
1992
1992
|
|
1993
1993
|
--
|
1994
1994
|
|
1995
|
-
##### [_all_pred](https://github.com/appium/ruby_lib/blob/
|
1995
|
+
##### [_all_pred](https://github.com/appium/ruby_lib/blob/4b43cf7b240a7b4cab7b22198ed4dd1307611545/lib/appium_lib/ios/common/helper.rb#L362) ios
|
1996
1996
|
|
1997
1997
|
> def _all_pred(opts)
|
1998
1998
|
|
@@ -2002,7 +2002,7 @@ visible - if true, only visible elements are returned. default true
|
|
2002
2002
|
|
2003
2003
|
--
|
2004
2004
|
|
2005
|
-
##### [ele_with_pred](https://github.com/appium/ruby_lib/blob/
|
2005
|
+
##### [ele_with_pred](https://github.com/appium/ruby_lib/blob/4b43cf7b240a7b4cab7b22198ed4dd1307611545/lib/appium_lib/ios/common/helper.rb#L376) ios
|
2006
2006
|
|
2007
2007
|
> def ele_with_pred(opts)
|
2008
2008
|
|
@@ -2018,7 +2018,7 @@ __Returns:__
|
|
2018
2018
|
|
2019
2019
|
--
|
2020
2020
|
|
2021
|
-
##### [eles_with_pred](https://github.com/appium/ruby_lib/blob/
|
2021
|
+
##### [eles_with_pred](https://github.com/appium/ruby_lib/blob/4b43cf7b240a7b4cab7b22198ed4dd1307611545/lib/appium_lib/ios/common/helper.rb#L387) ios
|
2022
2022
|
|
2023
2023
|
> def eles_with_pred(opts)
|
2024
2024
|
|
@@ -2034,7 +2034,7 @@ __Returns:__
|
|
2034
2034
|
|
2035
2035
|
--
|
2036
2036
|
|
2037
|
-
##### [_validate_object](https://github.com/appium/ruby_lib/blob/
|
2037
|
+
##### [_validate_object](https://github.com/appium/ruby_lib/blob/4b43cf7b240a7b4cab7b22198ed4dd1307611545/lib/appium_lib/ios/common/helper.rb#L391) ios
|
2038
2038
|
|
2039
2039
|
> def _validate_object(*objects)
|
2040
2040
|
|
@@ -2042,7 +2042,7 @@ __Returns:__
|
|
2042
2042
|
|
2043
2043
|
--
|
2044
2044
|
|
2045
|
-
##### [_by_json](https://github.com/appium/ruby_lib/blob/
|
2045
|
+
##### [_by_json](https://github.com/appium/ruby_lib/blob/4b43cf7b240a7b4cab7b22198ed4dd1307611545/lib/appium_lib/ios/common/helper.rb#L441) ios
|
2046
2046
|
|
2047
2047
|
> def _by_json(opts)
|
2048
2048
|
|
@@ -2077,7 +2077,7 @@ opts = {
|
|
2077
2077
|
|
2078
2078
|
--
|
2079
2079
|
|
2080
|
-
##### [eles_by_json](https://github.com/appium/ruby_lib/blob/
|
2080
|
+
##### [eles_by_json](https://github.com/appium/ruby_lib/blob/4b43cf7b240a7b4cab7b22198ed4dd1307611545/lib/appium_lib/ios/common/helper.rb#L491) ios
|
2081
2081
|
|
2082
2082
|
> def eles_by_json(opts)
|
2083
2083
|
|
@@ -2096,7 +2096,7 @@ eles_by_json({
|
|
2096
2096
|
|
2097
2097
|
--
|
2098
2098
|
|
2099
|
-
##### [ele_by_json](https://github.com/appium/ruby_lib/blob/
|
2099
|
+
##### [ele_by_json](https://github.com/appium/ruby_lib/blob/4b43cf7b240a7b4cab7b22198ed4dd1307611545/lib/appium_lib/ios/common/helper.rb#L497) ios
|
2100
2100
|
|
2101
2101
|
> def ele_by_json(opts)
|
2102
2102
|
|
@@ -2104,7 +2104,7 @@ see eles_by_json
|
|
2104
2104
|
|
2105
2105
|
--
|
2106
2106
|
|
2107
|
-
##### [alert_accept](https://github.com/appium/ruby_lib/blob/
|
2107
|
+
##### [alert_accept](https://github.com/appium/ruby_lib/blob/4b43cf7b240a7b4cab7b22198ed4dd1307611545/lib/appium_lib/ios/element/alert.rb#L5) ios
|
2108
2108
|
|
2109
2109
|
> def alert_accept
|
2110
2110
|
|
@@ -2116,7 +2116,7 @@ __Returns:__
|
|
2116
2116
|
|
2117
2117
|
--
|
2118
2118
|
|
2119
|
-
##### [alert_dismiss](https://github.com/appium/ruby_lib/blob/
|
2119
|
+
##### [alert_dismiss](https://github.com/appium/ruby_lib/blob/4b43cf7b240a7b4cab7b22198ed4dd1307611545/lib/appium_lib/ios/element/alert.rb#L13) ios
|
2120
2120
|
|
2121
2121
|
> def alert_dismiss
|
2122
2122
|
|
@@ -2128,7 +2128,7 @@ __Returns:__
|
|
2128
2128
|
|
2129
2129
|
--
|
2130
2130
|
|
2131
|
-
##### [UIAButton](https://github.com/appium/ruby_lib/blob/
|
2131
|
+
##### [UIAButton](https://github.com/appium/ruby_lib/blob/4b43cf7b240a7b4cab7b22198ed4dd1307611545/lib/appium_lib/ios/element/button.rb#L4) ios
|
2132
2132
|
|
2133
2133
|
> UIAButton = 'UIAButton'.freeze
|
2134
2134
|
|
@@ -2136,7 +2136,7 @@ __Returns:__
|
|
2136
2136
|
|
2137
2137
|
--
|
2138
2138
|
|
2139
|
-
##### [XCUIElementTypeButton](https://github.com/appium/ruby_lib/blob/
|
2139
|
+
##### [XCUIElementTypeButton](https://github.com/appium/ruby_lib/blob/4b43cf7b240a7b4cab7b22198ed4dd1307611545/lib/appium_lib/ios/element/button.rb#L5) ios
|
2140
2140
|
|
2141
2141
|
> XCUIElementTypeButton = 'XCUIElementTypeButton'.freeze
|
2142
2142
|
|
@@ -2144,7 +2144,7 @@ __Returns:__
|
|
2144
2144
|
|
2145
2145
|
--
|
2146
2146
|
|
2147
|
-
##### [button_class](https://github.com/appium/ruby_lib/blob/
|
2147
|
+
##### [button_class](https://github.com/appium/ruby_lib/blob/4b43cf7b240a7b4cab7b22198ed4dd1307611545/lib/appium_lib/ios/element/button.rb#L8) ios
|
2148
2148
|
|
2149
2149
|
> def button_class
|
2150
2150
|
|
@@ -2156,7 +2156,7 @@ __Returns:__
|
|
2156
2156
|
|
2157
2157
|
--
|
2158
2158
|
|
2159
|
-
##### [button](https://github.com/appium/ruby_lib/blob/
|
2159
|
+
##### [button](https://github.com/appium/ruby_lib/blob/4b43cf7b240a7b4cab7b22198ed4dd1307611545/lib/appium_lib/ios/element/button.rb#L16) ios
|
2160
2160
|
|
2161
2161
|
> def button(value)
|
2162
2162
|
|
@@ -2173,7 +2173,7 @@ __Returns:__
|
|
2173
2173
|
|
2174
2174
|
--
|
2175
2175
|
|
2176
|
-
##### [buttons](https://github.com/appium/ruby_lib/blob/
|
2176
|
+
##### [buttons](https://github.com/appium/ruby_lib/blob/4b43cf7b240a7b4cab7b22198ed4dd1307611545/lib/appium_lib/ios/element/button.rb#L27) ios
|
2177
2177
|
|
2178
2178
|
> def buttons(value = false)
|
2179
2179
|
|
@@ -2190,7 +2190,7 @@ __Returns:__
|
|
2190
2190
|
|
2191
2191
|
--
|
2192
2192
|
|
2193
|
-
##### [first_button](https://github.com/appium/ruby_lib/blob/
|
2193
|
+
##### [first_button](https://github.com/appium/ruby_lib/blob/4b43cf7b240a7b4cab7b22198ed4dd1307611545/lib/appium_lib/ios/element/button.rb#L35) ios
|
2194
2194
|
|
2195
2195
|
> def first_button
|
2196
2196
|
|
@@ -2202,7 +2202,7 @@ __Returns:__
|
|
2202
2202
|
|
2203
2203
|
--
|
2204
2204
|
|
2205
|
-
##### [last_button](https://github.com/appium/ruby_lib/blob/
|
2205
|
+
##### [last_button](https://github.com/appium/ruby_lib/blob/4b43cf7b240a7b4cab7b22198ed4dd1307611545/lib/appium_lib/ios/element/button.rb#L43) ios
|
2206
2206
|
|
2207
2207
|
> def last_button
|
2208
2208
|
|
@@ -2216,7 +2216,7 @@ __Returns:__
|
|
2216
2216
|
|
2217
2217
|
--
|
2218
2218
|
|
2219
|
-
##### [button_exact](https://github.com/appium/ruby_lib/blob/
|
2219
|
+
##### [button_exact](https://github.com/appium/ruby_lib/blob/4b43cf7b240a7b4cab7b22198ed4dd1307611545/lib/appium_lib/ios/element/button.rb#L50) ios
|
2220
2220
|
|
2221
2221
|
> def button_exact(value)
|
2222
2222
|
|
@@ -2232,7 +2232,7 @@ __Returns:__
|
|
2232
2232
|
|
2233
2233
|
--
|
2234
2234
|
|
2235
|
-
##### [buttons_exact](https://github.com/appium/ruby_lib/blob/
|
2235
|
+
##### [buttons_exact](https://github.com/appium/ruby_lib/blob/4b43cf7b240a7b4cab7b22198ed4dd1307611545/lib/appium_lib/ios/element/button.rb#L57) ios
|
2236
2236
|
|
2237
2237
|
> def buttons_exact(value)
|
2238
2238
|
|
@@ -2248,7 +2248,7 @@ __Returns:__
|
|
2248
2248
|
|
2249
2249
|
--
|
2250
2250
|
|
2251
|
-
##### [find](https://github.com/appium/ruby_lib/blob/
|
2251
|
+
##### [find](https://github.com/appium/ruby_lib/blob/4b43cf7b240a7b4cab7b22198ed4dd1307611545/lib/appium_lib/ios/element/generic.rb#L6) ios
|
2252
2252
|
|
2253
2253
|
> def find(value)
|
2254
2254
|
|
@@ -2264,7 +2264,7 @@ __Returns:__
|
|
2264
2264
|
|
2265
2265
|
--
|
2266
2266
|
|
2267
|
-
##### [finds](https://github.com/appium/ruby_lib/blob/
|
2267
|
+
##### [finds](https://github.com/appium/ruby_lib/blob/4b43cf7b240a7b4cab7b22198ed4dd1307611545/lib/appium_lib/ios/element/generic.rb#L13) ios
|
2268
2268
|
|
2269
2269
|
> def finds(value)
|
2270
2270
|
|
@@ -2280,7 +2280,7 @@ __Returns:__
|
|
2280
2280
|
|
2281
2281
|
--
|
2282
2282
|
|
2283
|
-
##### [find_exact](https://github.com/appium/ruby_lib/blob/
|
2283
|
+
##### [find_exact](https://github.com/appium/ruby_lib/blob/4b43cf7b240a7b4cab7b22198ed4dd1307611545/lib/appium_lib/ios/element/generic.rb#L20) ios
|
2284
2284
|
|
2285
2285
|
> def find_exact(value)
|
2286
2286
|
|
@@ -2296,7 +2296,7 @@ __Returns:__
|
|
2296
2296
|
|
2297
2297
|
--
|
2298
2298
|
|
2299
|
-
##### [finds_exact](https://github.com/appium/ruby_lib/blob/
|
2299
|
+
##### [finds_exact](https://github.com/appium/ruby_lib/blob/4b43cf7b240a7b4cab7b22198ed4dd1307611545/lib/appium_lib/ios/element/generic.rb#L27) ios
|
2300
2300
|
|
2301
2301
|
> def finds_exact(value)
|
2302
2302
|
|
@@ -2312,7 +2312,7 @@ __Returns:__
|
|
2312
2312
|
|
2313
2313
|
--
|
2314
2314
|
|
2315
|
-
##### [raise_error_if_no_element](https://github.com/appium/ruby_lib/blob/
|
2315
|
+
##### [raise_error_if_no_element](https://github.com/appium/ruby_lib/blob/4b43cf7b240a7b4cab7b22198ed4dd1307611545/lib/appium_lib/ios/element/generic.rb#L33) ios
|
2316
2316
|
|
2317
2317
|
> def raise_error_if_no_element(element)
|
2318
2318
|
|
@@ -2320,7 +2320,7 @@ __Returns:__
|
|
2320
2320
|
|
2321
2321
|
--
|
2322
2322
|
|
2323
|
-
##### [select_visible_elements](https://github.com/appium/ruby_lib/blob/
|
2323
|
+
##### [select_visible_elements](https://github.com/appium/ruby_lib/blob/4b43cf7b240a7b4cab7b22198ed4dd1307611545/lib/appium_lib/ios/element/generic.rb#L41) ios
|
2324
2324
|
|
2325
2325
|
> def select_visible_elements(elements)
|
2326
2326
|
|
@@ -2328,7 +2328,7 @@ Return visible elements.
|
|
2328
2328
|
|
2329
2329
|
--
|
2330
2330
|
|
2331
|
-
##### [for](https://github.com/appium/ruby_lib/blob/
|
2331
|
+
##### [for](https://github.com/appium/ruby_lib/blob/4b43cf7b240a7b4cab7b22198ed4dd1307611545/lib/appium_lib/ios/xcuitest/bridge.rb#L7) ios
|
2332
2332
|
|
2333
2333
|
> def self.for(target)
|
2334
2334
|
|
@@ -2336,7 +2336,7 @@ Return visible elements.
|
|
2336
2336
|
|
2337
2337
|
--
|
2338
2338
|
|
2339
|
-
##### [last_ele](https://github.com/appium/ruby_lib/blob/
|
2339
|
+
##### [last_ele](https://github.com/appium/ruby_lib/blob/4b43cf7b240a7b4cab7b22198ed4dd1307611545/lib/appium_lib/ios/xcuitest/helper.rb#L26) ios
|
2340
2340
|
|
2341
2341
|
> def last_ele(class_name)
|
2342
2342
|
|
@@ -2352,7 +2352,7 @@ __Returns:__
|
|
2352
2352
|
|
2353
2353
|
--
|
2354
2354
|
|
2355
|
-
##### [tag](https://github.com/appium/ruby_lib/blob/
|
2355
|
+
##### [tag](https://github.com/appium/ruby_lib/blob/4b43cf7b240a7b4cab7b22198ed4dd1307611545/lib/appium_lib/ios/xcuitest/helper.rb#L37) ios
|
2356
2356
|
|
2357
2357
|
> def tag(class_name)
|
2358
2358
|
|
@@ -2368,7 +2368,7 @@ __Returns:__
|
|
2368
2368
|
|
2369
2369
|
--
|
2370
2370
|
|
2371
|
-
##### [tags](https://github.com/appium/ruby_lib/blob/
|
2371
|
+
##### [tags](https://github.com/appium/ruby_lib/blob/4b43cf7b240a7b4cab7b22198ed4dd1307611545/lib/appium_lib/ios/xcuitest/helper.rb#L45) ios
|
2372
2372
|
|
2373
2373
|
> def tags(class_name)
|
2374
2374
|
|
@@ -2384,7 +2384,7 @@ __Returns:__
|
|
2384
2384
|
|
2385
2385
|
--
|
2386
2386
|
|
2387
|
-
##### [tags_include](https://github.com/appium/ruby_lib/blob/
|
2387
|
+
##### [tags_include](https://github.com/appium/ruby_lib/blob/4b43cf7b240a7b4cab7b22198ed4dd1307611545/lib/appium_lib/ios/xcuitest/helper.rb#L57) ios
|
2388
2388
|
|
2389
2389
|
> def tags_include(class_names:, value: nil)
|
2390
2390
|
|
@@ -2404,7 +2404,7 @@ __Returns:__
|
|
2404
2404
|
|
2405
2405
|
--
|
2406
2406
|
|
2407
|
-
##### [tags_exact](https://github.com/appium/ruby_lib/blob/
|
2407
|
+
##### [tags_exact](https://github.com/appium/ruby_lib/blob/4b43cf7b240a7b4cab7b22198ed4dd1307611545/lib/appium_lib/ios/xcuitest/helper.rb#L79) ios
|
2408
2408
|
|
2409
2409
|
> def tags_exact(class_names:, value: nil)
|
2410
2410
|
|
@@ -2424,7 +2424,7 @@ __Returns:__
|
|
2424
2424
|
|
2425
2425
|
--
|
2426
2426
|
|
2427
|
-
##### [start_logs_broadcast](https://github.com/appium/ruby_lib/blob/
|
2427
|
+
##### [start_logs_broadcast](https://github.com/appium/ruby_lib/blob/4b43cf7b240a7b4cab7b22198ed4dd1307611545/lib/appium_lib/ios/xcuitest/command.rb#L19) ios
|
2428
2428
|
|
2429
2429
|
> def start_logs_broadcast(syslog_file = 'syslog.log')
|
2430
2430
|
|
@@ -2436,7 +2436,7 @@ __Parameters:__
|
|
2436
2436
|
|
2437
2437
|
--
|
2438
2438
|
|
2439
|
-
##### [stop_logs_broadcast](https://github.com/appium/ruby_lib/blob/
|
2439
|
+
##### [stop_logs_broadcast](https://github.com/appium/ruby_lib/blob/4b43cf7b240a7b4cab7b22198ed4dd1307611545/lib/appium_lib/ios/xcuitest/command.rb#L32) ios
|
2440
2440
|
|
2441
2441
|
> def stop_logs_broadcast
|
2442
2442
|
|
@@ -2444,7 +2444,7 @@ Stop iOS syslog broadcast websocket
|
|
2444
2444
|
|
2445
2445
|
--
|
2446
2446
|
|
2447
|
-
##### [UIATextField](https://github.com/appium/ruby_lib/blob/
|
2447
|
+
##### [UIATextField](https://github.com/appium/ruby_lib/blob/4b43cf7b240a7b4cab7b22198ed4dd1307611545/lib/appium_lib/ios/element/textfield.rb#L3) ios
|
2448
2448
|
|
2449
2449
|
> UIATextField = 'UIATextField'.freeze
|
2450
2450
|
|
@@ -2452,7 +2452,7 @@ Stop iOS syslog broadcast websocket
|
|
2452
2452
|
|
2453
2453
|
--
|
2454
2454
|
|
2455
|
-
##### [UIASecureTextField](https://github.com/appium/ruby_lib/blob/
|
2455
|
+
##### [UIASecureTextField](https://github.com/appium/ruby_lib/blob/4b43cf7b240a7b4cab7b22198ed4dd1307611545/lib/appium_lib/ios/element/textfield.rb#L4) ios
|
2456
2456
|
|
2457
2457
|
> UIASecureTextField = 'UIASecureTextField'.freeze
|
2458
2458
|
|
@@ -2460,7 +2460,7 @@ Stop iOS syslog broadcast websocket
|
|
2460
2460
|
|
2461
2461
|
--
|
2462
2462
|
|
2463
|
-
##### [XCUIElementTypeTextField](https://github.com/appium/ruby_lib/blob/
|
2463
|
+
##### [XCUIElementTypeTextField](https://github.com/appium/ruby_lib/blob/4b43cf7b240a7b4cab7b22198ed4dd1307611545/lib/appium_lib/ios/element/textfield.rb#L6) ios
|
2464
2464
|
|
2465
2465
|
> XCUIElementTypeTextField = 'XCUIElementTypeTextField'.freeze
|
2466
2466
|
|
@@ -2468,7 +2468,7 @@ Stop iOS syslog broadcast websocket
|
|
2468
2468
|
|
2469
2469
|
--
|
2470
2470
|
|
2471
|
-
##### [XCUIElementTypeSecureTextField](https://github.com/appium/ruby_lib/blob/
|
2471
|
+
##### [XCUIElementTypeSecureTextField](https://github.com/appium/ruby_lib/blob/4b43cf7b240a7b4cab7b22198ed4dd1307611545/lib/appium_lib/ios/element/textfield.rb#L7) ios
|
2472
2472
|
|
2473
2473
|
> XCUIElementTypeSecureTextField = 'XCUIElementTypeSecureTextField'.freeze
|
2474
2474
|
|
@@ -2476,7 +2476,7 @@ Stop iOS syslog broadcast websocket
|
|
2476
2476
|
|
2477
2477
|
--
|
2478
2478
|
|
2479
|
-
##### [text_field_class](https://github.com/appium/ruby_lib/blob/
|
2479
|
+
##### [text_field_class](https://github.com/appium/ruby_lib/blob/4b43cf7b240a7b4cab7b22198ed4dd1307611545/lib/appium_lib/ios/element/textfield.rb#L10) ios
|
2480
2480
|
|
2481
2481
|
> def text_field_class
|
2482
2482
|
|
@@ -2488,7 +2488,7 @@ __Returns:__
|
|
2488
2488
|
|
2489
2489
|
--
|
2490
2490
|
|
2491
|
-
##### [secure_text_field_class](https://github.com/appium/ruby_lib/blob/
|
2491
|
+
##### [secure_text_field_class](https://github.com/appium/ruby_lib/blob/4b43cf7b240a7b4cab7b22198ed4dd1307611545/lib/appium_lib/ios/element/textfield.rb#L15) ios
|
2492
2492
|
|
2493
2493
|
> def secure_text_field_class
|
2494
2494
|
|
@@ -2500,7 +2500,7 @@ __Returns:__
|
|
2500
2500
|
|
2501
2501
|
--
|
2502
2502
|
|
2503
|
-
##### [textfield](https://github.com/appium/ruby_lib/blob/
|
2503
|
+
##### [textfield](https://github.com/appium/ruby_lib/blob/4b43cf7b240a7b4cab7b22198ed4dd1307611545/lib/appium_lib/ios/element/textfield.rb#L24) ios
|
2504
2504
|
|
2505
2505
|
> def textfield(value)
|
2506
2506
|
|
@@ -2518,7 +2518,7 @@ __Returns:__
|
|
2518
2518
|
|
2519
2519
|
--
|
2520
2520
|
|
2521
|
-
##### [textfields](https://github.com/appium/ruby_lib/blob/
|
2521
|
+
##### [textfields](https://github.com/appium/ruby_lib/blob/4b43cf7b240a7b4cab7b22198ed4dd1307611545/lib/appium_lib/ios/element/textfield.rb#L43) ios
|
2522
2522
|
|
2523
2523
|
> def textfields(value = false)
|
2524
2524
|
|
@@ -2535,7 +2535,7 @@ __Returns:__
|
|
2535
2535
|
|
2536
2536
|
--
|
2537
2537
|
|
2538
|
-
##### [first_textfield](https://github.com/appium/ruby_lib/blob/
|
2538
|
+
##### [first_textfield](https://github.com/appium/ruby_lib/blob/4b43cf7b240a7b4cab7b22198ed4dd1307611545/lib/appium_lib/ios/element/textfield.rb#L51) ios
|
2539
2539
|
|
2540
2540
|
> def first_textfield
|
2541
2541
|
|
@@ -2547,7 +2547,7 @@ __Returns:__
|
|
2547
2547
|
|
2548
2548
|
--
|
2549
2549
|
|
2550
|
-
##### [last_textfield](https://github.com/appium/ruby_lib/blob/
|
2550
|
+
##### [last_textfield](https://github.com/appium/ruby_lib/blob/4b43cf7b240a7b4cab7b22198ed4dd1307611545/lib/appium_lib/ios/element/textfield.rb#L57) ios
|
2551
2551
|
|
2552
2552
|
> def last_textfield
|
2553
2553
|
|
@@ -2559,7 +2559,7 @@ __Returns:__
|
|
2559
2559
|
|
2560
2560
|
--
|
2561
2561
|
|
2562
|
-
##### [textfield_exact](https://github.com/appium/ruby_lib/blob/
|
2562
|
+
##### [textfield_exact](https://github.com/appium/ruby_lib/blob/4b43cf7b240a7b4cab7b22198ed4dd1307611545/lib/appium_lib/ios/element/textfield.rb#L67) ios
|
2563
2563
|
|
2564
2564
|
> def textfield_exact(value)
|
2565
2565
|
|
@@ -2575,7 +2575,7 @@ __Returns:__
|
|
2575
2575
|
|
2576
2576
|
--
|
2577
2577
|
|
2578
|
-
##### [textfields_exact](https://github.com/appium/ruby_lib/blob/
|
2578
|
+
##### [textfields_exact](https://github.com/appium/ruby_lib/blob/4b43cf7b240a7b4cab7b22198ed4dd1307611545/lib/appium_lib/ios/element/textfield.rb#L74) ios
|
2579
2579
|
|
2580
2580
|
> def textfields_exact(value)
|
2581
2581
|
|
@@ -2591,7 +2591,7 @@ __Returns:__
|
|
2591
2591
|
|
2592
2592
|
--
|
2593
2593
|
|
2594
|
-
##### [_textfield_visible](https://github.com/appium/ruby_lib/blob/
|
2594
|
+
##### [_textfield_visible](https://github.com/appium/ruby_lib/blob/4b43cf7b240a7b4cab7b22198ed4dd1307611545/lib/appium_lib/ios/element/textfield.rb#L81) ios
|
2595
2595
|
|
2596
2596
|
> def _textfield_visible
|
2597
2597
|
|
@@ -2599,7 +2599,7 @@ Appium
|
|
2599
2599
|
|
2600
2600
|
--
|
2601
2601
|
|
2602
|
-
##### [_textfield_exact_string](https://github.com/appium/ruby_lib/blob/
|
2602
|
+
##### [_textfield_exact_string](https://github.com/appium/ruby_lib/blob/4b43cf7b240a7b4cab7b22198ed4dd1307611545/lib/appium_lib/ios/element/textfield.rb#L86) ios
|
2603
2603
|
|
2604
2604
|
> def _textfield_exact_string(value)
|
2605
2605
|
|
@@ -2607,7 +2607,7 @@ Appium
|
|
2607
2607
|
|
2608
2608
|
--
|
2609
2609
|
|
2610
|
-
##### [_textfield_contains_string](https://github.com/appium/ruby_lib/blob/
|
2610
|
+
##### [_textfield_contains_string](https://github.com/appium/ruby_lib/blob/4b43cf7b240a7b4cab7b22198ed4dd1307611545/lib/appium_lib/ios/element/textfield.rb#L93) ios
|
2611
2611
|
|
2612
2612
|
> def _textfield_contains_string(value)
|
2613
2613
|
|
@@ -2615,7 +2615,7 @@ Appium
|
|
2615
2615
|
|
2616
2616
|
--
|
2617
2617
|
|
2618
|
-
##### [static_text_class](https://github.com/appium/ruby_lib/blob/
|
2618
|
+
##### [static_text_class](https://github.com/appium/ruby_lib/blob/4b43cf7b240a7b4cab7b22198ed4dd1307611545/lib/appium_lib/ios/xcuitest/element/text.rb#L9) ios
|
2619
2619
|
|
2620
2620
|
> def static_text_class
|
2621
2621
|
|
@@ -2627,7 +2627,7 @@ __Returns:__
|
|
2627
2627
|
|
2628
2628
|
--
|
2629
2629
|
|
2630
|
-
##### [text](https://github.com/appium/ruby_lib/blob/
|
2630
|
+
##### [text](https://github.com/appium/ruby_lib/blob/4b43cf7b240a7b4cab7b22198ed4dd1307611545/lib/appium_lib/ios/xcuitest/element/text.rb#L17) ios
|
2631
2631
|
|
2632
2632
|
> def text(value)
|
2633
2633
|
|
@@ -2644,7 +2644,7 @@ __Returns:__
|
|
2644
2644
|
|
2645
2645
|
--
|
2646
2646
|
|
2647
|
-
##### [texts](https://github.com/appium/ruby_lib/blob/
|
2647
|
+
##### [texts](https://github.com/appium/ruby_lib/blob/4b43cf7b240a7b4cab7b22198ed4dd1307611545/lib/appium_lib/ios/xcuitest/element/text.rb#L27) ios
|
2648
2648
|
|
2649
2649
|
> def texts(value = false)
|
2650
2650
|
|
@@ -2661,7 +2661,7 @@ __Returns:__
|
|
2661
2661
|
|
2662
2662
|
--
|
2663
2663
|
|
2664
|
-
##### [first_text](https://github.com/appium/ruby_lib/blob/
|
2664
|
+
##### [first_text](https://github.com/appium/ruby_lib/blob/4b43cf7b240a7b4cab7b22198ed4dd1307611545/lib/appium_lib/ios/xcuitest/element/text.rb#L36) ios
|
2665
2665
|
|
2666
2666
|
> def first_text
|
2667
2667
|
|
@@ -2673,7 +2673,7 @@ __Returns:__
|
|
2673
2673
|
|
2674
2674
|
--
|
2675
2675
|
|
2676
|
-
##### [last_text](https://github.com/appium/ruby_lib/blob/
|
2676
|
+
##### [last_text](https://github.com/appium/ruby_lib/blob/4b43cf7b240a7b4cab7b22198ed4dd1307611545/lib/appium_lib/ios/xcuitest/element/text.rb#L42) ios
|
2677
2677
|
|
2678
2678
|
> def last_text
|
2679
2679
|
|
@@ -2685,7 +2685,7 @@ __Returns:__
|
|
2685
2685
|
|
2686
2686
|
--
|
2687
2687
|
|
2688
|
-
##### [text_exact](https://github.com/appium/ruby_lib/blob/
|
2688
|
+
##### [text_exact](https://github.com/appium/ruby_lib/blob/4b43cf7b240a7b4cab7b22198ed4dd1307611545/lib/appium_lib/ios/xcuitest/element/text.rb#L49) ios
|
2689
2689
|
|
2690
2690
|
> def text_exact(value)
|
2691
2691
|
|
@@ -2701,7 +2701,7 @@ __Returns:__
|
|
2701
2701
|
|
2702
2702
|
--
|
2703
2703
|
|
2704
|
-
##### [texts_exact](https://github.com/appium/ruby_lib/blob/
|
2704
|
+
##### [texts_exact](https://github.com/appium/ruby_lib/blob/4b43cf7b240a7b4cab7b22198ed4dd1307611545/lib/appium_lib/ios/xcuitest/element/text.rb#L56) ios
|
2705
2705
|
|
2706
2706
|
> def texts_exact(value)
|
2707
2707
|
|
@@ -2717,7 +2717,7 @@ __Returns:__
|
|
2717
2717
|
|
2718
2718
|
--
|
2719
2719
|
|
2720
|
-
##### [xcuitest_source](https://github.com/appium/ruby_lib/blob/
|
2720
|
+
##### [xcuitest_source](https://github.com/appium/ruby_lib/blob/4b43cf7b240a7b4cab7b22198ed4dd1307611545/lib/appium_lib/ios/xcuitest/command/source.rb#L11) ios
|
2721
2721
|
|
2722
2722
|
> def xcuitest_source(format: :xml)
|
2723
2723
|
|
@@ -2733,7 +2733,7 @@ xcuitest_source format: :json
|
|
2733
2733
|
|
2734
2734
|
--
|
2735
2735
|
|
2736
|
-
##### [button_class](https://github.com/appium/ruby_lib/blob/
|
2736
|
+
##### [button_class](https://github.com/appium/ruby_lib/blob/4b43cf7b240a7b4cab7b22198ed4dd1307611545/lib/appium_lib/ios/xcuitest/element/button.rb#L9) ios
|
2737
2737
|
|
2738
2738
|
> def button_class
|
2739
2739
|
|
@@ -2745,7 +2745,7 @@ __Returns:__
|
|
2745
2745
|
|
2746
2746
|
--
|
2747
2747
|
|
2748
|
-
##### [button](https://github.com/appium/ruby_lib/blob/
|
2748
|
+
##### [button](https://github.com/appium/ruby_lib/blob/4b43cf7b240a7b4cab7b22198ed4dd1307611545/lib/appium_lib/ios/xcuitest/element/button.rb#L17) ios
|
2749
2749
|
|
2750
2750
|
> def button(value)
|
2751
2751
|
|
@@ -2762,7 +2762,7 @@ __Returns:__
|
|
2762
2762
|
|
2763
2763
|
--
|
2764
2764
|
|
2765
|
-
##### [buttons](https://github.com/appium/ruby_lib/blob/
|
2765
|
+
##### [buttons](https://github.com/appium/ruby_lib/blob/4b43cf7b240a7b4cab7b22198ed4dd1307611545/lib/appium_lib/ios/xcuitest/element/button.rb#L28) ios
|
2766
2766
|
|
2767
2767
|
> def buttons(value = false)
|
2768
2768
|
|
@@ -2779,7 +2779,7 @@ __Returns:__
|
|
2779
2779
|
|
2780
2780
|
--
|
2781
2781
|
|
2782
|
-
##### [first_button](https://github.com/appium/ruby_lib/blob/
|
2782
|
+
##### [first_button](https://github.com/appium/ruby_lib/blob/4b43cf7b240a7b4cab7b22198ed4dd1307611545/lib/appium_lib/ios/xcuitest/element/button.rb#L37) ios
|
2783
2783
|
|
2784
2784
|
> def first_button
|
2785
2785
|
|
@@ -2791,7 +2791,7 @@ __Returns:__
|
|
2791
2791
|
|
2792
2792
|
--
|
2793
2793
|
|
2794
|
-
##### [last_button](https://github.com/appium/ruby_lib/blob/
|
2794
|
+
##### [last_button](https://github.com/appium/ruby_lib/blob/4b43cf7b240a7b4cab7b22198ed4dd1307611545/lib/appium_lib/ios/xcuitest/element/button.rb#L45) ios
|
2795
2795
|
|
2796
2796
|
> def last_button
|
2797
2797
|
|
@@ -2805,7 +2805,7 @@ __Returns:__
|
|
2805
2805
|
|
2806
2806
|
--
|
2807
2807
|
|
2808
|
-
##### [button_exact](https://github.com/appium/ruby_lib/blob/
|
2808
|
+
##### [button_exact](https://github.com/appium/ruby_lib/blob/4b43cf7b240a7b4cab7b22198ed4dd1307611545/lib/appium_lib/ios/xcuitest/element/button.rb#L52) ios
|
2809
2809
|
|
2810
2810
|
> def button_exact(value)
|
2811
2811
|
|
@@ -2821,7 +2821,7 @@ __Returns:__
|
|
2821
2821
|
|
2822
2822
|
--
|
2823
2823
|
|
2824
|
-
##### [buttons_exact](https://github.com/appium/ruby_lib/blob/
|
2824
|
+
##### [buttons_exact](https://github.com/appium/ruby_lib/blob/4b43cf7b240a7b4cab7b22198ed4dd1307611545/lib/appium_lib/ios/xcuitest/element/button.rb#L59) ios
|
2825
2825
|
|
2826
2826
|
> def buttons_exact(value)
|
2827
2827
|
|
@@ -2837,7 +2837,7 @@ __Returns:__
|
|
2837
2837
|
|
2838
2838
|
--
|
2839
2839
|
|
2840
|
-
##### [find](https://github.com/appium/ruby_lib/blob/
|
2840
|
+
##### [find](https://github.com/appium/ruby_lib/blob/4b43cf7b240a7b4cab7b22198ed4dd1307611545/lib/appium_lib/ios/xcuitest/element/generic.rb#L8) ios
|
2841
2841
|
|
2842
2842
|
> def find(value)
|
2843
2843
|
|
@@ -2853,7 +2853,7 @@ __Returns:__
|
|
2853
2853
|
|
2854
2854
|
--
|
2855
2855
|
|
2856
|
-
##### [finds](https://github.com/appium/ruby_lib/blob/
|
2856
|
+
##### [finds](https://github.com/appium/ruby_lib/blob/4b43cf7b240a7b4cab7b22198ed4dd1307611545/lib/appium_lib/ios/xcuitest/element/generic.rb#L15) ios
|
2857
2857
|
|
2858
2858
|
> def finds(value)
|
2859
2859
|
|
@@ -2869,7 +2869,7 @@ __Returns:__
|
|
2869
2869
|
|
2870
2870
|
--
|
2871
2871
|
|
2872
|
-
##### [find_exact](https://github.com/appium/ruby_lib/blob/
|
2872
|
+
##### [find_exact](https://github.com/appium/ruby_lib/blob/4b43cf7b240a7b4cab7b22198ed4dd1307611545/lib/appium_lib/ios/xcuitest/element/generic.rb#L23) ios
|
2873
2873
|
|
2874
2874
|
> def find_exact(value)
|
2875
2875
|
|
@@ -2885,7 +2885,7 @@ __Returns:__
|
|
2885
2885
|
|
2886
2886
|
--
|
2887
2887
|
|
2888
|
-
##### [finds_exact](https://github.com/appium/ruby_lib/blob/
|
2888
|
+
##### [finds_exact](https://github.com/appium/ruby_lib/blob/4b43cf7b240a7b4cab7b22198ed4dd1307611545/lib/appium_lib/ios/xcuitest/element/generic.rb#L30) ios
|
2889
2889
|
|
2890
2890
|
> def finds_exact(value)
|
2891
2891
|
|
@@ -2901,7 +2901,7 @@ __Returns:__
|
|
2901
2901
|
|
2902
2902
|
--
|
2903
2903
|
|
2904
|
-
##### [raise_error_if_no_element](https://github.com/appium/ruby_lib/blob/
|
2904
|
+
##### [raise_error_if_no_element](https://github.com/appium/ruby_lib/blob/4b43cf7b240a7b4cab7b22198ed4dd1307611545/lib/appium_lib/ios/xcuitest/element/generic.rb#L37) ios
|
2905
2905
|
|
2906
2906
|
> def raise_error_if_no_element(element)
|
2907
2907
|
|
@@ -2909,7 +2909,7 @@ __Returns:__
|
|
2909
2909
|
|
2910
2910
|
--
|
2911
2911
|
|
2912
|
-
##### [select_visible_elements](https://github.com/appium/ruby_lib/blob/
|
2912
|
+
##### [select_visible_elements](https://github.com/appium/ruby_lib/blob/4b43cf7b240a7b4cab7b22198ed4dd1307611545/lib/appium_lib/ios/xcuitest/element/generic.rb#L45) ios
|
2913
2913
|
|
2914
2914
|
> def select_visible_elements(elements)
|
2915
2915
|
|
@@ -2917,7 +2917,7 @@ Return visible elements.
|
|
2917
2917
|
|
2918
2918
|
--
|
2919
2919
|
|
2920
|
-
##### [swipe](https://github.com/appium/ruby_lib/blob/
|
2920
|
+
##### [swipe](https://github.com/appium/ruby_lib/blob/4b43cf7b240a7b4cab7b22198ed4dd1307611545/lib/appium_lib/ios/xcuitest/command/gestures.rb#L11) ios
|
2921
2921
|
|
2922
2922
|
> def swipe(direction:, element: nil)
|
2923
2923
|
|
@@ -2931,7 +2931,7 @@ __Parameters:__
|
|
2931
2931
|
|
2932
2932
|
--
|
2933
2933
|
|
2934
|
-
##### [scroll](https://github.com/appium/ruby_lib/blob/
|
2934
|
+
##### [scroll](https://github.com/appium/ruby_lib/blob/4b43cf7b240a7b4cab7b22198ed4dd1307611545/lib/appium_lib/ios/xcuitest/command/gestures.rb#L32) ios
|
2935
2935
|
|
2936
2936
|
> def scroll(direction:, distance: nil, name: nil, element: nil, to_visible: nil, predicate_string: nil)
|
2937
2937
|
|
@@ -2945,7 +2945,7 @@ __Parameters:__
|
|
2945
2945
|
|
2946
2946
|
--
|
2947
2947
|
|
2948
|
-
##### [pinch](https://github.com/appium/ruby_lib/blob/
|
2948
|
+
##### [pinch](https://github.com/appium/ruby_lib/blob/4b43cf7b240a7b4cab7b22198ed4dd1307611545/lib/appium_lib/ios/xcuitest/command/gestures.rb#L53) ios
|
2949
2949
|
|
2950
2950
|
> def pinch(scale:, velocity: 1.0, element: nil)
|
2951
2951
|
|
@@ -2961,7 +2961,7 @@ __Parameters:__
|
|
2961
2961
|
|
2962
2962
|
--
|
2963
2963
|
|
2964
|
-
##### [double_tap](https://github.com/appium/ruby_lib/blob/
|
2964
|
+
##### [double_tap](https://github.com/appium/ruby_lib/blob/4b43cf7b240a7b4cab7b22198ed4dd1307611545/lib/appium_lib/ios/xcuitest/command/gestures.rb#L68) ios
|
2965
2965
|
|
2966
2966
|
> def double_tap(x: nil, y: nil, element: nil) # rubocop:disable Naming/UncommunicativeMethodParamName
|
2967
2967
|
|
@@ -2977,7 +2977,7 @@ __Parameters:__
|
|
2977
2977
|
|
2978
2978
|
--
|
2979
2979
|
|
2980
|
-
##### [touch_and_hold](https://github.com/appium/ruby_lib/blob/
|
2980
|
+
##### [touch_and_hold](https://github.com/appium/ruby_lib/blob/4b43cf7b240a7b4cab7b22198ed4dd1307611545/lib/appium_lib/ios/xcuitest/command/gestures.rb#L85) ios
|
2981
2981
|
|
2982
2982
|
> def touch_and_hold(x: nil, y: nil, element: nil, duration: 1.0) # rubocop:disable Naming/UncommunicativeMethodParamName
|
2983
2983
|
|
@@ -2995,7 +2995,7 @@ __Parameters:__
|
|
2995
2995
|
|
2996
2996
|
--
|
2997
2997
|
|
2998
|
-
##### [two_finger_tap](https://github.com/appium/ruby_lib/blob/
|
2998
|
+
##### [two_finger_tap](https://github.com/appium/ruby_lib/blob/4b43cf7b240a7b4cab7b22198ed4dd1307611545/lib/appium_lib/ios/xcuitest/command/gestures.rb#L98) ios
|
2999
2999
|
|
3000
3000
|
> def two_finger_tap(element:)
|
3001
3001
|
|
@@ -3011,7 +3011,7 @@ two_finger_tap element: find_element(:accessibility_id, "some item")
|
|
3011
3011
|
|
3012
3012
|
--
|
3013
3013
|
|
3014
|
-
##### [tap](https://github.com/appium/ruby_lib/blob/
|
3014
|
+
##### [tap](https://github.com/appium/ruby_lib/blob/4b43cf7b240a7b4cab7b22198ed4dd1307611545/lib/appium_lib/ios/xcuitest/command/gestures.rb#L113) ios
|
3015
3015
|
|
3016
3016
|
> def tap(x:, y:, element: nil) # rubocop:disable Naming/UncommunicativeMethodParamName
|
3017
3017
|
|
@@ -3027,7 +3027,7 @@ __Parameters:__
|
|
3027
3027
|
|
3028
3028
|
--
|
3029
3029
|
|
3030
|
-
##### [drag_from_to_for_duration](https://github.com/appium/ruby_lib/blob/
|
3030
|
+
##### [drag_from_to_for_duration](https://github.com/appium/ruby_lib/blob/4b43cf7b240a7b4cab7b22198ed4dd1307611545/lib/appium_lib/ios/xcuitest/command/gestures.rb#L133) ios
|
3031
3031
|
|
3032
3032
|
> def drag_from_to_for_duration(from_x:, from_y:, to_x:, to_y:, duration: 1.0, element: nil)
|
3033
3033
|
|
@@ -3050,7 +3050,7 @@ drag point should be before to start dragging. Mandatory parameter
|
|
3050
3050
|
|
3051
3051
|
--
|
3052
3052
|
|
3053
|
-
##### [select_picker_wheel](https://github.com/appium/ruby_lib/blob/
|
3053
|
+
##### [select_picker_wheel](https://github.com/appium/ruby_lib/blob/4b43cf7b240a7b4cab7b22198ed4dd1307611545/lib/appium_lib/ios/xcuitest/command/gestures.rb#L150) ios
|
3054
3054
|
|
3055
3055
|
> def select_picker_wheel(element:, order:, offset: nil)
|
3056
3056
|
|
@@ -3067,7 +3067,7 @@ __Parameters:__
|
|
3067
3067
|
|
3068
3068
|
--
|
3069
3069
|
|
3070
|
-
##### [alert](https://github.com/appium/ruby_lib/blob/
|
3070
|
+
##### [alert](https://github.com/appium/ruby_lib/blob/4b43cf7b240a7b4cab7b22198ed4dd1307611545/lib/appium_lib/ios/xcuitest/command/gestures.rb#L168) ios
|
3071
3071
|
|
3072
3072
|
> def alert(action:, button_label: nil)
|
3073
3073
|
|
@@ -3092,7 +3092,7 @@ alert action: "dismiss"
|
|
3092
3092
|
|
3093
3093
|
--
|
3094
3094
|
|
3095
|
-
##### [text_field_class](https://github.com/appium/ruby_lib/blob/
|
3095
|
+
##### [text_field_class](https://github.com/appium/ruby_lib/blob/4b43cf7b240a7b4cab7b22198ed4dd1307611545/lib/appium_lib/ios/xcuitest/element/textfield.rb#L9) ios
|
3096
3096
|
|
3097
3097
|
> def text_field_class
|
3098
3098
|
|
@@ -3104,7 +3104,7 @@ __Returns:__
|
|
3104
3104
|
|
3105
3105
|
--
|
3106
3106
|
|
3107
|
-
##### [secure_text_field_class](https://github.com/appium/ruby_lib/blob/
|
3107
|
+
##### [secure_text_field_class](https://github.com/appium/ruby_lib/blob/4b43cf7b240a7b4cab7b22198ed4dd1307611545/lib/appium_lib/ios/xcuitest/element/textfield.rb#L14) ios
|
3108
3108
|
|
3109
3109
|
> def secure_text_field_class
|
3110
3110
|
|
@@ -3116,7 +3116,7 @@ __Returns:__
|
|
3116
3116
|
|
3117
3117
|
--
|
3118
3118
|
|
3119
|
-
##### [textfield](https://github.com/appium/ruby_lib/blob/
|
3119
|
+
##### [textfield](https://github.com/appium/ruby_lib/blob/4b43cf7b240a7b4cab7b22198ed4dd1307611545/lib/appium_lib/ios/xcuitest/element/textfield.rb#L23) ios
|
3120
3120
|
|
3121
3121
|
> def textfield(value)
|
3122
3122
|
|
@@ -3134,7 +3134,7 @@ __Returns:__
|
|
3134
3134
|
|
3135
3135
|
--
|
3136
3136
|
|
3137
|
-
##### [textfields](https://github.com/appium/ruby_lib/blob/
|
3137
|
+
##### [textfields](https://github.com/appium/ruby_lib/blob/4b43cf7b240a7b4cab7b22198ed4dd1307611545/lib/appium_lib/ios/xcuitest/element/textfield.rb#L43) ios
|
3138
3138
|
|
3139
3139
|
> def textfields(value = false)
|
3140
3140
|
|
@@ -3151,7 +3151,7 @@ __Returns:__
|
|
3151
3151
|
|
3152
3152
|
--
|
3153
3153
|
|
3154
|
-
##### [first_textfield](https://github.com/appium/ruby_lib/blob/
|
3154
|
+
##### [first_textfield](https://github.com/appium/ruby_lib/blob/4b43cf7b240a7b4cab7b22198ed4dd1307611545/lib/appium_lib/ios/xcuitest/element/textfield.rb#L52) ios
|
3155
3155
|
|
3156
3156
|
> def first_textfield
|
3157
3157
|
|
@@ -3163,7 +3163,7 @@ __Returns:__
|
|
3163
3163
|
|
3164
3164
|
--
|
3165
3165
|
|
3166
|
-
##### [last_textfield](https://github.com/appium/ruby_lib/blob/
|
3166
|
+
##### [last_textfield](https://github.com/appium/ruby_lib/blob/4b43cf7b240a7b4cab7b22198ed4dd1307611545/lib/appium_lib/ios/xcuitest/element/textfield.rb#L58) ios
|
3167
3167
|
|
3168
3168
|
> def last_textfield
|
3169
3169
|
|
@@ -3175,7 +3175,7 @@ __Returns:__
|
|
3175
3175
|
|
3176
3176
|
--
|
3177
3177
|
|
3178
|
-
##### [textfield_exact](https://github.com/appium/ruby_lib/blob/
|
3178
|
+
##### [textfield_exact](https://github.com/appium/ruby_lib/blob/4b43cf7b240a7b4cab7b22198ed4dd1307611545/lib/appium_lib/ios/xcuitest/element/textfield.rb#L68) ios
|
3179
3179
|
|
3180
3180
|
> def textfield_exact(value)
|
3181
3181
|
|
@@ -3191,7 +3191,7 @@ __Returns:__
|
|
3191
3191
|
|
3192
3192
|
--
|
3193
3193
|
|
3194
|
-
##### [textfields_exact](https://github.com/appium/ruby_lib/blob/
|
3194
|
+
##### [textfields_exact](https://github.com/appium/ruby_lib/blob/4b43cf7b240a7b4cab7b22198ed4dd1307611545/lib/appium_lib/ios/xcuitest/element/textfield.rb#L75) ios
|
3195
3195
|
|
3196
3196
|
> def textfields_exact(value)
|
3197
3197
|
|
@@ -3207,7 +3207,7 @@ __Returns:__
|
|
3207
3207
|
|
3208
3208
|
--
|
3209
3209
|
|
3210
|
-
##### [set_pasteboard](https://github.com/appium/ruby_lib/blob/
|
3210
|
+
##### [set_pasteboard](https://github.com/appium/ruby_lib/blob/4b43cf7b240a7b4cab7b22198ed4dd1307611545/lib/appium_lib/ios/xcuitest/command/pasteboard.rb#L12) ios
|
3211
3211
|
|
3212
3212
|
> def set_pasteboard(content:, encoding: nil)
|
3213
3213
|
|
@@ -3222,7 +3222,7 @@ The parameter is mandatory
|
|
3222
3222
|
|
3223
3223
|
--
|
3224
3224
|
|
3225
|
-
##### [get_pasteboard](https://github.com/appium/ruby_lib/blob/
|
3225
|
+
##### [get_pasteboard](https://github.com/appium/ruby_lib/blob/4b43cf7b240a7b4cab7b22198ed4dd1307611545/lib/appium_lib/ios/xcuitest/command/pasteboard.rb#L24) ios
|
3226
3226
|
|
3227
3227
|
> def get_pasteboard(encoding: nil)
|
3228
3228
|
|
@@ -3234,7 +3234,7 @@ __Parameters:__
|
|
3234
3234
|
|
3235
3235
|
--
|
3236
3236
|
|
3237
|
-
##### [install_certificate](https://github.com/appium/ruby_lib/blob/
|
3237
|
+
##### [install_certificate](https://github.com/appium/ruby_lib/blob/4b43cf7b240a7b4cab7b22198ed4dd1307611545/lib/appium_lib/ios/xcuitest/command/certificate.rb#L18) ios
|
3238
3238
|
|
3239
3239
|
> def install_certificate(cer_file:)
|
3240
3240
|
|
@@ -3249,7 +3249,7 @@ __Parameters:__
|
|
3249
3249
|
|
3250
3250
|
--
|
3251
3251
|
|
3252
|
-
##### [xcuitest_get_contexts](https://github.com/appium/ruby_lib/blob/
|
3252
|
+
##### [xcuitest_get_contexts](https://github.com/appium/ruby_lib/blob/4b43cf7b240a7b4cab7b22198ed4dd1307611545/lib/appium_lib/ios/xcuitest/command/get_context.rb#L14) ios
|
3253
3253
|
|
3254
3254
|
> def xcuitest_get_contexts
|
3255
3255
|
|
@@ -3257,7 +3257,7 @@ Get contexts
|
|
3257
3257
|
|
3258
3258
|
--
|
3259
3259
|
|
3260
|
-
##### [xcuitest_install_app](https://github.com/appium/ruby_lib/blob/
|
3260
|
+
##### [xcuitest_install_app](https://github.com/appium/ruby_lib/blob/4b43cf7b240a7b4cab7b22198ed4dd1307611545/lib/appium_lib/ios/xcuitest/command/multi_app_handler.rb#L21) ios
|
3261
3261
|
|
3262
3262
|
> def xcuitest_install_app(app:)
|
3263
3263
|
|
@@ -3277,7 +3277,7 @@ __Returns:__
|
|
3277
3277
|
|
3278
3278
|
--
|
3279
3279
|
|
3280
|
-
##### [xcuitest_app_installed?](https://github.com/appium/ruby_lib/blob/
|
3280
|
+
##### [xcuitest_app_installed?](https://github.com/appium/ruby_lib/blob/4b43cf7b240a7b4cab7b22198ed4dd1307611545/lib/appium_lib/ios/xcuitest/command/multi_app_handler.rb#L35) ios
|
3281
3281
|
|
3282
3282
|
> def xcuitest_app_installed?(bundle_id:)
|
3283
3283
|
|
@@ -3293,7 +3293,7 @@ __Returns:__
|
|
3293
3293
|
|
3294
3294
|
--
|
3295
3295
|
|
3296
|
-
##### [xcuitest_remove_app](https://github.com/appium/ruby_lib/blob/
|
3296
|
+
##### [xcuitest_remove_app](https://github.com/appium/ruby_lib/blob/4b43cf7b240a7b4cab7b22198ed4dd1307611545/lib/appium_lib/ios/xcuitest/command/multi_app_handler.rb#L50) ios
|
3297
3297
|
|
3298
3298
|
> def xcuitest_remove_app(bundle_id:)
|
3299
3299
|
|
@@ -3310,7 +3310,7 @@ __Returns:__
|
|
3310
3310
|
|
3311
3311
|
--
|
3312
3312
|
|
3313
|
-
##### [xcuitest_launch_app](https://github.com/appium/ruby_lib/blob/
|
3313
|
+
##### [xcuitest_launch_app](https://github.com/appium/ruby_lib/blob/4b43cf7b240a7b4cab7b22198ed4dd1307611545/lib/appium_lib/ios/xcuitest/command/multi_app_handler.rb#L65) ios
|
3314
3314
|
|
3315
3315
|
> def xcuitest_launch_app(bundle_id:)
|
3316
3316
|
|
@@ -3327,7 +3327,7 @@ __Returns:__
|
|
3327
3327
|
|
3328
3328
|
--
|
3329
3329
|
|
3330
|
-
##### [xcuitest_terminate_app](https://github.com/appium/ruby_lib/blob/
|
3330
|
+
##### [xcuitest_terminate_app](https://github.com/appium/ruby_lib/blob/4b43cf7b240a7b4cab7b22198ed4dd1307611545/lib/appium_lib/ios/xcuitest/command/multi_app_handler.rb#L80) ios
|
3331
3331
|
|
3332
3332
|
> def xcuitest_terminate_app(bundle_id:)
|
3333
3333
|
|
@@ -3344,7 +3344,7 @@ __Returns:__
|
|
3344
3344
|
|
3345
3345
|
--
|
3346
3346
|
|
3347
|
-
##### [xcuitest_query_app_status](https://github.com/appium/ruby_lib/blob/
|
3347
|
+
##### [xcuitest_query_app_status](https://github.com/appium/ruby_lib/blob/4b43cf7b240a7b4cab7b22198ed4dd1307611545/lib/appium_lib/ios/xcuitest/command/multi_app_handler.rb#L102) ios
|
3348
3348
|
|
3349
3349
|
> def xcuitest_query_app_status(bundle_id:)
|
3350
3350
|
|
@@ -3368,7 +3368,7 @@ __Returns:__
|
|
3368
3368
|
|
3369
3369
|
--
|
3370
3370
|
|
3371
|
-
##### [xcuitest_activate_app](https://github.com/appium/ruby_lib/blob/
|
3371
|
+
##### [xcuitest_activate_app](https://github.com/appium/ruby_lib/blob/4b43cf7b240a7b4cab7b22198ed4dd1307611545/lib/appium_lib/ios/xcuitest/command/multi_app_handler.rb#L118) ios
|
3372
3372
|
|
3373
3373
|
> def xcuitest_activate_app(bundle_id:)
|
3374
3374
|
|