appium_lib 9.4.4 → 9.4.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +10 -0
- data/docs/android_docs.md +224 -304
- data/docs/ios_docs.md +267 -329
- data/grid/README.md +21 -0
- data/grid/appium.txt.ios.example +15 -0
- data/grid/config.json +25 -0
- data/grid/hub_config.json +14 -0
- data/grid/selenium-server-standalone-2.53.1.jar +0 -0
- data/grid/selenium-server-standalone-3.2.0.jar +0 -0
- data/ios_tests/lib/ios/specs/device/device.rb +2 -1
- data/ios_tests/lib/ios/specs/device/multi_touch.rb +2 -2
- data/ios_tests/lib/ios/specs/device/touch_actions.rb +1 -1
- data/ios_tests/lib/ios/specs/ios/xcuitest_gestures.rb +8 -0
- data/lib/appium_lib/common/version.rb +2 -2
- data/lib/appium_lib/device/touch_actions.rb +2 -0
- data/lib/appium_lib/driver.rb +15 -12
- data/lib/appium_lib/ios/xcuitest_gestures.rb +21 -1
- data/readme.md +3 -0
- data/release_notes.md +11 -0
- metadata +8 -2
data/docs/ios_docs.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
##### [load_settings](https://github.com/appium/ruby_lib/blob/
|
|
1
|
+
##### [load_settings](https://github.com/appium/ruby_lib/blob/5e5b3fbd4d7c84904f9a3158975081fc1786ad0e/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/5e5b3fbd4d7c84904f9a3158975081fc1786ad0e/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/5e5b3fbd4d7c84904f9a3158975081fc1786ad0e/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/5e5b3fbd4d7c84904f9a3158975081fc1786ad0e/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/5e5b3fbd4d7c84904f9a3158975081fc1786ad0e/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/5e5b3fbd4d7c84904f9a3158975081fc1786ad0e/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/5e5b3fbd4d7c84904f9a3158975081fc1786ad0e/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/5e5b3fbd4d7c84904f9a3158975081fc1786ad0e/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/5e5b3fbd4d7c84904f9a3158975081fc1786ad0e/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/5e5b3fbd4d7c84904f9a3158975081fc1786ad0e/lib/appium_lib/driver.rb#L279)
|
|
173
173
|
|
|
174
174
|
> def caps
|
|
175
175
|
|
|
@@ -177,15 +177,7 @@ Selenium webdriver capabilities
|
|
|
177
177
|
|
|
178
178
|
--
|
|
179
179
|
|
|
180
|
-
##### [
|
|
181
|
-
|
|
182
|
-
> def caps=(value)
|
|
183
|
-
|
|
184
|
-
Selenium webdriver capabilities
|
|
185
|
-
|
|
186
|
-
--
|
|
187
|
-
|
|
188
|
-
##### [custom_url](https://github.com/appium/ruby_lib/blob/332599f8a5b134522f03ea375f7bc666e4e39c3d/lib/appium_lib/driver.rb#L281)
|
|
180
|
+
##### [custom_url](https://github.com/appium/ruby_lib/blob/5e5b3fbd4d7c84904f9a3158975081fc1786ad0e/lib/appium_lib/driver.rb#L281)
|
|
189
181
|
|
|
190
182
|
> def custom_url
|
|
191
183
|
|
|
@@ -193,15 +185,7 @@ Custom URL for the selenium server
|
|
|
193
185
|
|
|
194
186
|
--
|
|
195
187
|
|
|
196
|
-
##### [
|
|
197
|
-
|
|
198
|
-
> def custom_url=(value)
|
|
199
|
-
|
|
200
|
-
Custom URL for the selenium server
|
|
201
|
-
|
|
202
|
-
--
|
|
203
|
-
|
|
204
|
-
##### [export_session](https://github.com/appium/ruby_lib/blob/332599f8a5b134522f03ea375f7bc666e4e39c3d/lib/appium_lib/driver.rb#L283)
|
|
188
|
+
##### [export_session](https://github.com/appium/ruby_lib/blob/5e5b3fbd4d7c84904f9a3158975081fc1786ad0e/lib/appium_lib/driver.rb#L283)
|
|
205
189
|
|
|
206
190
|
> def export_session
|
|
207
191
|
|
|
@@ -209,15 +193,7 @@ Export session id to textfile in /tmp for 3rd party tools
|
|
|
209
193
|
|
|
210
194
|
--
|
|
211
195
|
|
|
212
|
-
##### [
|
|
213
|
-
|
|
214
|
-
> def export_session=(value)
|
|
215
|
-
|
|
216
|
-
Export session id to textfile in /tmp for 3rd party tools
|
|
217
|
-
|
|
218
|
-
--
|
|
219
|
-
|
|
220
|
-
##### [default_wait](https://github.com/appium/ruby_lib/blob/332599f8a5b134522f03ea375f7bc666e4e39c3d/lib/appium_lib/driver.rb#L288)
|
|
196
|
+
##### [default_wait](https://github.com/appium/ruby_lib/blob/5e5b3fbd4d7c84904f9a3158975081fc1786ad0e/lib/appium_lib/driver.rb#L288)
|
|
221
197
|
|
|
222
198
|
> def default_wait
|
|
223
199
|
|
|
@@ -231,7 +207,7 @@ __Returns:__
|
|
|
231
207
|
|
|
232
208
|
--
|
|
233
209
|
|
|
234
|
-
##### [sauce_username](https://github.com/appium/ruby_lib/blob/
|
|
210
|
+
##### [sauce_username](https://github.com/appium/ruby_lib/blob/5e5b3fbd4d7c84904f9a3158975081fc1786ad0e/lib/appium_lib/driver.rb#L290)
|
|
235
211
|
|
|
236
212
|
> def sauce_username
|
|
237
213
|
|
|
@@ -239,15 +215,7 @@ Username for use on Sauce Labs. Set `false` to disable Sauce, even when SAUCE_US
|
|
|
239
215
|
|
|
240
216
|
--
|
|
241
217
|
|
|
242
|
-
##### [
|
|
243
|
-
|
|
244
|
-
> def sauce_username=(value)
|
|
245
|
-
|
|
246
|
-
Username for use on Sauce Labs. Set `false` to disable Sauce, even when SAUCE_USERNAME is in ENV.
|
|
247
|
-
|
|
248
|
-
--
|
|
249
|
-
|
|
250
|
-
##### [sauce_access_key](https://github.com/appium/ruby_lib/blob/332599f8a5b134522f03ea375f7bc666e4e39c3d/lib/appium_lib/driver.rb#L292)
|
|
218
|
+
##### [sauce_access_key](https://github.com/appium/ruby_lib/blob/5e5b3fbd4d7c84904f9a3158975081fc1786ad0e/lib/appium_lib/driver.rb#L292)
|
|
251
219
|
|
|
252
220
|
> def sauce_access_key
|
|
253
221
|
|
|
@@ -255,15 +223,7 @@ Access Key for use on Sauce Labs. Set `false` to disable Sauce, even when SAUCE_
|
|
|
255
223
|
|
|
256
224
|
--
|
|
257
225
|
|
|
258
|
-
##### [
|
|
259
|
-
|
|
260
|
-
> def sauce_access_key=(value)
|
|
261
|
-
|
|
262
|
-
Access Key for use on Sauce Labs. Set `false` to disable Sauce, even when SAUCE_ACCESS_KEY is in ENV.
|
|
263
|
-
|
|
264
|
-
--
|
|
265
|
-
|
|
266
|
-
##### [sauce_endpoint](https://github.com/appium/ruby_lib/blob/332599f8a5b134522f03ea375f7bc666e4e39c3d/lib/appium_lib/driver.rb#L294)
|
|
226
|
+
##### [sauce_endpoint](https://github.com/appium/ruby_lib/blob/5e5b3fbd4d7c84904f9a3158975081fc1786ad0e/lib/appium_lib/driver.rb#L294)
|
|
267
227
|
|
|
268
228
|
> def sauce_endpoint
|
|
269
229
|
|
|
@@ -271,15 +231,7 @@ Override the Sauce Appium endpoint to allow e.g. TestObject tests
|
|
|
271
231
|
|
|
272
232
|
--
|
|
273
233
|
|
|
274
|
-
##### [
|
|
275
|
-
|
|
276
|
-
> def sauce_endpoint=(value)
|
|
277
|
-
|
|
278
|
-
Override the Sauce Appium endpoint to allow e.g. TestObject tests
|
|
279
|
-
|
|
280
|
-
--
|
|
281
|
-
|
|
282
|
-
##### [appium_port](https://github.com/appium/ruby_lib/blob/332599f8a5b134522f03ea375f7bc666e4e39c3d/lib/appium_lib/driver.rb#L296)
|
|
234
|
+
##### [appium_port](https://github.com/appium/ruby_lib/blob/5e5b3fbd4d7c84904f9a3158975081fc1786ad0e/lib/appium_lib/driver.rb#L296)
|
|
283
235
|
|
|
284
236
|
> def appium_port
|
|
285
237
|
|
|
@@ -287,15 +239,7 @@ Appium's server port
|
|
|
287
239
|
|
|
288
240
|
--
|
|
289
241
|
|
|
290
|
-
##### [
|
|
291
|
-
|
|
292
|
-
> def appium_port=(value)
|
|
293
|
-
|
|
294
|
-
Appium's server port
|
|
295
|
-
|
|
296
|
-
--
|
|
297
|
-
|
|
298
|
-
##### [appium_device](https://github.com/appium/ruby_lib/blob/332599f8a5b134522f03ea375f7bc666e4e39c3d/lib/appium_lib/driver.rb#L298)
|
|
242
|
+
##### [appium_device](https://github.com/appium/ruby_lib/blob/5e5b3fbd4d7c84904f9a3158975081fc1786ad0e/lib/appium_lib/driver.rb#L298)
|
|
299
243
|
|
|
300
244
|
> def appium_device
|
|
301
245
|
|
|
@@ -303,15 +247,7 @@ Device type to request from the appium server
|
|
|
303
247
|
|
|
304
248
|
--
|
|
305
249
|
|
|
306
|
-
##### [
|
|
307
|
-
|
|
308
|
-
> def appium_device=(value)
|
|
309
|
-
|
|
310
|
-
Device type to request from the appium server
|
|
311
|
-
|
|
312
|
-
--
|
|
313
|
-
|
|
314
|
-
##### [automation_name](https://github.com/appium/ruby_lib/blob/332599f8a5b134522f03ea375f7bc666e4e39c3d/lib/appium_lib/driver.rb#L301)
|
|
250
|
+
##### [automation_name](https://github.com/appium/ruby_lib/blob/5e5b3fbd4d7c84904f9a3158975081fc1786ad0e/lib/appium_lib/driver.rb#L301)
|
|
315
251
|
|
|
316
252
|
> def automation_name
|
|
317
253
|
|
|
@@ -320,7 +256,7 @@ If automation_name is nil, it is not set both client side and server side.
|
|
|
320
256
|
|
|
321
257
|
--
|
|
322
258
|
|
|
323
|
-
##### [appium_server_status](https://github.com/appium/ruby_lib/blob/
|
|
259
|
+
##### [appium_server_status](https://github.com/appium/ruby_lib/blob/5e5b3fbd4d7c84904f9a3158975081fc1786ad0e/lib/appium_lib/driver.rb#L303)
|
|
324
260
|
|
|
325
261
|
> def appium_server_status
|
|
326
262
|
|
|
@@ -328,7 +264,7 @@ Appium's server version
|
|
|
328
264
|
|
|
329
265
|
--
|
|
330
266
|
|
|
331
|
-
##### [appium_debug](https://github.com/appium/ruby_lib/blob/
|
|
267
|
+
##### [appium_debug](https://github.com/appium/ruby_lib/blob/5e5b3fbd4d7c84904f9a3158975081fc1786ad0e/lib/appium_lib/driver.rb#L305)
|
|
332
268
|
|
|
333
269
|
> def appium_debug
|
|
334
270
|
|
|
@@ -336,15 +272,7 @@ Boolean debug mode for the Appium Ruby bindings
|
|
|
336
272
|
|
|
337
273
|
--
|
|
338
274
|
|
|
339
|
-
##### [
|
|
340
|
-
|
|
341
|
-
> def appium_debug=(value)
|
|
342
|
-
|
|
343
|
-
Boolean debug mode for the Appium Ruby bindings
|
|
344
|
-
|
|
345
|
-
--
|
|
346
|
-
|
|
347
|
-
##### [listener](https://github.com/appium/ruby_lib/blob/332599f8a5b134522f03ea375f7bc666e4e39c3d/lib/appium_lib/driver.rb#L307)
|
|
275
|
+
##### [listener](https://github.com/appium/ruby_lib/blob/5e5b3fbd4d7c84904f9a3158975081fc1786ad0e/lib/appium_lib/driver.rb#L307)
|
|
348
276
|
|
|
349
277
|
> def listener
|
|
350
278
|
|
|
@@ -352,15 +280,7 @@ instance of AbstractEventListener for logging support
|
|
|
352
280
|
|
|
353
281
|
--
|
|
354
282
|
|
|
355
|
-
##### [
|
|
356
|
-
|
|
357
|
-
> def listener=(value)
|
|
358
|
-
|
|
359
|
-
instance of AbstractEventListener for logging support
|
|
360
|
-
|
|
361
|
-
--
|
|
362
|
-
|
|
363
|
-
##### [driver](https://github.com/appium/ruby_lib/blob/332599f8a5b134522f03ea375f7bc666e4e39c3d/lib/appium_lib/driver.rb#L310)
|
|
283
|
+
##### [driver](https://github.com/appium/ruby_lib/blob/5e5b3fbd4d7c84904f9a3158975081fc1786ad0e/lib/appium_lib/driver.rb#L310)
|
|
364
284
|
|
|
365
285
|
> def driver
|
|
366
286
|
|
|
@@ -372,7 +292,7 @@ __Returns:__
|
|
|
372
292
|
|
|
373
293
|
--
|
|
374
294
|
|
|
375
|
-
##### [http_client](https://github.com/appium/ruby_lib/blob/
|
|
295
|
+
##### [http_client](https://github.com/appium/ruby_lib/blob/5e5b3fbd4d7c84904f9a3158975081fc1786ad0e/lib/appium_lib/driver.rb#L313)
|
|
376
296
|
|
|
377
297
|
> def http_client
|
|
378
298
|
|
|
@@ -384,7 +304,7 @@ __Returns:__
|
|
|
384
304
|
|
|
385
305
|
--
|
|
386
306
|
|
|
387
|
-
##### [appium_wait_timeout](https://github.com/appium/ruby_lib/blob/
|
|
307
|
+
##### [appium_wait_timeout](https://github.com/appium/ruby_lib/blob/5e5b3fbd4d7c84904f9a3158975081fc1786ad0e/lib/appium_lib/driver.rb#L318)
|
|
388
308
|
|
|
389
309
|
> def appium_wait_timeout
|
|
390
310
|
|
|
@@ -398,7 +318,7 @@ __Returns:__
|
|
|
398
318
|
|
|
399
319
|
--
|
|
400
320
|
|
|
401
|
-
##### [appium_wait_interval](https://github.com/appium/ruby_lib/blob/
|
|
321
|
+
##### [appium_wait_interval](https://github.com/appium/ruby_lib/blob/5e5b3fbd4d7c84904f9a3158975081fc1786ad0e/lib/appium_lib/driver.rb#L323)
|
|
402
322
|
|
|
403
323
|
> def appium_wait_interval
|
|
404
324
|
|
|
@@ -412,7 +332,7 @@ __Returns:__
|
|
|
412
332
|
|
|
413
333
|
--
|
|
414
334
|
|
|
415
|
-
##### [initialize](https://github.com/appium/ruby_lib/blob/
|
|
335
|
+
##### [initialize](https://github.com/appium/ruby_lib/blob/5e5b3fbd4d7c84904f9a3158975081fc1786ad0e/lib/appium_lib/driver.rb#L363)
|
|
416
336
|
|
|
417
337
|
> def initialize(opts = {})
|
|
418
338
|
|
|
@@ -428,7 +348,7 @@ __Returns:__
|
|
|
428
348
|
|
|
429
349
|
--
|
|
430
350
|
|
|
431
|
-
##### [driver_attributes](https://github.com/appium/ruby_lib/blob/
|
|
351
|
+
##### [driver_attributes](https://github.com/appium/ruby_lib/blob/5e5b3fbd4d7c84904f9a3158975081fc1786ad0e/lib/appium_lib/driver.rb#L441)
|
|
432
352
|
|
|
433
353
|
> def driver_attributes
|
|
434
354
|
|
|
@@ -436,7 +356,7 @@ Returns a hash of the driver attributes
|
|
|
436
356
|
|
|
437
357
|
--
|
|
438
358
|
|
|
439
|
-
##### [device_is_android?](https://github.com/appium/ruby_lib/blob/
|
|
359
|
+
##### [device_is_android?](https://github.com/appium/ruby_lib/blob/5e5b3fbd4d7c84904f9a3158975081fc1786ad0e/lib/appium_lib/driver.rb#L466)
|
|
440
360
|
|
|
441
361
|
> def device_is_android?
|
|
442
362
|
|
|
@@ -448,7 +368,7 @@ __Returns:__
|
|
|
448
368
|
|
|
449
369
|
--
|
|
450
370
|
|
|
451
|
-
##### [automation_name_is_xcuitest?](https://github.com/appium/ruby_lib/blob/
|
|
371
|
+
##### [automation_name_is_xcuitest?](https://github.com/appium/ruby_lib/blob/5e5b3fbd4d7c84904f9a3158975081fc1786ad0e/lib/appium_lib/driver.rb#L472)
|
|
452
372
|
|
|
453
373
|
> def automation_name_is_xcuitest?
|
|
454
374
|
|
|
@@ -460,7 +380,7 @@ __Returns:__
|
|
|
460
380
|
|
|
461
381
|
--
|
|
462
382
|
|
|
463
|
-
##### [automation_name_is_uiautomator2?](https://github.com/appium/ruby_lib/blob/
|
|
383
|
+
##### [automation_name_is_uiautomator2?](https://github.com/appium/ruby_lib/blob/5e5b3fbd4d7c84904f9a3158975081fc1786ad0e/lib/appium_lib/driver.rb#L478)
|
|
464
384
|
|
|
465
385
|
> def automation_name_is_uiautomator2?
|
|
466
386
|
|
|
@@ -472,7 +392,7 @@ __Returns:__
|
|
|
472
392
|
|
|
473
393
|
--
|
|
474
394
|
|
|
475
|
-
##### [check_server_version_xcuitest](https://github.com/appium/ruby_lib/blob/
|
|
395
|
+
##### [check_server_version_xcuitest](https://github.com/appium/ruby_lib/blob/5e5b3fbd4d7c84904f9a3158975081fc1786ad0e/lib/appium_lib/driver.rb#L485)
|
|
476
396
|
|
|
477
397
|
> def check_server_version_xcuitest
|
|
478
398
|
|
|
@@ -485,7 +405,7 @@ __Returns:__
|
|
|
485
405
|
|
|
486
406
|
--
|
|
487
407
|
|
|
488
|
-
##### [appium_server_version](https://github.com/appium/ruby_lib/blob/
|
|
408
|
+
##### [appium_server_version](https://github.com/appium/ruby_lib/blob/5e5b3fbd4d7c84904f9a3158975081fc1786ad0e/lib/appium_lib/driver.rb#L506)
|
|
489
409
|
|
|
490
410
|
> def appium_server_version
|
|
491
411
|
|
|
@@ -506,7 +426,7 @@ __Returns:__
|
|
|
506
426
|
|
|
507
427
|
--
|
|
508
428
|
|
|
509
|
-
##### [appium_client_version](https://github.com/appium/ruby_lib/blob/
|
|
429
|
+
##### [appium_client_version](https://github.com/appium/ruby_lib/blob/5e5b3fbd4d7c84904f9a3158975081fc1786ad0e/lib/appium_lib/driver.rb#L523)
|
|
510
430
|
|
|
511
431
|
> def appium_client_version
|
|
512
432
|
|
|
@@ -524,7 +444,7 @@ __Returns:__
|
|
|
524
444
|
|
|
525
445
|
--
|
|
526
446
|
|
|
527
|
-
##### [absolute_app_path](https://github.com/appium/ruby_lib/blob/
|
|
447
|
+
##### [absolute_app_path](https://github.com/appium/ruby_lib/blob/5e5b3fbd4d7c84904f9a3158975081fc1786ad0e/lib/appium_lib/driver.rb#L535)
|
|
528
448
|
|
|
529
449
|
> def self.absolute_app_path(opts)
|
|
530
450
|
|
|
@@ -541,7 +461,7 @@ __Returns:__
|
|
|
541
461
|
|
|
542
462
|
--
|
|
543
463
|
|
|
544
|
-
##### [server_url](https://github.com/appium/ruby_lib/blob/
|
|
464
|
+
##### [server_url](https://github.com/appium/ruby_lib/blob/5e5b3fbd4d7c84904f9a3158975081fc1786ad0e/lib/appium_lib/driver.rb#L568)
|
|
545
465
|
|
|
546
466
|
> def server_url
|
|
547
467
|
|
|
@@ -553,7 +473,7 @@ __Returns:__
|
|
|
553
473
|
|
|
554
474
|
--
|
|
555
475
|
|
|
556
|
-
##### [restart](https://github.com/appium/ruby_lib/blob/
|
|
476
|
+
##### [restart](https://github.com/appium/ruby_lib/blob/5e5b3fbd4d7c84904f9a3158975081fc1786ad0e/lib/appium_lib/driver.rb#L579)
|
|
557
477
|
|
|
558
478
|
> def restart
|
|
559
479
|
|
|
@@ -565,7 +485,7 @@ __Returns:__
|
|
|
565
485
|
|
|
566
486
|
--
|
|
567
487
|
|
|
568
|
-
##### [screenshot](https://github.com/appium/ruby_lib/blob/
|
|
488
|
+
##### [screenshot](https://github.com/appium/ruby_lib/blob/5e5b3fbd4d7c84904f9a3158975081fc1786ad0e/lib/appium_lib/driver.rb#L590)
|
|
569
489
|
|
|
570
490
|
> def screenshot(png_save_path)
|
|
571
491
|
|
|
@@ -583,7 +503,7 @@ __Returns:__
|
|
|
583
503
|
|
|
584
504
|
--
|
|
585
505
|
|
|
586
|
-
##### [driver_quit](https://github.com/appium/ruby_lib/blob/
|
|
506
|
+
##### [driver_quit](https://github.com/appium/ruby_lib/blob/5e5b3fbd4d7c84904f9a3158975081fc1786ad0e/lib/appium_lib/driver.rb#L597)
|
|
587
507
|
|
|
588
508
|
> def driver_quit
|
|
589
509
|
|
|
@@ -595,7 +515,7 @@ __Returns:__
|
|
|
595
515
|
|
|
596
516
|
--
|
|
597
517
|
|
|
598
|
-
##### [start_driver](https://github.com/appium/ruby_lib/blob/
|
|
518
|
+
##### [start_driver](https://github.com/appium/ruby_lib/blob/5e5b3fbd4d7c84904f9a3158975081fc1786ad0e/lib/appium_lib/driver.rb#L607)
|
|
599
519
|
|
|
600
520
|
> def start_driver
|
|
601
521
|
|
|
@@ -607,7 +527,7 @@ __Returns:__
|
|
|
607
527
|
|
|
608
528
|
--
|
|
609
529
|
|
|
610
|
-
##### [no_wait](https://github.com/appium/ruby_lib/blob/
|
|
530
|
+
##### [no_wait](https://github.com/appium/ruby_lib/blob/5e5b3fbd4d7c84904f9a3158975081fc1786ad0e/lib/appium_lib/driver.rb#L645)
|
|
611
531
|
|
|
612
532
|
> def no_wait
|
|
613
533
|
|
|
@@ -615,7 +535,7 @@ Set implicit wait to zero.
|
|
|
615
535
|
|
|
616
536
|
--
|
|
617
537
|
|
|
618
|
-
##### [set_wait](https://github.com/appium/ruby_lib/blob/
|
|
538
|
+
##### [set_wait](https://github.com/appium/ruby_lib/blob/5e5b3fbd4d7c84904f9a3158975081fc1786ad0e/lib/appium_lib/driver.rb#L659)
|
|
619
539
|
|
|
620
540
|
> def set_wait(timeout = nil)
|
|
621
541
|
|
|
@@ -637,7 +557,7 @@ __Returns:__
|
|
|
637
557
|
|
|
638
558
|
--
|
|
639
559
|
|
|
640
|
-
##### [exists](https://github.com/appium/ruby_lib/blob/
|
|
560
|
+
##### [exists](https://github.com/appium/ruby_lib/blob/5e5b3fbd4d7c84904f9a3158975081fc1786ad0e/lib/appium_lib/driver.rb#L676)
|
|
641
561
|
|
|
642
562
|
> def exists(pre_check = 0, post_check = @default_wait)
|
|
643
563
|
|
|
@@ -661,7 +581,7 @@ __Returns:__
|
|
|
661
581
|
|
|
662
582
|
--
|
|
663
583
|
|
|
664
|
-
##### [execute_script](https://github.com/appium/ruby_lib/blob/
|
|
584
|
+
##### [execute_script](https://github.com/appium/ruby_lib/blob/5e5b3fbd4d7c84904f9a3158975081fc1786ad0e/lib/appium_lib/driver.rb#L700)
|
|
665
585
|
|
|
666
586
|
> def execute_script(script, *args)
|
|
667
587
|
|
|
@@ -679,7 +599,7 @@ __Returns:__
|
|
|
679
599
|
|
|
680
600
|
--
|
|
681
601
|
|
|
682
|
-
##### [find_elements](https://github.com/appium/ruby_lib/blob/
|
|
602
|
+
##### [find_elements](https://github.com/appium/ruby_lib/blob/5e5b3fbd4d7c84904f9a3158975081fc1786ad0e/lib/appium_lib/driver.rb#L722)
|
|
683
603
|
|
|
684
604
|
> def find_elements(*args)
|
|
685
605
|
|
|
@@ -705,7 +625,7 @@ __Returns:__
|
|
|
705
625
|
|
|
706
626
|
--
|
|
707
627
|
|
|
708
|
-
##### [find_element](https://github.com/appium/ruby_lib/blob/
|
|
628
|
+
##### [find_element](https://github.com/appium/ruby_lib/blob/5e5b3fbd4d7c84904f9a3158975081fc1786ad0e/lib/appium_lib/driver.rb#L737)
|
|
709
629
|
|
|
710
630
|
> def find_element(*args)
|
|
711
631
|
|
|
@@ -726,7 +646,7 @@ __Returns:__
|
|
|
726
646
|
|
|
727
647
|
--
|
|
728
648
|
|
|
729
|
-
##### [set_location](https://github.com/appium/ruby_lib/blob/
|
|
649
|
+
##### [set_location](https://github.com/appium/ruby_lib/blob/5e5b3fbd4d7c84904f9a3158975081fc1786ad0e/lib/appium_lib/driver.rb#L750)
|
|
730
650
|
|
|
731
651
|
> def set_location(opts = {})
|
|
732
652
|
|
|
@@ -742,7 +662,7 @@ __Returns:__
|
|
|
742
662
|
|
|
743
663
|
--
|
|
744
664
|
|
|
745
|
-
##### [x](https://github.com/appium/ruby_lib/blob/
|
|
665
|
+
##### [x](https://github.com/appium/ruby_lib/blob/5e5b3fbd4d7c84904f9a3158975081fc1786ad0e/lib/appium_lib/driver.rb#L760)
|
|
746
666
|
|
|
747
667
|
> def x
|
|
748
668
|
|
|
@@ -755,7 +675,7 @@ __Returns:__
|
|
|
755
675
|
|
|
756
676
|
--
|
|
757
677
|
|
|
758
|
-
##### [set_automation_name_if_nil](https://github.com/appium/ruby_lib/blob/
|
|
678
|
+
##### [set_automation_name_if_nil](https://github.com/appium/ruby_lib/blob/5e5b3fbd4d7c84904f9a3158975081fc1786ad0e/lib/appium_lib/driver.rb#L769)
|
|
759
679
|
|
|
760
680
|
> def set_automation_name_if_nil
|
|
761
681
|
|
|
@@ -764,7 +684,7 @@ Since @automation_name is set only client side before start_driver is called.
|
|
|
764
684
|
|
|
765
685
|
--
|
|
766
686
|
|
|
767
|
-
##### [logger=](https://github.com/appium/ruby_lib/blob/
|
|
687
|
+
##### [logger=](https://github.com/appium/ruby_lib/blob/5e5b3fbd4d7c84904f9a3158975081fc1786ad0e/lib/appium_lib/logger.rb#L13)
|
|
768
688
|
|
|
769
689
|
> def logger=(value)
|
|
770
690
|
|
|
@@ -776,7 +696,7 @@ __Parameters:__
|
|
|
776
696
|
|
|
777
697
|
--
|
|
778
698
|
|
|
779
|
-
##### [logger](https://github.com/appium/ruby_lib/blob/
|
|
699
|
+
##### [logger](https://github.com/appium/ruby_lib/blob/5e5b3fbd4d7c84904f9a3158975081fc1786ad0e/lib/appium_lib/logger.rb#L17)
|
|
780
700
|
|
|
781
701
|
> def logger
|
|
782
702
|
|
|
@@ -784,7 +704,7 @@ __Parameters:__
|
|
|
784
704
|
|
|
785
705
|
--
|
|
786
706
|
|
|
787
|
-
##### [app_strings](https://github.com/appium/ruby_lib/blob/
|
|
707
|
+
##### [app_strings](https://github.com/appium/ruby_lib/blob/5e5b3fbd4d7c84904f9a3158975081fc1786ad0e/lib/appium_lib/device/device.rb#L7)
|
|
788
708
|
|
|
789
709
|
> def app_strings
|
|
790
710
|
|
|
@@ -795,7 +715,7 @@ app_strings #=> "TransitionsTitle"=>"Transitions", "WebTitle"=>"Web"
|
|
|
795
715
|
|
|
796
716
|
--
|
|
797
717
|
|
|
798
|
-
##### [background_app](https://github.com/appium/ruby_lib/blob/
|
|
718
|
+
##### [background_app](https://github.com/appium/ruby_lib/blob/5e5b3fbd4d7c84904f9a3158975081fc1786ad0e/lib/appium_lib/device/device.rb#L13)
|
|
799
719
|
|
|
800
720
|
> def background_app
|
|
801
721
|
|
|
@@ -804,7 +724,7 @@ This is a blocking application
|
|
|
804
724
|
|
|
805
725
|
--
|
|
806
726
|
|
|
807
|
-
##### [current_activity](https://github.com/appium/ruby_lib/blob/
|
|
727
|
+
##### [current_activity](https://github.com/appium/ruby_lib/blob/5e5b3fbd4d7c84904f9a3158975081fc1786ad0e/lib/appium_lib/device/device.rb#L24)
|
|
808
728
|
|
|
809
729
|
> def current_activity
|
|
810
730
|
|
|
@@ -812,7 +732,7 @@ This is a blocking application
|
|
|
812
732
|
|
|
813
733
|
--
|
|
814
734
|
|
|
815
|
-
##### [get_system_bars](https://github.com/appium/ruby_lib/blob/
|
|
735
|
+
##### [get_system_bars](https://github.com/appium/ruby_lib/blob/5e5b3fbd4d7c84904f9a3158975081fc1786ad0e/lib/appium_lib/device/device.rb#L26)
|
|
816
736
|
|
|
817
737
|
> def get_system_bars
|
|
818
738
|
|
|
@@ -827,7 +747,7 @@ __Returns:__
|
|
|
827
747
|
|
|
828
748
|
--
|
|
829
749
|
|
|
830
|
-
##### [get_display_density](https://github.com/appium/ruby_lib/blob/
|
|
750
|
+
##### [get_display_density](https://github.com/appium/ruby_lib/blob/5e5b3fbd4d7c84904f9a3158975081fc1786ad0e/lib/appium_lib/device/device.rb#L34)
|
|
831
751
|
|
|
832
752
|
> def get_display_density
|
|
833
753
|
|
|
@@ -842,7 +762,7 @@ __Returns:__
|
|
|
842
762
|
|
|
843
763
|
--
|
|
844
764
|
|
|
845
|
-
##### [is_keyboard_shown](https://github.com/appium/ruby_lib/blob/
|
|
765
|
+
##### [is_keyboard_shown](https://github.com/appium/ruby_lib/blob/5e5b3fbd4d7c84904f9a3158975081fc1786ad0e/lib/appium_lib/device/device.rb#L42)
|
|
846
766
|
|
|
847
767
|
> def is_keyboard_shown
|
|
848
768
|
|
|
@@ -857,7 +777,7 @@ __Returns:__
|
|
|
857
777
|
|
|
858
778
|
--
|
|
859
779
|
|
|
860
|
-
##### [launch_app](https://github.com/appium/ruby_lib/blob/
|
|
780
|
+
##### [launch_app](https://github.com/appium/ruby_lib/blob/5e5b3fbd4d7c84904f9a3158975081fc1786ad0e/lib/appium_lib/device/device.rb#L50)
|
|
861
781
|
|
|
862
782
|
> def launch_app
|
|
863
783
|
|
|
@@ -865,7 +785,7 @@ Start the simulator and application configured with desired capabilities
|
|
|
865
785
|
|
|
866
786
|
--
|
|
867
787
|
|
|
868
|
-
##### [reset](https://github.com/appium/ruby_lib/blob/
|
|
788
|
+
##### [reset](https://github.com/appium/ruby_lib/blob/5e5b3fbd4d7c84904f9a3158975081fc1786ad0e/lib/appium_lib/device/device.rb#L53)
|
|
869
789
|
|
|
870
790
|
> def reset
|
|
871
791
|
|
|
@@ -873,7 +793,7 @@ Reset the device, relaunching the application.
|
|
|
873
793
|
|
|
874
794
|
--
|
|
875
795
|
|
|
876
|
-
##### [shake](https://github.com/appium/ruby_lib/blob/
|
|
796
|
+
##### [shake](https://github.com/appium/ruby_lib/blob/5e5b3fbd4d7c84904f9a3158975081fc1786ad0e/lib/appium_lib/device/device.rb#L56)
|
|
877
797
|
|
|
878
798
|
> def shake
|
|
879
799
|
|
|
@@ -881,7 +801,7 @@ Cause the device to shake
|
|
|
881
801
|
|
|
882
802
|
--
|
|
883
803
|
|
|
884
|
-
##### [toggle_flight_mode](https://github.com/appium/ruby_lib/blob/
|
|
804
|
+
##### [toggle_flight_mode](https://github.com/appium/ruby_lib/blob/5e5b3fbd4d7c84904f9a3158975081fc1786ad0e/lib/appium_lib/device/device.rb#L59)
|
|
885
805
|
|
|
886
806
|
> def toggle_flight_mode
|
|
887
807
|
|
|
@@ -889,7 +809,7 @@ Toggle flight mode on or off
|
|
|
889
809
|
|
|
890
810
|
--
|
|
891
811
|
|
|
892
|
-
##### [device_locked?](https://github.com/appium/ruby_lib/blob/
|
|
812
|
+
##### [device_locked?](https://github.com/appium/ruby_lib/blob/5e5b3fbd4d7c84904f9a3158975081fc1786ad0e/lib/appium_lib/device/device.rb#L62)
|
|
893
813
|
|
|
894
814
|
> def device_locked?
|
|
895
815
|
|
|
@@ -897,7 +817,7 @@ Toggle flight mode on or off
|
|
|
897
817
|
|
|
898
818
|
--
|
|
899
819
|
|
|
900
|
-
##### [hide_keyboard](https://github.com/appium/ruby_lib/blob/
|
|
820
|
+
##### [hide_keyboard](https://github.com/appium/ruby_lib/blob/5e5b3fbd4d7c84904f9a3158975081fc1786ad0e/lib/appium_lib/device/device.rb#L64)
|
|
901
821
|
|
|
902
822
|
> def hide_keyboard
|
|
903
823
|
|
|
@@ -914,7 +834,7 @@ Default for iOS is `:pressKey`. Default for Android is `:tapOutside`.
|
|
|
914
834
|
|
|
915
835
|
--
|
|
916
836
|
|
|
917
|
-
##### [press_keycode](https://github.com/appium/ruby_lib/blob/
|
|
837
|
+
##### [press_keycode](https://github.com/appium/ruby_lib/blob/5e5b3fbd4d7c84904f9a3158975081fc1786ad0e/lib/appium_lib/device/device.rb#L77)
|
|
918
838
|
|
|
919
839
|
> def press_keycode
|
|
920
840
|
|
|
@@ -929,7 +849,7 @@ __Parameters:__
|
|
|
929
849
|
|
|
930
850
|
--
|
|
931
851
|
|
|
932
|
-
##### [long_press_keycode](https://github.com/appium/ruby_lib/blob/
|
|
852
|
+
##### [long_press_keycode](https://github.com/appium/ruby_lib/blob/5e5b3fbd4d7c84904f9a3158975081fc1786ad0e/lib/appium_lib/device/device.rb#L83)
|
|
933
853
|
|
|
934
854
|
> def long_press_keycode
|
|
935
855
|
|
|
@@ -944,7 +864,7 @@ __Parameters:__
|
|
|
944
864
|
|
|
945
865
|
--
|
|
946
866
|
|
|
947
|
-
##### [push_file](https://github.com/appium/ruby_lib/blob/
|
|
867
|
+
##### [push_file](https://github.com/appium/ruby_lib/blob/5e5b3fbd4d7c84904f9a3158975081fc1786ad0e/lib/appium_lib/device/device.rb#L89)
|
|
948
868
|
|
|
949
869
|
> def push_file
|
|
950
870
|
|
|
@@ -958,7 +878,7 @@ __Parameters:__
|
|
|
958
878
|
|
|
959
879
|
--
|
|
960
880
|
|
|
961
|
-
##### [pull_file](https://github.com/appium/ruby_lib/blob/
|
|
881
|
+
##### [pull_file](https://github.com/appium/ruby_lib/blob/5e5b3fbd4d7c84904f9a3158975081fc1786ad0e/lib/appium_lib/device/device.rb#L94)
|
|
962
882
|
|
|
963
883
|
> def pull_file
|
|
964
884
|
|
|
@@ -975,7 +895,7 @@ __Parameters:__
|
|
|
975
895
|
|
|
976
896
|
--
|
|
977
897
|
|
|
978
|
-
##### [pull_folder](https://github.com/appium/ruby_lib/blob/
|
|
898
|
+
##### [pull_folder](https://github.com/appium/ruby_lib/blob/5e5b3fbd4d7c84904f9a3158975081fc1786ad0e/lib/appium_lib/device/device.rb#L104)
|
|
979
899
|
|
|
980
900
|
> def pull_folder
|
|
981
901
|
|
|
@@ -990,7 +910,7 @@ __Parameters:__
|
|
|
990
910
|
|
|
991
911
|
--
|
|
992
912
|
|
|
993
|
-
##### [touch_id](https://github.com/appium/ruby_lib/blob/
|
|
913
|
+
##### [touch_id](https://github.com/appium/ruby_lib/blob/5e5b3fbd4d7c84904f9a3158975081fc1786ad0e/lib/appium_lib/device/device.rb#L112)
|
|
994
914
|
|
|
995
915
|
> def touch_id
|
|
996
916
|
|
|
@@ -1007,7 +927,7 @@ Defaults to true.
|
|
|
1007
927
|
|
|
1008
928
|
--
|
|
1009
929
|
|
|
1010
|
-
##### [toggle_touch_id_enrollment](https://github.com/appium/ruby_lib/blob/
|
|
930
|
+
##### [toggle_touch_id_enrollment](https://github.com/appium/ruby_lib/blob/5e5b3fbd4d7c84904f9a3158975081fc1786ad0e/lib/appium_lib/device/device.rb#L121)
|
|
1011
931
|
|
|
1012
932
|
> def toggle_touch_id_enrollment
|
|
1013
933
|
|
|
@@ -1015,7 +935,7 @@ iOS Simulator only: Toggle touch id enrollment on an iOS Simulator.
|
|
|
1015
935
|
|
|
1016
936
|
--
|
|
1017
937
|
|
|
1018
|
-
##### [end_coverage](https://github.com/appium/ruby_lib/blob/
|
|
938
|
+
##### [end_coverage](https://github.com/appium/ruby_lib/blob/5e5b3fbd4d7c84904f9a3158975081fc1786ad0e/lib/appium_lib/device/device.rb#L124)
|
|
1019
939
|
|
|
1020
940
|
> def end_coverage
|
|
1021
941
|
|
|
@@ -1029,7 +949,7 @@ __Parameters:__
|
|
|
1029
949
|
|
|
1030
950
|
--
|
|
1031
951
|
|
|
1032
|
-
##### [get_settings](https://github.com/appium/ruby_lib/blob/
|
|
952
|
+
##### [get_settings](https://github.com/appium/ruby_lib/blob/5e5b3fbd4d7c84904f9a3158975081fc1786ad0e/lib/appium_lib/device/device.rb#L129)
|
|
1033
953
|
|
|
1034
954
|
> def get_settings
|
|
1035
955
|
|
|
@@ -1037,7 +957,7 @@ Get appium Settings for current test session
|
|
|
1037
957
|
|
|
1038
958
|
--
|
|
1039
959
|
|
|
1040
|
-
##### [update_settings](https://github.com/appium/ruby_lib/blob/
|
|
960
|
+
##### [update_settings](https://github.com/appium/ruby_lib/blob/5e5b3fbd4d7c84904f9a3158975081fc1786ad0e/lib/appium_lib/device/device.rb#L132)
|
|
1041
961
|
|
|
1042
962
|
> def update_settings
|
|
1043
963
|
|
|
@@ -1049,7 +969,7 @@ __Parameters:__
|
|
|
1049
969
|
|
|
1050
970
|
--
|
|
1051
971
|
|
|
1052
|
-
##### [start_activity](https://github.com/appium/ruby_lib/blob/
|
|
972
|
+
##### [start_activity](https://github.com/appium/ruby_lib/blob/5e5b3fbd4d7c84904f9a3158975081fc1786ad0e/lib/appium_lib/device/device.rb#L136)
|
|
1053
973
|
|
|
1054
974
|
> def start_activity
|
|
1055
975
|
|
|
@@ -1063,7 +983,7 @@ start_activity app_package: 'io.appium.android.apis',
|
|
|
1063
983
|
|
|
1064
984
|
--
|
|
1065
985
|
|
|
1066
|
-
##### [get_network_connection](https://github.com/appium/ruby_lib/blob/
|
|
986
|
+
##### [get_network_connection](https://github.com/appium/ruby_lib/blob/5e5b3fbd4d7c84904f9a3158975081fc1786ad0e/lib/appium_lib/device/device.rb#L150)
|
|
1067
987
|
|
|
1068
988
|
> def get_network_connection
|
|
1069
989
|
|
|
@@ -1072,7 +992,7 @@ See set_network_connection method for return value
|
|
|
1072
992
|
|
|
1073
993
|
--
|
|
1074
994
|
|
|
1075
|
-
##### [set_network_connection](https://github.com/appium/ruby_lib/blob/
|
|
995
|
+
##### [set_network_connection](https://github.com/appium/ruby_lib/blob/5e5b3fbd4d7c84904f9a3158975081fc1786ad0e/lib/appium_lib/device/device.rb#L154)
|
|
1076
996
|
|
|
1077
997
|
> def set_network_connection
|
|
1078
998
|
|
|
@@ -1091,7 +1011,7 @@ __Parameters:__
|
|
|
1091
1011
|
|
|
1092
1012
|
--
|
|
1093
1013
|
|
|
1094
|
-
##### [set_immediate_value](https://github.com/appium/ruby_lib/blob/
|
|
1014
|
+
##### [set_immediate_value](https://github.com/appium/ruby_lib/blob/5e5b3fbd4d7c84904f9a3158975081fc1786ad0e/lib/appium_lib/device/device.rb#L167)
|
|
1095
1015
|
|
|
1096
1016
|
> def set_immediate_value
|
|
1097
1017
|
|
|
@@ -1105,7 +1025,7 @@ set_immediate_value element, 'hello'
|
|
|
1105
1025
|
|
|
1106
1026
|
--
|
|
1107
1027
|
|
|
1108
|
-
##### [get_performance_data_types](https://github.com/appium/ruby_lib/blob/
|
|
1028
|
+
##### [get_performance_data_types](https://github.com/appium/ruby_lib/blob/5e5b3fbd4d7c84904f9a3158975081fc1786ad0e/lib/appium_lib/device/device.rb#L176)
|
|
1109
1029
|
|
|
1110
1030
|
> def get_performance_data_types
|
|
1111
1031
|
|
|
@@ -1119,7 +1039,7 @@ get_performance_data_types #=> ["cpuinfo", "batteryinfo", "networkinfo", "memory
|
|
|
1119
1039
|
|
|
1120
1040
|
--
|
|
1121
1041
|
|
|
1122
|
-
##### [extend_search_contexts](https://github.com/appium/ruby_lib/blob/
|
|
1042
|
+
##### [extend_search_contexts](https://github.com/appium/ruby_lib/blob/5e5b3fbd4d7c84904f9a3158975081fc1786ad0e/lib/appium_lib/device/device.rb#L438)
|
|
1123
1043
|
|
|
1124
1044
|
> def extend_search_contexts
|
|
1125
1045
|
|
|
@@ -1127,7 +1047,7 @@ get_performance_data_types #=> ["cpuinfo", "batteryinfo", "networkinfo", "memory
|
|
|
1127
1047
|
|
|
1128
1048
|
--
|
|
1129
1049
|
|
|
1130
|
-
##### [find_element_with_appium](https://github.com/appium/ruby_lib/blob/
|
|
1050
|
+
##### [find_element_with_appium](https://github.com/appium/ruby_lib/blob/5e5b3fbd4d7c84904f9a3158975081fc1786ad0e/lib/appium_lib/device/device.rb#L438)
|
|
1131
1051
|
|
|
1132
1052
|
> def find_element_with_appium
|
|
1133
1053
|
|
|
@@ -1135,7 +1055,7 @@ get_performance_data_types #=> ["cpuinfo", "batteryinfo", "networkinfo", "memory
|
|
|
1135
1055
|
|
|
1136
1056
|
--
|
|
1137
1057
|
|
|
1138
|
-
##### [find_elements_with_appium](https://github.com/appium/ruby_lib/blob/
|
|
1058
|
+
##### [find_elements_with_appium](https://github.com/appium/ruby_lib/blob/5e5b3fbd4d7c84904f9a3158975081fc1786ad0e/lib/appium_lib/device/device.rb#L438)
|
|
1139
1059
|
|
|
1140
1060
|
> def find_elements_with_appium
|
|
1141
1061
|
|
|
@@ -1147,7 +1067,7 @@ find_element/s_with_appium with their accessibility_id
|
|
|
1147
1067
|
|
|
1148
1068
|
--
|
|
1149
1069
|
|
|
1150
|
-
##### [add_touch_actions](https://github.com/appium/ruby_lib/blob/
|
|
1070
|
+
##### [add_touch_actions](https://github.com/appium/ruby_lib/blob/5e5b3fbd4d7c84904f9a3158975081fc1786ad0e/lib/appium_lib/device/device.rb#L469)
|
|
1151
1071
|
|
|
1152
1072
|
> def add_touch_actions
|
|
1153
1073
|
|
|
@@ -1155,7 +1075,7 @@ find_element/s_with_appium with their accessibility_id
|
|
|
1155
1075
|
|
|
1156
1076
|
--
|
|
1157
1077
|
|
|
1158
|
-
##### [add_ime_actions](https://github.com/appium/ruby_lib/blob/
|
|
1078
|
+
##### [add_ime_actions](https://github.com/appium/ruby_lib/blob/5e5b3fbd4d7c84904f9a3158975081fc1786ad0e/lib/appium_lib/device/device.rb#L492)
|
|
1159
1079
|
|
|
1160
1080
|
> def add_ime_actions
|
|
1161
1081
|
|
|
@@ -1163,7 +1083,7 @@ find_element/s_with_appium with their accessibility_id
|
|
|
1163
1083
|
|
|
1164
1084
|
--
|
|
1165
1085
|
|
|
1166
|
-
##### [set_context](https://github.com/appium/ruby_lib/blob/
|
|
1086
|
+
##### [set_context](https://github.com/appium/ruby_lib/blob/5e5b3fbd4d7c84904f9a3158975081fc1786ad0e/lib/appium_lib/device/device.rb#L567)
|
|
1167
1087
|
|
|
1168
1088
|
> def set_context
|
|
1169
1089
|
|
|
@@ -1178,7 +1098,7 @@ __Parameters:__
|
|
|
1178
1098
|
|
|
1179
1099
|
--
|
|
1180
1100
|
|
|
1181
|
-
##### [current_context](https://github.com/appium/ruby_lib/blob/
|
|
1101
|
+
##### [current_context](https://github.com/appium/ruby_lib/blob/5e5b3fbd4d7c84904f9a3158975081fc1786ad0e/lib/appium_lib/device/device.rb#L575)
|
|
1182
1102
|
|
|
1183
1103
|
> def current_context
|
|
1184
1104
|
|
|
@@ -1190,7 +1110,7 @@ __Returns:__
|
|
|
1190
1110
|
|
|
1191
1111
|
--
|
|
1192
1112
|
|
|
1193
|
-
##### [available_contexts](https://github.com/appium/ruby_lib/blob/
|
|
1113
|
+
##### [available_contexts](https://github.com/appium/ruby_lib/blob/5e5b3fbd4d7c84904f9a3158975081fc1786ad0e/lib/appium_lib/device/device.rb#L578)
|
|
1194
1114
|
|
|
1195
1115
|
> def available_contexts
|
|
1196
1116
|
|
|
@@ -1202,7 +1122,7 @@ __Returns:__
|
|
|
1202
1122
|
|
|
1203
1123
|
--
|
|
1204
1124
|
|
|
1205
|
-
##### [within_context](https://github.com/appium/ruby_lib/blob/
|
|
1125
|
+
##### [within_context](https://github.com/appium/ruby_lib/blob/5e5b3fbd4d7c84904f9a3158975081fc1786ad0e/lib/appium_lib/device/device.rb#L588)
|
|
1206
1126
|
|
|
1207
1127
|
> def within_context(context)
|
|
1208
1128
|
|
|
@@ -1218,7 +1138,7 @@ __Parameters:__
|
|
|
1218
1138
|
|
|
1219
1139
|
--
|
|
1220
1140
|
|
|
1221
|
-
##### [switch_to_default_context](https://github.com/appium/ruby_lib/blob/
|
|
1141
|
+
##### [switch_to_default_context](https://github.com/appium/ruby_lib/blob/5e5b3fbd4d7c84904f9a3158975081fc1786ad0e/lib/appium_lib/device/device.rb#L596)
|
|
1222
1142
|
|
|
1223
1143
|
> def switch_to_default_context
|
|
1224
1144
|
|
|
@@ -1226,7 +1146,7 @@ Change to the default context. This is equivalent to `set_context nil`.
|
|
|
1226
1146
|
|
|
1227
1147
|
--
|
|
1228
1148
|
|
|
1229
|
-
##### [pinch](https://github.com/appium/ruby_lib/blob/
|
|
1149
|
+
##### [pinch](https://github.com/appium/ruby_lib/blob/5e5b3fbd4d7c84904f9a3158975081fc1786ad0e/lib/appium_lib/device/multi_touch.rb#L28)
|
|
1230
1150
|
|
|
1231
1151
|
> def pinch(percentage = 25, auto_perform = true)
|
|
1232
1152
|
|
|
@@ -1245,7 +1165,7 @@ __Parameters:__
|
|
|
1245
1165
|
|
|
1246
1166
|
--
|
|
1247
1167
|
|
|
1248
|
-
##### [zoom](https://github.com/appium/ruby_lib/blob/
|
|
1168
|
+
##### [zoom](https://github.com/appium/ruby_lib/blob/5e5b3fbd4d7c84904f9a3158975081fc1786ad0e/lib/appium_lib/device/multi_touch.rb#L57)
|
|
1249
1169
|
|
|
1250
1170
|
> def zoom(percentage = 200, auto_perform = true)
|
|
1251
1171
|
|
|
@@ -1264,7 +1184,7 @@ __Parameters:__
|
|
|
1264
1184
|
|
|
1265
1185
|
--
|
|
1266
1186
|
|
|
1267
|
-
##### [pinch_for_xcuitest](https://github.com/appium/ruby_lib/blob/
|
|
1187
|
+
##### [pinch_for_xcuitest](https://github.com/appium/ruby_lib/blob/5e5b3fbd4d7c84904f9a3158975081fc1786ad0e/lib/appium_lib/device/multi_touch.rb#L79)
|
|
1268
1188
|
|
|
1269
1189
|
> def pinch_for_xcuitest(rate)
|
|
1270
1190
|
|
|
@@ -1272,7 +1192,7 @@ __Parameters:__
|
|
|
1272
1192
|
|
|
1273
1193
|
--
|
|
1274
1194
|
|
|
1275
|
-
##### [pinch_android](https://github.com/appium/ruby_lib/blob/
|
|
1195
|
+
##### [pinch_android](https://github.com/appium/ruby_lib/blob/5e5b3fbd4d7c84904f9a3158975081fc1786ad0e/lib/appium_lib/device/multi_touch.rb#L94)
|
|
1276
1196
|
|
|
1277
1197
|
> def pinch_android(rate)
|
|
1278
1198
|
|
|
@@ -1280,7 +1200,7 @@ __Parameters:__
|
|
|
1280
1200
|
|
|
1281
1201
|
--
|
|
1282
1202
|
|
|
1283
|
-
##### [pinch_ios](https://github.com/appium/ruby_lib/blob/
|
|
1203
|
+
##### [pinch_ios](https://github.com/appium/ruby_lib/blob/5e5b3fbd4d7c84904f9a3158975081fc1786ad0e/lib/appium_lib/device/multi_touch.rb#L108)
|
|
1284
1204
|
|
|
1285
1205
|
> def pinch_ios(rate)
|
|
1286
1206
|
|
|
@@ -1288,7 +1208,7 @@ __Parameters:__
|
|
|
1288
1208
|
|
|
1289
1209
|
--
|
|
1290
1210
|
|
|
1291
|
-
##### [zoom_for_xcuitest](https://github.com/appium/ruby_lib/blob/
|
|
1211
|
+
##### [zoom_for_xcuitest](https://github.com/appium/ruby_lib/blob/5e5b3fbd4d7c84904f9a3158975081fc1786ad0e/lib/appium_lib/device/multi_touch.rb#L122)
|
|
1292
1212
|
|
|
1293
1213
|
> def zoom_for_xcuitest(rate)
|
|
1294
1214
|
|
|
@@ -1296,7 +1216,7 @@ __Parameters:__
|
|
|
1296
1216
|
|
|
1297
1217
|
--
|
|
1298
1218
|
|
|
1299
|
-
##### [zoom_android](https://github.com/appium/ruby_lib/blob/
|
|
1219
|
+
##### [zoom_android](https://github.com/appium/ruby_lib/blob/5e5b3fbd4d7c84904f9a3158975081fc1786ad0e/lib/appium_lib/device/multi_touch.rb#L137)
|
|
1300
1220
|
|
|
1301
1221
|
> def zoom_android(rate)
|
|
1302
1222
|
|
|
@@ -1304,7 +1224,7 @@ __Parameters:__
|
|
|
1304
1224
|
|
|
1305
1225
|
--
|
|
1306
1226
|
|
|
1307
|
-
##### [zoom_ios](https://github.com/appium/ruby_lib/blob/
|
|
1227
|
+
##### [zoom_ios](https://github.com/appium/ruby_lib/blob/5e5b3fbd4d7c84904f9a3158975081fc1786ad0e/lib/appium_lib/device/multi_touch.rb#L151)
|
|
1308
1228
|
|
|
1309
1229
|
> def zoom_ios(rate)
|
|
1310
1230
|
|
|
@@ -1312,7 +1232,7 @@ __Parameters:__
|
|
|
1312
1232
|
|
|
1313
1233
|
--
|
|
1314
1234
|
|
|
1315
|
-
##### [actions](https://github.com/appium/ruby_lib/blob/
|
|
1235
|
+
##### [actions](https://github.com/appium/ruby_lib/blob/5e5b3fbd4d7c84904f9a3158975081fc1786ad0e/lib/appium_lib/device/multi_touch.rb#L166)
|
|
1316
1236
|
|
|
1317
1237
|
> def actions
|
|
1318
1238
|
|
|
@@ -1320,7 +1240,7 @@ self
|
|
|
1320
1240
|
|
|
1321
1241
|
--
|
|
1322
1242
|
|
|
1323
|
-
##### [initialize](https://github.com/appium/ruby_lib/blob/
|
|
1243
|
+
##### [initialize](https://github.com/appium/ruby_lib/blob/5e5b3fbd4d7c84904f9a3158975081fc1786ad0e/lib/appium_lib/device/multi_touch.rb#L169)
|
|
1324
1244
|
|
|
1325
1245
|
> def initialize
|
|
1326
1246
|
|
|
@@ -1332,7 +1252,7 @@ __Returns:__
|
|
|
1332
1252
|
|
|
1333
1253
|
--
|
|
1334
1254
|
|
|
1335
|
-
##### [add](https://github.com/appium/ruby_lib/blob/
|
|
1255
|
+
##### [add](https://github.com/appium/ruby_lib/blob/5e5b3fbd4d7c84904f9a3158975081fc1786ad0e/lib/appium_lib/device/multi_touch.rb#L175)
|
|
1336
1256
|
|
|
1337
1257
|
> def add(chain)
|
|
1338
1258
|
|
|
@@ -1344,7 +1264,7 @@ __Parameters:__
|
|
|
1344
1264
|
|
|
1345
1265
|
--
|
|
1346
1266
|
|
|
1347
|
-
##### [perform](https://github.com/appium/ruby_lib/blob/
|
|
1267
|
+
##### [perform](https://github.com/appium/ruby_lib/blob/5e5b3fbd4d7c84904f9a3158975081fc1786ad0e/lib/appium_lib/device/multi_touch.rb#L180)
|
|
1348
1268
|
|
|
1349
1269
|
> def perform
|
|
1350
1270
|
|
|
@@ -1352,7 +1272,7 @@ Ask Appium to perform the actions
|
|
|
1352
1272
|
|
|
1353
1273
|
--
|
|
1354
1274
|
|
|
1355
|
-
##### [ACTIONS](https://github.com/appium/ruby_lib/blob/
|
|
1275
|
+
##### [ACTIONS](https://github.com/appium/ruby_lib/blob/5e5b3fbd4d7c84904f9a3158975081fc1786ad0e/lib/appium_lib/device/touch_actions.rb#L22)
|
|
1356
1276
|
|
|
1357
1277
|
> ACTIONS = [:move_to, :long_press, :double_tap, :two_finger_tap, :press, :release, :tap, :wait, :perform].freeze
|
|
1358
1278
|
|
|
@@ -1360,7 +1280,7 @@ Ask Appium to perform the actions
|
|
|
1360
1280
|
|
|
1361
1281
|
--
|
|
1362
1282
|
|
|
1363
|
-
##### [COMPLEX_ACTIONS](https://github.com/appium/ruby_lib/blob/
|
|
1283
|
+
##### [COMPLEX_ACTIONS](https://github.com/appium/ruby_lib/blob/5e5b3fbd4d7c84904f9a3158975081fc1786ad0e/lib/appium_lib/device/touch_actions.rb#L23)
|
|
1364
1284
|
|
|
1365
1285
|
> COMPLEX_ACTIONS = [:swipe].freeze
|
|
1366
1286
|
|
|
@@ -1368,7 +1288,7 @@ Ask Appium to perform the actions
|
|
|
1368
1288
|
|
|
1369
1289
|
--
|
|
1370
1290
|
|
|
1371
|
-
##### [actions](https://github.com/appium/ruby_lib/blob/
|
|
1291
|
+
##### [actions](https://github.com/appium/ruby_lib/blob/5e5b3fbd4d7c84904f9a3158975081fc1786ad0e/lib/appium_lib/device/touch_actions.rb#L37)
|
|
1372
1292
|
|
|
1373
1293
|
> def actions
|
|
1374
1294
|
|
|
@@ -1376,7 +1296,7 @@ Returns the value of attribute actions
|
|
|
1376
1296
|
|
|
1377
1297
|
--
|
|
1378
1298
|
|
|
1379
|
-
##### [initialize](https://github.com/appium/ruby_lib/blob/
|
|
1299
|
+
##### [initialize](https://github.com/appium/ruby_lib/blob/5e5b3fbd4d7c84904f9a3158975081fc1786ad0e/lib/appium_lib/device/touch_actions.rb#L39)
|
|
1380
1300
|
|
|
1381
1301
|
> def initialize
|
|
1382
1302
|
|
|
@@ -1388,7 +1308,7 @@ __Returns:__
|
|
|
1388
1308
|
|
|
1389
1309
|
--
|
|
1390
1310
|
|
|
1391
|
-
##### [move_to](https://github.com/appium/ruby_lib/blob/
|
|
1311
|
+
##### [move_to](https://github.com/appium/ruby_lib/blob/5e5b3fbd4d7c84904f9a3158975081fc1786ad0e/lib/appium_lib/device/touch_actions.rb#L50)
|
|
1392
1312
|
|
|
1393
1313
|
> def move_to(opts)
|
|
1394
1314
|
|
|
@@ -1402,7 +1322,7 @@ __Parameters:__
|
|
|
1402
1322
|
|
|
1403
1323
|
--
|
|
1404
1324
|
|
|
1405
|
-
##### [long_press](https://github.com/appium/ruby_lib/blob/
|
|
1325
|
+
##### [long_press](https://github.com/appium/ruby_lib/blob/5e5b3fbd4d7c84904f9a3158975081fc1786ad0e/lib/appium_lib/device/touch_actions.rb#L64)
|
|
1406
1326
|
|
|
1407
1327
|
> def long_press(opts)
|
|
1408
1328
|
|
|
@@ -1423,7 +1343,7 @@ __Parameters:__
|
|
|
1423
1343
|
|
|
1424
1344
|
--
|
|
1425
1345
|
|
|
1426
|
-
##### [press](https://github.com/appium/ruby_lib/blob/
|
|
1346
|
+
##### [press](https://github.com/appium/ruby_lib/blob/5e5b3fbd4d7c84904f9a3158975081fc1786ad0e/lib/appium_lib/device/touch_actions.rb#L76)
|
|
1427
1347
|
|
|
1428
1348
|
> def press(opts)
|
|
1429
1349
|
|
|
@@ -1436,7 +1356,7 @@ __Parameters:__
|
|
|
1436
1356
|
|
|
1437
1357
|
--
|
|
1438
1358
|
|
|
1439
|
-
##### [release](https://github.com/appium/ruby_lib/blob/
|
|
1359
|
+
##### [release](https://github.com/appium/ruby_lib/blob/5e5b3fbd4d7c84904f9a3158975081fc1786ad0e/lib/appium_lib/device/touch_actions.rb#L87)
|
|
1440
1360
|
|
|
1441
1361
|
> def release(opts = nil)
|
|
1442
1362
|
|
|
@@ -1448,7 +1368,7 @@ __Parameters:__
|
|
|
1448
1368
|
|
|
1449
1369
|
--
|
|
1450
1370
|
|
|
1451
|
-
##### [tap](https://github.com/appium/ruby_lib/blob/
|
|
1371
|
+
##### [tap](https://github.com/appium/ruby_lib/blob/5e5b3fbd4d7c84904f9a3158975081fc1786ad0e/lib/appium_lib/device/touch_actions.rb#L99)
|
|
1452
1372
|
|
|
1453
1373
|
> def tap(opts)
|
|
1454
1374
|
|
|
@@ -1461,7 +1381,7 @@ __Parameters:__
|
|
|
1461
1381
|
|
|
1462
1382
|
--
|
|
1463
1383
|
|
|
1464
|
-
##### [double_tap](https://github.com/appium/ruby_lib/blob/
|
|
1384
|
+
##### [double_tap](https://github.com/appium/ruby_lib/blob/5e5b3fbd4d7c84904f9a3158975081fc1786ad0e/lib/appium_lib/device/touch_actions.rb#L112)
|
|
1465
1385
|
|
|
1466
1386
|
> def double_tap(opts)
|
|
1467
1387
|
|
|
@@ -1473,7 +1393,7 @@ __Parameters:__
|
|
|
1473
1393
|
|
|
1474
1394
|
--
|
|
1475
1395
|
|
|
1476
|
-
##### [two_finger_tap](https://github.com/appium/ruby_lib/blob/
|
|
1396
|
+
##### [two_finger_tap](https://github.com/appium/ruby_lib/blob/5e5b3fbd4d7c84904f9a3158975081fc1786ad0e/lib/appium_lib/device/touch_actions.rb#L123)
|
|
1477
1397
|
|
|
1478
1398
|
> def two_finger_tap(opts)
|
|
1479
1399
|
|
|
@@ -1485,7 +1405,7 @@ __Parameters:__
|
|
|
1485
1405
|
|
|
1486
1406
|
--
|
|
1487
1407
|
|
|
1488
|
-
##### [wait](https://github.com/appium/ruby_lib/blob/
|
|
1408
|
+
##### [wait](https://github.com/appium/ruby_lib/blob/5e5b3fbd4d7c84904f9a3158975081fc1786ad0e/lib/appium_lib/device/touch_actions.rb#L131)
|
|
1489
1409
|
|
|
1490
1410
|
> def wait(milliseconds)
|
|
1491
1411
|
|
|
@@ -1497,7 +1417,7 @@ __Parameters:__
|
|
|
1497
1417
|
|
|
1498
1418
|
--
|
|
1499
1419
|
|
|
1500
|
-
##### [swipe](https://github.com/appium/ruby_lib/blob/
|
|
1420
|
+
##### [swipe](https://github.com/appium/ruby_lib/blob/5e5b3fbd4d7c84904f9a3158975081fc1786ad0e/lib/appium_lib/device/touch_actions.rb#L154)
|
|
1501
1421
|
|
|
1502
1422
|
> def swipe(opts, ele = nil)
|
|
1503
1423
|
|
|
@@ -1518,7 +1438,7 @@ __Parameters:__
|
|
|
1518
1438
|
|
|
1519
1439
|
--
|
|
1520
1440
|
|
|
1521
|
-
##### [perform](https://github.com/appium/ruby_lib/blob/
|
|
1441
|
+
##### [perform](https://github.com/appium/ruby_lib/blob/5e5b3fbd4d7c84904f9a3158975081fc1786ad0e/lib/appium_lib/device/touch_actions.rb#L179)
|
|
1522
1442
|
|
|
1523
1443
|
> def perform
|
|
1524
1444
|
|
|
@@ -1526,7 +1446,7 @@ Ask the driver to perform all actions in this action chain.
|
|
|
1526
1446
|
|
|
1527
1447
|
--
|
|
1528
1448
|
|
|
1529
|
-
##### [cancel](https://github.com/appium/ruby_lib/blob/
|
|
1449
|
+
##### [cancel](https://github.com/appium/ruby_lib/blob/5e5b3fbd4d7c84904f9a3158975081fc1786ad0e/lib/appium_lib/device/touch_actions.rb#L186)
|
|
1530
1450
|
|
|
1531
1451
|
> def cancel
|
|
1532
1452
|
|
|
@@ -1534,7 +1454,7 @@ Does nothing, currently.
|
|
|
1534
1454
|
|
|
1535
1455
|
--
|
|
1536
1456
|
|
|
1537
|
-
##### [swipe_coordinates](https://github.com/appium/ruby_lib/blob/
|
|
1457
|
+
##### [swipe_coordinates](https://github.com/appium/ruby_lib/blob/5e5b3fbd4d7c84904f9a3158975081fc1786ad0e/lib/appium_lib/device/touch_actions.rb#L192)
|
|
1538
1458
|
|
|
1539
1459
|
> def swipe_coordinates(end_x: nil, end_y: nil, offset_x: nil, offset_y: nil)
|
|
1540
1460
|
|
|
@@ -1542,7 +1462,7 @@ Does nothing, currently.
|
|
|
1542
1462
|
|
|
1543
1463
|
--
|
|
1544
1464
|
|
|
1545
|
-
##### [chain_method](https://github.com/appium/ruby_lib/blob/
|
|
1465
|
+
##### [chain_method](https://github.com/appium/ruby_lib/blob/5e5b3fbd4d7c84904f9a3158975081fc1786ad0e/lib/appium_lib/device/touch_actions.rb#L210)
|
|
1546
1466
|
|
|
1547
1467
|
> def chain_method(method, args = nil)
|
|
1548
1468
|
|
|
@@ -1550,7 +1470,7 @@ Does nothing, currently.
|
|
|
1550
1470
|
|
|
1551
1471
|
--
|
|
1552
1472
|
|
|
1553
|
-
##### [args_with_ele_ref](https://github.com/appium/ruby_lib/blob/
|
|
1473
|
+
##### [args_with_ele_ref](https://github.com/appium/ruby_lib/blob/5e5b3fbd4d7c84904f9a3158975081fc1786ad0e/lib/appium_lib/device/touch_actions.rb#L216)
|
|
1554
1474
|
|
|
1555
1475
|
> def args_with_ele_ref(args)
|
|
1556
1476
|
|
|
@@ -1558,7 +1478,7 @@ Does nothing, currently.
|
|
|
1558
1478
|
|
|
1559
1479
|
--
|
|
1560
1480
|
|
|
1561
|
-
##### [_generic_wait](https://github.com/appium/ruby_lib/blob/
|
|
1481
|
+
##### [_generic_wait](https://github.com/appium/ruby_lib/blob/5e5b3fbd4d7c84904f9a3158975081fc1786ad0e/lib/appium_lib/common/wait.rb#L9)
|
|
1562
1482
|
|
|
1563
1483
|
> def _generic_wait(opts = {})
|
|
1564
1484
|
|
|
@@ -1567,7 +1487,7 @@ https://github.com/SeleniumHQ/selenium/blob/cf501dda3f0ed12233de51ce8170c0e8090f
|
|
|
1567
1487
|
|
|
1568
1488
|
--
|
|
1569
1489
|
|
|
1570
|
-
##### [_process_wait_opts](https://github.com/appium/ruby_lib/blob/
|
|
1490
|
+
##### [_process_wait_opts](https://github.com/appium/ruby_lib/blob/5e5b3fbd4d7c84904f9a3158975081fc1786ad0e/lib/appium_lib/common/wait.rb#L48)
|
|
1571
1491
|
|
|
1572
1492
|
> def _process_wait_opts(opts)
|
|
1573
1493
|
|
|
@@ -1575,7 +1495,7 @@ process opts before calling _generic_wait
|
|
|
1575
1495
|
|
|
1576
1496
|
--
|
|
1577
1497
|
|
|
1578
|
-
##### [wait_true](https://github.com/appium/ruby_lib/blob/
|
|
1498
|
+
##### [wait_true](https://github.com/appium/ruby_lib/blob/5e5b3fbd4d7c84904f9a3158975081fc1786ad0e/lib/appium_lib/common/wait.rb#L69)
|
|
1579
1499
|
|
|
1580
1500
|
> def wait_true(opts = {}, &block)
|
|
1581
1501
|
|
|
@@ -1595,7 +1515,7 @@ __Parameters:__
|
|
|
1595
1515
|
|
|
1596
1516
|
--
|
|
1597
1517
|
|
|
1598
|
-
##### [wait](https://github.com/appium/ruby_lib/blob/
|
|
1518
|
+
##### [wait](https://github.com/appium/ruby_lib/blob/5e5b3fbd4d7c84904f9a3158975081fc1786ad0e/lib/appium_lib/common/wait.rb#L87)
|
|
1599
1519
|
|
|
1600
1520
|
> def wait(opts = {}, &block)
|
|
1601
1521
|
|
|
@@ -1613,7 +1533,7 @@ __Parameters:__
|
|
|
1613
1533
|
|
|
1614
1534
|
--
|
|
1615
1535
|
|
|
1616
|
-
##### [ignore](https://github.com/appium/ruby_lib/blob/
|
|
1536
|
+
##### [ignore](https://github.com/appium/ruby_lib/blob/5e5b3fbd4d7c84904f9a3158975081fc1786ad0e/lib/appium_lib/common/helper.rb#L24)
|
|
1617
1537
|
|
|
1618
1538
|
> def ignore
|
|
1619
1539
|
|
|
@@ -1621,7 +1541,7 @@ Return yield and ignore any exceptions.
|
|
|
1621
1541
|
|
|
1622
1542
|
--
|
|
1623
1543
|
|
|
1624
|
-
##### [back](https://github.com/appium/ruby_lib/blob/
|
|
1544
|
+
##### [back](https://github.com/appium/ruby_lib/blob/5e5b3fbd4d7c84904f9a3158975081fc1786ad0e/lib/appium_lib/common/helper.rb#L31)
|
|
1625
1545
|
|
|
1626
1546
|
> def back
|
|
1627
1547
|
|
|
@@ -1633,7 +1553,7 @@ __Returns:__
|
|
|
1633
1553
|
|
|
1634
1554
|
--
|
|
1635
1555
|
|
|
1636
|
-
##### [session_id](https://github.com/appium/ruby_lib/blob/
|
|
1556
|
+
##### [session_id](https://github.com/appium/ruby_lib/blob/5e5b3fbd4d7c84904f9a3158975081fc1786ad0e/lib/appium_lib/common/helper.rb#L36)
|
|
1637
1557
|
|
|
1638
1558
|
> def session_id
|
|
1639
1559
|
|
|
@@ -1641,7 +1561,7 @@ For Sauce Labs reporting. Returns the current session id.
|
|
|
1641
1561
|
|
|
1642
1562
|
--
|
|
1643
1563
|
|
|
1644
|
-
##### [xpath](https://github.com/appium/ruby_lib/blob/
|
|
1564
|
+
##### [xpath](https://github.com/appium/ruby_lib/blob/5e5b3fbd4d7c84904f9a3158975081fc1786ad0e/lib/appium_lib/common/helper.rb#L44)
|
|
1645
1565
|
|
|
1646
1566
|
> def xpath(xpath_str)
|
|
1647
1567
|
|
|
@@ -1657,7 +1577,7 @@ __Returns:__
|
|
|
1657
1577
|
|
|
1658
1578
|
--
|
|
1659
1579
|
|
|
1660
|
-
##### [xpaths](https://github.com/appium/ruby_lib/blob/
|
|
1580
|
+
##### [xpaths](https://github.com/appium/ruby_lib/blob/5e5b3fbd4d7c84904f9a3158975081fc1786ad0e/lib/appium_lib/common/helper.rb#L52)
|
|
1661
1581
|
|
|
1662
1582
|
> def xpaths(xpath_str)
|
|
1663
1583
|
|
|
@@ -1673,7 +1593,7 @@ __Returns:__
|
|
|
1673
1593
|
|
|
1674
1594
|
--
|
|
1675
1595
|
|
|
1676
|
-
##### [_print_source](https://github.com/appium/ruby_lib/blob/
|
|
1596
|
+
##### [_print_source](https://github.com/appium/ruby_lib/blob/5e5b3fbd4d7c84904f9a3158975081fc1786ad0e/lib/appium_lib/common/helper.rb#L56)
|
|
1677
1597
|
|
|
1678
1598
|
> def _print_source(source)
|
|
1679
1599
|
|
|
@@ -1681,7 +1601,7 @@ __Returns:__
|
|
|
1681
1601
|
|
|
1682
1602
|
--
|
|
1683
1603
|
|
|
1684
|
-
##### [result](https://github.com/appium/ruby_lib/blob/
|
|
1604
|
+
##### [result](https://github.com/appium/ruby_lib/blob/5e5b3fbd4d7c84904f9a3158975081fc1786ad0e/lib/appium_lib/common/helper.rb#L69)
|
|
1685
1605
|
|
|
1686
1606
|
> def result
|
|
1687
1607
|
|
|
@@ -1689,7 +1609,7 @@ Returns the value of attribute result
|
|
|
1689
1609
|
|
|
1690
1610
|
--
|
|
1691
1611
|
|
|
1692
|
-
##### [initialize](https://github.com/appium/ruby_lib/blob/
|
|
1612
|
+
##### [initialize](https://github.com/appium/ruby_lib/blob/5e5b3fbd4d7c84904f9a3158975081fc1786ad0e/lib/appium_lib/common/helper.rb#L71)
|
|
1693
1613
|
|
|
1694
1614
|
> def initialize
|
|
1695
1615
|
|
|
@@ -1701,7 +1621,7 @@ __Returns:__
|
|
|
1701
1621
|
|
|
1702
1622
|
--
|
|
1703
1623
|
|
|
1704
|
-
##### [reset](https://github.com/appium/ruby_lib/blob/
|
|
1624
|
+
##### [reset](https://github.com/appium/ruby_lib/blob/5e5b3fbd4d7c84904f9a3158975081fc1786ad0e/lib/appium_lib/common/helper.rb#L75)
|
|
1705
1625
|
|
|
1706
1626
|
> def reset
|
|
1707
1627
|
|
|
@@ -1709,7 +1629,7 @@ __Returns:__
|
|
|
1709
1629
|
|
|
1710
1630
|
--
|
|
1711
1631
|
|
|
1712
|
-
##### [start_element](https://github.com/appium/ruby_lib/blob/
|
|
1632
|
+
##### [start_element](https://github.com/appium/ruby_lib/blob/5e5b3fbd4d7c84904f9a3158975081fc1786ad0e/lib/appium_lib/common/helper.rb#L80)
|
|
1713
1633
|
|
|
1714
1634
|
> def start_element(name, attrs = [])
|
|
1715
1635
|
|
|
@@ -1717,7 +1637,7 @@ http://nokogiri.org/Nokogiri/XML/SAX/Document.html
|
|
|
1717
1637
|
|
|
1718
1638
|
--
|
|
1719
1639
|
|
|
1720
|
-
##### [formatted_result](https://github.com/appium/ruby_lib/blob/
|
|
1640
|
+
##### [formatted_result](https://github.com/appium/ruby_lib/blob/5e5b3fbd4d7c84904f9a3158975081fc1786ad0e/lib/appium_lib/common/helper.rb#L86)
|
|
1721
1641
|
|
|
1722
1642
|
> def formatted_result
|
|
1723
1643
|
|
|
@@ -1725,7 +1645,7 @@ http://nokogiri.org/Nokogiri/XML/SAX/Document.html
|
|
|
1725
1645
|
|
|
1726
1646
|
--
|
|
1727
1647
|
|
|
1728
|
-
##### [get_page_class](https://github.com/appium/ruby_lib/blob/
|
|
1648
|
+
##### [get_page_class](https://github.com/appium/ruby_lib/blob/5e5b3fbd4d7c84904f9a3158975081fc1786ad0e/lib/appium_lib/common/helper.rb#L97)
|
|
1729
1649
|
|
|
1730
1650
|
> def get_page_class
|
|
1731
1651
|
|
|
@@ -1733,7 +1653,7 @@ Returns a string of class counts of visible elements.
|
|
|
1733
1653
|
|
|
1734
1654
|
--
|
|
1735
1655
|
|
|
1736
|
-
##### [page_class](https://github.com/appium/ruby_lib/blob/
|
|
1656
|
+
##### [page_class](https://github.com/appium/ruby_lib/blob/5e5b3fbd4d7c84904f9a3158975081fc1786ad0e/lib/appium_lib/common/helper.rb#L108)
|
|
1737
1657
|
|
|
1738
1658
|
> def page_class
|
|
1739
1659
|
|
|
@@ -1742,7 +1662,7 @@ Useful for appium_console.
|
|
|
1742
1662
|
|
|
1743
1663
|
--
|
|
1744
1664
|
|
|
1745
|
-
##### [px_to_window_rel](https://github.com/appium/ruby_lib/blob/
|
|
1665
|
+
##### [px_to_window_rel](https://github.com/appium/ruby_lib/blob/5e5b3fbd4d7c84904f9a3158975081fc1786ad0e/lib/appium_lib/common/helper.rb#L118)
|
|
1746
1666
|
|
|
1747
1667
|
> def px_to_window_rel(opts = {})
|
|
1748
1668
|
|
|
@@ -1754,7 +1674,7 @@ px_to_window_rel x: 50, y: 150
|
|
|
1754
1674
|
|
|
1755
1675
|
--
|
|
1756
1676
|
|
|
1757
|
-
##### [xml_keys](https://github.com/appium/ruby_lib/blob/
|
|
1677
|
+
##### [xml_keys](https://github.com/appium/ruby_lib/blob/5e5b3fbd4d7c84904f9a3158975081fc1786ad0e/lib/appium_lib/common/helper.rb#L137)
|
|
1758
1678
|
|
|
1759
1679
|
> def xml_keys(target)
|
|
1760
1680
|
|
|
@@ -1770,7 +1690,7 @@ __Returns:__
|
|
|
1770
1690
|
|
|
1771
1691
|
--
|
|
1772
1692
|
|
|
1773
|
-
##### [xml_values](https://github.com/appium/ruby_lib/blob/
|
|
1693
|
+
##### [xml_values](https://github.com/appium/ruby_lib/blob/5e5b3fbd4d7c84904f9a3158975081fc1786ad0e/lib/appium_lib/common/helper.rb#L145)
|
|
1774
1694
|
|
|
1775
1695
|
> def xml_values(target)
|
|
1776
1696
|
|
|
@@ -1786,7 +1706,7 @@ __Returns:__
|
|
|
1786
1706
|
|
|
1787
1707
|
--
|
|
1788
1708
|
|
|
1789
|
-
##### [resolve_id](https://github.com/appium/ruby_lib/blob/
|
|
1709
|
+
##### [resolve_id](https://github.com/appium/ruby_lib/blob/5e5b3fbd4d7c84904f9a3158975081fc1786ad0e/lib/appium_lib/common/helper.rb#L153)
|
|
1790
1710
|
|
|
1791
1711
|
> def resolve_id(id)
|
|
1792
1712
|
|
|
@@ -1802,7 +1722,7 @@ __Returns:__
|
|
|
1802
1722
|
|
|
1803
1723
|
--
|
|
1804
1724
|
|
|
1805
|
-
##### [filter](https://github.com/appium/ruby_lib/blob/
|
|
1725
|
+
##### [filter](https://github.com/appium/ruby_lib/blob/5e5b3fbd4d7c84904f9a3158975081fc1786ad0e/lib/appium_lib/common/helper.rb#L159)
|
|
1806
1726
|
|
|
1807
1727
|
> def filter
|
|
1808
1728
|
|
|
@@ -1810,7 +1730,7 @@ Returns the value of attribute filter
|
|
|
1810
1730
|
|
|
1811
1731
|
--
|
|
1812
1732
|
|
|
1813
|
-
##### [filter=](https://github.com/appium/ruby_lib/blob/
|
|
1733
|
+
##### [filter=](https://github.com/appium/ruby_lib/blob/5e5b3fbd4d7c84904f9a3158975081fc1786ad0e/lib/appium_lib/common/helper.rb#L162)
|
|
1814
1734
|
|
|
1815
1735
|
> def filter=(value)
|
|
1816
1736
|
|
|
@@ -1818,7 +1738,7 @@ convert to string to support symbols
|
|
|
1818
1738
|
|
|
1819
1739
|
--
|
|
1820
1740
|
|
|
1821
|
-
##### [initialize](https://github.com/appium/ruby_lib/blob/
|
|
1741
|
+
##### [initialize](https://github.com/appium/ruby_lib/blob/5e5b3fbd4d7c84904f9a3158975081fc1786ad0e/lib/appium_lib/common/helper.rb#L168)
|
|
1822
1742
|
|
|
1823
1743
|
> def initialize
|
|
1824
1744
|
|
|
@@ -1830,7 +1750,7 @@ __Returns:__
|
|
|
1830
1750
|
|
|
1831
1751
|
--
|
|
1832
1752
|
|
|
1833
|
-
##### [reset](https://github.com/appium/ruby_lib/blob/
|
|
1753
|
+
##### [reset](https://github.com/appium/ruby_lib/blob/5e5b3fbd4d7c84904f9a3158975081fc1786ad0e/lib/appium_lib/common/helper.rb#L173)
|
|
1834
1754
|
|
|
1835
1755
|
> def reset
|
|
1836
1756
|
|
|
@@ -1838,7 +1758,7 @@ __Returns:__
|
|
|
1838
1758
|
|
|
1839
1759
|
--
|
|
1840
1760
|
|
|
1841
|
-
##### [result](https://github.com/appium/ruby_lib/blob/
|
|
1761
|
+
##### [result](https://github.com/appium/ruby_lib/blob/5e5b3fbd4d7c84904f9a3158975081fc1786ad0e/lib/appium_lib/common/helper.rb#L179)
|
|
1842
1762
|
|
|
1843
1763
|
> def result
|
|
1844
1764
|
|
|
@@ -1846,7 +1766,7 @@ __Returns:__
|
|
|
1846
1766
|
|
|
1847
1767
|
--
|
|
1848
1768
|
|
|
1849
|
-
##### [start_element](https://github.com/appium/ruby_lib/blob/
|
|
1769
|
+
##### [start_element](https://github.com/appium/ruby_lib/blob/5e5b3fbd4d7c84904f9a3158975081fc1786ad0e/lib/appium_lib/common/helper.rb#L195)
|
|
1850
1770
|
|
|
1851
1771
|
> def start_element(name, attrs = [])
|
|
1852
1772
|
|
|
@@ -1854,7 +1774,7 @@ __Returns:__
|
|
|
1854
1774
|
|
|
1855
1775
|
--
|
|
1856
1776
|
|
|
1857
|
-
##### [end_element](https://github.com/appium/ruby_lib/blob/
|
|
1777
|
+
##### [end_element](https://github.com/appium/ruby_lib/blob/5e5b3fbd4d7c84904f9a3158975081fc1786ad0e/lib/appium_lib/common/helper.rb#L204)
|
|
1858
1778
|
|
|
1859
1779
|
> def end_element(name)
|
|
1860
1780
|
|
|
@@ -1862,7 +1782,7 @@ __Returns:__
|
|
|
1862
1782
|
|
|
1863
1783
|
--
|
|
1864
1784
|
|
|
1865
|
-
##### [characters](https://github.com/appium/ruby_lib/blob/
|
|
1785
|
+
##### [characters](https://github.com/appium/ruby_lib/blob/5e5b3fbd4d7c84904f9a3158975081fc1786ad0e/lib/appium_lib/common/helper.rb#L210)
|
|
1866
1786
|
|
|
1867
1787
|
> def characters(chars)
|
|
1868
1788
|
|
|
@@ -1870,7 +1790,7 @@ __Returns:__
|
|
|
1870
1790
|
|
|
1871
1791
|
--
|
|
1872
1792
|
|
|
1873
|
-
##### [_no_such_element](https://github.com/appium/ruby_lib/blob/
|
|
1793
|
+
##### [_no_such_element](https://github.com/appium/ruby_lib/blob/5e5b3fbd4d7c84904f9a3158975081fc1786ad0e/lib/appium_lib/common/helper.rb#L217)
|
|
1874
1794
|
|
|
1875
1795
|
> def _no_such_element
|
|
1876
1796
|
|
|
@@ -1878,7 +1798,7 @@ __Returns:__
|
|
|
1878
1798
|
|
|
1879
1799
|
--
|
|
1880
1800
|
|
|
1881
|
-
##### [COMMAND_NO_ARG](https://github.com/appium/ruby_lib/blob/
|
|
1801
|
+
##### [COMMAND_NO_ARG](https://github.com/appium/ruby_lib/blob/5e5b3fbd4d7c84904f9a3158975081fc1786ad0e/lib/appium_lib/common/command.rb#L4)
|
|
1882
1802
|
|
|
1883
1803
|
> COMMAND_NO_ARG = {
|
|
1884
1804
|
|
|
@@ -1886,7 +1806,7 @@ __Returns:__
|
|
|
1886
1806
|
|
|
1887
1807
|
--
|
|
1888
1808
|
|
|
1889
|
-
##### [COMMAND](https://github.com/appium/ruby_lib/blob/
|
|
1809
|
+
##### [COMMAND](https://github.com/appium/ruby_lib/blob/5e5b3fbd4d7c84904f9a3158975081fc1786ad0e/lib/appium_lib/common/command.rb#L27)
|
|
1890
1810
|
|
|
1891
1811
|
> COMMAND = {
|
|
1892
1812
|
|
|
@@ -1894,7 +1814,7 @@ __Returns:__
|
|
|
1894
1814
|
|
|
1895
1815
|
--
|
|
1896
1816
|
|
|
1897
|
-
##### [window_size](https://github.com/appium/ruby_lib/blob/
|
|
1817
|
+
##### [window_size](https://github.com/appium/ruby_lib/blob/5e5b3fbd4d7c84904f9a3158975081fc1786ad0e/lib/appium_lib/common/element/window.rb#L5)
|
|
1898
1818
|
|
|
1899
1819
|
> def window_size
|
|
1900
1820
|
|
|
@@ -1902,7 +1822,7 @@ Get the window's size
|
|
|
1902
1822
|
|
|
1903
1823
|
--
|
|
1904
1824
|
|
|
1905
|
-
##### [FINDERS](https://github.com/appium/ruby_lib/blob/
|
|
1825
|
+
##### [FINDERS](https://github.com/appium/ruby_lib/blob/5e5b3fbd4d7c84904f9a3158975081fc1786ad0e/lib/appium_lib/common/search_context.rb#L5)
|
|
1906
1826
|
|
|
1907
1827
|
> FINDERS = {
|
|
1908
1828
|
|
|
@@ -1910,7 +1830,7 @@ rubocop:disable Style/MutableConstant
|
|
|
1910
1830
|
|
|
1911
1831
|
--
|
|
1912
1832
|
|
|
1913
|
-
##### [filter](https://github.com/appium/ruby_lib/blob/
|
|
1833
|
+
##### [filter](https://github.com/appium/ruby_lib/blob/5e5b3fbd4d7c84904f9a3158975081fc1786ad0e/lib/appium_lib/ios/helper.rb#L4) ios
|
|
1914
1834
|
|
|
1915
1835
|
> def filter
|
|
1916
1836
|
|
|
@@ -1918,7 +1838,7 @@ Returns the value of attribute filter
|
|
|
1918
1838
|
|
|
1919
1839
|
--
|
|
1920
1840
|
|
|
1921
|
-
##### [filter=](https://github.com/appium/ruby_lib/blob/
|
|
1841
|
+
##### [filter=](https://github.com/appium/ruby_lib/blob/5e5b3fbd4d7c84904f9a3158975081fc1786ad0e/lib/appium_lib/ios/helper.rb#L4) ios
|
|
1922
1842
|
|
|
1923
1843
|
> def filter=(value)
|
|
1924
1844
|
|
|
@@ -1930,7 +1850,7 @@ __Parameters:__
|
|
|
1930
1850
|
|
|
1931
1851
|
--
|
|
1932
1852
|
|
|
1933
|
-
##### [start_element](https://github.com/appium/ruby_lib/blob/
|
|
1853
|
+
##### [start_element](https://github.com/appium/ruby_lib/blob/5e5b3fbd4d7c84904f9a3158975081fc1786ad0e/lib/appium_lib/ios/helper.rb#L6) ios
|
|
1934
1854
|
|
|
1935
1855
|
> def start_element(type, attrs = [])
|
|
1936
1856
|
|
|
@@ -1938,7 +1858,7 @@ __Parameters:__
|
|
|
1938
1858
|
|
|
1939
1859
|
--
|
|
1940
1860
|
|
|
1941
|
-
##### [_print_attr](https://github.com/appium/ruby_lib/blob/
|
|
1861
|
+
##### [_print_attr](https://github.com/appium/ruby_lib/blob/5e5b3fbd4d7c84904f9a3158975081fc1786ad0e/lib/appium_lib/ios/helper.rb#L15) ios
|
|
1942
1862
|
|
|
1943
1863
|
> def _print_attr(type, name, label, value, hint)
|
|
1944
1864
|
|
|
@@ -1946,7 +1866,7 @@ __Parameters:__
|
|
|
1946
1866
|
|
|
1947
1867
|
--
|
|
1948
1868
|
|
|
1949
|
-
##### [ios_password](https://github.com/appium/ruby_lib/blob/
|
|
1869
|
+
##### [ios_password](https://github.com/appium/ruby_lib/blob/5e5b3fbd4d7c84904f9a3158975081fc1786ad0e/lib/appium_lib/ios/helper.rb#L41) ios
|
|
1950
1870
|
|
|
1951
1871
|
> def ios_password(length = 1)
|
|
1952
1872
|
|
|
@@ -1964,7 +1884,7 @@ __Returns:__
|
|
|
1964
1884
|
|
|
1965
1885
|
--
|
|
1966
1886
|
|
|
1967
|
-
##### [get_page](https://github.com/appium/ruby_lib/blob/
|
|
1887
|
+
##### [get_page](https://github.com/appium/ruby_lib/blob/5e5b3fbd4d7c84904f9a3158975081fc1786ad0e/lib/appium_lib/ios/helper.rb#L53) ios
|
|
1968
1888
|
|
|
1969
1889
|
> def get_page(element = source_window(0), class_name = nil)
|
|
1970
1890
|
|
|
@@ -1985,7 +1905,7 @@ __Returns:__
|
|
|
1985
1905
|
|
|
1986
1906
|
--
|
|
1987
1907
|
|
|
1988
|
-
##### [page](https://github.com/appium/ruby_lib/blob/
|
|
1908
|
+
##### [page](https://github.com/appium/ruby_lib/blob/5e5b3fbd4d7c84904f9a3158975081fc1786ad0e/lib/appium_lib/ios/helper.rb#L139) ios
|
|
1989
1909
|
|
|
1990
1910
|
> def page(opts = {})
|
|
1991
1911
|
|
|
@@ -2011,7 +1931,7 @@ __Returns:__
|
|
|
2011
1931
|
|
|
2012
1932
|
--
|
|
2013
1933
|
|
|
2014
|
-
##### [source_window](https://github.com/appium/ruby_lib/blob/
|
|
1934
|
+
##### [source_window](https://github.com/appium/ruby_lib/blob/5e5b3fbd4d7c84904f9a3158975081fc1786ad0e/lib/appium_lib/ios/helper.rb#L170) ios
|
|
2015
1935
|
|
|
2016
1936
|
> def source_window(_window_number = 0)
|
|
2017
1937
|
|
|
@@ -2027,7 +1947,7 @@ __Returns:__
|
|
|
2027
1947
|
|
|
2028
1948
|
--
|
|
2029
1949
|
|
|
2030
|
-
##### [page_window](https://github.com/appium/ruby_lib/blob/
|
|
1950
|
+
##### [page_window](https://github.com/appium/ruby_lib/blob/5e5b3fbd4d7c84904f9a3158975081fc1786ad0e/lib/appium_lib/ios/helper.rb#L185) ios
|
|
2031
1951
|
|
|
2032
1952
|
> def page_window(window_number = 0)
|
|
2033
1953
|
|
|
@@ -2045,7 +1965,7 @@ __Returns:__
|
|
|
2045
1965
|
|
|
2046
1966
|
--
|
|
2047
1967
|
|
|
2048
|
-
##### [id](https://github.com/appium/ruby_lib/blob/
|
|
1968
|
+
##### [id](https://github.com/appium/ruby_lib/blob/5e5b3fbd4d7c84904f9a3158975081fc1786ad0e/lib/appium_lib/ios/helper.rb#L193) ios
|
|
2049
1969
|
|
|
2050
1970
|
> def id(id)
|
|
2051
1971
|
|
|
@@ -2061,7 +1981,7 @@ __Returns:__
|
|
|
2061
1981
|
|
|
2062
1982
|
--
|
|
2063
1983
|
|
|
2064
|
-
##### [ios_version](https://github.com/appium/ruby_lib/blob/
|
|
1984
|
+
##### [ios_version](https://github.com/appium/ruby_lib/blob/5e5b3fbd4d7c84904f9a3158975081fc1786ad0e/lib/appium_lib/ios/helper.rb#L199) ios
|
|
2065
1985
|
|
|
2066
1986
|
> def ios_version
|
|
2067
1987
|
|
|
@@ -2073,7 +1993,7 @@ __Returns:__
|
|
|
2073
1993
|
|
|
2074
1994
|
--
|
|
2075
1995
|
|
|
2076
|
-
##### [ele_index](https://github.com/appium/ruby_lib/blob/
|
|
1996
|
+
##### [ele_index](https://github.com/appium/ruby_lib/blob/5e5b3fbd4d7c84904f9a3158975081fc1786ad0e/lib/appium_lib/ios/helper.rb#L212) ios
|
|
2077
1997
|
|
|
2078
1998
|
> def ele_index(class_name, index)
|
|
2079
1999
|
|
|
@@ -2091,7 +2011,7 @@ __Returns:__
|
|
|
2091
2011
|
|
|
2092
2012
|
--
|
|
2093
2013
|
|
|
2094
|
-
##### [find_ele_by_attr](https://github.com/appium/ruby_lib/blob/
|
|
2014
|
+
##### [find_ele_by_attr](https://github.com/appium/ruby_lib/blob/5e5b3fbd4d7c84904f9a3158975081fc1786ad0e/lib/appium_lib/ios/helper.rb#L248) ios
|
|
2095
2015
|
|
|
2096
2016
|
> def find_ele_by_attr(class_name, attr, value)
|
|
2097
2017
|
|
|
@@ -2113,7 +2033,7 @@ __Returns:__
|
|
|
2113
2033
|
|
|
2114
2034
|
--
|
|
2115
2035
|
|
|
2116
|
-
##### [find_eles_by_attr](https://github.com/appium/ruby_lib/blob/
|
|
2036
|
+
##### [find_eles_by_attr](https://github.com/appium/ruby_lib/blob/5e5b3fbd4d7c84904f9a3158975081fc1786ad0e/lib/appium_lib/ios/helper.rb#L259) ios
|
|
2117
2037
|
|
|
2118
2038
|
> def find_eles_by_attr(class_name, attr, value)
|
|
2119
2039
|
|
|
@@ -2135,7 +2055,7 @@ __Returns:__
|
|
|
2135
2055
|
|
|
2136
2056
|
--
|
|
2137
2057
|
|
|
2138
|
-
##### [find_ele_by_predicate](https://github.com/appium/ruby_lib/blob/
|
|
2058
|
+
##### [find_ele_by_predicate](https://github.com/appium/ruby_lib/blob/5e5b3fbd4d7c84904f9a3158975081fc1786ad0e/lib/appium_lib/ios/helper.rb#L280) ios
|
|
2139
2059
|
|
|
2140
2060
|
> def find_ele_by_predicate(class_name: '*', value:)
|
|
2141
2061
|
|
|
@@ -2152,7 +2072,7 @@ __Returns:__
|
|
|
2152
2072
|
|
|
2153
2073
|
--
|
|
2154
2074
|
|
|
2155
|
-
##### [find_eles_by_predicate](https://github.com/appium/ruby_lib/blob/
|
|
2075
|
+
##### [find_eles_by_predicate](https://github.com/appium/ruby_lib/blob/5e5b3fbd4d7c84904f9a3158975081fc1786ad0e/lib/appium_lib/ios/helper.rb#L291) ios
|
|
2156
2076
|
|
|
2157
2077
|
> def find_eles_by_predicate(class_name: '*', value:)
|
|
2158
2078
|
|
|
@@ -2171,7 +2091,7 @@ __Returns:__
|
|
|
2171
2091
|
|
|
2172
2092
|
--
|
|
2173
2093
|
|
|
2174
|
-
##### [find_ele_by_attr_include](https://github.com/appium/ruby_lib/blob/
|
|
2094
|
+
##### [find_ele_by_attr_include](https://github.com/appium/ruby_lib/blob/5e5b3fbd4d7c84904f9a3158975081fc1786ad0e/lib/appium_lib/ios/helper.rb#L307) ios
|
|
2175
2095
|
|
|
2176
2096
|
> def find_ele_by_attr_include(class_name, attr, value)
|
|
2177
2097
|
|
|
@@ -2192,7 +2112,7 @@ __Returns:__
|
|
|
2192
2112
|
|
|
2193
2113
|
--
|
|
2194
2114
|
|
|
2195
|
-
##### [find_eles_by_attr_include](https://github.com/appium/ruby_lib/blob/
|
|
2115
|
+
##### [find_eles_by_attr_include](https://github.com/appium/ruby_lib/blob/5e5b3fbd4d7c84904f9a3158975081fc1786ad0e/lib/appium_lib/ios/helper.rb#L317) ios
|
|
2196
2116
|
|
|
2197
2117
|
> def find_eles_by_attr_include(class_name, attr, value)
|
|
2198
2118
|
|
|
@@ -2213,7 +2133,7 @@ __Returns:__
|
|
|
2213
2133
|
|
|
2214
2134
|
--
|
|
2215
2135
|
|
|
2216
|
-
##### [find_ele_by_predicate_include](https://github.com/appium/ruby_lib/blob/
|
|
2136
|
+
##### [find_ele_by_predicate_include](https://github.com/appium/ruby_lib/blob/5e5b3fbd4d7c84904f9a3158975081fc1786ad0e/lib/appium_lib/ios/helper.rb#L325) ios
|
|
2217
2137
|
|
|
2218
2138
|
> def find_ele_by_predicate_include(class_name: '*', value:)
|
|
2219
2139
|
|
|
@@ -2230,7 +2150,7 @@ __Returns:__
|
|
|
2230
2150
|
|
|
2231
2151
|
--
|
|
2232
2152
|
|
|
2233
|
-
##### [find_eles_by_predicate_include](https://github.com/appium/ruby_lib/blob/
|
|
2153
|
+
##### [find_eles_by_predicate_include](https://github.com/appium/ruby_lib/blob/5e5b3fbd4d7c84904f9a3158975081fc1786ad0e/lib/appium_lib/ios/helper.rb#L336) ios
|
|
2234
2154
|
|
|
2235
2155
|
> def find_eles_by_predicate_include(class_name: '*', value:)
|
|
2236
2156
|
|
|
@@ -2249,7 +2169,7 @@ __Returns:__
|
|
|
2249
2169
|
|
|
2250
2170
|
--
|
|
2251
2171
|
|
|
2252
|
-
##### [first_ele](https://github.com/appium/ruby_lib/blob/
|
|
2172
|
+
##### [first_ele](https://github.com/appium/ruby_lib/blob/5e5b3fbd4d7c84904f9a3158975081fc1786ad0e/lib/appium_lib/ios/helper.rb#L349) ios
|
|
2253
2173
|
|
|
2254
2174
|
> def first_ele(class_name)
|
|
2255
2175
|
|
|
@@ -2265,7 +2185,7 @@ __Returns:__
|
|
|
2265
2185
|
|
|
2266
2186
|
--
|
|
2267
2187
|
|
|
2268
|
-
##### [last_ele](https://github.com/appium/ruby_lib/blob/
|
|
2188
|
+
##### [last_ele](https://github.com/appium/ruby_lib/blob/5e5b3fbd4d7c84904f9a3158975081fc1786ad0e/lib/appium_lib/ios/helper.rb#L356) ios
|
|
2269
2189
|
|
|
2270
2190
|
> def last_ele(class_name)
|
|
2271
2191
|
|
|
@@ -2281,7 +2201,7 @@ __Returns:__
|
|
|
2281
2201
|
|
|
2282
2202
|
--
|
|
2283
2203
|
|
|
2284
|
-
##### [tag](https://github.com/appium/ruby_lib/blob/
|
|
2204
|
+
##### [tag](https://github.com/appium/ruby_lib/blob/5e5b3fbd4d7c84904f9a3158975081fc1786ad0e/lib/appium_lib/ios/helper.rb#L370) ios
|
|
2285
2205
|
|
|
2286
2206
|
> def tag(class_name)
|
|
2287
2207
|
|
|
@@ -2297,7 +2217,7 @@ __Returns:__
|
|
|
2297
2217
|
|
|
2298
2218
|
--
|
|
2299
2219
|
|
|
2300
|
-
##### [tags](https://github.com/appium/ruby_lib/blob/
|
|
2220
|
+
##### [tags](https://github.com/appium/ruby_lib/blob/5e5b3fbd4d7c84904f9a3158975081fc1786ad0e/lib/appium_lib/ios/helper.rb#L382) ios
|
|
2301
2221
|
|
|
2302
2222
|
> def tags(class_name)
|
|
2303
2223
|
|
|
@@ -2313,7 +2233,7 @@ __Returns:__
|
|
|
2313
2233
|
|
|
2314
2234
|
--
|
|
2315
2235
|
|
|
2316
|
-
##### [tags_include](https://github.com/appium/ruby_lib/blob/
|
|
2236
|
+
##### [tags_include](https://github.com/appium/ruby_lib/blob/5e5b3fbd4d7c84904f9a3158975081fc1786ad0e/lib/appium_lib/ios/helper.rb#L398) ios
|
|
2317
2237
|
|
|
2318
2238
|
> def tags_include(class_names:, value: nil)
|
|
2319
2239
|
|
|
@@ -2333,7 +2253,7 @@ __Returns:__
|
|
|
2333
2253
|
|
|
2334
2254
|
--
|
|
2335
2255
|
|
|
2336
|
-
##### [tags_exact](https://github.com/appium/ruby_lib/blob/
|
|
2256
|
+
##### [tags_exact](https://github.com/appium/ruby_lib/blob/5e5b3fbd4d7c84904f9a3158975081fc1786ad0e/lib/appium_lib/ios/helper.rb#L427) ios
|
|
2337
2257
|
|
|
2338
2258
|
> def tags_exact(class_names:, value: nil)
|
|
2339
2259
|
|
|
@@ -2353,7 +2273,7 @@ __Returns:__
|
|
|
2353
2273
|
|
|
2354
2274
|
--
|
|
2355
2275
|
|
|
2356
|
-
##### [ele_by_json_visible_contains](https://github.com/appium/ruby_lib/blob/
|
|
2276
|
+
##### [ele_by_json_visible_contains](https://github.com/appium/ruby_lib/blob/5e5b3fbd4d7c84904f9a3158975081fc1786ad0e/lib/appium_lib/ios/helper.rb#L478) ios
|
|
2357
2277
|
|
|
2358
2278
|
> def ele_by_json_visible_contains(element, value)
|
|
2359
2279
|
|
|
@@ -2372,7 +2292,7 @@ __Returns:__
|
|
|
2372
2292
|
|
|
2373
2293
|
--
|
|
2374
2294
|
|
|
2375
|
-
##### [eles_by_json_visible_contains](https://github.com/appium/ruby_lib/blob/
|
|
2295
|
+
##### [eles_by_json_visible_contains](https://github.com/appium/ruby_lib/blob/5e5b3fbd4d7c84904f9a3158975081fc1786ad0e/lib/appium_lib/ios/helper.rb#L487) ios
|
|
2376
2296
|
|
|
2377
2297
|
> def eles_by_json_visible_contains(element, value)
|
|
2378
2298
|
|
|
@@ -2391,7 +2311,7 @@ __Returns:__
|
|
|
2391
2311
|
|
|
2392
2312
|
--
|
|
2393
2313
|
|
|
2394
|
-
##### [ele_by_json_visible_exact](https://github.com/appium/ruby_lib/blob/
|
|
2314
|
+
##### [ele_by_json_visible_exact](https://github.com/appium/ruby_lib/blob/5e5b3fbd4d7c84904f9a3158975081fc1786ad0e/lib/appium_lib/ios/helper.rb#L517) ios
|
|
2395
2315
|
|
|
2396
2316
|
> def ele_by_json_visible_exact(element, value)
|
|
2397
2317
|
|
|
@@ -2410,7 +2330,7 @@ __Returns:__
|
|
|
2410
2330
|
|
|
2411
2331
|
--
|
|
2412
2332
|
|
|
2413
|
-
##### [eles_by_json_visible_exact](https://github.com/appium/ruby_lib/blob/
|
|
2333
|
+
##### [eles_by_json_visible_exact](https://github.com/appium/ruby_lib/blob/5e5b3fbd4d7c84904f9a3158975081fc1786ad0e/lib/appium_lib/ios/helper.rb#L526) ios
|
|
2414
2334
|
|
|
2415
2335
|
> def eles_by_json_visible_exact(element, value)
|
|
2416
2336
|
|
|
@@ -2429,7 +2349,7 @@ __Returns:__
|
|
|
2429
2349
|
|
|
2430
2350
|
--
|
|
2431
2351
|
|
|
2432
|
-
##### [_all_pred](https://github.com/appium/ruby_lib/blob/
|
|
2352
|
+
##### [_all_pred](https://github.com/appium/ruby_lib/blob/5e5b3fbd4d7c84904f9a3158975081fc1786ad0e/lib/appium_lib/ios/helper.rb#L535) ios
|
|
2433
2353
|
|
|
2434
2354
|
> def _all_pred(opts)
|
|
2435
2355
|
|
|
@@ -2439,7 +2359,7 @@ visible - if true, only visible elements are returned. default true
|
|
|
2439
2359
|
|
|
2440
2360
|
--
|
|
2441
2361
|
|
|
2442
|
-
##### [ele_with_pred](https://github.com/appium/ruby_lib/blob/
|
|
2362
|
+
##### [ele_with_pred](https://github.com/appium/ruby_lib/blob/5e5b3fbd4d7c84904f9a3158975081fc1786ad0e/lib/appium_lib/ios/helper.rb#L548) ios
|
|
2443
2363
|
|
|
2444
2364
|
> def ele_with_pred(opts)
|
|
2445
2365
|
|
|
@@ -2455,7 +2375,7 @@ __Returns:__
|
|
|
2455
2375
|
|
|
2456
2376
|
--
|
|
2457
2377
|
|
|
2458
|
-
##### [eles_with_pred](https://github.com/appium/ruby_lib/blob/
|
|
2378
|
+
##### [eles_with_pred](https://github.com/appium/ruby_lib/blob/5e5b3fbd4d7c84904f9a3158975081fc1786ad0e/lib/appium_lib/ios/helper.rb#L559) ios
|
|
2459
2379
|
|
|
2460
2380
|
> def eles_with_pred(opts)
|
|
2461
2381
|
|
|
@@ -2471,7 +2391,7 @@ __Returns:__
|
|
|
2471
2391
|
|
|
2472
2392
|
--
|
|
2473
2393
|
|
|
2474
|
-
##### [source](https://github.com/appium/ruby_lib/blob/
|
|
2394
|
+
##### [source](https://github.com/appium/ruby_lib/blob/5e5b3fbd4d7c84904f9a3158975081fc1786ad0e/lib/appium_lib/ios/helper.rb#L565) ios
|
|
2475
2395
|
|
|
2476
2396
|
> def source
|
|
2477
2397
|
|
|
@@ -2483,7 +2403,7 @@ __Returns:__
|
|
|
2483
2403
|
|
|
2484
2404
|
--
|
|
2485
2405
|
|
|
2486
|
-
##### [_validate_object](https://github.com/appium/ruby_lib/blob/
|
|
2406
|
+
##### [_validate_object](https://github.com/appium/ruby_lib/blob/5e5b3fbd4d7c84904f9a3158975081fc1786ad0e/lib/appium_lib/ios/helper.rb#L569) ios
|
|
2487
2407
|
|
|
2488
2408
|
> def _validate_object(*objects)
|
|
2489
2409
|
|
|
@@ -2491,7 +2411,7 @@ __Returns:__
|
|
|
2491
2411
|
|
|
2492
2412
|
--
|
|
2493
2413
|
|
|
2494
|
-
##### [_by_json](https://github.com/appium/ruby_lib/blob/
|
|
2414
|
+
##### [_by_json](https://github.com/appium/ruby_lib/blob/5e5b3fbd4d7c84904f9a3158975081fc1786ad0e/lib/appium_lib/ios/helper.rb#L618) ios
|
|
2495
2415
|
|
|
2496
2416
|
> def _by_json(opts)
|
|
2497
2417
|
|
|
@@ -2526,7 +2446,7 @@ opts = {
|
|
|
2526
2446
|
|
|
2527
2447
|
--
|
|
2528
2448
|
|
|
2529
|
-
##### [eles_by_json](https://github.com/appium/ruby_lib/blob/
|
|
2449
|
+
##### [eles_by_json](https://github.com/appium/ruby_lib/blob/5e5b3fbd4d7c84904f9a3158975081fc1786ad0e/lib/appium_lib/ios/helper.rb#L668) ios
|
|
2530
2450
|
|
|
2531
2451
|
> def eles_by_json(opts)
|
|
2532
2452
|
|
|
@@ -2545,7 +2465,7 @@ eles_by_json({
|
|
|
2545
2465
|
|
|
2546
2466
|
--
|
|
2547
2467
|
|
|
2548
|
-
##### [ele_by_json](https://github.com/appium/ruby_lib/blob/
|
|
2468
|
+
##### [ele_by_json](https://github.com/appium/ruby_lib/blob/5e5b3fbd4d7c84904f9a3158975081fc1786ad0e/lib/appium_lib/ios/helper.rb#L674) ios
|
|
2549
2469
|
|
|
2550
2470
|
> def ele_by_json(opts)
|
|
2551
2471
|
|
|
@@ -2553,7 +2473,7 @@ see eles_by_json
|
|
|
2553
2473
|
|
|
2554
2474
|
--
|
|
2555
2475
|
|
|
2556
|
-
##### [get_source](https://github.com/appium/ruby_lib/blob/
|
|
2476
|
+
##### [get_source](https://github.com/appium/ruby_lib/blob/5e5b3fbd4d7c84904f9a3158975081fc1786ad0e/lib/appium_lib/ios/helper.rb#L684) ios
|
|
2557
2477
|
|
|
2558
2478
|
> def get_source
|
|
2559
2479
|
|
|
@@ -2566,7 +2486,7 @@ __Returns:__
|
|
|
2566
2486
|
|
|
2567
2487
|
--
|
|
2568
2488
|
|
|
2569
|
-
##### [UIAStaticText](https://github.com/appium/ruby_lib/blob/
|
|
2489
|
+
##### [UIAStaticText](https://github.com/appium/ruby_lib/blob/5e5b3fbd4d7c84904f9a3158975081fc1786ad0e/lib/appium_lib/ios/element/text.rb#L4) ios
|
|
2570
2490
|
|
|
2571
2491
|
> UIAStaticText = 'UIAStaticText'.freeze
|
|
2572
2492
|
|
|
@@ -2574,7 +2494,7 @@ __Returns:__
|
|
|
2574
2494
|
|
|
2575
2495
|
--
|
|
2576
2496
|
|
|
2577
|
-
##### [XCUIElementTypeStaticText](https://github.com/appium/ruby_lib/blob/
|
|
2497
|
+
##### [XCUIElementTypeStaticText](https://github.com/appium/ruby_lib/blob/5e5b3fbd4d7c84904f9a3158975081fc1786ad0e/lib/appium_lib/ios/element/text.rb#L5) ios
|
|
2578
2498
|
|
|
2579
2499
|
> XCUIElementTypeStaticText = 'XCUIElementTypeStaticText'.freeze
|
|
2580
2500
|
|
|
@@ -2582,7 +2502,7 @@ __Returns:__
|
|
|
2582
2502
|
|
|
2583
2503
|
--
|
|
2584
2504
|
|
|
2585
|
-
##### [static_text_class](https://github.com/appium/ruby_lib/blob/
|
|
2505
|
+
##### [static_text_class](https://github.com/appium/ruby_lib/blob/5e5b3fbd4d7c84904f9a3158975081fc1786ad0e/lib/appium_lib/ios/element/text.rb#L8) ios
|
|
2586
2506
|
|
|
2587
2507
|
> def static_text_class
|
|
2588
2508
|
|
|
@@ -2594,7 +2514,7 @@ __Returns:__
|
|
|
2594
2514
|
|
|
2595
2515
|
--
|
|
2596
2516
|
|
|
2597
|
-
##### [text](https://github.com/appium/ruby_lib/blob/
|
|
2517
|
+
##### [text](https://github.com/appium/ruby_lib/blob/5e5b3fbd4d7c84904f9a3158975081fc1786ad0e/lib/appium_lib/ios/element/text.rb#L16) ios
|
|
2598
2518
|
|
|
2599
2519
|
> def text(value)
|
|
2600
2520
|
|
|
@@ -2611,7 +2531,7 @@ __Returns:__
|
|
|
2611
2531
|
|
|
2612
2532
|
--
|
|
2613
2533
|
|
|
2614
|
-
##### [texts](https://github.com/appium/ruby_lib/blob/
|
|
2534
|
+
##### [texts](https://github.com/appium/ruby_lib/blob/5e5b3fbd4d7c84904f9a3158975081fc1786ad0e/lib/appium_lib/ios/element/text.rb#L30) ios
|
|
2615
2535
|
|
|
2616
2536
|
> def texts(value = false)
|
|
2617
2537
|
|
|
@@ -2628,7 +2548,7 @@ __Returns:__
|
|
|
2628
2548
|
|
|
2629
2549
|
--
|
|
2630
2550
|
|
|
2631
|
-
##### [first_text](https://github.com/appium/ruby_lib/blob/
|
|
2551
|
+
##### [first_text](https://github.com/appium/ruby_lib/blob/5e5b3fbd4d7c84904f9a3158975081fc1786ad0e/lib/appium_lib/ios/element/text.rb#L43) ios
|
|
2632
2552
|
|
|
2633
2553
|
> def first_text
|
|
2634
2554
|
|
|
@@ -2640,7 +2560,7 @@ __Returns:__
|
|
|
2640
2560
|
|
|
2641
2561
|
--
|
|
2642
2562
|
|
|
2643
|
-
##### [last_text](https://github.com/appium/ruby_lib/blob/
|
|
2563
|
+
##### [last_text](https://github.com/appium/ruby_lib/blob/5e5b3fbd4d7c84904f9a3158975081fc1786ad0e/lib/appium_lib/ios/element/text.rb#L49) ios
|
|
2644
2564
|
|
|
2645
2565
|
> def last_text
|
|
2646
2566
|
|
|
@@ -2652,7 +2572,7 @@ __Returns:__
|
|
|
2652
2572
|
|
|
2653
2573
|
--
|
|
2654
2574
|
|
|
2655
|
-
##### [text_exact](https://github.com/appium/ruby_lib/blob/
|
|
2575
|
+
##### [text_exact](https://github.com/appium/ruby_lib/blob/5e5b3fbd4d7c84904f9a3158975081fc1786ad0e/lib/appium_lib/ios/element/text.rb#L56) ios
|
|
2656
2576
|
|
|
2657
2577
|
> def text_exact(value)
|
|
2658
2578
|
|
|
@@ -2668,7 +2588,7 @@ __Returns:__
|
|
|
2668
2588
|
|
|
2669
2589
|
--
|
|
2670
2590
|
|
|
2671
|
-
##### [texts_exact](https://github.com/appium/ruby_lib/blob/
|
|
2591
|
+
##### [texts_exact](https://github.com/appium/ruby_lib/blob/5e5b3fbd4d7c84904f9a3158975081fc1786ad0e/lib/appium_lib/ios/element/text.rb#L67) ios
|
|
2672
2592
|
|
|
2673
2593
|
> def texts_exact(value)
|
|
2674
2594
|
|
|
@@ -2684,7 +2604,7 @@ __Returns:__
|
|
|
2684
2604
|
|
|
2685
2605
|
--
|
|
2686
2606
|
|
|
2687
|
-
##### [alert_accept](https://github.com/appium/ruby_lib/blob/
|
|
2607
|
+
##### [alert_accept](https://github.com/appium/ruby_lib/blob/5e5b3fbd4d7c84904f9a3158975081fc1786ad0e/lib/appium_lib/ios/element/alert.rb#L5) ios
|
|
2688
2608
|
|
|
2689
2609
|
> def alert_accept
|
|
2690
2610
|
|
|
@@ -2696,7 +2616,7 @@ __Returns:__
|
|
|
2696
2616
|
|
|
2697
2617
|
--
|
|
2698
2618
|
|
|
2699
|
-
##### [alert_dismiss](https://github.com/appium/ruby_lib/blob/
|
|
2619
|
+
##### [alert_dismiss](https://github.com/appium/ruby_lib/blob/5e5b3fbd4d7c84904f9a3158975081fc1786ad0e/lib/appium_lib/ios/element/alert.rb#L13) ios
|
|
2700
2620
|
|
|
2701
2621
|
> def alert_dismiss
|
|
2702
2622
|
|
|
@@ -2708,7 +2628,7 @@ __Returns:__
|
|
|
2708
2628
|
|
|
2709
2629
|
--
|
|
2710
2630
|
|
|
2711
|
-
##### [UIAButton](https://github.com/appium/ruby_lib/blob/
|
|
2631
|
+
##### [UIAButton](https://github.com/appium/ruby_lib/blob/5e5b3fbd4d7c84904f9a3158975081fc1786ad0e/lib/appium_lib/ios/element/button.rb#L4) ios
|
|
2712
2632
|
|
|
2713
2633
|
> UIAButton = 'UIAButton'.freeze
|
|
2714
2634
|
|
|
@@ -2716,7 +2636,7 @@ __Returns:__
|
|
|
2716
2636
|
|
|
2717
2637
|
--
|
|
2718
2638
|
|
|
2719
|
-
##### [XCUIElementTypeButton](https://github.com/appium/ruby_lib/blob/
|
|
2639
|
+
##### [XCUIElementTypeButton](https://github.com/appium/ruby_lib/blob/5e5b3fbd4d7c84904f9a3158975081fc1786ad0e/lib/appium_lib/ios/element/button.rb#L5) ios
|
|
2720
2640
|
|
|
2721
2641
|
> XCUIElementTypeButton = 'XCUIElementTypeButton'.freeze
|
|
2722
2642
|
|
|
@@ -2724,7 +2644,7 @@ __Returns:__
|
|
|
2724
2644
|
|
|
2725
2645
|
--
|
|
2726
2646
|
|
|
2727
|
-
##### [button_class](https://github.com/appium/ruby_lib/blob/
|
|
2647
|
+
##### [button_class](https://github.com/appium/ruby_lib/blob/5e5b3fbd4d7c84904f9a3158975081fc1786ad0e/lib/appium_lib/ios/element/button.rb#L8) ios
|
|
2728
2648
|
|
|
2729
2649
|
> def button_class
|
|
2730
2650
|
|
|
@@ -2736,7 +2656,7 @@ __Returns:__
|
|
|
2736
2656
|
|
|
2737
2657
|
--
|
|
2738
2658
|
|
|
2739
|
-
##### [button](https://github.com/appium/ruby_lib/blob/
|
|
2659
|
+
##### [button](https://github.com/appium/ruby_lib/blob/5e5b3fbd4d7c84904f9a3158975081fc1786ad0e/lib/appium_lib/ios/element/button.rb#L16) ios
|
|
2740
2660
|
|
|
2741
2661
|
> def button(value)
|
|
2742
2662
|
|
|
@@ -2753,7 +2673,7 @@ __Returns:__
|
|
|
2753
2673
|
|
|
2754
2674
|
--
|
|
2755
2675
|
|
|
2756
|
-
##### [buttons](https://github.com/appium/ruby_lib/blob/
|
|
2676
|
+
##### [buttons](https://github.com/appium/ruby_lib/blob/5e5b3fbd4d7c84904f9a3158975081fc1786ad0e/lib/appium_lib/ios/element/button.rb#L31) ios
|
|
2757
2677
|
|
|
2758
2678
|
> def buttons(value = false)
|
|
2759
2679
|
|
|
@@ -2770,7 +2690,7 @@ __Returns:__
|
|
|
2770
2690
|
|
|
2771
2691
|
--
|
|
2772
2692
|
|
|
2773
|
-
##### [first_button](https://github.com/appium/ruby_lib/blob/
|
|
2693
|
+
##### [first_button](https://github.com/appium/ruby_lib/blob/5e5b3fbd4d7c84904f9a3158975081fc1786ad0e/lib/appium_lib/ios/element/button.rb#L44) ios
|
|
2774
2694
|
|
|
2775
2695
|
> def first_button
|
|
2776
2696
|
|
|
@@ -2782,7 +2702,7 @@ __Returns:__
|
|
|
2782
2702
|
|
|
2783
2703
|
--
|
|
2784
2704
|
|
|
2785
|
-
##### [last_button](https://github.com/appium/ruby_lib/blob/
|
|
2705
|
+
##### [last_button](https://github.com/appium/ruby_lib/blob/5e5b3fbd4d7c84904f9a3158975081fc1786ad0e/lib/appium_lib/ios/element/button.rb#L52) ios
|
|
2786
2706
|
|
|
2787
2707
|
> def last_button
|
|
2788
2708
|
|
|
@@ -2796,7 +2716,7 @@ __Returns:__
|
|
|
2796
2716
|
|
|
2797
2717
|
--
|
|
2798
2718
|
|
|
2799
|
-
##### [button_exact](https://github.com/appium/ruby_lib/blob/
|
|
2719
|
+
##### [button_exact](https://github.com/appium/ruby_lib/blob/5e5b3fbd4d7c84904f9a3158975081fc1786ad0e/lib/appium_lib/ios/element/button.rb#L59) ios
|
|
2800
2720
|
|
|
2801
2721
|
> def button_exact(value)
|
|
2802
2722
|
|
|
@@ -2812,7 +2732,7 @@ __Returns:__
|
|
|
2812
2732
|
|
|
2813
2733
|
--
|
|
2814
2734
|
|
|
2815
|
-
##### [buttons_exact](https://github.com/appium/ruby_lib/blob/
|
|
2735
|
+
##### [buttons_exact](https://github.com/appium/ruby_lib/blob/5e5b3fbd4d7c84904f9a3158975081fc1786ad0e/lib/appium_lib/ios/element/button.rb#L70) ios
|
|
2816
2736
|
|
|
2817
2737
|
> def buttons_exact(value)
|
|
2818
2738
|
|
|
@@ -2828,7 +2748,7 @@ __Returns:__
|
|
|
2828
2748
|
|
|
2829
2749
|
--
|
|
2830
2750
|
|
|
2831
|
-
##### [uiautomation_find](https://github.com/appium/ruby_lib/blob/
|
|
2751
|
+
##### [uiautomation_find](https://github.com/appium/ruby_lib/blob/5e5b3fbd4d7c84904f9a3158975081fc1786ad0e/lib/appium_lib/ios/mobile_methods.rb#L32) ios
|
|
2832
2752
|
|
|
2833
2753
|
> def uiautomation_find
|
|
2834
2754
|
|
|
@@ -2840,7 +2760,7 @@ find_element/s can be used with a [UIAutomation command](https://developer.apple
|
|
|
2840
2760
|
|
|
2841
2761
|
--
|
|
2842
2762
|
|
|
2843
|
-
##### [ios_predicate_string_find](https://github.com/appium/ruby_lib/blob/
|
|
2763
|
+
##### [ios_predicate_string_find](https://github.com/appium/ruby_lib/blob/5e5b3fbd4d7c84904f9a3158975081fc1786ad0e/lib/appium_lib/ios/mobile_methods.rb#L32) ios
|
|
2844
2764
|
|
|
2845
2765
|
> def ios_predicate_string_find
|
|
2846
2766
|
|
|
@@ -2854,7 +2774,7 @@ find_element/s can be used with a [Predicates](https://developer.apple.com/libra
|
|
|
2854
2774
|
|
|
2855
2775
|
--
|
|
2856
2776
|
|
|
2857
|
-
##### [ios_class_chain_find](https://github.com/appium/ruby_lib/blob/
|
|
2777
|
+
##### [ios_class_chain_find](https://github.com/appium/ruby_lib/blob/5e5b3fbd4d7c84904f9a3158975081fc1786ad0e/lib/appium_lib/ios/mobile_methods.rb#L32) ios
|
|
2858
2778
|
|
|
2859
2779
|
> def ios_class_chain_find
|
|
2860
2780
|
|
|
@@ -2872,7 +2792,7 @@ find_element/s can be used with a [class chain]( https://github.com/facebook/Web
|
|
|
2872
2792
|
|
|
2873
2793
|
--
|
|
2874
2794
|
|
|
2875
|
-
##### [find](https://github.com/appium/ruby_lib/blob/
|
|
2795
|
+
##### [find](https://github.com/appium/ruby_lib/blob/5e5b3fbd4d7c84904f9a3158975081fc1786ad0e/lib/appium_lib/ios/element/generic.rb#L6) ios
|
|
2876
2796
|
|
|
2877
2797
|
> def find(value)
|
|
2878
2798
|
|
|
@@ -2888,7 +2808,7 @@ __Returns:__
|
|
|
2888
2808
|
|
|
2889
2809
|
--
|
|
2890
2810
|
|
|
2891
|
-
##### [finds](https://github.com/appium/ruby_lib/blob/
|
|
2811
|
+
##### [finds](https://github.com/appium/ruby_lib/blob/5e5b3fbd4d7c84904f9a3158975081fc1786ad0e/lib/appium_lib/ios/element/generic.rb#L17) ios
|
|
2892
2812
|
|
|
2893
2813
|
> def finds(value)
|
|
2894
2814
|
|
|
@@ -2904,7 +2824,7 @@ __Returns:__
|
|
|
2904
2824
|
|
|
2905
2825
|
--
|
|
2906
2826
|
|
|
2907
|
-
##### [find_exact](https://github.com/appium/ruby_lib/blob/
|
|
2827
|
+
##### [find_exact](https://github.com/appium/ruby_lib/blob/5e5b3fbd4d7c84904f9a3158975081fc1786ad0e/lib/appium_lib/ios/element/generic.rb#L29) ios
|
|
2908
2828
|
|
|
2909
2829
|
> def find_exact(value)
|
|
2910
2830
|
|
|
@@ -2920,7 +2840,7 @@ __Returns:__
|
|
|
2920
2840
|
|
|
2921
2841
|
--
|
|
2922
2842
|
|
|
2923
|
-
##### [finds_exact](https://github.com/appium/ruby_lib/blob/
|
|
2843
|
+
##### [finds_exact](https://github.com/appium/ruby_lib/blob/5e5b3fbd4d7c84904f9a3158975081fc1786ad0e/lib/appium_lib/ios/element/generic.rb#L40) ios
|
|
2924
2844
|
|
|
2925
2845
|
> def finds_exact(value)
|
|
2926
2846
|
|
|
@@ -2936,7 +2856,7 @@ __Returns:__
|
|
|
2936
2856
|
|
|
2937
2857
|
--
|
|
2938
2858
|
|
|
2939
|
-
##### [raise_error_if_no_element](https://github.com/appium/ruby_lib/blob/
|
|
2859
|
+
##### [raise_error_if_no_element](https://github.com/appium/ruby_lib/blob/5e5b3fbd4d7c84904f9a3158975081fc1786ad0e/lib/appium_lib/ios/element/generic.rb#L51) ios
|
|
2940
2860
|
|
|
2941
2861
|
> def raise_error_if_no_element(element)
|
|
2942
2862
|
|
|
@@ -2944,7 +2864,7 @@ __Returns:__
|
|
|
2944
2864
|
|
|
2945
2865
|
--
|
|
2946
2866
|
|
|
2947
|
-
##### [select_visible_elements](https://github.com/appium/ruby_lib/blob/
|
|
2867
|
+
##### [select_visible_elements](https://github.com/appium/ruby_lib/blob/5e5b3fbd4d7c84904f9a3158975081fc1786ad0e/lib/appium_lib/ios/element/generic.rb#L58) ios
|
|
2948
2868
|
|
|
2949
2869
|
> def select_visible_elements(elements)
|
|
2950
2870
|
|
|
@@ -2952,7 +2872,7 @@ Return visible elements.
|
|
|
2952
2872
|
|
|
2953
2873
|
--
|
|
2954
2874
|
|
|
2955
|
-
##### [UIATextField](https://github.com/appium/ruby_lib/blob/
|
|
2875
|
+
##### [UIATextField](https://github.com/appium/ruby_lib/blob/5e5b3fbd4d7c84904f9a3158975081fc1786ad0e/lib/appium_lib/ios/element/textfield.rb#L3) ios
|
|
2956
2876
|
|
|
2957
2877
|
> UIATextField = 'UIATextField'.freeze
|
|
2958
2878
|
|
|
@@ -2960,7 +2880,7 @@ Return visible elements.
|
|
|
2960
2880
|
|
|
2961
2881
|
--
|
|
2962
2882
|
|
|
2963
|
-
##### [UIASecureTextField](https://github.com/appium/ruby_lib/blob/
|
|
2883
|
+
##### [UIASecureTextField](https://github.com/appium/ruby_lib/blob/5e5b3fbd4d7c84904f9a3158975081fc1786ad0e/lib/appium_lib/ios/element/textfield.rb#L4) ios
|
|
2964
2884
|
|
|
2965
2885
|
> UIASecureTextField = 'UIASecureTextField'.freeze
|
|
2966
2886
|
|
|
@@ -2968,7 +2888,7 @@ Return visible elements.
|
|
|
2968
2888
|
|
|
2969
2889
|
--
|
|
2970
2890
|
|
|
2971
|
-
##### [XCUIElementTypeTextField](https://github.com/appium/ruby_lib/blob/
|
|
2891
|
+
##### [XCUIElementTypeTextField](https://github.com/appium/ruby_lib/blob/5e5b3fbd4d7c84904f9a3158975081fc1786ad0e/lib/appium_lib/ios/element/textfield.rb#L6) ios
|
|
2972
2892
|
|
|
2973
2893
|
> XCUIElementTypeTextField = 'XCUIElementTypeTextField'.freeze
|
|
2974
2894
|
|
|
@@ -2976,7 +2896,7 @@ Return visible elements.
|
|
|
2976
2896
|
|
|
2977
2897
|
--
|
|
2978
2898
|
|
|
2979
|
-
##### [XCUIElementTypeSecureTextField](https://github.com/appium/ruby_lib/blob/
|
|
2899
|
+
##### [XCUIElementTypeSecureTextField](https://github.com/appium/ruby_lib/blob/5e5b3fbd4d7c84904f9a3158975081fc1786ad0e/lib/appium_lib/ios/element/textfield.rb#L7) ios
|
|
2980
2900
|
|
|
2981
2901
|
> XCUIElementTypeSecureTextField = 'XCUIElementTypeSecureTextField'.freeze
|
|
2982
2902
|
|
|
@@ -2984,7 +2904,7 @@ Return visible elements.
|
|
|
2984
2904
|
|
|
2985
2905
|
--
|
|
2986
2906
|
|
|
2987
|
-
##### [text_field_class](https://github.com/appium/ruby_lib/blob/
|
|
2907
|
+
##### [text_field_class](https://github.com/appium/ruby_lib/blob/5e5b3fbd4d7c84904f9a3158975081fc1786ad0e/lib/appium_lib/ios/element/textfield.rb#L10) ios
|
|
2988
2908
|
|
|
2989
2909
|
> def text_field_class
|
|
2990
2910
|
|
|
@@ -2996,7 +2916,7 @@ __Returns:__
|
|
|
2996
2916
|
|
|
2997
2917
|
--
|
|
2998
2918
|
|
|
2999
|
-
##### [secure_text_field_class](https://github.com/appium/ruby_lib/blob/
|
|
2919
|
+
##### [secure_text_field_class](https://github.com/appium/ruby_lib/blob/5e5b3fbd4d7c84904f9a3158975081fc1786ad0e/lib/appium_lib/ios/element/textfield.rb#L15) ios
|
|
3000
2920
|
|
|
3001
2921
|
> def secure_text_field_class
|
|
3002
2922
|
|
|
@@ -3008,7 +2928,7 @@ __Returns:__
|
|
|
3008
2928
|
|
|
3009
2929
|
--
|
|
3010
2930
|
|
|
3011
|
-
##### [_textfield_visible](https://github.com/appium/ruby_lib/blob/
|
|
2931
|
+
##### [_textfield_visible](https://github.com/appium/ruby_lib/blob/5e5b3fbd4d7c84904f9a3158975081fc1786ad0e/lib/appium_lib/ios/element/textfield.rb#L35) ios
|
|
3012
2932
|
|
|
3013
2933
|
> def _textfield_visible
|
|
3014
2934
|
|
|
@@ -3016,7 +2936,7 @@ Appium
|
|
|
3016
2936
|
|
|
3017
2937
|
--
|
|
3018
2938
|
|
|
3019
|
-
##### [_textfield_exact_string](https://github.com/appium/ruby_lib/blob/
|
|
2939
|
+
##### [_textfield_exact_string](https://github.com/appium/ruby_lib/blob/5e5b3fbd4d7c84904f9a3158975081fc1786ad0e/lib/appium_lib/ios/element/textfield.rb#L40) ios
|
|
3020
2940
|
|
|
3021
2941
|
> def _textfield_exact_string(value)
|
|
3022
2942
|
|
|
@@ -3024,7 +2944,7 @@ Appium
|
|
|
3024
2944
|
|
|
3025
2945
|
--
|
|
3026
2946
|
|
|
3027
|
-
##### [_textfield_contains_string](https://github.com/appium/ruby_lib/blob/
|
|
2947
|
+
##### [_textfield_contains_string](https://github.com/appium/ruby_lib/blob/5e5b3fbd4d7c84904f9a3158975081fc1786ad0e/lib/appium_lib/ios/element/textfield.rb#L47) ios
|
|
3028
2948
|
|
|
3029
2949
|
> def _textfield_contains_string(value)
|
|
3030
2950
|
|
|
@@ -3032,7 +2952,7 @@ Appium
|
|
|
3032
2952
|
|
|
3033
2953
|
--
|
|
3034
2954
|
|
|
3035
|
-
##### [textfield](https://github.com/appium/ruby_lib/blob/
|
|
2955
|
+
##### [textfield](https://github.com/appium/ruby_lib/blob/5e5b3fbd4d7c84904f9a3158975081fc1786ad0e/lib/appium_lib/ios/element/textfield.rb#L60) ios
|
|
3036
2956
|
|
|
3037
2957
|
> def textfield(value)
|
|
3038
2958
|
|
|
@@ -3050,7 +2970,7 @@ __Returns:__
|
|
|
3050
2970
|
|
|
3051
2971
|
--
|
|
3052
2972
|
|
|
3053
|
-
##### [textfields](https://github.com/appium/ruby_lib/blob/
|
|
2973
|
+
##### [textfields](https://github.com/appium/ruby_lib/blob/5e5b3fbd4d7c84904f9a3158975081fc1786ad0e/lib/appium_lib/ios/element/textfield.rb#L86) ios
|
|
3054
2974
|
|
|
3055
2975
|
> def textfields(value = false)
|
|
3056
2976
|
|
|
@@ -3067,7 +2987,7 @@ __Returns:__
|
|
|
3067
2987
|
|
|
3068
2988
|
--
|
|
3069
2989
|
|
|
3070
|
-
##### [first_textfield](https://github.com/appium/ruby_lib/blob/
|
|
2990
|
+
##### [first_textfield](https://github.com/appium/ruby_lib/blob/5e5b3fbd4d7c84904f9a3158975081fc1786ad0e/lib/appium_lib/ios/element/textfield.rb#L100) ios
|
|
3071
2991
|
|
|
3072
2992
|
> def first_textfield
|
|
3073
2993
|
|
|
@@ -3079,7 +2999,7 @@ __Returns:__
|
|
|
3079
2999
|
|
|
3080
3000
|
--
|
|
3081
3001
|
|
|
3082
|
-
##### [last_textfield](https://github.com/appium/ruby_lib/blob/
|
|
3002
|
+
##### [last_textfield](https://github.com/appium/ruby_lib/blob/5e5b3fbd4d7c84904f9a3158975081fc1786ad0e/lib/appium_lib/ios/element/textfield.rb#L110) ios
|
|
3083
3003
|
|
|
3084
3004
|
> def last_textfield
|
|
3085
3005
|
|
|
@@ -3091,7 +3011,7 @@ __Returns:__
|
|
|
3091
3011
|
|
|
3092
3012
|
--
|
|
3093
3013
|
|
|
3094
|
-
##### [textfield_exact](https://github.com/appium/ruby_lib/blob/
|
|
3014
|
+
##### [textfield_exact](https://github.com/appium/ruby_lib/blob/5e5b3fbd4d7c84904f9a3158975081fc1786ad0e/lib/appium_lib/ios/element/textfield.rb#L123) ios
|
|
3095
3015
|
|
|
3096
3016
|
> def textfield_exact(value)
|
|
3097
3017
|
|
|
@@ -3107,7 +3027,7 @@ __Returns:__
|
|
|
3107
3027
|
|
|
3108
3028
|
--
|
|
3109
3029
|
|
|
3110
|
-
##### [textfields_exact](https://github.com/appium/ruby_lib/blob/
|
|
3030
|
+
##### [textfields_exact](https://github.com/appium/ruby_lib/blob/5e5b3fbd4d7c84904f9a3158975081fc1786ad0e/lib/appium_lib/ios/element/textfield.rb#L134) ios
|
|
3111
3031
|
|
|
3112
3032
|
> def textfields_exact(value)
|
|
3113
3033
|
|
|
@@ -3123,7 +3043,7 @@ __Returns:__
|
|
|
3123
3043
|
|
|
3124
3044
|
--
|
|
3125
3045
|
|
|
3126
|
-
##### [swipe](https://github.com/appium/ruby_lib/blob/
|
|
3046
|
+
##### [swipe](https://github.com/appium/ruby_lib/blob/5e5b3fbd4d7c84904f9a3158975081fc1786ad0e/lib/appium_lib/ios/xcuitest_gestures.rb#L10) ios
|
|
3127
3047
|
|
|
3128
3048
|
> def swipe(direction:, element: nil)
|
|
3129
3049
|
|
|
@@ -3137,7 +3057,7 @@ __Parameters:__
|
|
|
3137
3057
|
|
|
3138
3058
|
--
|
|
3139
3059
|
|
|
3140
|
-
##### [scroll](https://github.com/appium/ruby_lib/blob/
|
|
3060
|
+
##### [scroll](https://github.com/appium/ruby_lib/blob/5e5b3fbd4d7c84904f9a3158975081fc1786ad0e/lib/appium_lib/ios/xcuitest_gestures.rb#L30) ios
|
|
3141
3061
|
|
|
3142
3062
|
> def scroll(direction:, name: nil, element: nil, to_visible: nil, predicate_string: nil)
|
|
3143
3063
|
|
|
@@ -3151,7 +3071,7 @@ __Parameters:__
|
|
|
3151
3071
|
|
|
3152
3072
|
--
|
|
3153
3073
|
|
|
3154
|
-
##### [pinch](https://github.com/appium/ruby_lib/blob/
|
|
3074
|
+
##### [pinch](https://github.com/appium/ruby_lib/blob/5e5b3fbd4d7c84904f9a3158975081fc1786ad0e/lib/appium_lib/ios/xcuitest_gestures.rb#L49) ios
|
|
3155
3075
|
|
|
3156
3076
|
> def pinch(scale:, velocity: 1.0, element: nil)
|
|
3157
3077
|
|
|
@@ -3167,7 +3087,7 @@ __Parameters:__
|
|
|
3167
3087
|
|
|
3168
3088
|
--
|
|
3169
3089
|
|
|
3170
|
-
##### [double_tap](https://github.com/appium/ruby_lib/blob/
|
|
3090
|
+
##### [double_tap](https://github.com/appium/ruby_lib/blob/5e5b3fbd4d7c84904f9a3158975081fc1786ad0e/lib/appium_lib/ios/xcuitest_gestures.rb#L66) ios
|
|
3171
3091
|
|
|
3172
3092
|
> def double_tap(x: nil, y: nil, element: nil)
|
|
3173
3093
|
|
|
@@ -3183,7 +3103,25 @@ __Parameters:__
|
|
|
3183
3103
|
|
|
3184
3104
|
--
|
|
3185
3105
|
|
|
3186
|
-
##### [
|
|
3106
|
+
##### [touch_and_hold](https://github.com/appium/ruby_lib/blob/5e5b3fbd4d7c84904f9a3158975081fc1786ad0e/lib/appium_lib/ios/xcuitest_gestures.rb#L84) ios
|
|
3107
|
+
|
|
3108
|
+
> def touch_and_hold(x: nil, y: nil, element: nil, duration: 1.0)
|
|
3109
|
+
|
|
3110
|
+
|
|
3111
|
+
|
|
3112
|
+
__Parameters:__
|
|
3113
|
+
|
|
3114
|
+
[float] x - Screen x long tap coordinate of type float. Mandatory parameter only if element is not set
|
|
3115
|
+
|
|
3116
|
+
[float] y - Screen y long tap coordinate of type float. Mandatory parameter only if element is not set
|
|
3117
|
+
|
|
3118
|
+
[Float] duration - The float duration of press action in seconds. Mandatory parameter
|
|
3119
|
+
|
|
3120
|
+
[Hash] opts - a customizable set of options
|
|
3121
|
+
|
|
3122
|
+
--
|
|
3123
|
+
|
|
3124
|
+
##### [two_finger_tap](https://github.com/appium/ruby_lib/blob/5e5b3fbd4d7c84904f9a3158975081fc1786ad0e/lib/appium_lib/ios/xcuitest_gestures.rb#L98) ios
|
|
3187
3125
|
|
|
3188
3126
|
> def two_finger_tap(element:)
|
|
3189
3127
|
|
|
@@ -3199,7 +3137,7 @@ two_finger_tap element: find_element(:accessibility_id, "some item")
|
|
|
3199
3137
|
|
|
3200
3138
|
--
|
|
3201
3139
|
|
|
3202
|
-
##### [tap](https://github.com/appium/ruby_lib/blob/
|
|
3140
|
+
##### [tap](https://github.com/appium/ruby_lib/blob/5e5b3fbd4d7c84904f9a3158975081fc1786ad0e/lib/appium_lib/ios/xcuitest_gestures.rb#L115) ios
|
|
3203
3141
|
|
|
3204
3142
|
> def tap(x:, y:, element: nil)
|
|
3205
3143
|
|
|
@@ -3215,7 +3153,7 @@ __Parameters:__
|
|
|
3215
3153
|
|
|
3216
3154
|
--
|
|
3217
3155
|
|
|
3218
|
-
##### [drag_from_to_for_duration](https://github.com/appium/ruby_lib/blob/
|
|
3156
|
+
##### [drag_from_to_for_duration](https://github.com/appium/ruby_lib/blob/5e5b3fbd4d7c84904f9a3158975081fc1786ad0e/lib/appium_lib/ios/xcuitest_gestures.rb#L137) ios
|
|
3219
3157
|
|
|
3220
3158
|
> def drag_from_to_for_duration(from_x:, from_y:, to_x:, to_y:, duration: 1.0, element: nil)
|
|
3221
3159
|
|
|
@@ -3238,7 +3176,7 @@ drag point should be before to start dragging. Mandatory parameter
|
|
|
3238
3176
|
|
|
3239
3177
|
--
|
|
3240
3178
|
|
|
3241
|
-
##### [select_picker_wheel](https://github.com/appium/ruby_lib/blob/
|
|
3179
|
+
##### [select_picker_wheel](https://github.com/appium/ruby_lib/blob/5e5b3fbd4d7c84904f9a3158975081fc1786ad0e/lib/appium_lib/ios/xcuitest_gestures.rb#L156) ios
|
|
3242
3180
|
|
|
3243
3181
|
> def select_picker_wheel(element:, order:, offset: nil)
|
|
3244
3182
|
|
|
@@ -3255,7 +3193,7 @@ __Parameters:__
|
|
|
3255
3193
|
|
|
3256
3194
|
--
|
|
3257
3195
|
|
|
3258
|
-
##### [alert](https://github.com/appium/ruby_lib/blob/
|
|
3196
|
+
##### [alert](https://github.com/appium/ruby_lib/blob/5e5b3fbd4d7c84904f9a3158975081fc1786ad0e/lib/appium_lib/ios/xcuitest_gestures.rb#L175) ios
|
|
3259
3197
|
|
|
3260
3198
|
> def alert(action:, button_label: nil)
|
|
3261
3199
|
|
|
@@ -3270,7 +3208,7 @@ This is an optional parameter and is only valid in combination with accept and d
|
|
|
3270
3208
|
|
|
3271
3209
|
--
|
|
3272
3210
|
|
|
3273
|
-
##### [value](https://github.com/appium/ruby_lib/blob/
|
|
3211
|
+
##### [value](https://github.com/appium/ruby_lib/blob/5e5b3fbd4d7c84904f9a3158975081fc1786ad0e/lib/appium_lib/common/patch.rb#L12)
|
|
3274
3212
|
|
|
3275
3213
|
> def value
|
|
3276
3214
|
|
|
@@ -3280,7 +3218,7 @@ Fixes NoMethodError: undefined method `value' for Selenium::WebDriver::Element
|
|
|
3280
3218
|
|
|
3281
3219
|
--
|
|
3282
3220
|
|
|
3283
|
-
##### [name](https://github.com/appium/ruby_lib/blob/
|
|
3221
|
+
##### [name](https://github.com/appium/ruby_lib/blob/5e5b3fbd4d7c84904f9a3158975081fc1786ad0e/lib/appium_lib/common/patch.rb#L19)
|
|
3284
3222
|
|
|
3285
3223
|
> def name
|
|
3286
3224
|
|
|
@@ -3290,7 +3228,7 @@ Fixes NoMethodError: undefined method `name' for Selenium::WebDriver::Element
|
|
|
3290
3228
|
|
|
3291
3229
|
--
|
|
3292
3230
|
|
|
3293
|
-
##### [location_rel](https://github.com/appium/ruby_lib/blob/
|
|
3231
|
+
##### [location_rel](https://github.com/appium/ruby_lib/blob/5e5b3fbd4d7c84904f9a3158975081fc1786ad0e/lib/appium_lib/common/patch.rb#L31)
|
|
3294
3232
|
|
|
3295
3233
|
> def location_rel
|
|
3296
3234
|
|
|
@@ -3308,7 +3246,7 @@ __Returns:__
|
|
|
3308
3246
|
|
|
3309
3247
|
--
|
|
3310
3248
|
|
|
3311
|
-
##### [DEFAULT_HEADERS](https://github.com/appium/ruby_lib/blob/
|
|
3249
|
+
##### [DEFAULT_HEADERS](https://github.com/appium/ruby_lib/blob/5e5b3fbd4d7c84904f9a3158975081fc1786ad0e/lib/appium_lib/common/patch.rb#L152)
|
|
3312
3250
|
|
|
3313
3251
|
> DEFAULT_HEADERS = { 'Accept' => CONTENT_TYPE, 'User-Agent' => "appium/ruby_lib/#{::Appium::VERSION}" }.freeze
|
|
3314
3252
|
|
|
@@ -3316,7 +3254,7 @@ __Returns:__
|
|
|
3316
3254
|
|
|
3317
3255
|
--
|
|
3318
3256
|
|
|
3319
|
-
##### [patch_remote_driver_commands](https://github.com/appium/ruby_lib/blob/
|
|
3257
|
+
##### [patch_remote_driver_commands](https://github.com/appium/ruby_lib/blob/5e5b3fbd4d7c84904f9a3158975081fc1786ad0e/lib/appium_lib/common/patch.rb#L155)
|
|
3320
3258
|
|
|
3321
3259
|
> def patch_remote_driver_commands
|
|
3322
3260
|
|