appium_lib 9.7.4 → 9.7.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +10 -1
- data/docs/android_docs.md +171 -171
- data/docs/ios_docs.md +223 -223
- data/lib/appium_lib/driver.rb +16 -0
- data/lib/appium_lib/version.rb +2 -2
- data/release_notes.md +9 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1a6c90cf01af47a148df1efaf60fadc0f38f9df5
|
4
|
+
data.tar.gz: ab8690d872dc68319d40908fa3225b21b576987c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6bd04c6ee7954c433f617718d3acce11bba58f527db3ee8bde18a8efcfd7f44b049c70905975d30216e39d08fc6bf2644278948fc3979ea2bbe7385cddacc3d9
|
7
|
+
data.tar.gz: d7d0259f7255f0c2d98380887290bf441c25c3062fdbc6fb1dd62588e81b9efc1d8752babf817d4d4f55b87db4565df42cd8324326164b03cd86f072875158bc
|
data/CHANGELOG.md
CHANGED
@@ -3,6 +3,15 @@ Commit based release not is [release_notes.md](./release_notes.md)
|
|
3
3
|
|
4
4
|
Release tags are https://github.com/appium/ruby_lib/releases .
|
5
5
|
|
6
|
+
## v9.7.5
|
7
|
+
|
8
|
+
### 1. Enhancements
|
9
|
+
|
10
|
+
### 2. Bug fixes
|
11
|
+
- [fix: take care capybara case #716](https://github.com/appium/ruby_lib/pull/716)
|
12
|
+
|
13
|
+
### 3. Deprecations
|
14
|
+
|
6
15
|
## v9.7.4
|
7
16
|
|
8
17
|
### 1. Enhancements
|
@@ -93,7 +102,7 @@ lib/appium_lib # root directory
|
|
93
102
|
```ruby
|
94
103
|
Appium::Driver.new(opts, true).start_driver # $driver is defined.
|
95
104
|
Appium::Driver.new(opts, false).start_driver # $driver isn't defined.
|
96
|
-
```
|
105
|
+
```
|
97
106
|
- [link](https://github.com/appium/ruby_lib/blob/master/docs/ios_docs.md#initialize)
|
98
107
|
- We need to provide `driver` to work `TouchAction` and `MultiAction` without global driver
|
99
108
|
- `TouchAction`
|
data/docs/android_docs.md
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
##### [load_settings](https://github.com/appium/ruby_lib/blob/
|
1
|
+
##### [load_settings](https://github.com/appium/ruby_lib/blob/0628c614e6620c606265883a8232dd021d03965d/lib/appium_lib/appium.rb#L46)
|
2
2
|
|
3
3
|
> def load_settings(opts = {})
|
4
4
|
|
@@ -27,7 +27,7 @@ __Returns:__
|
|
27
27
|
|
28
28
|
--
|
29
29
|
|
30
|
-
##### [load_appium_txt](https://github.com/appium/ruby_lib/blob/
|
30
|
+
##### [load_appium_txt](https://github.com/appium/ruby_lib/blob/0628c614e6620c606265883a8232dd021d03965d/lib/appium_lib/appium.rb#L80)
|
31
31
|
|
32
32
|
> def load_settings(opts = {})
|
33
33
|
|
@@ -56,7 +56,7 @@ __Returns:__
|
|
56
56
|
|
57
57
|
--
|
58
58
|
|
59
|
-
##### [expand_required_files](https://github.com/appium/ruby_lib/blob/
|
59
|
+
##### [expand_required_files](https://github.com/appium/ruby_lib/blob/0628c614e6620c606265883a8232dd021d03965d/lib/appium_lib/appium.rb#L85)
|
60
60
|
|
61
61
|
> def expand_required_files(base_dir, file_paths)
|
62
62
|
|
@@ -74,7 +74,7 @@ __Returns:__
|
|
74
74
|
|
75
75
|
--
|
76
76
|
|
77
|
-
##### [promote_singleton_appium_methods](https://github.com/appium/ruby_lib/blob/
|
77
|
+
##### [promote_singleton_appium_methods](https://github.com/appium/ruby_lib/blob/0628c614e6620c606265883a8232dd021d03965d/lib/appium_lib/appium.rb#L127)
|
78
78
|
|
79
79
|
> def promote_singleton_appium_methods(modules, driver = $driver)
|
80
80
|
|
@@ -98,7 +98,7 @@ __Parameters:__
|
|
98
98
|
|
99
99
|
--
|
100
100
|
|
101
|
-
##### [promote_appium_methods](https://github.com/appium/ruby_lib/blob/
|
101
|
+
##### [promote_appium_methods](https://github.com/appium/ruby_lib/blob/0628c614e6620c606265883a8232dd021d03965d/lib/appium_lib/appium.rb#L182)
|
102
102
|
|
103
103
|
> def promote_appium_methods(class_array, driver = $driver)
|
104
104
|
|
@@ -116,7 +116,7 @@ __Parameters:__
|
|
116
116
|
|
117
117
|
--
|
118
118
|
|
119
|
-
##### [global_webdriver_http_sleep](https://github.com/appium/ruby_lib/blob/
|
119
|
+
##### [global_webdriver_http_sleep](https://github.com/appium/ruby_lib/blob/0628c614e6620c606265883a8232dd021d03965d/lib/appium_lib/driver.rb#L24)
|
120
120
|
|
121
121
|
> def global_webdriver_http_sleep
|
122
122
|
|
@@ -124,7 +124,7 @@ The amount to sleep in seconds before every webdriver http call.
|
|
124
124
|
|
125
125
|
--
|
126
126
|
|
127
|
-
##### [global_webdriver_http_sleep=](https://github.com/appium/ruby_lib/blob/
|
127
|
+
##### [global_webdriver_http_sleep=](https://github.com/appium/ruby_lib/blob/0628c614e6620c606265883a8232dd021d03965d/lib/appium_lib/driver.rb#L24)
|
128
128
|
|
129
129
|
> def global_webdriver_http_sleep=(value)
|
130
130
|
|
@@ -132,7 +132,7 @@ The amount to sleep in seconds before every webdriver http call.
|
|
132
132
|
|
133
133
|
--
|
134
134
|
|
135
|
-
##### [sauce](https://github.com/appium/ruby_lib/blob/
|
135
|
+
##### [sauce](https://github.com/appium/ruby_lib/blob/0628c614e6620c606265883a8232dd021d03965d/lib/appium_lib/driver.rb#L27)
|
136
136
|
|
137
137
|
> def sauce
|
138
138
|
|
@@ -140,7 +140,7 @@ SauceLab's settings
|
|
140
140
|
|
141
141
|
--
|
142
142
|
|
143
|
-
##### [sauce_username](https://github.com/appium/ruby_lib/blob/
|
143
|
+
##### [sauce_username](https://github.com/appium/ruby_lib/blob/0628c614e6620c606265883a8232dd021d03965d/lib/appium_lib/driver.rb#L30)
|
144
144
|
|
145
145
|
> def sauce_username
|
146
146
|
|
@@ -149,7 +149,7 @@ same as @sauce.username
|
|
149
149
|
|
150
150
|
--
|
151
151
|
|
152
|
-
##### [sauce_access_key](https://github.com/appium/ruby_lib/blob/
|
152
|
+
##### [sauce_access_key](https://github.com/appium/ruby_lib/blob/0628c614e6620c606265883a8232dd021d03965d/lib/appium_lib/driver.rb#L33)
|
153
153
|
|
154
154
|
> def sauce_access_key
|
155
155
|
|
@@ -158,7 +158,7 @@ same as @sauce.access_key
|
|
158
158
|
|
159
159
|
--
|
160
160
|
|
161
|
-
##### [sauce_endpoint](https://github.com/appium/ruby_lib/blob/
|
161
|
+
##### [sauce_endpoint](https://github.com/appium/ruby_lib/blob/0628c614e6620c606265883a8232dd021d03965d/lib/appium_lib/driver.rb#L36)
|
162
162
|
|
163
163
|
> def sauce_endpoint
|
164
164
|
|
@@ -167,7 +167,7 @@ same as @sauce.endpoint
|
|
167
167
|
|
168
168
|
--
|
169
169
|
|
170
|
-
##### [caps](https://github.com/appium/ruby_lib/blob/
|
170
|
+
##### [caps](https://github.com/appium/ruby_lib/blob/0628c614e6620c606265883a8232dd021d03965d/lib/appium_lib/driver.rb#L39)
|
171
171
|
|
172
172
|
> def caps
|
173
173
|
|
@@ -175,7 +175,7 @@ from Core
|
|
175
175
|
|
176
176
|
--
|
177
177
|
|
178
|
-
##### [custom_url](https://github.com/appium/ruby_lib/blob/
|
178
|
+
##### [custom_url](https://github.com/appium/ruby_lib/blob/0628c614e6620c606265883a8232dd021d03965d/lib/appium_lib/driver.rb#L40)
|
179
179
|
|
180
180
|
> def custom_url
|
181
181
|
|
@@ -183,7 +183,7 @@ Returns the value of attribute custom_url
|
|
183
183
|
|
184
184
|
--
|
185
185
|
|
186
|
-
##### [export_session](https://github.com/appium/ruby_lib/blob/
|
186
|
+
##### [export_session](https://github.com/appium/ruby_lib/blob/0628c614e6620c606265883a8232dd021d03965d/lib/appium_lib/driver.rb#L41)
|
187
187
|
|
188
188
|
> def export_session
|
189
189
|
|
@@ -191,7 +191,7 @@ Returns the value of attribute export_session
|
|
191
191
|
|
192
192
|
--
|
193
193
|
|
194
|
-
##### [export_session_path](https://github.com/appium/ruby_lib/blob/
|
194
|
+
##### [export_session_path](https://github.com/appium/ruby_lib/blob/0628c614e6620c606265883a8232dd021d03965d/lib/appium_lib/driver.rb#L42)
|
195
195
|
|
196
196
|
> def export_session_path
|
197
197
|
|
@@ -199,7 +199,7 @@ Returns the value of attribute export_session_path
|
|
199
199
|
|
200
200
|
--
|
201
201
|
|
202
|
-
##### [default_wait](https://github.com/appium/ruby_lib/blob/
|
202
|
+
##### [default_wait](https://github.com/appium/ruby_lib/blob/0628c614e6620c606265883a8232dd021d03965d/lib/appium_lib/driver.rb#L43)
|
203
203
|
|
204
204
|
> def default_wait
|
205
205
|
|
@@ -207,7 +207,7 @@ Returns the value of attribute default_wait
|
|
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/0628c614e6620c606265883a8232dd021d03965d/lib/appium_lib/driver.rb#L44)
|
211
211
|
|
212
212
|
> def appium_port
|
213
213
|
|
@@ -215,7 +215,7 @@ Returns the value of attribute appium_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/0628c614e6620c606265883a8232dd021d03965d/lib/appium_lib/driver.rb#L45)
|
219
219
|
|
220
220
|
> def appium_device
|
221
221
|
|
@@ -223,7 +223,7 @@ Returns the value of attribute appium_device
|
|
223
223
|
|
224
224
|
--
|
225
225
|
|
226
|
-
##### [automation_name](https://github.com/appium/ruby_lib/blob/
|
226
|
+
##### [automation_name](https://github.com/appium/ruby_lib/blob/0628c614e6620c606265883a8232dd021d03965d/lib/appium_lib/driver.rb#L46)
|
227
227
|
|
228
228
|
> def automation_name
|
229
229
|
|
@@ -231,7 +231,7 @@ Returns the value of attribute automation_name
|
|
231
231
|
|
232
232
|
--
|
233
233
|
|
234
|
-
##### [listener](https://github.com/appium/ruby_lib/blob/
|
234
|
+
##### [listener](https://github.com/appium/ruby_lib/blob/0628c614e6620c606265883a8232dd021d03965d/lib/appium_lib/driver.rb#L47)
|
235
235
|
|
236
236
|
> def listener
|
237
237
|
|
@@ -239,7 +239,7 @@ Returns the value of attribute listener
|
|
239
239
|
|
240
240
|
--
|
241
241
|
|
242
|
-
##### [http_client](https://github.com/appium/ruby_lib/blob/
|
242
|
+
##### [http_client](https://github.com/appium/ruby_lib/blob/0628c614e6620c606265883a8232dd021d03965d/lib/appium_lib/driver.rb#L48)
|
243
243
|
|
244
244
|
> def http_client
|
245
245
|
|
@@ -247,7 +247,7 @@ Returns the value of attribute http_client
|
|
247
247
|
|
248
248
|
--
|
249
249
|
|
250
|
-
##### [appium_wait_timeout](https://github.com/appium/ruby_lib/blob/
|
250
|
+
##### [appium_wait_timeout](https://github.com/appium/ruby_lib/blob/0628c614e6620c606265883a8232dd021d03965d/lib/appium_lib/driver.rb#L49)
|
251
251
|
|
252
252
|
> def appium_wait_timeout
|
253
253
|
|
@@ -255,7 +255,7 @@ Returns the value of attribute appium_wait_timeout
|
|
255
255
|
|
256
256
|
--
|
257
257
|
|
258
|
-
##### [appium_wait_interval](https://github.com/appium/ruby_lib/blob/
|
258
|
+
##### [appium_wait_interval](https://github.com/appium/ruby_lib/blob/0628c614e6620c606265883a8232dd021d03965d/lib/appium_lib/driver.rb#L50)
|
259
259
|
|
260
260
|
> def appium_wait_interval
|
261
261
|
|
@@ -263,7 +263,7 @@ Returns the value of attribute appium_wait_interval
|
|
263
263
|
|
264
264
|
--
|
265
265
|
|
266
|
-
##### [appium_server_status](https://github.com/appium/ruby_lib/blob/
|
266
|
+
##### [appium_server_status](https://github.com/appium/ruby_lib/blob/0628c614e6620c606265883a8232dd021d03965d/lib/appium_lib/driver.rb#L53)
|
267
267
|
|
268
268
|
> def appium_server_status
|
269
269
|
|
@@ -271,7 +271,7 @@ Appium's server version
|
|
271
271
|
|
272
272
|
--
|
273
273
|
|
274
|
-
##### [appium_debug](https://github.com/appium/ruby_lib/blob/
|
274
|
+
##### [appium_debug](https://github.com/appium/ruby_lib/blob/0628c614e6620c606265883a8232dd021d03965d/lib/appium_lib/driver.rb#L55)
|
275
275
|
|
276
276
|
> def appium_debug
|
277
277
|
|
@@ -279,7 +279,7 @@ Boolean debug mode for the Appium Ruby bindings
|
|
279
279
|
|
280
280
|
--
|
281
281
|
|
282
|
-
##### [driver](https://github.com/appium/ruby_lib/blob/
|
282
|
+
##### [driver](https://github.com/appium/ruby_lib/blob/0628c614e6620c606265883a8232dd021d03965d/lib/appium_lib/driver.rb#L58)
|
283
283
|
|
284
284
|
> def driver
|
285
285
|
|
@@ -291,7 +291,7 @@ __Returns:__
|
|
291
291
|
|
292
292
|
--
|
293
293
|
|
294
|
-
##### [core](https://github.com/appium/ruby_lib/blob/
|
294
|
+
##### [core](https://github.com/appium/ruby_lib/blob/0628c614e6620c606265883a8232dd021d03965d/lib/appium_lib/driver.rb#L60)
|
295
295
|
|
296
296
|
> def core
|
297
297
|
|
@@ -299,7 +299,7 @@ Instance of Appium::Core::Driver
|
|
299
299
|
|
300
300
|
--
|
301
301
|
|
302
|
-
##### [initialize](https://github.com/appium/ruby_lib/blob/
|
302
|
+
##### [initialize](https://github.com/appium/ruby_lib/blob/0628c614e6620c606265883a8232dd021d03965d/lib/appium_lib/driver.rb#L124)
|
303
303
|
|
304
304
|
> def initialize(opts = {}, global_driver = nil)
|
305
305
|
|
@@ -318,7 +318,7 @@ __Returns:__
|
|
318
318
|
|
319
319
|
--
|
320
320
|
|
321
|
-
##### [driver_attributes](https://github.com/appium/ruby_lib/blob/
|
321
|
+
##### [driver_attributes](https://github.com/appium/ruby_lib/blob/0628c614e6620c606265883a8232dd021d03965d/lib/appium_lib/driver.rb#L234)
|
322
322
|
|
323
323
|
> def driver_attributes
|
324
324
|
|
@@ -326,7 +326,7 @@ Returns a hash of the driver attributes
|
|
326
326
|
|
327
327
|
--
|
328
328
|
|
329
|
-
##### [device_is_android?](https://github.com/appium/ruby_lib/blob/
|
329
|
+
##### [device_is_android?](https://github.com/appium/ruby_lib/blob/0628c614e6620c606265883a8232dd021d03965d/lib/appium_lib/driver.rb#L254)
|
330
330
|
|
331
331
|
> def device_is_android?
|
332
332
|
|
@@ -338,7 +338,7 @@ __Returns:__
|
|
338
338
|
|
339
339
|
--
|
340
340
|
|
341
|
-
##### [device_is_ios?](https://github.com/appium/ruby_lib/blob/
|
341
|
+
##### [device_is_ios?](https://github.com/appium/ruby_lib/blob/0628c614e6620c606265883a8232dd021d03965d/lib/appium_lib/driver.rb#L258)
|
342
342
|
|
343
343
|
> def device_is_ios?
|
344
344
|
|
@@ -350,7 +350,7 @@ __Returns:__
|
|
350
350
|
|
351
351
|
--
|
352
352
|
|
353
|
-
##### [device_is_windows?](https://github.com/appium/ruby_lib/blob/
|
353
|
+
##### [device_is_windows?](https://github.com/appium/ruby_lib/blob/0628c614e6620c606265883a8232dd021d03965d/lib/appium_lib/driver.rb#L262)
|
354
354
|
|
355
355
|
> def device_is_windows?
|
356
356
|
|
@@ -362,7 +362,7 @@ __Returns:__
|
|
362
362
|
|
363
363
|
--
|
364
364
|
|
365
|
-
##### [automation_name_is_uiautomator2?](https://github.com/appium/ruby_lib/blob/
|
365
|
+
##### [automation_name_is_uiautomator2?](https://github.com/appium/ruby_lib/blob/0628c614e6620c606265883a8232dd021d03965d/lib/appium_lib/driver.rb#L268)
|
366
366
|
|
367
367
|
> def automation_name_is_uiautomator2?
|
368
368
|
|
@@ -374,7 +374,7 @@ __Returns:__
|
|
374
374
|
|
375
375
|
--
|
376
376
|
|
377
|
-
##### [automation_name_is_espresso?](https://github.com/appium/ruby_lib/blob/
|
377
|
+
##### [automation_name_is_espresso?](https://github.com/appium/ruby_lib/blob/0628c614e6620c606265883a8232dd021d03965d/lib/appium_lib/driver.rb#L274)
|
378
378
|
|
379
379
|
> def automation_name_is_espresso?
|
380
380
|
|
@@ -386,7 +386,7 @@ __Returns:__
|
|
386
386
|
|
387
387
|
--
|
388
388
|
|
389
|
-
##### [automation_name_is_xcuitest?](https://github.com/appium/ruby_lib/blob/
|
389
|
+
##### [automation_name_is_xcuitest?](https://github.com/appium/ruby_lib/blob/0628c614e6620c606265883a8232dd021d03965d/lib/appium_lib/driver.rb#L280)
|
390
390
|
|
391
391
|
> def automation_name_is_xcuitest?
|
392
392
|
|
@@ -398,7 +398,7 @@ __Returns:__
|
|
398
398
|
|
399
399
|
--
|
400
400
|
|
401
|
-
##### [check_server_version_xcuitest](https://github.com/appium/ruby_lib/blob/
|
401
|
+
##### [check_server_version_xcuitest](https://github.com/appium/ruby_lib/blob/0628c614e6620c606265883a8232dd021d03965d/lib/appium_lib/driver.rb#L287)
|
402
402
|
|
403
403
|
> def check_server_version_xcuitest
|
404
404
|
|
@@ -411,7 +411,7 @@ __Returns:__
|
|
411
411
|
|
412
412
|
--
|
413
413
|
|
414
|
-
##### [appium_server_version](https://github.com/appium/ruby_lib/blob/
|
414
|
+
##### [appium_server_version](https://github.com/appium/ruby_lib/blob/0628c614e6620c606265883a8232dd021d03965d/lib/appium_lib/driver.rb#L308)
|
415
415
|
|
416
416
|
> def appium_server_version
|
417
417
|
|
@@ -423,7 +423,7 @@ __Returns:__
|
|
423
423
|
|
424
424
|
--
|
425
425
|
|
426
|
-
##### [platform_version](https://github.com/appium/ruby_lib/blob/
|
426
|
+
##### [platform_version](https://github.com/appium/ruby_lib/blob/0628c614e6620c606265883a8232dd021d03965d/lib/appium_lib/driver.rb#L318)
|
427
427
|
|
428
428
|
> def platform_version
|
429
429
|
|
@@ -435,7 +435,7 @@ __Returns:__
|
|
435
435
|
|
436
436
|
--
|
437
437
|
|
438
|
-
##### [appium_client_version](https://github.com/appium/ruby_lib/blob/
|
438
|
+
##### [appium_client_version](https://github.com/appium/ruby_lib/blob/0628c614e6620c606265883a8232dd021d03965d/lib/appium_lib/driver.rb#L337)
|
439
439
|
|
440
440
|
> def appium_client_version
|
441
441
|
|
@@ -447,7 +447,7 @@ __Returns:__
|
|
447
447
|
|
448
448
|
--
|
449
449
|
|
450
|
-
##### [absolute_app_path](https://github.com/appium/ruby_lib/blob/
|
450
|
+
##### [absolute_app_path](https://github.com/appium/ruby_lib/blob/0628c614e6620c606265883a8232dd021d03965d/lib/appium_lib/driver.rb#L349)
|
451
451
|
|
452
452
|
> def self.absolute_app_path(opts)
|
453
453
|
|
@@ -464,7 +464,7 @@ __Returns:__
|
|
464
464
|
|
465
465
|
--
|
466
466
|
|
467
|
-
##### [server_url](https://github.com/appium/ruby_lib/blob/
|
467
|
+
##### [server_url](https://github.com/appium/ruby_lib/blob/0628c614e6620c606265883a8232dd021d03965d/lib/appium_lib/driver.rb#L382)
|
468
468
|
|
469
469
|
> def server_url
|
470
470
|
|
@@ -476,7 +476,7 @@ __Returns:__
|
|
476
476
|
|
477
477
|
--
|
478
478
|
|
479
|
-
##### [restart](https://github.com/appium/ruby_lib/blob/
|
479
|
+
##### [restart](https://github.com/appium/ruby_lib/blob/0628c614e6620c606265883a8232dd021d03965d/lib/appium_lib/driver.rb#L390)
|
480
480
|
|
481
481
|
> def restart
|
482
482
|
|
@@ -488,7 +488,7 @@ __Returns:__
|
|
488
488
|
|
489
489
|
--
|
490
490
|
|
491
|
-
##### [screenshot](https://github.com/appium/ruby_lib/blob/
|
491
|
+
##### [screenshot](https://github.com/appium/ruby_lib/blob/0628c614e6620c606265883a8232dd021d03965d/lib/appium_lib/driver.rb#L403)
|
492
492
|
|
493
493
|
> def screenshot(png_save_path)
|
494
494
|
|
@@ -504,7 +504,7 @@ __Returns:__
|
|
504
504
|
|
505
505
|
--
|
506
506
|
|
507
|
-
##### [driver_quit](https://github.com/appium/ruby_lib/blob/
|
507
|
+
##### [driver_quit](https://github.com/appium/ruby_lib/blob/0628c614e6620c606265883a8232dd021d03965d/lib/appium_lib/driver.rb#L410)
|
508
508
|
|
509
509
|
> def driver_quit
|
510
510
|
|
@@ -516,7 +516,7 @@ __Returns:__
|
|
516
516
|
|
517
517
|
--
|
518
518
|
|
519
|
-
##### [quit_driver](https://github.com/appium/ruby_lib/blob/
|
519
|
+
##### [quit_driver](https://github.com/appium/ruby_lib/blob/0628c614e6620c606265883a8232dd021d03965d/lib/appium_lib/driver.rb#L413)
|
520
520
|
|
521
521
|
> def driver_quit
|
522
522
|
|
@@ -528,7 +528,7 @@ __Returns:__
|
|
528
528
|
|
529
529
|
--
|
530
530
|
|
531
|
-
##### [window_size](https://github.com/appium/ruby_lib/blob/
|
531
|
+
##### [window_size](https://github.com/appium/ruby_lib/blob/0628c614e6620c606265883a8232dd021d03965d/lib/appium_lib/driver.rb#L424)
|
532
532
|
|
533
533
|
> def window_size
|
534
534
|
|
@@ -540,7 +540,7 @@ __Returns:__
|
|
540
540
|
|
541
541
|
--
|
542
542
|
|
543
|
-
##### [start_driver](https://github.com/appium/ruby_lib/blob/
|
543
|
+
##### [start_driver](https://github.com/appium/ruby_lib/blob/0628c614e6620c606265883a8232dd021d03965d/lib/appium_lib/driver.rb#L453)
|
544
544
|
|
545
545
|
> def start_driver(http_client_ops =
|
546
546
|
|
@@ -557,7 +557,7 @@ __Returns:__
|
|
557
557
|
|
558
558
|
--
|
559
559
|
|
560
|
-
##### [set_implicit_wait](https://github.com/appium/ruby_lib/blob/
|
560
|
+
##### [set_implicit_wait](https://github.com/appium/ruby_lib/blob/0628c614e6620c606265883a8232dd021d03965d/lib/appium_lib/driver.rb#L477)
|
561
561
|
|
562
562
|
> def set_implicit_wait(wait)
|
563
563
|
|
@@ -565,7 +565,7 @@ To ignore error for Espresso Driver
|
|
565
565
|
|
566
566
|
--
|
567
567
|
|
568
|
-
##### [no_wait](https://github.com/appium/ruby_lib/blob/
|
568
|
+
##### [no_wait](https://github.com/appium/ruby_lib/blob/0628c614e6620c606265883a8232dd021d03965d/lib/appium_lib/driver.rb#L487)
|
569
569
|
|
570
570
|
> def no_wait
|
571
571
|
|
@@ -573,7 +573,7 @@ Set implicit wait to zero.
|
|
573
573
|
|
574
574
|
--
|
575
575
|
|
576
|
-
##### [set_wait](https://github.com/appium/ruby_lib/blob/
|
576
|
+
##### [set_wait](https://github.com/appium/ruby_lib/blob/0628c614e6620c606265883a8232dd021d03965d/lib/appium_lib/driver.rb#L501)
|
577
577
|
|
578
578
|
> def set_wait(timeout = nil)
|
579
579
|
|
@@ -589,7 +589,7 @@ __Returns:__
|
|
589
589
|
|
590
590
|
--
|
591
591
|
|
592
|
-
##### [exists](https://github.com/appium/ruby_lib/blob/
|
592
|
+
##### [exists](https://github.com/appium/ruby_lib/blob/0628c614e6620c606265883a8232dd021d03965d/lib/appium_lib/driver.rb#L518)
|
593
593
|
|
594
594
|
> def exists(pre_check = 0, post_check = @core.default_wait)
|
595
595
|
|
@@ -613,7 +613,7 @@ __Returns:__
|
|
613
613
|
|
614
614
|
--
|
615
615
|
|
616
|
-
##### [execute_script](https://github.com/appium/ruby_lib/blob/
|
616
|
+
##### [execute_script](https://github.com/appium/ruby_lib/blob/0628c614e6620c606265883a8232dd021d03965d/lib/appium_lib/driver.rb#L542)
|
617
617
|
|
618
618
|
> def execute_script(script, *args)
|
619
619
|
|
@@ -631,7 +631,7 @@ __Returns:__
|
|
631
631
|
|
632
632
|
--
|
633
633
|
|
634
|
-
##### [find_elements](https://github.com/appium/ruby_lib/blob/
|
634
|
+
##### [find_elements](https://github.com/appium/ruby_lib/blob/0628c614e6620c606265883a8232dd021d03965d/lib/appium_lib/driver.rb#L564)
|
635
635
|
|
636
636
|
> def find_elements(*args)
|
637
637
|
|
@@ -651,7 +651,7 @@ __Returns:__
|
|
651
651
|
|
652
652
|
--
|
653
653
|
|
654
|
-
##### [find_element](https://github.com/appium/ruby_lib/blob/
|
654
|
+
##### [find_element](https://github.com/appium/ruby_lib/blob/0628c614e6620c606265883a8232dd021d03965d/lib/appium_lib/driver.rb#L579)
|
655
655
|
|
656
656
|
> def find_element(*args)
|
657
657
|
|
@@ -669,7 +669,7 @@ __Returns:__
|
|
669
669
|
|
670
670
|
--
|
671
671
|
|
672
|
-
##### [set_location](https://github.com/appium/ruby_lib/blob/
|
672
|
+
##### [set_location](https://github.com/appium/ruby_lib/blob/0628c614e6620c606265883a8232dd021d03965d/lib/appium_lib/driver.rb#L592)
|
673
673
|
|
674
674
|
> def set_location(opts = {})
|
675
675
|
|
@@ -685,7 +685,7 @@ __Returns:__
|
|
685
685
|
|
686
686
|
--
|
687
687
|
|
688
|
-
##### [x](https://github.com/appium/ruby_lib/blob/
|
688
|
+
##### [x](https://github.com/appium/ruby_lib/blob/0628c614e6620c606265883a8232dd021d03965d/lib/appium_lib/driver.rb#L602)
|
689
689
|
|
690
690
|
> def x
|
691
691
|
|
@@ -698,7 +698,7 @@ __Returns:__
|
|
698
698
|
|
699
699
|
--
|
700
700
|
|
701
|
-
##### [username](https://github.com/appium/ruby_lib/blob/
|
701
|
+
##### [username](https://github.com/appium/ruby_lib/blob/0628c614e6620c606265883a8232dd021d03965d/lib/appium_lib/sauce_labs.rb#L4)
|
702
702
|
|
703
703
|
> def username
|
704
704
|
|
@@ -706,7 +706,7 @@ Username for use on Sauce Labs. Set `false` to disable Sauce, even when SAUCE_US
|
|
706
706
|
|
707
707
|
--
|
708
708
|
|
709
|
-
##### [access_key](https://github.com/appium/ruby_lib/blob/
|
709
|
+
##### [access_key](https://github.com/appium/ruby_lib/blob/0628c614e6620c606265883a8232dd021d03965d/lib/appium_lib/sauce_labs.rb#L6)
|
710
710
|
|
711
711
|
> def access_key
|
712
712
|
|
@@ -714,7 +714,7 @@ Access Key for use on Sauce Labs. Set `false` to disable Sauce, even when SAUCE_
|
|
714
714
|
|
715
715
|
--
|
716
716
|
|
717
|
-
##### [endpoint](https://github.com/appium/ruby_lib/blob/
|
717
|
+
##### [endpoint](https://github.com/appium/ruby_lib/blob/0628c614e6620c606265883a8232dd021d03965d/lib/appium_lib/sauce_labs.rb#L8)
|
718
718
|
|
719
719
|
> def endpoint
|
720
720
|
|
@@ -722,7 +722,7 @@ Override the Sauce Appium endpoint to allow e.g. TestObject tests. Default is 'o
|
|
722
722
|
|
723
723
|
--
|
724
724
|
|
725
|
-
##### [initialize](https://github.com/appium/ruby_lib/blob/
|
725
|
+
##### [initialize](https://github.com/appium/ruby_lib/blob/0628c614e6620c606265883a8232dd021d03965d/lib/appium_lib/sauce_labs.rb#L33)
|
726
726
|
|
727
727
|
> def initialize(appium_lib_opts)
|
728
728
|
|
@@ -738,7 +738,7 @@ __Returns:__
|
|
738
738
|
|
739
739
|
--
|
740
740
|
|
741
|
-
##### [sauce_server_url?](https://github.com/appium/ruby_lib/blob/
|
741
|
+
##### [sauce_server_url?](https://github.com/appium/ruby_lib/blob/0628c614e6620c606265883a8232dd021d03965d/lib/appium_lib/sauce_labs.rb#L53)
|
742
742
|
|
743
743
|
> def sauce_server_url?
|
744
744
|
|
@@ -750,7 +750,7 @@ __Returns:__
|
|
750
750
|
|
751
751
|
--
|
752
752
|
|
753
|
-
##### [server_url](https://github.com/appium/ruby_lib/blob/
|
753
|
+
##### [server_url](https://github.com/appium/ruby_lib/blob/0628c614e6620c606265883a8232dd021d03965d/lib/appium_lib/sauce_labs.rb#L66)
|
754
754
|
|
755
755
|
> def server_url
|
756
756
|
|
@@ -762,7 +762,7 @@ __Returns:__
|
|
762
762
|
|
763
763
|
--
|
764
764
|
|
765
|
-
##### [get_log](https://github.com/appium/ruby_lib/blob/
|
765
|
+
##### [get_log](https://github.com/appium/ruby_lib/blob/0628c614e6620c606265883a8232dd021d03965d/lib/appium_lib/common/log.rb#L11)
|
766
766
|
|
767
767
|
> def get_log(type)
|
768
768
|
|
@@ -778,7 +778,7 @@ __Returns:__
|
|
778
778
|
|
779
779
|
--
|
780
780
|
|
781
|
-
##### [get_available_log_types](https://github.com/appium/ruby_lib/blob/
|
781
|
+
##### [get_available_log_types](https://github.com/appium/ruby_lib/blob/0628c614e6620c606265883a8232dd021d03965d/lib/appium_lib/common/log.rb#L23)
|
782
782
|
|
783
783
|
> def get_available_log_types
|
784
784
|
|
@@ -790,7 +790,7 @@ __Returns:__
|
|
790
790
|
|
791
791
|
--
|
792
792
|
|
793
|
-
##### [initialize](https://github.com/appium/ruby_lib/blob/
|
793
|
+
##### [initialize](https://github.com/appium/ruby_lib/blob/0628c614e6620c606265883a8232dd021d03965d/lib/appium_lib/common/wait.rb#L6)
|
794
794
|
|
795
795
|
> def initialize(opts = {})
|
796
796
|
|
@@ -802,7 +802,7 @@ __Returns:__
|
|
802
802
|
|
803
803
|
--
|
804
804
|
|
805
|
-
##### [wait_true](https://github.com/appium/ruby_lib/blob/
|
805
|
+
##### [wait_true](https://github.com/appium/ruby_lib/blob/0628c614e6620c606265883a8232dd021d03965d/lib/appium_lib/common/wait.rb#L26)
|
806
806
|
|
807
807
|
> def wait_true(opts = {})
|
808
808
|
|
@@ -822,7 +822,7 @@ __Parameters:__
|
|
822
822
|
|
823
823
|
--
|
824
824
|
|
825
|
-
##### [wait](https://github.com/appium/ruby_lib/blob/
|
825
|
+
##### [wait](https://github.com/appium/ruby_lib/blob/0628c614e6620c606265883a8232dd021d03965d/lib/appium_lib/common/wait.rb#L43)
|
826
826
|
|
827
827
|
> def wait(opts = {})
|
828
828
|
|
@@ -840,7 +840,7 @@ __Parameters:__
|
|
840
840
|
|
841
841
|
--
|
842
842
|
|
843
|
-
##### [add_touch_actions](https://github.com/appium/ruby_lib/blob/
|
843
|
+
##### [add_touch_actions](https://github.com/appium/ruby_lib/blob/0628c614e6620c606265883a8232dd021d03965d/lib/appium_lib/common/device.rb#L12)
|
844
844
|
|
845
845
|
> def add_touch_actions
|
846
846
|
|
@@ -848,7 +848,7 @@ __Parameters:__
|
|
848
848
|
|
849
849
|
--
|
850
850
|
|
851
|
-
##### [ignore](https://github.com/appium/ruby_lib/blob/
|
851
|
+
##### [ignore](https://github.com/appium/ruby_lib/blob/0628c614e6620c606265883a8232dd021d03965d/lib/appium_lib/common/helper.rb#L16)
|
852
852
|
|
853
853
|
> def ignore
|
854
854
|
|
@@ -856,7 +856,7 @@ Return yield and ignore any exceptions.
|
|
856
856
|
|
857
857
|
--
|
858
858
|
|
859
|
-
##### [back](https://github.com/appium/ruby_lib/blob/
|
859
|
+
##### [back](https://github.com/appium/ruby_lib/blob/0628c614e6620c606265883a8232dd021d03965d/lib/appium_lib/common/helper.rb#L23)
|
860
860
|
|
861
861
|
> def back
|
862
862
|
|
@@ -868,7 +868,7 @@ __Returns:__
|
|
868
868
|
|
869
869
|
--
|
870
870
|
|
871
|
-
##### [session_id](https://github.com/appium/ruby_lib/blob/
|
871
|
+
##### [session_id](https://github.com/appium/ruby_lib/blob/0628c614e6620c606265883a8232dd021d03965d/lib/appium_lib/common/helper.rb#L34)
|
872
872
|
|
873
873
|
> def session_id
|
874
874
|
|
@@ -880,7 +880,7 @@ __Returns:__
|
|
880
880
|
|
881
881
|
--
|
882
882
|
|
883
|
-
##### [xpath](https://github.com/appium/ruby_lib/blob/
|
883
|
+
##### [xpath](https://github.com/appium/ruby_lib/blob/0628c614e6620c606265883a8232dd021d03965d/lib/appium_lib/common/helper.rb#L42)
|
884
884
|
|
885
885
|
> def xpath(xpath_str)
|
886
886
|
|
@@ -896,7 +896,7 @@ __Returns:__
|
|
896
896
|
|
897
897
|
--
|
898
898
|
|
899
|
-
##### [xpaths](https://github.com/appium/ruby_lib/blob/
|
899
|
+
##### [xpaths](https://github.com/appium/ruby_lib/blob/0628c614e6620c606265883a8232dd021d03965d/lib/appium_lib/common/helper.rb#L50)
|
900
900
|
|
901
901
|
> def xpaths(xpath_str)
|
902
902
|
|
@@ -912,7 +912,7 @@ __Returns:__
|
|
912
912
|
|
913
913
|
--
|
914
914
|
|
915
|
-
##### [result](https://github.com/appium/ruby_lib/blob/
|
915
|
+
##### [result](https://github.com/appium/ruby_lib/blob/0628c614e6620c606265883a8232dd021d03965d/lib/appium_lib/common/helper.rb#L61)
|
916
916
|
|
917
917
|
> def result
|
918
918
|
|
@@ -920,7 +920,7 @@ Returns the value of attribute result
|
|
920
920
|
|
921
921
|
--
|
922
922
|
|
923
|
-
##### [initialize](https://github.com/appium/ruby_lib/blob/
|
923
|
+
##### [initialize](https://github.com/appium/ruby_lib/blob/0628c614e6620c606265883a8232dd021d03965d/lib/appium_lib/common/helper.rb#L63)
|
924
924
|
|
925
925
|
> def initialize
|
926
926
|
|
@@ -932,7 +932,7 @@ __Returns:__
|
|
932
932
|
|
933
933
|
--
|
934
934
|
|
935
|
-
##### [reset](https://github.com/appium/ruby_lib/blob/
|
935
|
+
##### [reset](https://github.com/appium/ruby_lib/blob/0628c614e6620c606265883a8232dd021d03965d/lib/appium_lib/common/helper.rb#L67)
|
936
936
|
|
937
937
|
> def reset
|
938
938
|
|
@@ -940,7 +940,7 @@ __Returns:__
|
|
940
940
|
|
941
941
|
--
|
942
942
|
|
943
|
-
##### [start_element](https://github.com/appium/ruby_lib/blob/
|
943
|
+
##### [start_element](https://github.com/appium/ruby_lib/blob/0628c614e6620c606265883a8232dd021d03965d/lib/appium_lib/common/helper.rb#L72)
|
944
944
|
|
945
945
|
> def start_element(name, attrs = [], driver = $driver)
|
946
946
|
|
@@ -948,7 +948,7 @@ http://nokogiri.org/Nokogiri/XML/SAX/Document.html
|
|
948
948
|
|
949
949
|
--
|
950
950
|
|
951
|
-
##### [formatted_result](https://github.com/appium/ruby_lib/blob/
|
951
|
+
##### [formatted_result](https://github.com/appium/ruby_lib/blob/0628c614e6620c606265883a8232dd021d03965d/lib/appium_lib/common/helper.rb#L78)
|
952
952
|
|
953
953
|
> def formatted_result
|
954
954
|
|
@@ -956,7 +956,7 @@ http://nokogiri.org/Nokogiri/XML/SAX/Document.html
|
|
956
956
|
|
957
957
|
--
|
958
958
|
|
959
|
-
##### [get_page_class](https://github.com/appium/ruby_lib/blob/
|
959
|
+
##### [get_page_class](https://github.com/appium/ruby_lib/blob/0628c614e6620c606265883a8232dd021d03965d/lib/appium_lib/common/helper.rb#L97)
|
960
960
|
|
961
961
|
> def get_page_class
|
962
962
|
|
@@ -968,7 +968,7 @@ __Returns:__
|
|
968
968
|
|
969
969
|
--
|
970
970
|
|
971
|
-
##### [page_class](https://github.com/appium/ruby_lib/blob/
|
971
|
+
##### [page_class](https://github.com/appium/ruby_lib/blob/0628c614e6620c606265883a8232dd021d03965d/lib/appium_lib/common/helper.rb#L122)
|
972
972
|
|
973
973
|
> def page_class
|
974
974
|
|
@@ -981,7 +981,7 @@ __Returns:__
|
|
981
981
|
|
982
982
|
--
|
983
983
|
|
984
|
-
##### [source](https://github.com/appium/ruby_lib/blob/
|
984
|
+
##### [source](https://github.com/appium/ruby_lib/blob/0628c614e6620c606265883a8232dd021d03965d/lib/appium_lib/common/helper.rb#L129)
|
985
985
|
|
986
986
|
> def source
|
987
987
|
|
@@ -993,7 +993,7 @@ __Returns:__
|
|
993
993
|
|
994
994
|
--
|
995
995
|
|
996
|
-
##### [get_source](https://github.com/appium/ruby_lib/blob/
|
996
|
+
##### [get_source](https://github.com/appium/ruby_lib/blob/0628c614e6620c606265883a8232dd021d03965d/lib/appium_lib/common/helper.rb#L136)
|
997
997
|
|
998
998
|
> def get_source
|
999
999
|
|
@@ -1006,7 +1006,7 @@ __Returns:__
|
|
1006
1006
|
|
1007
1007
|
--
|
1008
1008
|
|
1009
|
-
##### [px_to_window_rel](https://github.com/appium/ruby_lib/blob/
|
1009
|
+
##### [px_to_window_rel](https://github.com/appium/ruby_lib/blob/0628c614e6620c606265883a8232dd021d03965d/lib/appium_lib/common/helper.rb#L146)
|
1010
1010
|
|
1011
1011
|
> def px_to_window_rel(opts = {}, driver = $driver)
|
1012
1012
|
|
@@ -1014,7 +1014,7 @@ Converts pixel values to window relative values
|
|
1014
1014
|
|
1015
1015
|
--
|
1016
1016
|
|
1017
|
-
##### [xml_keys](https://github.com/appium/ruby_lib/blob/
|
1017
|
+
##### [xml_keys](https://github.com/appium/ruby_lib/blob/0628c614e6620c606265883a8232dd021d03965d/lib/appium_lib/common/helper.rb#L165)
|
1018
1018
|
|
1019
1019
|
> def xml_keys(target)
|
1020
1020
|
|
@@ -1030,7 +1030,7 @@ __Returns:__
|
|
1030
1030
|
|
1031
1031
|
--
|
1032
1032
|
|
1033
|
-
##### [xml_values](https://github.com/appium/ruby_lib/blob/
|
1033
|
+
##### [xml_values](https://github.com/appium/ruby_lib/blob/0628c614e6620c606265883a8232dd021d03965d/lib/appium_lib/common/helper.rb#L173)
|
1034
1034
|
|
1035
1035
|
> def xml_values(target)
|
1036
1036
|
|
@@ -1046,7 +1046,7 @@ __Returns:__
|
|
1046
1046
|
|
1047
1047
|
--
|
1048
1048
|
|
1049
|
-
##### [resolve_id](https://github.com/appium/ruby_lib/blob/
|
1049
|
+
##### [resolve_id](https://github.com/appium/ruby_lib/blob/0628c614e6620c606265883a8232dd021d03965d/lib/appium_lib/common/helper.rb#L181)
|
1050
1050
|
|
1051
1051
|
> def resolve_id(id)
|
1052
1052
|
|
@@ -1062,7 +1062,7 @@ __Returns:__
|
|
1062
1062
|
|
1063
1063
|
--
|
1064
1064
|
|
1065
|
-
##### [filter](https://github.com/appium/ruby_lib/blob/
|
1065
|
+
##### [filter](https://github.com/appium/ruby_lib/blob/0628c614e6620c606265883a8232dd021d03965d/lib/appium_lib/common/helper.rb#L188)
|
1066
1066
|
|
1067
1067
|
> def filter
|
1068
1068
|
|
@@ -1070,7 +1070,7 @@ Returns the value of attribute filter
|
|
1070
1070
|
|
1071
1071
|
--
|
1072
1072
|
|
1073
|
-
##### [filter=](https://github.com/appium/ruby_lib/blob/
|
1073
|
+
##### [filter=](https://github.com/appium/ruby_lib/blob/0628c614e6620c606265883a8232dd021d03965d/lib/appium_lib/common/helper.rb#L191)
|
1074
1074
|
|
1075
1075
|
> def filter=(value)
|
1076
1076
|
|
@@ -1078,7 +1078,7 @@ convert to string to support symbols
|
|
1078
1078
|
|
1079
1079
|
--
|
1080
1080
|
|
1081
|
-
##### [initialize](https://github.com/appium/ruby_lib/blob/
|
1081
|
+
##### [initialize](https://github.com/appium/ruby_lib/blob/0628c614e6620c606265883a8232dd021d03965d/lib/appium_lib/common/helper.rb#L197)
|
1082
1082
|
|
1083
1083
|
> def initialize
|
1084
1084
|
|
@@ -1090,7 +1090,7 @@ __Returns:__
|
|
1090
1090
|
|
1091
1091
|
--
|
1092
1092
|
|
1093
|
-
##### [reset](https://github.com/appium/ruby_lib/blob/
|
1093
|
+
##### [reset](https://github.com/appium/ruby_lib/blob/0628c614e6620c606265883a8232dd021d03965d/lib/appium_lib/common/helper.rb#L202)
|
1094
1094
|
|
1095
1095
|
> def reset
|
1096
1096
|
|
@@ -1098,7 +1098,7 @@ __Returns:__
|
|
1098
1098
|
|
1099
1099
|
--
|
1100
1100
|
|
1101
|
-
##### [result](https://github.com/appium/ruby_lib/blob/
|
1101
|
+
##### [result](https://github.com/appium/ruby_lib/blob/0628c614e6620c606265883a8232dd021d03965d/lib/appium_lib/common/helper.rb#L208)
|
1102
1102
|
|
1103
1103
|
> def result
|
1104
1104
|
|
@@ -1106,7 +1106,7 @@ __Returns:__
|
|
1106
1106
|
|
1107
1107
|
--
|
1108
1108
|
|
1109
|
-
##### [start_element](https://github.com/appium/ruby_lib/blob/
|
1109
|
+
##### [start_element](https://github.com/appium/ruby_lib/blob/0628c614e6620c606265883a8232dd021d03965d/lib/appium_lib/common/helper.rb#L224)
|
1110
1110
|
|
1111
1111
|
> def start_element(name, attrs = [])
|
1112
1112
|
|
@@ -1114,7 +1114,7 @@ __Returns:__
|
|
1114
1114
|
|
1115
1115
|
--
|
1116
1116
|
|
1117
|
-
##### [end_element](https://github.com/appium/ruby_lib/blob/
|
1117
|
+
##### [end_element](https://github.com/appium/ruby_lib/blob/0628c614e6620c606265883a8232dd021d03965d/lib/appium_lib/common/helper.rb#L233)
|
1118
1118
|
|
1119
1119
|
> def end_element(name)
|
1120
1120
|
|
@@ -1122,7 +1122,7 @@ __Returns:__
|
|
1122
1122
|
|
1123
1123
|
--
|
1124
1124
|
|
1125
|
-
##### [characters](https://github.com/appium/ruby_lib/blob/
|
1125
|
+
##### [characters](https://github.com/appium/ruby_lib/blob/0628c614e6620c606265883a8232dd021d03965d/lib/appium_lib/common/helper.rb#L239)
|
1126
1126
|
|
1127
1127
|
> def characters(chars)
|
1128
1128
|
|
@@ -1130,7 +1130,7 @@ __Returns:__
|
|
1130
1130
|
|
1131
1131
|
--
|
1132
1132
|
|
1133
|
-
##### [DEFAULT_HEADERS](https://github.com/appium/ruby_lib/blob/
|
1133
|
+
##### [DEFAULT_HEADERS](https://github.com/appium/ruby_lib/blob/0628c614e6620c606265883a8232dd021d03965d/lib/appium_lib/common/http_client.rb#L8)
|
1134
1134
|
|
1135
1135
|
> DEFAULT_HEADERS = { 'Accept' => CONTENT_TYPE, 'User-Agent' => "appium/ruby_lib/#{::Appium::VERSION}" }.freeze
|
1136
1136
|
|
@@ -1138,7 +1138,7 @@ Default HTTP client inherit Appium::Core::Base::Http::Default, but has different
|
|
1138
1138
|
|
1139
1139
|
--
|
1140
1140
|
|
1141
|
-
##### [pinch](https://github.com/appium/ruby_lib/blob/
|
1141
|
+
##### [pinch](https://github.com/appium/ruby_lib/blob/0628c614e6620c606265883a8232dd021d03965d/lib/appium_lib/common/multi_touch.rb#L51)
|
1142
1142
|
|
1143
1143
|
> def pinch(percentage = 25, auto_perform = true, driver = $driver)
|
1144
1144
|
|
@@ -1158,7 +1158,7 @@ __Parameters:__
|
|
1158
1158
|
|
1159
1159
|
--
|
1160
1160
|
|
1161
|
-
##### [zoom](https://github.com/appium/ruby_lib/blob/
|
1161
|
+
##### [zoom](https://github.com/appium/ruby_lib/blob/0628c614e6620c606265883a8232dd021d03965d/lib/appium_lib/common/multi_touch.rb#L95)
|
1162
1162
|
|
1163
1163
|
> def zoom(percentage = 200, auto_perform = true, driver = $driver)
|
1164
1164
|
|
@@ -1178,7 +1178,7 @@ __Parameters:__
|
|
1178
1178
|
|
1179
1179
|
--
|
1180
1180
|
|
1181
|
-
##### [initialize](https://github.com/appium/ruby_lib/blob/
|
1181
|
+
##### [initialize](https://github.com/appium/ruby_lib/blob/0628c614e6620c606265883a8232dd021d03965d/lib/appium_lib/common/multi_touch.rb#L216)
|
1182
1182
|
|
1183
1183
|
> def initialize(driver = $driver)
|
1184
1184
|
|
@@ -1190,7 +1190,7 @@ __Returns:__
|
|
1190
1190
|
|
1191
1191
|
--
|
1192
1192
|
|
1193
|
-
##### [COMPLEX_ACTIONS](https://github.com/appium/ruby_lib/blob/
|
1193
|
+
##### [COMPLEX_ACTIONS](https://github.com/appium/ruby_lib/blob/0628c614e6620c606265883a8232dd021d03965d/lib/appium_lib/common/touch_actions.rb#L33)
|
1194
1194
|
|
1195
1195
|
> COMPLEX_ACTIONS = ::Appium::Core::TouchAction::COMPLEX_ACTIONS
|
1196
1196
|
|
@@ -1198,7 +1198,7 @@ __Returns:__
|
|
1198
1198
|
|
1199
1199
|
--
|
1200
1200
|
|
1201
|
-
##### [initialize](https://github.com/appium/ruby_lib/blob/
|
1201
|
+
##### [initialize](https://github.com/appium/ruby_lib/blob/0628c614e6620c606265883a8232dd021d03965d/lib/appium_lib/common/touch_actions.rb#L47)
|
1202
1202
|
|
1203
1203
|
> def initialize(driver = $driver)
|
1204
1204
|
|
@@ -1210,7 +1210,7 @@ __Returns:__
|
|
1210
1210
|
|
1211
1211
|
--
|
1212
1212
|
|
1213
|
-
##### [swipe](https://github.com/appium/ruby_lib/blob/
|
1213
|
+
##### [swipe](https://github.com/appium/ruby_lib/blob/0628c614e6620c606265883a8232dd021d03965d/lib/appium_lib/common/touch_actions.rb#L51)
|
1214
1214
|
|
1215
1215
|
> def swipe(opts, ele = nil)
|
1216
1216
|
|
@@ -1218,7 +1218,7 @@ __Returns:__
|
|
1218
1218
|
|
1219
1219
|
--
|
1220
1220
|
|
1221
|
-
##### [for](https://github.com/appium/ruby_lib/blob/
|
1221
|
+
##### [for](https://github.com/appium/ruby_lib/blob/0628c614e6620c606265883a8232dd021d03965d/lib/appium_lib/android/android.rb#L18) android
|
1222
1222
|
|
1223
1223
|
> def self.for(target)
|
1224
1224
|
|
@@ -1226,7 +1226,7 @@ __Returns:__
|
|
1226
1226
|
|
1227
1227
|
--
|
1228
1228
|
|
1229
|
-
##### [TextView](https://github.com/appium/ruby_lib/blob/
|
1229
|
+
##### [TextView](https://github.com/appium/ruby_lib/blob/0628c614e6620c606265883a8232dd021d03965d/lib/appium_lib/android/element/text.rb#L4) android
|
1230
1230
|
|
1231
1231
|
> TextView = 'android.widget.TextView'.freeze
|
1232
1232
|
|
@@ -1234,7 +1234,7 @@ __Returns:__
|
|
1234
1234
|
|
1235
1235
|
--
|
1236
1236
|
|
1237
|
-
##### [text](https://github.com/appium/ruby_lib/blob/
|
1237
|
+
##### [text](https://github.com/appium/ruby_lib/blob/0628c614e6620c606265883a8232dd021d03965d/lib/appium_lib/android/element/text.rb#L10) android
|
1238
1238
|
|
1239
1239
|
> def text(value)
|
1240
1240
|
|
@@ -1251,7 +1251,7 @@ __Returns:__
|
|
1251
1251
|
|
1252
1252
|
--
|
1253
1253
|
|
1254
|
-
##### [texts](https://github.com/appium/ruby_lib/blob/
|
1254
|
+
##### [texts](https://github.com/appium/ruby_lib/blob/0628c614e6620c606265883a8232dd021d03965d/lib/appium_lib/android/element/text.rb#L19) android
|
1255
1255
|
|
1256
1256
|
> def texts(value = false)
|
1257
1257
|
|
@@ -1268,7 +1268,7 @@ __Returns:__
|
|
1268
1268
|
|
1269
1269
|
--
|
1270
1270
|
|
1271
|
-
##### [first_text](https://github.com/appium/ruby_lib/blob/
|
1271
|
+
##### [first_text](https://github.com/appium/ruby_lib/blob/0628c614e6620c606265883a8232dd021d03965d/lib/appium_lib/android/element/text.rb#L26) android
|
1272
1272
|
|
1273
1273
|
> def first_text
|
1274
1274
|
|
@@ -1280,7 +1280,7 @@ __Returns:__
|
|
1280
1280
|
|
1281
1281
|
--
|
1282
1282
|
|
1283
|
-
##### [last_text](https://github.com/appium/ruby_lib/blob/
|
1283
|
+
##### [last_text](https://github.com/appium/ruby_lib/blob/0628c614e6620c606265883a8232dd021d03965d/lib/appium_lib/android/element/text.rb#L32) android
|
1284
1284
|
|
1285
1285
|
> def last_text
|
1286
1286
|
|
@@ -1292,7 +1292,7 @@ __Returns:__
|
|
1292
1292
|
|
1293
1293
|
--
|
1294
1294
|
|
1295
|
-
##### [text_exact](https://github.com/appium/ruby_lib/blob/
|
1295
|
+
##### [text_exact](https://github.com/appium/ruby_lib/blob/0628c614e6620c606265883a8232dd021d03965d/lib/appium_lib/android/element/text.rb#L39) android
|
1296
1296
|
|
1297
1297
|
> def text_exact(value)
|
1298
1298
|
|
@@ -1308,7 +1308,7 @@ __Returns:__
|
|
1308
1308
|
|
1309
1309
|
--
|
1310
1310
|
|
1311
|
-
##### [texts_exact](https://github.com/appium/ruby_lib/blob/
|
1311
|
+
##### [texts_exact](https://github.com/appium/ruby_lib/blob/0628c614e6620c606265883a8232dd021d03965d/lib/appium_lib/android/element/text.rb#L46) android
|
1312
1312
|
|
1313
1313
|
> def texts_exact(value)
|
1314
1314
|
|
@@ -1324,7 +1324,7 @@ __Returns:__
|
|
1324
1324
|
|
1325
1325
|
--
|
1326
1326
|
|
1327
|
-
##### [result](https://github.com/appium/ruby_lib/blob/
|
1327
|
+
##### [result](https://github.com/appium/ruby_lib/blob/0628c614e6620c606265883a8232dd021d03965d/lib/appium_lib/android/common/helper.rb#L6) android
|
1328
1328
|
|
1329
1329
|
> def result
|
1330
1330
|
|
@@ -1332,7 +1332,7 @@ Returns the value of attribute result
|
|
1332
1332
|
|
1333
1333
|
--
|
1334
1334
|
|
1335
|
-
##### [keys](https://github.com/appium/ruby_lib/blob/
|
1335
|
+
##### [keys](https://github.com/appium/ruby_lib/blob/0628c614e6620c606265883a8232dd021d03965d/lib/appium_lib/android/common/helper.rb#L6) android
|
1336
1336
|
|
1337
1337
|
> def keys
|
1338
1338
|
|
@@ -1340,7 +1340,7 @@ Returns the value of attribute keys
|
|
1340
1340
|
|
1341
1341
|
--
|
1342
1342
|
|
1343
|
-
##### [filter](https://github.com/appium/ruby_lib/blob/
|
1343
|
+
##### [filter](https://github.com/appium/ruby_lib/blob/0628c614e6620c606265883a8232dd021d03965d/lib/appium_lib/android/common/helper.rb#L6) android
|
1344
1344
|
|
1345
1345
|
> def filter
|
1346
1346
|
|
@@ -1348,7 +1348,7 @@ Returns the value of attribute filter
|
|
1348
1348
|
|
1349
1349
|
--
|
1350
1350
|
|
1351
|
-
##### [filter=](https://github.com/appium/ruby_lib/blob/
|
1351
|
+
##### [filter=](https://github.com/appium/ruby_lib/blob/0628c614e6620c606265883a8232dd021d03965d/lib/appium_lib/android/common/helper.rb#L9) android
|
1352
1352
|
|
1353
1353
|
> def filter=(value)
|
1354
1354
|
|
@@ -1356,7 +1356,7 @@ convert to string to support symbols
|
|
1356
1356
|
|
1357
1357
|
--
|
1358
1358
|
|
1359
|
-
##### [initialize](https://github.com/appium/ruby_lib/blob/
|
1359
|
+
##### [initialize](https://github.com/appium/ruby_lib/blob/0628c614e6620c606265883a8232dd021d03965d/lib/appium_lib/android/common/helper.rb#L15) android
|
1360
1360
|
|
1361
1361
|
> def initialize
|
1362
1362
|
|
@@ -1368,7 +1368,7 @@ __Returns:__
|
|
1368
1368
|
|
1369
1369
|
--
|
1370
1370
|
|
1371
|
-
##### [reset](https://github.com/appium/ruby_lib/blob/
|
1371
|
+
##### [reset](https://github.com/appium/ruby_lib/blob/0628c614e6620c606265883a8232dd021d03965d/lib/appium_lib/android/common/helper.rb#L20) android
|
1372
1372
|
|
1373
1373
|
> def reset
|
1374
1374
|
|
@@ -1376,7 +1376,7 @@ __Returns:__
|
|
1376
1376
|
|
1377
1377
|
--
|
1378
1378
|
|
1379
|
-
##### [start_element](https://github.com/appium/ruby_lib/blob/
|
1379
|
+
##### [start_element](https://github.com/appium/ruby_lib/blob/0628c614e6620c606265883a8232dd021d03965d/lib/appium_lib/android/common/helper.rb#L26) android
|
1380
1380
|
|
1381
1381
|
> def start_element(name, attrs = [], driver = $driver)
|
1382
1382
|
|
@@ -1384,7 +1384,7 @@ http://nokogiri.org/Nokogiri/XML/SAX/Document.html
|
|
1384
1384
|
|
1385
1385
|
--
|
1386
1386
|
|
1387
|
-
##### [get_android_inspect](https://github.com/appium/ruby_lib/blob/
|
1387
|
+
##### [get_android_inspect](https://github.com/appium/ruby_lib/blob/0628c614e6620c606265883a8232dd021d03965d/lib/appium_lib/android/common/helper.rb#L80) android
|
1388
1388
|
|
1389
1389
|
> def get_android_inspect(class_name = false)
|
1390
1390
|
|
@@ -1403,7 +1403,7 @@ __Returns:__
|
|
1403
1403
|
|
1404
1404
|
--
|
1405
1405
|
|
1406
|
-
##### [page](https://github.com/appium/ruby_lib/blob/
|
1406
|
+
##### [page](https://github.com/appium/ruby_lib/blob/0628c614e6620c606265883a8232dd021d03965d/lib/appium_lib/android/common/helper.rb#L106) android
|
1407
1407
|
|
1408
1408
|
> def page(opts = {})
|
1409
1409
|
|
@@ -1422,7 +1422,7 @@ __Returns:__
|
|
1422
1422
|
|
1423
1423
|
--
|
1424
1424
|
|
1425
|
-
##### [current_app](https://github.com/appium/ruby_lib/blob/
|
1425
|
+
##### [current_app](https://github.com/appium/ruby_lib/blob/0628c614e6620c606265883a8232dd021d03965d/lib/appium_lib/android/common/helper.rb#L118) android
|
1426
1426
|
|
1427
1427
|
> def current_app
|
1428
1428
|
|
@@ -1432,7 +1432,7 @@ example line:
|
|
1432
1432
|
|
1433
1433
|
--
|
1434
1434
|
|
1435
|
-
##### [id](https://github.com/appium/ruby_lib/blob/
|
1435
|
+
##### [id](https://github.com/appium/ruby_lib/blob/0628c614e6620c606265883a8232dd021d03965d/lib/appium_lib/android/common/helper.rb#L145) android
|
1436
1436
|
|
1437
1437
|
> def id(id)
|
1438
1438
|
|
@@ -1448,7 +1448,7 @@ __Returns:__
|
|
1448
1448
|
|
1449
1449
|
--
|
1450
1450
|
|
1451
|
-
##### [ids](https://github.com/appium/ruby_lib/blob/
|
1451
|
+
##### [ids](https://github.com/appium/ruby_lib/blob/0628c614e6620c606265883a8232dd021d03965d/lib/appium_lib/android/common/helper.rb#L153) android
|
1452
1452
|
|
1453
1453
|
> def ids(id)
|
1454
1454
|
|
@@ -1464,7 +1464,7 @@ __Returns:__
|
|
1464
1464
|
|
1465
1465
|
--
|
1466
1466
|
|
1467
|
-
##### [ele_index](https://github.com/appium/ruby_lib/blob/
|
1467
|
+
##### [ele_index](https://github.com/appium/ruby_lib/blob/0628c614e6620c606265883a8232dd021d03965d/lib/appium_lib/android/common/helper.rb#L162) android
|
1468
1468
|
|
1469
1469
|
> def ele_index(class_name, index)
|
1470
1470
|
|
@@ -1482,7 +1482,7 @@ __Returns:__
|
|
1482
1482
|
|
1483
1483
|
--
|
1484
1484
|
|
1485
|
-
##### [first_ele](https://github.com/appium/ruby_lib/blob/
|
1485
|
+
##### [first_ele](https://github.com/appium/ruby_lib/blob/0628c614e6620c606265883a8232dd021d03965d/lib/appium_lib/android/common/helper.rb#L180) android
|
1486
1486
|
|
1487
1487
|
> def first_ele(class_name)
|
1488
1488
|
|
@@ -1498,7 +1498,7 @@ __Returns:__
|
|
1498
1498
|
|
1499
1499
|
--
|
1500
1500
|
|
1501
|
-
##### [last_ele](https://github.com/appium/ruby_lib/blob/
|
1501
|
+
##### [last_ele](https://github.com/appium/ruby_lib/blob/0628c614e6620c606265883a8232dd021d03965d/lib/appium_lib/android/common/helper.rb#L187) android
|
1502
1502
|
|
1503
1503
|
> def last_ele(class_name)
|
1504
1504
|
|
@@ -1514,7 +1514,7 @@ __Returns:__
|
|
1514
1514
|
|
1515
1515
|
--
|
1516
1516
|
|
1517
|
-
##### [tag](https://github.com/appium/ruby_lib/blob/
|
1517
|
+
##### [tag](https://github.com/appium/ruby_lib/blob/0628c614e6620c606265883a8232dd021d03965d/lib/appium_lib/android/common/helper.rb#L195) android
|
1518
1518
|
|
1519
1519
|
> def tag(class_name)
|
1520
1520
|
|
@@ -1530,7 +1530,7 @@ __Returns:__
|
|
1530
1530
|
|
1531
1531
|
--
|
1532
1532
|
|
1533
|
-
##### [tags](https://github.com/appium/ruby_lib/blob/
|
1533
|
+
##### [tags](https://github.com/appium/ruby_lib/blob/0628c614e6620c606265883a8232dd021d03965d/lib/appium_lib/android/common/helper.rb#L203) android
|
1534
1534
|
|
1535
1535
|
> def tags(class_name)
|
1536
1536
|
|
@@ -1546,7 +1546,7 @@ __Returns:__
|
|
1546
1546
|
|
1547
1547
|
--
|
1548
1548
|
|
1549
|
-
##### [string_visible_contains_xpath](https://github.com/appium/ruby_lib/blob/
|
1549
|
+
##### [string_visible_contains_xpath](https://github.com/appium/ruby_lib/blob/0628c614e6620c606265883a8232dd021d03965d/lib/appium_lib/android/common/helper.rb#L246) android
|
1550
1550
|
|
1551
1551
|
> def string_visible_contains_xpath(class_name, value)
|
1552
1552
|
|
@@ -1567,7 +1567,7 @@ __Returns:__
|
|
1567
1567
|
|
1568
1568
|
--
|
1569
1569
|
|
1570
|
-
##### [string_visible_contains](https://github.com/appium/ruby_lib/blob/
|
1570
|
+
##### [string_visible_contains](https://github.com/appium/ruby_lib/blob/0628c614e6620c606265883a8232dd021d03965d/lib/appium_lib/android/common/helper.rb#L266) android
|
1571
1571
|
|
1572
1572
|
> def string_visible_contains(class_name, value)
|
1573
1573
|
|
@@ -1588,7 +1588,7 @@ __Returns:__
|
|
1588
1588
|
|
1589
1589
|
--
|
1590
1590
|
|
1591
|
-
##### [complex_find_contains](https://github.com/appium/ruby_lib/blob/
|
1591
|
+
##### [complex_find_contains](https://github.com/appium/ruby_lib/blob/0628c614e6620c606265883a8232dd021d03965d/lib/appium_lib/android/common/helper.rb#L284) android
|
1592
1592
|
|
1593
1593
|
> def complex_find_contains(class_name, value)
|
1594
1594
|
|
@@ -1606,7 +1606,7 @@ __Returns:__
|
|
1606
1606
|
|
1607
1607
|
--
|
1608
1608
|
|
1609
|
-
##### [complex_finds_contains](https://github.com/appium/ruby_lib/blob/
|
1609
|
+
##### [complex_finds_contains](https://github.com/appium/ruby_lib/blob/0628c614e6620c606265883a8232dd021d03965d/lib/appium_lib/android/common/helper.rb#L292) android
|
1610
1610
|
|
1611
1611
|
> def complex_finds_contains(class_name, value)
|
1612
1612
|
|
@@ -1624,7 +1624,7 @@ __Returns:__
|
|
1624
1624
|
|
1625
1625
|
--
|
1626
1626
|
|
1627
|
-
##### [complex_find_exact](https://github.com/appium/ruby_lib/blob/
|
1627
|
+
##### [complex_find_exact](https://github.com/appium/ruby_lib/blob/0628c614e6620c606265883a8232dd021d03965d/lib/appium_lib/android/common/helper.rb#L336) android
|
1628
1628
|
|
1629
1629
|
> def complex_find_exact(class_name, value)
|
1630
1630
|
|
@@ -1642,7 +1642,7 @@ __Returns:__
|
|
1642
1642
|
|
1643
1643
|
--
|
1644
1644
|
|
1645
|
-
##### [complex_finds_exact](https://github.com/appium/ruby_lib/blob/
|
1645
|
+
##### [complex_finds_exact](https://github.com/appium/ruby_lib/blob/0628c614e6620c606265883a8232dd021d03965d/lib/appium_lib/android/common/helper.rb#L344) android
|
1646
1646
|
|
1647
1647
|
> def complex_finds_exact(class_name, value)
|
1648
1648
|
|
@@ -1660,7 +1660,7 @@ __Returns:__
|
|
1660
1660
|
|
1661
1661
|
--
|
1662
1662
|
|
1663
|
-
##### [alert_click](https://github.com/appium/ruby_lib/blob/
|
1663
|
+
##### [alert_click](https://github.com/appium/ruby_lib/blob/0628c614e6620c606265883a8232dd021d03965d/lib/appium_lib/android/element/alert.rb#L6) android
|
1664
1664
|
|
1665
1665
|
> def alert_click(value)
|
1666
1666
|
|
@@ -1676,7 +1676,7 @@ __Returns:__
|
|
1676
1676
|
|
1677
1677
|
--
|
1678
1678
|
|
1679
|
-
##### [alert_accept](https://github.com/appium/ruby_lib/blob/
|
1679
|
+
##### [alert_accept](https://github.com/appium/ruby_lib/blob/0628c614e6620c606265883a8232dd021d03965d/lib/appium_lib/android/element/alert.rb#L13) android
|
1680
1680
|
|
1681
1681
|
> def alert_accept
|
1682
1682
|
|
@@ -1689,7 +1689,7 @@ __Returns:__
|
|
1689
1689
|
|
1690
1690
|
--
|
1691
1691
|
|
1692
|
-
##### [alert_accept_text](https://github.com/appium/ruby_lib/blob/
|
1692
|
+
##### [alert_accept_text](https://github.com/appium/ruby_lib/blob/0628c614e6620c606265883a8232dd021d03965d/lib/appium_lib/android/element/alert.rb#L20) android
|
1693
1693
|
|
1694
1694
|
> def alert_accept_text
|
1695
1695
|
|
@@ -1702,7 +1702,7 @@ __Returns:__
|
|
1702
1702
|
|
1703
1703
|
--
|
1704
1704
|
|
1705
|
-
##### [alert_dismiss](https://github.com/appium/ruby_lib/blob/
|
1705
|
+
##### [alert_dismiss](https://github.com/appium/ruby_lib/blob/0628c614e6620c606265883a8232dd021d03965d/lib/appium_lib/android/element/alert.rb#L27) android
|
1706
1706
|
|
1707
1707
|
> def alert_dismiss
|
1708
1708
|
|
@@ -1715,7 +1715,7 @@ __Returns:__
|
|
1715
1715
|
|
1716
1716
|
--
|
1717
1717
|
|
1718
|
-
##### [alert_dismiss_text](https://github.com/appium/ruby_lib/blob/
|
1718
|
+
##### [alert_dismiss_text](https://github.com/appium/ruby_lib/blob/0628c614e6620c606265883a8232dd021d03965d/lib/appium_lib/android/element/alert.rb#L34) android
|
1719
1719
|
|
1720
1720
|
> def alert_dismiss_text
|
1721
1721
|
|
@@ -1728,7 +1728,7 @@ __Returns:__
|
|
1728
1728
|
|
1729
1729
|
--
|
1730
1730
|
|
1731
|
-
##### [Button](https://github.com/appium/ruby_lib/blob/
|
1731
|
+
##### [Button](https://github.com/appium/ruby_lib/blob/0628c614e6620c606265883a8232dd021d03965d/lib/appium_lib/android/element/button.rb#L3) android
|
1732
1732
|
|
1733
1733
|
> Button = 'android.widget.Button'.freeze
|
1734
1734
|
|
@@ -1736,7 +1736,7 @@ __Returns:__
|
|
1736
1736
|
|
1737
1737
|
--
|
1738
1738
|
|
1739
|
-
##### [ImageButton](https://github.com/appium/ruby_lib/blob/
|
1739
|
+
##### [ImageButton](https://github.com/appium/ruby_lib/blob/0628c614e6620c606265883a8232dd021d03965d/lib/appium_lib/android/element/button.rb#L4) android
|
1740
1740
|
|
1741
1741
|
> ImageButton = 'android.widget.ImageButton'.freeze
|
1742
1742
|
|
@@ -1744,7 +1744,7 @@ __Returns:__
|
|
1744
1744
|
|
1745
1745
|
--
|
1746
1746
|
|
1747
|
-
##### [button](https://github.com/appium/ruby_lib/blob/
|
1747
|
+
##### [button](https://github.com/appium/ruby_lib/blob/0628c614e6620c606265883a8232dd021d03965d/lib/appium_lib/android/element/button.rb#L10) android
|
1748
1748
|
|
1749
1749
|
> def button(value)
|
1750
1750
|
|
@@ -1761,7 +1761,7 @@ __Returns:__
|
|
1761
1761
|
|
1762
1762
|
--
|
1763
1763
|
|
1764
|
-
##### [buttons](https://github.com/appium/ruby_lib/blob/
|
1764
|
+
##### [buttons](https://github.com/appium/ruby_lib/blob/0628c614e6620c606265883a8232dd021d03965d/lib/appium_lib/android/element/button.rb#L27) android
|
1765
1765
|
|
1766
1766
|
> def buttons(value = false)
|
1767
1767
|
|
@@ -1778,7 +1778,7 @@ __Returns:__
|
|
1778
1778
|
|
1779
1779
|
--
|
1780
1780
|
|
1781
|
-
##### [first_button](https://github.com/appium/ruby_lib/blob/
|
1781
|
+
##### [first_button](https://github.com/appium/ruby_lib/blob/0628c614e6620c606265883a8232dd021d03965d/lib/appium_lib/android/element/button.rb#L34) android
|
1782
1782
|
|
1783
1783
|
> def first_button
|
1784
1784
|
|
@@ -1790,7 +1790,7 @@ __Returns:__
|
|
1790
1790
|
|
1791
1791
|
--
|
1792
1792
|
|
1793
|
-
##### [last_button](https://github.com/appium/ruby_lib/blob/
|
1793
|
+
##### [last_button](https://github.com/appium/ruby_lib/blob/0628c614e6620c606265883a8232dd021d03965d/lib/appium_lib/android/element/button.rb#L40) android
|
1794
1794
|
|
1795
1795
|
> def last_button
|
1796
1796
|
|
@@ -1802,7 +1802,7 @@ __Returns:__
|
|
1802
1802
|
|
1803
1803
|
--
|
1804
1804
|
|
1805
|
-
##### [button_exact](https://github.com/appium/ruby_lib/blob/
|
1805
|
+
##### [button_exact](https://github.com/appium/ruby_lib/blob/0628c614e6620c606265883a8232dd021d03965d/lib/appium_lib/android/element/button.rb#L56) android
|
1806
1806
|
|
1807
1807
|
> def button_exact(value)
|
1808
1808
|
|
@@ -1818,7 +1818,7 @@ __Returns:__
|
|
1818
1818
|
|
1819
1819
|
--
|
1820
1820
|
|
1821
|
-
##### [buttons_exact](https://github.com/appium/ruby_lib/blob/
|
1821
|
+
##### [buttons_exact](https://github.com/appium/ruby_lib/blob/0628c614e6620c606265883a8232dd021d03965d/lib/appium_lib/android/element/button.rb#L63) android
|
1822
1822
|
|
1823
1823
|
> def buttons_exact(value)
|
1824
1824
|
|
@@ -1834,7 +1834,7 @@ __Returns:__
|
|
1834
1834
|
|
1835
1835
|
--
|
1836
1836
|
|
1837
|
-
##### [find](https://github.com/appium/ruby_lib/blob/
|
1837
|
+
##### [find](https://github.com/appium/ruby_lib/blob/0628c614e6620c606265883a8232dd021d03965d/lib/appium_lib/android/element/generic.rb#L6) android
|
1838
1838
|
|
1839
1839
|
> def find(value)
|
1840
1840
|
|
@@ -1850,7 +1850,7 @@ __Returns:__
|
|
1850
1850
|
|
1851
1851
|
--
|
1852
1852
|
|
1853
|
-
##### [finds](https://github.com/appium/ruby_lib/blob/
|
1853
|
+
##### [finds](https://github.com/appium/ruby_lib/blob/0628c614e6620c606265883a8232dd021d03965d/lib/appium_lib/android/element/generic.rb#L13) android
|
1854
1854
|
|
1855
1855
|
> def finds(value)
|
1856
1856
|
|
@@ -1866,7 +1866,7 @@ __Returns:__
|
|
1866
1866
|
|
1867
1867
|
--
|
1868
1868
|
|
1869
|
-
##### [find_exact](https://github.com/appium/ruby_lib/blob/
|
1869
|
+
##### [find_exact](https://github.com/appium/ruby_lib/blob/0628c614e6620c606265883a8232dd021d03965d/lib/appium_lib/android/element/generic.rb#L20) android
|
1870
1870
|
|
1871
1871
|
> def find_exact(value)
|
1872
1872
|
|
@@ -1882,7 +1882,7 @@ __Returns:__
|
|
1882
1882
|
|
1883
1883
|
--
|
1884
1884
|
|
1885
|
-
##### [finds_exact](https://github.com/appium/ruby_lib/blob/
|
1885
|
+
##### [finds_exact](https://github.com/appium/ruby_lib/blob/0628c614e6620c606265883a8232dd021d03965d/lib/appium_lib/android/element/generic.rb#L27) android
|
1886
1886
|
|
1887
1887
|
> def finds_exact(value)
|
1888
1888
|
|
@@ -1898,7 +1898,7 @@ __Returns:__
|
|
1898
1898
|
|
1899
1899
|
--
|
1900
1900
|
|
1901
|
-
##### [scroll_to](https://github.com/appium/ruby_lib/blob/
|
1901
|
+
##### [scroll_to](https://github.com/appium/ruby_lib/blob/0628c614e6620c606265883a8232dd021d03965d/lib/appium_lib/android/element/generic.rb#L40) android
|
1902
1902
|
|
1903
1903
|
> def scroll_to(text, scrollable_index = 0)
|
1904
1904
|
|
@@ -1916,7 +1916,7 @@ __Returns:__
|
|
1916
1916
|
|
1917
1917
|
--
|
1918
1918
|
|
1919
|
-
##### [scroll_to_exact](https://github.com/appium/ruby_lib/blob/
|
1919
|
+
##### [scroll_to_exact](https://github.com/appium/ruby_lib/blob/0628c614e6620c606265883a8232dd021d03965d/lib/appium_lib/android/element/generic.rb#L58) android
|
1920
1920
|
|
1921
1921
|
> def scroll_to_exact(text, scrollable_index = 0)
|
1922
1922
|
|
@@ -1934,7 +1934,7 @@ __Returns:__
|
|
1934
1934
|
|
1935
1935
|
--
|
1936
1936
|
|
1937
|
-
##### [for](https://github.com/appium/ruby_lib/blob/
|
1937
|
+
##### [for](https://github.com/appium/ruby_lib/blob/0628c614e6620c606265883a8232dd021d03965d/lib/appium_lib/android/espresso/bridge.rb#L7) android
|
1938
1938
|
|
1939
1939
|
> def self.for(target)
|
1940
1940
|
|
@@ -1942,7 +1942,7 @@ __Returns:__
|
|
1942
1942
|
|
1943
1943
|
--
|
1944
1944
|
|
1945
|
-
##### [EditText](https://github.com/appium/ruby_lib/blob/
|
1945
|
+
##### [EditText](https://github.com/appium/ruby_lib/blob/0628c614e6620c606265883a8232dd021d03965d/lib/appium_lib/android/element/textfield.rb#L3) android
|
1946
1946
|
|
1947
1947
|
> EditText = 'android.widget.EditText'.freeze
|
1948
1948
|
|
@@ -1950,7 +1950,7 @@ __Returns:__
|
|
1950
1950
|
|
1951
1951
|
--
|
1952
1952
|
|
1953
|
-
##### [textfield](https://github.com/appium/ruby_lib/blob/
|
1953
|
+
##### [textfield](https://github.com/appium/ruby_lib/blob/0628c614e6620c606265883a8232dd021d03965d/lib/appium_lib/android/element/textfield.rb#L9) android
|
1954
1954
|
|
1955
1955
|
> def textfield(value)
|
1956
1956
|
|
@@ -1967,7 +1967,7 @@ __Returns:__
|
|
1967
1967
|
|
1968
1968
|
--
|
1969
1969
|
|
1970
|
-
##### [textfields](https://github.com/appium/ruby_lib/blob/
|
1970
|
+
##### [textfields](https://github.com/appium/ruby_lib/blob/0628c614e6620c606265883a8232dd021d03965d/lib/appium_lib/android/element/textfield.rb#L18) android
|
1971
1971
|
|
1972
1972
|
> def textfields(value = false)
|
1973
1973
|
|
@@ -1984,7 +1984,7 @@ __Returns:__
|
|
1984
1984
|
|
1985
1985
|
--
|
1986
1986
|
|
1987
|
-
##### [first_textfield](https://github.com/appium/ruby_lib/blob/
|
1987
|
+
##### [first_textfield](https://github.com/appium/ruby_lib/blob/0628c614e6620c606265883a8232dd021d03965d/lib/appium_lib/android/element/textfield.rb#L25) android
|
1988
1988
|
|
1989
1989
|
> def first_textfield
|
1990
1990
|
|
@@ -1996,7 +1996,7 @@ __Returns:__
|
|
1996
1996
|
|
1997
1997
|
--
|
1998
1998
|
|
1999
|
-
##### [last_textfield](https://github.com/appium/ruby_lib/blob/
|
1999
|
+
##### [last_textfield](https://github.com/appium/ruby_lib/blob/0628c614e6620c606265883a8232dd021d03965d/lib/appium_lib/android/element/textfield.rb#L31) android
|
2000
2000
|
|
2001
2001
|
> def last_textfield
|
2002
2002
|
|
@@ -2008,7 +2008,7 @@ __Returns:__
|
|
2008
2008
|
|
2009
2009
|
--
|
2010
2010
|
|
2011
|
-
##### [textfield_exact](https://github.com/appium/ruby_lib/blob/
|
2011
|
+
##### [textfield_exact](https://github.com/appium/ruby_lib/blob/0628c614e6620c606265883a8232dd021d03965d/lib/appium_lib/android/element/textfield.rb#L38) android
|
2012
2012
|
|
2013
2013
|
> def textfield_exact(value)
|
2014
2014
|
|
@@ -2024,7 +2024,7 @@ __Returns:__
|
|
2024
2024
|
|
2025
2025
|
--
|
2026
2026
|
|
2027
|
-
##### [textfields_exact](https://github.com/appium/ruby_lib/blob/
|
2027
|
+
##### [textfields_exact](https://github.com/appium/ruby_lib/blob/0628c614e6620c606265883a8232dd021d03965d/lib/appium_lib/android/element/textfield.rb#L45) android
|
2028
2028
|
|
2029
2029
|
> def textfields_exact(value)
|
2030
2030
|
|
@@ -2040,7 +2040,7 @@ __Returns:__
|
|
2040
2040
|
|
2041
2041
|
--
|
2042
2042
|
|
2043
|
-
##### [for](https://github.com/appium/ruby_lib/blob/
|
2043
|
+
##### [for](https://github.com/appium/ruby_lib/blob/0628c614e6620c606265883a8232dd021d03965d/lib/appium_lib/android/uiautomator2/bridge.rb#L7) android
|
2044
2044
|
|
2045
2045
|
> def self.for(target)
|
2046
2046
|
|
@@ -2048,7 +2048,7 @@ __Returns:__
|
|
2048
2048
|
|
2049
2049
|
--
|
2050
2050
|
|
2051
|
-
##### [string_visible_contains](https://github.com/appium/ruby_lib/blob/
|
2051
|
+
##### [string_visible_contains](https://github.com/appium/ruby_lib/blob/0628c614e6620c606265883a8232dd021d03965d/lib/appium_lib/android/uiautomator2/helper.rb#L13) android
|
2052
2052
|
|
2053
2053
|
> def string_visible_contains(class_name, value)
|
2054
2054
|
|
@@ -2069,7 +2069,7 @@ __Returns:__
|
|
2069
2069
|
|
2070
2070
|
--
|
2071
2071
|
|
2072
|
-
##### [complex_find_contains](https://github.com/appium/ruby_lib/blob/
|
2072
|
+
##### [complex_find_contains](https://github.com/appium/ruby_lib/blob/0628c614e6620c606265883a8232dd021d03965d/lib/appium_lib/android/uiautomator2/helper.rb#L31) android
|
2073
2073
|
|
2074
2074
|
> def complex_find_contains(class_name, value)
|
2075
2075
|
|
@@ -2087,7 +2087,7 @@ __Returns:__
|
|
2087
2087
|
|
2088
2088
|
--
|
2089
2089
|
|
2090
|
-
##### [complex_finds_contains](https://github.com/appium/ruby_lib/blob/
|
2090
|
+
##### [complex_finds_contains](https://github.com/appium/ruby_lib/blob/0628c614e6620c606265883a8232dd021d03965d/lib/appium_lib/android/uiautomator2/helper.rb#L41) android
|
2091
2091
|
|
2092
2092
|
> def complex_finds_contains(class_name, value)
|
2093
2093
|
|
@@ -2105,7 +2105,7 @@ __Returns:__
|
|
2105
2105
|
|
2106
2106
|
--
|
2107
2107
|
|
2108
|
-
##### [complex_find_exact](https://github.com/appium/ruby_lib/blob/
|
2108
|
+
##### [complex_find_exact](https://github.com/appium/ruby_lib/blob/0628c614e6620c606265883a8232dd021d03965d/lib/appium_lib/android/uiautomator2/helper.rb#L69) android
|
2109
2109
|
|
2110
2110
|
> def complex_find_exact(class_name, value)
|
2111
2111
|
|
@@ -2123,7 +2123,7 @@ __Returns:__
|
|
2123
2123
|
|
2124
2124
|
--
|
2125
2125
|
|
2126
|
-
##### [complex_finds_exact](https://github.com/appium/ruby_lib/blob/
|
2126
|
+
##### [complex_finds_exact](https://github.com/appium/ruby_lib/blob/0628c614e6620c606265883a8232dd021d03965d/lib/appium_lib/android/uiautomator2/helper.rb#L79) android
|
2127
2127
|
|
2128
2128
|
> def complex_finds_exact(class_name, value)
|
2129
2129
|
|
@@ -2141,7 +2141,7 @@ __Returns:__
|
|
2141
2141
|
|
2142
2142
|
--
|
2143
2143
|
|
2144
|
-
##### [button](https://github.com/appium/ruby_lib/blob/
|
2144
|
+
##### [button](https://github.com/appium/ruby_lib/blob/0628c614e6620c606265883a8232dd021d03965d/lib/appium_lib/android/uiautomator2/element/button.rb#L9) android
|
2145
2145
|
|
2146
2146
|
> def button(value)
|
2147
2147
|
|
@@ -2158,7 +2158,7 @@ __Returns:__
|
|
2158
2158
|
|
2159
2159
|
--
|
2160
2160
|
|
2161
|
-
##### [buttons](https://github.com/appium/ruby_lib/blob/
|
2161
|
+
##### [buttons](https://github.com/appium/ruby_lib/blob/0628c614e6620c606265883a8232dd021d03965d/lib/appium_lib/android/uiautomator2/element/button.rb#L29) android
|
2162
2162
|
|
2163
2163
|
> def buttons(value = false)
|
2164
2164
|
|
@@ -2175,7 +2175,7 @@ __Returns:__
|
|
2175
2175
|
|
2176
2176
|
--
|
2177
2177
|
|
2178
|
-
##### [first_button](https://github.com/appium/ruby_lib/blob/
|
2178
|
+
##### [first_button](https://github.com/appium/ruby_lib/blob/0628c614e6620c606265883a8232dd021d03965d/lib/appium_lib/android/uiautomator2/element/button.rb#L36) android
|
2179
2179
|
|
2180
2180
|
> def first_button
|
2181
2181
|
|
@@ -2187,7 +2187,7 @@ __Returns:__
|
|
2187
2187
|
|
2188
2188
|
--
|
2189
2189
|
|
2190
|
-
##### [last_button](https://github.com/appium/ruby_lib/blob/
|
2190
|
+
##### [last_button](https://github.com/appium/ruby_lib/blob/0628c614e6620c606265883a8232dd021d03965d/lib/appium_lib/android/uiautomator2/element/button.rb#L43) android
|
2191
2191
|
|
2192
2192
|
> def last_button
|
2193
2193
|
|
@@ -2199,7 +2199,7 @@ __Returns:__
|
|
2199
2199
|
|
2200
2200
|
--
|
2201
2201
|
|
2202
|
-
##### [button_exact](https://github.com/appium/ruby_lib/blob/
|
2202
|
+
##### [button_exact](https://github.com/appium/ruby_lib/blob/0628c614e6620c606265883a8232dd021d03965d/lib/appium_lib/android/uiautomator2/element/button.rb#L60) android
|
2203
2203
|
|
2204
2204
|
> def button_exact(value)
|
2205
2205
|
|
@@ -2215,7 +2215,7 @@ __Returns:__
|
|
2215
2215
|
|
2216
2216
|
--
|
2217
2217
|
|
2218
|
-
##### [buttons_exact](https://github.com/appium/ruby_lib/blob/
|
2218
|
+
##### [buttons_exact](https://github.com/appium/ruby_lib/blob/0628c614e6620c606265883a8232dd021d03965d/lib/appium_lib/android/uiautomator2/element/button.rb#L68) android
|
2219
2219
|
|
2220
2220
|
> def buttons_exact(value)
|
2221
2221
|
|