appium_lib 8.0.1 → 8.0.2
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/android_tests/lib/android/specs/common/device.rb +4 -0
- data/appium_lib.gemspec +1 -1
- data/docs/android_docs.md +191 -191
- data/docs/ios_docs.md +185 -185
- data/ios_tests/appium.txt +1 -1
- data/ios_tests/lib/ios/specs/device/device.rb +4 -0
- data/lib/appium_lib/common/version.rb +2 -2
- data/lib/appium_lib/device/device.rb +1 -0
- data/release_notes.md +9 -0
- metadata +5 -5
data/docs/ios_docs.md
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
##### [load_appium_txt](https://github.com/appium/ruby_lib/blob/
|
1
|
+
##### [load_appium_txt](https://github.com/appium/ruby_lib/blob/d67cbbac43f511515f6e6f53197cfae2bb7671e0/lib/appium_lib/driver.rb#L70)
|
2
2
|
|
3
3
|
> def self.load_appium_txt(opts = {})
|
4
4
|
|
@@ -27,7 +27,7 @@ __Returns:__
|
|
27
27
|
|
28
28
|
--
|
29
29
|
|
30
|
-
##### [symbolize_keys](https://github.com/appium/ruby_lib/blob/
|
30
|
+
##### [symbolize_keys](https://github.com/appium/ruby_lib/blob/d67cbbac43f511515f6e6f53197cfae2bb7671e0/lib/appium_lib/driver.rb#L136)
|
31
31
|
|
32
32
|
> def self.symbolize_keys(hash)
|
33
33
|
|
@@ -38,7 +38,7 @@ https://github.com/rails/docrails/blob/a3b1105ada3da64acfa3843b164b14b734456a50/
|
|
38
38
|
|
39
39
|
--
|
40
40
|
|
41
|
-
##### [promote_singleton_appium_methods](https://github.com/appium/ruby_lib/blob/
|
41
|
+
##### [promote_singleton_appium_methods](https://github.com/appium/ruby_lib/blob/d67cbbac43f511515f6e6f53197cfae2bb7671e0/lib/appium_lib/driver.rb#L157)
|
42
42
|
|
43
43
|
> def self.promote_singleton_appium_methods(modules)
|
44
44
|
|
@@ -56,7 +56,7 @@ otherwise, the array of modules will be used as the promotion target.
|
|
56
56
|
|
57
57
|
--
|
58
58
|
|
59
|
-
##### [promote_appium_methods](https://github.com/appium/ruby_lib/blob/
|
59
|
+
##### [promote_appium_methods](https://github.com/appium/ruby_lib/blob/d67cbbac43f511515f6e6f53197cfae2bb7671e0/lib/appium_lib/driver.rb#L208)
|
60
60
|
|
61
61
|
> def self.promote_appium_methods(class_array)
|
62
62
|
|
@@ -86,7 +86,7 @@ __Parameters:__
|
|
86
86
|
|
87
87
|
--
|
88
88
|
|
89
|
-
##### [global_webdriver_http_sleep](https://github.com/appium/ruby_lib/blob/
|
89
|
+
##### [global_webdriver_http_sleep](https://github.com/appium/ruby_lib/blob/d67cbbac43f511515f6e6f53197cfae2bb7671e0/lib/appium_lib/driver.rb#L242)
|
90
90
|
|
91
91
|
> def global_webdriver_http_sleep
|
92
92
|
|
@@ -94,7 +94,7 @@ The amount to sleep in seconds before every webdriver http call.
|
|
94
94
|
|
95
95
|
--
|
96
96
|
|
97
|
-
##### [global_webdriver_http_sleep=](https://github.com/appium/ruby_lib/blob/
|
97
|
+
##### [global_webdriver_http_sleep=](https://github.com/appium/ruby_lib/blob/d67cbbac43f511515f6e6f53197cfae2bb7671e0/lib/appium_lib/driver.rb#L242)
|
98
98
|
|
99
99
|
> def global_webdriver_http_sleep=(value)
|
100
100
|
|
@@ -102,7 +102,7 @@ The amount to sleep in seconds before every webdriver http call.
|
|
102
102
|
|
103
103
|
--
|
104
104
|
|
105
|
-
##### [caps](https://github.com/appium/ruby_lib/blob/
|
105
|
+
##### [caps](https://github.com/appium/ruby_lib/blob/d67cbbac43f511515f6e6f53197cfae2bb7671e0/lib/appium_lib/driver.rb#L244)
|
106
106
|
|
107
107
|
> def caps
|
108
108
|
|
@@ -110,7 +110,7 @@ Selenium webdriver capabilities
|
|
110
110
|
|
111
111
|
--
|
112
112
|
|
113
|
-
##### [caps=](https://github.com/appium/ruby_lib/blob/
|
113
|
+
##### [caps=](https://github.com/appium/ruby_lib/blob/d67cbbac43f511515f6e6f53197cfae2bb7671e0/lib/appium_lib/driver.rb#L244)
|
114
114
|
|
115
115
|
> def caps=(value)
|
116
116
|
|
@@ -118,7 +118,7 @@ Selenium webdriver capabilities
|
|
118
118
|
|
119
119
|
--
|
120
120
|
|
121
|
-
##### [custom_url](https://github.com/appium/ruby_lib/blob/
|
121
|
+
##### [custom_url](https://github.com/appium/ruby_lib/blob/d67cbbac43f511515f6e6f53197cfae2bb7671e0/lib/appium_lib/driver.rb#L246)
|
122
122
|
|
123
123
|
> def custom_url
|
124
124
|
|
@@ -126,7 +126,7 @@ Custom URL for the selenium server
|
|
126
126
|
|
127
127
|
--
|
128
128
|
|
129
|
-
##### [custom_url=](https://github.com/appium/ruby_lib/blob/
|
129
|
+
##### [custom_url=](https://github.com/appium/ruby_lib/blob/d67cbbac43f511515f6e6f53197cfae2bb7671e0/lib/appium_lib/driver.rb#L246)
|
130
130
|
|
131
131
|
> def custom_url=(value)
|
132
132
|
|
@@ -134,7 +134,7 @@ Custom URL for the selenium server
|
|
134
134
|
|
135
135
|
--
|
136
136
|
|
137
|
-
##### [export_session](https://github.com/appium/ruby_lib/blob/
|
137
|
+
##### [export_session](https://github.com/appium/ruby_lib/blob/d67cbbac43f511515f6e6f53197cfae2bb7671e0/lib/appium_lib/driver.rb#L248)
|
138
138
|
|
139
139
|
> def export_session
|
140
140
|
|
@@ -142,7 +142,7 @@ Export session id to textfile in /tmp for 3rd party tools
|
|
142
142
|
|
143
143
|
--
|
144
144
|
|
145
|
-
##### [export_session=](https://github.com/appium/ruby_lib/blob/
|
145
|
+
##### [export_session=](https://github.com/appium/ruby_lib/blob/d67cbbac43f511515f6e6f53197cfae2bb7671e0/lib/appium_lib/driver.rb#L248)
|
146
146
|
|
147
147
|
> def export_session=(value)
|
148
148
|
|
@@ -150,7 +150,7 @@ Export session id to textfile in /tmp for 3rd party tools
|
|
150
150
|
|
151
151
|
--
|
152
152
|
|
153
|
-
##### [default_wait](https://github.com/appium/ruby_lib/blob/
|
153
|
+
##### [default_wait](https://github.com/appium/ruby_lib/blob/d67cbbac43f511515f6e6f53197cfae2bb7671e0/lib/appium_lib/driver.rb#L253)
|
154
154
|
|
155
155
|
> def default_wait
|
156
156
|
|
@@ -164,7 +164,7 @@ __Returns:__
|
|
164
164
|
|
165
165
|
--
|
166
166
|
|
167
|
-
##### [default_wait=](https://github.com/appium/ruby_lib/blob/
|
167
|
+
##### [default_wait=](https://github.com/appium/ruby_lib/blob/d67cbbac43f511515f6e6f53197cfae2bb7671e0/lib/appium_lib/driver.rb#L253)
|
168
168
|
|
169
169
|
> def default_wait=(value)
|
170
170
|
|
@@ -178,7 +178,7 @@ __Returns:__
|
|
178
178
|
|
179
179
|
--
|
180
180
|
|
181
|
-
##### [last_waits](https://github.com/appium/ruby_lib/blob/
|
181
|
+
##### [last_waits](https://github.com/appium/ruby_lib/blob/d67cbbac43f511515f6e6f53197cfae2bb7671e0/lib/appium_lib/driver.rb#L255)
|
182
182
|
|
183
183
|
> def last_waits
|
184
184
|
|
@@ -186,7 +186,7 @@ Array of previous wait time values
|
|
186
186
|
|
187
187
|
--
|
188
188
|
|
189
|
-
##### [last_waits=](https://github.com/appium/ruby_lib/blob/
|
189
|
+
##### [last_waits=](https://github.com/appium/ruby_lib/blob/d67cbbac43f511515f6e6f53197cfae2bb7671e0/lib/appium_lib/driver.rb#L255)
|
190
190
|
|
191
191
|
> def last_waits=(value)
|
192
192
|
|
@@ -194,7 +194,7 @@ Array of previous wait time values
|
|
194
194
|
|
195
195
|
--
|
196
196
|
|
197
|
-
##### [sauce_username](https://github.com/appium/ruby_lib/blob/
|
197
|
+
##### [sauce_username](https://github.com/appium/ruby_lib/blob/d67cbbac43f511515f6e6f53197cfae2bb7671e0/lib/appium_lib/driver.rb#L257)
|
198
198
|
|
199
199
|
> def sauce_username
|
200
200
|
|
@@ -202,7 +202,7 @@ Username for use on Sauce Labs
|
|
202
202
|
|
203
203
|
--
|
204
204
|
|
205
|
-
##### [sauce_username=](https://github.com/appium/ruby_lib/blob/
|
205
|
+
##### [sauce_username=](https://github.com/appium/ruby_lib/blob/d67cbbac43f511515f6e6f53197cfae2bb7671e0/lib/appium_lib/driver.rb#L257)
|
206
206
|
|
207
207
|
> def sauce_username=(value)
|
208
208
|
|
@@ -210,7 +210,7 @@ Username for use on Sauce Labs
|
|
210
210
|
|
211
211
|
--
|
212
212
|
|
213
|
-
##### [sauce_access_key](https://github.com/appium/ruby_lib/blob/
|
213
|
+
##### [sauce_access_key](https://github.com/appium/ruby_lib/blob/d67cbbac43f511515f6e6f53197cfae2bb7671e0/lib/appium_lib/driver.rb#L259)
|
214
214
|
|
215
215
|
> def sauce_access_key
|
216
216
|
|
@@ -218,7 +218,7 @@ Access Key for use on Sauce Labs
|
|
218
218
|
|
219
219
|
--
|
220
220
|
|
221
|
-
##### [sauce_access_key=](https://github.com/appium/ruby_lib/blob/
|
221
|
+
##### [sauce_access_key=](https://github.com/appium/ruby_lib/blob/d67cbbac43f511515f6e6f53197cfae2bb7671e0/lib/appium_lib/driver.rb#L259)
|
222
222
|
|
223
223
|
> def sauce_access_key=(value)
|
224
224
|
|
@@ -226,7 +226,7 @@ Access Key for use on Sauce Labs
|
|
226
226
|
|
227
227
|
--
|
228
228
|
|
229
|
-
##### [appium_port](https://github.com/appium/ruby_lib/blob/
|
229
|
+
##### [appium_port](https://github.com/appium/ruby_lib/blob/d67cbbac43f511515f6e6f53197cfae2bb7671e0/lib/appium_lib/driver.rb#L261)
|
230
230
|
|
231
231
|
> def appium_port
|
232
232
|
|
@@ -234,7 +234,7 @@ Appium's server port
|
|
234
234
|
|
235
235
|
--
|
236
236
|
|
237
|
-
##### [appium_port=](https://github.com/appium/ruby_lib/blob/
|
237
|
+
##### [appium_port=](https://github.com/appium/ruby_lib/blob/d67cbbac43f511515f6e6f53197cfae2bb7671e0/lib/appium_lib/driver.rb#L261)
|
238
238
|
|
239
239
|
> def appium_port=(value)
|
240
240
|
|
@@ -242,7 +242,7 @@ Appium's server port
|
|
242
242
|
|
243
243
|
--
|
244
244
|
|
245
|
-
##### [appium_device](https://github.com/appium/ruby_lib/blob/
|
245
|
+
##### [appium_device](https://github.com/appium/ruby_lib/blob/d67cbbac43f511515f6e6f53197cfae2bb7671e0/lib/appium_lib/driver.rb#L263)
|
246
246
|
|
247
247
|
> def appium_device
|
248
248
|
|
@@ -250,7 +250,7 @@ Device type to request from the appium server
|
|
250
250
|
|
251
251
|
--
|
252
252
|
|
253
|
-
##### [appium_device=](https://github.com/appium/ruby_lib/blob/
|
253
|
+
##### [appium_device=](https://github.com/appium/ruby_lib/blob/d67cbbac43f511515f6e6f53197cfae2bb7671e0/lib/appium_lib/driver.rb#L263)
|
254
254
|
|
255
255
|
> def appium_device=(value)
|
256
256
|
|
@@ -258,7 +258,7 @@ Device type to request from the appium server
|
|
258
258
|
|
259
259
|
--
|
260
260
|
|
261
|
-
##### [appium_debug](https://github.com/appium/ruby_lib/blob/
|
261
|
+
##### [appium_debug](https://github.com/appium/ruby_lib/blob/d67cbbac43f511515f6e6f53197cfae2bb7671e0/lib/appium_lib/driver.rb#L265)
|
262
262
|
|
263
263
|
> def appium_debug
|
264
264
|
|
@@ -266,7 +266,7 @@ Boolean debug mode for the Appium Ruby bindings
|
|
266
266
|
|
267
267
|
--
|
268
268
|
|
269
|
-
##### [appium_debug=](https://github.com/appium/ruby_lib/blob/
|
269
|
+
##### [appium_debug=](https://github.com/appium/ruby_lib/blob/d67cbbac43f511515f6e6f53197cfae2bb7671e0/lib/appium_lib/driver.rb#L265)
|
270
270
|
|
271
271
|
> def appium_debug=(value)
|
272
272
|
|
@@ -274,7 +274,7 @@ Boolean debug mode for the Appium Ruby bindings
|
|
274
274
|
|
275
275
|
--
|
276
276
|
|
277
|
-
##### [driver](https://github.com/appium/ruby_lib/blob/
|
277
|
+
##### [driver](https://github.com/appium/ruby_lib/blob/d67cbbac43f511515f6e6f53197cfae2bb7671e0/lib/appium_lib/driver.rb#L269)
|
278
278
|
|
279
279
|
> def driver
|
280
280
|
|
@@ -286,7 +286,7 @@ __Returns:__
|
|
286
286
|
|
287
287
|
--
|
288
288
|
|
289
|
-
##### [initialize](https://github.com/appium/ruby_lib/blob/
|
289
|
+
##### [initialize](https://github.com/appium/ruby_lib/blob/d67cbbac43f511515f6e6f53197cfae2bb7671e0/lib/appium_lib/driver.rb#L290)
|
290
290
|
|
291
291
|
> def initialize(opts = {})
|
292
292
|
|
@@ -317,7 +317,7 @@ __Returns:__
|
|
317
317
|
|
318
318
|
--
|
319
319
|
|
320
|
-
##### [driver_attributes](https://github.com/appium/ruby_lib/blob/
|
320
|
+
##### [driver_attributes](https://github.com/appium/ruby_lib/blob/d67cbbac43f511515f6e6f53197cfae2bb7671e0/lib/appium_lib/driver.rb#L354)
|
321
321
|
|
322
322
|
> def driver_attributes
|
323
323
|
|
@@ -325,7 +325,7 @@ Returns a hash of the driver attributes
|
|
325
325
|
|
326
326
|
--
|
327
327
|
|
328
|
-
##### [device_is_android?](https://github.com/appium/ruby_lib/blob/
|
328
|
+
##### [device_is_android?](https://github.com/appium/ruby_lib/blob/d67cbbac43f511515f6e6f53197cfae2bb7671e0/lib/appium_lib/driver.rb#L374)
|
329
329
|
|
330
330
|
> def device_is_android?
|
331
331
|
|
@@ -337,7 +337,7 @@ __Returns:__
|
|
337
337
|
|
338
338
|
--
|
339
339
|
|
340
|
-
##### [appium_server_version](https://github.com/appium/ruby_lib/blob/
|
340
|
+
##### [appium_server_version](https://github.com/appium/ruby_lib/blob/d67cbbac43f511515f6e6f53197cfae2bb7671e0/lib/appium_lib/driver.rb#L390)
|
341
341
|
|
342
342
|
> def appium_server_version
|
343
343
|
|
@@ -358,7 +358,7 @@ __Returns:__
|
|
358
358
|
|
359
359
|
--
|
360
360
|
|
361
|
-
##### [absolute_app_path](https://github.com/appium/ruby_lib/blob/
|
361
|
+
##### [absolute_app_path](https://github.com/appium/ruby_lib/blob/d67cbbac43f511515f6e6f53197cfae2bb7671e0/lib/appium_lib/driver.rb#L402)
|
362
362
|
|
363
363
|
> def self.absolute_app_path(opts)
|
364
364
|
|
@@ -375,7 +375,7 @@ __Returns:__
|
|
375
375
|
|
376
376
|
--
|
377
377
|
|
378
|
-
##### [server_url](https://github.com/appium/ruby_lib/blob/
|
378
|
+
##### [server_url](https://github.com/appium/ruby_lib/blob/d67cbbac43f511515f6e6f53197cfae2bb7671e0/lib/appium_lib/driver.rb#L435)
|
379
379
|
|
380
380
|
> def server_url
|
381
381
|
|
@@ -387,7 +387,7 @@ __Returns:__
|
|
387
387
|
|
388
388
|
--
|
389
389
|
|
390
|
-
##### [restart](https://github.com/appium/ruby_lib/blob/
|
390
|
+
##### [restart](https://github.com/appium/ruby_lib/blob/d67cbbac43f511515f6e6f53197cfae2bb7671e0/lib/appium_lib/driver.rb#L446)
|
391
391
|
|
392
392
|
> def restart
|
393
393
|
|
@@ -399,7 +399,7 @@ __Returns:__
|
|
399
399
|
|
400
400
|
--
|
401
401
|
|
402
|
-
##### [screenshot](https://github.com/appium/ruby_lib/blob/
|
402
|
+
##### [screenshot](https://github.com/appium/ruby_lib/blob/d67cbbac43f511515f6e6f53197cfae2bb7671e0/lib/appium_lib/driver.rb#L457)
|
403
403
|
|
404
404
|
> def screenshot(png_save_path)
|
405
405
|
|
@@ -417,7 +417,7 @@ __Returns:__
|
|
417
417
|
|
418
418
|
--
|
419
419
|
|
420
|
-
##### [driver_quit](https://github.com/appium/ruby_lib/blob/
|
420
|
+
##### [driver_quit](https://github.com/appium/ruby_lib/blob/d67cbbac43f511515f6e6f53197cfae2bb7671e0/lib/appium_lib/driver.rb#L464)
|
421
421
|
|
422
422
|
> def driver_quit
|
423
423
|
|
@@ -429,7 +429,7 @@ __Returns:__
|
|
429
429
|
|
430
430
|
--
|
431
431
|
|
432
|
-
##### [start_driver](https://github.com/appium/ruby_lib/blob/
|
432
|
+
##### [start_driver](https://github.com/appium/ruby_lib/blob/d67cbbac43f511515f6e6f53197cfae2bb7671e0/lib/appium_lib/driver.rb#L473)
|
433
433
|
|
434
434
|
> def start_driver
|
435
435
|
|
@@ -441,7 +441,7 @@ __Returns:__
|
|
441
441
|
|
442
442
|
--
|
443
443
|
|
444
|
-
##### [no_wait](https://github.com/appium/ruby_lib/blob/
|
444
|
+
##### [no_wait](https://github.com/appium/ruby_lib/blob/d67cbbac43f511515f6e6f53197cfae2bb7671e0/lib/appium_lib/driver.rb#L501)
|
445
445
|
|
446
446
|
> def no_wait
|
447
447
|
|
@@ -449,7 +449,7 @@ Set implicit wait and default_wait to zero.
|
|
449
449
|
|
450
450
|
--
|
451
451
|
|
452
|
-
##### [set_wait](https://github.com/appium/ruby_lib/blob/
|
452
|
+
##### [set_wait](https://github.com/appium/ruby_lib/blob/d67cbbac43f511515f6e6f53197cfae2bb7671e0/lib/appium_lib/driver.rb#L520)
|
453
453
|
|
454
454
|
> def set_wait(timeout = nil)
|
455
455
|
|
@@ -474,7 +474,7 @@ __Returns:__
|
|
474
474
|
|
475
475
|
--
|
476
476
|
|
477
|
-
##### [exists](https://github.com/appium/ruby_lib/blob/
|
477
|
+
##### [exists](https://github.com/appium/ruby_lib/blob/d67cbbac43f511515f6e6f53197cfae2bb7671e0/lib/appium_lib/driver.rb#L547)
|
478
478
|
|
479
479
|
> def exists(pre_check = 0, post_check = @default_wait, &search_block)
|
480
480
|
|
@@ -500,7 +500,7 @@ __Returns:__
|
|
500
500
|
|
501
501
|
--
|
502
502
|
|
503
|
-
##### [execute_script](https://github.com/appium/ruby_lib/blob/
|
503
|
+
##### [execute_script](https://github.com/appium/ruby_lib/blob/d67cbbac43f511515f6e6f53197cfae2bb7671e0/lib/appium_lib/driver.rb#L571)
|
504
504
|
|
505
505
|
> def execute_script(script, *args)
|
506
506
|
|
@@ -518,7 +518,7 @@ __Returns:__
|
|
518
518
|
|
519
519
|
--
|
520
520
|
|
521
|
-
##### [find_elements](https://github.com/appium/ruby_lib/blob/
|
521
|
+
##### [find_elements](https://github.com/appium/ruby_lib/blob/d67cbbac43f511515f6e6f53197cfae2bb7671e0/lib/appium_lib/driver.rb#L579)
|
522
522
|
|
523
523
|
> def find_elements(*args)
|
524
524
|
|
@@ -534,7 +534,7 @@ __Returns:__
|
|
534
534
|
|
535
535
|
--
|
536
536
|
|
537
|
-
##### [find_element](https://github.com/appium/ruby_lib/blob/
|
537
|
+
##### [find_element](https://github.com/appium/ruby_lib/blob/d67cbbac43f511515f6e6f53197cfae2bb7671e0/lib/appium_lib/driver.rb#L587)
|
538
538
|
|
539
539
|
> def find_element(*args)
|
540
540
|
|
@@ -550,7 +550,7 @@ __Returns:__
|
|
550
550
|
|
551
551
|
--
|
552
552
|
|
553
|
-
##### [set_location](https://github.com/appium/ruby_lib/blob/
|
553
|
+
##### [set_location](https://github.com/appium/ruby_lib/blob/d67cbbac43f511515f6e6f53197cfae2bb7671e0/lib/appium_lib/driver.rb#L600)
|
554
554
|
|
555
555
|
> def set_location(opts = {})
|
556
556
|
|
@@ -566,7 +566,7 @@ __Returns:__
|
|
566
566
|
|
567
567
|
--
|
568
568
|
|
569
|
-
##### [x](https://github.com/appium/ruby_lib/blob/
|
569
|
+
##### [x](https://github.com/appium/ruby_lib/blob/d67cbbac43f511515f6e6f53197cfae2bb7671e0/lib/appium_lib/driver.rb#L610)
|
570
570
|
|
571
571
|
> def x
|
572
572
|
|
@@ -579,7 +579,7 @@ __Returns:__
|
|
579
579
|
|
580
580
|
--
|
581
581
|
|
582
|
-
##### [logger=](https://github.com/appium/ruby_lib/blob/
|
582
|
+
##### [logger=](https://github.com/appium/ruby_lib/blob/d67cbbac43f511515f6e6f53197cfae2bb7671e0/lib/appium_lib/logger.rb#L13)
|
583
583
|
|
584
584
|
> def logger=(value)
|
585
585
|
|
@@ -591,7 +591,7 @@ __Parameters:__
|
|
591
591
|
|
592
592
|
--
|
593
593
|
|
594
|
-
##### [logger](https://github.com/appium/ruby_lib/blob/
|
594
|
+
##### [logger](https://github.com/appium/ruby_lib/blob/d67cbbac43f511515f6e6f53197cfae2bb7671e0/lib/appium_lib/logger.rb#L17)
|
595
595
|
|
596
596
|
> def logger
|
597
597
|
|
@@ -599,7 +599,7 @@ __Parameters:__
|
|
599
599
|
|
600
600
|
--
|
601
601
|
|
602
|
-
##### [NoArgMethods](https://github.com/appium/ruby_lib/blob/
|
602
|
+
##### [NoArgMethods](https://github.com/appium/ruby_lib/blob/d67cbbac43f511515f6e6f53197cfae2bb7671e0/lib/appium_lib/device/device.rb#L7)
|
603
603
|
|
604
604
|
> NoArgMethods = {
|
605
605
|
|
@@ -607,7 +607,7 @@ __Parameters:__
|
|
607
607
|
|
608
608
|
--
|
609
609
|
|
610
|
-
##### [app_strings](https://github.com/appium/ruby_lib/blob/
|
610
|
+
##### [app_strings](https://github.com/appium/ruby_lib/blob/d67cbbac43f511515f6e6f53197cfae2bb7671e0/lib/appium_lib/device/device.rb#L25)
|
611
611
|
|
612
612
|
> def app_strings
|
613
613
|
|
@@ -618,7 +618,7 @@ app_strings #=> "TransitionsTitle"=>"Transitions", "WebTitle"=>"Web"
|
|
618
618
|
|
619
619
|
--
|
620
620
|
|
621
|
-
##### [background_app](https://github.com/appium/ruby_lib/blob/
|
621
|
+
##### [background_app](https://github.com/appium/ruby_lib/blob/d67cbbac43f511515f6e6f53197cfae2bb7671e0/lib/appium_lib/device/device.rb#L31)
|
622
622
|
|
623
623
|
> def background_app
|
624
624
|
|
@@ -627,7 +627,7 @@ This is a blocking application
|
|
627
627
|
|
628
628
|
--
|
629
629
|
|
630
|
-
##### [current_activity](https://github.com/appium/ruby_lib/blob/
|
630
|
+
##### [current_activity](https://github.com/appium/ruby_lib/blob/d67cbbac43f511515f6e6f53197cfae2bb7671e0/lib/appium_lib/device/device.rb#L36)
|
631
631
|
|
632
632
|
> def current_activity
|
633
633
|
|
@@ -635,7 +635,7 @@ This is a blocking application
|
|
635
635
|
|
636
636
|
--
|
637
637
|
|
638
|
-
##### [launch_app](https://github.com/appium/ruby_lib/blob/
|
638
|
+
##### [launch_app](https://github.com/appium/ruby_lib/blob/d67cbbac43f511515f6e6f53197cfae2bb7671e0/lib/appium_lib/device/device.rb#L38)
|
639
639
|
|
640
640
|
> def launch_app
|
641
641
|
|
@@ -643,7 +643,7 @@ Start the simulator and application configured with desired capabilities
|
|
643
643
|
|
644
644
|
--
|
645
645
|
|
646
|
-
##### [reset](https://github.com/appium/ruby_lib/blob/
|
646
|
+
##### [reset](https://github.com/appium/ruby_lib/blob/d67cbbac43f511515f6e6f53197cfae2bb7671e0/lib/appium_lib/device/device.rb#L41)
|
647
647
|
|
648
648
|
> def reset
|
649
649
|
|
@@ -651,7 +651,7 @@ Reset the device, relaunching the application.
|
|
651
651
|
|
652
652
|
--
|
653
653
|
|
654
|
-
##### [shake](https://github.com/appium/ruby_lib/blob/
|
654
|
+
##### [shake](https://github.com/appium/ruby_lib/blob/d67cbbac43f511515f6e6f53197cfae2bb7671e0/lib/appium_lib/device/device.rb#L44)
|
655
655
|
|
656
656
|
> def shake
|
657
657
|
|
@@ -659,7 +659,7 @@ Cause the device to shake
|
|
659
659
|
|
660
660
|
--
|
661
661
|
|
662
|
-
##### [toggle_flight_mode](https://github.com/appium/ruby_lib/blob/
|
662
|
+
##### [toggle_flight_mode](https://github.com/appium/ruby_lib/blob/d67cbbac43f511515f6e6f53197cfae2bb7671e0/lib/appium_lib/device/device.rb#L47)
|
663
663
|
|
664
664
|
> def toggle_flight_mode
|
665
665
|
|
@@ -667,7 +667,7 @@ Toggle flight mode on or off
|
|
667
667
|
|
668
668
|
--
|
669
669
|
|
670
|
-
##### [device_locked?](https://github.com/appium/ruby_lib/blob/
|
670
|
+
##### [device_locked?](https://github.com/appium/ruby_lib/blob/d67cbbac43f511515f6e6f53197cfae2bb7671e0/lib/appium_lib/device/device.rb#L50)
|
671
671
|
|
672
672
|
> def device_locked?
|
673
673
|
|
@@ -675,7 +675,7 @@ Toggle flight mode on or off
|
|
675
675
|
|
676
676
|
--
|
677
677
|
|
678
|
-
##### [hide_keyboard](https://github.com/appium/ruby_lib/blob/
|
678
|
+
##### [hide_keyboard](https://github.com/appium/ruby_lib/blob/d67cbbac43f511515f6e6f53197cfae2bb7671e0/lib/appium_lib/device/device.rb#L52)
|
679
679
|
|
680
680
|
> def hide_keyboard
|
681
681
|
|
@@ -688,7 +688,7 @@ Defaults to 'Done'.
|
|
688
688
|
|
689
689
|
--
|
690
690
|
|
691
|
-
##### [press_keycode](https://github.com/appium/ruby_lib/blob/
|
691
|
+
##### [press_keycode](https://github.com/appium/ruby_lib/blob/d67cbbac43f511515f6e6f53197cfae2bb7671e0/lib/appium_lib/device/device.rb#L61)
|
692
692
|
|
693
693
|
> def press_keycode
|
694
694
|
|
@@ -703,7 +703,7 @@ __Parameters:__
|
|
703
703
|
|
704
704
|
--
|
705
705
|
|
706
|
-
##### [long_press_keycode](https://github.com/appium/ruby_lib/blob/
|
706
|
+
##### [long_press_keycode](https://github.com/appium/ruby_lib/blob/d67cbbac43f511515f6e6f53197cfae2bb7671e0/lib/appium_lib/device/device.rb#L67)
|
707
707
|
|
708
708
|
> def long_press_keycode
|
709
709
|
|
@@ -718,7 +718,7 @@ __Parameters:__
|
|
718
718
|
|
719
719
|
--
|
720
720
|
|
721
|
-
##### [push_file](https://github.com/appium/ruby_lib/blob/
|
721
|
+
##### [push_file](https://github.com/appium/ruby_lib/blob/d67cbbac43f511515f6e6f53197cfae2bb7671e0/lib/appium_lib/device/device.rb#L73)
|
722
722
|
|
723
723
|
> def push_file
|
724
724
|
|
@@ -732,7 +732,7 @@ __Parameters:__
|
|
732
732
|
|
733
733
|
--
|
734
734
|
|
735
|
-
##### [pull_file](https://github.com/appium/ruby_lib/blob/
|
735
|
+
##### [pull_file](https://github.com/appium/ruby_lib/blob/d67cbbac43f511515f6e6f53197cfae2bb7671e0/lib/appium_lib/device/device.rb#L78)
|
736
736
|
|
737
737
|
> def pull_file
|
738
738
|
|
@@ -749,7 +749,7 @@ __Parameters:__
|
|
749
749
|
|
750
750
|
--
|
751
751
|
|
752
|
-
##### [pull_folder](https://github.com/appium/ruby_lib/blob/
|
752
|
+
##### [pull_folder](https://github.com/appium/ruby_lib/blob/d67cbbac43f511515f6e6f53197cfae2bb7671e0/lib/appium_lib/device/device.rb#L88)
|
753
753
|
|
754
754
|
> def pull_folder
|
755
755
|
|
@@ -764,7 +764,7 @@ __Parameters:__
|
|
764
764
|
|
765
765
|
--
|
766
766
|
|
767
|
-
##### [end_coverage](https://github.com/appium/ruby_lib/blob/
|
767
|
+
##### [end_coverage](https://github.com/appium/ruby_lib/blob/d67cbbac43f511515f6e6f53197cfae2bb7671e0/lib/appium_lib/device/device.rb#L96)
|
768
768
|
|
769
769
|
> def end_coverage
|
770
770
|
|
@@ -778,7 +778,7 @@ __Parameters:__
|
|
778
778
|
|
779
779
|
--
|
780
780
|
|
781
|
-
##### [get_settings](https://github.com/appium/ruby_lib/blob/
|
781
|
+
##### [get_settings](https://github.com/appium/ruby_lib/blob/d67cbbac43f511515f6e6f53197cfae2bb7671e0/lib/appium_lib/device/device.rb#L101)
|
782
782
|
|
783
783
|
> def get_settings
|
784
784
|
|
@@ -786,7 +786,7 @@ Get appium Settings for current test session
|
|
786
786
|
|
787
787
|
--
|
788
788
|
|
789
|
-
##### [extend_search_contexts](https://github.com/appium/ruby_lib/blob/
|
789
|
+
##### [extend_search_contexts](https://github.com/appium/ruby_lib/blob/d67cbbac43f511515f6e6f53197cfae2bb7671e0/lib/appium_lib/device/device.rb#L352)
|
790
790
|
|
791
791
|
> def extend_search_contexts
|
792
792
|
|
@@ -794,7 +794,7 @@ Get appium Settings for current test session
|
|
794
794
|
|
795
795
|
--
|
796
796
|
|
797
|
-
##### [accessiblity_id_find](https://github.com/appium/ruby_lib/blob/
|
797
|
+
##### [accessiblity_id_find](https://github.com/appium/ruby_lib/blob/d67cbbac43f511515f6e6f53197cfae2bb7671e0/lib/appium_lib/device/device.rb#L352)
|
798
798
|
|
799
799
|
> def accessiblity_id_find
|
800
800
|
|
@@ -806,7 +806,7 @@ find_element/s with their accessibility_id
|
|
806
806
|
|
807
807
|
--
|
808
808
|
|
809
|
-
##### [add_touch_actions](https://github.com/appium/ruby_lib/blob/
|
809
|
+
##### [add_touch_actions](https://github.com/appium/ruby_lib/blob/d67cbbac43f511515f6e6f53197cfae2bb7671e0/lib/appium_lib/device/device.rb#L358)
|
810
810
|
|
811
811
|
> def add_touch_actions
|
812
812
|
|
@@ -814,7 +814,7 @@ find_element/s with their accessibility_id
|
|
814
814
|
|
815
815
|
--
|
816
816
|
|
817
|
-
##### [set_context](https://github.com/appium/ruby_lib/blob/
|
817
|
+
##### [set_context](https://github.com/appium/ruby_lib/blob/d67cbbac43f511515f6e6f53197cfae2bb7671e0/lib/appium_lib/device/device.rb#L382)
|
818
818
|
|
819
819
|
> def set_context
|
820
820
|
|
@@ -829,7 +829,7 @@ __Parameters:__
|
|
829
829
|
|
830
830
|
--
|
831
831
|
|
832
|
-
##### [current_context](https://github.com/appium/ruby_lib/blob/
|
832
|
+
##### [current_context](https://github.com/appium/ruby_lib/blob/d67cbbac43f511515f6e6f53197cfae2bb7671e0/lib/appium_lib/device/device.rb#L390)
|
833
833
|
|
834
834
|
> def current_context
|
835
835
|
|
@@ -841,7 +841,7 @@ __Returns:__
|
|
841
841
|
|
842
842
|
--
|
843
843
|
|
844
|
-
##### [available_contexts](https://github.com/appium/ruby_lib/blob/
|
844
|
+
##### [available_contexts](https://github.com/appium/ruby_lib/blob/d67cbbac43f511515f6e6f53197cfae2bb7671e0/lib/appium_lib/device/device.rb#L393)
|
845
845
|
|
846
846
|
> def available_contexts
|
847
847
|
|
@@ -853,7 +853,7 @@ __Returns:__
|
|
853
853
|
|
854
854
|
--
|
855
855
|
|
856
|
-
##### [within_context](https://github.com/appium/ruby_lib/blob/
|
856
|
+
##### [within_context](https://github.com/appium/ruby_lib/blob/d67cbbac43f511515f6e6f53197cfae2bb7671e0/lib/appium_lib/device/device.rb#L403)
|
857
857
|
|
858
858
|
> def within_context(context)
|
859
859
|
|
@@ -869,7 +869,7 @@ __Parameters:__
|
|
869
869
|
|
870
870
|
--
|
871
871
|
|
872
|
-
##### [switch_to_default_context](https://github.com/appium/ruby_lib/blob/
|
872
|
+
##### [switch_to_default_context](https://github.com/appium/ruby_lib/blob/d67cbbac43f511515f6e6f53197cfae2bb7671e0/lib/appium_lib/device/device.rb#L411)
|
873
873
|
|
874
874
|
> def switch_to_default_context
|
875
875
|
|
@@ -877,7 +877,7 @@ Change to the default context. This is equivalent to `set_context nil`.
|
|
877
877
|
|
878
878
|
--
|
879
879
|
|
880
|
-
##### [pinch](https://github.com/appium/ruby_lib/blob/
|
880
|
+
##### [pinch](https://github.com/appium/ruby_lib/blob/d67cbbac43f511515f6e6f53197cfae2bb7671e0/lib/appium_lib/device/multi_touch.rb#L28)
|
881
881
|
|
882
882
|
> def pinch(percentage = 25, auto_perform = true)
|
883
883
|
|
@@ -896,7 +896,7 @@ __Parameters:__
|
|
896
896
|
|
897
897
|
--
|
898
898
|
|
899
|
-
##### [zoom](https://github.com/appium/ruby_lib/blob/
|
899
|
+
##### [zoom](https://github.com/appium/ruby_lib/blob/d67cbbac43f511515f6e6f53197cfae2bb7671e0/lib/appium_lib/device/multi_touch.rb#L56)
|
900
900
|
|
901
901
|
> def zoom(percentage = 200, auto_perform = true)
|
902
902
|
|
@@ -915,7 +915,7 @@ __Parameters:__
|
|
915
915
|
|
916
916
|
--
|
917
917
|
|
918
|
-
##### [initialize](https://github.com/appium/ruby_lib/blob/
|
918
|
+
##### [initialize](https://github.com/appium/ruby_lib/blob/d67cbbac43f511515f6e6f53197cfae2bb7671e0/lib/appium_lib/device/multi_touch.rb#L77)
|
919
919
|
|
920
920
|
> def initialize
|
921
921
|
|
@@ -927,7 +927,7 @@ __Returns:__
|
|
927
927
|
|
928
928
|
--
|
929
929
|
|
930
|
-
##### [add](https://github.com/appium/ruby_lib/blob/
|
930
|
+
##### [add](https://github.com/appium/ruby_lib/blob/d67cbbac43f511515f6e6f53197cfae2bb7671e0/lib/appium_lib/device/multi_touch.rb#L83)
|
931
931
|
|
932
932
|
> def add(chain)
|
933
933
|
|
@@ -939,7 +939,7 @@ __Parameters:__
|
|
939
939
|
|
940
940
|
--
|
941
941
|
|
942
|
-
##### [perform](https://github.com/appium/ruby_lib/blob/
|
942
|
+
##### [perform](https://github.com/appium/ruby_lib/blob/d67cbbac43f511515f6e6f53197cfae2bb7671e0/lib/appium_lib/device/multi_touch.rb#L88)
|
943
943
|
|
944
944
|
> def perform
|
945
945
|
|
@@ -947,7 +947,7 @@ Ask Appium to perform the actions
|
|
947
947
|
|
948
948
|
--
|
949
949
|
|
950
|
-
##### [ACTIONS](https://github.com/appium/ruby_lib/blob/
|
950
|
+
##### [ACTIONS](https://github.com/appium/ruby_lib/blob/d67cbbac43f511515f6e6f53197cfae2bb7671e0/lib/appium_lib/device/touch_actions.rb#L11)
|
951
951
|
|
952
952
|
> ACTIONS = [:move_to, :long_press, :press, :release, :tap, :wait, :perform]
|
953
953
|
|
@@ -955,7 +955,7 @@ Ask Appium to perform the actions
|
|
955
955
|
|
956
956
|
--
|
957
957
|
|
958
|
-
##### [COMPLEX_ACTIONS](https://github.com/appium/ruby_lib/blob/
|
958
|
+
##### [COMPLEX_ACTIONS](https://github.com/appium/ruby_lib/blob/d67cbbac43f511515f6e6f53197cfae2bb7671e0/lib/appium_lib/device/touch_actions.rb#L12)
|
959
959
|
|
960
960
|
> COMPLEX_ACTIONS = [:swipe]
|
961
961
|
|
@@ -963,7 +963,7 @@ Ask Appium to perform the actions
|
|
963
963
|
|
964
964
|
--
|
965
965
|
|
966
|
-
##### [actions](https://github.com/appium/ruby_lib/blob/
|
966
|
+
##### [actions](https://github.com/appium/ruby_lib/blob/d67cbbac43f511515f6e6f53197cfae2bb7671e0/lib/appium_lib/device/touch_actions.rb#L26)
|
967
967
|
|
968
968
|
> def actions
|
969
969
|
|
@@ -971,7 +971,7 @@ Returns the value of attribute actions
|
|
971
971
|
|
972
972
|
--
|
973
973
|
|
974
|
-
##### [initialize](https://github.com/appium/ruby_lib/blob/
|
974
|
+
##### [initialize](https://github.com/appium/ruby_lib/blob/d67cbbac43f511515f6e6f53197cfae2bb7671e0/lib/appium_lib/device/touch_actions.rb#L28)
|
975
975
|
|
976
976
|
> def initialize
|
977
977
|
|
@@ -983,7 +983,7 @@ __Returns:__
|
|
983
983
|
|
984
984
|
--
|
985
985
|
|
986
|
-
##### [move_to](https://github.com/appium/ruby_lib/blob/
|
986
|
+
##### [move_to](https://github.com/appium/ruby_lib/blob/d67cbbac43f511515f6e6f53197cfae2bb7671e0/lib/appium_lib/device/touch_actions.rb#L36)
|
987
987
|
|
988
988
|
> def move_to(opts)
|
989
989
|
|
@@ -995,7 +995,7 @@ __Parameters:__
|
|
995
995
|
|
996
996
|
--
|
997
997
|
|
998
|
-
##### [long_press](https://github.com/appium/ruby_lib/blob/
|
998
|
+
##### [long_press](https://github.com/appium/ruby_lib/blob/d67cbbac43f511515f6e6f53197cfae2bb7671e0/lib/appium_lib/device/touch_actions.rb#L46)
|
999
999
|
|
1000
1000
|
> def long_press(opts)
|
1001
1001
|
|
@@ -1013,7 +1013,7 @@ __Parameters:__
|
|
1013
1013
|
|
1014
1014
|
--
|
1015
1015
|
|
1016
|
-
##### [press](https://github.com/appium/ruby_lib/blob/
|
1016
|
+
##### [press](https://github.com/appium/ruby_lib/blob/d67cbbac43f511515f6e6f53197cfae2bb7671e0/lib/appium_lib/device/touch_actions.rb#L58)
|
1017
1017
|
|
1018
1018
|
> def press(opts)
|
1019
1019
|
|
@@ -1026,7 +1026,7 @@ __Parameters:__
|
|
1026
1026
|
|
1027
1027
|
--
|
1028
1028
|
|
1029
|
-
##### [release](https://github.com/appium/ruby_lib/blob/
|
1029
|
+
##### [release](https://github.com/appium/ruby_lib/blob/d67cbbac43f511515f6e6f53197cfae2bb7671e0/lib/appium_lib/device/touch_actions.rb#L69)
|
1030
1030
|
|
1031
1031
|
> def release(opts = nil)
|
1032
1032
|
|
@@ -1038,7 +1038,7 @@ __Parameters:__
|
|
1038
1038
|
|
1039
1039
|
--
|
1040
1040
|
|
1041
|
-
##### [tap](https://github.com/appium/ruby_lib/blob/
|
1041
|
+
##### [tap](https://github.com/appium/ruby_lib/blob/d67cbbac43f511515f6e6f53197cfae2bb7671e0/lib/appium_lib/device/touch_actions.rb#L80)
|
1042
1042
|
|
1043
1043
|
> def tap(opts)
|
1044
1044
|
|
@@ -1050,7 +1050,7 @@ __Parameters:__
|
|
1050
1050
|
|
1051
1051
|
--
|
1052
1052
|
|
1053
|
-
##### [wait](https://github.com/appium/ruby_lib/blob/
|
1053
|
+
##### [wait](https://github.com/appium/ruby_lib/blob/d67cbbac43f511515f6e6f53197cfae2bb7671e0/lib/appium_lib/device/touch_actions.rb#L89)
|
1054
1054
|
|
1055
1055
|
> def wait(milliseconds)
|
1056
1056
|
|
@@ -1062,7 +1062,7 @@ __Parameters:__
|
|
1062
1062
|
|
1063
1063
|
--
|
1064
1064
|
|
1065
|
-
##### [swipe](https://github.com/appium/ruby_lib/blob/
|
1065
|
+
##### [swipe](https://github.com/appium/ruby_lib/blob/d67cbbac43f511515f6e6f53197cfae2bb7671e0/lib/appium_lib/device/touch_actions.rb#L103)
|
1066
1066
|
|
1067
1067
|
> def swipe(opts)
|
1068
1068
|
|
@@ -1076,7 +1076,7 @@ __Parameters:__
|
|
1076
1076
|
|
1077
1077
|
--
|
1078
1078
|
|
1079
|
-
##### [perform](https://github.com/appium/ruby_lib/blob/
|
1079
|
+
##### [perform](https://github.com/appium/ruby_lib/blob/d67cbbac43f511515f6e6f53197cfae2bb7671e0/lib/appium_lib/device/touch_actions.rb#L118)
|
1080
1080
|
|
1081
1081
|
> def perform
|
1082
1082
|
|
@@ -1084,7 +1084,7 @@ Ask the driver to perform all actions in this action chain.
|
|
1084
1084
|
|
1085
1085
|
--
|
1086
1086
|
|
1087
|
-
##### [cancel](https://github.com/appium/ruby_lib/blob/
|
1087
|
+
##### [cancel](https://github.com/appium/ruby_lib/blob/d67cbbac43f511515f6e6f53197cfae2bb7671e0/lib/appium_lib/device/touch_actions.rb#L124)
|
1088
1088
|
|
1089
1089
|
> def cancel
|
1090
1090
|
|
@@ -1092,7 +1092,7 @@ Does nothing, currently.
|
|
1092
1092
|
|
1093
1093
|
--
|
1094
1094
|
|
1095
|
-
##### [chain_method](https://github.com/appium/ruby_lib/blob/
|
1095
|
+
##### [chain_method](https://github.com/appium/ruby_lib/blob/d67cbbac43f511515f6e6f53197cfae2bb7671e0/lib/appium_lib/device/touch_actions.rb#L132)
|
1096
1096
|
|
1097
1097
|
> def chain_method(method, args = nil)
|
1098
1098
|
|
@@ -1100,7 +1100,7 @@ Does nothing, currently.
|
|
1100
1100
|
|
1101
1101
|
--
|
1102
1102
|
|
1103
|
-
##### [args_with_ele_ref](https://github.com/appium/ruby_lib/blob/
|
1103
|
+
##### [args_with_ele_ref](https://github.com/appium/ruby_lib/blob/d67cbbac43f511515f6e6f53197cfae2bb7671e0/lib/appium_lib/device/touch_actions.rb#L141)
|
1104
1104
|
|
1105
1105
|
> def args_with_ele_ref(args)
|
1106
1106
|
|
@@ -1108,7 +1108,7 @@ Does nothing, currently.
|
|
1108
1108
|
|
1109
1109
|
--
|
1110
1110
|
|
1111
|
-
##### [_generic_wait](https://github.com/appium/ruby_lib/blob/
|
1111
|
+
##### [_generic_wait](https://github.com/appium/ruby_lib/blob/d67cbbac43f511515f6e6f53197cfae2bb7671e0/lib/appium_lib/common/wait.rb#L9)
|
1112
1112
|
|
1113
1113
|
> def _generic_wait(opts = {}, &block)
|
1114
1114
|
|
@@ -1117,7 +1117,7 @@ https://github.com/SeleniumHQ/selenium/blob/cf501dda3f0ed12233de51ce8170c0e8090f
|
|
1117
1117
|
|
1118
1118
|
--
|
1119
1119
|
|
1120
|
-
##### [_process_wait_opts](https://github.com/appium/ruby_lib/blob/
|
1120
|
+
##### [_process_wait_opts](https://github.com/appium/ruby_lib/blob/d67cbbac43f511515f6e6f53197cfae2bb7671e0/lib/appium_lib/common/wait.rb#L54)
|
1121
1121
|
|
1122
1122
|
> def _process_wait_opts(opts)
|
1123
1123
|
|
@@ -1125,7 +1125,7 @@ process opts before calling _generic_wait
|
|
1125
1125
|
|
1126
1126
|
--
|
1127
1127
|
|
1128
|
-
##### [wait_true](https://github.com/appium/ruby_lib/blob/
|
1128
|
+
##### [wait_true](https://github.com/appium/ruby_lib/blob/d67cbbac43f511515f6e6f53197cfae2bb7671e0/lib/appium_lib/common/wait.rb#L75)
|
1129
1129
|
|
1130
1130
|
> def wait_true(opts = {}, &block)
|
1131
1131
|
|
@@ -1145,7 +1145,7 @@ __Parameters:__
|
|
1145
1145
|
|
1146
1146
|
--
|
1147
1147
|
|
1148
|
-
##### [wait](https://github.com/appium/ruby_lib/blob/
|
1148
|
+
##### [wait](https://github.com/appium/ruby_lib/blob/d67cbbac43f511515f6e6f53197cfae2bb7671e0/lib/appium_lib/common/wait.rb#L93)
|
1149
1149
|
|
1150
1150
|
> def wait(opts = {}, &block)
|
1151
1151
|
|
@@ -1163,7 +1163,7 @@ __Parameters:__
|
|
1163
1163
|
|
1164
1164
|
--
|
1165
1165
|
|
1166
|
-
##### [ignore](https://github.com/appium/ruby_lib/blob/
|
1166
|
+
##### [ignore](https://github.com/appium/ruby_lib/blob/d67cbbac43f511515f6e6f53197cfae2bb7671e0/lib/appium_lib/common/helper.rb#L24)
|
1167
1167
|
|
1168
1168
|
> def ignore(&block)
|
1169
1169
|
|
@@ -1171,7 +1171,7 @@ Return block.call and ignore any exceptions.
|
|
1171
1171
|
|
1172
1172
|
--
|
1173
1173
|
|
1174
|
-
##### [back](https://github.com/appium/ruby_lib/blob/
|
1174
|
+
##### [back](https://github.com/appium/ruby_lib/blob/d67cbbac43f511515f6e6f53197cfae2bb7671e0/lib/appium_lib/common/helper.rb#L31)
|
1175
1175
|
|
1176
1176
|
> def back
|
1177
1177
|
|
@@ -1183,7 +1183,7 @@ __Returns:__
|
|
1183
1183
|
|
1184
1184
|
--
|
1185
1185
|
|
1186
|
-
##### [session_id](https://github.com/appium/ruby_lib/blob/
|
1186
|
+
##### [session_id](https://github.com/appium/ruby_lib/blob/d67cbbac43f511515f6e6f53197cfae2bb7671e0/lib/appium_lib/common/helper.rb#L36)
|
1187
1187
|
|
1188
1188
|
> def session_id
|
1189
1189
|
|
@@ -1191,7 +1191,7 @@ For Sauce Labs reporting. Returns the current session id.
|
|
1191
1191
|
|
1192
1192
|
--
|
1193
1193
|
|
1194
|
-
##### [xpath](https://github.com/appium/ruby_lib/blob/
|
1194
|
+
##### [xpath](https://github.com/appium/ruby_lib/blob/d67cbbac43f511515f6e6f53197cfae2bb7671e0/lib/appium_lib/common/helper.rb#L44)
|
1195
1195
|
|
1196
1196
|
> def xpath(xpath_str)
|
1197
1197
|
|
@@ -1207,7 +1207,7 @@ __Returns:__
|
|
1207
1207
|
|
1208
1208
|
--
|
1209
1209
|
|
1210
|
-
##### [xpaths](https://github.com/appium/ruby_lib/blob/
|
1210
|
+
##### [xpaths](https://github.com/appium/ruby_lib/blob/d67cbbac43f511515f6e6f53197cfae2bb7671e0/lib/appium_lib/common/helper.rb#L52)
|
1211
1211
|
|
1212
1212
|
> def xpaths(xpath_str)
|
1213
1213
|
|
@@ -1223,7 +1223,7 @@ __Returns:__
|
|
1223
1223
|
|
1224
1224
|
--
|
1225
1225
|
|
1226
|
-
##### [_print_source](https://github.com/appium/ruby_lib/blob/
|
1226
|
+
##### [_print_source](https://github.com/appium/ruby_lib/blob/d67cbbac43f511515f6e6f53197cfae2bb7671e0/lib/appium_lib/common/helper.rb#L56)
|
1227
1227
|
|
1228
1228
|
> def _print_source(source)
|
1229
1229
|
|
@@ -1231,7 +1231,7 @@ __Returns:__
|
|
1231
1231
|
|
1232
1232
|
--
|
1233
1233
|
|
1234
|
-
##### [result](https://github.com/appium/ruby_lib/blob/
|
1234
|
+
##### [result](https://github.com/appium/ruby_lib/blob/d67cbbac43f511515f6e6f53197cfae2bb7671e0/lib/appium_lib/common/helper.rb#L69)
|
1235
1235
|
|
1236
1236
|
> def result
|
1237
1237
|
|
@@ -1239,7 +1239,7 @@ Returns the value of attribute result
|
|
1239
1239
|
|
1240
1240
|
--
|
1241
1241
|
|
1242
|
-
##### [initialize](https://github.com/appium/ruby_lib/blob/
|
1242
|
+
##### [initialize](https://github.com/appium/ruby_lib/blob/d67cbbac43f511515f6e6f53197cfae2bb7671e0/lib/appium_lib/common/helper.rb#L71)
|
1243
1243
|
|
1244
1244
|
> def initialize
|
1245
1245
|
|
@@ -1251,7 +1251,7 @@ __Returns:__
|
|
1251
1251
|
|
1252
1252
|
--
|
1253
1253
|
|
1254
|
-
##### [reset](https://github.com/appium/ruby_lib/blob/
|
1254
|
+
##### [reset](https://github.com/appium/ruby_lib/blob/d67cbbac43f511515f6e6f53197cfae2bb7671e0/lib/appium_lib/common/helper.rb#L75)
|
1255
1255
|
|
1256
1256
|
> def reset
|
1257
1257
|
|
@@ -1259,7 +1259,7 @@ __Returns:__
|
|
1259
1259
|
|
1260
1260
|
--
|
1261
1261
|
|
1262
|
-
##### [start_element](https://github.com/appium/ruby_lib/blob/
|
1262
|
+
##### [start_element](https://github.com/appium/ruby_lib/blob/d67cbbac43f511515f6e6f53197cfae2bb7671e0/lib/appium_lib/common/helper.rb#L80)
|
1263
1263
|
|
1264
1264
|
> def start_element(name, attrs = [])
|
1265
1265
|
|
@@ -1267,7 +1267,7 @@ http://nokogiri.org/Nokogiri/XML/SAX/Document.html
|
|
1267
1267
|
|
1268
1268
|
--
|
1269
1269
|
|
1270
|
-
##### [formatted_result](https://github.com/appium/ruby_lib/blob/
|
1270
|
+
##### [formatted_result](https://github.com/appium/ruby_lib/blob/d67cbbac43f511515f6e6f53197cfae2bb7671e0/lib/appium_lib/common/helper.rb#L86)
|
1271
1271
|
|
1272
1272
|
> def formatted_result
|
1273
1273
|
|
@@ -1275,7 +1275,7 @@ http://nokogiri.org/Nokogiri/XML/SAX/Document.html
|
|
1275
1275
|
|
1276
1276
|
--
|
1277
1277
|
|
1278
|
-
##### [get_page_class](https://github.com/appium/ruby_lib/blob/
|
1278
|
+
##### [get_page_class](https://github.com/appium/ruby_lib/blob/d67cbbac43f511515f6e6f53197cfae2bb7671e0/lib/appium_lib/common/helper.rb#L97)
|
1279
1279
|
|
1280
1280
|
> def get_page_class
|
1281
1281
|
|
@@ -1283,7 +1283,7 @@ Returns a string of class counts of visible elements.
|
|
1283
1283
|
|
1284
1284
|
--
|
1285
1285
|
|
1286
|
-
##### [page_class](https://github.com/appium/ruby_lib/blob/
|
1286
|
+
##### [page_class](https://github.com/appium/ruby_lib/blob/d67cbbac43f511515f6e6f53197cfae2bb7671e0/lib/appium_lib/common/helper.rb#L108)
|
1287
1287
|
|
1288
1288
|
> def page_class
|
1289
1289
|
|
@@ -1292,7 +1292,7 @@ Useful for appium_console.
|
|
1292
1292
|
|
1293
1293
|
--
|
1294
1294
|
|
1295
|
-
##### [px_to_window_rel](https://github.com/appium/ruby_lib/blob/
|
1295
|
+
##### [px_to_window_rel](https://github.com/appium/ruby_lib/blob/d67cbbac43f511515f6e6f53197cfae2bb7671e0/lib/appium_lib/common/helper.rb#L118)
|
1296
1296
|
|
1297
1297
|
> def px_to_window_rel(opts = {})
|
1298
1298
|
|
@@ -1304,7 +1304,7 @@ px_to_window_rel x: 50, y: 150
|
|
1304
1304
|
|
1305
1305
|
--
|
1306
1306
|
|
1307
|
-
##### [xml_keys](https://github.com/appium/ruby_lib/blob/
|
1307
|
+
##### [xml_keys](https://github.com/appium/ruby_lib/blob/d67cbbac43f511515f6e6f53197cfae2bb7671e0/lib/appium_lib/common/helper.rb#L137)
|
1308
1308
|
|
1309
1309
|
> def xml_keys(target)
|
1310
1310
|
|
@@ -1320,7 +1320,7 @@ __Returns:__
|
|
1320
1320
|
|
1321
1321
|
--
|
1322
1322
|
|
1323
|
-
##### [xml_values](https://github.com/appium/ruby_lib/blob/
|
1323
|
+
##### [xml_values](https://github.com/appium/ruby_lib/blob/d67cbbac43f511515f6e6f53197cfae2bb7671e0/lib/appium_lib/common/helper.rb#L145)
|
1324
1324
|
|
1325
1325
|
> def xml_values(target)
|
1326
1326
|
|
@@ -1336,7 +1336,7 @@ __Returns:__
|
|
1336
1336
|
|
1337
1337
|
--
|
1338
1338
|
|
1339
|
-
##### [resolve_id](https://github.com/appium/ruby_lib/blob/
|
1339
|
+
##### [resolve_id](https://github.com/appium/ruby_lib/blob/d67cbbac43f511515f6e6f53197cfae2bb7671e0/lib/appium_lib/common/helper.rb#L153)
|
1340
1340
|
|
1341
1341
|
> def resolve_id(id)
|
1342
1342
|
|
@@ -1352,7 +1352,7 @@ __Returns:__
|
|
1352
1352
|
|
1353
1353
|
--
|
1354
1354
|
|
1355
|
-
##### [filter](https://github.com/appium/ruby_lib/blob/
|
1355
|
+
##### [filter](https://github.com/appium/ruby_lib/blob/d67cbbac43f511515f6e6f53197cfae2bb7671e0/lib/appium_lib/common/helper.rb#L159)
|
1356
1356
|
|
1357
1357
|
> def filter
|
1358
1358
|
|
@@ -1360,7 +1360,7 @@ Returns the value of attribute filter
|
|
1360
1360
|
|
1361
1361
|
--
|
1362
1362
|
|
1363
|
-
##### [filter=](https://github.com/appium/ruby_lib/blob/
|
1363
|
+
##### [filter=](https://github.com/appium/ruby_lib/blob/d67cbbac43f511515f6e6f53197cfae2bb7671e0/lib/appium_lib/common/helper.rb#L162)
|
1364
1364
|
|
1365
1365
|
> def filter=(value)
|
1366
1366
|
|
@@ -1368,7 +1368,7 @@ convert to string to support symbols
|
|
1368
1368
|
|
1369
1369
|
--
|
1370
1370
|
|
1371
|
-
##### [initialize](https://github.com/appium/ruby_lib/blob/
|
1371
|
+
##### [initialize](https://github.com/appium/ruby_lib/blob/d67cbbac43f511515f6e6f53197cfae2bb7671e0/lib/appium_lib/common/helper.rb#L168)
|
1372
1372
|
|
1373
1373
|
> def initialize
|
1374
1374
|
|
@@ -1380,7 +1380,7 @@ __Returns:__
|
|
1380
1380
|
|
1381
1381
|
--
|
1382
1382
|
|
1383
|
-
##### [reset](https://github.com/appium/ruby_lib/blob/
|
1383
|
+
##### [reset](https://github.com/appium/ruby_lib/blob/d67cbbac43f511515f6e6f53197cfae2bb7671e0/lib/appium_lib/common/helper.rb#L173)
|
1384
1384
|
|
1385
1385
|
> def reset
|
1386
1386
|
|
@@ -1388,7 +1388,7 @@ __Returns:__
|
|
1388
1388
|
|
1389
1389
|
--
|
1390
1390
|
|
1391
|
-
##### [result](https://github.com/appium/ruby_lib/blob/
|
1391
|
+
##### [result](https://github.com/appium/ruby_lib/blob/d67cbbac43f511515f6e6f53197cfae2bb7671e0/lib/appium_lib/common/helper.rb#L179)
|
1392
1392
|
|
1393
1393
|
> def result
|
1394
1394
|
|
@@ -1396,7 +1396,7 @@ __Returns:__
|
|
1396
1396
|
|
1397
1397
|
--
|
1398
1398
|
|
1399
|
-
##### [start_element](https://github.com/appium/ruby_lib/blob/
|
1399
|
+
##### [start_element](https://github.com/appium/ruby_lib/blob/d67cbbac43f511515f6e6f53197cfae2bb7671e0/lib/appium_lib/common/helper.rb#L195)
|
1400
1400
|
|
1401
1401
|
> def start_element(name, attrs = [])
|
1402
1402
|
|
@@ -1404,7 +1404,7 @@ __Returns:__
|
|
1404
1404
|
|
1405
1405
|
--
|
1406
1406
|
|
1407
|
-
##### [end_element](https://github.com/appium/ruby_lib/blob/
|
1407
|
+
##### [end_element](https://github.com/appium/ruby_lib/blob/d67cbbac43f511515f6e6f53197cfae2bb7671e0/lib/appium_lib/common/helper.rb#L204)
|
1408
1408
|
|
1409
1409
|
> def end_element(name)
|
1410
1410
|
|
@@ -1412,7 +1412,7 @@ __Returns:__
|
|
1412
1412
|
|
1413
1413
|
--
|
1414
1414
|
|
1415
|
-
##### [characters](https://github.com/appium/ruby_lib/blob/
|
1415
|
+
##### [characters](https://github.com/appium/ruby_lib/blob/d67cbbac43f511515f6e6f53197cfae2bb7671e0/lib/appium_lib/common/helper.rb#L210)
|
1416
1416
|
|
1417
1417
|
> def characters(chars)
|
1418
1418
|
|
@@ -1420,7 +1420,7 @@ __Returns:__
|
|
1420
1420
|
|
1421
1421
|
--
|
1422
1422
|
|
1423
|
-
##### [_no_such_element](https://github.com/appium/ruby_lib/blob/
|
1423
|
+
##### [_no_such_element](https://github.com/appium/ruby_lib/blob/d67cbbac43f511515f6e6f53197cfae2bb7671e0/lib/appium_lib/common/helper.rb#L217)
|
1424
1424
|
|
1425
1425
|
> def _no_such_element
|
1426
1426
|
|
@@ -1428,7 +1428,7 @@ __Returns:__
|
|
1428
1428
|
|
1429
1429
|
--
|
1430
1430
|
|
1431
|
-
##### [window_size](https://github.com/appium/ruby_lib/blob/
|
1431
|
+
##### [window_size](https://github.com/appium/ruby_lib/blob/d67cbbac43f511515f6e6f53197cfae2bb7671e0/lib/appium_lib/common/element/window.rb#L5)
|
1432
1432
|
|
1433
1433
|
> def window_size
|
1434
1434
|
|
@@ -1436,7 +1436,7 @@ Get the window's size
|
|
1436
1436
|
|
1437
1437
|
--
|
1438
1438
|
|
1439
|
-
##### [ios_password](https://github.com/appium/ruby_lib/blob/
|
1439
|
+
##### [ios_password](https://github.com/appium/ruby_lib/blob/d67cbbac43f511515f6e6f53197cfae2bb7671e0/lib/appium_lib/ios/helper.rb#L8) ios
|
1440
1440
|
|
1441
1441
|
> def ios_password(length = 1)
|
1442
1442
|
|
@@ -1454,7 +1454,7 @@ __Returns:__
|
|
1454
1454
|
|
1455
1455
|
--
|
1456
1456
|
|
1457
|
-
##### [get_page](https://github.com/appium/ruby_lib/blob/
|
1457
|
+
##### [get_page](https://github.com/appium/ruby_lib/blob/d67cbbac43f511515f6e6f53197cfae2bb7671e0/lib/appium_lib/ios/helper.rb#L20) ios
|
1458
1458
|
|
1459
1459
|
> def get_page(element = source_window(0), class_name = nil)
|
1460
1460
|
|
@@ -1475,7 +1475,7 @@ __Returns:__
|
|
1475
1475
|
|
1476
1476
|
--
|
1477
1477
|
|
1478
|
-
##### [page](https://github.com/appium/ruby_lib/blob/
|
1478
|
+
##### [page](https://github.com/appium/ruby_lib/blob/d67cbbac43f511515f6e6f53197cfae2bb7671e0/lib/appium_lib/ios/helper.rb#L129) ios
|
1479
1479
|
|
1480
1480
|
> def page(opts = {})
|
1481
1481
|
|
@@ -1501,7 +1501,7 @@ __Returns:__
|
|
1501
1501
|
|
1502
1502
|
--
|
1503
1503
|
|
1504
|
-
##### [source_window](https://github.com/appium/ruby_lib/blob/
|
1504
|
+
##### [source_window](https://github.com/appium/ruby_lib/blob/d67cbbac43f511515f6e6f53197cfae2bb7671e0/lib/appium_lib/ios/helper.rb#L161) ios
|
1505
1505
|
|
1506
1506
|
> def source_window(window_number = 0)
|
1507
1507
|
|
@@ -1517,7 +1517,7 @@ __Returns:__
|
|
1517
1517
|
|
1518
1518
|
--
|
1519
1519
|
|
1520
|
-
##### [page_window](https://github.com/appium/ruby_lib/blob/
|
1520
|
+
##### [page_window](https://github.com/appium/ruby_lib/blob/d67cbbac43f511515f6e6f53197cfae2bb7671e0/lib/appium_lib/ios/helper.rb#L175) ios
|
1521
1521
|
|
1522
1522
|
> def page_window(window_number = 0)
|
1523
1523
|
|
@@ -1535,7 +1535,7 @@ __Returns:__
|
|
1535
1535
|
|
1536
1536
|
--
|
1537
1537
|
|
1538
|
-
##### [id](https://github.com/appium/ruby_lib/blob/
|
1538
|
+
##### [id](https://github.com/appium/ruby_lib/blob/d67cbbac43f511515f6e6f53197cfae2bb7671e0/lib/appium_lib/ios/helper.rb#L183) ios
|
1539
1539
|
|
1540
1540
|
> def id(id)
|
1541
1541
|
|
@@ -1551,7 +1551,7 @@ __Returns:__
|
|
1551
1551
|
|
1552
1552
|
--
|
1553
1553
|
|
1554
|
-
##### [ios_version](https://github.com/appium/ruby_lib/blob/
|
1554
|
+
##### [ios_version](https://github.com/appium/ruby_lib/blob/d67cbbac43f511515f6e6f53197cfae2bb7671e0/lib/appium_lib/ios/helper.rb#L189) ios
|
1555
1555
|
|
1556
1556
|
> def ios_version
|
1557
1557
|
|
@@ -1563,7 +1563,7 @@ __Returns:__
|
|
1563
1563
|
|
1564
1564
|
--
|
1565
1565
|
|
1566
|
-
##### [ele_index](https://github.com/appium/ruby_lib/blob/
|
1566
|
+
##### [ele_index](https://github.com/appium/ruby_lib/blob/d67cbbac43f511515f6e6f53197cfae2bb7671e0/lib/appium_lib/ios/helper.rb#L198) ios
|
1567
1567
|
|
1568
1568
|
> def ele_index(class_name, index)
|
1569
1569
|
|
@@ -1581,7 +1581,7 @@ __Returns:__
|
|
1581
1581
|
|
1582
1582
|
--
|
1583
1583
|
|
1584
|
-
##### [find_ele_by_attr](https://github.com/appium/ruby_lib/blob/
|
1584
|
+
##### [find_ele_by_attr](https://github.com/appium/ruby_lib/blob/d67cbbac43f511515f6e6f53197cfae2bb7671e0/lib/appium_lib/ios/helper.rb#L225) ios
|
1585
1585
|
|
1586
1586
|
> def find_ele_by_attr(class_name, attr, value)
|
1587
1587
|
|
@@ -1602,7 +1602,7 @@ __Returns:__
|
|
1602
1602
|
|
1603
1603
|
--
|
1604
1604
|
|
1605
|
-
##### [find_eles_by_attr](https://github.com/appium/ruby_lib/blob/
|
1605
|
+
##### [find_eles_by_attr](https://github.com/appium/ruby_lib/blob/d67cbbac43f511515f6e6f53197cfae2bb7671e0/lib/appium_lib/ios/helper.rb#L235) ios
|
1606
1606
|
|
1607
1607
|
> def find_eles_by_attr(class_name, attr, value)
|
1608
1608
|
|
@@ -1623,7 +1623,7 @@ __Returns:__
|
|
1623
1623
|
|
1624
1624
|
--
|
1625
1625
|
|
1626
|
-
##### [find_ele_by_attr_include](https://github.com/appium/ruby_lib/blob/
|
1626
|
+
##### [find_ele_by_attr_include](https://github.com/appium/ruby_lib/blob/d67cbbac43f511515f6e6f53197cfae2bb7671e0/lib/appium_lib/ios/helper.rb#L250) ios
|
1627
1627
|
|
1628
1628
|
> def find_ele_by_attr_include(class_name, attr, value)
|
1629
1629
|
|
@@ -1644,7 +1644,7 @@ __Returns:__
|
|
1644
1644
|
|
1645
1645
|
--
|
1646
1646
|
|
1647
|
-
##### [find_eles_by_attr_include](https://github.com/appium/ruby_lib/blob/
|
1647
|
+
##### [find_eles_by_attr_include](https://github.com/appium/ruby_lib/blob/d67cbbac43f511515f6e6f53197cfae2bb7671e0/lib/appium_lib/ios/helper.rb#L260) ios
|
1648
1648
|
|
1649
1649
|
> def find_eles_by_attr_include(class_name, attr, value)
|
1650
1650
|
|
@@ -1665,7 +1665,7 @@ __Returns:__
|
|
1665
1665
|
|
1666
1666
|
--
|
1667
1667
|
|
1668
|
-
##### [first_ele](https://github.com/appium/ruby_lib/blob/
|
1668
|
+
##### [first_ele](https://github.com/appium/ruby_lib/blob/d67cbbac43f511515f6e6f53197cfae2bb7671e0/lib/appium_lib/ios/helper.rb#L267) ios
|
1669
1669
|
|
1670
1670
|
> def first_ele(class_name)
|
1671
1671
|
|
@@ -1681,7 +1681,7 @@ __Returns:__
|
|
1681
1681
|
|
1682
1682
|
--
|
1683
1683
|
|
1684
|
-
##### [last_ele](https://github.com/appium/ruby_lib/blob/
|
1684
|
+
##### [last_ele](https://github.com/appium/ruby_lib/blob/d67cbbac43f511515f6e6f53197cfae2bb7671e0/lib/appium_lib/ios/helper.rb#L275) ios
|
1685
1685
|
|
1686
1686
|
> def last_ele(class_name)
|
1687
1687
|
|
@@ -1697,7 +1697,7 @@ __Returns:__
|
|
1697
1697
|
|
1698
1698
|
--
|
1699
1699
|
|
1700
|
-
##### [tag](https://github.com/appium/ruby_lib/blob/
|
1700
|
+
##### [tag](https://github.com/appium/ruby_lib/blob/d67cbbac43f511515f6e6f53197cfae2bb7671e0/lib/appium_lib/ios/helper.rb#L283) ios
|
1701
1701
|
|
1702
1702
|
> def tag(class_name)
|
1703
1703
|
|
@@ -1713,7 +1713,7 @@ __Returns:__
|
|
1713
1713
|
|
1714
1714
|
--
|
1715
1715
|
|
1716
|
-
##### [tags](https://github.com/appium/ruby_lib/blob/
|
1716
|
+
##### [tags](https://github.com/appium/ruby_lib/blob/d67cbbac43f511515f6e6f53197cfae2bb7671e0/lib/appium_lib/ios/helper.rb#L294) ios
|
1717
1717
|
|
1718
1718
|
> def tags(class_name)
|
1719
1719
|
|
@@ -1729,7 +1729,7 @@ __Returns:__
|
|
1729
1729
|
|
1730
1730
|
--
|
1731
1731
|
|
1732
|
-
##### [ele_by_json_visible_contains](https://github.com/appium/ruby_lib/blob/
|
1732
|
+
##### [ele_by_json_visible_contains](https://github.com/appium/ruby_lib/blob/d67cbbac43f511515f6e6f53197cfae2bb7671e0/lib/appium_lib/ios/helper.rb#L329) ios
|
1733
1733
|
|
1734
1734
|
> def ele_by_json_visible_contains(element, value)
|
1735
1735
|
|
@@ -1747,7 +1747,7 @@ __Returns:__
|
|
1747
1747
|
|
1748
1748
|
--
|
1749
1749
|
|
1750
|
-
##### [eles_by_json_visible_contains](https://github.com/appium/ruby_lib/blob/
|
1750
|
+
##### [eles_by_json_visible_contains](https://github.com/appium/ruby_lib/blob/d67cbbac43f511515f6e6f53197cfae2bb7671e0/lib/appium_lib/ios/helper.rb#L337) ios
|
1751
1751
|
|
1752
1752
|
> def eles_by_json_visible_contains(element, value)
|
1753
1753
|
|
@@ -1765,7 +1765,7 @@ __Returns:__
|
|
1765
1765
|
|
1766
1766
|
--
|
1767
1767
|
|
1768
|
-
##### [ele_by_json_visible_exact](https://github.com/appium/ruby_lib/blob/
|
1768
|
+
##### [ele_by_json_visible_exact](https://github.com/appium/ruby_lib/blob/d67cbbac43f511515f6e6f53197cfae2bb7671e0/lib/appium_lib/ios/helper.rb#L366) ios
|
1769
1769
|
|
1770
1770
|
> def ele_by_json_visible_exact(element, value)
|
1771
1771
|
|
@@ -1783,7 +1783,7 @@ __Returns:__
|
|
1783
1783
|
|
1784
1784
|
--
|
1785
1785
|
|
1786
|
-
##### [eles_by_json_visible_exact](https://github.com/appium/ruby_lib/blob/
|
1786
|
+
##### [eles_by_json_visible_exact](https://github.com/appium/ruby_lib/blob/d67cbbac43f511515f6e6f53197cfae2bb7671e0/lib/appium_lib/ios/helper.rb#L374) ios
|
1787
1787
|
|
1788
1788
|
> def eles_by_json_visible_exact(element, value)
|
1789
1789
|
|
@@ -1801,7 +1801,7 @@ __Returns:__
|
|
1801
1801
|
|
1802
1802
|
--
|
1803
1803
|
|
1804
|
-
##### [_all_pred](https://github.com/appium/ruby_lib/blob/
|
1804
|
+
##### [_all_pred](https://github.com/appium/ruby_lib/blob/d67cbbac43f511515f6e6f53197cfae2bb7671e0/lib/appium_lib/ios/helper.rb#L438) ios
|
1805
1805
|
|
1806
1806
|
> def _all_pred(opts)
|
1807
1807
|
|
@@ -1811,7 +1811,7 @@ visible - if true, only visible elements are returned. default true
|
|
1811
1811
|
|
1812
1812
|
--
|
1813
1813
|
|
1814
|
-
##### [ele_with_pred](https://github.com/appium/ruby_lib/blob/
|
1814
|
+
##### [ele_with_pred](https://github.com/appium/ruby_lib/blob/d67cbbac43f511515f6e6f53197cfae2bb7671e0/lib/appium_lib/ios/helper.rb#L451) ios
|
1815
1815
|
|
1816
1816
|
> def ele_with_pred(opts)
|
1817
1817
|
|
@@ -1827,7 +1827,7 @@ __Returns:__
|
|
1827
1827
|
|
1828
1828
|
--
|
1829
1829
|
|
1830
|
-
##### [eles_with_pred](https://github.com/appium/ruby_lib/blob/
|
1830
|
+
##### [eles_with_pred](https://github.com/appium/ruby_lib/blob/d67cbbac43f511515f6e6f53197cfae2bb7671e0/lib/appium_lib/ios/helper.rb#L462) ios
|
1831
1831
|
|
1832
1832
|
> def eles_with_pred(opts)
|
1833
1833
|
|
@@ -1843,7 +1843,7 @@ __Returns:__
|
|
1843
1843
|
|
1844
1844
|
--
|
1845
1845
|
|
1846
|
-
##### [source](https://github.com/appium/ruby_lib/blob/
|
1846
|
+
##### [source](https://github.com/appium/ruby_lib/blob/d67cbbac43f511515f6e6f53197cfae2bb7671e0/lib/appium_lib/ios/helper.rb#L468) ios
|
1847
1847
|
|
1848
1848
|
> def source
|
1849
1849
|
|
@@ -1855,7 +1855,7 @@ __Returns:__
|
|
1855
1855
|
|
1856
1856
|
--
|
1857
1857
|
|
1858
|
-
##### [_validate_object](https://github.com/appium/ruby_lib/blob/
|
1858
|
+
##### [_validate_object](https://github.com/appium/ruby_lib/blob/d67cbbac43f511515f6e6f53197cfae2bb7671e0/lib/appium_lib/ios/helper.rb#L472) ios
|
1859
1859
|
|
1860
1860
|
> def _validate_object(*objects)
|
1861
1861
|
|
@@ -1863,7 +1863,7 @@ __Returns:__
|
|
1863
1863
|
|
1864
1864
|
--
|
1865
1865
|
|
1866
|
-
##### [_by_json](https://github.com/appium/ruby_lib/blob/
|
1866
|
+
##### [_by_json](https://github.com/appium/ruby_lib/blob/d67cbbac43f511515f6e6f53197cfae2bb7671e0/lib/appium_lib/ios/helper.rb#L520) ios
|
1867
1867
|
|
1868
1868
|
> def _by_json(opts)
|
1869
1869
|
|
@@ -1897,7 +1897,7 @@ opts = {
|
|
1897
1897
|
|
1898
1898
|
--
|
1899
1899
|
|
1900
|
-
##### [eles_by_json](https://github.com/appium/ruby_lib/blob/
|
1900
|
+
##### [eles_by_json](https://github.com/appium/ruby_lib/blob/d67cbbac43f511515f6e6f53197cfae2bb7671e0/lib/appium_lib/ios/helper.rb#L569) ios
|
1901
1901
|
|
1902
1902
|
> def eles_by_json(opts)
|
1903
1903
|
|
@@ -1915,7 +1915,7 @@ eles_by_json({
|
|
1915
1915
|
|
1916
1916
|
--
|
1917
1917
|
|
1918
|
-
##### [ele_by_json](https://github.com/appium/ruby_lib/blob/
|
1918
|
+
##### [ele_by_json](https://github.com/appium/ruby_lib/blob/d67cbbac43f511515f6e6f53197cfae2bb7671e0/lib/appium_lib/ios/helper.rb#L575) ios
|
1919
1919
|
|
1920
1920
|
> def ele_by_json(opts)
|
1921
1921
|
|
@@ -1923,7 +1923,7 @@ see eles_by_json
|
|
1923
1923
|
|
1924
1924
|
--
|
1925
1925
|
|
1926
|
-
##### [get_source](https://github.com/appium/ruby_lib/blob/
|
1926
|
+
##### [get_source](https://github.com/appium/ruby_lib/blob/d67cbbac43f511515f6e6f53197cfae2bb7671e0/lib/appium_lib/ios/helper.rb#L585) ios
|
1927
1927
|
|
1928
1928
|
> def get_source
|
1929
1929
|
|
@@ -1936,7 +1936,7 @@ __Returns:__
|
|
1936
1936
|
|
1937
1937
|
--
|
1938
1938
|
|
1939
|
-
##### [UIAStaticText](https://github.com/appium/ruby_lib/blob/
|
1939
|
+
##### [UIAStaticText](https://github.com/appium/ruby_lib/blob/d67cbbac43f511515f6e6f53197cfae2bb7671e0/lib/appium_lib/ios/element/text.rb#L4) ios
|
1940
1940
|
|
1941
1941
|
> UIAStaticText = 'UIAStaticText'
|
1942
1942
|
|
@@ -1944,7 +1944,7 @@ __Returns:__
|
|
1944
1944
|
|
1945
1945
|
--
|
1946
1946
|
|
1947
|
-
##### [text](https://github.com/appium/ruby_lib/blob/
|
1947
|
+
##### [text](https://github.com/appium/ruby_lib/blob/d67cbbac43f511515f6e6f53197cfae2bb7671e0/lib/appium_lib/ios/element/text.rb#L10) ios
|
1948
1948
|
|
1949
1949
|
> def text(value)
|
1950
1950
|
|
@@ -1961,7 +1961,7 @@ __Returns:__
|
|
1961
1961
|
|
1962
1962
|
--
|
1963
1963
|
|
1964
|
-
##### [texts](https://github.com/appium/ruby_lib/blob/
|
1964
|
+
##### [texts](https://github.com/appium/ruby_lib/blob/d67cbbac43f511515f6e6f53197cfae2bb7671e0/lib/appium_lib/ios/element/text.rb#L19) ios
|
1965
1965
|
|
1966
1966
|
> def texts(value = false)
|
1967
1967
|
|
@@ -1978,7 +1978,7 @@ __Returns:__
|
|
1978
1978
|
|
1979
1979
|
--
|
1980
1980
|
|
1981
|
-
##### [first_text](https://github.com/appium/ruby_lib/blob/
|
1981
|
+
##### [first_text](https://github.com/appium/ruby_lib/blob/d67cbbac43f511515f6e6f53197cfae2bb7671e0/lib/appium_lib/ios/element/text.rb#L26) ios
|
1982
1982
|
|
1983
1983
|
> def first_text
|
1984
1984
|
|
@@ -1990,7 +1990,7 @@ __Returns:__
|
|
1990
1990
|
|
1991
1991
|
--
|
1992
1992
|
|
1993
|
-
##### [last_text](https://github.com/appium/ruby_lib/blob/
|
1993
|
+
##### [last_text](https://github.com/appium/ruby_lib/blob/d67cbbac43f511515f6e6f53197cfae2bb7671e0/lib/appium_lib/ios/element/text.rb#L32) ios
|
1994
1994
|
|
1995
1995
|
> def last_text
|
1996
1996
|
|
@@ -2002,7 +2002,7 @@ __Returns:__
|
|
2002
2002
|
|
2003
2003
|
--
|
2004
2004
|
|
2005
|
-
##### [text_exact](https://github.com/appium/ruby_lib/blob/
|
2005
|
+
##### [text_exact](https://github.com/appium/ruby_lib/blob/d67cbbac43f511515f6e6f53197cfae2bb7671e0/lib/appium_lib/ios/element/text.rb#L39) ios
|
2006
2006
|
|
2007
2007
|
> def text_exact(value)
|
2008
2008
|
|
@@ -2018,7 +2018,7 @@ __Returns:__
|
|
2018
2018
|
|
2019
2019
|
--
|
2020
2020
|
|
2021
|
-
##### [texts_exact](https://github.com/appium/ruby_lib/blob/
|
2021
|
+
##### [texts_exact](https://github.com/appium/ruby_lib/blob/d67cbbac43f511515f6e6f53197cfae2bb7671e0/lib/appium_lib/ios/element/text.rb#L46) ios
|
2022
2022
|
|
2023
2023
|
> def texts_exact(value)
|
2024
2024
|
|
@@ -2034,7 +2034,7 @@ __Returns:__
|
|
2034
2034
|
|
2035
2035
|
--
|
2036
2036
|
|
2037
|
-
##### [alert_accept](https://github.com/appium/ruby_lib/blob/
|
2037
|
+
##### [alert_accept](https://github.com/appium/ruby_lib/blob/d67cbbac43f511515f6e6f53197cfae2bb7671e0/lib/appium_lib/ios/element/alert.rb#L5) ios
|
2038
2038
|
|
2039
2039
|
> def alert_accept
|
2040
2040
|
|
@@ -2046,7 +2046,7 @@ __Returns:__
|
|
2046
2046
|
|
2047
2047
|
--
|
2048
2048
|
|
2049
|
-
##### [alert_dismiss](https://github.com/appium/ruby_lib/blob/
|
2049
|
+
##### [alert_dismiss](https://github.com/appium/ruby_lib/blob/d67cbbac43f511515f6e6f53197cfae2bb7671e0/lib/appium_lib/ios/element/alert.rb#L13) ios
|
2050
2050
|
|
2051
2051
|
> def alert_dismiss
|
2052
2052
|
|
@@ -2058,7 +2058,7 @@ __Returns:__
|
|
2058
2058
|
|
2059
2059
|
--
|
2060
2060
|
|
2061
|
-
##### [uiautomation_find](https://github.com/appium/ruby_lib/blob/
|
2061
|
+
##### [uiautomation_find](https://github.com/appium/ruby_lib/blob/d67cbbac43f511515f6e6f53197cfae2bb7671e0/lib/appium_lib/ios/mobile_methods.rb#L10) ios
|
2062
2062
|
|
2063
2063
|
> def uiautomation_find
|
2064
2064
|
|
@@ -2070,7 +2070,7 @@ find_element/s can be used with a [UIAutomation command](https://developer.apple
|
|
2070
2070
|
|
2071
2071
|
--
|
2072
2072
|
|
2073
|
-
##### [UIAButton](https://github.com/appium/ruby_lib/blob/
|
2073
|
+
##### [UIAButton](https://github.com/appium/ruby_lib/blob/d67cbbac43f511515f6e6f53197cfae2bb7671e0/lib/appium_lib/ios/element/button.rb#L4) ios
|
2074
2074
|
|
2075
2075
|
> UIAButton = 'UIAButton'
|
2076
2076
|
|
@@ -2078,7 +2078,7 @@ find_element/s can be used with a [UIAutomation command](https://developer.apple
|
|
2078
2078
|
|
2079
2079
|
--
|
2080
2080
|
|
2081
|
-
##### [button](https://github.com/appium/ruby_lib/blob/
|
2081
|
+
##### [button](https://github.com/appium/ruby_lib/blob/d67cbbac43f511515f6e6f53197cfae2bb7671e0/lib/appium_lib/ios/element/button.rb#L10) ios
|
2082
2082
|
|
2083
2083
|
> def button(value)
|
2084
2084
|
|
@@ -2095,7 +2095,7 @@ __Returns:__
|
|
2095
2095
|
|
2096
2096
|
--
|
2097
2097
|
|
2098
|
-
##### [buttons](https://github.com/appium/ruby_lib/blob/
|
2098
|
+
##### [buttons](https://github.com/appium/ruby_lib/blob/d67cbbac43f511515f6e6f53197cfae2bb7671e0/lib/appium_lib/ios/element/button.rb#L20) ios
|
2099
2099
|
|
2100
2100
|
> def buttons(value = false)
|
2101
2101
|
|
@@ -2112,7 +2112,7 @@ __Returns:__
|
|
2112
2112
|
|
2113
2113
|
--
|
2114
2114
|
|
2115
|
-
##### [first_button](https://github.com/appium/ruby_lib/blob/
|
2115
|
+
##### [first_button](https://github.com/appium/ruby_lib/blob/d67cbbac43f511515f6e6f53197cfae2bb7671e0/lib/appium_lib/ios/element/button.rb#L27) ios
|
2116
2116
|
|
2117
2117
|
> def first_button
|
2118
2118
|
|
@@ -2124,7 +2124,7 @@ __Returns:__
|
|
2124
2124
|
|
2125
2125
|
--
|
2126
2126
|
|
2127
|
-
##### [last_button](https://github.com/appium/ruby_lib/blob/
|
2127
|
+
##### [last_button](https://github.com/appium/ruby_lib/blob/d67cbbac43f511515f6e6f53197cfae2bb7671e0/lib/appium_lib/ios/element/button.rb#L33) ios
|
2128
2128
|
|
2129
2129
|
> def last_button
|
2130
2130
|
|
@@ -2136,7 +2136,7 @@ __Returns:__
|
|
2136
2136
|
|
2137
2137
|
--
|
2138
2138
|
|
2139
|
-
##### [button_exact](https://github.com/appium/ruby_lib/blob/
|
2139
|
+
##### [button_exact](https://github.com/appium/ruby_lib/blob/d67cbbac43f511515f6e6f53197cfae2bb7671e0/lib/appium_lib/ios/element/button.rb#L40) ios
|
2140
2140
|
|
2141
2141
|
> def button_exact(value)
|
2142
2142
|
|
@@ -2152,7 +2152,7 @@ __Returns:__
|
|
2152
2152
|
|
2153
2153
|
--
|
2154
2154
|
|
2155
|
-
##### [buttons_exact](https://github.com/appium/ruby_lib/blob/
|
2155
|
+
##### [buttons_exact](https://github.com/appium/ruby_lib/blob/d67cbbac43f511515f6e6f53197cfae2bb7671e0/lib/appium_lib/ios/element/button.rb#L47) ios
|
2156
2156
|
|
2157
2157
|
> def buttons_exact(value)
|
2158
2158
|
|
@@ -2168,7 +2168,7 @@ __Returns:__
|
|
2168
2168
|
|
2169
2169
|
--
|
2170
2170
|
|
2171
|
-
##### [find](https://github.com/appium/ruby_lib/blob/
|
2171
|
+
##### [find](https://github.com/appium/ruby_lib/blob/d67cbbac43f511515f6e6f53197cfae2bb7671e0/lib/appium_lib/ios/element/generic.rb#L6) ios
|
2172
2172
|
|
2173
2173
|
> def find(value)
|
2174
2174
|
|
@@ -2184,7 +2184,7 @@ __Returns:__
|
|
2184
2184
|
|
2185
2185
|
--
|
2186
2186
|
|
2187
|
-
##### [finds](https://github.com/appium/ruby_lib/blob/
|
2187
|
+
##### [finds](https://github.com/appium/ruby_lib/blob/d67cbbac43f511515f6e6f53197cfae2bb7671e0/lib/appium_lib/ios/element/generic.rb#L13) ios
|
2188
2188
|
|
2189
2189
|
> def finds(value)
|
2190
2190
|
|
@@ -2200,7 +2200,7 @@ __Returns:__
|
|
2200
2200
|
|
2201
2201
|
--
|
2202
2202
|
|
2203
|
-
##### [find_exact](https://github.com/appium/ruby_lib/blob/
|
2203
|
+
##### [find_exact](https://github.com/appium/ruby_lib/blob/d67cbbac43f511515f6e6f53197cfae2bb7671e0/lib/appium_lib/ios/element/generic.rb#L20) ios
|
2204
2204
|
|
2205
2205
|
> def find_exact(value)
|
2206
2206
|
|
@@ -2216,7 +2216,7 @@ __Returns:__
|
|
2216
2216
|
|
2217
2217
|
--
|
2218
2218
|
|
2219
|
-
##### [finds_exact](https://github.com/appium/ruby_lib/blob/
|
2219
|
+
##### [finds_exact](https://github.com/appium/ruby_lib/blob/d67cbbac43f511515f6e6f53197cfae2bb7671e0/lib/appium_lib/ios/element/generic.rb#L27) ios
|
2220
2220
|
|
2221
2221
|
> def finds_exact(value)
|
2222
2222
|
|
@@ -2232,7 +2232,7 @@ __Returns:__
|
|
2232
2232
|
|
2233
2233
|
--
|
2234
2234
|
|
2235
|
-
##### [UIATextField](https://github.com/appium/ruby_lib/blob/
|
2235
|
+
##### [UIATextField](https://github.com/appium/ruby_lib/blob/d67cbbac43f511515f6e6f53197cfae2bb7671e0/lib/appium_lib/ios/element/textfield.rb#L3) ios
|
2236
2236
|
|
2237
2237
|
> UIATextField = 'UIATextField'
|
2238
2238
|
|
@@ -2240,7 +2240,7 @@ __Returns:__
|
|
2240
2240
|
|
2241
2241
|
--
|
2242
2242
|
|
2243
|
-
##### [UIASecureTextField](https://github.com/appium/ruby_lib/blob/
|
2243
|
+
##### [UIASecureTextField](https://github.com/appium/ruby_lib/blob/d67cbbac43f511515f6e6f53197cfae2bb7671e0/lib/appium_lib/ios/element/textfield.rb#L4) ios
|
2244
2244
|
|
2245
2245
|
> UIASecureTextField = 'UIASecureTextField'
|
2246
2246
|
|
@@ -2248,7 +2248,7 @@ __Returns:__
|
|
2248
2248
|
|
2249
2249
|
--
|
2250
2250
|
|
2251
|
-
##### [textfield](https://github.com/appium/ruby_lib/blob/
|
2251
|
+
##### [textfield](https://github.com/appium/ruby_lib/blob/d67cbbac43f511515f6e6f53197cfae2bb7671e0/lib/appium_lib/ios/element/textfield.rb#L52) ios
|
2252
2252
|
|
2253
2253
|
> def textfield(value)
|
2254
2254
|
|
@@ -2265,7 +2265,7 @@ __Returns:__
|
|
2265
2265
|
|
2266
2266
|
--
|
2267
2267
|
|
2268
|
-
##### [textfields](https://github.com/appium/ruby_lib/blob/
|
2268
|
+
##### [textfields](https://github.com/appium/ruby_lib/blob/d67cbbac43f511515f6e6f53197cfae2bb7671e0/lib/appium_lib/ios/element/textfield.rb#L72) ios
|
2269
2269
|
|
2270
2270
|
> def textfields(value = false)
|
2271
2271
|
|
@@ -2282,7 +2282,7 @@ __Returns:__
|
|
2282
2282
|
|
2283
2283
|
--
|
2284
2284
|
|
2285
|
-
##### [first_textfield](https://github.com/appium/ruby_lib/blob/
|
2285
|
+
##### [first_textfield](https://github.com/appium/ruby_lib/blob/d67cbbac43f511515f6e6f53197cfae2bb7671e0/lib/appium_lib/ios/element/textfield.rb#L79) ios
|
2286
2286
|
|
2287
2287
|
> def first_textfield
|
2288
2288
|
|
@@ -2294,7 +2294,7 @@ __Returns:__
|
|
2294
2294
|
|
2295
2295
|
--
|
2296
2296
|
|
2297
|
-
##### [last_textfield](https://github.com/appium/ruby_lib/blob/
|
2297
|
+
##### [last_textfield](https://github.com/appium/ruby_lib/blob/d67cbbac43f511515f6e6f53197cfae2bb7671e0/lib/appium_lib/ios/element/textfield.rb#L85) ios
|
2298
2298
|
|
2299
2299
|
> def last_textfield
|
2300
2300
|
|
@@ -2306,7 +2306,7 @@ __Returns:__
|
|
2306
2306
|
|
2307
2307
|
--
|
2308
2308
|
|
2309
|
-
##### [textfield_exact](https://github.com/appium/ruby_lib/blob/
|
2309
|
+
##### [textfield_exact](https://github.com/appium/ruby_lib/blob/d67cbbac43f511515f6e6f53197cfae2bb7671e0/lib/appium_lib/ios/element/textfield.rb#L94) ios
|
2310
2310
|
|
2311
2311
|
> def textfield_exact(value)
|
2312
2312
|
|
@@ -2322,7 +2322,7 @@ __Returns:__
|
|
2322
2322
|
|
2323
2323
|
--
|
2324
2324
|
|
2325
|
-
##### [textfields_exact](https://github.com/appium/ruby_lib/blob/
|
2325
|
+
##### [textfields_exact](https://github.com/appium/ruby_lib/blob/d67cbbac43f511515f6e6f53197cfae2bb7671e0/lib/appium_lib/ios/element/textfield.rb#L101) ios
|
2326
2326
|
|
2327
2327
|
> def textfields_exact(value)
|
2328
2328
|
|
@@ -2338,7 +2338,7 @@ __Returns:__
|
|
2338
2338
|
|
2339
2339
|
--
|
2340
2340
|
|
2341
|
-
##### [value](https://github.com/appium/ruby_lib/blob/
|
2341
|
+
##### [value](https://github.com/appium/ruby_lib/blob/d67cbbac43f511515f6e6f53197cfae2bb7671e0/lib/appium_lib/common/patch.rb#L12)
|
2342
2342
|
|
2343
2343
|
> def value
|
2344
2344
|
|
@@ -2348,7 +2348,7 @@ Fixes NoMethodError: undefined method `value' for Selenium::WebDriver::Element
|
|
2348
2348
|
|
2349
2349
|
--
|
2350
2350
|
|
2351
|
-
##### [name](https://github.com/appium/ruby_lib/blob/
|
2351
|
+
##### [name](https://github.com/appium/ruby_lib/blob/d67cbbac43f511515f6e6f53197cfae2bb7671e0/lib/appium_lib/common/patch.rb#L19)
|
2352
2352
|
|
2353
2353
|
> def name
|
2354
2354
|
|
@@ -2358,7 +2358,7 @@ Fixes NoMethodError: undefined method `name' for Selenium::WebDriver::Element
|
|
2358
2358
|
|
2359
2359
|
--
|
2360
2360
|
|
2361
|
-
##### [location_rel](https://github.com/appium/ruby_lib/blob/
|
2361
|
+
##### [location_rel](https://github.com/appium/ruby_lib/blob/d67cbbac43f511515f6e6f53197cfae2bb7671e0/lib/appium_lib/common/patch.rb#L31)
|
2362
2362
|
|
2363
2363
|
> def location_rel
|
2364
2364
|
|
@@ -2376,7 +2376,7 @@ __Returns:__
|
|
2376
2376
|
|
2377
2377
|
--
|
2378
2378
|
|
2379
|
-
##### [DEFAULT_HEADERS](https://github.com/appium/ruby_lib/blob/
|
2379
|
+
##### [DEFAULT_HEADERS](https://github.com/appium/ruby_lib/blob/d67cbbac43f511515f6e6f53197cfae2bb7671e0/lib/appium_lib/common/patch.rb#L147)
|
2380
2380
|
|
2381
2381
|
> DEFAULT_HEADERS = { 'Accept' => CONTENT_TYPE, 'User-Agent' => "appium/ruby_lib/#{::Appium::VERSION}" }
|
2382
2382
|
|