appium_lib 9.7.3 → 9.7.4
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/CHANGELOG.md +9 -0
- data/docs/android_docs.md +202 -221
- data/docs/ios_docs.md +254 -274
- data/lib/appium_lib/android/common/helper.rb +0 -12
- data/lib/appium_lib/appium.rb +1 -0
- data/lib/appium_lib/common/device.rb +25 -0
- data/lib/appium_lib/common/helper.rb +13 -0
- data/lib/appium_lib/common/multi_touch.rb +2 -17
- data/lib/appium_lib/core/common/command.rb +1 -0
- data/lib/appium_lib/core/common/device.rb +0 -8
- data/lib/appium_lib/core/core.rb +1 -0
- data/lib/appium_lib/core/device/multi_touch.rb +48 -0
- data/lib/appium_lib/core/driver.rb +2 -2
- data/lib/appium_lib/driver.rb +3 -1
- data/lib/appium_lib/ios/common/helper.rb +0 -13
- data/lib/appium_lib/version.rb +2 -2
- data/release_notes.md +14 -0
- metadata +4 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: e20c1e12d06baa4b361d2a4d58cf8365e648d79b
|
|
4
|
+
data.tar.gz: 7728a2d62f6e4b9cf73bc0a78590551b8774fc67
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: fe59458871f19001f5c9559f885ec6dc42aa5e57886c7eb9de4cf4b346e416ec914a79b82fa0b53d618d626ed1f65f3c36a916bcbf7162c9642eac475f1f959f
|
|
7
|
+
data.tar.gz: 63f4c2a74e6528ef723fe994d07e9becade999165804e57ffbc86c2de029781586fdcc59e2553b2328c2826f3d53106bf26afc9676204d0fec2ebb756f67638c
|
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.4
|
|
7
|
+
|
|
8
|
+
### 1. Enhancements
|
|
9
|
+
- Add unlock command: [PR](https://github.com/appium/ruby_lib/pull/710/files)
|
|
10
|
+
- Be able to call `source` command from any `automationName`
|
|
11
|
+
|
|
12
|
+
### 2. Bug fixes
|
|
13
|
+
|
|
14
|
+
### 3. Deprecations
|
|
6
15
|
|
|
7
16
|
## v9.7.3
|
|
8
17
|
|
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/08550ca75f3dad2874f9c7e7c7d1b117c0670009/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/08550ca75f3dad2874f9c7e7c7d1b117c0670009/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/08550ca75f3dad2874f9c7e7c7d1b117c0670009/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/08550ca75f3dad2874f9c7e7c7d1b117c0670009/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/08550ca75f3dad2874f9c7e7c7d1b117c0670009/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/08550ca75f3dad2874f9c7e7c7d1b117c0670009/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/08550ca75f3dad2874f9c7e7c7d1b117c0670009/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/08550ca75f3dad2874f9c7e7c7d1b117c0670009/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/08550ca75f3dad2874f9c7e7c7d1b117c0670009/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/08550ca75f3dad2874f9c7e7c7d1b117c0670009/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/08550ca75f3dad2874f9c7e7c7d1b117c0670009/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/08550ca75f3dad2874f9c7e7c7d1b117c0670009/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/08550ca75f3dad2874f9c7e7c7d1b117c0670009/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/08550ca75f3dad2874f9c7e7c7d1b117c0670009/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/08550ca75f3dad2874f9c7e7c7d1b117c0670009/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/08550ca75f3dad2874f9c7e7c7d1b117c0670009/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/08550ca75f3dad2874f9c7e7c7d1b117c0670009/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/08550ca75f3dad2874f9c7e7c7d1b117c0670009/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/08550ca75f3dad2874f9c7e7c7d1b117c0670009/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/08550ca75f3dad2874f9c7e7c7d1b117c0670009/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/08550ca75f3dad2874f9c7e7c7d1b117c0670009/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/08550ca75f3dad2874f9c7e7c7d1b117c0670009/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/08550ca75f3dad2874f9c7e7c7d1b117c0670009/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/08550ca75f3dad2874f9c7e7c7d1b117c0670009/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/08550ca75f3dad2874f9c7e7c7d1b117c0670009/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/08550ca75f3dad2874f9c7e7c7d1b117c0670009/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/08550ca75f3dad2874f9c7e7c7d1b117c0670009/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/08550ca75f3dad2874f9c7e7c7d1b117c0670009/lib/appium_lib/driver.rb#L111)
|
|
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/08550ca75f3dad2874f9c7e7c7d1b117c0670009/lib/appium_lib/driver.rb#L218)
|
|
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/08550ca75f3dad2874f9c7e7c7d1b117c0670009/lib/appium_lib/driver.rb#L238)
|
|
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/08550ca75f3dad2874f9c7e7c7d1b117c0670009/lib/appium_lib/driver.rb#L242)
|
|
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/08550ca75f3dad2874f9c7e7c7d1b117c0670009/lib/appium_lib/driver.rb#L246)
|
|
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/08550ca75f3dad2874f9c7e7c7d1b117c0670009/lib/appium_lib/driver.rb#L252)
|
|
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/08550ca75f3dad2874f9c7e7c7d1b117c0670009/lib/appium_lib/driver.rb#L258)
|
|
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/08550ca75f3dad2874f9c7e7c7d1b117c0670009/lib/appium_lib/driver.rb#L264)
|
|
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/08550ca75f3dad2874f9c7e7c7d1b117c0670009/lib/appium_lib/driver.rb#L271)
|
|
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/08550ca75f3dad2874f9c7e7c7d1b117c0670009/lib/appium_lib/driver.rb#L292)
|
|
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/08550ca75f3dad2874f9c7e7c7d1b117c0670009/lib/appium_lib/driver.rb#L302)
|
|
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/08550ca75f3dad2874f9c7e7c7d1b117c0670009/lib/appium_lib/driver.rb#L321)
|
|
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/08550ca75f3dad2874f9c7e7c7d1b117c0670009/lib/appium_lib/driver.rb#L333)
|
|
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/08550ca75f3dad2874f9c7e7c7d1b117c0670009/lib/appium_lib/driver.rb#L366)
|
|
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/08550ca75f3dad2874f9c7e7c7d1b117c0670009/lib/appium_lib/driver.rb#L374)
|
|
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/08550ca75f3dad2874f9c7e7c7d1b117c0670009/lib/appium_lib/driver.rb#L387)
|
|
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/08550ca75f3dad2874f9c7e7c7d1b117c0670009/lib/appium_lib/driver.rb#L394)
|
|
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/08550ca75f3dad2874f9c7e7c7d1b117c0670009/lib/appium_lib/driver.rb#L397)
|
|
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/08550ca75f3dad2874f9c7e7c7d1b117c0670009/lib/appium_lib/driver.rb#L408)
|
|
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/08550ca75f3dad2874f9c7e7c7d1b117c0670009/lib/appium_lib/driver.rb#L437)
|
|
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/08550ca75f3dad2874f9c7e7c7d1b117c0670009/lib/appium_lib/driver.rb#L461)
|
|
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/08550ca75f3dad2874f9c7e7c7d1b117c0670009/lib/appium_lib/driver.rb#L471)
|
|
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/08550ca75f3dad2874f9c7e7c7d1b117c0670009/lib/appium_lib/driver.rb#L485)
|
|
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/08550ca75f3dad2874f9c7e7c7d1b117c0670009/lib/appium_lib/driver.rb#L502)
|
|
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/08550ca75f3dad2874f9c7e7c7d1b117c0670009/lib/appium_lib/driver.rb#L526)
|
|
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/08550ca75f3dad2874f9c7e7c7d1b117c0670009/lib/appium_lib/driver.rb#L548)
|
|
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/08550ca75f3dad2874f9c7e7c7d1b117c0670009/lib/appium_lib/driver.rb#L563)
|
|
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/08550ca75f3dad2874f9c7e7c7d1b117c0670009/lib/appium_lib/driver.rb#L576)
|
|
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/08550ca75f3dad2874f9c7e7c7d1b117c0670009/lib/appium_lib/driver.rb#L586)
|
|
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/08550ca75f3dad2874f9c7e7c7d1b117c0670009/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/08550ca75f3dad2874f9c7e7c7d1b117c0670009/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/08550ca75f3dad2874f9c7e7c7d1b117c0670009/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/08550ca75f3dad2874f9c7e7c7d1b117c0670009/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/08550ca75f3dad2874f9c7e7c7d1b117c0670009/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/08550ca75f3dad2874f9c7e7c7d1b117c0670009/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/08550ca75f3dad2874f9c7e7c7d1b117c0670009/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/08550ca75f3dad2874f9c7e7c7d1b117c0670009/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/08550ca75f3dad2874f9c7e7c7d1b117c0670009/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/08550ca75f3dad2874f9c7e7c7d1b117c0670009/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/08550ca75f3dad2874f9c7e7c7d1b117c0670009/lib/appium_lib/common/wait.rb#L43)
|
|
826
826
|
|
|
827
827
|
> def wait(opts = {})
|
|
828
828
|
|
|
@@ -840,7 +840,15 @@ __Parameters:__
|
|
|
840
840
|
|
|
841
841
|
--
|
|
842
842
|
|
|
843
|
-
##### [
|
|
843
|
+
##### [add_touch_actions](https://github.com/appium/ruby_lib/blob/08550ca75f3dad2874f9c7e7c7d1b117c0670009/lib/appium_lib/common/device.rb#L12)
|
|
844
|
+
|
|
845
|
+
> def add_touch_actions
|
|
846
|
+
|
|
847
|
+
|
|
848
|
+
|
|
849
|
+
--
|
|
850
|
+
|
|
851
|
+
##### [ignore](https://github.com/appium/ruby_lib/blob/08550ca75f3dad2874f9c7e7c7d1b117c0670009/lib/appium_lib/common/helper.rb#L16)
|
|
844
852
|
|
|
845
853
|
> def ignore
|
|
846
854
|
|
|
@@ -848,7 +856,7 @@ Return yield and ignore any exceptions.
|
|
|
848
856
|
|
|
849
857
|
--
|
|
850
858
|
|
|
851
|
-
##### [back](https://github.com/appium/ruby_lib/blob/
|
|
859
|
+
##### [back](https://github.com/appium/ruby_lib/blob/08550ca75f3dad2874f9c7e7c7d1b117c0670009/lib/appium_lib/common/helper.rb#L23)
|
|
852
860
|
|
|
853
861
|
> def back
|
|
854
862
|
|
|
@@ -860,7 +868,7 @@ __Returns:__
|
|
|
860
868
|
|
|
861
869
|
--
|
|
862
870
|
|
|
863
|
-
##### [session_id](https://github.com/appium/ruby_lib/blob/
|
|
871
|
+
##### [session_id](https://github.com/appium/ruby_lib/blob/08550ca75f3dad2874f9c7e7c7d1b117c0670009/lib/appium_lib/common/helper.rb#L34)
|
|
864
872
|
|
|
865
873
|
> def session_id
|
|
866
874
|
|
|
@@ -872,7 +880,7 @@ __Returns:__
|
|
|
872
880
|
|
|
873
881
|
--
|
|
874
882
|
|
|
875
|
-
##### [xpath](https://github.com/appium/ruby_lib/blob/
|
|
883
|
+
##### [xpath](https://github.com/appium/ruby_lib/blob/08550ca75f3dad2874f9c7e7c7d1b117c0670009/lib/appium_lib/common/helper.rb#L42)
|
|
876
884
|
|
|
877
885
|
> def xpath(xpath_str)
|
|
878
886
|
|
|
@@ -888,7 +896,7 @@ __Returns:__
|
|
|
888
896
|
|
|
889
897
|
--
|
|
890
898
|
|
|
891
|
-
##### [xpaths](https://github.com/appium/ruby_lib/blob/
|
|
899
|
+
##### [xpaths](https://github.com/appium/ruby_lib/blob/08550ca75f3dad2874f9c7e7c7d1b117c0670009/lib/appium_lib/common/helper.rb#L50)
|
|
892
900
|
|
|
893
901
|
> def xpaths(xpath_str)
|
|
894
902
|
|
|
@@ -904,7 +912,7 @@ __Returns:__
|
|
|
904
912
|
|
|
905
913
|
--
|
|
906
914
|
|
|
907
|
-
##### [result](https://github.com/appium/ruby_lib/blob/
|
|
915
|
+
##### [result](https://github.com/appium/ruby_lib/blob/08550ca75f3dad2874f9c7e7c7d1b117c0670009/lib/appium_lib/common/helper.rb#L61)
|
|
908
916
|
|
|
909
917
|
> def result
|
|
910
918
|
|
|
@@ -912,7 +920,7 @@ Returns the value of attribute result
|
|
|
912
920
|
|
|
913
921
|
--
|
|
914
922
|
|
|
915
|
-
##### [initialize](https://github.com/appium/ruby_lib/blob/
|
|
923
|
+
##### [initialize](https://github.com/appium/ruby_lib/blob/08550ca75f3dad2874f9c7e7c7d1b117c0670009/lib/appium_lib/common/helper.rb#L63)
|
|
916
924
|
|
|
917
925
|
> def initialize
|
|
918
926
|
|
|
@@ -924,7 +932,7 @@ __Returns:__
|
|
|
924
932
|
|
|
925
933
|
--
|
|
926
934
|
|
|
927
|
-
##### [reset](https://github.com/appium/ruby_lib/blob/
|
|
935
|
+
##### [reset](https://github.com/appium/ruby_lib/blob/08550ca75f3dad2874f9c7e7c7d1b117c0670009/lib/appium_lib/common/helper.rb#L67)
|
|
928
936
|
|
|
929
937
|
> def reset
|
|
930
938
|
|
|
@@ -932,7 +940,7 @@ __Returns:__
|
|
|
932
940
|
|
|
933
941
|
--
|
|
934
942
|
|
|
935
|
-
##### [start_element](https://github.com/appium/ruby_lib/blob/
|
|
943
|
+
##### [start_element](https://github.com/appium/ruby_lib/blob/08550ca75f3dad2874f9c7e7c7d1b117c0670009/lib/appium_lib/common/helper.rb#L72)
|
|
936
944
|
|
|
937
945
|
> def start_element(name, attrs = [], driver = $driver)
|
|
938
946
|
|
|
@@ -940,7 +948,7 @@ http://nokogiri.org/Nokogiri/XML/SAX/Document.html
|
|
|
940
948
|
|
|
941
949
|
--
|
|
942
950
|
|
|
943
|
-
##### [formatted_result](https://github.com/appium/ruby_lib/blob/
|
|
951
|
+
##### [formatted_result](https://github.com/appium/ruby_lib/blob/08550ca75f3dad2874f9c7e7c7d1b117c0670009/lib/appium_lib/common/helper.rb#L78)
|
|
944
952
|
|
|
945
953
|
> def formatted_result
|
|
946
954
|
|
|
@@ -948,7 +956,7 @@ http://nokogiri.org/Nokogiri/XML/SAX/Document.html
|
|
|
948
956
|
|
|
949
957
|
--
|
|
950
958
|
|
|
951
|
-
##### [get_page_class](https://github.com/appium/ruby_lib/blob/
|
|
959
|
+
##### [get_page_class](https://github.com/appium/ruby_lib/blob/08550ca75f3dad2874f9c7e7c7d1b117c0670009/lib/appium_lib/common/helper.rb#L97)
|
|
952
960
|
|
|
953
961
|
> def get_page_class
|
|
954
962
|
|
|
@@ -960,7 +968,7 @@ __Returns:__
|
|
|
960
968
|
|
|
961
969
|
--
|
|
962
970
|
|
|
963
|
-
##### [page_class](https://github.com/appium/ruby_lib/blob/
|
|
971
|
+
##### [page_class](https://github.com/appium/ruby_lib/blob/08550ca75f3dad2874f9c7e7c7d1b117c0670009/lib/appium_lib/common/helper.rb#L122)
|
|
964
972
|
|
|
965
973
|
> def page_class
|
|
966
974
|
|
|
@@ -973,7 +981,32 @@ __Returns:__
|
|
|
973
981
|
|
|
974
982
|
--
|
|
975
983
|
|
|
976
|
-
##### [
|
|
984
|
+
##### [source](https://github.com/appium/ruby_lib/blob/08550ca75f3dad2874f9c7e7c7d1b117c0670009/lib/appium_lib/common/helper.rb#L129)
|
|
985
|
+
|
|
986
|
+
> def source
|
|
987
|
+
|
|
988
|
+
Prints xml of the current page
|
|
989
|
+
|
|
990
|
+
__Returns:__
|
|
991
|
+
|
|
992
|
+
[void]
|
|
993
|
+
|
|
994
|
+
--
|
|
995
|
+
|
|
996
|
+
##### [get_source](https://github.com/appium/ruby_lib/blob/08550ca75f3dad2874f9c7e7c7d1b117c0670009/lib/appium_lib/common/helper.rb#L136)
|
|
997
|
+
|
|
998
|
+
> def get_source
|
|
999
|
+
|
|
1000
|
+
Returns XML string for the current page
|
|
1001
|
+
Same as driver.page_source
|
|
1002
|
+
|
|
1003
|
+
__Returns:__
|
|
1004
|
+
|
|
1005
|
+
[String]
|
|
1006
|
+
|
|
1007
|
+
--
|
|
1008
|
+
|
|
1009
|
+
##### [px_to_window_rel](https://github.com/appium/ruby_lib/blob/08550ca75f3dad2874f9c7e7c7d1b117c0670009/lib/appium_lib/common/helper.rb#L146)
|
|
977
1010
|
|
|
978
1011
|
> def px_to_window_rel(opts = {}, driver = $driver)
|
|
979
1012
|
|
|
@@ -981,7 +1014,7 @@ Converts pixel values to window relative values
|
|
|
981
1014
|
|
|
982
1015
|
--
|
|
983
1016
|
|
|
984
|
-
##### [xml_keys](https://github.com/appium/ruby_lib/blob/
|
|
1017
|
+
##### [xml_keys](https://github.com/appium/ruby_lib/blob/08550ca75f3dad2874f9c7e7c7d1b117c0670009/lib/appium_lib/common/helper.rb#L165)
|
|
985
1018
|
|
|
986
1019
|
> def xml_keys(target)
|
|
987
1020
|
|
|
@@ -997,7 +1030,7 @@ __Returns:__
|
|
|
997
1030
|
|
|
998
1031
|
--
|
|
999
1032
|
|
|
1000
|
-
##### [xml_values](https://github.com/appium/ruby_lib/blob/
|
|
1033
|
+
##### [xml_values](https://github.com/appium/ruby_lib/blob/08550ca75f3dad2874f9c7e7c7d1b117c0670009/lib/appium_lib/common/helper.rb#L173)
|
|
1001
1034
|
|
|
1002
1035
|
> def xml_values(target)
|
|
1003
1036
|
|
|
@@ -1013,7 +1046,7 @@ __Returns:__
|
|
|
1013
1046
|
|
|
1014
1047
|
--
|
|
1015
1048
|
|
|
1016
|
-
##### [resolve_id](https://github.com/appium/ruby_lib/blob/
|
|
1049
|
+
##### [resolve_id](https://github.com/appium/ruby_lib/blob/08550ca75f3dad2874f9c7e7c7d1b117c0670009/lib/appium_lib/common/helper.rb#L181)
|
|
1017
1050
|
|
|
1018
1051
|
> def resolve_id(id)
|
|
1019
1052
|
|
|
@@ -1029,7 +1062,7 @@ __Returns:__
|
|
|
1029
1062
|
|
|
1030
1063
|
--
|
|
1031
1064
|
|
|
1032
|
-
##### [filter](https://github.com/appium/ruby_lib/blob/
|
|
1065
|
+
##### [filter](https://github.com/appium/ruby_lib/blob/08550ca75f3dad2874f9c7e7c7d1b117c0670009/lib/appium_lib/common/helper.rb#L188)
|
|
1033
1066
|
|
|
1034
1067
|
> def filter
|
|
1035
1068
|
|
|
@@ -1037,7 +1070,7 @@ Returns the value of attribute filter
|
|
|
1037
1070
|
|
|
1038
1071
|
--
|
|
1039
1072
|
|
|
1040
|
-
##### [filter=](https://github.com/appium/ruby_lib/blob/
|
|
1073
|
+
##### [filter=](https://github.com/appium/ruby_lib/blob/08550ca75f3dad2874f9c7e7c7d1b117c0670009/lib/appium_lib/common/helper.rb#L191)
|
|
1041
1074
|
|
|
1042
1075
|
> def filter=(value)
|
|
1043
1076
|
|
|
@@ -1045,7 +1078,7 @@ convert to string to support symbols
|
|
|
1045
1078
|
|
|
1046
1079
|
--
|
|
1047
1080
|
|
|
1048
|
-
##### [initialize](https://github.com/appium/ruby_lib/blob/
|
|
1081
|
+
##### [initialize](https://github.com/appium/ruby_lib/blob/08550ca75f3dad2874f9c7e7c7d1b117c0670009/lib/appium_lib/common/helper.rb#L197)
|
|
1049
1082
|
|
|
1050
1083
|
> def initialize
|
|
1051
1084
|
|
|
@@ -1057,7 +1090,7 @@ __Returns:__
|
|
|
1057
1090
|
|
|
1058
1091
|
--
|
|
1059
1092
|
|
|
1060
|
-
##### [reset](https://github.com/appium/ruby_lib/blob/
|
|
1093
|
+
##### [reset](https://github.com/appium/ruby_lib/blob/08550ca75f3dad2874f9c7e7c7d1b117c0670009/lib/appium_lib/common/helper.rb#L202)
|
|
1061
1094
|
|
|
1062
1095
|
> def reset
|
|
1063
1096
|
|
|
@@ -1065,7 +1098,7 @@ __Returns:__
|
|
|
1065
1098
|
|
|
1066
1099
|
--
|
|
1067
1100
|
|
|
1068
|
-
##### [result](https://github.com/appium/ruby_lib/blob/
|
|
1101
|
+
##### [result](https://github.com/appium/ruby_lib/blob/08550ca75f3dad2874f9c7e7c7d1b117c0670009/lib/appium_lib/common/helper.rb#L208)
|
|
1069
1102
|
|
|
1070
1103
|
> def result
|
|
1071
1104
|
|
|
@@ -1073,7 +1106,7 @@ __Returns:__
|
|
|
1073
1106
|
|
|
1074
1107
|
--
|
|
1075
1108
|
|
|
1076
|
-
##### [start_element](https://github.com/appium/ruby_lib/blob/
|
|
1109
|
+
##### [start_element](https://github.com/appium/ruby_lib/blob/08550ca75f3dad2874f9c7e7c7d1b117c0670009/lib/appium_lib/common/helper.rb#L224)
|
|
1077
1110
|
|
|
1078
1111
|
> def start_element(name, attrs = [])
|
|
1079
1112
|
|
|
@@ -1081,7 +1114,7 @@ __Returns:__
|
|
|
1081
1114
|
|
|
1082
1115
|
--
|
|
1083
1116
|
|
|
1084
|
-
##### [end_element](https://github.com/appium/ruby_lib/blob/
|
|
1117
|
+
##### [end_element](https://github.com/appium/ruby_lib/blob/08550ca75f3dad2874f9c7e7c7d1b117c0670009/lib/appium_lib/common/helper.rb#L233)
|
|
1085
1118
|
|
|
1086
1119
|
> def end_element(name)
|
|
1087
1120
|
|
|
@@ -1089,7 +1122,7 @@ __Returns:__
|
|
|
1089
1122
|
|
|
1090
1123
|
--
|
|
1091
1124
|
|
|
1092
|
-
##### [characters](https://github.com/appium/ruby_lib/blob/
|
|
1125
|
+
##### [characters](https://github.com/appium/ruby_lib/blob/08550ca75f3dad2874f9c7e7c7d1b117c0670009/lib/appium_lib/common/helper.rb#L239)
|
|
1093
1126
|
|
|
1094
1127
|
> def characters(chars)
|
|
1095
1128
|
|
|
@@ -1097,7 +1130,7 @@ __Returns:__
|
|
|
1097
1130
|
|
|
1098
1131
|
--
|
|
1099
1132
|
|
|
1100
|
-
##### [DEFAULT_HEADERS](https://github.com/appium/ruby_lib/blob/
|
|
1133
|
+
##### [DEFAULT_HEADERS](https://github.com/appium/ruby_lib/blob/08550ca75f3dad2874f9c7e7c7d1b117c0670009/lib/appium_lib/common/http_client.rb#L8)
|
|
1101
1134
|
|
|
1102
1135
|
> DEFAULT_HEADERS = { 'Accept' => CONTENT_TYPE, 'User-Agent' => "appium/ruby_lib/#{::Appium::VERSION}" }.freeze
|
|
1103
1136
|
|
|
@@ -1105,7 +1138,7 @@ Default HTTP client inherit Appium::Core::Base::Http::Default, but has different
|
|
|
1105
1138
|
|
|
1106
1139
|
--
|
|
1107
1140
|
|
|
1108
|
-
##### [pinch](https://github.com/appium/ruby_lib/blob/
|
|
1141
|
+
##### [pinch](https://github.com/appium/ruby_lib/blob/08550ca75f3dad2874f9c7e7c7d1b117c0670009/lib/appium_lib/common/multi_touch.rb#L51)
|
|
1109
1142
|
|
|
1110
1143
|
> def pinch(percentage = 25, auto_perform = true, driver = $driver)
|
|
1111
1144
|
|
|
@@ -1125,7 +1158,7 @@ __Parameters:__
|
|
|
1125
1158
|
|
|
1126
1159
|
--
|
|
1127
1160
|
|
|
1128
|
-
##### [zoom](https://github.com/appium/ruby_lib/blob/
|
|
1161
|
+
##### [zoom](https://github.com/appium/ruby_lib/blob/08550ca75f3dad2874f9c7e7c7d1b117c0670009/lib/appium_lib/common/multi_touch.rb#L95)
|
|
1129
1162
|
|
|
1130
1163
|
> def zoom(percentage = 200, auto_perform = true, driver = $driver)
|
|
1131
1164
|
|
|
@@ -1145,19 +1178,11 @@ __Parameters:__
|
|
|
1145
1178
|
|
|
1146
1179
|
--
|
|
1147
1180
|
|
|
1148
|
-
##### [
|
|
1149
|
-
|
|
1150
|
-
> def driver
|
|
1151
|
-
|
|
1152
|
-
self
|
|
1153
|
-
|
|
1154
|
-
--
|
|
1155
|
-
|
|
1156
|
-
##### [initialize](https://github.com/appium/ruby_lib/blob/07ebd5767f3e9fafdfb597ec186b0e7f5384a839/lib/appium_lib/common/multi_touch.rb#L218)
|
|
1181
|
+
##### [initialize](https://github.com/appium/ruby_lib/blob/08550ca75f3dad2874f9c7e7c7d1b117c0670009/lib/appium_lib/common/multi_touch.rb#L216)
|
|
1157
1182
|
|
|
1158
1183
|
> def initialize(driver = $driver)
|
|
1159
1184
|
|
|
1160
|
-
|
|
1185
|
+
self
|
|
1161
1186
|
|
|
1162
1187
|
__Returns:__
|
|
1163
1188
|
|
|
@@ -1165,27 +1190,7 @@ __Returns:__
|
|
|
1165
1190
|
|
|
1166
1191
|
--
|
|
1167
1192
|
|
|
1168
|
-
##### [
|
|
1169
|
-
|
|
1170
|
-
> def add(chain)
|
|
1171
|
-
|
|
1172
|
-
Add a touch_action to be performed
|
|
1173
|
-
|
|
1174
|
-
__Parameters:__
|
|
1175
|
-
|
|
1176
|
-
[TouchAction] chain - The action to add to the chain
|
|
1177
|
-
|
|
1178
|
-
--
|
|
1179
|
-
|
|
1180
|
-
##### [perform](https://github.com/appium/ruby_lib/blob/07ebd5767f3e9fafdfb597ec186b0e7f5384a839/lib/appium_lib/common/multi_touch.rb#L230)
|
|
1181
|
-
|
|
1182
|
-
> def perform
|
|
1183
|
-
|
|
1184
|
-
Ask Appium to perform the actions
|
|
1185
|
-
|
|
1186
|
-
--
|
|
1187
|
-
|
|
1188
|
-
##### [COMPLEX_ACTIONS](https://github.com/appium/ruby_lib/blob/07ebd5767f3e9fafdfb597ec186b0e7f5384a839/lib/appium_lib/common/touch_actions.rb#L33)
|
|
1193
|
+
##### [COMPLEX_ACTIONS](https://github.com/appium/ruby_lib/blob/08550ca75f3dad2874f9c7e7c7d1b117c0670009/lib/appium_lib/common/touch_actions.rb#L33)
|
|
1189
1194
|
|
|
1190
1195
|
> COMPLEX_ACTIONS = ::Appium::Core::TouchAction::COMPLEX_ACTIONS
|
|
1191
1196
|
|
|
@@ -1193,7 +1198,7 @@ Ask Appium to perform the actions
|
|
|
1193
1198
|
|
|
1194
1199
|
--
|
|
1195
1200
|
|
|
1196
|
-
##### [initialize](https://github.com/appium/ruby_lib/blob/
|
|
1201
|
+
##### [initialize](https://github.com/appium/ruby_lib/blob/08550ca75f3dad2874f9c7e7c7d1b117c0670009/lib/appium_lib/common/touch_actions.rb#L47)
|
|
1197
1202
|
|
|
1198
1203
|
> def initialize(driver = $driver)
|
|
1199
1204
|
|
|
@@ -1205,7 +1210,7 @@ __Returns:__
|
|
|
1205
1210
|
|
|
1206
1211
|
--
|
|
1207
1212
|
|
|
1208
|
-
##### [swipe](https://github.com/appium/ruby_lib/blob/
|
|
1213
|
+
##### [swipe](https://github.com/appium/ruby_lib/blob/08550ca75f3dad2874f9c7e7c7d1b117c0670009/lib/appium_lib/common/touch_actions.rb#L51)
|
|
1209
1214
|
|
|
1210
1215
|
> def swipe(opts, ele = nil)
|
|
1211
1216
|
|
|
@@ -1213,7 +1218,7 @@ __Returns:__
|
|
|
1213
1218
|
|
|
1214
1219
|
--
|
|
1215
1220
|
|
|
1216
|
-
##### [for](https://github.com/appium/ruby_lib/blob/
|
|
1221
|
+
##### [for](https://github.com/appium/ruby_lib/blob/08550ca75f3dad2874f9c7e7c7d1b117c0670009/lib/appium_lib/android/android.rb#L18) android
|
|
1217
1222
|
|
|
1218
1223
|
> def self.for(target)
|
|
1219
1224
|
|
|
@@ -1221,7 +1226,7 @@ __Returns:__
|
|
|
1221
1226
|
|
|
1222
1227
|
--
|
|
1223
1228
|
|
|
1224
|
-
##### [TextView](https://github.com/appium/ruby_lib/blob/
|
|
1229
|
+
##### [TextView](https://github.com/appium/ruby_lib/blob/08550ca75f3dad2874f9c7e7c7d1b117c0670009/lib/appium_lib/android/element/text.rb#L4) android
|
|
1225
1230
|
|
|
1226
1231
|
> TextView = 'android.widget.TextView'.freeze
|
|
1227
1232
|
|
|
@@ -1229,7 +1234,7 @@ __Returns:__
|
|
|
1229
1234
|
|
|
1230
1235
|
--
|
|
1231
1236
|
|
|
1232
|
-
##### [text](https://github.com/appium/ruby_lib/blob/
|
|
1237
|
+
##### [text](https://github.com/appium/ruby_lib/blob/08550ca75f3dad2874f9c7e7c7d1b117c0670009/lib/appium_lib/android/element/text.rb#L10) android
|
|
1233
1238
|
|
|
1234
1239
|
> def text(value)
|
|
1235
1240
|
|
|
@@ -1246,7 +1251,7 @@ __Returns:__
|
|
|
1246
1251
|
|
|
1247
1252
|
--
|
|
1248
1253
|
|
|
1249
|
-
##### [texts](https://github.com/appium/ruby_lib/blob/
|
|
1254
|
+
##### [texts](https://github.com/appium/ruby_lib/blob/08550ca75f3dad2874f9c7e7c7d1b117c0670009/lib/appium_lib/android/element/text.rb#L19) android
|
|
1250
1255
|
|
|
1251
1256
|
> def texts(value = false)
|
|
1252
1257
|
|
|
@@ -1263,7 +1268,7 @@ __Returns:__
|
|
|
1263
1268
|
|
|
1264
1269
|
--
|
|
1265
1270
|
|
|
1266
|
-
##### [first_text](https://github.com/appium/ruby_lib/blob/
|
|
1271
|
+
##### [first_text](https://github.com/appium/ruby_lib/blob/08550ca75f3dad2874f9c7e7c7d1b117c0670009/lib/appium_lib/android/element/text.rb#L26) android
|
|
1267
1272
|
|
|
1268
1273
|
> def first_text
|
|
1269
1274
|
|
|
@@ -1275,7 +1280,7 @@ __Returns:__
|
|
|
1275
1280
|
|
|
1276
1281
|
--
|
|
1277
1282
|
|
|
1278
|
-
##### [last_text](https://github.com/appium/ruby_lib/blob/
|
|
1283
|
+
##### [last_text](https://github.com/appium/ruby_lib/blob/08550ca75f3dad2874f9c7e7c7d1b117c0670009/lib/appium_lib/android/element/text.rb#L32) android
|
|
1279
1284
|
|
|
1280
1285
|
> def last_text
|
|
1281
1286
|
|
|
@@ -1287,7 +1292,7 @@ __Returns:__
|
|
|
1287
1292
|
|
|
1288
1293
|
--
|
|
1289
1294
|
|
|
1290
|
-
##### [text_exact](https://github.com/appium/ruby_lib/blob/
|
|
1295
|
+
##### [text_exact](https://github.com/appium/ruby_lib/blob/08550ca75f3dad2874f9c7e7c7d1b117c0670009/lib/appium_lib/android/element/text.rb#L39) android
|
|
1291
1296
|
|
|
1292
1297
|
> def text_exact(value)
|
|
1293
1298
|
|
|
@@ -1303,7 +1308,7 @@ __Returns:__
|
|
|
1303
1308
|
|
|
1304
1309
|
--
|
|
1305
1310
|
|
|
1306
|
-
##### [texts_exact](https://github.com/appium/ruby_lib/blob/
|
|
1311
|
+
##### [texts_exact](https://github.com/appium/ruby_lib/blob/08550ca75f3dad2874f9c7e7c7d1b117c0670009/lib/appium_lib/android/element/text.rb#L46) android
|
|
1307
1312
|
|
|
1308
1313
|
> def texts_exact(value)
|
|
1309
1314
|
|
|
@@ -1319,7 +1324,7 @@ __Returns:__
|
|
|
1319
1324
|
|
|
1320
1325
|
--
|
|
1321
1326
|
|
|
1322
|
-
##### [result](https://github.com/appium/ruby_lib/blob/
|
|
1327
|
+
##### [result](https://github.com/appium/ruby_lib/blob/08550ca75f3dad2874f9c7e7c7d1b117c0670009/lib/appium_lib/android/common/helper.rb#L6) android
|
|
1323
1328
|
|
|
1324
1329
|
> def result
|
|
1325
1330
|
|
|
@@ -1327,7 +1332,7 @@ Returns the value of attribute result
|
|
|
1327
1332
|
|
|
1328
1333
|
--
|
|
1329
1334
|
|
|
1330
|
-
##### [keys](https://github.com/appium/ruby_lib/blob/
|
|
1335
|
+
##### [keys](https://github.com/appium/ruby_lib/blob/08550ca75f3dad2874f9c7e7c7d1b117c0670009/lib/appium_lib/android/common/helper.rb#L6) android
|
|
1331
1336
|
|
|
1332
1337
|
> def keys
|
|
1333
1338
|
|
|
@@ -1335,7 +1340,7 @@ Returns the value of attribute keys
|
|
|
1335
1340
|
|
|
1336
1341
|
--
|
|
1337
1342
|
|
|
1338
|
-
##### [filter](https://github.com/appium/ruby_lib/blob/
|
|
1343
|
+
##### [filter](https://github.com/appium/ruby_lib/blob/08550ca75f3dad2874f9c7e7c7d1b117c0670009/lib/appium_lib/android/common/helper.rb#L6) android
|
|
1339
1344
|
|
|
1340
1345
|
> def filter
|
|
1341
1346
|
|
|
@@ -1343,7 +1348,7 @@ Returns the value of attribute filter
|
|
|
1343
1348
|
|
|
1344
1349
|
--
|
|
1345
1350
|
|
|
1346
|
-
##### [filter=](https://github.com/appium/ruby_lib/blob/
|
|
1351
|
+
##### [filter=](https://github.com/appium/ruby_lib/blob/08550ca75f3dad2874f9c7e7c7d1b117c0670009/lib/appium_lib/android/common/helper.rb#L9) android
|
|
1347
1352
|
|
|
1348
1353
|
> def filter=(value)
|
|
1349
1354
|
|
|
@@ -1351,7 +1356,7 @@ convert to string to support symbols
|
|
|
1351
1356
|
|
|
1352
1357
|
--
|
|
1353
1358
|
|
|
1354
|
-
##### [initialize](https://github.com/appium/ruby_lib/blob/
|
|
1359
|
+
##### [initialize](https://github.com/appium/ruby_lib/blob/08550ca75f3dad2874f9c7e7c7d1b117c0670009/lib/appium_lib/android/common/helper.rb#L15) android
|
|
1355
1360
|
|
|
1356
1361
|
> def initialize
|
|
1357
1362
|
|
|
@@ -1363,7 +1368,7 @@ __Returns:__
|
|
|
1363
1368
|
|
|
1364
1369
|
--
|
|
1365
1370
|
|
|
1366
|
-
##### [reset](https://github.com/appium/ruby_lib/blob/
|
|
1371
|
+
##### [reset](https://github.com/appium/ruby_lib/blob/08550ca75f3dad2874f9c7e7c7d1b117c0670009/lib/appium_lib/android/common/helper.rb#L20) android
|
|
1367
1372
|
|
|
1368
1373
|
> def reset
|
|
1369
1374
|
|
|
@@ -1371,7 +1376,7 @@ __Returns:__
|
|
|
1371
1376
|
|
|
1372
1377
|
--
|
|
1373
1378
|
|
|
1374
|
-
##### [start_element](https://github.com/appium/ruby_lib/blob/
|
|
1379
|
+
##### [start_element](https://github.com/appium/ruby_lib/blob/08550ca75f3dad2874f9c7e7c7d1b117c0670009/lib/appium_lib/android/common/helper.rb#L26) android
|
|
1375
1380
|
|
|
1376
1381
|
> def start_element(name, attrs = [], driver = $driver)
|
|
1377
1382
|
|
|
@@ -1379,19 +1384,7 @@ http://nokogiri.org/Nokogiri/XML/SAX/Document.html
|
|
|
1379
1384
|
|
|
1380
1385
|
--
|
|
1381
1386
|
|
|
1382
|
-
##### [
|
|
1383
|
-
|
|
1384
|
-
> def source
|
|
1385
|
-
|
|
1386
|
-
Prints xml of the current page
|
|
1387
|
-
|
|
1388
|
-
__Returns:__
|
|
1389
|
-
|
|
1390
|
-
[void]
|
|
1391
|
-
|
|
1392
|
-
--
|
|
1393
|
-
|
|
1394
|
-
##### [get_android_inspect](https://github.com/appium/ruby_lib/blob/07ebd5767f3e9fafdfb597ec186b0e7f5384a839/lib/appium_lib/android/common/helper.rb#L86) android
|
|
1387
|
+
##### [get_android_inspect](https://github.com/appium/ruby_lib/blob/08550ca75f3dad2874f9c7e7c7d1b117c0670009/lib/appium_lib/android/common/helper.rb#L80) android
|
|
1395
1388
|
|
|
1396
1389
|
> def get_android_inspect(class_name = false)
|
|
1397
1390
|
|
|
@@ -1410,7 +1403,7 @@ __Returns:__
|
|
|
1410
1403
|
|
|
1411
1404
|
--
|
|
1412
1405
|
|
|
1413
|
-
##### [page](https://github.com/appium/ruby_lib/blob/
|
|
1406
|
+
##### [page](https://github.com/appium/ruby_lib/blob/08550ca75f3dad2874f9c7e7c7d1b117c0670009/lib/appium_lib/android/common/helper.rb#L106) android
|
|
1414
1407
|
|
|
1415
1408
|
> def page(opts = {})
|
|
1416
1409
|
|
|
@@ -1429,7 +1422,7 @@ __Returns:__
|
|
|
1429
1422
|
|
|
1430
1423
|
--
|
|
1431
1424
|
|
|
1432
|
-
##### [current_app](https://github.com/appium/ruby_lib/blob/
|
|
1425
|
+
##### [current_app](https://github.com/appium/ruby_lib/blob/08550ca75f3dad2874f9c7e7c7d1b117c0670009/lib/appium_lib/android/common/helper.rb#L118) android
|
|
1433
1426
|
|
|
1434
1427
|
> def current_app
|
|
1435
1428
|
|
|
@@ -1439,7 +1432,7 @@ example line:
|
|
|
1439
1432
|
|
|
1440
1433
|
--
|
|
1441
1434
|
|
|
1442
|
-
##### [id](https://github.com/appium/ruby_lib/blob/
|
|
1435
|
+
##### [id](https://github.com/appium/ruby_lib/blob/08550ca75f3dad2874f9c7e7c7d1b117c0670009/lib/appium_lib/android/common/helper.rb#L145) android
|
|
1443
1436
|
|
|
1444
1437
|
> def id(id)
|
|
1445
1438
|
|
|
@@ -1455,7 +1448,7 @@ __Returns:__
|
|
|
1455
1448
|
|
|
1456
1449
|
--
|
|
1457
1450
|
|
|
1458
|
-
##### [ids](https://github.com/appium/ruby_lib/blob/
|
|
1451
|
+
##### [ids](https://github.com/appium/ruby_lib/blob/08550ca75f3dad2874f9c7e7c7d1b117c0670009/lib/appium_lib/android/common/helper.rb#L153) android
|
|
1459
1452
|
|
|
1460
1453
|
> def ids(id)
|
|
1461
1454
|
|
|
@@ -1471,7 +1464,7 @@ __Returns:__
|
|
|
1471
1464
|
|
|
1472
1465
|
--
|
|
1473
1466
|
|
|
1474
|
-
##### [ele_index](https://github.com/appium/ruby_lib/blob/
|
|
1467
|
+
##### [ele_index](https://github.com/appium/ruby_lib/blob/08550ca75f3dad2874f9c7e7c7d1b117c0670009/lib/appium_lib/android/common/helper.rb#L162) android
|
|
1475
1468
|
|
|
1476
1469
|
> def ele_index(class_name, index)
|
|
1477
1470
|
|
|
@@ -1489,7 +1482,7 @@ __Returns:__
|
|
|
1489
1482
|
|
|
1490
1483
|
--
|
|
1491
1484
|
|
|
1492
|
-
##### [first_ele](https://github.com/appium/ruby_lib/blob/
|
|
1485
|
+
##### [first_ele](https://github.com/appium/ruby_lib/blob/08550ca75f3dad2874f9c7e7c7d1b117c0670009/lib/appium_lib/android/common/helper.rb#L180) android
|
|
1493
1486
|
|
|
1494
1487
|
> def first_ele(class_name)
|
|
1495
1488
|
|
|
@@ -1505,7 +1498,7 @@ __Returns:__
|
|
|
1505
1498
|
|
|
1506
1499
|
--
|
|
1507
1500
|
|
|
1508
|
-
##### [last_ele](https://github.com/appium/ruby_lib/blob/
|
|
1501
|
+
##### [last_ele](https://github.com/appium/ruby_lib/blob/08550ca75f3dad2874f9c7e7c7d1b117c0670009/lib/appium_lib/android/common/helper.rb#L187) android
|
|
1509
1502
|
|
|
1510
1503
|
> def last_ele(class_name)
|
|
1511
1504
|
|
|
@@ -1521,7 +1514,7 @@ __Returns:__
|
|
|
1521
1514
|
|
|
1522
1515
|
--
|
|
1523
1516
|
|
|
1524
|
-
##### [tag](https://github.com/appium/ruby_lib/blob/
|
|
1517
|
+
##### [tag](https://github.com/appium/ruby_lib/blob/08550ca75f3dad2874f9c7e7c7d1b117c0670009/lib/appium_lib/android/common/helper.rb#L195) android
|
|
1525
1518
|
|
|
1526
1519
|
> def tag(class_name)
|
|
1527
1520
|
|
|
@@ -1537,7 +1530,7 @@ __Returns:__
|
|
|
1537
1530
|
|
|
1538
1531
|
--
|
|
1539
1532
|
|
|
1540
|
-
##### [tags](https://github.com/appium/ruby_lib/blob/
|
|
1533
|
+
##### [tags](https://github.com/appium/ruby_lib/blob/08550ca75f3dad2874f9c7e7c7d1b117c0670009/lib/appium_lib/android/common/helper.rb#L203) android
|
|
1541
1534
|
|
|
1542
1535
|
> def tags(class_name)
|
|
1543
1536
|
|
|
@@ -1553,7 +1546,7 @@ __Returns:__
|
|
|
1553
1546
|
|
|
1554
1547
|
--
|
|
1555
1548
|
|
|
1556
|
-
##### [string_visible_contains_xpath](https://github.com/appium/ruby_lib/blob/
|
|
1549
|
+
##### [string_visible_contains_xpath](https://github.com/appium/ruby_lib/blob/08550ca75f3dad2874f9c7e7c7d1b117c0670009/lib/appium_lib/android/common/helper.rb#L246) android
|
|
1557
1550
|
|
|
1558
1551
|
> def string_visible_contains_xpath(class_name, value)
|
|
1559
1552
|
|
|
@@ -1574,7 +1567,7 @@ __Returns:__
|
|
|
1574
1567
|
|
|
1575
1568
|
--
|
|
1576
1569
|
|
|
1577
|
-
##### [string_visible_contains](https://github.com/appium/ruby_lib/blob/
|
|
1570
|
+
##### [string_visible_contains](https://github.com/appium/ruby_lib/blob/08550ca75f3dad2874f9c7e7c7d1b117c0670009/lib/appium_lib/android/common/helper.rb#L266) android
|
|
1578
1571
|
|
|
1579
1572
|
> def string_visible_contains(class_name, value)
|
|
1580
1573
|
|
|
@@ -1595,7 +1588,7 @@ __Returns:__
|
|
|
1595
1588
|
|
|
1596
1589
|
--
|
|
1597
1590
|
|
|
1598
|
-
##### [complex_find_contains](https://github.com/appium/ruby_lib/blob/
|
|
1591
|
+
##### [complex_find_contains](https://github.com/appium/ruby_lib/blob/08550ca75f3dad2874f9c7e7c7d1b117c0670009/lib/appium_lib/android/common/helper.rb#L284) android
|
|
1599
1592
|
|
|
1600
1593
|
> def complex_find_contains(class_name, value)
|
|
1601
1594
|
|
|
@@ -1613,7 +1606,7 @@ __Returns:__
|
|
|
1613
1606
|
|
|
1614
1607
|
--
|
|
1615
1608
|
|
|
1616
|
-
##### [complex_finds_contains](https://github.com/appium/ruby_lib/blob/
|
|
1609
|
+
##### [complex_finds_contains](https://github.com/appium/ruby_lib/blob/08550ca75f3dad2874f9c7e7c7d1b117c0670009/lib/appium_lib/android/common/helper.rb#L292) android
|
|
1617
1610
|
|
|
1618
1611
|
> def complex_finds_contains(class_name, value)
|
|
1619
1612
|
|
|
@@ -1631,7 +1624,7 @@ __Returns:__
|
|
|
1631
1624
|
|
|
1632
1625
|
--
|
|
1633
1626
|
|
|
1634
|
-
##### [complex_find_exact](https://github.com/appium/ruby_lib/blob/
|
|
1627
|
+
##### [complex_find_exact](https://github.com/appium/ruby_lib/blob/08550ca75f3dad2874f9c7e7c7d1b117c0670009/lib/appium_lib/android/common/helper.rb#L336) android
|
|
1635
1628
|
|
|
1636
1629
|
> def complex_find_exact(class_name, value)
|
|
1637
1630
|
|
|
@@ -1649,7 +1642,7 @@ __Returns:__
|
|
|
1649
1642
|
|
|
1650
1643
|
--
|
|
1651
1644
|
|
|
1652
|
-
##### [complex_finds_exact](https://github.com/appium/ruby_lib/blob/
|
|
1645
|
+
##### [complex_finds_exact](https://github.com/appium/ruby_lib/blob/08550ca75f3dad2874f9c7e7c7d1b117c0670009/lib/appium_lib/android/common/helper.rb#L344) android
|
|
1653
1646
|
|
|
1654
1647
|
> def complex_finds_exact(class_name, value)
|
|
1655
1648
|
|
|
@@ -1667,19 +1660,7 @@ __Returns:__
|
|
|
1667
1660
|
|
|
1668
1661
|
--
|
|
1669
1662
|
|
|
1670
|
-
##### [
|
|
1671
|
-
|
|
1672
|
-
> def get_source
|
|
1673
|
-
|
|
1674
|
-
Returns XML string for the current page via `page_source`
|
|
1675
|
-
|
|
1676
|
-
__Returns:__
|
|
1677
|
-
|
|
1678
|
-
[String]
|
|
1679
|
-
|
|
1680
|
-
--
|
|
1681
|
-
|
|
1682
|
-
##### [alert_click](https://github.com/appium/ruby_lib/blob/07ebd5767f3e9fafdfb597ec186b0e7f5384a839/lib/appium_lib/android/element/alert.rb#L6) android
|
|
1663
|
+
##### [alert_click](https://github.com/appium/ruby_lib/blob/08550ca75f3dad2874f9c7e7c7d1b117c0670009/lib/appium_lib/android/element/alert.rb#L6) android
|
|
1683
1664
|
|
|
1684
1665
|
> def alert_click(value)
|
|
1685
1666
|
|
|
@@ -1695,7 +1676,7 @@ __Returns:__
|
|
|
1695
1676
|
|
|
1696
1677
|
--
|
|
1697
1678
|
|
|
1698
|
-
##### [alert_accept](https://github.com/appium/ruby_lib/blob/
|
|
1679
|
+
##### [alert_accept](https://github.com/appium/ruby_lib/blob/08550ca75f3dad2874f9c7e7c7d1b117c0670009/lib/appium_lib/android/element/alert.rb#L13) android
|
|
1699
1680
|
|
|
1700
1681
|
> def alert_accept
|
|
1701
1682
|
|
|
@@ -1708,7 +1689,7 @@ __Returns:__
|
|
|
1708
1689
|
|
|
1709
1690
|
--
|
|
1710
1691
|
|
|
1711
|
-
##### [alert_accept_text](https://github.com/appium/ruby_lib/blob/
|
|
1692
|
+
##### [alert_accept_text](https://github.com/appium/ruby_lib/blob/08550ca75f3dad2874f9c7e7c7d1b117c0670009/lib/appium_lib/android/element/alert.rb#L20) android
|
|
1712
1693
|
|
|
1713
1694
|
> def alert_accept_text
|
|
1714
1695
|
|
|
@@ -1721,7 +1702,7 @@ __Returns:__
|
|
|
1721
1702
|
|
|
1722
1703
|
--
|
|
1723
1704
|
|
|
1724
|
-
##### [alert_dismiss](https://github.com/appium/ruby_lib/blob/
|
|
1705
|
+
##### [alert_dismiss](https://github.com/appium/ruby_lib/blob/08550ca75f3dad2874f9c7e7c7d1b117c0670009/lib/appium_lib/android/element/alert.rb#L27) android
|
|
1725
1706
|
|
|
1726
1707
|
> def alert_dismiss
|
|
1727
1708
|
|
|
@@ -1734,7 +1715,7 @@ __Returns:__
|
|
|
1734
1715
|
|
|
1735
1716
|
--
|
|
1736
1717
|
|
|
1737
|
-
##### [alert_dismiss_text](https://github.com/appium/ruby_lib/blob/
|
|
1718
|
+
##### [alert_dismiss_text](https://github.com/appium/ruby_lib/blob/08550ca75f3dad2874f9c7e7c7d1b117c0670009/lib/appium_lib/android/element/alert.rb#L34) android
|
|
1738
1719
|
|
|
1739
1720
|
> def alert_dismiss_text
|
|
1740
1721
|
|
|
@@ -1747,7 +1728,7 @@ __Returns:__
|
|
|
1747
1728
|
|
|
1748
1729
|
--
|
|
1749
1730
|
|
|
1750
|
-
##### [Button](https://github.com/appium/ruby_lib/blob/
|
|
1731
|
+
##### [Button](https://github.com/appium/ruby_lib/blob/08550ca75f3dad2874f9c7e7c7d1b117c0670009/lib/appium_lib/android/element/button.rb#L3) android
|
|
1751
1732
|
|
|
1752
1733
|
> Button = 'android.widget.Button'.freeze
|
|
1753
1734
|
|
|
@@ -1755,7 +1736,7 @@ __Returns:__
|
|
|
1755
1736
|
|
|
1756
1737
|
--
|
|
1757
1738
|
|
|
1758
|
-
##### [ImageButton](https://github.com/appium/ruby_lib/blob/
|
|
1739
|
+
##### [ImageButton](https://github.com/appium/ruby_lib/blob/08550ca75f3dad2874f9c7e7c7d1b117c0670009/lib/appium_lib/android/element/button.rb#L4) android
|
|
1759
1740
|
|
|
1760
1741
|
> ImageButton = 'android.widget.ImageButton'.freeze
|
|
1761
1742
|
|
|
@@ -1763,7 +1744,7 @@ __Returns:__
|
|
|
1763
1744
|
|
|
1764
1745
|
--
|
|
1765
1746
|
|
|
1766
|
-
##### [button](https://github.com/appium/ruby_lib/blob/
|
|
1747
|
+
##### [button](https://github.com/appium/ruby_lib/blob/08550ca75f3dad2874f9c7e7c7d1b117c0670009/lib/appium_lib/android/element/button.rb#L10) android
|
|
1767
1748
|
|
|
1768
1749
|
> def button(value)
|
|
1769
1750
|
|
|
@@ -1780,7 +1761,7 @@ __Returns:__
|
|
|
1780
1761
|
|
|
1781
1762
|
--
|
|
1782
1763
|
|
|
1783
|
-
##### [buttons](https://github.com/appium/ruby_lib/blob/
|
|
1764
|
+
##### [buttons](https://github.com/appium/ruby_lib/blob/08550ca75f3dad2874f9c7e7c7d1b117c0670009/lib/appium_lib/android/element/button.rb#L27) android
|
|
1784
1765
|
|
|
1785
1766
|
> def buttons(value = false)
|
|
1786
1767
|
|
|
@@ -1797,7 +1778,7 @@ __Returns:__
|
|
|
1797
1778
|
|
|
1798
1779
|
--
|
|
1799
1780
|
|
|
1800
|
-
##### [first_button](https://github.com/appium/ruby_lib/blob/
|
|
1781
|
+
##### [first_button](https://github.com/appium/ruby_lib/blob/08550ca75f3dad2874f9c7e7c7d1b117c0670009/lib/appium_lib/android/element/button.rb#L34) android
|
|
1801
1782
|
|
|
1802
1783
|
> def first_button
|
|
1803
1784
|
|
|
@@ -1809,7 +1790,7 @@ __Returns:__
|
|
|
1809
1790
|
|
|
1810
1791
|
--
|
|
1811
1792
|
|
|
1812
|
-
##### [last_button](https://github.com/appium/ruby_lib/blob/
|
|
1793
|
+
##### [last_button](https://github.com/appium/ruby_lib/blob/08550ca75f3dad2874f9c7e7c7d1b117c0670009/lib/appium_lib/android/element/button.rb#L40) android
|
|
1813
1794
|
|
|
1814
1795
|
> def last_button
|
|
1815
1796
|
|
|
@@ -1821,7 +1802,7 @@ __Returns:__
|
|
|
1821
1802
|
|
|
1822
1803
|
--
|
|
1823
1804
|
|
|
1824
|
-
##### [button_exact](https://github.com/appium/ruby_lib/blob/
|
|
1805
|
+
##### [button_exact](https://github.com/appium/ruby_lib/blob/08550ca75f3dad2874f9c7e7c7d1b117c0670009/lib/appium_lib/android/element/button.rb#L56) android
|
|
1825
1806
|
|
|
1826
1807
|
> def button_exact(value)
|
|
1827
1808
|
|
|
@@ -1837,7 +1818,7 @@ __Returns:__
|
|
|
1837
1818
|
|
|
1838
1819
|
--
|
|
1839
1820
|
|
|
1840
|
-
##### [buttons_exact](https://github.com/appium/ruby_lib/blob/
|
|
1821
|
+
##### [buttons_exact](https://github.com/appium/ruby_lib/blob/08550ca75f3dad2874f9c7e7c7d1b117c0670009/lib/appium_lib/android/element/button.rb#L63) android
|
|
1841
1822
|
|
|
1842
1823
|
> def buttons_exact(value)
|
|
1843
1824
|
|
|
@@ -1853,7 +1834,7 @@ __Returns:__
|
|
|
1853
1834
|
|
|
1854
1835
|
--
|
|
1855
1836
|
|
|
1856
|
-
##### [find](https://github.com/appium/ruby_lib/blob/
|
|
1837
|
+
##### [find](https://github.com/appium/ruby_lib/blob/08550ca75f3dad2874f9c7e7c7d1b117c0670009/lib/appium_lib/android/element/generic.rb#L6) android
|
|
1857
1838
|
|
|
1858
1839
|
> def find(value)
|
|
1859
1840
|
|
|
@@ -1869,7 +1850,7 @@ __Returns:__
|
|
|
1869
1850
|
|
|
1870
1851
|
--
|
|
1871
1852
|
|
|
1872
|
-
##### [finds](https://github.com/appium/ruby_lib/blob/
|
|
1853
|
+
##### [finds](https://github.com/appium/ruby_lib/blob/08550ca75f3dad2874f9c7e7c7d1b117c0670009/lib/appium_lib/android/element/generic.rb#L13) android
|
|
1873
1854
|
|
|
1874
1855
|
> def finds(value)
|
|
1875
1856
|
|
|
@@ -1885,7 +1866,7 @@ __Returns:__
|
|
|
1885
1866
|
|
|
1886
1867
|
--
|
|
1887
1868
|
|
|
1888
|
-
##### [find_exact](https://github.com/appium/ruby_lib/blob/
|
|
1869
|
+
##### [find_exact](https://github.com/appium/ruby_lib/blob/08550ca75f3dad2874f9c7e7c7d1b117c0670009/lib/appium_lib/android/element/generic.rb#L20) android
|
|
1889
1870
|
|
|
1890
1871
|
> def find_exact(value)
|
|
1891
1872
|
|
|
@@ -1901,7 +1882,7 @@ __Returns:__
|
|
|
1901
1882
|
|
|
1902
1883
|
--
|
|
1903
1884
|
|
|
1904
|
-
##### [finds_exact](https://github.com/appium/ruby_lib/blob/
|
|
1885
|
+
##### [finds_exact](https://github.com/appium/ruby_lib/blob/08550ca75f3dad2874f9c7e7c7d1b117c0670009/lib/appium_lib/android/element/generic.rb#L27) android
|
|
1905
1886
|
|
|
1906
1887
|
> def finds_exact(value)
|
|
1907
1888
|
|
|
@@ -1917,7 +1898,7 @@ __Returns:__
|
|
|
1917
1898
|
|
|
1918
1899
|
--
|
|
1919
1900
|
|
|
1920
|
-
##### [scroll_to](https://github.com/appium/ruby_lib/blob/
|
|
1901
|
+
##### [scroll_to](https://github.com/appium/ruby_lib/blob/08550ca75f3dad2874f9c7e7c7d1b117c0670009/lib/appium_lib/android/element/generic.rb#L40) android
|
|
1921
1902
|
|
|
1922
1903
|
> def scroll_to(text, scrollable_index = 0)
|
|
1923
1904
|
|
|
@@ -1935,7 +1916,7 @@ __Returns:__
|
|
|
1935
1916
|
|
|
1936
1917
|
--
|
|
1937
1918
|
|
|
1938
|
-
##### [scroll_to_exact](https://github.com/appium/ruby_lib/blob/
|
|
1919
|
+
##### [scroll_to_exact](https://github.com/appium/ruby_lib/blob/08550ca75f3dad2874f9c7e7c7d1b117c0670009/lib/appium_lib/android/element/generic.rb#L58) android
|
|
1939
1920
|
|
|
1940
1921
|
> def scroll_to_exact(text, scrollable_index = 0)
|
|
1941
1922
|
|
|
@@ -1953,7 +1934,7 @@ __Returns:__
|
|
|
1953
1934
|
|
|
1954
1935
|
--
|
|
1955
1936
|
|
|
1956
|
-
##### [for](https://github.com/appium/ruby_lib/blob/
|
|
1937
|
+
##### [for](https://github.com/appium/ruby_lib/blob/08550ca75f3dad2874f9c7e7c7d1b117c0670009/lib/appium_lib/android/espresso/bridge.rb#L7) android
|
|
1957
1938
|
|
|
1958
1939
|
> def self.for(target)
|
|
1959
1940
|
|
|
@@ -1961,7 +1942,7 @@ __Returns:__
|
|
|
1961
1942
|
|
|
1962
1943
|
--
|
|
1963
1944
|
|
|
1964
|
-
##### [EditText](https://github.com/appium/ruby_lib/blob/
|
|
1945
|
+
##### [EditText](https://github.com/appium/ruby_lib/blob/08550ca75f3dad2874f9c7e7c7d1b117c0670009/lib/appium_lib/android/element/textfield.rb#L3) android
|
|
1965
1946
|
|
|
1966
1947
|
> EditText = 'android.widget.EditText'.freeze
|
|
1967
1948
|
|
|
@@ -1969,7 +1950,7 @@ __Returns:__
|
|
|
1969
1950
|
|
|
1970
1951
|
--
|
|
1971
1952
|
|
|
1972
|
-
##### [textfield](https://github.com/appium/ruby_lib/blob/
|
|
1953
|
+
##### [textfield](https://github.com/appium/ruby_lib/blob/08550ca75f3dad2874f9c7e7c7d1b117c0670009/lib/appium_lib/android/element/textfield.rb#L9) android
|
|
1973
1954
|
|
|
1974
1955
|
> def textfield(value)
|
|
1975
1956
|
|
|
@@ -1986,7 +1967,7 @@ __Returns:__
|
|
|
1986
1967
|
|
|
1987
1968
|
--
|
|
1988
1969
|
|
|
1989
|
-
##### [textfields](https://github.com/appium/ruby_lib/blob/
|
|
1970
|
+
##### [textfields](https://github.com/appium/ruby_lib/blob/08550ca75f3dad2874f9c7e7c7d1b117c0670009/lib/appium_lib/android/element/textfield.rb#L18) android
|
|
1990
1971
|
|
|
1991
1972
|
> def textfields(value = false)
|
|
1992
1973
|
|
|
@@ -2003,7 +1984,7 @@ __Returns:__
|
|
|
2003
1984
|
|
|
2004
1985
|
--
|
|
2005
1986
|
|
|
2006
|
-
##### [first_textfield](https://github.com/appium/ruby_lib/blob/
|
|
1987
|
+
##### [first_textfield](https://github.com/appium/ruby_lib/blob/08550ca75f3dad2874f9c7e7c7d1b117c0670009/lib/appium_lib/android/element/textfield.rb#L25) android
|
|
2007
1988
|
|
|
2008
1989
|
> def first_textfield
|
|
2009
1990
|
|
|
@@ -2015,7 +1996,7 @@ __Returns:__
|
|
|
2015
1996
|
|
|
2016
1997
|
--
|
|
2017
1998
|
|
|
2018
|
-
##### [last_textfield](https://github.com/appium/ruby_lib/blob/
|
|
1999
|
+
##### [last_textfield](https://github.com/appium/ruby_lib/blob/08550ca75f3dad2874f9c7e7c7d1b117c0670009/lib/appium_lib/android/element/textfield.rb#L31) android
|
|
2019
2000
|
|
|
2020
2001
|
> def last_textfield
|
|
2021
2002
|
|
|
@@ -2027,7 +2008,7 @@ __Returns:__
|
|
|
2027
2008
|
|
|
2028
2009
|
--
|
|
2029
2010
|
|
|
2030
|
-
##### [textfield_exact](https://github.com/appium/ruby_lib/blob/
|
|
2011
|
+
##### [textfield_exact](https://github.com/appium/ruby_lib/blob/08550ca75f3dad2874f9c7e7c7d1b117c0670009/lib/appium_lib/android/element/textfield.rb#L38) android
|
|
2031
2012
|
|
|
2032
2013
|
> def textfield_exact(value)
|
|
2033
2014
|
|
|
@@ -2043,7 +2024,7 @@ __Returns:__
|
|
|
2043
2024
|
|
|
2044
2025
|
--
|
|
2045
2026
|
|
|
2046
|
-
##### [textfields_exact](https://github.com/appium/ruby_lib/blob/
|
|
2027
|
+
##### [textfields_exact](https://github.com/appium/ruby_lib/blob/08550ca75f3dad2874f9c7e7c7d1b117c0670009/lib/appium_lib/android/element/textfield.rb#L45) android
|
|
2047
2028
|
|
|
2048
2029
|
> def textfields_exact(value)
|
|
2049
2030
|
|
|
@@ -2059,7 +2040,7 @@ __Returns:__
|
|
|
2059
2040
|
|
|
2060
2041
|
--
|
|
2061
2042
|
|
|
2062
|
-
##### [for](https://github.com/appium/ruby_lib/blob/
|
|
2043
|
+
##### [for](https://github.com/appium/ruby_lib/blob/08550ca75f3dad2874f9c7e7c7d1b117c0670009/lib/appium_lib/android/uiautomator2/bridge.rb#L7) android
|
|
2063
2044
|
|
|
2064
2045
|
> def self.for(target)
|
|
2065
2046
|
|
|
@@ -2067,7 +2048,7 @@ __Returns:__
|
|
|
2067
2048
|
|
|
2068
2049
|
--
|
|
2069
2050
|
|
|
2070
|
-
##### [string_visible_contains](https://github.com/appium/ruby_lib/blob/
|
|
2051
|
+
##### [string_visible_contains](https://github.com/appium/ruby_lib/blob/08550ca75f3dad2874f9c7e7c7d1b117c0670009/lib/appium_lib/android/uiautomator2/helper.rb#L13) android
|
|
2071
2052
|
|
|
2072
2053
|
> def string_visible_contains(class_name, value)
|
|
2073
2054
|
|
|
@@ -2088,7 +2069,7 @@ __Returns:__
|
|
|
2088
2069
|
|
|
2089
2070
|
--
|
|
2090
2071
|
|
|
2091
|
-
##### [complex_find_contains](https://github.com/appium/ruby_lib/blob/
|
|
2072
|
+
##### [complex_find_contains](https://github.com/appium/ruby_lib/blob/08550ca75f3dad2874f9c7e7c7d1b117c0670009/lib/appium_lib/android/uiautomator2/helper.rb#L31) android
|
|
2092
2073
|
|
|
2093
2074
|
> def complex_find_contains(class_name, value)
|
|
2094
2075
|
|
|
@@ -2106,7 +2087,7 @@ __Returns:__
|
|
|
2106
2087
|
|
|
2107
2088
|
--
|
|
2108
2089
|
|
|
2109
|
-
##### [complex_finds_contains](https://github.com/appium/ruby_lib/blob/
|
|
2090
|
+
##### [complex_finds_contains](https://github.com/appium/ruby_lib/blob/08550ca75f3dad2874f9c7e7c7d1b117c0670009/lib/appium_lib/android/uiautomator2/helper.rb#L41) android
|
|
2110
2091
|
|
|
2111
2092
|
> def complex_finds_contains(class_name, value)
|
|
2112
2093
|
|
|
@@ -2124,7 +2105,7 @@ __Returns:__
|
|
|
2124
2105
|
|
|
2125
2106
|
--
|
|
2126
2107
|
|
|
2127
|
-
##### [complex_find_exact](https://github.com/appium/ruby_lib/blob/
|
|
2108
|
+
##### [complex_find_exact](https://github.com/appium/ruby_lib/blob/08550ca75f3dad2874f9c7e7c7d1b117c0670009/lib/appium_lib/android/uiautomator2/helper.rb#L69) android
|
|
2128
2109
|
|
|
2129
2110
|
> def complex_find_exact(class_name, value)
|
|
2130
2111
|
|
|
@@ -2142,7 +2123,7 @@ __Returns:__
|
|
|
2142
2123
|
|
|
2143
2124
|
--
|
|
2144
2125
|
|
|
2145
|
-
##### [complex_finds_exact](https://github.com/appium/ruby_lib/blob/
|
|
2126
|
+
##### [complex_finds_exact](https://github.com/appium/ruby_lib/blob/08550ca75f3dad2874f9c7e7c7d1b117c0670009/lib/appium_lib/android/uiautomator2/helper.rb#L79) android
|
|
2146
2127
|
|
|
2147
2128
|
> def complex_finds_exact(class_name, value)
|
|
2148
2129
|
|
|
@@ -2160,7 +2141,7 @@ __Returns:__
|
|
|
2160
2141
|
|
|
2161
2142
|
--
|
|
2162
2143
|
|
|
2163
|
-
##### [button](https://github.com/appium/ruby_lib/blob/
|
|
2144
|
+
##### [button](https://github.com/appium/ruby_lib/blob/08550ca75f3dad2874f9c7e7c7d1b117c0670009/lib/appium_lib/android/uiautomator2/element/button.rb#L9) android
|
|
2164
2145
|
|
|
2165
2146
|
> def button(value)
|
|
2166
2147
|
|
|
@@ -2177,7 +2158,7 @@ __Returns:__
|
|
|
2177
2158
|
|
|
2178
2159
|
--
|
|
2179
2160
|
|
|
2180
|
-
##### [buttons](https://github.com/appium/ruby_lib/blob/
|
|
2161
|
+
##### [buttons](https://github.com/appium/ruby_lib/blob/08550ca75f3dad2874f9c7e7c7d1b117c0670009/lib/appium_lib/android/uiautomator2/element/button.rb#L29) android
|
|
2181
2162
|
|
|
2182
2163
|
> def buttons(value = false)
|
|
2183
2164
|
|
|
@@ -2194,7 +2175,7 @@ __Returns:__
|
|
|
2194
2175
|
|
|
2195
2176
|
--
|
|
2196
2177
|
|
|
2197
|
-
##### [first_button](https://github.com/appium/ruby_lib/blob/
|
|
2178
|
+
##### [first_button](https://github.com/appium/ruby_lib/blob/08550ca75f3dad2874f9c7e7c7d1b117c0670009/lib/appium_lib/android/uiautomator2/element/button.rb#L36) android
|
|
2198
2179
|
|
|
2199
2180
|
> def first_button
|
|
2200
2181
|
|
|
@@ -2206,7 +2187,7 @@ __Returns:__
|
|
|
2206
2187
|
|
|
2207
2188
|
--
|
|
2208
2189
|
|
|
2209
|
-
##### [last_button](https://github.com/appium/ruby_lib/blob/
|
|
2190
|
+
##### [last_button](https://github.com/appium/ruby_lib/blob/08550ca75f3dad2874f9c7e7c7d1b117c0670009/lib/appium_lib/android/uiautomator2/element/button.rb#L43) android
|
|
2210
2191
|
|
|
2211
2192
|
> def last_button
|
|
2212
2193
|
|
|
@@ -2218,7 +2199,7 @@ __Returns:__
|
|
|
2218
2199
|
|
|
2219
2200
|
--
|
|
2220
2201
|
|
|
2221
|
-
##### [button_exact](https://github.com/appium/ruby_lib/blob/
|
|
2202
|
+
##### [button_exact](https://github.com/appium/ruby_lib/blob/08550ca75f3dad2874f9c7e7c7d1b117c0670009/lib/appium_lib/android/uiautomator2/element/button.rb#L60) android
|
|
2222
2203
|
|
|
2223
2204
|
> def button_exact(value)
|
|
2224
2205
|
|
|
@@ -2234,7 +2215,7 @@ __Returns:__
|
|
|
2234
2215
|
|
|
2235
2216
|
--
|
|
2236
2217
|
|
|
2237
|
-
##### [buttons_exact](https://github.com/appium/ruby_lib/blob/
|
|
2218
|
+
##### [buttons_exact](https://github.com/appium/ruby_lib/blob/08550ca75f3dad2874f9c7e7c7d1b117c0670009/lib/appium_lib/android/uiautomator2/element/button.rb#L68) android
|
|
2238
2219
|
|
|
2239
2220
|
> def buttons_exact(value)
|
|
2240
2221
|
|