appium_lib 9.7.4 → 9.7.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +10 -1
- data/docs/android_docs.md +171 -171
- data/docs/ios_docs.md +223 -223
- data/lib/appium_lib/driver.rb +16 -0
- data/lib/appium_lib/version.rb +2 -2
- data/release_notes.md +9 -0
- metadata +2 -2
data/docs/ios_docs.md
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
##### [load_settings](https://github.com/appium/ruby_lib/blob/
|
1
|
+
##### [load_settings](https://github.com/appium/ruby_lib/blob/0628c614e6620c606265883a8232dd021d03965d/lib/appium_lib/appium.rb#L46)
|
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/0628c614e6620c606265883a8232dd021d03965d/lib/appium_lib/appium.rb#L80)
|
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/0628c614e6620c606265883a8232dd021d03965d/lib/appium_lib/appium.rb#L85)
|
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/0628c614e6620c606265883a8232dd021d03965d/lib/appium_lib/appium.rb#L127)
|
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/0628c614e6620c606265883a8232dd021d03965d/lib/appium_lib/appium.rb#L182)
|
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/0628c614e6620c606265883a8232dd021d03965d/lib/appium_lib/driver.rb#L24)
|
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/0628c614e6620c606265883a8232dd021d03965d/lib/appium_lib/driver.rb#L24)
|
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/0628c614e6620c606265883a8232dd021d03965d/lib/appium_lib/driver.rb#L27)
|
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/0628c614e6620c606265883a8232dd021d03965d/lib/appium_lib/driver.rb#L30)
|
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/0628c614e6620c606265883a8232dd021d03965d/lib/appium_lib/driver.rb#L33)
|
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/0628c614e6620c606265883a8232dd021d03965d/lib/appium_lib/driver.rb#L36)
|
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/0628c614e6620c606265883a8232dd021d03965d/lib/appium_lib/driver.rb#L39)
|
171
171
|
|
172
172
|
> def caps
|
173
173
|
|
@@ -175,7 +175,7 @@ from Core
|
|
175
175
|
|
176
176
|
--
|
177
177
|
|
178
|
-
##### [custom_url](https://github.com/appium/ruby_lib/blob/
|
178
|
+
##### [custom_url](https://github.com/appium/ruby_lib/blob/0628c614e6620c606265883a8232dd021d03965d/lib/appium_lib/driver.rb#L40)
|
179
179
|
|
180
180
|
> def custom_url
|
181
181
|
|
@@ -183,7 +183,7 @@ Returns the value of attribute custom_url
|
|
183
183
|
|
184
184
|
--
|
185
185
|
|
186
|
-
##### [export_session](https://github.com/appium/ruby_lib/blob/
|
186
|
+
##### [export_session](https://github.com/appium/ruby_lib/blob/0628c614e6620c606265883a8232dd021d03965d/lib/appium_lib/driver.rb#L41)
|
187
187
|
|
188
188
|
> def export_session
|
189
189
|
|
@@ -191,7 +191,7 @@ Returns the value of attribute export_session
|
|
191
191
|
|
192
192
|
--
|
193
193
|
|
194
|
-
##### [export_session_path](https://github.com/appium/ruby_lib/blob/
|
194
|
+
##### [export_session_path](https://github.com/appium/ruby_lib/blob/0628c614e6620c606265883a8232dd021d03965d/lib/appium_lib/driver.rb#L42)
|
195
195
|
|
196
196
|
> def export_session_path
|
197
197
|
|
@@ -199,7 +199,7 @@ Returns the value of attribute export_session_path
|
|
199
199
|
|
200
200
|
--
|
201
201
|
|
202
|
-
##### [default_wait](https://github.com/appium/ruby_lib/blob/
|
202
|
+
##### [default_wait](https://github.com/appium/ruby_lib/blob/0628c614e6620c606265883a8232dd021d03965d/lib/appium_lib/driver.rb#L43)
|
203
203
|
|
204
204
|
> def default_wait
|
205
205
|
|
@@ -207,7 +207,7 @@ Returns the value of attribute default_wait
|
|
207
207
|
|
208
208
|
--
|
209
209
|
|
210
|
-
##### [appium_port](https://github.com/appium/ruby_lib/blob/
|
210
|
+
##### [appium_port](https://github.com/appium/ruby_lib/blob/0628c614e6620c606265883a8232dd021d03965d/lib/appium_lib/driver.rb#L44)
|
211
211
|
|
212
212
|
> def appium_port
|
213
213
|
|
@@ -215,7 +215,7 @@ Returns the value of attribute appium_port
|
|
215
215
|
|
216
216
|
--
|
217
217
|
|
218
|
-
##### [appium_device](https://github.com/appium/ruby_lib/blob/
|
218
|
+
##### [appium_device](https://github.com/appium/ruby_lib/blob/0628c614e6620c606265883a8232dd021d03965d/lib/appium_lib/driver.rb#L45)
|
219
219
|
|
220
220
|
> def appium_device
|
221
221
|
|
@@ -223,7 +223,7 @@ Returns the value of attribute appium_device
|
|
223
223
|
|
224
224
|
--
|
225
225
|
|
226
|
-
##### [automation_name](https://github.com/appium/ruby_lib/blob/
|
226
|
+
##### [automation_name](https://github.com/appium/ruby_lib/blob/0628c614e6620c606265883a8232dd021d03965d/lib/appium_lib/driver.rb#L46)
|
227
227
|
|
228
228
|
> def automation_name
|
229
229
|
|
@@ -231,7 +231,7 @@ Returns the value of attribute automation_name
|
|
231
231
|
|
232
232
|
--
|
233
233
|
|
234
|
-
##### [listener](https://github.com/appium/ruby_lib/blob/
|
234
|
+
##### [listener](https://github.com/appium/ruby_lib/blob/0628c614e6620c606265883a8232dd021d03965d/lib/appium_lib/driver.rb#L47)
|
235
235
|
|
236
236
|
> def listener
|
237
237
|
|
@@ -239,7 +239,7 @@ Returns the value of attribute listener
|
|
239
239
|
|
240
240
|
--
|
241
241
|
|
242
|
-
##### [http_client](https://github.com/appium/ruby_lib/blob/
|
242
|
+
##### [http_client](https://github.com/appium/ruby_lib/blob/0628c614e6620c606265883a8232dd021d03965d/lib/appium_lib/driver.rb#L48)
|
243
243
|
|
244
244
|
> def http_client
|
245
245
|
|
@@ -247,7 +247,7 @@ Returns the value of attribute http_client
|
|
247
247
|
|
248
248
|
--
|
249
249
|
|
250
|
-
##### [appium_wait_timeout](https://github.com/appium/ruby_lib/blob/
|
250
|
+
##### [appium_wait_timeout](https://github.com/appium/ruby_lib/blob/0628c614e6620c606265883a8232dd021d03965d/lib/appium_lib/driver.rb#L49)
|
251
251
|
|
252
252
|
> def appium_wait_timeout
|
253
253
|
|
@@ -255,7 +255,7 @@ Returns the value of attribute appium_wait_timeout
|
|
255
255
|
|
256
256
|
--
|
257
257
|
|
258
|
-
##### [appium_wait_interval](https://github.com/appium/ruby_lib/blob/
|
258
|
+
##### [appium_wait_interval](https://github.com/appium/ruby_lib/blob/0628c614e6620c606265883a8232dd021d03965d/lib/appium_lib/driver.rb#L50)
|
259
259
|
|
260
260
|
> def appium_wait_interval
|
261
261
|
|
@@ -263,7 +263,7 @@ Returns the value of attribute appium_wait_interval
|
|
263
263
|
|
264
264
|
--
|
265
265
|
|
266
|
-
##### [appium_server_status](https://github.com/appium/ruby_lib/blob/
|
266
|
+
##### [appium_server_status](https://github.com/appium/ruby_lib/blob/0628c614e6620c606265883a8232dd021d03965d/lib/appium_lib/driver.rb#L53)
|
267
267
|
|
268
268
|
> def appium_server_status
|
269
269
|
|
@@ -271,7 +271,7 @@ Appium's server version
|
|
271
271
|
|
272
272
|
--
|
273
273
|
|
274
|
-
##### [appium_debug](https://github.com/appium/ruby_lib/blob/
|
274
|
+
##### [appium_debug](https://github.com/appium/ruby_lib/blob/0628c614e6620c606265883a8232dd021d03965d/lib/appium_lib/driver.rb#L55)
|
275
275
|
|
276
276
|
> def appium_debug
|
277
277
|
|
@@ -279,7 +279,7 @@ Boolean debug mode for the Appium Ruby bindings
|
|
279
279
|
|
280
280
|
--
|
281
281
|
|
282
|
-
##### [driver](https://github.com/appium/ruby_lib/blob/
|
282
|
+
##### [driver](https://github.com/appium/ruby_lib/blob/0628c614e6620c606265883a8232dd021d03965d/lib/appium_lib/driver.rb#L58)
|
283
283
|
|
284
284
|
> def driver
|
285
285
|
|
@@ -291,7 +291,7 @@ __Returns:__
|
|
291
291
|
|
292
292
|
--
|
293
293
|
|
294
|
-
##### [core](https://github.com/appium/ruby_lib/blob/
|
294
|
+
##### [core](https://github.com/appium/ruby_lib/blob/0628c614e6620c606265883a8232dd021d03965d/lib/appium_lib/driver.rb#L60)
|
295
295
|
|
296
296
|
> def core
|
297
297
|
|
@@ -299,7 +299,7 @@ Instance of Appium::Core::Driver
|
|
299
299
|
|
300
300
|
--
|
301
301
|
|
302
|
-
##### [initialize](https://github.com/appium/ruby_lib/blob/
|
302
|
+
##### [initialize](https://github.com/appium/ruby_lib/blob/0628c614e6620c606265883a8232dd021d03965d/lib/appium_lib/driver.rb#L124)
|
303
303
|
|
304
304
|
> def initialize(opts = {}, global_driver = nil)
|
305
305
|
|
@@ -318,7 +318,7 @@ __Returns:__
|
|
318
318
|
|
319
319
|
--
|
320
320
|
|
321
|
-
##### [driver_attributes](https://github.com/appium/ruby_lib/blob/
|
321
|
+
##### [driver_attributes](https://github.com/appium/ruby_lib/blob/0628c614e6620c606265883a8232dd021d03965d/lib/appium_lib/driver.rb#L234)
|
322
322
|
|
323
323
|
> def driver_attributes
|
324
324
|
|
@@ -326,7 +326,7 @@ Returns a hash of the driver attributes
|
|
326
326
|
|
327
327
|
--
|
328
328
|
|
329
|
-
##### [device_is_android?](https://github.com/appium/ruby_lib/blob/
|
329
|
+
##### [device_is_android?](https://github.com/appium/ruby_lib/blob/0628c614e6620c606265883a8232dd021d03965d/lib/appium_lib/driver.rb#L254)
|
330
330
|
|
331
331
|
> def device_is_android?
|
332
332
|
|
@@ -338,7 +338,7 @@ __Returns:__
|
|
338
338
|
|
339
339
|
--
|
340
340
|
|
341
|
-
##### [device_is_ios?](https://github.com/appium/ruby_lib/blob/
|
341
|
+
##### [device_is_ios?](https://github.com/appium/ruby_lib/blob/0628c614e6620c606265883a8232dd021d03965d/lib/appium_lib/driver.rb#L258)
|
342
342
|
|
343
343
|
> def device_is_ios?
|
344
344
|
|
@@ -350,7 +350,7 @@ __Returns:__
|
|
350
350
|
|
351
351
|
--
|
352
352
|
|
353
|
-
##### [device_is_windows?](https://github.com/appium/ruby_lib/blob/
|
353
|
+
##### [device_is_windows?](https://github.com/appium/ruby_lib/blob/0628c614e6620c606265883a8232dd021d03965d/lib/appium_lib/driver.rb#L262)
|
354
354
|
|
355
355
|
> def device_is_windows?
|
356
356
|
|
@@ -362,7 +362,7 @@ __Returns:__
|
|
362
362
|
|
363
363
|
--
|
364
364
|
|
365
|
-
##### [automation_name_is_uiautomator2?](https://github.com/appium/ruby_lib/blob/
|
365
|
+
##### [automation_name_is_uiautomator2?](https://github.com/appium/ruby_lib/blob/0628c614e6620c606265883a8232dd021d03965d/lib/appium_lib/driver.rb#L268)
|
366
366
|
|
367
367
|
> def automation_name_is_uiautomator2?
|
368
368
|
|
@@ -374,7 +374,7 @@ __Returns:__
|
|
374
374
|
|
375
375
|
--
|
376
376
|
|
377
|
-
##### [automation_name_is_espresso?](https://github.com/appium/ruby_lib/blob/
|
377
|
+
##### [automation_name_is_espresso?](https://github.com/appium/ruby_lib/blob/0628c614e6620c606265883a8232dd021d03965d/lib/appium_lib/driver.rb#L274)
|
378
378
|
|
379
379
|
> def automation_name_is_espresso?
|
380
380
|
|
@@ -386,7 +386,7 @@ __Returns:__
|
|
386
386
|
|
387
387
|
--
|
388
388
|
|
389
|
-
##### [automation_name_is_xcuitest?](https://github.com/appium/ruby_lib/blob/
|
389
|
+
##### [automation_name_is_xcuitest?](https://github.com/appium/ruby_lib/blob/0628c614e6620c606265883a8232dd021d03965d/lib/appium_lib/driver.rb#L280)
|
390
390
|
|
391
391
|
> def automation_name_is_xcuitest?
|
392
392
|
|
@@ -398,7 +398,7 @@ __Returns:__
|
|
398
398
|
|
399
399
|
--
|
400
400
|
|
401
|
-
##### [check_server_version_xcuitest](https://github.com/appium/ruby_lib/blob/
|
401
|
+
##### [check_server_version_xcuitest](https://github.com/appium/ruby_lib/blob/0628c614e6620c606265883a8232dd021d03965d/lib/appium_lib/driver.rb#L287)
|
402
402
|
|
403
403
|
> def check_server_version_xcuitest
|
404
404
|
|
@@ -411,7 +411,7 @@ __Returns:__
|
|
411
411
|
|
412
412
|
--
|
413
413
|
|
414
|
-
##### [appium_server_version](https://github.com/appium/ruby_lib/blob/
|
414
|
+
##### [appium_server_version](https://github.com/appium/ruby_lib/blob/0628c614e6620c606265883a8232dd021d03965d/lib/appium_lib/driver.rb#L308)
|
415
415
|
|
416
416
|
> def appium_server_version
|
417
417
|
|
@@ -423,7 +423,7 @@ __Returns:__
|
|
423
423
|
|
424
424
|
--
|
425
425
|
|
426
|
-
##### [platform_version](https://github.com/appium/ruby_lib/blob/
|
426
|
+
##### [platform_version](https://github.com/appium/ruby_lib/blob/0628c614e6620c606265883a8232dd021d03965d/lib/appium_lib/driver.rb#L318)
|
427
427
|
|
428
428
|
> def platform_version
|
429
429
|
|
@@ -435,7 +435,7 @@ __Returns:__
|
|
435
435
|
|
436
436
|
--
|
437
437
|
|
438
|
-
##### [appium_client_version](https://github.com/appium/ruby_lib/blob/
|
438
|
+
##### [appium_client_version](https://github.com/appium/ruby_lib/blob/0628c614e6620c606265883a8232dd021d03965d/lib/appium_lib/driver.rb#L337)
|
439
439
|
|
440
440
|
> def appium_client_version
|
441
441
|
|
@@ -447,7 +447,7 @@ __Returns:__
|
|
447
447
|
|
448
448
|
--
|
449
449
|
|
450
|
-
##### [absolute_app_path](https://github.com/appium/ruby_lib/blob/
|
450
|
+
##### [absolute_app_path](https://github.com/appium/ruby_lib/blob/0628c614e6620c606265883a8232dd021d03965d/lib/appium_lib/driver.rb#L349)
|
451
451
|
|
452
452
|
> def self.absolute_app_path(opts)
|
453
453
|
|
@@ -464,7 +464,7 @@ __Returns:__
|
|
464
464
|
|
465
465
|
--
|
466
466
|
|
467
|
-
##### [server_url](https://github.com/appium/ruby_lib/blob/
|
467
|
+
##### [server_url](https://github.com/appium/ruby_lib/blob/0628c614e6620c606265883a8232dd021d03965d/lib/appium_lib/driver.rb#L382)
|
468
468
|
|
469
469
|
> def server_url
|
470
470
|
|
@@ -476,7 +476,7 @@ __Returns:__
|
|
476
476
|
|
477
477
|
--
|
478
478
|
|
479
|
-
##### [restart](https://github.com/appium/ruby_lib/blob/
|
479
|
+
##### [restart](https://github.com/appium/ruby_lib/blob/0628c614e6620c606265883a8232dd021d03965d/lib/appium_lib/driver.rb#L390)
|
480
480
|
|
481
481
|
> def restart
|
482
482
|
|
@@ -488,7 +488,7 @@ __Returns:__
|
|
488
488
|
|
489
489
|
--
|
490
490
|
|
491
|
-
##### [screenshot](https://github.com/appium/ruby_lib/blob/
|
491
|
+
##### [screenshot](https://github.com/appium/ruby_lib/blob/0628c614e6620c606265883a8232dd021d03965d/lib/appium_lib/driver.rb#L403)
|
492
492
|
|
493
493
|
> def screenshot(png_save_path)
|
494
494
|
|
@@ -504,7 +504,7 @@ __Returns:__
|
|
504
504
|
|
505
505
|
--
|
506
506
|
|
507
|
-
##### [driver_quit](https://github.com/appium/ruby_lib/blob/
|
507
|
+
##### [driver_quit](https://github.com/appium/ruby_lib/blob/0628c614e6620c606265883a8232dd021d03965d/lib/appium_lib/driver.rb#L410)
|
508
508
|
|
509
509
|
> def driver_quit
|
510
510
|
|
@@ -516,7 +516,7 @@ __Returns:__
|
|
516
516
|
|
517
517
|
--
|
518
518
|
|
519
|
-
##### [quit_driver](https://github.com/appium/ruby_lib/blob/
|
519
|
+
##### [quit_driver](https://github.com/appium/ruby_lib/blob/0628c614e6620c606265883a8232dd021d03965d/lib/appium_lib/driver.rb#L413)
|
520
520
|
|
521
521
|
> def driver_quit
|
522
522
|
|
@@ -528,7 +528,7 @@ __Returns:__
|
|
528
528
|
|
529
529
|
--
|
530
530
|
|
531
|
-
##### [window_size](https://github.com/appium/ruby_lib/blob/
|
531
|
+
##### [window_size](https://github.com/appium/ruby_lib/blob/0628c614e6620c606265883a8232dd021d03965d/lib/appium_lib/driver.rb#L424)
|
532
532
|
|
533
533
|
> def window_size
|
534
534
|
|
@@ -540,7 +540,7 @@ __Returns:__
|
|
540
540
|
|
541
541
|
--
|
542
542
|
|
543
|
-
##### [start_driver](https://github.com/appium/ruby_lib/blob/
|
543
|
+
##### [start_driver](https://github.com/appium/ruby_lib/blob/0628c614e6620c606265883a8232dd021d03965d/lib/appium_lib/driver.rb#L453)
|
544
544
|
|
545
545
|
> def start_driver(http_client_ops =
|
546
546
|
|
@@ -557,7 +557,7 @@ __Returns:__
|
|
557
557
|
|
558
558
|
--
|
559
559
|
|
560
|
-
##### [set_implicit_wait](https://github.com/appium/ruby_lib/blob/
|
560
|
+
##### [set_implicit_wait](https://github.com/appium/ruby_lib/blob/0628c614e6620c606265883a8232dd021d03965d/lib/appium_lib/driver.rb#L477)
|
561
561
|
|
562
562
|
> def set_implicit_wait(wait)
|
563
563
|
|
@@ -565,7 +565,7 @@ To ignore error for Espresso Driver
|
|
565
565
|
|
566
566
|
--
|
567
567
|
|
568
|
-
##### [no_wait](https://github.com/appium/ruby_lib/blob/
|
568
|
+
##### [no_wait](https://github.com/appium/ruby_lib/blob/0628c614e6620c606265883a8232dd021d03965d/lib/appium_lib/driver.rb#L487)
|
569
569
|
|
570
570
|
> def no_wait
|
571
571
|
|
@@ -573,7 +573,7 @@ Set implicit wait to zero.
|
|
573
573
|
|
574
574
|
--
|
575
575
|
|
576
|
-
##### [set_wait](https://github.com/appium/ruby_lib/blob/
|
576
|
+
##### [set_wait](https://github.com/appium/ruby_lib/blob/0628c614e6620c606265883a8232dd021d03965d/lib/appium_lib/driver.rb#L501)
|
577
577
|
|
578
578
|
> def set_wait(timeout = nil)
|
579
579
|
|
@@ -589,7 +589,7 @@ __Returns:__
|
|
589
589
|
|
590
590
|
--
|
591
591
|
|
592
|
-
##### [exists](https://github.com/appium/ruby_lib/blob/
|
592
|
+
##### [exists](https://github.com/appium/ruby_lib/blob/0628c614e6620c606265883a8232dd021d03965d/lib/appium_lib/driver.rb#L518)
|
593
593
|
|
594
594
|
> def exists(pre_check = 0, post_check = @core.default_wait)
|
595
595
|
|
@@ -613,7 +613,7 @@ __Returns:__
|
|
613
613
|
|
614
614
|
--
|
615
615
|
|
616
|
-
##### [execute_script](https://github.com/appium/ruby_lib/blob/
|
616
|
+
##### [execute_script](https://github.com/appium/ruby_lib/blob/0628c614e6620c606265883a8232dd021d03965d/lib/appium_lib/driver.rb#L542)
|
617
617
|
|
618
618
|
> def execute_script(script, *args)
|
619
619
|
|
@@ -631,7 +631,7 @@ __Returns:__
|
|
631
631
|
|
632
632
|
--
|
633
633
|
|
634
|
-
##### [find_elements](https://github.com/appium/ruby_lib/blob/
|
634
|
+
##### [find_elements](https://github.com/appium/ruby_lib/blob/0628c614e6620c606265883a8232dd021d03965d/lib/appium_lib/driver.rb#L564)
|
635
635
|
|
636
636
|
> def find_elements(*args)
|
637
637
|
|
@@ -651,7 +651,7 @@ __Returns:__
|
|
651
651
|
|
652
652
|
--
|
653
653
|
|
654
|
-
##### [find_element](https://github.com/appium/ruby_lib/blob/
|
654
|
+
##### [find_element](https://github.com/appium/ruby_lib/blob/0628c614e6620c606265883a8232dd021d03965d/lib/appium_lib/driver.rb#L579)
|
655
655
|
|
656
656
|
> def find_element(*args)
|
657
657
|
|
@@ -669,7 +669,7 @@ __Returns:__
|
|
669
669
|
|
670
670
|
--
|
671
671
|
|
672
|
-
##### [set_location](https://github.com/appium/ruby_lib/blob/
|
672
|
+
##### [set_location](https://github.com/appium/ruby_lib/blob/0628c614e6620c606265883a8232dd021d03965d/lib/appium_lib/driver.rb#L592)
|
673
673
|
|
674
674
|
> def set_location(opts = {})
|
675
675
|
|
@@ -685,7 +685,7 @@ __Returns:__
|
|
685
685
|
|
686
686
|
--
|
687
687
|
|
688
|
-
##### [x](https://github.com/appium/ruby_lib/blob/
|
688
|
+
##### [x](https://github.com/appium/ruby_lib/blob/0628c614e6620c606265883a8232dd021d03965d/lib/appium_lib/driver.rb#L602)
|
689
689
|
|
690
690
|
> def x
|
691
691
|
|
@@ -698,7 +698,7 @@ __Returns:__
|
|
698
698
|
|
699
699
|
--
|
700
700
|
|
701
|
-
##### [username](https://github.com/appium/ruby_lib/blob/
|
701
|
+
##### [username](https://github.com/appium/ruby_lib/blob/0628c614e6620c606265883a8232dd021d03965d/lib/appium_lib/sauce_labs.rb#L4)
|
702
702
|
|
703
703
|
> def username
|
704
704
|
|
@@ -706,7 +706,7 @@ Username for use on Sauce Labs. Set `false` to disable Sauce, even when SAUCE_US
|
|
706
706
|
|
707
707
|
--
|
708
708
|
|
709
|
-
##### [access_key](https://github.com/appium/ruby_lib/blob/
|
709
|
+
##### [access_key](https://github.com/appium/ruby_lib/blob/0628c614e6620c606265883a8232dd021d03965d/lib/appium_lib/sauce_labs.rb#L6)
|
710
710
|
|
711
711
|
> def access_key
|
712
712
|
|
@@ -714,7 +714,7 @@ Access Key for use on Sauce Labs. Set `false` to disable Sauce, even when SAUCE_
|
|
714
714
|
|
715
715
|
--
|
716
716
|
|
717
|
-
##### [endpoint](https://github.com/appium/ruby_lib/blob/
|
717
|
+
##### [endpoint](https://github.com/appium/ruby_lib/blob/0628c614e6620c606265883a8232dd021d03965d/lib/appium_lib/sauce_labs.rb#L8)
|
718
718
|
|
719
719
|
> def endpoint
|
720
720
|
|
@@ -722,7 +722,7 @@ Override the Sauce Appium endpoint to allow e.g. TestObject tests. Default is 'o
|
|
722
722
|
|
723
723
|
--
|
724
724
|
|
725
|
-
##### [initialize](https://github.com/appium/ruby_lib/blob/
|
725
|
+
##### [initialize](https://github.com/appium/ruby_lib/blob/0628c614e6620c606265883a8232dd021d03965d/lib/appium_lib/sauce_labs.rb#L33)
|
726
726
|
|
727
727
|
> def initialize(appium_lib_opts)
|
728
728
|
|
@@ -738,7 +738,7 @@ __Returns:__
|
|
738
738
|
|
739
739
|
--
|
740
740
|
|
741
|
-
##### [sauce_server_url?](https://github.com/appium/ruby_lib/blob/
|
741
|
+
##### [sauce_server_url?](https://github.com/appium/ruby_lib/blob/0628c614e6620c606265883a8232dd021d03965d/lib/appium_lib/sauce_labs.rb#L53)
|
742
742
|
|
743
743
|
> def sauce_server_url?
|
744
744
|
|
@@ -750,7 +750,7 @@ __Returns:__
|
|
750
750
|
|
751
751
|
--
|
752
752
|
|
753
|
-
##### [server_url](https://github.com/appium/ruby_lib/blob/
|
753
|
+
##### [server_url](https://github.com/appium/ruby_lib/blob/0628c614e6620c606265883a8232dd021d03965d/lib/appium_lib/sauce_labs.rb#L66)
|
754
754
|
|
755
755
|
> def server_url
|
756
756
|
|
@@ -762,7 +762,7 @@ __Returns:__
|
|
762
762
|
|
763
763
|
--
|
764
764
|
|
765
|
-
##### [get_log](https://github.com/appium/ruby_lib/blob/
|
765
|
+
##### [get_log](https://github.com/appium/ruby_lib/blob/0628c614e6620c606265883a8232dd021d03965d/lib/appium_lib/common/log.rb#L11)
|
766
766
|
|
767
767
|
> def get_log(type)
|
768
768
|
|
@@ -778,7 +778,7 @@ __Returns:__
|
|
778
778
|
|
779
779
|
--
|
780
780
|
|
781
|
-
##### [get_available_log_types](https://github.com/appium/ruby_lib/blob/
|
781
|
+
##### [get_available_log_types](https://github.com/appium/ruby_lib/blob/0628c614e6620c606265883a8232dd021d03965d/lib/appium_lib/common/log.rb#L23)
|
782
782
|
|
783
783
|
> def get_available_log_types
|
784
784
|
|
@@ -790,7 +790,7 @@ __Returns:__
|
|
790
790
|
|
791
791
|
--
|
792
792
|
|
793
|
-
##### [initialize](https://github.com/appium/ruby_lib/blob/
|
793
|
+
##### [initialize](https://github.com/appium/ruby_lib/blob/0628c614e6620c606265883a8232dd021d03965d/lib/appium_lib/common/wait.rb#L6)
|
794
794
|
|
795
795
|
> def initialize(opts = {})
|
796
796
|
|
@@ -802,7 +802,7 @@ __Returns:__
|
|
802
802
|
|
803
803
|
--
|
804
804
|
|
805
|
-
##### [wait_true](https://github.com/appium/ruby_lib/blob/
|
805
|
+
##### [wait_true](https://github.com/appium/ruby_lib/blob/0628c614e6620c606265883a8232dd021d03965d/lib/appium_lib/common/wait.rb#L26)
|
806
806
|
|
807
807
|
> def wait_true(opts = {})
|
808
808
|
|
@@ -822,7 +822,7 @@ __Parameters:__
|
|
822
822
|
|
823
823
|
--
|
824
824
|
|
825
|
-
##### [wait](https://github.com/appium/ruby_lib/blob/
|
825
|
+
##### [wait](https://github.com/appium/ruby_lib/blob/0628c614e6620c606265883a8232dd021d03965d/lib/appium_lib/common/wait.rb#L43)
|
826
826
|
|
827
827
|
> def wait(opts = {})
|
828
828
|
|
@@ -840,7 +840,7 @@ __Parameters:__
|
|
840
840
|
|
841
841
|
--
|
842
842
|
|
843
|
-
##### [add_touch_actions](https://github.com/appium/ruby_lib/blob/
|
843
|
+
##### [add_touch_actions](https://github.com/appium/ruby_lib/blob/0628c614e6620c606265883a8232dd021d03965d/lib/appium_lib/common/device.rb#L12)
|
844
844
|
|
845
845
|
> def add_touch_actions
|
846
846
|
|
@@ -848,7 +848,7 @@ __Parameters:__
|
|
848
848
|
|
849
849
|
--
|
850
850
|
|
851
|
-
##### [ignore](https://github.com/appium/ruby_lib/blob/
|
851
|
+
##### [ignore](https://github.com/appium/ruby_lib/blob/0628c614e6620c606265883a8232dd021d03965d/lib/appium_lib/common/helper.rb#L16)
|
852
852
|
|
853
853
|
> def ignore
|
854
854
|
|
@@ -856,7 +856,7 @@ Return yield and ignore any exceptions.
|
|
856
856
|
|
857
857
|
--
|
858
858
|
|
859
|
-
##### [back](https://github.com/appium/ruby_lib/blob/
|
859
|
+
##### [back](https://github.com/appium/ruby_lib/blob/0628c614e6620c606265883a8232dd021d03965d/lib/appium_lib/common/helper.rb#L23)
|
860
860
|
|
861
861
|
> def back
|
862
862
|
|
@@ -868,7 +868,7 @@ __Returns:__
|
|
868
868
|
|
869
869
|
--
|
870
870
|
|
871
|
-
##### [session_id](https://github.com/appium/ruby_lib/blob/
|
871
|
+
##### [session_id](https://github.com/appium/ruby_lib/blob/0628c614e6620c606265883a8232dd021d03965d/lib/appium_lib/common/helper.rb#L34)
|
872
872
|
|
873
873
|
> def session_id
|
874
874
|
|
@@ -880,7 +880,7 @@ __Returns:__
|
|
880
880
|
|
881
881
|
--
|
882
882
|
|
883
|
-
##### [xpath](https://github.com/appium/ruby_lib/blob/
|
883
|
+
##### [xpath](https://github.com/appium/ruby_lib/blob/0628c614e6620c606265883a8232dd021d03965d/lib/appium_lib/common/helper.rb#L42)
|
884
884
|
|
885
885
|
> def xpath(xpath_str)
|
886
886
|
|
@@ -896,7 +896,7 @@ __Returns:__
|
|
896
896
|
|
897
897
|
--
|
898
898
|
|
899
|
-
##### [xpaths](https://github.com/appium/ruby_lib/blob/
|
899
|
+
##### [xpaths](https://github.com/appium/ruby_lib/blob/0628c614e6620c606265883a8232dd021d03965d/lib/appium_lib/common/helper.rb#L50)
|
900
900
|
|
901
901
|
> def xpaths(xpath_str)
|
902
902
|
|
@@ -912,7 +912,7 @@ __Returns:__
|
|
912
912
|
|
913
913
|
--
|
914
914
|
|
915
|
-
##### [result](https://github.com/appium/ruby_lib/blob/
|
915
|
+
##### [result](https://github.com/appium/ruby_lib/blob/0628c614e6620c606265883a8232dd021d03965d/lib/appium_lib/common/helper.rb#L61)
|
916
916
|
|
917
917
|
> def result
|
918
918
|
|
@@ -920,7 +920,7 @@ Returns the value of attribute result
|
|
920
920
|
|
921
921
|
--
|
922
922
|
|
923
|
-
##### [initialize](https://github.com/appium/ruby_lib/blob/
|
923
|
+
##### [initialize](https://github.com/appium/ruby_lib/blob/0628c614e6620c606265883a8232dd021d03965d/lib/appium_lib/common/helper.rb#L63)
|
924
924
|
|
925
925
|
> def initialize
|
926
926
|
|
@@ -932,7 +932,7 @@ __Returns:__
|
|
932
932
|
|
933
933
|
--
|
934
934
|
|
935
|
-
##### [reset](https://github.com/appium/ruby_lib/blob/
|
935
|
+
##### [reset](https://github.com/appium/ruby_lib/blob/0628c614e6620c606265883a8232dd021d03965d/lib/appium_lib/common/helper.rb#L67)
|
936
936
|
|
937
937
|
> def reset
|
938
938
|
|
@@ -940,7 +940,7 @@ __Returns:__
|
|
940
940
|
|
941
941
|
--
|
942
942
|
|
943
|
-
##### [start_element](https://github.com/appium/ruby_lib/blob/
|
943
|
+
##### [start_element](https://github.com/appium/ruby_lib/blob/0628c614e6620c606265883a8232dd021d03965d/lib/appium_lib/common/helper.rb#L72)
|
944
944
|
|
945
945
|
> def start_element(name, attrs = [], driver = $driver)
|
946
946
|
|
@@ -948,7 +948,7 @@ http://nokogiri.org/Nokogiri/XML/SAX/Document.html
|
|
948
948
|
|
949
949
|
--
|
950
950
|
|
951
|
-
##### [formatted_result](https://github.com/appium/ruby_lib/blob/
|
951
|
+
##### [formatted_result](https://github.com/appium/ruby_lib/blob/0628c614e6620c606265883a8232dd021d03965d/lib/appium_lib/common/helper.rb#L78)
|
952
952
|
|
953
953
|
> def formatted_result
|
954
954
|
|
@@ -956,7 +956,7 @@ http://nokogiri.org/Nokogiri/XML/SAX/Document.html
|
|
956
956
|
|
957
957
|
--
|
958
958
|
|
959
|
-
##### [get_page_class](https://github.com/appium/ruby_lib/blob/
|
959
|
+
##### [get_page_class](https://github.com/appium/ruby_lib/blob/0628c614e6620c606265883a8232dd021d03965d/lib/appium_lib/common/helper.rb#L97)
|
960
960
|
|
961
961
|
> def get_page_class
|
962
962
|
|
@@ -968,7 +968,7 @@ __Returns:__
|
|
968
968
|
|
969
969
|
--
|
970
970
|
|
971
|
-
##### [page_class](https://github.com/appium/ruby_lib/blob/
|
971
|
+
##### [page_class](https://github.com/appium/ruby_lib/blob/0628c614e6620c606265883a8232dd021d03965d/lib/appium_lib/common/helper.rb#L122)
|
972
972
|
|
973
973
|
> def page_class
|
974
974
|
|
@@ -981,7 +981,7 @@ __Returns:__
|
|
981
981
|
|
982
982
|
--
|
983
983
|
|
984
|
-
##### [source](https://github.com/appium/ruby_lib/blob/
|
984
|
+
##### [source](https://github.com/appium/ruby_lib/blob/0628c614e6620c606265883a8232dd021d03965d/lib/appium_lib/common/helper.rb#L129)
|
985
985
|
|
986
986
|
> def source
|
987
987
|
|
@@ -993,7 +993,7 @@ __Returns:__
|
|
993
993
|
|
994
994
|
--
|
995
995
|
|
996
|
-
##### [get_source](https://github.com/appium/ruby_lib/blob/
|
996
|
+
##### [get_source](https://github.com/appium/ruby_lib/blob/0628c614e6620c606265883a8232dd021d03965d/lib/appium_lib/common/helper.rb#L136)
|
997
997
|
|
998
998
|
> def get_source
|
999
999
|
|
@@ -1006,7 +1006,7 @@ __Returns:__
|
|
1006
1006
|
|
1007
1007
|
--
|
1008
1008
|
|
1009
|
-
##### [px_to_window_rel](https://github.com/appium/ruby_lib/blob/
|
1009
|
+
##### [px_to_window_rel](https://github.com/appium/ruby_lib/blob/0628c614e6620c606265883a8232dd021d03965d/lib/appium_lib/common/helper.rb#L146)
|
1010
1010
|
|
1011
1011
|
> def px_to_window_rel(opts = {}, driver = $driver)
|
1012
1012
|
|
@@ -1014,7 +1014,7 @@ Converts pixel values to window relative values
|
|
1014
1014
|
|
1015
1015
|
--
|
1016
1016
|
|
1017
|
-
##### [xml_keys](https://github.com/appium/ruby_lib/blob/
|
1017
|
+
##### [xml_keys](https://github.com/appium/ruby_lib/blob/0628c614e6620c606265883a8232dd021d03965d/lib/appium_lib/common/helper.rb#L165)
|
1018
1018
|
|
1019
1019
|
> def xml_keys(target)
|
1020
1020
|
|
@@ -1030,7 +1030,7 @@ __Returns:__
|
|
1030
1030
|
|
1031
1031
|
--
|
1032
1032
|
|
1033
|
-
##### [xml_values](https://github.com/appium/ruby_lib/blob/
|
1033
|
+
##### [xml_values](https://github.com/appium/ruby_lib/blob/0628c614e6620c606265883a8232dd021d03965d/lib/appium_lib/common/helper.rb#L173)
|
1034
1034
|
|
1035
1035
|
> def xml_values(target)
|
1036
1036
|
|
@@ -1046,7 +1046,7 @@ __Returns:__
|
|
1046
1046
|
|
1047
1047
|
--
|
1048
1048
|
|
1049
|
-
##### [resolve_id](https://github.com/appium/ruby_lib/blob/
|
1049
|
+
##### [resolve_id](https://github.com/appium/ruby_lib/blob/0628c614e6620c606265883a8232dd021d03965d/lib/appium_lib/common/helper.rb#L181)
|
1050
1050
|
|
1051
1051
|
> def resolve_id(id)
|
1052
1052
|
|
@@ -1062,7 +1062,7 @@ __Returns:__
|
|
1062
1062
|
|
1063
1063
|
--
|
1064
1064
|
|
1065
|
-
##### [filter](https://github.com/appium/ruby_lib/blob/
|
1065
|
+
##### [filter](https://github.com/appium/ruby_lib/blob/0628c614e6620c606265883a8232dd021d03965d/lib/appium_lib/common/helper.rb#L188)
|
1066
1066
|
|
1067
1067
|
> def filter
|
1068
1068
|
|
@@ -1070,7 +1070,7 @@ Returns the value of attribute filter
|
|
1070
1070
|
|
1071
1071
|
--
|
1072
1072
|
|
1073
|
-
##### [filter=](https://github.com/appium/ruby_lib/blob/
|
1073
|
+
##### [filter=](https://github.com/appium/ruby_lib/blob/0628c614e6620c606265883a8232dd021d03965d/lib/appium_lib/common/helper.rb#L191)
|
1074
1074
|
|
1075
1075
|
> def filter=(value)
|
1076
1076
|
|
@@ -1078,7 +1078,7 @@ convert to string to support symbols
|
|
1078
1078
|
|
1079
1079
|
--
|
1080
1080
|
|
1081
|
-
##### [initialize](https://github.com/appium/ruby_lib/blob/
|
1081
|
+
##### [initialize](https://github.com/appium/ruby_lib/blob/0628c614e6620c606265883a8232dd021d03965d/lib/appium_lib/common/helper.rb#L197)
|
1082
1082
|
|
1083
1083
|
> def initialize
|
1084
1084
|
|
@@ -1090,7 +1090,7 @@ __Returns:__
|
|
1090
1090
|
|
1091
1091
|
--
|
1092
1092
|
|
1093
|
-
##### [reset](https://github.com/appium/ruby_lib/blob/
|
1093
|
+
##### [reset](https://github.com/appium/ruby_lib/blob/0628c614e6620c606265883a8232dd021d03965d/lib/appium_lib/common/helper.rb#L202)
|
1094
1094
|
|
1095
1095
|
> def reset
|
1096
1096
|
|
@@ -1098,7 +1098,7 @@ __Returns:__
|
|
1098
1098
|
|
1099
1099
|
--
|
1100
1100
|
|
1101
|
-
##### [result](https://github.com/appium/ruby_lib/blob/
|
1101
|
+
##### [result](https://github.com/appium/ruby_lib/blob/0628c614e6620c606265883a8232dd021d03965d/lib/appium_lib/common/helper.rb#L208)
|
1102
1102
|
|
1103
1103
|
> def result
|
1104
1104
|
|
@@ -1106,7 +1106,7 @@ __Returns:__
|
|
1106
1106
|
|
1107
1107
|
--
|
1108
1108
|
|
1109
|
-
##### [start_element](https://github.com/appium/ruby_lib/blob/
|
1109
|
+
##### [start_element](https://github.com/appium/ruby_lib/blob/0628c614e6620c606265883a8232dd021d03965d/lib/appium_lib/common/helper.rb#L224)
|
1110
1110
|
|
1111
1111
|
> def start_element(name, attrs = [])
|
1112
1112
|
|
@@ -1114,7 +1114,7 @@ __Returns:__
|
|
1114
1114
|
|
1115
1115
|
--
|
1116
1116
|
|
1117
|
-
##### [end_element](https://github.com/appium/ruby_lib/blob/
|
1117
|
+
##### [end_element](https://github.com/appium/ruby_lib/blob/0628c614e6620c606265883a8232dd021d03965d/lib/appium_lib/common/helper.rb#L233)
|
1118
1118
|
|
1119
1119
|
> def end_element(name)
|
1120
1120
|
|
@@ -1122,7 +1122,7 @@ __Returns:__
|
|
1122
1122
|
|
1123
1123
|
--
|
1124
1124
|
|
1125
|
-
##### [characters](https://github.com/appium/ruby_lib/blob/
|
1125
|
+
##### [characters](https://github.com/appium/ruby_lib/blob/0628c614e6620c606265883a8232dd021d03965d/lib/appium_lib/common/helper.rb#L239)
|
1126
1126
|
|
1127
1127
|
> def characters(chars)
|
1128
1128
|
|
@@ -1130,7 +1130,7 @@ __Returns:__
|
|
1130
1130
|
|
1131
1131
|
--
|
1132
1132
|
|
1133
|
-
##### [DEFAULT_HEADERS](https://github.com/appium/ruby_lib/blob/
|
1133
|
+
##### [DEFAULT_HEADERS](https://github.com/appium/ruby_lib/blob/0628c614e6620c606265883a8232dd021d03965d/lib/appium_lib/common/http_client.rb#L8)
|
1134
1134
|
|
1135
1135
|
> DEFAULT_HEADERS = { 'Accept' => CONTENT_TYPE, 'User-Agent' => "appium/ruby_lib/#{::Appium::VERSION}" }.freeze
|
1136
1136
|
|
@@ -1138,7 +1138,7 @@ Default HTTP client inherit Appium::Core::Base::Http::Default, but has different
|
|
1138
1138
|
|
1139
1139
|
--
|
1140
1140
|
|
1141
|
-
##### [pinch](https://github.com/appium/ruby_lib/blob/
|
1141
|
+
##### [pinch](https://github.com/appium/ruby_lib/blob/0628c614e6620c606265883a8232dd021d03965d/lib/appium_lib/common/multi_touch.rb#L51)
|
1142
1142
|
|
1143
1143
|
> def pinch(percentage = 25, auto_perform = true, driver = $driver)
|
1144
1144
|
|
@@ -1158,7 +1158,7 @@ __Parameters:__
|
|
1158
1158
|
|
1159
1159
|
--
|
1160
1160
|
|
1161
|
-
##### [zoom](https://github.com/appium/ruby_lib/blob/
|
1161
|
+
##### [zoom](https://github.com/appium/ruby_lib/blob/0628c614e6620c606265883a8232dd021d03965d/lib/appium_lib/common/multi_touch.rb#L95)
|
1162
1162
|
|
1163
1163
|
> def zoom(percentage = 200, auto_perform = true, driver = $driver)
|
1164
1164
|
|
@@ -1178,7 +1178,7 @@ __Parameters:__
|
|
1178
1178
|
|
1179
1179
|
--
|
1180
1180
|
|
1181
|
-
##### [initialize](https://github.com/appium/ruby_lib/blob/
|
1181
|
+
##### [initialize](https://github.com/appium/ruby_lib/blob/0628c614e6620c606265883a8232dd021d03965d/lib/appium_lib/common/multi_touch.rb#L216)
|
1182
1182
|
|
1183
1183
|
> def initialize(driver = $driver)
|
1184
1184
|
|
@@ -1190,7 +1190,7 @@ __Returns:__
|
|
1190
1190
|
|
1191
1191
|
--
|
1192
1192
|
|
1193
|
-
##### [COMPLEX_ACTIONS](https://github.com/appium/ruby_lib/blob/
|
1193
|
+
##### [COMPLEX_ACTIONS](https://github.com/appium/ruby_lib/blob/0628c614e6620c606265883a8232dd021d03965d/lib/appium_lib/common/touch_actions.rb#L33)
|
1194
1194
|
|
1195
1195
|
> COMPLEX_ACTIONS = ::Appium::Core::TouchAction::COMPLEX_ACTIONS
|
1196
1196
|
|
@@ -1198,7 +1198,7 @@ __Returns:__
|
|
1198
1198
|
|
1199
1199
|
--
|
1200
1200
|
|
1201
|
-
##### [initialize](https://github.com/appium/ruby_lib/blob/
|
1201
|
+
##### [initialize](https://github.com/appium/ruby_lib/blob/0628c614e6620c606265883a8232dd021d03965d/lib/appium_lib/common/touch_actions.rb#L47)
|
1202
1202
|
|
1203
1203
|
> def initialize(driver = $driver)
|
1204
1204
|
|
@@ -1210,7 +1210,7 @@ __Returns:__
|
|
1210
1210
|
|
1211
1211
|
--
|
1212
1212
|
|
1213
|
-
##### [swipe](https://github.com/appium/ruby_lib/blob/
|
1213
|
+
##### [swipe](https://github.com/appium/ruby_lib/blob/0628c614e6620c606265883a8232dd021d03965d/lib/appium_lib/common/touch_actions.rb#L51)
|
1214
1214
|
|
1215
1215
|
> def swipe(opts, ele = nil)
|
1216
1216
|
|
@@ -1218,7 +1218,7 @@ __Returns:__
|
|
1218
1218
|
|
1219
1219
|
--
|
1220
1220
|
|
1221
|
-
##### [for](https://github.com/appium/ruby_lib/blob/
|
1221
|
+
##### [for](https://github.com/appium/ruby_lib/blob/0628c614e6620c606265883a8232dd021d03965d/lib/appium_lib/ios/ios.rb#L15) ios
|
1222
1222
|
|
1223
1223
|
> def self.for(target)
|
1224
1224
|
|
@@ -1226,7 +1226,7 @@ __Returns:__
|
|
1226
1226
|
|
1227
1227
|
--
|
1228
1228
|
|
1229
|
-
##### [UIAStaticText](https://github.com/appium/ruby_lib/blob/
|
1229
|
+
##### [UIAStaticText](https://github.com/appium/ruby_lib/blob/0628c614e6620c606265883a8232dd021d03965d/lib/appium_lib/ios/element/text.rb#L4) ios
|
1230
1230
|
|
1231
1231
|
> UIAStaticText = 'UIAStaticText'.freeze
|
1232
1232
|
|
@@ -1234,7 +1234,7 @@ __Returns:__
|
|
1234
1234
|
|
1235
1235
|
--
|
1236
1236
|
|
1237
|
-
##### [XCUIElementTypeStaticText](https://github.com/appium/ruby_lib/blob/
|
1237
|
+
##### [XCUIElementTypeStaticText](https://github.com/appium/ruby_lib/blob/0628c614e6620c606265883a8232dd021d03965d/lib/appium_lib/ios/element/text.rb#L5) ios
|
1238
1238
|
|
1239
1239
|
> XCUIElementTypeStaticText = 'XCUIElementTypeStaticText'.freeze
|
1240
1240
|
|
@@ -1242,7 +1242,7 @@ __Returns:__
|
|
1242
1242
|
|
1243
1243
|
--
|
1244
1244
|
|
1245
|
-
##### [static_text_class](https://github.com/appium/ruby_lib/blob/
|
1245
|
+
##### [static_text_class](https://github.com/appium/ruby_lib/blob/0628c614e6620c606265883a8232dd021d03965d/lib/appium_lib/ios/element/text.rb#L8) ios
|
1246
1246
|
|
1247
1247
|
> def static_text_class
|
1248
1248
|
|
@@ -1254,7 +1254,7 @@ __Returns:__
|
|
1254
1254
|
|
1255
1255
|
--
|
1256
1256
|
|
1257
|
-
##### [text](https://github.com/appium/ruby_lib/blob/
|
1257
|
+
##### [text](https://github.com/appium/ruby_lib/blob/0628c614e6620c606265883a8232dd021d03965d/lib/appium_lib/ios/element/text.rb#L16) ios
|
1258
1258
|
|
1259
1259
|
> def text(value)
|
1260
1260
|
|
@@ -1271,7 +1271,7 @@ __Returns:__
|
|
1271
1271
|
|
1272
1272
|
--
|
1273
1273
|
|
1274
|
-
##### [texts](https://github.com/appium/ruby_lib/blob/
|
1274
|
+
##### [texts](https://github.com/appium/ruby_lib/blob/0628c614e6620c606265883a8232dd021d03965d/lib/appium_lib/ios/element/text.rb#L25) ios
|
1275
1275
|
|
1276
1276
|
> def texts(value = false)
|
1277
1277
|
|
@@ -1288,7 +1288,7 @@ __Returns:__
|
|
1288
1288
|
|
1289
1289
|
--
|
1290
1290
|
|
1291
|
-
##### [first_text](https://github.com/appium/ruby_lib/blob/
|
1291
|
+
##### [first_text](https://github.com/appium/ruby_lib/blob/0628c614e6620c606265883a8232dd021d03965d/lib/appium_lib/ios/element/text.rb#L32) ios
|
1292
1292
|
|
1293
1293
|
> def first_text
|
1294
1294
|
|
@@ -1300,7 +1300,7 @@ __Returns:__
|
|
1300
1300
|
|
1301
1301
|
--
|
1302
1302
|
|
1303
|
-
##### [last_text](https://github.com/appium/ruby_lib/blob/
|
1303
|
+
##### [last_text](https://github.com/appium/ruby_lib/blob/0628c614e6620c606265883a8232dd021d03965d/lib/appium_lib/ios/element/text.rb#L38) ios
|
1304
1304
|
|
1305
1305
|
> def last_text
|
1306
1306
|
|
@@ -1312,7 +1312,7 @@ __Returns:__
|
|
1312
1312
|
|
1313
1313
|
--
|
1314
1314
|
|
1315
|
-
##### [text_exact](https://github.com/appium/ruby_lib/blob/
|
1315
|
+
##### [text_exact](https://github.com/appium/ruby_lib/blob/0628c614e6620c606265883a8232dd021d03965d/lib/appium_lib/ios/element/text.rb#L45) ios
|
1316
1316
|
|
1317
1317
|
> def text_exact(value)
|
1318
1318
|
|
@@ -1328,7 +1328,7 @@ __Returns:__
|
|
1328
1328
|
|
1329
1329
|
--
|
1330
1330
|
|
1331
|
-
##### [texts_exact](https://github.com/appium/ruby_lib/blob/
|
1331
|
+
##### [texts_exact](https://github.com/appium/ruby_lib/blob/0628c614e6620c606265883a8232dd021d03965d/lib/appium_lib/ios/element/text.rb#L52) ios
|
1332
1332
|
|
1333
1333
|
> def texts_exact(value)
|
1334
1334
|
|
@@ -1344,7 +1344,7 @@ __Returns:__
|
|
1344
1344
|
|
1345
1345
|
--
|
1346
1346
|
|
1347
|
-
##### [filter](https://github.com/appium/ruby_lib/blob/
|
1347
|
+
##### [filter](https://github.com/appium/ruby_lib/blob/0628c614e6620c606265883a8232dd021d03965d/lib/appium_lib/ios/common/helper.rb#L5) ios
|
1348
1348
|
|
1349
1349
|
> def filter
|
1350
1350
|
|
@@ -1352,7 +1352,7 @@ Returns the value of attribute filter
|
|
1352
1352
|
|
1353
1353
|
--
|
1354
1354
|
|
1355
|
-
##### [filter=](https://github.com/appium/ruby_lib/blob/
|
1355
|
+
##### [filter=](https://github.com/appium/ruby_lib/blob/0628c614e6620c606265883a8232dd021d03965d/lib/appium_lib/ios/common/helper.rb#L5) ios
|
1356
1356
|
|
1357
1357
|
> def filter=(value)
|
1358
1358
|
|
@@ -1364,7 +1364,7 @@ __Parameters:__
|
|
1364
1364
|
|
1365
1365
|
--
|
1366
1366
|
|
1367
|
-
##### [start_element](https://github.com/appium/ruby_lib/blob/
|
1367
|
+
##### [start_element](https://github.com/appium/ruby_lib/blob/0628c614e6620c606265883a8232dd021d03965d/lib/appium_lib/ios/common/helper.rb#L7) ios
|
1368
1368
|
|
1369
1369
|
> def start_element(type, attrs = [])
|
1370
1370
|
|
@@ -1372,7 +1372,7 @@ __Parameters:__
|
|
1372
1372
|
|
1373
1373
|
--
|
1374
1374
|
|
1375
|
-
##### [ios_password](https://github.com/appium/ruby_lib/blob/
|
1375
|
+
##### [ios_password](https://github.com/appium/ruby_lib/blob/0628c614e6620c606265883a8232dd021d03965d/lib/appium_lib/ios/common/helper.rb#L44) ios
|
1376
1376
|
|
1377
1377
|
> def ios_password(length = 1)
|
1378
1378
|
|
@@ -1390,7 +1390,7 @@ __Returns:__
|
|
1390
1390
|
|
1391
1391
|
--
|
1392
1392
|
|
1393
|
-
##### [page](https://github.com/appium/ruby_lib/blob/
|
1393
|
+
##### [page](https://github.com/appium/ruby_lib/blob/0628c614e6620c606265883a8232dd021d03965d/lib/appium_lib/ios/common/helper.rb#L60) ios
|
1394
1394
|
|
1395
1395
|
> def page(opts = {})
|
1396
1396
|
|
@@ -1408,7 +1408,7 @@ __Returns:__
|
|
1408
1408
|
|
1409
1409
|
--
|
1410
1410
|
|
1411
|
-
##### [source_window](https://github.com/appium/ruby_lib/blob/
|
1411
|
+
##### [source_window](https://github.com/appium/ruby_lib/blob/0628c614e6620c606265883a8232dd021d03965d/lib/appium_lib/ios/common/helper.rb#L84) ios
|
1412
1412
|
|
1413
1413
|
> def source_window(_window_number = nil)
|
1414
1414
|
|
@@ -1420,7 +1420,7 @@ __Returns:__
|
|
1420
1420
|
|
1421
1421
|
--
|
1422
1422
|
|
1423
|
-
##### [id](https://github.com/appium/ruby_lib/blob/
|
1423
|
+
##### [id](https://github.com/appium/ruby_lib/blob/0628c614e6620c606265883a8232dd021d03965d/lib/appium_lib/ios/common/helper.rb#L92) ios
|
1424
1424
|
|
1425
1425
|
> def id(id)
|
1426
1426
|
|
@@ -1436,7 +1436,7 @@ __Returns:__
|
|
1436
1436
|
|
1437
1437
|
--
|
1438
1438
|
|
1439
|
-
##### [ele_index](https://github.com/appium/ruby_lib/blob/
|
1439
|
+
##### [ele_index](https://github.com/appium/ruby_lib/blob/0628c614e6620c606265883a8232dd021d03965d/lib/appium_lib/ios/common/helper.rb#L100) ios
|
1440
1440
|
|
1441
1441
|
> def ele_index(class_name, index)
|
1442
1442
|
|
@@ -1454,7 +1454,7 @@ __Returns:__
|
|
1454
1454
|
|
1455
1455
|
--
|
1456
1456
|
|
1457
|
-
##### [find_ele_by_attr](https://github.com/appium/ruby_lib/blob/
|
1457
|
+
##### [find_ele_by_attr](https://github.com/appium/ruby_lib/blob/0628c614e6620c606265883a8232dd021d03965d/lib/appium_lib/ios/common/helper.rb#L128) ios
|
1458
1458
|
|
1459
1459
|
> def find_ele_by_attr(class_name, attr, value)
|
1460
1460
|
|
@@ -1476,7 +1476,7 @@ __Returns:__
|
|
1476
1476
|
|
1477
1477
|
--
|
1478
1478
|
|
1479
|
-
##### [find_eles_by_attr](https://github.com/appium/ruby_lib/blob/
|
1479
|
+
##### [find_eles_by_attr](https://github.com/appium/ruby_lib/blob/0628c614e6620c606265883a8232dd021d03965d/lib/appium_lib/ios/common/helper.rb#L139) ios
|
1480
1480
|
|
1481
1481
|
> def find_eles_by_attr(class_name, attr, value)
|
1482
1482
|
|
@@ -1498,7 +1498,7 @@ __Returns:__
|
|
1498
1498
|
|
1499
1499
|
--
|
1500
1500
|
|
1501
|
-
##### [find_ele_by_predicate](https://github.com/appium/ruby_lib/blob/
|
1501
|
+
##### [find_ele_by_predicate](https://github.com/appium/ruby_lib/blob/0628c614e6620c606265883a8232dd021d03965d/lib/appium_lib/ios/common/helper.rb#L152) ios
|
1502
1502
|
|
1503
1503
|
> def find_ele_by_predicate(class_name: '*', value:)
|
1504
1504
|
|
@@ -1515,7 +1515,7 @@ __Returns:__
|
|
1515
1515
|
|
1516
1516
|
--
|
1517
1517
|
|
1518
|
-
##### [find_eles_by_predicate](https://github.com/appium/ruby_lib/blob/
|
1518
|
+
##### [find_eles_by_predicate](https://github.com/appium/ruby_lib/blob/0628c614e6620c606265883a8232dd021d03965d/lib/appium_lib/ios/common/helper.rb#L163) ios
|
1519
1519
|
|
1520
1520
|
> def find_eles_by_predicate(class_name: '*', value:)
|
1521
1521
|
|
@@ -1534,7 +1534,7 @@ __Returns:__
|
|
1534
1534
|
|
1535
1535
|
--
|
1536
1536
|
|
1537
|
-
##### [find_ele_by_attr_include](https://github.com/appium/ruby_lib/blob/
|
1537
|
+
##### [find_ele_by_attr_include](https://github.com/appium/ruby_lib/blob/0628c614e6620c606265883a8232dd021d03965d/lib/appium_lib/ios/common/helper.rb#L179) ios
|
1538
1538
|
|
1539
1539
|
> def find_ele_by_attr_include(class_name, attr, value)
|
1540
1540
|
|
@@ -1555,7 +1555,7 @@ __Returns:__
|
|
1555
1555
|
|
1556
1556
|
--
|
1557
1557
|
|
1558
|
-
##### [find_eles_by_attr_include](https://github.com/appium/ruby_lib/blob/
|
1558
|
+
##### [find_eles_by_attr_include](https://github.com/appium/ruby_lib/blob/0628c614e6620c606265883a8232dd021d03965d/lib/appium_lib/ios/common/helper.rb#L189) ios
|
1559
1559
|
|
1560
1560
|
> def find_eles_by_attr_include(class_name, attr, value)
|
1561
1561
|
|
@@ -1576,7 +1576,7 @@ __Returns:__
|
|
1576
1576
|
|
1577
1577
|
--
|
1578
1578
|
|
1579
|
-
##### [find_ele_by_predicate_include](https://github.com/appium/ruby_lib/blob/
|
1579
|
+
##### [find_ele_by_predicate_include](https://github.com/appium/ruby_lib/blob/0628c614e6620c606265883a8232dd021d03965d/lib/appium_lib/ios/common/helper.rb#L197) ios
|
1580
1580
|
|
1581
1581
|
> def find_ele_by_predicate_include(class_name: '*', value:)
|
1582
1582
|
|
@@ -1593,7 +1593,7 @@ __Returns:__
|
|
1593
1593
|
|
1594
1594
|
--
|
1595
1595
|
|
1596
|
-
##### [find_eles_by_predicate_include](https://github.com/appium/ruby_lib/blob/
|
1596
|
+
##### [find_eles_by_predicate_include](https://github.com/appium/ruby_lib/blob/0628c614e6620c606265883a8232dd021d03965d/lib/appium_lib/ios/common/helper.rb#L208) ios
|
1597
1597
|
|
1598
1598
|
> def find_eles_by_predicate_include(class_name: '*', value:)
|
1599
1599
|
|
@@ -1612,7 +1612,7 @@ __Returns:__
|
|
1612
1612
|
|
1613
1613
|
--
|
1614
1614
|
|
1615
|
-
##### [first_ele](https://github.com/appium/ruby_lib/blob/
|
1615
|
+
##### [first_ele](https://github.com/appium/ruby_lib/blob/0628c614e6620c606265883a8232dd021d03965d/lib/appium_lib/ios/common/helper.rb#L221) ios
|
1616
1616
|
|
1617
1617
|
> def first_ele(class_name)
|
1618
1618
|
|
@@ -1628,7 +1628,7 @@ __Returns:__
|
|
1628
1628
|
|
1629
1629
|
--
|
1630
1630
|
|
1631
|
-
##### [last_ele](https://github.com/appium/ruby_lib/blob/
|
1631
|
+
##### [last_ele](https://github.com/appium/ruby_lib/blob/0628c614e6620c606265883a8232dd021d03965d/lib/appium_lib/ios/common/helper.rb#L228) ios
|
1632
1632
|
|
1633
1633
|
> def last_ele(class_name)
|
1634
1634
|
|
@@ -1644,7 +1644,7 @@ __Returns:__
|
|
1644
1644
|
|
1645
1645
|
--
|
1646
1646
|
|
1647
|
-
##### [tag](https://github.com/appium/ruby_lib/blob/
|
1647
|
+
##### [tag](https://github.com/appium/ruby_lib/blob/0628c614e6620c606265883a8232dd021d03965d/lib/appium_lib/ios/common/helper.rb#L236) ios
|
1648
1648
|
|
1649
1649
|
> def tag(class_name)
|
1650
1650
|
|
@@ -1660,7 +1660,7 @@ __Returns:__
|
|
1660
1660
|
|
1661
1661
|
--
|
1662
1662
|
|
1663
|
-
##### [tags](https://github.com/appium/ruby_lib/blob/
|
1663
|
+
##### [tags](https://github.com/appium/ruby_lib/blob/0628c614e6620c606265883a8232dd021d03965d/lib/appium_lib/ios/common/helper.rb#L244) ios
|
1664
1664
|
|
1665
1665
|
> def tags(class_name)
|
1666
1666
|
|
@@ -1676,7 +1676,7 @@ __Returns:__
|
|
1676
1676
|
|
1677
1677
|
--
|
1678
1678
|
|
1679
|
-
##### [tags_include](https://github.com/appium/ruby_lib/blob/
|
1679
|
+
##### [tags_include](https://github.com/appium/ruby_lib/blob/0628c614e6620c606265883a8232dd021d03965d/lib/appium_lib/ios/common/helper.rb#L255) ios
|
1680
1680
|
|
1681
1681
|
> def tags_include(class_names:, value: nil)
|
1682
1682
|
|
@@ -1696,7 +1696,7 @@ __Returns:__
|
|
1696
1696
|
|
1697
1697
|
--
|
1698
1698
|
|
1699
|
-
##### [tags_exact](https://github.com/appium/ruby_lib/blob/
|
1699
|
+
##### [tags_exact](https://github.com/appium/ruby_lib/blob/0628c614e6620c606265883a8232dd021d03965d/lib/appium_lib/ios/common/helper.rb#L270) ios
|
1700
1700
|
|
1701
1701
|
> def tags_exact(class_names:, value: nil)
|
1702
1702
|
|
@@ -1716,7 +1716,7 @@ __Returns:__
|
|
1716
1716
|
|
1717
1717
|
--
|
1718
1718
|
|
1719
|
-
##### [ele_by_json_visible_contains](https://github.com/appium/ruby_lib/blob/
|
1719
|
+
##### [ele_by_json_visible_contains](https://github.com/appium/ruby_lib/blob/0628c614e6620c606265883a8232dd021d03965d/lib/appium_lib/ios/common/helper.rb#L307) ios
|
1720
1720
|
|
1721
1721
|
> def ele_by_json_visible_contains(element, value)
|
1722
1722
|
|
@@ -1735,7 +1735,7 @@ __Returns:__
|
|
1735
1735
|
|
1736
1736
|
--
|
1737
1737
|
|
1738
|
-
##### [eles_by_json_visible_contains](https://github.com/appium/ruby_lib/blob/
|
1738
|
+
##### [eles_by_json_visible_contains](https://github.com/appium/ruby_lib/blob/0628c614e6620c606265883a8232dd021d03965d/lib/appium_lib/ios/common/helper.rb#L316) ios
|
1739
1739
|
|
1740
1740
|
> def eles_by_json_visible_contains(element, value)
|
1741
1741
|
|
@@ -1754,7 +1754,7 @@ __Returns:__
|
|
1754
1754
|
|
1755
1755
|
--
|
1756
1756
|
|
1757
|
-
##### [ele_by_json_visible_exact](https://github.com/appium/ruby_lib/blob/
|
1757
|
+
##### [ele_by_json_visible_exact](https://github.com/appium/ruby_lib/blob/0628c614e6620c606265883a8232dd021d03965d/lib/appium_lib/ios/common/helper.rb#L346) ios
|
1758
1758
|
|
1759
1759
|
> def ele_by_json_visible_exact(element, value)
|
1760
1760
|
|
@@ -1773,7 +1773,7 @@ __Returns:__
|
|
1773
1773
|
|
1774
1774
|
--
|
1775
1775
|
|
1776
|
-
##### [eles_by_json_visible_exact](https://github.com/appium/ruby_lib/blob/
|
1776
|
+
##### [eles_by_json_visible_exact](https://github.com/appium/ruby_lib/blob/0628c614e6620c606265883a8232dd021d03965d/lib/appium_lib/ios/common/helper.rb#L355) ios
|
1777
1777
|
|
1778
1778
|
> def eles_by_json_visible_exact(element, value)
|
1779
1779
|
|
@@ -1792,7 +1792,7 @@ __Returns:__
|
|
1792
1792
|
|
1793
1793
|
--
|
1794
1794
|
|
1795
|
-
##### [_all_pred](https://github.com/appium/ruby_lib/blob/
|
1795
|
+
##### [_all_pred](https://github.com/appium/ruby_lib/blob/0628c614e6620c606265883a8232dd021d03965d/lib/appium_lib/ios/common/helper.rb#L364) ios
|
1796
1796
|
|
1797
1797
|
> def _all_pred(opts)
|
1798
1798
|
|
@@ -1802,7 +1802,7 @@ visible - if true, only visible elements are returned. default true
|
|
1802
1802
|
|
1803
1803
|
--
|
1804
1804
|
|
1805
|
-
##### [ele_with_pred](https://github.com/appium/ruby_lib/blob/
|
1805
|
+
##### [ele_with_pred](https://github.com/appium/ruby_lib/blob/0628c614e6620c606265883a8232dd021d03965d/lib/appium_lib/ios/common/helper.rb#L377) ios
|
1806
1806
|
|
1807
1807
|
> def ele_with_pred(opts)
|
1808
1808
|
|
@@ -1818,7 +1818,7 @@ __Returns:__
|
|
1818
1818
|
|
1819
1819
|
--
|
1820
1820
|
|
1821
|
-
##### [eles_with_pred](https://github.com/appium/ruby_lib/blob/
|
1821
|
+
##### [eles_with_pred](https://github.com/appium/ruby_lib/blob/0628c614e6620c606265883a8232dd021d03965d/lib/appium_lib/ios/common/helper.rb#L388) ios
|
1822
1822
|
|
1823
1823
|
> def eles_with_pred(opts)
|
1824
1824
|
|
@@ -1834,7 +1834,7 @@ __Returns:__
|
|
1834
1834
|
|
1835
1835
|
--
|
1836
1836
|
|
1837
|
-
##### [_validate_object](https://github.com/appium/ruby_lib/blob/
|
1837
|
+
##### [_validate_object](https://github.com/appium/ruby_lib/blob/0628c614e6620c606265883a8232dd021d03965d/lib/appium_lib/ios/common/helper.rb#L392) ios
|
1838
1838
|
|
1839
1839
|
> def _validate_object(*objects)
|
1840
1840
|
|
@@ -1842,7 +1842,7 @@ __Returns:__
|
|
1842
1842
|
|
1843
1843
|
--
|
1844
1844
|
|
1845
|
-
##### [_by_json](https://github.com/appium/ruby_lib/blob/
|
1845
|
+
##### [_by_json](https://github.com/appium/ruby_lib/blob/0628c614e6620c606265883a8232dd021d03965d/lib/appium_lib/ios/common/helper.rb#L441) ios
|
1846
1846
|
|
1847
1847
|
> def _by_json(opts)
|
1848
1848
|
|
@@ -1877,7 +1877,7 @@ opts = {
|
|
1877
1877
|
|
1878
1878
|
--
|
1879
1879
|
|
1880
|
-
##### [eles_by_json](https://github.com/appium/ruby_lib/blob/
|
1880
|
+
##### [eles_by_json](https://github.com/appium/ruby_lib/blob/0628c614e6620c606265883a8232dd021d03965d/lib/appium_lib/ios/common/helper.rb#L491) ios
|
1881
1881
|
|
1882
1882
|
> def eles_by_json(opts)
|
1883
1883
|
|
@@ -1896,7 +1896,7 @@ eles_by_json({
|
|
1896
1896
|
|
1897
1897
|
--
|
1898
1898
|
|
1899
|
-
##### [ele_by_json](https://github.com/appium/ruby_lib/blob/
|
1899
|
+
##### [ele_by_json](https://github.com/appium/ruby_lib/blob/0628c614e6620c606265883a8232dd021d03965d/lib/appium_lib/ios/common/helper.rb#L497) ios
|
1900
1900
|
|
1901
1901
|
> def ele_by_json(opts)
|
1902
1902
|
|
@@ -1904,7 +1904,7 @@ see eles_by_json
|
|
1904
1904
|
|
1905
1905
|
--
|
1906
1906
|
|
1907
|
-
##### [alert_accept](https://github.com/appium/ruby_lib/blob/
|
1907
|
+
##### [alert_accept](https://github.com/appium/ruby_lib/blob/0628c614e6620c606265883a8232dd021d03965d/lib/appium_lib/ios/element/alert.rb#L5) ios
|
1908
1908
|
|
1909
1909
|
> def alert_accept
|
1910
1910
|
|
@@ -1916,7 +1916,7 @@ __Returns:__
|
|
1916
1916
|
|
1917
1917
|
--
|
1918
1918
|
|
1919
|
-
##### [alert_dismiss](https://github.com/appium/ruby_lib/blob/
|
1919
|
+
##### [alert_dismiss](https://github.com/appium/ruby_lib/blob/0628c614e6620c606265883a8232dd021d03965d/lib/appium_lib/ios/element/alert.rb#L13) ios
|
1920
1920
|
|
1921
1921
|
> def alert_dismiss
|
1922
1922
|
|
@@ -1928,7 +1928,7 @@ __Returns:__
|
|
1928
1928
|
|
1929
1929
|
--
|
1930
1930
|
|
1931
|
-
##### [UIAButton](https://github.com/appium/ruby_lib/blob/
|
1931
|
+
##### [UIAButton](https://github.com/appium/ruby_lib/blob/0628c614e6620c606265883a8232dd021d03965d/lib/appium_lib/ios/element/button.rb#L4) ios
|
1932
1932
|
|
1933
1933
|
> UIAButton = 'UIAButton'.freeze
|
1934
1934
|
|
@@ -1936,7 +1936,7 @@ __Returns:__
|
|
1936
1936
|
|
1937
1937
|
--
|
1938
1938
|
|
1939
|
-
##### [XCUIElementTypeButton](https://github.com/appium/ruby_lib/blob/
|
1939
|
+
##### [XCUIElementTypeButton](https://github.com/appium/ruby_lib/blob/0628c614e6620c606265883a8232dd021d03965d/lib/appium_lib/ios/element/button.rb#L5) ios
|
1940
1940
|
|
1941
1941
|
> XCUIElementTypeButton = 'XCUIElementTypeButton'.freeze
|
1942
1942
|
|
@@ -1944,7 +1944,7 @@ __Returns:__
|
|
1944
1944
|
|
1945
1945
|
--
|
1946
1946
|
|
1947
|
-
##### [button_class](https://github.com/appium/ruby_lib/blob/
|
1947
|
+
##### [button_class](https://github.com/appium/ruby_lib/blob/0628c614e6620c606265883a8232dd021d03965d/lib/appium_lib/ios/element/button.rb#L8) ios
|
1948
1948
|
|
1949
1949
|
> def button_class
|
1950
1950
|
|
@@ -1956,7 +1956,7 @@ __Returns:__
|
|
1956
1956
|
|
1957
1957
|
--
|
1958
1958
|
|
1959
|
-
##### [button](https://github.com/appium/ruby_lib/blob/
|
1959
|
+
##### [button](https://github.com/appium/ruby_lib/blob/0628c614e6620c606265883a8232dd021d03965d/lib/appium_lib/ios/element/button.rb#L16) ios
|
1960
1960
|
|
1961
1961
|
> def button(value)
|
1962
1962
|
|
@@ -1973,7 +1973,7 @@ __Returns:__
|
|
1973
1973
|
|
1974
1974
|
--
|
1975
1975
|
|
1976
|
-
##### [buttons](https://github.com/appium/ruby_lib/blob/
|
1976
|
+
##### [buttons](https://github.com/appium/ruby_lib/blob/0628c614e6620c606265883a8232dd021d03965d/lib/appium_lib/ios/element/button.rb#L26) ios
|
1977
1977
|
|
1978
1978
|
> def buttons(value = false)
|
1979
1979
|
|
@@ -1990,7 +1990,7 @@ __Returns:__
|
|
1990
1990
|
|
1991
1991
|
--
|
1992
1992
|
|
1993
|
-
##### [first_button](https://github.com/appium/ruby_lib/blob/
|
1993
|
+
##### [first_button](https://github.com/appium/ruby_lib/blob/0628c614e6620c606265883a8232dd021d03965d/lib/appium_lib/ios/element/button.rb#L33) ios
|
1994
1994
|
|
1995
1995
|
> def first_button
|
1996
1996
|
|
@@ -2002,7 +2002,7 @@ __Returns:__
|
|
2002
2002
|
|
2003
2003
|
--
|
2004
2004
|
|
2005
|
-
##### [last_button](https://github.com/appium/ruby_lib/blob/
|
2005
|
+
##### [last_button](https://github.com/appium/ruby_lib/blob/0628c614e6620c606265883a8232dd021d03965d/lib/appium_lib/ios/element/button.rb#L41) ios
|
2006
2006
|
|
2007
2007
|
> def last_button
|
2008
2008
|
|
@@ -2016,7 +2016,7 @@ __Returns:__
|
|
2016
2016
|
|
2017
2017
|
--
|
2018
2018
|
|
2019
|
-
##### [button_exact](https://github.com/appium/ruby_lib/blob/
|
2019
|
+
##### [button_exact](https://github.com/appium/ruby_lib/blob/0628c614e6620c606265883a8232dd021d03965d/lib/appium_lib/ios/element/button.rb#L48) ios
|
2020
2020
|
|
2021
2021
|
> def button_exact(value)
|
2022
2022
|
|
@@ -2032,7 +2032,7 @@ __Returns:__
|
|
2032
2032
|
|
2033
2033
|
--
|
2034
2034
|
|
2035
|
-
##### [buttons_exact](https://github.com/appium/ruby_lib/blob/
|
2035
|
+
##### [buttons_exact](https://github.com/appium/ruby_lib/blob/0628c614e6620c606265883a8232dd021d03965d/lib/appium_lib/ios/element/button.rb#L55) ios
|
2036
2036
|
|
2037
2037
|
> def buttons_exact(value)
|
2038
2038
|
|
@@ -2048,7 +2048,7 @@ __Returns:__
|
|
2048
2048
|
|
2049
2049
|
--
|
2050
2050
|
|
2051
|
-
##### [find](https://github.com/appium/ruby_lib/blob/
|
2051
|
+
##### [find](https://github.com/appium/ruby_lib/blob/0628c614e6620c606265883a8232dd021d03965d/lib/appium_lib/ios/element/generic.rb#L6) ios
|
2052
2052
|
|
2053
2053
|
> def find(value)
|
2054
2054
|
|
@@ -2064,7 +2064,7 @@ __Returns:__
|
|
2064
2064
|
|
2065
2065
|
--
|
2066
2066
|
|
2067
|
-
##### [finds](https://github.com/appium/ruby_lib/blob/
|
2067
|
+
##### [finds](https://github.com/appium/ruby_lib/blob/0628c614e6620c606265883a8232dd021d03965d/lib/appium_lib/ios/element/generic.rb#L13) ios
|
2068
2068
|
|
2069
2069
|
> def finds(value)
|
2070
2070
|
|
@@ -2080,7 +2080,7 @@ __Returns:__
|
|
2080
2080
|
|
2081
2081
|
--
|
2082
2082
|
|
2083
|
-
##### [find_exact](https://github.com/appium/ruby_lib/blob/
|
2083
|
+
##### [find_exact](https://github.com/appium/ruby_lib/blob/0628c614e6620c606265883a8232dd021d03965d/lib/appium_lib/ios/element/generic.rb#L20) ios
|
2084
2084
|
|
2085
2085
|
> def find_exact(value)
|
2086
2086
|
|
@@ -2096,7 +2096,7 @@ __Returns:__
|
|
2096
2096
|
|
2097
2097
|
--
|
2098
2098
|
|
2099
|
-
##### [finds_exact](https://github.com/appium/ruby_lib/blob/
|
2099
|
+
##### [finds_exact](https://github.com/appium/ruby_lib/blob/0628c614e6620c606265883a8232dd021d03965d/lib/appium_lib/ios/element/generic.rb#L27) ios
|
2100
2100
|
|
2101
2101
|
> def finds_exact(value)
|
2102
2102
|
|
@@ -2112,7 +2112,7 @@ __Returns:__
|
|
2112
2112
|
|
2113
2113
|
--
|
2114
2114
|
|
2115
|
-
##### [raise_error_if_no_element](https://github.com/appium/ruby_lib/blob/
|
2115
|
+
##### [raise_error_if_no_element](https://github.com/appium/ruby_lib/blob/0628c614e6620c606265883a8232dd021d03965d/lib/appium_lib/ios/element/generic.rb#L33) ios
|
2116
2116
|
|
2117
2117
|
> def raise_error_if_no_element(element)
|
2118
2118
|
|
@@ -2120,7 +2120,7 @@ __Returns:__
|
|
2120
2120
|
|
2121
2121
|
--
|
2122
2122
|
|
2123
|
-
##### [select_visible_elements](https://github.com/appium/ruby_lib/blob/
|
2123
|
+
##### [select_visible_elements](https://github.com/appium/ruby_lib/blob/0628c614e6620c606265883a8232dd021d03965d/lib/appium_lib/ios/element/generic.rb#L40) ios
|
2124
2124
|
|
2125
2125
|
> def select_visible_elements(elements)
|
2126
2126
|
|
@@ -2128,7 +2128,7 @@ Return visible elements.
|
|
2128
2128
|
|
2129
2129
|
--
|
2130
2130
|
|
2131
|
-
##### [for](https://github.com/appium/ruby_lib/blob/
|
2131
|
+
##### [for](https://github.com/appium/ruby_lib/blob/0628c614e6620c606265883a8232dd021d03965d/lib/appium_lib/ios/xcuitest/bridge.rb#L7) ios
|
2132
2132
|
|
2133
2133
|
> def self.for(target)
|
2134
2134
|
|
@@ -2136,7 +2136,7 @@ Return visible elements.
|
|
2136
2136
|
|
2137
2137
|
--
|
2138
2138
|
|
2139
|
-
##### [last_ele](https://github.com/appium/ruby_lib/blob/
|
2139
|
+
##### [last_ele](https://github.com/appium/ruby_lib/blob/0628c614e6620c606265883a8232dd021d03965d/lib/appium_lib/ios/xcuitest/helper.rb#L26) ios
|
2140
2140
|
|
2141
2141
|
> def last_ele(class_name)
|
2142
2142
|
|
@@ -2152,7 +2152,7 @@ __Returns:__
|
|
2152
2152
|
|
2153
2153
|
--
|
2154
2154
|
|
2155
|
-
##### [tag](https://github.com/appium/ruby_lib/blob/
|
2155
|
+
##### [tag](https://github.com/appium/ruby_lib/blob/0628c614e6620c606265883a8232dd021d03965d/lib/appium_lib/ios/xcuitest/helper.rb#L36) ios
|
2156
2156
|
|
2157
2157
|
> def tag(class_name)
|
2158
2158
|
|
@@ -2168,7 +2168,7 @@ __Returns:__
|
|
2168
2168
|
|
2169
2169
|
--
|
2170
2170
|
|
2171
|
-
##### [tags](https://github.com/appium/ruby_lib/blob/
|
2171
|
+
##### [tags](https://github.com/appium/ruby_lib/blob/0628c614e6620c606265883a8232dd021d03965d/lib/appium_lib/ios/xcuitest/helper.rb#L44) ios
|
2172
2172
|
|
2173
2173
|
> def tags(class_name)
|
2174
2174
|
|
@@ -2184,7 +2184,7 @@ __Returns:__
|
|
2184
2184
|
|
2185
2185
|
--
|
2186
2186
|
|
2187
|
-
##### [tags_include](https://github.com/appium/ruby_lib/blob/
|
2187
|
+
##### [tags_include](https://github.com/appium/ruby_lib/blob/0628c614e6620c606265883a8232dd021d03965d/lib/appium_lib/ios/xcuitest/helper.rb#L56) ios
|
2188
2188
|
|
2189
2189
|
> def tags_include(class_names:, value: nil)
|
2190
2190
|
|
@@ -2204,7 +2204,7 @@ __Returns:__
|
|
2204
2204
|
|
2205
2205
|
--
|
2206
2206
|
|
2207
|
-
##### [tags_exact](https://github.com/appium/ruby_lib/blob/
|
2207
|
+
##### [tags_exact](https://github.com/appium/ruby_lib/blob/0628c614e6620c606265883a8232dd021d03965d/lib/appium_lib/ios/xcuitest/helper.rb#L79) ios
|
2208
2208
|
|
2209
2209
|
> def tags_exact(class_names:, value: nil)
|
2210
2210
|
|
@@ -2224,7 +2224,7 @@ __Returns:__
|
|
2224
2224
|
|
2225
2225
|
--
|
2226
2226
|
|
2227
|
-
##### [UIATextField](https://github.com/appium/ruby_lib/blob/
|
2227
|
+
##### [UIATextField](https://github.com/appium/ruby_lib/blob/0628c614e6620c606265883a8232dd021d03965d/lib/appium_lib/ios/element/textfield.rb#L3) ios
|
2228
2228
|
|
2229
2229
|
> UIATextField = 'UIATextField'.freeze
|
2230
2230
|
|
@@ -2232,7 +2232,7 @@ __Returns:__
|
|
2232
2232
|
|
2233
2233
|
--
|
2234
2234
|
|
2235
|
-
##### [UIASecureTextField](https://github.com/appium/ruby_lib/blob/
|
2235
|
+
##### [UIASecureTextField](https://github.com/appium/ruby_lib/blob/0628c614e6620c606265883a8232dd021d03965d/lib/appium_lib/ios/element/textfield.rb#L4) ios
|
2236
2236
|
|
2237
2237
|
> UIASecureTextField = 'UIASecureTextField'.freeze
|
2238
2238
|
|
@@ -2240,7 +2240,7 @@ __Returns:__
|
|
2240
2240
|
|
2241
2241
|
--
|
2242
2242
|
|
2243
|
-
##### [XCUIElementTypeTextField](https://github.com/appium/ruby_lib/blob/
|
2243
|
+
##### [XCUIElementTypeTextField](https://github.com/appium/ruby_lib/blob/0628c614e6620c606265883a8232dd021d03965d/lib/appium_lib/ios/element/textfield.rb#L6) ios
|
2244
2244
|
|
2245
2245
|
> XCUIElementTypeTextField = 'XCUIElementTypeTextField'.freeze
|
2246
2246
|
|
@@ -2248,7 +2248,7 @@ __Returns:__
|
|
2248
2248
|
|
2249
2249
|
--
|
2250
2250
|
|
2251
|
-
##### [XCUIElementTypeSecureTextField](https://github.com/appium/ruby_lib/blob/
|
2251
|
+
##### [XCUIElementTypeSecureTextField](https://github.com/appium/ruby_lib/blob/0628c614e6620c606265883a8232dd021d03965d/lib/appium_lib/ios/element/textfield.rb#L7) ios
|
2252
2252
|
|
2253
2253
|
> XCUIElementTypeSecureTextField = 'XCUIElementTypeSecureTextField'.freeze
|
2254
2254
|
|
@@ -2256,7 +2256,7 @@ __Returns:__
|
|
2256
2256
|
|
2257
2257
|
--
|
2258
2258
|
|
2259
|
-
##### [text_field_class](https://github.com/appium/ruby_lib/blob/
|
2259
|
+
##### [text_field_class](https://github.com/appium/ruby_lib/blob/0628c614e6620c606265883a8232dd021d03965d/lib/appium_lib/ios/element/textfield.rb#L10) ios
|
2260
2260
|
|
2261
2261
|
> def text_field_class
|
2262
2262
|
|
@@ -2268,7 +2268,7 @@ __Returns:__
|
|
2268
2268
|
|
2269
2269
|
--
|
2270
2270
|
|
2271
|
-
##### [secure_text_field_class](https://github.com/appium/ruby_lib/blob/
|
2271
|
+
##### [secure_text_field_class](https://github.com/appium/ruby_lib/blob/0628c614e6620c606265883a8232dd021d03965d/lib/appium_lib/ios/element/textfield.rb#L15) ios
|
2272
2272
|
|
2273
2273
|
> def secure_text_field_class
|
2274
2274
|
|
@@ -2280,7 +2280,7 @@ __Returns:__
|
|
2280
2280
|
|
2281
2281
|
--
|
2282
2282
|
|
2283
|
-
##### [textfield](https://github.com/appium/ruby_lib/blob/
|
2283
|
+
##### [textfield](https://github.com/appium/ruby_lib/blob/0628c614e6620c606265883a8232dd021d03965d/lib/appium_lib/ios/element/textfield.rb#L24) ios
|
2284
2284
|
|
2285
2285
|
> def textfield(value)
|
2286
2286
|
|
@@ -2298,7 +2298,7 @@ __Returns:__
|
|
2298
2298
|
|
2299
2299
|
--
|
2300
2300
|
|
2301
|
-
##### [textfields](https://github.com/appium/ruby_lib/blob/
|
2301
|
+
##### [textfields](https://github.com/appium/ruby_lib/blob/0628c614e6620c606265883a8232dd021d03965d/lib/appium_lib/ios/element/textfield.rb#L42) ios
|
2302
2302
|
|
2303
2303
|
> def textfields(value = false)
|
2304
2304
|
|
@@ -2315,7 +2315,7 @@ __Returns:__
|
|
2315
2315
|
|
2316
2316
|
--
|
2317
2317
|
|
2318
|
-
##### [first_textfield](https://github.com/appium/ruby_lib/blob/
|
2318
|
+
##### [first_textfield](https://github.com/appium/ruby_lib/blob/0628c614e6620c606265883a8232dd021d03965d/lib/appium_lib/ios/element/textfield.rb#L49) ios
|
2319
2319
|
|
2320
2320
|
> def first_textfield
|
2321
2321
|
|
@@ -2327,7 +2327,7 @@ __Returns:__
|
|
2327
2327
|
|
2328
2328
|
--
|
2329
2329
|
|
2330
|
-
##### [last_textfield](https://github.com/appium/ruby_lib/blob/
|
2330
|
+
##### [last_textfield](https://github.com/appium/ruby_lib/blob/0628c614e6620c606265883a8232dd021d03965d/lib/appium_lib/ios/element/textfield.rb#L55) ios
|
2331
2331
|
|
2332
2332
|
> def last_textfield
|
2333
2333
|
|
@@ -2339,7 +2339,7 @@ __Returns:__
|
|
2339
2339
|
|
2340
2340
|
--
|
2341
2341
|
|
2342
|
-
##### [textfield_exact](https://github.com/appium/ruby_lib/blob/
|
2342
|
+
##### [textfield_exact](https://github.com/appium/ruby_lib/blob/0628c614e6620c606265883a8232dd021d03965d/lib/appium_lib/ios/element/textfield.rb#L64) ios
|
2343
2343
|
|
2344
2344
|
> def textfield_exact(value)
|
2345
2345
|
|
@@ -2355,7 +2355,7 @@ __Returns:__
|
|
2355
2355
|
|
2356
2356
|
--
|
2357
2357
|
|
2358
|
-
##### [textfields_exact](https://github.com/appium/ruby_lib/blob/
|
2358
|
+
##### [textfields_exact](https://github.com/appium/ruby_lib/blob/0628c614e6620c606265883a8232dd021d03965d/lib/appium_lib/ios/element/textfield.rb#L71) ios
|
2359
2359
|
|
2360
2360
|
> def textfields_exact(value)
|
2361
2361
|
|
@@ -2371,7 +2371,7 @@ __Returns:__
|
|
2371
2371
|
|
2372
2372
|
--
|
2373
2373
|
|
2374
|
-
##### [_textfield_visible](https://github.com/appium/ruby_lib/blob/
|
2374
|
+
##### [_textfield_visible](https://github.com/appium/ruby_lib/blob/0628c614e6620c606265883a8232dd021d03965d/lib/appium_lib/ios/element/textfield.rb#L78) ios
|
2375
2375
|
|
2376
2376
|
> def _textfield_visible
|
2377
2377
|
|
@@ -2379,7 +2379,7 @@ Appium
|
|
2379
2379
|
|
2380
2380
|
--
|
2381
2381
|
|
2382
|
-
##### [_textfield_exact_string](https://github.com/appium/ruby_lib/blob/
|
2382
|
+
##### [_textfield_exact_string](https://github.com/appium/ruby_lib/blob/0628c614e6620c606265883a8232dd021d03965d/lib/appium_lib/ios/element/textfield.rb#L83) ios
|
2383
2383
|
|
2384
2384
|
> def _textfield_exact_string(value)
|
2385
2385
|
|
@@ -2387,7 +2387,7 @@ Appium
|
|
2387
2387
|
|
2388
2388
|
--
|
2389
2389
|
|
2390
|
-
##### [_textfield_contains_string](https://github.com/appium/ruby_lib/blob/
|
2390
|
+
##### [_textfield_contains_string](https://github.com/appium/ruby_lib/blob/0628c614e6620c606265883a8232dd021d03965d/lib/appium_lib/ios/element/textfield.rb#L90) ios
|
2391
2391
|
|
2392
2392
|
> def _textfield_contains_string(value)
|
2393
2393
|
|
@@ -2395,7 +2395,7 @@ Appium
|
|
2395
2395
|
|
2396
2396
|
--
|
2397
2397
|
|
2398
|
-
##### [static_text_class](https://github.com/appium/ruby_lib/blob/
|
2398
|
+
##### [static_text_class](https://github.com/appium/ruby_lib/blob/0628c614e6620c606265883a8232dd021d03965d/lib/appium_lib/ios/xcuitest/element/text.rb#L9) ios
|
2399
2399
|
|
2400
2400
|
> def static_text_class
|
2401
2401
|
|
@@ -2407,7 +2407,7 @@ __Returns:__
|
|
2407
2407
|
|
2408
2408
|
--
|
2409
2409
|
|
2410
|
-
##### [text](https://github.com/appium/ruby_lib/blob/
|
2410
|
+
##### [text](https://github.com/appium/ruby_lib/blob/0628c614e6620c606265883a8232dd021d03965d/lib/appium_lib/ios/xcuitest/element/text.rb#L17) ios
|
2411
2411
|
|
2412
2412
|
> def text(value)
|
2413
2413
|
|
@@ -2424,7 +2424,7 @@ __Returns:__
|
|
2424
2424
|
|
2425
2425
|
--
|
2426
2426
|
|
2427
|
-
##### [texts](https://github.com/appium/ruby_lib/blob/
|
2427
|
+
##### [texts](https://github.com/appium/ruby_lib/blob/0628c614e6620c606265883a8232dd021d03965d/lib/appium_lib/ios/xcuitest/element/text.rb#L26) ios
|
2428
2428
|
|
2429
2429
|
> def texts(value = false)
|
2430
2430
|
|
@@ -2441,7 +2441,7 @@ __Returns:__
|
|
2441
2441
|
|
2442
2442
|
--
|
2443
2443
|
|
2444
|
-
##### [first_text](https://github.com/appium/ruby_lib/blob/
|
2444
|
+
##### [first_text](https://github.com/appium/ruby_lib/blob/0628c614e6620c606265883a8232dd021d03965d/lib/appium_lib/ios/xcuitest/element/text.rb#L34) ios
|
2445
2445
|
|
2446
2446
|
> def first_text
|
2447
2447
|
|
@@ -2453,7 +2453,7 @@ __Returns:__
|
|
2453
2453
|
|
2454
2454
|
--
|
2455
2455
|
|
2456
|
-
##### [last_text](https://github.com/appium/ruby_lib/blob/
|
2456
|
+
##### [last_text](https://github.com/appium/ruby_lib/blob/0628c614e6620c606265883a8232dd021d03965d/lib/appium_lib/ios/xcuitest/element/text.rb#L40) ios
|
2457
2457
|
|
2458
2458
|
> def last_text
|
2459
2459
|
|
@@ -2465,7 +2465,7 @@ __Returns:__
|
|
2465
2465
|
|
2466
2466
|
--
|
2467
2467
|
|
2468
|
-
##### [text_exact](https://github.com/appium/ruby_lib/blob/
|
2468
|
+
##### [text_exact](https://github.com/appium/ruby_lib/blob/0628c614e6620c606265883a8232dd021d03965d/lib/appium_lib/ios/xcuitest/element/text.rb#L47) ios
|
2469
2469
|
|
2470
2470
|
> def text_exact(value)
|
2471
2471
|
|
@@ -2481,7 +2481,7 @@ __Returns:__
|
|
2481
2481
|
|
2482
2482
|
--
|
2483
2483
|
|
2484
|
-
##### [texts_exact](https://github.com/appium/ruby_lib/blob/
|
2484
|
+
##### [texts_exact](https://github.com/appium/ruby_lib/blob/0628c614e6620c606265883a8232dd021d03965d/lib/appium_lib/ios/xcuitest/element/text.rb#L54) ios
|
2485
2485
|
|
2486
2486
|
> def texts_exact(value)
|
2487
2487
|
|
@@ -2497,7 +2497,7 @@ __Returns:__
|
|
2497
2497
|
|
2498
2498
|
--
|
2499
2499
|
|
2500
|
-
##### [xcuitest_source](https://github.com/appium/ruby_lib/blob/
|
2500
|
+
##### [xcuitest_source](https://github.com/appium/ruby_lib/blob/0628c614e6620c606265883a8232dd021d03965d/lib/appium_lib/ios/xcuitest/command/source.rb#L11) ios
|
2501
2501
|
|
2502
2502
|
> def xcuitest_source(format: :xml)
|
2503
2503
|
|
@@ -2511,7 +2511,7 @@ __Parameters:__
|
|
2511
2511
|
|
2512
2512
|
--
|
2513
2513
|
|
2514
|
-
##### [button_class](https://github.com/appium/ruby_lib/blob/
|
2514
|
+
##### [button_class](https://github.com/appium/ruby_lib/blob/0628c614e6620c606265883a8232dd021d03965d/lib/appium_lib/ios/xcuitest/element/button.rb#L9) ios
|
2515
2515
|
|
2516
2516
|
> def button_class
|
2517
2517
|
|
@@ -2523,7 +2523,7 @@ __Returns:__
|
|
2523
2523
|
|
2524
2524
|
--
|
2525
2525
|
|
2526
|
-
##### [button](https://github.com/appium/ruby_lib/blob/
|
2526
|
+
##### [button](https://github.com/appium/ruby_lib/blob/0628c614e6620c606265883a8232dd021d03965d/lib/appium_lib/ios/xcuitest/element/button.rb#L17) ios
|
2527
2527
|
|
2528
2528
|
> def button(value)
|
2529
2529
|
|
@@ -2540,7 +2540,7 @@ __Returns:__
|
|
2540
2540
|
|
2541
2541
|
--
|
2542
2542
|
|
2543
|
-
##### [buttons](https://github.com/appium/ruby_lib/blob/
|
2543
|
+
##### [buttons](https://github.com/appium/ruby_lib/blob/0628c614e6620c606265883a8232dd021d03965d/lib/appium_lib/ios/xcuitest/element/button.rb#L27) ios
|
2544
2544
|
|
2545
2545
|
> def buttons(value = false)
|
2546
2546
|
|
@@ -2557,7 +2557,7 @@ __Returns:__
|
|
2557
2557
|
|
2558
2558
|
--
|
2559
2559
|
|
2560
|
-
##### [first_button](https://github.com/appium/ruby_lib/blob/
|
2560
|
+
##### [first_button](https://github.com/appium/ruby_lib/blob/0628c614e6620c606265883a8232dd021d03965d/lib/appium_lib/ios/xcuitest/element/button.rb#L35) ios
|
2561
2561
|
|
2562
2562
|
> def first_button
|
2563
2563
|
|
@@ -2569,7 +2569,7 @@ __Returns:__
|
|
2569
2569
|
|
2570
2570
|
--
|
2571
2571
|
|
2572
|
-
##### [last_button](https://github.com/appium/ruby_lib/blob/
|
2572
|
+
##### [last_button](https://github.com/appium/ruby_lib/blob/0628c614e6620c606265883a8232dd021d03965d/lib/appium_lib/ios/xcuitest/element/button.rb#L43) ios
|
2573
2573
|
|
2574
2574
|
> def last_button
|
2575
2575
|
|
@@ -2583,7 +2583,7 @@ __Returns:__
|
|
2583
2583
|
|
2584
2584
|
--
|
2585
2585
|
|
2586
|
-
##### [button_exact](https://github.com/appium/ruby_lib/blob/
|
2586
|
+
##### [button_exact](https://github.com/appium/ruby_lib/blob/0628c614e6620c606265883a8232dd021d03965d/lib/appium_lib/ios/xcuitest/element/button.rb#L50) ios
|
2587
2587
|
|
2588
2588
|
> def button_exact(value)
|
2589
2589
|
|
@@ -2599,7 +2599,7 @@ __Returns:__
|
|
2599
2599
|
|
2600
2600
|
--
|
2601
2601
|
|
2602
|
-
##### [buttons_exact](https://github.com/appium/ruby_lib/blob/
|
2602
|
+
##### [buttons_exact](https://github.com/appium/ruby_lib/blob/0628c614e6620c606265883a8232dd021d03965d/lib/appium_lib/ios/xcuitest/element/button.rb#L57) ios
|
2603
2603
|
|
2604
2604
|
> def buttons_exact(value)
|
2605
2605
|
|
@@ -2615,7 +2615,7 @@ __Returns:__
|
|
2615
2615
|
|
2616
2616
|
--
|
2617
2617
|
|
2618
|
-
##### [find](https://github.com/appium/ruby_lib/blob/
|
2618
|
+
##### [find](https://github.com/appium/ruby_lib/blob/0628c614e6620c606265883a8232dd021d03965d/lib/appium_lib/ios/xcuitest/element/generic.rb#L8) ios
|
2619
2619
|
|
2620
2620
|
> def find(value)
|
2621
2621
|
|
@@ -2631,7 +2631,7 @@ __Returns:__
|
|
2631
2631
|
|
2632
2632
|
--
|
2633
2633
|
|
2634
|
-
##### [finds](https://github.com/appium/ruby_lib/blob/
|
2634
|
+
##### [finds](https://github.com/appium/ruby_lib/blob/0628c614e6620c606265883a8232dd021d03965d/lib/appium_lib/ios/xcuitest/element/generic.rb#L15) ios
|
2635
2635
|
|
2636
2636
|
> def finds(value)
|
2637
2637
|
|
@@ -2647,7 +2647,7 @@ __Returns:__
|
|
2647
2647
|
|
2648
2648
|
--
|
2649
2649
|
|
2650
|
-
##### [find_exact](https://github.com/appium/ruby_lib/blob/
|
2650
|
+
##### [find_exact](https://github.com/appium/ruby_lib/blob/0628c614e6620c606265883a8232dd021d03965d/lib/appium_lib/ios/xcuitest/element/generic.rb#L23) ios
|
2651
2651
|
|
2652
2652
|
> def find_exact(value)
|
2653
2653
|
|
@@ -2663,7 +2663,7 @@ __Returns:__
|
|
2663
2663
|
|
2664
2664
|
--
|
2665
2665
|
|
2666
|
-
##### [finds_exact](https://github.com/appium/ruby_lib/blob/
|
2666
|
+
##### [finds_exact](https://github.com/appium/ruby_lib/blob/0628c614e6620c606265883a8232dd021d03965d/lib/appium_lib/ios/xcuitest/element/generic.rb#L30) ios
|
2667
2667
|
|
2668
2668
|
> def finds_exact(value)
|
2669
2669
|
|
@@ -2679,7 +2679,7 @@ __Returns:__
|
|
2679
2679
|
|
2680
2680
|
--
|
2681
2681
|
|
2682
|
-
##### [raise_error_if_no_element](https://github.com/appium/ruby_lib/blob/
|
2682
|
+
##### [raise_error_if_no_element](https://github.com/appium/ruby_lib/blob/0628c614e6620c606265883a8232dd021d03965d/lib/appium_lib/ios/xcuitest/element/generic.rb#L37) ios
|
2683
2683
|
|
2684
2684
|
> def raise_error_if_no_element(element)
|
2685
2685
|
|
@@ -2687,7 +2687,7 @@ __Returns:__
|
|
2687
2687
|
|
2688
2688
|
--
|
2689
2689
|
|
2690
|
-
##### [select_visible_elements](https://github.com/appium/ruby_lib/blob/
|
2690
|
+
##### [select_visible_elements](https://github.com/appium/ruby_lib/blob/0628c614e6620c606265883a8232dd021d03965d/lib/appium_lib/ios/xcuitest/element/generic.rb#L44) ios
|
2691
2691
|
|
2692
2692
|
> def select_visible_elements(elements)
|
2693
2693
|
|
@@ -2695,7 +2695,7 @@ Return visible elements.
|
|
2695
2695
|
|
2696
2696
|
--
|
2697
2697
|
|
2698
|
-
##### [swipe](https://github.com/appium/ruby_lib/blob/
|
2698
|
+
##### [swipe](https://github.com/appium/ruby_lib/blob/0628c614e6620c606265883a8232dd021d03965d/lib/appium_lib/ios/xcuitest/command/gestures.rb#L11) ios
|
2699
2699
|
|
2700
2700
|
> def swipe(direction:, element: nil)
|
2701
2701
|
|
@@ -2709,7 +2709,7 @@ __Parameters:__
|
|
2709
2709
|
|
2710
2710
|
--
|
2711
2711
|
|
2712
|
-
##### [scroll](https://github.com/appium/ruby_lib/blob/
|
2712
|
+
##### [scroll](https://github.com/appium/ruby_lib/blob/0628c614e6620c606265883a8232dd021d03965d/lib/appium_lib/ios/xcuitest/command/gestures.rb#L29) ios
|
2713
2713
|
|
2714
2714
|
> def scroll(direction:, name: nil, element: nil, to_visible: nil, predicate_string: nil)
|
2715
2715
|
|
@@ -2723,7 +2723,7 @@ __Parameters:__
|
|
2723
2723
|
|
2724
2724
|
--
|
2725
2725
|
|
2726
|
-
##### [pinch](https://github.com/appium/ruby_lib/blob/
|
2726
|
+
##### [pinch](https://github.com/appium/ruby_lib/blob/0628c614e6620c606265883a8232dd021d03965d/lib/appium_lib/ios/xcuitest/command/gestures.rb#L48) ios
|
2727
2727
|
|
2728
2728
|
> def pinch(scale:, velocity: 1.0, element: nil)
|
2729
2729
|
|
@@ -2739,7 +2739,7 @@ __Parameters:__
|
|
2739
2739
|
|
2740
2740
|
--
|
2741
2741
|
|
2742
|
-
##### [double_tap](https://github.com/appium/ruby_lib/blob/
|
2742
|
+
##### [double_tap](https://github.com/appium/ruby_lib/blob/0628c614e6620c606265883a8232dd021d03965d/lib/appium_lib/ios/xcuitest/command/gestures.rb#L63) ios
|
2743
2743
|
|
2744
2744
|
> def double_tap(x: nil, y: nil, element: nil)
|
2745
2745
|
|
@@ -2755,7 +2755,7 @@ __Parameters:__
|
|
2755
2755
|
|
2756
2756
|
--
|
2757
2757
|
|
2758
|
-
##### [touch_and_hold](https://github.com/appium/ruby_lib/blob/
|
2758
|
+
##### [touch_and_hold](https://github.com/appium/ruby_lib/blob/0628c614e6620c606265883a8232dd021d03965d/lib/appium_lib/ios/xcuitest/command/gestures.rb#L80) ios
|
2759
2759
|
|
2760
2760
|
> def touch_and_hold(x: nil, y: nil, element: nil, duration: 1.0)
|
2761
2761
|
|
@@ -2773,7 +2773,7 @@ __Parameters:__
|
|
2773
2773
|
|
2774
2774
|
--
|
2775
2775
|
|
2776
|
-
##### [two_finger_tap](https://github.com/appium/ruby_lib/blob/
|
2776
|
+
##### [two_finger_tap](https://github.com/appium/ruby_lib/blob/0628c614e6620c606265883a8232dd021d03965d/lib/appium_lib/ios/xcuitest/command/gestures.rb#L93) ios
|
2777
2777
|
|
2778
2778
|
> def two_finger_tap(element:)
|
2779
2779
|
|
@@ -2789,7 +2789,7 @@ two_finger_tap element: find_element(:accessibility_id, "some item")
|
|
2789
2789
|
|
2790
2790
|
--
|
2791
2791
|
|
2792
|
-
##### [tap](https://github.com/appium/ruby_lib/blob/
|
2792
|
+
##### [tap](https://github.com/appium/ruby_lib/blob/0628c614e6620c606265883a8232dd021d03965d/lib/appium_lib/ios/xcuitest/command/gestures.rb#L108) ios
|
2793
2793
|
|
2794
2794
|
> def tap(x:, y:, element: nil)
|
2795
2795
|
|
@@ -2805,7 +2805,7 @@ __Parameters:__
|
|
2805
2805
|
|
2806
2806
|
--
|
2807
2807
|
|
2808
|
-
##### [drag_from_to_for_duration](https://github.com/appium/ruby_lib/blob/
|
2808
|
+
##### [drag_from_to_for_duration](https://github.com/appium/ruby_lib/blob/0628c614e6620c606265883a8232dd021d03965d/lib/appium_lib/ios/xcuitest/command/gestures.rb#L128) ios
|
2809
2809
|
|
2810
2810
|
> def drag_from_to_for_duration(from_x:, from_y:, to_x:, to_y:, duration: 1.0, element: nil)
|
2811
2811
|
|
@@ -2828,7 +2828,7 @@ drag point should be before to start dragging. Mandatory parameter
|
|
2828
2828
|
|
2829
2829
|
--
|
2830
2830
|
|
2831
|
-
##### [select_picker_wheel](https://github.com/appium/ruby_lib/blob/
|
2831
|
+
##### [select_picker_wheel](https://github.com/appium/ruby_lib/blob/0628c614e6620c606265883a8232dd021d03965d/lib/appium_lib/ios/xcuitest/command/gestures.rb#L145) ios
|
2832
2832
|
|
2833
2833
|
> def select_picker_wheel(element:, order:, offset: nil)
|
2834
2834
|
|
@@ -2845,7 +2845,7 @@ __Parameters:__
|
|
2845
2845
|
|
2846
2846
|
--
|
2847
2847
|
|
2848
|
-
##### [alert](https://github.com/appium/ruby_lib/blob/
|
2848
|
+
##### [alert](https://github.com/appium/ruby_lib/blob/0628c614e6620c606265883a8232dd021d03965d/lib/appium_lib/ios/xcuitest/command/gestures.rb#L163) ios
|
2849
2849
|
|
2850
2850
|
> def alert(action:, button_label: nil)
|
2851
2851
|
|
@@ -2860,7 +2860,7 @@ This is an optional parameter and is only valid in combination with accept and d
|
|
2860
2860
|
|
2861
2861
|
--
|
2862
2862
|
|
2863
|
-
##### [text_field_class](https://github.com/appium/ruby_lib/blob/
|
2863
|
+
##### [text_field_class](https://github.com/appium/ruby_lib/blob/0628c614e6620c606265883a8232dd021d03965d/lib/appium_lib/ios/xcuitest/element/textfield.rb#L9) ios
|
2864
2864
|
|
2865
2865
|
> def text_field_class
|
2866
2866
|
|
@@ -2872,7 +2872,7 @@ __Returns:__
|
|
2872
2872
|
|
2873
2873
|
--
|
2874
2874
|
|
2875
|
-
##### [secure_text_field_class](https://github.com/appium/ruby_lib/blob/
|
2875
|
+
##### [secure_text_field_class](https://github.com/appium/ruby_lib/blob/0628c614e6620c606265883a8232dd021d03965d/lib/appium_lib/ios/xcuitest/element/textfield.rb#L14) ios
|
2876
2876
|
|
2877
2877
|
> def secure_text_field_class
|
2878
2878
|
|
@@ -2884,7 +2884,7 @@ __Returns:__
|
|
2884
2884
|
|
2885
2885
|
--
|
2886
2886
|
|
2887
|
-
##### [textfield](https://github.com/appium/ruby_lib/blob/
|
2887
|
+
##### [textfield](https://github.com/appium/ruby_lib/blob/0628c614e6620c606265883a8232dd021d03965d/lib/appium_lib/ios/xcuitest/element/textfield.rb#L23) ios
|
2888
2888
|
|
2889
2889
|
> def textfield(value)
|
2890
2890
|
|
@@ -2902,7 +2902,7 @@ __Returns:__
|
|
2902
2902
|
|
2903
2903
|
--
|
2904
2904
|
|
2905
|
-
##### [textfields](https://github.com/appium/ruby_lib/blob/
|
2905
|
+
##### [textfields](https://github.com/appium/ruby_lib/blob/0628c614e6620c606265883a8232dd021d03965d/lib/appium_lib/ios/xcuitest/element/textfield.rb#L41) ios
|
2906
2906
|
|
2907
2907
|
> def textfields(value = false)
|
2908
2908
|
|
@@ -2919,7 +2919,7 @@ __Returns:__
|
|
2919
2919
|
|
2920
2920
|
--
|
2921
2921
|
|
2922
|
-
##### [first_textfield](https://github.com/appium/ruby_lib/blob/
|
2922
|
+
##### [first_textfield](https://github.com/appium/ruby_lib/blob/0628c614e6620c606265883a8232dd021d03965d/lib/appium_lib/ios/xcuitest/element/textfield.rb#L50) ios
|
2923
2923
|
|
2924
2924
|
> def first_textfield
|
2925
2925
|
|
@@ -2931,7 +2931,7 @@ __Returns:__
|
|
2931
2931
|
|
2932
2932
|
--
|
2933
2933
|
|
2934
|
-
##### [last_textfield](https://github.com/appium/ruby_lib/blob/
|
2934
|
+
##### [last_textfield](https://github.com/appium/ruby_lib/blob/0628c614e6620c606265883a8232dd021d03965d/lib/appium_lib/ios/xcuitest/element/textfield.rb#L56) ios
|
2935
2935
|
|
2936
2936
|
> def last_textfield
|
2937
2937
|
|
@@ -2943,7 +2943,7 @@ __Returns:__
|
|
2943
2943
|
|
2944
2944
|
--
|
2945
2945
|
|
2946
|
-
##### [textfield_exact](https://github.com/appium/ruby_lib/blob/
|
2946
|
+
##### [textfield_exact](https://github.com/appium/ruby_lib/blob/0628c614e6620c606265883a8232dd021d03965d/lib/appium_lib/ios/xcuitest/element/textfield.rb#L65) ios
|
2947
2947
|
|
2948
2948
|
> def textfield_exact(value)
|
2949
2949
|
|
@@ -2959,7 +2959,7 @@ __Returns:__
|
|
2959
2959
|
|
2960
2960
|
--
|
2961
2961
|
|
2962
|
-
##### [textfields_exact](https://github.com/appium/ruby_lib/blob/
|
2962
|
+
##### [textfields_exact](https://github.com/appium/ruby_lib/blob/0628c614e6620c606265883a8232dd021d03965d/lib/appium_lib/ios/xcuitest/element/textfield.rb#L72) ios
|
2963
2963
|
|
2964
2964
|
> def textfields_exact(value)
|
2965
2965
|
|
@@ -2975,7 +2975,7 @@ __Returns:__
|
|
2975
2975
|
|
2976
2976
|
--
|
2977
2977
|
|
2978
|
-
##### [set_pasteboard](https://github.com/appium/ruby_lib/blob/
|
2978
|
+
##### [set_pasteboard](https://github.com/appium/ruby_lib/blob/0628c614e6620c606265883a8232dd021d03965d/lib/appium_lib/ios/xcuitest/command/pasteboard.rb#L12) ios
|
2979
2979
|
|
2980
2980
|
> def set_pasteboard(content:, encoding: nil)
|
2981
2981
|
|
@@ -2990,7 +2990,7 @@ The parameter is mandatory
|
|
2990
2990
|
|
2991
2991
|
--
|
2992
2992
|
|
2993
|
-
##### [get_pasteboard](https://github.com/appium/ruby_lib/blob/
|
2993
|
+
##### [get_pasteboard](https://github.com/appium/ruby_lib/blob/0628c614e6620c606265883a8232dd021d03965d/lib/appium_lib/ios/xcuitest/command/pasteboard.rb#L24) ios
|
2994
2994
|
|
2995
2995
|
> def get_pasteboard(encoding: nil)
|
2996
2996
|
|