appium_lib 9.4.0 → 9.4.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +10 -0
- data/docs/android_docs.md +288 -232
- data/docs/ios_docs.md +269 -257
- data/lib/appium_lib/android/element/button.rb +82 -16
- data/lib/appium_lib/android/helper.rb +66 -8
- data/lib/appium_lib/common/version.rb +2 -2
- data/lib/appium_lib/driver.rb +6 -0
- data/release_notes.md +8 -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/43a8f19bee4df0e37ba87663728f665829f26e27/lib/appium_lib/driver.rb#L76)
|
2
2
|
|
3
3
|
> def self.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/43a8f19bee4df0e37ba87663728f665829f26e27/lib/appium_lib/driver.rb#L112)
|
31
31
|
|
32
32
|
> def self.load_settings(opts = {})
|
33
33
|
|
@@ -57,7 +57,7 @@ __Returns:__
|
|
57
57
|
|
58
58
|
--
|
59
59
|
|
60
|
-
##### [expand_required_files](https://github.com/appium/ruby_lib/blob/
|
60
|
+
##### [expand_required_files](https://github.com/appium/ruby_lib/blob/43a8f19bee4df0e37ba87663728f665829f26e27/lib/appium_lib/driver.rb#L118)
|
61
61
|
|
62
62
|
> def self.expand_required_files(base_dir, file_paths)
|
63
63
|
|
@@ -75,7 +75,7 @@ __Returns:__
|
|
75
75
|
|
76
76
|
--
|
77
77
|
|
78
|
-
##### [symbolize_keys](https://github.com/appium/ruby_lib/blob/
|
78
|
+
##### [symbolize_keys](https://github.com/appium/ruby_lib/blob/43a8f19bee4df0e37ba87663728f665829f26e27/lib/appium_lib/driver.rb#L150)
|
79
79
|
|
80
80
|
> def self.symbolize_keys(hash)
|
81
81
|
|
@@ -86,7 +86,7 @@ https://github.com/rails/docrails/blob/a3b1105ada3da64acfa3843b164b14b734456a50/
|
|
86
86
|
|
87
87
|
--
|
88
88
|
|
89
|
-
##### [promote_singleton_appium_methods](https://github.com/appium/ruby_lib/blob/
|
89
|
+
##### [promote_singleton_appium_methods](https://github.com/appium/ruby_lib/blob/43a8f19bee4df0e37ba87663728f665829f26e27/lib/appium_lib/driver.rb#L171)
|
90
90
|
|
91
91
|
> def self.promote_singleton_appium_methods(modules)
|
92
92
|
|
@@ -104,7 +104,7 @@ otherwise, the array of modules will be used as the promotion target.
|
|
104
104
|
|
105
105
|
--
|
106
106
|
|
107
|
-
##### [promote_appium_methods](https://github.com/appium/ruby_lib/blob/
|
107
|
+
##### [promote_appium_methods](https://github.com/appium/ruby_lib/blob/43a8f19bee4df0e37ba87663728f665829f26e27/lib/appium_lib/driver.rb#L224)
|
108
108
|
|
109
109
|
> def self.promote_appium_methods(class_array)
|
110
110
|
|
@@ -134,7 +134,7 @@ __Parameters:__
|
|
134
134
|
|
135
135
|
--
|
136
136
|
|
137
|
-
##### [init_caps_for_appium](https://github.com/appium/ruby_lib/blob/
|
137
|
+
##### [init_caps_for_appium](https://github.com/appium/ruby_lib/blob/43a8f19bee4df0e37ba87663728f665829f26e27/lib/appium_lib/driver.rb#L259)
|
138
138
|
|
139
139
|
> def self.init_caps_for_appium(opts_caps = {})
|
140
140
|
|
@@ -153,7 +153,7 @@ __Returns:__
|
|
153
153
|
|
154
154
|
--
|
155
155
|
|
156
|
-
##### [global_webdriver_http_sleep](https://github.com/appium/ruby_lib/blob/
|
156
|
+
##### [global_webdriver_http_sleep](https://github.com/appium/ruby_lib/blob/43a8f19bee4df0e37ba87663728f665829f26e27/lib/appium_lib/driver.rb#L277)
|
157
157
|
|
158
158
|
> def global_webdriver_http_sleep
|
159
159
|
|
@@ -161,7 +161,7 @@ The amount to sleep in seconds before every webdriver http call.
|
|
161
161
|
|
162
162
|
--
|
163
163
|
|
164
|
-
##### [global_webdriver_http_sleep=](https://github.com/appium/ruby_lib/blob/
|
164
|
+
##### [global_webdriver_http_sleep=](https://github.com/appium/ruby_lib/blob/43a8f19bee4df0e37ba87663728f665829f26e27/lib/appium_lib/driver.rb#L277)
|
165
165
|
|
166
166
|
> def global_webdriver_http_sleep=(value)
|
167
167
|
|
@@ -169,7 +169,7 @@ The amount to sleep in seconds before every webdriver http call.
|
|
169
169
|
|
170
170
|
--
|
171
171
|
|
172
|
-
##### [caps](https://github.com/appium/ruby_lib/blob/
|
172
|
+
##### [caps](https://github.com/appium/ruby_lib/blob/43a8f19bee4df0e37ba87663728f665829f26e27/lib/appium_lib/driver.rb#L279)
|
173
173
|
|
174
174
|
> def caps
|
175
175
|
|
@@ -177,7 +177,7 @@ Selenium webdriver capabilities
|
|
177
177
|
|
178
178
|
--
|
179
179
|
|
180
|
-
##### [caps=](https://github.com/appium/ruby_lib/blob/
|
180
|
+
##### [caps=](https://github.com/appium/ruby_lib/blob/43a8f19bee4df0e37ba87663728f665829f26e27/lib/appium_lib/driver.rb#L279)
|
181
181
|
|
182
182
|
> def caps=(value)
|
183
183
|
|
@@ -185,7 +185,7 @@ Selenium webdriver capabilities
|
|
185
185
|
|
186
186
|
--
|
187
187
|
|
188
|
-
##### [custom_url](https://github.com/appium/ruby_lib/blob/
|
188
|
+
##### [custom_url](https://github.com/appium/ruby_lib/blob/43a8f19bee4df0e37ba87663728f665829f26e27/lib/appium_lib/driver.rb#L281)
|
189
189
|
|
190
190
|
> def custom_url
|
191
191
|
|
@@ -193,7 +193,7 @@ Custom URL for the selenium server
|
|
193
193
|
|
194
194
|
--
|
195
195
|
|
196
|
-
##### [custom_url=](https://github.com/appium/ruby_lib/blob/
|
196
|
+
##### [custom_url=](https://github.com/appium/ruby_lib/blob/43a8f19bee4df0e37ba87663728f665829f26e27/lib/appium_lib/driver.rb#L281)
|
197
197
|
|
198
198
|
> def custom_url=(value)
|
199
199
|
|
@@ -201,7 +201,7 @@ Custom URL for the selenium server
|
|
201
201
|
|
202
202
|
--
|
203
203
|
|
204
|
-
##### [export_session](https://github.com/appium/ruby_lib/blob/
|
204
|
+
##### [export_session](https://github.com/appium/ruby_lib/blob/43a8f19bee4df0e37ba87663728f665829f26e27/lib/appium_lib/driver.rb#L283)
|
205
205
|
|
206
206
|
> def export_session
|
207
207
|
|
@@ -209,7 +209,7 @@ Export session id to textfile in /tmp for 3rd party tools
|
|
209
209
|
|
210
210
|
--
|
211
211
|
|
212
|
-
##### [export_session=](https://github.com/appium/ruby_lib/blob/
|
212
|
+
##### [export_session=](https://github.com/appium/ruby_lib/blob/43a8f19bee4df0e37ba87663728f665829f26e27/lib/appium_lib/driver.rb#L283)
|
213
213
|
|
214
214
|
> def export_session=(value)
|
215
215
|
|
@@ -217,7 +217,7 @@ Export session id to textfile in /tmp for 3rd party tools
|
|
217
217
|
|
218
218
|
--
|
219
219
|
|
220
|
-
##### [default_wait](https://github.com/appium/ruby_lib/blob/
|
220
|
+
##### [default_wait](https://github.com/appium/ruby_lib/blob/43a8f19bee4df0e37ba87663728f665829f26e27/lib/appium_lib/driver.rb#L288)
|
221
221
|
|
222
222
|
> def default_wait
|
223
223
|
|
@@ -231,7 +231,7 @@ __Returns:__
|
|
231
231
|
|
232
232
|
--
|
233
233
|
|
234
|
-
##### [sauce_username](https://github.com/appium/ruby_lib/blob/
|
234
|
+
##### [sauce_username](https://github.com/appium/ruby_lib/blob/43a8f19bee4df0e37ba87663728f665829f26e27/lib/appium_lib/driver.rb#L290)
|
235
235
|
|
236
236
|
> def sauce_username
|
237
237
|
|
@@ -239,7 +239,7 @@ Username for use on Sauce Labs. Set `false` to disable Sauce, even when SAUCE_US
|
|
239
239
|
|
240
240
|
--
|
241
241
|
|
242
|
-
##### [sauce_username=](https://github.com/appium/ruby_lib/blob/
|
242
|
+
##### [sauce_username=](https://github.com/appium/ruby_lib/blob/43a8f19bee4df0e37ba87663728f665829f26e27/lib/appium_lib/driver.rb#L290)
|
243
243
|
|
244
244
|
> def sauce_username=(value)
|
245
245
|
|
@@ -247,7 +247,7 @@ Username for use on Sauce Labs. Set `false` to disable Sauce, even when SAUCE_US
|
|
247
247
|
|
248
248
|
--
|
249
249
|
|
250
|
-
##### [sauce_access_key](https://github.com/appium/ruby_lib/blob/
|
250
|
+
##### [sauce_access_key](https://github.com/appium/ruby_lib/blob/43a8f19bee4df0e37ba87663728f665829f26e27/lib/appium_lib/driver.rb#L292)
|
251
251
|
|
252
252
|
> def sauce_access_key
|
253
253
|
|
@@ -255,7 +255,7 @@ Access Key for use on Sauce Labs. Set `false` to disable Sauce, even when SAUCE_
|
|
255
255
|
|
256
256
|
--
|
257
257
|
|
258
|
-
##### [sauce_access_key=](https://github.com/appium/ruby_lib/blob/
|
258
|
+
##### [sauce_access_key=](https://github.com/appium/ruby_lib/blob/43a8f19bee4df0e37ba87663728f665829f26e27/lib/appium_lib/driver.rb#L292)
|
259
259
|
|
260
260
|
> def sauce_access_key=(value)
|
261
261
|
|
@@ -263,7 +263,7 @@ Access Key for use on Sauce Labs. Set `false` to disable Sauce, even when SAUCE_
|
|
263
263
|
|
264
264
|
--
|
265
265
|
|
266
|
-
##### [sauce_endpoint](https://github.com/appium/ruby_lib/blob/
|
266
|
+
##### [sauce_endpoint](https://github.com/appium/ruby_lib/blob/43a8f19bee4df0e37ba87663728f665829f26e27/lib/appium_lib/driver.rb#L294)
|
267
267
|
|
268
268
|
> def sauce_endpoint
|
269
269
|
|
@@ -271,7 +271,7 @@ Override the Sauce Appium endpoint to allow e.g. TestObject tests
|
|
271
271
|
|
272
272
|
--
|
273
273
|
|
274
|
-
##### [sauce_endpoint=](https://github.com/appium/ruby_lib/blob/
|
274
|
+
##### [sauce_endpoint=](https://github.com/appium/ruby_lib/blob/43a8f19bee4df0e37ba87663728f665829f26e27/lib/appium_lib/driver.rb#L294)
|
275
275
|
|
276
276
|
> def sauce_endpoint=(value)
|
277
277
|
|
@@ -279,7 +279,7 @@ Override the Sauce Appium endpoint to allow e.g. TestObject tests
|
|
279
279
|
|
280
280
|
--
|
281
281
|
|
282
|
-
##### [appium_port](https://github.com/appium/ruby_lib/blob/
|
282
|
+
##### [appium_port](https://github.com/appium/ruby_lib/blob/43a8f19bee4df0e37ba87663728f665829f26e27/lib/appium_lib/driver.rb#L296)
|
283
283
|
|
284
284
|
> def appium_port
|
285
285
|
|
@@ -287,7 +287,7 @@ Appium's server port
|
|
287
287
|
|
288
288
|
--
|
289
289
|
|
290
|
-
##### [appium_port=](https://github.com/appium/ruby_lib/blob/
|
290
|
+
##### [appium_port=](https://github.com/appium/ruby_lib/blob/43a8f19bee4df0e37ba87663728f665829f26e27/lib/appium_lib/driver.rb#L296)
|
291
291
|
|
292
292
|
> def appium_port=(value)
|
293
293
|
|
@@ -295,7 +295,7 @@ Appium's server port
|
|
295
295
|
|
296
296
|
--
|
297
297
|
|
298
|
-
##### [appium_device](https://github.com/appium/ruby_lib/blob/
|
298
|
+
##### [appium_device](https://github.com/appium/ruby_lib/blob/43a8f19bee4df0e37ba87663728f665829f26e27/lib/appium_lib/driver.rb#L298)
|
299
299
|
|
300
300
|
> def appium_device
|
301
301
|
|
@@ -303,7 +303,7 @@ Device type to request from the appium server
|
|
303
303
|
|
304
304
|
--
|
305
305
|
|
306
|
-
##### [appium_device=](https://github.com/appium/ruby_lib/blob/
|
306
|
+
##### [appium_device=](https://github.com/appium/ruby_lib/blob/43a8f19bee4df0e37ba87663728f665829f26e27/lib/appium_lib/driver.rb#L298)
|
307
307
|
|
308
308
|
> def appium_device=(value)
|
309
309
|
|
@@ -311,7 +311,7 @@ Device type to request from the appium server
|
|
311
311
|
|
312
312
|
--
|
313
313
|
|
314
|
-
##### [automation_name](https://github.com/appium/ruby_lib/blob/
|
314
|
+
##### [automation_name](https://github.com/appium/ruby_lib/blob/43a8f19bee4df0e37ba87663728f665829f26e27/lib/appium_lib/driver.rb#L301)
|
315
315
|
|
316
316
|
> def automation_name
|
317
317
|
|
@@ -320,7 +320,7 @@ If automation_name is nil, it is not set both client side and server side.
|
|
320
320
|
|
321
321
|
--
|
322
322
|
|
323
|
-
##### [appium_server_status](https://github.com/appium/ruby_lib/blob/
|
323
|
+
##### [appium_server_status](https://github.com/appium/ruby_lib/blob/43a8f19bee4df0e37ba87663728f665829f26e27/lib/appium_lib/driver.rb#L303)
|
324
324
|
|
325
325
|
> def appium_server_status
|
326
326
|
|
@@ -328,7 +328,7 @@ Appium's server version
|
|
328
328
|
|
329
329
|
--
|
330
330
|
|
331
|
-
##### [appium_debug](https://github.com/appium/ruby_lib/blob/
|
331
|
+
##### [appium_debug](https://github.com/appium/ruby_lib/blob/43a8f19bee4df0e37ba87663728f665829f26e27/lib/appium_lib/driver.rb#L305)
|
332
332
|
|
333
333
|
> def appium_debug
|
334
334
|
|
@@ -336,7 +336,7 @@ Boolean debug mode for the Appium Ruby bindings
|
|
336
336
|
|
337
337
|
--
|
338
338
|
|
339
|
-
##### [appium_debug=](https://github.com/appium/ruby_lib/blob/
|
339
|
+
##### [appium_debug=](https://github.com/appium/ruby_lib/blob/43a8f19bee4df0e37ba87663728f665829f26e27/lib/appium_lib/driver.rb#L305)
|
340
340
|
|
341
341
|
> def appium_debug=(value)
|
342
342
|
|
@@ -344,7 +344,7 @@ Boolean debug mode for the Appium Ruby bindings
|
|
344
344
|
|
345
345
|
--
|
346
346
|
|
347
|
-
##### [listener](https://github.com/appium/ruby_lib/blob/
|
347
|
+
##### [listener](https://github.com/appium/ruby_lib/blob/43a8f19bee4df0e37ba87663728f665829f26e27/lib/appium_lib/driver.rb#L307)
|
348
348
|
|
349
349
|
> def listener
|
350
350
|
|
@@ -352,7 +352,7 @@ instance of AbstractEventListener for logging support
|
|
352
352
|
|
353
353
|
--
|
354
354
|
|
355
|
-
##### [listener=](https://github.com/appium/ruby_lib/blob/
|
355
|
+
##### [listener=](https://github.com/appium/ruby_lib/blob/43a8f19bee4df0e37ba87663728f665829f26e27/lib/appium_lib/driver.rb#L307)
|
356
356
|
|
357
357
|
> def listener=(value)
|
358
358
|
|
@@ -360,7 +360,7 @@ instance of AbstractEventListener for logging support
|
|
360
360
|
|
361
361
|
--
|
362
362
|
|
363
|
-
##### [driver](https://github.com/appium/ruby_lib/blob/
|
363
|
+
##### [driver](https://github.com/appium/ruby_lib/blob/43a8f19bee4df0e37ba87663728f665829f26e27/lib/appium_lib/driver.rb#L310)
|
364
364
|
|
365
365
|
> def driver
|
366
366
|
|
@@ -372,7 +372,7 @@ __Returns:__
|
|
372
372
|
|
373
373
|
--
|
374
374
|
|
375
|
-
##### [http_client](https://github.com/appium/ruby_lib/blob/
|
375
|
+
##### [http_client](https://github.com/appium/ruby_lib/blob/43a8f19bee4df0e37ba87663728f665829f26e27/lib/appium_lib/driver.rb#L313)
|
376
376
|
|
377
377
|
> def http_client
|
378
378
|
|
@@ -384,7 +384,7 @@ __Returns:__
|
|
384
384
|
|
385
385
|
--
|
386
386
|
|
387
|
-
##### [appium_wait_timeout](https://github.com/appium/ruby_lib/blob/
|
387
|
+
##### [appium_wait_timeout](https://github.com/appium/ruby_lib/blob/43a8f19bee4df0e37ba87663728f665829f26e27/lib/appium_lib/driver.rb#L318)
|
388
388
|
|
389
389
|
> def appium_wait_timeout
|
390
390
|
|
@@ -398,7 +398,7 @@ __Returns:__
|
|
398
398
|
|
399
399
|
--
|
400
400
|
|
401
|
-
##### [appium_wait_interval](https://github.com/appium/ruby_lib/blob/
|
401
|
+
##### [appium_wait_interval](https://github.com/appium/ruby_lib/blob/43a8f19bee4df0e37ba87663728f665829f26e27/lib/appium_lib/driver.rb#L323)
|
402
402
|
|
403
403
|
> def appium_wait_interval
|
404
404
|
|
@@ -412,7 +412,7 @@ __Returns:__
|
|
412
412
|
|
413
413
|
--
|
414
414
|
|
415
|
-
##### [initialize](https://github.com/appium/ruby_lib/blob/
|
415
|
+
##### [initialize](https://github.com/appium/ruby_lib/blob/43a8f19bee4df0e37ba87663728f665829f26e27/lib/appium_lib/driver.rb#L363)
|
416
416
|
|
417
417
|
> def initialize(opts = {})
|
418
418
|
|
@@ -428,7 +428,7 @@ __Returns:__
|
|
428
428
|
|
429
429
|
--
|
430
430
|
|
431
|
-
##### [driver_attributes](https://github.com/appium/ruby_lib/blob/
|
431
|
+
##### [driver_attributes](https://github.com/appium/ruby_lib/blob/43a8f19bee4df0e37ba87663728f665829f26e27/lib/appium_lib/driver.rb#L442)
|
432
432
|
|
433
433
|
> def driver_attributes
|
434
434
|
|
@@ -436,7 +436,7 @@ Returns a hash of the driver attributes
|
|
436
436
|
|
437
437
|
--
|
438
438
|
|
439
|
-
##### [device_is_android?](https://github.com/appium/ruby_lib/blob/
|
439
|
+
##### [device_is_android?](https://github.com/appium/ruby_lib/blob/43a8f19bee4df0e37ba87663728f665829f26e27/lib/appium_lib/driver.rb#L467)
|
440
440
|
|
441
441
|
> def device_is_android?
|
442
442
|
|
@@ -448,7 +448,7 @@ __Returns:__
|
|
448
448
|
|
449
449
|
--
|
450
450
|
|
451
|
-
##### [automation_name_is_xcuitest?](https://github.com/appium/ruby_lib/blob/
|
451
|
+
##### [automation_name_is_xcuitest?](https://github.com/appium/ruby_lib/blob/43a8f19bee4df0e37ba87663728f665829f26e27/lib/appium_lib/driver.rb#L473)
|
452
452
|
|
453
453
|
> def automation_name_is_xcuitest?
|
454
454
|
|
@@ -460,7 +460,19 @@ __Returns:__
|
|
460
460
|
|
461
461
|
--
|
462
462
|
|
463
|
-
##### [
|
463
|
+
##### [automation_name_is_uiautomator2?](https://github.com/appium/ruby_lib/blob/43a8f19bee4df0e37ba87663728f665829f26e27/lib/appium_lib/driver.rb#L479)
|
464
|
+
|
465
|
+
> def automation_name_is_uiautomator2?
|
466
|
+
|
467
|
+
Return true if automationName is 'uiautomator2'
|
468
|
+
|
469
|
+
__Returns:__
|
470
|
+
|
471
|
+
[Boolean]
|
472
|
+
|
473
|
+
--
|
474
|
+
|
475
|
+
##### [check_server_version_xcuitest](https://github.com/appium/ruby_lib/blob/43a8f19bee4df0e37ba87663728f665829f26e27/lib/appium_lib/driver.rb#L486)
|
464
476
|
|
465
477
|
> def check_server_version_xcuitest
|
466
478
|
|
@@ -473,7 +485,7 @@ __Returns:__
|
|
473
485
|
|
474
486
|
--
|
475
487
|
|
476
|
-
##### [appium_server_version](https://github.com/appium/ruby_lib/blob/
|
488
|
+
##### [appium_server_version](https://github.com/appium/ruby_lib/blob/43a8f19bee4df0e37ba87663728f665829f26e27/lib/appium_lib/driver.rb#L507)
|
477
489
|
|
478
490
|
> def appium_server_version
|
479
491
|
|
@@ -494,7 +506,7 @@ __Returns:__
|
|
494
506
|
|
495
507
|
--
|
496
508
|
|
497
|
-
##### [appium_client_version](https://github.com/appium/ruby_lib/blob/
|
509
|
+
##### [appium_client_version](https://github.com/appium/ruby_lib/blob/43a8f19bee4df0e37ba87663728f665829f26e27/lib/appium_lib/driver.rb#L524)
|
498
510
|
|
499
511
|
> def appium_client_version
|
500
512
|
|
@@ -512,7 +524,7 @@ __Returns:__
|
|
512
524
|
|
513
525
|
--
|
514
526
|
|
515
|
-
##### [absolute_app_path](https://github.com/appium/ruby_lib/blob/
|
527
|
+
##### [absolute_app_path](https://github.com/appium/ruby_lib/blob/43a8f19bee4df0e37ba87663728f665829f26e27/lib/appium_lib/driver.rb#L536)
|
516
528
|
|
517
529
|
> def self.absolute_app_path(opts)
|
518
530
|
|
@@ -529,7 +541,7 @@ __Returns:__
|
|
529
541
|
|
530
542
|
--
|
531
543
|
|
532
|
-
##### [server_url](https://github.com/appium/ruby_lib/blob/
|
544
|
+
##### [server_url](https://github.com/appium/ruby_lib/blob/43a8f19bee4df0e37ba87663728f665829f26e27/lib/appium_lib/driver.rb#L569)
|
533
545
|
|
534
546
|
> def server_url
|
535
547
|
|
@@ -541,7 +553,7 @@ __Returns:__
|
|
541
553
|
|
542
554
|
--
|
543
555
|
|
544
|
-
##### [restart](https://github.com/appium/ruby_lib/blob/
|
556
|
+
##### [restart](https://github.com/appium/ruby_lib/blob/43a8f19bee4df0e37ba87663728f665829f26e27/lib/appium_lib/driver.rb#L580)
|
545
557
|
|
546
558
|
> def restart
|
547
559
|
|
@@ -553,7 +565,7 @@ __Returns:__
|
|
553
565
|
|
554
566
|
--
|
555
567
|
|
556
|
-
##### [screenshot](https://github.com/appium/ruby_lib/blob/
|
568
|
+
##### [screenshot](https://github.com/appium/ruby_lib/blob/43a8f19bee4df0e37ba87663728f665829f26e27/lib/appium_lib/driver.rb#L591)
|
557
569
|
|
558
570
|
> def screenshot(png_save_path)
|
559
571
|
|
@@ -571,7 +583,7 @@ __Returns:__
|
|
571
583
|
|
572
584
|
--
|
573
585
|
|
574
|
-
##### [driver_quit](https://github.com/appium/ruby_lib/blob/
|
586
|
+
##### [driver_quit](https://github.com/appium/ruby_lib/blob/43a8f19bee4df0e37ba87663728f665829f26e27/lib/appium_lib/driver.rb#L598)
|
575
587
|
|
576
588
|
> def driver_quit
|
577
589
|
|
@@ -583,7 +595,7 @@ __Returns:__
|
|
583
595
|
|
584
596
|
--
|
585
597
|
|
586
|
-
##### [start_driver](https://github.com/appium/ruby_lib/blob/
|
598
|
+
##### [start_driver](https://github.com/appium/ruby_lib/blob/43a8f19bee4df0e37ba87663728f665829f26e27/lib/appium_lib/driver.rb#L608)
|
587
599
|
|
588
600
|
> def start_driver
|
589
601
|
|
@@ -595,7 +607,7 @@ __Returns:__
|
|
595
607
|
|
596
608
|
--
|
597
609
|
|
598
|
-
##### [no_wait](https://github.com/appium/ruby_lib/blob/
|
610
|
+
##### [no_wait](https://github.com/appium/ruby_lib/blob/43a8f19bee4df0e37ba87663728f665829f26e27/lib/appium_lib/driver.rb#L646)
|
599
611
|
|
600
612
|
> def no_wait
|
601
613
|
|
@@ -603,7 +615,7 @@ Set implicit wait to zero.
|
|
603
615
|
|
604
616
|
--
|
605
617
|
|
606
|
-
##### [set_wait](https://github.com/appium/ruby_lib/blob/
|
618
|
+
##### [set_wait](https://github.com/appium/ruby_lib/blob/43a8f19bee4df0e37ba87663728f665829f26e27/lib/appium_lib/driver.rb#L660)
|
607
619
|
|
608
620
|
> def set_wait(timeout = nil)
|
609
621
|
|
@@ -625,7 +637,7 @@ __Returns:__
|
|
625
637
|
|
626
638
|
--
|
627
639
|
|
628
|
-
##### [exists](https://github.com/appium/ruby_lib/blob/
|
640
|
+
##### [exists](https://github.com/appium/ruby_lib/blob/43a8f19bee4df0e37ba87663728f665829f26e27/lib/appium_lib/driver.rb#L677)
|
629
641
|
|
630
642
|
> def exists(pre_check = 0, post_check = @default_wait)
|
631
643
|
|
@@ -649,7 +661,7 @@ __Returns:__
|
|
649
661
|
|
650
662
|
--
|
651
663
|
|
652
|
-
##### [execute_script](https://github.com/appium/ruby_lib/blob/
|
664
|
+
##### [execute_script](https://github.com/appium/ruby_lib/blob/43a8f19bee4df0e37ba87663728f665829f26e27/lib/appium_lib/driver.rb#L701)
|
653
665
|
|
654
666
|
> def execute_script(script, *args)
|
655
667
|
|
@@ -667,7 +679,7 @@ __Returns:__
|
|
667
679
|
|
668
680
|
--
|
669
681
|
|
670
|
-
##### [find_elements](https://github.com/appium/ruby_lib/blob/
|
682
|
+
##### [find_elements](https://github.com/appium/ruby_lib/blob/43a8f19bee4df0e37ba87663728f665829f26e27/lib/appium_lib/driver.rb#L723)
|
671
683
|
|
672
684
|
> def find_elements(*args)
|
673
685
|
|
@@ -693,7 +705,7 @@ __Returns:__
|
|
693
705
|
|
694
706
|
--
|
695
707
|
|
696
|
-
##### [find_element](https://github.com/appium/ruby_lib/blob/
|
708
|
+
##### [find_element](https://github.com/appium/ruby_lib/blob/43a8f19bee4df0e37ba87663728f665829f26e27/lib/appium_lib/driver.rb#L738)
|
697
709
|
|
698
710
|
> def find_element(*args)
|
699
711
|
|
@@ -714,7 +726,7 @@ __Returns:__
|
|
714
726
|
|
715
727
|
--
|
716
728
|
|
717
|
-
##### [set_location](https://github.com/appium/ruby_lib/blob/
|
729
|
+
##### [set_location](https://github.com/appium/ruby_lib/blob/43a8f19bee4df0e37ba87663728f665829f26e27/lib/appium_lib/driver.rb#L751)
|
718
730
|
|
719
731
|
> def set_location(opts = {})
|
720
732
|
|
@@ -730,7 +742,7 @@ __Returns:__
|
|
730
742
|
|
731
743
|
--
|
732
744
|
|
733
|
-
##### [x](https://github.com/appium/ruby_lib/blob/
|
745
|
+
##### [x](https://github.com/appium/ruby_lib/blob/43a8f19bee4df0e37ba87663728f665829f26e27/lib/appium_lib/driver.rb#L761)
|
734
746
|
|
735
747
|
> def x
|
736
748
|
|
@@ -743,7 +755,7 @@ __Returns:__
|
|
743
755
|
|
744
756
|
--
|
745
757
|
|
746
|
-
##### [set_automation_name_if_nil](https://github.com/appium/ruby_lib/blob/
|
758
|
+
##### [set_automation_name_if_nil](https://github.com/appium/ruby_lib/blob/43a8f19bee4df0e37ba87663728f665829f26e27/lib/appium_lib/driver.rb#L770)
|
747
759
|
|
748
760
|
> def set_automation_name_if_nil
|
749
761
|
|
@@ -752,7 +764,7 @@ Since @automation_name is set only client side before start_driver is called.
|
|
752
764
|
|
753
765
|
--
|
754
766
|
|
755
|
-
##### [logger=](https://github.com/appium/ruby_lib/blob/
|
767
|
+
##### [logger=](https://github.com/appium/ruby_lib/blob/43a8f19bee4df0e37ba87663728f665829f26e27/lib/appium_lib/logger.rb#L13)
|
756
768
|
|
757
769
|
> def logger=(value)
|
758
770
|
|
@@ -764,7 +776,7 @@ __Parameters:__
|
|
764
776
|
|
765
777
|
--
|
766
778
|
|
767
|
-
##### [logger](https://github.com/appium/ruby_lib/blob/
|
779
|
+
##### [logger](https://github.com/appium/ruby_lib/blob/43a8f19bee4df0e37ba87663728f665829f26e27/lib/appium_lib/logger.rb#L17)
|
768
780
|
|
769
781
|
> def logger
|
770
782
|
|
@@ -772,7 +784,7 @@ __Parameters:__
|
|
772
784
|
|
773
785
|
--
|
774
786
|
|
775
|
-
##### [app_strings](https://github.com/appium/ruby_lib/blob/
|
787
|
+
##### [app_strings](https://github.com/appium/ruby_lib/blob/43a8f19bee4df0e37ba87663728f665829f26e27/lib/appium_lib/device/device.rb#L7)
|
776
788
|
|
777
789
|
> def app_strings
|
778
790
|
|
@@ -783,7 +795,7 @@ app_strings #=> "TransitionsTitle"=>"Transitions", "WebTitle"=>"Web"
|
|
783
795
|
|
784
796
|
--
|
785
797
|
|
786
|
-
##### [background_app](https://github.com/appium/ruby_lib/blob/
|
798
|
+
##### [background_app](https://github.com/appium/ruby_lib/blob/43a8f19bee4df0e37ba87663728f665829f26e27/lib/appium_lib/device/device.rb#L13)
|
787
799
|
|
788
800
|
> def background_app
|
789
801
|
|
@@ -792,7 +804,7 @@ This is a blocking application
|
|
792
804
|
|
793
805
|
--
|
794
806
|
|
795
|
-
##### [current_activity](https://github.com/appium/ruby_lib/blob/
|
807
|
+
##### [current_activity](https://github.com/appium/ruby_lib/blob/43a8f19bee4df0e37ba87663728f665829f26e27/lib/appium_lib/device/device.rb#L24)
|
796
808
|
|
797
809
|
> def current_activity
|
798
810
|
|
@@ -800,7 +812,7 @@ This is a blocking application
|
|
800
812
|
|
801
813
|
--
|
802
814
|
|
803
|
-
##### [get_system_bars](https://github.com/appium/ruby_lib/blob/
|
815
|
+
##### [get_system_bars](https://github.com/appium/ruby_lib/blob/43a8f19bee4df0e37ba87663728f665829f26e27/lib/appium_lib/device/device.rb#L26)
|
804
816
|
|
805
817
|
> def get_system_bars
|
806
818
|
|
@@ -815,7 +827,7 @@ __Returns:__
|
|
815
827
|
|
816
828
|
--
|
817
829
|
|
818
|
-
##### [get_display_density](https://github.com/appium/ruby_lib/blob/
|
830
|
+
##### [get_display_density](https://github.com/appium/ruby_lib/blob/43a8f19bee4df0e37ba87663728f665829f26e27/lib/appium_lib/device/device.rb#L34)
|
819
831
|
|
820
832
|
> def get_display_density
|
821
833
|
|
@@ -830,7 +842,7 @@ __Returns:__
|
|
830
842
|
|
831
843
|
--
|
832
844
|
|
833
|
-
##### [is_keyboard_shown](https://github.com/appium/ruby_lib/blob/
|
845
|
+
##### [is_keyboard_shown](https://github.com/appium/ruby_lib/blob/43a8f19bee4df0e37ba87663728f665829f26e27/lib/appium_lib/device/device.rb#L42)
|
834
846
|
|
835
847
|
> def is_keyboard_shown
|
836
848
|
|
@@ -845,7 +857,7 @@ __Returns:__
|
|
845
857
|
|
846
858
|
--
|
847
859
|
|
848
|
-
##### [launch_app](https://github.com/appium/ruby_lib/blob/
|
860
|
+
##### [launch_app](https://github.com/appium/ruby_lib/blob/43a8f19bee4df0e37ba87663728f665829f26e27/lib/appium_lib/device/device.rb#L50)
|
849
861
|
|
850
862
|
> def launch_app
|
851
863
|
|
@@ -853,7 +865,7 @@ Start the simulator and application configured with desired capabilities
|
|
853
865
|
|
854
866
|
--
|
855
867
|
|
856
|
-
##### [reset](https://github.com/appium/ruby_lib/blob/
|
868
|
+
##### [reset](https://github.com/appium/ruby_lib/blob/43a8f19bee4df0e37ba87663728f665829f26e27/lib/appium_lib/device/device.rb#L53)
|
857
869
|
|
858
870
|
> def reset
|
859
871
|
|
@@ -861,7 +873,7 @@ Reset the device, relaunching the application.
|
|
861
873
|
|
862
874
|
--
|
863
875
|
|
864
|
-
##### [shake](https://github.com/appium/ruby_lib/blob/
|
876
|
+
##### [shake](https://github.com/appium/ruby_lib/blob/43a8f19bee4df0e37ba87663728f665829f26e27/lib/appium_lib/device/device.rb#L56)
|
865
877
|
|
866
878
|
> def shake
|
867
879
|
|
@@ -869,7 +881,7 @@ Cause the device to shake
|
|
869
881
|
|
870
882
|
--
|
871
883
|
|
872
|
-
##### [toggle_flight_mode](https://github.com/appium/ruby_lib/blob/
|
884
|
+
##### [toggle_flight_mode](https://github.com/appium/ruby_lib/blob/43a8f19bee4df0e37ba87663728f665829f26e27/lib/appium_lib/device/device.rb#L59)
|
873
885
|
|
874
886
|
> def toggle_flight_mode
|
875
887
|
|
@@ -877,7 +889,7 @@ Toggle flight mode on or off
|
|
877
889
|
|
878
890
|
--
|
879
891
|
|
880
|
-
##### [device_locked?](https://github.com/appium/ruby_lib/blob/
|
892
|
+
##### [device_locked?](https://github.com/appium/ruby_lib/blob/43a8f19bee4df0e37ba87663728f665829f26e27/lib/appium_lib/device/device.rb#L62)
|
881
893
|
|
882
894
|
> def device_locked?
|
883
895
|
|
@@ -885,7 +897,7 @@ Toggle flight mode on or off
|
|
885
897
|
|
886
898
|
--
|
887
899
|
|
888
|
-
##### [hide_keyboard](https://github.com/appium/ruby_lib/blob/
|
900
|
+
##### [hide_keyboard](https://github.com/appium/ruby_lib/blob/43a8f19bee4df0e37ba87663728f665829f26e27/lib/appium_lib/device/device.rb#L64)
|
889
901
|
|
890
902
|
> def hide_keyboard
|
891
903
|
|
@@ -898,7 +910,7 @@ Defaults to 'Done'.
|
|
898
910
|
|
899
911
|
--
|
900
912
|
|
901
|
-
##### [press_keycode](https://github.com/appium/ruby_lib/blob/
|
913
|
+
##### [press_keycode](https://github.com/appium/ruby_lib/blob/43a8f19bee4df0e37ba87663728f665829f26e27/lib/appium_lib/device/device.rb#L73)
|
902
914
|
|
903
915
|
> def press_keycode
|
904
916
|
|
@@ -913,7 +925,7 @@ __Parameters:__
|
|
913
925
|
|
914
926
|
--
|
915
927
|
|
916
|
-
##### [long_press_keycode](https://github.com/appium/ruby_lib/blob/
|
928
|
+
##### [long_press_keycode](https://github.com/appium/ruby_lib/blob/43a8f19bee4df0e37ba87663728f665829f26e27/lib/appium_lib/device/device.rb#L79)
|
917
929
|
|
918
930
|
> def long_press_keycode
|
919
931
|
|
@@ -928,7 +940,7 @@ __Parameters:__
|
|
928
940
|
|
929
941
|
--
|
930
942
|
|
931
|
-
##### [push_file](https://github.com/appium/ruby_lib/blob/
|
943
|
+
##### [push_file](https://github.com/appium/ruby_lib/blob/43a8f19bee4df0e37ba87663728f665829f26e27/lib/appium_lib/device/device.rb#L85)
|
932
944
|
|
933
945
|
> def push_file
|
934
946
|
|
@@ -942,7 +954,7 @@ __Parameters:__
|
|
942
954
|
|
943
955
|
--
|
944
956
|
|
945
|
-
##### [pull_file](https://github.com/appium/ruby_lib/blob/
|
957
|
+
##### [pull_file](https://github.com/appium/ruby_lib/blob/43a8f19bee4df0e37ba87663728f665829f26e27/lib/appium_lib/device/device.rb#L90)
|
946
958
|
|
947
959
|
> def pull_file
|
948
960
|
|
@@ -959,7 +971,7 @@ __Parameters:__
|
|
959
971
|
|
960
972
|
--
|
961
973
|
|
962
|
-
##### [pull_folder](https://github.com/appium/ruby_lib/blob/
|
974
|
+
##### [pull_folder](https://github.com/appium/ruby_lib/blob/43a8f19bee4df0e37ba87663728f665829f26e27/lib/appium_lib/device/device.rb#L100)
|
963
975
|
|
964
976
|
> def pull_folder
|
965
977
|
|
@@ -974,7 +986,7 @@ __Parameters:__
|
|
974
986
|
|
975
987
|
--
|
976
988
|
|
977
|
-
##### [touch_id](https://github.com/appium/ruby_lib/blob/
|
989
|
+
##### [touch_id](https://github.com/appium/ruby_lib/blob/43a8f19bee4df0e37ba87663728f665829f26e27/lib/appium_lib/device/device.rb#L108)
|
978
990
|
|
979
991
|
> def touch_id
|
980
992
|
|
@@ -991,7 +1003,7 @@ Defaults to true.
|
|
991
1003
|
|
992
1004
|
--
|
993
1005
|
|
994
|
-
##### [toggle_touch_id_enrollment](https://github.com/appium/ruby_lib/blob/
|
1006
|
+
##### [toggle_touch_id_enrollment](https://github.com/appium/ruby_lib/blob/43a8f19bee4df0e37ba87663728f665829f26e27/lib/appium_lib/device/device.rb#L117)
|
995
1007
|
|
996
1008
|
> def toggle_touch_id_enrollment
|
997
1009
|
|
@@ -999,7 +1011,7 @@ iOS Simulator only: Toggle touch id enrollment on an iOS Simulator.
|
|
999
1011
|
|
1000
1012
|
--
|
1001
1013
|
|
1002
|
-
##### [end_coverage](https://github.com/appium/ruby_lib/blob/
|
1014
|
+
##### [end_coverage](https://github.com/appium/ruby_lib/blob/43a8f19bee4df0e37ba87663728f665829f26e27/lib/appium_lib/device/device.rb#L120)
|
1003
1015
|
|
1004
1016
|
> def end_coverage
|
1005
1017
|
|
@@ -1013,7 +1025,7 @@ __Parameters:__
|
|
1013
1025
|
|
1014
1026
|
--
|
1015
1027
|
|
1016
|
-
##### [get_settings](https://github.com/appium/ruby_lib/blob/
|
1028
|
+
##### [get_settings](https://github.com/appium/ruby_lib/blob/43a8f19bee4df0e37ba87663728f665829f26e27/lib/appium_lib/device/device.rb#L125)
|
1017
1029
|
|
1018
1030
|
> def get_settings
|
1019
1031
|
|
@@ -1021,7 +1033,7 @@ Get appium Settings for current test session
|
|
1021
1033
|
|
1022
1034
|
--
|
1023
1035
|
|
1024
|
-
##### [update_settings](https://github.com/appium/ruby_lib/blob/
|
1036
|
+
##### [update_settings](https://github.com/appium/ruby_lib/blob/43a8f19bee4df0e37ba87663728f665829f26e27/lib/appium_lib/device/device.rb#L128)
|
1025
1037
|
|
1026
1038
|
> def update_settings
|
1027
1039
|
|
@@ -1033,7 +1045,7 @@ __Parameters:__
|
|
1033
1045
|
|
1034
1046
|
--
|
1035
1047
|
|
1036
|
-
##### [start_activity](https://github.com/appium/ruby_lib/blob/
|
1048
|
+
##### [start_activity](https://github.com/appium/ruby_lib/blob/43a8f19bee4df0e37ba87663728f665829f26e27/lib/appium_lib/device/device.rb#L132)
|
1037
1049
|
|
1038
1050
|
> def start_activity
|
1039
1051
|
|
@@ -1047,7 +1059,7 @@ start_activity app_package: 'io.appium.android.apis',
|
|
1047
1059
|
|
1048
1060
|
--
|
1049
1061
|
|
1050
|
-
##### [get_network_connection](https://github.com/appium/ruby_lib/blob/
|
1062
|
+
##### [get_network_connection](https://github.com/appium/ruby_lib/blob/43a8f19bee4df0e37ba87663728f665829f26e27/lib/appium_lib/device/device.rb#L146)
|
1051
1063
|
|
1052
1064
|
> def get_network_connection
|
1053
1065
|
|
@@ -1056,7 +1068,7 @@ See set_network_connection method for return value
|
|
1056
1068
|
|
1057
1069
|
--
|
1058
1070
|
|
1059
|
-
##### [set_network_connection](https://github.com/appium/ruby_lib/blob/
|
1071
|
+
##### [set_network_connection](https://github.com/appium/ruby_lib/blob/43a8f19bee4df0e37ba87663728f665829f26e27/lib/appium_lib/device/device.rb#L150)
|
1060
1072
|
|
1061
1073
|
> def set_network_connection
|
1062
1074
|
|
@@ -1075,7 +1087,7 @@ __Parameters:__
|
|
1075
1087
|
|
1076
1088
|
--
|
1077
1089
|
|
1078
|
-
##### [set_immediate_value](https://github.com/appium/ruby_lib/blob/
|
1090
|
+
##### [set_immediate_value](https://github.com/appium/ruby_lib/blob/43a8f19bee4df0e37ba87663728f665829f26e27/lib/appium_lib/device/device.rb#L163)
|
1079
1091
|
|
1080
1092
|
> def set_immediate_value
|
1081
1093
|
|
@@ -1089,7 +1101,7 @@ set_immediate_value element, 'hello'
|
|
1089
1101
|
|
1090
1102
|
--
|
1091
1103
|
|
1092
|
-
##### [get_performance_data_types](https://github.com/appium/ruby_lib/blob/
|
1104
|
+
##### [get_performance_data_types](https://github.com/appium/ruby_lib/blob/43a8f19bee4df0e37ba87663728f665829f26e27/lib/appium_lib/device/device.rb#L172)
|
1093
1105
|
|
1094
1106
|
> def get_performance_data_types
|
1095
1107
|
|
@@ -1103,7 +1115,7 @@ get_performance_data_types #=> ["cpuinfo", "batteryinfo", "networkinfo", "memory
|
|
1103
1115
|
|
1104
1116
|
--
|
1105
1117
|
|
1106
|
-
##### [extend_search_contexts](https://github.com/appium/ruby_lib/blob/
|
1118
|
+
##### [extend_search_contexts](https://github.com/appium/ruby_lib/blob/43a8f19bee4df0e37ba87663728f665829f26e27/lib/appium_lib/device/device.rb#L434)
|
1107
1119
|
|
1108
1120
|
> def extend_search_contexts
|
1109
1121
|
|
@@ -1111,7 +1123,7 @@ get_performance_data_types #=> ["cpuinfo", "batteryinfo", "networkinfo", "memory
|
|
1111
1123
|
|
1112
1124
|
--
|
1113
1125
|
|
1114
|
-
##### [find_element_with_appium](https://github.com/appium/ruby_lib/blob/
|
1126
|
+
##### [find_element_with_appium](https://github.com/appium/ruby_lib/blob/43a8f19bee4df0e37ba87663728f665829f26e27/lib/appium_lib/device/device.rb#L434)
|
1115
1127
|
|
1116
1128
|
> def find_element_with_appium
|
1117
1129
|
|
@@ -1119,7 +1131,7 @@ get_performance_data_types #=> ["cpuinfo", "batteryinfo", "networkinfo", "memory
|
|
1119
1131
|
|
1120
1132
|
--
|
1121
1133
|
|
1122
|
-
##### [find_elements_with_appium](https://github.com/appium/ruby_lib/blob/
|
1134
|
+
##### [find_elements_with_appium](https://github.com/appium/ruby_lib/blob/43a8f19bee4df0e37ba87663728f665829f26e27/lib/appium_lib/device/device.rb#L434)
|
1123
1135
|
|
1124
1136
|
> def find_elements_with_appium
|
1125
1137
|
|
@@ -1131,7 +1143,7 @@ find_element/s_with_appium with their accessibility_id
|
|
1131
1143
|
|
1132
1144
|
--
|
1133
1145
|
|
1134
|
-
##### [add_touch_actions](https://github.com/appium/ruby_lib/blob/
|
1146
|
+
##### [add_touch_actions](https://github.com/appium/ruby_lib/blob/43a8f19bee4df0e37ba87663728f665829f26e27/lib/appium_lib/device/device.rb#L465)
|
1135
1147
|
|
1136
1148
|
> def add_touch_actions
|
1137
1149
|
|
@@ -1139,7 +1151,7 @@ find_element/s_with_appium with their accessibility_id
|
|
1139
1151
|
|
1140
1152
|
--
|
1141
1153
|
|
1142
|
-
##### [add_ime_actions](https://github.com/appium/ruby_lib/blob/
|
1154
|
+
##### [add_ime_actions](https://github.com/appium/ruby_lib/blob/43a8f19bee4df0e37ba87663728f665829f26e27/lib/appium_lib/device/device.rb#L488)
|
1143
1155
|
|
1144
1156
|
> def add_ime_actions
|
1145
1157
|
|
@@ -1147,7 +1159,7 @@ find_element/s_with_appium with their accessibility_id
|
|
1147
1159
|
|
1148
1160
|
--
|
1149
1161
|
|
1150
|
-
##### [set_context](https://github.com/appium/ruby_lib/blob/
|
1162
|
+
##### [set_context](https://github.com/appium/ruby_lib/blob/43a8f19bee4df0e37ba87663728f665829f26e27/lib/appium_lib/device/device.rb#L563)
|
1151
1163
|
|
1152
1164
|
> def set_context
|
1153
1165
|
|
@@ -1162,7 +1174,7 @@ __Parameters:__
|
|
1162
1174
|
|
1163
1175
|
--
|
1164
1176
|
|
1165
|
-
##### [current_context](https://github.com/appium/ruby_lib/blob/
|
1177
|
+
##### [current_context](https://github.com/appium/ruby_lib/blob/43a8f19bee4df0e37ba87663728f665829f26e27/lib/appium_lib/device/device.rb#L571)
|
1166
1178
|
|
1167
1179
|
> def current_context
|
1168
1180
|
|
@@ -1174,7 +1186,7 @@ __Returns:__
|
|
1174
1186
|
|
1175
1187
|
--
|
1176
1188
|
|
1177
|
-
##### [available_contexts](https://github.com/appium/ruby_lib/blob/
|
1189
|
+
##### [available_contexts](https://github.com/appium/ruby_lib/blob/43a8f19bee4df0e37ba87663728f665829f26e27/lib/appium_lib/device/device.rb#L574)
|
1178
1190
|
|
1179
1191
|
> def available_contexts
|
1180
1192
|
|
@@ -1186,7 +1198,7 @@ __Returns:__
|
|
1186
1198
|
|
1187
1199
|
--
|
1188
1200
|
|
1189
|
-
##### [within_context](https://github.com/appium/ruby_lib/blob/
|
1201
|
+
##### [within_context](https://github.com/appium/ruby_lib/blob/43a8f19bee4df0e37ba87663728f665829f26e27/lib/appium_lib/device/device.rb#L584)
|
1190
1202
|
|
1191
1203
|
> def within_context(context)
|
1192
1204
|
|
@@ -1202,7 +1214,7 @@ __Parameters:__
|
|
1202
1214
|
|
1203
1215
|
--
|
1204
1216
|
|
1205
|
-
##### [switch_to_default_context](https://github.com/appium/ruby_lib/blob/
|
1217
|
+
##### [switch_to_default_context](https://github.com/appium/ruby_lib/blob/43a8f19bee4df0e37ba87663728f665829f26e27/lib/appium_lib/device/device.rb#L592)
|
1206
1218
|
|
1207
1219
|
> def switch_to_default_context
|
1208
1220
|
|
@@ -1210,7 +1222,7 @@ Change to the default context. This is equivalent to `set_context nil`.
|
|
1210
1222
|
|
1211
1223
|
--
|
1212
1224
|
|
1213
|
-
##### [pinch](https://github.com/appium/ruby_lib/blob/
|
1225
|
+
##### [pinch](https://github.com/appium/ruby_lib/blob/43a8f19bee4df0e37ba87663728f665829f26e27/lib/appium_lib/device/multi_touch.rb#L28)
|
1214
1226
|
|
1215
1227
|
> def pinch(percentage = 25, auto_perform = true)
|
1216
1228
|
|
@@ -1229,7 +1241,7 @@ __Parameters:__
|
|
1229
1241
|
|
1230
1242
|
--
|
1231
1243
|
|
1232
|
-
##### [zoom](https://github.com/appium/ruby_lib/blob/
|
1244
|
+
##### [zoom](https://github.com/appium/ruby_lib/blob/43a8f19bee4df0e37ba87663728f665829f26e27/lib/appium_lib/device/multi_touch.rb#L57)
|
1233
1245
|
|
1234
1246
|
> def zoom(percentage = 200, auto_perform = true)
|
1235
1247
|
|
@@ -1248,7 +1260,7 @@ __Parameters:__
|
|
1248
1260
|
|
1249
1261
|
--
|
1250
1262
|
|
1251
|
-
##### [pinch_for_xcuitest](https://github.com/appium/ruby_lib/blob/
|
1263
|
+
##### [pinch_for_xcuitest](https://github.com/appium/ruby_lib/blob/43a8f19bee4df0e37ba87663728f665829f26e27/lib/appium_lib/device/multi_touch.rb#L79)
|
1252
1264
|
|
1253
1265
|
> def pinch_for_xcuitest(rate)
|
1254
1266
|
|
@@ -1256,7 +1268,7 @@ __Parameters:__
|
|
1256
1268
|
|
1257
1269
|
--
|
1258
1270
|
|
1259
|
-
##### [pinch_android](https://github.com/appium/ruby_lib/blob/
|
1271
|
+
##### [pinch_android](https://github.com/appium/ruby_lib/blob/43a8f19bee4df0e37ba87663728f665829f26e27/lib/appium_lib/device/multi_touch.rb#L94)
|
1260
1272
|
|
1261
1273
|
> def pinch_android(rate)
|
1262
1274
|
|
@@ -1264,7 +1276,7 @@ __Parameters:__
|
|
1264
1276
|
|
1265
1277
|
--
|
1266
1278
|
|
1267
|
-
##### [pinch_ios](https://github.com/appium/ruby_lib/blob/
|
1279
|
+
##### [pinch_ios](https://github.com/appium/ruby_lib/blob/43a8f19bee4df0e37ba87663728f665829f26e27/lib/appium_lib/device/multi_touch.rb#L108)
|
1268
1280
|
|
1269
1281
|
> def pinch_ios(rate)
|
1270
1282
|
|
@@ -1272,7 +1284,7 @@ __Parameters:__
|
|
1272
1284
|
|
1273
1285
|
--
|
1274
1286
|
|
1275
|
-
##### [zoom_for_xcuitest](https://github.com/appium/ruby_lib/blob/
|
1287
|
+
##### [zoom_for_xcuitest](https://github.com/appium/ruby_lib/blob/43a8f19bee4df0e37ba87663728f665829f26e27/lib/appium_lib/device/multi_touch.rb#L122)
|
1276
1288
|
|
1277
1289
|
> def zoom_for_xcuitest(rate)
|
1278
1290
|
|
@@ -1280,7 +1292,7 @@ __Parameters:__
|
|
1280
1292
|
|
1281
1293
|
--
|
1282
1294
|
|
1283
|
-
##### [zoom_android](https://github.com/appium/ruby_lib/blob/
|
1295
|
+
##### [zoom_android](https://github.com/appium/ruby_lib/blob/43a8f19bee4df0e37ba87663728f665829f26e27/lib/appium_lib/device/multi_touch.rb#L137)
|
1284
1296
|
|
1285
1297
|
> def zoom_android(rate)
|
1286
1298
|
|
@@ -1288,7 +1300,7 @@ __Parameters:__
|
|
1288
1300
|
|
1289
1301
|
--
|
1290
1302
|
|
1291
|
-
##### [zoom_ios](https://github.com/appium/ruby_lib/blob/
|
1303
|
+
##### [zoom_ios](https://github.com/appium/ruby_lib/blob/43a8f19bee4df0e37ba87663728f665829f26e27/lib/appium_lib/device/multi_touch.rb#L151)
|
1292
1304
|
|
1293
1305
|
> def zoom_ios(rate)
|
1294
1306
|
|
@@ -1296,7 +1308,7 @@ __Parameters:__
|
|
1296
1308
|
|
1297
1309
|
--
|
1298
1310
|
|
1299
|
-
##### [actions](https://github.com/appium/ruby_lib/blob/
|
1311
|
+
##### [actions](https://github.com/appium/ruby_lib/blob/43a8f19bee4df0e37ba87663728f665829f26e27/lib/appium_lib/device/multi_touch.rb#L166)
|
1300
1312
|
|
1301
1313
|
> def actions
|
1302
1314
|
|
@@ -1304,7 +1316,7 @@ self
|
|
1304
1316
|
|
1305
1317
|
--
|
1306
1318
|
|
1307
|
-
##### [initialize](https://github.com/appium/ruby_lib/blob/
|
1319
|
+
##### [initialize](https://github.com/appium/ruby_lib/blob/43a8f19bee4df0e37ba87663728f665829f26e27/lib/appium_lib/device/multi_touch.rb#L169)
|
1308
1320
|
|
1309
1321
|
> def initialize
|
1310
1322
|
|
@@ -1316,7 +1328,7 @@ __Returns:__
|
|
1316
1328
|
|
1317
1329
|
--
|
1318
1330
|
|
1319
|
-
##### [add](https://github.com/appium/ruby_lib/blob/
|
1331
|
+
##### [add](https://github.com/appium/ruby_lib/blob/43a8f19bee4df0e37ba87663728f665829f26e27/lib/appium_lib/device/multi_touch.rb#L175)
|
1320
1332
|
|
1321
1333
|
> def add(chain)
|
1322
1334
|
|
@@ -1328,7 +1340,7 @@ __Parameters:__
|
|
1328
1340
|
|
1329
1341
|
--
|
1330
1342
|
|
1331
|
-
##### [perform](https://github.com/appium/ruby_lib/blob/
|
1343
|
+
##### [perform](https://github.com/appium/ruby_lib/blob/43a8f19bee4df0e37ba87663728f665829f26e27/lib/appium_lib/device/multi_touch.rb#L180)
|
1332
1344
|
|
1333
1345
|
> def perform
|
1334
1346
|
|
@@ -1336,7 +1348,7 @@ Ask Appium to perform the actions
|
|
1336
1348
|
|
1337
1349
|
--
|
1338
1350
|
|
1339
|
-
##### [ACTIONS](https://github.com/appium/ruby_lib/blob/
|
1351
|
+
##### [ACTIONS](https://github.com/appium/ruby_lib/blob/43a8f19bee4df0e37ba87663728f665829f26e27/lib/appium_lib/device/touch_actions.rb#L20)
|
1340
1352
|
|
1341
1353
|
> ACTIONS = [:move_to, :long_press, :double_tap, :two_finger_tap, :press, :release, :tap, :wait, :perform].freeze
|
1342
1354
|
|
@@ -1344,7 +1356,7 @@ Ask Appium to perform the actions
|
|
1344
1356
|
|
1345
1357
|
--
|
1346
1358
|
|
1347
|
-
##### [COMPLEX_ACTIONS](https://github.com/appium/ruby_lib/blob/
|
1359
|
+
##### [COMPLEX_ACTIONS](https://github.com/appium/ruby_lib/blob/43a8f19bee4df0e37ba87663728f665829f26e27/lib/appium_lib/device/touch_actions.rb#L21)
|
1348
1360
|
|
1349
1361
|
> COMPLEX_ACTIONS = [:swipe].freeze
|
1350
1362
|
|
@@ -1352,7 +1364,7 @@ Ask Appium to perform the actions
|
|
1352
1364
|
|
1353
1365
|
--
|
1354
1366
|
|
1355
|
-
##### [actions](https://github.com/appium/ruby_lib/blob/
|
1367
|
+
##### [actions](https://github.com/appium/ruby_lib/blob/43a8f19bee4df0e37ba87663728f665829f26e27/lib/appium_lib/device/touch_actions.rb#L35)
|
1356
1368
|
|
1357
1369
|
> def actions
|
1358
1370
|
|
@@ -1360,7 +1372,7 @@ Returns the value of attribute actions
|
|
1360
1372
|
|
1361
1373
|
--
|
1362
1374
|
|
1363
|
-
##### [initialize](https://github.com/appium/ruby_lib/blob/
|
1375
|
+
##### [initialize](https://github.com/appium/ruby_lib/blob/43a8f19bee4df0e37ba87663728f665829f26e27/lib/appium_lib/device/touch_actions.rb#L37)
|
1364
1376
|
|
1365
1377
|
> def initialize
|
1366
1378
|
|
@@ -1372,7 +1384,7 @@ __Returns:__
|
|
1372
1384
|
|
1373
1385
|
--
|
1374
1386
|
|
1375
|
-
##### [move_to](https://github.com/appium/ruby_lib/blob/
|
1387
|
+
##### [move_to](https://github.com/appium/ruby_lib/blob/43a8f19bee4df0e37ba87663728f665829f26e27/lib/appium_lib/device/touch_actions.rb#L48)
|
1376
1388
|
|
1377
1389
|
> def move_to(opts)
|
1378
1390
|
|
@@ -1386,7 +1398,7 @@ __Parameters:__
|
|
1386
1398
|
|
1387
1399
|
--
|
1388
1400
|
|
1389
|
-
##### [long_press](https://github.com/appium/ruby_lib/blob/
|
1401
|
+
##### [long_press](https://github.com/appium/ruby_lib/blob/43a8f19bee4df0e37ba87663728f665829f26e27/lib/appium_lib/device/touch_actions.rb#L62)
|
1390
1402
|
|
1391
1403
|
> def long_press(opts)
|
1392
1404
|
|
@@ -1407,7 +1419,7 @@ __Parameters:__
|
|
1407
1419
|
|
1408
1420
|
--
|
1409
1421
|
|
1410
|
-
##### [press](https://github.com/appium/ruby_lib/blob/
|
1422
|
+
##### [press](https://github.com/appium/ruby_lib/blob/43a8f19bee4df0e37ba87663728f665829f26e27/lib/appium_lib/device/touch_actions.rb#L74)
|
1411
1423
|
|
1412
1424
|
> def press(opts)
|
1413
1425
|
|
@@ -1420,7 +1432,7 @@ __Parameters:__
|
|
1420
1432
|
|
1421
1433
|
--
|
1422
1434
|
|
1423
|
-
##### [release](https://github.com/appium/ruby_lib/blob/
|
1435
|
+
##### [release](https://github.com/appium/ruby_lib/blob/43a8f19bee4df0e37ba87663728f665829f26e27/lib/appium_lib/device/touch_actions.rb#L85)
|
1424
1436
|
|
1425
1437
|
> def release(opts = nil)
|
1426
1438
|
|
@@ -1432,7 +1444,7 @@ __Parameters:__
|
|
1432
1444
|
|
1433
1445
|
--
|
1434
1446
|
|
1435
|
-
##### [tap](https://github.com/appium/ruby_lib/blob/
|
1447
|
+
##### [tap](https://github.com/appium/ruby_lib/blob/43a8f19bee4df0e37ba87663728f665829f26e27/lib/appium_lib/device/touch_actions.rb#L97)
|
1436
1448
|
|
1437
1449
|
> def tap(opts)
|
1438
1450
|
|
@@ -1445,7 +1457,7 @@ __Parameters:__
|
|
1445
1457
|
|
1446
1458
|
--
|
1447
1459
|
|
1448
|
-
##### [double_tap](https://github.com/appium/ruby_lib/blob/
|
1460
|
+
##### [double_tap](https://github.com/appium/ruby_lib/blob/43a8f19bee4df0e37ba87663728f665829f26e27/lib/appium_lib/device/touch_actions.rb#L110)
|
1449
1461
|
|
1450
1462
|
> def double_tap(opts)
|
1451
1463
|
|
@@ -1457,7 +1469,7 @@ __Parameters:__
|
|
1457
1469
|
|
1458
1470
|
--
|
1459
1471
|
|
1460
|
-
##### [two_finger_tap](https://github.com/appium/ruby_lib/blob/
|
1472
|
+
##### [two_finger_tap](https://github.com/appium/ruby_lib/blob/43a8f19bee4df0e37ba87663728f665829f26e27/lib/appium_lib/device/touch_actions.rb#L121)
|
1461
1473
|
|
1462
1474
|
> def two_finger_tap(opts)
|
1463
1475
|
|
@@ -1469,7 +1481,7 @@ __Parameters:__
|
|
1469
1481
|
|
1470
1482
|
--
|
1471
1483
|
|
1472
|
-
##### [wait](https://github.com/appium/ruby_lib/blob/
|
1484
|
+
##### [wait](https://github.com/appium/ruby_lib/blob/43a8f19bee4df0e37ba87663728f665829f26e27/lib/appium_lib/device/touch_actions.rb#L129)
|
1473
1485
|
|
1474
1486
|
> def wait(milliseconds)
|
1475
1487
|
|
@@ -1481,7 +1493,7 @@ __Parameters:__
|
|
1481
1493
|
|
1482
1494
|
--
|
1483
1495
|
|
1484
|
-
##### [swipe](https://github.com/appium/ruby_lib/blob/
|
1496
|
+
##### [swipe](https://github.com/appium/ruby_lib/blob/43a8f19bee4df0e37ba87663728f665829f26e27/lib/appium_lib/device/touch_actions.rb#L152)
|
1485
1497
|
|
1486
1498
|
> def swipe(opts, ele = nil)
|
1487
1499
|
|
@@ -1502,7 +1514,7 @@ __Parameters:__
|
|
1502
1514
|
|
1503
1515
|
--
|
1504
1516
|
|
1505
|
-
##### [perform](https://github.com/appium/ruby_lib/blob/
|
1517
|
+
##### [perform](https://github.com/appium/ruby_lib/blob/43a8f19bee4df0e37ba87663728f665829f26e27/lib/appium_lib/device/touch_actions.rb#L177)
|
1506
1518
|
|
1507
1519
|
> def perform
|
1508
1520
|
|
@@ -1510,7 +1522,7 @@ Ask the driver to perform all actions in this action chain.
|
|
1510
1522
|
|
1511
1523
|
--
|
1512
1524
|
|
1513
|
-
##### [cancel](https://github.com/appium/ruby_lib/blob/
|
1525
|
+
##### [cancel](https://github.com/appium/ruby_lib/blob/43a8f19bee4df0e37ba87663728f665829f26e27/lib/appium_lib/device/touch_actions.rb#L184)
|
1514
1526
|
|
1515
1527
|
> def cancel
|
1516
1528
|
|
@@ -1518,7 +1530,7 @@ Does nothing, currently.
|
|
1518
1530
|
|
1519
1531
|
--
|
1520
1532
|
|
1521
|
-
##### [swipe_coordinates](https://github.com/appium/ruby_lib/blob/
|
1533
|
+
##### [swipe_coordinates](https://github.com/appium/ruby_lib/blob/43a8f19bee4df0e37ba87663728f665829f26e27/lib/appium_lib/device/touch_actions.rb#L190)
|
1522
1534
|
|
1523
1535
|
> def swipe_coordinates(end_x: nil, end_y: nil, offset_x: nil, offset_y: nil)
|
1524
1536
|
|
@@ -1526,7 +1538,7 @@ Does nothing, currently.
|
|
1526
1538
|
|
1527
1539
|
--
|
1528
1540
|
|
1529
|
-
##### [chain_method](https://github.com/appium/ruby_lib/blob/
|
1541
|
+
##### [chain_method](https://github.com/appium/ruby_lib/blob/43a8f19bee4df0e37ba87663728f665829f26e27/lib/appium_lib/device/touch_actions.rb#L208)
|
1530
1542
|
|
1531
1543
|
> def chain_method(method, args = nil)
|
1532
1544
|
|
@@ -1534,7 +1546,7 @@ Does nothing, currently.
|
|
1534
1546
|
|
1535
1547
|
--
|
1536
1548
|
|
1537
|
-
##### [args_with_ele_ref](https://github.com/appium/ruby_lib/blob/
|
1549
|
+
##### [args_with_ele_ref](https://github.com/appium/ruby_lib/blob/43a8f19bee4df0e37ba87663728f665829f26e27/lib/appium_lib/device/touch_actions.rb#L214)
|
1538
1550
|
|
1539
1551
|
> def args_with_ele_ref(args)
|
1540
1552
|
|
@@ -1542,7 +1554,7 @@ Does nothing, currently.
|
|
1542
1554
|
|
1543
1555
|
--
|
1544
1556
|
|
1545
|
-
##### [_generic_wait](https://github.com/appium/ruby_lib/blob/
|
1557
|
+
##### [_generic_wait](https://github.com/appium/ruby_lib/blob/43a8f19bee4df0e37ba87663728f665829f26e27/lib/appium_lib/common/wait.rb#L9)
|
1546
1558
|
|
1547
1559
|
> def _generic_wait(opts = {})
|
1548
1560
|
|
@@ -1551,7 +1563,7 @@ https://github.com/SeleniumHQ/selenium/blob/cf501dda3f0ed12233de51ce8170c0e8090f
|
|
1551
1563
|
|
1552
1564
|
--
|
1553
1565
|
|
1554
|
-
##### [_process_wait_opts](https://github.com/appium/ruby_lib/blob/
|
1566
|
+
##### [_process_wait_opts](https://github.com/appium/ruby_lib/blob/43a8f19bee4df0e37ba87663728f665829f26e27/lib/appium_lib/common/wait.rb#L48)
|
1555
1567
|
|
1556
1568
|
> def _process_wait_opts(opts)
|
1557
1569
|
|
@@ -1559,7 +1571,7 @@ process opts before calling _generic_wait
|
|
1559
1571
|
|
1560
1572
|
--
|
1561
1573
|
|
1562
|
-
##### [wait_true](https://github.com/appium/ruby_lib/blob/
|
1574
|
+
##### [wait_true](https://github.com/appium/ruby_lib/blob/43a8f19bee4df0e37ba87663728f665829f26e27/lib/appium_lib/common/wait.rb#L69)
|
1563
1575
|
|
1564
1576
|
> def wait_true(opts = {}, &block)
|
1565
1577
|
|
@@ -1579,7 +1591,7 @@ __Parameters:__
|
|
1579
1591
|
|
1580
1592
|
--
|
1581
1593
|
|
1582
|
-
##### [wait](https://github.com/appium/ruby_lib/blob/
|
1594
|
+
##### [wait](https://github.com/appium/ruby_lib/blob/43a8f19bee4df0e37ba87663728f665829f26e27/lib/appium_lib/common/wait.rb#L87)
|
1583
1595
|
|
1584
1596
|
> def wait(opts = {}, &block)
|
1585
1597
|
|
@@ -1597,7 +1609,7 @@ __Parameters:__
|
|
1597
1609
|
|
1598
1610
|
--
|
1599
1611
|
|
1600
|
-
##### [ignore](https://github.com/appium/ruby_lib/blob/
|
1612
|
+
##### [ignore](https://github.com/appium/ruby_lib/blob/43a8f19bee4df0e37ba87663728f665829f26e27/lib/appium_lib/common/helper.rb#L24)
|
1601
1613
|
|
1602
1614
|
> def ignore
|
1603
1615
|
|
@@ -1605,7 +1617,7 @@ Return yield and ignore any exceptions.
|
|
1605
1617
|
|
1606
1618
|
--
|
1607
1619
|
|
1608
|
-
##### [back](https://github.com/appium/ruby_lib/blob/
|
1620
|
+
##### [back](https://github.com/appium/ruby_lib/blob/43a8f19bee4df0e37ba87663728f665829f26e27/lib/appium_lib/common/helper.rb#L31)
|
1609
1621
|
|
1610
1622
|
> def back
|
1611
1623
|
|
@@ -1617,7 +1629,7 @@ __Returns:__
|
|
1617
1629
|
|
1618
1630
|
--
|
1619
1631
|
|
1620
|
-
##### [session_id](https://github.com/appium/ruby_lib/blob/
|
1632
|
+
##### [session_id](https://github.com/appium/ruby_lib/blob/43a8f19bee4df0e37ba87663728f665829f26e27/lib/appium_lib/common/helper.rb#L36)
|
1621
1633
|
|
1622
1634
|
> def session_id
|
1623
1635
|
|
@@ -1625,7 +1637,7 @@ For Sauce Labs reporting. Returns the current session id.
|
|
1625
1637
|
|
1626
1638
|
--
|
1627
1639
|
|
1628
|
-
##### [xpath](https://github.com/appium/ruby_lib/blob/
|
1640
|
+
##### [xpath](https://github.com/appium/ruby_lib/blob/43a8f19bee4df0e37ba87663728f665829f26e27/lib/appium_lib/common/helper.rb#L44)
|
1629
1641
|
|
1630
1642
|
> def xpath(xpath_str)
|
1631
1643
|
|
@@ -1641,7 +1653,7 @@ __Returns:__
|
|
1641
1653
|
|
1642
1654
|
--
|
1643
1655
|
|
1644
|
-
##### [xpaths](https://github.com/appium/ruby_lib/blob/
|
1656
|
+
##### [xpaths](https://github.com/appium/ruby_lib/blob/43a8f19bee4df0e37ba87663728f665829f26e27/lib/appium_lib/common/helper.rb#L52)
|
1645
1657
|
|
1646
1658
|
> def xpaths(xpath_str)
|
1647
1659
|
|
@@ -1657,7 +1669,7 @@ __Returns:__
|
|
1657
1669
|
|
1658
1670
|
--
|
1659
1671
|
|
1660
|
-
##### [_print_source](https://github.com/appium/ruby_lib/blob/
|
1672
|
+
##### [_print_source](https://github.com/appium/ruby_lib/blob/43a8f19bee4df0e37ba87663728f665829f26e27/lib/appium_lib/common/helper.rb#L56)
|
1661
1673
|
|
1662
1674
|
> def _print_source(source)
|
1663
1675
|
|
@@ -1665,7 +1677,7 @@ __Returns:__
|
|
1665
1677
|
|
1666
1678
|
--
|
1667
1679
|
|
1668
|
-
##### [result](https://github.com/appium/ruby_lib/blob/
|
1680
|
+
##### [result](https://github.com/appium/ruby_lib/blob/43a8f19bee4df0e37ba87663728f665829f26e27/lib/appium_lib/common/helper.rb#L69)
|
1669
1681
|
|
1670
1682
|
> def result
|
1671
1683
|
|
@@ -1673,7 +1685,7 @@ Returns the value of attribute result
|
|
1673
1685
|
|
1674
1686
|
--
|
1675
1687
|
|
1676
|
-
##### [initialize](https://github.com/appium/ruby_lib/blob/
|
1688
|
+
##### [initialize](https://github.com/appium/ruby_lib/blob/43a8f19bee4df0e37ba87663728f665829f26e27/lib/appium_lib/common/helper.rb#L71)
|
1677
1689
|
|
1678
1690
|
> def initialize
|
1679
1691
|
|
@@ -1685,7 +1697,7 @@ __Returns:__
|
|
1685
1697
|
|
1686
1698
|
--
|
1687
1699
|
|
1688
|
-
##### [reset](https://github.com/appium/ruby_lib/blob/
|
1700
|
+
##### [reset](https://github.com/appium/ruby_lib/blob/43a8f19bee4df0e37ba87663728f665829f26e27/lib/appium_lib/common/helper.rb#L75)
|
1689
1701
|
|
1690
1702
|
> def reset
|
1691
1703
|
|
@@ -1693,7 +1705,7 @@ __Returns:__
|
|
1693
1705
|
|
1694
1706
|
--
|
1695
1707
|
|
1696
|
-
##### [start_element](https://github.com/appium/ruby_lib/blob/
|
1708
|
+
##### [start_element](https://github.com/appium/ruby_lib/blob/43a8f19bee4df0e37ba87663728f665829f26e27/lib/appium_lib/common/helper.rb#L80)
|
1697
1709
|
|
1698
1710
|
> def start_element(name, attrs = [])
|
1699
1711
|
|
@@ -1701,7 +1713,7 @@ http://nokogiri.org/Nokogiri/XML/SAX/Document.html
|
|
1701
1713
|
|
1702
1714
|
--
|
1703
1715
|
|
1704
|
-
##### [formatted_result](https://github.com/appium/ruby_lib/blob/
|
1716
|
+
##### [formatted_result](https://github.com/appium/ruby_lib/blob/43a8f19bee4df0e37ba87663728f665829f26e27/lib/appium_lib/common/helper.rb#L86)
|
1705
1717
|
|
1706
1718
|
> def formatted_result
|
1707
1719
|
|
@@ -1709,7 +1721,7 @@ http://nokogiri.org/Nokogiri/XML/SAX/Document.html
|
|
1709
1721
|
|
1710
1722
|
--
|
1711
1723
|
|
1712
|
-
##### [get_page_class](https://github.com/appium/ruby_lib/blob/
|
1724
|
+
##### [get_page_class](https://github.com/appium/ruby_lib/blob/43a8f19bee4df0e37ba87663728f665829f26e27/lib/appium_lib/common/helper.rb#L97)
|
1713
1725
|
|
1714
1726
|
> def get_page_class
|
1715
1727
|
|
@@ -1717,7 +1729,7 @@ Returns a string of class counts of visible elements.
|
|
1717
1729
|
|
1718
1730
|
--
|
1719
1731
|
|
1720
|
-
##### [page_class](https://github.com/appium/ruby_lib/blob/
|
1732
|
+
##### [page_class](https://github.com/appium/ruby_lib/blob/43a8f19bee4df0e37ba87663728f665829f26e27/lib/appium_lib/common/helper.rb#L108)
|
1721
1733
|
|
1722
1734
|
> def page_class
|
1723
1735
|
|
@@ -1726,7 +1738,7 @@ Useful for appium_console.
|
|
1726
1738
|
|
1727
1739
|
--
|
1728
1740
|
|
1729
|
-
##### [px_to_window_rel](https://github.com/appium/ruby_lib/blob/
|
1741
|
+
##### [px_to_window_rel](https://github.com/appium/ruby_lib/blob/43a8f19bee4df0e37ba87663728f665829f26e27/lib/appium_lib/common/helper.rb#L118)
|
1730
1742
|
|
1731
1743
|
> def px_to_window_rel(opts = {})
|
1732
1744
|
|
@@ -1738,7 +1750,7 @@ px_to_window_rel x: 50, y: 150
|
|
1738
1750
|
|
1739
1751
|
--
|
1740
1752
|
|
1741
|
-
##### [xml_keys](https://github.com/appium/ruby_lib/blob/
|
1753
|
+
##### [xml_keys](https://github.com/appium/ruby_lib/blob/43a8f19bee4df0e37ba87663728f665829f26e27/lib/appium_lib/common/helper.rb#L137)
|
1742
1754
|
|
1743
1755
|
> def xml_keys(target)
|
1744
1756
|
|
@@ -1754,7 +1766,7 @@ __Returns:__
|
|
1754
1766
|
|
1755
1767
|
--
|
1756
1768
|
|
1757
|
-
##### [xml_values](https://github.com/appium/ruby_lib/blob/
|
1769
|
+
##### [xml_values](https://github.com/appium/ruby_lib/blob/43a8f19bee4df0e37ba87663728f665829f26e27/lib/appium_lib/common/helper.rb#L145)
|
1758
1770
|
|
1759
1771
|
> def xml_values(target)
|
1760
1772
|
|
@@ -1770,7 +1782,7 @@ __Returns:__
|
|
1770
1782
|
|
1771
1783
|
--
|
1772
1784
|
|
1773
|
-
##### [resolve_id](https://github.com/appium/ruby_lib/blob/
|
1785
|
+
##### [resolve_id](https://github.com/appium/ruby_lib/blob/43a8f19bee4df0e37ba87663728f665829f26e27/lib/appium_lib/common/helper.rb#L153)
|
1774
1786
|
|
1775
1787
|
> def resolve_id(id)
|
1776
1788
|
|
@@ -1786,7 +1798,7 @@ __Returns:__
|
|
1786
1798
|
|
1787
1799
|
--
|
1788
1800
|
|
1789
|
-
##### [filter](https://github.com/appium/ruby_lib/blob/
|
1801
|
+
##### [filter](https://github.com/appium/ruby_lib/blob/43a8f19bee4df0e37ba87663728f665829f26e27/lib/appium_lib/common/helper.rb#L159)
|
1790
1802
|
|
1791
1803
|
> def filter
|
1792
1804
|
|
@@ -1794,7 +1806,7 @@ Returns the value of attribute filter
|
|
1794
1806
|
|
1795
1807
|
--
|
1796
1808
|
|
1797
|
-
##### [filter=](https://github.com/appium/ruby_lib/blob/
|
1809
|
+
##### [filter=](https://github.com/appium/ruby_lib/blob/43a8f19bee4df0e37ba87663728f665829f26e27/lib/appium_lib/common/helper.rb#L162)
|
1798
1810
|
|
1799
1811
|
> def filter=(value)
|
1800
1812
|
|
@@ -1802,7 +1814,7 @@ convert to string to support symbols
|
|
1802
1814
|
|
1803
1815
|
--
|
1804
1816
|
|
1805
|
-
##### [initialize](https://github.com/appium/ruby_lib/blob/
|
1817
|
+
##### [initialize](https://github.com/appium/ruby_lib/blob/43a8f19bee4df0e37ba87663728f665829f26e27/lib/appium_lib/common/helper.rb#L168)
|
1806
1818
|
|
1807
1819
|
> def initialize
|
1808
1820
|
|
@@ -1814,7 +1826,7 @@ __Returns:__
|
|
1814
1826
|
|
1815
1827
|
--
|
1816
1828
|
|
1817
|
-
##### [reset](https://github.com/appium/ruby_lib/blob/
|
1829
|
+
##### [reset](https://github.com/appium/ruby_lib/blob/43a8f19bee4df0e37ba87663728f665829f26e27/lib/appium_lib/common/helper.rb#L173)
|
1818
1830
|
|
1819
1831
|
> def reset
|
1820
1832
|
|
@@ -1822,7 +1834,7 @@ __Returns:__
|
|
1822
1834
|
|
1823
1835
|
--
|
1824
1836
|
|
1825
|
-
##### [result](https://github.com/appium/ruby_lib/blob/
|
1837
|
+
##### [result](https://github.com/appium/ruby_lib/blob/43a8f19bee4df0e37ba87663728f665829f26e27/lib/appium_lib/common/helper.rb#L179)
|
1826
1838
|
|
1827
1839
|
> def result
|
1828
1840
|
|
@@ -1830,7 +1842,7 @@ __Returns:__
|
|
1830
1842
|
|
1831
1843
|
--
|
1832
1844
|
|
1833
|
-
##### [start_element](https://github.com/appium/ruby_lib/blob/
|
1845
|
+
##### [start_element](https://github.com/appium/ruby_lib/blob/43a8f19bee4df0e37ba87663728f665829f26e27/lib/appium_lib/common/helper.rb#L195)
|
1834
1846
|
|
1835
1847
|
> def start_element(name, attrs = [])
|
1836
1848
|
|
@@ -1838,7 +1850,7 @@ __Returns:__
|
|
1838
1850
|
|
1839
1851
|
--
|
1840
1852
|
|
1841
|
-
##### [end_element](https://github.com/appium/ruby_lib/blob/
|
1853
|
+
##### [end_element](https://github.com/appium/ruby_lib/blob/43a8f19bee4df0e37ba87663728f665829f26e27/lib/appium_lib/common/helper.rb#L204)
|
1842
1854
|
|
1843
1855
|
> def end_element(name)
|
1844
1856
|
|
@@ -1846,7 +1858,7 @@ __Returns:__
|
|
1846
1858
|
|
1847
1859
|
--
|
1848
1860
|
|
1849
|
-
##### [characters](https://github.com/appium/ruby_lib/blob/
|
1861
|
+
##### [characters](https://github.com/appium/ruby_lib/blob/43a8f19bee4df0e37ba87663728f665829f26e27/lib/appium_lib/common/helper.rb#L210)
|
1850
1862
|
|
1851
1863
|
> def characters(chars)
|
1852
1864
|
|
@@ -1854,7 +1866,7 @@ __Returns:__
|
|
1854
1866
|
|
1855
1867
|
--
|
1856
1868
|
|
1857
|
-
##### [_no_such_element](https://github.com/appium/ruby_lib/blob/
|
1869
|
+
##### [_no_such_element](https://github.com/appium/ruby_lib/blob/43a8f19bee4df0e37ba87663728f665829f26e27/lib/appium_lib/common/helper.rb#L217)
|
1858
1870
|
|
1859
1871
|
> def _no_such_element
|
1860
1872
|
|
@@ -1862,7 +1874,7 @@ __Returns:__
|
|
1862
1874
|
|
1863
1875
|
--
|
1864
1876
|
|
1865
|
-
##### [COMMAND_NO_ARG](https://github.com/appium/ruby_lib/blob/
|
1877
|
+
##### [COMMAND_NO_ARG](https://github.com/appium/ruby_lib/blob/43a8f19bee4df0e37ba87663728f665829f26e27/lib/appium_lib/common/command.rb#L4)
|
1866
1878
|
|
1867
1879
|
> COMMAND_NO_ARG = {
|
1868
1880
|
|
@@ -1870,7 +1882,7 @@ __Returns:__
|
|
1870
1882
|
|
1871
1883
|
--
|
1872
1884
|
|
1873
|
-
##### [COMMAND](https://github.com/appium/ruby_lib/blob/
|
1885
|
+
##### [COMMAND](https://github.com/appium/ruby_lib/blob/43a8f19bee4df0e37ba87663728f665829f26e27/lib/appium_lib/common/command.rb#L27)
|
1874
1886
|
|
1875
1887
|
> COMMAND = {
|
1876
1888
|
|
@@ -1878,7 +1890,7 @@ __Returns:__
|
|
1878
1890
|
|
1879
1891
|
--
|
1880
1892
|
|
1881
|
-
##### [window_size](https://github.com/appium/ruby_lib/blob/
|
1893
|
+
##### [window_size](https://github.com/appium/ruby_lib/blob/43a8f19bee4df0e37ba87663728f665829f26e27/lib/appium_lib/common/element/window.rb#L5)
|
1882
1894
|
|
1883
1895
|
> def window_size
|
1884
1896
|
|
@@ -1886,7 +1898,7 @@ Get the window's size
|
|
1886
1898
|
|
1887
1899
|
--
|
1888
1900
|
|
1889
|
-
##### [FINDERS](https://github.com/appium/ruby_lib/blob/
|
1901
|
+
##### [FINDERS](https://github.com/appium/ruby_lib/blob/43a8f19bee4df0e37ba87663728f665829f26e27/lib/appium_lib/common/search_context.rb#L5)
|
1890
1902
|
|
1891
1903
|
> FINDERS = {
|
1892
1904
|
|
@@ -1894,7 +1906,7 @@ rubocop:disable Style/MutableConstant
|
|
1894
1906
|
|
1895
1907
|
--
|
1896
1908
|
|
1897
|
-
##### [filter](https://github.com/appium/ruby_lib/blob/
|
1909
|
+
##### [filter](https://github.com/appium/ruby_lib/blob/43a8f19bee4df0e37ba87663728f665829f26e27/lib/appium_lib/ios/helper.rb#L4) ios
|
1898
1910
|
|
1899
1911
|
> def filter
|
1900
1912
|
|
@@ -1902,7 +1914,7 @@ Returns the value of attribute filter
|
|
1902
1914
|
|
1903
1915
|
--
|
1904
1916
|
|
1905
|
-
##### [filter=](https://github.com/appium/ruby_lib/blob/
|
1917
|
+
##### [filter=](https://github.com/appium/ruby_lib/blob/43a8f19bee4df0e37ba87663728f665829f26e27/lib/appium_lib/ios/helper.rb#L4) ios
|
1906
1918
|
|
1907
1919
|
> def filter=(value)
|
1908
1920
|
|
@@ -1914,7 +1926,7 @@ __Parameters:__
|
|
1914
1926
|
|
1915
1927
|
--
|
1916
1928
|
|
1917
|
-
##### [start_element](https://github.com/appium/ruby_lib/blob/
|
1929
|
+
##### [start_element](https://github.com/appium/ruby_lib/blob/43a8f19bee4df0e37ba87663728f665829f26e27/lib/appium_lib/ios/helper.rb#L6) ios
|
1918
1930
|
|
1919
1931
|
> def start_element(type, attrs = [])
|
1920
1932
|
|
@@ -1922,7 +1934,7 @@ __Parameters:__
|
|
1922
1934
|
|
1923
1935
|
--
|
1924
1936
|
|
1925
|
-
##### [_print_attr](https://github.com/appium/ruby_lib/blob/
|
1937
|
+
##### [_print_attr](https://github.com/appium/ruby_lib/blob/43a8f19bee4df0e37ba87663728f665829f26e27/lib/appium_lib/ios/helper.rb#L15) ios
|
1926
1938
|
|
1927
1939
|
> def _print_attr(type, name, label, value, hint)
|
1928
1940
|
|
@@ -1930,7 +1942,7 @@ __Parameters:__
|
|
1930
1942
|
|
1931
1943
|
--
|
1932
1944
|
|
1933
|
-
##### [ios_password](https://github.com/appium/ruby_lib/blob/
|
1945
|
+
##### [ios_password](https://github.com/appium/ruby_lib/blob/43a8f19bee4df0e37ba87663728f665829f26e27/lib/appium_lib/ios/helper.rb#L41) ios
|
1934
1946
|
|
1935
1947
|
> def ios_password(length = 1)
|
1936
1948
|
|
@@ -1948,7 +1960,7 @@ __Returns:__
|
|
1948
1960
|
|
1949
1961
|
--
|
1950
1962
|
|
1951
|
-
##### [get_page](https://github.com/appium/ruby_lib/blob/
|
1963
|
+
##### [get_page](https://github.com/appium/ruby_lib/blob/43a8f19bee4df0e37ba87663728f665829f26e27/lib/appium_lib/ios/helper.rb#L53) ios
|
1952
1964
|
|
1953
1965
|
> def get_page(element = source_window(0), class_name = nil)
|
1954
1966
|
|
@@ -1969,7 +1981,7 @@ __Returns:__
|
|
1969
1981
|
|
1970
1982
|
--
|
1971
1983
|
|
1972
|
-
##### [page](https://github.com/appium/ruby_lib/blob/
|
1984
|
+
##### [page](https://github.com/appium/ruby_lib/blob/43a8f19bee4df0e37ba87663728f665829f26e27/lib/appium_lib/ios/helper.rb#L139) ios
|
1973
1985
|
|
1974
1986
|
> def page(opts = {})
|
1975
1987
|
|
@@ -1995,7 +2007,7 @@ __Returns:__
|
|
1995
2007
|
|
1996
2008
|
--
|
1997
2009
|
|
1998
|
-
##### [source_window](https://github.com/appium/ruby_lib/blob/
|
2010
|
+
##### [source_window](https://github.com/appium/ruby_lib/blob/43a8f19bee4df0e37ba87663728f665829f26e27/lib/appium_lib/ios/helper.rb#L170) ios
|
1999
2011
|
|
2000
2012
|
> def source_window(_window_number = 0)
|
2001
2013
|
|
@@ -2011,7 +2023,7 @@ __Returns:__
|
|
2011
2023
|
|
2012
2024
|
--
|
2013
2025
|
|
2014
|
-
##### [page_window](https://github.com/appium/ruby_lib/blob/
|
2026
|
+
##### [page_window](https://github.com/appium/ruby_lib/blob/43a8f19bee4df0e37ba87663728f665829f26e27/lib/appium_lib/ios/helper.rb#L185) ios
|
2015
2027
|
|
2016
2028
|
> def page_window(window_number = 0)
|
2017
2029
|
|
@@ -2029,7 +2041,7 @@ __Returns:__
|
|
2029
2041
|
|
2030
2042
|
--
|
2031
2043
|
|
2032
|
-
##### [id](https://github.com/appium/ruby_lib/blob/
|
2044
|
+
##### [id](https://github.com/appium/ruby_lib/blob/43a8f19bee4df0e37ba87663728f665829f26e27/lib/appium_lib/ios/helper.rb#L193) ios
|
2033
2045
|
|
2034
2046
|
> def id(id)
|
2035
2047
|
|
@@ -2045,7 +2057,7 @@ __Returns:__
|
|
2045
2057
|
|
2046
2058
|
--
|
2047
2059
|
|
2048
|
-
##### [ios_version](https://github.com/appium/ruby_lib/blob/
|
2060
|
+
##### [ios_version](https://github.com/appium/ruby_lib/blob/43a8f19bee4df0e37ba87663728f665829f26e27/lib/appium_lib/ios/helper.rb#L199) ios
|
2049
2061
|
|
2050
2062
|
> def ios_version
|
2051
2063
|
|
@@ -2057,7 +2069,7 @@ __Returns:__
|
|
2057
2069
|
|
2058
2070
|
--
|
2059
2071
|
|
2060
|
-
##### [ele_index](https://github.com/appium/ruby_lib/blob/
|
2072
|
+
##### [ele_index](https://github.com/appium/ruby_lib/blob/43a8f19bee4df0e37ba87663728f665829f26e27/lib/appium_lib/ios/helper.rb#L212) ios
|
2061
2073
|
|
2062
2074
|
> def ele_index(class_name, index)
|
2063
2075
|
|
@@ -2075,7 +2087,7 @@ __Returns:__
|
|
2075
2087
|
|
2076
2088
|
--
|
2077
2089
|
|
2078
|
-
##### [find_ele_by_attr](https://github.com/appium/ruby_lib/blob/
|
2090
|
+
##### [find_ele_by_attr](https://github.com/appium/ruby_lib/blob/43a8f19bee4df0e37ba87663728f665829f26e27/lib/appium_lib/ios/helper.rb#L248) ios
|
2079
2091
|
|
2080
2092
|
> def find_ele_by_attr(class_name, attr, value)
|
2081
2093
|
|
@@ -2097,7 +2109,7 @@ __Returns:__
|
|
2097
2109
|
|
2098
2110
|
--
|
2099
2111
|
|
2100
|
-
##### [find_eles_by_attr](https://github.com/appium/ruby_lib/blob/
|
2112
|
+
##### [find_eles_by_attr](https://github.com/appium/ruby_lib/blob/43a8f19bee4df0e37ba87663728f665829f26e27/lib/appium_lib/ios/helper.rb#L259) ios
|
2101
2113
|
|
2102
2114
|
> def find_eles_by_attr(class_name, attr, value)
|
2103
2115
|
|
@@ -2119,7 +2131,7 @@ __Returns:__
|
|
2119
2131
|
|
2120
2132
|
--
|
2121
2133
|
|
2122
|
-
##### [find_ele_by_predicate](https://github.com/appium/ruby_lib/blob/
|
2134
|
+
##### [find_ele_by_predicate](https://github.com/appium/ruby_lib/blob/43a8f19bee4df0e37ba87663728f665829f26e27/lib/appium_lib/ios/helper.rb#L280) ios
|
2123
2135
|
|
2124
2136
|
> def find_ele_by_predicate(class_name: '*', value:)
|
2125
2137
|
|
@@ -2136,7 +2148,7 @@ __Returns:__
|
|
2136
2148
|
|
2137
2149
|
--
|
2138
2150
|
|
2139
|
-
##### [find_eles_by_predicate](https://github.com/appium/ruby_lib/blob/
|
2151
|
+
##### [find_eles_by_predicate](https://github.com/appium/ruby_lib/blob/43a8f19bee4df0e37ba87663728f665829f26e27/lib/appium_lib/ios/helper.rb#L291) ios
|
2140
2152
|
|
2141
2153
|
> def find_eles_by_predicate(class_name: '*', value:)
|
2142
2154
|
|
@@ -2155,7 +2167,7 @@ __Returns:__
|
|
2155
2167
|
|
2156
2168
|
--
|
2157
2169
|
|
2158
|
-
##### [find_ele_by_attr_include](https://github.com/appium/ruby_lib/blob/
|
2170
|
+
##### [find_ele_by_attr_include](https://github.com/appium/ruby_lib/blob/43a8f19bee4df0e37ba87663728f665829f26e27/lib/appium_lib/ios/helper.rb#L307) ios
|
2159
2171
|
|
2160
2172
|
> def find_ele_by_attr_include(class_name, attr, value)
|
2161
2173
|
|
@@ -2176,7 +2188,7 @@ __Returns:__
|
|
2176
2188
|
|
2177
2189
|
--
|
2178
2190
|
|
2179
|
-
##### [find_eles_by_attr_include](https://github.com/appium/ruby_lib/blob/
|
2191
|
+
##### [find_eles_by_attr_include](https://github.com/appium/ruby_lib/blob/43a8f19bee4df0e37ba87663728f665829f26e27/lib/appium_lib/ios/helper.rb#L317) ios
|
2180
2192
|
|
2181
2193
|
> def find_eles_by_attr_include(class_name, attr, value)
|
2182
2194
|
|
@@ -2197,7 +2209,7 @@ __Returns:__
|
|
2197
2209
|
|
2198
2210
|
--
|
2199
2211
|
|
2200
|
-
##### [find_ele_by_predicate_include](https://github.com/appium/ruby_lib/blob/
|
2212
|
+
##### [find_ele_by_predicate_include](https://github.com/appium/ruby_lib/blob/43a8f19bee4df0e37ba87663728f665829f26e27/lib/appium_lib/ios/helper.rb#L325) ios
|
2201
2213
|
|
2202
2214
|
> def find_ele_by_predicate_include(class_name: '*', value:)
|
2203
2215
|
|
@@ -2214,7 +2226,7 @@ __Returns:__
|
|
2214
2226
|
|
2215
2227
|
--
|
2216
2228
|
|
2217
|
-
##### [find_eles_by_predicate_include](https://github.com/appium/ruby_lib/blob/
|
2229
|
+
##### [find_eles_by_predicate_include](https://github.com/appium/ruby_lib/blob/43a8f19bee4df0e37ba87663728f665829f26e27/lib/appium_lib/ios/helper.rb#L336) ios
|
2218
2230
|
|
2219
2231
|
> def find_eles_by_predicate_include(class_name: '*', value:)
|
2220
2232
|
|
@@ -2233,7 +2245,7 @@ __Returns:__
|
|
2233
2245
|
|
2234
2246
|
--
|
2235
2247
|
|
2236
|
-
##### [first_ele](https://github.com/appium/ruby_lib/blob/
|
2248
|
+
##### [first_ele](https://github.com/appium/ruby_lib/blob/43a8f19bee4df0e37ba87663728f665829f26e27/lib/appium_lib/ios/helper.rb#L349) ios
|
2237
2249
|
|
2238
2250
|
> def first_ele(class_name)
|
2239
2251
|
|
@@ -2249,7 +2261,7 @@ __Returns:__
|
|
2249
2261
|
|
2250
2262
|
--
|
2251
2263
|
|
2252
|
-
##### [last_ele](https://github.com/appium/ruby_lib/blob/
|
2264
|
+
##### [last_ele](https://github.com/appium/ruby_lib/blob/43a8f19bee4df0e37ba87663728f665829f26e27/lib/appium_lib/ios/helper.rb#L356) ios
|
2253
2265
|
|
2254
2266
|
> def last_ele(class_name)
|
2255
2267
|
|
@@ -2265,7 +2277,7 @@ __Returns:__
|
|
2265
2277
|
|
2266
2278
|
--
|
2267
2279
|
|
2268
|
-
##### [tag](https://github.com/appium/ruby_lib/blob/
|
2280
|
+
##### [tag](https://github.com/appium/ruby_lib/blob/43a8f19bee4df0e37ba87663728f665829f26e27/lib/appium_lib/ios/helper.rb#L370) ios
|
2269
2281
|
|
2270
2282
|
> def tag(class_name)
|
2271
2283
|
|
@@ -2281,7 +2293,7 @@ __Returns:__
|
|
2281
2293
|
|
2282
2294
|
--
|
2283
2295
|
|
2284
|
-
##### [tags](https://github.com/appium/ruby_lib/blob/
|
2296
|
+
##### [tags](https://github.com/appium/ruby_lib/blob/43a8f19bee4df0e37ba87663728f665829f26e27/lib/appium_lib/ios/helper.rb#L382) ios
|
2285
2297
|
|
2286
2298
|
> def tags(class_name)
|
2287
2299
|
|
@@ -2297,7 +2309,7 @@ __Returns:__
|
|
2297
2309
|
|
2298
2310
|
--
|
2299
2311
|
|
2300
|
-
##### [tags_include](https://github.com/appium/ruby_lib/blob/
|
2312
|
+
##### [tags_include](https://github.com/appium/ruby_lib/blob/43a8f19bee4df0e37ba87663728f665829f26e27/lib/appium_lib/ios/helper.rb#L398) ios
|
2301
2313
|
|
2302
2314
|
> def tags_include(class_names:, value: nil)
|
2303
2315
|
|
@@ -2317,7 +2329,7 @@ __Returns:__
|
|
2317
2329
|
|
2318
2330
|
--
|
2319
2331
|
|
2320
|
-
##### [tags_exact](https://github.com/appium/ruby_lib/blob/
|
2332
|
+
##### [tags_exact](https://github.com/appium/ruby_lib/blob/43a8f19bee4df0e37ba87663728f665829f26e27/lib/appium_lib/ios/helper.rb#L427) ios
|
2321
2333
|
|
2322
2334
|
> def tags_exact(class_names:, value: nil)
|
2323
2335
|
|
@@ -2337,7 +2349,7 @@ __Returns:__
|
|
2337
2349
|
|
2338
2350
|
--
|
2339
2351
|
|
2340
|
-
##### [ele_by_json_visible_contains](https://github.com/appium/ruby_lib/blob/
|
2352
|
+
##### [ele_by_json_visible_contains](https://github.com/appium/ruby_lib/blob/43a8f19bee4df0e37ba87663728f665829f26e27/lib/appium_lib/ios/helper.rb#L478) ios
|
2341
2353
|
|
2342
2354
|
> def ele_by_json_visible_contains(element, value)
|
2343
2355
|
|
@@ -2356,7 +2368,7 @@ __Returns:__
|
|
2356
2368
|
|
2357
2369
|
--
|
2358
2370
|
|
2359
|
-
##### [eles_by_json_visible_contains](https://github.com/appium/ruby_lib/blob/
|
2371
|
+
##### [eles_by_json_visible_contains](https://github.com/appium/ruby_lib/blob/43a8f19bee4df0e37ba87663728f665829f26e27/lib/appium_lib/ios/helper.rb#L487) ios
|
2360
2372
|
|
2361
2373
|
> def eles_by_json_visible_contains(element, value)
|
2362
2374
|
|
@@ -2375,7 +2387,7 @@ __Returns:__
|
|
2375
2387
|
|
2376
2388
|
--
|
2377
2389
|
|
2378
|
-
##### [ele_by_json_visible_exact](https://github.com/appium/ruby_lib/blob/
|
2390
|
+
##### [ele_by_json_visible_exact](https://github.com/appium/ruby_lib/blob/43a8f19bee4df0e37ba87663728f665829f26e27/lib/appium_lib/ios/helper.rb#L517) ios
|
2379
2391
|
|
2380
2392
|
> def ele_by_json_visible_exact(element, value)
|
2381
2393
|
|
@@ -2394,7 +2406,7 @@ __Returns:__
|
|
2394
2406
|
|
2395
2407
|
--
|
2396
2408
|
|
2397
|
-
##### [eles_by_json_visible_exact](https://github.com/appium/ruby_lib/blob/
|
2409
|
+
##### [eles_by_json_visible_exact](https://github.com/appium/ruby_lib/blob/43a8f19bee4df0e37ba87663728f665829f26e27/lib/appium_lib/ios/helper.rb#L526) ios
|
2398
2410
|
|
2399
2411
|
> def eles_by_json_visible_exact(element, value)
|
2400
2412
|
|
@@ -2413,7 +2425,7 @@ __Returns:__
|
|
2413
2425
|
|
2414
2426
|
--
|
2415
2427
|
|
2416
|
-
##### [_all_pred](https://github.com/appium/ruby_lib/blob/
|
2428
|
+
##### [_all_pred](https://github.com/appium/ruby_lib/blob/43a8f19bee4df0e37ba87663728f665829f26e27/lib/appium_lib/ios/helper.rb#L591) ios
|
2417
2429
|
|
2418
2430
|
> def _all_pred(opts)
|
2419
2431
|
|
@@ -2423,7 +2435,7 @@ visible - if true, only visible elements are returned. default true
|
|
2423
2435
|
|
2424
2436
|
--
|
2425
2437
|
|
2426
|
-
##### [ele_with_pred](https://github.com/appium/ruby_lib/blob/
|
2438
|
+
##### [ele_with_pred](https://github.com/appium/ruby_lib/blob/43a8f19bee4df0e37ba87663728f665829f26e27/lib/appium_lib/ios/helper.rb#L604) ios
|
2427
2439
|
|
2428
2440
|
> def ele_with_pred(opts)
|
2429
2441
|
|
@@ -2439,7 +2451,7 @@ __Returns:__
|
|
2439
2451
|
|
2440
2452
|
--
|
2441
2453
|
|
2442
|
-
##### [eles_with_pred](https://github.com/appium/ruby_lib/blob/
|
2454
|
+
##### [eles_with_pred](https://github.com/appium/ruby_lib/blob/43a8f19bee4df0e37ba87663728f665829f26e27/lib/appium_lib/ios/helper.rb#L615) ios
|
2443
2455
|
|
2444
2456
|
> def eles_with_pred(opts)
|
2445
2457
|
|
@@ -2455,7 +2467,7 @@ __Returns:__
|
|
2455
2467
|
|
2456
2468
|
--
|
2457
2469
|
|
2458
|
-
##### [source](https://github.com/appium/ruby_lib/blob/
|
2470
|
+
##### [source](https://github.com/appium/ruby_lib/blob/43a8f19bee4df0e37ba87663728f665829f26e27/lib/appium_lib/ios/helper.rb#L621) ios
|
2459
2471
|
|
2460
2472
|
> def source
|
2461
2473
|
|
@@ -2467,7 +2479,7 @@ __Returns:__
|
|
2467
2479
|
|
2468
2480
|
--
|
2469
2481
|
|
2470
|
-
##### [_validate_object](https://github.com/appium/ruby_lib/blob/
|
2482
|
+
##### [_validate_object](https://github.com/appium/ruby_lib/blob/43a8f19bee4df0e37ba87663728f665829f26e27/lib/appium_lib/ios/helper.rb#L625) ios
|
2471
2483
|
|
2472
2484
|
> def _validate_object(*objects)
|
2473
2485
|
|
@@ -2475,7 +2487,7 @@ __Returns:__
|
|
2475
2487
|
|
2476
2488
|
--
|
2477
2489
|
|
2478
|
-
##### [_by_json](https://github.com/appium/ruby_lib/blob/
|
2490
|
+
##### [_by_json](https://github.com/appium/ruby_lib/blob/43a8f19bee4df0e37ba87663728f665829f26e27/lib/appium_lib/ios/helper.rb#L674) ios
|
2479
2491
|
|
2480
2492
|
> def _by_json(opts)
|
2481
2493
|
|
@@ -2510,7 +2522,7 @@ opts = {
|
|
2510
2522
|
|
2511
2523
|
--
|
2512
2524
|
|
2513
|
-
##### [eles_by_json](https://github.com/appium/ruby_lib/blob/
|
2525
|
+
##### [eles_by_json](https://github.com/appium/ruby_lib/blob/43a8f19bee4df0e37ba87663728f665829f26e27/lib/appium_lib/ios/helper.rb#L724) ios
|
2514
2526
|
|
2515
2527
|
> def eles_by_json(opts)
|
2516
2528
|
|
@@ -2529,7 +2541,7 @@ eles_by_json({
|
|
2529
2541
|
|
2530
2542
|
--
|
2531
2543
|
|
2532
|
-
##### [ele_by_json](https://github.com/appium/ruby_lib/blob/
|
2544
|
+
##### [ele_by_json](https://github.com/appium/ruby_lib/blob/43a8f19bee4df0e37ba87663728f665829f26e27/lib/appium_lib/ios/helper.rb#L730) ios
|
2533
2545
|
|
2534
2546
|
> def ele_by_json(opts)
|
2535
2547
|
|
@@ -2537,7 +2549,7 @@ see eles_by_json
|
|
2537
2549
|
|
2538
2550
|
--
|
2539
2551
|
|
2540
|
-
##### [get_source](https://github.com/appium/ruby_lib/blob/
|
2552
|
+
##### [get_source](https://github.com/appium/ruby_lib/blob/43a8f19bee4df0e37ba87663728f665829f26e27/lib/appium_lib/ios/helper.rb#L740) ios
|
2541
2553
|
|
2542
2554
|
> def get_source
|
2543
2555
|
|
@@ -2550,7 +2562,7 @@ __Returns:__
|
|
2550
2562
|
|
2551
2563
|
--
|
2552
2564
|
|
2553
|
-
##### [UIAStaticText](https://github.com/appium/ruby_lib/blob/
|
2565
|
+
##### [UIAStaticText](https://github.com/appium/ruby_lib/blob/43a8f19bee4df0e37ba87663728f665829f26e27/lib/appium_lib/ios/element/text.rb#L4) ios
|
2554
2566
|
|
2555
2567
|
> UIAStaticText = 'UIAStaticText'.freeze
|
2556
2568
|
|
@@ -2558,7 +2570,7 @@ __Returns:__
|
|
2558
2570
|
|
2559
2571
|
--
|
2560
2572
|
|
2561
|
-
##### [XCUIElementTypeStaticText](https://github.com/appium/ruby_lib/blob/
|
2573
|
+
##### [XCUIElementTypeStaticText](https://github.com/appium/ruby_lib/blob/43a8f19bee4df0e37ba87663728f665829f26e27/lib/appium_lib/ios/element/text.rb#L5) ios
|
2562
2574
|
|
2563
2575
|
> XCUIElementTypeStaticText = 'XCUIElementTypeStaticText'.freeze
|
2564
2576
|
|
@@ -2566,7 +2578,7 @@ __Returns:__
|
|
2566
2578
|
|
2567
2579
|
--
|
2568
2580
|
|
2569
|
-
##### [static_text_class](https://github.com/appium/ruby_lib/blob/
|
2581
|
+
##### [static_text_class](https://github.com/appium/ruby_lib/blob/43a8f19bee4df0e37ba87663728f665829f26e27/lib/appium_lib/ios/element/text.rb#L8) ios
|
2570
2582
|
|
2571
2583
|
> def static_text_class
|
2572
2584
|
|
@@ -2578,7 +2590,7 @@ __Returns:__
|
|
2578
2590
|
|
2579
2591
|
--
|
2580
2592
|
|
2581
|
-
##### [text](https://github.com/appium/ruby_lib/blob/
|
2593
|
+
##### [text](https://github.com/appium/ruby_lib/blob/43a8f19bee4df0e37ba87663728f665829f26e27/lib/appium_lib/ios/element/text.rb#L16) ios
|
2582
2594
|
|
2583
2595
|
> def text(value)
|
2584
2596
|
|
@@ -2595,7 +2607,7 @@ __Returns:__
|
|
2595
2607
|
|
2596
2608
|
--
|
2597
2609
|
|
2598
|
-
##### [texts](https://github.com/appium/ruby_lib/blob/
|
2610
|
+
##### [texts](https://github.com/appium/ruby_lib/blob/43a8f19bee4df0e37ba87663728f665829f26e27/lib/appium_lib/ios/element/text.rb#L30) ios
|
2599
2611
|
|
2600
2612
|
> def texts(value = false)
|
2601
2613
|
|
@@ -2612,7 +2624,7 @@ __Returns:__
|
|
2612
2624
|
|
2613
2625
|
--
|
2614
2626
|
|
2615
|
-
##### [first_text](https://github.com/appium/ruby_lib/blob/
|
2627
|
+
##### [first_text](https://github.com/appium/ruby_lib/blob/43a8f19bee4df0e37ba87663728f665829f26e27/lib/appium_lib/ios/element/text.rb#L43) ios
|
2616
2628
|
|
2617
2629
|
> def first_text
|
2618
2630
|
|
@@ -2624,7 +2636,7 @@ __Returns:__
|
|
2624
2636
|
|
2625
2637
|
--
|
2626
2638
|
|
2627
|
-
##### [last_text](https://github.com/appium/ruby_lib/blob/
|
2639
|
+
##### [last_text](https://github.com/appium/ruby_lib/blob/43a8f19bee4df0e37ba87663728f665829f26e27/lib/appium_lib/ios/element/text.rb#L49) ios
|
2628
2640
|
|
2629
2641
|
> def last_text
|
2630
2642
|
|
@@ -2636,7 +2648,7 @@ __Returns:__
|
|
2636
2648
|
|
2637
2649
|
--
|
2638
2650
|
|
2639
|
-
##### [text_exact](https://github.com/appium/ruby_lib/blob/
|
2651
|
+
##### [text_exact](https://github.com/appium/ruby_lib/blob/43a8f19bee4df0e37ba87663728f665829f26e27/lib/appium_lib/ios/element/text.rb#L56) ios
|
2640
2652
|
|
2641
2653
|
> def text_exact(value)
|
2642
2654
|
|
@@ -2652,7 +2664,7 @@ __Returns:__
|
|
2652
2664
|
|
2653
2665
|
--
|
2654
2666
|
|
2655
|
-
##### [texts_exact](https://github.com/appium/ruby_lib/blob/
|
2667
|
+
##### [texts_exact](https://github.com/appium/ruby_lib/blob/43a8f19bee4df0e37ba87663728f665829f26e27/lib/appium_lib/ios/element/text.rb#L67) ios
|
2656
2668
|
|
2657
2669
|
> def texts_exact(value)
|
2658
2670
|
|
@@ -2668,7 +2680,7 @@ __Returns:__
|
|
2668
2680
|
|
2669
2681
|
--
|
2670
2682
|
|
2671
|
-
##### [alert_accept](https://github.com/appium/ruby_lib/blob/
|
2683
|
+
##### [alert_accept](https://github.com/appium/ruby_lib/blob/43a8f19bee4df0e37ba87663728f665829f26e27/lib/appium_lib/ios/element/alert.rb#L5) ios
|
2672
2684
|
|
2673
2685
|
> def alert_accept
|
2674
2686
|
|
@@ -2680,7 +2692,7 @@ __Returns:__
|
|
2680
2692
|
|
2681
2693
|
--
|
2682
2694
|
|
2683
|
-
##### [alert_dismiss](https://github.com/appium/ruby_lib/blob/
|
2695
|
+
##### [alert_dismiss](https://github.com/appium/ruby_lib/blob/43a8f19bee4df0e37ba87663728f665829f26e27/lib/appium_lib/ios/element/alert.rb#L13) ios
|
2684
2696
|
|
2685
2697
|
> def alert_dismiss
|
2686
2698
|
|
@@ -2692,7 +2704,7 @@ __Returns:__
|
|
2692
2704
|
|
2693
2705
|
--
|
2694
2706
|
|
2695
|
-
##### [UIAButton](https://github.com/appium/ruby_lib/blob/
|
2707
|
+
##### [UIAButton](https://github.com/appium/ruby_lib/blob/43a8f19bee4df0e37ba87663728f665829f26e27/lib/appium_lib/ios/element/button.rb#L4) ios
|
2696
2708
|
|
2697
2709
|
> UIAButton = 'UIAButton'.freeze
|
2698
2710
|
|
@@ -2700,7 +2712,7 @@ __Returns:__
|
|
2700
2712
|
|
2701
2713
|
--
|
2702
2714
|
|
2703
|
-
##### [XCUIElementTypeButton](https://github.com/appium/ruby_lib/blob/
|
2715
|
+
##### [XCUIElementTypeButton](https://github.com/appium/ruby_lib/blob/43a8f19bee4df0e37ba87663728f665829f26e27/lib/appium_lib/ios/element/button.rb#L5) ios
|
2704
2716
|
|
2705
2717
|
> XCUIElementTypeButton = 'XCUIElementTypeButton'.freeze
|
2706
2718
|
|
@@ -2708,7 +2720,7 @@ __Returns:__
|
|
2708
2720
|
|
2709
2721
|
--
|
2710
2722
|
|
2711
|
-
##### [button_class](https://github.com/appium/ruby_lib/blob/
|
2723
|
+
##### [button_class](https://github.com/appium/ruby_lib/blob/43a8f19bee4df0e37ba87663728f665829f26e27/lib/appium_lib/ios/element/button.rb#L8) ios
|
2712
2724
|
|
2713
2725
|
> def button_class
|
2714
2726
|
|
@@ -2720,7 +2732,7 @@ __Returns:__
|
|
2720
2732
|
|
2721
2733
|
--
|
2722
2734
|
|
2723
|
-
##### [button](https://github.com/appium/ruby_lib/blob/
|
2735
|
+
##### [button](https://github.com/appium/ruby_lib/blob/43a8f19bee4df0e37ba87663728f665829f26e27/lib/appium_lib/ios/element/button.rb#L16) ios
|
2724
2736
|
|
2725
2737
|
> def button(value)
|
2726
2738
|
|
@@ -2737,7 +2749,7 @@ __Returns:__
|
|
2737
2749
|
|
2738
2750
|
--
|
2739
2751
|
|
2740
|
-
##### [buttons](https://github.com/appium/ruby_lib/blob/
|
2752
|
+
##### [buttons](https://github.com/appium/ruby_lib/blob/43a8f19bee4df0e37ba87663728f665829f26e27/lib/appium_lib/ios/element/button.rb#L31) ios
|
2741
2753
|
|
2742
2754
|
> def buttons(value = false)
|
2743
2755
|
|
@@ -2754,7 +2766,7 @@ __Returns:__
|
|
2754
2766
|
|
2755
2767
|
--
|
2756
2768
|
|
2757
|
-
##### [first_button](https://github.com/appium/ruby_lib/blob/
|
2769
|
+
##### [first_button](https://github.com/appium/ruby_lib/blob/43a8f19bee4df0e37ba87663728f665829f26e27/lib/appium_lib/ios/element/button.rb#L44) ios
|
2758
2770
|
|
2759
2771
|
> def first_button
|
2760
2772
|
|
@@ -2766,7 +2778,7 @@ __Returns:__
|
|
2766
2778
|
|
2767
2779
|
--
|
2768
2780
|
|
2769
|
-
##### [last_button](https://github.com/appium/ruby_lib/blob/
|
2781
|
+
##### [last_button](https://github.com/appium/ruby_lib/blob/43a8f19bee4df0e37ba87663728f665829f26e27/lib/appium_lib/ios/element/button.rb#L52) ios
|
2770
2782
|
|
2771
2783
|
> def last_button
|
2772
2784
|
|
@@ -2780,7 +2792,7 @@ __Returns:__
|
|
2780
2792
|
|
2781
2793
|
--
|
2782
2794
|
|
2783
|
-
##### [button_exact](https://github.com/appium/ruby_lib/blob/
|
2795
|
+
##### [button_exact](https://github.com/appium/ruby_lib/blob/43a8f19bee4df0e37ba87663728f665829f26e27/lib/appium_lib/ios/element/button.rb#L59) ios
|
2784
2796
|
|
2785
2797
|
> def button_exact(value)
|
2786
2798
|
|
@@ -2796,7 +2808,7 @@ __Returns:__
|
|
2796
2808
|
|
2797
2809
|
--
|
2798
2810
|
|
2799
|
-
##### [buttons_exact](https://github.com/appium/ruby_lib/blob/
|
2811
|
+
##### [buttons_exact](https://github.com/appium/ruby_lib/blob/43a8f19bee4df0e37ba87663728f665829f26e27/lib/appium_lib/ios/element/button.rb#L70) ios
|
2800
2812
|
|
2801
2813
|
> def buttons_exact(value)
|
2802
2814
|
|
@@ -2812,7 +2824,7 @@ __Returns:__
|
|
2812
2824
|
|
2813
2825
|
--
|
2814
2826
|
|
2815
|
-
##### [uiautomation_find](https://github.com/appium/ruby_lib/blob/
|
2827
|
+
##### [uiautomation_find](https://github.com/appium/ruby_lib/blob/43a8f19bee4df0e37ba87663728f665829f26e27/lib/appium_lib/ios/mobile_methods.rb#L32) ios
|
2816
2828
|
|
2817
2829
|
> def uiautomation_find
|
2818
2830
|
|
@@ -2824,7 +2836,7 @@ find_element/s can be used with a [UIAutomation command](https://developer.apple
|
|
2824
2836
|
|
2825
2837
|
--
|
2826
2838
|
|
2827
|
-
##### [ios_predicate_string_find](https://github.com/appium/ruby_lib/blob/
|
2839
|
+
##### [ios_predicate_string_find](https://github.com/appium/ruby_lib/blob/43a8f19bee4df0e37ba87663728f665829f26e27/lib/appium_lib/ios/mobile_methods.rb#L32) ios
|
2828
2840
|
|
2829
2841
|
> def ios_predicate_string_find
|
2830
2842
|
|
@@ -2838,7 +2850,7 @@ find_element/s can be used with a [Predicates](https://developer.apple.com/libra
|
|
2838
2850
|
|
2839
2851
|
--
|
2840
2852
|
|
2841
|
-
##### [ios_class_chain_find](https://github.com/appium/ruby_lib/blob/
|
2853
|
+
##### [ios_class_chain_find](https://github.com/appium/ruby_lib/blob/43a8f19bee4df0e37ba87663728f665829f26e27/lib/appium_lib/ios/mobile_methods.rb#L32) ios
|
2842
2854
|
|
2843
2855
|
> def ios_class_chain_find
|
2844
2856
|
|
@@ -2856,7 +2868,7 @@ find_element/s can be used with a [class chain]( https://github.com/facebook/Web
|
|
2856
2868
|
|
2857
2869
|
--
|
2858
2870
|
|
2859
|
-
##### [find](https://github.com/appium/ruby_lib/blob/
|
2871
|
+
##### [find](https://github.com/appium/ruby_lib/blob/43a8f19bee4df0e37ba87663728f665829f26e27/lib/appium_lib/ios/element/generic.rb#L6) ios
|
2860
2872
|
|
2861
2873
|
> def find(value)
|
2862
2874
|
|
@@ -2872,7 +2884,7 @@ __Returns:__
|
|
2872
2884
|
|
2873
2885
|
--
|
2874
2886
|
|
2875
|
-
##### [finds](https://github.com/appium/ruby_lib/blob/
|
2887
|
+
##### [finds](https://github.com/appium/ruby_lib/blob/43a8f19bee4df0e37ba87663728f665829f26e27/lib/appium_lib/ios/element/generic.rb#L17) ios
|
2876
2888
|
|
2877
2889
|
> def finds(value)
|
2878
2890
|
|
@@ -2888,7 +2900,7 @@ __Returns:__
|
|
2888
2900
|
|
2889
2901
|
--
|
2890
2902
|
|
2891
|
-
##### [find_exact](https://github.com/appium/ruby_lib/blob/
|
2903
|
+
##### [find_exact](https://github.com/appium/ruby_lib/blob/43a8f19bee4df0e37ba87663728f665829f26e27/lib/appium_lib/ios/element/generic.rb#L29) ios
|
2892
2904
|
|
2893
2905
|
> def find_exact(value)
|
2894
2906
|
|
@@ -2904,7 +2916,7 @@ __Returns:__
|
|
2904
2916
|
|
2905
2917
|
--
|
2906
2918
|
|
2907
|
-
##### [finds_exact](https://github.com/appium/ruby_lib/blob/
|
2919
|
+
##### [finds_exact](https://github.com/appium/ruby_lib/blob/43a8f19bee4df0e37ba87663728f665829f26e27/lib/appium_lib/ios/element/generic.rb#L40) ios
|
2908
2920
|
|
2909
2921
|
> def finds_exact(value)
|
2910
2922
|
|
@@ -2920,7 +2932,7 @@ __Returns:__
|
|
2920
2932
|
|
2921
2933
|
--
|
2922
2934
|
|
2923
|
-
##### [raise_error_if_no_element](https://github.com/appium/ruby_lib/blob/
|
2935
|
+
##### [raise_error_if_no_element](https://github.com/appium/ruby_lib/blob/43a8f19bee4df0e37ba87663728f665829f26e27/lib/appium_lib/ios/element/generic.rb#L51) ios
|
2924
2936
|
|
2925
2937
|
> def raise_error_if_no_element(element)
|
2926
2938
|
|
@@ -2928,7 +2940,7 @@ __Returns:__
|
|
2928
2940
|
|
2929
2941
|
--
|
2930
2942
|
|
2931
|
-
##### [select_visible_elements](https://github.com/appium/ruby_lib/blob/
|
2943
|
+
##### [select_visible_elements](https://github.com/appium/ruby_lib/blob/43a8f19bee4df0e37ba87663728f665829f26e27/lib/appium_lib/ios/element/generic.rb#L58) ios
|
2932
2944
|
|
2933
2945
|
> def select_visible_elements(elements)
|
2934
2946
|
|
@@ -2936,7 +2948,7 @@ Return visible elements.
|
|
2936
2948
|
|
2937
2949
|
--
|
2938
2950
|
|
2939
|
-
##### [UIATextField](https://github.com/appium/ruby_lib/blob/
|
2951
|
+
##### [UIATextField](https://github.com/appium/ruby_lib/blob/43a8f19bee4df0e37ba87663728f665829f26e27/lib/appium_lib/ios/element/textfield.rb#L3) ios
|
2940
2952
|
|
2941
2953
|
> UIATextField = 'UIATextField'.freeze
|
2942
2954
|
|
@@ -2944,7 +2956,7 @@ Return visible elements.
|
|
2944
2956
|
|
2945
2957
|
--
|
2946
2958
|
|
2947
|
-
##### [UIASecureTextField](https://github.com/appium/ruby_lib/blob/
|
2959
|
+
##### [UIASecureTextField](https://github.com/appium/ruby_lib/blob/43a8f19bee4df0e37ba87663728f665829f26e27/lib/appium_lib/ios/element/textfield.rb#L4) ios
|
2948
2960
|
|
2949
2961
|
> UIASecureTextField = 'UIASecureTextField'.freeze
|
2950
2962
|
|
@@ -2952,7 +2964,7 @@ Return visible elements.
|
|
2952
2964
|
|
2953
2965
|
--
|
2954
2966
|
|
2955
|
-
##### [XCUIElementTypeTextField](https://github.com/appium/ruby_lib/blob/
|
2967
|
+
##### [XCUIElementTypeTextField](https://github.com/appium/ruby_lib/blob/43a8f19bee4df0e37ba87663728f665829f26e27/lib/appium_lib/ios/element/textfield.rb#L6) ios
|
2956
2968
|
|
2957
2969
|
> XCUIElementTypeTextField = 'XCUIElementTypeTextField'.freeze
|
2958
2970
|
|
@@ -2960,7 +2972,7 @@ Return visible elements.
|
|
2960
2972
|
|
2961
2973
|
--
|
2962
2974
|
|
2963
|
-
##### [XCUIElementTypeSecureTextField](https://github.com/appium/ruby_lib/blob/
|
2975
|
+
##### [XCUIElementTypeSecureTextField](https://github.com/appium/ruby_lib/blob/43a8f19bee4df0e37ba87663728f665829f26e27/lib/appium_lib/ios/element/textfield.rb#L7) ios
|
2964
2976
|
|
2965
2977
|
> XCUIElementTypeSecureTextField = 'XCUIElementTypeSecureTextField'.freeze
|
2966
2978
|
|
@@ -2968,7 +2980,7 @@ Return visible elements.
|
|
2968
2980
|
|
2969
2981
|
--
|
2970
2982
|
|
2971
|
-
##### [text_field_class](https://github.com/appium/ruby_lib/blob/
|
2983
|
+
##### [text_field_class](https://github.com/appium/ruby_lib/blob/43a8f19bee4df0e37ba87663728f665829f26e27/lib/appium_lib/ios/element/textfield.rb#L10) ios
|
2972
2984
|
|
2973
2985
|
> def text_field_class
|
2974
2986
|
|
@@ -2980,7 +2992,7 @@ __Returns:__
|
|
2980
2992
|
|
2981
2993
|
--
|
2982
2994
|
|
2983
|
-
##### [secure_text_field_class](https://github.com/appium/ruby_lib/blob/
|
2995
|
+
##### [secure_text_field_class](https://github.com/appium/ruby_lib/blob/43a8f19bee4df0e37ba87663728f665829f26e27/lib/appium_lib/ios/element/textfield.rb#L15) ios
|
2984
2996
|
|
2985
2997
|
> def secure_text_field_class
|
2986
2998
|
|
@@ -2992,7 +3004,7 @@ __Returns:__
|
|
2992
3004
|
|
2993
3005
|
--
|
2994
3006
|
|
2995
|
-
##### [_textfield_visible](https://github.com/appium/ruby_lib/blob/
|
3007
|
+
##### [_textfield_visible](https://github.com/appium/ruby_lib/blob/43a8f19bee4df0e37ba87663728f665829f26e27/lib/appium_lib/ios/element/textfield.rb#L35) ios
|
2996
3008
|
|
2997
3009
|
> def _textfield_visible
|
2998
3010
|
|
@@ -3000,7 +3012,7 @@ Appium
|
|
3000
3012
|
|
3001
3013
|
--
|
3002
3014
|
|
3003
|
-
##### [_textfield_exact_string](https://github.com/appium/ruby_lib/blob/
|
3015
|
+
##### [_textfield_exact_string](https://github.com/appium/ruby_lib/blob/43a8f19bee4df0e37ba87663728f665829f26e27/lib/appium_lib/ios/element/textfield.rb#L40) ios
|
3004
3016
|
|
3005
3017
|
> def _textfield_exact_string(value)
|
3006
3018
|
|
@@ -3008,7 +3020,7 @@ Appium
|
|
3008
3020
|
|
3009
3021
|
--
|
3010
3022
|
|
3011
|
-
##### [_textfield_contains_string](https://github.com/appium/ruby_lib/blob/
|
3023
|
+
##### [_textfield_contains_string](https://github.com/appium/ruby_lib/blob/43a8f19bee4df0e37ba87663728f665829f26e27/lib/appium_lib/ios/element/textfield.rb#L47) ios
|
3012
3024
|
|
3013
3025
|
> def _textfield_contains_string(value)
|
3014
3026
|
|
@@ -3016,7 +3028,7 @@ Appium
|
|
3016
3028
|
|
3017
3029
|
--
|
3018
3030
|
|
3019
|
-
##### [textfield](https://github.com/appium/ruby_lib/blob/
|
3031
|
+
##### [textfield](https://github.com/appium/ruby_lib/blob/43a8f19bee4df0e37ba87663728f665829f26e27/lib/appium_lib/ios/element/textfield.rb#L60) ios
|
3020
3032
|
|
3021
3033
|
> def textfield(value)
|
3022
3034
|
|
@@ -3034,7 +3046,7 @@ __Returns:__
|
|
3034
3046
|
|
3035
3047
|
--
|
3036
3048
|
|
3037
|
-
##### [textfields](https://github.com/appium/ruby_lib/blob/
|
3049
|
+
##### [textfields](https://github.com/appium/ruby_lib/blob/43a8f19bee4df0e37ba87663728f665829f26e27/lib/appium_lib/ios/element/textfield.rb#L86) ios
|
3038
3050
|
|
3039
3051
|
> def textfields(value = false)
|
3040
3052
|
|
@@ -3051,7 +3063,7 @@ __Returns:__
|
|
3051
3063
|
|
3052
3064
|
--
|
3053
3065
|
|
3054
|
-
##### [first_textfield](https://github.com/appium/ruby_lib/blob/
|
3066
|
+
##### [first_textfield](https://github.com/appium/ruby_lib/blob/43a8f19bee4df0e37ba87663728f665829f26e27/lib/appium_lib/ios/element/textfield.rb#L100) ios
|
3055
3067
|
|
3056
3068
|
> def first_textfield
|
3057
3069
|
|
@@ -3063,7 +3075,7 @@ __Returns:__
|
|
3063
3075
|
|
3064
3076
|
--
|
3065
3077
|
|
3066
|
-
##### [last_textfield](https://github.com/appium/ruby_lib/blob/
|
3078
|
+
##### [last_textfield](https://github.com/appium/ruby_lib/blob/43a8f19bee4df0e37ba87663728f665829f26e27/lib/appium_lib/ios/element/textfield.rb#L110) ios
|
3067
3079
|
|
3068
3080
|
> def last_textfield
|
3069
3081
|
|
@@ -3075,7 +3087,7 @@ __Returns:__
|
|
3075
3087
|
|
3076
3088
|
--
|
3077
3089
|
|
3078
|
-
##### [textfield_exact](https://github.com/appium/ruby_lib/blob/
|
3090
|
+
##### [textfield_exact](https://github.com/appium/ruby_lib/blob/43a8f19bee4df0e37ba87663728f665829f26e27/lib/appium_lib/ios/element/textfield.rb#L123) ios
|
3079
3091
|
|
3080
3092
|
> def textfield_exact(value)
|
3081
3093
|
|
@@ -3091,7 +3103,7 @@ __Returns:__
|
|
3091
3103
|
|
3092
3104
|
--
|
3093
3105
|
|
3094
|
-
##### [textfields_exact](https://github.com/appium/ruby_lib/blob/
|
3106
|
+
##### [textfields_exact](https://github.com/appium/ruby_lib/blob/43a8f19bee4df0e37ba87663728f665829f26e27/lib/appium_lib/ios/element/textfield.rb#L134) ios
|
3095
3107
|
|
3096
3108
|
> def textfields_exact(value)
|
3097
3109
|
|
@@ -3107,7 +3119,7 @@ __Returns:__
|
|
3107
3119
|
|
3108
3120
|
--
|
3109
3121
|
|
3110
|
-
##### [swipe](https://github.com/appium/ruby_lib/blob/
|
3122
|
+
##### [swipe](https://github.com/appium/ruby_lib/blob/43a8f19bee4df0e37ba87663728f665829f26e27/lib/appium_lib/ios/xcuitest_gestures.rb#L10) ios
|
3111
3123
|
|
3112
3124
|
> def swipe(direction:, element: nil)
|
3113
3125
|
|
@@ -3121,7 +3133,7 @@ __Parameters:__
|
|
3121
3133
|
|
3122
3134
|
--
|
3123
3135
|
|
3124
|
-
##### [scroll](https://github.com/appium/ruby_lib/blob/
|
3136
|
+
##### [scroll](https://github.com/appium/ruby_lib/blob/43a8f19bee4df0e37ba87663728f665829f26e27/lib/appium_lib/ios/xcuitest_gestures.rb#L30) ios
|
3125
3137
|
|
3126
3138
|
> def scroll(direction:, name: nil, element: nil, to_visible: nil, predicate_string: nil)
|
3127
3139
|
|
@@ -3135,7 +3147,7 @@ __Parameters:__
|
|
3135
3147
|
|
3136
3148
|
--
|
3137
3149
|
|
3138
|
-
##### [pinch](https://github.com/appium/ruby_lib/blob/
|
3150
|
+
##### [pinch](https://github.com/appium/ruby_lib/blob/43a8f19bee4df0e37ba87663728f665829f26e27/lib/appium_lib/ios/xcuitest_gestures.rb#L49) ios
|
3139
3151
|
|
3140
3152
|
> def pinch(scale:, velocity: 1.0, element: nil)
|
3141
3153
|
|
@@ -3151,7 +3163,7 @@ __Parameters:__
|
|
3151
3163
|
|
3152
3164
|
--
|
3153
3165
|
|
3154
|
-
##### [double_tap](https://github.com/appium/ruby_lib/blob/
|
3166
|
+
##### [double_tap](https://github.com/appium/ruby_lib/blob/43a8f19bee4df0e37ba87663728f665829f26e27/lib/appium_lib/ios/xcuitest_gestures.rb#L66) ios
|
3155
3167
|
|
3156
3168
|
> def double_tap(x: nil, y: nil, element: nil)
|
3157
3169
|
|
@@ -3167,7 +3179,7 @@ __Parameters:__
|
|
3167
3179
|
|
3168
3180
|
--
|
3169
3181
|
|
3170
|
-
##### [two_finger_tap](https://github.com/appium/ruby_lib/blob/
|
3182
|
+
##### [two_finger_tap](https://github.com/appium/ruby_lib/blob/43a8f19bee4df0e37ba87663728f665829f26e27/lib/appium_lib/ios/xcuitest_gestures.rb#L79) ios
|
3171
3183
|
|
3172
3184
|
> def two_finger_tap(element:)
|
3173
3185
|
|
@@ -3183,7 +3195,7 @@ two_finger_tap element: find_element(:accessibility_id, "some item")
|
|
3183
3195
|
|
3184
3196
|
--
|
3185
3197
|
|
3186
|
-
##### [tap](https://github.com/appium/ruby_lib/blob/
|
3198
|
+
##### [tap](https://github.com/appium/ruby_lib/blob/43a8f19bee4df0e37ba87663728f665829f26e27/lib/appium_lib/ios/xcuitest_gestures.rb#L96) ios
|
3187
3199
|
|
3188
3200
|
> def tap(x:, y:, element: nil)
|
3189
3201
|
|
@@ -3199,7 +3211,7 @@ __Parameters:__
|
|
3199
3211
|
|
3200
3212
|
--
|
3201
3213
|
|
3202
|
-
##### [drag_from_to_for_duration](https://github.com/appium/ruby_lib/blob/
|
3214
|
+
##### [drag_from_to_for_duration](https://github.com/appium/ruby_lib/blob/43a8f19bee4df0e37ba87663728f665829f26e27/lib/appium_lib/ios/xcuitest_gestures.rb#L118) ios
|
3203
3215
|
|
3204
3216
|
> def drag_from_to_for_duration(from_x:, from_y:, to_x:, to_y:, duration: 1.0, element: nil)
|
3205
3217
|
|
@@ -3222,7 +3234,7 @@ drag point should be before to start dragging. Mandatory parameter
|
|
3222
3234
|
|
3223
3235
|
--
|
3224
3236
|
|
3225
|
-
##### [select_picker_wheel](https://github.com/appium/ruby_lib/blob/
|
3237
|
+
##### [select_picker_wheel](https://github.com/appium/ruby_lib/blob/43a8f19bee4df0e37ba87663728f665829f26e27/lib/appium_lib/ios/xcuitest_gestures.rb#L135) ios
|
3226
3238
|
|
3227
3239
|
> def select_picker_wheel(element:, order:)
|
3228
3240
|
|
@@ -3241,7 +3253,7 @@ select_picker_wheel order: "next", element: find_element(:accessibility_id, "som
|
|
3241
3253
|
|
3242
3254
|
--
|
3243
3255
|
|
3244
|
-
##### [value](https://github.com/appium/ruby_lib/blob/
|
3256
|
+
##### [value](https://github.com/appium/ruby_lib/blob/43a8f19bee4df0e37ba87663728f665829f26e27/lib/appium_lib/common/patch.rb#L12)
|
3245
3257
|
|
3246
3258
|
> def value
|
3247
3259
|
|
@@ -3251,7 +3263,7 @@ Fixes NoMethodError: undefined method `value' for Selenium::WebDriver::Element
|
|
3251
3263
|
|
3252
3264
|
--
|
3253
3265
|
|
3254
|
-
##### [name](https://github.com/appium/ruby_lib/blob/
|
3266
|
+
##### [name](https://github.com/appium/ruby_lib/blob/43a8f19bee4df0e37ba87663728f665829f26e27/lib/appium_lib/common/patch.rb#L19)
|
3255
3267
|
|
3256
3268
|
> def name
|
3257
3269
|
|
@@ -3261,7 +3273,7 @@ Fixes NoMethodError: undefined method `name' for Selenium::WebDriver::Element
|
|
3261
3273
|
|
3262
3274
|
--
|
3263
3275
|
|
3264
|
-
##### [location_rel](https://github.com/appium/ruby_lib/blob/
|
3276
|
+
##### [location_rel](https://github.com/appium/ruby_lib/blob/43a8f19bee4df0e37ba87663728f665829f26e27/lib/appium_lib/common/patch.rb#L31)
|
3265
3277
|
|
3266
3278
|
> def location_rel
|
3267
3279
|
|
@@ -3279,7 +3291,7 @@ __Returns:__
|
|
3279
3291
|
|
3280
3292
|
--
|
3281
3293
|
|
3282
|
-
##### [DEFAULT_HEADERS](https://github.com/appium/ruby_lib/blob/
|
3294
|
+
##### [DEFAULT_HEADERS](https://github.com/appium/ruby_lib/blob/43a8f19bee4df0e37ba87663728f665829f26e27/lib/appium_lib/common/patch.rb#L152)
|
3283
3295
|
|
3284
3296
|
> DEFAULT_HEADERS = { 'Accept' => CONTENT_TYPE, 'User-Agent' => "appium/ruby_lib/#{::Appium::VERSION}" }.freeze
|
3285
3297
|
|
@@ -3287,7 +3299,7 @@ __Returns:__
|
|
3287
3299
|
|
3288
3300
|
--
|
3289
3301
|
|
3290
|
-
##### [patch_remote_driver_commands](https://github.com/appium/ruby_lib/blob/
|
3302
|
+
##### [patch_remote_driver_commands](https://github.com/appium/ruby_lib/blob/43a8f19bee4df0e37ba87663728f665829f26e27/lib/appium_lib/common/patch.rb#L155)
|
3291
3303
|
|
3292
3304
|
> def patch_remote_driver_commands
|
3293
3305
|
|