appium_lib 9.6.0 → 9.6.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +10 -1
- data/Rakefile +1 -1
- data/appium_lib.gemspec +1 -1
- data/docs/android_docs.md +258 -258
- data/docs/ios_docs.md +339 -312
- data/docs/ios_xcuitest.md +4 -0
- data/lib/appium_lib/android/uiautomator2.rb +10 -0
- data/lib/appium_lib/android/uiautomator2/element.rb +10 -0
- data/lib/appium_lib/capabilities.rb +13 -0
- data/lib/appium_lib/common/version.rb +2 -2
- data/lib/appium_lib/driver.rb +15 -26
- data/lib/appium_lib/ios/xcuitest.rb +15 -0
- data/lib/appium_lib/ios/xcuitest/command.rb +8 -0
- data/lib/appium_lib/ios/xcuitest/command/pasteboard.rb +33 -0
- data/lib/appium_lib/ios/xcuitest/element.rb +24 -17
- data/lib/appium_lib/ios/xcuitest/search_context.rb +25 -0
- data/release_notes.md +16 -0
- metadata +11 -5
- data/lib/appium_lib/ios/xcuitest/mobile_methods.rb +0 -23
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/95118d4e0a6ec285e55862ea6b6fed528711ad84/lib/appium_lib/driver.rb#L85)
|
|
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/95118d4e0a6ec285e55862ea6b6fed528711ad84/lib/appium_lib/driver.rb#L121)
|
|
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/95118d4e0a6ec285e55862ea6b6fed528711ad84/lib/appium_lib/driver.rb#L127)
|
|
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/95118d4e0a6ec285e55862ea6b6fed528711ad84/lib/appium_lib/driver.rb#L159)
|
|
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/95118d4e0a6ec285e55862ea6b6fed528711ad84/lib/appium_lib/driver.rb#L180)
|
|
90
90
|
|
|
91
91
|
> def self.promote_singleton_appium_methods(modules, driver = $driver)
|
|
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/95118d4e0a6ec285e55862ea6b6fed528711ad84/lib/appium_lib/driver.rb#L233)
|
|
108
108
|
|
|
109
109
|
> def self.promote_appium_methods(class_array, driver = $driver)
|
|
110
110
|
|
|
@@ -134,7 +134,7 @@ __Parameters:__
|
|
|
134
134
|
|
|
135
135
|
--
|
|
136
136
|
|
|
137
|
-
##### [selenium_webdriver_version_more?](https://github.com/appium/ruby_lib/blob/
|
|
137
|
+
##### [selenium_webdriver_version_more?](https://github.com/appium/ruby_lib/blob/95118d4e0a6ec285e55862ea6b6fed528711ad84/lib/appium_lib/driver.rb#L260)
|
|
138
138
|
|
|
139
139
|
> def self.selenium_webdriver_version_more?(version)
|
|
140
140
|
|
|
@@ -146,25 +146,7 @@ __Returns:__
|
|
|
146
146
|
|
|
147
147
|
--
|
|
148
148
|
|
|
149
|
-
##### [
|
|
150
|
-
|
|
151
|
-
> def self.init_caps_for_appium(opts_caps = {})
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
__Parameters:__
|
|
156
|
-
|
|
157
|
-
[Hash] opts_caps - Capabilities for Appium server. All capability keys are converted to lowerCamelCase when
|
|
158
|
-
this client sends capabilities to Appium server as JSON format.
|
|
159
|
-
|
|
160
|
-
__Returns:__
|
|
161
|
-
|
|
162
|
-
[::Selenium::WebDriver::Remote::W3C::Capabilities] Return instance of Appium::Driver::Capabilities
|
|
163
|
-
inherited ::Selenium::WebDriver::Remote::W3C::Capabilities
|
|
164
|
-
|
|
165
|
-
--
|
|
166
|
-
|
|
167
|
-
##### [global_webdriver_http_sleep](https://github.com/appium/ruby_lib/blob/a4c238552724878c31d8ff0179ef00d8258c76a4/lib/appium_lib/driver.rb#L290)
|
|
149
|
+
##### [global_webdriver_http_sleep](https://github.com/appium/ruby_lib/blob/95118d4e0a6ec285e55862ea6b6fed528711ad84/lib/appium_lib/driver.rb#L272)
|
|
168
150
|
|
|
169
151
|
> def global_webdriver_http_sleep
|
|
170
152
|
|
|
@@ -172,7 +154,7 @@ The amount to sleep in seconds before every webdriver http call.
|
|
|
172
154
|
|
|
173
155
|
--
|
|
174
156
|
|
|
175
|
-
##### [global_webdriver_http_sleep=](https://github.com/appium/ruby_lib/blob/
|
|
157
|
+
##### [global_webdriver_http_sleep=](https://github.com/appium/ruby_lib/blob/95118d4e0a6ec285e55862ea6b6fed528711ad84/lib/appium_lib/driver.rb#L272)
|
|
176
158
|
|
|
177
159
|
> def global_webdriver_http_sleep=(value)
|
|
178
160
|
|
|
@@ -180,7 +162,7 @@ The amount to sleep in seconds before every webdriver http call.
|
|
|
180
162
|
|
|
181
163
|
--
|
|
182
164
|
|
|
183
|
-
##### [caps](https://github.com/appium/ruby_lib/blob/
|
|
165
|
+
##### [caps](https://github.com/appium/ruby_lib/blob/95118d4e0a6ec285e55862ea6b6fed528711ad84/lib/appium_lib/driver.rb#L274)
|
|
184
166
|
|
|
185
167
|
> def caps
|
|
186
168
|
|
|
@@ -188,7 +170,7 @@ Selenium webdriver capabilities
|
|
|
188
170
|
|
|
189
171
|
--
|
|
190
172
|
|
|
191
|
-
##### [custom_url](https://github.com/appium/ruby_lib/blob/
|
|
173
|
+
##### [custom_url](https://github.com/appium/ruby_lib/blob/95118d4e0a6ec285e55862ea6b6fed528711ad84/lib/appium_lib/driver.rb#L276)
|
|
192
174
|
|
|
193
175
|
> def custom_url
|
|
194
176
|
|
|
@@ -196,7 +178,7 @@ Custom URL for the selenium server
|
|
|
196
178
|
|
|
197
179
|
--
|
|
198
180
|
|
|
199
|
-
##### [export_session](https://github.com/appium/ruby_lib/blob/
|
|
181
|
+
##### [export_session](https://github.com/appium/ruby_lib/blob/95118d4e0a6ec285e55862ea6b6fed528711ad84/lib/appium_lib/driver.rb#L278)
|
|
200
182
|
|
|
201
183
|
> def export_session
|
|
202
184
|
|
|
@@ -204,7 +186,7 @@ Export session id to textfile in /tmp for 3rd party tools
|
|
|
204
186
|
|
|
205
187
|
--
|
|
206
188
|
|
|
207
|
-
##### [default_wait](https://github.com/appium/ruby_lib/blob/
|
|
189
|
+
##### [default_wait](https://github.com/appium/ruby_lib/blob/95118d4e0a6ec285e55862ea6b6fed528711ad84/lib/appium_lib/driver.rb#L283)
|
|
208
190
|
|
|
209
191
|
> def default_wait
|
|
210
192
|
|
|
@@ -218,7 +200,7 @@ __Returns:__
|
|
|
218
200
|
|
|
219
201
|
--
|
|
220
202
|
|
|
221
|
-
##### [sauce_username](https://github.com/appium/ruby_lib/blob/
|
|
203
|
+
##### [sauce_username](https://github.com/appium/ruby_lib/blob/95118d4e0a6ec285e55862ea6b6fed528711ad84/lib/appium_lib/driver.rb#L285)
|
|
222
204
|
|
|
223
205
|
> def sauce_username
|
|
224
206
|
|
|
@@ -226,7 +208,7 @@ Username for use on Sauce Labs. Set `false` to disable Sauce, even when SAUCE_US
|
|
|
226
208
|
|
|
227
209
|
--
|
|
228
210
|
|
|
229
|
-
##### [sauce_access_key](https://github.com/appium/ruby_lib/blob/
|
|
211
|
+
##### [sauce_access_key](https://github.com/appium/ruby_lib/blob/95118d4e0a6ec285e55862ea6b6fed528711ad84/lib/appium_lib/driver.rb#L287)
|
|
230
212
|
|
|
231
213
|
> def sauce_access_key
|
|
232
214
|
|
|
@@ -234,7 +216,7 @@ Access Key for use on Sauce Labs. Set `false` to disable Sauce, even when SAUCE_
|
|
|
234
216
|
|
|
235
217
|
--
|
|
236
218
|
|
|
237
|
-
##### [sauce_endpoint](https://github.com/appium/ruby_lib/blob/
|
|
219
|
+
##### [sauce_endpoint](https://github.com/appium/ruby_lib/blob/95118d4e0a6ec285e55862ea6b6fed528711ad84/lib/appium_lib/driver.rb#L289)
|
|
238
220
|
|
|
239
221
|
> def sauce_endpoint
|
|
240
222
|
|
|
@@ -242,7 +224,7 @@ Override the Sauce Appium endpoint to allow e.g. TestObject tests
|
|
|
242
224
|
|
|
243
225
|
--
|
|
244
226
|
|
|
245
|
-
##### [appium_port](https://github.com/appium/ruby_lib/blob/
|
|
227
|
+
##### [appium_port](https://github.com/appium/ruby_lib/blob/95118d4e0a6ec285e55862ea6b6fed528711ad84/lib/appium_lib/driver.rb#L291)
|
|
246
228
|
|
|
247
229
|
> def appium_port
|
|
248
230
|
|
|
@@ -250,7 +232,7 @@ Appium's server port
|
|
|
250
232
|
|
|
251
233
|
--
|
|
252
234
|
|
|
253
|
-
##### [appium_device](https://github.com/appium/ruby_lib/blob/
|
|
235
|
+
##### [appium_device](https://github.com/appium/ruby_lib/blob/95118d4e0a6ec285e55862ea6b6fed528711ad84/lib/appium_lib/driver.rb#L293)
|
|
254
236
|
|
|
255
237
|
> def appium_device
|
|
256
238
|
|
|
@@ -258,7 +240,7 @@ Device type to request from the appium server
|
|
|
258
240
|
|
|
259
241
|
--
|
|
260
242
|
|
|
261
|
-
##### [automation_name](https://github.com/appium/ruby_lib/blob/
|
|
243
|
+
##### [automation_name](https://github.com/appium/ruby_lib/blob/95118d4e0a6ec285e55862ea6b6fed528711ad84/lib/appium_lib/driver.rb#L296)
|
|
262
244
|
|
|
263
245
|
> def automation_name
|
|
264
246
|
|
|
@@ -267,7 +249,7 @@ If automation_name is nil, it is not set both client side and server side.
|
|
|
267
249
|
|
|
268
250
|
--
|
|
269
251
|
|
|
270
|
-
##### [appium_server_status](https://github.com/appium/ruby_lib/blob/
|
|
252
|
+
##### [appium_server_status](https://github.com/appium/ruby_lib/blob/95118d4e0a6ec285e55862ea6b6fed528711ad84/lib/appium_lib/driver.rb#L298)
|
|
271
253
|
|
|
272
254
|
> def appium_server_status
|
|
273
255
|
|
|
@@ -275,7 +257,7 @@ Appium's server version
|
|
|
275
257
|
|
|
276
258
|
--
|
|
277
259
|
|
|
278
|
-
##### [appium_debug](https://github.com/appium/ruby_lib/blob/
|
|
260
|
+
##### [appium_debug](https://github.com/appium/ruby_lib/blob/95118d4e0a6ec285e55862ea6b6fed528711ad84/lib/appium_lib/driver.rb#L300)
|
|
279
261
|
|
|
280
262
|
> def appium_debug
|
|
281
263
|
|
|
@@ -283,7 +265,7 @@ Boolean debug mode for the Appium Ruby bindings
|
|
|
283
265
|
|
|
284
266
|
--
|
|
285
267
|
|
|
286
|
-
##### [listener](https://github.com/appium/ruby_lib/blob/
|
|
268
|
+
##### [listener](https://github.com/appium/ruby_lib/blob/95118d4e0a6ec285e55862ea6b6fed528711ad84/lib/appium_lib/driver.rb#L302)
|
|
287
269
|
|
|
288
270
|
> def listener
|
|
289
271
|
|
|
@@ -291,7 +273,7 @@ instance of AbstractEventListener for logging support
|
|
|
291
273
|
|
|
292
274
|
--
|
|
293
275
|
|
|
294
|
-
##### [driver](https://github.com/appium/ruby_lib/blob/
|
|
276
|
+
##### [driver](https://github.com/appium/ruby_lib/blob/95118d4e0a6ec285e55862ea6b6fed528711ad84/lib/appium_lib/driver.rb#L305)
|
|
295
277
|
|
|
296
278
|
> def driver
|
|
297
279
|
|
|
@@ -303,7 +285,7 @@ __Returns:__
|
|
|
303
285
|
|
|
304
286
|
--
|
|
305
287
|
|
|
306
|
-
##### [http_client](https://github.com/appium/ruby_lib/blob/
|
|
288
|
+
##### [http_client](https://github.com/appium/ruby_lib/blob/95118d4e0a6ec285e55862ea6b6fed528711ad84/lib/appium_lib/driver.rb#L308)
|
|
307
289
|
|
|
308
290
|
> def http_client
|
|
309
291
|
|
|
@@ -315,7 +297,7 @@ __Returns:__
|
|
|
315
297
|
|
|
316
298
|
--
|
|
317
299
|
|
|
318
|
-
##### [appium_wait_timeout](https://github.com/appium/ruby_lib/blob/
|
|
300
|
+
##### [appium_wait_timeout](https://github.com/appium/ruby_lib/blob/95118d4e0a6ec285e55862ea6b6fed528711ad84/lib/appium_lib/driver.rb#L313)
|
|
319
301
|
|
|
320
302
|
> def appium_wait_timeout
|
|
321
303
|
|
|
@@ -329,7 +311,7 @@ __Returns:__
|
|
|
329
311
|
|
|
330
312
|
--
|
|
331
313
|
|
|
332
|
-
##### [appium_wait_interval](https://github.com/appium/ruby_lib/blob/
|
|
314
|
+
##### [appium_wait_interval](https://github.com/appium/ruby_lib/blob/95118d4e0a6ec285e55862ea6b6fed528711ad84/lib/appium_lib/driver.rb#L318)
|
|
333
315
|
|
|
334
316
|
> def appium_wait_interval
|
|
335
317
|
|
|
@@ -343,9 +325,9 @@ __Returns:__
|
|
|
343
325
|
|
|
344
326
|
--
|
|
345
327
|
|
|
346
|
-
##### [initialize](https://github.com/appium/ruby_lib/blob/
|
|
328
|
+
##### [initialize](https://github.com/appium/ruby_lib/blob/95118d4e0a6ec285e55862ea6b6fed528711ad84/lib/appium_lib/driver.rb#L372)
|
|
347
329
|
|
|
348
|
-
> def initialize(opts = {}, global_driver =
|
|
330
|
+
> def initialize(opts = {}, global_driver = nil)
|
|
349
331
|
|
|
350
332
|
Creates a new driver. The driver is defined as global scope by default.
|
|
351
333
|
We can avoid defining global driver.
|
|
@@ -362,7 +344,7 @@ __Returns:__
|
|
|
362
344
|
|
|
363
345
|
--
|
|
364
346
|
|
|
365
|
-
##### [set_appium_lib_specific_values](https://github.com/appium/ruby_lib/blob/
|
|
347
|
+
##### [set_appium_lib_specific_values](https://github.com/appium/ruby_lib/blob/95118d4e0a6ec285e55862ea6b6fed528711ad84/lib/appium_lib/driver.rb#L457)
|
|
366
348
|
|
|
367
349
|
> def set_appium_lib_specific_values(appium_lib_opts)
|
|
368
350
|
|
|
@@ -370,7 +352,7 @@ __Returns:__
|
|
|
370
352
|
|
|
371
353
|
--
|
|
372
354
|
|
|
373
|
-
##### [driver_attributes](https://github.com/appium/ruby_lib/blob/
|
|
355
|
+
##### [driver_attributes](https://github.com/appium/ruby_lib/blob/95118d4e0a6ec285e55862ea6b6fed528711ad84/lib/appium_lib/driver.rb#L483)
|
|
374
356
|
|
|
375
357
|
> def driver_attributes
|
|
376
358
|
|
|
@@ -378,7 +360,7 @@ Returns a hash of the driver attributes
|
|
|
378
360
|
|
|
379
361
|
--
|
|
380
362
|
|
|
381
|
-
##### [device_is_android?](https://github.com/appium/ruby_lib/blob/
|
|
363
|
+
##### [device_is_android?](https://github.com/appium/ruby_lib/blob/95118d4e0a6ec285e55862ea6b6fed528711ad84/lib/appium_lib/driver.rb#L502)
|
|
382
364
|
|
|
383
365
|
> def device_is_android?
|
|
384
366
|
|
|
@@ -390,7 +372,7 @@ __Returns:__
|
|
|
390
372
|
|
|
391
373
|
--
|
|
392
374
|
|
|
393
|
-
##### [automation_name_is_xcuitest?](https://github.com/appium/ruby_lib/blob/
|
|
375
|
+
##### [automation_name_is_xcuitest?](https://github.com/appium/ruby_lib/blob/95118d4e0a6ec285e55862ea6b6fed528711ad84/lib/appium_lib/driver.rb#L508)
|
|
394
376
|
|
|
395
377
|
> def automation_name_is_xcuitest?
|
|
396
378
|
|
|
@@ -402,7 +384,7 @@ __Returns:__
|
|
|
402
384
|
|
|
403
385
|
--
|
|
404
386
|
|
|
405
|
-
##### [automation_name_is_uiautomator2?](https://github.com/appium/ruby_lib/blob/
|
|
387
|
+
##### [automation_name_is_uiautomator2?](https://github.com/appium/ruby_lib/blob/95118d4e0a6ec285e55862ea6b6fed528711ad84/lib/appium_lib/driver.rb#L514)
|
|
406
388
|
|
|
407
389
|
> def automation_name_is_uiautomator2?
|
|
408
390
|
|
|
@@ -414,7 +396,7 @@ __Returns:__
|
|
|
414
396
|
|
|
415
397
|
--
|
|
416
398
|
|
|
417
|
-
##### [automation_name_is_espresso?](https://github.com/appium/ruby_lib/blob/
|
|
399
|
+
##### [automation_name_is_espresso?](https://github.com/appium/ruby_lib/blob/95118d4e0a6ec285e55862ea6b6fed528711ad84/lib/appium_lib/driver.rb#L520)
|
|
418
400
|
|
|
419
401
|
> def automation_name_is_espresso?
|
|
420
402
|
|
|
@@ -426,7 +408,7 @@ __Returns:__
|
|
|
426
408
|
|
|
427
409
|
--
|
|
428
410
|
|
|
429
|
-
##### [check_server_version_xcuitest](https://github.com/appium/ruby_lib/blob/
|
|
411
|
+
##### [check_server_version_xcuitest](https://github.com/appium/ruby_lib/blob/95118d4e0a6ec285e55862ea6b6fed528711ad84/lib/appium_lib/driver.rb#L527)
|
|
430
412
|
|
|
431
413
|
> def check_server_version_xcuitest
|
|
432
414
|
|
|
@@ -439,7 +421,7 @@ __Returns:__
|
|
|
439
421
|
|
|
440
422
|
--
|
|
441
423
|
|
|
442
|
-
##### [appium_server_version](https://github.com/appium/ruby_lib/blob/
|
|
424
|
+
##### [appium_server_version](https://github.com/appium/ruby_lib/blob/95118d4e0a6ec285e55862ea6b6fed528711ad84/lib/appium_lib/driver.rb#L554)
|
|
443
425
|
|
|
444
426
|
> def appium_server_version
|
|
445
427
|
|
|
@@ -466,7 +448,7 @@ __Returns:__
|
|
|
466
448
|
|
|
467
449
|
--
|
|
468
450
|
|
|
469
|
-
##### [appium_client_version](https://github.com/appium/ruby_lib/blob/
|
|
451
|
+
##### [appium_client_version](https://github.com/appium/ruby_lib/blob/95118d4e0a6ec285e55862ea6b6fed528711ad84/lib/appium_lib/driver.rb#L575)
|
|
470
452
|
|
|
471
453
|
> def appium_client_version
|
|
472
454
|
|
|
@@ -484,7 +466,7 @@ __Returns:__
|
|
|
484
466
|
|
|
485
467
|
--
|
|
486
468
|
|
|
487
|
-
##### [absolute_app_path](https://github.com/appium/ruby_lib/blob/
|
|
469
|
+
##### [absolute_app_path](https://github.com/appium/ruby_lib/blob/95118d4e0a6ec285e55862ea6b6fed528711ad84/lib/appium_lib/driver.rb#L587)
|
|
488
470
|
|
|
489
471
|
> def self.absolute_app_path(opts)
|
|
490
472
|
|
|
@@ -501,7 +483,7 @@ __Returns:__
|
|
|
501
483
|
|
|
502
484
|
--
|
|
503
485
|
|
|
504
|
-
##### [server_url](https://github.com/appium/ruby_lib/blob/
|
|
486
|
+
##### [server_url](https://github.com/appium/ruby_lib/blob/95118d4e0a6ec285e55862ea6b6fed528711ad84/lib/appium_lib/driver.rb#L620)
|
|
505
487
|
|
|
506
488
|
> def server_url
|
|
507
489
|
|
|
@@ -513,7 +495,7 @@ __Returns:__
|
|
|
513
495
|
|
|
514
496
|
--
|
|
515
497
|
|
|
516
|
-
##### [restart](https://github.com/appium/ruby_lib/blob/
|
|
498
|
+
##### [restart](https://github.com/appium/ruby_lib/blob/95118d4e0a6ec285e55862ea6b6fed528711ad84/lib/appium_lib/driver.rb#L631)
|
|
517
499
|
|
|
518
500
|
> def restart
|
|
519
501
|
|
|
@@ -525,7 +507,7 @@ __Returns:__
|
|
|
525
507
|
|
|
526
508
|
--
|
|
527
509
|
|
|
528
|
-
##### [screenshot](https://github.com/appium/ruby_lib/blob/
|
|
510
|
+
##### [screenshot](https://github.com/appium/ruby_lib/blob/95118d4e0a6ec285e55862ea6b6fed528711ad84/lib/appium_lib/driver.rb#L642)
|
|
529
511
|
|
|
530
512
|
> def screenshot(png_save_path)
|
|
531
513
|
|
|
@@ -543,7 +525,7 @@ __Returns:__
|
|
|
543
525
|
|
|
544
526
|
--
|
|
545
527
|
|
|
546
|
-
##### [driver_quit](https://github.com/appium/ruby_lib/blob/
|
|
528
|
+
##### [driver_quit](https://github.com/appium/ruby_lib/blob/95118d4e0a6ec285e55862ea6b6fed528711ad84/lib/appium_lib/driver.rb#L649)
|
|
547
529
|
|
|
548
530
|
> def driver_quit
|
|
549
531
|
|
|
@@ -555,7 +537,7 @@ __Returns:__
|
|
|
555
537
|
|
|
556
538
|
--
|
|
557
539
|
|
|
558
|
-
##### [quit_driver](https://github.com/appium/ruby_lib/blob/
|
|
540
|
+
##### [quit_driver](https://github.com/appium/ruby_lib/blob/95118d4e0a6ec285e55862ea6b6fed528711ad84/lib/appium_lib/driver.rb#L657)
|
|
559
541
|
|
|
560
542
|
> def driver_quit
|
|
561
543
|
|
|
@@ -568,7 +550,7 @@ __Returns:__
|
|
|
568
550
|
|
|
569
551
|
--
|
|
570
552
|
|
|
571
|
-
##### [start_driver](https://github.com/appium/ruby_lib/blob/
|
|
553
|
+
##### [start_driver](https://github.com/appium/ruby_lib/blob/95118d4e0a6ec285e55862ea6b6fed528711ad84/lib/appium_lib/driver.rb#L685)
|
|
572
554
|
|
|
573
555
|
> def start_driver(http_client_ops = { http_client: nil, open_timeout: 999_999, read_timeout: 999_999 })
|
|
574
556
|
|
|
@@ -585,7 +567,7 @@ __Returns:__
|
|
|
585
567
|
|
|
586
568
|
--
|
|
587
569
|
|
|
588
|
-
##### [set_implicit_wait](https://github.com/appium/ruby_lib/blob/
|
|
570
|
+
##### [set_implicit_wait](https://github.com/appium/ruby_lib/blob/95118d4e0a6ec285e55862ea6b6fed528711ad84/lib/appium_lib/driver.rb#L725)
|
|
589
571
|
|
|
590
572
|
> def set_implicit_wait(wait)
|
|
591
573
|
|
|
@@ -593,7 +575,7 @@ To ignore error for Espresso Driver
|
|
|
593
575
|
|
|
594
576
|
--
|
|
595
577
|
|
|
596
|
-
##### [no_wait](https://github.com/appium/ruby_lib/blob/
|
|
578
|
+
##### [no_wait](https://github.com/appium/ruby_lib/blob/95118d4e0a6ec285e55862ea6b6fed528711ad84/lib/appium_lib/driver.rb#L735)
|
|
597
579
|
|
|
598
580
|
> def no_wait
|
|
599
581
|
|
|
@@ -601,7 +583,7 @@ Set implicit wait to zero.
|
|
|
601
583
|
|
|
602
584
|
--
|
|
603
585
|
|
|
604
|
-
##### [set_wait](https://github.com/appium/ruby_lib/blob/
|
|
586
|
+
##### [set_wait](https://github.com/appium/ruby_lib/blob/95118d4e0a6ec285e55862ea6b6fed528711ad84/lib/appium_lib/driver.rb#L749)
|
|
605
587
|
|
|
606
588
|
> def set_wait(timeout = nil)
|
|
607
589
|
|
|
@@ -623,7 +605,7 @@ __Returns:__
|
|
|
623
605
|
|
|
624
606
|
--
|
|
625
607
|
|
|
626
|
-
##### [exists](https://github.com/appium/ruby_lib/blob/
|
|
608
|
+
##### [exists](https://github.com/appium/ruby_lib/blob/95118d4e0a6ec285e55862ea6b6fed528711ad84/lib/appium_lib/driver.rb#L766)
|
|
627
609
|
|
|
628
610
|
> def exists(pre_check = 0, post_check = @default_wait)
|
|
629
611
|
|
|
@@ -647,7 +629,7 @@ __Returns:__
|
|
|
647
629
|
|
|
648
630
|
--
|
|
649
631
|
|
|
650
|
-
##### [execute_script](https://github.com/appium/ruby_lib/blob/
|
|
632
|
+
##### [execute_script](https://github.com/appium/ruby_lib/blob/95118d4e0a6ec285e55862ea6b6fed528711ad84/lib/appium_lib/driver.rb#L790)
|
|
651
633
|
|
|
652
634
|
> def execute_script(script, *args)
|
|
653
635
|
|
|
@@ -665,7 +647,7 @@ __Returns:__
|
|
|
665
647
|
|
|
666
648
|
--
|
|
667
649
|
|
|
668
|
-
##### [find_elements](https://github.com/appium/ruby_lib/blob/
|
|
650
|
+
##### [find_elements](https://github.com/appium/ruby_lib/blob/95118d4e0a6ec285e55862ea6b6fed528711ad84/lib/appium_lib/driver.rb#L812)
|
|
669
651
|
|
|
670
652
|
> def find_elements(*args)
|
|
671
653
|
|
|
@@ -691,7 +673,7 @@ __Returns:__
|
|
|
691
673
|
|
|
692
674
|
--
|
|
693
675
|
|
|
694
|
-
##### [find_element](https://github.com/appium/ruby_lib/blob/
|
|
676
|
+
##### [find_element](https://github.com/appium/ruby_lib/blob/95118d4e0a6ec285e55862ea6b6fed528711ad84/lib/appium_lib/driver.rb#L827)
|
|
695
677
|
|
|
696
678
|
> def find_element(*args)
|
|
697
679
|
|
|
@@ -712,7 +694,7 @@ __Returns:__
|
|
|
712
694
|
|
|
713
695
|
--
|
|
714
696
|
|
|
715
|
-
##### [set_location](https://github.com/appium/ruby_lib/blob/
|
|
697
|
+
##### [set_location](https://github.com/appium/ruby_lib/blob/95118d4e0a6ec285e55862ea6b6fed528711ad84/lib/appium_lib/driver.rb#L840)
|
|
716
698
|
|
|
717
699
|
> def set_location(opts = {})
|
|
718
700
|
|
|
@@ -728,7 +710,7 @@ __Returns:__
|
|
|
728
710
|
|
|
729
711
|
--
|
|
730
712
|
|
|
731
|
-
##### [x](https://github.com/appium/ruby_lib/blob/
|
|
713
|
+
##### [x](https://github.com/appium/ruby_lib/blob/95118d4e0a6ec285e55862ea6b6fed528711ad84/lib/appium_lib/driver.rb#L850)
|
|
732
714
|
|
|
733
715
|
> def x
|
|
734
716
|
|
|
@@ -741,7 +723,7 @@ __Returns:__
|
|
|
741
723
|
|
|
742
724
|
--
|
|
743
725
|
|
|
744
|
-
##### [write_session_id](https://github.com/appium/ruby_lib/blob/
|
|
726
|
+
##### [write_session_id](https://github.com/appium/ruby_lib/blob/95118d4e0a6ec285e55862ea6b6fed528711ad84/lib/appium_lib/driver.rb#L857)
|
|
745
727
|
|
|
746
728
|
> def write_session_id(session_id)
|
|
747
729
|
|
|
@@ -749,7 +731,7 @@ __Returns:__
|
|
|
749
731
|
|
|
750
732
|
--
|
|
751
733
|
|
|
752
|
-
##### [set_automation_name_if_nil](https://github.com/appium/ruby_lib/blob/
|
|
734
|
+
##### [set_automation_name_if_nil](https://github.com/appium/ruby_lib/blob/95118d4e0a6ec285e55862ea6b6fed528711ad84/lib/appium_lib/driver.rb#L866)
|
|
753
735
|
|
|
754
736
|
> def set_automation_name_if_nil
|
|
755
737
|
|
|
@@ -758,7 +740,7 @@ Since @automation_name is set only client side before start_driver is called.
|
|
|
758
740
|
|
|
759
741
|
--
|
|
760
742
|
|
|
761
|
-
##### [logger=](https://github.com/appium/ruby_lib/blob/
|
|
743
|
+
##### [logger=](https://github.com/appium/ruby_lib/blob/95118d4e0a6ec285e55862ea6b6fed528711ad84/lib/appium_lib/logger.rb#L18)
|
|
762
744
|
|
|
763
745
|
> def logger=(value)
|
|
764
746
|
|
|
@@ -770,7 +752,7 @@ __Parameters:__
|
|
|
770
752
|
|
|
771
753
|
--
|
|
772
754
|
|
|
773
|
-
##### [logger](https://github.com/appium/ruby_lib/blob/
|
|
755
|
+
##### [logger](https://github.com/appium/ruby_lib/blob/95118d4e0a6ec285e55862ea6b6fed528711ad84/lib/appium_lib/logger.rb#L22)
|
|
774
756
|
|
|
775
757
|
> def logger
|
|
776
758
|
|
|
@@ -778,7 +760,25 @@ __Parameters:__
|
|
|
778
760
|
|
|
779
761
|
--
|
|
780
762
|
|
|
781
|
-
##### [
|
|
763
|
+
##### [init_caps_for_appium](https://github.com/appium/ruby_lib/blob/95118d4e0a6ec285e55862ea6b6fed528711ad84/lib/appium_lib/capabilities.rb#L8)
|
|
764
|
+
|
|
765
|
+
> def self.init_caps_for_appium(opts_caps = {})
|
|
766
|
+
|
|
767
|
+
|
|
768
|
+
|
|
769
|
+
__Parameters:__
|
|
770
|
+
|
|
771
|
+
[Hash] opts_caps - Capabilities for Appium server. All capability keys are converted to lowerCamelCase when
|
|
772
|
+
this client sends capabilities to Appium server as JSON format.
|
|
773
|
+
|
|
774
|
+
__Returns:__
|
|
775
|
+
|
|
776
|
+
[::Selenium::WebDriver::Remote::W3C::Capabilities] Return instance of Appium::Driver::Capabilities
|
|
777
|
+
inherited ::Selenium::WebDriver::Remote::W3C::Capabilities
|
|
778
|
+
|
|
779
|
+
--
|
|
780
|
+
|
|
781
|
+
##### [app_strings](https://github.com/appium/ruby_lib/blob/95118d4e0a6ec285e55862ea6b6fed528711ad84/lib/appium_lib/device/device.rb#L7)
|
|
782
782
|
|
|
783
783
|
> def app_strings
|
|
784
784
|
|
|
@@ -789,7 +789,7 @@ app_strings #=> "TransitionsTitle"=>"Transitions", "WebTitle"=>"Web"
|
|
|
789
789
|
|
|
790
790
|
--
|
|
791
791
|
|
|
792
|
-
##### [background_app](https://github.com/appium/ruby_lib/blob/
|
|
792
|
+
##### [background_app](https://github.com/appium/ruby_lib/blob/95118d4e0a6ec285e55862ea6b6fed528711ad84/lib/appium_lib/device/device.rb#L13)
|
|
793
793
|
|
|
794
794
|
> def background_app
|
|
795
795
|
|
|
@@ -798,7 +798,7 @@ This is a blocking application
|
|
|
798
798
|
|
|
799
799
|
--
|
|
800
800
|
|
|
801
|
-
##### [current_activity](https://github.com/appium/ruby_lib/blob/
|
|
801
|
+
##### [current_activity](https://github.com/appium/ruby_lib/blob/95118d4e0a6ec285e55862ea6b6fed528711ad84/lib/appium_lib/device/device.rb#L24)
|
|
802
802
|
|
|
803
803
|
> def current_activity
|
|
804
804
|
|
|
@@ -813,7 +813,7 @@ __Returns:__
|
|
|
813
813
|
|
|
814
814
|
--
|
|
815
815
|
|
|
816
|
-
##### [current_package](https://github.com/appium/ruby_lib/blob/
|
|
816
|
+
##### [current_package](https://github.com/appium/ruby_lib/blob/95118d4e0a6ec285e55862ea6b6fed528711ad84/lib/appium_lib/device/device.rb#L32)
|
|
817
817
|
|
|
818
818
|
> def current_package
|
|
819
819
|
|
|
@@ -828,7 +828,7 @@ __Returns:__
|
|
|
828
828
|
|
|
829
829
|
--
|
|
830
830
|
|
|
831
|
-
##### [get_system_bars](https://github.com/appium/ruby_lib/blob/
|
|
831
|
+
##### [get_system_bars](https://github.com/appium/ruby_lib/blob/95118d4e0a6ec285e55862ea6b6fed528711ad84/lib/appium_lib/device/device.rb#L40)
|
|
832
832
|
|
|
833
833
|
> def get_system_bars
|
|
834
834
|
|
|
@@ -843,7 +843,7 @@ __Returns:__
|
|
|
843
843
|
|
|
844
844
|
--
|
|
845
845
|
|
|
846
|
-
##### [get_display_density](https://github.com/appium/ruby_lib/blob/
|
|
846
|
+
##### [get_display_density](https://github.com/appium/ruby_lib/blob/95118d4e0a6ec285e55862ea6b6fed528711ad84/lib/appium_lib/device/device.rb#L48)
|
|
847
847
|
|
|
848
848
|
> def get_display_density
|
|
849
849
|
|
|
@@ -858,7 +858,7 @@ __Returns:__
|
|
|
858
858
|
|
|
859
859
|
--
|
|
860
860
|
|
|
861
|
-
##### [is_keyboard_shown](https://github.com/appium/ruby_lib/blob/
|
|
861
|
+
##### [is_keyboard_shown](https://github.com/appium/ruby_lib/blob/95118d4e0a6ec285e55862ea6b6fed528711ad84/lib/appium_lib/device/device.rb#L56)
|
|
862
862
|
|
|
863
863
|
> def is_keyboard_shown
|
|
864
864
|
|
|
@@ -873,7 +873,7 @@ __Returns:__
|
|
|
873
873
|
|
|
874
874
|
--
|
|
875
875
|
|
|
876
|
-
##### [launch_app](https://github.com/appium/ruby_lib/blob/
|
|
876
|
+
##### [launch_app](https://github.com/appium/ruby_lib/blob/95118d4e0a6ec285e55862ea6b6fed528711ad84/lib/appium_lib/device/device.rb#L64)
|
|
877
877
|
|
|
878
878
|
> def launch_app
|
|
879
879
|
|
|
@@ -881,7 +881,7 @@ Start the simulator and application configured with desired capabilities
|
|
|
881
881
|
|
|
882
882
|
--
|
|
883
883
|
|
|
884
|
-
##### [reset](https://github.com/appium/ruby_lib/blob/
|
|
884
|
+
##### [reset](https://github.com/appium/ruby_lib/blob/95118d4e0a6ec285e55862ea6b6fed528711ad84/lib/appium_lib/device/device.rb#L67)
|
|
885
885
|
|
|
886
886
|
> def reset
|
|
887
887
|
|
|
@@ -889,7 +889,7 @@ Reset the device, relaunching the application.
|
|
|
889
889
|
|
|
890
890
|
--
|
|
891
891
|
|
|
892
|
-
##### [shake](https://github.com/appium/ruby_lib/blob/
|
|
892
|
+
##### [shake](https://github.com/appium/ruby_lib/blob/95118d4e0a6ec285e55862ea6b6fed528711ad84/lib/appium_lib/device/device.rb#L70)
|
|
893
893
|
|
|
894
894
|
> def shake
|
|
895
895
|
|
|
@@ -897,7 +897,7 @@ Cause the device to shake
|
|
|
897
897
|
|
|
898
898
|
--
|
|
899
899
|
|
|
900
|
-
##### [toggle_flight_mode](https://github.com/appium/ruby_lib/blob/
|
|
900
|
+
##### [toggle_flight_mode](https://github.com/appium/ruby_lib/blob/95118d4e0a6ec285e55862ea6b6fed528711ad84/lib/appium_lib/device/device.rb#L73)
|
|
901
901
|
|
|
902
902
|
> def toggle_flight_mode
|
|
903
903
|
|
|
@@ -905,7 +905,7 @@ Toggle flight mode on or off
|
|
|
905
905
|
|
|
906
906
|
--
|
|
907
907
|
|
|
908
|
-
##### [device_locked?](https://github.com/appium/ruby_lib/blob/
|
|
908
|
+
##### [device_locked?](https://github.com/appium/ruby_lib/blob/95118d4e0a6ec285e55862ea6b6fed528711ad84/lib/appium_lib/device/device.rb#L76)
|
|
909
909
|
|
|
910
910
|
> def device_locked?
|
|
911
911
|
|
|
@@ -913,7 +913,7 @@ Toggle flight mode on or off
|
|
|
913
913
|
|
|
914
914
|
--
|
|
915
915
|
|
|
916
|
-
##### [hide_keyboard](https://github.com/appium/ruby_lib/blob/
|
|
916
|
+
##### [hide_keyboard](https://github.com/appium/ruby_lib/blob/95118d4e0a6ec285e55862ea6b6fed528711ad84/lib/appium_lib/device/device.rb#L78)
|
|
917
917
|
|
|
918
918
|
> def hide_keyboard
|
|
919
919
|
|
|
@@ -930,7 +930,7 @@ Default for iOS is `:pressKey`. Default for Android is `:tapOutside`.
|
|
|
930
930
|
|
|
931
931
|
--
|
|
932
932
|
|
|
933
|
-
##### [press_keycode](https://github.com/appium/ruby_lib/blob/
|
|
933
|
+
##### [press_keycode](https://github.com/appium/ruby_lib/blob/95118d4e0a6ec285e55862ea6b6fed528711ad84/lib/appium_lib/device/device.rb#L91)
|
|
934
934
|
|
|
935
935
|
> def press_keycode
|
|
936
936
|
|
|
@@ -945,7 +945,7 @@ __Parameters:__
|
|
|
945
945
|
|
|
946
946
|
--
|
|
947
947
|
|
|
948
|
-
##### [long_press_keycode](https://github.com/appium/ruby_lib/blob/
|
|
948
|
+
##### [long_press_keycode](https://github.com/appium/ruby_lib/blob/95118d4e0a6ec285e55862ea6b6fed528711ad84/lib/appium_lib/device/device.rb#L97)
|
|
949
949
|
|
|
950
950
|
> def long_press_keycode
|
|
951
951
|
|
|
@@ -960,7 +960,7 @@ __Parameters:__
|
|
|
960
960
|
|
|
961
961
|
--
|
|
962
962
|
|
|
963
|
-
##### [push_file](https://github.com/appium/ruby_lib/blob/
|
|
963
|
+
##### [push_file](https://github.com/appium/ruby_lib/blob/95118d4e0a6ec285e55862ea6b6fed528711ad84/lib/appium_lib/device/device.rb#L103)
|
|
964
964
|
|
|
965
965
|
> def push_file
|
|
966
966
|
|
|
@@ -974,7 +974,7 @@ __Parameters:__
|
|
|
974
974
|
|
|
975
975
|
--
|
|
976
976
|
|
|
977
|
-
##### [pull_file](https://github.com/appium/ruby_lib/blob/
|
|
977
|
+
##### [pull_file](https://github.com/appium/ruby_lib/blob/95118d4e0a6ec285e55862ea6b6fed528711ad84/lib/appium_lib/device/device.rb#L108)
|
|
978
978
|
|
|
979
979
|
> def pull_file
|
|
980
980
|
|
|
@@ -991,7 +991,7 @@ __Parameters:__
|
|
|
991
991
|
|
|
992
992
|
--
|
|
993
993
|
|
|
994
|
-
##### [pull_folder](https://github.com/appium/ruby_lib/blob/
|
|
994
|
+
##### [pull_folder](https://github.com/appium/ruby_lib/blob/95118d4e0a6ec285e55862ea6b6fed528711ad84/lib/appium_lib/device/device.rb#L118)
|
|
995
995
|
|
|
996
996
|
> def pull_folder
|
|
997
997
|
|
|
@@ -1006,7 +1006,7 @@ __Parameters:__
|
|
|
1006
1006
|
|
|
1007
1007
|
--
|
|
1008
1008
|
|
|
1009
|
-
##### [touch_id](https://github.com/appium/ruby_lib/blob/
|
|
1009
|
+
##### [touch_id](https://github.com/appium/ruby_lib/blob/95118d4e0a6ec285e55862ea6b6fed528711ad84/lib/appium_lib/device/device.rb#L126)
|
|
1010
1010
|
|
|
1011
1011
|
> def touch_id
|
|
1012
1012
|
|
|
@@ -1023,7 +1023,7 @@ Defaults to true.
|
|
|
1023
1023
|
|
|
1024
1024
|
--
|
|
1025
1025
|
|
|
1026
|
-
##### [toggle_touch_id_enrollment](https://github.com/appium/ruby_lib/blob/
|
|
1026
|
+
##### [toggle_touch_id_enrollment](https://github.com/appium/ruby_lib/blob/95118d4e0a6ec285e55862ea6b6fed528711ad84/lib/appium_lib/device/device.rb#L135)
|
|
1027
1027
|
|
|
1028
1028
|
> def toggle_touch_id_enrollment
|
|
1029
1029
|
|
|
@@ -1031,7 +1031,7 @@ iOS Simulator only: Toggle touch id enrollment on an iOS Simulator.
|
|
|
1031
1031
|
|
|
1032
1032
|
--
|
|
1033
1033
|
|
|
1034
|
-
##### [end_coverage](https://github.com/appium/ruby_lib/blob/
|
|
1034
|
+
##### [end_coverage](https://github.com/appium/ruby_lib/blob/95118d4e0a6ec285e55862ea6b6fed528711ad84/lib/appium_lib/device/device.rb#L138)
|
|
1035
1035
|
|
|
1036
1036
|
> def end_coverage
|
|
1037
1037
|
|
|
@@ -1045,7 +1045,7 @@ __Parameters:__
|
|
|
1045
1045
|
|
|
1046
1046
|
--
|
|
1047
1047
|
|
|
1048
|
-
##### [get_settings](https://github.com/appium/ruby_lib/blob/
|
|
1048
|
+
##### [get_settings](https://github.com/appium/ruby_lib/blob/95118d4e0a6ec285e55862ea6b6fed528711ad84/lib/appium_lib/device/device.rb#L143)
|
|
1049
1049
|
|
|
1050
1050
|
> def get_settings
|
|
1051
1051
|
|
|
@@ -1053,7 +1053,7 @@ Get appium Settings for current test session
|
|
|
1053
1053
|
|
|
1054
1054
|
--
|
|
1055
1055
|
|
|
1056
|
-
##### [update_settings](https://github.com/appium/ruby_lib/blob/
|
|
1056
|
+
##### [update_settings](https://github.com/appium/ruby_lib/blob/95118d4e0a6ec285e55862ea6b6fed528711ad84/lib/appium_lib/device/device.rb#L146)
|
|
1057
1057
|
|
|
1058
1058
|
> def update_settings
|
|
1059
1059
|
|
|
@@ -1065,7 +1065,7 @@ __Parameters:__
|
|
|
1065
1065
|
|
|
1066
1066
|
--
|
|
1067
1067
|
|
|
1068
|
-
##### [start_activity](https://github.com/appium/ruby_lib/blob/
|
|
1068
|
+
##### [start_activity](https://github.com/appium/ruby_lib/blob/95118d4e0a6ec285e55862ea6b6fed528711ad84/lib/appium_lib/device/device.rb#L150)
|
|
1069
1069
|
|
|
1070
1070
|
> def start_activity
|
|
1071
1071
|
|
|
@@ -1079,7 +1079,7 @@ start_activity app_package: 'io.appium.android.apis',
|
|
|
1079
1079
|
|
|
1080
1080
|
--
|
|
1081
1081
|
|
|
1082
|
-
##### [get_network_connection](https://github.com/appium/ruby_lib/blob/
|
|
1082
|
+
##### [get_network_connection](https://github.com/appium/ruby_lib/blob/95118d4e0a6ec285e55862ea6b6fed528711ad84/lib/appium_lib/device/device.rb#L164)
|
|
1083
1083
|
|
|
1084
1084
|
> def get_network_connection
|
|
1085
1085
|
|
|
@@ -1088,7 +1088,7 @@ See set_network_connection method for return value
|
|
|
1088
1088
|
|
|
1089
1089
|
--
|
|
1090
1090
|
|
|
1091
|
-
##### [set_network_connection](https://github.com/appium/ruby_lib/blob/
|
|
1091
|
+
##### [set_network_connection](https://github.com/appium/ruby_lib/blob/95118d4e0a6ec285e55862ea6b6fed528711ad84/lib/appium_lib/device/device.rb#L168)
|
|
1092
1092
|
|
|
1093
1093
|
> def set_network_connection
|
|
1094
1094
|
|
|
@@ -1107,7 +1107,7 @@ __Parameters:__
|
|
|
1107
1107
|
|
|
1108
1108
|
--
|
|
1109
1109
|
|
|
1110
|
-
##### [set_immediate_value](https://github.com/appium/ruby_lib/blob/
|
|
1110
|
+
##### [set_immediate_value](https://github.com/appium/ruby_lib/blob/95118d4e0a6ec285e55862ea6b6fed528711ad84/lib/appium_lib/device/device.rb#L181)
|
|
1111
1111
|
|
|
1112
1112
|
> def set_immediate_value
|
|
1113
1113
|
|
|
@@ -1121,7 +1121,7 @@ set_immediate_value element, 'hello'
|
|
|
1121
1121
|
|
|
1122
1122
|
--
|
|
1123
1123
|
|
|
1124
|
-
##### [get_performance_data_types](https://github.com/appium/ruby_lib/blob/
|
|
1124
|
+
##### [get_performance_data_types](https://github.com/appium/ruby_lib/blob/95118d4e0a6ec285e55862ea6b6fed528711ad84/lib/appium_lib/device/device.rb#L190)
|
|
1125
1125
|
|
|
1126
1126
|
> def get_performance_data_types
|
|
1127
1127
|
|
|
@@ -1135,7 +1135,7 @@ get_performance_data_types #=> ["cpuinfo", "batteryinfo", "networkinfo", "memory
|
|
|
1135
1135
|
|
|
1136
1136
|
--
|
|
1137
1137
|
|
|
1138
|
-
##### [extend_search_contexts](https://github.com/appium/ruby_lib/blob/
|
|
1138
|
+
##### [extend_search_contexts](https://github.com/appium/ruby_lib/blob/95118d4e0a6ec285e55862ea6b6fed528711ad84/lib/appium_lib/device/device.rb#L443)
|
|
1139
1139
|
|
|
1140
1140
|
> def extend_search_contexts
|
|
1141
1141
|
|
|
@@ -1143,7 +1143,7 @@ get_performance_data_types #=> ["cpuinfo", "batteryinfo", "networkinfo", "memory
|
|
|
1143
1143
|
|
|
1144
1144
|
--
|
|
1145
1145
|
|
|
1146
|
-
##### [find_element_with_appium](https://github.com/appium/ruby_lib/blob/
|
|
1146
|
+
##### [find_element_with_appium](https://github.com/appium/ruby_lib/blob/95118d4e0a6ec285e55862ea6b6fed528711ad84/lib/appium_lib/device/device.rb#L443)
|
|
1147
1147
|
|
|
1148
1148
|
> def find_element_with_appium
|
|
1149
1149
|
|
|
@@ -1151,7 +1151,7 @@ get_performance_data_types #=> ["cpuinfo", "batteryinfo", "networkinfo", "memory
|
|
|
1151
1151
|
|
|
1152
1152
|
--
|
|
1153
1153
|
|
|
1154
|
-
##### [find_elements_with_appium](https://github.com/appium/ruby_lib/blob/
|
|
1154
|
+
##### [find_elements_with_appium](https://github.com/appium/ruby_lib/blob/95118d4e0a6ec285e55862ea6b6fed528711ad84/lib/appium_lib/device/device.rb#L443)
|
|
1155
1155
|
|
|
1156
1156
|
> def find_elements_with_appium
|
|
1157
1157
|
|
|
@@ -1163,7 +1163,7 @@ find_element/s_with_appium with their accessibility_id
|
|
|
1163
1163
|
|
|
1164
1164
|
--
|
|
1165
1165
|
|
|
1166
|
-
##### [add_touch_actions](https://github.com/appium/ruby_lib/blob/
|
|
1166
|
+
##### [add_touch_actions](https://github.com/appium/ruby_lib/blob/95118d4e0a6ec285e55862ea6b6fed528711ad84/lib/appium_lib/device/device.rb#L474)
|
|
1167
1167
|
|
|
1168
1168
|
> def add_touch_actions
|
|
1169
1169
|
|
|
@@ -1171,7 +1171,7 @@ find_element/s_with_appium with their accessibility_id
|
|
|
1171
1171
|
|
|
1172
1172
|
--
|
|
1173
1173
|
|
|
1174
|
-
##### [add_ime_actions](https://github.com/appium/ruby_lib/blob/
|
|
1174
|
+
##### [add_ime_actions](https://github.com/appium/ruby_lib/blob/95118d4e0a6ec285e55862ea6b6fed528711ad84/lib/appium_lib/device/device.rb#L497)
|
|
1175
1175
|
|
|
1176
1176
|
> def add_ime_actions
|
|
1177
1177
|
|
|
@@ -1179,7 +1179,7 @@ find_element/s_with_appium with their accessibility_id
|
|
|
1179
1179
|
|
|
1180
1180
|
--
|
|
1181
1181
|
|
|
1182
|
-
##### [set_context](https://github.com/appium/ruby_lib/blob/
|
|
1182
|
+
##### [set_context](https://github.com/appium/ruby_lib/blob/95118d4e0a6ec285e55862ea6b6fed528711ad84/lib/appium_lib/device/device.rb#L572)
|
|
1183
1183
|
|
|
1184
1184
|
> def set_context
|
|
1185
1185
|
|
|
@@ -1194,7 +1194,7 @@ __Parameters:__
|
|
|
1194
1194
|
|
|
1195
1195
|
--
|
|
1196
1196
|
|
|
1197
|
-
##### [current_context](https://github.com/appium/ruby_lib/blob/
|
|
1197
|
+
##### [current_context](https://github.com/appium/ruby_lib/blob/95118d4e0a6ec285e55862ea6b6fed528711ad84/lib/appium_lib/device/device.rb#L580)
|
|
1198
1198
|
|
|
1199
1199
|
> def current_context
|
|
1200
1200
|
|
|
@@ -1206,7 +1206,7 @@ __Returns:__
|
|
|
1206
1206
|
|
|
1207
1207
|
--
|
|
1208
1208
|
|
|
1209
|
-
##### [available_contexts](https://github.com/appium/ruby_lib/blob/
|
|
1209
|
+
##### [available_contexts](https://github.com/appium/ruby_lib/blob/95118d4e0a6ec285e55862ea6b6fed528711ad84/lib/appium_lib/device/device.rb#L583)
|
|
1210
1210
|
|
|
1211
1211
|
> def available_contexts
|
|
1212
1212
|
|
|
@@ -1218,7 +1218,7 @@ __Returns:__
|
|
|
1218
1218
|
|
|
1219
1219
|
--
|
|
1220
1220
|
|
|
1221
|
-
##### [within_context](https://github.com/appium/ruby_lib/blob/
|
|
1221
|
+
##### [within_context](https://github.com/appium/ruby_lib/blob/95118d4e0a6ec285e55862ea6b6fed528711ad84/lib/appium_lib/device/device.rb#L594)
|
|
1222
1222
|
|
|
1223
1223
|
> def within_context(context)
|
|
1224
1224
|
|
|
@@ -1235,7 +1235,7 @@ __Parameters:__
|
|
|
1235
1235
|
|
|
1236
1236
|
--
|
|
1237
1237
|
|
|
1238
|
-
##### [switch_to_default_context](https://github.com/appium/ruby_lib/blob/
|
|
1238
|
+
##### [switch_to_default_context](https://github.com/appium/ruby_lib/blob/95118d4e0a6ec285e55862ea6b6fed528711ad84/lib/appium_lib/device/device.rb#L607)
|
|
1239
1239
|
|
|
1240
1240
|
> def switch_to_default_context
|
|
1241
1241
|
|
|
@@ -1243,7 +1243,7 @@ Change to the default context. This is equivalent to `set_context nil`.
|
|
|
1243
1243
|
|
|
1244
1244
|
--
|
|
1245
1245
|
|
|
1246
|
-
##### [pinch](https://github.com/appium/ruby_lib/blob/
|
|
1246
|
+
##### [pinch](https://github.com/appium/ruby_lib/blob/95118d4e0a6ec285e55862ea6b6fed528711ad84/lib/appium_lib/device/multi_touch.rb#L53)
|
|
1247
1247
|
|
|
1248
1248
|
> def pinch(percentage = 25, auto_perform = true, driver = $driver)
|
|
1249
1249
|
|
|
@@ -1277,7 +1277,7 @@ __Parameters:__
|
|
|
1277
1277
|
|
|
1278
1278
|
--
|
|
1279
1279
|
|
|
1280
|
-
##### [zoom](https://github.com/appium/ruby_lib/blob/
|
|
1280
|
+
##### [zoom](https://github.com/appium/ruby_lib/blob/95118d4e0a6ec285e55862ea6b6fed528711ad84/lib/appium_lib/device/multi_touch.rb#L96)
|
|
1281
1281
|
|
|
1282
1282
|
> def zoom(percentage = 200, auto_perform = true, driver = $driver)
|
|
1283
1283
|
|
|
@@ -1311,7 +1311,7 @@ __Parameters:__
|
|
|
1311
1311
|
|
|
1312
1312
|
--
|
|
1313
1313
|
|
|
1314
|
-
##### [pinch_for_xcuitest](https://github.com/appium/ruby_lib/blob/
|
|
1314
|
+
##### [pinch_for_xcuitest](https://github.com/appium/ruby_lib/blob/95118d4e0a6ec285e55862ea6b6fed528711ad84/lib/appium_lib/device/multi_touch.rb#L118)
|
|
1315
1315
|
|
|
1316
1316
|
> def pinch_for_xcuitest(rate, driver)
|
|
1317
1317
|
|
|
@@ -1319,7 +1319,7 @@ __Parameters:__
|
|
|
1319
1319
|
|
|
1320
1320
|
--
|
|
1321
1321
|
|
|
1322
|
-
##### [pinch_android](https://github.com/appium/ruby_lib/blob/
|
|
1322
|
+
##### [pinch_android](https://github.com/appium/ruby_lib/blob/95118d4e0a6ec285e55862ea6b6fed528711ad84/lib/appium_lib/device/multi_touch.rb#L133)
|
|
1323
1323
|
|
|
1324
1324
|
> def pinch_android(rate)
|
|
1325
1325
|
|
|
@@ -1327,7 +1327,7 @@ __Parameters:__
|
|
|
1327
1327
|
|
|
1328
1328
|
--
|
|
1329
1329
|
|
|
1330
|
-
##### [pinch_ios](https://github.com/appium/ruby_lib/blob/
|
|
1330
|
+
##### [pinch_ios](https://github.com/appium/ruby_lib/blob/95118d4e0a6ec285e55862ea6b6fed528711ad84/lib/appium_lib/device/multi_touch.rb#L147)
|
|
1331
1331
|
|
|
1332
1332
|
> def pinch_ios(rate)
|
|
1333
1333
|
|
|
@@ -1335,7 +1335,7 @@ __Parameters:__
|
|
|
1335
1335
|
|
|
1336
1336
|
--
|
|
1337
1337
|
|
|
1338
|
-
##### [zoom_for_xcuitest](https://github.com/appium/ruby_lib/blob/
|
|
1338
|
+
##### [zoom_for_xcuitest](https://github.com/appium/ruby_lib/blob/95118d4e0a6ec285e55862ea6b6fed528711ad84/lib/appium_lib/device/multi_touch.rb#L161)
|
|
1339
1339
|
|
|
1340
1340
|
> def zoom_for_xcuitest(rate, driver)
|
|
1341
1341
|
|
|
@@ -1343,7 +1343,7 @@ __Parameters:__
|
|
|
1343
1343
|
|
|
1344
1344
|
--
|
|
1345
1345
|
|
|
1346
|
-
##### [zoom_android](https://github.com/appium/ruby_lib/blob/
|
|
1346
|
+
##### [zoom_android](https://github.com/appium/ruby_lib/blob/95118d4e0a6ec285e55862ea6b6fed528711ad84/lib/appium_lib/device/multi_touch.rb#L176)
|
|
1347
1347
|
|
|
1348
1348
|
> def zoom_android(rate)
|
|
1349
1349
|
|
|
@@ -1351,7 +1351,7 @@ __Parameters:__
|
|
|
1351
1351
|
|
|
1352
1352
|
--
|
|
1353
1353
|
|
|
1354
|
-
##### [zoom_ios](https://github.com/appium/ruby_lib/blob/
|
|
1354
|
+
##### [zoom_ios](https://github.com/appium/ruby_lib/blob/95118d4e0a6ec285e55862ea6b6fed528711ad84/lib/appium_lib/device/multi_touch.rb#L190)
|
|
1355
1355
|
|
|
1356
1356
|
> def zoom_ios(rate)
|
|
1357
1357
|
|
|
@@ -1359,7 +1359,7 @@ __Parameters:__
|
|
|
1359
1359
|
|
|
1360
1360
|
--
|
|
1361
1361
|
|
|
1362
|
-
##### [actions](https://github.com/appium/ruby_lib/blob/
|
|
1362
|
+
##### [actions](https://github.com/appium/ruby_lib/blob/95118d4e0a6ec285e55862ea6b6fed528711ad84/lib/appium_lib/device/multi_touch.rb#L205)
|
|
1363
1363
|
|
|
1364
1364
|
> def actions
|
|
1365
1365
|
|
|
@@ -1367,7 +1367,7 @@ self
|
|
|
1367
1367
|
|
|
1368
1368
|
--
|
|
1369
1369
|
|
|
1370
|
-
##### [driver](https://github.com/appium/ruby_lib/blob/
|
|
1370
|
+
##### [driver](https://github.com/appium/ruby_lib/blob/95118d4e0a6ec285e55862ea6b6fed528711ad84/lib/appium_lib/device/multi_touch.rb#L205)
|
|
1371
1371
|
|
|
1372
1372
|
> def driver
|
|
1373
1373
|
|
|
@@ -1375,7 +1375,7 @@ self
|
|
|
1375
1375
|
|
|
1376
1376
|
--
|
|
1377
1377
|
|
|
1378
|
-
##### [initialize](https://github.com/appium/ruby_lib/blob/
|
|
1378
|
+
##### [initialize](https://github.com/appium/ruby_lib/blob/95118d4e0a6ec285e55862ea6b6fed528711ad84/lib/appium_lib/device/multi_touch.rb#L208)
|
|
1379
1379
|
|
|
1380
1380
|
> def initialize(driver = $driver)
|
|
1381
1381
|
|
|
@@ -1387,7 +1387,7 @@ __Returns:__
|
|
|
1387
1387
|
|
|
1388
1388
|
--
|
|
1389
1389
|
|
|
1390
|
-
##### [add](https://github.com/appium/ruby_lib/blob/
|
|
1390
|
+
##### [add](https://github.com/appium/ruby_lib/blob/95118d4e0a6ec285e55862ea6b6fed528711ad84/lib/appium_lib/device/multi_touch.rb#L215)
|
|
1391
1391
|
|
|
1392
1392
|
> def add(chain)
|
|
1393
1393
|
|
|
@@ -1399,7 +1399,7 @@ __Parameters:__
|
|
|
1399
1399
|
|
|
1400
1400
|
--
|
|
1401
1401
|
|
|
1402
|
-
##### [perform](https://github.com/appium/ruby_lib/blob/
|
|
1402
|
+
##### [perform](https://github.com/appium/ruby_lib/blob/95118d4e0a6ec285e55862ea6b6fed528711ad84/lib/appium_lib/device/multi_touch.rb#L220)
|
|
1403
1403
|
|
|
1404
1404
|
> def perform
|
|
1405
1405
|
|
|
@@ -1407,7 +1407,7 @@ Ask Appium to perform the actions
|
|
|
1407
1407
|
|
|
1408
1408
|
--
|
|
1409
1409
|
|
|
1410
|
-
##### [ACTIONS](https://github.com/appium/ruby_lib/blob/
|
|
1410
|
+
##### [ACTIONS](https://github.com/appium/ruby_lib/blob/95118d4e0a6ec285e55862ea6b6fed528711ad84/lib/appium_lib/device/touch_actions.rb#L30)
|
|
1411
1411
|
|
|
1412
1412
|
> ACTIONS = [:move_to, :long_press, :double_tap, :two_finger_tap, :press, :release, :tap, :wait, :perform].freeze
|
|
1413
1413
|
|
|
@@ -1415,7 +1415,7 @@ Ask Appium to perform the actions
|
|
|
1415
1415
|
|
|
1416
1416
|
--
|
|
1417
1417
|
|
|
1418
|
-
##### [COMPLEX_ACTIONS](https://github.com/appium/ruby_lib/blob/
|
|
1418
|
+
##### [COMPLEX_ACTIONS](https://github.com/appium/ruby_lib/blob/95118d4e0a6ec285e55862ea6b6fed528711ad84/lib/appium_lib/device/touch_actions.rb#L31)
|
|
1419
1419
|
|
|
1420
1420
|
> COMPLEX_ACTIONS = [:swipe].freeze
|
|
1421
1421
|
|
|
@@ -1423,7 +1423,7 @@ Ask Appium to perform the actions
|
|
|
1423
1423
|
|
|
1424
1424
|
--
|
|
1425
1425
|
|
|
1426
|
-
##### [actions](https://github.com/appium/ruby_lib/blob/
|
|
1426
|
+
##### [actions](https://github.com/appium/ruby_lib/blob/95118d4e0a6ec285e55862ea6b6fed528711ad84/lib/appium_lib/device/touch_actions.rb#L45)
|
|
1427
1427
|
|
|
1428
1428
|
> def actions
|
|
1429
1429
|
|
|
@@ -1431,7 +1431,7 @@ Returns the value of attribute actions
|
|
|
1431
1431
|
|
|
1432
1432
|
--
|
|
1433
1433
|
|
|
1434
|
-
##### [initialize](https://github.com/appium/ruby_lib/blob/
|
|
1434
|
+
##### [initialize](https://github.com/appium/ruby_lib/blob/95118d4e0a6ec285e55862ea6b6fed528711ad84/lib/appium_lib/device/touch_actions.rb#L47)
|
|
1435
1435
|
|
|
1436
1436
|
> def initialize
|
|
1437
1437
|
|
|
@@ -1443,7 +1443,7 @@ __Returns:__
|
|
|
1443
1443
|
|
|
1444
1444
|
--
|
|
1445
1445
|
|
|
1446
|
-
##### [move_to](https://github.com/appium/ruby_lib/blob/
|
|
1446
|
+
##### [move_to](https://github.com/appium/ruby_lib/blob/95118d4e0a6ec285e55862ea6b6fed528711ad84/lib/appium_lib/device/touch_actions.rb#L58)
|
|
1447
1447
|
|
|
1448
1448
|
> def move_to(opts)
|
|
1449
1449
|
|
|
@@ -1457,7 +1457,7 @@ __Parameters:__
|
|
|
1457
1457
|
|
|
1458
1458
|
--
|
|
1459
1459
|
|
|
1460
|
-
##### [long_press](https://github.com/appium/ruby_lib/blob/
|
|
1460
|
+
##### [long_press](https://github.com/appium/ruby_lib/blob/95118d4e0a6ec285e55862ea6b6fed528711ad84/lib/appium_lib/device/touch_actions.rb#L72)
|
|
1461
1461
|
|
|
1462
1462
|
> def long_press(opts)
|
|
1463
1463
|
|
|
@@ -1478,7 +1478,7 @@ __Parameters:__
|
|
|
1478
1478
|
|
|
1479
1479
|
--
|
|
1480
1480
|
|
|
1481
|
-
##### [press](https://github.com/appium/ruby_lib/blob/
|
|
1481
|
+
##### [press](https://github.com/appium/ruby_lib/blob/95118d4e0a6ec285e55862ea6b6fed528711ad84/lib/appium_lib/device/touch_actions.rb#L84)
|
|
1482
1482
|
|
|
1483
1483
|
> def press(opts)
|
|
1484
1484
|
|
|
@@ -1491,7 +1491,7 @@ __Parameters:__
|
|
|
1491
1491
|
|
|
1492
1492
|
--
|
|
1493
1493
|
|
|
1494
|
-
##### [release](https://github.com/appium/ruby_lib/blob/
|
|
1494
|
+
##### [release](https://github.com/appium/ruby_lib/blob/95118d4e0a6ec285e55862ea6b6fed528711ad84/lib/appium_lib/device/touch_actions.rb#L95)
|
|
1495
1495
|
|
|
1496
1496
|
> def release(opts = nil)
|
|
1497
1497
|
|
|
@@ -1503,7 +1503,7 @@ __Parameters:__
|
|
|
1503
1503
|
|
|
1504
1504
|
--
|
|
1505
1505
|
|
|
1506
|
-
##### [tap](https://github.com/appium/ruby_lib/blob/
|
|
1506
|
+
##### [tap](https://github.com/appium/ruby_lib/blob/95118d4e0a6ec285e55862ea6b6fed528711ad84/lib/appium_lib/device/touch_actions.rb#L107)
|
|
1507
1507
|
|
|
1508
1508
|
> def tap(opts)
|
|
1509
1509
|
|
|
@@ -1516,7 +1516,7 @@ __Parameters:__
|
|
|
1516
1516
|
|
|
1517
1517
|
--
|
|
1518
1518
|
|
|
1519
|
-
##### [double_tap](https://github.com/appium/ruby_lib/blob/
|
|
1519
|
+
##### [double_tap](https://github.com/appium/ruby_lib/blob/95118d4e0a6ec285e55862ea6b6fed528711ad84/lib/appium_lib/device/touch_actions.rb#L120)
|
|
1520
1520
|
|
|
1521
1521
|
> def double_tap(opts)
|
|
1522
1522
|
|
|
@@ -1528,7 +1528,7 @@ __Parameters:__
|
|
|
1528
1528
|
|
|
1529
1529
|
--
|
|
1530
1530
|
|
|
1531
|
-
##### [two_finger_tap](https://github.com/appium/ruby_lib/blob/
|
|
1531
|
+
##### [two_finger_tap](https://github.com/appium/ruby_lib/blob/95118d4e0a6ec285e55862ea6b6fed528711ad84/lib/appium_lib/device/touch_actions.rb#L131)
|
|
1532
1532
|
|
|
1533
1533
|
> def two_finger_tap(opts)
|
|
1534
1534
|
|
|
@@ -1540,7 +1540,7 @@ __Parameters:__
|
|
|
1540
1540
|
|
|
1541
1541
|
--
|
|
1542
1542
|
|
|
1543
|
-
##### [wait](https://github.com/appium/ruby_lib/blob/
|
|
1543
|
+
##### [wait](https://github.com/appium/ruby_lib/blob/95118d4e0a6ec285e55862ea6b6fed528711ad84/lib/appium_lib/device/touch_actions.rb#L139)
|
|
1544
1544
|
|
|
1545
1545
|
> def wait(milliseconds)
|
|
1546
1546
|
|
|
@@ -1552,7 +1552,7 @@ __Parameters:__
|
|
|
1552
1552
|
|
|
1553
1553
|
--
|
|
1554
1554
|
|
|
1555
|
-
##### [swipe](https://github.com/appium/ruby_lib/blob/
|
|
1555
|
+
##### [swipe](https://github.com/appium/ruby_lib/blob/95118d4e0a6ec285e55862ea6b6fed528711ad84/lib/appium_lib/device/touch_actions.rb#L162)
|
|
1556
1556
|
|
|
1557
1557
|
> def swipe(opts, ele = nil)
|
|
1558
1558
|
|
|
@@ -1573,7 +1573,7 @@ __Parameters:__
|
|
|
1573
1573
|
|
|
1574
1574
|
--
|
|
1575
1575
|
|
|
1576
|
-
##### [perform](https://github.com/appium/ruby_lib/blob/
|
|
1576
|
+
##### [perform](https://github.com/appium/ruby_lib/blob/95118d4e0a6ec285e55862ea6b6fed528711ad84/lib/appium_lib/device/touch_actions.rb#L187)
|
|
1577
1577
|
|
|
1578
1578
|
> def perform(driver = $driver)
|
|
1579
1579
|
|
|
@@ -1581,7 +1581,7 @@ Ask the driver to perform all actions in this action chain.
|
|
|
1581
1581
|
|
|
1582
1582
|
--
|
|
1583
1583
|
|
|
1584
|
-
##### [cancel](https://github.com/appium/ruby_lib/blob/
|
|
1584
|
+
##### [cancel](https://github.com/appium/ruby_lib/blob/95118d4e0a6ec285e55862ea6b6fed528711ad84/lib/appium_lib/device/touch_actions.rb#L194)
|
|
1585
1585
|
|
|
1586
1586
|
> def cancel(driver = $driver)
|
|
1587
1587
|
|
|
@@ -1589,7 +1589,7 @@ Does nothing, currently.
|
|
|
1589
1589
|
|
|
1590
1590
|
--
|
|
1591
1591
|
|
|
1592
|
-
##### [swipe_coordinates](https://github.com/appium/ruby_lib/blob/
|
|
1592
|
+
##### [swipe_coordinates](https://github.com/appium/ruby_lib/blob/95118d4e0a6ec285e55862ea6b6fed528711ad84/lib/appium_lib/device/touch_actions.rb#L201)
|
|
1593
1593
|
|
|
1594
1594
|
> def swipe_coordinates(end_x: nil, end_y: nil, offset_x: nil, offset_y: nil, driver: $driver)
|
|
1595
1595
|
|
|
@@ -1597,7 +1597,7 @@ Visible for testing
|
|
|
1597
1597
|
|
|
1598
1598
|
--
|
|
1599
1599
|
|
|
1600
|
-
##### [chain_method](https://github.com/appium/ruby_lib/blob/
|
|
1600
|
+
##### [chain_method](https://github.com/appium/ruby_lib/blob/95118d4e0a6ec285e55862ea6b6fed528711ad84/lib/appium_lib/device/touch_actions.rb#L219)
|
|
1601
1601
|
|
|
1602
1602
|
> def chain_method(method, args = nil)
|
|
1603
1603
|
|
|
@@ -1605,7 +1605,7 @@ Visible for testing
|
|
|
1605
1605
|
|
|
1606
1606
|
--
|
|
1607
1607
|
|
|
1608
|
-
##### [args_with_ele_ref](https://github.com/appium/ruby_lib/blob/
|
|
1608
|
+
##### [args_with_ele_ref](https://github.com/appium/ruby_lib/blob/95118d4e0a6ec285e55862ea6b6fed528711ad84/lib/appium_lib/device/touch_actions.rb#L225)
|
|
1609
1609
|
|
|
1610
1610
|
> def args_with_ele_ref(args)
|
|
1611
1611
|
|
|
@@ -1613,7 +1613,7 @@ Visible for testing
|
|
|
1613
1613
|
|
|
1614
1614
|
--
|
|
1615
1615
|
|
|
1616
|
-
##### [initialize](https://github.com/appium/ruby_lib/blob/
|
|
1616
|
+
##### [initialize](https://github.com/appium/ruby_lib/blob/95118d4e0a6ec285e55862ea6b6fed528711ad84/lib/appium_lib/common/wait.rb#L4)
|
|
1617
1617
|
|
|
1618
1618
|
> def initialize(opts = {})
|
|
1619
1619
|
|
|
@@ -1625,7 +1625,7 @@ __Returns:__
|
|
|
1625
1625
|
|
|
1626
1626
|
--
|
|
1627
1627
|
|
|
1628
|
-
##### [until](https://github.com/appium/ruby_lib/blob/
|
|
1628
|
+
##### [until](https://github.com/appium/ruby_lib/blob/95118d4e0a6ec285e55862ea6b6fed528711ad84/lib/appium_lib/common/wait.rb#L23)
|
|
1629
1629
|
|
|
1630
1630
|
> def until
|
|
1631
1631
|
|
|
@@ -1634,7 +1634,7 @@ https://github.com/SeleniumHQ/selenium/blob/cf501dda3f0ed12233de51ce8170c0e8090f
|
|
|
1634
1634
|
|
|
1635
1635
|
--
|
|
1636
1636
|
|
|
1637
|
-
##### [wait_true](https://github.com/appium/ruby_lib/blob/
|
|
1637
|
+
##### [wait_true](https://github.com/appium/ruby_lib/blob/95118d4e0a6ec285e55862ea6b6fed528711ad84/lib/appium_lib/common/wait.rb#L73)
|
|
1638
1638
|
|
|
1639
1639
|
> def wait_true(opts = {})
|
|
1640
1640
|
|
|
@@ -1654,7 +1654,7 @@ __Parameters:__
|
|
|
1654
1654
|
|
|
1655
1655
|
--
|
|
1656
1656
|
|
|
1657
|
-
##### [wait](https://github.com/appium/ruby_lib/blob/
|
|
1657
|
+
##### [wait](https://github.com/appium/ruby_lib/blob/95118d4e0a6ec285e55862ea6b6fed528711ad84/lib/appium_lib/common/wait.rb#L96)
|
|
1658
1658
|
|
|
1659
1659
|
> def wait(opts = {})
|
|
1660
1660
|
|
|
@@ -1672,7 +1672,7 @@ __Parameters:__
|
|
|
1672
1672
|
|
|
1673
1673
|
--
|
|
1674
1674
|
|
|
1675
|
-
##### [ignore](https://github.com/appium/ruby_lib/blob/
|
|
1675
|
+
##### [ignore](https://github.com/appium/ruby_lib/blob/95118d4e0a6ec285e55862ea6b6fed528711ad84/lib/appium_lib/common/helper.rb#L24)
|
|
1676
1676
|
|
|
1677
1677
|
> def ignore
|
|
1678
1678
|
|
|
@@ -1680,7 +1680,7 @@ Return yield and ignore any exceptions.
|
|
|
1680
1680
|
|
|
1681
1681
|
--
|
|
1682
1682
|
|
|
1683
|
-
##### [back](https://github.com/appium/ruby_lib/blob/
|
|
1683
|
+
##### [back](https://github.com/appium/ruby_lib/blob/95118d4e0a6ec285e55862ea6b6fed528711ad84/lib/appium_lib/common/helper.rb#L31)
|
|
1684
1684
|
|
|
1685
1685
|
> def back
|
|
1686
1686
|
|
|
@@ -1692,7 +1692,7 @@ __Returns:__
|
|
|
1692
1692
|
|
|
1693
1693
|
--
|
|
1694
1694
|
|
|
1695
|
-
##### [session_id](https://github.com/appium/ruby_lib/blob/
|
|
1695
|
+
##### [session_id](https://github.com/appium/ruby_lib/blob/95118d4e0a6ec285e55862ea6b6fed528711ad84/lib/appium_lib/common/helper.rb#L36)
|
|
1696
1696
|
|
|
1697
1697
|
> def session_id
|
|
1698
1698
|
|
|
@@ -1700,7 +1700,7 @@ For Sauce Labs reporting. Returns the current session id.
|
|
|
1700
1700
|
|
|
1701
1701
|
--
|
|
1702
1702
|
|
|
1703
|
-
##### [xpath](https://github.com/appium/ruby_lib/blob/
|
|
1703
|
+
##### [xpath](https://github.com/appium/ruby_lib/blob/95118d4e0a6ec285e55862ea6b6fed528711ad84/lib/appium_lib/common/helper.rb#L44)
|
|
1704
1704
|
|
|
1705
1705
|
> def xpath(xpath_str)
|
|
1706
1706
|
|
|
@@ -1716,7 +1716,7 @@ __Returns:__
|
|
|
1716
1716
|
|
|
1717
1717
|
--
|
|
1718
1718
|
|
|
1719
|
-
##### [xpaths](https://github.com/appium/ruby_lib/blob/
|
|
1719
|
+
##### [xpaths](https://github.com/appium/ruby_lib/blob/95118d4e0a6ec285e55862ea6b6fed528711ad84/lib/appium_lib/common/helper.rb#L52)
|
|
1720
1720
|
|
|
1721
1721
|
> def xpaths(xpath_str)
|
|
1722
1722
|
|
|
@@ -1732,7 +1732,7 @@ __Returns:__
|
|
|
1732
1732
|
|
|
1733
1733
|
--
|
|
1734
1734
|
|
|
1735
|
-
##### [_print_source](https://github.com/appium/ruby_lib/blob/
|
|
1735
|
+
##### [_print_source](https://github.com/appium/ruby_lib/blob/95118d4e0a6ec285e55862ea6b6fed528711ad84/lib/appium_lib/common/helper.rb#L56)
|
|
1736
1736
|
|
|
1737
1737
|
> def _print_source(source)
|
|
1738
1738
|
|
|
@@ -1740,7 +1740,7 @@ __Returns:__
|
|
|
1740
1740
|
|
|
1741
1741
|
--
|
|
1742
1742
|
|
|
1743
|
-
##### [result](https://github.com/appium/ruby_lib/blob/
|
|
1743
|
+
##### [result](https://github.com/appium/ruby_lib/blob/95118d4e0a6ec285e55862ea6b6fed528711ad84/lib/appium_lib/common/helper.rb#L69)
|
|
1744
1744
|
|
|
1745
1745
|
> def result
|
|
1746
1746
|
|
|
@@ -1748,7 +1748,7 @@ Returns the value of attribute result
|
|
|
1748
1748
|
|
|
1749
1749
|
--
|
|
1750
1750
|
|
|
1751
|
-
##### [initialize](https://github.com/appium/ruby_lib/blob/
|
|
1751
|
+
##### [initialize](https://github.com/appium/ruby_lib/blob/95118d4e0a6ec285e55862ea6b6fed528711ad84/lib/appium_lib/common/helper.rb#L71)
|
|
1752
1752
|
|
|
1753
1753
|
> def initialize
|
|
1754
1754
|
|
|
@@ -1760,7 +1760,7 @@ __Returns:__
|
|
|
1760
1760
|
|
|
1761
1761
|
--
|
|
1762
1762
|
|
|
1763
|
-
##### [reset](https://github.com/appium/ruby_lib/blob/
|
|
1763
|
+
##### [reset](https://github.com/appium/ruby_lib/blob/95118d4e0a6ec285e55862ea6b6fed528711ad84/lib/appium_lib/common/helper.rb#L75)
|
|
1764
1764
|
|
|
1765
1765
|
> def reset
|
|
1766
1766
|
|
|
@@ -1768,7 +1768,7 @@ __Returns:__
|
|
|
1768
1768
|
|
|
1769
1769
|
--
|
|
1770
1770
|
|
|
1771
|
-
##### [start_element](https://github.com/appium/ruby_lib/blob/
|
|
1771
|
+
##### [start_element](https://github.com/appium/ruby_lib/blob/95118d4e0a6ec285e55862ea6b6fed528711ad84/lib/appium_lib/common/helper.rb#L80)
|
|
1772
1772
|
|
|
1773
1773
|
> def start_element(name, attrs = [], driver = $driver)
|
|
1774
1774
|
|
|
@@ -1776,7 +1776,7 @@ http://nokogiri.org/Nokogiri/XML/SAX/Document.html
|
|
|
1776
1776
|
|
|
1777
1777
|
--
|
|
1778
1778
|
|
|
1779
|
-
##### [formatted_result](https://github.com/appium/ruby_lib/blob/
|
|
1779
|
+
##### [formatted_result](https://github.com/appium/ruby_lib/blob/95118d4e0a6ec285e55862ea6b6fed528711ad84/lib/appium_lib/common/helper.rb#L86)
|
|
1780
1780
|
|
|
1781
1781
|
> def formatted_result
|
|
1782
1782
|
|
|
@@ -1784,7 +1784,7 @@ http://nokogiri.org/Nokogiri/XML/SAX/Document.html
|
|
|
1784
1784
|
|
|
1785
1785
|
--
|
|
1786
1786
|
|
|
1787
|
-
##### [get_page_class](https://github.com/appium/ruby_lib/blob/
|
|
1787
|
+
##### [get_page_class](https://github.com/appium/ruby_lib/blob/95118d4e0a6ec285e55862ea6b6fed528711ad84/lib/appium_lib/common/helper.rb#L97)
|
|
1788
1788
|
|
|
1789
1789
|
> def get_page_class
|
|
1790
1790
|
|
|
@@ -1792,7 +1792,7 @@ Returns a string of class counts of visible elements.
|
|
|
1792
1792
|
|
|
1793
1793
|
--
|
|
1794
1794
|
|
|
1795
|
-
##### [page_class](https://github.com/appium/ruby_lib/blob/
|
|
1795
|
+
##### [page_class](https://github.com/appium/ruby_lib/blob/95118d4e0a6ec285e55862ea6b6fed528711ad84/lib/appium_lib/common/helper.rb#L108)
|
|
1796
1796
|
|
|
1797
1797
|
> def page_class
|
|
1798
1798
|
|
|
@@ -1801,7 +1801,7 @@ Useful for appium_console.
|
|
|
1801
1801
|
|
|
1802
1802
|
--
|
|
1803
1803
|
|
|
1804
|
-
##### [px_to_window_rel](https://github.com/appium/ruby_lib/blob/
|
|
1804
|
+
##### [px_to_window_rel](https://github.com/appium/ruby_lib/blob/95118d4e0a6ec285e55862ea6b6fed528711ad84/lib/appium_lib/common/helper.rb#L118)
|
|
1805
1805
|
|
|
1806
1806
|
> def px_to_window_rel(opts = {}, driver = $driver)
|
|
1807
1807
|
|
|
@@ -1813,7 +1813,7 @@ px_to_window_rel x: 50, y: 150
|
|
|
1813
1813
|
|
|
1814
1814
|
--
|
|
1815
1815
|
|
|
1816
|
-
##### [xml_keys](https://github.com/appium/ruby_lib/blob/
|
|
1816
|
+
##### [xml_keys](https://github.com/appium/ruby_lib/blob/95118d4e0a6ec285e55862ea6b6fed528711ad84/lib/appium_lib/common/helper.rb#L137)
|
|
1817
1817
|
|
|
1818
1818
|
> def xml_keys(target)
|
|
1819
1819
|
|
|
@@ -1829,7 +1829,7 @@ __Returns:__
|
|
|
1829
1829
|
|
|
1830
1830
|
--
|
|
1831
1831
|
|
|
1832
|
-
##### [xml_values](https://github.com/appium/ruby_lib/blob/
|
|
1832
|
+
##### [xml_values](https://github.com/appium/ruby_lib/blob/95118d4e0a6ec285e55862ea6b6fed528711ad84/lib/appium_lib/common/helper.rb#L145)
|
|
1833
1833
|
|
|
1834
1834
|
> def xml_values(target)
|
|
1835
1835
|
|
|
@@ -1845,7 +1845,7 @@ __Returns:__
|
|
|
1845
1845
|
|
|
1846
1846
|
--
|
|
1847
1847
|
|
|
1848
|
-
##### [resolve_id](https://github.com/appium/ruby_lib/blob/
|
|
1848
|
+
##### [resolve_id](https://github.com/appium/ruby_lib/blob/95118d4e0a6ec285e55862ea6b6fed528711ad84/lib/appium_lib/common/helper.rb#L153)
|
|
1849
1849
|
|
|
1850
1850
|
> def resolve_id(id)
|
|
1851
1851
|
|
|
@@ -1861,7 +1861,7 @@ __Returns:__
|
|
|
1861
1861
|
|
|
1862
1862
|
--
|
|
1863
1863
|
|
|
1864
|
-
##### [filter](https://github.com/appium/ruby_lib/blob/
|
|
1864
|
+
##### [filter](https://github.com/appium/ruby_lib/blob/95118d4e0a6ec285e55862ea6b6fed528711ad84/lib/appium_lib/common/helper.rb#L159)
|
|
1865
1865
|
|
|
1866
1866
|
> def filter
|
|
1867
1867
|
|
|
@@ -1869,7 +1869,7 @@ Returns the value of attribute filter
|
|
|
1869
1869
|
|
|
1870
1870
|
--
|
|
1871
1871
|
|
|
1872
|
-
##### [filter=](https://github.com/appium/ruby_lib/blob/
|
|
1872
|
+
##### [filter=](https://github.com/appium/ruby_lib/blob/95118d4e0a6ec285e55862ea6b6fed528711ad84/lib/appium_lib/common/helper.rb#L162)
|
|
1873
1873
|
|
|
1874
1874
|
> def filter=(value)
|
|
1875
1875
|
|
|
@@ -1877,7 +1877,7 @@ convert to string to support symbols
|
|
|
1877
1877
|
|
|
1878
1878
|
--
|
|
1879
1879
|
|
|
1880
|
-
##### [initialize](https://github.com/appium/ruby_lib/blob/
|
|
1880
|
+
##### [initialize](https://github.com/appium/ruby_lib/blob/95118d4e0a6ec285e55862ea6b6fed528711ad84/lib/appium_lib/common/helper.rb#L168)
|
|
1881
1881
|
|
|
1882
1882
|
> def initialize
|
|
1883
1883
|
|
|
@@ -1889,7 +1889,7 @@ __Returns:__
|
|
|
1889
1889
|
|
|
1890
1890
|
--
|
|
1891
1891
|
|
|
1892
|
-
##### [reset](https://github.com/appium/ruby_lib/blob/
|
|
1892
|
+
##### [reset](https://github.com/appium/ruby_lib/blob/95118d4e0a6ec285e55862ea6b6fed528711ad84/lib/appium_lib/common/helper.rb#L173)
|
|
1893
1893
|
|
|
1894
1894
|
> def reset
|
|
1895
1895
|
|
|
@@ -1897,7 +1897,7 @@ __Returns:__
|
|
|
1897
1897
|
|
|
1898
1898
|
--
|
|
1899
1899
|
|
|
1900
|
-
##### [result](https://github.com/appium/ruby_lib/blob/
|
|
1900
|
+
##### [result](https://github.com/appium/ruby_lib/blob/95118d4e0a6ec285e55862ea6b6fed528711ad84/lib/appium_lib/common/helper.rb#L179)
|
|
1901
1901
|
|
|
1902
1902
|
> def result
|
|
1903
1903
|
|
|
@@ -1905,7 +1905,7 @@ __Returns:__
|
|
|
1905
1905
|
|
|
1906
1906
|
--
|
|
1907
1907
|
|
|
1908
|
-
##### [start_element](https://github.com/appium/ruby_lib/blob/
|
|
1908
|
+
##### [start_element](https://github.com/appium/ruby_lib/blob/95118d4e0a6ec285e55862ea6b6fed528711ad84/lib/appium_lib/common/helper.rb#L195)
|
|
1909
1909
|
|
|
1910
1910
|
> def start_element(name, attrs = [])
|
|
1911
1911
|
|
|
@@ -1913,7 +1913,7 @@ __Returns:__
|
|
|
1913
1913
|
|
|
1914
1914
|
--
|
|
1915
1915
|
|
|
1916
|
-
##### [end_element](https://github.com/appium/ruby_lib/blob/
|
|
1916
|
+
##### [end_element](https://github.com/appium/ruby_lib/blob/95118d4e0a6ec285e55862ea6b6fed528711ad84/lib/appium_lib/common/helper.rb#L204)
|
|
1917
1917
|
|
|
1918
1918
|
> def end_element(name)
|
|
1919
1919
|
|
|
@@ -1921,7 +1921,7 @@ __Returns:__
|
|
|
1921
1921
|
|
|
1922
1922
|
--
|
|
1923
1923
|
|
|
1924
|
-
##### [characters](https://github.com/appium/ruby_lib/blob/
|
|
1924
|
+
##### [characters](https://github.com/appium/ruby_lib/blob/95118d4e0a6ec285e55862ea6b6fed528711ad84/lib/appium_lib/common/helper.rb#L210)
|
|
1925
1925
|
|
|
1926
1926
|
> def characters(chars)
|
|
1927
1927
|
|
|
@@ -1929,7 +1929,7 @@ __Returns:__
|
|
|
1929
1929
|
|
|
1930
1930
|
--
|
|
1931
1931
|
|
|
1932
|
-
##### [COMMAND_NO_ARG](https://github.com/appium/ruby_lib/blob/
|
|
1932
|
+
##### [COMMAND_NO_ARG](https://github.com/appium/ruby_lib/blob/95118d4e0a6ec285e55862ea6b6fed528711ad84/lib/appium_lib/common/command.rb#L4)
|
|
1933
1933
|
|
|
1934
1934
|
> COMMAND_NO_ARG = {
|
|
1935
1935
|
|
|
@@ -1937,7 +1937,7 @@ __Returns:__
|
|
|
1937
1937
|
|
|
1938
1938
|
--
|
|
1939
1939
|
|
|
1940
|
-
##### [COMMAND](https://github.com/appium/ruby_lib/blob/
|
|
1940
|
+
##### [COMMAND](https://github.com/appium/ruby_lib/blob/95118d4e0a6ec285e55862ea6b6fed528711ad84/lib/appium_lib/common/command.rb#L28)
|
|
1941
1941
|
|
|
1942
1942
|
> COMMAND = {
|
|
1943
1943
|
|
|
@@ -1945,7 +1945,7 @@ __Returns:__
|
|
|
1945
1945
|
|
|
1946
1946
|
--
|
|
1947
1947
|
|
|
1948
|
-
##### [COMMANDS_EXTEND_OSS](https://github.com/appium/ruby_lib/blob/
|
|
1948
|
+
##### [COMMANDS_EXTEND_OSS](https://github.com/appium/ruby_lib/blob/95118d4e0a6ec285e55862ea6b6fed528711ad84/lib/appium_lib/common/command.rb#L66)
|
|
1949
1949
|
|
|
1950
1950
|
> COMMANDS_EXTEND_OSS = COMMAND.merge(::Selenium::WebDriver::Remote::OSS::Bridge::COMMANDS).freeze
|
|
1951
1951
|
|
|
@@ -1953,7 +1953,7 @@ __Returns:__
|
|
|
1953
1953
|
|
|
1954
1954
|
--
|
|
1955
1955
|
|
|
1956
|
-
##### [COMMANDS_EXTEND_W3C](https://github.com/appium/ruby_lib/blob/
|
|
1956
|
+
##### [COMMANDS_EXTEND_W3C](https://github.com/appium/ruby_lib/blob/95118d4e0a6ec285e55862ea6b6fed528711ad84/lib/appium_lib/common/command.rb#L67)
|
|
1957
1957
|
|
|
1958
1958
|
> COMMANDS_EXTEND_W3C = COMMAND.merge(::Selenium::WebDriver::Remote::W3C::Bridge::COMMANDS).freeze
|
|
1959
1959
|
|
|
@@ -1961,7 +1961,7 @@ __Returns:__
|
|
|
1961
1961
|
|
|
1962
1962
|
--
|
|
1963
1963
|
|
|
1964
|
-
##### [window_size](https://github.com/appium/ruby_lib/blob/
|
|
1964
|
+
##### [window_size](https://github.com/appium/ruby_lib/blob/95118d4e0a6ec285e55862ea6b6fed528711ad84/lib/appium_lib/common/element/window.rb#L5)
|
|
1965
1965
|
|
|
1966
1966
|
> def window_size
|
|
1967
1967
|
|
|
@@ -1969,7 +1969,7 @@ Get the window's size
|
|
|
1969
1969
|
|
|
1970
1970
|
--
|
|
1971
1971
|
|
|
1972
|
-
##### [FINDERS](https://github.com/appium/ruby_lib/blob/
|
|
1972
|
+
##### [FINDERS](https://github.com/appium/ruby_lib/blob/95118d4e0a6ec285e55862ea6b6fed528711ad84/lib/appium_lib/common/search_context.rb#L5)
|
|
1973
1973
|
|
|
1974
1974
|
> FINDERS = {
|
|
1975
1975
|
|
|
@@ -1977,7 +1977,7 @@ rubocop:disable Style/MutableConstant
|
|
|
1977
1977
|
|
|
1978
1978
|
--
|
|
1979
1979
|
|
|
1980
|
-
##### [filter](https://github.com/appium/ruby_lib/blob/
|
|
1980
|
+
##### [filter](https://github.com/appium/ruby_lib/blob/95118d4e0a6ec285e55862ea6b6fed528711ad84/lib/appium_lib/ios/helper.rb#L4) ios
|
|
1981
1981
|
|
|
1982
1982
|
> def filter
|
|
1983
1983
|
|
|
@@ -1985,7 +1985,7 @@ Returns the value of attribute filter
|
|
|
1985
1985
|
|
|
1986
1986
|
--
|
|
1987
1987
|
|
|
1988
|
-
##### [filter=](https://github.com/appium/ruby_lib/blob/
|
|
1988
|
+
##### [filter=](https://github.com/appium/ruby_lib/blob/95118d4e0a6ec285e55862ea6b6fed528711ad84/lib/appium_lib/ios/helper.rb#L4) ios
|
|
1989
1989
|
|
|
1990
1990
|
> def filter=(value)
|
|
1991
1991
|
|
|
@@ -1997,7 +1997,7 @@ __Parameters:__
|
|
|
1997
1997
|
|
|
1998
1998
|
--
|
|
1999
1999
|
|
|
2000
|
-
##### [start_element](https://github.com/appium/ruby_lib/blob/
|
|
2000
|
+
##### [start_element](https://github.com/appium/ruby_lib/blob/95118d4e0a6ec285e55862ea6b6fed528711ad84/lib/appium_lib/ios/helper.rb#L6) ios
|
|
2001
2001
|
|
|
2002
2002
|
> def start_element(type, attrs = [])
|
|
2003
2003
|
|
|
@@ -2005,7 +2005,7 @@ __Parameters:__
|
|
|
2005
2005
|
|
|
2006
2006
|
--
|
|
2007
2007
|
|
|
2008
|
-
##### [_print_attr](https://github.com/appium/ruby_lib/blob/
|
|
2008
|
+
##### [_print_attr](https://github.com/appium/ruby_lib/blob/95118d4e0a6ec285e55862ea6b6fed528711ad84/lib/appium_lib/ios/helper.rb#L15) ios
|
|
2009
2009
|
|
|
2010
2010
|
> def _print_attr(type, name, label, value, hint, visible) # rubocop:disable Metrics/ParameterLists
|
|
2011
2011
|
|
|
@@ -2013,7 +2013,7 @@ rubocop:disable Metrics/ParameterLists
|
|
|
2013
2013
|
|
|
2014
2014
|
--
|
|
2015
2015
|
|
|
2016
|
-
##### [ios_password](https://github.com/appium/ruby_lib/blob/
|
|
2016
|
+
##### [ios_password](https://github.com/appium/ruby_lib/blob/95118d4e0a6ec285e55862ea6b6fed528711ad84/lib/appium_lib/ios/helper.rb#L42) ios
|
|
2017
2017
|
|
|
2018
2018
|
> def ios_password(length = 1)
|
|
2019
2019
|
|
|
@@ -2031,7 +2031,7 @@ __Returns:__
|
|
|
2031
2031
|
|
|
2032
2032
|
--
|
|
2033
2033
|
|
|
2034
|
-
##### [get_page](https://github.com/appium/ruby_lib/blob/
|
|
2034
|
+
##### [get_page](https://github.com/appium/ruby_lib/blob/95118d4e0a6ec285e55862ea6b6fed528711ad84/lib/appium_lib/ios/helper.rb#L55) ios
|
|
2035
2035
|
|
|
2036
2036
|
> def get_page(element = source_window(0), class_name = nil)
|
|
2037
2037
|
|
|
@@ -2052,7 +2052,7 @@ __Returns:__
|
|
|
2052
2052
|
|
|
2053
2053
|
--
|
|
2054
2054
|
|
|
2055
|
-
##### [page](https://github.com/appium/ruby_lib/blob/
|
|
2055
|
+
##### [page](https://github.com/appium/ruby_lib/blob/95118d4e0a6ec285e55862ea6b6fed528711ad84/lib/appium_lib/ios/helper.rb#L142) ios
|
|
2056
2056
|
|
|
2057
2057
|
> def page(opts = {})
|
|
2058
2058
|
|
|
@@ -2077,7 +2077,7 @@ __Returns:__
|
|
|
2077
2077
|
|
|
2078
2078
|
--
|
|
2079
2079
|
|
|
2080
|
-
##### [source_window](https://github.com/appium/ruby_lib/blob/
|
|
2080
|
+
##### [source_window](https://github.com/appium/ruby_lib/blob/95118d4e0a6ec285e55862ea6b6fed528711ad84/lib/appium_lib/ios/helper.rb#L166) ios
|
|
2081
2081
|
|
|
2082
2082
|
> def source_window(window_number = nil)
|
|
2083
2083
|
|
|
@@ -2089,7 +2089,7 @@ __Returns:__
|
|
|
2089
2089
|
|
|
2090
2090
|
--
|
|
2091
2091
|
|
|
2092
|
-
##### [page_window](https://github.com/appium/ruby_lib/blob/
|
|
2092
|
+
##### [page_window](https://github.com/appium/ruby_lib/blob/95118d4e0a6ec285e55862ea6b6fed528711ad84/lib/appium_lib/ios/helper.rb#L177) ios
|
|
2093
2093
|
|
|
2094
2094
|
> def page_window(window_number = 0)
|
|
2095
2095
|
|
|
@@ -2107,7 +2107,7 @@ __Returns:__
|
|
|
2107
2107
|
|
|
2108
2108
|
--
|
|
2109
2109
|
|
|
2110
|
-
##### [id](https://github.com/appium/ruby_lib/blob/
|
|
2110
|
+
##### [id](https://github.com/appium/ruby_lib/blob/95118d4e0a6ec285e55862ea6b6fed528711ad84/lib/appium_lib/ios/helper.rb#L185) ios
|
|
2111
2111
|
|
|
2112
2112
|
> def id(id)
|
|
2113
2113
|
|
|
@@ -2123,7 +2123,7 @@ __Returns:__
|
|
|
2123
2123
|
|
|
2124
2124
|
--
|
|
2125
2125
|
|
|
2126
|
-
##### [ios_version](https://github.com/appium/ruby_lib/blob/
|
|
2126
|
+
##### [ios_version](https://github.com/appium/ruby_lib/blob/95118d4e0a6ec285e55862ea6b6fed528711ad84/lib/appium_lib/ios/helper.rb#L191) ios
|
|
2127
2127
|
|
|
2128
2128
|
> def ios_version
|
|
2129
2129
|
|
|
@@ -2135,7 +2135,7 @@ __Returns:__
|
|
|
2135
2135
|
|
|
2136
2136
|
--
|
|
2137
2137
|
|
|
2138
|
-
##### [ele_index](https://github.com/appium/ruby_lib/blob/
|
|
2138
|
+
##### [ele_index](https://github.com/appium/ruby_lib/blob/95118d4e0a6ec285e55862ea6b6fed528711ad84/lib/appium_lib/ios/helper.rb#L200) ios
|
|
2139
2139
|
|
|
2140
2140
|
> def ele_index(class_name, index)
|
|
2141
2141
|
|
|
@@ -2153,7 +2153,7 @@ __Returns:__
|
|
|
2153
2153
|
|
|
2154
2154
|
--
|
|
2155
2155
|
|
|
2156
|
-
##### [find_ele_by_attr](https://github.com/appium/ruby_lib/blob/
|
|
2156
|
+
##### [find_ele_by_attr](https://github.com/appium/ruby_lib/blob/95118d4e0a6ec285e55862ea6b6fed528711ad84/lib/appium_lib/ios/helper.rb#L228) ios
|
|
2157
2157
|
|
|
2158
2158
|
> def find_ele_by_attr(class_name, attr, value)
|
|
2159
2159
|
|
|
@@ -2175,7 +2175,7 @@ __Returns:__
|
|
|
2175
2175
|
|
|
2176
2176
|
--
|
|
2177
2177
|
|
|
2178
|
-
##### [find_eles_by_attr](https://github.com/appium/ruby_lib/blob/
|
|
2178
|
+
##### [find_eles_by_attr](https://github.com/appium/ruby_lib/blob/95118d4e0a6ec285e55862ea6b6fed528711ad84/lib/appium_lib/ios/helper.rb#L239) ios
|
|
2179
2179
|
|
|
2180
2180
|
> def find_eles_by_attr(class_name, attr, value)
|
|
2181
2181
|
|
|
@@ -2197,7 +2197,7 @@ __Returns:__
|
|
|
2197
2197
|
|
|
2198
2198
|
--
|
|
2199
2199
|
|
|
2200
|
-
##### [find_ele_by_predicate](https://github.com/appium/ruby_lib/blob/
|
|
2200
|
+
##### [find_ele_by_predicate](https://github.com/appium/ruby_lib/blob/95118d4e0a6ec285e55862ea6b6fed528711ad84/lib/appium_lib/ios/helper.rb#L252) ios
|
|
2201
2201
|
|
|
2202
2202
|
> def find_ele_by_predicate(class_name: '*', value:)
|
|
2203
2203
|
|
|
@@ -2214,7 +2214,7 @@ __Returns:__
|
|
|
2214
2214
|
|
|
2215
2215
|
--
|
|
2216
2216
|
|
|
2217
|
-
##### [find_eles_by_predicate](https://github.com/appium/ruby_lib/blob/
|
|
2217
|
+
##### [find_eles_by_predicate](https://github.com/appium/ruby_lib/blob/95118d4e0a6ec285e55862ea6b6fed528711ad84/lib/appium_lib/ios/helper.rb#L263) ios
|
|
2218
2218
|
|
|
2219
2219
|
> def find_eles_by_predicate(class_name: '*', value:)
|
|
2220
2220
|
|
|
@@ -2233,7 +2233,7 @@ __Returns:__
|
|
|
2233
2233
|
|
|
2234
2234
|
--
|
|
2235
2235
|
|
|
2236
|
-
##### [find_ele_by_attr_include](https://github.com/appium/ruby_lib/blob/
|
|
2236
|
+
##### [find_ele_by_attr_include](https://github.com/appium/ruby_lib/blob/95118d4e0a6ec285e55862ea6b6fed528711ad84/lib/appium_lib/ios/helper.rb#L279) ios
|
|
2237
2237
|
|
|
2238
2238
|
> def find_ele_by_attr_include(class_name, attr, value)
|
|
2239
2239
|
|
|
@@ -2254,7 +2254,7 @@ __Returns:__
|
|
|
2254
2254
|
|
|
2255
2255
|
--
|
|
2256
2256
|
|
|
2257
|
-
##### [find_eles_by_attr_include](https://github.com/appium/ruby_lib/blob/
|
|
2257
|
+
##### [find_eles_by_attr_include](https://github.com/appium/ruby_lib/blob/95118d4e0a6ec285e55862ea6b6fed528711ad84/lib/appium_lib/ios/helper.rb#L289) ios
|
|
2258
2258
|
|
|
2259
2259
|
> def find_eles_by_attr_include(class_name, attr, value)
|
|
2260
2260
|
|
|
@@ -2275,7 +2275,7 @@ __Returns:__
|
|
|
2275
2275
|
|
|
2276
2276
|
--
|
|
2277
2277
|
|
|
2278
|
-
##### [find_ele_by_predicate_include](https://github.com/appium/ruby_lib/blob/
|
|
2278
|
+
##### [find_ele_by_predicate_include](https://github.com/appium/ruby_lib/blob/95118d4e0a6ec285e55862ea6b6fed528711ad84/lib/appium_lib/ios/helper.rb#L297) ios
|
|
2279
2279
|
|
|
2280
2280
|
> def find_ele_by_predicate_include(class_name: '*', value:)
|
|
2281
2281
|
|
|
@@ -2292,7 +2292,7 @@ __Returns:__
|
|
|
2292
2292
|
|
|
2293
2293
|
--
|
|
2294
2294
|
|
|
2295
|
-
##### [find_eles_by_predicate_include](https://github.com/appium/ruby_lib/blob/
|
|
2295
|
+
##### [find_eles_by_predicate_include](https://github.com/appium/ruby_lib/blob/95118d4e0a6ec285e55862ea6b6fed528711ad84/lib/appium_lib/ios/helper.rb#L308) ios
|
|
2296
2296
|
|
|
2297
2297
|
> def find_eles_by_predicate_include(class_name: '*', value:)
|
|
2298
2298
|
|
|
@@ -2311,7 +2311,7 @@ __Returns:__
|
|
|
2311
2311
|
|
|
2312
2312
|
--
|
|
2313
2313
|
|
|
2314
|
-
##### [first_ele](https://github.com/appium/ruby_lib/blob/
|
|
2314
|
+
##### [first_ele](https://github.com/appium/ruby_lib/blob/95118d4e0a6ec285e55862ea6b6fed528711ad84/lib/appium_lib/ios/helper.rb#L321) ios
|
|
2315
2315
|
|
|
2316
2316
|
> def first_ele(class_name)
|
|
2317
2317
|
|
|
@@ -2327,7 +2327,7 @@ __Returns:__
|
|
|
2327
2327
|
|
|
2328
2328
|
--
|
|
2329
2329
|
|
|
2330
|
-
##### [last_ele](https://github.com/appium/ruby_lib/blob/
|
|
2330
|
+
##### [last_ele](https://github.com/appium/ruby_lib/blob/95118d4e0a6ec285e55862ea6b6fed528711ad84/lib/appium_lib/ios/helper.rb#L328) ios
|
|
2331
2331
|
|
|
2332
2332
|
> def last_ele(class_name)
|
|
2333
2333
|
|
|
@@ -2343,7 +2343,7 @@ __Returns:__
|
|
|
2343
2343
|
|
|
2344
2344
|
--
|
|
2345
2345
|
|
|
2346
|
-
##### [tag](https://github.com/appium/ruby_lib/blob/
|
|
2346
|
+
##### [tag](https://github.com/appium/ruby_lib/blob/95118d4e0a6ec285e55862ea6b6fed528711ad84/lib/appium_lib/ios/helper.rb#L336) ios
|
|
2347
2347
|
|
|
2348
2348
|
> def tag(class_name)
|
|
2349
2349
|
|
|
@@ -2359,7 +2359,7 @@ __Returns:__
|
|
|
2359
2359
|
|
|
2360
2360
|
--
|
|
2361
2361
|
|
|
2362
|
-
##### [tags](https://github.com/appium/ruby_lib/blob/
|
|
2362
|
+
##### [tags](https://github.com/appium/ruby_lib/blob/95118d4e0a6ec285e55862ea6b6fed528711ad84/lib/appium_lib/ios/helper.rb#L344) ios
|
|
2363
2363
|
|
|
2364
2364
|
> def tags(class_name)
|
|
2365
2365
|
|
|
@@ -2375,7 +2375,7 @@ __Returns:__
|
|
|
2375
2375
|
|
|
2376
2376
|
--
|
|
2377
2377
|
|
|
2378
|
-
##### [tags_include](https://github.com/appium/ruby_lib/blob/
|
|
2378
|
+
##### [tags_include](https://github.com/appium/ruby_lib/blob/95118d4e0a6ec285e55862ea6b6fed528711ad84/lib/appium_lib/ios/helper.rb#L355) ios
|
|
2379
2379
|
|
|
2380
2380
|
> def tags_include(class_names:, value: nil)
|
|
2381
2381
|
|
|
@@ -2395,7 +2395,7 @@ __Returns:__
|
|
|
2395
2395
|
|
|
2396
2396
|
--
|
|
2397
2397
|
|
|
2398
|
-
##### [tags_exact](https://github.com/appium/ruby_lib/blob/
|
|
2398
|
+
##### [tags_exact](https://github.com/appium/ruby_lib/blob/95118d4e0a6ec285e55862ea6b6fed528711ad84/lib/appium_lib/ios/helper.rb#L370) ios
|
|
2399
2399
|
|
|
2400
2400
|
> def tags_exact(class_names:, value: nil)
|
|
2401
2401
|
|
|
@@ -2415,7 +2415,7 @@ __Returns:__
|
|
|
2415
2415
|
|
|
2416
2416
|
--
|
|
2417
2417
|
|
|
2418
|
-
##### [ele_by_json_visible_contains](https://github.com/appium/ruby_lib/blob/
|
|
2418
|
+
##### [ele_by_json_visible_contains](https://github.com/appium/ruby_lib/blob/95118d4e0a6ec285e55862ea6b6fed528711ad84/lib/appium_lib/ios/helper.rb#L407) ios
|
|
2419
2419
|
|
|
2420
2420
|
> def ele_by_json_visible_contains(element, value)
|
|
2421
2421
|
|
|
@@ -2434,7 +2434,7 @@ __Returns:__
|
|
|
2434
2434
|
|
|
2435
2435
|
--
|
|
2436
2436
|
|
|
2437
|
-
##### [eles_by_json_visible_contains](https://github.com/appium/ruby_lib/blob/
|
|
2437
|
+
##### [eles_by_json_visible_contains](https://github.com/appium/ruby_lib/blob/95118d4e0a6ec285e55862ea6b6fed528711ad84/lib/appium_lib/ios/helper.rb#L416) ios
|
|
2438
2438
|
|
|
2439
2439
|
> def eles_by_json_visible_contains(element, value)
|
|
2440
2440
|
|
|
@@ -2453,7 +2453,7 @@ __Returns:__
|
|
|
2453
2453
|
|
|
2454
2454
|
--
|
|
2455
2455
|
|
|
2456
|
-
##### [ele_by_json_visible_exact](https://github.com/appium/ruby_lib/blob/
|
|
2456
|
+
##### [ele_by_json_visible_exact](https://github.com/appium/ruby_lib/blob/95118d4e0a6ec285e55862ea6b6fed528711ad84/lib/appium_lib/ios/helper.rb#L446) ios
|
|
2457
2457
|
|
|
2458
2458
|
> def ele_by_json_visible_exact(element, value)
|
|
2459
2459
|
|
|
@@ -2472,7 +2472,7 @@ __Returns:__
|
|
|
2472
2472
|
|
|
2473
2473
|
--
|
|
2474
2474
|
|
|
2475
|
-
##### [eles_by_json_visible_exact](https://github.com/appium/ruby_lib/blob/
|
|
2475
|
+
##### [eles_by_json_visible_exact](https://github.com/appium/ruby_lib/blob/95118d4e0a6ec285e55862ea6b6fed528711ad84/lib/appium_lib/ios/helper.rb#L455) ios
|
|
2476
2476
|
|
|
2477
2477
|
> def eles_by_json_visible_exact(element, value)
|
|
2478
2478
|
|
|
@@ -2491,7 +2491,7 @@ __Returns:__
|
|
|
2491
2491
|
|
|
2492
2492
|
--
|
|
2493
2493
|
|
|
2494
|
-
##### [_all_pred](https://github.com/appium/ruby_lib/blob/
|
|
2494
|
+
##### [_all_pred](https://github.com/appium/ruby_lib/blob/95118d4e0a6ec285e55862ea6b6fed528711ad84/lib/appium_lib/ios/helper.rb#L464) ios
|
|
2495
2495
|
|
|
2496
2496
|
> def _all_pred(opts)
|
|
2497
2497
|
|
|
@@ -2501,7 +2501,7 @@ visible - if true, only visible elements are returned. default true
|
|
|
2501
2501
|
|
|
2502
2502
|
--
|
|
2503
2503
|
|
|
2504
|
-
##### [ele_with_pred](https://github.com/appium/ruby_lib/blob/
|
|
2504
|
+
##### [ele_with_pred](https://github.com/appium/ruby_lib/blob/95118d4e0a6ec285e55862ea6b6fed528711ad84/lib/appium_lib/ios/helper.rb#L477) ios
|
|
2505
2505
|
|
|
2506
2506
|
> def ele_with_pred(opts)
|
|
2507
2507
|
|
|
@@ -2517,7 +2517,7 @@ __Returns:__
|
|
|
2517
2517
|
|
|
2518
2518
|
--
|
|
2519
2519
|
|
|
2520
|
-
##### [eles_with_pred](https://github.com/appium/ruby_lib/blob/
|
|
2520
|
+
##### [eles_with_pred](https://github.com/appium/ruby_lib/blob/95118d4e0a6ec285e55862ea6b6fed528711ad84/lib/appium_lib/ios/helper.rb#L488) ios
|
|
2521
2521
|
|
|
2522
2522
|
> def eles_with_pred(opts)
|
|
2523
2523
|
|
|
@@ -2533,7 +2533,7 @@ __Returns:__
|
|
|
2533
2533
|
|
|
2534
2534
|
--
|
|
2535
2535
|
|
|
2536
|
-
##### [source](https://github.com/appium/ruby_lib/blob/
|
|
2536
|
+
##### [source](https://github.com/appium/ruby_lib/blob/95118d4e0a6ec285e55862ea6b6fed528711ad84/lib/appium_lib/ios/helper.rb#L494) ios
|
|
2537
2537
|
|
|
2538
2538
|
> def source
|
|
2539
2539
|
|
|
@@ -2545,7 +2545,7 @@ __Returns:__
|
|
|
2545
2545
|
|
|
2546
2546
|
--
|
|
2547
2547
|
|
|
2548
|
-
##### [_validate_object](https://github.com/appium/ruby_lib/blob/
|
|
2548
|
+
##### [_validate_object](https://github.com/appium/ruby_lib/blob/95118d4e0a6ec285e55862ea6b6fed528711ad84/lib/appium_lib/ios/helper.rb#L498) ios
|
|
2549
2549
|
|
|
2550
2550
|
> def _validate_object(*objects)
|
|
2551
2551
|
|
|
@@ -2553,7 +2553,7 @@ __Returns:__
|
|
|
2553
2553
|
|
|
2554
2554
|
--
|
|
2555
2555
|
|
|
2556
|
-
##### [_by_json](https://github.com/appium/ruby_lib/blob/
|
|
2556
|
+
##### [_by_json](https://github.com/appium/ruby_lib/blob/95118d4e0a6ec285e55862ea6b6fed528711ad84/lib/appium_lib/ios/helper.rb#L547) ios
|
|
2557
2557
|
|
|
2558
2558
|
> def _by_json(opts)
|
|
2559
2559
|
|
|
@@ -2588,7 +2588,7 @@ opts = {
|
|
|
2588
2588
|
|
|
2589
2589
|
--
|
|
2590
2590
|
|
|
2591
|
-
##### [eles_by_json](https://github.com/appium/ruby_lib/blob/
|
|
2591
|
+
##### [eles_by_json](https://github.com/appium/ruby_lib/blob/95118d4e0a6ec285e55862ea6b6fed528711ad84/lib/appium_lib/ios/helper.rb#L597) ios
|
|
2592
2592
|
|
|
2593
2593
|
> def eles_by_json(opts)
|
|
2594
2594
|
|
|
@@ -2607,7 +2607,7 @@ eles_by_json({
|
|
|
2607
2607
|
|
|
2608
2608
|
--
|
|
2609
2609
|
|
|
2610
|
-
##### [ele_by_json](https://github.com/appium/ruby_lib/blob/
|
|
2610
|
+
##### [ele_by_json](https://github.com/appium/ruby_lib/blob/95118d4e0a6ec285e55862ea6b6fed528711ad84/lib/appium_lib/ios/helper.rb#L603) ios
|
|
2611
2611
|
|
|
2612
2612
|
> def ele_by_json(opts)
|
|
2613
2613
|
|
|
@@ -2615,7 +2615,7 @@ see eles_by_json
|
|
|
2615
2615
|
|
|
2616
2616
|
--
|
|
2617
2617
|
|
|
2618
|
-
##### [get_source](https://github.com/appium/ruby_lib/blob/
|
|
2618
|
+
##### [get_source](https://github.com/appium/ruby_lib/blob/95118d4e0a6ec285e55862ea6b6fed528711ad84/lib/appium_lib/ios/helper.rb#L613) ios
|
|
2619
2619
|
|
|
2620
2620
|
> def get_source
|
|
2621
2621
|
|
|
@@ -2628,7 +2628,7 @@ __Returns:__
|
|
|
2628
2628
|
|
|
2629
2629
|
--
|
|
2630
2630
|
|
|
2631
|
-
##### [UIAStaticText](https://github.com/appium/ruby_lib/blob/
|
|
2631
|
+
##### [UIAStaticText](https://github.com/appium/ruby_lib/blob/95118d4e0a6ec285e55862ea6b6fed528711ad84/lib/appium_lib/ios/element/text.rb#L4) ios
|
|
2632
2632
|
|
|
2633
2633
|
> UIAStaticText = 'UIAStaticText'.freeze
|
|
2634
2634
|
|
|
@@ -2636,7 +2636,7 @@ __Returns:__
|
|
|
2636
2636
|
|
|
2637
2637
|
--
|
|
2638
2638
|
|
|
2639
|
-
##### [XCUIElementTypeStaticText](https://github.com/appium/ruby_lib/blob/
|
|
2639
|
+
##### [XCUIElementTypeStaticText](https://github.com/appium/ruby_lib/blob/95118d4e0a6ec285e55862ea6b6fed528711ad84/lib/appium_lib/ios/element/text.rb#L5) ios
|
|
2640
2640
|
|
|
2641
2641
|
> XCUIElementTypeStaticText = 'XCUIElementTypeStaticText'.freeze
|
|
2642
2642
|
|
|
@@ -2644,7 +2644,7 @@ __Returns:__
|
|
|
2644
2644
|
|
|
2645
2645
|
--
|
|
2646
2646
|
|
|
2647
|
-
##### [static_text_class](https://github.com/appium/ruby_lib/blob/
|
|
2647
|
+
##### [static_text_class](https://github.com/appium/ruby_lib/blob/95118d4e0a6ec285e55862ea6b6fed528711ad84/lib/appium_lib/ios/element/text.rb#L8) ios
|
|
2648
2648
|
|
|
2649
2649
|
> def static_text_class
|
|
2650
2650
|
|
|
@@ -2656,7 +2656,7 @@ __Returns:__
|
|
|
2656
2656
|
|
|
2657
2657
|
--
|
|
2658
2658
|
|
|
2659
|
-
##### [text](https://github.com/appium/ruby_lib/blob/
|
|
2659
|
+
##### [text](https://github.com/appium/ruby_lib/blob/95118d4e0a6ec285e55862ea6b6fed528711ad84/lib/appium_lib/ios/element/text.rb#L16) ios
|
|
2660
2660
|
|
|
2661
2661
|
> def text(value)
|
|
2662
2662
|
|
|
@@ -2673,7 +2673,7 @@ __Returns:__
|
|
|
2673
2673
|
|
|
2674
2674
|
--
|
|
2675
2675
|
|
|
2676
|
-
##### [texts](https://github.com/appium/ruby_lib/blob/
|
|
2676
|
+
##### [texts](https://github.com/appium/ruby_lib/blob/95118d4e0a6ec285e55862ea6b6fed528711ad84/lib/appium_lib/ios/element/text.rb#L25) ios
|
|
2677
2677
|
|
|
2678
2678
|
> def texts(value = false)
|
|
2679
2679
|
|
|
@@ -2690,7 +2690,7 @@ __Returns:__
|
|
|
2690
2690
|
|
|
2691
2691
|
--
|
|
2692
2692
|
|
|
2693
|
-
##### [first_text](https://github.com/appium/ruby_lib/blob/
|
|
2693
|
+
##### [first_text](https://github.com/appium/ruby_lib/blob/95118d4e0a6ec285e55862ea6b6fed528711ad84/lib/appium_lib/ios/element/text.rb#L32) ios
|
|
2694
2694
|
|
|
2695
2695
|
> def first_text
|
|
2696
2696
|
|
|
@@ -2702,7 +2702,7 @@ __Returns:__
|
|
|
2702
2702
|
|
|
2703
2703
|
--
|
|
2704
2704
|
|
|
2705
|
-
##### [last_text](https://github.com/appium/ruby_lib/blob/
|
|
2705
|
+
##### [last_text](https://github.com/appium/ruby_lib/blob/95118d4e0a6ec285e55862ea6b6fed528711ad84/lib/appium_lib/ios/element/text.rb#L38) ios
|
|
2706
2706
|
|
|
2707
2707
|
> def last_text
|
|
2708
2708
|
|
|
@@ -2714,7 +2714,7 @@ __Returns:__
|
|
|
2714
2714
|
|
|
2715
2715
|
--
|
|
2716
2716
|
|
|
2717
|
-
##### [text_exact](https://github.com/appium/ruby_lib/blob/
|
|
2717
|
+
##### [text_exact](https://github.com/appium/ruby_lib/blob/95118d4e0a6ec285e55862ea6b6fed528711ad84/lib/appium_lib/ios/element/text.rb#L45) ios
|
|
2718
2718
|
|
|
2719
2719
|
> def text_exact(value)
|
|
2720
2720
|
|
|
@@ -2730,7 +2730,7 @@ __Returns:__
|
|
|
2730
2730
|
|
|
2731
2731
|
--
|
|
2732
2732
|
|
|
2733
|
-
##### [texts_exact](https://github.com/appium/ruby_lib/blob/
|
|
2733
|
+
##### [texts_exact](https://github.com/appium/ruby_lib/blob/95118d4e0a6ec285e55862ea6b6fed528711ad84/lib/appium_lib/ios/element/text.rb#L52) ios
|
|
2734
2734
|
|
|
2735
2735
|
> def texts_exact(value)
|
|
2736
2736
|
|
|
@@ -2746,7 +2746,7 @@ __Returns:__
|
|
|
2746
2746
|
|
|
2747
2747
|
--
|
|
2748
2748
|
|
|
2749
|
-
##### [alert_accept](https://github.com/appium/ruby_lib/blob/
|
|
2749
|
+
##### [alert_accept](https://github.com/appium/ruby_lib/blob/95118d4e0a6ec285e55862ea6b6fed528711ad84/lib/appium_lib/ios/element/alert.rb#L5) ios
|
|
2750
2750
|
|
|
2751
2751
|
> def alert_accept
|
|
2752
2752
|
|
|
@@ -2758,7 +2758,7 @@ __Returns:__
|
|
|
2758
2758
|
|
|
2759
2759
|
--
|
|
2760
2760
|
|
|
2761
|
-
##### [alert_dismiss](https://github.com/appium/ruby_lib/blob/
|
|
2761
|
+
##### [alert_dismiss](https://github.com/appium/ruby_lib/blob/95118d4e0a6ec285e55862ea6b6fed528711ad84/lib/appium_lib/ios/element/alert.rb#L13) ios
|
|
2762
2762
|
|
|
2763
2763
|
> def alert_dismiss
|
|
2764
2764
|
|
|
@@ -2770,7 +2770,7 @@ __Returns:__
|
|
|
2770
2770
|
|
|
2771
2771
|
--
|
|
2772
2772
|
|
|
2773
|
-
##### [UIAButton](https://github.com/appium/ruby_lib/blob/
|
|
2773
|
+
##### [UIAButton](https://github.com/appium/ruby_lib/blob/95118d4e0a6ec285e55862ea6b6fed528711ad84/lib/appium_lib/ios/element/button.rb#L4) ios
|
|
2774
2774
|
|
|
2775
2775
|
> UIAButton = 'UIAButton'.freeze
|
|
2776
2776
|
|
|
@@ -2778,7 +2778,7 @@ __Returns:__
|
|
|
2778
2778
|
|
|
2779
2779
|
--
|
|
2780
2780
|
|
|
2781
|
-
##### [XCUIElementTypeButton](https://github.com/appium/ruby_lib/blob/
|
|
2781
|
+
##### [XCUIElementTypeButton](https://github.com/appium/ruby_lib/blob/95118d4e0a6ec285e55862ea6b6fed528711ad84/lib/appium_lib/ios/element/button.rb#L5) ios
|
|
2782
2782
|
|
|
2783
2783
|
> XCUIElementTypeButton = 'XCUIElementTypeButton'.freeze
|
|
2784
2784
|
|
|
@@ -2786,7 +2786,7 @@ __Returns:__
|
|
|
2786
2786
|
|
|
2787
2787
|
--
|
|
2788
2788
|
|
|
2789
|
-
##### [button_class](https://github.com/appium/ruby_lib/blob/
|
|
2789
|
+
##### [button_class](https://github.com/appium/ruby_lib/blob/95118d4e0a6ec285e55862ea6b6fed528711ad84/lib/appium_lib/ios/element/button.rb#L8) ios
|
|
2790
2790
|
|
|
2791
2791
|
> def button_class
|
|
2792
2792
|
|
|
@@ -2798,7 +2798,7 @@ __Returns:__
|
|
|
2798
2798
|
|
|
2799
2799
|
--
|
|
2800
2800
|
|
|
2801
|
-
##### [button](https://github.com/appium/ruby_lib/blob/
|
|
2801
|
+
##### [button](https://github.com/appium/ruby_lib/blob/95118d4e0a6ec285e55862ea6b6fed528711ad84/lib/appium_lib/ios/element/button.rb#L16) ios
|
|
2802
2802
|
|
|
2803
2803
|
> def button(value)
|
|
2804
2804
|
|
|
@@ -2815,7 +2815,7 @@ __Returns:__
|
|
|
2815
2815
|
|
|
2816
2816
|
--
|
|
2817
2817
|
|
|
2818
|
-
##### [buttons](https://github.com/appium/ruby_lib/blob/
|
|
2818
|
+
##### [buttons](https://github.com/appium/ruby_lib/blob/95118d4e0a6ec285e55862ea6b6fed528711ad84/lib/appium_lib/ios/element/button.rb#L26) ios
|
|
2819
2819
|
|
|
2820
2820
|
> def buttons(value = false)
|
|
2821
2821
|
|
|
@@ -2832,7 +2832,7 @@ __Returns:__
|
|
|
2832
2832
|
|
|
2833
2833
|
--
|
|
2834
2834
|
|
|
2835
|
-
##### [first_button](https://github.com/appium/ruby_lib/blob/
|
|
2835
|
+
##### [first_button](https://github.com/appium/ruby_lib/blob/95118d4e0a6ec285e55862ea6b6fed528711ad84/lib/appium_lib/ios/element/button.rb#L33) ios
|
|
2836
2836
|
|
|
2837
2837
|
> def first_button
|
|
2838
2838
|
|
|
@@ -2844,7 +2844,7 @@ __Returns:__
|
|
|
2844
2844
|
|
|
2845
2845
|
--
|
|
2846
2846
|
|
|
2847
|
-
##### [last_button](https://github.com/appium/ruby_lib/blob/
|
|
2847
|
+
##### [last_button](https://github.com/appium/ruby_lib/blob/95118d4e0a6ec285e55862ea6b6fed528711ad84/lib/appium_lib/ios/element/button.rb#L41) ios
|
|
2848
2848
|
|
|
2849
2849
|
> def last_button
|
|
2850
2850
|
|
|
@@ -2858,7 +2858,7 @@ __Returns:__
|
|
|
2858
2858
|
|
|
2859
2859
|
--
|
|
2860
2860
|
|
|
2861
|
-
##### [button_exact](https://github.com/appium/ruby_lib/blob/
|
|
2861
|
+
##### [button_exact](https://github.com/appium/ruby_lib/blob/95118d4e0a6ec285e55862ea6b6fed528711ad84/lib/appium_lib/ios/element/button.rb#L48) ios
|
|
2862
2862
|
|
|
2863
2863
|
> def button_exact(value)
|
|
2864
2864
|
|
|
@@ -2874,7 +2874,7 @@ __Returns:__
|
|
|
2874
2874
|
|
|
2875
2875
|
--
|
|
2876
2876
|
|
|
2877
|
-
##### [buttons_exact](https://github.com/appium/ruby_lib/blob/
|
|
2877
|
+
##### [buttons_exact](https://github.com/appium/ruby_lib/blob/95118d4e0a6ec285e55862ea6b6fed528711ad84/lib/appium_lib/ios/element/button.rb#L55) ios
|
|
2878
2878
|
|
|
2879
2879
|
> def buttons_exact(value)
|
|
2880
2880
|
|
|
@@ -2890,7 +2890,7 @@ __Returns:__
|
|
|
2890
2890
|
|
|
2891
2891
|
--
|
|
2892
2892
|
|
|
2893
|
-
##### [uiautomation_find](https://github.com/appium/ruby_lib/blob/
|
|
2893
|
+
##### [uiautomation_find](https://github.com/appium/ruby_lib/blob/95118d4e0a6ec285e55862ea6b6fed528711ad84/lib/appium_lib/ios/mobile_methods.rb#L19) ios
|
|
2894
2894
|
|
|
2895
2895
|
> def uiautomation_find
|
|
2896
2896
|
|
|
@@ -2902,7 +2902,7 @@ find_element/s can be used with a [UIAutomation command](https://developer.apple
|
|
|
2902
2902
|
|
|
2903
2903
|
--
|
|
2904
2904
|
|
|
2905
|
-
##### [ios_predicate_string_find](https://github.com/appium/ruby_lib/blob/
|
|
2905
|
+
##### [ios_predicate_string_find](https://github.com/appium/ruby_lib/blob/95118d4e0a6ec285e55862ea6b6fed528711ad84/lib/appium_lib/ios/mobile_methods.rb#L19) ios
|
|
2906
2906
|
|
|
2907
2907
|
> def ios_predicate_string_find
|
|
2908
2908
|
|
|
@@ -2916,7 +2916,7 @@ find_element/s can be used with a [Predicates](https://developer.apple.com/libra
|
|
|
2916
2916
|
|
|
2917
2917
|
--
|
|
2918
2918
|
|
|
2919
|
-
##### [find](https://github.com/appium/ruby_lib/blob/
|
|
2919
|
+
##### [find](https://github.com/appium/ruby_lib/blob/95118d4e0a6ec285e55862ea6b6fed528711ad84/lib/appium_lib/ios/element/generic.rb#L6) ios
|
|
2920
2920
|
|
|
2921
2921
|
> def find(value)
|
|
2922
2922
|
|
|
@@ -2932,7 +2932,7 @@ __Returns:__
|
|
|
2932
2932
|
|
|
2933
2933
|
--
|
|
2934
2934
|
|
|
2935
|
-
##### [finds](https://github.com/appium/ruby_lib/blob/
|
|
2935
|
+
##### [finds](https://github.com/appium/ruby_lib/blob/95118d4e0a6ec285e55862ea6b6fed528711ad84/lib/appium_lib/ios/element/generic.rb#L13) ios
|
|
2936
2936
|
|
|
2937
2937
|
> def finds(value)
|
|
2938
2938
|
|
|
@@ -2948,7 +2948,7 @@ __Returns:__
|
|
|
2948
2948
|
|
|
2949
2949
|
--
|
|
2950
2950
|
|
|
2951
|
-
##### [find_exact](https://github.com/appium/ruby_lib/blob/
|
|
2951
|
+
##### [find_exact](https://github.com/appium/ruby_lib/blob/95118d4e0a6ec285e55862ea6b6fed528711ad84/lib/appium_lib/ios/element/generic.rb#L20) ios
|
|
2952
2952
|
|
|
2953
2953
|
> def find_exact(value)
|
|
2954
2954
|
|
|
@@ -2964,7 +2964,7 @@ __Returns:__
|
|
|
2964
2964
|
|
|
2965
2965
|
--
|
|
2966
2966
|
|
|
2967
|
-
##### [finds_exact](https://github.com/appium/ruby_lib/blob/
|
|
2967
|
+
##### [finds_exact](https://github.com/appium/ruby_lib/blob/95118d4e0a6ec285e55862ea6b6fed528711ad84/lib/appium_lib/ios/element/generic.rb#L27) ios
|
|
2968
2968
|
|
|
2969
2969
|
> def finds_exact(value)
|
|
2970
2970
|
|
|
@@ -2980,7 +2980,7 @@ __Returns:__
|
|
|
2980
2980
|
|
|
2981
2981
|
--
|
|
2982
2982
|
|
|
2983
|
-
##### [raise_error_if_no_element](https://github.com/appium/ruby_lib/blob/
|
|
2983
|
+
##### [raise_error_if_no_element](https://github.com/appium/ruby_lib/blob/95118d4e0a6ec285e55862ea6b6fed528711ad84/lib/appium_lib/ios/element/generic.rb#L33) ios
|
|
2984
2984
|
|
|
2985
2985
|
> def raise_error_if_no_element(element)
|
|
2986
2986
|
|
|
@@ -2988,7 +2988,7 @@ __Returns:__
|
|
|
2988
2988
|
|
|
2989
2989
|
--
|
|
2990
2990
|
|
|
2991
|
-
##### [select_visible_elements](https://github.com/appium/ruby_lib/blob/
|
|
2991
|
+
##### [select_visible_elements](https://github.com/appium/ruby_lib/blob/95118d4e0a6ec285e55862ea6b6fed528711ad84/lib/appium_lib/ios/element/generic.rb#L40) ios
|
|
2992
2992
|
|
|
2993
2993
|
> def select_visible_elements(elements)
|
|
2994
2994
|
|
|
@@ -2996,7 +2996,7 @@ Return visible elements.
|
|
|
2996
2996
|
|
|
2997
2997
|
--
|
|
2998
2998
|
|
|
2999
|
-
##### [hide_keyboard](https://github.com/appium/ruby_lib/blob/
|
|
2999
|
+
##### [hide_keyboard](https://github.com/appium/ruby_lib/blob/95118d4e0a6ec285e55862ea6b6fed528711ad84/lib/appium_lib/ios/xcuitest/device.rb#L9) ios
|
|
3000
3000
|
|
|
3001
3001
|
> def hide_keyboard
|
|
3002
3002
|
|
|
@@ -3012,7 +3012,7 @@ Default for iOS is `:pressKey`. Default for Android is `:tapOutside`.
|
|
|
3012
3012
|
|
|
3013
3013
|
--
|
|
3014
3014
|
|
|
3015
|
-
##### [ios_version](https://github.com/appium/ruby_lib/blob/
|
|
3015
|
+
##### [ios_version](https://github.com/appium/ruby_lib/blob/95118d4e0a6ec285e55862ea6b6fed528711ad84/lib/appium_lib/ios/xcuitest/helper.rb#L7) ios
|
|
3016
3016
|
|
|
3017
3017
|
> def ios_version
|
|
3018
3018
|
|
|
@@ -3024,7 +3024,7 @@ __Returns:__
|
|
|
3024
3024
|
|
|
3025
3025
|
--
|
|
3026
3026
|
|
|
3027
|
-
##### [last_ele](https://github.com/appium/ruby_lib/blob/
|
|
3027
|
+
##### [last_ele](https://github.com/appium/ruby_lib/blob/95118d4e0a6ec285e55862ea6b6fed528711ad84/lib/appium_lib/ios/xcuitest/helper.rb#L32) ios
|
|
3028
3028
|
|
|
3029
3029
|
> def last_ele(class_name)
|
|
3030
3030
|
|
|
@@ -3040,7 +3040,7 @@ __Returns:__
|
|
|
3040
3040
|
|
|
3041
3041
|
--
|
|
3042
3042
|
|
|
3043
|
-
##### [tag](https://github.com/appium/ruby_lib/blob/
|
|
3043
|
+
##### [tag](https://github.com/appium/ruby_lib/blob/95118d4e0a6ec285e55862ea6b6fed528711ad84/lib/appium_lib/ios/xcuitest/helper.rb#L42) ios
|
|
3044
3044
|
|
|
3045
3045
|
> def tag(class_name)
|
|
3046
3046
|
|
|
@@ -3056,7 +3056,7 @@ __Returns:__
|
|
|
3056
3056
|
|
|
3057
3057
|
--
|
|
3058
3058
|
|
|
3059
|
-
##### [tags](https://github.com/appium/ruby_lib/blob/
|
|
3059
|
+
##### [tags](https://github.com/appium/ruby_lib/blob/95118d4e0a6ec285e55862ea6b6fed528711ad84/lib/appium_lib/ios/xcuitest/helper.rb#L50) ios
|
|
3060
3060
|
|
|
3061
3061
|
> def tags(class_name)
|
|
3062
3062
|
|
|
@@ -3072,7 +3072,7 @@ __Returns:__
|
|
|
3072
3072
|
|
|
3073
3073
|
--
|
|
3074
3074
|
|
|
3075
|
-
##### [tags_include](https://github.com/appium/ruby_lib/blob/
|
|
3075
|
+
##### [tags_include](https://github.com/appium/ruby_lib/blob/95118d4e0a6ec285e55862ea6b6fed528711ad84/lib/appium_lib/ios/xcuitest/helper.rb#L62) ios
|
|
3076
3076
|
|
|
3077
3077
|
> def tags_include(class_names:, value: nil)
|
|
3078
3078
|
|
|
@@ -3092,7 +3092,7 @@ __Returns:__
|
|
|
3092
3092
|
|
|
3093
3093
|
--
|
|
3094
3094
|
|
|
3095
|
-
##### [tags_exact](https://github.com/appium/ruby_lib/blob/
|
|
3095
|
+
##### [tags_exact](https://github.com/appium/ruby_lib/blob/95118d4e0a6ec285e55862ea6b6fed528711ad84/lib/appium_lib/ios/xcuitest/helper.rb#L85) ios
|
|
3096
3096
|
|
|
3097
3097
|
> def tags_exact(class_names:, value: nil)
|
|
3098
3098
|
|
|
@@ -3112,7 +3112,7 @@ __Returns:__
|
|
|
3112
3112
|
|
|
3113
3113
|
--
|
|
3114
3114
|
|
|
3115
|
-
##### [UIATextField](https://github.com/appium/ruby_lib/blob/
|
|
3115
|
+
##### [UIATextField](https://github.com/appium/ruby_lib/blob/95118d4e0a6ec285e55862ea6b6fed528711ad84/lib/appium_lib/ios/element/textfield.rb#L3) ios
|
|
3116
3116
|
|
|
3117
3117
|
> UIATextField = 'UIATextField'.freeze
|
|
3118
3118
|
|
|
@@ -3120,7 +3120,7 @@ __Returns:__
|
|
|
3120
3120
|
|
|
3121
3121
|
--
|
|
3122
3122
|
|
|
3123
|
-
##### [UIASecureTextField](https://github.com/appium/ruby_lib/blob/
|
|
3123
|
+
##### [UIASecureTextField](https://github.com/appium/ruby_lib/blob/95118d4e0a6ec285e55862ea6b6fed528711ad84/lib/appium_lib/ios/element/textfield.rb#L4) ios
|
|
3124
3124
|
|
|
3125
3125
|
> UIASecureTextField = 'UIASecureTextField'.freeze
|
|
3126
3126
|
|
|
@@ -3128,7 +3128,7 @@ __Returns:__
|
|
|
3128
3128
|
|
|
3129
3129
|
--
|
|
3130
3130
|
|
|
3131
|
-
##### [XCUIElementTypeTextField](https://github.com/appium/ruby_lib/blob/
|
|
3131
|
+
##### [XCUIElementTypeTextField](https://github.com/appium/ruby_lib/blob/95118d4e0a6ec285e55862ea6b6fed528711ad84/lib/appium_lib/ios/element/textfield.rb#L6) ios
|
|
3132
3132
|
|
|
3133
3133
|
> XCUIElementTypeTextField = 'XCUIElementTypeTextField'.freeze
|
|
3134
3134
|
|
|
@@ -3136,7 +3136,7 @@ __Returns:__
|
|
|
3136
3136
|
|
|
3137
3137
|
--
|
|
3138
3138
|
|
|
3139
|
-
##### [XCUIElementTypeSecureTextField](https://github.com/appium/ruby_lib/blob/
|
|
3139
|
+
##### [XCUIElementTypeSecureTextField](https://github.com/appium/ruby_lib/blob/95118d4e0a6ec285e55862ea6b6fed528711ad84/lib/appium_lib/ios/element/textfield.rb#L7) ios
|
|
3140
3140
|
|
|
3141
3141
|
> XCUIElementTypeSecureTextField = 'XCUIElementTypeSecureTextField'.freeze
|
|
3142
3142
|
|
|
@@ -3144,7 +3144,7 @@ __Returns:__
|
|
|
3144
3144
|
|
|
3145
3145
|
--
|
|
3146
3146
|
|
|
3147
|
-
##### [text_field_class](https://github.com/appium/ruby_lib/blob/
|
|
3147
|
+
##### [text_field_class](https://github.com/appium/ruby_lib/blob/95118d4e0a6ec285e55862ea6b6fed528711ad84/lib/appium_lib/ios/element/textfield.rb#L10) ios
|
|
3148
3148
|
|
|
3149
3149
|
> def text_field_class
|
|
3150
3150
|
|
|
@@ -3156,7 +3156,7 @@ __Returns:__
|
|
|
3156
3156
|
|
|
3157
3157
|
--
|
|
3158
3158
|
|
|
3159
|
-
##### [secure_text_field_class](https://github.com/appium/ruby_lib/blob/
|
|
3159
|
+
##### [secure_text_field_class](https://github.com/appium/ruby_lib/blob/95118d4e0a6ec285e55862ea6b6fed528711ad84/lib/appium_lib/ios/element/textfield.rb#L15) ios
|
|
3160
3160
|
|
|
3161
3161
|
> def secure_text_field_class
|
|
3162
3162
|
|
|
@@ -3168,7 +3168,7 @@ __Returns:__
|
|
|
3168
3168
|
|
|
3169
3169
|
--
|
|
3170
3170
|
|
|
3171
|
-
##### [textfield](https://github.com/appium/ruby_lib/blob/
|
|
3171
|
+
##### [textfield](https://github.com/appium/ruby_lib/blob/95118d4e0a6ec285e55862ea6b6fed528711ad84/lib/appium_lib/ios/element/textfield.rb#L24) ios
|
|
3172
3172
|
|
|
3173
3173
|
> def textfield(value)
|
|
3174
3174
|
|
|
@@ -3186,7 +3186,7 @@ __Returns:__
|
|
|
3186
3186
|
|
|
3187
3187
|
--
|
|
3188
3188
|
|
|
3189
|
-
##### [textfields](https://github.com/appium/ruby_lib/blob/
|
|
3189
|
+
##### [textfields](https://github.com/appium/ruby_lib/blob/95118d4e0a6ec285e55862ea6b6fed528711ad84/lib/appium_lib/ios/element/textfield.rb#L42) ios
|
|
3190
3190
|
|
|
3191
3191
|
> def textfields(value = false)
|
|
3192
3192
|
|
|
@@ -3203,7 +3203,7 @@ __Returns:__
|
|
|
3203
3203
|
|
|
3204
3204
|
--
|
|
3205
3205
|
|
|
3206
|
-
##### [first_textfield](https://github.com/appium/ruby_lib/blob/
|
|
3206
|
+
##### [first_textfield](https://github.com/appium/ruby_lib/blob/95118d4e0a6ec285e55862ea6b6fed528711ad84/lib/appium_lib/ios/element/textfield.rb#L49) ios
|
|
3207
3207
|
|
|
3208
3208
|
> def first_textfield
|
|
3209
3209
|
|
|
@@ -3215,7 +3215,7 @@ __Returns:__
|
|
|
3215
3215
|
|
|
3216
3216
|
--
|
|
3217
3217
|
|
|
3218
|
-
##### [last_textfield](https://github.com/appium/ruby_lib/blob/
|
|
3218
|
+
##### [last_textfield](https://github.com/appium/ruby_lib/blob/95118d4e0a6ec285e55862ea6b6fed528711ad84/lib/appium_lib/ios/element/textfield.rb#L55) ios
|
|
3219
3219
|
|
|
3220
3220
|
> def last_textfield
|
|
3221
3221
|
|
|
@@ -3227,7 +3227,7 @@ __Returns:__
|
|
|
3227
3227
|
|
|
3228
3228
|
--
|
|
3229
3229
|
|
|
3230
|
-
##### [textfield_exact](https://github.com/appium/ruby_lib/blob/
|
|
3230
|
+
##### [textfield_exact](https://github.com/appium/ruby_lib/blob/95118d4e0a6ec285e55862ea6b6fed528711ad84/lib/appium_lib/ios/element/textfield.rb#L64) ios
|
|
3231
3231
|
|
|
3232
3232
|
> def textfield_exact(value)
|
|
3233
3233
|
|
|
@@ -3243,7 +3243,7 @@ __Returns:__
|
|
|
3243
3243
|
|
|
3244
3244
|
--
|
|
3245
3245
|
|
|
3246
|
-
##### [textfields_exact](https://github.com/appium/ruby_lib/blob/
|
|
3246
|
+
##### [textfields_exact](https://github.com/appium/ruby_lib/blob/95118d4e0a6ec285e55862ea6b6fed528711ad84/lib/appium_lib/ios/element/textfield.rb#L71) ios
|
|
3247
3247
|
|
|
3248
3248
|
> def textfields_exact(value)
|
|
3249
3249
|
|
|
@@ -3259,7 +3259,7 @@ __Returns:__
|
|
|
3259
3259
|
|
|
3260
3260
|
--
|
|
3261
3261
|
|
|
3262
|
-
##### [_textfield_visible](https://github.com/appium/ruby_lib/blob/
|
|
3262
|
+
##### [_textfield_visible](https://github.com/appium/ruby_lib/blob/95118d4e0a6ec285e55862ea6b6fed528711ad84/lib/appium_lib/ios/element/textfield.rb#L78) ios
|
|
3263
3263
|
|
|
3264
3264
|
> def _textfield_visible
|
|
3265
3265
|
|
|
@@ -3267,7 +3267,7 @@ Appium
|
|
|
3267
3267
|
|
|
3268
3268
|
--
|
|
3269
3269
|
|
|
3270
|
-
##### [_textfield_exact_string](https://github.com/appium/ruby_lib/blob/
|
|
3270
|
+
##### [_textfield_exact_string](https://github.com/appium/ruby_lib/blob/95118d4e0a6ec285e55862ea6b6fed528711ad84/lib/appium_lib/ios/element/textfield.rb#L83) ios
|
|
3271
3271
|
|
|
3272
3272
|
> def _textfield_exact_string(value)
|
|
3273
3273
|
|
|
@@ -3275,7 +3275,7 @@ Appium
|
|
|
3275
3275
|
|
|
3276
3276
|
--
|
|
3277
3277
|
|
|
3278
|
-
##### [_textfield_contains_string](https://github.com/appium/ruby_lib/blob/
|
|
3278
|
+
##### [_textfield_contains_string](https://github.com/appium/ruby_lib/blob/95118d4e0a6ec285e55862ea6b6fed528711ad84/lib/appium_lib/ios/element/textfield.rb#L90) ios
|
|
3279
3279
|
|
|
3280
3280
|
> def _textfield_contains_string(value)
|
|
3281
3281
|
|
|
@@ -3283,7 +3283,7 @@ Appium
|
|
|
3283
3283
|
|
|
3284
3284
|
--
|
|
3285
3285
|
|
|
3286
|
-
##### [swipe](https://github.com/appium/ruby_lib/blob/
|
|
3286
|
+
##### [swipe](https://github.com/appium/ruby_lib/blob/95118d4e0a6ec285e55862ea6b6fed528711ad84/lib/appium_lib/ios/xcuitest/gestures.rb#L11) ios
|
|
3287
3287
|
|
|
3288
3288
|
> def swipe(direction:, element: nil)
|
|
3289
3289
|
|
|
@@ -3297,7 +3297,7 @@ __Parameters:__
|
|
|
3297
3297
|
|
|
3298
3298
|
--
|
|
3299
3299
|
|
|
3300
|
-
##### [scroll](https://github.com/appium/ruby_lib/blob/
|
|
3300
|
+
##### [scroll](https://github.com/appium/ruby_lib/blob/95118d4e0a6ec285e55862ea6b6fed528711ad84/lib/appium_lib/ios/xcuitest/gestures.rb#L29) ios
|
|
3301
3301
|
|
|
3302
3302
|
> def scroll(direction:, name: nil, element: nil, to_visible: nil, predicate_string: nil)
|
|
3303
3303
|
|
|
@@ -3311,7 +3311,7 @@ __Parameters:__
|
|
|
3311
3311
|
|
|
3312
3312
|
--
|
|
3313
3313
|
|
|
3314
|
-
##### [pinch](https://github.com/appium/ruby_lib/blob/
|
|
3314
|
+
##### [pinch](https://github.com/appium/ruby_lib/blob/95118d4e0a6ec285e55862ea6b6fed528711ad84/lib/appium_lib/ios/xcuitest/gestures.rb#L48) ios
|
|
3315
3315
|
|
|
3316
3316
|
> def pinch(scale:, velocity: 1.0, element: nil)
|
|
3317
3317
|
|
|
@@ -3327,7 +3327,7 @@ __Parameters:__
|
|
|
3327
3327
|
|
|
3328
3328
|
--
|
|
3329
3329
|
|
|
3330
|
-
##### [double_tap](https://github.com/appium/ruby_lib/blob/
|
|
3330
|
+
##### [double_tap](https://github.com/appium/ruby_lib/blob/95118d4e0a6ec285e55862ea6b6fed528711ad84/lib/appium_lib/ios/xcuitest/gestures.rb#L63) ios
|
|
3331
3331
|
|
|
3332
3332
|
> def double_tap(x: nil, y: nil, element: nil)
|
|
3333
3333
|
|
|
@@ -3343,7 +3343,7 @@ __Parameters:__
|
|
|
3343
3343
|
|
|
3344
3344
|
--
|
|
3345
3345
|
|
|
3346
|
-
##### [touch_and_hold](https://github.com/appium/ruby_lib/blob/
|
|
3346
|
+
##### [touch_and_hold](https://github.com/appium/ruby_lib/blob/95118d4e0a6ec285e55862ea6b6fed528711ad84/lib/appium_lib/ios/xcuitest/gestures.rb#L80) ios
|
|
3347
3347
|
|
|
3348
3348
|
> def touch_and_hold(x: nil, y: nil, element: nil, duration: 1.0)
|
|
3349
3349
|
|
|
@@ -3361,7 +3361,7 @@ __Parameters:__
|
|
|
3361
3361
|
|
|
3362
3362
|
--
|
|
3363
3363
|
|
|
3364
|
-
##### [two_finger_tap](https://github.com/appium/ruby_lib/blob/
|
|
3364
|
+
##### [two_finger_tap](https://github.com/appium/ruby_lib/blob/95118d4e0a6ec285e55862ea6b6fed528711ad84/lib/appium_lib/ios/xcuitest/gestures.rb#L93) ios
|
|
3365
3365
|
|
|
3366
3366
|
> def two_finger_tap(element:)
|
|
3367
3367
|
|
|
@@ -3377,7 +3377,7 @@ two_finger_tap element: find_element(:accessibility_id, "some item")
|
|
|
3377
3377
|
|
|
3378
3378
|
--
|
|
3379
3379
|
|
|
3380
|
-
##### [tap](https://github.com/appium/ruby_lib/blob/
|
|
3380
|
+
##### [tap](https://github.com/appium/ruby_lib/blob/95118d4e0a6ec285e55862ea6b6fed528711ad84/lib/appium_lib/ios/xcuitest/gestures.rb#L108) ios
|
|
3381
3381
|
|
|
3382
3382
|
> def tap(x:, y:, element: nil)
|
|
3383
3383
|
|
|
@@ -3393,7 +3393,7 @@ __Parameters:__
|
|
|
3393
3393
|
|
|
3394
3394
|
--
|
|
3395
3395
|
|
|
3396
|
-
##### [drag_from_to_for_duration](https://github.com/appium/ruby_lib/blob/
|
|
3396
|
+
##### [drag_from_to_for_duration](https://github.com/appium/ruby_lib/blob/95118d4e0a6ec285e55862ea6b6fed528711ad84/lib/appium_lib/ios/xcuitest/gestures.rb#L128) ios
|
|
3397
3397
|
|
|
3398
3398
|
> def drag_from_to_for_duration(from_x:, from_y:, to_x:, to_y:, duration: 1.0, element: nil)
|
|
3399
3399
|
|
|
@@ -3416,7 +3416,7 @@ drag point should be before to start dragging. Mandatory parameter
|
|
|
3416
3416
|
|
|
3417
3417
|
--
|
|
3418
3418
|
|
|
3419
|
-
##### [select_picker_wheel](https://github.com/appium/ruby_lib/blob/
|
|
3419
|
+
##### [select_picker_wheel](https://github.com/appium/ruby_lib/blob/95118d4e0a6ec285e55862ea6b6fed528711ad84/lib/appium_lib/ios/xcuitest/gestures.rb#L145) ios
|
|
3420
3420
|
|
|
3421
3421
|
> def select_picker_wheel(element:, order:, offset: nil)
|
|
3422
3422
|
|
|
@@ -3433,7 +3433,7 @@ __Parameters:__
|
|
|
3433
3433
|
|
|
3434
3434
|
--
|
|
3435
3435
|
|
|
3436
|
-
##### [alert](https://github.com/appium/ruby_lib/blob/
|
|
3436
|
+
##### [alert](https://github.com/appium/ruby_lib/blob/95118d4e0a6ec285e55862ea6b6fed528711ad84/lib/appium_lib/ios/xcuitest/gestures.rb#L163) ios
|
|
3437
3437
|
|
|
3438
3438
|
> def alert(action:, button_label: nil)
|
|
3439
3439
|
|
|
@@ -3448,7 +3448,7 @@ This is an optional parameter and is only valid in combination with accept and d
|
|
|
3448
3448
|
|
|
3449
3449
|
--
|
|
3450
3450
|
|
|
3451
|
-
##### [static_text_class](https://github.com/appium/ruby_lib/blob/
|
|
3451
|
+
##### [static_text_class](https://github.com/appium/ruby_lib/blob/95118d4e0a6ec285e55862ea6b6fed528711ad84/lib/appium_lib/ios/xcuitest/element/text.rb#L9) ios
|
|
3452
3452
|
|
|
3453
3453
|
> def static_text_class
|
|
3454
3454
|
|
|
@@ -3460,7 +3460,7 @@ __Returns:__
|
|
|
3460
3460
|
|
|
3461
3461
|
--
|
|
3462
3462
|
|
|
3463
|
-
##### [text](https://github.com/appium/ruby_lib/blob/
|
|
3463
|
+
##### [text](https://github.com/appium/ruby_lib/blob/95118d4e0a6ec285e55862ea6b6fed528711ad84/lib/appium_lib/ios/xcuitest/element/text.rb#L17) ios
|
|
3464
3464
|
|
|
3465
3465
|
> def text(value)
|
|
3466
3466
|
|
|
@@ -3477,7 +3477,7 @@ __Returns:__
|
|
|
3477
3477
|
|
|
3478
3478
|
--
|
|
3479
3479
|
|
|
3480
|
-
##### [texts](https://github.com/appium/ruby_lib/blob/
|
|
3480
|
+
##### [texts](https://github.com/appium/ruby_lib/blob/95118d4e0a6ec285e55862ea6b6fed528711ad84/lib/appium_lib/ios/xcuitest/element/text.rb#L26) ios
|
|
3481
3481
|
|
|
3482
3482
|
> def texts(value = false)
|
|
3483
3483
|
|
|
@@ -3494,7 +3494,7 @@ __Returns:__
|
|
|
3494
3494
|
|
|
3495
3495
|
--
|
|
3496
3496
|
|
|
3497
|
-
##### [first_text](https://github.com/appium/ruby_lib/blob/
|
|
3497
|
+
##### [first_text](https://github.com/appium/ruby_lib/blob/95118d4e0a6ec285e55862ea6b6fed528711ad84/lib/appium_lib/ios/xcuitest/element/text.rb#L34) ios
|
|
3498
3498
|
|
|
3499
3499
|
> def first_text
|
|
3500
3500
|
|
|
@@ -3506,7 +3506,7 @@ __Returns:__
|
|
|
3506
3506
|
|
|
3507
3507
|
--
|
|
3508
3508
|
|
|
3509
|
-
##### [last_text](https://github.com/appium/ruby_lib/blob/
|
|
3509
|
+
##### [last_text](https://github.com/appium/ruby_lib/blob/95118d4e0a6ec285e55862ea6b6fed528711ad84/lib/appium_lib/ios/xcuitest/element/text.rb#L40) ios
|
|
3510
3510
|
|
|
3511
3511
|
> def last_text
|
|
3512
3512
|
|
|
@@ -3518,7 +3518,7 @@ __Returns:__
|
|
|
3518
3518
|
|
|
3519
3519
|
--
|
|
3520
3520
|
|
|
3521
|
-
##### [text_exact](https://github.com/appium/ruby_lib/blob/
|
|
3521
|
+
##### [text_exact](https://github.com/appium/ruby_lib/blob/95118d4e0a6ec285e55862ea6b6fed528711ad84/lib/appium_lib/ios/xcuitest/element/text.rb#L47) ios
|
|
3522
3522
|
|
|
3523
3523
|
> def text_exact(value)
|
|
3524
3524
|
|
|
@@ -3534,7 +3534,7 @@ __Returns:__
|
|
|
3534
3534
|
|
|
3535
3535
|
--
|
|
3536
3536
|
|
|
3537
|
-
##### [texts_exact](https://github.com/appium/ruby_lib/blob/
|
|
3537
|
+
##### [texts_exact](https://github.com/appium/ruby_lib/blob/95118d4e0a6ec285e55862ea6b6fed528711ad84/lib/appium_lib/ios/xcuitest/element/text.rb#L54) ios
|
|
3538
3538
|
|
|
3539
3539
|
> def texts_exact(value)
|
|
3540
3540
|
|
|
@@ -3550,7 +3550,7 @@ __Returns:__
|
|
|
3550
3550
|
|
|
3551
3551
|
--
|
|
3552
3552
|
|
|
3553
|
-
##### [button_class](https://github.com/appium/ruby_lib/blob/
|
|
3553
|
+
##### [button_class](https://github.com/appium/ruby_lib/blob/95118d4e0a6ec285e55862ea6b6fed528711ad84/lib/appium_lib/ios/xcuitest/element/button.rb#L9) ios
|
|
3554
3554
|
|
|
3555
3555
|
> def button_class
|
|
3556
3556
|
|
|
@@ -3562,7 +3562,7 @@ __Returns:__
|
|
|
3562
3562
|
|
|
3563
3563
|
--
|
|
3564
3564
|
|
|
3565
|
-
##### [button](https://github.com/appium/ruby_lib/blob/
|
|
3565
|
+
##### [button](https://github.com/appium/ruby_lib/blob/95118d4e0a6ec285e55862ea6b6fed528711ad84/lib/appium_lib/ios/xcuitest/element/button.rb#L17) ios
|
|
3566
3566
|
|
|
3567
3567
|
> def button(value)
|
|
3568
3568
|
|
|
@@ -3579,7 +3579,7 @@ __Returns:__
|
|
|
3579
3579
|
|
|
3580
3580
|
--
|
|
3581
3581
|
|
|
3582
|
-
##### [buttons](https://github.com/appium/ruby_lib/blob/
|
|
3582
|
+
##### [buttons](https://github.com/appium/ruby_lib/blob/95118d4e0a6ec285e55862ea6b6fed528711ad84/lib/appium_lib/ios/xcuitest/element/button.rb#L27) ios
|
|
3583
3583
|
|
|
3584
3584
|
> def buttons(value = false)
|
|
3585
3585
|
|
|
@@ -3596,7 +3596,7 @@ __Returns:__
|
|
|
3596
3596
|
|
|
3597
3597
|
--
|
|
3598
3598
|
|
|
3599
|
-
##### [first_button](https://github.com/appium/ruby_lib/blob/
|
|
3599
|
+
##### [first_button](https://github.com/appium/ruby_lib/blob/95118d4e0a6ec285e55862ea6b6fed528711ad84/lib/appium_lib/ios/xcuitest/element/button.rb#L35) ios
|
|
3600
3600
|
|
|
3601
3601
|
> def first_button
|
|
3602
3602
|
|
|
@@ -3608,7 +3608,7 @@ __Returns:__
|
|
|
3608
3608
|
|
|
3609
3609
|
--
|
|
3610
3610
|
|
|
3611
|
-
##### [last_button](https://github.com/appium/ruby_lib/blob/
|
|
3611
|
+
##### [last_button](https://github.com/appium/ruby_lib/blob/95118d4e0a6ec285e55862ea6b6fed528711ad84/lib/appium_lib/ios/xcuitest/element/button.rb#L43) ios
|
|
3612
3612
|
|
|
3613
3613
|
> def last_button
|
|
3614
3614
|
|
|
@@ -3622,7 +3622,7 @@ __Returns:__
|
|
|
3622
3622
|
|
|
3623
3623
|
--
|
|
3624
3624
|
|
|
3625
|
-
##### [button_exact](https://github.com/appium/ruby_lib/blob/
|
|
3625
|
+
##### [button_exact](https://github.com/appium/ruby_lib/blob/95118d4e0a6ec285e55862ea6b6fed528711ad84/lib/appium_lib/ios/xcuitest/element/button.rb#L50) ios
|
|
3626
3626
|
|
|
3627
3627
|
> def button_exact(value)
|
|
3628
3628
|
|
|
@@ -3638,7 +3638,7 @@ __Returns:__
|
|
|
3638
3638
|
|
|
3639
3639
|
--
|
|
3640
3640
|
|
|
3641
|
-
##### [buttons_exact](https://github.com/appium/ruby_lib/blob/
|
|
3641
|
+
##### [buttons_exact](https://github.com/appium/ruby_lib/blob/95118d4e0a6ec285e55862ea6b6fed528711ad84/lib/appium_lib/ios/xcuitest/element/button.rb#L57) ios
|
|
3642
3642
|
|
|
3643
3643
|
> def buttons_exact(value)
|
|
3644
3644
|
|
|
@@ -3654,7 +3654,7 @@ __Returns:__
|
|
|
3654
3654
|
|
|
3655
3655
|
--
|
|
3656
3656
|
|
|
3657
|
-
##### [ios_class_chain_find](https://github.com/appium/ruby_lib/blob/
|
|
3657
|
+
##### [ios_class_chain_find](https://github.com/appium/ruby_lib/blob/95118d4e0a6ec285e55862ea6b6fed528711ad84/lib/appium_lib/ios/xcuitest/search_context.rb#L18) ios
|
|
3658
3658
|
|
|
3659
3659
|
> def ios_class_chain_find
|
|
3660
3660
|
|
|
@@ -3672,7 +3672,7 @@ find_element/s can be used with a [class chain]( https://github.com/facebook/Web
|
|
|
3672
3672
|
|
|
3673
3673
|
--
|
|
3674
3674
|
|
|
3675
|
-
##### [find](https://github.com/appium/ruby_lib/blob/
|
|
3675
|
+
##### [find](https://github.com/appium/ruby_lib/blob/95118d4e0a6ec285e55862ea6b6fed528711ad84/lib/appium_lib/ios/xcuitest/element/generic.rb#L8) ios
|
|
3676
3676
|
|
|
3677
3677
|
> def find(value)
|
|
3678
3678
|
|
|
@@ -3688,7 +3688,7 @@ __Returns:__
|
|
|
3688
3688
|
|
|
3689
3689
|
--
|
|
3690
3690
|
|
|
3691
|
-
##### [finds](https://github.com/appium/ruby_lib/blob/
|
|
3691
|
+
##### [finds](https://github.com/appium/ruby_lib/blob/95118d4e0a6ec285e55862ea6b6fed528711ad84/lib/appium_lib/ios/xcuitest/element/generic.rb#L15) ios
|
|
3692
3692
|
|
|
3693
3693
|
> def finds(value)
|
|
3694
3694
|
|
|
@@ -3704,7 +3704,7 @@ __Returns:__
|
|
|
3704
3704
|
|
|
3705
3705
|
--
|
|
3706
3706
|
|
|
3707
|
-
##### [find_exact](https://github.com/appium/ruby_lib/blob/
|
|
3707
|
+
##### [find_exact](https://github.com/appium/ruby_lib/blob/95118d4e0a6ec285e55862ea6b6fed528711ad84/lib/appium_lib/ios/xcuitest/element/generic.rb#L23) ios
|
|
3708
3708
|
|
|
3709
3709
|
> def find_exact(value)
|
|
3710
3710
|
|
|
@@ -3720,7 +3720,7 @@ __Returns:__
|
|
|
3720
3720
|
|
|
3721
3721
|
--
|
|
3722
3722
|
|
|
3723
|
-
##### [finds_exact](https://github.com/appium/ruby_lib/blob/
|
|
3723
|
+
##### [finds_exact](https://github.com/appium/ruby_lib/blob/95118d4e0a6ec285e55862ea6b6fed528711ad84/lib/appium_lib/ios/xcuitest/element/generic.rb#L30) ios
|
|
3724
3724
|
|
|
3725
3725
|
> def finds_exact(value)
|
|
3726
3726
|
|
|
@@ -3736,7 +3736,7 @@ __Returns:__
|
|
|
3736
3736
|
|
|
3737
3737
|
--
|
|
3738
3738
|
|
|
3739
|
-
##### [raise_error_if_no_element](https://github.com/appium/ruby_lib/blob/
|
|
3739
|
+
##### [raise_error_if_no_element](https://github.com/appium/ruby_lib/blob/95118d4e0a6ec285e55862ea6b6fed528711ad84/lib/appium_lib/ios/xcuitest/element/generic.rb#L37) ios
|
|
3740
3740
|
|
|
3741
3741
|
> def raise_error_if_no_element(element)
|
|
3742
3742
|
|
|
@@ -3744,7 +3744,7 @@ __Returns:__
|
|
|
3744
3744
|
|
|
3745
3745
|
--
|
|
3746
3746
|
|
|
3747
|
-
##### [select_visible_elements](https://github.com/appium/ruby_lib/blob/
|
|
3747
|
+
##### [select_visible_elements](https://github.com/appium/ruby_lib/blob/95118d4e0a6ec285e55862ea6b6fed528711ad84/lib/appium_lib/ios/xcuitest/element/generic.rb#L44) ios
|
|
3748
3748
|
|
|
3749
3749
|
> def select_visible_elements(elements)
|
|
3750
3750
|
|
|
@@ -3752,7 +3752,7 @@ Return visible elements.
|
|
|
3752
3752
|
|
|
3753
3753
|
--
|
|
3754
3754
|
|
|
3755
|
-
##### [text_field_class](https://github.com/appium/ruby_lib/blob/
|
|
3755
|
+
##### [text_field_class](https://github.com/appium/ruby_lib/blob/95118d4e0a6ec285e55862ea6b6fed528711ad84/lib/appium_lib/ios/xcuitest/element/textfield.rb#L9) ios
|
|
3756
3756
|
|
|
3757
3757
|
> def text_field_class
|
|
3758
3758
|
|
|
@@ -3764,7 +3764,7 @@ __Returns:__
|
|
|
3764
3764
|
|
|
3765
3765
|
--
|
|
3766
3766
|
|
|
3767
|
-
##### [secure_text_field_class](https://github.com/appium/ruby_lib/blob/
|
|
3767
|
+
##### [secure_text_field_class](https://github.com/appium/ruby_lib/blob/95118d4e0a6ec285e55862ea6b6fed528711ad84/lib/appium_lib/ios/xcuitest/element/textfield.rb#L14) ios
|
|
3768
3768
|
|
|
3769
3769
|
> def secure_text_field_class
|
|
3770
3770
|
|
|
@@ -3776,7 +3776,7 @@ __Returns:__
|
|
|
3776
3776
|
|
|
3777
3777
|
--
|
|
3778
3778
|
|
|
3779
|
-
##### [textfield](https://github.com/appium/ruby_lib/blob/
|
|
3779
|
+
##### [textfield](https://github.com/appium/ruby_lib/blob/95118d4e0a6ec285e55862ea6b6fed528711ad84/lib/appium_lib/ios/xcuitest/element/textfield.rb#L23) ios
|
|
3780
3780
|
|
|
3781
3781
|
> def textfield(value)
|
|
3782
3782
|
|
|
@@ -3794,7 +3794,7 @@ __Returns:__
|
|
|
3794
3794
|
|
|
3795
3795
|
--
|
|
3796
3796
|
|
|
3797
|
-
##### [textfields](https://github.com/appium/ruby_lib/blob/
|
|
3797
|
+
##### [textfields](https://github.com/appium/ruby_lib/blob/95118d4e0a6ec285e55862ea6b6fed528711ad84/lib/appium_lib/ios/xcuitest/element/textfield.rb#L41) ios
|
|
3798
3798
|
|
|
3799
3799
|
> def textfields(value = false)
|
|
3800
3800
|
|
|
@@ -3811,7 +3811,7 @@ __Returns:__
|
|
|
3811
3811
|
|
|
3812
3812
|
--
|
|
3813
3813
|
|
|
3814
|
-
##### [first_textfield](https://github.com/appium/ruby_lib/blob/
|
|
3814
|
+
##### [first_textfield](https://github.com/appium/ruby_lib/blob/95118d4e0a6ec285e55862ea6b6fed528711ad84/lib/appium_lib/ios/xcuitest/element/textfield.rb#L50) ios
|
|
3815
3815
|
|
|
3816
3816
|
> def first_textfield
|
|
3817
3817
|
|
|
@@ -3823,7 +3823,7 @@ __Returns:__
|
|
|
3823
3823
|
|
|
3824
3824
|
--
|
|
3825
3825
|
|
|
3826
|
-
##### [last_textfield](https://github.com/appium/ruby_lib/blob/
|
|
3826
|
+
##### [last_textfield](https://github.com/appium/ruby_lib/blob/95118d4e0a6ec285e55862ea6b6fed528711ad84/lib/appium_lib/ios/xcuitest/element/textfield.rb#L56) ios
|
|
3827
3827
|
|
|
3828
3828
|
> def last_textfield
|
|
3829
3829
|
|
|
@@ -3835,7 +3835,7 @@ __Returns:__
|
|
|
3835
3835
|
|
|
3836
3836
|
--
|
|
3837
3837
|
|
|
3838
|
-
##### [textfield_exact](https://github.com/appium/ruby_lib/blob/
|
|
3838
|
+
##### [textfield_exact](https://github.com/appium/ruby_lib/blob/95118d4e0a6ec285e55862ea6b6fed528711ad84/lib/appium_lib/ios/xcuitest/element/textfield.rb#L65) ios
|
|
3839
3839
|
|
|
3840
3840
|
> def textfield_exact(value)
|
|
3841
3841
|
|
|
@@ -3851,7 +3851,7 @@ __Returns:__
|
|
|
3851
3851
|
|
|
3852
3852
|
--
|
|
3853
3853
|
|
|
3854
|
-
##### [textfields_exact](https://github.com/appium/ruby_lib/blob/
|
|
3854
|
+
##### [textfields_exact](https://github.com/appium/ruby_lib/blob/95118d4e0a6ec285e55862ea6b6fed528711ad84/lib/appium_lib/ios/xcuitest/element/textfield.rb#L72) ios
|
|
3855
3855
|
|
|
3856
3856
|
> def textfields_exact(value)
|
|
3857
3857
|
|
|
@@ -3867,7 +3867,34 @@ __Returns:__
|
|
|
3867
3867
|
|
|
3868
3868
|
--
|
|
3869
3869
|
|
|
3870
|
-
##### [
|
|
3870
|
+
##### [set_pasteboard](https://github.com/appium/ruby_lib/blob/95118d4e0a6ec285e55862ea6b6fed528711ad84/lib/appium_lib/ios/xcuitest/command/pasteboard.rb#L12) ios
|
|
3871
|
+
|
|
3872
|
+
> def set_pasteboard(content:, encoding: nil)
|
|
3873
|
+
|
|
3874
|
+
|
|
3875
|
+
|
|
3876
|
+
__Parameters:__
|
|
3877
|
+
|
|
3878
|
+
[string] content - The content of the pasteboard. The previous content is going to be overridden.
|
|
3879
|
+
The parameter is mandatory
|
|
3880
|
+
|
|
3881
|
+
[Hash] opts - a customizable set of options
|
|
3882
|
+
|
|
3883
|
+
--
|
|
3884
|
+
|
|
3885
|
+
##### [get_pasteboard](https://github.com/appium/ruby_lib/blob/95118d4e0a6ec285e55862ea6b6fed528711ad84/lib/appium_lib/ios/xcuitest/command/pasteboard.rb#L24) ios
|
|
3886
|
+
|
|
3887
|
+
> def get_pasteboard(encoding: nil)
|
|
3888
|
+
|
|
3889
|
+
|
|
3890
|
+
|
|
3891
|
+
__Parameters:__
|
|
3892
|
+
|
|
3893
|
+
[Hash] opts - a customizable set of options
|
|
3894
|
+
|
|
3895
|
+
--
|
|
3896
|
+
|
|
3897
|
+
##### [value](https://github.com/appium/ruby_lib/blob/95118d4e0a6ec285e55862ea6b6fed528711ad84/lib/appium_lib/common/patch.rb#L12)
|
|
3871
3898
|
|
|
3872
3899
|
> def value
|
|
3873
3900
|
|
|
@@ -3877,7 +3904,7 @@ Fixes NoMethodError: undefined method `value' for Selenium::WebDriver::Element
|
|
|
3877
3904
|
|
|
3878
3905
|
--
|
|
3879
3906
|
|
|
3880
|
-
##### [name](https://github.com/appium/ruby_lib/blob/
|
|
3907
|
+
##### [name](https://github.com/appium/ruby_lib/blob/95118d4e0a6ec285e55862ea6b6fed528711ad84/lib/appium_lib/common/patch.rb#L19)
|
|
3881
3908
|
|
|
3882
3909
|
> def name
|
|
3883
3910
|
|
|
@@ -3887,7 +3914,7 @@ Fixes NoMethodError: undefined method `name' for Selenium::WebDriver::Element
|
|
|
3887
3914
|
|
|
3888
3915
|
--
|
|
3889
3916
|
|
|
3890
|
-
##### [location_rel](https://github.com/appium/ruby_lib/blob/
|
|
3917
|
+
##### [location_rel](https://github.com/appium/ruby_lib/blob/95118d4e0a6ec285e55862ea6b6fed528711ad84/lib/appium_lib/common/patch.rb#L30)
|
|
3891
3918
|
|
|
3892
3919
|
> def location_rel(driver = $driver)
|
|
3893
3920
|
|
|
@@ -3903,7 +3930,7 @@ __Returns:__
|
|
|
3903
3930
|
|
|
3904
3931
|
--
|
|
3905
3932
|
|
|
3906
|
-
##### [DEFAULT_HEADERS](https://github.com/appium/ruby_lib/blob/
|
|
3933
|
+
##### [DEFAULT_HEADERS](https://github.com/appium/ruby_lib/blob/95118d4e0a6ec285e55862ea6b6fed528711ad84/lib/appium_lib/common/patch.rb#L170)
|
|
3907
3934
|
|
|
3908
3935
|
> DEFAULT_HEADERS = { 'Accept' => CONTENT_TYPE, 'User-Agent' => "appium/ruby_lib/#{::Appium::VERSION}" }.freeze
|
|
3909
3936
|
|
|
@@ -3911,7 +3938,7 @@ __Returns:__
|
|
|
3911
3938
|
|
|
3912
3939
|
--
|
|
3913
3940
|
|
|
3914
|
-
##### [patch_remote_driver_commands](https://github.com/appium/ruby_lib/blob/
|
|
3941
|
+
##### [patch_remote_driver_commands](https://github.com/appium/ruby_lib/blob/95118d4e0a6ec285e55862ea6b6fed528711ad84/lib/appium_lib/common/patch.rb#L173)
|
|
3915
3942
|
|
|
3916
3943
|
> def patch_remote_driver_commands
|
|
3917
3944
|
|