appium_lib 5.0.1 → 6.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/docs/android_docs.md +194 -186
- data/docs/index_paths.md +24 -0
- data/docs/ios_docs.md +189 -181
- data/lib/appium_lib/common/patch.rb +5 -5
- data/lib/appium_lib/common/version.rb +2 -2
- data/lib/appium_lib/driver.rb +11 -11
- data/lib/appium_lib/logger.rb +15 -3
- data/readme.md +8 -0
- data/release_notes.md +9 -0
- metadata +3 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 5ee9efbaa5fd39661d0f04c19166a319ce4b35d4
|
|
4
|
+
data.tar.gz: 64a681103bbef3049e6f5625eb33cb5261100897
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 49e11eb8cb100fcbf9b063e2068a53673aab09db120111716cab54f39ac9858bb340bd9fdba3552b4a052c57d42447443f1fd4d6e89c380defbedbc339b4b812
|
|
7
|
+
data.tar.gz: c583f8ec7817165d3a2d1085356a6154b89db9c95280029c4a554d8b558c814c9c6b32f0e5eb9b44cbedb6f551f6963e65599f07b2af4220ab271c3b78e396d1
|
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/ea11190b9ab36e34226d988f85fe612af6f769de/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/ea11190b9ab36e34226d988f85fe612af6f769de/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/ea11190b9ab36e34226d988f85fe612af6f769de/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/ea11190b9ab36e34226d988f85fe612af6f769de/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/ea11190b9ab36e34226d988f85fe612af6f769de/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/ea11190b9ab36e34226d988f85fe612af6f769de/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/ea11190b9ab36e34226d988f85fe612af6f769de/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/ea11190b9ab36e34226d988f85fe612af6f769de/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/ea11190b9ab36e34226d988f85fe612af6f769de/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/ea11190b9ab36e34226d988f85fe612af6f769de/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/ea11190b9ab36e34226d988f85fe612af6f769de/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/ea11190b9ab36e34226d988f85fe612af6f769de/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/ea11190b9ab36e34226d988f85fe612af6f769de/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/ea11190b9ab36e34226d988f85fe612af6f769de/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/ea11190b9ab36e34226d988f85fe612af6f769de/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/ea11190b9ab36e34226d988f85fe612af6f769de/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/ea11190b9ab36e34226d988f85fe612af6f769de/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/ea11190b9ab36e34226d988f85fe612af6f769de/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/ea11190b9ab36e34226d988f85fe612af6f769de/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/ea11190b9ab36e34226d988f85fe612af6f769de/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/ea11190b9ab36e34226d988f85fe612af6f769de/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/ea11190b9ab36e34226d988f85fe612af6f769de/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/ea11190b9ab36e34226d988f85fe612af6f769de/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/ea11190b9ab36e34226d988f85fe612af6f769de/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/ea11190b9ab36e34226d988f85fe612af6f769de/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/ea11190b9ab36e34226d988f85fe612af6f769de/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/ea11190b9ab36e34226d988f85fe612af6f769de/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/ea11190b9ab36e34226d988f85fe612af6f769de/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/ea11190b9ab36e34226d988f85fe612af6f769de/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/ea11190b9ab36e34226d988f85fe612af6f769de/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/ea11190b9ab36e34226d988f85fe612af6f769de/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/ea11190b9ab36e34226d988f85fe612af6f769de/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/ea11190b9ab36e34226d988f85fe612af6f769de/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/ea11190b9ab36e34226d988f85fe612af6f769de/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/ea11190b9ab36e34226d988f85fe612af6f769de/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/ea11190b9ab36e34226d988f85fe612af6f769de/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/ea11190b9ab36e34226d988f85fe612af6f769de/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/ea11190b9ab36e34226d988f85fe612af6f769de/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/ea11190b9ab36e34226d988f85fe612af6f769de/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/ea11190b9ab36e34226d988f85fe612af6f769de/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/ea11190b9ab36e34226d988f85fe612af6f769de/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/ea11190b9ab36e34226d988f85fe612af6f769de/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/ea11190b9ab36e34226d988f85fe612af6f769de/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/ea11190b9ab36e34226d988f85fe612af6f769de/lib/appium_lib/driver.rb#L594)
|
|
527
527
|
|
|
528
528
|
> def x
|
|
529
529
|
|
|
@@ -536,7 +536,15 @@ __Returns:__
|
|
|
536
536
|
|
|
537
537
|
--
|
|
538
538
|
|
|
539
|
-
##### [
|
|
539
|
+
##### [logger](https://github.com/appium/ruby_lib/blob/ea11190b9ab36e34226d988f85fe612af6f769de/lib/appium_lib/logger.rb#L15)
|
|
540
|
+
|
|
541
|
+
> def logger
|
|
542
|
+
|
|
543
|
+
|
|
544
|
+
|
|
545
|
+
--
|
|
546
|
+
|
|
547
|
+
##### [NoArgMethods](https://github.com/appium/ruby_lib/blob/ea11190b9ab36e34226d988f85fe612af6f769de/lib/appium_lib/device/device.rb#L7)
|
|
540
548
|
|
|
541
549
|
> NoArgMethods = {
|
|
542
550
|
|
|
@@ -544,7 +552,7 @@ __Returns:__
|
|
|
544
552
|
|
|
545
553
|
--
|
|
546
554
|
|
|
547
|
-
##### [app_strings](https://github.com/appium/ruby_lib/blob/
|
|
555
|
+
##### [app_strings](https://github.com/appium/ruby_lib/blob/ea11190b9ab36e34226d988f85fe612af6f769de/lib/appium_lib/device/device.rb#L23)
|
|
548
556
|
|
|
549
557
|
> def app_strings
|
|
550
558
|
|
|
@@ -555,7 +563,7 @@ app_strings #=> "TransitionsTitle"=>"Transitions", "WebTitle"=>"Web"
|
|
|
555
563
|
|
|
556
564
|
--
|
|
557
565
|
|
|
558
|
-
##### [background_app](https://github.com/appium/ruby_lib/blob/
|
|
566
|
+
##### [background_app](https://github.com/appium/ruby_lib/blob/ea11190b9ab36e34226d988f85fe612af6f769de/lib/appium_lib/device/device.rb#L29)
|
|
559
567
|
|
|
560
568
|
> def background_app
|
|
561
569
|
|
|
@@ -564,7 +572,7 @@ This is a blocking application
|
|
|
564
572
|
|
|
565
573
|
--
|
|
566
574
|
|
|
567
|
-
##### [current_activity](https://github.com/appium/ruby_lib/blob/
|
|
575
|
+
##### [current_activity](https://github.com/appium/ruby_lib/blob/ea11190b9ab36e34226d988f85fe612af6f769de/lib/appium_lib/device/device.rb#L34)
|
|
568
576
|
|
|
569
577
|
> def current_activity
|
|
570
578
|
|
|
@@ -572,7 +580,7 @@ This is a blocking application
|
|
|
572
580
|
|
|
573
581
|
--
|
|
574
582
|
|
|
575
|
-
##### [launch_app](https://github.com/appium/ruby_lib/blob/
|
|
583
|
+
##### [launch_app](https://github.com/appium/ruby_lib/blob/ea11190b9ab36e34226d988f85fe612af6f769de/lib/appium_lib/device/device.rb#L36)
|
|
576
584
|
|
|
577
585
|
> def launch_app
|
|
578
586
|
|
|
@@ -580,7 +588,7 @@ Start the simulator and applicaton configured with desired capabilities
|
|
|
580
588
|
|
|
581
589
|
--
|
|
582
590
|
|
|
583
|
-
##### [reset](https://github.com/appium/ruby_lib/blob/
|
|
591
|
+
##### [reset](https://github.com/appium/ruby_lib/blob/ea11190b9ab36e34226d988f85fe612af6f769de/lib/appium_lib/device/device.rb#L39)
|
|
584
592
|
|
|
585
593
|
> def reset
|
|
586
594
|
|
|
@@ -588,7 +596,7 @@ Reset the device, relaunching the application.
|
|
|
588
596
|
|
|
589
597
|
--
|
|
590
598
|
|
|
591
|
-
##### [shake](https://github.com/appium/ruby_lib/blob/
|
|
599
|
+
##### [shake](https://github.com/appium/ruby_lib/blob/ea11190b9ab36e34226d988f85fe612af6f769de/lib/appium_lib/device/device.rb#L42)
|
|
592
600
|
|
|
593
601
|
> def shake
|
|
594
602
|
|
|
@@ -596,7 +604,7 @@ Cause the device to shake
|
|
|
596
604
|
|
|
597
605
|
--
|
|
598
606
|
|
|
599
|
-
##### [toggle_flight_mode](https://github.com/appium/ruby_lib/blob/
|
|
607
|
+
##### [toggle_flight_mode](https://github.com/appium/ruby_lib/blob/ea11190b9ab36e34226d988f85fe612af6f769de/lib/appium_lib/device/device.rb#L45)
|
|
600
608
|
|
|
601
609
|
> def toggle_flight_mode
|
|
602
610
|
|
|
@@ -604,7 +612,7 @@ toggle flight mode on or off
|
|
|
604
612
|
|
|
605
613
|
--
|
|
606
614
|
|
|
607
|
-
##### [hide_keyboard](https://github.com/appium/ruby_lib/blob/
|
|
615
|
+
##### [hide_keyboard](https://github.com/appium/ruby_lib/blob/ea11190b9ab36e34226d988f85fe612af6f769de/lib/appium_lib/device/device.rb#L48)
|
|
608
616
|
|
|
609
617
|
> def hide_keyboard
|
|
610
618
|
|
|
@@ -617,7 +625,7 @@ Defaults to 'Done'.
|
|
|
617
625
|
|
|
618
626
|
--
|
|
619
627
|
|
|
620
|
-
##### [press_keycode](https://github.com/appium/ruby_lib/blob/
|
|
628
|
+
##### [press_keycode](https://github.com/appium/ruby_lib/blob/ea11190b9ab36e34226d988f85fe612af6f769de/lib/appium_lib/device/device.rb#L57)
|
|
621
629
|
|
|
622
630
|
> def press_keycode
|
|
623
631
|
|
|
@@ -632,7 +640,7 @@ __Parameters:__
|
|
|
632
640
|
|
|
633
641
|
--
|
|
634
642
|
|
|
635
|
-
##### [long_press_keycode](https://github.com/appium/ruby_lib/blob/
|
|
643
|
+
##### [long_press_keycode](https://github.com/appium/ruby_lib/blob/ea11190b9ab36e34226d988f85fe612af6f769de/lib/appium_lib/device/device.rb#L63)
|
|
636
644
|
|
|
637
645
|
> def long_press_keycode
|
|
638
646
|
|
|
@@ -647,7 +655,7 @@ __Parameters:__
|
|
|
647
655
|
|
|
648
656
|
--
|
|
649
657
|
|
|
650
|
-
##### [push_file](https://github.com/appium/ruby_lib/blob/
|
|
658
|
+
##### [push_file](https://github.com/appium/ruby_lib/blob/ea11190b9ab36e34226d988f85fe612af6f769de/lib/appium_lib/device/device.rb#L69)
|
|
651
659
|
|
|
652
660
|
> def push_file
|
|
653
661
|
|
|
@@ -661,7 +669,7 @@ __Parameters:__
|
|
|
661
669
|
|
|
662
670
|
--
|
|
663
671
|
|
|
664
|
-
##### [pull_file](https://github.com/appium/ruby_lib/blob/
|
|
672
|
+
##### [pull_file](https://github.com/appium/ruby_lib/blob/ea11190b9ab36e34226d988f85fe612af6f769de/lib/appium_lib/device/device.rb#L74)
|
|
665
673
|
|
|
666
674
|
> def pull_file
|
|
667
675
|
|
|
@@ -678,7 +686,7 @@ __Parameters:__
|
|
|
678
686
|
|
|
679
687
|
--
|
|
680
688
|
|
|
681
|
-
##### [pull_folder](https://github.com/appium/ruby_lib/blob/
|
|
689
|
+
##### [pull_folder](https://github.com/appium/ruby_lib/blob/ea11190b9ab36e34226d988f85fe612af6f769de/lib/appium_lib/device/device.rb#L84)
|
|
682
690
|
|
|
683
691
|
> def pull_folder
|
|
684
692
|
|
|
@@ -693,7 +701,7 @@ __Parameters:__
|
|
|
693
701
|
|
|
694
702
|
--
|
|
695
703
|
|
|
696
|
-
##### [end_coverage](https://github.com/appium/ruby_lib/blob/
|
|
704
|
+
##### [end_coverage](https://github.com/appium/ruby_lib/blob/ea11190b9ab36e34226d988f85fe612af6f769de/lib/appium_lib/device/device.rb#L92)
|
|
697
705
|
|
|
698
706
|
> def end_coverage
|
|
699
707
|
|
|
@@ -707,7 +715,7 @@ __Parameters:__
|
|
|
707
715
|
|
|
708
716
|
--
|
|
709
717
|
|
|
710
|
-
##### [get_settings](https://github.com/appium/ruby_lib/blob/
|
|
718
|
+
##### [get_settings](https://github.com/appium/ruby_lib/blob/ea11190b9ab36e34226d988f85fe612af6f769de/lib/appium_lib/device/device.rb#L97)
|
|
711
719
|
|
|
712
720
|
> def get_settings
|
|
713
721
|
|
|
@@ -715,7 +723,7 @@ Get appium Settings for current test session
|
|
|
715
723
|
|
|
716
724
|
--
|
|
717
725
|
|
|
718
|
-
##### [extend_search_contexts](https://github.com/appium/ruby_lib/blob/
|
|
726
|
+
##### [extend_search_contexts](https://github.com/appium/ruby_lib/blob/ea11190b9ab36e34226d988f85fe612af6f769de/lib/appium_lib/device/device.rb#L345)
|
|
719
727
|
|
|
720
728
|
> def extend_search_contexts
|
|
721
729
|
|
|
@@ -723,7 +731,7 @@ Get appium Settings for current test session
|
|
|
723
731
|
|
|
724
732
|
--
|
|
725
733
|
|
|
726
|
-
##### [accessiblity_id_find](https://github.com/appium/ruby_lib/blob/
|
|
734
|
+
##### [accessiblity_id_find](https://github.com/appium/ruby_lib/blob/ea11190b9ab36e34226d988f85fe612af6f769de/lib/appium_lib/device/device.rb#L345)
|
|
727
735
|
|
|
728
736
|
> def accessiblity_id_find
|
|
729
737
|
|
|
@@ -735,7 +743,7 @@ find_element/s with their accessibility_id
|
|
|
735
743
|
|
|
736
744
|
--
|
|
737
745
|
|
|
738
|
-
##### [add_touch_actions](https://github.com/appium/ruby_lib/blob/
|
|
746
|
+
##### [add_touch_actions](https://github.com/appium/ruby_lib/blob/ea11190b9ab36e34226d988f85fe612af6f769de/lib/appium_lib/device/device.rb#L351)
|
|
739
747
|
|
|
740
748
|
> def add_touch_actions
|
|
741
749
|
|
|
@@ -743,7 +751,7 @@ find_element/s with their accessibility_id
|
|
|
743
751
|
|
|
744
752
|
--
|
|
745
753
|
|
|
746
|
-
##### [set_context](https://github.com/appium/ruby_lib/blob/
|
|
754
|
+
##### [set_context](https://github.com/appium/ruby_lib/blob/ea11190b9ab36e34226d988f85fe612af6f769de/lib/appium_lib/device/device.rb#L375)
|
|
747
755
|
|
|
748
756
|
> def set_context
|
|
749
757
|
|
|
@@ -758,7 +766,7 @@ __Parameters:__
|
|
|
758
766
|
|
|
759
767
|
--
|
|
760
768
|
|
|
761
|
-
##### [current_context](https://github.com/appium/ruby_lib/blob/
|
|
769
|
+
##### [current_context](https://github.com/appium/ruby_lib/blob/ea11190b9ab36e34226d988f85fe612af6f769de/lib/appium_lib/device/device.rb#L383)
|
|
762
770
|
|
|
763
771
|
> def current_context
|
|
764
772
|
|
|
@@ -770,7 +778,7 @@ __Returns:__
|
|
|
770
778
|
|
|
771
779
|
--
|
|
772
780
|
|
|
773
|
-
##### [available_contexts](https://github.com/appium/ruby_lib/blob/
|
|
781
|
+
##### [available_contexts](https://github.com/appium/ruby_lib/blob/ea11190b9ab36e34226d988f85fe612af6f769de/lib/appium_lib/device/device.rb#L386)
|
|
774
782
|
|
|
775
783
|
> def available_contexts
|
|
776
784
|
|
|
@@ -782,7 +790,7 @@ __Returns:__
|
|
|
782
790
|
|
|
783
791
|
--
|
|
784
792
|
|
|
785
|
-
##### [within_context](https://github.com/appium/ruby_lib/blob/
|
|
793
|
+
##### [within_context](https://github.com/appium/ruby_lib/blob/ea11190b9ab36e34226d988f85fe612af6f769de/lib/appium_lib/device/device.rb#L396)
|
|
786
794
|
|
|
787
795
|
> def within_context(context)
|
|
788
796
|
|
|
@@ -798,7 +806,7 @@ __Parameters:__
|
|
|
798
806
|
|
|
799
807
|
--
|
|
800
808
|
|
|
801
|
-
##### [switch_to_default_context](https://github.com/appium/ruby_lib/blob/
|
|
809
|
+
##### [switch_to_default_context](https://github.com/appium/ruby_lib/blob/ea11190b9ab36e34226d988f85fe612af6f769de/lib/appium_lib/device/device.rb#L404)
|
|
802
810
|
|
|
803
811
|
> def switch_to_default_context
|
|
804
812
|
|
|
@@ -806,7 +814,7 @@ Change to the default context. This is equivalent to `set_context nil`.
|
|
|
806
814
|
|
|
807
815
|
--
|
|
808
816
|
|
|
809
|
-
##### [pinch](https://github.com/appium/ruby_lib/blob/
|
|
817
|
+
##### [pinch](https://github.com/appium/ruby_lib/blob/ea11190b9ab36e34226d988f85fe612af6f769de/lib/appium_lib/device/multi_touch.rb#L30)
|
|
810
818
|
|
|
811
819
|
> def pinch(percentage=25, auto_perform=true)
|
|
812
820
|
|
|
@@ -825,7 +833,7 @@ __Parameters:__
|
|
|
825
833
|
|
|
826
834
|
--
|
|
827
835
|
|
|
828
|
-
##### [zoom](https://github.com/appium/ruby_lib/blob/
|
|
836
|
+
##### [zoom](https://github.com/appium/ruby_lib/blob/ea11190b9ab36e34226d988f85fe612af6f769de/lib/appium_lib/device/multi_touch.rb#L58)
|
|
829
837
|
|
|
830
838
|
> def zoom(percentage=200, auto_perform=true)
|
|
831
839
|
|
|
@@ -844,7 +852,7 @@ __Parameters:__
|
|
|
844
852
|
|
|
845
853
|
--
|
|
846
854
|
|
|
847
|
-
##### [initialize](https://github.com/appium/ruby_lib/blob/
|
|
855
|
+
##### [initialize](https://github.com/appium/ruby_lib/blob/ea11190b9ab36e34226d988f85fe612af6f769de/lib/appium_lib/device/multi_touch.rb#L79)
|
|
848
856
|
|
|
849
857
|
> def initialize
|
|
850
858
|
|
|
@@ -856,7 +864,7 @@ __Returns:__
|
|
|
856
864
|
|
|
857
865
|
--
|
|
858
866
|
|
|
859
|
-
##### [add](https://github.com/appium/ruby_lib/blob/
|
|
867
|
+
##### [add](https://github.com/appium/ruby_lib/blob/ea11190b9ab36e34226d988f85fe612af6f769de/lib/appium_lib/device/multi_touch.rb#L85)
|
|
860
868
|
|
|
861
869
|
> def add(chain)
|
|
862
870
|
|
|
@@ -868,7 +876,7 @@ __Parameters:__
|
|
|
868
876
|
|
|
869
877
|
--
|
|
870
878
|
|
|
871
|
-
##### [perform](https://github.com/appium/ruby_lib/blob/
|
|
879
|
+
##### [perform](https://github.com/appium/ruby_lib/blob/ea11190b9ab36e34226d988f85fe612af6f769de/lib/appium_lib/device/multi_touch.rb#L90)
|
|
872
880
|
|
|
873
881
|
> def perform
|
|
874
882
|
|
|
@@ -876,7 +884,7 @@ Ask Appium to perform the actions
|
|
|
876
884
|
|
|
877
885
|
--
|
|
878
886
|
|
|
879
|
-
##### [ACTIONS](https://github.com/appium/ruby_lib/blob/
|
|
887
|
+
##### [ACTIONS](https://github.com/appium/ruby_lib/blob/ea11190b9ab36e34226d988f85fe612af6f769de/lib/appium_lib/device/touch_actions.rb#L12)
|
|
880
888
|
|
|
881
889
|
> ACTIONS = [:move_to, :long_press, :press, :release, :tap, :wait, :perform]
|
|
882
890
|
|
|
@@ -884,7 +892,7 @@ Ask Appium to perform the actions
|
|
|
884
892
|
|
|
885
893
|
--
|
|
886
894
|
|
|
887
|
-
##### [COMPLEX_ACTIONS](https://github.com/appium/ruby_lib/blob/
|
|
895
|
+
##### [COMPLEX_ACTIONS](https://github.com/appium/ruby_lib/blob/ea11190b9ab36e34226d988f85fe612af6f769de/lib/appium_lib/device/touch_actions.rb#L13)
|
|
888
896
|
|
|
889
897
|
> COMPLEX_ACTIONS = [:swipe]
|
|
890
898
|
|
|
@@ -892,7 +900,7 @@ Ask Appium to perform the actions
|
|
|
892
900
|
|
|
893
901
|
--
|
|
894
902
|
|
|
895
|
-
##### [actions](https://github.com/appium/ruby_lib/blob/
|
|
903
|
+
##### [actions](https://github.com/appium/ruby_lib/blob/ea11190b9ab36e34226d988f85fe612af6f769de/lib/appium_lib/device/touch_actions.rb#L27)
|
|
896
904
|
|
|
897
905
|
> def actions
|
|
898
906
|
|
|
@@ -900,7 +908,7 @@ Returns the value of attribute actions
|
|
|
900
908
|
|
|
901
909
|
--
|
|
902
910
|
|
|
903
|
-
##### [initialize](https://github.com/appium/ruby_lib/blob/
|
|
911
|
+
##### [initialize](https://github.com/appium/ruby_lib/blob/ea11190b9ab36e34226d988f85fe612af6f769de/lib/appium_lib/device/touch_actions.rb#L29)
|
|
904
912
|
|
|
905
913
|
> def initialize
|
|
906
914
|
|
|
@@ -912,7 +920,7 @@ __Returns:__
|
|
|
912
920
|
|
|
913
921
|
--
|
|
914
922
|
|
|
915
|
-
##### [move_to](https://github.com/appium/ruby_lib/blob/
|
|
923
|
+
##### [move_to](https://github.com/appium/ruby_lib/blob/ea11190b9ab36e34226d988f85fe612af6f769de/lib/appium_lib/device/touch_actions.rb#L37)
|
|
916
924
|
|
|
917
925
|
> def move_to(opts)
|
|
918
926
|
|
|
@@ -924,7 +932,7 @@ __Parameters:__
|
|
|
924
932
|
|
|
925
933
|
--
|
|
926
934
|
|
|
927
|
-
##### [long_press](https://github.com/appium/ruby_lib/blob/
|
|
935
|
+
##### [long_press](https://github.com/appium/ruby_lib/blob/ea11190b9ab36e34226d988f85fe612af6f769de/lib/appium_lib/device/touch_actions.rb#L47)
|
|
928
936
|
|
|
929
937
|
> def long_press(opts)
|
|
930
938
|
|
|
@@ -942,7 +950,7 @@ __Parameters:__
|
|
|
942
950
|
|
|
943
951
|
--
|
|
944
952
|
|
|
945
|
-
##### [press](https://github.com/appium/ruby_lib/blob/
|
|
953
|
+
##### [press](https://github.com/appium/ruby_lib/blob/ea11190b9ab36e34226d988f85fe612af6f769de/lib/appium_lib/device/touch_actions.rb#L59)
|
|
946
954
|
|
|
947
955
|
> def press(opts)
|
|
948
956
|
|
|
@@ -955,7 +963,7 @@ __Parameters:__
|
|
|
955
963
|
|
|
956
964
|
--
|
|
957
965
|
|
|
958
|
-
##### [release](https://github.com/appium/ruby_lib/blob/
|
|
966
|
+
##### [release](https://github.com/appium/ruby_lib/blob/ea11190b9ab36e34226d988f85fe612af6f769de/lib/appium_lib/device/touch_actions.rb#L70)
|
|
959
967
|
|
|
960
968
|
> def release(opts=nil)
|
|
961
969
|
|
|
@@ -967,7 +975,7 @@ __Parameters:__
|
|
|
967
975
|
|
|
968
976
|
--
|
|
969
977
|
|
|
970
|
-
##### [tap](https://github.com/appium/ruby_lib/blob/
|
|
978
|
+
##### [tap](https://github.com/appium/ruby_lib/blob/ea11190b9ab36e34226d988f85fe612af6f769de/lib/appium_lib/device/touch_actions.rb#L81)
|
|
971
979
|
|
|
972
980
|
> def tap(opts)
|
|
973
981
|
|
|
@@ -979,7 +987,7 @@ __Parameters:__
|
|
|
979
987
|
|
|
980
988
|
--
|
|
981
989
|
|
|
982
|
-
##### [wait](https://github.com/appium/ruby_lib/blob/
|
|
990
|
+
##### [wait](https://github.com/appium/ruby_lib/blob/ea11190b9ab36e34226d988f85fe612af6f769de/lib/appium_lib/device/touch_actions.rb#L90)
|
|
983
991
|
|
|
984
992
|
> def wait(milliseconds)
|
|
985
993
|
|
|
@@ -991,7 +999,7 @@ __Parameters:__
|
|
|
991
999
|
|
|
992
1000
|
--
|
|
993
1001
|
|
|
994
|
-
##### [swipe](https://github.com/appium/ruby_lib/blob/
|
|
1002
|
+
##### [swipe](https://github.com/appium/ruby_lib/blob/ea11190b9ab36e34226d988f85fe612af6f769de/lib/appium_lib/device/touch_actions.rb#L104)
|
|
995
1003
|
|
|
996
1004
|
> def swipe(opts)
|
|
997
1005
|
|
|
@@ -1005,7 +1013,7 @@ __Parameters:__
|
|
|
1005
1013
|
|
|
1006
1014
|
--
|
|
1007
1015
|
|
|
1008
|
-
##### [perform](https://github.com/appium/ruby_lib/blob/
|
|
1016
|
+
##### [perform](https://github.com/appium/ruby_lib/blob/ea11190b9ab36e34226d988f85fe612af6f769de/lib/appium_lib/device/touch_actions.rb#L119)
|
|
1009
1017
|
|
|
1010
1018
|
> def perform
|
|
1011
1019
|
|
|
@@ -1013,7 +1021,7 @@ Ask the driver to perform all actions in this action chain.
|
|
|
1013
1021
|
|
|
1014
1022
|
--
|
|
1015
1023
|
|
|
1016
|
-
##### [cancel](https://github.com/appium/ruby_lib/blob/
|
|
1024
|
+
##### [cancel](https://github.com/appium/ruby_lib/blob/ea11190b9ab36e34226d988f85fe612af6f769de/lib/appium_lib/device/touch_actions.rb#L125)
|
|
1017
1025
|
|
|
1018
1026
|
> def cancel
|
|
1019
1027
|
|
|
@@ -1021,7 +1029,7 @@ Does nothing, currently.
|
|
|
1021
1029
|
|
|
1022
1030
|
--
|
|
1023
1031
|
|
|
1024
|
-
##### [chain_method](https://github.com/appium/ruby_lib/blob/
|
|
1032
|
+
##### [chain_method](https://github.com/appium/ruby_lib/blob/ea11190b9ab36e34226d988f85fe612af6f769de/lib/appium_lib/device/touch_actions.rb#L133)
|
|
1025
1033
|
|
|
1026
1034
|
> def chain_method(method, args=nil)
|
|
1027
1035
|
|
|
@@ -1029,7 +1037,7 @@ Does nothing, currently.
|
|
|
1029
1037
|
|
|
1030
1038
|
--
|
|
1031
1039
|
|
|
1032
|
-
##### [args_with_ele_ref](https://github.com/appium/ruby_lib/blob/
|
|
1040
|
+
##### [args_with_ele_ref](https://github.com/appium/ruby_lib/blob/ea11190b9ab36e34226d988f85fe612af6f769de/lib/appium_lib/device/touch_actions.rb#L142)
|
|
1033
1041
|
|
|
1034
1042
|
> def args_with_ele_ref(args)
|
|
1035
1043
|
|
|
@@ -1037,7 +1045,7 @@ Does nothing, currently.
|
|
|
1037
1045
|
|
|
1038
1046
|
--
|
|
1039
1047
|
|
|
1040
|
-
##### [_generic_wait](https://github.com/appium/ruby_lib/blob/
|
|
1048
|
+
##### [_generic_wait](https://github.com/appium/ruby_lib/blob/ea11190b9ab36e34226d988f85fe612af6f769de/lib/appium_lib/common/wait.rb#L10)
|
|
1041
1049
|
|
|
1042
1050
|
> def _generic_wait opts={}, &block
|
|
1043
1051
|
|
|
@@ -1046,7 +1054,7 @@ https://github.com/SeleniumHQ/selenium/blob/cf501dda3f0ed12233de51ce8170c0e8090f
|
|
|
1046
1054
|
|
|
1047
1055
|
--
|
|
1048
1056
|
|
|
1049
|
-
##### [_process_wait_opts](https://github.com/appium/ruby_lib/blob/
|
|
1057
|
+
##### [_process_wait_opts](https://github.com/appium/ruby_lib/blob/ea11190b9ab36e34226d988f85fe612af6f769de/lib/appium_lib/common/wait.rb#L55)
|
|
1050
1058
|
|
|
1051
1059
|
> def _process_wait_opts opts
|
|
1052
1060
|
|
|
@@ -1054,7 +1062,7 @@ process opts before calling _generic_wait
|
|
|
1054
1062
|
|
|
1055
1063
|
--
|
|
1056
1064
|
|
|
1057
|
-
##### [wait_true](https://github.com/appium/ruby_lib/blob/
|
|
1065
|
+
##### [wait_true](https://github.com/appium/ruby_lib/blob/ea11190b9ab36e34226d988f85fe612af6f769de/lib/appium_lib/common/wait.rb#L76)
|
|
1058
1066
|
|
|
1059
1067
|
> def wait_true opts={}, &block
|
|
1060
1068
|
|
|
@@ -1074,7 +1082,7 @@ __Parameters:__
|
|
|
1074
1082
|
|
|
1075
1083
|
--
|
|
1076
1084
|
|
|
1077
|
-
##### [wait](https://github.com/appium/ruby_lib/blob/
|
|
1085
|
+
##### [wait](https://github.com/appium/ruby_lib/blob/ea11190b9ab36e34226d988f85fe612af6f769de/lib/appium_lib/common/wait.rb#L94)
|
|
1078
1086
|
|
|
1079
1087
|
> def wait opts={}, &block
|
|
1080
1088
|
|
|
@@ -1092,7 +1100,7 @@ __Parameters:__
|
|
|
1092
1100
|
|
|
1093
1101
|
--
|
|
1094
1102
|
|
|
1095
|
-
##### [ignore](https://github.com/appium/ruby_lib/blob/
|
|
1103
|
+
##### [ignore](https://github.com/appium/ruby_lib/blob/ea11190b9ab36e34226d988f85fe612af6f769de/lib/appium_lib/common/helper.rb#L24)
|
|
1096
1104
|
|
|
1097
1105
|
> def ignore &block
|
|
1098
1106
|
|
|
@@ -1100,7 +1108,7 @@ Return block.call and ignore any exceptions.
|
|
|
1100
1108
|
|
|
1101
1109
|
--
|
|
1102
1110
|
|
|
1103
|
-
##### [back](https://github.com/appium/ruby_lib/blob/
|
|
1111
|
+
##### [back](https://github.com/appium/ruby_lib/blob/ea11190b9ab36e34226d988f85fe612af6f769de/lib/appium_lib/common/helper.rb#L33)
|
|
1104
1112
|
|
|
1105
1113
|
> def back
|
|
1106
1114
|
|
|
@@ -1112,7 +1120,7 @@ __Returns:__
|
|
|
1112
1120
|
|
|
1113
1121
|
--
|
|
1114
1122
|
|
|
1115
|
-
##### [session_id](https://github.com/appium/ruby_lib/blob/
|
|
1123
|
+
##### [session_id](https://github.com/appium/ruby_lib/blob/ea11190b9ab36e34226d988f85fe612af6f769de/lib/appium_lib/common/helper.rb#L38)
|
|
1116
1124
|
|
|
1117
1125
|
> def session_id
|
|
1118
1126
|
|
|
@@ -1120,7 +1128,7 @@ For Sauce Labs reporting. Returns the current session id.
|
|
|
1120
1128
|
|
|
1121
1129
|
--
|
|
1122
1130
|
|
|
1123
|
-
##### [xpath](https://github.com/appium/ruby_lib/blob/
|
|
1131
|
+
##### [xpath](https://github.com/appium/ruby_lib/blob/ea11190b9ab36e34226d988f85fe612af6f769de/lib/appium_lib/common/helper.rb#L46)
|
|
1124
1132
|
|
|
1125
1133
|
> def xpath xpath_str
|
|
1126
1134
|
|
|
@@ -1136,7 +1144,7 @@ __Returns:__
|
|
|
1136
1144
|
|
|
1137
1145
|
--
|
|
1138
1146
|
|
|
1139
|
-
##### [xpaths](https://github.com/appium/ruby_lib/blob/
|
|
1147
|
+
##### [xpaths](https://github.com/appium/ruby_lib/blob/ea11190b9ab36e34226d988f85fe612af6f769de/lib/appium_lib/common/helper.rb#L54)
|
|
1140
1148
|
|
|
1141
1149
|
> def xpaths xpath_str
|
|
1142
1150
|
|
|
@@ -1152,7 +1160,7 @@ __Returns:__
|
|
|
1152
1160
|
|
|
1153
1161
|
--
|
|
1154
1162
|
|
|
1155
|
-
##### [_print_source](https://github.com/appium/ruby_lib/blob/
|
|
1163
|
+
##### [_print_source](https://github.com/appium/ruby_lib/blob/ea11190b9ab36e34226d988f85fe612af6f769de/lib/appium_lib/common/helper.rb#L58)
|
|
1156
1164
|
|
|
1157
1165
|
> def _print_source source
|
|
1158
1166
|
|
|
@@ -1160,7 +1168,7 @@ __Returns:__
|
|
|
1160
1168
|
|
|
1161
1169
|
--
|
|
1162
1170
|
|
|
1163
|
-
##### [result](https://github.com/appium/ruby_lib/blob/
|
|
1171
|
+
##### [result](https://github.com/appium/ruby_lib/blob/ea11190b9ab36e34226d988f85fe612af6f769de/lib/appium_lib/common/helper.rb#L71)
|
|
1164
1172
|
|
|
1165
1173
|
> def result
|
|
1166
1174
|
|
|
@@ -1168,7 +1176,7 @@ Returns the value of attribute result
|
|
|
1168
1176
|
|
|
1169
1177
|
--
|
|
1170
1178
|
|
|
1171
|
-
##### [initialize](https://github.com/appium/ruby_lib/blob/
|
|
1179
|
+
##### [initialize](https://github.com/appium/ruby_lib/blob/ea11190b9ab36e34226d988f85fe612af6f769de/lib/appium_lib/common/helper.rb#L73)
|
|
1172
1180
|
|
|
1173
1181
|
> def initialize
|
|
1174
1182
|
|
|
@@ -1180,7 +1188,7 @@ __Returns:__
|
|
|
1180
1188
|
|
|
1181
1189
|
--
|
|
1182
1190
|
|
|
1183
|
-
##### [reset](https://github.com/appium/ruby_lib/blob/
|
|
1191
|
+
##### [reset](https://github.com/appium/ruby_lib/blob/ea11190b9ab36e34226d988f85fe612af6f769de/lib/appium_lib/common/helper.rb#L77)
|
|
1184
1192
|
|
|
1185
1193
|
> def reset
|
|
1186
1194
|
|
|
@@ -1188,7 +1196,7 @@ __Returns:__
|
|
|
1188
1196
|
|
|
1189
1197
|
--
|
|
1190
1198
|
|
|
1191
|
-
##### [start_element](https://github.com/appium/ruby_lib/blob/
|
|
1199
|
+
##### [start_element](https://github.com/appium/ruby_lib/blob/ea11190b9ab36e34226d988f85fe612af6f769de/lib/appium_lib/common/helper.rb#L82)
|
|
1192
1200
|
|
|
1193
1201
|
> def start_element name, attrs = []
|
|
1194
1202
|
|
|
@@ -1196,7 +1204,7 @@ http://nokogiri.org/Nokogiri/XML/SAX/Document.html
|
|
|
1196
1204
|
|
|
1197
1205
|
--
|
|
1198
1206
|
|
|
1199
|
-
##### [formatted_result](https://github.com/appium/ruby_lib/blob/
|
|
1207
|
+
##### [formatted_result](https://github.com/appium/ruby_lib/blob/ea11190b9ab36e34226d988f85fe612af6f769de/lib/appium_lib/common/helper.rb#L88)
|
|
1200
1208
|
|
|
1201
1209
|
> def formatted_result
|
|
1202
1210
|
|
|
@@ -1204,7 +1212,7 @@ http://nokogiri.org/Nokogiri/XML/SAX/Document.html
|
|
|
1204
1212
|
|
|
1205
1213
|
--
|
|
1206
1214
|
|
|
1207
|
-
##### [get_page_class](https://github.com/appium/ruby_lib/blob/
|
|
1215
|
+
##### [get_page_class](https://github.com/appium/ruby_lib/blob/ea11190b9ab36e34226d988f85fe612af6f769de/lib/appium_lib/common/helper.rb#L99)
|
|
1208
1216
|
|
|
1209
1217
|
> def get_page_class
|
|
1210
1218
|
|
|
@@ -1212,7 +1220,7 @@ Returns a string of class counts of visible elements.
|
|
|
1212
1220
|
|
|
1213
1221
|
--
|
|
1214
1222
|
|
|
1215
|
-
##### [page_class](https://github.com/appium/ruby_lib/blob/
|
|
1223
|
+
##### [page_class](https://github.com/appium/ruby_lib/blob/ea11190b9ab36e34226d988f85fe612af6f769de/lib/appium_lib/common/helper.rb#L110)
|
|
1216
1224
|
|
|
1217
1225
|
> def page_class
|
|
1218
1226
|
|
|
@@ -1221,7 +1229,7 @@ Useful for appium_console.
|
|
|
1221
1229
|
|
|
1222
1230
|
--
|
|
1223
1231
|
|
|
1224
|
-
##### [px_to_window_rel](https://github.com/appium/ruby_lib/blob/
|
|
1232
|
+
##### [px_to_window_rel](https://github.com/appium/ruby_lib/blob/ea11190b9ab36e34226d988f85fe612af6f769de/lib/appium_lib/common/helper.rb#L120)
|
|
1225
1233
|
|
|
1226
1234
|
> def px_to_window_rel opts={}
|
|
1227
1235
|
|
|
@@ -1233,7 +1241,7 @@ px_to_window_rel x: 50, y: 150
|
|
|
1233
1241
|
|
|
1234
1242
|
--
|
|
1235
1243
|
|
|
1236
|
-
##### [xml_keys](https://github.com/appium/ruby_lib/blob/
|
|
1244
|
+
##### [xml_keys](https://github.com/appium/ruby_lib/blob/ea11190b9ab36e34226d988f85fe612af6f769de/lib/appium_lib/common/helper.rb#L139)
|
|
1237
1245
|
|
|
1238
1246
|
> def xml_keys target
|
|
1239
1247
|
|
|
@@ -1249,7 +1257,7 @@ __Returns:__
|
|
|
1249
1257
|
|
|
1250
1258
|
--
|
|
1251
1259
|
|
|
1252
|
-
##### [xml_values](https://github.com/appium/ruby_lib/blob/
|
|
1260
|
+
##### [xml_values](https://github.com/appium/ruby_lib/blob/ea11190b9ab36e34226d988f85fe612af6f769de/lib/appium_lib/common/helper.rb#L147)
|
|
1253
1261
|
|
|
1254
1262
|
> def xml_values target
|
|
1255
1263
|
|
|
@@ -1265,7 +1273,7 @@ __Returns:__
|
|
|
1265
1273
|
|
|
1266
1274
|
--
|
|
1267
1275
|
|
|
1268
|
-
##### [resolve_id](https://github.com/appium/ruby_lib/blob/
|
|
1276
|
+
##### [resolve_id](https://github.com/appium/ruby_lib/blob/ea11190b9ab36e34226d988f85fe612af6f769de/lib/appium_lib/common/helper.rb#L155)
|
|
1269
1277
|
|
|
1270
1278
|
> def resolve_id id
|
|
1271
1279
|
|
|
@@ -1281,7 +1289,7 @@ __Returns:__
|
|
|
1281
1289
|
|
|
1282
1290
|
--
|
|
1283
1291
|
|
|
1284
|
-
##### [filter](https://github.com/appium/ruby_lib/blob/
|
|
1292
|
+
##### [filter](https://github.com/appium/ruby_lib/blob/ea11190b9ab36e34226d988f85fe612af6f769de/lib/appium_lib/common/helper.rb#L161)
|
|
1285
1293
|
|
|
1286
1294
|
> def filter
|
|
1287
1295
|
|
|
@@ -1289,7 +1297,7 @@ __Returns:__
|
|
|
1289
1297
|
|
|
1290
1298
|
--
|
|
1291
1299
|
|
|
1292
|
-
##### [filter=](https://github.com/appium/ruby_lib/blob/
|
|
1300
|
+
##### [filter=](https://github.com/appium/ruby_lib/blob/ea11190b9ab36e34226d988f85fe612af6f769de/lib/appium_lib/common/helper.rb#L166)
|
|
1293
1301
|
|
|
1294
1302
|
> def filter= value
|
|
1295
1303
|
|
|
@@ -1297,7 +1305,7 @@ convert to string to support symbols
|
|
|
1297
1305
|
|
|
1298
1306
|
--
|
|
1299
1307
|
|
|
1300
|
-
##### [initialize](https://github.com/appium/ruby_lib/blob/
|
|
1308
|
+
##### [initialize](https://github.com/appium/ruby_lib/blob/ea11190b9ab36e34226d988f85fe612af6f769de/lib/appium_lib/common/helper.rb#L172)
|
|
1301
1309
|
|
|
1302
1310
|
> def initialize
|
|
1303
1311
|
|
|
@@ -1309,7 +1317,7 @@ __Returns:__
|
|
|
1309
1317
|
|
|
1310
1318
|
--
|
|
1311
1319
|
|
|
1312
|
-
##### [reset](https://github.com/appium/ruby_lib/blob/
|
|
1320
|
+
##### [reset](https://github.com/appium/ruby_lib/blob/ea11190b9ab36e34226d988f85fe612af6f769de/lib/appium_lib/common/helper.rb#L177)
|
|
1313
1321
|
|
|
1314
1322
|
> def reset
|
|
1315
1323
|
|
|
@@ -1317,7 +1325,7 @@ __Returns:__
|
|
|
1317
1325
|
|
|
1318
1326
|
--
|
|
1319
1327
|
|
|
1320
|
-
##### [result](https://github.com/appium/ruby_lib/blob/
|
|
1328
|
+
##### [result](https://github.com/appium/ruby_lib/blob/ea11190b9ab36e34226d988f85fe612af6f769de/lib/appium_lib/common/helper.rb#L183)
|
|
1321
1329
|
|
|
1322
1330
|
> def result
|
|
1323
1331
|
|
|
@@ -1325,7 +1333,7 @@ __Returns:__
|
|
|
1325
1333
|
|
|
1326
1334
|
--
|
|
1327
1335
|
|
|
1328
|
-
##### [start_element](https://github.com/appium/ruby_lib/blob/
|
|
1336
|
+
##### [start_element](https://github.com/appium/ruby_lib/blob/ea11190b9ab36e34226d988f85fe612af6f769de/lib/appium_lib/common/helper.rb#L199)
|
|
1329
1337
|
|
|
1330
1338
|
> def start_element name, attrs = []
|
|
1331
1339
|
|
|
@@ -1333,7 +1341,7 @@ __Returns:__
|
|
|
1333
1341
|
|
|
1334
1342
|
--
|
|
1335
1343
|
|
|
1336
|
-
##### [end_element](https://github.com/appium/ruby_lib/blob/
|
|
1344
|
+
##### [end_element](https://github.com/appium/ruby_lib/blob/ea11190b9ab36e34226d988f85fe612af6f769de/lib/appium_lib/common/helper.rb#L209)
|
|
1337
1345
|
|
|
1338
1346
|
> def end_element name
|
|
1339
1347
|
|
|
@@ -1341,7 +1349,7 @@ __Returns:__
|
|
|
1341
1349
|
|
|
1342
1350
|
--
|
|
1343
1351
|
|
|
1344
|
-
##### [characters](https://github.com/appium/ruby_lib/blob/
|
|
1352
|
+
##### [characters](https://github.com/appium/ruby_lib/blob/ea11190b9ab36e34226d988f85fe612af6f769de/lib/appium_lib/common/helper.rb#L215)
|
|
1345
1353
|
|
|
1346
1354
|
> def characters(chars)
|
|
1347
1355
|
|
|
@@ -1349,7 +1357,7 @@ __Returns:__
|
|
|
1349
1357
|
|
|
1350
1358
|
--
|
|
1351
1359
|
|
|
1352
|
-
##### [_no_such_element](https://github.com/appium/ruby_lib/blob/
|
|
1360
|
+
##### [_no_such_element](https://github.com/appium/ruby_lib/blob/ea11190b9ab36e34226d988f85fe612af6f769de/lib/appium_lib/common/helper.rb#L223)
|
|
1353
1361
|
|
|
1354
1362
|
> def _no_such_element
|
|
1355
1363
|
|
|
@@ -1357,7 +1365,7 @@ __Returns:__
|
|
|
1357
1365
|
|
|
1358
1366
|
--
|
|
1359
1367
|
|
|
1360
|
-
##### [window_size](https://github.com/appium/ruby_lib/blob/
|
|
1368
|
+
##### [window_size](https://github.com/appium/ruby_lib/blob/ea11190b9ab36e34226d988f85fe612af6f769de/lib/appium_lib/common/element/window.rb#L5)
|
|
1361
1369
|
|
|
1362
1370
|
> def window_size
|
|
1363
1371
|
|
|
@@ -1365,7 +1373,7 @@ Get the window's size
|
|
|
1365
1373
|
|
|
1366
1374
|
--
|
|
1367
1375
|
|
|
1368
|
-
##### [result](https://github.com/appium/ruby_lib/blob/
|
|
1376
|
+
##### [result](https://github.com/appium/ruby_lib/blob/ea11190b9ab36e34226d988f85fe612af6f769de/lib/appium_lib/android/helper.rb#L6) android
|
|
1369
1377
|
|
|
1370
1378
|
> def result
|
|
1371
1379
|
|
|
@@ -1373,7 +1381,7 @@ Returns the value of attribute result
|
|
|
1373
1381
|
|
|
1374
1382
|
--
|
|
1375
1383
|
|
|
1376
|
-
##### [keys](https://github.com/appium/ruby_lib/blob/
|
|
1384
|
+
##### [keys](https://github.com/appium/ruby_lib/blob/ea11190b9ab36e34226d988f85fe612af6f769de/lib/appium_lib/android/helper.rb#L6) android
|
|
1377
1385
|
|
|
1378
1386
|
> def keys
|
|
1379
1387
|
|
|
@@ -1381,7 +1389,7 @@ Returns the value of attribute keys
|
|
|
1381
1389
|
|
|
1382
1390
|
--
|
|
1383
1391
|
|
|
1384
|
-
##### [instance](https://github.com/appium/ruby_lib/blob/
|
|
1392
|
+
##### [instance](https://github.com/appium/ruby_lib/blob/ea11190b9ab36e34226d988f85fe612af6f769de/lib/appium_lib/android/helper.rb#L6) android
|
|
1385
1393
|
|
|
1386
1394
|
> def instance
|
|
1387
1395
|
|
|
@@ -1389,7 +1397,7 @@ Returns the value of attribute instance
|
|
|
1389
1397
|
|
|
1390
1398
|
--
|
|
1391
1399
|
|
|
1392
|
-
##### [filter](https://github.com/appium/ruby_lib/blob/
|
|
1400
|
+
##### [filter](https://github.com/appium/ruby_lib/blob/ea11190b9ab36e34226d988f85fe612af6f769de/lib/appium_lib/android/helper.rb#L8) android
|
|
1393
1401
|
|
|
1394
1402
|
> def filter
|
|
1395
1403
|
|
|
@@ -1397,7 +1405,7 @@ Returns the value of attribute instance
|
|
|
1397
1405
|
|
|
1398
1406
|
--
|
|
1399
1407
|
|
|
1400
|
-
##### [filter=](https://github.com/appium/ruby_lib/blob/
|
|
1408
|
+
##### [filter=](https://github.com/appium/ruby_lib/blob/ea11190b9ab36e34226d988f85fe612af6f769de/lib/appium_lib/android/helper.rb#L13) android
|
|
1401
1409
|
|
|
1402
1410
|
> def filter= value
|
|
1403
1411
|
|
|
@@ -1405,7 +1413,7 @@ convert to string to support symbols
|
|
|
1405
1413
|
|
|
1406
1414
|
--
|
|
1407
1415
|
|
|
1408
|
-
##### [initialize](https://github.com/appium/ruby_lib/blob/
|
|
1416
|
+
##### [initialize](https://github.com/appium/ruby_lib/blob/ea11190b9ab36e34226d988f85fe612af6f769de/lib/appium_lib/android/helper.rb#L19) android
|
|
1409
1417
|
|
|
1410
1418
|
> def initialize
|
|
1411
1419
|
|
|
@@ -1417,7 +1425,7 @@ __Returns:__
|
|
|
1417
1425
|
|
|
1418
1426
|
--
|
|
1419
1427
|
|
|
1420
|
-
##### [reset](https://github.com/appium/ruby_lib/blob/
|
|
1428
|
+
##### [reset](https://github.com/appium/ruby_lib/blob/ea11190b9ab36e34226d988f85fe612af6f769de/lib/appium_lib/android/helper.rb#L25) android
|
|
1421
1429
|
|
|
1422
1430
|
> def reset
|
|
1423
1431
|
|
|
@@ -1425,7 +1433,7 @@ __Returns:__
|
|
|
1425
1433
|
|
|
1426
1434
|
--
|
|
1427
1435
|
|
|
1428
|
-
##### [start_element](https://github.com/appium/ruby_lib/blob/
|
|
1436
|
+
##### [start_element](https://github.com/appium/ruby_lib/blob/ea11190b9ab36e34226d988f85fe612af6f769de/lib/appium_lib/android/helper.rb#L32) android
|
|
1429
1437
|
|
|
1430
1438
|
> def start_element name, attrs = []
|
|
1431
1439
|
|
|
@@ -1433,7 +1441,7 @@ http://nokogiri.org/Nokogiri/XML/SAX/Document.html
|
|
|
1433
1441
|
|
|
1434
1442
|
--
|
|
1435
1443
|
|
|
1436
|
-
##### [_fix_android_native_source](https://github.com/appium/ruby_lib/blob/
|
|
1444
|
+
##### [_fix_android_native_source](https://github.com/appium/ruby_lib/blob/ea11190b9ab36e34226d988f85fe612af6f769de/lib/appium_lib/android/helper.rb#L89) android
|
|
1437
1445
|
|
|
1438
1446
|
> def _fix_android_native_source source
|
|
1439
1447
|
|
|
@@ -1443,7 +1451,7 @@ https://code.google.com/p/android/issues/detail?id=74143
|
|
|
1443
1451
|
|
|
1444
1452
|
--
|
|
1445
1453
|
|
|
1446
|
-
##### [source](https://github.com/appium/ruby_lib/blob/
|
|
1454
|
+
##### [source](https://github.com/appium/ruby_lib/blob/ea11190b9ab36e34226d988f85fe612af6f769de/lib/appium_lib/android/helper.rb#L117) android
|
|
1447
1455
|
|
|
1448
1456
|
> def source
|
|
1449
1457
|
|
|
@@ -1455,7 +1463,7 @@ __Returns:__
|
|
|
1455
1463
|
|
|
1456
1464
|
--
|
|
1457
1465
|
|
|
1458
|
-
##### [get_android_inspect](https://github.com/appium/ruby_lib/blob/
|
|
1466
|
+
##### [get_android_inspect](https://github.com/appium/ruby_lib/blob/ea11190b9ab36e34226d988f85fe612af6f769de/lib/appium_lib/android/helper.rb#L127) android
|
|
1459
1467
|
|
|
1460
1468
|
> def get_android_inspect class_name=false
|
|
1461
1469
|
|
|
@@ -1474,7 +1482,7 @@ __Returns:__
|
|
|
1474
1482
|
|
|
1475
1483
|
--
|
|
1476
1484
|
|
|
1477
|
-
##### [page](https://github.com/appium/ruby_lib/blob/
|
|
1485
|
+
##### [page](https://github.com/appium/ruby_lib/blob/ea11190b9ab36e34226d988f85fe612af6f769de/lib/appium_lib/android/helper.rb#L153) android
|
|
1478
1486
|
|
|
1479
1487
|
> def page opts={}
|
|
1480
1488
|
|
|
@@ -1493,7 +1501,7 @@ __Returns:__
|
|
|
1493
1501
|
|
|
1494
1502
|
--
|
|
1495
1503
|
|
|
1496
|
-
##### [current_app](https://github.com/appium/ruby_lib/blob/
|
|
1504
|
+
##### [current_app](https://github.com/appium/ruby_lib/blob/ea11190b9ab36e34226d988f85fe612af6f769de/lib/appium_lib/android/helper.rb#L164) android
|
|
1497
1505
|
|
|
1498
1506
|
> def current_app
|
|
1499
1507
|
|
|
@@ -1502,7 +1510,7 @@ example line:
|
|
|
1502
1510
|
|
|
1503
1511
|
--
|
|
1504
1512
|
|
|
1505
|
-
##### [id](https://github.com/appium/ruby_lib/blob/
|
|
1513
|
+
##### [id](https://github.com/appium/ruby_lib/blob/ea11190b9ab36e34226d988f85fe612af6f769de/lib/appium_lib/android/helper.rb#L188) android
|
|
1506
1514
|
|
|
1507
1515
|
> def id id
|
|
1508
1516
|
|
|
@@ -1518,7 +1526,7 @@ __Returns:__
|
|
|
1518
1526
|
|
|
1519
1527
|
--
|
|
1520
1528
|
|
|
1521
|
-
##### [ids](https://github.com/appium/ruby_lib/blob/
|
|
1529
|
+
##### [ids](https://github.com/appium/ruby_lib/blob/ea11190b9ab36e34226d988f85fe612af6f769de/lib/appium_lib/android/helper.rb#L196) android
|
|
1522
1530
|
|
|
1523
1531
|
> def ids id
|
|
1524
1532
|
|
|
@@ -1534,7 +1542,7 @@ __Returns:__
|
|
|
1534
1542
|
|
|
1535
1543
|
--
|
|
1536
1544
|
|
|
1537
|
-
##### [ele_index](https://github.com/appium/ruby_lib/blob/
|
|
1545
|
+
##### [ele_index](https://github.com/appium/ruby_lib/blob/ea11190b9ab36e34226d988f85fe612af6f769de/lib/appium_lib/android/helper.rb#L205) android
|
|
1538
1546
|
|
|
1539
1547
|
> def ele_index class_name, index
|
|
1540
1548
|
|
|
@@ -1552,7 +1560,7 @@ __Returns:__
|
|
|
1552
1560
|
|
|
1553
1561
|
--
|
|
1554
1562
|
|
|
1555
|
-
##### [first_ele](https://github.com/appium/ruby_lib/blob/
|
|
1563
|
+
##### [first_ele](https://github.com/appium/ruby_lib/blob/ea11190b9ab36e34226d988f85fe612af6f769de/lib/appium_lib/android/helper.rb#L223) android
|
|
1556
1564
|
|
|
1557
1565
|
> def first_ele class_name
|
|
1558
1566
|
|
|
@@ -1568,7 +1576,7 @@ __Returns:__
|
|
|
1568
1576
|
|
|
1569
1577
|
--
|
|
1570
1578
|
|
|
1571
|
-
##### [last_ele](https://github.com/appium/ruby_lib/blob/
|
|
1579
|
+
##### [last_ele](https://github.com/appium/ruby_lib/blob/ea11190b9ab36e34226d988f85fe612af6f769de/lib/appium_lib/android/helper.rb#L230) android
|
|
1572
1580
|
|
|
1573
1581
|
> def last_ele class_name
|
|
1574
1582
|
|
|
@@ -1584,7 +1592,7 @@ __Returns:__
|
|
|
1584
1592
|
|
|
1585
1593
|
--
|
|
1586
1594
|
|
|
1587
|
-
##### [tag](https://github.com/appium/ruby_lib/blob/
|
|
1595
|
+
##### [tag](https://github.com/appium/ruby_lib/blob/ea11190b9ab36e34226d988f85fe612af6f769de/lib/appium_lib/android/helper.rb#L238) android
|
|
1588
1596
|
|
|
1589
1597
|
> def tag class_name
|
|
1590
1598
|
|
|
@@ -1600,7 +1608,7 @@ __Returns:__
|
|
|
1600
1608
|
|
|
1601
1609
|
--
|
|
1602
1610
|
|
|
1603
|
-
##### [tags](https://github.com/appium/ruby_lib/blob/
|
|
1611
|
+
##### [tags](https://github.com/appium/ruby_lib/blob/ea11190b9ab36e34226d988f85fe612af6f769de/lib/appium_lib/android/helper.rb#L246) android
|
|
1604
1612
|
|
|
1605
1613
|
> def tags class_name
|
|
1606
1614
|
|
|
@@ -1616,7 +1624,7 @@ __Returns:__
|
|
|
1616
1624
|
|
|
1617
1625
|
--
|
|
1618
1626
|
|
|
1619
|
-
##### [complex_find_contains](https://github.com/appium/ruby_lib/blob/
|
|
1627
|
+
##### [complex_find_contains](https://github.com/appium/ruby_lib/blob/ea11190b9ab36e34226d988f85fe612af6f769de/lib/appium_lib/android/helper.rb#L278) android
|
|
1620
1628
|
|
|
1621
1629
|
> def complex_find_contains element, value
|
|
1622
1630
|
|
|
@@ -1634,7 +1642,7 @@ __Returns:__
|
|
|
1634
1642
|
|
|
1635
1643
|
--
|
|
1636
1644
|
|
|
1637
|
-
##### [complex_finds_contains](https://github.com/appium/ruby_lib/blob/
|
|
1645
|
+
##### [complex_finds_contains](https://github.com/appium/ruby_lib/blob/ea11190b9ab36e34226d988f85fe612af6f769de/lib/appium_lib/android/helper.rb#L286) android
|
|
1638
1646
|
|
|
1639
1647
|
> def complex_finds_contains element, value
|
|
1640
1648
|
|
|
@@ -1652,7 +1660,7 @@ __Returns:__
|
|
|
1652
1660
|
|
|
1653
1661
|
--
|
|
1654
1662
|
|
|
1655
|
-
##### [complex_find_exact](https://github.com/appium/ruby_lib/blob/
|
|
1663
|
+
##### [complex_find_exact](https://github.com/appium/ruby_lib/blob/ea11190b9ab36e34226d988f85fe612af6f769de/lib/appium_lib/android/helper.rb#L315) android
|
|
1656
1664
|
|
|
1657
1665
|
> def complex_find_exact class_name, value
|
|
1658
1666
|
|
|
@@ -1670,7 +1678,7 @@ __Returns:__
|
|
|
1670
1678
|
|
|
1671
1679
|
--
|
|
1672
1680
|
|
|
1673
|
-
##### [complex_finds_exact](https://github.com/appium/ruby_lib/blob/
|
|
1681
|
+
##### [complex_finds_exact](https://github.com/appium/ruby_lib/blob/ea11190b9ab36e34226d988f85fe612af6f769de/lib/appium_lib/android/helper.rb#L323) android
|
|
1674
1682
|
|
|
1675
1683
|
> def complex_finds_exact class_name, value
|
|
1676
1684
|
|
|
@@ -1688,7 +1696,7 @@ __Returns:__
|
|
|
1688
1696
|
|
|
1689
1697
|
--
|
|
1690
1698
|
|
|
1691
|
-
##### [get_source](https://github.com/appium/ruby_lib/blob/
|
|
1699
|
+
##### [get_source](https://github.com/appium/ruby_lib/blob/ea11190b9ab36e34226d988f85fe612af6f769de/lib/appium_lib/android/helper.rb#L331) android
|
|
1692
1700
|
|
|
1693
1701
|
> def get_source
|
|
1694
1702
|
|
|
@@ -1702,7 +1710,7 @@ __Returns:__
|
|
|
1702
1710
|
|
|
1703
1711
|
--
|
|
1704
1712
|
|
|
1705
|
-
##### [TextView](https://github.com/appium/ruby_lib/blob/
|
|
1713
|
+
##### [TextView](https://github.com/appium/ruby_lib/blob/ea11190b9ab36e34226d988f85fe612af6f769de/lib/appium_lib/android/element/text.rb#L4) android
|
|
1706
1714
|
|
|
1707
1715
|
> TextView = 'android.widget.TextView'
|
|
1708
1716
|
|
|
@@ -1710,7 +1718,7 @@ __Returns:__
|
|
|
1710
1718
|
|
|
1711
1719
|
--
|
|
1712
1720
|
|
|
1713
|
-
##### [text](https://github.com/appium/ruby_lib/blob/
|
|
1721
|
+
##### [text](https://github.com/appium/ruby_lib/blob/ea11190b9ab36e34226d988f85fe612af6f769de/lib/appium_lib/android/element/text.rb#L10) android
|
|
1714
1722
|
|
|
1715
1723
|
> def text value
|
|
1716
1724
|
|
|
@@ -1727,7 +1735,7 @@ __Returns:__
|
|
|
1727
1735
|
|
|
1728
1736
|
--
|
|
1729
1737
|
|
|
1730
|
-
##### [texts](https://github.com/appium/ruby_lib/blob/
|
|
1738
|
+
##### [texts](https://github.com/appium/ruby_lib/blob/ea11190b9ab36e34226d988f85fe612af6f769de/lib/appium_lib/android/element/text.rb#L19) android
|
|
1731
1739
|
|
|
1732
1740
|
> def texts value=false
|
|
1733
1741
|
|
|
@@ -1744,7 +1752,7 @@ __Returns:__
|
|
|
1744
1752
|
|
|
1745
1753
|
--
|
|
1746
1754
|
|
|
1747
|
-
##### [first_text](https://github.com/appium/ruby_lib/blob/
|
|
1755
|
+
##### [first_text](https://github.com/appium/ruby_lib/blob/ea11190b9ab36e34226d988f85fe612af6f769de/lib/appium_lib/android/element/text.rb#L26) android
|
|
1748
1756
|
|
|
1749
1757
|
> def first_text
|
|
1750
1758
|
|
|
@@ -1756,7 +1764,7 @@ __Returns:__
|
|
|
1756
1764
|
|
|
1757
1765
|
--
|
|
1758
1766
|
|
|
1759
|
-
##### [last_text](https://github.com/appium/ruby_lib/blob/
|
|
1767
|
+
##### [last_text](https://github.com/appium/ruby_lib/blob/ea11190b9ab36e34226d988f85fe612af6f769de/lib/appium_lib/android/element/text.rb#L32) android
|
|
1760
1768
|
|
|
1761
1769
|
> def last_text
|
|
1762
1770
|
|
|
@@ -1768,7 +1776,7 @@ __Returns:__
|
|
|
1768
1776
|
|
|
1769
1777
|
--
|
|
1770
1778
|
|
|
1771
|
-
##### [text_exact](https://github.com/appium/ruby_lib/blob/
|
|
1779
|
+
##### [text_exact](https://github.com/appium/ruby_lib/blob/ea11190b9ab36e34226d988f85fe612af6f769de/lib/appium_lib/android/element/text.rb#L39) android
|
|
1772
1780
|
|
|
1773
1781
|
> def text_exact value
|
|
1774
1782
|
|
|
@@ -1784,7 +1792,7 @@ __Returns:__
|
|
|
1784
1792
|
|
|
1785
1793
|
--
|
|
1786
1794
|
|
|
1787
|
-
##### [texts_exact](https://github.com/appium/ruby_lib/blob/
|
|
1795
|
+
##### [texts_exact](https://github.com/appium/ruby_lib/blob/ea11190b9ab36e34226d988f85fe612af6f769de/lib/appium_lib/android/element/text.rb#L46) android
|
|
1788
1796
|
|
|
1789
1797
|
> def texts_exact value
|
|
1790
1798
|
|
|
@@ -1800,7 +1808,7 @@ __Returns:__
|
|
|
1800
1808
|
|
|
1801
1809
|
--
|
|
1802
1810
|
|
|
1803
|
-
##### [_nodeset_to_uiselector](https://github.com/appium/ruby_lib/blob/
|
|
1811
|
+
##### [_nodeset_to_uiselector](https://github.com/appium/ruby_lib/blob/ea11190b9ab36e34226d988f85fe612af6f769de/lib/appium_lib/android/client_xpath.rb#L5) android
|
|
1804
1812
|
|
|
1805
1813
|
> def _nodeset_to_uiselector opts={}
|
|
1806
1814
|
|
|
@@ -1808,7 +1816,7 @@ __Returns:__
|
|
|
1808
1816
|
|
|
1809
1817
|
--
|
|
1810
1818
|
|
|
1811
|
-
##### [_client_xpath](https://github.com/appium/ruby_lib/blob/
|
|
1819
|
+
##### [_client_xpath](https://github.com/appium/ruby_lib/blob/ea11190b9ab36e34226d988f85fe612af6f769de/lib/appium_lib/android/client_xpath.rb#L20) android
|
|
1812
1820
|
|
|
1813
1821
|
> def _client_xpath opts={}
|
|
1814
1822
|
|
|
@@ -1816,7 +1824,7 @@ __Returns:__
|
|
|
1816
1824
|
|
|
1817
1825
|
--
|
|
1818
1826
|
|
|
1819
|
-
##### [client_xpath](https://github.com/appium/ruby_lib/blob/
|
|
1827
|
+
##### [client_xpath](https://github.com/appium/ruby_lib/blob/ea11190b9ab36e34226d988f85fe612af6f769de/lib/appium_lib/android/client_xpath.rb#L36) android
|
|
1820
1828
|
|
|
1821
1829
|
> def client_xpath xpath
|
|
1822
1830
|
|
|
@@ -1824,7 +1832,7 @@ __Returns:__
|
|
|
1824
1832
|
|
|
1825
1833
|
--
|
|
1826
1834
|
|
|
1827
|
-
##### [client_xpaths](https://github.com/appium/ruby_lib/blob/
|
|
1835
|
+
##### [client_xpaths](https://github.com/appium/ruby_lib/blob/ea11190b9ab36e34226d988f85fe612af6f769de/lib/appium_lib/android/client_xpath.rb#L40) android
|
|
1828
1836
|
|
|
1829
1837
|
> def client_xpaths xpath
|
|
1830
1838
|
|
|
@@ -1832,7 +1840,7 @@ __Returns:__
|
|
|
1832
1840
|
|
|
1833
1841
|
--
|
|
1834
1842
|
|
|
1835
|
-
##### [alert_click](https://github.com/appium/ruby_lib/blob/
|
|
1843
|
+
##### [alert_click](https://github.com/appium/ruby_lib/blob/ea11190b9ab36e34226d988f85fe612af6f769de/lib/appium_lib/android/element/alert.rb#L6) android
|
|
1836
1844
|
|
|
1837
1845
|
> def alert_click value
|
|
1838
1846
|
|
|
@@ -1848,7 +1856,7 @@ __Returns:__
|
|
|
1848
1856
|
|
|
1849
1857
|
--
|
|
1850
1858
|
|
|
1851
|
-
##### [alert_accept](https://github.com/appium/ruby_lib/blob/
|
|
1859
|
+
##### [alert_accept](https://github.com/appium/ruby_lib/blob/ea11190b9ab36e34226d988f85fe612af6f769de/lib/appium_lib/android/element/alert.rb#L13) android
|
|
1852
1860
|
|
|
1853
1861
|
> def alert_accept
|
|
1854
1862
|
|
|
@@ -1861,7 +1869,7 @@ __Returns:__
|
|
|
1861
1869
|
|
|
1862
1870
|
--
|
|
1863
1871
|
|
|
1864
|
-
##### [alert_accept_text](https://github.com/appium/ruby_lib/blob/
|
|
1872
|
+
##### [alert_accept_text](https://github.com/appium/ruby_lib/blob/ea11190b9ab36e34226d988f85fe612af6f769de/lib/appium_lib/android/element/alert.rb#L20) android
|
|
1865
1873
|
|
|
1866
1874
|
> def alert_accept_text
|
|
1867
1875
|
|
|
@@ -1874,7 +1882,7 @@ __Returns:__
|
|
|
1874
1882
|
|
|
1875
1883
|
--
|
|
1876
1884
|
|
|
1877
|
-
##### [alert_dismiss](https://github.com/appium/ruby_lib/blob/
|
|
1885
|
+
##### [alert_dismiss](https://github.com/appium/ruby_lib/blob/ea11190b9ab36e34226d988f85fe612af6f769de/lib/appium_lib/android/element/alert.rb#L27) android
|
|
1878
1886
|
|
|
1879
1887
|
> def alert_dismiss
|
|
1880
1888
|
|
|
@@ -1887,7 +1895,7 @@ __Returns:__
|
|
|
1887
1895
|
|
|
1888
1896
|
--
|
|
1889
1897
|
|
|
1890
|
-
##### [alert_dismiss_text](https://github.com/appium/ruby_lib/blob/
|
|
1898
|
+
##### [alert_dismiss_text](https://github.com/appium/ruby_lib/blob/ea11190b9ab36e34226d988f85fe612af6f769de/lib/appium_lib/android/element/alert.rb#L34) android
|
|
1891
1899
|
|
|
1892
1900
|
> def alert_dismiss_text
|
|
1893
1901
|
|
|
@@ -1900,7 +1908,7 @@ __Returns:__
|
|
|
1900
1908
|
|
|
1901
1909
|
--
|
|
1902
1910
|
|
|
1903
|
-
##### [uiautomator_find](https://github.com/appium/ruby_lib/blob/
|
|
1911
|
+
##### [uiautomator_find](https://github.com/appium/ruby_lib/blob/ea11190b9ab36e34226d988f85fe612af6f769de/lib/appium_lib/android/mobile_methods.rb#L10) android
|
|
1904
1912
|
|
|
1905
1913
|
> def uiautomator_find
|
|
1906
1914
|
|
|
@@ -1912,7 +1920,7 @@ find_element/s can be used with a [UISelector](http://developer.android.com/tool
|
|
|
1912
1920
|
|
|
1913
1921
|
--
|
|
1914
1922
|
|
|
1915
|
-
##### [Button](https://github.com/appium/ruby_lib/blob/
|
|
1923
|
+
##### [Button](https://github.com/appium/ruby_lib/blob/ea11190b9ab36e34226d988f85fe612af6f769de/lib/appium_lib/android/element/button.rb#L4) android
|
|
1916
1924
|
|
|
1917
1925
|
> Button = 'android.widget.Button'
|
|
1918
1926
|
|
|
@@ -1920,7 +1928,7 @@ find_element/s can be used with a [UISelector](http://developer.android.com/tool
|
|
|
1920
1928
|
|
|
1921
1929
|
--
|
|
1922
1930
|
|
|
1923
|
-
##### [ImageButton](https://github.com/appium/ruby_lib/blob/
|
|
1931
|
+
##### [ImageButton](https://github.com/appium/ruby_lib/blob/ea11190b9ab36e34226d988f85fe612af6f769de/lib/appium_lib/android/element/button.rb#L5) android
|
|
1924
1932
|
|
|
1925
1933
|
> ImageButton = 'android.widget.ImageButton'
|
|
1926
1934
|
|
|
@@ -1928,7 +1936,7 @@ find_element/s can be used with a [UISelector](http://developer.android.com/tool
|
|
|
1928
1936
|
|
|
1929
1937
|
--
|
|
1930
1938
|
|
|
1931
|
-
##### [button](https://github.com/appium/ruby_lib/blob/
|
|
1939
|
+
##### [button](https://github.com/appium/ruby_lib/blob/ea11190b9ab36e34226d988f85fe612af6f769de/lib/appium_lib/android/element/button.rb#L43) android
|
|
1932
1940
|
|
|
1933
1941
|
> def button value
|
|
1934
1942
|
|
|
@@ -1945,7 +1953,7 @@ __Returns:__
|
|
|
1945
1953
|
|
|
1946
1954
|
--
|
|
1947
1955
|
|
|
1948
|
-
##### [buttons](https://github.com/appium/ruby_lib/blob/
|
|
1956
|
+
##### [buttons](https://github.com/appium/ruby_lib/blob/ea11190b9ab36e34226d988f85fe612af6f769de/lib/appium_lib/android/element/button.rb#L60) android
|
|
1949
1957
|
|
|
1950
1958
|
> def buttons value=false
|
|
1951
1959
|
|
|
@@ -1962,7 +1970,7 @@ __Returns:__
|
|
|
1962
1970
|
|
|
1963
1971
|
--
|
|
1964
1972
|
|
|
1965
|
-
##### [first_button](https://github.com/appium/ruby_lib/blob/
|
|
1973
|
+
##### [first_button](https://github.com/appium/ruby_lib/blob/ea11190b9ab36e34226d988f85fe612af6f769de/lib/appium_lib/android/element/button.rb#L67) android
|
|
1966
1974
|
|
|
1967
1975
|
> def first_button
|
|
1968
1976
|
|
|
@@ -1974,7 +1982,7 @@ __Returns:__
|
|
|
1974
1982
|
|
|
1975
1983
|
--
|
|
1976
1984
|
|
|
1977
|
-
##### [last_button](https://github.com/appium/ruby_lib/blob/
|
|
1985
|
+
##### [last_button](https://github.com/appium/ruby_lib/blob/ea11190b9ab36e34226d988f85fe612af6f769de/lib/appium_lib/android/element/button.rb#L73) android
|
|
1978
1986
|
|
|
1979
1987
|
> def last_button
|
|
1980
1988
|
|
|
@@ -1986,7 +1994,7 @@ __Returns:__
|
|
|
1986
1994
|
|
|
1987
1995
|
--
|
|
1988
1996
|
|
|
1989
|
-
##### [button_exact](https://github.com/appium/ruby_lib/blob/
|
|
1997
|
+
##### [button_exact](https://github.com/appium/ruby_lib/blob/ea11190b9ab36e34226d988f85fe612af6f769de/lib/appium_lib/android/element/button.rb#L89) android
|
|
1990
1998
|
|
|
1991
1999
|
> def button_exact value
|
|
1992
2000
|
|
|
@@ -2002,7 +2010,7 @@ __Returns:__
|
|
|
2002
2010
|
|
|
2003
2011
|
--
|
|
2004
2012
|
|
|
2005
|
-
##### [buttons_exact](https://github.com/appium/ruby_lib/blob/
|
|
2013
|
+
##### [buttons_exact](https://github.com/appium/ruby_lib/blob/ea11190b9ab36e34226d988f85fe612af6f769de/lib/appium_lib/android/element/button.rb#L96) android
|
|
2006
2014
|
|
|
2007
2015
|
> def buttons_exact value
|
|
2008
2016
|
|
|
@@ -2018,7 +2026,7 @@ __Returns:__
|
|
|
2018
2026
|
|
|
2019
2027
|
--
|
|
2020
2028
|
|
|
2021
|
-
##### [find](https://github.com/appium/ruby_lib/blob/
|
|
2029
|
+
##### [find](https://github.com/appium/ruby_lib/blob/ea11190b9ab36e34226d988f85fe612af6f769de/lib/appium_lib/android/element/generic.rb#L7) android
|
|
2022
2030
|
|
|
2023
2031
|
> def find value
|
|
2024
2032
|
|
|
@@ -2034,7 +2042,7 @@ __Returns:__
|
|
|
2034
2042
|
|
|
2035
2043
|
--
|
|
2036
2044
|
|
|
2037
|
-
##### [finds](https://github.com/appium/ruby_lib/blob/
|
|
2045
|
+
##### [finds](https://github.com/appium/ruby_lib/blob/ea11190b9ab36e34226d988f85fe612af6f769de/lib/appium_lib/android/element/generic.rb#L14) android
|
|
2038
2046
|
|
|
2039
2047
|
> def finds value
|
|
2040
2048
|
|
|
@@ -2050,7 +2058,7 @@ __Returns:__
|
|
|
2050
2058
|
|
|
2051
2059
|
--
|
|
2052
2060
|
|
|
2053
|
-
##### [find_exact](https://github.com/appium/ruby_lib/blob/
|
|
2061
|
+
##### [find_exact](https://github.com/appium/ruby_lib/blob/ea11190b9ab36e34226d988f85fe612af6f769de/lib/appium_lib/android/element/generic.rb#L21) android
|
|
2054
2062
|
|
|
2055
2063
|
> def find_exact value
|
|
2056
2064
|
|
|
@@ -2066,7 +2074,7 @@ __Returns:__
|
|
|
2066
2074
|
|
|
2067
2075
|
--
|
|
2068
2076
|
|
|
2069
|
-
##### [finds_exact](https://github.com/appium/ruby_lib/blob/
|
|
2077
|
+
##### [finds_exact](https://github.com/appium/ruby_lib/blob/ea11190b9ab36e34226d988f85fe612af6f769de/lib/appium_lib/android/element/generic.rb#L28) android
|
|
2070
2078
|
|
|
2071
2079
|
> def finds_exact value
|
|
2072
2080
|
|
|
@@ -2082,7 +2090,7 @@ __Returns:__
|
|
|
2082
2090
|
|
|
2083
2091
|
--
|
|
2084
2092
|
|
|
2085
|
-
##### [scroll_to](https://github.com/appium/ruby_lib/blob/
|
|
2093
|
+
##### [scroll_to](https://github.com/appium/ruby_lib/blob/ea11190b9ab36e34226d988f85fe612af6f769de/lib/appium_lib/android/element/generic.rb#L40) android
|
|
2086
2094
|
|
|
2087
2095
|
> def scroll_to text
|
|
2088
2096
|
|
|
@@ -2098,7 +2106,7 @@ __Returns:__
|
|
|
2098
2106
|
|
|
2099
2107
|
--
|
|
2100
2108
|
|
|
2101
|
-
##### [scroll_to_exact](https://github.com/appium/ruby_lib/blob/
|
|
2109
|
+
##### [scroll_to_exact](https://github.com/appium/ruby_lib/blob/ea11190b9ab36e34226d988f85fe612af6f769de/lib/appium_lib/android/element/generic.rb#L52) android
|
|
2102
2110
|
|
|
2103
2111
|
> def scroll_to_exact text
|
|
2104
2112
|
|
|
@@ -2114,7 +2122,7 @@ __Returns:__
|
|
|
2114
2122
|
|
|
2115
2123
|
--
|
|
2116
2124
|
|
|
2117
|
-
##### [EditText](https://github.com/appium/ruby_lib/blob/
|
|
2125
|
+
##### [EditText](https://github.com/appium/ruby_lib/blob/ea11190b9ab36e34226d988f85fe612af6f769de/lib/appium_lib/android/element/textfield.rb#L3) android
|
|
2118
2126
|
|
|
2119
2127
|
> EditText = 'android.widget.EditText'
|
|
2120
2128
|
|
|
@@ -2122,7 +2130,7 @@ __Returns:__
|
|
|
2122
2130
|
|
|
2123
2131
|
--
|
|
2124
2132
|
|
|
2125
|
-
##### [textfield](https://github.com/appium/ruby_lib/blob/
|
|
2133
|
+
##### [textfield](https://github.com/appium/ruby_lib/blob/ea11190b9ab36e34226d988f85fe612af6f769de/lib/appium_lib/android/element/textfield.rb#L9) android
|
|
2126
2134
|
|
|
2127
2135
|
> def textfield value
|
|
2128
2136
|
|
|
@@ -2139,7 +2147,7 @@ __Returns:__
|
|
|
2139
2147
|
|
|
2140
2148
|
--
|
|
2141
2149
|
|
|
2142
|
-
##### [textfields](https://github.com/appium/ruby_lib/blob/
|
|
2150
|
+
##### [textfields](https://github.com/appium/ruby_lib/blob/ea11190b9ab36e34226d988f85fe612af6f769de/lib/appium_lib/android/element/textfield.rb#L18) android
|
|
2143
2151
|
|
|
2144
2152
|
> def textfields value=false
|
|
2145
2153
|
|
|
@@ -2156,7 +2164,7 @@ __Returns:__
|
|
|
2156
2164
|
|
|
2157
2165
|
--
|
|
2158
2166
|
|
|
2159
|
-
##### [first_textfield](https://github.com/appium/ruby_lib/blob/
|
|
2167
|
+
##### [first_textfield](https://github.com/appium/ruby_lib/blob/ea11190b9ab36e34226d988f85fe612af6f769de/lib/appium_lib/android/element/textfield.rb#L25) android
|
|
2160
2168
|
|
|
2161
2169
|
> def first_textfield
|
|
2162
2170
|
|
|
@@ -2168,7 +2176,7 @@ __Returns:__
|
|
|
2168
2176
|
|
|
2169
2177
|
--
|
|
2170
2178
|
|
|
2171
|
-
##### [last_textfield](https://github.com/appium/ruby_lib/blob/
|
|
2179
|
+
##### [last_textfield](https://github.com/appium/ruby_lib/blob/ea11190b9ab36e34226d988f85fe612af6f769de/lib/appium_lib/android/element/textfield.rb#L31) android
|
|
2172
2180
|
|
|
2173
2181
|
> def last_textfield
|
|
2174
2182
|
|
|
@@ -2180,7 +2188,7 @@ __Returns:__
|
|
|
2180
2188
|
|
|
2181
2189
|
--
|
|
2182
2190
|
|
|
2183
|
-
##### [textfield_exact](https://github.com/appium/ruby_lib/blob/
|
|
2191
|
+
##### [textfield_exact](https://github.com/appium/ruby_lib/blob/ea11190b9ab36e34226d988f85fe612af6f769de/lib/appium_lib/android/element/textfield.rb#L38) android
|
|
2184
2192
|
|
|
2185
2193
|
> def textfield_exact value
|
|
2186
2194
|
|
|
@@ -2196,7 +2204,7 @@ __Returns:__
|
|
|
2196
2204
|
|
|
2197
2205
|
--
|
|
2198
2206
|
|
|
2199
|
-
##### [textfields_exact](https://github.com/appium/ruby_lib/blob/
|
|
2207
|
+
##### [textfields_exact](https://github.com/appium/ruby_lib/blob/ea11190b9ab36e34226d988f85fe612af6f769de/lib/appium_lib/android/element/textfield.rb#L45) android
|
|
2200
2208
|
|
|
2201
2209
|
> def textfields_exact value
|
|
2202
2210
|
|
|
@@ -2212,7 +2220,7 @@ __Returns:__
|
|
|
2212
2220
|
|
|
2213
2221
|
--
|
|
2214
2222
|
|
|
2215
|
-
##### [value](https://github.com/appium/ruby_lib/blob/
|
|
2223
|
+
##### [value](https://github.com/appium/ruby_lib/blob/ea11190b9ab36e34226d988f85fe612af6f769de/lib/appium_lib/common/patch.rb#L12)
|
|
2216
2224
|
|
|
2217
2225
|
> def value
|
|
2218
2226
|
|
|
@@ -2222,7 +2230,7 @@ Fixes NoMethodError: undefined method `value' for Selenium::WebDriver::Element
|
|
|
2222
2230
|
|
|
2223
2231
|
--
|
|
2224
2232
|
|
|
2225
|
-
##### [name](https://github.com/appium/ruby_lib/blob/
|
|
2233
|
+
##### [name](https://github.com/appium/ruby_lib/blob/ea11190b9ab36e34226d988f85fe612af6f769de/lib/appium_lib/common/patch.rb#L19)
|
|
2226
2234
|
|
|
2227
2235
|
> def name
|
|
2228
2236
|
|
|
@@ -2232,7 +2240,7 @@ Fixes NoMethodError: undefined method `name' for Selenium::WebDriver::Element
|
|
|
2232
2240
|
|
|
2233
2241
|
--
|
|
2234
2242
|
|
|
2235
|
-
##### [location_rel](https://github.com/appium/ruby_lib/blob/
|
|
2243
|
+
##### [location_rel](https://github.com/appium/ruby_lib/blob/ea11190b9ab36e34226d988f85fe612af6f769de/lib/appium_lib/common/patch.rb#L31)
|
|
2236
2244
|
|
|
2237
2245
|
> def location_rel
|
|
2238
2246
|
|
|
@@ -2250,7 +2258,7 @@ __Returns:__
|
|
|
2250
2258
|
|
|
2251
2259
|
--
|
|
2252
2260
|
|
|
2253
|
-
##### [DEFAULT_HEADERS](https://github.com/appium/ruby_lib/blob/
|
|
2261
|
+
##### [DEFAULT_HEADERS](https://github.com/appium/ruby_lib/blob/ea11190b9ab36e34226d988f85fe612af6f769de/lib/appium_lib/common/patch.rb#L145)
|
|
2254
2262
|
|
|
2255
2263
|
> DEFAULT_HEADERS = { 'Accept' => CONTENT_TYPE, 'User-Agent' => "appium/ruby_lib/#{::Appium::VERSION}" }
|
|
2256
2264
|
|