appium_lib 9.4.2 → 9.4.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +11 -0
- data/Rakefile +12 -3
- data/android_tests/lib/android/specs/android/helper.rb +9 -1
- data/android_tests/lib/android/specs/common/patch.rb +10 -3
- data/appium_lib.gemspec +1 -1
- data/docs/android_docs.md +249 -239
- data/docs/android_uiautomator.md +10 -0
- data/docs/ios_docs.md +258 -258
- data/docs/ios_xcuitest.md +20 -0
- data/lib/appium_lib/android/element/button.rb +32 -50
- data/lib/appium_lib/android/helper.rb +15 -17
- data/lib/appium_lib/common/version.rb +2 -2
- data/release_notes.md +109 -102
- metadata +8 -8
data/docs/android_uiautomator.md
CHANGED
@@ -5,3 +5,13 @@
|
|
5
5
|
- [URL](https://stuff.mit.edu/afs/sipb/project/android/docs/tools/help/uiautomator/index.html)
|
6
6
|
- **notice**
|
7
7
|
- If Appium is started then it terminates the other `uiautomator` processes
|
8
|
+
|
9
|
+
# uiautomator2
|
10
|
+
## difference between uiautomator1 and uiautomator2
|
11
|
+
- `find_element/s :id, "ids"`
|
12
|
+
- uiautomator1
|
13
|
+
- Find elements with `resource_id`
|
14
|
+
- Find elements with string id resource(string.xml based)
|
15
|
+
- uiautomator2
|
16
|
+
- Find elements with `resource_id`
|
17
|
+
- from: Does not appium-uiautomator2-server support finding string ids with "id" strategy? [issue](https://github.com/appium/appium/issues/8349)
|
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/24660355c3fa5e5e8691922e1570021fce90b96b/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/24660355c3fa5e5e8691922e1570021fce90b96b/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/24660355c3fa5e5e8691922e1570021fce90b96b/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/24660355c3fa5e5e8691922e1570021fce90b96b/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/24660355c3fa5e5e8691922e1570021fce90b96b/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/24660355c3fa5e5e8691922e1570021fce90b96b/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/24660355c3fa5e5e8691922e1570021fce90b96b/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/24660355c3fa5e5e8691922e1570021fce90b96b/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/24660355c3fa5e5e8691922e1570021fce90b96b/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/24660355c3fa5e5e8691922e1570021fce90b96b/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/24660355c3fa5e5e8691922e1570021fce90b96b/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/24660355c3fa5e5e8691922e1570021fce90b96b/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/24660355c3fa5e5e8691922e1570021fce90b96b/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/24660355c3fa5e5e8691922e1570021fce90b96b/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/24660355c3fa5e5e8691922e1570021fce90b96b/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/24660355c3fa5e5e8691922e1570021fce90b96b/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/24660355c3fa5e5e8691922e1570021fce90b96b/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/24660355c3fa5e5e8691922e1570021fce90b96b/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/24660355c3fa5e5e8691922e1570021fce90b96b/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/24660355c3fa5e5e8691922e1570021fce90b96b/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/24660355c3fa5e5e8691922e1570021fce90b96b/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/24660355c3fa5e5e8691922e1570021fce90b96b/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/24660355c3fa5e5e8691922e1570021fce90b96b/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/24660355c3fa5e5e8691922e1570021fce90b96b/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/24660355c3fa5e5e8691922e1570021fce90b96b/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/24660355c3fa5e5e8691922e1570021fce90b96b/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/24660355c3fa5e5e8691922e1570021fce90b96b/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/24660355c3fa5e5e8691922e1570021fce90b96b/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/24660355c3fa5e5e8691922e1570021fce90b96b/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/24660355c3fa5e5e8691922e1570021fce90b96b/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/24660355c3fa5e5e8691922e1570021fce90b96b/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/24660355c3fa5e5e8691922e1570021fce90b96b/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/24660355c3fa5e5e8691922e1570021fce90b96b/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/24660355c3fa5e5e8691922e1570021fce90b96b/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/24660355c3fa5e5e8691922e1570021fce90b96b/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/24660355c3fa5e5e8691922e1570021fce90b96b/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/24660355c3fa5e5e8691922e1570021fce90b96b/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/24660355c3fa5e5e8691922e1570021fce90b96b/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/24660355c3fa5e5e8691922e1570021fce90b96b/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/24660355c3fa5e5e8691922e1570021fce90b96b/lib/appium_lib/driver.rb#L473)
|
452
452
|
|
453
453
|
> def automation_name_is_xcuitest?
|
454
454
|
|
@@ -460,7 +460,7 @@ __Returns:__
|
|
460
460
|
|
461
461
|
--
|
462
462
|
|
463
|
-
##### [automation_name_is_uiautomator2?](https://github.com/appium/ruby_lib/blob/
|
463
|
+
##### [automation_name_is_uiautomator2?](https://github.com/appium/ruby_lib/blob/24660355c3fa5e5e8691922e1570021fce90b96b/lib/appium_lib/driver.rb#L479)
|
464
464
|
|
465
465
|
> def automation_name_is_uiautomator2?
|
466
466
|
|
@@ -472,7 +472,7 @@ __Returns:__
|
|
472
472
|
|
473
473
|
--
|
474
474
|
|
475
|
-
##### [check_server_version_xcuitest](https://github.com/appium/ruby_lib/blob/
|
475
|
+
##### [check_server_version_xcuitest](https://github.com/appium/ruby_lib/blob/24660355c3fa5e5e8691922e1570021fce90b96b/lib/appium_lib/driver.rb#L486)
|
476
476
|
|
477
477
|
> def check_server_version_xcuitest
|
478
478
|
|
@@ -485,7 +485,7 @@ __Returns:__
|
|
485
485
|
|
486
486
|
--
|
487
487
|
|
488
|
-
##### [appium_server_version](https://github.com/appium/ruby_lib/blob/
|
488
|
+
##### [appium_server_version](https://github.com/appium/ruby_lib/blob/24660355c3fa5e5e8691922e1570021fce90b96b/lib/appium_lib/driver.rb#L507)
|
489
489
|
|
490
490
|
> def appium_server_version
|
491
491
|
|
@@ -506,7 +506,7 @@ __Returns:__
|
|
506
506
|
|
507
507
|
--
|
508
508
|
|
509
|
-
##### [appium_client_version](https://github.com/appium/ruby_lib/blob/
|
509
|
+
##### [appium_client_version](https://github.com/appium/ruby_lib/blob/24660355c3fa5e5e8691922e1570021fce90b96b/lib/appium_lib/driver.rb#L524)
|
510
510
|
|
511
511
|
> def appium_client_version
|
512
512
|
|
@@ -524,7 +524,7 @@ __Returns:__
|
|
524
524
|
|
525
525
|
--
|
526
526
|
|
527
|
-
##### [absolute_app_path](https://github.com/appium/ruby_lib/blob/
|
527
|
+
##### [absolute_app_path](https://github.com/appium/ruby_lib/blob/24660355c3fa5e5e8691922e1570021fce90b96b/lib/appium_lib/driver.rb#L536)
|
528
528
|
|
529
529
|
> def self.absolute_app_path(opts)
|
530
530
|
|
@@ -541,7 +541,7 @@ __Returns:__
|
|
541
541
|
|
542
542
|
--
|
543
543
|
|
544
|
-
##### [server_url](https://github.com/appium/ruby_lib/blob/
|
544
|
+
##### [server_url](https://github.com/appium/ruby_lib/blob/24660355c3fa5e5e8691922e1570021fce90b96b/lib/appium_lib/driver.rb#L569)
|
545
545
|
|
546
546
|
> def server_url
|
547
547
|
|
@@ -553,7 +553,7 @@ __Returns:__
|
|
553
553
|
|
554
554
|
--
|
555
555
|
|
556
|
-
##### [restart](https://github.com/appium/ruby_lib/blob/
|
556
|
+
##### [restart](https://github.com/appium/ruby_lib/blob/24660355c3fa5e5e8691922e1570021fce90b96b/lib/appium_lib/driver.rb#L580)
|
557
557
|
|
558
558
|
> def restart
|
559
559
|
|
@@ -565,7 +565,7 @@ __Returns:__
|
|
565
565
|
|
566
566
|
--
|
567
567
|
|
568
|
-
##### [screenshot](https://github.com/appium/ruby_lib/blob/
|
568
|
+
##### [screenshot](https://github.com/appium/ruby_lib/blob/24660355c3fa5e5e8691922e1570021fce90b96b/lib/appium_lib/driver.rb#L591)
|
569
569
|
|
570
570
|
> def screenshot(png_save_path)
|
571
571
|
|
@@ -583,7 +583,7 @@ __Returns:__
|
|
583
583
|
|
584
584
|
--
|
585
585
|
|
586
|
-
##### [driver_quit](https://github.com/appium/ruby_lib/blob/
|
586
|
+
##### [driver_quit](https://github.com/appium/ruby_lib/blob/24660355c3fa5e5e8691922e1570021fce90b96b/lib/appium_lib/driver.rb#L598)
|
587
587
|
|
588
588
|
> def driver_quit
|
589
589
|
|
@@ -595,7 +595,7 @@ __Returns:__
|
|
595
595
|
|
596
596
|
--
|
597
597
|
|
598
|
-
##### [start_driver](https://github.com/appium/ruby_lib/blob/
|
598
|
+
##### [start_driver](https://github.com/appium/ruby_lib/blob/24660355c3fa5e5e8691922e1570021fce90b96b/lib/appium_lib/driver.rb#L608)
|
599
599
|
|
600
600
|
> def start_driver
|
601
601
|
|
@@ -607,7 +607,7 @@ __Returns:__
|
|
607
607
|
|
608
608
|
--
|
609
609
|
|
610
|
-
##### [no_wait](https://github.com/appium/ruby_lib/blob/
|
610
|
+
##### [no_wait](https://github.com/appium/ruby_lib/blob/24660355c3fa5e5e8691922e1570021fce90b96b/lib/appium_lib/driver.rb#L646)
|
611
611
|
|
612
612
|
> def no_wait
|
613
613
|
|
@@ -615,7 +615,7 @@ Set implicit wait to zero.
|
|
615
615
|
|
616
616
|
--
|
617
617
|
|
618
|
-
##### [set_wait](https://github.com/appium/ruby_lib/blob/
|
618
|
+
##### [set_wait](https://github.com/appium/ruby_lib/blob/24660355c3fa5e5e8691922e1570021fce90b96b/lib/appium_lib/driver.rb#L660)
|
619
619
|
|
620
620
|
> def set_wait(timeout = nil)
|
621
621
|
|
@@ -637,7 +637,7 @@ __Returns:__
|
|
637
637
|
|
638
638
|
--
|
639
639
|
|
640
|
-
##### [exists](https://github.com/appium/ruby_lib/blob/
|
640
|
+
##### [exists](https://github.com/appium/ruby_lib/blob/24660355c3fa5e5e8691922e1570021fce90b96b/lib/appium_lib/driver.rb#L677)
|
641
641
|
|
642
642
|
> def exists(pre_check = 0, post_check = @default_wait)
|
643
643
|
|
@@ -661,7 +661,7 @@ __Returns:__
|
|
661
661
|
|
662
662
|
--
|
663
663
|
|
664
|
-
##### [execute_script](https://github.com/appium/ruby_lib/blob/
|
664
|
+
##### [execute_script](https://github.com/appium/ruby_lib/blob/24660355c3fa5e5e8691922e1570021fce90b96b/lib/appium_lib/driver.rb#L701)
|
665
665
|
|
666
666
|
> def execute_script(script, *args)
|
667
667
|
|
@@ -679,7 +679,7 @@ __Returns:__
|
|
679
679
|
|
680
680
|
--
|
681
681
|
|
682
|
-
##### [find_elements](https://github.com/appium/ruby_lib/blob/
|
682
|
+
##### [find_elements](https://github.com/appium/ruby_lib/blob/24660355c3fa5e5e8691922e1570021fce90b96b/lib/appium_lib/driver.rb#L723)
|
683
683
|
|
684
684
|
> def find_elements(*args)
|
685
685
|
|
@@ -705,7 +705,7 @@ __Returns:__
|
|
705
705
|
|
706
706
|
--
|
707
707
|
|
708
|
-
##### [find_element](https://github.com/appium/ruby_lib/blob/
|
708
|
+
##### [find_element](https://github.com/appium/ruby_lib/blob/24660355c3fa5e5e8691922e1570021fce90b96b/lib/appium_lib/driver.rb#L738)
|
709
709
|
|
710
710
|
> def find_element(*args)
|
711
711
|
|
@@ -726,7 +726,7 @@ __Returns:__
|
|
726
726
|
|
727
727
|
--
|
728
728
|
|
729
|
-
##### [set_location](https://github.com/appium/ruby_lib/blob/
|
729
|
+
##### [set_location](https://github.com/appium/ruby_lib/blob/24660355c3fa5e5e8691922e1570021fce90b96b/lib/appium_lib/driver.rb#L751)
|
730
730
|
|
731
731
|
> def set_location(opts = {})
|
732
732
|
|
@@ -742,7 +742,7 @@ __Returns:__
|
|
742
742
|
|
743
743
|
--
|
744
744
|
|
745
|
-
##### [x](https://github.com/appium/ruby_lib/blob/
|
745
|
+
##### [x](https://github.com/appium/ruby_lib/blob/24660355c3fa5e5e8691922e1570021fce90b96b/lib/appium_lib/driver.rb#L761)
|
746
746
|
|
747
747
|
> def x
|
748
748
|
|
@@ -755,7 +755,7 @@ __Returns:__
|
|
755
755
|
|
756
756
|
--
|
757
757
|
|
758
|
-
##### [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/24660355c3fa5e5e8691922e1570021fce90b96b/lib/appium_lib/driver.rb#L770)
|
759
759
|
|
760
760
|
> def set_automation_name_if_nil
|
761
761
|
|
@@ -764,7 +764,7 @@ Since @automation_name is set only client side before start_driver is called.
|
|
764
764
|
|
765
765
|
--
|
766
766
|
|
767
|
-
##### [logger=](https://github.com/appium/ruby_lib/blob/
|
767
|
+
##### [logger=](https://github.com/appium/ruby_lib/blob/24660355c3fa5e5e8691922e1570021fce90b96b/lib/appium_lib/logger.rb#L13)
|
768
768
|
|
769
769
|
> def logger=(value)
|
770
770
|
|
@@ -776,7 +776,7 @@ __Parameters:__
|
|
776
776
|
|
777
777
|
--
|
778
778
|
|
779
|
-
##### [logger](https://github.com/appium/ruby_lib/blob/
|
779
|
+
##### [logger](https://github.com/appium/ruby_lib/blob/24660355c3fa5e5e8691922e1570021fce90b96b/lib/appium_lib/logger.rb#L17)
|
780
780
|
|
781
781
|
> def logger
|
782
782
|
|
@@ -784,7 +784,7 @@ __Parameters:__
|
|
784
784
|
|
785
785
|
--
|
786
786
|
|
787
|
-
##### [app_strings](https://github.com/appium/ruby_lib/blob/
|
787
|
+
##### [app_strings](https://github.com/appium/ruby_lib/blob/24660355c3fa5e5e8691922e1570021fce90b96b/lib/appium_lib/device/device.rb#L7)
|
788
788
|
|
789
789
|
> def app_strings
|
790
790
|
|
@@ -795,7 +795,7 @@ app_strings #=> "TransitionsTitle"=>"Transitions", "WebTitle"=>"Web"
|
|
795
795
|
|
796
796
|
--
|
797
797
|
|
798
|
-
##### [background_app](https://github.com/appium/ruby_lib/blob/
|
798
|
+
##### [background_app](https://github.com/appium/ruby_lib/blob/24660355c3fa5e5e8691922e1570021fce90b96b/lib/appium_lib/device/device.rb#L13)
|
799
799
|
|
800
800
|
> def background_app
|
801
801
|
|
@@ -804,7 +804,7 @@ This is a blocking application
|
|
804
804
|
|
805
805
|
--
|
806
806
|
|
807
|
-
##### [current_activity](https://github.com/appium/ruby_lib/blob/
|
807
|
+
##### [current_activity](https://github.com/appium/ruby_lib/blob/24660355c3fa5e5e8691922e1570021fce90b96b/lib/appium_lib/device/device.rb#L24)
|
808
808
|
|
809
809
|
> def current_activity
|
810
810
|
|
@@ -812,7 +812,7 @@ This is a blocking application
|
|
812
812
|
|
813
813
|
--
|
814
814
|
|
815
|
-
##### [get_system_bars](https://github.com/appium/ruby_lib/blob/
|
815
|
+
##### [get_system_bars](https://github.com/appium/ruby_lib/blob/24660355c3fa5e5e8691922e1570021fce90b96b/lib/appium_lib/device/device.rb#L26)
|
816
816
|
|
817
817
|
> def get_system_bars
|
818
818
|
|
@@ -827,7 +827,7 @@ __Returns:__
|
|
827
827
|
|
828
828
|
--
|
829
829
|
|
830
|
-
##### [get_display_density](https://github.com/appium/ruby_lib/blob/
|
830
|
+
##### [get_display_density](https://github.com/appium/ruby_lib/blob/24660355c3fa5e5e8691922e1570021fce90b96b/lib/appium_lib/device/device.rb#L34)
|
831
831
|
|
832
832
|
> def get_display_density
|
833
833
|
|
@@ -842,7 +842,7 @@ __Returns:__
|
|
842
842
|
|
843
843
|
--
|
844
844
|
|
845
|
-
##### [is_keyboard_shown](https://github.com/appium/ruby_lib/blob/
|
845
|
+
##### [is_keyboard_shown](https://github.com/appium/ruby_lib/blob/24660355c3fa5e5e8691922e1570021fce90b96b/lib/appium_lib/device/device.rb#L42)
|
846
846
|
|
847
847
|
> def is_keyboard_shown
|
848
848
|
|
@@ -857,7 +857,7 @@ __Returns:__
|
|
857
857
|
|
858
858
|
--
|
859
859
|
|
860
|
-
##### [launch_app](https://github.com/appium/ruby_lib/blob/
|
860
|
+
##### [launch_app](https://github.com/appium/ruby_lib/blob/24660355c3fa5e5e8691922e1570021fce90b96b/lib/appium_lib/device/device.rb#L50)
|
861
861
|
|
862
862
|
> def launch_app
|
863
863
|
|
@@ -865,7 +865,7 @@ Start the simulator and application configured with desired capabilities
|
|
865
865
|
|
866
866
|
--
|
867
867
|
|
868
|
-
##### [reset](https://github.com/appium/ruby_lib/blob/
|
868
|
+
##### [reset](https://github.com/appium/ruby_lib/blob/24660355c3fa5e5e8691922e1570021fce90b96b/lib/appium_lib/device/device.rb#L53)
|
869
869
|
|
870
870
|
> def reset
|
871
871
|
|
@@ -873,7 +873,7 @@ Reset the device, relaunching the application.
|
|
873
873
|
|
874
874
|
--
|
875
875
|
|
876
|
-
##### [shake](https://github.com/appium/ruby_lib/blob/
|
876
|
+
##### [shake](https://github.com/appium/ruby_lib/blob/24660355c3fa5e5e8691922e1570021fce90b96b/lib/appium_lib/device/device.rb#L56)
|
877
877
|
|
878
878
|
> def shake
|
879
879
|
|
@@ -881,7 +881,7 @@ Cause the device to shake
|
|
881
881
|
|
882
882
|
--
|
883
883
|
|
884
|
-
##### [toggle_flight_mode](https://github.com/appium/ruby_lib/blob/
|
884
|
+
##### [toggle_flight_mode](https://github.com/appium/ruby_lib/blob/24660355c3fa5e5e8691922e1570021fce90b96b/lib/appium_lib/device/device.rb#L59)
|
885
885
|
|
886
886
|
> def toggle_flight_mode
|
887
887
|
|
@@ -889,7 +889,7 @@ Toggle flight mode on or off
|
|
889
889
|
|
890
890
|
--
|
891
891
|
|
892
|
-
##### [device_locked?](https://github.com/appium/ruby_lib/blob/
|
892
|
+
##### [device_locked?](https://github.com/appium/ruby_lib/blob/24660355c3fa5e5e8691922e1570021fce90b96b/lib/appium_lib/device/device.rb#L62)
|
893
893
|
|
894
894
|
> def device_locked?
|
895
895
|
|
@@ -897,7 +897,7 @@ Toggle flight mode on or off
|
|
897
897
|
|
898
898
|
--
|
899
899
|
|
900
|
-
##### [hide_keyboard](https://github.com/appium/ruby_lib/blob/
|
900
|
+
##### [hide_keyboard](https://github.com/appium/ruby_lib/blob/24660355c3fa5e5e8691922e1570021fce90b96b/lib/appium_lib/device/device.rb#L64)
|
901
901
|
|
902
902
|
> def hide_keyboard
|
903
903
|
|
@@ -910,7 +910,7 @@ Defaults to 'Done'.
|
|
910
910
|
|
911
911
|
--
|
912
912
|
|
913
|
-
##### [press_keycode](https://github.com/appium/ruby_lib/blob/
|
913
|
+
##### [press_keycode](https://github.com/appium/ruby_lib/blob/24660355c3fa5e5e8691922e1570021fce90b96b/lib/appium_lib/device/device.rb#L73)
|
914
914
|
|
915
915
|
> def press_keycode
|
916
916
|
|
@@ -925,7 +925,7 @@ __Parameters:__
|
|
925
925
|
|
926
926
|
--
|
927
927
|
|
928
|
-
##### [long_press_keycode](https://github.com/appium/ruby_lib/blob/
|
928
|
+
##### [long_press_keycode](https://github.com/appium/ruby_lib/blob/24660355c3fa5e5e8691922e1570021fce90b96b/lib/appium_lib/device/device.rb#L79)
|
929
929
|
|
930
930
|
> def long_press_keycode
|
931
931
|
|
@@ -940,7 +940,7 @@ __Parameters:__
|
|
940
940
|
|
941
941
|
--
|
942
942
|
|
943
|
-
##### [push_file](https://github.com/appium/ruby_lib/blob/
|
943
|
+
##### [push_file](https://github.com/appium/ruby_lib/blob/24660355c3fa5e5e8691922e1570021fce90b96b/lib/appium_lib/device/device.rb#L85)
|
944
944
|
|
945
945
|
> def push_file
|
946
946
|
|
@@ -954,7 +954,7 @@ __Parameters:__
|
|
954
954
|
|
955
955
|
--
|
956
956
|
|
957
|
-
##### [pull_file](https://github.com/appium/ruby_lib/blob/
|
957
|
+
##### [pull_file](https://github.com/appium/ruby_lib/blob/24660355c3fa5e5e8691922e1570021fce90b96b/lib/appium_lib/device/device.rb#L90)
|
958
958
|
|
959
959
|
> def pull_file
|
960
960
|
|
@@ -971,7 +971,7 @@ __Parameters:__
|
|
971
971
|
|
972
972
|
--
|
973
973
|
|
974
|
-
##### [pull_folder](https://github.com/appium/ruby_lib/blob/
|
974
|
+
##### [pull_folder](https://github.com/appium/ruby_lib/blob/24660355c3fa5e5e8691922e1570021fce90b96b/lib/appium_lib/device/device.rb#L100)
|
975
975
|
|
976
976
|
> def pull_folder
|
977
977
|
|
@@ -986,7 +986,7 @@ __Parameters:__
|
|
986
986
|
|
987
987
|
--
|
988
988
|
|
989
|
-
##### [touch_id](https://github.com/appium/ruby_lib/blob/
|
989
|
+
##### [touch_id](https://github.com/appium/ruby_lib/blob/24660355c3fa5e5e8691922e1570021fce90b96b/lib/appium_lib/device/device.rb#L108)
|
990
990
|
|
991
991
|
> def touch_id
|
992
992
|
|
@@ -1003,7 +1003,7 @@ Defaults to true.
|
|
1003
1003
|
|
1004
1004
|
--
|
1005
1005
|
|
1006
|
-
##### [toggle_touch_id_enrollment](https://github.com/appium/ruby_lib/blob/
|
1006
|
+
##### [toggle_touch_id_enrollment](https://github.com/appium/ruby_lib/blob/24660355c3fa5e5e8691922e1570021fce90b96b/lib/appium_lib/device/device.rb#L117)
|
1007
1007
|
|
1008
1008
|
> def toggle_touch_id_enrollment
|
1009
1009
|
|
@@ -1011,7 +1011,7 @@ iOS Simulator only: Toggle touch id enrollment on an iOS Simulator.
|
|
1011
1011
|
|
1012
1012
|
--
|
1013
1013
|
|
1014
|
-
##### [end_coverage](https://github.com/appium/ruby_lib/blob/
|
1014
|
+
##### [end_coverage](https://github.com/appium/ruby_lib/blob/24660355c3fa5e5e8691922e1570021fce90b96b/lib/appium_lib/device/device.rb#L120)
|
1015
1015
|
|
1016
1016
|
> def end_coverage
|
1017
1017
|
|
@@ -1025,7 +1025,7 @@ __Parameters:__
|
|
1025
1025
|
|
1026
1026
|
--
|
1027
1027
|
|
1028
|
-
##### [get_settings](https://github.com/appium/ruby_lib/blob/
|
1028
|
+
##### [get_settings](https://github.com/appium/ruby_lib/blob/24660355c3fa5e5e8691922e1570021fce90b96b/lib/appium_lib/device/device.rb#L125)
|
1029
1029
|
|
1030
1030
|
> def get_settings
|
1031
1031
|
|
@@ -1033,7 +1033,7 @@ Get appium Settings for current test session
|
|
1033
1033
|
|
1034
1034
|
--
|
1035
1035
|
|
1036
|
-
##### [update_settings](https://github.com/appium/ruby_lib/blob/
|
1036
|
+
##### [update_settings](https://github.com/appium/ruby_lib/blob/24660355c3fa5e5e8691922e1570021fce90b96b/lib/appium_lib/device/device.rb#L128)
|
1037
1037
|
|
1038
1038
|
> def update_settings
|
1039
1039
|
|
@@ -1045,7 +1045,7 @@ __Parameters:__
|
|
1045
1045
|
|
1046
1046
|
--
|
1047
1047
|
|
1048
|
-
##### [start_activity](https://github.com/appium/ruby_lib/blob/
|
1048
|
+
##### [start_activity](https://github.com/appium/ruby_lib/blob/24660355c3fa5e5e8691922e1570021fce90b96b/lib/appium_lib/device/device.rb#L132)
|
1049
1049
|
|
1050
1050
|
> def start_activity
|
1051
1051
|
|
@@ -1059,7 +1059,7 @@ start_activity app_package: 'io.appium.android.apis',
|
|
1059
1059
|
|
1060
1060
|
--
|
1061
1061
|
|
1062
|
-
##### [get_network_connection](https://github.com/appium/ruby_lib/blob/
|
1062
|
+
##### [get_network_connection](https://github.com/appium/ruby_lib/blob/24660355c3fa5e5e8691922e1570021fce90b96b/lib/appium_lib/device/device.rb#L146)
|
1063
1063
|
|
1064
1064
|
> def get_network_connection
|
1065
1065
|
|
@@ -1068,7 +1068,7 @@ See set_network_connection method for return value
|
|
1068
1068
|
|
1069
1069
|
--
|
1070
1070
|
|
1071
|
-
##### [set_network_connection](https://github.com/appium/ruby_lib/blob/
|
1071
|
+
##### [set_network_connection](https://github.com/appium/ruby_lib/blob/24660355c3fa5e5e8691922e1570021fce90b96b/lib/appium_lib/device/device.rb#L150)
|
1072
1072
|
|
1073
1073
|
> def set_network_connection
|
1074
1074
|
|
@@ -1087,7 +1087,7 @@ __Parameters:__
|
|
1087
1087
|
|
1088
1088
|
--
|
1089
1089
|
|
1090
|
-
##### [set_immediate_value](https://github.com/appium/ruby_lib/blob/
|
1090
|
+
##### [set_immediate_value](https://github.com/appium/ruby_lib/blob/24660355c3fa5e5e8691922e1570021fce90b96b/lib/appium_lib/device/device.rb#L163)
|
1091
1091
|
|
1092
1092
|
> def set_immediate_value
|
1093
1093
|
|
@@ -1101,7 +1101,7 @@ set_immediate_value element, 'hello'
|
|
1101
1101
|
|
1102
1102
|
--
|
1103
1103
|
|
1104
|
-
##### [get_performance_data_types](https://github.com/appium/ruby_lib/blob/
|
1104
|
+
##### [get_performance_data_types](https://github.com/appium/ruby_lib/blob/24660355c3fa5e5e8691922e1570021fce90b96b/lib/appium_lib/device/device.rb#L172)
|
1105
1105
|
|
1106
1106
|
> def get_performance_data_types
|
1107
1107
|
|
@@ -1115,7 +1115,7 @@ get_performance_data_types #=> ["cpuinfo", "batteryinfo", "networkinfo", "memory
|
|
1115
1115
|
|
1116
1116
|
--
|
1117
1117
|
|
1118
|
-
##### [extend_search_contexts](https://github.com/appium/ruby_lib/blob/
|
1118
|
+
##### [extend_search_contexts](https://github.com/appium/ruby_lib/blob/24660355c3fa5e5e8691922e1570021fce90b96b/lib/appium_lib/device/device.rb#L434)
|
1119
1119
|
|
1120
1120
|
> def extend_search_contexts
|
1121
1121
|
|
@@ -1123,7 +1123,7 @@ get_performance_data_types #=> ["cpuinfo", "batteryinfo", "networkinfo", "memory
|
|
1123
1123
|
|
1124
1124
|
--
|
1125
1125
|
|
1126
|
-
##### [find_element_with_appium](https://github.com/appium/ruby_lib/blob/
|
1126
|
+
##### [find_element_with_appium](https://github.com/appium/ruby_lib/blob/24660355c3fa5e5e8691922e1570021fce90b96b/lib/appium_lib/device/device.rb#L434)
|
1127
1127
|
|
1128
1128
|
> def find_element_with_appium
|
1129
1129
|
|
@@ -1131,7 +1131,7 @@ get_performance_data_types #=> ["cpuinfo", "batteryinfo", "networkinfo", "memory
|
|
1131
1131
|
|
1132
1132
|
--
|
1133
1133
|
|
1134
|
-
##### [find_elements_with_appium](https://github.com/appium/ruby_lib/blob/
|
1134
|
+
##### [find_elements_with_appium](https://github.com/appium/ruby_lib/blob/24660355c3fa5e5e8691922e1570021fce90b96b/lib/appium_lib/device/device.rb#L434)
|
1135
1135
|
|
1136
1136
|
> def find_elements_with_appium
|
1137
1137
|
|
@@ -1143,7 +1143,7 @@ find_element/s_with_appium with their accessibility_id
|
|
1143
1143
|
|
1144
1144
|
--
|
1145
1145
|
|
1146
|
-
##### [add_touch_actions](https://github.com/appium/ruby_lib/blob/
|
1146
|
+
##### [add_touch_actions](https://github.com/appium/ruby_lib/blob/24660355c3fa5e5e8691922e1570021fce90b96b/lib/appium_lib/device/device.rb#L465)
|
1147
1147
|
|
1148
1148
|
> def add_touch_actions
|
1149
1149
|
|
@@ -1151,7 +1151,7 @@ find_element/s_with_appium with their accessibility_id
|
|
1151
1151
|
|
1152
1152
|
--
|
1153
1153
|
|
1154
|
-
##### [add_ime_actions](https://github.com/appium/ruby_lib/blob/
|
1154
|
+
##### [add_ime_actions](https://github.com/appium/ruby_lib/blob/24660355c3fa5e5e8691922e1570021fce90b96b/lib/appium_lib/device/device.rb#L488)
|
1155
1155
|
|
1156
1156
|
> def add_ime_actions
|
1157
1157
|
|
@@ -1159,7 +1159,7 @@ find_element/s_with_appium with their accessibility_id
|
|
1159
1159
|
|
1160
1160
|
--
|
1161
1161
|
|
1162
|
-
##### [set_context](https://github.com/appium/ruby_lib/blob/
|
1162
|
+
##### [set_context](https://github.com/appium/ruby_lib/blob/24660355c3fa5e5e8691922e1570021fce90b96b/lib/appium_lib/device/device.rb#L563)
|
1163
1163
|
|
1164
1164
|
> def set_context
|
1165
1165
|
|
@@ -1174,7 +1174,7 @@ __Parameters:__
|
|
1174
1174
|
|
1175
1175
|
--
|
1176
1176
|
|
1177
|
-
##### [current_context](https://github.com/appium/ruby_lib/blob/
|
1177
|
+
##### [current_context](https://github.com/appium/ruby_lib/blob/24660355c3fa5e5e8691922e1570021fce90b96b/lib/appium_lib/device/device.rb#L571)
|
1178
1178
|
|
1179
1179
|
> def current_context
|
1180
1180
|
|
@@ -1186,7 +1186,7 @@ __Returns:__
|
|
1186
1186
|
|
1187
1187
|
--
|
1188
1188
|
|
1189
|
-
##### [available_contexts](https://github.com/appium/ruby_lib/blob/
|
1189
|
+
##### [available_contexts](https://github.com/appium/ruby_lib/blob/24660355c3fa5e5e8691922e1570021fce90b96b/lib/appium_lib/device/device.rb#L574)
|
1190
1190
|
|
1191
1191
|
> def available_contexts
|
1192
1192
|
|
@@ -1198,7 +1198,7 @@ __Returns:__
|
|
1198
1198
|
|
1199
1199
|
--
|
1200
1200
|
|
1201
|
-
##### [within_context](https://github.com/appium/ruby_lib/blob/
|
1201
|
+
##### [within_context](https://github.com/appium/ruby_lib/blob/24660355c3fa5e5e8691922e1570021fce90b96b/lib/appium_lib/device/device.rb#L584)
|
1202
1202
|
|
1203
1203
|
> def within_context(context)
|
1204
1204
|
|
@@ -1214,7 +1214,7 @@ __Parameters:__
|
|
1214
1214
|
|
1215
1215
|
--
|
1216
1216
|
|
1217
|
-
##### [switch_to_default_context](https://github.com/appium/ruby_lib/blob/
|
1217
|
+
##### [switch_to_default_context](https://github.com/appium/ruby_lib/blob/24660355c3fa5e5e8691922e1570021fce90b96b/lib/appium_lib/device/device.rb#L592)
|
1218
1218
|
|
1219
1219
|
> def switch_to_default_context
|
1220
1220
|
|
@@ -1222,7 +1222,7 @@ Change to the default context. This is equivalent to `set_context nil`.
|
|
1222
1222
|
|
1223
1223
|
--
|
1224
1224
|
|
1225
|
-
##### [pinch](https://github.com/appium/ruby_lib/blob/
|
1225
|
+
##### [pinch](https://github.com/appium/ruby_lib/blob/24660355c3fa5e5e8691922e1570021fce90b96b/lib/appium_lib/device/multi_touch.rb#L28)
|
1226
1226
|
|
1227
1227
|
> def pinch(percentage = 25, auto_perform = true)
|
1228
1228
|
|
@@ -1241,7 +1241,7 @@ __Parameters:__
|
|
1241
1241
|
|
1242
1242
|
--
|
1243
1243
|
|
1244
|
-
##### [zoom](https://github.com/appium/ruby_lib/blob/
|
1244
|
+
##### [zoom](https://github.com/appium/ruby_lib/blob/24660355c3fa5e5e8691922e1570021fce90b96b/lib/appium_lib/device/multi_touch.rb#L57)
|
1245
1245
|
|
1246
1246
|
> def zoom(percentage = 200, auto_perform = true)
|
1247
1247
|
|
@@ -1260,7 +1260,7 @@ __Parameters:__
|
|
1260
1260
|
|
1261
1261
|
--
|
1262
1262
|
|
1263
|
-
##### [pinch_for_xcuitest](https://github.com/appium/ruby_lib/blob/
|
1263
|
+
##### [pinch_for_xcuitest](https://github.com/appium/ruby_lib/blob/24660355c3fa5e5e8691922e1570021fce90b96b/lib/appium_lib/device/multi_touch.rb#L79)
|
1264
1264
|
|
1265
1265
|
> def pinch_for_xcuitest(rate)
|
1266
1266
|
|
@@ -1268,7 +1268,7 @@ __Parameters:__
|
|
1268
1268
|
|
1269
1269
|
--
|
1270
1270
|
|
1271
|
-
##### [pinch_android](https://github.com/appium/ruby_lib/blob/
|
1271
|
+
##### [pinch_android](https://github.com/appium/ruby_lib/blob/24660355c3fa5e5e8691922e1570021fce90b96b/lib/appium_lib/device/multi_touch.rb#L94)
|
1272
1272
|
|
1273
1273
|
> def pinch_android(rate)
|
1274
1274
|
|
@@ -1276,7 +1276,7 @@ __Parameters:__
|
|
1276
1276
|
|
1277
1277
|
--
|
1278
1278
|
|
1279
|
-
##### [pinch_ios](https://github.com/appium/ruby_lib/blob/
|
1279
|
+
##### [pinch_ios](https://github.com/appium/ruby_lib/blob/24660355c3fa5e5e8691922e1570021fce90b96b/lib/appium_lib/device/multi_touch.rb#L108)
|
1280
1280
|
|
1281
1281
|
> def pinch_ios(rate)
|
1282
1282
|
|
@@ -1284,7 +1284,7 @@ __Parameters:__
|
|
1284
1284
|
|
1285
1285
|
--
|
1286
1286
|
|
1287
|
-
##### [zoom_for_xcuitest](https://github.com/appium/ruby_lib/blob/
|
1287
|
+
##### [zoom_for_xcuitest](https://github.com/appium/ruby_lib/blob/24660355c3fa5e5e8691922e1570021fce90b96b/lib/appium_lib/device/multi_touch.rb#L122)
|
1288
1288
|
|
1289
1289
|
> def zoom_for_xcuitest(rate)
|
1290
1290
|
|
@@ -1292,7 +1292,7 @@ __Parameters:__
|
|
1292
1292
|
|
1293
1293
|
--
|
1294
1294
|
|
1295
|
-
##### [zoom_android](https://github.com/appium/ruby_lib/blob/
|
1295
|
+
##### [zoom_android](https://github.com/appium/ruby_lib/blob/24660355c3fa5e5e8691922e1570021fce90b96b/lib/appium_lib/device/multi_touch.rb#L137)
|
1296
1296
|
|
1297
1297
|
> def zoom_android(rate)
|
1298
1298
|
|
@@ -1300,7 +1300,7 @@ __Parameters:__
|
|
1300
1300
|
|
1301
1301
|
--
|
1302
1302
|
|
1303
|
-
##### [zoom_ios](https://github.com/appium/ruby_lib/blob/
|
1303
|
+
##### [zoom_ios](https://github.com/appium/ruby_lib/blob/24660355c3fa5e5e8691922e1570021fce90b96b/lib/appium_lib/device/multi_touch.rb#L151)
|
1304
1304
|
|
1305
1305
|
> def zoom_ios(rate)
|
1306
1306
|
|
@@ -1308,7 +1308,7 @@ __Parameters:__
|
|
1308
1308
|
|
1309
1309
|
--
|
1310
1310
|
|
1311
|
-
##### [actions](https://github.com/appium/ruby_lib/blob/
|
1311
|
+
##### [actions](https://github.com/appium/ruby_lib/blob/24660355c3fa5e5e8691922e1570021fce90b96b/lib/appium_lib/device/multi_touch.rb#L166)
|
1312
1312
|
|
1313
1313
|
> def actions
|
1314
1314
|
|
@@ -1316,7 +1316,7 @@ self
|
|
1316
1316
|
|
1317
1317
|
--
|
1318
1318
|
|
1319
|
-
##### [initialize](https://github.com/appium/ruby_lib/blob/
|
1319
|
+
##### [initialize](https://github.com/appium/ruby_lib/blob/24660355c3fa5e5e8691922e1570021fce90b96b/lib/appium_lib/device/multi_touch.rb#L169)
|
1320
1320
|
|
1321
1321
|
> def initialize
|
1322
1322
|
|
@@ -1328,7 +1328,7 @@ __Returns:__
|
|
1328
1328
|
|
1329
1329
|
--
|
1330
1330
|
|
1331
|
-
##### [add](https://github.com/appium/ruby_lib/blob/
|
1331
|
+
##### [add](https://github.com/appium/ruby_lib/blob/24660355c3fa5e5e8691922e1570021fce90b96b/lib/appium_lib/device/multi_touch.rb#L175)
|
1332
1332
|
|
1333
1333
|
> def add(chain)
|
1334
1334
|
|
@@ -1340,7 +1340,7 @@ __Parameters:__
|
|
1340
1340
|
|
1341
1341
|
--
|
1342
1342
|
|
1343
|
-
##### [perform](https://github.com/appium/ruby_lib/blob/
|
1343
|
+
##### [perform](https://github.com/appium/ruby_lib/blob/24660355c3fa5e5e8691922e1570021fce90b96b/lib/appium_lib/device/multi_touch.rb#L180)
|
1344
1344
|
|
1345
1345
|
> def perform
|
1346
1346
|
|
@@ -1348,7 +1348,7 @@ Ask Appium to perform the actions
|
|
1348
1348
|
|
1349
1349
|
--
|
1350
1350
|
|
1351
|
-
##### [ACTIONS](https://github.com/appium/ruby_lib/blob/
|
1351
|
+
##### [ACTIONS](https://github.com/appium/ruby_lib/blob/24660355c3fa5e5e8691922e1570021fce90b96b/lib/appium_lib/device/touch_actions.rb#L20)
|
1352
1352
|
|
1353
1353
|
> ACTIONS = [:move_to, :long_press, :double_tap, :two_finger_tap, :press, :release, :tap, :wait, :perform].freeze
|
1354
1354
|
|
@@ -1356,7 +1356,7 @@ Ask Appium to perform the actions
|
|
1356
1356
|
|
1357
1357
|
--
|
1358
1358
|
|
1359
|
-
##### [COMPLEX_ACTIONS](https://github.com/appium/ruby_lib/blob/
|
1359
|
+
##### [COMPLEX_ACTIONS](https://github.com/appium/ruby_lib/blob/24660355c3fa5e5e8691922e1570021fce90b96b/lib/appium_lib/device/touch_actions.rb#L21)
|
1360
1360
|
|
1361
1361
|
> COMPLEX_ACTIONS = [:swipe].freeze
|
1362
1362
|
|
@@ -1364,7 +1364,7 @@ Ask Appium to perform the actions
|
|
1364
1364
|
|
1365
1365
|
--
|
1366
1366
|
|
1367
|
-
##### [actions](https://github.com/appium/ruby_lib/blob/
|
1367
|
+
##### [actions](https://github.com/appium/ruby_lib/blob/24660355c3fa5e5e8691922e1570021fce90b96b/lib/appium_lib/device/touch_actions.rb#L35)
|
1368
1368
|
|
1369
1369
|
> def actions
|
1370
1370
|
|
@@ -1372,7 +1372,7 @@ Returns the value of attribute actions
|
|
1372
1372
|
|
1373
1373
|
--
|
1374
1374
|
|
1375
|
-
##### [initialize](https://github.com/appium/ruby_lib/blob/
|
1375
|
+
##### [initialize](https://github.com/appium/ruby_lib/blob/24660355c3fa5e5e8691922e1570021fce90b96b/lib/appium_lib/device/touch_actions.rb#L37)
|
1376
1376
|
|
1377
1377
|
> def initialize
|
1378
1378
|
|
@@ -1384,7 +1384,7 @@ __Returns:__
|
|
1384
1384
|
|
1385
1385
|
--
|
1386
1386
|
|
1387
|
-
##### [move_to](https://github.com/appium/ruby_lib/blob/
|
1387
|
+
##### [move_to](https://github.com/appium/ruby_lib/blob/24660355c3fa5e5e8691922e1570021fce90b96b/lib/appium_lib/device/touch_actions.rb#L48)
|
1388
1388
|
|
1389
1389
|
> def move_to(opts)
|
1390
1390
|
|
@@ -1398,7 +1398,7 @@ __Parameters:__
|
|
1398
1398
|
|
1399
1399
|
--
|
1400
1400
|
|
1401
|
-
##### [long_press](https://github.com/appium/ruby_lib/blob/
|
1401
|
+
##### [long_press](https://github.com/appium/ruby_lib/blob/24660355c3fa5e5e8691922e1570021fce90b96b/lib/appium_lib/device/touch_actions.rb#L62)
|
1402
1402
|
|
1403
1403
|
> def long_press(opts)
|
1404
1404
|
|
@@ -1419,7 +1419,7 @@ __Parameters:__
|
|
1419
1419
|
|
1420
1420
|
--
|
1421
1421
|
|
1422
|
-
##### [press](https://github.com/appium/ruby_lib/blob/
|
1422
|
+
##### [press](https://github.com/appium/ruby_lib/blob/24660355c3fa5e5e8691922e1570021fce90b96b/lib/appium_lib/device/touch_actions.rb#L74)
|
1423
1423
|
|
1424
1424
|
> def press(opts)
|
1425
1425
|
|
@@ -1432,7 +1432,7 @@ __Parameters:__
|
|
1432
1432
|
|
1433
1433
|
--
|
1434
1434
|
|
1435
|
-
##### [release](https://github.com/appium/ruby_lib/blob/
|
1435
|
+
##### [release](https://github.com/appium/ruby_lib/blob/24660355c3fa5e5e8691922e1570021fce90b96b/lib/appium_lib/device/touch_actions.rb#L85)
|
1436
1436
|
|
1437
1437
|
> def release(opts = nil)
|
1438
1438
|
|
@@ -1444,7 +1444,7 @@ __Parameters:__
|
|
1444
1444
|
|
1445
1445
|
--
|
1446
1446
|
|
1447
|
-
##### [tap](https://github.com/appium/ruby_lib/blob/
|
1447
|
+
##### [tap](https://github.com/appium/ruby_lib/blob/24660355c3fa5e5e8691922e1570021fce90b96b/lib/appium_lib/device/touch_actions.rb#L97)
|
1448
1448
|
|
1449
1449
|
> def tap(opts)
|
1450
1450
|
|
@@ -1457,7 +1457,7 @@ __Parameters:__
|
|
1457
1457
|
|
1458
1458
|
--
|
1459
1459
|
|
1460
|
-
##### [double_tap](https://github.com/appium/ruby_lib/blob/
|
1460
|
+
##### [double_tap](https://github.com/appium/ruby_lib/blob/24660355c3fa5e5e8691922e1570021fce90b96b/lib/appium_lib/device/touch_actions.rb#L110)
|
1461
1461
|
|
1462
1462
|
> def double_tap(opts)
|
1463
1463
|
|
@@ -1469,7 +1469,7 @@ __Parameters:__
|
|
1469
1469
|
|
1470
1470
|
--
|
1471
1471
|
|
1472
|
-
##### [two_finger_tap](https://github.com/appium/ruby_lib/blob/
|
1472
|
+
##### [two_finger_tap](https://github.com/appium/ruby_lib/blob/24660355c3fa5e5e8691922e1570021fce90b96b/lib/appium_lib/device/touch_actions.rb#L121)
|
1473
1473
|
|
1474
1474
|
> def two_finger_tap(opts)
|
1475
1475
|
|
@@ -1481,7 +1481,7 @@ __Parameters:__
|
|
1481
1481
|
|
1482
1482
|
--
|
1483
1483
|
|
1484
|
-
##### [wait](https://github.com/appium/ruby_lib/blob/
|
1484
|
+
##### [wait](https://github.com/appium/ruby_lib/blob/24660355c3fa5e5e8691922e1570021fce90b96b/lib/appium_lib/device/touch_actions.rb#L129)
|
1485
1485
|
|
1486
1486
|
> def wait(milliseconds)
|
1487
1487
|
|
@@ -1493,7 +1493,7 @@ __Parameters:__
|
|
1493
1493
|
|
1494
1494
|
--
|
1495
1495
|
|
1496
|
-
##### [swipe](https://github.com/appium/ruby_lib/blob/
|
1496
|
+
##### [swipe](https://github.com/appium/ruby_lib/blob/24660355c3fa5e5e8691922e1570021fce90b96b/lib/appium_lib/device/touch_actions.rb#L152)
|
1497
1497
|
|
1498
1498
|
> def swipe(opts, ele = nil)
|
1499
1499
|
|
@@ -1514,7 +1514,7 @@ __Parameters:__
|
|
1514
1514
|
|
1515
1515
|
--
|
1516
1516
|
|
1517
|
-
##### [perform](https://github.com/appium/ruby_lib/blob/
|
1517
|
+
##### [perform](https://github.com/appium/ruby_lib/blob/24660355c3fa5e5e8691922e1570021fce90b96b/lib/appium_lib/device/touch_actions.rb#L177)
|
1518
1518
|
|
1519
1519
|
> def perform
|
1520
1520
|
|
@@ -1522,7 +1522,7 @@ Ask the driver to perform all actions in this action chain.
|
|
1522
1522
|
|
1523
1523
|
--
|
1524
1524
|
|
1525
|
-
##### [cancel](https://github.com/appium/ruby_lib/blob/
|
1525
|
+
##### [cancel](https://github.com/appium/ruby_lib/blob/24660355c3fa5e5e8691922e1570021fce90b96b/lib/appium_lib/device/touch_actions.rb#L184)
|
1526
1526
|
|
1527
1527
|
> def cancel
|
1528
1528
|
|
@@ -1530,7 +1530,7 @@ Does nothing, currently.
|
|
1530
1530
|
|
1531
1531
|
--
|
1532
1532
|
|
1533
|
-
##### [swipe_coordinates](https://github.com/appium/ruby_lib/blob/
|
1533
|
+
##### [swipe_coordinates](https://github.com/appium/ruby_lib/blob/24660355c3fa5e5e8691922e1570021fce90b96b/lib/appium_lib/device/touch_actions.rb#L190)
|
1534
1534
|
|
1535
1535
|
> def swipe_coordinates(end_x: nil, end_y: nil, offset_x: nil, offset_y: nil)
|
1536
1536
|
|
@@ -1538,7 +1538,7 @@ Does nothing, currently.
|
|
1538
1538
|
|
1539
1539
|
--
|
1540
1540
|
|
1541
|
-
##### [chain_method](https://github.com/appium/ruby_lib/blob/
|
1541
|
+
##### [chain_method](https://github.com/appium/ruby_lib/blob/24660355c3fa5e5e8691922e1570021fce90b96b/lib/appium_lib/device/touch_actions.rb#L208)
|
1542
1542
|
|
1543
1543
|
> def chain_method(method, args = nil)
|
1544
1544
|
|
@@ -1546,7 +1546,7 @@ Does nothing, currently.
|
|
1546
1546
|
|
1547
1547
|
--
|
1548
1548
|
|
1549
|
-
##### [args_with_ele_ref](https://github.com/appium/ruby_lib/blob/
|
1549
|
+
##### [args_with_ele_ref](https://github.com/appium/ruby_lib/blob/24660355c3fa5e5e8691922e1570021fce90b96b/lib/appium_lib/device/touch_actions.rb#L214)
|
1550
1550
|
|
1551
1551
|
> def args_with_ele_ref(args)
|
1552
1552
|
|
@@ -1554,7 +1554,7 @@ Does nothing, currently.
|
|
1554
1554
|
|
1555
1555
|
--
|
1556
1556
|
|
1557
|
-
##### [_generic_wait](https://github.com/appium/ruby_lib/blob/
|
1557
|
+
##### [_generic_wait](https://github.com/appium/ruby_lib/blob/24660355c3fa5e5e8691922e1570021fce90b96b/lib/appium_lib/common/wait.rb#L9)
|
1558
1558
|
|
1559
1559
|
> def _generic_wait(opts = {})
|
1560
1560
|
|
@@ -1563,7 +1563,7 @@ https://github.com/SeleniumHQ/selenium/blob/cf501dda3f0ed12233de51ce8170c0e8090f
|
|
1563
1563
|
|
1564
1564
|
--
|
1565
1565
|
|
1566
|
-
##### [_process_wait_opts](https://github.com/appium/ruby_lib/blob/
|
1566
|
+
##### [_process_wait_opts](https://github.com/appium/ruby_lib/blob/24660355c3fa5e5e8691922e1570021fce90b96b/lib/appium_lib/common/wait.rb#L48)
|
1567
1567
|
|
1568
1568
|
> def _process_wait_opts(opts)
|
1569
1569
|
|
@@ -1571,7 +1571,7 @@ process opts before calling _generic_wait
|
|
1571
1571
|
|
1572
1572
|
--
|
1573
1573
|
|
1574
|
-
##### [wait_true](https://github.com/appium/ruby_lib/blob/
|
1574
|
+
##### [wait_true](https://github.com/appium/ruby_lib/blob/24660355c3fa5e5e8691922e1570021fce90b96b/lib/appium_lib/common/wait.rb#L69)
|
1575
1575
|
|
1576
1576
|
> def wait_true(opts = {}, &block)
|
1577
1577
|
|
@@ -1591,7 +1591,7 @@ __Parameters:__
|
|
1591
1591
|
|
1592
1592
|
--
|
1593
1593
|
|
1594
|
-
##### [wait](https://github.com/appium/ruby_lib/blob/
|
1594
|
+
##### [wait](https://github.com/appium/ruby_lib/blob/24660355c3fa5e5e8691922e1570021fce90b96b/lib/appium_lib/common/wait.rb#L87)
|
1595
1595
|
|
1596
1596
|
> def wait(opts = {}, &block)
|
1597
1597
|
|
@@ -1609,7 +1609,7 @@ __Parameters:__
|
|
1609
1609
|
|
1610
1610
|
--
|
1611
1611
|
|
1612
|
-
##### [ignore](https://github.com/appium/ruby_lib/blob/
|
1612
|
+
##### [ignore](https://github.com/appium/ruby_lib/blob/24660355c3fa5e5e8691922e1570021fce90b96b/lib/appium_lib/common/helper.rb#L24)
|
1613
1613
|
|
1614
1614
|
> def ignore
|
1615
1615
|
|
@@ -1617,7 +1617,7 @@ Return yield and ignore any exceptions.
|
|
1617
1617
|
|
1618
1618
|
--
|
1619
1619
|
|
1620
|
-
##### [back](https://github.com/appium/ruby_lib/blob/
|
1620
|
+
##### [back](https://github.com/appium/ruby_lib/blob/24660355c3fa5e5e8691922e1570021fce90b96b/lib/appium_lib/common/helper.rb#L31)
|
1621
1621
|
|
1622
1622
|
> def back
|
1623
1623
|
|
@@ -1629,7 +1629,7 @@ __Returns:__
|
|
1629
1629
|
|
1630
1630
|
--
|
1631
1631
|
|
1632
|
-
##### [session_id](https://github.com/appium/ruby_lib/blob/
|
1632
|
+
##### [session_id](https://github.com/appium/ruby_lib/blob/24660355c3fa5e5e8691922e1570021fce90b96b/lib/appium_lib/common/helper.rb#L36)
|
1633
1633
|
|
1634
1634
|
> def session_id
|
1635
1635
|
|
@@ -1637,7 +1637,7 @@ For Sauce Labs reporting. Returns the current session id.
|
|
1637
1637
|
|
1638
1638
|
--
|
1639
1639
|
|
1640
|
-
##### [xpath](https://github.com/appium/ruby_lib/blob/
|
1640
|
+
##### [xpath](https://github.com/appium/ruby_lib/blob/24660355c3fa5e5e8691922e1570021fce90b96b/lib/appium_lib/common/helper.rb#L44)
|
1641
1641
|
|
1642
1642
|
> def xpath(xpath_str)
|
1643
1643
|
|
@@ -1653,7 +1653,7 @@ __Returns:__
|
|
1653
1653
|
|
1654
1654
|
--
|
1655
1655
|
|
1656
|
-
##### [xpaths](https://github.com/appium/ruby_lib/blob/
|
1656
|
+
##### [xpaths](https://github.com/appium/ruby_lib/blob/24660355c3fa5e5e8691922e1570021fce90b96b/lib/appium_lib/common/helper.rb#L52)
|
1657
1657
|
|
1658
1658
|
> def xpaths(xpath_str)
|
1659
1659
|
|
@@ -1669,7 +1669,7 @@ __Returns:__
|
|
1669
1669
|
|
1670
1670
|
--
|
1671
1671
|
|
1672
|
-
##### [_print_source](https://github.com/appium/ruby_lib/blob/
|
1672
|
+
##### [_print_source](https://github.com/appium/ruby_lib/blob/24660355c3fa5e5e8691922e1570021fce90b96b/lib/appium_lib/common/helper.rb#L56)
|
1673
1673
|
|
1674
1674
|
> def _print_source(source)
|
1675
1675
|
|
@@ -1677,7 +1677,7 @@ __Returns:__
|
|
1677
1677
|
|
1678
1678
|
--
|
1679
1679
|
|
1680
|
-
##### [result](https://github.com/appium/ruby_lib/blob/
|
1680
|
+
##### [result](https://github.com/appium/ruby_lib/blob/24660355c3fa5e5e8691922e1570021fce90b96b/lib/appium_lib/common/helper.rb#L69)
|
1681
1681
|
|
1682
1682
|
> def result
|
1683
1683
|
|
@@ -1685,7 +1685,7 @@ Returns the value of attribute result
|
|
1685
1685
|
|
1686
1686
|
--
|
1687
1687
|
|
1688
|
-
##### [initialize](https://github.com/appium/ruby_lib/blob/
|
1688
|
+
##### [initialize](https://github.com/appium/ruby_lib/blob/24660355c3fa5e5e8691922e1570021fce90b96b/lib/appium_lib/common/helper.rb#L71)
|
1689
1689
|
|
1690
1690
|
> def initialize
|
1691
1691
|
|
@@ -1697,7 +1697,7 @@ __Returns:__
|
|
1697
1697
|
|
1698
1698
|
--
|
1699
1699
|
|
1700
|
-
##### [reset](https://github.com/appium/ruby_lib/blob/
|
1700
|
+
##### [reset](https://github.com/appium/ruby_lib/blob/24660355c3fa5e5e8691922e1570021fce90b96b/lib/appium_lib/common/helper.rb#L75)
|
1701
1701
|
|
1702
1702
|
> def reset
|
1703
1703
|
|
@@ -1705,7 +1705,7 @@ __Returns:__
|
|
1705
1705
|
|
1706
1706
|
--
|
1707
1707
|
|
1708
|
-
##### [start_element](https://github.com/appium/ruby_lib/blob/
|
1708
|
+
##### [start_element](https://github.com/appium/ruby_lib/blob/24660355c3fa5e5e8691922e1570021fce90b96b/lib/appium_lib/common/helper.rb#L80)
|
1709
1709
|
|
1710
1710
|
> def start_element(name, attrs = [])
|
1711
1711
|
|
@@ -1713,7 +1713,7 @@ http://nokogiri.org/Nokogiri/XML/SAX/Document.html
|
|
1713
1713
|
|
1714
1714
|
--
|
1715
1715
|
|
1716
|
-
##### [formatted_result](https://github.com/appium/ruby_lib/blob/
|
1716
|
+
##### [formatted_result](https://github.com/appium/ruby_lib/blob/24660355c3fa5e5e8691922e1570021fce90b96b/lib/appium_lib/common/helper.rb#L86)
|
1717
1717
|
|
1718
1718
|
> def formatted_result
|
1719
1719
|
|
@@ -1721,7 +1721,7 @@ http://nokogiri.org/Nokogiri/XML/SAX/Document.html
|
|
1721
1721
|
|
1722
1722
|
--
|
1723
1723
|
|
1724
|
-
##### [get_page_class](https://github.com/appium/ruby_lib/blob/
|
1724
|
+
##### [get_page_class](https://github.com/appium/ruby_lib/blob/24660355c3fa5e5e8691922e1570021fce90b96b/lib/appium_lib/common/helper.rb#L97)
|
1725
1725
|
|
1726
1726
|
> def get_page_class
|
1727
1727
|
|
@@ -1729,7 +1729,7 @@ Returns a string of class counts of visible elements.
|
|
1729
1729
|
|
1730
1730
|
--
|
1731
1731
|
|
1732
|
-
##### [page_class](https://github.com/appium/ruby_lib/blob/
|
1732
|
+
##### [page_class](https://github.com/appium/ruby_lib/blob/24660355c3fa5e5e8691922e1570021fce90b96b/lib/appium_lib/common/helper.rb#L108)
|
1733
1733
|
|
1734
1734
|
> def page_class
|
1735
1735
|
|
@@ -1738,7 +1738,7 @@ Useful for appium_console.
|
|
1738
1738
|
|
1739
1739
|
--
|
1740
1740
|
|
1741
|
-
##### [px_to_window_rel](https://github.com/appium/ruby_lib/blob/
|
1741
|
+
##### [px_to_window_rel](https://github.com/appium/ruby_lib/blob/24660355c3fa5e5e8691922e1570021fce90b96b/lib/appium_lib/common/helper.rb#L118)
|
1742
1742
|
|
1743
1743
|
> def px_to_window_rel(opts = {})
|
1744
1744
|
|
@@ -1750,7 +1750,7 @@ px_to_window_rel x: 50, y: 150
|
|
1750
1750
|
|
1751
1751
|
--
|
1752
1752
|
|
1753
|
-
##### [xml_keys](https://github.com/appium/ruby_lib/blob/
|
1753
|
+
##### [xml_keys](https://github.com/appium/ruby_lib/blob/24660355c3fa5e5e8691922e1570021fce90b96b/lib/appium_lib/common/helper.rb#L137)
|
1754
1754
|
|
1755
1755
|
> def xml_keys(target)
|
1756
1756
|
|
@@ -1766,7 +1766,7 @@ __Returns:__
|
|
1766
1766
|
|
1767
1767
|
--
|
1768
1768
|
|
1769
|
-
##### [xml_values](https://github.com/appium/ruby_lib/blob/
|
1769
|
+
##### [xml_values](https://github.com/appium/ruby_lib/blob/24660355c3fa5e5e8691922e1570021fce90b96b/lib/appium_lib/common/helper.rb#L145)
|
1770
1770
|
|
1771
1771
|
> def xml_values(target)
|
1772
1772
|
|
@@ -1782,7 +1782,7 @@ __Returns:__
|
|
1782
1782
|
|
1783
1783
|
--
|
1784
1784
|
|
1785
|
-
##### [resolve_id](https://github.com/appium/ruby_lib/blob/
|
1785
|
+
##### [resolve_id](https://github.com/appium/ruby_lib/blob/24660355c3fa5e5e8691922e1570021fce90b96b/lib/appium_lib/common/helper.rb#L153)
|
1786
1786
|
|
1787
1787
|
> def resolve_id(id)
|
1788
1788
|
|
@@ -1798,7 +1798,7 @@ __Returns:__
|
|
1798
1798
|
|
1799
1799
|
--
|
1800
1800
|
|
1801
|
-
##### [filter](https://github.com/appium/ruby_lib/blob/
|
1801
|
+
##### [filter](https://github.com/appium/ruby_lib/blob/24660355c3fa5e5e8691922e1570021fce90b96b/lib/appium_lib/common/helper.rb#L159)
|
1802
1802
|
|
1803
1803
|
> def filter
|
1804
1804
|
|
@@ -1806,7 +1806,7 @@ Returns the value of attribute filter
|
|
1806
1806
|
|
1807
1807
|
--
|
1808
1808
|
|
1809
|
-
##### [filter=](https://github.com/appium/ruby_lib/blob/
|
1809
|
+
##### [filter=](https://github.com/appium/ruby_lib/blob/24660355c3fa5e5e8691922e1570021fce90b96b/lib/appium_lib/common/helper.rb#L162)
|
1810
1810
|
|
1811
1811
|
> def filter=(value)
|
1812
1812
|
|
@@ -1814,7 +1814,7 @@ convert to string to support symbols
|
|
1814
1814
|
|
1815
1815
|
--
|
1816
1816
|
|
1817
|
-
##### [initialize](https://github.com/appium/ruby_lib/blob/
|
1817
|
+
##### [initialize](https://github.com/appium/ruby_lib/blob/24660355c3fa5e5e8691922e1570021fce90b96b/lib/appium_lib/common/helper.rb#L168)
|
1818
1818
|
|
1819
1819
|
> def initialize
|
1820
1820
|
|
@@ -1826,7 +1826,7 @@ __Returns:__
|
|
1826
1826
|
|
1827
1827
|
--
|
1828
1828
|
|
1829
|
-
##### [reset](https://github.com/appium/ruby_lib/blob/
|
1829
|
+
##### [reset](https://github.com/appium/ruby_lib/blob/24660355c3fa5e5e8691922e1570021fce90b96b/lib/appium_lib/common/helper.rb#L173)
|
1830
1830
|
|
1831
1831
|
> def reset
|
1832
1832
|
|
@@ -1834,7 +1834,7 @@ __Returns:__
|
|
1834
1834
|
|
1835
1835
|
--
|
1836
1836
|
|
1837
|
-
##### [result](https://github.com/appium/ruby_lib/blob/
|
1837
|
+
##### [result](https://github.com/appium/ruby_lib/blob/24660355c3fa5e5e8691922e1570021fce90b96b/lib/appium_lib/common/helper.rb#L179)
|
1838
1838
|
|
1839
1839
|
> def result
|
1840
1840
|
|
@@ -1842,7 +1842,7 @@ __Returns:__
|
|
1842
1842
|
|
1843
1843
|
--
|
1844
1844
|
|
1845
|
-
##### [start_element](https://github.com/appium/ruby_lib/blob/
|
1845
|
+
##### [start_element](https://github.com/appium/ruby_lib/blob/24660355c3fa5e5e8691922e1570021fce90b96b/lib/appium_lib/common/helper.rb#L195)
|
1846
1846
|
|
1847
1847
|
> def start_element(name, attrs = [])
|
1848
1848
|
|
@@ -1850,7 +1850,7 @@ __Returns:__
|
|
1850
1850
|
|
1851
1851
|
--
|
1852
1852
|
|
1853
|
-
##### [end_element](https://github.com/appium/ruby_lib/blob/
|
1853
|
+
##### [end_element](https://github.com/appium/ruby_lib/blob/24660355c3fa5e5e8691922e1570021fce90b96b/lib/appium_lib/common/helper.rb#L204)
|
1854
1854
|
|
1855
1855
|
> def end_element(name)
|
1856
1856
|
|
@@ -1858,7 +1858,7 @@ __Returns:__
|
|
1858
1858
|
|
1859
1859
|
--
|
1860
1860
|
|
1861
|
-
##### [characters](https://github.com/appium/ruby_lib/blob/
|
1861
|
+
##### [characters](https://github.com/appium/ruby_lib/blob/24660355c3fa5e5e8691922e1570021fce90b96b/lib/appium_lib/common/helper.rb#L210)
|
1862
1862
|
|
1863
1863
|
> def characters(chars)
|
1864
1864
|
|
@@ -1866,7 +1866,7 @@ __Returns:__
|
|
1866
1866
|
|
1867
1867
|
--
|
1868
1868
|
|
1869
|
-
##### [_no_such_element](https://github.com/appium/ruby_lib/blob/
|
1869
|
+
##### [_no_such_element](https://github.com/appium/ruby_lib/blob/24660355c3fa5e5e8691922e1570021fce90b96b/lib/appium_lib/common/helper.rb#L217)
|
1870
1870
|
|
1871
1871
|
> def _no_such_element
|
1872
1872
|
|
@@ -1874,7 +1874,7 @@ __Returns:__
|
|
1874
1874
|
|
1875
1875
|
--
|
1876
1876
|
|
1877
|
-
##### [COMMAND_NO_ARG](https://github.com/appium/ruby_lib/blob/
|
1877
|
+
##### [COMMAND_NO_ARG](https://github.com/appium/ruby_lib/blob/24660355c3fa5e5e8691922e1570021fce90b96b/lib/appium_lib/common/command.rb#L4)
|
1878
1878
|
|
1879
1879
|
> COMMAND_NO_ARG = {
|
1880
1880
|
|
@@ -1882,7 +1882,7 @@ __Returns:__
|
|
1882
1882
|
|
1883
1883
|
--
|
1884
1884
|
|
1885
|
-
##### [COMMAND](https://github.com/appium/ruby_lib/blob/
|
1885
|
+
##### [COMMAND](https://github.com/appium/ruby_lib/blob/24660355c3fa5e5e8691922e1570021fce90b96b/lib/appium_lib/common/command.rb#L27)
|
1886
1886
|
|
1887
1887
|
> COMMAND = {
|
1888
1888
|
|
@@ -1890,7 +1890,7 @@ __Returns:__
|
|
1890
1890
|
|
1891
1891
|
--
|
1892
1892
|
|
1893
|
-
##### [window_size](https://github.com/appium/ruby_lib/blob/
|
1893
|
+
##### [window_size](https://github.com/appium/ruby_lib/blob/24660355c3fa5e5e8691922e1570021fce90b96b/lib/appium_lib/common/element/window.rb#L5)
|
1894
1894
|
|
1895
1895
|
> def window_size
|
1896
1896
|
|
@@ -1898,7 +1898,7 @@ Get the window's size
|
|
1898
1898
|
|
1899
1899
|
--
|
1900
1900
|
|
1901
|
-
##### [FINDERS](https://github.com/appium/ruby_lib/blob/
|
1901
|
+
##### [FINDERS](https://github.com/appium/ruby_lib/blob/24660355c3fa5e5e8691922e1570021fce90b96b/lib/appium_lib/common/search_context.rb#L5)
|
1902
1902
|
|
1903
1903
|
> FINDERS = {
|
1904
1904
|
|
@@ -1906,7 +1906,7 @@ rubocop:disable Style/MutableConstant
|
|
1906
1906
|
|
1907
1907
|
--
|
1908
1908
|
|
1909
|
-
##### [filter](https://github.com/appium/ruby_lib/blob/
|
1909
|
+
##### [filter](https://github.com/appium/ruby_lib/blob/24660355c3fa5e5e8691922e1570021fce90b96b/lib/appium_lib/ios/helper.rb#L4) ios
|
1910
1910
|
|
1911
1911
|
> def filter
|
1912
1912
|
|
@@ -1914,7 +1914,7 @@ Returns the value of attribute filter
|
|
1914
1914
|
|
1915
1915
|
--
|
1916
1916
|
|
1917
|
-
##### [filter=](https://github.com/appium/ruby_lib/blob/
|
1917
|
+
##### [filter=](https://github.com/appium/ruby_lib/blob/24660355c3fa5e5e8691922e1570021fce90b96b/lib/appium_lib/ios/helper.rb#L4) ios
|
1918
1918
|
|
1919
1919
|
> def filter=(value)
|
1920
1920
|
|
@@ -1926,7 +1926,7 @@ __Parameters:__
|
|
1926
1926
|
|
1927
1927
|
--
|
1928
1928
|
|
1929
|
-
##### [start_element](https://github.com/appium/ruby_lib/blob/
|
1929
|
+
##### [start_element](https://github.com/appium/ruby_lib/blob/24660355c3fa5e5e8691922e1570021fce90b96b/lib/appium_lib/ios/helper.rb#L6) ios
|
1930
1930
|
|
1931
1931
|
> def start_element(type, attrs = [])
|
1932
1932
|
|
@@ -1934,7 +1934,7 @@ __Parameters:__
|
|
1934
1934
|
|
1935
1935
|
--
|
1936
1936
|
|
1937
|
-
##### [_print_attr](https://github.com/appium/ruby_lib/blob/
|
1937
|
+
##### [_print_attr](https://github.com/appium/ruby_lib/blob/24660355c3fa5e5e8691922e1570021fce90b96b/lib/appium_lib/ios/helper.rb#L15) ios
|
1938
1938
|
|
1939
1939
|
> def _print_attr(type, name, label, value, hint)
|
1940
1940
|
|
@@ -1942,7 +1942,7 @@ __Parameters:__
|
|
1942
1942
|
|
1943
1943
|
--
|
1944
1944
|
|
1945
|
-
##### [ios_password](https://github.com/appium/ruby_lib/blob/
|
1945
|
+
##### [ios_password](https://github.com/appium/ruby_lib/blob/24660355c3fa5e5e8691922e1570021fce90b96b/lib/appium_lib/ios/helper.rb#L41) ios
|
1946
1946
|
|
1947
1947
|
> def ios_password(length = 1)
|
1948
1948
|
|
@@ -1960,7 +1960,7 @@ __Returns:__
|
|
1960
1960
|
|
1961
1961
|
--
|
1962
1962
|
|
1963
|
-
##### [get_page](https://github.com/appium/ruby_lib/blob/
|
1963
|
+
##### [get_page](https://github.com/appium/ruby_lib/blob/24660355c3fa5e5e8691922e1570021fce90b96b/lib/appium_lib/ios/helper.rb#L53) ios
|
1964
1964
|
|
1965
1965
|
> def get_page(element = source_window(0), class_name = nil)
|
1966
1966
|
|
@@ -1981,7 +1981,7 @@ __Returns:__
|
|
1981
1981
|
|
1982
1982
|
--
|
1983
1983
|
|
1984
|
-
##### [page](https://github.com/appium/ruby_lib/blob/
|
1984
|
+
##### [page](https://github.com/appium/ruby_lib/blob/24660355c3fa5e5e8691922e1570021fce90b96b/lib/appium_lib/ios/helper.rb#L139) ios
|
1985
1985
|
|
1986
1986
|
> def page(opts = {})
|
1987
1987
|
|
@@ -2007,7 +2007,7 @@ __Returns:__
|
|
2007
2007
|
|
2008
2008
|
--
|
2009
2009
|
|
2010
|
-
##### [source_window](https://github.com/appium/ruby_lib/blob/
|
2010
|
+
##### [source_window](https://github.com/appium/ruby_lib/blob/24660355c3fa5e5e8691922e1570021fce90b96b/lib/appium_lib/ios/helper.rb#L170) ios
|
2011
2011
|
|
2012
2012
|
> def source_window(_window_number = 0)
|
2013
2013
|
|
@@ -2023,7 +2023,7 @@ __Returns:__
|
|
2023
2023
|
|
2024
2024
|
--
|
2025
2025
|
|
2026
|
-
##### [page_window](https://github.com/appium/ruby_lib/blob/
|
2026
|
+
##### [page_window](https://github.com/appium/ruby_lib/blob/24660355c3fa5e5e8691922e1570021fce90b96b/lib/appium_lib/ios/helper.rb#L185) ios
|
2027
2027
|
|
2028
2028
|
> def page_window(window_number = 0)
|
2029
2029
|
|
@@ -2041,7 +2041,7 @@ __Returns:__
|
|
2041
2041
|
|
2042
2042
|
--
|
2043
2043
|
|
2044
|
-
##### [id](https://github.com/appium/ruby_lib/blob/
|
2044
|
+
##### [id](https://github.com/appium/ruby_lib/blob/24660355c3fa5e5e8691922e1570021fce90b96b/lib/appium_lib/ios/helper.rb#L193) ios
|
2045
2045
|
|
2046
2046
|
> def id(id)
|
2047
2047
|
|
@@ -2057,7 +2057,7 @@ __Returns:__
|
|
2057
2057
|
|
2058
2058
|
--
|
2059
2059
|
|
2060
|
-
##### [ios_version](https://github.com/appium/ruby_lib/blob/
|
2060
|
+
##### [ios_version](https://github.com/appium/ruby_lib/blob/24660355c3fa5e5e8691922e1570021fce90b96b/lib/appium_lib/ios/helper.rb#L199) ios
|
2061
2061
|
|
2062
2062
|
> def ios_version
|
2063
2063
|
|
@@ -2069,7 +2069,7 @@ __Returns:__
|
|
2069
2069
|
|
2070
2070
|
--
|
2071
2071
|
|
2072
|
-
##### [ele_index](https://github.com/appium/ruby_lib/blob/
|
2072
|
+
##### [ele_index](https://github.com/appium/ruby_lib/blob/24660355c3fa5e5e8691922e1570021fce90b96b/lib/appium_lib/ios/helper.rb#L212) ios
|
2073
2073
|
|
2074
2074
|
> def ele_index(class_name, index)
|
2075
2075
|
|
@@ -2087,7 +2087,7 @@ __Returns:__
|
|
2087
2087
|
|
2088
2088
|
--
|
2089
2089
|
|
2090
|
-
##### [find_ele_by_attr](https://github.com/appium/ruby_lib/blob/
|
2090
|
+
##### [find_ele_by_attr](https://github.com/appium/ruby_lib/blob/24660355c3fa5e5e8691922e1570021fce90b96b/lib/appium_lib/ios/helper.rb#L248) ios
|
2091
2091
|
|
2092
2092
|
> def find_ele_by_attr(class_name, attr, value)
|
2093
2093
|
|
@@ -2109,7 +2109,7 @@ __Returns:__
|
|
2109
2109
|
|
2110
2110
|
--
|
2111
2111
|
|
2112
|
-
##### [find_eles_by_attr](https://github.com/appium/ruby_lib/blob/
|
2112
|
+
##### [find_eles_by_attr](https://github.com/appium/ruby_lib/blob/24660355c3fa5e5e8691922e1570021fce90b96b/lib/appium_lib/ios/helper.rb#L259) ios
|
2113
2113
|
|
2114
2114
|
> def find_eles_by_attr(class_name, attr, value)
|
2115
2115
|
|
@@ -2131,7 +2131,7 @@ __Returns:__
|
|
2131
2131
|
|
2132
2132
|
--
|
2133
2133
|
|
2134
|
-
##### [find_ele_by_predicate](https://github.com/appium/ruby_lib/blob/
|
2134
|
+
##### [find_ele_by_predicate](https://github.com/appium/ruby_lib/blob/24660355c3fa5e5e8691922e1570021fce90b96b/lib/appium_lib/ios/helper.rb#L280) ios
|
2135
2135
|
|
2136
2136
|
> def find_ele_by_predicate(class_name: '*', value:)
|
2137
2137
|
|
@@ -2148,7 +2148,7 @@ __Returns:__
|
|
2148
2148
|
|
2149
2149
|
--
|
2150
2150
|
|
2151
|
-
##### [find_eles_by_predicate](https://github.com/appium/ruby_lib/blob/
|
2151
|
+
##### [find_eles_by_predicate](https://github.com/appium/ruby_lib/blob/24660355c3fa5e5e8691922e1570021fce90b96b/lib/appium_lib/ios/helper.rb#L291) ios
|
2152
2152
|
|
2153
2153
|
> def find_eles_by_predicate(class_name: '*', value:)
|
2154
2154
|
|
@@ -2167,7 +2167,7 @@ __Returns:__
|
|
2167
2167
|
|
2168
2168
|
--
|
2169
2169
|
|
2170
|
-
##### [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/24660355c3fa5e5e8691922e1570021fce90b96b/lib/appium_lib/ios/helper.rb#L307) ios
|
2171
2171
|
|
2172
2172
|
> def find_ele_by_attr_include(class_name, attr, value)
|
2173
2173
|
|
@@ -2188,7 +2188,7 @@ __Returns:__
|
|
2188
2188
|
|
2189
2189
|
--
|
2190
2190
|
|
2191
|
-
##### [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/24660355c3fa5e5e8691922e1570021fce90b96b/lib/appium_lib/ios/helper.rb#L317) ios
|
2192
2192
|
|
2193
2193
|
> def find_eles_by_attr_include(class_name, attr, value)
|
2194
2194
|
|
@@ -2209,7 +2209,7 @@ __Returns:__
|
|
2209
2209
|
|
2210
2210
|
--
|
2211
2211
|
|
2212
|
-
##### [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/24660355c3fa5e5e8691922e1570021fce90b96b/lib/appium_lib/ios/helper.rb#L325) ios
|
2213
2213
|
|
2214
2214
|
> def find_ele_by_predicate_include(class_name: '*', value:)
|
2215
2215
|
|
@@ -2226,7 +2226,7 @@ __Returns:__
|
|
2226
2226
|
|
2227
2227
|
--
|
2228
2228
|
|
2229
|
-
##### [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/24660355c3fa5e5e8691922e1570021fce90b96b/lib/appium_lib/ios/helper.rb#L336) ios
|
2230
2230
|
|
2231
2231
|
> def find_eles_by_predicate_include(class_name: '*', value:)
|
2232
2232
|
|
@@ -2245,7 +2245,7 @@ __Returns:__
|
|
2245
2245
|
|
2246
2246
|
--
|
2247
2247
|
|
2248
|
-
##### [first_ele](https://github.com/appium/ruby_lib/blob/
|
2248
|
+
##### [first_ele](https://github.com/appium/ruby_lib/blob/24660355c3fa5e5e8691922e1570021fce90b96b/lib/appium_lib/ios/helper.rb#L349) ios
|
2249
2249
|
|
2250
2250
|
> def first_ele(class_name)
|
2251
2251
|
|
@@ -2261,7 +2261,7 @@ __Returns:__
|
|
2261
2261
|
|
2262
2262
|
--
|
2263
2263
|
|
2264
|
-
##### [last_ele](https://github.com/appium/ruby_lib/blob/
|
2264
|
+
##### [last_ele](https://github.com/appium/ruby_lib/blob/24660355c3fa5e5e8691922e1570021fce90b96b/lib/appium_lib/ios/helper.rb#L356) ios
|
2265
2265
|
|
2266
2266
|
> def last_ele(class_name)
|
2267
2267
|
|
@@ -2277,7 +2277,7 @@ __Returns:__
|
|
2277
2277
|
|
2278
2278
|
--
|
2279
2279
|
|
2280
|
-
##### [tag](https://github.com/appium/ruby_lib/blob/
|
2280
|
+
##### [tag](https://github.com/appium/ruby_lib/blob/24660355c3fa5e5e8691922e1570021fce90b96b/lib/appium_lib/ios/helper.rb#L370) ios
|
2281
2281
|
|
2282
2282
|
> def tag(class_name)
|
2283
2283
|
|
@@ -2293,7 +2293,7 @@ __Returns:__
|
|
2293
2293
|
|
2294
2294
|
--
|
2295
2295
|
|
2296
|
-
##### [tags](https://github.com/appium/ruby_lib/blob/
|
2296
|
+
##### [tags](https://github.com/appium/ruby_lib/blob/24660355c3fa5e5e8691922e1570021fce90b96b/lib/appium_lib/ios/helper.rb#L382) ios
|
2297
2297
|
|
2298
2298
|
> def tags(class_name)
|
2299
2299
|
|
@@ -2309,7 +2309,7 @@ __Returns:__
|
|
2309
2309
|
|
2310
2310
|
--
|
2311
2311
|
|
2312
|
-
##### [tags_include](https://github.com/appium/ruby_lib/blob/
|
2312
|
+
##### [tags_include](https://github.com/appium/ruby_lib/blob/24660355c3fa5e5e8691922e1570021fce90b96b/lib/appium_lib/ios/helper.rb#L398) ios
|
2313
2313
|
|
2314
2314
|
> def tags_include(class_names:, value: nil)
|
2315
2315
|
|
@@ -2329,7 +2329,7 @@ __Returns:__
|
|
2329
2329
|
|
2330
2330
|
--
|
2331
2331
|
|
2332
|
-
##### [tags_exact](https://github.com/appium/ruby_lib/blob/
|
2332
|
+
##### [tags_exact](https://github.com/appium/ruby_lib/blob/24660355c3fa5e5e8691922e1570021fce90b96b/lib/appium_lib/ios/helper.rb#L427) ios
|
2333
2333
|
|
2334
2334
|
> def tags_exact(class_names:, value: nil)
|
2335
2335
|
|
@@ -2349,7 +2349,7 @@ __Returns:__
|
|
2349
2349
|
|
2350
2350
|
--
|
2351
2351
|
|
2352
|
-
##### [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/24660355c3fa5e5e8691922e1570021fce90b96b/lib/appium_lib/ios/helper.rb#L478) ios
|
2353
2353
|
|
2354
2354
|
> def ele_by_json_visible_contains(element, value)
|
2355
2355
|
|
@@ -2368,7 +2368,7 @@ __Returns:__
|
|
2368
2368
|
|
2369
2369
|
--
|
2370
2370
|
|
2371
|
-
##### [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/24660355c3fa5e5e8691922e1570021fce90b96b/lib/appium_lib/ios/helper.rb#L487) ios
|
2372
2372
|
|
2373
2373
|
> def eles_by_json_visible_contains(element, value)
|
2374
2374
|
|
@@ -2387,7 +2387,7 @@ __Returns:__
|
|
2387
2387
|
|
2388
2388
|
--
|
2389
2389
|
|
2390
|
-
##### [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/24660355c3fa5e5e8691922e1570021fce90b96b/lib/appium_lib/ios/helper.rb#L517) ios
|
2391
2391
|
|
2392
2392
|
> def ele_by_json_visible_exact(element, value)
|
2393
2393
|
|
@@ -2406,7 +2406,7 @@ __Returns:__
|
|
2406
2406
|
|
2407
2407
|
--
|
2408
2408
|
|
2409
|
-
##### [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/24660355c3fa5e5e8691922e1570021fce90b96b/lib/appium_lib/ios/helper.rb#L526) ios
|
2410
2410
|
|
2411
2411
|
> def eles_by_json_visible_exact(element, value)
|
2412
2412
|
|
@@ -2425,7 +2425,7 @@ __Returns:__
|
|
2425
2425
|
|
2426
2426
|
--
|
2427
2427
|
|
2428
|
-
##### [_all_pred](https://github.com/appium/ruby_lib/blob/
|
2428
|
+
##### [_all_pred](https://github.com/appium/ruby_lib/blob/24660355c3fa5e5e8691922e1570021fce90b96b/lib/appium_lib/ios/helper.rb#L591) ios
|
2429
2429
|
|
2430
2430
|
> def _all_pred(opts)
|
2431
2431
|
|
@@ -2435,7 +2435,7 @@ visible - if true, only visible elements are returned. default true
|
|
2435
2435
|
|
2436
2436
|
--
|
2437
2437
|
|
2438
|
-
##### [ele_with_pred](https://github.com/appium/ruby_lib/blob/
|
2438
|
+
##### [ele_with_pred](https://github.com/appium/ruby_lib/blob/24660355c3fa5e5e8691922e1570021fce90b96b/lib/appium_lib/ios/helper.rb#L604) ios
|
2439
2439
|
|
2440
2440
|
> def ele_with_pred(opts)
|
2441
2441
|
|
@@ -2451,7 +2451,7 @@ __Returns:__
|
|
2451
2451
|
|
2452
2452
|
--
|
2453
2453
|
|
2454
|
-
##### [eles_with_pred](https://github.com/appium/ruby_lib/blob/
|
2454
|
+
##### [eles_with_pred](https://github.com/appium/ruby_lib/blob/24660355c3fa5e5e8691922e1570021fce90b96b/lib/appium_lib/ios/helper.rb#L615) ios
|
2455
2455
|
|
2456
2456
|
> def eles_with_pred(opts)
|
2457
2457
|
|
@@ -2467,7 +2467,7 @@ __Returns:__
|
|
2467
2467
|
|
2468
2468
|
--
|
2469
2469
|
|
2470
|
-
##### [source](https://github.com/appium/ruby_lib/blob/
|
2470
|
+
##### [source](https://github.com/appium/ruby_lib/blob/24660355c3fa5e5e8691922e1570021fce90b96b/lib/appium_lib/ios/helper.rb#L621) ios
|
2471
2471
|
|
2472
2472
|
> def source
|
2473
2473
|
|
@@ -2479,7 +2479,7 @@ __Returns:__
|
|
2479
2479
|
|
2480
2480
|
--
|
2481
2481
|
|
2482
|
-
##### [_validate_object](https://github.com/appium/ruby_lib/blob/
|
2482
|
+
##### [_validate_object](https://github.com/appium/ruby_lib/blob/24660355c3fa5e5e8691922e1570021fce90b96b/lib/appium_lib/ios/helper.rb#L625) ios
|
2483
2483
|
|
2484
2484
|
> def _validate_object(*objects)
|
2485
2485
|
|
@@ -2487,7 +2487,7 @@ __Returns:__
|
|
2487
2487
|
|
2488
2488
|
--
|
2489
2489
|
|
2490
|
-
##### [_by_json](https://github.com/appium/ruby_lib/blob/
|
2490
|
+
##### [_by_json](https://github.com/appium/ruby_lib/blob/24660355c3fa5e5e8691922e1570021fce90b96b/lib/appium_lib/ios/helper.rb#L674) ios
|
2491
2491
|
|
2492
2492
|
> def _by_json(opts)
|
2493
2493
|
|
@@ -2522,7 +2522,7 @@ opts = {
|
|
2522
2522
|
|
2523
2523
|
--
|
2524
2524
|
|
2525
|
-
##### [eles_by_json](https://github.com/appium/ruby_lib/blob/
|
2525
|
+
##### [eles_by_json](https://github.com/appium/ruby_lib/blob/24660355c3fa5e5e8691922e1570021fce90b96b/lib/appium_lib/ios/helper.rb#L724) ios
|
2526
2526
|
|
2527
2527
|
> def eles_by_json(opts)
|
2528
2528
|
|
@@ -2541,7 +2541,7 @@ eles_by_json({
|
|
2541
2541
|
|
2542
2542
|
--
|
2543
2543
|
|
2544
|
-
##### [ele_by_json](https://github.com/appium/ruby_lib/blob/
|
2544
|
+
##### [ele_by_json](https://github.com/appium/ruby_lib/blob/24660355c3fa5e5e8691922e1570021fce90b96b/lib/appium_lib/ios/helper.rb#L730) ios
|
2545
2545
|
|
2546
2546
|
> def ele_by_json(opts)
|
2547
2547
|
|
@@ -2549,7 +2549,7 @@ see eles_by_json
|
|
2549
2549
|
|
2550
2550
|
--
|
2551
2551
|
|
2552
|
-
##### [get_source](https://github.com/appium/ruby_lib/blob/
|
2552
|
+
##### [get_source](https://github.com/appium/ruby_lib/blob/24660355c3fa5e5e8691922e1570021fce90b96b/lib/appium_lib/ios/helper.rb#L740) ios
|
2553
2553
|
|
2554
2554
|
> def get_source
|
2555
2555
|
|
@@ -2562,7 +2562,7 @@ __Returns:__
|
|
2562
2562
|
|
2563
2563
|
--
|
2564
2564
|
|
2565
|
-
##### [UIAStaticText](https://github.com/appium/ruby_lib/blob/
|
2565
|
+
##### [UIAStaticText](https://github.com/appium/ruby_lib/blob/24660355c3fa5e5e8691922e1570021fce90b96b/lib/appium_lib/ios/element/text.rb#L4) ios
|
2566
2566
|
|
2567
2567
|
> UIAStaticText = 'UIAStaticText'.freeze
|
2568
2568
|
|
@@ -2570,7 +2570,7 @@ __Returns:__
|
|
2570
2570
|
|
2571
2571
|
--
|
2572
2572
|
|
2573
|
-
##### [XCUIElementTypeStaticText](https://github.com/appium/ruby_lib/blob/
|
2573
|
+
##### [XCUIElementTypeStaticText](https://github.com/appium/ruby_lib/blob/24660355c3fa5e5e8691922e1570021fce90b96b/lib/appium_lib/ios/element/text.rb#L5) ios
|
2574
2574
|
|
2575
2575
|
> XCUIElementTypeStaticText = 'XCUIElementTypeStaticText'.freeze
|
2576
2576
|
|
@@ -2578,7 +2578,7 @@ __Returns:__
|
|
2578
2578
|
|
2579
2579
|
--
|
2580
2580
|
|
2581
|
-
##### [static_text_class](https://github.com/appium/ruby_lib/blob/
|
2581
|
+
##### [static_text_class](https://github.com/appium/ruby_lib/blob/24660355c3fa5e5e8691922e1570021fce90b96b/lib/appium_lib/ios/element/text.rb#L8) ios
|
2582
2582
|
|
2583
2583
|
> def static_text_class
|
2584
2584
|
|
@@ -2590,7 +2590,7 @@ __Returns:__
|
|
2590
2590
|
|
2591
2591
|
--
|
2592
2592
|
|
2593
|
-
##### [text](https://github.com/appium/ruby_lib/blob/
|
2593
|
+
##### [text](https://github.com/appium/ruby_lib/blob/24660355c3fa5e5e8691922e1570021fce90b96b/lib/appium_lib/ios/element/text.rb#L16) ios
|
2594
2594
|
|
2595
2595
|
> def text(value)
|
2596
2596
|
|
@@ -2607,7 +2607,7 @@ __Returns:__
|
|
2607
2607
|
|
2608
2608
|
--
|
2609
2609
|
|
2610
|
-
##### [texts](https://github.com/appium/ruby_lib/blob/
|
2610
|
+
##### [texts](https://github.com/appium/ruby_lib/blob/24660355c3fa5e5e8691922e1570021fce90b96b/lib/appium_lib/ios/element/text.rb#L30) ios
|
2611
2611
|
|
2612
2612
|
> def texts(value = false)
|
2613
2613
|
|
@@ -2624,7 +2624,7 @@ __Returns:__
|
|
2624
2624
|
|
2625
2625
|
--
|
2626
2626
|
|
2627
|
-
##### [first_text](https://github.com/appium/ruby_lib/blob/
|
2627
|
+
##### [first_text](https://github.com/appium/ruby_lib/blob/24660355c3fa5e5e8691922e1570021fce90b96b/lib/appium_lib/ios/element/text.rb#L43) ios
|
2628
2628
|
|
2629
2629
|
> def first_text
|
2630
2630
|
|
@@ -2636,7 +2636,7 @@ __Returns:__
|
|
2636
2636
|
|
2637
2637
|
--
|
2638
2638
|
|
2639
|
-
##### [last_text](https://github.com/appium/ruby_lib/blob/
|
2639
|
+
##### [last_text](https://github.com/appium/ruby_lib/blob/24660355c3fa5e5e8691922e1570021fce90b96b/lib/appium_lib/ios/element/text.rb#L49) ios
|
2640
2640
|
|
2641
2641
|
> def last_text
|
2642
2642
|
|
@@ -2648,7 +2648,7 @@ __Returns:__
|
|
2648
2648
|
|
2649
2649
|
--
|
2650
2650
|
|
2651
|
-
##### [text_exact](https://github.com/appium/ruby_lib/blob/
|
2651
|
+
##### [text_exact](https://github.com/appium/ruby_lib/blob/24660355c3fa5e5e8691922e1570021fce90b96b/lib/appium_lib/ios/element/text.rb#L56) ios
|
2652
2652
|
|
2653
2653
|
> def text_exact(value)
|
2654
2654
|
|
@@ -2664,7 +2664,7 @@ __Returns:__
|
|
2664
2664
|
|
2665
2665
|
--
|
2666
2666
|
|
2667
|
-
##### [texts_exact](https://github.com/appium/ruby_lib/blob/
|
2667
|
+
##### [texts_exact](https://github.com/appium/ruby_lib/blob/24660355c3fa5e5e8691922e1570021fce90b96b/lib/appium_lib/ios/element/text.rb#L67) ios
|
2668
2668
|
|
2669
2669
|
> def texts_exact(value)
|
2670
2670
|
|
@@ -2680,7 +2680,7 @@ __Returns:__
|
|
2680
2680
|
|
2681
2681
|
--
|
2682
2682
|
|
2683
|
-
##### [alert_accept](https://github.com/appium/ruby_lib/blob/
|
2683
|
+
##### [alert_accept](https://github.com/appium/ruby_lib/blob/24660355c3fa5e5e8691922e1570021fce90b96b/lib/appium_lib/ios/element/alert.rb#L5) ios
|
2684
2684
|
|
2685
2685
|
> def alert_accept
|
2686
2686
|
|
@@ -2692,7 +2692,7 @@ __Returns:__
|
|
2692
2692
|
|
2693
2693
|
--
|
2694
2694
|
|
2695
|
-
##### [alert_dismiss](https://github.com/appium/ruby_lib/blob/
|
2695
|
+
##### [alert_dismiss](https://github.com/appium/ruby_lib/blob/24660355c3fa5e5e8691922e1570021fce90b96b/lib/appium_lib/ios/element/alert.rb#L13) ios
|
2696
2696
|
|
2697
2697
|
> def alert_dismiss
|
2698
2698
|
|
@@ -2704,7 +2704,7 @@ __Returns:__
|
|
2704
2704
|
|
2705
2705
|
--
|
2706
2706
|
|
2707
|
-
##### [UIAButton](https://github.com/appium/ruby_lib/blob/
|
2707
|
+
##### [UIAButton](https://github.com/appium/ruby_lib/blob/24660355c3fa5e5e8691922e1570021fce90b96b/lib/appium_lib/ios/element/button.rb#L4) ios
|
2708
2708
|
|
2709
2709
|
> UIAButton = 'UIAButton'.freeze
|
2710
2710
|
|
@@ -2712,7 +2712,7 @@ __Returns:__
|
|
2712
2712
|
|
2713
2713
|
--
|
2714
2714
|
|
2715
|
-
##### [XCUIElementTypeButton](https://github.com/appium/ruby_lib/blob/
|
2715
|
+
##### [XCUIElementTypeButton](https://github.com/appium/ruby_lib/blob/24660355c3fa5e5e8691922e1570021fce90b96b/lib/appium_lib/ios/element/button.rb#L5) ios
|
2716
2716
|
|
2717
2717
|
> XCUIElementTypeButton = 'XCUIElementTypeButton'.freeze
|
2718
2718
|
|
@@ -2720,7 +2720,7 @@ __Returns:__
|
|
2720
2720
|
|
2721
2721
|
--
|
2722
2722
|
|
2723
|
-
##### [button_class](https://github.com/appium/ruby_lib/blob/
|
2723
|
+
##### [button_class](https://github.com/appium/ruby_lib/blob/24660355c3fa5e5e8691922e1570021fce90b96b/lib/appium_lib/ios/element/button.rb#L8) ios
|
2724
2724
|
|
2725
2725
|
> def button_class
|
2726
2726
|
|
@@ -2732,7 +2732,7 @@ __Returns:__
|
|
2732
2732
|
|
2733
2733
|
--
|
2734
2734
|
|
2735
|
-
##### [button](https://github.com/appium/ruby_lib/blob/
|
2735
|
+
##### [button](https://github.com/appium/ruby_lib/blob/24660355c3fa5e5e8691922e1570021fce90b96b/lib/appium_lib/ios/element/button.rb#L16) ios
|
2736
2736
|
|
2737
2737
|
> def button(value)
|
2738
2738
|
|
@@ -2749,7 +2749,7 @@ __Returns:__
|
|
2749
2749
|
|
2750
2750
|
--
|
2751
2751
|
|
2752
|
-
##### [buttons](https://github.com/appium/ruby_lib/blob/
|
2752
|
+
##### [buttons](https://github.com/appium/ruby_lib/blob/24660355c3fa5e5e8691922e1570021fce90b96b/lib/appium_lib/ios/element/button.rb#L31) ios
|
2753
2753
|
|
2754
2754
|
> def buttons(value = false)
|
2755
2755
|
|
@@ -2766,7 +2766,7 @@ __Returns:__
|
|
2766
2766
|
|
2767
2767
|
--
|
2768
2768
|
|
2769
|
-
##### [first_button](https://github.com/appium/ruby_lib/blob/
|
2769
|
+
##### [first_button](https://github.com/appium/ruby_lib/blob/24660355c3fa5e5e8691922e1570021fce90b96b/lib/appium_lib/ios/element/button.rb#L44) ios
|
2770
2770
|
|
2771
2771
|
> def first_button
|
2772
2772
|
|
@@ -2778,7 +2778,7 @@ __Returns:__
|
|
2778
2778
|
|
2779
2779
|
--
|
2780
2780
|
|
2781
|
-
##### [last_button](https://github.com/appium/ruby_lib/blob/
|
2781
|
+
##### [last_button](https://github.com/appium/ruby_lib/blob/24660355c3fa5e5e8691922e1570021fce90b96b/lib/appium_lib/ios/element/button.rb#L52) ios
|
2782
2782
|
|
2783
2783
|
> def last_button
|
2784
2784
|
|
@@ -2792,7 +2792,7 @@ __Returns:__
|
|
2792
2792
|
|
2793
2793
|
--
|
2794
2794
|
|
2795
|
-
##### [button_exact](https://github.com/appium/ruby_lib/blob/
|
2795
|
+
##### [button_exact](https://github.com/appium/ruby_lib/blob/24660355c3fa5e5e8691922e1570021fce90b96b/lib/appium_lib/ios/element/button.rb#L59) ios
|
2796
2796
|
|
2797
2797
|
> def button_exact(value)
|
2798
2798
|
|
@@ -2808,7 +2808,7 @@ __Returns:__
|
|
2808
2808
|
|
2809
2809
|
--
|
2810
2810
|
|
2811
|
-
##### [buttons_exact](https://github.com/appium/ruby_lib/blob/
|
2811
|
+
##### [buttons_exact](https://github.com/appium/ruby_lib/blob/24660355c3fa5e5e8691922e1570021fce90b96b/lib/appium_lib/ios/element/button.rb#L70) ios
|
2812
2812
|
|
2813
2813
|
> def buttons_exact(value)
|
2814
2814
|
|
@@ -2824,7 +2824,7 @@ __Returns:__
|
|
2824
2824
|
|
2825
2825
|
--
|
2826
2826
|
|
2827
|
-
##### [uiautomation_find](https://github.com/appium/ruby_lib/blob/
|
2827
|
+
##### [uiautomation_find](https://github.com/appium/ruby_lib/blob/24660355c3fa5e5e8691922e1570021fce90b96b/lib/appium_lib/ios/mobile_methods.rb#L32) ios
|
2828
2828
|
|
2829
2829
|
> def uiautomation_find
|
2830
2830
|
|
@@ -2836,7 +2836,7 @@ find_element/s can be used with a [UIAutomation command](https://developer.apple
|
|
2836
2836
|
|
2837
2837
|
--
|
2838
2838
|
|
2839
|
-
##### [ios_predicate_string_find](https://github.com/appium/ruby_lib/blob/
|
2839
|
+
##### [ios_predicate_string_find](https://github.com/appium/ruby_lib/blob/24660355c3fa5e5e8691922e1570021fce90b96b/lib/appium_lib/ios/mobile_methods.rb#L32) ios
|
2840
2840
|
|
2841
2841
|
> def ios_predicate_string_find
|
2842
2842
|
|
@@ -2850,7 +2850,7 @@ find_element/s can be used with a [Predicates](https://developer.apple.com/libra
|
|
2850
2850
|
|
2851
2851
|
--
|
2852
2852
|
|
2853
|
-
##### [ios_class_chain_find](https://github.com/appium/ruby_lib/blob/
|
2853
|
+
##### [ios_class_chain_find](https://github.com/appium/ruby_lib/blob/24660355c3fa5e5e8691922e1570021fce90b96b/lib/appium_lib/ios/mobile_methods.rb#L32) ios
|
2854
2854
|
|
2855
2855
|
> def ios_class_chain_find
|
2856
2856
|
|
@@ -2868,7 +2868,7 @@ find_element/s can be used with a [class chain]( https://github.com/facebook/Web
|
|
2868
2868
|
|
2869
2869
|
--
|
2870
2870
|
|
2871
|
-
##### [find](https://github.com/appium/ruby_lib/blob/
|
2871
|
+
##### [find](https://github.com/appium/ruby_lib/blob/24660355c3fa5e5e8691922e1570021fce90b96b/lib/appium_lib/ios/element/generic.rb#L6) ios
|
2872
2872
|
|
2873
2873
|
> def find(value)
|
2874
2874
|
|
@@ -2884,7 +2884,7 @@ __Returns:__
|
|
2884
2884
|
|
2885
2885
|
--
|
2886
2886
|
|
2887
|
-
##### [finds](https://github.com/appium/ruby_lib/blob/
|
2887
|
+
##### [finds](https://github.com/appium/ruby_lib/blob/24660355c3fa5e5e8691922e1570021fce90b96b/lib/appium_lib/ios/element/generic.rb#L17) ios
|
2888
2888
|
|
2889
2889
|
> def finds(value)
|
2890
2890
|
|
@@ -2900,7 +2900,7 @@ __Returns:__
|
|
2900
2900
|
|
2901
2901
|
--
|
2902
2902
|
|
2903
|
-
##### [find_exact](https://github.com/appium/ruby_lib/blob/
|
2903
|
+
##### [find_exact](https://github.com/appium/ruby_lib/blob/24660355c3fa5e5e8691922e1570021fce90b96b/lib/appium_lib/ios/element/generic.rb#L29) ios
|
2904
2904
|
|
2905
2905
|
> def find_exact(value)
|
2906
2906
|
|
@@ -2916,7 +2916,7 @@ __Returns:__
|
|
2916
2916
|
|
2917
2917
|
--
|
2918
2918
|
|
2919
|
-
##### [finds_exact](https://github.com/appium/ruby_lib/blob/
|
2919
|
+
##### [finds_exact](https://github.com/appium/ruby_lib/blob/24660355c3fa5e5e8691922e1570021fce90b96b/lib/appium_lib/ios/element/generic.rb#L40) ios
|
2920
2920
|
|
2921
2921
|
> def finds_exact(value)
|
2922
2922
|
|
@@ -2932,7 +2932,7 @@ __Returns:__
|
|
2932
2932
|
|
2933
2933
|
--
|
2934
2934
|
|
2935
|
-
##### [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/24660355c3fa5e5e8691922e1570021fce90b96b/lib/appium_lib/ios/element/generic.rb#L51) ios
|
2936
2936
|
|
2937
2937
|
> def raise_error_if_no_element(element)
|
2938
2938
|
|
@@ -2940,7 +2940,7 @@ __Returns:__
|
|
2940
2940
|
|
2941
2941
|
--
|
2942
2942
|
|
2943
|
-
##### [select_visible_elements](https://github.com/appium/ruby_lib/blob/
|
2943
|
+
##### [select_visible_elements](https://github.com/appium/ruby_lib/blob/24660355c3fa5e5e8691922e1570021fce90b96b/lib/appium_lib/ios/element/generic.rb#L58) ios
|
2944
2944
|
|
2945
2945
|
> def select_visible_elements(elements)
|
2946
2946
|
|
@@ -2948,7 +2948,7 @@ Return visible elements.
|
|
2948
2948
|
|
2949
2949
|
--
|
2950
2950
|
|
2951
|
-
##### [UIATextField](https://github.com/appium/ruby_lib/blob/
|
2951
|
+
##### [UIATextField](https://github.com/appium/ruby_lib/blob/24660355c3fa5e5e8691922e1570021fce90b96b/lib/appium_lib/ios/element/textfield.rb#L3) ios
|
2952
2952
|
|
2953
2953
|
> UIATextField = 'UIATextField'.freeze
|
2954
2954
|
|
@@ -2956,7 +2956,7 @@ Return visible elements.
|
|
2956
2956
|
|
2957
2957
|
--
|
2958
2958
|
|
2959
|
-
##### [UIASecureTextField](https://github.com/appium/ruby_lib/blob/
|
2959
|
+
##### [UIASecureTextField](https://github.com/appium/ruby_lib/blob/24660355c3fa5e5e8691922e1570021fce90b96b/lib/appium_lib/ios/element/textfield.rb#L4) ios
|
2960
2960
|
|
2961
2961
|
> UIASecureTextField = 'UIASecureTextField'.freeze
|
2962
2962
|
|
@@ -2964,7 +2964,7 @@ Return visible elements.
|
|
2964
2964
|
|
2965
2965
|
--
|
2966
2966
|
|
2967
|
-
##### [XCUIElementTypeTextField](https://github.com/appium/ruby_lib/blob/
|
2967
|
+
##### [XCUIElementTypeTextField](https://github.com/appium/ruby_lib/blob/24660355c3fa5e5e8691922e1570021fce90b96b/lib/appium_lib/ios/element/textfield.rb#L6) ios
|
2968
2968
|
|
2969
2969
|
> XCUIElementTypeTextField = 'XCUIElementTypeTextField'.freeze
|
2970
2970
|
|
@@ -2972,7 +2972,7 @@ Return visible elements.
|
|
2972
2972
|
|
2973
2973
|
--
|
2974
2974
|
|
2975
|
-
##### [XCUIElementTypeSecureTextField](https://github.com/appium/ruby_lib/blob/
|
2975
|
+
##### [XCUIElementTypeSecureTextField](https://github.com/appium/ruby_lib/blob/24660355c3fa5e5e8691922e1570021fce90b96b/lib/appium_lib/ios/element/textfield.rb#L7) ios
|
2976
2976
|
|
2977
2977
|
> XCUIElementTypeSecureTextField = 'XCUIElementTypeSecureTextField'.freeze
|
2978
2978
|
|
@@ -2980,7 +2980,7 @@ Return visible elements.
|
|
2980
2980
|
|
2981
2981
|
--
|
2982
2982
|
|
2983
|
-
##### [text_field_class](https://github.com/appium/ruby_lib/blob/
|
2983
|
+
##### [text_field_class](https://github.com/appium/ruby_lib/blob/24660355c3fa5e5e8691922e1570021fce90b96b/lib/appium_lib/ios/element/textfield.rb#L10) ios
|
2984
2984
|
|
2985
2985
|
> def text_field_class
|
2986
2986
|
|
@@ -2992,7 +2992,7 @@ __Returns:__
|
|
2992
2992
|
|
2993
2993
|
--
|
2994
2994
|
|
2995
|
-
##### [secure_text_field_class](https://github.com/appium/ruby_lib/blob/
|
2995
|
+
##### [secure_text_field_class](https://github.com/appium/ruby_lib/blob/24660355c3fa5e5e8691922e1570021fce90b96b/lib/appium_lib/ios/element/textfield.rb#L15) ios
|
2996
2996
|
|
2997
2997
|
> def secure_text_field_class
|
2998
2998
|
|
@@ -3004,7 +3004,7 @@ __Returns:__
|
|
3004
3004
|
|
3005
3005
|
--
|
3006
3006
|
|
3007
|
-
##### [_textfield_visible](https://github.com/appium/ruby_lib/blob/
|
3007
|
+
##### [_textfield_visible](https://github.com/appium/ruby_lib/blob/24660355c3fa5e5e8691922e1570021fce90b96b/lib/appium_lib/ios/element/textfield.rb#L35) ios
|
3008
3008
|
|
3009
3009
|
> def _textfield_visible
|
3010
3010
|
|
@@ -3012,7 +3012,7 @@ Appium
|
|
3012
3012
|
|
3013
3013
|
--
|
3014
3014
|
|
3015
|
-
##### [_textfield_exact_string](https://github.com/appium/ruby_lib/blob/
|
3015
|
+
##### [_textfield_exact_string](https://github.com/appium/ruby_lib/blob/24660355c3fa5e5e8691922e1570021fce90b96b/lib/appium_lib/ios/element/textfield.rb#L40) ios
|
3016
3016
|
|
3017
3017
|
> def _textfield_exact_string(value)
|
3018
3018
|
|
@@ -3020,7 +3020,7 @@ Appium
|
|
3020
3020
|
|
3021
3021
|
--
|
3022
3022
|
|
3023
|
-
##### [_textfield_contains_string](https://github.com/appium/ruby_lib/blob/
|
3023
|
+
##### [_textfield_contains_string](https://github.com/appium/ruby_lib/blob/24660355c3fa5e5e8691922e1570021fce90b96b/lib/appium_lib/ios/element/textfield.rb#L47) ios
|
3024
3024
|
|
3025
3025
|
> def _textfield_contains_string(value)
|
3026
3026
|
|
@@ -3028,7 +3028,7 @@ Appium
|
|
3028
3028
|
|
3029
3029
|
--
|
3030
3030
|
|
3031
|
-
##### [textfield](https://github.com/appium/ruby_lib/blob/
|
3031
|
+
##### [textfield](https://github.com/appium/ruby_lib/blob/24660355c3fa5e5e8691922e1570021fce90b96b/lib/appium_lib/ios/element/textfield.rb#L60) ios
|
3032
3032
|
|
3033
3033
|
> def textfield(value)
|
3034
3034
|
|
@@ -3046,7 +3046,7 @@ __Returns:__
|
|
3046
3046
|
|
3047
3047
|
--
|
3048
3048
|
|
3049
|
-
##### [textfields](https://github.com/appium/ruby_lib/blob/
|
3049
|
+
##### [textfields](https://github.com/appium/ruby_lib/blob/24660355c3fa5e5e8691922e1570021fce90b96b/lib/appium_lib/ios/element/textfield.rb#L86) ios
|
3050
3050
|
|
3051
3051
|
> def textfields(value = false)
|
3052
3052
|
|
@@ -3063,7 +3063,7 @@ __Returns:__
|
|
3063
3063
|
|
3064
3064
|
--
|
3065
3065
|
|
3066
|
-
##### [first_textfield](https://github.com/appium/ruby_lib/blob/
|
3066
|
+
##### [first_textfield](https://github.com/appium/ruby_lib/blob/24660355c3fa5e5e8691922e1570021fce90b96b/lib/appium_lib/ios/element/textfield.rb#L100) ios
|
3067
3067
|
|
3068
3068
|
> def first_textfield
|
3069
3069
|
|
@@ -3075,7 +3075,7 @@ __Returns:__
|
|
3075
3075
|
|
3076
3076
|
--
|
3077
3077
|
|
3078
|
-
##### [last_textfield](https://github.com/appium/ruby_lib/blob/
|
3078
|
+
##### [last_textfield](https://github.com/appium/ruby_lib/blob/24660355c3fa5e5e8691922e1570021fce90b96b/lib/appium_lib/ios/element/textfield.rb#L110) ios
|
3079
3079
|
|
3080
3080
|
> def last_textfield
|
3081
3081
|
|
@@ -3087,7 +3087,7 @@ __Returns:__
|
|
3087
3087
|
|
3088
3088
|
--
|
3089
3089
|
|
3090
|
-
##### [textfield_exact](https://github.com/appium/ruby_lib/blob/
|
3090
|
+
##### [textfield_exact](https://github.com/appium/ruby_lib/blob/24660355c3fa5e5e8691922e1570021fce90b96b/lib/appium_lib/ios/element/textfield.rb#L123) ios
|
3091
3091
|
|
3092
3092
|
> def textfield_exact(value)
|
3093
3093
|
|
@@ -3103,7 +3103,7 @@ __Returns:__
|
|
3103
3103
|
|
3104
3104
|
--
|
3105
3105
|
|
3106
|
-
##### [textfields_exact](https://github.com/appium/ruby_lib/blob/
|
3106
|
+
##### [textfields_exact](https://github.com/appium/ruby_lib/blob/24660355c3fa5e5e8691922e1570021fce90b96b/lib/appium_lib/ios/element/textfield.rb#L134) ios
|
3107
3107
|
|
3108
3108
|
> def textfields_exact(value)
|
3109
3109
|
|
@@ -3119,7 +3119,7 @@ __Returns:__
|
|
3119
3119
|
|
3120
3120
|
--
|
3121
3121
|
|
3122
|
-
##### [swipe](https://github.com/appium/ruby_lib/blob/
|
3122
|
+
##### [swipe](https://github.com/appium/ruby_lib/blob/24660355c3fa5e5e8691922e1570021fce90b96b/lib/appium_lib/ios/xcuitest_gestures.rb#L10) ios
|
3123
3123
|
|
3124
3124
|
> def swipe(direction:, element: nil)
|
3125
3125
|
|
@@ -3133,7 +3133,7 @@ __Parameters:__
|
|
3133
3133
|
|
3134
3134
|
--
|
3135
3135
|
|
3136
|
-
##### [scroll](https://github.com/appium/ruby_lib/blob/
|
3136
|
+
##### [scroll](https://github.com/appium/ruby_lib/blob/24660355c3fa5e5e8691922e1570021fce90b96b/lib/appium_lib/ios/xcuitest_gestures.rb#L30) ios
|
3137
3137
|
|
3138
3138
|
> def scroll(direction:, name: nil, element: nil, to_visible: nil, predicate_string: nil)
|
3139
3139
|
|
@@ -3147,7 +3147,7 @@ __Parameters:__
|
|
3147
3147
|
|
3148
3148
|
--
|
3149
3149
|
|
3150
|
-
##### [pinch](https://github.com/appium/ruby_lib/blob/
|
3150
|
+
##### [pinch](https://github.com/appium/ruby_lib/blob/24660355c3fa5e5e8691922e1570021fce90b96b/lib/appium_lib/ios/xcuitest_gestures.rb#L49) ios
|
3151
3151
|
|
3152
3152
|
> def pinch(scale:, velocity: 1.0, element: nil)
|
3153
3153
|
|
@@ -3163,7 +3163,7 @@ __Parameters:__
|
|
3163
3163
|
|
3164
3164
|
--
|
3165
3165
|
|
3166
|
-
##### [double_tap](https://github.com/appium/ruby_lib/blob/
|
3166
|
+
##### [double_tap](https://github.com/appium/ruby_lib/blob/24660355c3fa5e5e8691922e1570021fce90b96b/lib/appium_lib/ios/xcuitest_gestures.rb#L66) ios
|
3167
3167
|
|
3168
3168
|
> def double_tap(x: nil, y: nil, element: nil)
|
3169
3169
|
|
@@ -3179,7 +3179,7 @@ __Parameters:__
|
|
3179
3179
|
|
3180
3180
|
--
|
3181
3181
|
|
3182
|
-
##### [two_finger_tap](https://github.com/appium/ruby_lib/blob/
|
3182
|
+
##### [two_finger_tap](https://github.com/appium/ruby_lib/blob/24660355c3fa5e5e8691922e1570021fce90b96b/lib/appium_lib/ios/xcuitest_gestures.rb#L79) ios
|
3183
3183
|
|
3184
3184
|
> def two_finger_tap(element:)
|
3185
3185
|
|
@@ -3195,7 +3195,7 @@ two_finger_tap element: find_element(:accessibility_id, "some item")
|
|
3195
3195
|
|
3196
3196
|
--
|
3197
3197
|
|
3198
|
-
##### [tap](https://github.com/appium/ruby_lib/blob/
|
3198
|
+
##### [tap](https://github.com/appium/ruby_lib/blob/24660355c3fa5e5e8691922e1570021fce90b96b/lib/appium_lib/ios/xcuitest_gestures.rb#L96) ios
|
3199
3199
|
|
3200
3200
|
> def tap(x:, y:, element: nil)
|
3201
3201
|
|
@@ -3211,7 +3211,7 @@ __Parameters:__
|
|
3211
3211
|
|
3212
3212
|
--
|
3213
3213
|
|
3214
|
-
##### [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/24660355c3fa5e5e8691922e1570021fce90b96b/lib/appium_lib/ios/xcuitest_gestures.rb#L118) ios
|
3215
3215
|
|
3216
3216
|
> def drag_from_to_for_duration(from_x:, from_y:, to_x:, to_y:, duration: 1.0, element: nil)
|
3217
3217
|
|
@@ -3234,7 +3234,7 @@ drag point should be before to start dragging. Mandatory parameter
|
|
3234
3234
|
|
3235
3235
|
--
|
3236
3236
|
|
3237
|
-
##### [select_picker_wheel](https://github.com/appium/ruby_lib/blob/
|
3237
|
+
##### [select_picker_wheel](https://github.com/appium/ruby_lib/blob/24660355c3fa5e5e8691922e1570021fce90b96b/lib/appium_lib/ios/xcuitest_gestures.rb#L137) ios
|
3238
3238
|
|
3239
3239
|
> def select_picker_wheel(element:, order:, offset: nil)
|
3240
3240
|
|
@@ -3251,7 +3251,7 @@ __Parameters:__
|
|
3251
3251
|
|
3252
3252
|
--
|
3253
3253
|
|
3254
|
-
##### [value](https://github.com/appium/ruby_lib/blob/
|
3254
|
+
##### [value](https://github.com/appium/ruby_lib/blob/24660355c3fa5e5e8691922e1570021fce90b96b/lib/appium_lib/common/patch.rb#L12)
|
3255
3255
|
|
3256
3256
|
> def value
|
3257
3257
|
|
@@ -3261,7 +3261,7 @@ Fixes NoMethodError: undefined method `value' for Selenium::WebDriver::Element
|
|
3261
3261
|
|
3262
3262
|
--
|
3263
3263
|
|
3264
|
-
##### [name](https://github.com/appium/ruby_lib/blob/
|
3264
|
+
##### [name](https://github.com/appium/ruby_lib/blob/24660355c3fa5e5e8691922e1570021fce90b96b/lib/appium_lib/common/patch.rb#L19)
|
3265
3265
|
|
3266
3266
|
> def name
|
3267
3267
|
|
@@ -3271,7 +3271,7 @@ Fixes NoMethodError: undefined method `name' for Selenium::WebDriver::Element
|
|
3271
3271
|
|
3272
3272
|
--
|
3273
3273
|
|
3274
|
-
##### [location_rel](https://github.com/appium/ruby_lib/blob/
|
3274
|
+
##### [location_rel](https://github.com/appium/ruby_lib/blob/24660355c3fa5e5e8691922e1570021fce90b96b/lib/appium_lib/common/patch.rb#L31)
|
3275
3275
|
|
3276
3276
|
> def location_rel
|
3277
3277
|
|
@@ -3289,7 +3289,7 @@ __Returns:__
|
|
3289
3289
|
|
3290
3290
|
--
|
3291
3291
|
|
3292
|
-
##### [DEFAULT_HEADERS](https://github.com/appium/ruby_lib/blob/
|
3292
|
+
##### [DEFAULT_HEADERS](https://github.com/appium/ruby_lib/blob/24660355c3fa5e5e8691922e1570021fce90b96b/lib/appium_lib/common/patch.rb#L152)
|
3293
3293
|
|
3294
3294
|
> DEFAULT_HEADERS = { 'Accept' => CONTENT_TYPE, 'User-Agent' => "appium/ruby_lib/#{::Appium::VERSION}" }.freeze
|
3295
3295
|
|
@@ -3297,7 +3297,7 @@ __Returns:__
|
|
3297
3297
|
|
3298
3298
|
--
|
3299
3299
|
|
3300
|
-
##### [patch_remote_driver_commands](https://github.com/appium/ruby_lib/blob/
|
3300
|
+
##### [patch_remote_driver_commands](https://github.com/appium/ruby_lib/blob/24660355c3fa5e5e8691922e1570021fce90b96b/lib/appium_lib/common/patch.rb#L155)
|
3301
3301
|
|
3302
3302
|
> def patch_remote_driver_commands
|
3303
3303
|
|