appium_lib 8.2.0 → 8.2.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/docs/android_docs.md +2418 -4
- data/docs/ios_docs.md +247 -194
- data/lib/appium_lib/common/version.rb +2 -2
- data/lib/appium_lib/device/touch_actions.rb +1 -1
- data/lib/appium_lib/driver.rb +4 -4
- data/release_notes.md +16 -0
- metadata +2 -2
data/docs/ios_docs.md
CHANGED
@@ -1,9 +1,8 @@
|
|
1
|
-
##### [
|
1
|
+
##### [load_settings](https://github.com/appium/ruby_lib/blob/ad91ee47a96bf7a19b6f784dc760ac70b8788e5a/lib/appium_lib/driver.rb#L69)
|
2
2
|
|
3
|
-
> def self.
|
3
|
+
> def self.load_settings(opts = {})
|
4
4
|
|
5
|
-
Load
|
6
|
-
the basedir of this file + appium.txt is what's used
|
5
|
+
Load arbitrary text (toml format)
|
7
6
|
|
8
7
|
```
|
9
8
|
[caps]
|
@@ -27,7 +26,53 @@ __Returns:__
|
|
27
26
|
|
28
27
|
--
|
29
28
|
|
30
|
-
##### [
|
29
|
+
##### [load_appium_txt](https://github.com/appium/ruby_lib/blob/ad91ee47a96bf7a19b6f784dc760ac70b8788e5a/lib/appium_lib/driver.rb#L102)
|
30
|
+
|
31
|
+
> def self.load_settings(opts = {})
|
32
|
+
|
33
|
+
Load arbitrary text (toml format)
|
34
|
+
|
35
|
+
```
|
36
|
+
[caps]
|
37
|
+
app = "path/to/app"
|
38
|
+
|
39
|
+
[appium_lib]
|
40
|
+
port = 8080
|
41
|
+
```
|
42
|
+
|
43
|
+
:app is expanded
|
44
|
+
:require is expanded
|
45
|
+
all keys are converted to symbols
|
46
|
+
|
47
|
+
__Parameters:__
|
48
|
+
|
49
|
+
[Hash] opts - file: '/path/to/appium.txt', verbose: true
|
50
|
+
|
51
|
+
__Returns:__
|
52
|
+
|
53
|
+
[hash] the symbolized hash with updated :app and :require keys
|
54
|
+
|
55
|
+
--
|
56
|
+
|
57
|
+
##### [expand_required_files](https://github.com/appium/ruby_lib/blob/ad91ee47a96bf7a19b6f784dc760ac70b8788e5a/lib/appium_lib/driver.rb#L108)
|
58
|
+
|
59
|
+
> def self.expand_required_files(base_dir, file_paths)
|
60
|
+
|
61
|
+
|
62
|
+
|
63
|
+
__Parameters:__
|
64
|
+
|
65
|
+
[String] base_dir - parent directory of loaded appium.txt (toml)
|
66
|
+
|
67
|
+
[String] file_paths -
|
68
|
+
|
69
|
+
__Returns:__
|
70
|
+
|
71
|
+
[Array] list of require files as an array, nil if require doesn't exist
|
72
|
+
|
73
|
+
--
|
74
|
+
|
75
|
+
##### [symbolize_keys](https://github.com/appium/ruby_lib/blob/ad91ee47a96bf7a19b6f784dc760ac70b8788e5a/lib/appium_lib/driver.rb#L140)
|
31
76
|
|
32
77
|
> def self.symbolize_keys(hash)
|
33
78
|
|
@@ -38,7 +83,7 @@ https://github.com/rails/docrails/blob/a3b1105ada3da64acfa3843b164b14b734456a50/
|
|
38
83
|
|
39
84
|
--
|
40
85
|
|
41
|
-
##### [promote_singleton_appium_methods](https://github.com/appium/ruby_lib/blob/
|
86
|
+
##### [promote_singleton_appium_methods](https://github.com/appium/ruby_lib/blob/ad91ee47a96bf7a19b6f784dc760ac70b8788e5a/lib/appium_lib/driver.rb#L161)
|
42
87
|
|
43
88
|
> def self.promote_singleton_appium_methods(modules)
|
44
89
|
|
@@ -56,7 +101,7 @@ otherwise, the array of modules will be used as the promotion target.
|
|
56
101
|
|
57
102
|
--
|
58
103
|
|
59
|
-
##### [promote_appium_methods](https://github.com/appium/ruby_lib/blob/
|
104
|
+
##### [promote_appium_methods](https://github.com/appium/ruby_lib/blob/ad91ee47a96bf7a19b6f784dc760ac70b8788e5a/lib/appium_lib/driver.rb#L212)
|
60
105
|
|
61
106
|
> def self.promote_appium_methods(class_array)
|
62
107
|
|
@@ -86,7 +131,7 @@ __Parameters:__
|
|
86
131
|
|
87
132
|
--
|
88
133
|
|
89
|
-
##### [global_webdriver_http_sleep](https://github.com/appium/ruby_lib/blob/
|
134
|
+
##### [global_webdriver_http_sleep](https://github.com/appium/ruby_lib/blob/ad91ee47a96bf7a19b6f784dc760ac70b8788e5a/lib/appium_lib/driver.rb#L246)
|
90
135
|
|
91
136
|
> def global_webdriver_http_sleep
|
92
137
|
|
@@ -94,7 +139,7 @@ The amount to sleep in seconds before every webdriver http call.
|
|
94
139
|
|
95
140
|
--
|
96
141
|
|
97
|
-
##### [global_webdriver_http_sleep=](https://github.com/appium/ruby_lib/blob/
|
142
|
+
##### [global_webdriver_http_sleep=](https://github.com/appium/ruby_lib/blob/ad91ee47a96bf7a19b6f784dc760ac70b8788e5a/lib/appium_lib/driver.rb#L246)
|
98
143
|
|
99
144
|
> def global_webdriver_http_sleep=(value)
|
100
145
|
|
@@ -102,7 +147,7 @@ The amount to sleep in seconds before every webdriver http call.
|
|
102
147
|
|
103
148
|
--
|
104
149
|
|
105
|
-
##### [caps](https://github.com/appium/ruby_lib/blob/
|
150
|
+
##### [caps](https://github.com/appium/ruby_lib/blob/ad91ee47a96bf7a19b6f784dc760ac70b8788e5a/lib/appium_lib/driver.rb#L248)
|
106
151
|
|
107
152
|
> def caps
|
108
153
|
|
@@ -110,7 +155,7 @@ Selenium webdriver capabilities
|
|
110
155
|
|
111
156
|
--
|
112
157
|
|
113
|
-
##### [caps=](https://github.com/appium/ruby_lib/blob/
|
158
|
+
##### [caps=](https://github.com/appium/ruby_lib/blob/ad91ee47a96bf7a19b6f784dc760ac70b8788e5a/lib/appium_lib/driver.rb#L248)
|
114
159
|
|
115
160
|
> def caps=(value)
|
116
161
|
|
@@ -118,7 +163,7 @@ Selenium webdriver capabilities
|
|
118
163
|
|
119
164
|
--
|
120
165
|
|
121
|
-
##### [custom_url](https://github.com/appium/ruby_lib/blob/
|
166
|
+
##### [custom_url](https://github.com/appium/ruby_lib/blob/ad91ee47a96bf7a19b6f784dc760ac70b8788e5a/lib/appium_lib/driver.rb#L250)
|
122
167
|
|
123
168
|
> def custom_url
|
124
169
|
|
@@ -126,7 +171,7 @@ Custom URL for the selenium server
|
|
126
171
|
|
127
172
|
--
|
128
173
|
|
129
|
-
##### [custom_url=](https://github.com/appium/ruby_lib/blob/
|
174
|
+
##### [custom_url=](https://github.com/appium/ruby_lib/blob/ad91ee47a96bf7a19b6f784dc760ac70b8788e5a/lib/appium_lib/driver.rb#L250)
|
130
175
|
|
131
176
|
> def custom_url=(value)
|
132
177
|
|
@@ -134,7 +179,7 @@ Custom URL for the selenium server
|
|
134
179
|
|
135
180
|
--
|
136
181
|
|
137
|
-
##### [export_session](https://github.com/appium/ruby_lib/blob/
|
182
|
+
##### [export_session](https://github.com/appium/ruby_lib/blob/ad91ee47a96bf7a19b6f784dc760ac70b8788e5a/lib/appium_lib/driver.rb#L252)
|
138
183
|
|
139
184
|
> def export_session
|
140
185
|
|
@@ -142,7 +187,7 @@ Export session id to textfile in /tmp for 3rd party tools
|
|
142
187
|
|
143
188
|
--
|
144
189
|
|
145
|
-
##### [export_session=](https://github.com/appium/ruby_lib/blob/
|
190
|
+
##### [export_session=](https://github.com/appium/ruby_lib/blob/ad91ee47a96bf7a19b6f784dc760ac70b8788e5a/lib/appium_lib/driver.rb#L252)
|
146
191
|
|
147
192
|
> def export_session=(value)
|
148
193
|
|
@@ -150,7 +195,7 @@ Export session id to textfile in /tmp for 3rd party tools
|
|
150
195
|
|
151
196
|
--
|
152
197
|
|
153
|
-
##### [default_wait](https://github.com/appium/ruby_lib/blob/
|
198
|
+
##### [default_wait](https://github.com/appium/ruby_lib/blob/ad91ee47a96bf7a19b6f784dc760ac70b8788e5a/lib/appium_lib/driver.rb#L257)
|
154
199
|
|
155
200
|
> def default_wait
|
156
201
|
|
@@ -164,7 +209,7 @@ __Returns:__
|
|
164
209
|
|
165
210
|
--
|
166
211
|
|
167
|
-
##### [default_wait=](https://github.com/appium/ruby_lib/blob/
|
212
|
+
##### [default_wait=](https://github.com/appium/ruby_lib/blob/ad91ee47a96bf7a19b6f784dc760ac70b8788e5a/lib/appium_lib/driver.rb#L257)
|
168
213
|
|
169
214
|
> def default_wait=(value)
|
170
215
|
|
@@ -178,7 +223,7 @@ __Returns:__
|
|
178
223
|
|
179
224
|
--
|
180
225
|
|
181
|
-
##### [last_waits](https://github.com/appium/ruby_lib/blob/
|
226
|
+
##### [last_waits](https://github.com/appium/ruby_lib/blob/ad91ee47a96bf7a19b6f784dc760ac70b8788e5a/lib/appium_lib/driver.rb#L259)
|
182
227
|
|
183
228
|
> def last_waits
|
184
229
|
|
@@ -186,7 +231,7 @@ Array of previous wait time values
|
|
186
231
|
|
187
232
|
--
|
188
233
|
|
189
|
-
##### [last_waits=](https://github.com/appium/ruby_lib/blob/
|
234
|
+
##### [last_waits=](https://github.com/appium/ruby_lib/blob/ad91ee47a96bf7a19b6f784dc760ac70b8788e5a/lib/appium_lib/driver.rb#L259)
|
190
235
|
|
191
236
|
> def last_waits=(value)
|
192
237
|
|
@@ -194,7 +239,7 @@ Array of previous wait time values
|
|
194
239
|
|
195
240
|
--
|
196
241
|
|
197
|
-
##### [sauce_username](https://github.com/appium/ruby_lib/blob/
|
242
|
+
##### [sauce_username](https://github.com/appium/ruby_lib/blob/ad91ee47a96bf7a19b6f784dc760ac70b8788e5a/lib/appium_lib/driver.rb#L261)
|
198
243
|
|
199
244
|
> def sauce_username
|
200
245
|
|
@@ -202,7 +247,7 @@ Username for use on Sauce Labs
|
|
202
247
|
|
203
248
|
--
|
204
249
|
|
205
|
-
##### [sauce_username=](https://github.com/appium/ruby_lib/blob/
|
250
|
+
##### [sauce_username=](https://github.com/appium/ruby_lib/blob/ad91ee47a96bf7a19b6f784dc760ac70b8788e5a/lib/appium_lib/driver.rb#L261)
|
206
251
|
|
207
252
|
> def sauce_username=(value)
|
208
253
|
|
@@ -210,7 +255,7 @@ Username for use on Sauce Labs
|
|
210
255
|
|
211
256
|
--
|
212
257
|
|
213
|
-
##### [sauce_access_key](https://github.com/appium/ruby_lib/blob/
|
258
|
+
##### [sauce_access_key](https://github.com/appium/ruby_lib/blob/ad91ee47a96bf7a19b6f784dc760ac70b8788e5a/lib/appium_lib/driver.rb#L263)
|
214
259
|
|
215
260
|
> def sauce_access_key
|
216
261
|
|
@@ -218,7 +263,7 @@ Access Key for use on Sauce Labs
|
|
218
263
|
|
219
264
|
--
|
220
265
|
|
221
|
-
##### [sauce_access_key=](https://github.com/appium/ruby_lib/blob/
|
266
|
+
##### [sauce_access_key=](https://github.com/appium/ruby_lib/blob/ad91ee47a96bf7a19b6f784dc760ac70b8788e5a/lib/appium_lib/driver.rb#L263)
|
222
267
|
|
223
268
|
> def sauce_access_key=(value)
|
224
269
|
|
@@ -226,7 +271,7 @@ Access Key for use on Sauce Labs
|
|
226
271
|
|
227
272
|
--
|
228
273
|
|
229
|
-
##### [appium_port](https://github.com/appium/ruby_lib/blob/
|
274
|
+
##### [appium_port](https://github.com/appium/ruby_lib/blob/ad91ee47a96bf7a19b6f784dc760ac70b8788e5a/lib/appium_lib/driver.rb#L265)
|
230
275
|
|
231
276
|
> def appium_port
|
232
277
|
|
@@ -234,7 +279,7 @@ Appium's server port
|
|
234
279
|
|
235
280
|
--
|
236
281
|
|
237
|
-
##### [appium_port=](https://github.com/appium/ruby_lib/blob/
|
282
|
+
##### [appium_port=](https://github.com/appium/ruby_lib/blob/ad91ee47a96bf7a19b6f784dc760ac70b8788e5a/lib/appium_lib/driver.rb#L265)
|
238
283
|
|
239
284
|
> def appium_port=(value)
|
240
285
|
|
@@ -242,7 +287,7 @@ Appium's server port
|
|
242
287
|
|
243
288
|
--
|
244
289
|
|
245
|
-
##### [appium_device](https://github.com/appium/ruby_lib/blob/
|
290
|
+
##### [appium_device](https://github.com/appium/ruby_lib/blob/ad91ee47a96bf7a19b6f784dc760ac70b8788e5a/lib/appium_lib/driver.rb#L267)
|
246
291
|
|
247
292
|
> def appium_device
|
248
293
|
|
@@ -250,7 +295,7 @@ Device type to request from the appium server
|
|
250
295
|
|
251
296
|
--
|
252
297
|
|
253
|
-
##### [appium_device=](https://github.com/appium/ruby_lib/blob/
|
298
|
+
##### [appium_device=](https://github.com/appium/ruby_lib/blob/ad91ee47a96bf7a19b6f784dc760ac70b8788e5a/lib/appium_lib/driver.rb#L267)
|
254
299
|
|
255
300
|
> def appium_device=(value)
|
256
301
|
|
@@ -258,7 +303,7 @@ Device type to request from the appium server
|
|
258
303
|
|
259
304
|
--
|
260
305
|
|
261
|
-
##### [appium_debug](https://github.com/appium/ruby_lib/blob/
|
306
|
+
##### [appium_debug](https://github.com/appium/ruby_lib/blob/ad91ee47a96bf7a19b6f784dc760ac70b8788e5a/lib/appium_lib/driver.rb#L269)
|
262
307
|
|
263
308
|
> def appium_debug
|
264
309
|
|
@@ -266,7 +311,7 @@ Boolean debug mode for the Appium Ruby bindings
|
|
266
311
|
|
267
312
|
--
|
268
313
|
|
269
|
-
##### [appium_debug=](https://github.com/appium/ruby_lib/blob/
|
314
|
+
##### [appium_debug=](https://github.com/appium/ruby_lib/blob/ad91ee47a96bf7a19b6f784dc760ac70b8788e5a/lib/appium_lib/driver.rb#L269)
|
270
315
|
|
271
316
|
> def appium_debug=(value)
|
272
317
|
|
@@ -274,7 +319,7 @@ Boolean debug mode for the Appium Ruby bindings
|
|
274
319
|
|
275
320
|
--
|
276
321
|
|
277
|
-
##### [listener](https://github.com/appium/ruby_lib/blob/
|
322
|
+
##### [listener](https://github.com/appium/ruby_lib/blob/ad91ee47a96bf7a19b6f784dc760ac70b8788e5a/lib/appium_lib/driver.rb#L271)
|
278
323
|
|
279
324
|
> def listener
|
280
325
|
|
@@ -282,7 +327,7 @@ instance of AbstractEventListener for logging support
|
|
282
327
|
|
283
328
|
--
|
284
329
|
|
285
|
-
##### [listener=](https://github.com/appium/ruby_lib/blob/
|
330
|
+
##### [listener=](https://github.com/appium/ruby_lib/blob/ad91ee47a96bf7a19b6f784dc760ac70b8788e5a/lib/appium_lib/driver.rb#L271)
|
286
331
|
|
287
332
|
> def listener=(value)
|
288
333
|
|
@@ -290,7 +335,7 @@ instance of AbstractEventListener for logging support
|
|
290
335
|
|
291
336
|
--
|
292
337
|
|
293
|
-
##### [driver](https://github.com/appium/ruby_lib/blob/
|
338
|
+
##### [driver](https://github.com/appium/ruby_lib/blob/ad91ee47a96bf7a19b6f784dc760ac70b8788e5a/lib/appium_lib/driver.rb#L275)
|
294
339
|
|
295
340
|
> def driver
|
296
341
|
|
@@ -302,7 +347,7 @@ __Returns:__
|
|
302
347
|
|
303
348
|
--
|
304
349
|
|
305
|
-
##### [initialize](https://github.com/appium/ruby_lib/blob/
|
350
|
+
##### [initialize](https://github.com/appium/ruby_lib/blob/ad91ee47a96bf7a19b6f784dc760ac70b8788e5a/lib/appium_lib/driver.rb#L296)
|
306
351
|
|
307
352
|
> def initialize(opts = {})
|
308
353
|
|
@@ -333,7 +378,7 @@ __Returns:__
|
|
333
378
|
|
334
379
|
--
|
335
380
|
|
336
|
-
##### [driver_attributes](https://github.com/appium/ruby_lib/blob/
|
381
|
+
##### [driver_attributes](https://github.com/appium/ruby_lib/blob/ad91ee47a96bf7a19b6f784dc760ac70b8788e5a/lib/appium_lib/driver.rb#L364)
|
337
382
|
|
338
383
|
> def driver_attributes
|
339
384
|
|
@@ -341,7 +386,7 @@ Returns a hash of the driver attributes
|
|
341
386
|
|
342
387
|
--
|
343
388
|
|
344
|
-
##### [device_is_android?](https://github.com/appium/ruby_lib/blob/
|
389
|
+
##### [device_is_android?](https://github.com/appium/ruby_lib/blob/ad91ee47a96bf7a19b6f784dc760ac70b8788e5a/lib/appium_lib/driver.rb#L385)
|
345
390
|
|
346
391
|
> def device_is_android?
|
347
392
|
|
@@ -353,7 +398,7 @@ __Returns:__
|
|
353
398
|
|
354
399
|
--
|
355
400
|
|
356
|
-
##### [appium_server_version](https://github.com/appium/ruby_lib/blob/
|
401
|
+
##### [appium_server_version](https://github.com/appium/ruby_lib/blob/ad91ee47a96bf7a19b6f784dc760ac70b8788e5a/lib/appium_lib/driver.rb#L401)
|
357
402
|
|
358
403
|
> def appium_server_version
|
359
404
|
|
@@ -374,7 +419,7 @@ __Returns:__
|
|
374
419
|
|
375
420
|
--
|
376
421
|
|
377
|
-
##### [absolute_app_path](https://github.com/appium/ruby_lib/blob/
|
422
|
+
##### [absolute_app_path](https://github.com/appium/ruby_lib/blob/ad91ee47a96bf7a19b6f784dc760ac70b8788e5a/lib/appium_lib/driver.rb#L413)
|
378
423
|
|
379
424
|
> def self.absolute_app_path(opts)
|
380
425
|
|
@@ -391,7 +436,7 @@ __Returns:__
|
|
391
436
|
|
392
437
|
--
|
393
438
|
|
394
|
-
##### [server_url](https://github.com/appium/ruby_lib/blob/
|
439
|
+
##### [server_url](https://github.com/appium/ruby_lib/blob/ad91ee47a96bf7a19b6f784dc760ac70b8788e5a/lib/appium_lib/driver.rb#L446)
|
395
440
|
|
396
441
|
> def server_url
|
397
442
|
|
@@ -403,7 +448,7 @@ __Returns:__
|
|
403
448
|
|
404
449
|
--
|
405
450
|
|
406
|
-
##### [restart](https://github.com/appium/ruby_lib/blob/
|
451
|
+
##### [restart](https://github.com/appium/ruby_lib/blob/ad91ee47a96bf7a19b6f784dc760ac70b8788e5a/lib/appium_lib/driver.rb#L457)
|
407
452
|
|
408
453
|
> def restart
|
409
454
|
|
@@ -415,7 +460,7 @@ __Returns:__
|
|
415
460
|
|
416
461
|
--
|
417
462
|
|
418
|
-
##### [screenshot](https://github.com/appium/ruby_lib/blob/
|
463
|
+
##### [screenshot](https://github.com/appium/ruby_lib/blob/ad91ee47a96bf7a19b6f784dc760ac70b8788e5a/lib/appium_lib/driver.rb#L468)
|
419
464
|
|
420
465
|
> def screenshot(png_save_path)
|
421
466
|
|
@@ -433,7 +478,7 @@ __Returns:__
|
|
433
478
|
|
434
479
|
--
|
435
480
|
|
436
|
-
##### [driver_quit](https://github.com/appium/ruby_lib/blob/
|
481
|
+
##### [driver_quit](https://github.com/appium/ruby_lib/blob/ad91ee47a96bf7a19b6f784dc760ac70b8788e5a/lib/appium_lib/driver.rb#L475)
|
437
482
|
|
438
483
|
> def driver_quit
|
439
484
|
|
@@ -445,7 +490,7 @@ __Returns:__
|
|
445
490
|
|
446
491
|
--
|
447
492
|
|
448
|
-
##### [start_driver](https://github.com/appium/ruby_lib/blob/
|
493
|
+
##### [start_driver](https://github.com/appium/ruby_lib/blob/ad91ee47a96bf7a19b6f784dc760ac70b8788e5a/lib/appium_lib/driver.rb#L484)
|
449
494
|
|
450
495
|
> def start_driver
|
451
496
|
|
@@ -457,7 +502,7 @@ __Returns:__
|
|
457
502
|
|
458
503
|
--
|
459
504
|
|
460
|
-
##### [no_wait](https://github.com/appium/ruby_lib/blob/
|
505
|
+
##### [no_wait](https://github.com/appium/ruby_lib/blob/ad91ee47a96bf7a19b6f784dc760ac70b8788e5a/lib/appium_lib/driver.rb#L517)
|
461
506
|
|
462
507
|
> def no_wait
|
463
508
|
|
@@ -465,7 +510,7 @@ Set implicit wait and default_wait to zero.
|
|
465
510
|
|
466
511
|
--
|
467
512
|
|
468
|
-
##### [set_wait](https://github.com/appium/ruby_lib/blob/
|
513
|
+
##### [set_wait](https://github.com/appium/ruby_lib/blob/ad91ee47a96bf7a19b6f784dc760ac70b8788e5a/lib/appium_lib/driver.rb#L536)
|
469
514
|
|
470
515
|
> def set_wait(timeout = nil)
|
471
516
|
|
@@ -490,7 +535,7 @@ __Returns:__
|
|
490
535
|
|
491
536
|
--
|
492
537
|
|
493
|
-
##### [exists](https://github.com/appium/ruby_lib/blob/
|
538
|
+
##### [exists](https://github.com/appium/ruby_lib/blob/ad91ee47a96bf7a19b6f784dc760ac70b8788e5a/lib/appium_lib/driver.rb#L563)
|
494
539
|
|
495
540
|
> def exists(pre_check = 0, post_check = @default_wait, &search_block)
|
496
541
|
|
@@ -516,7 +561,7 @@ __Returns:__
|
|
516
561
|
|
517
562
|
--
|
518
563
|
|
519
|
-
##### [execute_script](https://github.com/appium/ruby_lib/blob/
|
564
|
+
##### [execute_script](https://github.com/appium/ruby_lib/blob/ad91ee47a96bf7a19b6f784dc760ac70b8788e5a/lib/appium_lib/driver.rb#L587)
|
520
565
|
|
521
566
|
> def execute_script(script, *args)
|
522
567
|
|
@@ -534,7 +579,7 @@ __Returns:__
|
|
534
579
|
|
535
580
|
--
|
536
581
|
|
537
|
-
##### [find_elements](https://github.com/appium/ruby_lib/blob/
|
582
|
+
##### [find_elements](https://github.com/appium/ruby_lib/blob/ad91ee47a96bf7a19b6f784dc760ac70b8788e5a/lib/appium_lib/driver.rb#L595)
|
538
583
|
|
539
584
|
> def find_elements(*args)
|
540
585
|
|
@@ -550,7 +595,7 @@ __Returns:__
|
|
550
595
|
|
551
596
|
--
|
552
597
|
|
553
|
-
##### [find_element](https://github.com/appium/ruby_lib/blob/
|
598
|
+
##### [find_element](https://github.com/appium/ruby_lib/blob/ad91ee47a96bf7a19b6f784dc760ac70b8788e5a/lib/appium_lib/driver.rb#L603)
|
554
599
|
|
555
600
|
> def find_element(*args)
|
556
601
|
|
@@ -566,7 +611,7 @@ __Returns:__
|
|
566
611
|
|
567
612
|
--
|
568
613
|
|
569
|
-
##### [set_location](https://github.com/appium/ruby_lib/blob/
|
614
|
+
##### [set_location](https://github.com/appium/ruby_lib/blob/ad91ee47a96bf7a19b6f784dc760ac70b8788e5a/lib/appium_lib/driver.rb#L616)
|
570
615
|
|
571
616
|
> def set_location(opts = {})
|
572
617
|
|
@@ -582,7 +627,7 @@ __Returns:__
|
|
582
627
|
|
583
628
|
--
|
584
629
|
|
585
|
-
##### [x](https://github.com/appium/ruby_lib/blob/
|
630
|
+
##### [x](https://github.com/appium/ruby_lib/blob/ad91ee47a96bf7a19b6f784dc760ac70b8788e5a/lib/appium_lib/driver.rb#L626)
|
586
631
|
|
587
632
|
> def x
|
588
633
|
|
@@ -595,7 +640,7 @@ __Returns:__
|
|
595
640
|
|
596
641
|
--
|
597
642
|
|
598
|
-
##### [logger=](https://github.com/appium/ruby_lib/blob/
|
643
|
+
##### [logger=](https://github.com/appium/ruby_lib/blob/ad91ee47a96bf7a19b6f784dc760ac70b8788e5a/lib/appium_lib/logger.rb#L13)
|
599
644
|
|
600
645
|
> def logger=(value)
|
601
646
|
|
@@ -607,7 +652,7 @@ __Parameters:__
|
|
607
652
|
|
608
653
|
--
|
609
654
|
|
610
|
-
##### [logger](https://github.com/appium/ruby_lib/blob/
|
655
|
+
##### [logger](https://github.com/appium/ruby_lib/blob/ad91ee47a96bf7a19b6f784dc760ac70b8788e5a/lib/appium_lib/logger.rb#L17)
|
611
656
|
|
612
657
|
> def logger
|
613
658
|
|
@@ -615,7 +660,7 @@ __Parameters:__
|
|
615
660
|
|
616
661
|
--
|
617
662
|
|
618
|
-
##### [NoArgMethods](https://github.com/appium/ruby_lib/blob/
|
663
|
+
##### [NoArgMethods](https://github.com/appium/ruby_lib/blob/ad91ee47a96bf7a19b6f784dc760ac70b8788e5a/lib/appium_lib/device/device.rb#L7)
|
619
664
|
|
620
665
|
> NoArgMethods = {
|
621
666
|
|
@@ -623,7 +668,7 @@ __Parameters:__
|
|
623
668
|
|
624
669
|
--
|
625
670
|
|
626
|
-
##### [app_strings](https://github.com/appium/ruby_lib/blob/
|
671
|
+
##### [app_strings](https://github.com/appium/ruby_lib/blob/ad91ee47a96bf7a19b6f784dc760ac70b8788e5a/lib/appium_lib/device/device.rb#L25)
|
627
672
|
|
628
673
|
> def app_strings
|
629
674
|
|
@@ -634,7 +679,7 @@ app_strings #=> "TransitionsTitle"=>"Transitions", "WebTitle"=>"Web"
|
|
634
679
|
|
635
680
|
--
|
636
681
|
|
637
|
-
##### [background_app](https://github.com/appium/ruby_lib/blob/
|
682
|
+
##### [background_app](https://github.com/appium/ruby_lib/blob/ad91ee47a96bf7a19b6f784dc760ac70b8788e5a/lib/appium_lib/device/device.rb#L31)
|
638
683
|
|
639
684
|
> def background_app
|
640
685
|
|
@@ -643,7 +688,7 @@ This is a blocking application
|
|
643
688
|
|
644
689
|
--
|
645
690
|
|
646
|
-
##### [current_activity](https://github.com/appium/ruby_lib/blob/
|
691
|
+
##### [current_activity](https://github.com/appium/ruby_lib/blob/ad91ee47a96bf7a19b6f784dc760ac70b8788e5a/lib/appium_lib/device/device.rb#L36)
|
647
692
|
|
648
693
|
> def current_activity
|
649
694
|
|
@@ -651,7 +696,7 @@ This is a blocking application
|
|
651
696
|
|
652
697
|
--
|
653
698
|
|
654
|
-
##### [launch_app](https://github.com/appium/ruby_lib/blob/
|
699
|
+
##### [launch_app](https://github.com/appium/ruby_lib/blob/ad91ee47a96bf7a19b6f784dc760ac70b8788e5a/lib/appium_lib/device/device.rb#L38)
|
655
700
|
|
656
701
|
> def launch_app
|
657
702
|
|
@@ -659,7 +704,7 @@ Start the simulator and application configured with desired capabilities
|
|
659
704
|
|
660
705
|
--
|
661
706
|
|
662
|
-
##### [reset](https://github.com/appium/ruby_lib/blob/
|
707
|
+
##### [reset](https://github.com/appium/ruby_lib/blob/ad91ee47a96bf7a19b6f784dc760ac70b8788e5a/lib/appium_lib/device/device.rb#L41)
|
663
708
|
|
664
709
|
> def reset
|
665
710
|
|
@@ -667,7 +712,7 @@ Reset the device, relaunching the application.
|
|
667
712
|
|
668
713
|
--
|
669
714
|
|
670
|
-
##### [shake](https://github.com/appium/ruby_lib/blob/
|
715
|
+
##### [shake](https://github.com/appium/ruby_lib/blob/ad91ee47a96bf7a19b6f784dc760ac70b8788e5a/lib/appium_lib/device/device.rb#L44)
|
671
716
|
|
672
717
|
> def shake
|
673
718
|
|
@@ -675,7 +720,7 @@ Cause the device to shake
|
|
675
720
|
|
676
721
|
--
|
677
722
|
|
678
|
-
##### [toggle_flight_mode](https://github.com/appium/ruby_lib/blob/
|
723
|
+
##### [toggle_flight_mode](https://github.com/appium/ruby_lib/blob/ad91ee47a96bf7a19b6f784dc760ac70b8788e5a/lib/appium_lib/device/device.rb#L47)
|
679
724
|
|
680
725
|
> def toggle_flight_mode
|
681
726
|
|
@@ -683,7 +728,7 @@ Toggle flight mode on or off
|
|
683
728
|
|
684
729
|
--
|
685
730
|
|
686
|
-
##### [device_locked?](https://github.com/appium/ruby_lib/blob/
|
731
|
+
##### [device_locked?](https://github.com/appium/ruby_lib/blob/ad91ee47a96bf7a19b6f784dc760ac70b8788e5a/lib/appium_lib/device/device.rb#L50)
|
687
732
|
|
688
733
|
> def device_locked?
|
689
734
|
|
@@ -691,7 +736,7 @@ Toggle flight mode on or off
|
|
691
736
|
|
692
737
|
--
|
693
738
|
|
694
|
-
##### [hide_keyboard](https://github.com/appium/ruby_lib/blob/
|
739
|
+
##### [hide_keyboard](https://github.com/appium/ruby_lib/blob/ad91ee47a96bf7a19b6f784dc760ac70b8788e5a/lib/appium_lib/device/device.rb#L52)
|
695
740
|
|
696
741
|
> def hide_keyboard
|
697
742
|
|
@@ -704,7 +749,7 @@ Defaults to 'Done'.
|
|
704
749
|
|
705
750
|
--
|
706
751
|
|
707
|
-
##### [press_keycode](https://github.com/appium/ruby_lib/blob/
|
752
|
+
##### [press_keycode](https://github.com/appium/ruby_lib/blob/ad91ee47a96bf7a19b6f784dc760ac70b8788e5a/lib/appium_lib/device/device.rb#L61)
|
708
753
|
|
709
754
|
> def press_keycode
|
710
755
|
|
@@ -719,7 +764,7 @@ __Parameters:__
|
|
719
764
|
|
720
765
|
--
|
721
766
|
|
722
|
-
##### [long_press_keycode](https://github.com/appium/ruby_lib/blob/
|
767
|
+
##### [long_press_keycode](https://github.com/appium/ruby_lib/blob/ad91ee47a96bf7a19b6f784dc760ac70b8788e5a/lib/appium_lib/device/device.rb#L67)
|
723
768
|
|
724
769
|
> def long_press_keycode
|
725
770
|
|
@@ -734,7 +779,7 @@ __Parameters:__
|
|
734
779
|
|
735
780
|
--
|
736
781
|
|
737
|
-
##### [push_file](https://github.com/appium/ruby_lib/blob/
|
782
|
+
##### [push_file](https://github.com/appium/ruby_lib/blob/ad91ee47a96bf7a19b6f784dc760ac70b8788e5a/lib/appium_lib/device/device.rb#L73)
|
738
783
|
|
739
784
|
> def push_file
|
740
785
|
|
@@ -748,7 +793,7 @@ __Parameters:__
|
|
748
793
|
|
749
794
|
--
|
750
795
|
|
751
|
-
##### [pull_file](https://github.com/appium/ruby_lib/blob/
|
796
|
+
##### [pull_file](https://github.com/appium/ruby_lib/blob/ad91ee47a96bf7a19b6f784dc760ac70b8788e5a/lib/appium_lib/device/device.rb#L78)
|
752
797
|
|
753
798
|
> def pull_file
|
754
799
|
|
@@ -765,7 +810,7 @@ __Parameters:__
|
|
765
810
|
|
766
811
|
--
|
767
812
|
|
768
|
-
##### [pull_folder](https://github.com/appium/ruby_lib/blob/
|
813
|
+
##### [pull_folder](https://github.com/appium/ruby_lib/blob/ad91ee47a96bf7a19b6f784dc760ac70b8788e5a/lib/appium_lib/device/device.rb#L88)
|
769
814
|
|
770
815
|
> def pull_folder
|
771
816
|
|
@@ -780,7 +825,7 @@ __Parameters:__
|
|
780
825
|
|
781
826
|
--
|
782
827
|
|
783
|
-
##### [touch_id](https://github.com/appium/ruby_lib/blob/
|
828
|
+
##### [touch_id](https://github.com/appium/ruby_lib/blob/ad91ee47a96bf7a19b6f784dc760ac70b8788e5a/lib/appium_lib/device/device.rb#L96)
|
784
829
|
|
785
830
|
> def touch_id
|
786
831
|
|
@@ -797,7 +842,7 @@ Defaults to true.
|
|
797
842
|
|
798
843
|
--
|
799
844
|
|
800
|
-
##### [end_coverage](https://github.com/appium/ruby_lib/blob/
|
845
|
+
##### [end_coverage](https://github.com/appium/ruby_lib/blob/ad91ee47a96bf7a19b6f784dc760ac70b8788e5a/lib/appium_lib/device/device.rb#L105)
|
801
846
|
|
802
847
|
> def end_coverage
|
803
848
|
|
@@ -811,7 +856,7 @@ __Parameters:__
|
|
811
856
|
|
812
857
|
--
|
813
858
|
|
814
|
-
##### [get_settings](https://github.com/appium/ruby_lib/blob/
|
859
|
+
##### [get_settings](https://github.com/appium/ruby_lib/blob/ad91ee47a96bf7a19b6f784dc760ac70b8788e5a/lib/appium_lib/device/device.rb#L110)
|
815
860
|
|
816
861
|
> def get_settings
|
817
862
|
|
@@ -819,7 +864,7 @@ Get appium Settings for current test session
|
|
819
864
|
|
820
865
|
--
|
821
866
|
|
822
|
-
##### [extend_search_contexts](https://github.com/appium/ruby_lib/blob/
|
867
|
+
##### [extend_search_contexts](https://github.com/appium/ruby_lib/blob/ad91ee47a96bf7a19b6f784dc760ac70b8788e5a/lib/appium_lib/device/device.rb#L394)
|
823
868
|
|
824
869
|
> def extend_search_contexts
|
825
870
|
|
@@ -827,7 +872,7 @@ Get appium Settings for current test session
|
|
827
872
|
|
828
873
|
--
|
829
874
|
|
830
|
-
##### [find_element](https://github.com/appium/ruby_lib/blob/
|
875
|
+
##### [find_element](https://github.com/appium/ruby_lib/blob/ad91ee47a96bf7a19b6f784dc760ac70b8788e5a/lib/appium_lib/device/device.rb#L394)
|
831
876
|
|
832
877
|
> def find_element
|
833
878
|
|
@@ -835,7 +880,7 @@ Get appium Settings for current test session
|
|
835
880
|
|
836
881
|
--
|
837
882
|
|
838
|
-
##### [find_elements](https://github.com/appium/ruby_lib/blob/
|
883
|
+
##### [find_elements](https://github.com/appium/ruby_lib/blob/ad91ee47a96bf7a19b6f784dc760ac70b8788e5a/lib/appium_lib/device/device.rb#L394)
|
839
884
|
|
840
885
|
> def find_elements
|
841
886
|
|
@@ -847,7 +892,7 @@ find_element/s with their accessibility_id
|
|
847
892
|
|
848
893
|
--
|
849
894
|
|
850
|
-
##### [add_touch_actions](https://github.com/appium/ruby_lib/blob/
|
895
|
+
##### [add_touch_actions](https://github.com/appium/ruby_lib/blob/ad91ee47a96bf7a19b6f784dc760ac70b8788e5a/lib/appium_lib/device/device.rb#L400)
|
851
896
|
|
852
897
|
> def add_touch_actions
|
853
898
|
|
@@ -855,7 +900,15 @@ find_element/s with their accessibility_id
|
|
855
900
|
|
856
901
|
--
|
857
902
|
|
858
|
-
##### [
|
903
|
+
##### [add_ime_actions](https://github.com/appium/ruby_lib/blob/ad91ee47a96bf7a19b6f784dc760ac70b8788e5a/lib/appium_lib/device/device.rb#L423)
|
904
|
+
|
905
|
+
> def add_ime_actions
|
906
|
+
|
907
|
+
|
908
|
+
|
909
|
+
--
|
910
|
+
|
911
|
+
##### [set_context](https://github.com/appium/ruby_lib/blob/ad91ee47a96bf7a19b6f784dc760ac70b8788e5a/lib/appium_lib/device/device.rb#L498)
|
859
912
|
|
860
913
|
> def set_context
|
861
914
|
|
@@ -870,7 +923,7 @@ __Parameters:__
|
|
870
923
|
|
871
924
|
--
|
872
925
|
|
873
|
-
##### [current_context](https://github.com/appium/ruby_lib/blob/
|
926
|
+
##### [current_context](https://github.com/appium/ruby_lib/blob/ad91ee47a96bf7a19b6f784dc760ac70b8788e5a/lib/appium_lib/device/device.rb#L506)
|
874
927
|
|
875
928
|
> def current_context
|
876
929
|
|
@@ -882,7 +935,7 @@ __Returns:__
|
|
882
935
|
|
883
936
|
--
|
884
937
|
|
885
|
-
##### [available_contexts](https://github.com/appium/ruby_lib/blob/
|
938
|
+
##### [available_contexts](https://github.com/appium/ruby_lib/blob/ad91ee47a96bf7a19b6f784dc760ac70b8788e5a/lib/appium_lib/device/device.rb#L509)
|
886
939
|
|
887
940
|
> def available_contexts
|
888
941
|
|
@@ -894,7 +947,7 @@ __Returns:__
|
|
894
947
|
|
895
948
|
--
|
896
949
|
|
897
|
-
##### [within_context](https://github.com/appium/ruby_lib/blob/
|
950
|
+
##### [within_context](https://github.com/appium/ruby_lib/blob/ad91ee47a96bf7a19b6f784dc760ac70b8788e5a/lib/appium_lib/device/device.rb#L519)
|
898
951
|
|
899
952
|
> def within_context(context)
|
900
953
|
|
@@ -910,7 +963,7 @@ __Parameters:__
|
|
910
963
|
|
911
964
|
--
|
912
965
|
|
913
|
-
##### [switch_to_default_context](https://github.com/appium/ruby_lib/blob/
|
966
|
+
##### [switch_to_default_context](https://github.com/appium/ruby_lib/blob/ad91ee47a96bf7a19b6f784dc760ac70b8788e5a/lib/appium_lib/device/device.rb#L527)
|
914
967
|
|
915
968
|
> def switch_to_default_context
|
916
969
|
|
@@ -918,7 +971,7 @@ Change to the default context. This is equivalent to `set_context nil`.
|
|
918
971
|
|
919
972
|
--
|
920
973
|
|
921
|
-
##### [pinch](https://github.com/appium/ruby_lib/blob/
|
974
|
+
##### [pinch](https://github.com/appium/ruby_lib/blob/ad91ee47a96bf7a19b6f784dc760ac70b8788e5a/lib/appium_lib/device/multi_touch.rb#L28)
|
922
975
|
|
923
976
|
> def pinch(percentage = 25, auto_perform = true)
|
924
977
|
|
@@ -937,7 +990,7 @@ __Parameters:__
|
|
937
990
|
|
938
991
|
--
|
939
992
|
|
940
|
-
##### [zoom](https://github.com/appium/ruby_lib/blob/
|
993
|
+
##### [zoom](https://github.com/appium/ruby_lib/blob/ad91ee47a96bf7a19b6f784dc760ac70b8788e5a/lib/appium_lib/device/multi_touch.rb#L56)
|
941
994
|
|
942
995
|
> def zoom(percentage = 200, auto_perform = true)
|
943
996
|
|
@@ -956,7 +1009,7 @@ __Parameters:__
|
|
956
1009
|
|
957
1010
|
--
|
958
1011
|
|
959
|
-
##### [initialize](https://github.com/appium/ruby_lib/blob/
|
1012
|
+
##### [initialize](https://github.com/appium/ruby_lib/blob/ad91ee47a96bf7a19b6f784dc760ac70b8788e5a/lib/appium_lib/device/multi_touch.rb#L77)
|
960
1013
|
|
961
1014
|
> def initialize
|
962
1015
|
|
@@ -968,7 +1021,7 @@ __Returns:__
|
|
968
1021
|
|
969
1022
|
--
|
970
1023
|
|
971
|
-
##### [add](https://github.com/appium/ruby_lib/blob/
|
1024
|
+
##### [add](https://github.com/appium/ruby_lib/blob/ad91ee47a96bf7a19b6f784dc760ac70b8788e5a/lib/appium_lib/device/multi_touch.rb#L83)
|
972
1025
|
|
973
1026
|
> def add(chain)
|
974
1027
|
|
@@ -980,7 +1033,7 @@ __Parameters:__
|
|
980
1033
|
|
981
1034
|
--
|
982
1035
|
|
983
|
-
##### [perform](https://github.com/appium/ruby_lib/blob/
|
1036
|
+
##### [perform](https://github.com/appium/ruby_lib/blob/ad91ee47a96bf7a19b6f784dc760ac70b8788e5a/lib/appium_lib/device/multi_touch.rb#L88)
|
984
1037
|
|
985
1038
|
> def perform
|
986
1039
|
|
@@ -988,7 +1041,7 @@ Ask Appium to perform the actions
|
|
988
1041
|
|
989
1042
|
--
|
990
1043
|
|
991
|
-
##### [ACTIONS](https://github.com/appium/ruby_lib/blob/
|
1044
|
+
##### [ACTIONS](https://github.com/appium/ruby_lib/blob/ad91ee47a96bf7a19b6f784dc760ac70b8788e5a/lib/appium_lib/device/touch_actions.rb#L11)
|
992
1045
|
|
993
1046
|
> ACTIONS = [:move_to, :long_press, :double_tap, :two_finger_tap, :press, :release, :tap, :wait, :perform]
|
994
1047
|
|
@@ -996,7 +1049,7 @@ Ask Appium to perform the actions
|
|
996
1049
|
|
997
1050
|
--
|
998
1051
|
|
999
|
-
##### [COMPLEX_ACTIONS](https://github.com/appium/ruby_lib/blob/
|
1052
|
+
##### [COMPLEX_ACTIONS](https://github.com/appium/ruby_lib/blob/ad91ee47a96bf7a19b6f784dc760ac70b8788e5a/lib/appium_lib/device/touch_actions.rb#L12)
|
1000
1053
|
|
1001
1054
|
> COMPLEX_ACTIONS = [:swipe]
|
1002
1055
|
|
@@ -1004,7 +1057,7 @@ Ask Appium to perform the actions
|
|
1004
1057
|
|
1005
1058
|
--
|
1006
1059
|
|
1007
|
-
##### [actions](https://github.com/appium/ruby_lib/blob/
|
1060
|
+
##### [actions](https://github.com/appium/ruby_lib/blob/ad91ee47a96bf7a19b6f784dc760ac70b8788e5a/lib/appium_lib/device/touch_actions.rb#L26)
|
1008
1061
|
|
1009
1062
|
> def actions
|
1010
1063
|
|
@@ -1012,7 +1065,7 @@ Returns the value of attribute actions
|
|
1012
1065
|
|
1013
1066
|
--
|
1014
1067
|
|
1015
|
-
##### [initialize](https://github.com/appium/ruby_lib/blob/
|
1068
|
+
##### [initialize](https://github.com/appium/ruby_lib/blob/ad91ee47a96bf7a19b6f784dc760ac70b8788e5a/lib/appium_lib/device/touch_actions.rb#L28)
|
1016
1069
|
|
1017
1070
|
> def initialize
|
1018
1071
|
|
@@ -1024,7 +1077,7 @@ __Returns:__
|
|
1024
1077
|
|
1025
1078
|
--
|
1026
1079
|
|
1027
|
-
##### [move_to](https://github.com/appium/ruby_lib/blob/
|
1080
|
+
##### [move_to](https://github.com/appium/ruby_lib/blob/ad91ee47a96bf7a19b6f784dc760ac70b8788e5a/lib/appium_lib/device/touch_actions.rb#L36)
|
1028
1081
|
|
1029
1082
|
> def move_to(opts)
|
1030
1083
|
|
@@ -1036,7 +1089,7 @@ __Parameters:__
|
|
1036
1089
|
|
1037
1090
|
--
|
1038
1091
|
|
1039
|
-
##### [long_press](https://github.com/appium/ruby_lib/blob/
|
1092
|
+
##### [long_press](https://github.com/appium/ruby_lib/blob/ad91ee47a96bf7a19b6f784dc760ac70b8788e5a/lib/appium_lib/device/touch_actions.rb#L46)
|
1040
1093
|
|
1041
1094
|
> def long_press(opts)
|
1042
1095
|
|
@@ -1054,7 +1107,7 @@ __Parameters:__
|
|
1054
1107
|
|
1055
1108
|
--
|
1056
1109
|
|
1057
|
-
##### [press](https://github.com/appium/ruby_lib/blob/
|
1110
|
+
##### [press](https://github.com/appium/ruby_lib/blob/ad91ee47a96bf7a19b6f784dc760ac70b8788e5a/lib/appium_lib/device/touch_actions.rb#L58)
|
1058
1111
|
|
1059
1112
|
> def press(opts)
|
1060
1113
|
|
@@ -1067,7 +1120,7 @@ __Parameters:__
|
|
1067
1120
|
|
1068
1121
|
--
|
1069
1122
|
|
1070
|
-
##### [release](https://github.com/appium/ruby_lib/blob/
|
1123
|
+
##### [release](https://github.com/appium/ruby_lib/blob/ad91ee47a96bf7a19b6f784dc760ac70b8788e5a/lib/appium_lib/device/touch_actions.rb#L69)
|
1071
1124
|
|
1072
1125
|
> def release(opts = nil)
|
1073
1126
|
|
@@ -1079,7 +1132,7 @@ __Parameters:__
|
|
1079
1132
|
|
1080
1133
|
--
|
1081
1134
|
|
1082
|
-
##### [tap](https://github.com/appium/ruby_lib/blob/
|
1135
|
+
##### [tap](https://github.com/appium/ruby_lib/blob/ad91ee47a96bf7a19b6f784dc760ac70b8788e5a/lib/appium_lib/device/touch_actions.rb#L80)
|
1083
1136
|
|
1084
1137
|
> def tap(opts)
|
1085
1138
|
|
@@ -1091,7 +1144,7 @@ __Parameters:__
|
|
1091
1144
|
|
1092
1145
|
--
|
1093
1146
|
|
1094
|
-
##### [double_tap](https://github.com/appium/ruby_lib/blob/
|
1147
|
+
##### [double_tap](https://github.com/appium/ruby_lib/blob/ad91ee47a96bf7a19b6f784dc760ac70b8788e5a/lib/appium_lib/device/touch_actions.rb#L93)
|
1095
1148
|
|
1096
1149
|
> def double_tap(opts)
|
1097
1150
|
|
@@ -1103,7 +1156,7 @@ __Parameters:__
|
|
1103
1156
|
|
1104
1157
|
--
|
1105
1158
|
|
1106
|
-
##### [two_finger_tap](https://github.com/appium/ruby_lib/blob/
|
1159
|
+
##### [two_finger_tap](https://github.com/appium/ruby_lib/blob/ad91ee47a96bf7a19b6f784dc760ac70b8788e5a/lib/appium_lib/device/touch_actions.rb#L104)
|
1107
1160
|
|
1108
1161
|
> def two_finger_tap(opts)
|
1109
1162
|
|
@@ -1115,7 +1168,7 @@ __Parameters:__
|
|
1115
1168
|
|
1116
1169
|
--
|
1117
1170
|
|
1118
|
-
##### [wait](https://github.com/appium/ruby_lib/blob/
|
1171
|
+
##### [wait](https://github.com/appium/ruby_lib/blob/ad91ee47a96bf7a19b6f784dc760ac70b8788e5a/lib/appium_lib/device/touch_actions.rb#L112)
|
1119
1172
|
|
1120
1173
|
> def wait(milliseconds)
|
1121
1174
|
|
@@ -1127,7 +1180,7 @@ __Parameters:__
|
|
1127
1180
|
|
1128
1181
|
--
|
1129
1182
|
|
1130
|
-
##### [swipe](https://github.com/appium/ruby_lib/blob/
|
1183
|
+
##### [swipe](https://github.com/appium/ruby_lib/blob/ad91ee47a96bf7a19b6f784dc760ac70b8788e5a/lib/appium_lib/device/touch_actions.rb#L127)
|
1131
1184
|
|
1132
1185
|
> def swipe(opts)
|
1133
1186
|
|
@@ -1141,7 +1194,7 @@ __Parameters:__
|
|
1141
1194
|
|
1142
1195
|
--
|
1143
1196
|
|
1144
|
-
##### [perform](https://github.com/appium/ruby_lib/blob/
|
1197
|
+
##### [perform](https://github.com/appium/ruby_lib/blob/ad91ee47a96bf7a19b6f784dc760ac70b8788e5a/lib/appium_lib/device/touch_actions.rb#L155)
|
1145
1198
|
|
1146
1199
|
> def perform
|
1147
1200
|
|
@@ -1149,7 +1202,7 @@ Ask the driver to perform all actions in this action chain.
|
|
1149
1202
|
|
1150
1203
|
--
|
1151
1204
|
|
1152
|
-
##### [cancel](https://github.com/appium/ruby_lib/blob/
|
1205
|
+
##### [cancel](https://github.com/appium/ruby_lib/blob/ad91ee47a96bf7a19b6f784dc760ac70b8788e5a/lib/appium_lib/device/touch_actions.rb#L161)
|
1153
1206
|
|
1154
1207
|
> def cancel
|
1155
1208
|
|
@@ -1157,7 +1210,7 @@ Does nothing, currently.
|
|
1157
1210
|
|
1158
1211
|
--
|
1159
1212
|
|
1160
|
-
##### [chain_method](https://github.com/appium/ruby_lib/blob/
|
1213
|
+
##### [chain_method](https://github.com/appium/ruby_lib/blob/ad91ee47a96bf7a19b6f784dc760ac70b8788e5a/lib/appium_lib/device/touch_actions.rb#L169)
|
1161
1214
|
|
1162
1215
|
> def chain_method(method, args = nil)
|
1163
1216
|
|
@@ -1165,7 +1218,7 @@ Does nothing, currently.
|
|
1165
1218
|
|
1166
1219
|
--
|
1167
1220
|
|
1168
|
-
##### [args_with_ele_ref](https://github.com/appium/ruby_lib/blob/
|
1221
|
+
##### [args_with_ele_ref](https://github.com/appium/ruby_lib/blob/ad91ee47a96bf7a19b6f784dc760ac70b8788e5a/lib/appium_lib/device/touch_actions.rb#L178)
|
1169
1222
|
|
1170
1223
|
> def args_with_ele_ref(args)
|
1171
1224
|
|
@@ -1173,7 +1226,7 @@ Does nothing, currently.
|
|
1173
1226
|
|
1174
1227
|
--
|
1175
1228
|
|
1176
|
-
##### [_generic_wait](https://github.com/appium/ruby_lib/blob/
|
1229
|
+
##### [_generic_wait](https://github.com/appium/ruby_lib/blob/ad91ee47a96bf7a19b6f784dc760ac70b8788e5a/lib/appium_lib/common/wait.rb#L9)
|
1177
1230
|
|
1178
1231
|
> def _generic_wait(opts = {}, &block)
|
1179
1232
|
|
@@ -1182,7 +1235,7 @@ https://github.com/SeleniumHQ/selenium/blob/cf501dda3f0ed12233de51ce8170c0e8090f
|
|
1182
1235
|
|
1183
1236
|
--
|
1184
1237
|
|
1185
|
-
##### [_process_wait_opts](https://github.com/appium/ruby_lib/blob/
|
1238
|
+
##### [_process_wait_opts](https://github.com/appium/ruby_lib/blob/ad91ee47a96bf7a19b6f784dc760ac70b8788e5a/lib/appium_lib/common/wait.rb#L54)
|
1186
1239
|
|
1187
1240
|
> def _process_wait_opts(opts)
|
1188
1241
|
|
@@ -1190,7 +1243,7 @@ process opts before calling _generic_wait
|
|
1190
1243
|
|
1191
1244
|
--
|
1192
1245
|
|
1193
|
-
##### [wait_true](https://github.com/appium/ruby_lib/blob/
|
1246
|
+
##### [wait_true](https://github.com/appium/ruby_lib/blob/ad91ee47a96bf7a19b6f784dc760ac70b8788e5a/lib/appium_lib/common/wait.rb#L75)
|
1194
1247
|
|
1195
1248
|
> def wait_true(opts = {}, &block)
|
1196
1249
|
|
@@ -1210,7 +1263,7 @@ __Parameters:__
|
|
1210
1263
|
|
1211
1264
|
--
|
1212
1265
|
|
1213
|
-
##### [wait](https://github.com/appium/ruby_lib/blob/
|
1266
|
+
##### [wait](https://github.com/appium/ruby_lib/blob/ad91ee47a96bf7a19b6f784dc760ac70b8788e5a/lib/appium_lib/common/wait.rb#L93)
|
1214
1267
|
|
1215
1268
|
> def wait(opts = {}, &block)
|
1216
1269
|
|
@@ -1228,7 +1281,7 @@ __Parameters:__
|
|
1228
1281
|
|
1229
1282
|
--
|
1230
1283
|
|
1231
|
-
##### [ignore](https://github.com/appium/ruby_lib/blob/
|
1284
|
+
##### [ignore](https://github.com/appium/ruby_lib/blob/ad91ee47a96bf7a19b6f784dc760ac70b8788e5a/lib/appium_lib/common/helper.rb#L24)
|
1232
1285
|
|
1233
1286
|
> def ignore(&block)
|
1234
1287
|
|
@@ -1236,7 +1289,7 @@ Return block.call and ignore any exceptions.
|
|
1236
1289
|
|
1237
1290
|
--
|
1238
1291
|
|
1239
|
-
##### [back](https://github.com/appium/ruby_lib/blob/
|
1292
|
+
##### [back](https://github.com/appium/ruby_lib/blob/ad91ee47a96bf7a19b6f784dc760ac70b8788e5a/lib/appium_lib/common/helper.rb#L31)
|
1240
1293
|
|
1241
1294
|
> def back
|
1242
1295
|
|
@@ -1248,7 +1301,7 @@ __Returns:__
|
|
1248
1301
|
|
1249
1302
|
--
|
1250
1303
|
|
1251
|
-
##### [session_id](https://github.com/appium/ruby_lib/blob/
|
1304
|
+
##### [session_id](https://github.com/appium/ruby_lib/blob/ad91ee47a96bf7a19b6f784dc760ac70b8788e5a/lib/appium_lib/common/helper.rb#L36)
|
1252
1305
|
|
1253
1306
|
> def session_id
|
1254
1307
|
|
@@ -1256,7 +1309,7 @@ For Sauce Labs reporting. Returns the current session id.
|
|
1256
1309
|
|
1257
1310
|
--
|
1258
1311
|
|
1259
|
-
##### [xpath](https://github.com/appium/ruby_lib/blob/
|
1312
|
+
##### [xpath](https://github.com/appium/ruby_lib/blob/ad91ee47a96bf7a19b6f784dc760ac70b8788e5a/lib/appium_lib/common/helper.rb#L44)
|
1260
1313
|
|
1261
1314
|
> def xpath(xpath_str)
|
1262
1315
|
|
@@ -1272,7 +1325,7 @@ __Returns:__
|
|
1272
1325
|
|
1273
1326
|
--
|
1274
1327
|
|
1275
|
-
##### [xpaths](https://github.com/appium/ruby_lib/blob/
|
1328
|
+
##### [xpaths](https://github.com/appium/ruby_lib/blob/ad91ee47a96bf7a19b6f784dc760ac70b8788e5a/lib/appium_lib/common/helper.rb#L52)
|
1276
1329
|
|
1277
1330
|
> def xpaths(xpath_str)
|
1278
1331
|
|
@@ -1288,7 +1341,7 @@ __Returns:__
|
|
1288
1341
|
|
1289
1342
|
--
|
1290
1343
|
|
1291
|
-
##### [_print_source](https://github.com/appium/ruby_lib/blob/
|
1344
|
+
##### [_print_source](https://github.com/appium/ruby_lib/blob/ad91ee47a96bf7a19b6f784dc760ac70b8788e5a/lib/appium_lib/common/helper.rb#L56)
|
1292
1345
|
|
1293
1346
|
> def _print_source(source)
|
1294
1347
|
|
@@ -1296,7 +1349,7 @@ __Returns:__
|
|
1296
1349
|
|
1297
1350
|
--
|
1298
1351
|
|
1299
|
-
##### [result](https://github.com/appium/ruby_lib/blob/
|
1352
|
+
##### [result](https://github.com/appium/ruby_lib/blob/ad91ee47a96bf7a19b6f784dc760ac70b8788e5a/lib/appium_lib/common/helper.rb#L69)
|
1300
1353
|
|
1301
1354
|
> def result
|
1302
1355
|
|
@@ -1304,7 +1357,7 @@ Returns the value of attribute result
|
|
1304
1357
|
|
1305
1358
|
--
|
1306
1359
|
|
1307
|
-
##### [initialize](https://github.com/appium/ruby_lib/blob/
|
1360
|
+
##### [initialize](https://github.com/appium/ruby_lib/blob/ad91ee47a96bf7a19b6f784dc760ac70b8788e5a/lib/appium_lib/common/helper.rb#L71)
|
1308
1361
|
|
1309
1362
|
> def initialize
|
1310
1363
|
|
@@ -1316,7 +1369,7 @@ __Returns:__
|
|
1316
1369
|
|
1317
1370
|
--
|
1318
1371
|
|
1319
|
-
##### [reset](https://github.com/appium/ruby_lib/blob/
|
1372
|
+
##### [reset](https://github.com/appium/ruby_lib/blob/ad91ee47a96bf7a19b6f784dc760ac70b8788e5a/lib/appium_lib/common/helper.rb#L75)
|
1320
1373
|
|
1321
1374
|
> def reset
|
1322
1375
|
|
@@ -1324,7 +1377,7 @@ __Returns:__
|
|
1324
1377
|
|
1325
1378
|
--
|
1326
1379
|
|
1327
|
-
##### [start_element](https://github.com/appium/ruby_lib/blob/
|
1380
|
+
##### [start_element](https://github.com/appium/ruby_lib/blob/ad91ee47a96bf7a19b6f784dc760ac70b8788e5a/lib/appium_lib/common/helper.rb#L80)
|
1328
1381
|
|
1329
1382
|
> def start_element(name, attrs = [])
|
1330
1383
|
|
@@ -1332,7 +1385,7 @@ http://nokogiri.org/Nokogiri/XML/SAX/Document.html
|
|
1332
1385
|
|
1333
1386
|
--
|
1334
1387
|
|
1335
|
-
##### [formatted_result](https://github.com/appium/ruby_lib/blob/
|
1388
|
+
##### [formatted_result](https://github.com/appium/ruby_lib/blob/ad91ee47a96bf7a19b6f784dc760ac70b8788e5a/lib/appium_lib/common/helper.rb#L86)
|
1336
1389
|
|
1337
1390
|
> def formatted_result
|
1338
1391
|
|
@@ -1340,7 +1393,7 @@ http://nokogiri.org/Nokogiri/XML/SAX/Document.html
|
|
1340
1393
|
|
1341
1394
|
--
|
1342
1395
|
|
1343
|
-
##### [get_page_class](https://github.com/appium/ruby_lib/blob/
|
1396
|
+
##### [get_page_class](https://github.com/appium/ruby_lib/blob/ad91ee47a96bf7a19b6f784dc760ac70b8788e5a/lib/appium_lib/common/helper.rb#L97)
|
1344
1397
|
|
1345
1398
|
> def get_page_class
|
1346
1399
|
|
@@ -1348,7 +1401,7 @@ Returns a string of class counts of visible elements.
|
|
1348
1401
|
|
1349
1402
|
--
|
1350
1403
|
|
1351
|
-
##### [page_class](https://github.com/appium/ruby_lib/blob/
|
1404
|
+
##### [page_class](https://github.com/appium/ruby_lib/blob/ad91ee47a96bf7a19b6f784dc760ac70b8788e5a/lib/appium_lib/common/helper.rb#L108)
|
1352
1405
|
|
1353
1406
|
> def page_class
|
1354
1407
|
|
@@ -1357,7 +1410,7 @@ Useful for appium_console.
|
|
1357
1410
|
|
1358
1411
|
--
|
1359
1412
|
|
1360
|
-
##### [px_to_window_rel](https://github.com/appium/ruby_lib/blob/
|
1413
|
+
##### [px_to_window_rel](https://github.com/appium/ruby_lib/blob/ad91ee47a96bf7a19b6f784dc760ac70b8788e5a/lib/appium_lib/common/helper.rb#L118)
|
1361
1414
|
|
1362
1415
|
> def px_to_window_rel(opts = {})
|
1363
1416
|
|
@@ -1369,7 +1422,7 @@ px_to_window_rel x: 50, y: 150
|
|
1369
1422
|
|
1370
1423
|
--
|
1371
1424
|
|
1372
|
-
##### [xml_keys](https://github.com/appium/ruby_lib/blob/
|
1425
|
+
##### [xml_keys](https://github.com/appium/ruby_lib/blob/ad91ee47a96bf7a19b6f784dc760ac70b8788e5a/lib/appium_lib/common/helper.rb#L137)
|
1373
1426
|
|
1374
1427
|
> def xml_keys(target)
|
1375
1428
|
|
@@ -1385,7 +1438,7 @@ __Returns:__
|
|
1385
1438
|
|
1386
1439
|
--
|
1387
1440
|
|
1388
|
-
##### [xml_values](https://github.com/appium/ruby_lib/blob/
|
1441
|
+
##### [xml_values](https://github.com/appium/ruby_lib/blob/ad91ee47a96bf7a19b6f784dc760ac70b8788e5a/lib/appium_lib/common/helper.rb#L145)
|
1389
1442
|
|
1390
1443
|
> def xml_values(target)
|
1391
1444
|
|
@@ -1401,7 +1454,7 @@ __Returns:__
|
|
1401
1454
|
|
1402
1455
|
--
|
1403
1456
|
|
1404
|
-
##### [resolve_id](https://github.com/appium/ruby_lib/blob/
|
1457
|
+
##### [resolve_id](https://github.com/appium/ruby_lib/blob/ad91ee47a96bf7a19b6f784dc760ac70b8788e5a/lib/appium_lib/common/helper.rb#L153)
|
1405
1458
|
|
1406
1459
|
> def resolve_id(id)
|
1407
1460
|
|
@@ -1417,7 +1470,7 @@ __Returns:__
|
|
1417
1470
|
|
1418
1471
|
--
|
1419
1472
|
|
1420
|
-
##### [filter](https://github.com/appium/ruby_lib/blob/
|
1473
|
+
##### [filter](https://github.com/appium/ruby_lib/blob/ad91ee47a96bf7a19b6f784dc760ac70b8788e5a/lib/appium_lib/common/helper.rb#L159)
|
1421
1474
|
|
1422
1475
|
> def filter
|
1423
1476
|
|
@@ -1425,7 +1478,7 @@ Returns the value of attribute filter
|
|
1425
1478
|
|
1426
1479
|
--
|
1427
1480
|
|
1428
|
-
##### [filter=](https://github.com/appium/ruby_lib/blob/
|
1481
|
+
##### [filter=](https://github.com/appium/ruby_lib/blob/ad91ee47a96bf7a19b6f784dc760ac70b8788e5a/lib/appium_lib/common/helper.rb#L162)
|
1429
1482
|
|
1430
1483
|
> def filter=(value)
|
1431
1484
|
|
@@ -1433,7 +1486,7 @@ convert to string to support symbols
|
|
1433
1486
|
|
1434
1487
|
--
|
1435
1488
|
|
1436
|
-
##### [initialize](https://github.com/appium/ruby_lib/blob/
|
1489
|
+
##### [initialize](https://github.com/appium/ruby_lib/blob/ad91ee47a96bf7a19b6f784dc760ac70b8788e5a/lib/appium_lib/common/helper.rb#L168)
|
1437
1490
|
|
1438
1491
|
> def initialize
|
1439
1492
|
|
@@ -1445,7 +1498,7 @@ __Returns:__
|
|
1445
1498
|
|
1446
1499
|
--
|
1447
1500
|
|
1448
|
-
##### [reset](https://github.com/appium/ruby_lib/blob/
|
1501
|
+
##### [reset](https://github.com/appium/ruby_lib/blob/ad91ee47a96bf7a19b6f784dc760ac70b8788e5a/lib/appium_lib/common/helper.rb#L173)
|
1449
1502
|
|
1450
1503
|
> def reset
|
1451
1504
|
|
@@ -1453,7 +1506,7 @@ __Returns:__
|
|
1453
1506
|
|
1454
1507
|
--
|
1455
1508
|
|
1456
|
-
##### [result](https://github.com/appium/ruby_lib/blob/
|
1509
|
+
##### [result](https://github.com/appium/ruby_lib/blob/ad91ee47a96bf7a19b6f784dc760ac70b8788e5a/lib/appium_lib/common/helper.rb#L179)
|
1457
1510
|
|
1458
1511
|
> def result
|
1459
1512
|
|
@@ -1461,7 +1514,7 @@ __Returns:__
|
|
1461
1514
|
|
1462
1515
|
--
|
1463
1516
|
|
1464
|
-
##### [start_element](https://github.com/appium/ruby_lib/blob/
|
1517
|
+
##### [start_element](https://github.com/appium/ruby_lib/blob/ad91ee47a96bf7a19b6f784dc760ac70b8788e5a/lib/appium_lib/common/helper.rb#L195)
|
1465
1518
|
|
1466
1519
|
> def start_element(name, attrs = [])
|
1467
1520
|
|
@@ -1469,7 +1522,7 @@ __Returns:__
|
|
1469
1522
|
|
1470
1523
|
--
|
1471
1524
|
|
1472
|
-
##### [end_element](https://github.com/appium/ruby_lib/blob/
|
1525
|
+
##### [end_element](https://github.com/appium/ruby_lib/blob/ad91ee47a96bf7a19b6f784dc760ac70b8788e5a/lib/appium_lib/common/helper.rb#L204)
|
1473
1526
|
|
1474
1527
|
> def end_element(name)
|
1475
1528
|
|
@@ -1477,7 +1530,7 @@ __Returns:__
|
|
1477
1530
|
|
1478
1531
|
--
|
1479
1532
|
|
1480
|
-
##### [characters](https://github.com/appium/ruby_lib/blob/
|
1533
|
+
##### [characters](https://github.com/appium/ruby_lib/blob/ad91ee47a96bf7a19b6f784dc760ac70b8788e5a/lib/appium_lib/common/helper.rb#L210)
|
1481
1534
|
|
1482
1535
|
> def characters(chars)
|
1483
1536
|
|
@@ -1485,7 +1538,7 @@ __Returns:__
|
|
1485
1538
|
|
1486
1539
|
--
|
1487
1540
|
|
1488
|
-
##### [_no_such_element](https://github.com/appium/ruby_lib/blob/
|
1541
|
+
##### [_no_such_element](https://github.com/appium/ruby_lib/blob/ad91ee47a96bf7a19b6f784dc760ac70b8788e5a/lib/appium_lib/common/helper.rb#L217)
|
1489
1542
|
|
1490
1543
|
> def _no_such_element
|
1491
1544
|
|
@@ -1493,7 +1546,7 @@ __Returns:__
|
|
1493
1546
|
|
1494
1547
|
--
|
1495
1548
|
|
1496
|
-
##### [window_size](https://github.com/appium/ruby_lib/blob/
|
1549
|
+
##### [window_size](https://github.com/appium/ruby_lib/blob/ad91ee47a96bf7a19b6f784dc760ac70b8788e5a/lib/appium_lib/common/element/window.rb#L5)
|
1497
1550
|
|
1498
1551
|
> def window_size
|
1499
1552
|
|
@@ -1501,7 +1554,7 @@ Get the window's size
|
|
1501
1554
|
|
1502
1555
|
--
|
1503
1556
|
|
1504
|
-
##### [ios_password](https://github.com/appium/ruby_lib/blob/
|
1557
|
+
##### [ios_password](https://github.com/appium/ruby_lib/blob/ad91ee47a96bf7a19b6f784dc760ac70b8788e5a/lib/appium_lib/ios/helper.rb#L8) ios
|
1505
1558
|
|
1506
1559
|
> def ios_password(length = 1)
|
1507
1560
|
|
@@ -1519,7 +1572,7 @@ __Returns:__
|
|
1519
1572
|
|
1520
1573
|
--
|
1521
1574
|
|
1522
|
-
##### [get_page](https://github.com/appium/ruby_lib/blob/
|
1575
|
+
##### [get_page](https://github.com/appium/ruby_lib/blob/ad91ee47a96bf7a19b6f784dc760ac70b8788e5a/lib/appium_lib/ios/helper.rb#L20) ios
|
1523
1576
|
|
1524
1577
|
> def get_page(element = source_window(0), class_name = nil)
|
1525
1578
|
|
@@ -1540,7 +1593,7 @@ __Returns:__
|
|
1540
1593
|
|
1541
1594
|
--
|
1542
1595
|
|
1543
|
-
##### [page](https://github.com/appium/ruby_lib/blob/
|
1596
|
+
##### [page](https://github.com/appium/ruby_lib/blob/ad91ee47a96bf7a19b6f784dc760ac70b8788e5a/lib/appium_lib/ios/helper.rb#L129) ios
|
1544
1597
|
|
1545
1598
|
> def page(opts = {})
|
1546
1599
|
|
@@ -1566,7 +1619,7 @@ __Returns:__
|
|
1566
1619
|
|
1567
1620
|
--
|
1568
1621
|
|
1569
|
-
##### [source_window](https://github.com/appium/ruby_lib/blob/
|
1622
|
+
##### [source_window](https://github.com/appium/ruby_lib/blob/ad91ee47a96bf7a19b6f784dc760ac70b8788e5a/lib/appium_lib/ios/helper.rb#L161) ios
|
1570
1623
|
|
1571
1624
|
> def source_window(window_number = 0)
|
1572
1625
|
|
@@ -1582,7 +1635,7 @@ __Returns:__
|
|
1582
1635
|
|
1583
1636
|
--
|
1584
1637
|
|
1585
|
-
##### [page_window](https://github.com/appium/ruby_lib/blob/
|
1638
|
+
##### [page_window](https://github.com/appium/ruby_lib/blob/ad91ee47a96bf7a19b6f784dc760ac70b8788e5a/lib/appium_lib/ios/helper.rb#L175) ios
|
1586
1639
|
|
1587
1640
|
> def page_window(window_number = 0)
|
1588
1641
|
|
@@ -1600,7 +1653,7 @@ __Returns:__
|
|
1600
1653
|
|
1601
1654
|
--
|
1602
1655
|
|
1603
|
-
##### [id](https://github.com/appium/ruby_lib/blob/
|
1656
|
+
##### [id](https://github.com/appium/ruby_lib/blob/ad91ee47a96bf7a19b6f784dc760ac70b8788e5a/lib/appium_lib/ios/helper.rb#L183) ios
|
1604
1657
|
|
1605
1658
|
> def id(id)
|
1606
1659
|
|
@@ -1616,7 +1669,7 @@ __Returns:__
|
|
1616
1669
|
|
1617
1670
|
--
|
1618
1671
|
|
1619
|
-
##### [ios_version](https://github.com/appium/ruby_lib/blob/
|
1672
|
+
##### [ios_version](https://github.com/appium/ruby_lib/blob/ad91ee47a96bf7a19b6f784dc760ac70b8788e5a/lib/appium_lib/ios/helper.rb#L189) ios
|
1620
1673
|
|
1621
1674
|
> def ios_version
|
1622
1675
|
|
@@ -1628,7 +1681,7 @@ __Returns:__
|
|
1628
1681
|
|
1629
1682
|
--
|
1630
1683
|
|
1631
|
-
##### [ele_index](https://github.com/appium/ruby_lib/blob/
|
1684
|
+
##### [ele_index](https://github.com/appium/ruby_lib/blob/ad91ee47a96bf7a19b6f784dc760ac70b8788e5a/lib/appium_lib/ios/helper.rb#L198) ios
|
1632
1685
|
|
1633
1686
|
> def ele_index(class_name, index)
|
1634
1687
|
|
@@ -1646,7 +1699,7 @@ __Returns:__
|
|
1646
1699
|
|
1647
1700
|
--
|
1648
1701
|
|
1649
|
-
##### [find_ele_by_attr](https://github.com/appium/ruby_lib/blob/
|
1702
|
+
##### [find_ele_by_attr](https://github.com/appium/ruby_lib/blob/ad91ee47a96bf7a19b6f784dc760ac70b8788e5a/lib/appium_lib/ios/helper.rb#L225) ios
|
1650
1703
|
|
1651
1704
|
> def find_ele_by_attr(class_name, attr, value)
|
1652
1705
|
|
@@ -1667,7 +1720,7 @@ __Returns:__
|
|
1667
1720
|
|
1668
1721
|
--
|
1669
1722
|
|
1670
|
-
##### [find_eles_by_attr](https://github.com/appium/ruby_lib/blob/
|
1723
|
+
##### [find_eles_by_attr](https://github.com/appium/ruby_lib/blob/ad91ee47a96bf7a19b6f784dc760ac70b8788e5a/lib/appium_lib/ios/helper.rb#L235) ios
|
1671
1724
|
|
1672
1725
|
> def find_eles_by_attr(class_name, attr, value)
|
1673
1726
|
|
@@ -1688,7 +1741,7 @@ __Returns:__
|
|
1688
1741
|
|
1689
1742
|
--
|
1690
1743
|
|
1691
|
-
##### [find_ele_by_attr_include](https://github.com/appium/ruby_lib/blob/
|
1744
|
+
##### [find_ele_by_attr_include](https://github.com/appium/ruby_lib/blob/ad91ee47a96bf7a19b6f784dc760ac70b8788e5a/lib/appium_lib/ios/helper.rb#L250) ios
|
1692
1745
|
|
1693
1746
|
> def find_ele_by_attr_include(class_name, attr, value)
|
1694
1747
|
|
@@ -1709,7 +1762,7 @@ __Returns:__
|
|
1709
1762
|
|
1710
1763
|
--
|
1711
1764
|
|
1712
|
-
##### [find_eles_by_attr_include](https://github.com/appium/ruby_lib/blob/
|
1765
|
+
##### [find_eles_by_attr_include](https://github.com/appium/ruby_lib/blob/ad91ee47a96bf7a19b6f784dc760ac70b8788e5a/lib/appium_lib/ios/helper.rb#L260) ios
|
1713
1766
|
|
1714
1767
|
> def find_eles_by_attr_include(class_name, attr, value)
|
1715
1768
|
|
@@ -1730,7 +1783,7 @@ __Returns:__
|
|
1730
1783
|
|
1731
1784
|
--
|
1732
1785
|
|
1733
|
-
##### [first_ele](https://github.com/appium/ruby_lib/blob/
|
1786
|
+
##### [first_ele](https://github.com/appium/ruby_lib/blob/ad91ee47a96bf7a19b6f784dc760ac70b8788e5a/lib/appium_lib/ios/helper.rb#L267) ios
|
1734
1787
|
|
1735
1788
|
> def first_ele(class_name)
|
1736
1789
|
|
@@ -1746,7 +1799,7 @@ __Returns:__
|
|
1746
1799
|
|
1747
1800
|
--
|
1748
1801
|
|
1749
|
-
##### [last_ele](https://github.com/appium/ruby_lib/blob/
|
1802
|
+
##### [last_ele](https://github.com/appium/ruby_lib/blob/ad91ee47a96bf7a19b6f784dc760ac70b8788e5a/lib/appium_lib/ios/helper.rb#L275) ios
|
1750
1803
|
|
1751
1804
|
> def last_ele(class_name)
|
1752
1805
|
|
@@ -1762,7 +1815,7 @@ __Returns:__
|
|
1762
1815
|
|
1763
1816
|
--
|
1764
1817
|
|
1765
|
-
##### [tag](https://github.com/appium/ruby_lib/blob/
|
1818
|
+
##### [tag](https://github.com/appium/ruby_lib/blob/ad91ee47a96bf7a19b6f784dc760ac70b8788e5a/lib/appium_lib/ios/helper.rb#L283) ios
|
1766
1819
|
|
1767
1820
|
> def tag(class_name)
|
1768
1821
|
|
@@ -1778,7 +1831,7 @@ __Returns:__
|
|
1778
1831
|
|
1779
1832
|
--
|
1780
1833
|
|
1781
|
-
##### [tags](https://github.com/appium/ruby_lib/blob/
|
1834
|
+
##### [tags](https://github.com/appium/ruby_lib/blob/ad91ee47a96bf7a19b6f784dc760ac70b8788e5a/lib/appium_lib/ios/helper.rb#L294) ios
|
1782
1835
|
|
1783
1836
|
> def tags(class_name)
|
1784
1837
|
|
@@ -1794,7 +1847,7 @@ __Returns:__
|
|
1794
1847
|
|
1795
1848
|
--
|
1796
1849
|
|
1797
|
-
##### [ele_by_json_visible_contains](https://github.com/appium/ruby_lib/blob/
|
1850
|
+
##### [ele_by_json_visible_contains](https://github.com/appium/ruby_lib/blob/ad91ee47a96bf7a19b6f784dc760ac70b8788e5a/lib/appium_lib/ios/helper.rb#L329) ios
|
1798
1851
|
|
1799
1852
|
> def ele_by_json_visible_contains(element, value)
|
1800
1853
|
|
@@ -1812,7 +1865,7 @@ __Returns:__
|
|
1812
1865
|
|
1813
1866
|
--
|
1814
1867
|
|
1815
|
-
##### [eles_by_json_visible_contains](https://github.com/appium/ruby_lib/blob/
|
1868
|
+
##### [eles_by_json_visible_contains](https://github.com/appium/ruby_lib/blob/ad91ee47a96bf7a19b6f784dc760ac70b8788e5a/lib/appium_lib/ios/helper.rb#L337) ios
|
1816
1869
|
|
1817
1870
|
> def eles_by_json_visible_contains(element, value)
|
1818
1871
|
|
@@ -1830,7 +1883,7 @@ __Returns:__
|
|
1830
1883
|
|
1831
1884
|
--
|
1832
1885
|
|
1833
|
-
##### [ele_by_json_visible_exact](https://github.com/appium/ruby_lib/blob/
|
1886
|
+
##### [ele_by_json_visible_exact](https://github.com/appium/ruby_lib/blob/ad91ee47a96bf7a19b6f784dc760ac70b8788e5a/lib/appium_lib/ios/helper.rb#L366) ios
|
1834
1887
|
|
1835
1888
|
> def ele_by_json_visible_exact(element, value)
|
1836
1889
|
|
@@ -1848,7 +1901,7 @@ __Returns:__
|
|
1848
1901
|
|
1849
1902
|
--
|
1850
1903
|
|
1851
|
-
##### [eles_by_json_visible_exact](https://github.com/appium/ruby_lib/blob/
|
1904
|
+
##### [eles_by_json_visible_exact](https://github.com/appium/ruby_lib/blob/ad91ee47a96bf7a19b6f784dc760ac70b8788e5a/lib/appium_lib/ios/helper.rb#L374) ios
|
1852
1905
|
|
1853
1906
|
> def eles_by_json_visible_exact(element, value)
|
1854
1907
|
|
@@ -1866,7 +1919,7 @@ __Returns:__
|
|
1866
1919
|
|
1867
1920
|
--
|
1868
1921
|
|
1869
|
-
##### [_all_pred](https://github.com/appium/ruby_lib/blob/
|
1922
|
+
##### [_all_pred](https://github.com/appium/ruby_lib/blob/ad91ee47a96bf7a19b6f784dc760ac70b8788e5a/lib/appium_lib/ios/helper.rb#L438) ios
|
1870
1923
|
|
1871
1924
|
> def _all_pred(opts)
|
1872
1925
|
|
@@ -1876,7 +1929,7 @@ visible - if true, only visible elements are returned. default true
|
|
1876
1929
|
|
1877
1930
|
--
|
1878
1931
|
|
1879
|
-
##### [ele_with_pred](https://github.com/appium/ruby_lib/blob/
|
1932
|
+
##### [ele_with_pred](https://github.com/appium/ruby_lib/blob/ad91ee47a96bf7a19b6f784dc760ac70b8788e5a/lib/appium_lib/ios/helper.rb#L451) ios
|
1880
1933
|
|
1881
1934
|
> def ele_with_pred(opts)
|
1882
1935
|
|
@@ -1892,7 +1945,7 @@ __Returns:__
|
|
1892
1945
|
|
1893
1946
|
--
|
1894
1947
|
|
1895
|
-
##### [eles_with_pred](https://github.com/appium/ruby_lib/blob/
|
1948
|
+
##### [eles_with_pred](https://github.com/appium/ruby_lib/blob/ad91ee47a96bf7a19b6f784dc760ac70b8788e5a/lib/appium_lib/ios/helper.rb#L462) ios
|
1896
1949
|
|
1897
1950
|
> def eles_with_pred(opts)
|
1898
1951
|
|
@@ -1908,7 +1961,7 @@ __Returns:__
|
|
1908
1961
|
|
1909
1962
|
--
|
1910
1963
|
|
1911
|
-
##### [source](https://github.com/appium/ruby_lib/blob/
|
1964
|
+
##### [source](https://github.com/appium/ruby_lib/blob/ad91ee47a96bf7a19b6f784dc760ac70b8788e5a/lib/appium_lib/ios/helper.rb#L468) ios
|
1912
1965
|
|
1913
1966
|
> def source
|
1914
1967
|
|
@@ -1920,7 +1973,7 @@ __Returns:__
|
|
1920
1973
|
|
1921
1974
|
--
|
1922
1975
|
|
1923
|
-
##### [_validate_object](https://github.com/appium/ruby_lib/blob/
|
1976
|
+
##### [_validate_object](https://github.com/appium/ruby_lib/blob/ad91ee47a96bf7a19b6f784dc760ac70b8788e5a/lib/appium_lib/ios/helper.rb#L472) ios
|
1924
1977
|
|
1925
1978
|
> def _validate_object(*objects)
|
1926
1979
|
|
@@ -1928,7 +1981,7 @@ __Returns:__
|
|
1928
1981
|
|
1929
1982
|
--
|
1930
1983
|
|
1931
|
-
##### [_by_json](https://github.com/appium/ruby_lib/blob/
|
1984
|
+
##### [_by_json](https://github.com/appium/ruby_lib/blob/ad91ee47a96bf7a19b6f784dc760ac70b8788e5a/lib/appium_lib/ios/helper.rb#L520) ios
|
1932
1985
|
|
1933
1986
|
> def _by_json(opts)
|
1934
1987
|
|
@@ -1962,7 +2015,7 @@ opts = {
|
|
1962
2015
|
|
1963
2016
|
--
|
1964
2017
|
|
1965
|
-
##### [eles_by_json](https://github.com/appium/ruby_lib/blob/
|
2018
|
+
##### [eles_by_json](https://github.com/appium/ruby_lib/blob/ad91ee47a96bf7a19b6f784dc760ac70b8788e5a/lib/appium_lib/ios/helper.rb#L569) ios
|
1966
2019
|
|
1967
2020
|
> def eles_by_json(opts)
|
1968
2021
|
|
@@ -1980,7 +2033,7 @@ eles_by_json({
|
|
1980
2033
|
|
1981
2034
|
--
|
1982
2035
|
|
1983
|
-
##### [ele_by_json](https://github.com/appium/ruby_lib/blob/
|
2036
|
+
##### [ele_by_json](https://github.com/appium/ruby_lib/blob/ad91ee47a96bf7a19b6f784dc760ac70b8788e5a/lib/appium_lib/ios/helper.rb#L575) ios
|
1984
2037
|
|
1985
2038
|
> def ele_by_json(opts)
|
1986
2039
|
|
@@ -1988,7 +2041,7 @@ see eles_by_json
|
|
1988
2041
|
|
1989
2042
|
--
|
1990
2043
|
|
1991
|
-
##### [get_source](https://github.com/appium/ruby_lib/blob/
|
2044
|
+
##### [get_source](https://github.com/appium/ruby_lib/blob/ad91ee47a96bf7a19b6f784dc760ac70b8788e5a/lib/appium_lib/ios/helper.rb#L585) ios
|
1992
2045
|
|
1993
2046
|
> def get_source
|
1994
2047
|
|
@@ -2001,7 +2054,7 @@ __Returns:__
|
|
2001
2054
|
|
2002
2055
|
--
|
2003
2056
|
|
2004
|
-
##### [UIAStaticText](https://github.com/appium/ruby_lib/blob/
|
2057
|
+
##### [UIAStaticText](https://github.com/appium/ruby_lib/blob/ad91ee47a96bf7a19b6f784dc760ac70b8788e5a/lib/appium_lib/ios/element/text.rb#L4) ios
|
2005
2058
|
|
2006
2059
|
> UIAStaticText = 'UIAStaticText'
|
2007
2060
|
|
@@ -2009,7 +2062,7 @@ __Returns:__
|
|
2009
2062
|
|
2010
2063
|
--
|
2011
2064
|
|
2012
|
-
##### [text](https://github.com/appium/ruby_lib/blob/
|
2065
|
+
##### [text](https://github.com/appium/ruby_lib/blob/ad91ee47a96bf7a19b6f784dc760ac70b8788e5a/lib/appium_lib/ios/element/text.rb#L10) ios
|
2013
2066
|
|
2014
2067
|
> def text(value)
|
2015
2068
|
|
@@ -2026,7 +2079,7 @@ __Returns:__
|
|
2026
2079
|
|
2027
2080
|
--
|
2028
2081
|
|
2029
|
-
##### [texts](https://github.com/appium/ruby_lib/blob/
|
2082
|
+
##### [texts](https://github.com/appium/ruby_lib/blob/ad91ee47a96bf7a19b6f784dc760ac70b8788e5a/lib/appium_lib/ios/element/text.rb#L19) ios
|
2030
2083
|
|
2031
2084
|
> def texts(value = false)
|
2032
2085
|
|
@@ -2043,7 +2096,7 @@ __Returns:__
|
|
2043
2096
|
|
2044
2097
|
--
|
2045
2098
|
|
2046
|
-
##### [first_text](https://github.com/appium/ruby_lib/blob/
|
2099
|
+
##### [first_text](https://github.com/appium/ruby_lib/blob/ad91ee47a96bf7a19b6f784dc760ac70b8788e5a/lib/appium_lib/ios/element/text.rb#L26) ios
|
2047
2100
|
|
2048
2101
|
> def first_text
|
2049
2102
|
|
@@ -2055,7 +2108,7 @@ __Returns:__
|
|
2055
2108
|
|
2056
2109
|
--
|
2057
2110
|
|
2058
|
-
##### [last_text](https://github.com/appium/ruby_lib/blob/
|
2111
|
+
##### [last_text](https://github.com/appium/ruby_lib/blob/ad91ee47a96bf7a19b6f784dc760ac70b8788e5a/lib/appium_lib/ios/element/text.rb#L32) ios
|
2059
2112
|
|
2060
2113
|
> def last_text
|
2061
2114
|
|
@@ -2067,7 +2120,7 @@ __Returns:__
|
|
2067
2120
|
|
2068
2121
|
--
|
2069
2122
|
|
2070
|
-
##### [text_exact](https://github.com/appium/ruby_lib/blob/
|
2123
|
+
##### [text_exact](https://github.com/appium/ruby_lib/blob/ad91ee47a96bf7a19b6f784dc760ac70b8788e5a/lib/appium_lib/ios/element/text.rb#L39) ios
|
2071
2124
|
|
2072
2125
|
> def text_exact(value)
|
2073
2126
|
|
@@ -2083,7 +2136,7 @@ __Returns:__
|
|
2083
2136
|
|
2084
2137
|
--
|
2085
2138
|
|
2086
|
-
##### [texts_exact](https://github.com/appium/ruby_lib/blob/
|
2139
|
+
##### [texts_exact](https://github.com/appium/ruby_lib/blob/ad91ee47a96bf7a19b6f784dc760ac70b8788e5a/lib/appium_lib/ios/element/text.rb#L46) ios
|
2087
2140
|
|
2088
2141
|
> def texts_exact(value)
|
2089
2142
|
|
@@ -2099,7 +2152,7 @@ __Returns:__
|
|
2099
2152
|
|
2100
2153
|
--
|
2101
2154
|
|
2102
|
-
##### [alert_accept](https://github.com/appium/ruby_lib/blob/
|
2155
|
+
##### [alert_accept](https://github.com/appium/ruby_lib/blob/ad91ee47a96bf7a19b6f784dc760ac70b8788e5a/lib/appium_lib/ios/element/alert.rb#L5) ios
|
2103
2156
|
|
2104
2157
|
> def alert_accept
|
2105
2158
|
|
@@ -2111,7 +2164,7 @@ __Returns:__
|
|
2111
2164
|
|
2112
2165
|
--
|
2113
2166
|
|
2114
|
-
##### [alert_dismiss](https://github.com/appium/ruby_lib/blob/
|
2167
|
+
##### [alert_dismiss](https://github.com/appium/ruby_lib/blob/ad91ee47a96bf7a19b6f784dc760ac70b8788e5a/lib/appium_lib/ios/element/alert.rb#L13) ios
|
2115
2168
|
|
2116
2169
|
> def alert_dismiss
|
2117
2170
|
|
@@ -2123,7 +2176,7 @@ __Returns:__
|
|
2123
2176
|
|
2124
2177
|
--
|
2125
2178
|
|
2126
|
-
##### [uiautomation_find](https://github.com/appium/ruby_lib/blob/
|
2179
|
+
##### [uiautomation_find](https://github.com/appium/ruby_lib/blob/ad91ee47a96bf7a19b6f784dc760ac70b8788e5a/lib/appium_lib/ios/mobile_methods.rb#L10) ios
|
2127
2180
|
|
2128
2181
|
> def uiautomation_find
|
2129
2182
|
|
@@ -2135,7 +2188,7 @@ find_element/s can be used with a [UIAutomation command](https://developer.apple
|
|
2135
2188
|
|
2136
2189
|
--
|
2137
2190
|
|
2138
|
-
##### [UIAButton](https://github.com/appium/ruby_lib/blob/
|
2191
|
+
##### [UIAButton](https://github.com/appium/ruby_lib/blob/ad91ee47a96bf7a19b6f784dc760ac70b8788e5a/lib/appium_lib/ios/element/button.rb#L4) ios
|
2139
2192
|
|
2140
2193
|
> UIAButton = 'UIAButton'
|
2141
2194
|
|
@@ -2143,7 +2196,7 @@ find_element/s can be used with a [UIAutomation command](https://developer.apple
|
|
2143
2196
|
|
2144
2197
|
--
|
2145
2198
|
|
2146
|
-
##### [button](https://github.com/appium/ruby_lib/blob/
|
2199
|
+
##### [button](https://github.com/appium/ruby_lib/blob/ad91ee47a96bf7a19b6f784dc760ac70b8788e5a/lib/appium_lib/ios/element/button.rb#L10) ios
|
2147
2200
|
|
2148
2201
|
> def button(value)
|
2149
2202
|
|
@@ -2160,7 +2213,7 @@ __Returns:__
|
|
2160
2213
|
|
2161
2214
|
--
|
2162
2215
|
|
2163
|
-
##### [buttons](https://github.com/appium/ruby_lib/blob/
|
2216
|
+
##### [buttons](https://github.com/appium/ruby_lib/blob/ad91ee47a96bf7a19b6f784dc760ac70b8788e5a/lib/appium_lib/ios/element/button.rb#L20) ios
|
2164
2217
|
|
2165
2218
|
> def buttons(value = false)
|
2166
2219
|
|
@@ -2177,7 +2230,7 @@ __Returns:__
|
|
2177
2230
|
|
2178
2231
|
--
|
2179
2232
|
|
2180
|
-
##### [first_button](https://github.com/appium/ruby_lib/blob/
|
2233
|
+
##### [first_button](https://github.com/appium/ruby_lib/blob/ad91ee47a96bf7a19b6f784dc760ac70b8788e5a/lib/appium_lib/ios/element/button.rb#L27) ios
|
2181
2234
|
|
2182
2235
|
> def first_button
|
2183
2236
|
|
@@ -2189,7 +2242,7 @@ __Returns:__
|
|
2189
2242
|
|
2190
2243
|
--
|
2191
2244
|
|
2192
|
-
##### [last_button](https://github.com/appium/ruby_lib/blob/
|
2245
|
+
##### [last_button](https://github.com/appium/ruby_lib/blob/ad91ee47a96bf7a19b6f784dc760ac70b8788e5a/lib/appium_lib/ios/element/button.rb#L33) ios
|
2193
2246
|
|
2194
2247
|
> def last_button
|
2195
2248
|
|
@@ -2201,7 +2254,7 @@ __Returns:__
|
|
2201
2254
|
|
2202
2255
|
--
|
2203
2256
|
|
2204
|
-
##### [button_exact](https://github.com/appium/ruby_lib/blob/
|
2257
|
+
##### [button_exact](https://github.com/appium/ruby_lib/blob/ad91ee47a96bf7a19b6f784dc760ac70b8788e5a/lib/appium_lib/ios/element/button.rb#L40) ios
|
2205
2258
|
|
2206
2259
|
> def button_exact(value)
|
2207
2260
|
|
@@ -2217,7 +2270,7 @@ __Returns:__
|
|
2217
2270
|
|
2218
2271
|
--
|
2219
2272
|
|
2220
|
-
##### [buttons_exact](https://github.com/appium/ruby_lib/blob/
|
2273
|
+
##### [buttons_exact](https://github.com/appium/ruby_lib/blob/ad91ee47a96bf7a19b6f784dc760ac70b8788e5a/lib/appium_lib/ios/element/button.rb#L47) ios
|
2221
2274
|
|
2222
2275
|
> def buttons_exact(value)
|
2223
2276
|
|
@@ -2233,7 +2286,7 @@ __Returns:__
|
|
2233
2286
|
|
2234
2287
|
--
|
2235
2288
|
|
2236
|
-
##### [find](https://github.com/appium/ruby_lib/blob/
|
2289
|
+
##### [find](https://github.com/appium/ruby_lib/blob/ad91ee47a96bf7a19b6f784dc760ac70b8788e5a/lib/appium_lib/ios/element/generic.rb#L6) ios
|
2237
2290
|
|
2238
2291
|
> def find(value)
|
2239
2292
|
|
@@ -2249,7 +2302,7 @@ __Returns:__
|
|
2249
2302
|
|
2250
2303
|
--
|
2251
2304
|
|
2252
|
-
##### [finds](https://github.com/appium/ruby_lib/blob/
|
2305
|
+
##### [finds](https://github.com/appium/ruby_lib/blob/ad91ee47a96bf7a19b6f784dc760ac70b8788e5a/lib/appium_lib/ios/element/generic.rb#L13) ios
|
2253
2306
|
|
2254
2307
|
> def finds(value)
|
2255
2308
|
|
@@ -2265,7 +2318,7 @@ __Returns:__
|
|
2265
2318
|
|
2266
2319
|
--
|
2267
2320
|
|
2268
|
-
##### [find_exact](https://github.com/appium/ruby_lib/blob/
|
2321
|
+
##### [find_exact](https://github.com/appium/ruby_lib/blob/ad91ee47a96bf7a19b6f784dc760ac70b8788e5a/lib/appium_lib/ios/element/generic.rb#L20) ios
|
2269
2322
|
|
2270
2323
|
> def find_exact(value)
|
2271
2324
|
|
@@ -2281,7 +2334,7 @@ __Returns:__
|
|
2281
2334
|
|
2282
2335
|
--
|
2283
2336
|
|
2284
|
-
##### [finds_exact](https://github.com/appium/ruby_lib/blob/
|
2337
|
+
##### [finds_exact](https://github.com/appium/ruby_lib/blob/ad91ee47a96bf7a19b6f784dc760ac70b8788e5a/lib/appium_lib/ios/element/generic.rb#L27) ios
|
2285
2338
|
|
2286
2339
|
> def finds_exact(value)
|
2287
2340
|
|
@@ -2297,7 +2350,7 @@ __Returns:__
|
|
2297
2350
|
|
2298
2351
|
--
|
2299
2352
|
|
2300
|
-
##### [UIATextField](https://github.com/appium/ruby_lib/blob/
|
2353
|
+
##### [UIATextField](https://github.com/appium/ruby_lib/blob/ad91ee47a96bf7a19b6f784dc760ac70b8788e5a/lib/appium_lib/ios/element/textfield.rb#L3) ios
|
2301
2354
|
|
2302
2355
|
> UIATextField = 'UIATextField'
|
2303
2356
|
|
@@ -2305,7 +2358,7 @@ __Returns:__
|
|
2305
2358
|
|
2306
2359
|
--
|
2307
2360
|
|
2308
|
-
##### [UIASecureTextField](https://github.com/appium/ruby_lib/blob/
|
2361
|
+
##### [UIASecureTextField](https://github.com/appium/ruby_lib/blob/ad91ee47a96bf7a19b6f784dc760ac70b8788e5a/lib/appium_lib/ios/element/textfield.rb#L4) ios
|
2309
2362
|
|
2310
2363
|
> UIASecureTextField = 'UIASecureTextField'
|
2311
2364
|
|
@@ -2313,7 +2366,7 @@ __Returns:__
|
|
2313
2366
|
|
2314
2367
|
--
|
2315
2368
|
|
2316
|
-
##### [textfield](https://github.com/appium/ruby_lib/blob/
|
2369
|
+
##### [textfield](https://github.com/appium/ruby_lib/blob/ad91ee47a96bf7a19b6f784dc760ac70b8788e5a/lib/appium_lib/ios/element/textfield.rb#L52) ios
|
2317
2370
|
|
2318
2371
|
> def textfield(value)
|
2319
2372
|
|
@@ -2330,7 +2383,7 @@ __Returns:__
|
|
2330
2383
|
|
2331
2384
|
--
|
2332
2385
|
|
2333
|
-
##### [textfields](https://github.com/appium/ruby_lib/blob/
|
2386
|
+
##### [textfields](https://github.com/appium/ruby_lib/blob/ad91ee47a96bf7a19b6f784dc760ac70b8788e5a/lib/appium_lib/ios/element/textfield.rb#L72) ios
|
2334
2387
|
|
2335
2388
|
> def textfields(value = false)
|
2336
2389
|
|
@@ -2347,7 +2400,7 @@ __Returns:__
|
|
2347
2400
|
|
2348
2401
|
--
|
2349
2402
|
|
2350
|
-
##### [first_textfield](https://github.com/appium/ruby_lib/blob/
|
2403
|
+
##### [first_textfield](https://github.com/appium/ruby_lib/blob/ad91ee47a96bf7a19b6f784dc760ac70b8788e5a/lib/appium_lib/ios/element/textfield.rb#L79) ios
|
2351
2404
|
|
2352
2405
|
> def first_textfield
|
2353
2406
|
|
@@ -2359,7 +2412,7 @@ __Returns:__
|
|
2359
2412
|
|
2360
2413
|
--
|
2361
2414
|
|
2362
|
-
##### [last_textfield](https://github.com/appium/ruby_lib/blob/
|
2415
|
+
##### [last_textfield](https://github.com/appium/ruby_lib/blob/ad91ee47a96bf7a19b6f784dc760ac70b8788e5a/lib/appium_lib/ios/element/textfield.rb#L85) ios
|
2363
2416
|
|
2364
2417
|
> def last_textfield
|
2365
2418
|
|
@@ -2371,7 +2424,7 @@ __Returns:__
|
|
2371
2424
|
|
2372
2425
|
--
|
2373
2426
|
|
2374
|
-
##### [textfield_exact](https://github.com/appium/ruby_lib/blob/
|
2427
|
+
##### [textfield_exact](https://github.com/appium/ruby_lib/blob/ad91ee47a96bf7a19b6f784dc760ac70b8788e5a/lib/appium_lib/ios/element/textfield.rb#L94) ios
|
2375
2428
|
|
2376
2429
|
> def textfield_exact(value)
|
2377
2430
|
|
@@ -2387,7 +2440,7 @@ __Returns:__
|
|
2387
2440
|
|
2388
2441
|
--
|
2389
2442
|
|
2390
|
-
##### [textfields_exact](https://github.com/appium/ruby_lib/blob/
|
2443
|
+
##### [textfields_exact](https://github.com/appium/ruby_lib/blob/ad91ee47a96bf7a19b6f784dc760ac70b8788e5a/lib/appium_lib/ios/element/textfield.rb#L101) ios
|
2391
2444
|
|
2392
2445
|
> def textfields_exact(value)
|
2393
2446
|
|
@@ -2403,7 +2456,7 @@ __Returns:__
|
|
2403
2456
|
|
2404
2457
|
--
|
2405
2458
|
|
2406
|
-
##### [value](https://github.com/appium/ruby_lib/blob/
|
2459
|
+
##### [value](https://github.com/appium/ruby_lib/blob/ad91ee47a96bf7a19b6f784dc760ac70b8788e5a/lib/appium_lib/common/patch.rb#L12)
|
2407
2460
|
|
2408
2461
|
> def value
|
2409
2462
|
|
@@ -2413,7 +2466,7 @@ Fixes NoMethodError: undefined method `value' for Selenium::WebDriver::Element
|
|
2413
2466
|
|
2414
2467
|
--
|
2415
2468
|
|
2416
|
-
##### [name](https://github.com/appium/ruby_lib/blob/
|
2469
|
+
##### [name](https://github.com/appium/ruby_lib/blob/ad91ee47a96bf7a19b6f784dc760ac70b8788e5a/lib/appium_lib/common/patch.rb#L19)
|
2417
2470
|
|
2418
2471
|
> def name
|
2419
2472
|
|
@@ -2423,7 +2476,7 @@ Fixes NoMethodError: undefined method `name' for Selenium::WebDriver::Element
|
|
2423
2476
|
|
2424
2477
|
--
|
2425
2478
|
|
2426
|
-
##### [location_rel](https://github.com/appium/ruby_lib/blob/
|
2479
|
+
##### [location_rel](https://github.com/appium/ruby_lib/blob/ad91ee47a96bf7a19b6f784dc760ac70b8788e5a/lib/appium_lib/common/patch.rb#L31)
|
2427
2480
|
|
2428
2481
|
> def location_rel
|
2429
2482
|
|
@@ -2441,7 +2494,7 @@ __Returns:__
|
|
2441
2494
|
|
2442
2495
|
--
|
2443
2496
|
|
2444
|
-
##### [DEFAULT_HEADERS](https://github.com/appium/ruby_lib/blob/
|
2497
|
+
##### [DEFAULT_HEADERS](https://github.com/appium/ruby_lib/blob/ad91ee47a96bf7a19b6f784dc760ac70b8788e5a/lib/appium_lib/common/patch.rb#L147)
|
2445
2498
|
|
2446
2499
|
> DEFAULT_HEADERS = { 'Accept' => CONTENT_TYPE, 'User-Agent' => "appium/ruby_lib/#{::Appium::VERSION}" }
|
2447
2500
|
|