appium_lib 14.0.0 → 15.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/workflows/rubocop.yml +4 -2
- data/CHANGELOG.md +8 -1
- data/Rakefile +8 -0
- data/appium_lib.gemspec +4 -3
- data/docs/android_docs.md +198 -287
- data/docs/ios_docs.md +236 -325
- data/docs/w3c.md +5 -1
- data/lib/appium_lib/appium.rb +0 -2
- data/lib/appium_lib/common/device.rb +0 -24
- data/lib/appium_lib/driver.rb +3 -4
- data/lib/appium_lib/version.rb +2 -2
- data/release_notes.md +14 -0
- data/test/first_test.rb +29 -0
- metadata +28 -27
- data/lib/appium_lib/common/multi_touch.rb +0 -198
- data/lib/appium_lib/common/touch_actions.rb +0 -76
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/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/appium.rb#L58) 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/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/appium.rb#L106) 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/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/appium.rb#L111) 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/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/appium.rb#L153) 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/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/appium.rb#L207) 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/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/driver.rb#L49) common
|
120
120
|
|
121
121
|
> def global_webdriver_http_sleep
|
122
122
|
|
@@ -124,7 +124,7 @@ The amount to sleep in seconds before every webdriver http call.
|
|
124
124
|
|
125
125
|
--
|
126
126
|
|
127
|
-
##### [global_webdriver_http_sleep=](https://github.com/appium/ruby_lib/blob/
|
127
|
+
##### [global_webdriver_http_sleep=](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/driver.rb#L49) common
|
128
128
|
|
129
129
|
> def global_webdriver_http_sleep=(value)
|
130
130
|
|
@@ -132,7 +132,7 @@ The amount to sleep in seconds before every webdriver http call.
|
|
132
132
|
|
133
133
|
--
|
134
134
|
|
135
|
-
##### [sauce](https://github.com/appium/ruby_lib/blob/
|
135
|
+
##### [sauce](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/driver.rb#L52) common
|
136
136
|
|
137
137
|
> def sauce
|
138
138
|
|
@@ -140,7 +140,7 @@ SauceLab's settings
|
|
140
140
|
|
141
141
|
--
|
142
142
|
|
143
|
-
##### [sauce_username](https://github.com/appium/ruby_lib/blob/
|
143
|
+
##### [sauce_username](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/driver.rb#L55) common
|
144
144
|
|
145
145
|
> def sauce_username
|
146
146
|
|
@@ -149,7 +149,7 @@ same as @sauce.username
|
|
149
149
|
|
150
150
|
--
|
151
151
|
|
152
|
-
##### [sauce_access_key](https://github.com/appium/ruby_lib/blob/
|
152
|
+
##### [sauce_access_key](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/driver.rb#L58) common
|
153
153
|
|
154
154
|
> def sauce_access_key
|
155
155
|
|
@@ -158,7 +158,7 @@ same as @sauce.access_key
|
|
158
158
|
|
159
159
|
--
|
160
160
|
|
161
|
-
##### [sauce_endpoint](https://github.com/appium/ruby_lib/blob/
|
161
|
+
##### [sauce_endpoint](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/driver.rb#L61) common
|
162
162
|
|
163
163
|
> def sauce_endpoint
|
164
164
|
|
@@ -167,7 +167,7 @@ same as @sauce.endpoint
|
|
167
167
|
|
168
168
|
--
|
169
169
|
|
170
|
-
##### [caps](https://github.com/appium/ruby_lib/blob/
|
170
|
+
##### [caps](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/driver.rb#L65) common
|
171
171
|
|
172
172
|
> def caps
|
173
173
|
|
@@ -176,7 +176,7 @@ read http://www.rubydoc.info/github/appium/ruby_lib_core/Appium/Core/Driver
|
|
176
176
|
|
177
177
|
--
|
178
178
|
|
179
|
-
##### [custom_url](https://github.com/appium/ruby_lib/blob/
|
179
|
+
##### [custom_url](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/driver.rb#L66) common
|
180
180
|
|
181
181
|
> def custom_url
|
182
182
|
|
@@ -184,7 +184,7 @@ Returns the value of attribute custom_url.
|
|
184
184
|
|
185
185
|
--
|
186
186
|
|
187
|
-
##### [default_wait](https://github.com/appium/ruby_lib/blob/
|
187
|
+
##### [default_wait](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/driver.rb#L67) common
|
188
188
|
|
189
189
|
> def default_wait
|
190
190
|
|
@@ -192,7 +192,7 @@ Returns the value of attribute default_wait.
|
|
192
192
|
|
193
193
|
--
|
194
194
|
|
195
|
-
##### [appium_port](https://github.com/appium/ruby_lib/blob/
|
195
|
+
##### [appium_port](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/driver.rb#L68) common
|
196
196
|
|
197
197
|
> def appium_port
|
198
198
|
|
@@ -200,7 +200,7 @@ Returns the value of attribute appium_port.
|
|
200
200
|
|
201
201
|
--
|
202
202
|
|
203
|
-
##### [appium_device](https://github.com/appium/ruby_lib/blob/
|
203
|
+
##### [appium_device](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/driver.rb#L69) common
|
204
204
|
|
205
205
|
> def appium_device
|
206
206
|
|
@@ -208,7 +208,7 @@ Returns the value of attribute appium_device.
|
|
208
208
|
|
209
209
|
--
|
210
210
|
|
211
|
-
##### [automation_name](https://github.com/appium/ruby_lib/blob/
|
211
|
+
##### [automation_name](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/driver.rb#L70) common
|
212
212
|
|
213
213
|
> def automation_name
|
214
214
|
|
@@ -216,7 +216,7 @@ Returns the value of attribute automation_name.
|
|
216
216
|
|
217
217
|
--
|
218
218
|
|
219
|
-
##### [listener](https://github.com/appium/ruby_lib/blob/
|
219
|
+
##### [listener](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/driver.rb#L71) common
|
220
220
|
|
221
221
|
> def listener
|
222
222
|
|
@@ -224,7 +224,7 @@ Returns the value of attribute listener.
|
|
224
224
|
|
225
225
|
--
|
226
226
|
|
227
|
-
##### [http_client](https://github.com/appium/ruby_lib/blob/
|
227
|
+
##### [http_client](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/driver.rb#L72) common
|
228
228
|
|
229
229
|
> def http_client
|
230
230
|
|
@@ -232,7 +232,7 @@ Returns the value of attribute http_client.
|
|
232
232
|
|
233
233
|
--
|
234
234
|
|
235
|
-
##### [appium_wait_timeout](https://github.com/appium/ruby_lib/blob/
|
235
|
+
##### [appium_wait_timeout](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/driver.rb#L73) common
|
236
236
|
|
237
237
|
> def appium_wait_timeout
|
238
238
|
|
@@ -240,7 +240,7 @@ Returns the value of attribute appium_wait_timeout.
|
|
240
240
|
|
241
241
|
--
|
242
242
|
|
243
|
-
##### [appium_wait_interval](https://github.com/appium/ruby_lib/blob/
|
243
|
+
##### [appium_wait_interval](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/driver.rb#L74) common
|
244
244
|
|
245
245
|
> def appium_wait_interval
|
246
246
|
|
@@ -248,7 +248,7 @@ Returns the value of attribute appium_wait_interval.
|
|
248
248
|
|
249
249
|
--
|
250
250
|
|
251
|
-
##### [appium_server_status](https://github.com/appium/ruby_lib/blob/
|
251
|
+
##### [appium_server_status](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/driver.rb#L77) common
|
252
252
|
|
253
253
|
> def appium_server_status
|
254
254
|
|
@@ -256,7 +256,7 @@ Appium's server version
|
|
256
256
|
|
257
257
|
--
|
258
258
|
|
259
|
-
##### [appium_debug](https://github.com/appium/ruby_lib/blob/
|
259
|
+
##### [appium_debug](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/driver.rb#L79) common
|
260
260
|
|
261
261
|
> def appium_debug
|
262
262
|
|
@@ -264,7 +264,7 @@ Boolean debug mode for the Appium Ruby bindings
|
|
264
264
|
|
265
265
|
--
|
266
266
|
|
267
|
-
##### [driver](https://github.com/appium/ruby_lib/blob/
|
267
|
+
##### [driver](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/driver.rb#L82) common
|
268
268
|
|
269
269
|
> def driver
|
270
270
|
|
@@ -276,7 +276,7 @@ __Returns:__
|
|
276
276
|
|
277
277
|
--
|
278
278
|
|
279
|
-
##### [core](https://github.com/appium/ruby_lib/blob/
|
279
|
+
##### [core](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/driver.rb#L84) common
|
280
280
|
|
281
281
|
> def core
|
282
282
|
|
@@ -284,7 +284,7 @@ Instance of Appium::Core::Driver
|
|
284
284
|
|
285
285
|
--
|
286
286
|
|
287
|
-
##### [initialize](https://github.com/appium/ruby_lib/blob/
|
287
|
+
##### [initialize](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/driver.rb#L153) common
|
288
288
|
|
289
289
|
> def initialize(opts = {}, global_driver = false)
|
290
290
|
|
@@ -303,7 +303,7 @@ __Returns:__
|
|
303
303
|
|
304
304
|
--
|
305
305
|
|
306
|
-
##### [driver_attributes](https://github.com/appium/ruby_lib/blob/
|
306
|
+
##### [driver_attributes](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/driver.rb#L273) common
|
307
307
|
|
308
308
|
> def driver_attributes
|
309
309
|
|
@@ -311,7 +311,7 @@ Returns a hash of the driver attributes
|
|
311
311
|
|
312
312
|
--
|
313
313
|
|
314
|
-
##### [device_is_android?](https://github.com/appium/ruby_lib/blob/
|
314
|
+
##### [device_is_android?](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/driver.rb#L291) common
|
315
315
|
|
316
316
|
> def device_is_android?
|
317
317
|
|
@@ -323,7 +323,7 @@ __Returns:__
|
|
323
323
|
|
324
324
|
--
|
325
325
|
|
326
|
-
##### [device_is_ios?](https://github.com/appium/ruby_lib/blob/
|
326
|
+
##### [device_is_ios?](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/driver.rb#L295) common
|
327
327
|
|
328
328
|
> def device_is_ios?
|
329
329
|
|
@@ -335,7 +335,7 @@ __Returns:__
|
|
335
335
|
|
336
336
|
--
|
337
337
|
|
338
|
-
##### [device_is_windows?](https://github.com/appium/ruby_lib/blob/
|
338
|
+
##### [device_is_windows?](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/driver.rb#L299) common
|
339
339
|
|
340
340
|
> def device_is_windows?
|
341
341
|
|
@@ -347,7 +347,7 @@ __Returns:__
|
|
347
347
|
|
348
348
|
--
|
349
349
|
|
350
|
-
##### [automation_name_is_uiautomator2?](https://github.com/appium/ruby_lib/blob/
|
350
|
+
##### [automation_name_is_uiautomator2?](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/driver.rb#L305) common
|
351
351
|
|
352
352
|
> def automation_name_is_uiautomator2?
|
353
353
|
|
@@ -359,7 +359,7 @@ __Returns:__
|
|
359
359
|
|
360
360
|
--
|
361
361
|
|
362
|
-
##### [automation_name_is_espresso?](https://github.com/appium/ruby_lib/blob/
|
362
|
+
##### [automation_name_is_espresso?](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/driver.rb#L311) common
|
363
363
|
|
364
364
|
> def automation_name_is_espresso?
|
365
365
|
|
@@ -371,7 +371,7 @@ __Returns:__
|
|
371
371
|
|
372
372
|
--
|
373
373
|
|
374
|
-
##### [automation_name_is_xcuitest?](https://github.com/appium/ruby_lib/blob/
|
374
|
+
##### [automation_name_is_xcuitest?](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/driver.rb#L317) common
|
375
375
|
|
376
376
|
> def automation_name_is_xcuitest?
|
377
377
|
|
@@ -383,7 +383,7 @@ __Returns:__
|
|
383
383
|
|
384
384
|
--
|
385
385
|
|
386
|
-
##### [action](https://github.com/appium/ruby_lib/blob/
|
386
|
+
##### [action](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/driver.rb#L331) common
|
387
387
|
|
388
388
|
> def action
|
389
389
|
|
@@ -392,11 +392,11 @@ Read https://www.rubydoc.info/github/appium/ruby_lib_core/Appium/Core/Base/Bridg
|
|
392
392
|
|
393
393
|
__Returns:__
|
394
394
|
|
395
|
-
[
|
395
|
+
[Selenium::WebDriver::PointerActions]
|
396
396
|
|
397
397
|
--
|
398
398
|
|
399
|
-
##### [appium_server_version](https://github.com/appium/ruby_lib/blob/
|
399
|
+
##### [appium_server_version](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/driver.rb#L346) common
|
400
400
|
|
401
401
|
> def appium_server_version
|
402
402
|
|
@@ -408,7 +408,7 @@ __Returns:__
|
|
408
408
|
|
409
409
|
--
|
410
410
|
|
411
|
-
##### [remote_status](https://github.com/appium/ruby_lib/blob/
|
411
|
+
##### [remote_status](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/driver.rb#L354) common
|
412
412
|
|
413
413
|
> def appium_server_version
|
414
414
|
|
@@ -420,7 +420,7 @@ __Returns:__
|
|
420
420
|
|
421
421
|
--
|
422
422
|
|
423
|
-
##### [platform_version](https://github.com/appium/ruby_lib/blob/
|
423
|
+
##### [platform_version](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/driver.rb#L358) common
|
424
424
|
|
425
425
|
> def platform_version
|
426
426
|
|
@@ -432,7 +432,7 @@ __Returns:__
|
|
432
432
|
|
433
433
|
--
|
434
434
|
|
435
|
-
##### [appium_client_version](https://github.com/appium/ruby_lib/blob/
|
435
|
+
##### [appium_client_version](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/driver.rb#L374) common
|
436
436
|
|
437
437
|
> def appium_client_version
|
438
438
|
|
@@ -444,7 +444,7 @@ __Returns:__
|
|
444
444
|
|
445
445
|
--
|
446
446
|
|
447
|
-
##### [absolute_app_path](https://github.com/appium/ruby_lib/blob/
|
447
|
+
##### [absolute_app_path](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/driver.rb#L386) common
|
448
448
|
|
449
449
|
> def absolute_app_path(opts)
|
450
450
|
|
@@ -461,7 +461,7 @@ __Returns:__
|
|
461
461
|
|
462
462
|
--
|
463
463
|
|
464
|
-
##### [server_url](https://github.com/appium/ruby_lib/blob/
|
464
|
+
##### [server_url](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/driver.rb#L411) common
|
465
465
|
|
466
466
|
> def server_url
|
467
467
|
|
@@ -473,7 +473,7 @@ __Returns:__
|
|
473
473
|
|
474
474
|
--
|
475
475
|
|
476
|
-
##### [restart](https://github.com/appium/ruby_lib/blob/
|
476
|
+
##### [restart](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/driver.rb#L420) common
|
477
477
|
|
478
478
|
> def restart
|
479
479
|
|
@@ -485,7 +485,7 @@ __Returns:__
|
|
485
485
|
|
486
486
|
--
|
487
487
|
|
488
|
-
##### [screenshot](https://github.com/appium/ruby_lib/blob/
|
488
|
+
##### [screenshot](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/driver.rb#L433) common
|
489
489
|
|
490
490
|
> def screenshot(png_save_path)
|
491
491
|
|
@@ -501,7 +501,7 @@ __Returns:__
|
|
501
501
|
|
502
502
|
--
|
503
503
|
|
504
|
-
##### [element_screenshot](https://github.com/appium/ruby_lib/blob/
|
504
|
+
##### [element_screenshot](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/driver.rb#L447) common
|
505
505
|
|
506
506
|
> def element_screenshot(element, png_save_path)
|
507
507
|
|
@@ -519,7 +519,7 @@ __Returns:__
|
|
519
519
|
|
520
520
|
--
|
521
521
|
|
522
|
-
##### [driver_quit](https://github.com/appium/ruby_lib/blob/
|
522
|
+
##### [driver_quit](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/driver.rb#L454) common
|
523
523
|
|
524
524
|
> def driver_quit
|
525
525
|
|
@@ -531,7 +531,7 @@ __Returns:__
|
|
531
531
|
|
532
532
|
--
|
533
533
|
|
534
|
-
##### [quit_driver](https://github.com/appium/ruby_lib/blob/
|
534
|
+
##### [quit_driver](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/driver.rb#L460) common
|
535
535
|
|
536
536
|
> def driver_quit
|
537
537
|
|
@@ -543,7 +543,7 @@ __Returns:__
|
|
543
543
|
|
544
544
|
--
|
545
545
|
|
546
|
-
##### [window_size](https://github.com/appium/ruby_lib/blob/
|
546
|
+
##### [window_size](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/driver.rb#L471) common
|
547
547
|
|
548
548
|
> def window_size
|
549
549
|
|
@@ -555,7 +555,7 @@ __Returns:__
|
|
555
555
|
|
556
556
|
--
|
557
557
|
|
558
|
-
##### [window_rect](https://github.com/appium/ruby_lib/blob/
|
558
|
+
##### [window_rect](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/driver.rb#L486) common
|
559
559
|
|
560
560
|
> def window_rect
|
561
561
|
|
@@ -567,7 +567,7 @@ __Returns:__
|
|
567
567
|
|
568
568
|
--
|
569
569
|
|
570
|
-
##### [start_driver](https://github.com/appium/ruby_lib/blob/
|
570
|
+
##### [start_driver](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/driver.rb#L519) common
|
571
571
|
|
572
572
|
> def start_driver(http_client_ops = { http_client: ::Appium::Http::Default.new, open_timeout: 999_999, read_timeout: 999_999 })
|
573
573
|
|
@@ -587,7 +587,7 @@ __Returns:__
|
|
587
587
|
|
588
588
|
--
|
589
589
|
|
590
|
-
##### [set_implicit_wait](https://github.com/appium/ruby_lib/blob/
|
590
|
+
##### [set_implicit_wait](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/driver.rb#L546) common
|
591
591
|
|
592
592
|
> def set_implicit_wait(wait)
|
593
593
|
|
@@ -595,7 +595,7 @@ To ignore error for Espresso Driver
|
|
595
595
|
|
596
596
|
--
|
597
597
|
|
598
|
-
##### [no_wait](https://github.com/appium/ruby_lib/blob/
|
598
|
+
##### [no_wait](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/driver.rb#L557) common
|
599
599
|
|
600
600
|
> def no_wait
|
601
601
|
|
@@ -603,7 +603,7 @@ Set implicit wait to zero.
|
|
603
603
|
|
604
604
|
--
|
605
605
|
|
606
|
-
##### [set_wait](https://github.com/appium/ruby_lib/blob/
|
606
|
+
##### [set_wait](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/driver.rb#L571) common
|
607
607
|
|
608
608
|
> def set_wait(timeout = nil)
|
609
609
|
|
@@ -619,7 +619,7 @@ __Returns:__
|
|
619
619
|
|
620
620
|
--
|
621
621
|
|
622
|
-
##### [exists](https://github.com/appium/ruby_lib/blob/
|
622
|
+
##### [exists](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/driver.rb#L588) common
|
623
623
|
|
624
624
|
> def exists(pre_check = 0, post_check = @default_wait)
|
625
625
|
|
@@ -643,7 +643,7 @@ __Returns:__
|
|
643
643
|
|
644
644
|
--
|
645
645
|
|
646
|
-
##### [execute_script](https://github.com/appium/ruby_lib/blob/
|
646
|
+
##### [execute_script](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/driver.rb#L612) common
|
647
647
|
|
648
648
|
> def execute_script(script, *args)
|
649
649
|
|
@@ -661,7 +661,7 @@ __Returns:__
|
|
661
661
|
|
662
662
|
--
|
663
663
|
|
664
|
-
##### [execute_async_script](https://github.com/appium/ruby_lib/blob/
|
664
|
+
##### [execute_async_script](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/driver.rb#L620) common
|
665
665
|
|
666
666
|
> def execute_async_script(script, *args)
|
667
667
|
|
@@ -671,7 +671,7 @@ Get the window handles of open browser windows
|
|
671
671
|
|
672
672
|
--
|
673
673
|
|
674
|
-
##### [execute_driver](https://github.com/appium/ruby_lib/blob/
|
674
|
+
##### [execute_driver](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/driver.rb#L652) common
|
675
675
|
|
676
676
|
> def execute_driver(script: '', type: 'webdriverio', timeout_ms: nil)
|
677
677
|
|
@@ -697,7 +697,7 @@ Appium::Core::Base::Device::ExecuteDriver::Result.
|
|
697
697
|
|
698
698
|
--
|
699
699
|
|
700
|
-
##### [window_handles](https://github.com/appium/ruby_lib/blob/
|
700
|
+
##### [window_handles](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/driver.rb#L656) common
|
701
701
|
|
702
702
|
> def window_handles
|
703
703
|
|
@@ -705,7 +705,7 @@ Appium::Core::Base::Device::ExecuteDriver::Result.
|
|
705
705
|
|
706
706
|
--
|
707
707
|
|
708
|
-
##### [window_handle](https://github.com/appium/ruby_lib/blob/
|
708
|
+
##### [window_handle](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/driver.rb#L661) common
|
709
709
|
|
710
710
|
> def window_handle
|
711
711
|
|
@@ -713,7 +713,7 @@ Get the current window handle
|
|
713
713
|
|
714
714
|
--
|
715
715
|
|
716
|
-
##### [navigate](https://github.com/appium/ruby_lib/blob/
|
716
|
+
##### [navigate](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/driver.rb#L665) common
|
717
717
|
|
718
718
|
> def navigate
|
719
719
|
|
@@ -721,7 +721,7 @@ Get the current window handle
|
|
721
721
|
|
722
722
|
--
|
723
723
|
|
724
|
-
##### [manage](https://github.com/appium/ruby_lib/blob/
|
724
|
+
##### [manage](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/driver.rb#L669) common
|
725
725
|
|
726
726
|
> def manage
|
727
727
|
|
@@ -729,7 +729,7 @@ Get the current window handle
|
|
729
729
|
|
730
730
|
--
|
731
731
|
|
732
|
-
##### [get](https://github.com/appium/ruby_lib/blob/
|
732
|
+
##### [get](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/driver.rb#L673) common
|
733
733
|
|
734
734
|
> def get(url)
|
735
735
|
|
@@ -737,7 +737,7 @@ Get the current window handle
|
|
737
737
|
|
738
738
|
--
|
739
739
|
|
740
|
-
##### [current_url](https://github.com/appium/ruby_lib/blob/
|
740
|
+
##### [current_url](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/driver.rb#L677) common
|
741
741
|
|
742
742
|
> def current_url
|
743
743
|
|
@@ -745,7 +745,7 @@ Get the current window handle
|
|
745
745
|
|
746
746
|
--
|
747
747
|
|
748
|
-
##### [title](https://github.com/appium/ruby_lib/blob/
|
748
|
+
##### [title](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/driver.rb#L681) common
|
749
749
|
|
750
750
|
> def title
|
751
751
|
|
@@ -753,7 +753,7 @@ Get the current window handle
|
|
753
753
|
|
754
754
|
--
|
755
755
|
|
756
|
-
##### [switch_to](https://github.com/appium/ruby_lib/blob/
|
756
|
+
##### [switch_to](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/driver.rb#L687) common
|
757
757
|
|
758
758
|
> def switch_to
|
759
759
|
|
@@ -765,7 +765,7 @@ __Returns:__
|
|
765
765
|
|
766
766
|
--
|
767
767
|
|
768
|
-
##### [find_elements](https://github.com/appium/ruby_lib/blob/
|
768
|
+
##### [find_elements](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/driver.rb#L714) common
|
769
769
|
|
770
770
|
> def find_elements(*args)
|
771
771
|
|
@@ -785,7 +785,7 @@ __Returns:__
|
|
785
785
|
|
786
786
|
--
|
787
787
|
|
788
|
-
##### [find_element](https://github.com/appium/ruby_lib/blob/
|
788
|
+
##### [find_element](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/driver.rb#L730) common
|
789
789
|
|
790
790
|
> def find_element(*args)
|
791
791
|
|
@@ -803,7 +803,7 @@ __Returns:__
|
|
803
803
|
|
804
804
|
--
|
805
805
|
|
806
|
-
##### [find_element_by_image](https://github.com/appium/ruby_lib/blob/
|
806
|
+
##### [find_element_by_image](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/driver.rb#L745) common
|
807
807
|
|
808
808
|
> def find_element_by_image(png_img_path)
|
809
809
|
|
@@ -819,7 +819,7 @@ __Returns:__
|
|
819
819
|
|
820
820
|
--
|
821
821
|
|
822
|
-
##### [find_elements_by_image](https://github.com/appium/ruby_lib/blob/
|
822
|
+
##### [find_elements_by_image](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/driver.rb#L760) common
|
823
823
|
|
824
824
|
> def find_elements_by_image(png_img_paths)
|
825
825
|
|
@@ -835,7 +835,7 @@ __Returns:__
|
|
835
835
|
|
836
836
|
--
|
837
837
|
|
838
|
-
##### [set_location](https://github.com/appium/ruby_lib/blob/
|
838
|
+
##### [set_location](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/driver.rb#L773) common
|
839
839
|
|
840
840
|
> def set_location(opts = {})
|
841
841
|
|
@@ -851,12 +851,11 @@ __Returns:__
|
|
851
851
|
|
852
852
|
--
|
853
853
|
|
854
|
-
##### [log_event](https://github.com/appium/ruby_lib/blob/
|
854
|
+
##### [log_event](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/driver.rb#L796) common
|
855
855
|
|
856
856
|
> def log_event(vendor:, event:)
|
857
857
|
|
858
|
-
Logs a custom event. The event is available via {::Appium::Core::Events#get}
|
859
|
-
<code>driver.session_capabilities['events']</code> with <code>eventTimings</code> capabilities.
|
858
|
+
Logs a custom event. The event is available via {::Appium::Core::Events#get}.
|
860
859
|
|
861
860
|
__Parameters:__
|
862
861
|
|
@@ -870,7 +869,7 @@ __Returns:__
|
|
870
869
|
|
871
870
|
--
|
872
871
|
|
873
|
-
##### [log_event=](https://github.com/appium/ruby_lib/blob/
|
872
|
+
##### [log_event=](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/driver.rb#L800) common
|
874
873
|
|
875
874
|
> def log_event=(log_event)
|
876
875
|
|
@@ -878,7 +877,7 @@ __Returns:__
|
|
878
877
|
|
879
878
|
--
|
880
879
|
|
881
|
-
##### [log_events](https://github.com/appium/ruby_lib/blob/
|
880
|
+
##### [log_events](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/driver.rb#L819) common
|
882
881
|
|
883
882
|
> def log_events(type = nil)
|
884
883
|
|
@@ -894,7 +893,7 @@ __Returns:__
|
|
894
893
|
|
895
894
|
--
|
896
895
|
|
897
|
-
##### [x](https://github.com/appium/ruby_lib/blob/
|
896
|
+
##### [x](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/driver.rb#L826) common
|
898
897
|
|
899
898
|
> def x
|
900
899
|
|
@@ -907,7 +906,7 @@ __Returns:__
|
|
907
906
|
|
908
907
|
--
|
909
908
|
|
910
|
-
##### [username](https://github.com/appium/ruby_lib/blob/
|
909
|
+
##### [username](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/sauce_labs.rb#L18) common
|
911
910
|
|
912
911
|
> def username
|
913
912
|
|
@@ -915,7 +914,7 @@ Username for use on Sauce Labs. Set `false` to disable Sauce, even when SAUCE_US
|
|
915
914
|
|
916
915
|
--
|
917
916
|
|
918
|
-
##### [access_key](https://github.com/appium/ruby_lib/blob/
|
917
|
+
##### [access_key](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/sauce_labs.rb#L20) common
|
919
918
|
|
920
919
|
> def access_key
|
921
920
|
|
@@ -923,7 +922,7 @@ Access Key for use on Sauce Labs. Set `false` to disable Sauce, even when SAUCE_
|
|
923
922
|
|
924
923
|
--
|
925
924
|
|
926
|
-
##### [endpoint](https://github.com/appium/ruby_lib/blob/
|
925
|
+
##### [endpoint](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/sauce_labs.rb#L22) common
|
927
926
|
|
928
927
|
> def endpoint
|
929
928
|
|
@@ -931,7 +930,7 @@ Override the Sauce Appium endpoint to allow e.g. TestObject tests. Default is 'o
|
|
931
930
|
|
932
931
|
--
|
933
932
|
|
934
|
-
##### [initialize](https://github.com/appium/ruby_lib/blob/
|
933
|
+
##### [initialize](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/sauce_labs.rb#L47) common
|
935
934
|
|
936
935
|
> def initialize(appium_lib_opts)
|
937
936
|
|
@@ -947,7 +946,7 @@ __Returns:__
|
|
947
946
|
|
948
947
|
--
|
949
948
|
|
950
|
-
##### [sauce_server_url?](https://github.com/appium/ruby_lib/blob/
|
949
|
+
##### [sauce_server_url?](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/sauce_labs.rb#L67) common
|
951
950
|
|
952
951
|
> def sauce_server_url?
|
953
952
|
|
@@ -959,7 +958,7 @@ __Returns:__
|
|
959
958
|
|
960
959
|
--
|
961
960
|
|
962
|
-
##### [server_url](https://github.com/appium/ruby_lib/blob/
|
961
|
+
##### [server_url](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/sauce_labs.rb#L80) common
|
963
962
|
|
964
963
|
> def server_url
|
965
964
|
|
@@ -971,7 +970,7 @@ __Returns:__
|
|
971
970
|
|
972
971
|
--
|
973
972
|
|
974
|
-
##### [get_log](https://github.com/appium/ruby_lib/blob/
|
973
|
+
##### [get_log](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/common/log.rb#L25) common
|
975
974
|
|
976
975
|
> def get_log(type)
|
977
976
|
|
@@ -987,7 +986,7 @@ __Returns:__
|
|
987
986
|
|
988
987
|
--
|
989
988
|
|
990
|
-
##### [get_available_log_types](https://github.com/appium/ruby_lib/blob/
|
989
|
+
##### [get_available_log_types](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/common/log.rb#L37) common
|
991
990
|
|
992
991
|
> def get_available_log_types
|
993
992
|
|
@@ -999,7 +998,7 @@ __Returns:__
|
|
999
998
|
|
1000
999
|
--
|
1001
1000
|
|
1002
|
-
##### [wait_true](https://github.com/appium/ruby_lib/blob/
|
1001
|
+
##### [wait_true](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/common/wait.rb#L44) common
|
1003
1002
|
|
1004
1003
|
> def wait_true(opts = {})
|
1005
1004
|
|
@@ -1019,7 +1018,7 @@ __Parameters:__
|
|
1019
1018
|
|
1020
1019
|
--
|
1021
1020
|
|
1022
|
-
##### [wait](https://github.com/appium/ruby_lib/blob/
|
1021
|
+
##### [wait](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/common/wait.rb#L73) common
|
1023
1022
|
|
1024
1023
|
> def wait(opts = {})
|
1025
1024
|
|
@@ -1037,23 +1036,7 @@ __Parameters:__
|
|
1037
1036
|
|
1038
1037
|
--
|
1039
1038
|
|
1040
|
-
##### [
|
1041
|
-
|
1042
|
-
> def add_touch_actions
|
1043
|
-
|
1044
|
-
|
1045
|
-
|
1046
|
-
--
|
1047
|
-
|
1048
|
-
##### [delegate_from_appium_driver](https://github.com/appium/ruby_lib/blob/50cf980b570acd7d2d95ea64d1d1b0225f96c73b/lib/appium_lib/common/device.rb#L38) common
|
1049
|
-
|
1050
|
-
> def delegate_from_appium_driver(method, delegation_target)
|
1051
|
-
|
1052
|
-
|
1053
|
-
|
1054
|
-
--
|
1055
|
-
|
1056
|
-
##### [ignore](https://github.com/appium/ruby_lib/blob/50cf980b570acd7d2d95ea64d1d1b0225f96c73b/lib/appium_lib/common/helper.rb#L30) common
|
1039
|
+
##### [ignore](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/common/helper.rb#L30) common
|
1057
1040
|
|
1058
1041
|
> def ignore
|
1059
1042
|
|
@@ -1061,7 +1044,7 @@ Return yield and ignore any exceptions.
|
|
1061
1044
|
|
1062
1045
|
--
|
1063
1046
|
|
1064
|
-
##### [back](https://github.com/appium/ruby_lib/blob/
|
1047
|
+
##### [back](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/common/helper.rb#L38) common
|
1065
1048
|
|
1066
1049
|
> def back
|
1067
1050
|
|
@@ -1073,7 +1056,7 @@ __Returns:__
|
|
1073
1056
|
|
1074
1057
|
--
|
1075
1058
|
|
1076
|
-
##### [session_id](https://github.com/appium/ruby_lib/blob/
|
1059
|
+
##### [session_id](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/common/helper.rb#L49) common
|
1077
1060
|
|
1078
1061
|
> def session_id
|
1079
1062
|
|
@@ -1085,7 +1068,7 @@ __Returns:__
|
|
1085
1068
|
|
1086
1069
|
--
|
1087
1070
|
|
1088
|
-
##### [xpath](https://github.com/appium/ruby_lib/blob/
|
1071
|
+
##### [xpath](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/common/helper.rb#L57) common
|
1089
1072
|
|
1090
1073
|
> def xpath(xpath_str)
|
1091
1074
|
|
@@ -1101,7 +1084,7 @@ __Returns:__
|
|
1101
1084
|
|
1102
1085
|
--
|
1103
1086
|
|
1104
|
-
##### [xpaths](https://github.com/appium/ruby_lib/blob/
|
1087
|
+
##### [xpaths](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/common/helper.rb#L65) common
|
1105
1088
|
|
1106
1089
|
> def xpaths(xpath_str)
|
1107
1090
|
|
@@ -1117,7 +1100,7 @@ __Returns:__
|
|
1117
1100
|
|
1118
1101
|
--
|
1119
1102
|
|
1120
|
-
##### [result](https://github.com/appium/ruby_lib/blob/
|
1103
|
+
##### [result](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/common/helper.rb#L75) common
|
1121
1104
|
|
1122
1105
|
> def result
|
1123
1106
|
|
@@ -1125,7 +1108,7 @@ Returns the value of attribute result.
|
|
1125
1108
|
|
1126
1109
|
--
|
1127
1110
|
|
1128
|
-
##### [initialize](https://github.com/appium/ruby_lib/blob/
|
1111
|
+
##### [initialize](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/common/helper.rb#L77) common
|
1129
1112
|
|
1130
1113
|
> def initialize(platform)
|
1131
1114
|
|
@@ -1137,7 +1120,7 @@ __Returns:__
|
|
1137
1120
|
|
1138
1121
|
--
|
1139
1122
|
|
1140
|
-
##### [reset](https://github.com/appium/ruby_lib/blob/
|
1123
|
+
##### [reset](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/common/helper.rb#L82) common
|
1141
1124
|
|
1142
1125
|
> def reset
|
1143
1126
|
|
@@ -1145,7 +1128,7 @@ __Returns:__
|
|
1145
1128
|
|
1146
1129
|
--
|
1147
1130
|
|
1148
|
-
##### [start_element](https://github.com/appium/ruby_lib/blob/
|
1131
|
+
##### [start_element](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/common/helper.rb#L87) common
|
1149
1132
|
|
1150
1133
|
> def start_element(name, attrs = [])
|
1151
1134
|
|
@@ -1153,7 +1136,7 @@ http://nokogiri.org/Nokogiri/XML/SAX/Document.html
|
|
1153
1136
|
|
1154
1137
|
--
|
1155
1138
|
|
1156
|
-
##### [formatted_result](https://github.com/appium/ruby_lib/blob/
|
1139
|
+
##### [formatted_result](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/common/helper.rb#L98) common
|
1157
1140
|
|
1158
1141
|
> def formatted_result
|
1159
1142
|
|
@@ -1161,7 +1144,7 @@ http://nokogiri.org/Nokogiri/XML/SAX/Document.html
|
|
1161
1144
|
|
1162
1145
|
--
|
1163
1146
|
|
1164
|
-
##### [get_page_class](https://github.com/appium/ruby_lib/blob/
|
1147
|
+
##### [get_page_class](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/common/helper.rb#L116) common
|
1165
1148
|
|
1166
1149
|
> def get_page_class
|
1167
1150
|
|
@@ -1173,7 +1156,7 @@ __Returns:__
|
|
1173
1156
|
|
1174
1157
|
--
|
1175
1158
|
|
1176
|
-
##### [page_class](https://github.com/appium/ruby_lib/blob/
|
1159
|
+
##### [page_class](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/common/helper.rb#L141) common
|
1177
1160
|
|
1178
1161
|
> def page_class
|
1179
1162
|
|
@@ -1186,7 +1169,7 @@ __Returns:__
|
|
1186
1169
|
|
1187
1170
|
--
|
1188
1171
|
|
1189
|
-
##### [source](https://github.com/appium/ruby_lib/blob/
|
1172
|
+
##### [source](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/common/helper.rb#L148) common
|
1190
1173
|
|
1191
1174
|
> def source
|
1192
1175
|
|
@@ -1198,7 +1181,7 @@ __Returns:__
|
|
1198
1181
|
|
1199
1182
|
--
|
1200
1183
|
|
1201
|
-
##### [get_source](https://github.com/appium/ruby_lib/blob/
|
1184
|
+
##### [get_source](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/common/helper.rb#L155) common
|
1202
1185
|
|
1203
1186
|
> def get_source
|
1204
1187
|
|
@@ -1211,7 +1194,7 @@ __Returns:__
|
|
1211
1194
|
|
1212
1195
|
--
|
1213
1196
|
|
1214
|
-
##### [px_to_window_rel](https://github.com/appium/ruby_lib/blob/
|
1197
|
+
##### [px_to_window_rel](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/common/helper.rb#L165) common
|
1215
1198
|
|
1216
1199
|
> def px_to_window_rel(opts = {}, driver = $driver)
|
1217
1200
|
|
@@ -1219,7 +1202,7 @@ Converts pixel values to window relative values
|
|
1219
1202
|
|
1220
1203
|
--
|
1221
1204
|
|
1222
|
-
##### [xml_keys](https://github.com/appium/ruby_lib/blob/
|
1205
|
+
##### [xml_keys](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/common/helper.rb#L184) common
|
1223
1206
|
|
1224
1207
|
> def xml_keys(target)
|
1225
1208
|
|
@@ -1235,7 +1218,7 @@ __Returns:__
|
|
1235
1218
|
|
1236
1219
|
--
|
1237
1220
|
|
1238
|
-
##### [xml_values](https://github.com/appium/ruby_lib/blob/
|
1221
|
+
##### [xml_values](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/common/helper.rb#L192) common
|
1239
1222
|
|
1240
1223
|
> def xml_values(target)
|
1241
1224
|
|
@@ -1251,7 +1234,7 @@ __Returns:__
|
|
1251
1234
|
|
1252
1235
|
--
|
1253
1236
|
|
1254
|
-
##### [resolve_id](https://github.com/appium/ruby_lib/blob/
|
1237
|
+
##### [resolve_id](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/common/helper.rb#L200) common
|
1255
1238
|
|
1256
1239
|
> def resolve_id(id)
|
1257
1240
|
|
@@ -1267,7 +1250,7 @@ __Returns:__
|
|
1267
1250
|
|
1268
1251
|
--
|
1269
1252
|
|
1270
|
-
##### [filter](https://github.com/appium/ruby_lib/blob/
|
1253
|
+
##### [filter](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/common/helper.rb#L207) common
|
1271
1254
|
|
1272
1255
|
> def filter
|
1273
1256
|
|
@@ -1275,7 +1258,7 @@ Returns the value of attribute filter.
|
|
1275
1258
|
|
1276
1259
|
--
|
1277
1260
|
|
1278
|
-
##### [filter=](https://github.com/appium/ruby_lib/blob/
|
1261
|
+
##### [filter=](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/common/helper.rb#L210) common
|
1279
1262
|
|
1280
1263
|
> def filter=(value)
|
1281
1264
|
|
@@ -1283,7 +1266,7 @@ convert to string to support symbols
|
|
1283
1266
|
|
1284
1267
|
--
|
1285
1268
|
|
1286
|
-
##### [initialize](https://github.com/appium/ruby_lib/blob/
|
1269
|
+
##### [initialize](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/common/helper.rb#L217) common
|
1287
1270
|
|
1288
1271
|
> def initialize
|
1289
1272
|
|
@@ -1295,7 +1278,7 @@ __Returns:__
|
|
1295
1278
|
|
1296
1279
|
--
|
1297
1280
|
|
1298
|
-
##### [reset](https://github.com/appium/ruby_lib/blob/
|
1281
|
+
##### [reset](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/common/helper.rb#L222) common
|
1299
1282
|
|
1300
1283
|
> def reset
|
1301
1284
|
|
@@ -1303,7 +1286,7 @@ __Returns:__
|
|
1303
1286
|
|
1304
1287
|
--
|
1305
1288
|
|
1306
|
-
##### [result](https://github.com/appium/ruby_lib/blob/
|
1289
|
+
##### [result](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/common/helper.rb#L228) common
|
1307
1290
|
|
1308
1291
|
> def result
|
1309
1292
|
|
@@ -1311,7 +1294,7 @@ __Returns:__
|
|
1311
1294
|
|
1312
1295
|
--
|
1313
1296
|
|
1314
|
-
##### [start_element](https://github.com/appium/ruby_lib/blob/
|
1297
|
+
##### [start_element](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/common/helper.rb#L242) common
|
1315
1298
|
|
1316
1299
|
> def start_element(name, attrs = [])
|
1317
1300
|
|
@@ -1319,7 +1302,7 @@ __Returns:__
|
|
1319
1302
|
|
1320
1303
|
--
|
1321
1304
|
|
1322
|
-
##### [end_element](https://github.com/appium/ruby_lib/blob/
|
1305
|
+
##### [end_element](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/common/helper.rb#L252) common
|
1323
1306
|
|
1324
1307
|
> def end_element(name)
|
1325
1308
|
|
@@ -1327,7 +1310,7 @@ __Returns:__
|
|
1327
1310
|
|
1328
1311
|
--
|
1329
1312
|
|
1330
|
-
##### [characters](https://github.com/appium/ruby_lib/blob/
|
1313
|
+
##### [characters](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/common/helper.rb#L259) common
|
1331
1314
|
|
1332
1315
|
> def characters(chars)
|
1333
1316
|
|
@@ -1335,79 +1318,7 @@ __Returns:__
|
|
1335
1318
|
|
1336
1319
|
--
|
1337
1320
|
|
1338
|
-
##### [
|
1339
|
-
|
1340
|
-
> def pinch(percentage = 25, auto_perform = true, driver = $driver)
|
1341
|
-
|
1342
|
-
Convenience method for pinching the screen.
|
1343
|
-
Places two fingers at the edges of the screen and brings them together.
|
1344
|
-
Without auto_perform
|
1345
|
-
|
1346
|
-
With driver
|
1347
|
-
|
1348
|
-
__Parameters:__
|
1349
|
-
|
1350
|
-
[int] percentage - The percent size by which to shrink the screen when pinched.
|
1351
|
-
|
1352
|
-
[boolean] auto_perform - Whether to perform the action immediately (default true)
|
1353
|
-
|
1354
|
-
[Driver] driver - Set a driver to conduct the action. DEfault is global driver($driver)
|
1355
|
-
|
1356
|
-
--
|
1357
|
-
|
1358
|
-
##### [zoom](https://github.com/appium/ruby_lib/blob/50cf980b570acd7d2d95ea64d1d1b0225f96c73b/lib/appium_lib/common/multi_touch.rb#L108) common
|
1359
|
-
|
1360
|
-
> def zoom(percentage = 200, auto_perform = true, driver = $driver)
|
1361
|
-
|
1362
|
-
Convenience method for zooming the screen.
|
1363
|
-
Places two fingers at the edges of the screen and brings them together.
|
1364
|
-
Without auto_perform
|
1365
|
-
|
1366
|
-
With driver
|
1367
|
-
|
1368
|
-
__Parameters:__
|
1369
|
-
|
1370
|
-
[int] percentage - The percent size by which to shrink the screen when pinched.
|
1371
|
-
|
1372
|
-
[boolean] auto_perform - Whether to perform the action immediately (default true)
|
1373
|
-
|
1374
|
-
[Driver] driver - Set a driver to conduct the action. DEfault is global driver($driver)
|
1375
|
-
|
1376
|
-
--
|
1377
|
-
|
1378
|
-
##### [initialize](https://github.com/appium/ruby_lib/blob/50cf980b570acd7d2d95ea64d1d1b0225f96c73b/lib/appium_lib/common/multi_touch.rb#L194) common
|
1379
|
-
|
1380
|
-
> def initialize(driver = $driver)
|
1381
|
-
|
1382
|
-
self
|
1383
|
-
|
1384
|
-
__Returns:__
|
1385
|
-
|
1386
|
-
[MultiTouch] a new instance of MultiTouch
|
1387
|
-
|
1388
|
-
--
|
1389
|
-
|
1390
|
-
##### [initialize](https://github.com/appium/ruby_lib/blob/50cf980b570acd7d2d95ea64d1d1b0225f96c73b/lib/appium_lib/common/touch_actions.rb#L62) common
|
1391
|
-
|
1392
|
-
> def initialize(driver = $driver)
|
1393
|
-
|
1394
|
-
|
1395
|
-
|
1396
|
-
__Returns:__
|
1397
|
-
|
1398
|
-
[TouchAction] a new instance of TouchAction
|
1399
|
-
|
1400
|
-
--
|
1401
|
-
|
1402
|
-
##### [swipe](https://github.com/appium/ruby_lib/blob/50cf980b570acd7d2d95ea64d1d1b0225f96c73b/lib/appium_lib/common/touch_actions.rb#L66) common
|
1403
|
-
|
1404
|
-
> def swipe(opts)
|
1405
|
-
|
1406
|
-
|
1407
|
-
|
1408
|
-
--
|
1409
|
-
|
1410
|
-
##### [initialize](https://github.com/appium/ruby_lib/blob/50cf980b570acd7d2d95ea64d1d1b0225f96c73b/lib/appium_lib/common/command/ws_logcat.rb#L19) common
|
1321
|
+
##### [initialize](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/common/command/ws_logcat.rb#L19) common
|
1411
1322
|
|
1412
1323
|
> def initialize(url:, output_file: 'logcat.log')
|
1413
1324
|
|
@@ -1419,7 +1330,7 @@ __Returns:__
|
|
1419
1330
|
|
1420
1331
|
--
|
1421
1332
|
|
1422
|
-
##### [handle_message_data](https://github.com/appium/ruby_lib/blob/
|
1333
|
+
##### [handle_message_data](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/common/command/ws_logcat.rb#L24) common
|
1423
1334
|
|
1424
1335
|
> def handle_message_data(data)
|
1425
1336
|
|
@@ -1427,7 +1338,7 @@ __Returns:__
|
|
1427
1338
|
|
1428
1339
|
--
|
1429
1340
|
|
1430
|
-
##### [for](https://github.com/appium/ruby_lib/blob/
|
1341
|
+
##### [for](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/ios/ios.rb#L29) ios
|
1431
1342
|
|
1432
1343
|
> def for(target)
|
1433
1344
|
|
@@ -1435,7 +1346,7 @@ __Returns:__
|
|
1435
1346
|
|
1436
1347
|
--
|
1437
1348
|
|
1438
|
-
##### [static_text_class](https://github.com/appium/ruby_lib/blob/
|
1349
|
+
##### [static_text_class](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/ios/element/text.rb#L25) ios
|
1439
1350
|
|
1440
1351
|
> def static_text_class
|
1441
1352
|
|
@@ -1447,7 +1358,7 @@ __Returns:__
|
|
1447
1358
|
|
1448
1359
|
--
|
1449
1360
|
|
1450
|
-
##### [text](https://github.com/appium/ruby_lib/blob/
|
1361
|
+
##### [text](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/ios/element/text.rb#L33) ios
|
1451
1362
|
|
1452
1363
|
> def text(value)
|
1453
1364
|
|
@@ -1464,7 +1375,7 @@ __Returns:__
|
|
1464
1375
|
|
1465
1376
|
--
|
1466
1377
|
|
1467
|
-
##### [texts](https://github.com/appium/ruby_lib/blob/
|
1378
|
+
##### [texts](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/ios/element/text.rb#L43) ios
|
1468
1379
|
|
1469
1380
|
> def texts(value = false)
|
1470
1381
|
|
@@ -1481,7 +1392,7 @@ __Returns:__
|
|
1481
1392
|
|
1482
1393
|
--
|
1483
1394
|
|
1484
|
-
##### [first_text](https://github.com/appium/ruby_lib/blob/
|
1395
|
+
##### [first_text](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/ios/element/text.rb#L51) ios
|
1485
1396
|
|
1486
1397
|
> def first_text
|
1487
1398
|
|
@@ -1493,7 +1404,7 @@ __Returns:__
|
|
1493
1404
|
|
1494
1405
|
--
|
1495
1406
|
|
1496
|
-
##### [last_text](https://github.com/appium/ruby_lib/blob/
|
1407
|
+
##### [last_text](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/ios/element/text.rb#L57) ios
|
1497
1408
|
|
1498
1409
|
> def last_text
|
1499
1410
|
|
@@ -1505,7 +1416,7 @@ __Returns:__
|
|
1505
1416
|
|
1506
1417
|
--
|
1507
1418
|
|
1508
|
-
##### [text_exact](https://github.com/appium/ruby_lib/blob/
|
1419
|
+
##### [text_exact](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/ios/element/text.rb#L64) ios
|
1509
1420
|
|
1510
1421
|
> def text_exact(value)
|
1511
1422
|
|
@@ -1521,7 +1432,7 @@ __Returns:__
|
|
1521
1432
|
|
1522
1433
|
--
|
1523
1434
|
|
1524
|
-
##### [texts_exact](https://github.com/appium/ruby_lib/blob/
|
1435
|
+
##### [texts_exact](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/ios/element/text.rb#L71) ios
|
1525
1436
|
|
1526
1437
|
> def texts_exact(value)
|
1527
1438
|
|
@@ -1537,7 +1448,7 @@ __Returns:__
|
|
1537
1448
|
|
1538
1449
|
--
|
1539
1450
|
|
1540
|
-
##### [filter](https://github.com/appium/ruby_lib/blob/
|
1451
|
+
##### [filter](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/ios/common/helper.rb#L19) ios
|
1541
1452
|
|
1542
1453
|
> def filter
|
1543
1454
|
|
@@ -1545,7 +1456,7 @@ Returns the value of attribute filter.
|
|
1545
1456
|
|
1546
1457
|
--
|
1547
1458
|
|
1548
|
-
##### [filter=](https://github.com/appium/ruby_lib/blob/
|
1459
|
+
##### [filter=](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/ios/common/helper.rb#L19) ios
|
1549
1460
|
|
1550
1461
|
> def filter=(value)
|
1551
1462
|
|
@@ -1557,7 +1468,7 @@ __Parameters:__
|
|
1557
1468
|
|
1558
1469
|
--
|
1559
1470
|
|
1560
|
-
##### [start_element](https://github.com/appium/ruby_lib/blob/
|
1471
|
+
##### [start_element](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/ios/common/helper.rb#L21) ios
|
1561
1472
|
|
1562
1473
|
> def start_element(type, attrs = [])
|
1563
1474
|
|
@@ -1565,7 +1476,7 @@ __Parameters:__
|
|
1565
1476
|
|
1566
1477
|
--
|
1567
1478
|
|
1568
|
-
##### [ios_password](https://github.com/appium/ruby_lib/blob/
|
1479
|
+
##### [ios_password](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/ios/common/helper.rb#L58) ios
|
1569
1480
|
|
1570
1481
|
> def ios_password(length = 1)
|
1571
1482
|
|
@@ -1583,7 +1494,7 @@ __Returns:__
|
|
1583
1494
|
|
1584
1495
|
--
|
1585
1496
|
|
1586
|
-
##### [page](https://github.com/appium/ruby_lib/blob/
|
1497
|
+
##### [page](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/ios/common/helper.rb#L74) ios
|
1587
1498
|
|
1588
1499
|
> def page(opts = {})
|
1589
1500
|
|
@@ -1601,7 +1512,7 @@ __Returns:__
|
|
1601
1512
|
|
1602
1513
|
--
|
1603
1514
|
|
1604
|
-
##### [id](https://github.com/appium/ruby_lib/blob/
|
1515
|
+
##### [id](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/ios/common/helper.rb#L101) ios
|
1605
1516
|
|
1606
1517
|
> def id(id)
|
1607
1518
|
|
@@ -1617,7 +1528,7 @@ __Returns:__
|
|
1617
1528
|
|
1618
1529
|
--
|
1619
1530
|
|
1620
|
-
##### [ele_index](https://github.com/appium/ruby_lib/blob/
|
1531
|
+
##### [ele_index](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/ios/common/helper.rb#L109) ios
|
1621
1532
|
|
1622
1533
|
> def ele_index(class_name, index)
|
1623
1534
|
|
@@ -1635,7 +1546,7 @@ __Returns:__
|
|
1635
1546
|
|
1636
1547
|
--
|
1637
1548
|
|
1638
|
-
##### [find_ele_by_attr](https://github.com/appium/ruby_lib/blob/
|
1549
|
+
##### [find_ele_by_attr](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/ios/common/helper.rb#L139) ios
|
1639
1550
|
|
1640
1551
|
> def find_ele_by_attr(class_name, attr, value)
|
1641
1552
|
|
@@ -1657,7 +1568,7 @@ __Returns:__
|
|
1657
1568
|
|
1658
1569
|
--
|
1659
1570
|
|
1660
|
-
##### [find_eles_by_attr](https://github.com/appium/ruby_lib/blob/
|
1571
|
+
##### [find_eles_by_attr](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/ios/common/helper.rb#L150) ios
|
1661
1572
|
|
1662
1573
|
> def find_eles_by_attr(class_name, attr, value)
|
1663
1574
|
|
@@ -1679,7 +1590,7 @@ __Returns:__
|
|
1679
1590
|
|
1680
1591
|
--
|
1681
1592
|
|
1682
|
-
##### [find_ele_by_predicate](https://github.com/appium/ruby_lib/blob/
|
1593
|
+
##### [find_ele_by_predicate](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/ios/common/helper.rb#L163) ios
|
1683
1594
|
|
1684
1595
|
> def find_ele_by_predicate(class_name: '*', value:)
|
1685
1596
|
|
@@ -1696,7 +1607,7 @@ __Returns:__
|
|
1696
1607
|
|
1697
1608
|
--
|
1698
1609
|
|
1699
|
-
##### [find_eles_by_predicate](https://github.com/appium/ruby_lib/blob/
|
1610
|
+
##### [find_eles_by_predicate](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/ios/common/helper.rb#L175) ios
|
1700
1611
|
|
1701
1612
|
> def find_eles_by_predicate(class_name: '*', value:)
|
1702
1613
|
|
@@ -1715,7 +1626,7 @@ __Returns:__
|
|
1715
1626
|
|
1716
1627
|
--
|
1717
1628
|
|
1718
|
-
##### [find_ele_by_attr_include](https://github.com/appium/ruby_lib/blob/
|
1629
|
+
##### [find_ele_by_attr_include](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/ios/common/helper.rb#L191) ios
|
1719
1630
|
|
1720
1631
|
> def find_ele_by_attr_include(class_name, attr, value)
|
1721
1632
|
|
@@ -1736,7 +1647,7 @@ __Returns:__
|
|
1736
1647
|
|
1737
1648
|
--
|
1738
1649
|
|
1739
|
-
##### [find_eles_by_attr_include](https://github.com/appium/ruby_lib/blob/
|
1650
|
+
##### [find_eles_by_attr_include](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/ios/common/helper.rb#L201) ios
|
1740
1651
|
|
1741
1652
|
> def find_eles_by_attr_include(class_name, attr, value)
|
1742
1653
|
|
@@ -1757,7 +1668,7 @@ __Returns:__
|
|
1757
1668
|
|
1758
1669
|
--
|
1759
1670
|
|
1760
|
-
##### [find_ele_by_predicate_include](https://github.com/appium/ruby_lib/blob/
|
1671
|
+
##### [find_ele_by_predicate_include](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/ios/common/helper.rb#L209) ios
|
1761
1672
|
|
1762
1673
|
> def find_ele_by_predicate_include(class_name: '*', value:)
|
1763
1674
|
|
@@ -1774,7 +1685,7 @@ __Returns:__
|
|
1774
1685
|
|
1775
1686
|
--
|
1776
1687
|
|
1777
|
-
##### [find_eles_by_predicate_include](https://github.com/appium/ruby_lib/blob/
|
1688
|
+
##### [find_eles_by_predicate_include](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/ios/common/helper.rb#L221) ios
|
1778
1689
|
|
1779
1690
|
> def find_eles_by_predicate_include(class_name: '*', value:)
|
1780
1691
|
|
@@ -1793,7 +1704,7 @@ __Returns:__
|
|
1793
1704
|
|
1794
1705
|
--
|
1795
1706
|
|
1796
|
-
##### [first_ele](https://github.com/appium/ruby_lib/blob/
|
1707
|
+
##### [first_ele](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/ios/common/helper.rb#L234) ios
|
1797
1708
|
|
1798
1709
|
> def first_ele(class_name)
|
1799
1710
|
|
@@ -1809,7 +1720,7 @@ __Returns:__
|
|
1809
1720
|
|
1810
1721
|
--
|
1811
1722
|
|
1812
|
-
##### [last_ele](https://github.com/appium/ruby_lib/blob/
|
1723
|
+
##### [last_ele](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/ios/common/helper.rb#L241) ios
|
1813
1724
|
|
1814
1725
|
> def last_ele(class_name)
|
1815
1726
|
|
@@ -1825,7 +1736,7 @@ __Returns:__
|
|
1825
1736
|
|
1826
1737
|
--
|
1827
1738
|
|
1828
|
-
##### [tag](https://github.com/appium/ruby_lib/blob/
|
1739
|
+
##### [tag](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/ios/common/helper.rb#L249) ios
|
1829
1740
|
|
1830
1741
|
> def tag(class_name)
|
1831
1742
|
|
@@ -1841,7 +1752,7 @@ __Returns:__
|
|
1841
1752
|
|
1842
1753
|
--
|
1843
1754
|
|
1844
|
-
##### [tags](https://github.com/appium/ruby_lib/blob/
|
1755
|
+
##### [tags](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/ios/common/helper.rb#L257) ios
|
1845
1756
|
|
1846
1757
|
> def tags(class_name)
|
1847
1758
|
|
@@ -1857,7 +1768,7 @@ __Returns:__
|
|
1857
1768
|
|
1858
1769
|
--
|
1859
1770
|
|
1860
|
-
##### [tags_include](https://github.com/appium/ruby_lib/blob/
|
1771
|
+
##### [tags_include](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/ios/common/helper.rb#L268) ios
|
1861
1772
|
|
1862
1773
|
> def tags_include(class_names:, value: nil)
|
1863
1774
|
|
@@ -1877,7 +1788,7 @@ __Returns:__
|
|
1877
1788
|
|
1878
1789
|
--
|
1879
1790
|
|
1880
|
-
##### [tags_exact](https://github.com/appium/ruby_lib/blob/
|
1791
|
+
##### [tags_exact](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/ios/common/helper.rb#L283) ios
|
1881
1792
|
|
1882
1793
|
> def tags_exact(class_names:, value: nil)
|
1883
1794
|
|
@@ -1897,7 +1808,7 @@ __Returns:__
|
|
1897
1808
|
|
1898
1809
|
--
|
1899
1810
|
|
1900
|
-
##### [ele_by_json_visible_contains](https://github.com/appium/ruby_lib/blob/
|
1811
|
+
##### [ele_by_json_visible_contains](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/ios/common/helper.rb#L320) ios
|
1901
1812
|
|
1902
1813
|
> def ele_by_json_visible_contains(element, value)
|
1903
1814
|
|
@@ -1916,7 +1827,7 @@ __Returns:__
|
|
1916
1827
|
|
1917
1828
|
--
|
1918
1829
|
|
1919
|
-
##### [eles_by_json_visible_contains](https://github.com/appium/ruby_lib/blob/
|
1830
|
+
##### [eles_by_json_visible_contains](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/ios/common/helper.rb#L329) ios
|
1920
1831
|
|
1921
1832
|
> def eles_by_json_visible_contains(element, value)
|
1922
1833
|
|
@@ -1935,7 +1846,7 @@ __Returns:__
|
|
1935
1846
|
|
1936
1847
|
--
|
1937
1848
|
|
1938
|
-
##### [ele_by_json_visible_exact](https://github.com/appium/ruby_lib/blob/
|
1849
|
+
##### [ele_by_json_visible_exact](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/ios/common/helper.rb#L359) ios
|
1939
1850
|
|
1940
1851
|
> def ele_by_json_visible_exact(element, value)
|
1941
1852
|
|
@@ -1954,7 +1865,7 @@ __Returns:__
|
|
1954
1865
|
|
1955
1866
|
--
|
1956
1867
|
|
1957
|
-
##### [eles_by_json_visible_exact](https://github.com/appium/ruby_lib/blob/
|
1868
|
+
##### [eles_by_json_visible_exact](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/ios/common/helper.rb#L368) ios
|
1958
1869
|
|
1959
1870
|
> def eles_by_json_visible_exact(element, value)
|
1960
1871
|
|
@@ -1973,7 +1884,7 @@ __Returns:__
|
|
1973
1884
|
|
1974
1885
|
--
|
1975
1886
|
|
1976
|
-
##### [_all_pred](https://github.com/appium/ruby_lib/blob/
|
1887
|
+
##### [_all_pred](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/ios/common/helper.rb#L377) ios
|
1977
1888
|
|
1978
1889
|
> def _all_pred(opts)
|
1979
1890
|
|
@@ -1983,7 +1894,7 @@ visible - if true, only visible elements are returned. default true
|
|
1983
1894
|
|
1984
1895
|
--
|
1985
1896
|
|
1986
|
-
##### [ele_with_pred](https://github.com/appium/ruby_lib/blob/
|
1897
|
+
##### [ele_with_pred](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/ios/common/helper.rb#L391) ios
|
1987
1898
|
|
1988
1899
|
> def ele_with_pred(opts)
|
1989
1900
|
|
@@ -1999,7 +1910,7 @@ __Returns:__
|
|
1999
1910
|
|
2000
1911
|
--
|
2001
1912
|
|
2002
|
-
##### [eles_with_pred](https://github.com/appium/ruby_lib/blob/
|
1913
|
+
##### [eles_with_pred](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/ios/common/helper.rb#L402) ios
|
2003
1914
|
|
2004
1915
|
> def eles_with_pred(opts)
|
2005
1916
|
|
@@ -2015,7 +1926,7 @@ __Returns:__
|
|
2015
1926
|
|
2016
1927
|
--
|
2017
1928
|
|
2018
|
-
##### [_validate_object](https://github.com/appium/ruby_lib/blob/
|
1929
|
+
##### [_validate_object](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/ios/common/helper.rb#L406) ios
|
2019
1930
|
|
2020
1931
|
> def _validate_object(*objects)
|
2021
1932
|
|
@@ -2023,7 +1934,7 @@ __Returns:__
|
|
2023
1934
|
|
2024
1935
|
--
|
2025
1936
|
|
2026
|
-
##### [_by_json](https://github.com/appium/ruby_lib/blob/
|
1937
|
+
##### [_by_json](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/ios/common/helper.rb#L456) ios
|
2027
1938
|
|
2028
1939
|
> def _by_json(opts)
|
2029
1940
|
|
@@ -2058,7 +1969,7 @@ opts = {
|
|
2058
1969
|
|
2059
1970
|
--
|
2060
1971
|
|
2061
|
-
##### [eles_by_json](https://github.com/appium/ruby_lib/blob/
|
1972
|
+
##### [eles_by_json](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/ios/common/helper.rb#L506) ios
|
2062
1973
|
|
2063
1974
|
> def eles_by_json(opts)
|
2064
1975
|
|
@@ -2077,7 +1988,7 @@ eles_by_json({
|
|
2077
1988
|
|
2078
1989
|
--
|
2079
1990
|
|
2080
|
-
##### [ele_by_json](https://github.com/appium/ruby_lib/blob/
|
1991
|
+
##### [ele_by_json](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/ios/common/helper.rb#L512) ios
|
2081
1992
|
|
2082
1993
|
> def ele_by_json(opts)
|
2083
1994
|
|
@@ -2085,7 +1996,7 @@ see eles_by_json
|
|
2085
1996
|
|
2086
1997
|
--
|
2087
1998
|
|
2088
|
-
##### [alert_accept](https://github.com/appium/ruby_lib/blob/
|
1999
|
+
##### [alert_accept](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/ios/element/alert.rb#L19) ios
|
2089
2000
|
|
2090
2001
|
> def alert_accept
|
2091
2002
|
|
@@ -2097,7 +2008,7 @@ __Returns:__
|
|
2097
2008
|
|
2098
2009
|
--
|
2099
2010
|
|
2100
|
-
##### [alert_dismiss](https://github.com/appium/ruby_lib/blob/
|
2011
|
+
##### [alert_dismiss](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/ios/element/alert.rb#L27) ios
|
2101
2012
|
|
2102
2013
|
> def alert_dismiss
|
2103
2014
|
|
@@ -2109,7 +2020,7 @@ __Returns:__
|
|
2109
2020
|
|
2110
2021
|
--
|
2111
2022
|
|
2112
|
-
##### [button_class](https://github.com/appium/ruby_lib/blob/
|
2023
|
+
##### [button_class](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/ios/element/button.rb#L25) ios
|
2113
2024
|
|
2114
2025
|
> def button_class
|
2115
2026
|
|
@@ -2121,7 +2032,7 @@ __Returns:__
|
|
2121
2032
|
|
2122
2033
|
--
|
2123
2034
|
|
2124
|
-
##### [button](https://github.com/appium/ruby_lib/blob/
|
2035
|
+
##### [button](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/ios/element/button.rb#L33) ios
|
2125
2036
|
|
2126
2037
|
> def button(value)
|
2127
2038
|
|
@@ -2138,7 +2049,7 @@ __Returns:__
|
|
2138
2049
|
|
2139
2050
|
--
|
2140
2051
|
|
2141
|
-
##### [buttons](https://github.com/appium/ruby_lib/blob/
|
2052
|
+
##### [buttons](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/ios/element/button.rb#L44) ios
|
2142
2053
|
|
2143
2054
|
> def buttons(value = false)
|
2144
2055
|
|
@@ -2155,7 +2066,7 @@ __Returns:__
|
|
2155
2066
|
|
2156
2067
|
--
|
2157
2068
|
|
2158
|
-
##### [first_button](https://github.com/appium/ruby_lib/blob/
|
2069
|
+
##### [first_button](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/ios/element/button.rb#L52) ios
|
2159
2070
|
|
2160
2071
|
> def first_button
|
2161
2072
|
|
@@ -2167,7 +2078,7 @@ __Returns:__
|
|
2167
2078
|
|
2168
2079
|
--
|
2169
2080
|
|
2170
|
-
##### [last_button](https://github.com/appium/ruby_lib/blob/
|
2081
|
+
##### [last_button](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/ios/element/button.rb#L60) ios
|
2171
2082
|
|
2172
2083
|
> def last_button
|
2173
2084
|
|
@@ -2181,7 +2092,7 @@ __Returns:__
|
|
2181
2092
|
|
2182
2093
|
--
|
2183
2094
|
|
2184
|
-
##### [button_exact](https://github.com/appium/ruby_lib/blob/
|
2095
|
+
##### [button_exact](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/ios/element/button.rb#L67) ios
|
2185
2096
|
|
2186
2097
|
> def button_exact(value)
|
2187
2098
|
|
@@ -2197,7 +2108,7 @@ __Returns:__
|
|
2197
2108
|
|
2198
2109
|
--
|
2199
2110
|
|
2200
|
-
##### [buttons_exact](https://github.com/appium/ruby_lib/blob/
|
2111
|
+
##### [buttons_exact](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/ios/element/button.rb#L74) ios
|
2201
2112
|
|
2202
2113
|
> def buttons_exact(value)
|
2203
2114
|
|
@@ -2213,7 +2124,7 @@ __Returns:__
|
|
2213
2124
|
|
2214
2125
|
--
|
2215
2126
|
|
2216
|
-
##### [find](https://github.com/appium/ruby_lib/blob/
|
2127
|
+
##### [find](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/ios/element/generic.rb#L20) ios
|
2217
2128
|
|
2218
2129
|
> def find(value)
|
2219
2130
|
|
@@ -2229,7 +2140,7 @@ __Returns:__
|
|
2229
2140
|
|
2230
2141
|
--
|
2231
2142
|
|
2232
|
-
##### [finds](https://github.com/appium/ruby_lib/blob/
|
2143
|
+
##### [finds](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/ios/element/generic.rb#L27) ios
|
2233
2144
|
|
2234
2145
|
> def finds(value)
|
2235
2146
|
|
@@ -2245,7 +2156,7 @@ __Returns:__
|
|
2245
2156
|
|
2246
2157
|
--
|
2247
2158
|
|
2248
|
-
##### [find_exact](https://github.com/appium/ruby_lib/blob/
|
2159
|
+
##### [find_exact](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/ios/element/generic.rb#L34) ios
|
2249
2160
|
|
2250
2161
|
> def find_exact(value)
|
2251
2162
|
|
@@ -2261,7 +2172,7 @@ __Returns:__
|
|
2261
2172
|
|
2262
2173
|
--
|
2263
2174
|
|
2264
|
-
##### [finds_exact](https://github.com/appium/ruby_lib/blob/
|
2175
|
+
##### [finds_exact](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/ios/element/generic.rb#L41) ios
|
2265
2176
|
|
2266
2177
|
> def finds_exact(value)
|
2267
2178
|
|
@@ -2277,7 +2188,7 @@ __Returns:__
|
|
2277
2188
|
|
2278
2189
|
--
|
2279
2190
|
|
2280
|
-
##### [raise_error_if_no_element](https://github.com/appium/ruby_lib/blob/
|
2191
|
+
##### [raise_error_if_no_element](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/ios/element/generic.rb#L47) ios
|
2281
2192
|
|
2282
2193
|
> def raise_error_if_no_element(element)
|
2283
2194
|
|
@@ -2285,7 +2196,7 @@ __Returns:__
|
|
2285
2196
|
|
2286
2197
|
--
|
2287
2198
|
|
2288
|
-
##### [select_visible_elements](https://github.com/appium/ruby_lib/blob/
|
2199
|
+
##### [select_visible_elements](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/ios/element/generic.rb#L55) ios
|
2289
2200
|
|
2290
2201
|
> def select_visible_elements(elements)
|
2291
2202
|
|
@@ -2293,7 +2204,7 @@ Return visible elements.
|
|
2293
2204
|
|
2294
2205
|
--
|
2295
2206
|
|
2296
|
-
##### [for](https://github.com/appium/ruby_lib/blob/
|
2207
|
+
##### [for](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/ios/xcuitest/bridge.rb#L21) ios
|
2297
2208
|
|
2298
2209
|
> def for(target)
|
2299
2210
|
|
@@ -2301,7 +2212,7 @@ Return visible elements.
|
|
2301
2212
|
|
2302
2213
|
--
|
2303
2214
|
|
2304
|
-
##### [last_ele](https://github.com/appium/ruby_lib/blob/
|
2215
|
+
##### [last_ele](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/ios/xcuitest/helper.rb#L40) ios
|
2305
2216
|
|
2306
2217
|
> def last_ele(class_name)
|
2307
2218
|
|
@@ -2317,7 +2228,7 @@ __Returns:__
|
|
2317
2228
|
|
2318
2229
|
--
|
2319
2230
|
|
2320
|
-
##### [tag](https://github.com/appium/ruby_lib/blob/
|
2231
|
+
##### [tag](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/ios/xcuitest/helper.rb#L51) ios
|
2321
2232
|
|
2322
2233
|
> def tag(class_name)
|
2323
2234
|
|
@@ -2333,7 +2244,7 @@ __Returns:__
|
|
2333
2244
|
|
2334
2245
|
--
|
2335
2246
|
|
2336
|
-
##### [tags](https://github.com/appium/ruby_lib/blob/
|
2247
|
+
##### [tags](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/ios/xcuitest/helper.rb#L59) ios
|
2337
2248
|
|
2338
2249
|
> def tags(class_name)
|
2339
2250
|
|
@@ -2349,7 +2260,7 @@ __Returns:__
|
|
2349
2260
|
|
2350
2261
|
--
|
2351
2262
|
|
2352
|
-
##### [tags_include](https://github.com/appium/ruby_lib/blob/
|
2263
|
+
##### [tags_include](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/ios/xcuitest/helper.rb#L71) ios
|
2353
2264
|
|
2354
2265
|
> def tags_include(class_names:, value: nil)
|
2355
2266
|
|
@@ -2369,7 +2280,7 @@ __Returns:__
|
|
2369
2280
|
|
2370
2281
|
--
|
2371
2282
|
|
2372
|
-
##### [tags_exact](https://github.com/appium/ruby_lib/blob/
|
2283
|
+
##### [tags_exact](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/ios/xcuitest/helper.rb#L93) ios
|
2373
2284
|
|
2374
2285
|
> def tags_exact(class_names:, value: nil)
|
2375
2286
|
|
@@ -2389,7 +2300,7 @@ __Returns:__
|
|
2389
2300
|
|
2390
2301
|
--
|
2391
2302
|
|
2392
|
-
##### [start_logs_broadcast](https://github.com/appium/ruby_lib/blob/
|
2303
|
+
##### [start_logs_broadcast](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/ios/xcuitest/command.rb#L33) ios
|
2393
2304
|
|
2394
2305
|
> def start_logs_broadcast(syslog_file = 'syslog.log')
|
2395
2306
|
|
@@ -2401,7 +2312,7 @@ __Parameters:__
|
|
2401
2312
|
|
2402
2313
|
--
|
2403
2314
|
|
2404
|
-
##### [stop_logs_broadcast](https://github.com/appium/ruby_lib/blob/
|
2315
|
+
##### [stop_logs_broadcast](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/ios/xcuitest/command.rb#L46) ios
|
2405
2316
|
|
2406
2317
|
> def stop_logs_broadcast
|
2407
2318
|
|
@@ -2409,7 +2320,7 @@ Stop iOS syslog broadcast websocket
|
|
2409
2320
|
|
2410
2321
|
--
|
2411
2322
|
|
2412
|
-
##### [text_field_class](https://github.com/appium/ruby_lib/blob/
|
2323
|
+
##### [text_field_class](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/ios/element/textfield.rb#L28) ios
|
2413
2324
|
|
2414
2325
|
> def text_field_class
|
2415
2326
|
|
@@ -2421,7 +2332,7 @@ __Returns:__
|
|
2421
2332
|
|
2422
2333
|
--
|
2423
2334
|
|
2424
|
-
##### [secure_text_field_class](https://github.com/appium/ruby_lib/blob/
|
2335
|
+
##### [secure_text_field_class](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/ios/element/textfield.rb#L33) ios
|
2425
2336
|
|
2426
2337
|
> def secure_text_field_class
|
2427
2338
|
|
@@ -2433,7 +2344,7 @@ __Returns:__
|
|
2433
2344
|
|
2434
2345
|
--
|
2435
2346
|
|
2436
|
-
##### [textfield](https://github.com/appium/ruby_lib/blob/
|
2347
|
+
##### [textfield](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/ios/element/textfield.rb#L42) ios
|
2437
2348
|
|
2438
2349
|
> def textfield(value)
|
2439
2350
|
|
@@ -2451,7 +2362,7 @@ __Returns:__
|
|
2451
2362
|
|
2452
2363
|
--
|
2453
2364
|
|
2454
|
-
##### [textfields](https://github.com/appium/ruby_lib/blob/
|
2365
|
+
##### [textfields](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/ios/element/textfield.rb#L61) ios
|
2455
2366
|
|
2456
2367
|
> def textfields(value = false)
|
2457
2368
|
|
@@ -2468,7 +2379,7 @@ __Returns:__
|
|
2468
2379
|
|
2469
2380
|
--
|
2470
2381
|
|
2471
|
-
##### [first_textfield](https://github.com/appium/ruby_lib/blob/
|
2382
|
+
##### [first_textfield](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/ios/element/textfield.rb#L69) ios
|
2472
2383
|
|
2473
2384
|
> def first_textfield
|
2474
2385
|
|
@@ -2480,7 +2391,7 @@ __Returns:__
|
|
2480
2391
|
|
2481
2392
|
--
|
2482
2393
|
|
2483
|
-
##### [last_textfield](https://github.com/appium/ruby_lib/blob/
|
2394
|
+
##### [last_textfield](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/ios/element/textfield.rb#L75) ios
|
2484
2395
|
|
2485
2396
|
> def last_textfield
|
2486
2397
|
|
@@ -2492,7 +2403,7 @@ __Returns:__
|
|
2492
2403
|
|
2493
2404
|
--
|
2494
2405
|
|
2495
|
-
##### [textfield_exact](https://github.com/appium/ruby_lib/blob/
|
2406
|
+
##### [textfield_exact](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/ios/element/textfield.rb#L85) ios
|
2496
2407
|
|
2497
2408
|
> def textfield_exact(value)
|
2498
2409
|
|
@@ -2508,7 +2419,7 @@ __Returns:__
|
|
2508
2419
|
|
2509
2420
|
--
|
2510
2421
|
|
2511
|
-
##### [textfields_exact](https://github.com/appium/ruby_lib/blob/
|
2422
|
+
##### [textfields_exact](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/ios/element/textfield.rb#L92) ios
|
2512
2423
|
|
2513
2424
|
> def textfields_exact(value)
|
2514
2425
|
|
@@ -2524,7 +2435,7 @@ __Returns:__
|
|
2524
2435
|
|
2525
2436
|
--
|
2526
2437
|
|
2527
|
-
##### [_textfield_visible](https://github.com/appium/ruby_lib/blob/
|
2438
|
+
##### [_textfield_visible](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/ios/element/textfield.rb#L99) ios
|
2528
2439
|
|
2529
2440
|
> def _textfield_visible
|
2530
2441
|
|
@@ -2532,7 +2443,7 @@ Appium
|
|
2532
2443
|
|
2533
2444
|
--
|
2534
2445
|
|
2535
|
-
##### [_textfield_exact_string](https://github.com/appium/ruby_lib/blob/
|
2446
|
+
##### [_textfield_exact_string](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/ios/element/textfield.rb#L104) ios
|
2536
2447
|
|
2537
2448
|
> def _textfield_exact_string(value)
|
2538
2449
|
|
@@ -2540,7 +2451,7 @@ Appium
|
|
2540
2451
|
|
2541
2452
|
--
|
2542
2453
|
|
2543
|
-
##### [_textfield_contains_string](https://github.com/appium/ruby_lib/blob/
|
2454
|
+
##### [_textfield_contains_string](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/ios/element/textfield.rb#L111) ios
|
2544
2455
|
|
2545
2456
|
> def _textfield_contains_string(value)
|
2546
2457
|
|
@@ -2548,7 +2459,7 @@ Appium
|
|
2548
2459
|
|
2549
2460
|
--
|
2550
2461
|
|
2551
|
-
##### [static_text_class](https://github.com/appium/ruby_lib/blob/
|
2462
|
+
##### [static_text_class](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/ios/xcuitest/element/text.rb#L23) ios
|
2552
2463
|
|
2553
2464
|
> def static_text_class
|
2554
2465
|
|
@@ -2560,7 +2471,7 @@ __Returns:__
|
|
2560
2471
|
|
2561
2472
|
--
|
2562
2473
|
|
2563
|
-
##### [text](https://github.com/appium/ruby_lib/blob/
|
2474
|
+
##### [text](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/ios/xcuitest/element/text.rb#L31) ios
|
2564
2475
|
|
2565
2476
|
> def text(value)
|
2566
2477
|
|
@@ -2577,7 +2488,7 @@ __Returns:__
|
|
2577
2488
|
|
2578
2489
|
--
|
2579
2490
|
|
2580
|
-
##### [texts](https://github.com/appium/ruby_lib/blob/
|
2491
|
+
##### [texts](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/ios/xcuitest/element/text.rb#L41) ios
|
2581
2492
|
|
2582
2493
|
> def texts(value = false)
|
2583
2494
|
|
@@ -2594,7 +2505,7 @@ __Returns:__
|
|
2594
2505
|
|
2595
2506
|
--
|
2596
2507
|
|
2597
|
-
##### [first_text](https://github.com/appium/ruby_lib/blob/
|
2508
|
+
##### [first_text](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/ios/xcuitest/element/text.rb#L50) ios
|
2598
2509
|
|
2599
2510
|
> def first_text
|
2600
2511
|
|
@@ -2606,7 +2517,7 @@ __Returns:__
|
|
2606
2517
|
|
2607
2518
|
--
|
2608
2519
|
|
2609
|
-
##### [last_text](https://github.com/appium/ruby_lib/blob/
|
2520
|
+
##### [last_text](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/ios/xcuitest/element/text.rb#L56) ios
|
2610
2521
|
|
2611
2522
|
> def last_text
|
2612
2523
|
|
@@ -2618,7 +2529,7 @@ __Returns:__
|
|
2618
2529
|
|
2619
2530
|
--
|
2620
2531
|
|
2621
|
-
##### [text_exact](https://github.com/appium/ruby_lib/blob/
|
2532
|
+
##### [text_exact](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/ios/xcuitest/element/text.rb#L63) ios
|
2622
2533
|
|
2623
2534
|
> def text_exact(value)
|
2624
2535
|
|
@@ -2634,7 +2545,7 @@ __Returns:__
|
|
2634
2545
|
|
2635
2546
|
--
|
2636
2547
|
|
2637
|
-
##### [texts_exact](https://github.com/appium/ruby_lib/blob/
|
2548
|
+
##### [texts_exact](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/ios/xcuitest/element/text.rb#L70) ios
|
2638
2549
|
|
2639
2550
|
> def texts_exact(value)
|
2640
2551
|
|
@@ -2650,7 +2561,7 @@ __Returns:__
|
|
2650
2561
|
|
2651
2562
|
--
|
2652
2563
|
|
2653
|
-
##### [xcuitest_source](https://github.com/appium/ruby_lib/blob/
|
2564
|
+
##### [xcuitest_source](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/ios/xcuitest/command/source.rb#L25) ios
|
2654
2565
|
|
2655
2566
|
> def xcuitest_source(format: :xml)
|
2656
2567
|
|
@@ -2666,7 +2577,7 @@ xcuitest_source format: :json
|
|
2666
2577
|
|
2667
2578
|
--
|
2668
2579
|
|
2669
|
-
##### [button_class](https://github.com/appium/ruby_lib/blob/
|
2580
|
+
##### [button_class](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/ios/xcuitest/element/button.rb#L23) ios
|
2670
2581
|
|
2671
2582
|
> def button_class
|
2672
2583
|
|
@@ -2678,7 +2589,7 @@ __Returns:__
|
|
2678
2589
|
|
2679
2590
|
--
|
2680
2591
|
|
2681
|
-
##### [button](https://github.com/appium/ruby_lib/blob/
|
2592
|
+
##### [button](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/ios/xcuitest/element/button.rb#L31) ios
|
2682
2593
|
|
2683
2594
|
> def button(value)
|
2684
2595
|
|
@@ -2695,7 +2606,7 @@ __Returns:__
|
|
2695
2606
|
|
2696
2607
|
--
|
2697
2608
|
|
2698
|
-
##### [buttons](https://github.com/appium/ruby_lib/blob/
|
2609
|
+
##### [buttons](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/ios/xcuitest/element/button.rb#L42) ios
|
2699
2610
|
|
2700
2611
|
> def buttons(value = false)
|
2701
2612
|
|
@@ -2712,7 +2623,7 @@ __Returns:__
|
|
2712
2623
|
|
2713
2624
|
--
|
2714
2625
|
|
2715
|
-
##### [first_button](https://github.com/appium/ruby_lib/blob/
|
2626
|
+
##### [first_button](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/ios/xcuitest/element/button.rb#L51) ios
|
2716
2627
|
|
2717
2628
|
> def first_button
|
2718
2629
|
|
@@ -2724,7 +2635,7 @@ __Returns:__
|
|
2724
2635
|
|
2725
2636
|
--
|
2726
2637
|
|
2727
|
-
##### [last_button](https://github.com/appium/ruby_lib/blob/
|
2638
|
+
##### [last_button](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/ios/xcuitest/element/button.rb#L59) ios
|
2728
2639
|
|
2729
2640
|
> def last_button
|
2730
2641
|
|
@@ -2738,7 +2649,7 @@ __Returns:__
|
|
2738
2649
|
|
2739
2650
|
--
|
2740
2651
|
|
2741
|
-
##### [button_exact](https://github.com/appium/ruby_lib/blob/
|
2652
|
+
##### [button_exact](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/ios/xcuitest/element/button.rb#L66) ios
|
2742
2653
|
|
2743
2654
|
> def button_exact(value)
|
2744
2655
|
|
@@ -2754,7 +2665,7 @@ __Returns:__
|
|
2754
2665
|
|
2755
2666
|
--
|
2756
2667
|
|
2757
|
-
##### [buttons_exact](https://github.com/appium/ruby_lib/blob/
|
2668
|
+
##### [buttons_exact](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/ios/xcuitest/element/button.rb#L73) ios
|
2758
2669
|
|
2759
2670
|
> def buttons_exact(value)
|
2760
2671
|
|
@@ -2770,7 +2681,7 @@ __Returns:__
|
|
2770
2681
|
|
2771
2682
|
--
|
2772
2683
|
|
2773
|
-
##### [find](https://github.com/appium/ruby_lib/blob/
|
2684
|
+
##### [find](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/ios/xcuitest/element/generic.rb#L22) ios
|
2774
2685
|
|
2775
2686
|
> def find(value)
|
2776
2687
|
|
@@ -2786,7 +2697,7 @@ __Returns:__
|
|
2786
2697
|
|
2787
2698
|
--
|
2788
2699
|
|
2789
|
-
##### [finds](https://github.com/appium/ruby_lib/blob/
|
2700
|
+
##### [finds](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/ios/xcuitest/element/generic.rb#L29) ios
|
2790
2701
|
|
2791
2702
|
> def finds(value)
|
2792
2703
|
|
@@ -2802,7 +2713,7 @@ __Returns:__
|
|
2802
2713
|
|
2803
2714
|
--
|
2804
2715
|
|
2805
|
-
##### [find_exact](https://github.com/appium/ruby_lib/blob/
|
2716
|
+
##### [find_exact](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/ios/xcuitest/element/generic.rb#L37) ios
|
2806
2717
|
|
2807
2718
|
> def find_exact(value)
|
2808
2719
|
|
@@ -2818,7 +2729,7 @@ __Returns:__
|
|
2818
2729
|
|
2819
2730
|
--
|
2820
2731
|
|
2821
|
-
##### [finds_exact](https://github.com/appium/ruby_lib/blob/
|
2732
|
+
##### [finds_exact](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/ios/xcuitest/element/generic.rb#L44) ios
|
2822
2733
|
|
2823
2734
|
> def finds_exact(value)
|
2824
2735
|
|
@@ -2834,7 +2745,7 @@ __Returns:__
|
|
2834
2745
|
|
2835
2746
|
--
|
2836
2747
|
|
2837
|
-
##### [raise_error_if_no_element](https://github.com/appium/ruby_lib/blob/
|
2748
|
+
##### [raise_error_if_no_element](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/ios/xcuitest/element/generic.rb#L51) ios
|
2838
2749
|
|
2839
2750
|
> def raise_error_if_no_element(element)
|
2840
2751
|
|
@@ -2842,7 +2753,7 @@ __Returns:__
|
|
2842
2753
|
|
2843
2754
|
--
|
2844
2755
|
|
2845
|
-
##### [select_visible_elements](https://github.com/appium/ruby_lib/blob/
|
2756
|
+
##### [select_visible_elements](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/ios/xcuitest/element/generic.rb#L59) ios
|
2846
2757
|
|
2847
2758
|
> def select_visible_elements(elements)
|
2848
2759
|
|
@@ -2850,7 +2761,7 @@ Return visible elements.
|
|
2850
2761
|
|
2851
2762
|
--
|
2852
2763
|
|
2853
|
-
##### [swipe](https://github.com/appium/ruby_lib/blob/
|
2764
|
+
##### [swipe](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/ios/xcuitest/command/gestures.rb#L25) ios
|
2854
2765
|
|
2855
2766
|
> def swipe(direction:, element: nil)
|
2856
2767
|
|
@@ -2864,7 +2775,7 @@ __Parameters:__
|
|
2864
2775
|
|
2865
2776
|
--
|
2866
2777
|
|
2867
|
-
##### [scroll](https://github.com/appium/ruby_lib/blob/
|
2778
|
+
##### [scroll](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/ios/xcuitest/command/gestures.rb#L46) ios
|
2868
2779
|
|
2869
2780
|
> def scroll(direction:, distance: nil, name: nil, element: nil, to_visible: nil, predicate_string: nil)
|
2870
2781
|
|
@@ -2878,7 +2789,7 @@ __Parameters:__
|
|
2878
2789
|
|
2879
2790
|
--
|
2880
2791
|
|
2881
|
-
##### [pinch](https://github.com/appium/ruby_lib/blob/
|
2792
|
+
##### [pinch](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/ios/xcuitest/command/gestures.rb#L67) ios
|
2882
2793
|
|
2883
2794
|
> def pinch(scale:, velocity: 1.0, element: nil)
|
2884
2795
|
|
@@ -2894,7 +2805,7 @@ __Parameters:__
|
|
2894
2805
|
|
2895
2806
|
--
|
2896
2807
|
|
2897
|
-
##### [double_tap](https://github.com/appium/ruby_lib/blob/
|
2808
|
+
##### [double_tap](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/ios/xcuitest/command/gestures.rb#L82) ios
|
2898
2809
|
|
2899
2810
|
> def double_tap(x: nil, y: nil, element: nil)
|
2900
2811
|
|
@@ -2910,7 +2821,7 @@ __Parameters:__
|
|
2910
2821
|
|
2911
2822
|
--
|
2912
2823
|
|
2913
|
-
##### [touch_and_hold](https://github.com/appium/ruby_lib/blob/
|
2824
|
+
##### [touch_and_hold](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/ios/xcuitest/command/gestures.rb#L99) ios
|
2914
2825
|
|
2915
2826
|
> def touch_and_hold(x: nil, y: nil, element: nil, duration: 1.0)
|
2916
2827
|
|
@@ -2928,7 +2839,7 @@ __Parameters:__
|
|
2928
2839
|
|
2929
2840
|
--
|
2930
2841
|
|
2931
|
-
##### [two_finger_tap](https://github.com/appium/ruby_lib/blob/
|
2842
|
+
##### [two_finger_tap](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/ios/xcuitest/command/gestures.rb#L112) ios
|
2932
2843
|
|
2933
2844
|
> def two_finger_tap(element:)
|
2934
2845
|
|
@@ -2944,7 +2855,7 @@ two_finger_tap element: find_element(:accessibility_id, "some item")
|
|
2944
2855
|
|
2945
2856
|
--
|
2946
2857
|
|
2947
|
-
##### [one_finger_tap](https://github.com/appium/ruby_lib/blob/
|
2858
|
+
##### [one_finger_tap](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/ios/xcuitest/command/gestures.rb#L127) ios
|
2948
2859
|
|
2949
2860
|
> def one_finger_tap(x:, y:, element: nil)
|
2950
2861
|
|
@@ -2960,7 +2871,7 @@ __Parameters:__
|
|
2960
2871
|
|
2961
2872
|
--
|
2962
2873
|
|
2963
|
-
##### [drag_from_to_for_duration](https://github.com/appium/ruby_lib/blob/
|
2874
|
+
##### [drag_from_to_for_duration](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/ios/xcuitest/command/gestures.rb#L147) ios
|
2964
2875
|
|
2965
2876
|
> def drag_from_to_for_duration(from_x:, from_y:, to_x:, to_y:, duration: 1.0, element: nil)
|
2966
2877
|
|
@@ -2983,7 +2894,7 @@ drag point should be before to start dragging. Mandatory parameter
|
|
2983
2894
|
|
2984
2895
|
--
|
2985
2896
|
|
2986
|
-
##### [select_picker_wheel](https://github.com/appium/ruby_lib/blob/
|
2897
|
+
##### [select_picker_wheel](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/ios/xcuitest/command/gestures.rb#L164) ios
|
2987
2898
|
|
2988
2899
|
> def select_picker_wheel(element:, order:, offset: nil)
|
2989
2900
|
|
@@ -3000,7 +2911,7 @@ __Parameters:__
|
|
3000
2911
|
|
3001
2912
|
--
|
3002
2913
|
|
3003
|
-
##### [alert](https://github.com/appium/ruby_lib/blob/
|
2914
|
+
##### [alert](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/ios/xcuitest/command/gestures.rb#L182) ios
|
3004
2915
|
|
3005
2916
|
> def alert(action:, button_label: nil)
|
3006
2917
|
|
@@ -3025,7 +2936,7 @@ alert action: "dismiss"
|
|
3025
2936
|
|
3026
2937
|
--
|
3027
2938
|
|
3028
|
-
##### [text_field_class](https://github.com/appium/ruby_lib/blob/
|
2939
|
+
##### [text_field_class](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/ios/xcuitest/element/textfield.rb#L23) ios
|
3029
2940
|
|
3030
2941
|
> def text_field_class
|
3031
2942
|
|
@@ -3037,7 +2948,7 @@ __Returns:__
|
|
3037
2948
|
|
3038
2949
|
--
|
3039
2950
|
|
3040
|
-
##### [secure_text_field_class](https://github.com/appium/ruby_lib/blob/
|
2951
|
+
##### [secure_text_field_class](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/ios/xcuitest/element/textfield.rb#L28) ios
|
3041
2952
|
|
3042
2953
|
> def secure_text_field_class
|
3043
2954
|
|
@@ -3049,7 +2960,7 @@ __Returns:__
|
|
3049
2960
|
|
3050
2961
|
--
|
3051
2962
|
|
3052
|
-
##### [textfield](https://github.com/appium/ruby_lib/blob/
|
2963
|
+
##### [textfield](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/ios/xcuitest/element/textfield.rb#L37) ios
|
3053
2964
|
|
3054
2965
|
> def textfield(value)
|
3055
2966
|
|
@@ -3067,7 +2978,7 @@ __Returns:__
|
|
3067
2978
|
|
3068
2979
|
--
|
3069
2980
|
|
3070
|
-
##### [textfields](https://github.com/appium/ruby_lib/blob/
|
2981
|
+
##### [textfields](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/ios/xcuitest/element/textfield.rb#L57) ios
|
3071
2982
|
|
3072
2983
|
> def textfields(value = false)
|
3073
2984
|
|
@@ -3084,7 +2995,7 @@ __Returns:__
|
|
3084
2995
|
|
3085
2996
|
--
|
3086
2997
|
|
3087
|
-
##### [first_textfield](https://github.com/appium/ruby_lib/blob/
|
2998
|
+
##### [first_textfield](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/ios/xcuitest/element/textfield.rb#L66) ios
|
3088
2999
|
|
3089
3000
|
> def first_textfield
|
3090
3001
|
|
@@ -3096,7 +3007,7 @@ __Returns:__
|
|
3096
3007
|
|
3097
3008
|
--
|
3098
3009
|
|
3099
|
-
##### [last_textfield](https://github.com/appium/ruby_lib/blob/
|
3010
|
+
##### [last_textfield](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/ios/xcuitest/element/textfield.rb#L72) ios
|
3100
3011
|
|
3101
3012
|
> def last_textfield
|
3102
3013
|
|
@@ -3108,7 +3019,7 @@ __Returns:__
|
|
3108
3019
|
|
3109
3020
|
--
|
3110
3021
|
|
3111
|
-
##### [textfield_exact](https://github.com/appium/ruby_lib/blob/
|
3022
|
+
##### [textfield_exact](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/ios/xcuitest/element/textfield.rb#L82) ios
|
3112
3023
|
|
3113
3024
|
> def textfield_exact(value)
|
3114
3025
|
|
@@ -3124,7 +3035,7 @@ __Returns:__
|
|
3124
3035
|
|
3125
3036
|
--
|
3126
3037
|
|
3127
|
-
##### [textfields_exact](https://github.com/appium/ruby_lib/blob/
|
3038
|
+
##### [textfields_exact](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/ios/xcuitest/element/textfield.rb#L89) ios
|
3128
3039
|
|
3129
3040
|
> def textfields_exact(value)
|
3130
3041
|
|
@@ -3140,7 +3051,7 @@ __Returns:__
|
|
3140
3051
|
|
3141
3052
|
--
|
3142
3053
|
|
3143
|
-
##### [set_pasteboard](https://github.com/appium/ruby_lib/blob/
|
3054
|
+
##### [set_pasteboard](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/ios/xcuitest/command/pasteboard.rb#L26) ios
|
3144
3055
|
|
3145
3056
|
> def set_pasteboard(content:, encoding: nil)
|
3146
3057
|
|
@@ -3155,7 +3066,7 @@ The parameter is mandatory
|
|
3155
3066
|
|
3156
3067
|
--
|
3157
3068
|
|
3158
|
-
##### [get_pasteboard](https://github.com/appium/ruby_lib/blob/
|
3069
|
+
##### [get_pasteboard](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/ios/xcuitest/command/pasteboard.rb#L38) ios
|
3159
3070
|
|
3160
3071
|
> def get_pasteboard(encoding: nil)
|
3161
3072
|
|
@@ -3167,7 +3078,7 @@ __Parameters:__
|
|
3167
3078
|
|
3168
3079
|
--
|
3169
3080
|
|
3170
|
-
##### [install_certificate](https://github.com/appium/ruby_lib/blob/
|
3081
|
+
##### [install_certificate](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/ios/xcuitest/command/certificate.rb#L32) ios
|
3171
3082
|
|
3172
3083
|
> def install_certificate(cer_file:)
|
3173
3084
|
|
@@ -3182,7 +3093,7 @@ __Parameters:__
|
|
3182
3093
|
|
3183
3094
|
--
|
3184
3095
|
|
3185
|
-
##### [xcuitest_get_contexts](https://github.com/appium/ruby_lib/blob/
|
3096
|
+
##### [xcuitest_get_contexts](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/ios/xcuitest/command/get_context.rb#L28) ios
|
3186
3097
|
|
3187
3098
|
> def xcuitest_get_contexts
|
3188
3099
|
|
@@ -3190,7 +3101,7 @@ Get contexts
|
|
3190
3101
|
|
3191
3102
|
--
|
3192
3103
|
|
3193
|
-
##### [xcuitest_install_app](https://github.com/appium/ruby_lib/blob/
|
3104
|
+
##### [xcuitest_install_app](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/ios/xcuitest/command/multi_app_handler.rb#L35) ios
|
3194
3105
|
|
3195
3106
|
> def xcuitest_install_app(app:)
|
3196
3107
|
|
@@ -3210,7 +3121,7 @@ __Returns:__
|
|
3210
3121
|
|
3211
3122
|
--
|
3212
3123
|
|
3213
|
-
##### [xcuitest_app_installed?](https://github.com/appium/ruby_lib/blob/
|
3124
|
+
##### [xcuitest_app_installed?](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/ios/xcuitest/command/multi_app_handler.rb#L48) ios
|
3214
3125
|
|
3215
3126
|
> def xcuitest_app_installed?(bundle_id:)
|
3216
3127
|
|
@@ -3226,7 +3137,7 @@ __Returns:__
|
|
3226
3137
|
|
3227
3138
|
--
|
3228
3139
|
|
3229
|
-
##### [xcuitest_remove_app](https://github.com/appium/ruby_lib/blob/
|
3140
|
+
##### [xcuitest_remove_app](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/ios/xcuitest/command/multi_app_handler.rb#L62) ios
|
3230
3141
|
|
3231
3142
|
> def xcuitest_remove_app(bundle_id:)
|
3232
3143
|
|
@@ -3243,7 +3154,7 @@ __Returns:__
|
|
3243
3154
|
|
3244
3155
|
--
|
3245
3156
|
|
3246
|
-
##### [xcuitest_launch_app](https://github.com/appium/ruby_lib/blob/
|
3157
|
+
##### [xcuitest_launch_app](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/ios/xcuitest/command/multi_app_handler.rb#L76) ios
|
3247
3158
|
|
3248
3159
|
> def xcuitest_launch_app(bundle_id:)
|
3249
3160
|
|
@@ -3260,7 +3171,7 @@ __Returns:__
|
|
3260
3171
|
|
3261
3172
|
--
|
3262
3173
|
|
3263
|
-
##### [xcuitest_terminate_app](https://github.com/appium/ruby_lib/blob/
|
3174
|
+
##### [xcuitest_terminate_app](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/ios/xcuitest/command/multi_app_handler.rb#L91) ios
|
3264
3175
|
|
3265
3176
|
> def xcuitest_terminate_app(bundle_id:)
|
3266
3177
|
|
@@ -3277,7 +3188,7 @@ __Returns:__
|
|
3277
3188
|
|
3278
3189
|
--
|
3279
3190
|
|
3280
|
-
##### [xcuitest_query_app_status](https://github.com/appium/ruby_lib/blob/
|
3191
|
+
##### [xcuitest_query_app_status](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/ios/xcuitest/command/multi_app_handler.rb#L112) ios
|
3281
3192
|
|
3282
3193
|
> def xcuitest_query_app_status(bundle_id:)
|
3283
3194
|
|
@@ -3301,7 +3212,7 @@ __Returns:__
|
|
3301
3212
|
|
3302
3213
|
--
|
3303
3214
|
|
3304
|
-
##### [xcuitest_activate_app](https://github.com/appium/ruby_lib/blob/
|
3215
|
+
##### [xcuitest_activate_app](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/ios/xcuitest/command/multi_app_handler.rb#L127) ios
|
3305
3216
|
|
3306
3217
|
> def xcuitest_activate_app(bundle_id:)
|
3307
3218
|
|