appium_lib 5.0.0 → 5.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/appium_lib.gemspec +1 -1
- data/docs/android_docs.md +186 -186
- data/docs/ios_docs.md +181 -181
- data/docs/migration.md +15 -0
- data/lib/appium_lib/common/version.rb +2 -2
- data/lib/appium_lib/driver.rb +0 -3
- data/release_notes.md +9 -0
- metadata +6 -7
- data/lib/appium_lib/awesome_print/ostruct.rb +0 -33
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c224b0caee0979c9b30c5f37f2039b67149f94f1
|
4
|
+
data.tar.gz: c3efd483910bb8776136c3ce4fef73555feb567a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 92913bed6e4a356f7382dd8f38ce3da2ed1745fc541723e4315534a9c53d207ebcc91ce7bfbc82b9eb2fb61ccd23fd8757c69758e8d02baf3e9f0ac149997534
|
7
|
+
data.tar.gz: 653af1b092ccf0d937b7526c9391b30b13ca8974941f1584871b5c76c7d2108ee7d5c1eddcce623b88f175e4368f569e4011c2aea5faa02090dd94819469c340
|
data/appium_lib.gemspec
CHANGED
@@ -15,7 +15,7 @@ Gem::Specification.new do |s|
|
|
15
15
|
s.require_paths = ['lib']
|
16
16
|
|
17
17
|
s.add_runtime_dependency 'selenium-webdriver', '~> 2.41', '>= 2.41.0'
|
18
|
-
s.add_runtime_dependency 'awesome_print', '~> 1.
|
18
|
+
s.add_runtime_dependency 'awesome_print', '~> 1.6', '>= 1.6.0'
|
19
19
|
s.add_runtime_dependency 'json', '~> 1.8', '>= 1.8.1'
|
20
20
|
s.add_runtime_dependency 'toml', '~> 0.0', '>= 0.0.4'
|
21
21
|
s.add_runtime_dependency 'nokogiri', '~> 1.6.3.1'
|
data/docs/android_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/9b157011965442e6f021dcfeef588450277f1c6a/lib/appium_lib/driver.rb#L69)
|
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/9b157011965442e6f021dcfeef588450277f1c6a/lib/appium_lib/driver.rb#L139)
|
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/9b157011965442e6f021dcfeef588450277f1c6a/lib/appium_lib/driver.rb#L152)
|
42
42
|
|
43
43
|
> def self.promote_singleton_appium_methods modules
|
44
44
|
|
@@ -48,7 +48,7 @@ otherwise, the array of modules will be used as the promotion target.
|
|
48
48
|
|
49
49
|
--
|
50
50
|
|
51
|
-
##### [promote_appium_methods](https://github.com/appium/ruby_lib/blob/
|
51
|
+
##### [promote_appium_methods](https://github.com/appium/ruby_lib/blob/9b157011965442e6f021dcfeef588450277f1c6a/lib/appium_lib/driver.rb#L192)
|
52
52
|
|
53
53
|
> def self.promote_appium_methods class_array
|
54
54
|
|
@@ -66,7 +66,7 @@ __Parameters:__
|
|
66
66
|
|
67
67
|
--
|
68
68
|
|
69
|
-
##### [global_webdriver_http_sleep](https://github.com/appium/ruby_lib/blob/
|
69
|
+
##### [global_webdriver_http_sleep](https://github.com/appium/ruby_lib/blob/9b157011965442e6f021dcfeef588450277f1c6a/lib/appium_lib/driver.rb#L228)
|
70
70
|
|
71
71
|
> def global_webdriver_http_sleep
|
72
72
|
|
@@ -74,7 +74,7 @@ The amount to sleep in seconds before every webdriver http call.
|
|
74
74
|
|
75
75
|
--
|
76
76
|
|
77
|
-
##### [global_webdriver_http_sleep=](https://github.com/appium/ruby_lib/blob/
|
77
|
+
##### [global_webdriver_http_sleep=](https://github.com/appium/ruby_lib/blob/9b157011965442e6f021dcfeef588450277f1c6a/lib/appium_lib/driver.rb#L228)
|
78
78
|
|
79
79
|
> def global_webdriver_http_sleep=(value)
|
80
80
|
|
@@ -82,7 +82,7 @@ The amount to sleep in seconds before every webdriver http call.
|
|
82
82
|
|
83
83
|
--
|
84
84
|
|
85
|
-
##### [caps](https://github.com/appium/ruby_lib/blob/
|
85
|
+
##### [caps](https://github.com/appium/ruby_lib/blob/9b157011965442e6f021dcfeef588450277f1c6a/lib/appium_lib/driver.rb#L230)
|
86
86
|
|
87
87
|
> def caps
|
88
88
|
|
@@ -90,7 +90,7 @@ Selenium webdriver capabilities
|
|
90
90
|
|
91
91
|
--
|
92
92
|
|
93
|
-
##### [caps=](https://github.com/appium/ruby_lib/blob/
|
93
|
+
##### [caps=](https://github.com/appium/ruby_lib/blob/9b157011965442e6f021dcfeef588450277f1c6a/lib/appium_lib/driver.rb#L230)
|
94
94
|
|
95
95
|
> def caps=(value)
|
96
96
|
|
@@ -98,7 +98,7 @@ Selenium webdriver capabilities
|
|
98
98
|
|
99
99
|
--
|
100
100
|
|
101
|
-
##### [custom_url](https://github.com/appium/ruby_lib/blob/
|
101
|
+
##### [custom_url](https://github.com/appium/ruby_lib/blob/9b157011965442e6f021dcfeef588450277f1c6a/lib/appium_lib/driver.rb#L232)
|
102
102
|
|
103
103
|
> def custom_url
|
104
104
|
|
@@ -106,7 +106,7 @@ Custom URL for the selenium server
|
|
106
106
|
|
107
107
|
--
|
108
108
|
|
109
|
-
##### [custom_url=](https://github.com/appium/ruby_lib/blob/
|
109
|
+
##### [custom_url=](https://github.com/appium/ruby_lib/blob/9b157011965442e6f021dcfeef588450277f1c6a/lib/appium_lib/driver.rb#L232)
|
110
110
|
|
111
111
|
> def custom_url=(value)
|
112
112
|
|
@@ -114,7 +114,7 @@ Custom URL for the selenium server
|
|
114
114
|
|
115
115
|
--
|
116
116
|
|
117
|
-
##### [export_session](https://github.com/appium/ruby_lib/blob/
|
117
|
+
##### [export_session](https://github.com/appium/ruby_lib/blob/9b157011965442e6f021dcfeef588450277f1c6a/lib/appium_lib/driver.rb#L234)
|
118
118
|
|
119
119
|
> def export_session
|
120
120
|
|
@@ -122,7 +122,7 @@ Export session id to textfile in /tmp for 3rd party tools
|
|
122
122
|
|
123
123
|
--
|
124
124
|
|
125
|
-
##### [export_session=](https://github.com/appium/ruby_lib/blob/
|
125
|
+
##### [export_session=](https://github.com/appium/ruby_lib/blob/9b157011965442e6f021dcfeef588450277f1c6a/lib/appium_lib/driver.rb#L234)
|
126
126
|
|
127
127
|
> def export_session=(value)
|
128
128
|
|
@@ -130,7 +130,7 @@ Export session id to textfile in /tmp for 3rd party tools
|
|
130
130
|
|
131
131
|
--
|
132
132
|
|
133
|
-
##### [default_wait](https://github.com/appium/ruby_lib/blob/
|
133
|
+
##### [default_wait](https://github.com/appium/ruby_lib/blob/9b157011965442e6f021dcfeef588450277f1c6a/lib/appium_lib/driver.rb#L236)
|
134
134
|
|
135
135
|
> def default_wait
|
136
136
|
|
@@ -143,7 +143,7 @@ __Returns:__
|
|
143
143
|
|
144
144
|
--
|
145
145
|
|
146
|
-
##### [default_wait=](https://github.com/appium/ruby_lib/blob/
|
146
|
+
##### [default_wait=](https://github.com/appium/ruby_lib/blob/9b157011965442e6f021dcfeef588450277f1c6a/lib/appium_lib/driver.rb#L236)
|
147
147
|
|
148
148
|
> def default_wait=(value)
|
149
149
|
|
@@ -151,7 +151,7 @@ Default wait time for elements to appear
|
|
151
151
|
|
152
152
|
--
|
153
153
|
|
154
|
-
##### [last_waits](https://github.com/appium/ruby_lib/blob/
|
154
|
+
##### [last_waits](https://github.com/appium/ruby_lib/blob/9b157011965442e6f021dcfeef588450277f1c6a/lib/appium_lib/driver.rb#L238)
|
155
155
|
|
156
156
|
> def last_waits
|
157
157
|
|
@@ -159,7 +159,7 @@ Array of previous wait time values
|
|
159
159
|
|
160
160
|
--
|
161
161
|
|
162
|
-
##### [last_waits=](https://github.com/appium/ruby_lib/blob/
|
162
|
+
##### [last_waits=](https://github.com/appium/ruby_lib/blob/9b157011965442e6f021dcfeef588450277f1c6a/lib/appium_lib/driver.rb#L238)
|
163
163
|
|
164
164
|
> def last_waits=(value)
|
165
165
|
|
@@ -167,7 +167,7 @@ Array of previous wait time values
|
|
167
167
|
|
168
168
|
--
|
169
169
|
|
170
|
-
##### [sauce_username](https://github.com/appium/ruby_lib/blob/
|
170
|
+
##### [sauce_username](https://github.com/appium/ruby_lib/blob/9b157011965442e6f021dcfeef588450277f1c6a/lib/appium_lib/driver.rb#L240)
|
171
171
|
|
172
172
|
> def sauce_username
|
173
173
|
|
@@ -175,7 +175,7 @@ Username for use on Sauce Labs
|
|
175
175
|
|
176
176
|
--
|
177
177
|
|
178
|
-
##### [sauce_username=](https://github.com/appium/ruby_lib/blob/
|
178
|
+
##### [sauce_username=](https://github.com/appium/ruby_lib/blob/9b157011965442e6f021dcfeef588450277f1c6a/lib/appium_lib/driver.rb#L240)
|
179
179
|
|
180
180
|
> def sauce_username=(value)
|
181
181
|
|
@@ -183,7 +183,7 @@ Username for use on Sauce Labs
|
|
183
183
|
|
184
184
|
--
|
185
185
|
|
186
|
-
##### [sauce_access_key](https://github.com/appium/ruby_lib/blob/
|
186
|
+
##### [sauce_access_key](https://github.com/appium/ruby_lib/blob/9b157011965442e6f021dcfeef588450277f1c6a/lib/appium_lib/driver.rb#L242)
|
187
187
|
|
188
188
|
> def sauce_access_key
|
189
189
|
|
@@ -191,7 +191,7 @@ Access Key for use on Sauce Labs
|
|
191
191
|
|
192
192
|
--
|
193
193
|
|
194
|
-
##### [sauce_access_key=](https://github.com/appium/ruby_lib/blob/
|
194
|
+
##### [sauce_access_key=](https://github.com/appium/ruby_lib/blob/9b157011965442e6f021dcfeef588450277f1c6a/lib/appium_lib/driver.rb#L242)
|
195
195
|
|
196
196
|
> def sauce_access_key=(value)
|
197
197
|
|
@@ -199,7 +199,7 @@ Access Key for use on Sauce Labs
|
|
199
199
|
|
200
200
|
--
|
201
201
|
|
202
|
-
##### [appium_port](https://github.com/appium/ruby_lib/blob/
|
202
|
+
##### [appium_port](https://github.com/appium/ruby_lib/blob/9b157011965442e6f021dcfeef588450277f1c6a/lib/appium_lib/driver.rb#L244)
|
203
203
|
|
204
204
|
> def appium_port
|
205
205
|
|
@@ -207,7 +207,7 @@ Appium's server port
|
|
207
207
|
|
208
208
|
--
|
209
209
|
|
210
|
-
##### [appium_port=](https://github.com/appium/ruby_lib/blob/
|
210
|
+
##### [appium_port=](https://github.com/appium/ruby_lib/blob/9b157011965442e6f021dcfeef588450277f1c6a/lib/appium_lib/driver.rb#L244)
|
211
211
|
|
212
212
|
> def appium_port=(value)
|
213
213
|
|
@@ -215,7 +215,7 @@ Appium's server port
|
|
215
215
|
|
216
216
|
--
|
217
217
|
|
218
|
-
##### [appium_device](https://github.com/appium/ruby_lib/blob/
|
218
|
+
##### [appium_device](https://github.com/appium/ruby_lib/blob/9b157011965442e6f021dcfeef588450277f1c6a/lib/appium_lib/driver.rb#L246)
|
219
219
|
|
220
220
|
> def appium_device
|
221
221
|
|
@@ -223,7 +223,7 @@ Device type to request from the appium server
|
|
223
223
|
|
224
224
|
--
|
225
225
|
|
226
|
-
##### [appium_device=](https://github.com/appium/ruby_lib/blob/
|
226
|
+
##### [appium_device=](https://github.com/appium/ruby_lib/blob/9b157011965442e6f021dcfeef588450277f1c6a/lib/appium_lib/driver.rb#L246)
|
227
227
|
|
228
228
|
> def appium_device=(value)
|
229
229
|
|
@@ -231,7 +231,7 @@ Device type to request from the appium server
|
|
231
231
|
|
232
232
|
--
|
233
233
|
|
234
|
-
##### [appium_debug](https://github.com/appium/ruby_lib/blob/
|
234
|
+
##### [appium_debug](https://github.com/appium/ruby_lib/blob/9b157011965442e6f021dcfeef588450277f1c6a/lib/appium_lib/driver.rb#L248)
|
235
235
|
|
236
236
|
> def appium_debug
|
237
237
|
|
@@ -239,7 +239,7 @@ Boolean debug mode for the Appium Ruby bindings
|
|
239
239
|
|
240
240
|
--
|
241
241
|
|
242
|
-
##### [appium_debug=](https://github.com/appium/ruby_lib/blob/
|
242
|
+
##### [appium_debug=](https://github.com/appium/ruby_lib/blob/9b157011965442e6f021dcfeef588450277f1c6a/lib/appium_lib/driver.rb#L248)
|
243
243
|
|
244
244
|
> def appium_debug=(value)
|
245
245
|
|
@@ -247,7 +247,7 @@ Boolean debug mode for the Appium Ruby bindings
|
|
247
247
|
|
248
248
|
--
|
249
249
|
|
250
|
-
##### [initialize](https://github.com/appium/ruby_lib/blob/
|
250
|
+
##### [initialize](https://github.com/appium/ruby_lib/blob/9b157011965442e6f021dcfeef588450277f1c6a/lib/appium_lib/driver.rb#L269)
|
251
251
|
|
252
252
|
> def initialize opts={}
|
253
253
|
|
@@ -278,7 +278,7 @@ __Returns:__
|
|
278
278
|
|
279
279
|
--
|
280
280
|
|
281
|
-
##### [driver_attributes](https://github.com/appium/ruby_lib/blob/
|
281
|
+
##### [driver_attributes](https://github.com/appium/ruby_lib/blob/9b157011965442e6f021dcfeef588450277f1c6a/lib/appium_lib/driver.rb#L344)
|
282
282
|
|
283
283
|
> def driver_attributes
|
284
284
|
|
@@ -286,7 +286,7 @@ Returns a hash of the driver attributes
|
|
286
286
|
|
287
287
|
--
|
288
288
|
|
289
|
-
##### [device_is_android?](https://github.com/appium/ruby_lib/blob/
|
289
|
+
##### [device_is_android?](https://github.com/appium/ruby_lib/blob/9b157011965442e6f021dcfeef588450277f1c6a/lib/appium_lib/driver.rb#L364)
|
290
290
|
|
291
291
|
> def device_is_android?
|
292
292
|
|
@@ -298,7 +298,7 @@ __Returns:__
|
|
298
298
|
|
299
299
|
--
|
300
300
|
|
301
|
-
##### [appium_server_version](https://github.com/appium/ruby_lib/blob/
|
301
|
+
##### [appium_server_version](https://github.com/appium/ruby_lib/blob/9b157011965442e6f021dcfeef588450277f1c6a/lib/appium_lib/driver.rb#L380)
|
302
302
|
|
303
303
|
> def appium_server_version
|
304
304
|
|
@@ -319,7 +319,7 @@ __Returns:__
|
|
319
319
|
|
320
320
|
--
|
321
321
|
|
322
|
-
##### [absolute_app_path](https://github.com/appium/ruby_lib/blob/
|
322
|
+
##### [absolute_app_path](https://github.com/appium/ruby_lib/blob/9b157011965442e6f021dcfeef588450277f1c6a/lib/appium_lib/driver.rb#L392)
|
323
323
|
|
324
324
|
> def self.absolute_app_path opts
|
325
325
|
|
@@ -336,7 +336,7 @@ __Returns:__
|
|
336
336
|
|
337
337
|
--
|
338
338
|
|
339
|
-
##### [server_url](https://github.com/appium/ruby_lib/blob/
|
339
|
+
##### [server_url](https://github.com/appium/ruby_lib/blob/9b157011965442e6f021dcfeef588450277f1c6a/lib/appium_lib/driver.rb#L425)
|
340
340
|
|
341
341
|
> def server_url
|
342
342
|
|
@@ -348,7 +348,7 @@ __Returns:__
|
|
348
348
|
|
349
349
|
--
|
350
350
|
|
351
|
-
##### [restart](https://github.com/appium/ruby_lib/blob/
|
351
|
+
##### [restart](https://github.com/appium/ruby_lib/blob/9b157011965442e6f021dcfeef588450277f1c6a/lib/appium_lib/driver.rb#L436)
|
352
352
|
|
353
353
|
> def restart
|
354
354
|
|
@@ -360,7 +360,7 @@ __Returns:__
|
|
360
360
|
|
361
361
|
--
|
362
362
|
|
363
|
-
##### [driver](https://github.com/appium/ruby_lib/blob/
|
363
|
+
##### [driver](https://github.com/appium/ruby_lib/blob/9b157011965442e6f021dcfeef588450277f1c6a/lib/appium_lib/driver.rb#L443)
|
364
364
|
|
365
365
|
> def driver
|
366
366
|
|
@@ -372,7 +372,7 @@ __Returns:__
|
|
372
372
|
|
373
373
|
--
|
374
374
|
|
375
|
-
##### [screenshot](https://github.com/appium/ruby_lib/blob/
|
375
|
+
##### [screenshot](https://github.com/appium/ruby_lib/blob/9b157011965442e6f021dcfeef588450277f1c6a/lib/appium_lib/driver.rb#L453)
|
376
376
|
|
377
377
|
> def screenshot png_save_path
|
378
378
|
|
@@ -390,7 +390,7 @@ __Returns:__
|
|
390
390
|
|
391
391
|
--
|
392
392
|
|
393
|
-
##### [driver_quit](https://github.com/appium/ruby_lib/blob/
|
393
|
+
##### [driver_quit](https://github.com/appium/ruby_lib/blob/9b157011965442e6f021dcfeef588450277f1c6a/lib/appium_lib/driver.rb#L460)
|
394
394
|
|
395
395
|
> def driver_quit
|
396
396
|
|
@@ -402,7 +402,7 @@ __Returns:__
|
|
402
402
|
|
403
403
|
--
|
404
404
|
|
405
|
-
##### [start_driver](https://github.com/appium/ruby_lib/blob/
|
405
|
+
##### [start_driver](https://github.com/appium/ruby_lib/blob/9b157011965442e6f021dcfeef588450277f1c6a/lib/appium_lib/driver.rb#L468)
|
406
406
|
|
407
407
|
> def start_driver
|
408
408
|
|
@@ -414,7 +414,7 @@ __Returns:__
|
|
414
414
|
|
415
415
|
--
|
416
416
|
|
417
|
-
##### [no_wait](https://github.com/appium/ruby_lib/blob/
|
417
|
+
##### [no_wait](https://github.com/appium/ruby_lib/blob/9b157011965442e6f021dcfeef588450277f1c6a/lib/appium_lib/driver.rb#L494)
|
418
418
|
|
419
419
|
> def no_wait
|
420
420
|
|
@@ -422,7 +422,7 @@ Set implicit wait and default_wait to zero.
|
|
422
422
|
|
423
423
|
--
|
424
424
|
|
425
|
-
##### [set_wait](https://github.com/appium/ruby_lib/blob/
|
425
|
+
##### [set_wait](https://github.com/appium/ruby_lib/blob/9b157011965442e6f021dcfeef588450277f1c6a/lib/appium_lib/driver.rb#L513)
|
426
426
|
|
427
427
|
> def set_wait timeout=nil
|
428
428
|
|
@@ -447,7 +447,7 @@ __Returns:__
|
|
447
447
|
|
448
448
|
--
|
449
449
|
|
450
|
-
##### [exists](https://github.com/appium/ruby_lib/blob/
|
450
|
+
##### [exists](https://github.com/appium/ruby_lib/blob/9b157011965442e6f021dcfeef588450277f1c6a/lib/appium_lib/driver.rb#L547)
|
451
451
|
|
452
452
|
> def exists pre_check=0, post_check=@default_wait, &search_block
|
453
453
|
|
@@ -473,7 +473,7 @@ __Returns:__
|
|
473
473
|
|
474
474
|
--
|
475
475
|
|
476
|
-
##### [execute_script](https://github.com/appium/ruby_lib/blob/
|
476
|
+
##### [execute_script](https://github.com/appium/ruby_lib/blob/9b157011965442e6f021dcfeef588450277f1c6a/lib/appium_lib/driver.rb#L571)
|
477
477
|
|
478
478
|
> def execute_script script, *args
|
479
479
|
|
@@ -491,7 +491,7 @@ __Returns:__
|
|
491
491
|
|
492
492
|
--
|
493
493
|
|
494
|
-
##### [find_elements](https://github.com/appium/ruby_lib/blob/
|
494
|
+
##### [find_elements](https://github.com/appium/ruby_lib/blob/9b157011965442e6f021dcfeef588450277f1c6a/lib/appium_lib/driver.rb#L579)
|
495
495
|
|
496
496
|
> def find_elements *args
|
497
497
|
|
@@ -507,7 +507,7 @@ __Returns:__
|
|
507
507
|
|
508
508
|
--
|
509
509
|
|
510
|
-
##### [find_element](https://github.com/appium/ruby_lib/blob/
|
510
|
+
##### [find_element](https://github.com/appium/ruby_lib/blob/9b157011965442e6f021dcfeef588450277f1c6a/lib/appium_lib/driver.rb#L587)
|
511
511
|
|
512
512
|
> def find_element *args
|
513
513
|
|
@@ -523,7 +523,7 @@ __Returns:__
|
|
523
523
|
|
524
524
|
--
|
525
525
|
|
526
|
-
##### [x](https://github.com/appium/ruby_lib/blob/
|
526
|
+
##### [x](https://github.com/appium/ruby_lib/blob/9b157011965442e6f021dcfeef588450277f1c6a/lib/appium_lib/driver.rb#L594)
|
527
527
|
|
528
528
|
> def x
|
529
529
|
|
@@ -536,7 +536,7 @@ __Returns:__
|
|
536
536
|
|
537
537
|
--
|
538
538
|
|
539
|
-
##### [NoArgMethods](https://github.com/appium/ruby_lib/blob/
|
539
|
+
##### [NoArgMethods](https://github.com/appium/ruby_lib/blob/9b157011965442e6f021dcfeef588450277f1c6a/lib/appium_lib/device/device.rb#L7)
|
540
540
|
|
541
541
|
> NoArgMethods = {
|
542
542
|
|
@@ -544,7 +544,7 @@ __Returns:__
|
|
544
544
|
|
545
545
|
--
|
546
546
|
|
547
|
-
##### [app_strings](https://github.com/appium/ruby_lib/blob/
|
547
|
+
##### [app_strings](https://github.com/appium/ruby_lib/blob/9b157011965442e6f021dcfeef588450277f1c6a/lib/appium_lib/device/device.rb#L23)
|
548
548
|
|
549
549
|
> def app_strings
|
550
550
|
|
@@ -555,7 +555,7 @@ app_strings #=> "TransitionsTitle"=>"Transitions", "WebTitle"=>"Web"
|
|
555
555
|
|
556
556
|
--
|
557
557
|
|
558
|
-
##### [background_app](https://github.com/appium/ruby_lib/blob/
|
558
|
+
##### [background_app](https://github.com/appium/ruby_lib/blob/9b157011965442e6f021dcfeef588450277f1c6a/lib/appium_lib/device/device.rb#L29)
|
559
559
|
|
560
560
|
> def background_app
|
561
561
|
|
@@ -564,7 +564,7 @@ This is a blocking application
|
|
564
564
|
|
565
565
|
--
|
566
566
|
|
567
|
-
##### [current_activity](https://github.com/appium/ruby_lib/blob/
|
567
|
+
##### [current_activity](https://github.com/appium/ruby_lib/blob/9b157011965442e6f021dcfeef588450277f1c6a/lib/appium_lib/device/device.rb#L34)
|
568
568
|
|
569
569
|
> def current_activity
|
570
570
|
|
@@ -572,7 +572,7 @@ This is a blocking application
|
|
572
572
|
|
573
573
|
--
|
574
574
|
|
575
|
-
##### [launch_app](https://github.com/appium/ruby_lib/blob/
|
575
|
+
##### [launch_app](https://github.com/appium/ruby_lib/blob/9b157011965442e6f021dcfeef588450277f1c6a/lib/appium_lib/device/device.rb#L36)
|
576
576
|
|
577
577
|
> def launch_app
|
578
578
|
|
@@ -580,7 +580,7 @@ Start the simulator and applicaton configured with desired capabilities
|
|
580
580
|
|
581
581
|
--
|
582
582
|
|
583
|
-
##### [reset](https://github.com/appium/ruby_lib/blob/
|
583
|
+
##### [reset](https://github.com/appium/ruby_lib/blob/9b157011965442e6f021dcfeef588450277f1c6a/lib/appium_lib/device/device.rb#L39)
|
584
584
|
|
585
585
|
> def reset
|
586
586
|
|
@@ -588,7 +588,7 @@ Reset the device, relaunching the application.
|
|
588
588
|
|
589
589
|
--
|
590
590
|
|
591
|
-
##### [shake](https://github.com/appium/ruby_lib/blob/
|
591
|
+
##### [shake](https://github.com/appium/ruby_lib/blob/9b157011965442e6f021dcfeef588450277f1c6a/lib/appium_lib/device/device.rb#L42)
|
592
592
|
|
593
593
|
> def shake
|
594
594
|
|
@@ -596,7 +596,7 @@ Cause the device to shake
|
|
596
596
|
|
597
597
|
--
|
598
598
|
|
599
|
-
##### [toggle_flight_mode](https://github.com/appium/ruby_lib/blob/
|
599
|
+
##### [toggle_flight_mode](https://github.com/appium/ruby_lib/blob/9b157011965442e6f021dcfeef588450277f1c6a/lib/appium_lib/device/device.rb#L45)
|
600
600
|
|
601
601
|
> def toggle_flight_mode
|
602
602
|
|
@@ -604,7 +604,7 @@ toggle flight mode on or off
|
|
604
604
|
|
605
605
|
--
|
606
606
|
|
607
|
-
##### [hide_keyboard](https://github.com/appium/ruby_lib/blob/
|
607
|
+
##### [hide_keyboard](https://github.com/appium/ruby_lib/blob/9b157011965442e6f021dcfeef588450277f1c6a/lib/appium_lib/device/device.rb#L48)
|
608
608
|
|
609
609
|
> def hide_keyboard
|
610
610
|
|
@@ -617,7 +617,7 @@ Defaults to 'Done'.
|
|
617
617
|
|
618
618
|
--
|
619
619
|
|
620
|
-
##### [press_keycode](https://github.com/appium/ruby_lib/blob/
|
620
|
+
##### [press_keycode](https://github.com/appium/ruby_lib/blob/9b157011965442e6f021dcfeef588450277f1c6a/lib/appium_lib/device/device.rb#L57)
|
621
621
|
|
622
622
|
> def press_keycode
|
623
623
|
|
@@ -632,7 +632,7 @@ __Parameters:__
|
|
632
632
|
|
633
633
|
--
|
634
634
|
|
635
|
-
##### [long_press_keycode](https://github.com/appium/ruby_lib/blob/
|
635
|
+
##### [long_press_keycode](https://github.com/appium/ruby_lib/blob/9b157011965442e6f021dcfeef588450277f1c6a/lib/appium_lib/device/device.rb#L63)
|
636
636
|
|
637
637
|
> def long_press_keycode
|
638
638
|
|
@@ -647,7 +647,7 @@ __Parameters:__
|
|
647
647
|
|
648
648
|
--
|
649
649
|
|
650
|
-
##### [push_file](https://github.com/appium/ruby_lib/blob/
|
650
|
+
##### [push_file](https://github.com/appium/ruby_lib/blob/9b157011965442e6f021dcfeef588450277f1c6a/lib/appium_lib/device/device.rb#L69)
|
651
651
|
|
652
652
|
> def push_file
|
653
653
|
|
@@ -661,7 +661,7 @@ __Parameters:__
|
|
661
661
|
|
662
662
|
--
|
663
663
|
|
664
|
-
##### [pull_file](https://github.com/appium/ruby_lib/blob/
|
664
|
+
##### [pull_file](https://github.com/appium/ruby_lib/blob/9b157011965442e6f021dcfeef588450277f1c6a/lib/appium_lib/device/device.rb#L74)
|
665
665
|
|
666
666
|
> def pull_file
|
667
667
|
|
@@ -678,7 +678,7 @@ __Parameters:__
|
|
678
678
|
|
679
679
|
--
|
680
680
|
|
681
|
-
##### [pull_folder](https://github.com/appium/ruby_lib/blob/
|
681
|
+
##### [pull_folder](https://github.com/appium/ruby_lib/blob/9b157011965442e6f021dcfeef588450277f1c6a/lib/appium_lib/device/device.rb#L84)
|
682
682
|
|
683
683
|
> def pull_folder
|
684
684
|
|
@@ -693,7 +693,7 @@ __Parameters:__
|
|
693
693
|
|
694
694
|
--
|
695
695
|
|
696
|
-
##### [end_coverage](https://github.com/appium/ruby_lib/blob/
|
696
|
+
##### [end_coverage](https://github.com/appium/ruby_lib/blob/9b157011965442e6f021dcfeef588450277f1c6a/lib/appium_lib/device/device.rb#L92)
|
697
697
|
|
698
698
|
> def end_coverage
|
699
699
|
|
@@ -707,7 +707,7 @@ __Parameters:__
|
|
707
707
|
|
708
708
|
--
|
709
709
|
|
710
|
-
##### [get_settings](https://github.com/appium/ruby_lib/blob/
|
710
|
+
##### [get_settings](https://github.com/appium/ruby_lib/blob/9b157011965442e6f021dcfeef588450277f1c6a/lib/appium_lib/device/device.rb#L97)
|
711
711
|
|
712
712
|
> def get_settings
|
713
713
|
|
@@ -715,7 +715,7 @@ Get appium Settings for current test session
|
|
715
715
|
|
716
716
|
--
|
717
717
|
|
718
|
-
##### [extend_search_contexts](https://github.com/appium/ruby_lib/blob/
|
718
|
+
##### [extend_search_contexts](https://github.com/appium/ruby_lib/blob/9b157011965442e6f021dcfeef588450277f1c6a/lib/appium_lib/device/device.rb#L345)
|
719
719
|
|
720
720
|
> def extend_search_contexts
|
721
721
|
|
@@ -723,7 +723,7 @@ Get appium Settings for current test session
|
|
723
723
|
|
724
724
|
--
|
725
725
|
|
726
|
-
##### [accessiblity_id_find](https://github.com/appium/ruby_lib/blob/
|
726
|
+
##### [accessiblity_id_find](https://github.com/appium/ruby_lib/blob/9b157011965442e6f021dcfeef588450277f1c6a/lib/appium_lib/device/device.rb#L345)
|
727
727
|
|
728
728
|
> def accessiblity_id_find
|
729
729
|
|
@@ -735,7 +735,7 @@ find_element/s with their accessibility_id
|
|
735
735
|
|
736
736
|
--
|
737
737
|
|
738
|
-
##### [add_touch_actions](https://github.com/appium/ruby_lib/blob/
|
738
|
+
##### [add_touch_actions](https://github.com/appium/ruby_lib/blob/9b157011965442e6f021dcfeef588450277f1c6a/lib/appium_lib/device/device.rb#L351)
|
739
739
|
|
740
740
|
> def add_touch_actions
|
741
741
|
|
@@ -743,7 +743,7 @@ find_element/s with their accessibility_id
|
|
743
743
|
|
744
744
|
--
|
745
745
|
|
746
|
-
##### [set_context](https://github.com/appium/ruby_lib/blob/
|
746
|
+
##### [set_context](https://github.com/appium/ruby_lib/blob/9b157011965442e6f021dcfeef588450277f1c6a/lib/appium_lib/device/device.rb#L375)
|
747
747
|
|
748
748
|
> def set_context
|
749
749
|
|
@@ -758,7 +758,7 @@ __Parameters:__
|
|
758
758
|
|
759
759
|
--
|
760
760
|
|
761
|
-
##### [current_context](https://github.com/appium/ruby_lib/blob/
|
761
|
+
##### [current_context](https://github.com/appium/ruby_lib/blob/9b157011965442e6f021dcfeef588450277f1c6a/lib/appium_lib/device/device.rb#L383)
|
762
762
|
|
763
763
|
> def current_context
|
764
764
|
|
@@ -770,7 +770,7 @@ __Returns:__
|
|
770
770
|
|
771
771
|
--
|
772
772
|
|
773
|
-
##### [available_contexts](https://github.com/appium/ruby_lib/blob/
|
773
|
+
##### [available_contexts](https://github.com/appium/ruby_lib/blob/9b157011965442e6f021dcfeef588450277f1c6a/lib/appium_lib/device/device.rb#L386)
|
774
774
|
|
775
775
|
> def available_contexts
|
776
776
|
|
@@ -782,7 +782,7 @@ __Returns:__
|
|
782
782
|
|
783
783
|
--
|
784
784
|
|
785
|
-
##### [within_context](https://github.com/appium/ruby_lib/blob/
|
785
|
+
##### [within_context](https://github.com/appium/ruby_lib/blob/9b157011965442e6f021dcfeef588450277f1c6a/lib/appium_lib/device/device.rb#L396)
|
786
786
|
|
787
787
|
> def within_context(context)
|
788
788
|
|
@@ -798,7 +798,7 @@ __Parameters:__
|
|
798
798
|
|
799
799
|
--
|
800
800
|
|
801
|
-
##### [switch_to_default_context](https://github.com/appium/ruby_lib/blob/
|
801
|
+
##### [switch_to_default_context](https://github.com/appium/ruby_lib/blob/9b157011965442e6f021dcfeef588450277f1c6a/lib/appium_lib/device/device.rb#L404)
|
802
802
|
|
803
803
|
> def switch_to_default_context
|
804
804
|
|
@@ -806,7 +806,7 @@ Change to the default context. This is equivalent to `set_context nil`.
|
|
806
806
|
|
807
807
|
--
|
808
808
|
|
809
|
-
##### [pinch](https://github.com/appium/ruby_lib/blob/
|
809
|
+
##### [pinch](https://github.com/appium/ruby_lib/blob/9b157011965442e6f021dcfeef588450277f1c6a/lib/appium_lib/device/multi_touch.rb#L30)
|
810
810
|
|
811
811
|
> def pinch(percentage=25, auto_perform=true)
|
812
812
|
|
@@ -825,7 +825,7 @@ __Parameters:__
|
|
825
825
|
|
826
826
|
--
|
827
827
|
|
828
|
-
##### [zoom](https://github.com/appium/ruby_lib/blob/
|
828
|
+
##### [zoom](https://github.com/appium/ruby_lib/blob/9b157011965442e6f021dcfeef588450277f1c6a/lib/appium_lib/device/multi_touch.rb#L58)
|
829
829
|
|
830
830
|
> def zoom(percentage=200, auto_perform=true)
|
831
831
|
|
@@ -844,7 +844,7 @@ __Parameters:__
|
|
844
844
|
|
845
845
|
--
|
846
846
|
|
847
|
-
##### [initialize](https://github.com/appium/ruby_lib/blob/
|
847
|
+
##### [initialize](https://github.com/appium/ruby_lib/blob/9b157011965442e6f021dcfeef588450277f1c6a/lib/appium_lib/device/multi_touch.rb#L79)
|
848
848
|
|
849
849
|
> def initialize
|
850
850
|
|
@@ -856,7 +856,7 @@ __Returns:__
|
|
856
856
|
|
857
857
|
--
|
858
858
|
|
859
|
-
##### [add](https://github.com/appium/ruby_lib/blob/
|
859
|
+
##### [add](https://github.com/appium/ruby_lib/blob/9b157011965442e6f021dcfeef588450277f1c6a/lib/appium_lib/device/multi_touch.rb#L85)
|
860
860
|
|
861
861
|
> def add(chain)
|
862
862
|
|
@@ -868,7 +868,7 @@ __Parameters:__
|
|
868
868
|
|
869
869
|
--
|
870
870
|
|
871
|
-
##### [perform](https://github.com/appium/ruby_lib/blob/
|
871
|
+
##### [perform](https://github.com/appium/ruby_lib/blob/9b157011965442e6f021dcfeef588450277f1c6a/lib/appium_lib/device/multi_touch.rb#L90)
|
872
872
|
|
873
873
|
> def perform
|
874
874
|
|
@@ -876,7 +876,7 @@ Ask Appium to perform the actions
|
|
876
876
|
|
877
877
|
--
|
878
878
|
|
879
|
-
##### [ACTIONS](https://github.com/appium/ruby_lib/blob/
|
879
|
+
##### [ACTIONS](https://github.com/appium/ruby_lib/blob/9b157011965442e6f021dcfeef588450277f1c6a/lib/appium_lib/device/touch_actions.rb#L12)
|
880
880
|
|
881
881
|
> ACTIONS = [:move_to, :long_press, :press, :release, :tap, :wait, :perform]
|
882
882
|
|
@@ -884,7 +884,7 @@ Ask Appium to perform the actions
|
|
884
884
|
|
885
885
|
--
|
886
886
|
|
887
|
-
##### [COMPLEX_ACTIONS](https://github.com/appium/ruby_lib/blob/
|
887
|
+
##### [COMPLEX_ACTIONS](https://github.com/appium/ruby_lib/blob/9b157011965442e6f021dcfeef588450277f1c6a/lib/appium_lib/device/touch_actions.rb#L13)
|
888
888
|
|
889
889
|
> COMPLEX_ACTIONS = [:swipe]
|
890
890
|
|
@@ -892,7 +892,7 @@ Ask Appium to perform the actions
|
|
892
892
|
|
893
893
|
--
|
894
894
|
|
895
|
-
##### [actions](https://github.com/appium/ruby_lib/blob/
|
895
|
+
##### [actions](https://github.com/appium/ruby_lib/blob/9b157011965442e6f021dcfeef588450277f1c6a/lib/appium_lib/device/touch_actions.rb#L27)
|
896
896
|
|
897
897
|
> def actions
|
898
898
|
|
@@ -900,7 +900,7 @@ Returns the value of attribute actions
|
|
900
900
|
|
901
901
|
--
|
902
902
|
|
903
|
-
##### [initialize](https://github.com/appium/ruby_lib/blob/
|
903
|
+
##### [initialize](https://github.com/appium/ruby_lib/blob/9b157011965442e6f021dcfeef588450277f1c6a/lib/appium_lib/device/touch_actions.rb#L29)
|
904
904
|
|
905
905
|
> def initialize
|
906
906
|
|
@@ -912,7 +912,7 @@ __Returns:__
|
|
912
912
|
|
913
913
|
--
|
914
914
|
|
915
|
-
##### [move_to](https://github.com/appium/ruby_lib/blob/
|
915
|
+
##### [move_to](https://github.com/appium/ruby_lib/blob/9b157011965442e6f021dcfeef588450277f1c6a/lib/appium_lib/device/touch_actions.rb#L37)
|
916
916
|
|
917
917
|
> def move_to(opts)
|
918
918
|
|
@@ -924,7 +924,7 @@ __Parameters:__
|
|
924
924
|
|
925
925
|
--
|
926
926
|
|
927
|
-
##### [long_press](https://github.com/appium/ruby_lib/blob/
|
927
|
+
##### [long_press](https://github.com/appium/ruby_lib/blob/9b157011965442e6f021dcfeef588450277f1c6a/lib/appium_lib/device/touch_actions.rb#L47)
|
928
928
|
|
929
929
|
> def long_press(opts)
|
930
930
|
|
@@ -942,7 +942,7 @@ __Parameters:__
|
|
942
942
|
|
943
943
|
--
|
944
944
|
|
945
|
-
##### [press](https://github.com/appium/ruby_lib/blob/
|
945
|
+
##### [press](https://github.com/appium/ruby_lib/blob/9b157011965442e6f021dcfeef588450277f1c6a/lib/appium_lib/device/touch_actions.rb#L59)
|
946
946
|
|
947
947
|
> def press(opts)
|
948
948
|
|
@@ -955,7 +955,7 @@ __Parameters:__
|
|
955
955
|
|
956
956
|
--
|
957
957
|
|
958
|
-
##### [release](https://github.com/appium/ruby_lib/blob/
|
958
|
+
##### [release](https://github.com/appium/ruby_lib/blob/9b157011965442e6f021dcfeef588450277f1c6a/lib/appium_lib/device/touch_actions.rb#L70)
|
959
959
|
|
960
960
|
> def release(opts=nil)
|
961
961
|
|
@@ -967,7 +967,7 @@ __Parameters:__
|
|
967
967
|
|
968
968
|
--
|
969
969
|
|
970
|
-
##### [tap](https://github.com/appium/ruby_lib/blob/
|
970
|
+
##### [tap](https://github.com/appium/ruby_lib/blob/9b157011965442e6f021dcfeef588450277f1c6a/lib/appium_lib/device/touch_actions.rb#L81)
|
971
971
|
|
972
972
|
> def tap(opts)
|
973
973
|
|
@@ -979,7 +979,7 @@ __Parameters:__
|
|
979
979
|
|
980
980
|
--
|
981
981
|
|
982
|
-
##### [wait](https://github.com/appium/ruby_lib/blob/
|
982
|
+
##### [wait](https://github.com/appium/ruby_lib/blob/9b157011965442e6f021dcfeef588450277f1c6a/lib/appium_lib/device/touch_actions.rb#L90)
|
983
983
|
|
984
984
|
> def wait(milliseconds)
|
985
985
|
|
@@ -991,7 +991,7 @@ __Parameters:__
|
|
991
991
|
|
992
992
|
--
|
993
993
|
|
994
|
-
##### [swipe](https://github.com/appium/ruby_lib/blob/
|
994
|
+
##### [swipe](https://github.com/appium/ruby_lib/blob/9b157011965442e6f021dcfeef588450277f1c6a/lib/appium_lib/device/touch_actions.rb#L104)
|
995
995
|
|
996
996
|
> def swipe(opts)
|
997
997
|
|
@@ -1005,7 +1005,7 @@ __Parameters:__
|
|
1005
1005
|
|
1006
1006
|
--
|
1007
1007
|
|
1008
|
-
##### [perform](https://github.com/appium/ruby_lib/blob/
|
1008
|
+
##### [perform](https://github.com/appium/ruby_lib/blob/9b157011965442e6f021dcfeef588450277f1c6a/lib/appium_lib/device/touch_actions.rb#L119)
|
1009
1009
|
|
1010
1010
|
> def perform
|
1011
1011
|
|
@@ -1013,7 +1013,7 @@ Ask the driver to perform all actions in this action chain.
|
|
1013
1013
|
|
1014
1014
|
--
|
1015
1015
|
|
1016
|
-
##### [cancel](https://github.com/appium/ruby_lib/blob/
|
1016
|
+
##### [cancel](https://github.com/appium/ruby_lib/blob/9b157011965442e6f021dcfeef588450277f1c6a/lib/appium_lib/device/touch_actions.rb#L125)
|
1017
1017
|
|
1018
1018
|
> def cancel
|
1019
1019
|
|
@@ -1021,7 +1021,7 @@ Does nothing, currently.
|
|
1021
1021
|
|
1022
1022
|
--
|
1023
1023
|
|
1024
|
-
##### [chain_method](https://github.com/appium/ruby_lib/blob/
|
1024
|
+
##### [chain_method](https://github.com/appium/ruby_lib/blob/9b157011965442e6f021dcfeef588450277f1c6a/lib/appium_lib/device/touch_actions.rb#L133)
|
1025
1025
|
|
1026
1026
|
> def chain_method(method, args=nil)
|
1027
1027
|
|
@@ -1029,7 +1029,7 @@ Does nothing, currently.
|
|
1029
1029
|
|
1030
1030
|
--
|
1031
1031
|
|
1032
|
-
##### [args_with_ele_ref](https://github.com/appium/ruby_lib/blob/
|
1032
|
+
##### [args_with_ele_ref](https://github.com/appium/ruby_lib/blob/9b157011965442e6f021dcfeef588450277f1c6a/lib/appium_lib/device/touch_actions.rb#L142)
|
1033
1033
|
|
1034
1034
|
> def args_with_ele_ref(args)
|
1035
1035
|
|
@@ -1037,7 +1037,7 @@ Does nothing, currently.
|
|
1037
1037
|
|
1038
1038
|
--
|
1039
1039
|
|
1040
|
-
##### [_generic_wait](https://github.com/appium/ruby_lib/blob/
|
1040
|
+
##### [_generic_wait](https://github.com/appium/ruby_lib/blob/9b157011965442e6f021dcfeef588450277f1c6a/lib/appium_lib/common/wait.rb#L10)
|
1041
1041
|
|
1042
1042
|
> def _generic_wait opts={}, &block
|
1043
1043
|
|
@@ -1046,7 +1046,7 @@ https://github.com/SeleniumHQ/selenium/blob/cf501dda3f0ed12233de51ce8170c0e8090f
|
|
1046
1046
|
|
1047
1047
|
--
|
1048
1048
|
|
1049
|
-
##### [_process_wait_opts](https://github.com/appium/ruby_lib/blob/
|
1049
|
+
##### [_process_wait_opts](https://github.com/appium/ruby_lib/blob/9b157011965442e6f021dcfeef588450277f1c6a/lib/appium_lib/common/wait.rb#L55)
|
1050
1050
|
|
1051
1051
|
> def _process_wait_opts opts
|
1052
1052
|
|
@@ -1054,7 +1054,7 @@ process opts before calling _generic_wait
|
|
1054
1054
|
|
1055
1055
|
--
|
1056
1056
|
|
1057
|
-
##### [wait_true](https://github.com/appium/ruby_lib/blob/
|
1057
|
+
##### [wait_true](https://github.com/appium/ruby_lib/blob/9b157011965442e6f021dcfeef588450277f1c6a/lib/appium_lib/common/wait.rb#L76)
|
1058
1058
|
|
1059
1059
|
> def wait_true opts={}, &block
|
1060
1060
|
|
@@ -1074,7 +1074,7 @@ __Parameters:__
|
|
1074
1074
|
|
1075
1075
|
--
|
1076
1076
|
|
1077
|
-
##### [wait](https://github.com/appium/ruby_lib/blob/
|
1077
|
+
##### [wait](https://github.com/appium/ruby_lib/blob/9b157011965442e6f021dcfeef588450277f1c6a/lib/appium_lib/common/wait.rb#L94)
|
1078
1078
|
|
1079
1079
|
> def wait opts={}, &block
|
1080
1080
|
|
@@ -1092,7 +1092,7 @@ __Parameters:__
|
|
1092
1092
|
|
1093
1093
|
--
|
1094
1094
|
|
1095
|
-
##### [ignore](https://github.com/appium/ruby_lib/blob/
|
1095
|
+
##### [ignore](https://github.com/appium/ruby_lib/blob/9b157011965442e6f021dcfeef588450277f1c6a/lib/appium_lib/common/helper.rb#L24)
|
1096
1096
|
|
1097
1097
|
> def ignore &block
|
1098
1098
|
|
@@ -1100,7 +1100,7 @@ Return block.call and ignore any exceptions.
|
|
1100
1100
|
|
1101
1101
|
--
|
1102
1102
|
|
1103
|
-
##### [back](https://github.com/appium/ruby_lib/blob/
|
1103
|
+
##### [back](https://github.com/appium/ruby_lib/blob/9b157011965442e6f021dcfeef588450277f1c6a/lib/appium_lib/common/helper.rb#L33)
|
1104
1104
|
|
1105
1105
|
> def back
|
1106
1106
|
|
@@ -1112,7 +1112,7 @@ __Returns:__
|
|
1112
1112
|
|
1113
1113
|
--
|
1114
1114
|
|
1115
|
-
##### [session_id](https://github.com/appium/ruby_lib/blob/
|
1115
|
+
##### [session_id](https://github.com/appium/ruby_lib/blob/9b157011965442e6f021dcfeef588450277f1c6a/lib/appium_lib/common/helper.rb#L38)
|
1116
1116
|
|
1117
1117
|
> def session_id
|
1118
1118
|
|
@@ -1120,7 +1120,7 @@ For Sauce Labs reporting. Returns the current session id.
|
|
1120
1120
|
|
1121
1121
|
--
|
1122
1122
|
|
1123
|
-
##### [xpath](https://github.com/appium/ruby_lib/blob/
|
1123
|
+
##### [xpath](https://github.com/appium/ruby_lib/blob/9b157011965442e6f021dcfeef588450277f1c6a/lib/appium_lib/common/helper.rb#L46)
|
1124
1124
|
|
1125
1125
|
> def xpath xpath_str
|
1126
1126
|
|
@@ -1136,7 +1136,7 @@ __Returns:__
|
|
1136
1136
|
|
1137
1137
|
--
|
1138
1138
|
|
1139
|
-
##### [xpaths](https://github.com/appium/ruby_lib/blob/
|
1139
|
+
##### [xpaths](https://github.com/appium/ruby_lib/blob/9b157011965442e6f021dcfeef588450277f1c6a/lib/appium_lib/common/helper.rb#L54)
|
1140
1140
|
|
1141
1141
|
> def xpaths xpath_str
|
1142
1142
|
|
@@ -1152,7 +1152,7 @@ __Returns:__
|
|
1152
1152
|
|
1153
1153
|
--
|
1154
1154
|
|
1155
|
-
##### [_print_source](https://github.com/appium/ruby_lib/blob/
|
1155
|
+
##### [_print_source](https://github.com/appium/ruby_lib/blob/9b157011965442e6f021dcfeef588450277f1c6a/lib/appium_lib/common/helper.rb#L58)
|
1156
1156
|
|
1157
1157
|
> def _print_source source
|
1158
1158
|
|
@@ -1160,7 +1160,7 @@ __Returns:__
|
|
1160
1160
|
|
1161
1161
|
--
|
1162
1162
|
|
1163
|
-
##### [result](https://github.com/appium/ruby_lib/blob/
|
1163
|
+
##### [result](https://github.com/appium/ruby_lib/blob/9b157011965442e6f021dcfeef588450277f1c6a/lib/appium_lib/common/helper.rb#L71)
|
1164
1164
|
|
1165
1165
|
> def result
|
1166
1166
|
|
@@ -1168,7 +1168,7 @@ Returns the value of attribute result
|
|
1168
1168
|
|
1169
1169
|
--
|
1170
1170
|
|
1171
|
-
##### [initialize](https://github.com/appium/ruby_lib/blob/
|
1171
|
+
##### [initialize](https://github.com/appium/ruby_lib/blob/9b157011965442e6f021dcfeef588450277f1c6a/lib/appium_lib/common/helper.rb#L73)
|
1172
1172
|
|
1173
1173
|
> def initialize
|
1174
1174
|
|
@@ -1180,7 +1180,7 @@ __Returns:__
|
|
1180
1180
|
|
1181
1181
|
--
|
1182
1182
|
|
1183
|
-
##### [reset](https://github.com/appium/ruby_lib/blob/
|
1183
|
+
##### [reset](https://github.com/appium/ruby_lib/blob/9b157011965442e6f021dcfeef588450277f1c6a/lib/appium_lib/common/helper.rb#L77)
|
1184
1184
|
|
1185
1185
|
> def reset
|
1186
1186
|
|
@@ -1188,7 +1188,7 @@ __Returns:__
|
|
1188
1188
|
|
1189
1189
|
--
|
1190
1190
|
|
1191
|
-
##### [start_element](https://github.com/appium/ruby_lib/blob/
|
1191
|
+
##### [start_element](https://github.com/appium/ruby_lib/blob/9b157011965442e6f021dcfeef588450277f1c6a/lib/appium_lib/common/helper.rb#L82)
|
1192
1192
|
|
1193
1193
|
> def start_element name, attrs = []
|
1194
1194
|
|
@@ -1196,7 +1196,7 @@ http://nokogiri.org/Nokogiri/XML/SAX/Document.html
|
|
1196
1196
|
|
1197
1197
|
--
|
1198
1198
|
|
1199
|
-
##### [formatted_result](https://github.com/appium/ruby_lib/blob/
|
1199
|
+
##### [formatted_result](https://github.com/appium/ruby_lib/blob/9b157011965442e6f021dcfeef588450277f1c6a/lib/appium_lib/common/helper.rb#L88)
|
1200
1200
|
|
1201
1201
|
> def formatted_result
|
1202
1202
|
|
@@ -1204,7 +1204,7 @@ http://nokogiri.org/Nokogiri/XML/SAX/Document.html
|
|
1204
1204
|
|
1205
1205
|
--
|
1206
1206
|
|
1207
|
-
##### [get_page_class](https://github.com/appium/ruby_lib/blob/
|
1207
|
+
##### [get_page_class](https://github.com/appium/ruby_lib/blob/9b157011965442e6f021dcfeef588450277f1c6a/lib/appium_lib/common/helper.rb#L99)
|
1208
1208
|
|
1209
1209
|
> def get_page_class
|
1210
1210
|
|
@@ -1212,7 +1212,7 @@ Returns a string of class counts of visible elements.
|
|
1212
1212
|
|
1213
1213
|
--
|
1214
1214
|
|
1215
|
-
##### [page_class](https://github.com/appium/ruby_lib/blob/
|
1215
|
+
##### [page_class](https://github.com/appium/ruby_lib/blob/9b157011965442e6f021dcfeef588450277f1c6a/lib/appium_lib/common/helper.rb#L110)
|
1216
1216
|
|
1217
1217
|
> def page_class
|
1218
1218
|
|
@@ -1221,7 +1221,7 @@ Useful for appium_console.
|
|
1221
1221
|
|
1222
1222
|
--
|
1223
1223
|
|
1224
|
-
##### [px_to_window_rel](https://github.com/appium/ruby_lib/blob/
|
1224
|
+
##### [px_to_window_rel](https://github.com/appium/ruby_lib/blob/9b157011965442e6f021dcfeef588450277f1c6a/lib/appium_lib/common/helper.rb#L120)
|
1225
1225
|
|
1226
1226
|
> def px_to_window_rel opts={}
|
1227
1227
|
|
@@ -1233,7 +1233,7 @@ px_to_window_rel x: 50, y: 150
|
|
1233
1233
|
|
1234
1234
|
--
|
1235
1235
|
|
1236
|
-
##### [xml_keys](https://github.com/appium/ruby_lib/blob/
|
1236
|
+
##### [xml_keys](https://github.com/appium/ruby_lib/blob/9b157011965442e6f021dcfeef588450277f1c6a/lib/appium_lib/common/helper.rb#L139)
|
1237
1237
|
|
1238
1238
|
> def xml_keys target
|
1239
1239
|
|
@@ -1249,7 +1249,7 @@ __Returns:__
|
|
1249
1249
|
|
1250
1250
|
--
|
1251
1251
|
|
1252
|
-
##### [xml_values](https://github.com/appium/ruby_lib/blob/
|
1252
|
+
##### [xml_values](https://github.com/appium/ruby_lib/blob/9b157011965442e6f021dcfeef588450277f1c6a/lib/appium_lib/common/helper.rb#L147)
|
1253
1253
|
|
1254
1254
|
> def xml_values target
|
1255
1255
|
|
@@ -1265,7 +1265,7 @@ __Returns:__
|
|
1265
1265
|
|
1266
1266
|
--
|
1267
1267
|
|
1268
|
-
##### [resolve_id](https://github.com/appium/ruby_lib/blob/
|
1268
|
+
##### [resolve_id](https://github.com/appium/ruby_lib/blob/9b157011965442e6f021dcfeef588450277f1c6a/lib/appium_lib/common/helper.rb#L155)
|
1269
1269
|
|
1270
1270
|
> def resolve_id id
|
1271
1271
|
|
@@ -1281,7 +1281,7 @@ __Returns:__
|
|
1281
1281
|
|
1282
1282
|
--
|
1283
1283
|
|
1284
|
-
##### [filter](https://github.com/appium/ruby_lib/blob/
|
1284
|
+
##### [filter](https://github.com/appium/ruby_lib/blob/9b157011965442e6f021dcfeef588450277f1c6a/lib/appium_lib/common/helper.rb#L161)
|
1285
1285
|
|
1286
1286
|
> def filter
|
1287
1287
|
|
@@ -1289,7 +1289,7 @@ __Returns:__
|
|
1289
1289
|
|
1290
1290
|
--
|
1291
1291
|
|
1292
|
-
##### [filter=](https://github.com/appium/ruby_lib/blob/
|
1292
|
+
##### [filter=](https://github.com/appium/ruby_lib/blob/9b157011965442e6f021dcfeef588450277f1c6a/lib/appium_lib/common/helper.rb#L166)
|
1293
1293
|
|
1294
1294
|
> def filter= value
|
1295
1295
|
|
@@ -1297,7 +1297,7 @@ convert to string to support symbols
|
|
1297
1297
|
|
1298
1298
|
--
|
1299
1299
|
|
1300
|
-
##### [initialize](https://github.com/appium/ruby_lib/blob/
|
1300
|
+
##### [initialize](https://github.com/appium/ruby_lib/blob/9b157011965442e6f021dcfeef588450277f1c6a/lib/appium_lib/common/helper.rb#L172)
|
1301
1301
|
|
1302
1302
|
> def initialize
|
1303
1303
|
|
@@ -1309,7 +1309,7 @@ __Returns:__
|
|
1309
1309
|
|
1310
1310
|
--
|
1311
1311
|
|
1312
|
-
##### [reset](https://github.com/appium/ruby_lib/blob/
|
1312
|
+
##### [reset](https://github.com/appium/ruby_lib/blob/9b157011965442e6f021dcfeef588450277f1c6a/lib/appium_lib/common/helper.rb#L177)
|
1313
1313
|
|
1314
1314
|
> def reset
|
1315
1315
|
|
@@ -1317,7 +1317,7 @@ __Returns:__
|
|
1317
1317
|
|
1318
1318
|
--
|
1319
1319
|
|
1320
|
-
##### [result](https://github.com/appium/ruby_lib/blob/
|
1320
|
+
##### [result](https://github.com/appium/ruby_lib/blob/9b157011965442e6f021dcfeef588450277f1c6a/lib/appium_lib/common/helper.rb#L183)
|
1321
1321
|
|
1322
1322
|
> def result
|
1323
1323
|
|
@@ -1325,7 +1325,7 @@ __Returns:__
|
|
1325
1325
|
|
1326
1326
|
--
|
1327
1327
|
|
1328
|
-
##### [start_element](https://github.com/appium/ruby_lib/blob/
|
1328
|
+
##### [start_element](https://github.com/appium/ruby_lib/blob/9b157011965442e6f021dcfeef588450277f1c6a/lib/appium_lib/common/helper.rb#L199)
|
1329
1329
|
|
1330
1330
|
> def start_element name, attrs = []
|
1331
1331
|
|
@@ -1333,7 +1333,7 @@ __Returns:__
|
|
1333
1333
|
|
1334
1334
|
--
|
1335
1335
|
|
1336
|
-
##### [end_element](https://github.com/appium/ruby_lib/blob/
|
1336
|
+
##### [end_element](https://github.com/appium/ruby_lib/blob/9b157011965442e6f021dcfeef588450277f1c6a/lib/appium_lib/common/helper.rb#L209)
|
1337
1337
|
|
1338
1338
|
> def end_element name
|
1339
1339
|
|
@@ -1341,7 +1341,7 @@ __Returns:__
|
|
1341
1341
|
|
1342
1342
|
--
|
1343
1343
|
|
1344
|
-
##### [characters](https://github.com/appium/ruby_lib/blob/
|
1344
|
+
##### [characters](https://github.com/appium/ruby_lib/blob/9b157011965442e6f021dcfeef588450277f1c6a/lib/appium_lib/common/helper.rb#L215)
|
1345
1345
|
|
1346
1346
|
> def characters(chars)
|
1347
1347
|
|
@@ -1349,7 +1349,7 @@ __Returns:__
|
|
1349
1349
|
|
1350
1350
|
--
|
1351
1351
|
|
1352
|
-
##### [_no_such_element](https://github.com/appium/ruby_lib/blob/
|
1352
|
+
##### [_no_such_element](https://github.com/appium/ruby_lib/blob/9b157011965442e6f021dcfeef588450277f1c6a/lib/appium_lib/common/helper.rb#L223)
|
1353
1353
|
|
1354
1354
|
> def _no_such_element
|
1355
1355
|
|
@@ -1357,7 +1357,7 @@ __Returns:__
|
|
1357
1357
|
|
1358
1358
|
--
|
1359
1359
|
|
1360
|
-
##### [window_size](https://github.com/appium/ruby_lib/blob/
|
1360
|
+
##### [window_size](https://github.com/appium/ruby_lib/blob/9b157011965442e6f021dcfeef588450277f1c6a/lib/appium_lib/common/element/window.rb#L5)
|
1361
1361
|
|
1362
1362
|
> def window_size
|
1363
1363
|
|
@@ -1365,7 +1365,7 @@ Get the window's size
|
|
1365
1365
|
|
1366
1366
|
--
|
1367
1367
|
|
1368
|
-
##### [result](https://github.com/appium/ruby_lib/blob/
|
1368
|
+
##### [result](https://github.com/appium/ruby_lib/blob/9b157011965442e6f021dcfeef588450277f1c6a/lib/appium_lib/android/helper.rb#L6) android
|
1369
1369
|
|
1370
1370
|
> def result
|
1371
1371
|
|
@@ -1373,7 +1373,7 @@ Returns the value of attribute result
|
|
1373
1373
|
|
1374
1374
|
--
|
1375
1375
|
|
1376
|
-
##### [keys](https://github.com/appium/ruby_lib/blob/
|
1376
|
+
##### [keys](https://github.com/appium/ruby_lib/blob/9b157011965442e6f021dcfeef588450277f1c6a/lib/appium_lib/android/helper.rb#L6) android
|
1377
1377
|
|
1378
1378
|
> def keys
|
1379
1379
|
|
@@ -1381,7 +1381,7 @@ Returns the value of attribute keys
|
|
1381
1381
|
|
1382
1382
|
--
|
1383
1383
|
|
1384
|
-
##### [instance](https://github.com/appium/ruby_lib/blob/
|
1384
|
+
##### [instance](https://github.com/appium/ruby_lib/blob/9b157011965442e6f021dcfeef588450277f1c6a/lib/appium_lib/android/helper.rb#L6) android
|
1385
1385
|
|
1386
1386
|
> def instance
|
1387
1387
|
|
@@ -1389,7 +1389,7 @@ Returns the value of attribute instance
|
|
1389
1389
|
|
1390
1390
|
--
|
1391
1391
|
|
1392
|
-
##### [filter](https://github.com/appium/ruby_lib/blob/
|
1392
|
+
##### [filter](https://github.com/appium/ruby_lib/blob/9b157011965442e6f021dcfeef588450277f1c6a/lib/appium_lib/android/helper.rb#L8) android
|
1393
1393
|
|
1394
1394
|
> def filter
|
1395
1395
|
|
@@ -1397,7 +1397,7 @@ Returns the value of attribute instance
|
|
1397
1397
|
|
1398
1398
|
--
|
1399
1399
|
|
1400
|
-
##### [filter=](https://github.com/appium/ruby_lib/blob/
|
1400
|
+
##### [filter=](https://github.com/appium/ruby_lib/blob/9b157011965442e6f021dcfeef588450277f1c6a/lib/appium_lib/android/helper.rb#L13) android
|
1401
1401
|
|
1402
1402
|
> def filter= value
|
1403
1403
|
|
@@ -1405,7 +1405,7 @@ convert to string to support symbols
|
|
1405
1405
|
|
1406
1406
|
--
|
1407
1407
|
|
1408
|
-
##### [initialize](https://github.com/appium/ruby_lib/blob/
|
1408
|
+
##### [initialize](https://github.com/appium/ruby_lib/blob/9b157011965442e6f021dcfeef588450277f1c6a/lib/appium_lib/android/helper.rb#L19) android
|
1409
1409
|
|
1410
1410
|
> def initialize
|
1411
1411
|
|
@@ -1417,7 +1417,7 @@ __Returns:__
|
|
1417
1417
|
|
1418
1418
|
--
|
1419
1419
|
|
1420
|
-
##### [reset](https://github.com/appium/ruby_lib/blob/
|
1420
|
+
##### [reset](https://github.com/appium/ruby_lib/blob/9b157011965442e6f021dcfeef588450277f1c6a/lib/appium_lib/android/helper.rb#L25) android
|
1421
1421
|
|
1422
1422
|
> def reset
|
1423
1423
|
|
@@ -1425,7 +1425,7 @@ __Returns:__
|
|
1425
1425
|
|
1426
1426
|
--
|
1427
1427
|
|
1428
|
-
##### [start_element](https://github.com/appium/ruby_lib/blob/
|
1428
|
+
##### [start_element](https://github.com/appium/ruby_lib/blob/9b157011965442e6f021dcfeef588450277f1c6a/lib/appium_lib/android/helper.rb#L32) android
|
1429
1429
|
|
1430
1430
|
> def start_element name, attrs = []
|
1431
1431
|
|
@@ -1433,7 +1433,7 @@ http://nokogiri.org/Nokogiri/XML/SAX/Document.html
|
|
1433
1433
|
|
1434
1434
|
--
|
1435
1435
|
|
1436
|
-
##### [_fix_android_native_source](https://github.com/appium/ruby_lib/blob/
|
1436
|
+
##### [_fix_android_native_source](https://github.com/appium/ruby_lib/blob/9b157011965442e6f021dcfeef588450277f1c6a/lib/appium_lib/android/helper.rb#L89) android
|
1437
1437
|
|
1438
1438
|
> def _fix_android_native_source source
|
1439
1439
|
|
@@ -1443,7 +1443,7 @@ https://code.google.com/p/android/issues/detail?id=74143
|
|
1443
1443
|
|
1444
1444
|
--
|
1445
1445
|
|
1446
|
-
##### [source](https://github.com/appium/ruby_lib/blob/
|
1446
|
+
##### [source](https://github.com/appium/ruby_lib/blob/9b157011965442e6f021dcfeef588450277f1c6a/lib/appium_lib/android/helper.rb#L117) android
|
1447
1447
|
|
1448
1448
|
> def source
|
1449
1449
|
|
@@ -1455,7 +1455,7 @@ __Returns:__
|
|
1455
1455
|
|
1456
1456
|
--
|
1457
1457
|
|
1458
|
-
##### [get_android_inspect](https://github.com/appium/ruby_lib/blob/
|
1458
|
+
##### [get_android_inspect](https://github.com/appium/ruby_lib/blob/9b157011965442e6f021dcfeef588450277f1c6a/lib/appium_lib/android/helper.rb#L127) android
|
1459
1459
|
|
1460
1460
|
> def get_android_inspect class_name=false
|
1461
1461
|
|
@@ -1474,7 +1474,7 @@ __Returns:__
|
|
1474
1474
|
|
1475
1475
|
--
|
1476
1476
|
|
1477
|
-
##### [page](https://github.com/appium/ruby_lib/blob/
|
1477
|
+
##### [page](https://github.com/appium/ruby_lib/blob/9b157011965442e6f021dcfeef588450277f1c6a/lib/appium_lib/android/helper.rb#L153) android
|
1478
1478
|
|
1479
1479
|
> def page opts={}
|
1480
1480
|
|
@@ -1493,7 +1493,7 @@ __Returns:__
|
|
1493
1493
|
|
1494
1494
|
--
|
1495
1495
|
|
1496
|
-
##### [current_app](https://github.com/appium/ruby_lib/blob/
|
1496
|
+
##### [current_app](https://github.com/appium/ruby_lib/blob/9b157011965442e6f021dcfeef588450277f1c6a/lib/appium_lib/android/helper.rb#L164) android
|
1497
1497
|
|
1498
1498
|
> def current_app
|
1499
1499
|
|
@@ -1502,7 +1502,7 @@ example line:
|
|
1502
1502
|
|
1503
1503
|
--
|
1504
1504
|
|
1505
|
-
##### [id](https://github.com/appium/ruby_lib/blob/
|
1505
|
+
##### [id](https://github.com/appium/ruby_lib/blob/9b157011965442e6f021dcfeef588450277f1c6a/lib/appium_lib/android/helper.rb#L188) android
|
1506
1506
|
|
1507
1507
|
> def id id
|
1508
1508
|
|
@@ -1518,7 +1518,7 @@ __Returns:__
|
|
1518
1518
|
|
1519
1519
|
--
|
1520
1520
|
|
1521
|
-
##### [ids](https://github.com/appium/ruby_lib/blob/
|
1521
|
+
##### [ids](https://github.com/appium/ruby_lib/blob/9b157011965442e6f021dcfeef588450277f1c6a/lib/appium_lib/android/helper.rb#L196) android
|
1522
1522
|
|
1523
1523
|
> def ids id
|
1524
1524
|
|
@@ -1534,7 +1534,7 @@ __Returns:__
|
|
1534
1534
|
|
1535
1535
|
--
|
1536
1536
|
|
1537
|
-
##### [ele_index](https://github.com/appium/ruby_lib/blob/
|
1537
|
+
##### [ele_index](https://github.com/appium/ruby_lib/blob/9b157011965442e6f021dcfeef588450277f1c6a/lib/appium_lib/android/helper.rb#L205) android
|
1538
1538
|
|
1539
1539
|
> def ele_index class_name, index
|
1540
1540
|
|
@@ -1552,7 +1552,7 @@ __Returns:__
|
|
1552
1552
|
|
1553
1553
|
--
|
1554
1554
|
|
1555
|
-
##### [first_ele](https://github.com/appium/ruby_lib/blob/
|
1555
|
+
##### [first_ele](https://github.com/appium/ruby_lib/blob/9b157011965442e6f021dcfeef588450277f1c6a/lib/appium_lib/android/helper.rb#L223) android
|
1556
1556
|
|
1557
1557
|
> def first_ele class_name
|
1558
1558
|
|
@@ -1568,7 +1568,7 @@ __Returns:__
|
|
1568
1568
|
|
1569
1569
|
--
|
1570
1570
|
|
1571
|
-
##### [last_ele](https://github.com/appium/ruby_lib/blob/
|
1571
|
+
##### [last_ele](https://github.com/appium/ruby_lib/blob/9b157011965442e6f021dcfeef588450277f1c6a/lib/appium_lib/android/helper.rb#L230) android
|
1572
1572
|
|
1573
1573
|
> def last_ele class_name
|
1574
1574
|
|
@@ -1584,7 +1584,7 @@ __Returns:__
|
|
1584
1584
|
|
1585
1585
|
--
|
1586
1586
|
|
1587
|
-
##### [tag](https://github.com/appium/ruby_lib/blob/
|
1587
|
+
##### [tag](https://github.com/appium/ruby_lib/blob/9b157011965442e6f021dcfeef588450277f1c6a/lib/appium_lib/android/helper.rb#L238) android
|
1588
1588
|
|
1589
1589
|
> def tag class_name
|
1590
1590
|
|
@@ -1600,7 +1600,7 @@ __Returns:__
|
|
1600
1600
|
|
1601
1601
|
--
|
1602
1602
|
|
1603
|
-
##### [tags](https://github.com/appium/ruby_lib/blob/
|
1603
|
+
##### [tags](https://github.com/appium/ruby_lib/blob/9b157011965442e6f021dcfeef588450277f1c6a/lib/appium_lib/android/helper.rb#L246) android
|
1604
1604
|
|
1605
1605
|
> def tags class_name
|
1606
1606
|
|
@@ -1616,7 +1616,7 @@ __Returns:__
|
|
1616
1616
|
|
1617
1617
|
--
|
1618
1618
|
|
1619
|
-
##### [complex_find_contains](https://github.com/appium/ruby_lib/blob/
|
1619
|
+
##### [complex_find_contains](https://github.com/appium/ruby_lib/blob/9b157011965442e6f021dcfeef588450277f1c6a/lib/appium_lib/android/helper.rb#L278) android
|
1620
1620
|
|
1621
1621
|
> def complex_find_contains element, value
|
1622
1622
|
|
@@ -1634,7 +1634,7 @@ __Returns:__
|
|
1634
1634
|
|
1635
1635
|
--
|
1636
1636
|
|
1637
|
-
##### [complex_finds_contains](https://github.com/appium/ruby_lib/blob/
|
1637
|
+
##### [complex_finds_contains](https://github.com/appium/ruby_lib/blob/9b157011965442e6f021dcfeef588450277f1c6a/lib/appium_lib/android/helper.rb#L286) android
|
1638
1638
|
|
1639
1639
|
> def complex_finds_contains element, value
|
1640
1640
|
|
@@ -1652,7 +1652,7 @@ __Returns:__
|
|
1652
1652
|
|
1653
1653
|
--
|
1654
1654
|
|
1655
|
-
##### [complex_find_exact](https://github.com/appium/ruby_lib/blob/
|
1655
|
+
##### [complex_find_exact](https://github.com/appium/ruby_lib/blob/9b157011965442e6f021dcfeef588450277f1c6a/lib/appium_lib/android/helper.rb#L315) android
|
1656
1656
|
|
1657
1657
|
> def complex_find_exact class_name, value
|
1658
1658
|
|
@@ -1670,7 +1670,7 @@ __Returns:__
|
|
1670
1670
|
|
1671
1671
|
--
|
1672
1672
|
|
1673
|
-
##### [complex_finds_exact](https://github.com/appium/ruby_lib/blob/
|
1673
|
+
##### [complex_finds_exact](https://github.com/appium/ruby_lib/blob/9b157011965442e6f021dcfeef588450277f1c6a/lib/appium_lib/android/helper.rb#L323) android
|
1674
1674
|
|
1675
1675
|
> def complex_finds_exact class_name, value
|
1676
1676
|
|
@@ -1688,7 +1688,7 @@ __Returns:__
|
|
1688
1688
|
|
1689
1689
|
--
|
1690
1690
|
|
1691
|
-
##### [get_source](https://github.com/appium/ruby_lib/blob/
|
1691
|
+
##### [get_source](https://github.com/appium/ruby_lib/blob/9b157011965442e6f021dcfeef588450277f1c6a/lib/appium_lib/android/helper.rb#L331) android
|
1692
1692
|
|
1693
1693
|
> def get_source
|
1694
1694
|
|
@@ -1702,7 +1702,7 @@ __Returns:__
|
|
1702
1702
|
|
1703
1703
|
--
|
1704
1704
|
|
1705
|
-
##### [TextView](https://github.com/appium/ruby_lib/blob/
|
1705
|
+
##### [TextView](https://github.com/appium/ruby_lib/blob/9b157011965442e6f021dcfeef588450277f1c6a/lib/appium_lib/android/element/text.rb#L4) android
|
1706
1706
|
|
1707
1707
|
> TextView = 'android.widget.TextView'
|
1708
1708
|
|
@@ -1710,7 +1710,7 @@ __Returns:__
|
|
1710
1710
|
|
1711
1711
|
--
|
1712
1712
|
|
1713
|
-
##### [text](https://github.com/appium/ruby_lib/blob/
|
1713
|
+
##### [text](https://github.com/appium/ruby_lib/blob/9b157011965442e6f021dcfeef588450277f1c6a/lib/appium_lib/android/element/text.rb#L10) android
|
1714
1714
|
|
1715
1715
|
> def text value
|
1716
1716
|
|
@@ -1727,7 +1727,7 @@ __Returns:__
|
|
1727
1727
|
|
1728
1728
|
--
|
1729
1729
|
|
1730
|
-
##### [texts](https://github.com/appium/ruby_lib/blob/
|
1730
|
+
##### [texts](https://github.com/appium/ruby_lib/blob/9b157011965442e6f021dcfeef588450277f1c6a/lib/appium_lib/android/element/text.rb#L19) android
|
1731
1731
|
|
1732
1732
|
> def texts value=false
|
1733
1733
|
|
@@ -1744,7 +1744,7 @@ __Returns:__
|
|
1744
1744
|
|
1745
1745
|
--
|
1746
1746
|
|
1747
|
-
##### [first_text](https://github.com/appium/ruby_lib/blob/
|
1747
|
+
##### [first_text](https://github.com/appium/ruby_lib/blob/9b157011965442e6f021dcfeef588450277f1c6a/lib/appium_lib/android/element/text.rb#L26) android
|
1748
1748
|
|
1749
1749
|
> def first_text
|
1750
1750
|
|
@@ -1756,7 +1756,7 @@ __Returns:__
|
|
1756
1756
|
|
1757
1757
|
--
|
1758
1758
|
|
1759
|
-
##### [last_text](https://github.com/appium/ruby_lib/blob/
|
1759
|
+
##### [last_text](https://github.com/appium/ruby_lib/blob/9b157011965442e6f021dcfeef588450277f1c6a/lib/appium_lib/android/element/text.rb#L32) android
|
1760
1760
|
|
1761
1761
|
> def last_text
|
1762
1762
|
|
@@ -1768,7 +1768,7 @@ __Returns:__
|
|
1768
1768
|
|
1769
1769
|
--
|
1770
1770
|
|
1771
|
-
##### [text_exact](https://github.com/appium/ruby_lib/blob/
|
1771
|
+
##### [text_exact](https://github.com/appium/ruby_lib/blob/9b157011965442e6f021dcfeef588450277f1c6a/lib/appium_lib/android/element/text.rb#L39) android
|
1772
1772
|
|
1773
1773
|
> def text_exact value
|
1774
1774
|
|
@@ -1784,7 +1784,7 @@ __Returns:__
|
|
1784
1784
|
|
1785
1785
|
--
|
1786
1786
|
|
1787
|
-
##### [texts_exact](https://github.com/appium/ruby_lib/blob/
|
1787
|
+
##### [texts_exact](https://github.com/appium/ruby_lib/blob/9b157011965442e6f021dcfeef588450277f1c6a/lib/appium_lib/android/element/text.rb#L46) android
|
1788
1788
|
|
1789
1789
|
> def texts_exact value
|
1790
1790
|
|
@@ -1800,7 +1800,7 @@ __Returns:__
|
|
1800
1800
|
|
1801
1801
|
--
|
1802
1802
|
|
1803
|
-
##### [_nodeset_to_uiselector](https://github.com/appium/ruby_lib/blob/
|
1803
|
+
##### [_nodeset_to_uiselector](https://github.com/appium/ruby_lib/blob/9b157011965442e6f021dcfeef588450277f1c6a/lib/appium_lib/android/client_xpath.rb#L5) android
|
1804
1804
|
|
1805
1805
|
> def _nodeset_to_uiselector opts={}
|
1806
1806
|
|
@@ -1808,7 +1808,7 @@ __Returns:__
|
|
1808
1808
|
|
1809
1809
|
--
|
1810
1810
|
|
1811
|
-
##### [_client_xpath](https://github.com/appium/ruby_lib/blob/
|
1811
|
+
##### [_client_xpath](https://github.com/appium/ruby_lib/blob/9b157011965442e6f021dcfeef588450277f1c6a/lib/appium_lib/android/client_xpath.rb#L20) android
|
1812
1812
|
|
1813
1813
|
> def _client_xpath opts={}
|
1814
1814
|
|
@@ -1816,7 +1816,7 @@ __Returns:__
|
|
1816
1816
|
|
1817
1817
|
--
|
1818
1818
|
|
1819
|
-
##### [client_xpath](https://github.com/appium/ruby_lib/blob/
|
1819
|
+
##### [client_xpath](https://github.com/appium/ruby_lib/blob/9b157011965442e6f021dcfeef588450277f1c6a/lib/appium_lib/android/client_xpath.rb#L36) android
|
1820
1820
|
|
1821
1821
|
> def client_xpath xpath
|
1822
1822
|
|
@@ -1824,7 +1824,7 @@ __Returns:__
|
|
1824
1824
|
|
1825
1825
|
--
|
1826
1826
|
|
1827
|
-
##### [client_xpaths](https://github.com/appium/ruby_lib/blob/
|
1827
|
+
##### [client_xpaths](https://github.com/appium/ruby_lib/blob/9b157011965442e6f021dcfeef588450277f1c6a/lib/appium_lib/android/client_xpath.rb#L40) android
|
1828
1828
|
|
1829
1829
|
> def client_xpaths xpath
|
1830
1830
|
|
@@ -1832,7 +1832,7 @@ __Returns:__
|
|
1832
1832
|
|
1833
1833
|
--
|
1834
1834
|
|
1835
|
-
##### [alert_click](https://github.com/appium/ruby_lib/blob/
|
1835
|
+
##### [alert_click](https://github.com/appium/ruby_lib/blob/9b157011965442e6f021dcfeef588450277f1c6a/lib/appium_lib/android/element/alert.rb#L6) android
|
1836
1836
|
|
1837
1837
|
> def alert_click value
|
1838
1838
|
|
@@ -1848,7 +1848,7 @@ __Returns:__
|
|
1848
1848
|
|
1849
1849
|
--
|
1850
1850
|
|
1851
|
-
##### [alert_accept](https://github.com/appium/ruby_lib/blob/
|
1851
|
+
##### [alert_accept](https://github.com/appium/ruby_lib/blob/9b157011965442e6f021dcfeef588450277f1c6a/lib/appium_lib/android/element/alert.rb#L13) android
|
1852
1852
|
|
1853
1853
|
> def alert_accept
|
1854
1854
|
|
@@ -1861,7 +1861,7 @@ __Returns:__
|
|
1861
1861
|
|
1862
1862
|
--
|
1863
1863
|
|
1864
|
-
##### [alert_accept_text](https://github.com/appium/ruby_lib/blob/
|
1864
|
+
##### [alert_accept_text](https://github.com/appium/ruby_lib/blob/9b157011965442e6f021dcfeef588450277f1c6a/lib/appium_lib/android/element/alert.rb#L20) android
|
1865
1865
|
|
1866
1866
|
> def alert_accept_text
|
1867
1867
|
|
@@ -1874,7 +1874,7 @@ __Returns:__
|
|
1874
1874
|
|
1875
1875
|
--
|
1876
1876
|
|
1877
|
-
##### [alert_dismiss](https://github.com/appium/ruby_lib/blob/
|
1877
|
+
##### [alert_dismiss](https://github.com/appium/ruby_lib/blob/9b157011965442e6f021dcfeef588450277f1c6a/lib/appium_lib/android/element/alert.rb#L27) android
|
1878
1878
|
|
1879
1879
|
> def alert_dismiss
|
1880
1880
|
|
@@ -1887,7 +1887,7 @@ __Returns:__
|
|
1887
1887
|
|
1888
1888
|
--
|
1889
1889
|
|
1890
|
-
##### [alert_dismiss_text](https://github.com/appium/ruby_lib/blob/
|
1890
|
+
##### [alert_dismiss_text](https://github.com/appium/ruby_lib/blob/9b157011965442e6f021dcfeef588450277f1c6a/lib/appium_lib/android/element/alert.rb#L34) android
|
1891
1891
|
|
1892
1892
|
> def alert_dismiss_text
|
1893
1893
|
|
@@ -1900,7 +1900,7 @@ __Returns:__
|
|
1900
1900
|
|
1901
1901
|
--
|
1902
1902
|
|
1903
|
-
##### [uiautomator_find](https://github.com/appium/ruby_lib/blob/
|
1903
|
+
##### [uiautomator_find](https://github.com/appium/ruby_lib/blob/9b157011965442e6f021dcfeef588450277f1c6a/lib/appium_lib/android/mobile_methods.rb#L10) android
|
1904
1904
|
|
1905
1905
|
> def uiautomator_find
|
1906
1906
|
|
@@ -1912,7 +1912,7 @@ find_element/s can be used with a [UISelector](http://developer.android.com/tool
|
|
1912
1912
|
|
1913
1913
|
--
|
1914
1914
|
|
1915
|
-
##### [Button](https://github.com/appium/ruby_lib/blob/
|
1915
|
+
##### [Button](https://github.com/appium/ruby_lib/blob/9b157011965442e6f021dcfeef588450277f1c6a/lib/appium_lib/android/element/button.rb#L4) android
|
1916
1916
|
|
1917
1917
|
> Button = 'android.widget.Button'
|
1918
1918
|
|
@@ -1920,7 +1920,7 @@ find_element/s can be used with a [UISelector](http://developer.android.com/tool
|
|
1920
1920
|
|
1921
1921
|
--
|
1922
1922
|
|
1923
|
-
##### [ImageButton](https://github.com/appium/ruby_lib/blob/
|
1923
|
+
##### [ImageButton](https://github.com/appium/ruby_lib/blob/9b157011965442e6f021dcfeef588450277f1c6a/lib/appium_lib/android/element/button.rb#L5) android
|
1924
1924
|
|
1925
1925
|
> ImageButton = 'android.widget.ImageButton'
|
1926
1926
|
|
@@ -1928,7 +1928,7 @@ find_element/s can be used with a [UISelector](http://developer.android.com/tool
|
|
1928
1928
|
|
1929
1929
|
--
|
1930
1930
|
|
1931
|
-
##### [button](https://github.com/appium/ruby_lib/blob/
|
1931
|
+
##### [button](https://github.com/appium/ruby_lib/blob/9b157011965442e6f021dcfeef588450277f1c6a/lib/appium_lib/android/element/button.rb#L43) android
|
1932
1932
|
|
1933
1933
|
> def button value
|
1934
1934
|
|
@@ -1945,7 +1945,7 @@ __Returns:__
|
|
1945
1945
|
|
1946
1946
|
--
|
1947
1947
|
|
1948
|
-
##### [buttons](https://github.com/appium/ruby_lib/blob/
|
1948
|
+
##### [buttons](https://github.com/appium/ruby_lib/blob/9b157011965442e6f021dcfeef588450277f1c6a/lib/appium_lib/android/element/button.rb#L60) android
|
1949
1949
|
|
1950
1950
|
> def buttons value=false
|
1951
1951
|
|
@@ -1962,7 +1962,7 @@ __Returns:__
|
|
1962
1962
|
|
1963
1963
|
--
|
1964
1964
|
|
1965
|
-
##### [first_button](https://github.com/appium/ruby_lib/blob/
|
1965
|
+
##### [first_button](https://github.com/appium/ruby_lib/blob/9b157011965442e6f021dcfeef588450277f1c6a/lib/appium_lib/android/element/button.rb#L67) android
|
1966
1966
|
|
1967
1967
|
> def first_button
|
1968
1968
|
|
@@ -1974,7 +1974,7 @@ __Returns:__
|
|
1974
1974
|
|
1975
1975
|
--
|
1976
1976
|
|
1977
|
-
##### [last_button](https://github.com/appium/ruby_lib/blob/
|
1977
|
+
##### [last_button](https://github.com/appium/ruby_lib/blob/9b157011965442e6f021dcfeef588450277f1c6a/lib/appium_lib/android/element/button.rb#L73) android
|
1978
1978
|
|
1979
1979
|
> def last_button
|
1980
1980
|
|
@@ -1986,7 +1986,7 @@ __Returns:__
|
|
1986
1986
|
|
1987
1987
|
--
|
1988
1988
|
|
1989
|
-
##### [button_exact](https://github.com/appium/ruby_lib/blob/
|
1989
|
+
##### [button_exact](https://github.com/appium/ruby_lib/blob/9b157011965442e6f021dcfeef588450277f1c6a/lib/appium_lib/android/element/button.rb#L89) android
|
1990
1990
|
|
1991
1991
|
> def button_exact value
|
1992
1992
|
|
@@ -2002,7 +2002,7 @@ __Returns:__
|
|
2002
2002
|
|
2003
2003
|
--
|
2004
2004
|
|
2005
|
-
##### [buttons_exact](https://github.com/appium/ruby_lib/blob/
|
2005
|
+
##### [buttons_exact](https://github.com/appium/ruby_lib/blob/9b157011965442e6f021dcfeef588450277f1c6a/lib/appium_lib/android/element/button.rb#L96) android
|
2006
2006
|
|
2007
2007
|
> def buttons_exact value
|
2008
2008
|
|
@@ -2018,7 +2018,7 @@ __Returns:__
|
|
2018
2018
|
|
2019
2019
|
--
|
2020
2020
|
|
2021
|
-
##### [find](https://github.com/appium/ruby_lib/blob/
|
2021
|
+
##### [find](https://github.com/appium/ruby_lib/blob/9b157011965442e6f021dcfeef588450277f1c6a/lib/appium_lib/android/element/generic.rb#L7) android
|
2022
2022
|
|
2023
2023
|
> def find value
|
2024
2024
|
|
@@ -2034,7 +2034,7 @@ __Returns:__
|
|
2034
2034
|
|
2035
2035
|
--
|
2036
2036
|
|
2037
|
-
##### [finds](https://github.com/appium/ruby_lib/blob/
|
2037
|
+
##### [finds](https://github.com/appium/ruby_lib/blob/9b157011965442e6f021dcfeef588450277f1c6a/lib/appium_lib/android/element/generic.rb#L14) android
|
2038
2038
|
|
2039
2039
|
> def finds value
|
2040
2040
|
|
@@ -2050,7 +2050,7 @@ __Returns:__
|
|
2050
2050
|
|
2051
2051
|
--
|
2052
2052
|
|
2053
|
-
##### [find_exact](https://github.com/appium/ruby_lib/blob/
|
2053
|
+
##### [find_exact](https://github.com/appium/ruby_lib/blob/9b157011965442e6f021dcfeef588450277f1c6a/lib/appium_lib/android/element/generic.rb#L21) android
|
2054
2054
|
|
2055
2055
|
> def find_exact value
|
2056
2056
|
|
@@ -2066,7 +2066,7 @@ __Returns:__
|
|
2066
2066
|
|
2067
2067
|
--
|
2068
2068
|
|
2069
|
-
##### [finds_exact](https://github.com/appium/ruby_lib/blob/
|
2069
|
+
##### [finds_exact](https://github.com/appium/ruby_lib/blob/9b157011965442e6f021dcfeef588450277f1c6a/lib/appium_lib/android/element/generic.rb#L28) android
|
2070
2070
|
|
2071
2071
|
> def finds_exact value
|
2072
2072
|
|
@@ -2082,7 +2082,7 @@ __Returns:__
|
|
2082
2082
|
|
2083
2083
|
--
|
2084
2084
|
|
2085
|
-
##### [scroll_to](https://github.com/appium/ruby_lib/blob/
|
2085
|
+
##### [scroll_to](https://github.com/appium/ruby_lib/blob/9b157011965442e6f021dcfeef588450277f1c6a/lib/appium_lib/android/element/generic.rb#L40) android
|
2086
2086
|
|
2087
2087
|
> def scroll_to text
|
2088
2088
|
|
@@ -2098,7 +2098,7 @@ __Returns:__
|
|
2098
2098
|
|
2099
2099
|
--
|
2100
2100
|
|
2101
|
-
##### [scroll_to_exact](https://github.com/appium/ruby_lib/blob/
|
2101
|
+
##### [scroll_to_exact](https://github.com/appium/ruby_lib/blob/9b157011965442e6f021dcfeef588450277f1c6a/lib/appium_lib/android/element/generic.rb#L52) android
|
2102
2102
|
|
2103
2103
|
> def scroll_to_exact text
|
2104
2104
|
|
@@ -2114,7 +2114,7 @@ __Returns:__
|
|
2114
2114
|
|
2115
2115
|
--
|
2116
2116
|
|
2117
|
-
##### [EditText](https://github.com/appium/ruby_lib/blob/
|
2117
|
+
##### [EditText](https://github.com/appium/ruby_lib/blob/9b157011965442e6f021dcfeef588450277f1c6a/lib/appium_lib/android/element/textfield.rb#L3) android
|
2118
2118
|
|
2119
2119
|
> EditText = 'android.widget.EditText'
|
2120
2120
|
|
@@ -2122,7 +2122,7 @@ __Returns:__
|
|
2122
2122
|
|
2123
2123
|
--
|
2124
2124
|
|
2125
|
-
##### [textfield](https://github.com/appium/ruby_lib/blob/
|
2125
|
+
##### [textfield](https://github.com/appium/ruby_lib/blob/9b157011965442e6f021dcfeef588450277f1c6a/lib/appium_lib/android/element/textfield.rb#L9) android
|
2126
2126
|
|
2127
2127
|
> def textfield value
|
2128
2128
|
|
@@ -2139,7 +2139,7 @@ __Returns:__
|
|
2139
2139
|
|
2140
2140
|
--
|
2141
2141
|
|
2142
|
-
##### [textfields](https://github.com/appium/ruby_lib/blob/
|
2142
|
+
##### [textfields](https://github.com/appium/ruby_lib/blob/9b157011965442e6f021dcfeef588450277f1c6a/lib/appium_lib/android/element/textfield.rb#L18) android
|
2143
2143
|
|
2144
2144
|
> def textfields value=false
|
2145
2145
|
|
@@ -2156,7 +2156,7 @@ __Returns:__
|
|
2156
2156
|
|
2157
2157
|
--
|
2158
2158
|
|
2159
|
-
##### [first_textfield](https://github.com/appium/ruby_lib/blob/
|
2159
|
+
##### [first_textfield](https://github.com/appium/ruby_lib/blob/9b157011965442e6f021dcfeef588450277f1c6a/lib/appium_lib/android/element/textfield.rb#L25) android
|
2160
2160
|
|
2161
2161
|
> def first_textfield
|
2162
2162
|
|
@@ -2168,7 +2168,7 @@ __Returns:__
|
|
2168
2168
|
|
2169
2169
|
--
|
2170
2170
|
|
2171
|
-
##### [last_textfield](https://github.com/appium/ruby_lib/blob/
|
2171
|
+
##### [last_textfield](https://github.com/appium/ruby_lib/blob/9b157011965442e6f021dcfeef588450277f1c6a/lib/appium_lib/android/element/textfield.rb#L31) android
|
2172
2172
|
|
2173
2173
|
> def last_textfield
|
2174
2174
|
|
@@ -2180,7 +2180,7 @@ __Returns:__
|
|
2180
2180
|
|
2181
2181
|
--
|
2182
2182
|
|
2183
|
-
##### [textfield_exact](https://github.com/appium/ruby_lib/blob/
|
2183
|
+
##### [textfield_exact](https://github.com/appium/ruby_lib/blob/9b157011965442e6f021dcfeef588450277f1c6a/lib/appium_lib/android/element/textfield.rb#L38) android
|
2184
2184
|
|
2185
2185
|
> def textfield_exact value
|
2186
2186
|
|
@@ -2196,7 +2196,7 @@ __Returns:__
|
|
2196
2196
|
|
2197
2197
|
--
|
2198
2198
|
|
2199
|
-
##### [textfields_exact](https://github.com/appium/ruby_lib/blob/
|
2199
|
+
##### [textfields_exact](https://github.com/appium/ruby_lib/blob/9b157011965442e6f021dcfeef588450277f1c6a/lib/appium_lib/android/element/textfield.rb#L45) android
|
2200
2200
|
|
2201
2201
|
> def textfields_exact value
|
2202
2202
|
|
@@ -2212,7 +2212,7 @@ __Returns:__
|
|
2212
2212
|
|
2213
2213
|
--
|
2214
2214
|
|
2215
|
-
##### [value](https://github.com/appium/ruby_lib/blob/
|
2215
|
+
##### [value](https://github.com/appium/ruby_lib/blob/9b157011965442e6f021dcfeef588450277f1c6a/lib/appium_lib/common/patch.rb#L12)
|
2216
2216
|
|
2217
2217
|
> def value
|
2218
2218
|
|
@@ -2222,7 +2222,7 @@ Fixes NoMethodError: undefined method `value' for Selenium::WebDriver::Element
|
|
2222
2222
|
|
2223
2223
|
--
|
2224
2224
|
|
2225
|
-
##### [name](https://github.com/appium/ruby_lib/blob/
|
2225
|
+
##### [name](https://github.com/appium/ruby_lib/blob/9b157011965442e6f021dcfeef588450277f1c6a/lib/appium_lib/common/patch.rb#L19)
|
2226
2226
|
|
2227
2227
|
> def name
|
2228
2228
|
|
@@ -2232,7 +2232,7 @@ Fixes NoMethodError: undefined method `name' for Selenium::WebDriver::Element
|
|
2232
2232
|
|
2233
2233
|
--
|
2234
2234
|
|
2235
|
-
##### [location_rel](https://github.com/appium/ruby_lib/blob/
|
2235
|
+
##### [location_rel](https://github.com/appium/ruby_lib/blob/9b157011965442e6f021dcfeef588450277f1c6a/lib/appium_lib/common/patch.rb#L31)
|
2236
2236
|
|
2237
2237
|
> def location_rel
|
2238
2238
|
|
@@ -2250,7 +2250,7 @@ __Returns:__
|
|
2250
2250
|
|
2251
2251
|
--
|
2252
2252
|
|
2253
|
-
##### [DEFAULT_HEADERS](https://github.com/appium/ruby_lib/blob/
|
2253
|
+
##### [DEFAULT_HEADERS](https://github.com/appium/ruby_lib/blob/9b157011965442e6f021dcfeef588450277f1c6a/lib/appium_lib/common/patch.rb#L145)
|
2254
2254
|
|
2255
2255
|
> DEFAULT_HEADERS = { 'Accept' => CONTENT_TYPE, 'User-Agent' => "appium/ruby_lib/#{::Appium::VERSION}" }
|
2256
2256
|
|