appium_lib 9.14.1 → 9.14.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +12 -0
- data/appium_lib.gemspec +1 -1
- data/docs/android_docs.md +228 -178
- data/docs/ios_docs.md +309 -236
- data/lib/appium_lib/driver.rb +37 -0
- data/lib/appium_lib/ios/xcuitest/bridge.rb +1 -0
- data/lib/appium_lib/ios/xcuitest/command.rb +1 -0
- data/lib/appium_lib/ios/xcuitest/command/certificate.rb +26 -0
- data/lib/appium_lib/ios/xcuitest/command/get_context.rb +20 -0
- data/lib/appium_lib/version.rb +2 -2
- data/readme.md +1 -2
- data/release_notes.md +6 -0
- metadata +6 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 479757f51cd21ec3dc479822a64df9d07e676cc7
|
4
|
+
data.tar.gz: 6582a4182ed4632349ad3e8ebaca22ea36f07be0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 696ec7768415d086fa8554ecfca0fd814d78f915da869b0f49dbfb2bd004c4cfbd0848dd882e5d7ccbb07d1ef7bb4f2e2f4ef8ce9aaf61d6e31f3dad60bf484d
|
7
|
+
data.tar.gz: d1cd5f94970dccc3ead9178cc08547906457b9840c4faca57fe2769b7c7adfdc1eb1f0c7acf705d4f95a108f20b408f78667dd0cfda3f7f2b7402c79eed4d26a
|
data/CHANGELOG.md
CHANGED
@@ -10,6 +10,18 @@ Release tags are https://github.com/appium/ruby_lib/releases .
|
|
10
10
|
|
11
11
|
### 3. Deprecations
|
12
12
|
|
13
|
+
## v9.14.2
|
14
|
+
### 1. Enhancements
|
15
|
+
- add `mobile: installCertificate` shortcut for XCUITest
|
16
|
+
- add `mobile: getContexts` shortcut for XCUITest
|
17
|
+
- Add `find_element_by_image` and `find_elements_by_image` to handle `ImageElement`
|
18
|
+
- Read a [PR](https://github.com/appium/ruby_lib/pull/795/files) and [Core](https://github.com/appium/ruby_lib_core/blob/master/CHANGELOG.md#enhancements-1) for more details
|
19
|
+
- Experimental feature
|
20
|
+
|
21
|
+
### 2. Bug fixes
|
22
|
+
|
23
|
+
### 3. Deprecations
|
24
|
+
|
13
25
|
## v9.14.1
|
14
26
|
### 1. Enhancements
|
15
27
|
|
data/appium_lib.gemspec
CHANGED
@@ -13,7 +13,7 @@ Gem::Specification.new do |s|
|
|
13
13
|
s.homepage = 'https://github.com/appium/ruby_lib' # published as appium_lib
|
14
14
|
s.require_paths = ['lib']
|
15
15
|
|
16
|
-
s.add_runtime_dependency 'appium_lib_core', '~> 1.7.
|
16
|
+
s.add_runtime_dependency 'appium_lib_core', '~> 1.7.2'
|
17
17
|
s.add_runtime_dependency 'tomlrb', '~> 1.1'
|
18
18
|
s.add_runtime_dependency 'nokogiri', '~> 1.8', '>= 1.8.1'
|
19
19
|
|
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/024167c78c20a817861528ae4d3b80d41ea82590/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/024167c78c20a817861528ae4d3b80d41ea82590/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/024167c78c20a817861528ae4d3b80d41ea82590/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/024167c78c20a817861528ae4d3b80d41ea82590/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/024167c78c20a817861528ae4d3b80d41ea82590/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/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/driver.rb#L36)
|
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/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/driver.rb#L36)
|
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/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/driver.rb#L39)
|
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/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/driver.rb#L42)
|
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/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/driver.rb#L45)
|
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/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/driver.rb#L48)
|
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/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/driver.rb#L52)
|
171
171
|
|
172
172
|
> def caps
|
173
173
|
|
@@ -176,7 +176,7 @@ read http://www.rubydoc.info/github/appium/ruby_lib_core/Appium/Core/Driver
|
|
176
176
|
|
177
177
|
--
|
178
178
|
|
179
|
-
##### [custom_url](https://github.com/appium/ruby_lib/blob/
|
179
|
+
##### [custom_url](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/driver.rb#L53)
|
180
180
|
|
181
181
|
> def custom_url
|
182
182
|
|
@@ -184,7 +184,7 @@ Returns the value of attribute custom_url
|
|
184
184
|
|
185
185
|
--
|
186
186
|
|
187
|
-
##### [export_session](https://github.com/appium/ruby_lib/blob/
|
187
|
+
##### [export_session](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/driver.rb#L54)
|
188
188
|
|
189
189
|
> def export_session
|
190
190
|
|
@@ -192,7 +192,7 @@ Returns the value of attribute export_session
|
|
192
192
|
|
193
193
|
--
|
194
194
|
|
195
|
-
##### [export_session_path](https://github.com/appium/ruby_lib/blob/
|
195
|
+
##### [export_session_path](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/driver.rb#L55)
|
196
196
|
|
197
197
|
> def export_session_path
|
198
198
|
|
@@ -200,7 +200,7 @@ Returns the value of attribute export_session_path
|
|
200
200
|
|
201
201
|
--
|
202
202
|
|
203
|
-
##### [default_wait](https://github.com/appium/ruby_lib/blob/
|
203
|
+
##### [default_wait](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/driver.rb#L56)
|
204
204
|
|
205
205
|
> def default_wait
|
206
206
|
|
@@ -208,7 +208,7 @@ Returns the value of attribute default_wait
|
|
208
208
|
|
209
209
|
--
|
210
210
|
|
211
|
-
##### [appium_port](https://github.com/appium/ruby_lib/blob/
|
211
|
+
##### [appium_port](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/driver.rb#L57)
|
212
212
|
|
213
213
|
> def appium_port
|
214
214
|
|
@@ -216,7 +216,7 @@ Returns the value of attribute appium_port
|
|
216
216
|
|
217
217
|
--
|
218
218
|
|
219
|
-
##### [appium_device](https://github.com/appium/ruby_lib/blob/
|
219
|
+
##### [appium_device](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/driver.rb#L58)
|
220
220
|
|
221
221
|
> def appium_device
|
222
222
|
|
@@ -224,7 +224,7 @@ Returns the value of attribute appium_device
|
|
224
224
|
|
225
225
|
--
|
226
226
|
|
227
|
-
##### [automation_name](https://github.com/appium/ruby_lib/blob/
|
227
|
+
##### [automation_name](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/driver.rb#L59)
|
228
228
|
|
229
229
|
> def automation_name
|
230
230
|
|
@@ -232,7 +232,7 @@ Returns the value of attribute automation_name
|
|
232
232
|
|
233
233
|
--
|
234
234
|
|
235
|
-
##### [listener](https://github.com/appium/ruby_lib/blob/
|
235
|
+
##### [listener](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/driver.rb#L60)
|
236
236
|
|
237
237
|
> def listener
|
238
238
|
|
@@ -240,7 +240,7 @@ Returns the value of attribute listener
|
|
240
240
|
|
241
241
|
--
|
242
242
|
|
243
|
-
##### [http_client](https://github.com/appium/ruby_lib/blob/
|
243
|
+
##### [http_client](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/driver.rb#L61)
|
244
244
|
|
245
245
|
> def http_client
|
246
246
|
|
@@ -248,7 +248,7 @@ Returns the value of attribute http_client
|
|
248
248
|
|
249
249
|
--
|
250
250
|
|
251
|
-
##### [appium_wait_timeout](https://github.com/appium/ruby_lib/blob/
|
251
|
+
##### [appium_wait_timeout](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/driver.rb#L62)
|
252
252
|
|
253
253
|
> def appium_wait_timeout
|
254
254
|
|
@@ -256,7 +256,7 @@ Returns the value of attribute appium_wait_timeout
|
|
256
256
|
|
257
257
|
--
|
258
258
|
|
259
|
-
##### [appium_wait_interval](https://github.com/appium/ruby_lib/blob/
|
259
|
+
##### [appium_wait_interval](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/driver.rb#L63)
|
260
260
|
|
261
261
|
> def appium_wait_interval
|
262
262
|
|
@@ -264,7 +264,7 @@ Returns the value of attribute appium_wait_interval
|
|
264
264
|
|
265
265
|
--
|
266
266
|
|
267
|
-
##### [appium_server_status](https://github.com/appium/ruby_lib/blob/
|
267
|
+
##### [appium_server_status](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/driver.rb#L66)
|
268
268
|
|
269
269
|
> def appium_server_status
|
270
270
|
|
@@ -272,7 +272,7 @@ Appium's server version
|
|
272
272
|
|
273
273
|
--
|
274
274
|
|
275
|
-
##### [appium_debug](https://github.com/appium/ruby_lib/blob/
|
275
|
+
##### [appium_debug](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/driver.rb#L68)
|
276
276
|
|
277
277
|
> def appium_debug
|
278
278
|
|
@@ -280,7 +280,7 @@ Boolean debug mode for the Appium Ruby bindings
|
|
280
280
|
|
281
281
|
--
|
282
282
|
|
283
|
-
##### [driver](https://github.com/appium/ruby_lib/blob/
|
283
|
+
##### [driver](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/driver.rb#L71)
|
284
284
|
|
285
285
|
> def driver
|
286
286
|
|
@@ -292,7 +292,7 @@ __Returns:__
|
|
292
292
|
|
293
293
|
--
|
294
294
|
|
295
|
-
##### [core](https://github.com/appium/ruby_lib/blob/
|
295
|
+
##### [core](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/driver.rb#L73)
|
296
296
|
|
297
297
|
> def core
|
298
298
|
|
@@ -300,7 +300,7 @@ Instance of Appium::Core::Driver
|
|
300
300
|
|
301
301
|
--
|
302
302
|
|
303
|
-
##### [initialize](https://github.com/appium/ruby_lib/blob/
|
303
|
+
##### [initialize](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/driver.rb#L141)
|
304
304
|
|
305
305
|
> def initialize(opts = {}, global_driver = nil)
|
306
306
|
|
@@ -319,7 +319,7 @@ __Returns:__
|
|
319
319
|
|
320
320
|
--
|
321
321
|
|
322
|
-
##### [driver_attributes](https://github.com/appium/ruby_lib/blob/
|
322
|
+
##### [driver_attributes](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/driver.rb#L251)
|
323
323
|
|
324
324
|
> def driver_attributes
|
325
325
|
|
@@ -327,7 +327,7 @@ Returns a hash of the driver attributes
|
|
327
327
|
|
328
328
|
--
|
329
329
|
|
330
|
-
##### [device_is_android?](https://github.com/appium/ruby_lib/blob/
|
330
|
+
##### [device_is_android?](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/driver.rb#L271)
|
331
331
|
|
332
332
|
> def device_is_android?
|
333
333
|
|
@@ -339,7 +339,7 @@ __Returns:__
|
|
339
339
|
|
340
340
|
--
|
341
341
|
|
342
|
-
##### [device_is_ios?](https://github.com/appium/ruby_lib/blob/
|
342
|
+
##### [device_is_ios?](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/driver.rb#L275)
|
343
343
|
|
344
344
|
> def device_is_ios?
|
345
345
|
|
@@ -351,7 +351,7 @@ __Returns:__
|
|
351
351
|
|
352
352
|
--
|
353
353
|
|
354
|
-
##### [device_is_windows?](https://github.com/appium/ruby_lib/blob/
|
354
|
+
##### [device_is_windows?](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/driver.rb#L279)
|
355
355
|
|
356
356
|
> def device_is_windows?
|
357
357
|
|
@@ -363,7 +363,7 @@ __Returns:__
|
|
363
363
|
|
364
364
|
--
|
365
365
|
|
366
|
-
##### [automation_name_is_uiautomator2?](https://github.com/appium/ruby_lib/blob/
|
366
|
+
##### [automation_name_is_uiautomator2?](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/driver.rb#L285)
|
367
367
|
|
368
368
|
> def automation_name_is_uiautomator2?
|
369
369
|
|
@@ -375,7 +375,7 @@ __Returns:__
|
|
375
375
|
|
376
376
|
--
|
377
377
|
|
378
|
-
##### [automation_name_is_espresso?](https://github.com/appium/ruby_lib/blob/
|
378
|
+
##### [automation_name_is_espresso?](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/driver.rb#L291)
|
379
379
|
|
380
380
|
> def automation_name_is_espresso?
|
381
381
|
|
@@ -387,7 +387,7 @@ __Returns:__
|
|
387
387
|
|
388
388
|
--
|
389
389
|
|
390
|
-
##### [automation_name_is_xcuitest?](https://github.com/appium/ruby_lib/blob/
|
390
|
+
##### [automation_name_is_xcuitest?](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/driver.rb#L297)
|
391
391
|
|
392
392
|
> def automation_name_is_xcuitest?
|
393
393
|
|
@@ -399,7 +399,7 @@ __Returns:__
|
|
399
399
|
|
400
400
|
--
|
401
401
|
|
402
|
-
##### [dialect](https://github.com/appium/ruby_lib/blob/
|
402
|
+
##### [dialect](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/driver.rb#L317)
|
403
403
|
|
404
404
|
> def dialect
|
405
405
|
|
@@ -421,7 +421,7 @@ __Returns:__
|
|
421
421
|
|
422
422
|
--
|
423
423
|
|
424
|
-
##### [check_server_version_xcuitest](https://github.com/appium/ruby_lib/blob/
|
424
|
+
##### [check_server_version_xcuitest](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/driver.rb#L324)
|
425
425
|
|
426
426
|
> def check_server_version_xcuitest
|
427
427
|
|
@@ -434,7 +434,7 @@ __Returns:__
|
|
434
434
|
|
435
435
|
--
|
436
436
|
|
437
|
-
##### [appium_server_version](https://github.com/appium/ruby_lib/blob/
|
437
|
+
##### [appium_server_version](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/driver.rb#L345)
|
438
438
|
|
439
439
|
> def appium_server_version
|
440
440
|
|
@@ -446,7 +446,7 @@ __Returns:__
|
|
446
446
|
|
447
447
|
--
|
448
448
|
|
449
|
-
##### [remote_status](https://github.com/appium/ruby_lib/blob/
|
449
|
+
##### [remote_status](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/driver.rb#L352)
|
450
450
|
|
451
451
|
> def appium_server_version
|
452
452
|
|
@@ -458,7 +458,7 @@ __Returns:__
|
|
458
458
|
|
459
459
|
--
|
460
460
|
|
461
|
-
##### [platform_version](https://github.com/appium/ruby_lib/blob/
|
461
|
+
##### [platform_version](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/driver.rb#L356)
|
462
462
|
|
463
463
|
> def platform_version
|
464
464
|
|
@@ -470,7 +470,7 @@ __Returns:__
|
|
470
470
|
|
471
471
|
--
|
472
472
|
|
473
|
-
##### [appium_client_version](https://github.com/appium/ruby_lib/blob/
|
473
|
+
##### [appium_client_version](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/driver.rb#L369)
|
474
474
|
|
475
475
|
> def appium_client_version
|
476
476
|
|
@@ -482,7 +482,7 @@ __Returns:__
|
|
482
482
|
|
483
483
|
--
|
484
484
|
|
485
|
-
##### [absolute_app_path](https://github.com/appium/ruby_lib/blob/
|
485
|
+
##### [absolute_app_path](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/driver.rb#L381)
|
486
486
|
|
487
487
|
> def self.absolute_app_path(opts)
|
488
488
|
|
@@ -499,7 +499,7 @@ __Returns:__
|
|
499
499
|
|
500
500
|
--
|
501
501
|
|
502
|
-
##### [server_url](https://github.com/appium/ruby_lib/blob/
|
502
|
+
##### [server_url](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/driver.rb#L414)
|
503
503
|
|
504
504
|
> def server_url
|
505
505
|
|
@@ -511,7 +511,7 @@ __Returns:__
|
|
511
511
|
|
512
512
|
--
|
513
513
|
|
514
|
-
##### [restart](https://github.com/appium/ruby_lib/blob/
|
514
|
+
##### [restart](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/driver.rb#L422)
|
515
515
|
|
516
516
|
> def restart
|
517
517
|
|
@@ -523,7 +523,7 @@ __Returns:__
|
|
523
523
|
|
524
524
|
--
|
525
525
|
|
526
|
-
##### [screenshot](https://github.com/appium/ruby_lib/blob/
|
526
|
+
##### [screenshot](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/driver.rb#L435)
|
527
527
|
|
528
528
|
> def screenshot(png_save_path)
|
529
529
|
|
@@ -539,7 +539,7 @@ __Returns:__
|
|
539
539
|
|
540
540
|
--
|
541
541
|
|
542
|
-
##### [element_screenshot](https://github.com/appium/ruby_lib/blob/
|
542
|
+
##### [element_screenshot](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/driver.rb#L449)
|
543
543
|
|
544
544
|
> def element_screenshot(element, png_save_path)
|
545
545
|
|
@@ -557,7 +557,7 @@ __Returns:__
|
|
557
557
|
|
558
558
|
--
|
559
559
|
|
560
|
-
##### [driver_quit](https://github.com/appium/ruby_lib/blob/
|
560
|
+
##### [driver_quit](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/driver.rb#L456)
|
561
561
|
|
562
562
|
> def driver_quit
|
563
563
|
|
@@ -569,7 +569,7 @@ __Returns:__
|
|
569
569
|
|
570
570
|
--
|
571
571
|
|
572
|
-
##### [quit_driver](https://github.com/appium/ruby_lib/blob/
|
572
|
+
##### [quit_driver](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/driver.rb#L459)
|
573
573
|
|
574
574
|
> def driver_quit
|
575
575
|
|
@@ -581,7 +581,7 @@ __Returns:__
|
|
581
581
|
|
582
582
|
--
|
583
583
|
|
584
|
-
##### [window_size](https://github.com/appium/ruby_lib/blob/
|
584
|
+
##### [window_size](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/driver.rb#L470)
|
585
585
|
|
586
586
|
> def window_size
|
587
587
|
|
@@ -593,7 +593,7 @@ __Returns:__
|
|
593
593
|
|
594
594
|
--
|
595
595
|
|
596
|
-
##### [start_driver](https://github.com/appium/ruby_lib/blob/
|
596
|
+
##### [start_driver](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/driver.rb#L503)
|
597
597
|
|
598
598
|
> def start_driver(http_client_ops =
|
599
599
|
|
@@ -613,7 +613,7 @@ __Returns:__
|
|
613
613
|
|
614
614
|
--
|
615
615
|
|
616
|
-
##### [set_implicit_wait](https://github.com/appium/ruby_lib/blob/
|
616
|
+
##### [set_implicit_wait](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/driver.rb#L525)
|
617
617
|
|
618
618
|
> def set_implicit_wait(wait)
|
619
619
|
|
@@ -621,7 +621,7 @@ To ignore error for Espresso Driver
|
|
621
621
|
|
622
622
|
--
|
623
623
|
|
624
|
-
##### [no_wait](https://github.com/appium/ruby_lib/blob/
|
624
|
+
##### [no_wait](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/driver.rb#L535)
|
625
625
|
|
626
626
|
> def no_wait
|
627
627
|
|
@@ -629,7 +629,7 @@ Set implicit wait to zero.
|
|
629
629
|
|
630
630
|
--
|
631
631
|
|
632
|
-
##### [set_wait](https://github.com/appium/ruby_lib/blob/
|
632
|
+
##### [set_wait](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/driver.rb#L549)
|
633
633
|
|
634
634
|
> def set_wait(timeout = nil)
|
635
635
|
|
@@ -645,7 +645,7 @@ __Returns:__
|
|
645
645
|
|
646
646
|
--
|
647
647
|
|
648
|
-
##### [exists](https://github.com/appium/ruby_lib/blob/
|
648
|
+
##### [exists](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/driver.rb#L566)
|
649
649
|
|
650
650
|
> def exists(pre_check = 0, post_check = @core.default_wait)
|
651
651
|
|
@@ -669,7 +669,7 @@ __Returns:__
|
|
669
669
|
|
670
670
|
--
|
671
671
|
|
672
|
-
##### [execute_script](https://github.com/appium/ruby_lib/blob/
|
672
|
+
##### [execute_script](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/driver.rb#L590)
|
673
673
|
|
674
674
|
> def execute_script(script, *args)
|
675
675
|
|
@@ -687,7 +687,7 @@ __Returns:__
|
|
687
687
|
|
688
688
|
--
|
689
689
|
|
690
|
-
##### [find_elements](https://github.com/appium/ruby_lib/blob/
|
690
|
+
##### [find_elements](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/driver.rb#L614)
|
691
691
|
|
692
692
|
> def find_elements(*args)
|
693
693
|
|
@@ -707,7 +707,7 @@ __Returns:__
|
|
707
707
|
|
708
708
|
--
|
709
709
|
|
710
|
-
##### [find_element](https://github.com/appium/ruby_lib/blob/
|
710
|
+
##### [find_element](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/driver.rb#L630)
|
711
711
|
|
712
712
|
> def find_element(*args)
|
713
713
|
|
@@ -725,7 +725,57 @@ __Returns:__
|
|
725
725
|
|
726
726
|
--
|
727
727
|
|
728
|
-
##### [
|
728
|
+
##### [DEFAULT_MATCH_THRESHOLD](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/driver.rb#L648)
|
729
|
+
|
730
|
+
> DEFAULT_MATCH_THRESHOLD = 0.5
|
731
|
+
|
732
|
+
Return ImageElement if current view has a partial image
|
733
|
+
|
734
|
+
__Parameters:__
|
735
|
+
|
736
|
+
[String] png_img_path - A path to a partial image you'd like to find
|
737
|
+
|
738
|
+
[Flood] match_threshold - At what normalized threshold to reject
|
739
|
+
|
740
|
+
[Bool] visualize - Makes the endpoint to return an image, which contains the visualized result of
|
741
|
+
the corresponding picture matching operation. This option is disabled by default.
|
742
|
+
|
743
|
+
__Returns:__
|
744
|
+
|
745
|
+
[::Appium::Core::ImageElement]
|
746
|
+
|
747
|
+
--
|
748
|
+
|
749
|
+
##### [find_element_by_image](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/driver.rb#L649)
|
750
|
+
|
751
|
+
> def find_element_by_image(png_img_path, match_threshold: DEFAULT_MATCH_THRESHOLD, visualize: false)
|
752
|
+
|
753
|
+
|
754
|
+
|
755
|
+
--
|
756
|
+
|
757
|
+
##### [find_elements_by_image](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/driver.rb#L667)
|
758
|
+
|
759
|
+
> def find_elements_by_image(png_img_paths, match_threshold: DEFAULT_MATCH_THRESHOLD, visualize: false)
|
760
|
+
|
761
|
+
Return ImageElement if current view has partial images
|
762
|
+
|
763
|
+
__Parameters:__
|
764
|
+
|
765
|
+
[[String]] png_img_paths - Paths to a partial image you'd like to find
|
766
|
+
|
767
|
+
[Flood] match_threshold - At what normalized threshold to reject
|
768
|
+
|
769
|
+
[Bool] visualize - Makes the endpoint to return an image, which contains the visualized result of
|
770
|
+
the corresponding picture matching operation. This option is disabled by default.
|
771
|
+
|
772
|
+
__Returns:__
|
773
|
+
|
774
|
+
[[::Appium::Core::ImageElement]]
|
775
|
+
|
776
|
+
--
|
777
|
+
|
778
|
+
##### [set_location](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/driver.rb#L680)
|
729
779
|
|
730
780
|
> def set_location(opts = {})
|
731
781
|
|
@@ -741,7 +791,7 @@ __Returns:__
|
|
741
791
|
|
742
792
|
--
|
743
793
|
|
744
|
-
##### [x](https://github.com/appium/ruby_lib/blob/
|
794
|
+
##### [x](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/driver.rb#L690)
|
745
795
|
|
746
796
|
> def x
|
747
797
|
|
@@ -754,7 +804,7 @@ __Returns:__
|
|
754
804
|
|
755
805
|
--
|
756
806
|
|
757
|
-
##### [username](https://github.com/appium/ruby_lib/blob/
|
807
|
+
##### [username](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/sauce_labs.rb#L4)
|
758
808
|
|
759
809
|
> def username
|
760
810
|
|
@@ -762,7 +812,7 @@ Username for use on Sauce Labs. Set `false` to disable Sauce, even when SAUCE_US
|
|
762
812
|
|
763
813
|
--
|
764
814
|
|
765
|
-
##### [access_key](https://github.com/appium/ruby_lib/blob/
|
815
|
+
##### [access_key](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/sauce_labs.rb#L6)
|
766
816
|
|
767
817
|
> def access_key
|
768
818
|
|
@@ -770,7 +820,7 @@ Access Key for use on Sauce Labs. Set `false` to disable Sauce, even when SAUCE_
|
|
770
820
|
|
771
821
|
--
|
772
822
|
|
773
|
-
##### [endpoint](https://github.com/appium/ruby_lib/blob/
|
823
|
+
##### [endpoint](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/sauce_labs.rb#L8)
|
774
824
|
|
775
825
|
> def endpoint
|
776
826
|
|
@@ -778,7 +828,7 @@ Override the Sauce Appium endpoint to allow e.g. TestObject tests. Default is 'o
|
|
778
828
|
|
779
829
|
--
|
780
830
|
|
781
|
-
##### [initialize](https://github.com/appium/ruby_lib/blob/
|
831
|
+
##### [initialize](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/sauce_labs.rb#L33)
|
782
832
|
|
783
833
|
> def initialize(appium_lib_opts)
|
784
834
|
|
@@ -794,7 +844,7 @@ __Returns:__
|
|
794
844
|
|
795
845
|
--
|
796
846
|
|
797
|
-
##### [sauce_server_url?](https://github.com/appium/ruby_lib/blob/
|
847
|
+
##### [sauce_server_url?](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/sauce_labs.rb#L53)
|
798
848
|
|
799
849
|
> def sauce_server_url?
|
800
850
|
|
@@ -806,7 +856,7 @@ __Returns:__
|
|
806
856
|
|
807
857
|
--
|
808
858
|
|
809
|
-
##### [server_url](https://github.com/appium/ruby_lib/blob/
|
859
|
+
##### [server_url](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/sauce_labs.rb#L66)
|
810
860
|
|
811
861
|
> def server_url
|
812
862
|
|
@@ -818,7 +868,7 @@ __Returns:__
|
|
818
868
|
|
819
869
|
--
|
820
870
|
|
821
|
-
##### [get_log](https://github.com/appium/ruby_lib/blob/
|
871
|
+
##### [get_log](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/common/log.rb#L11)
|
822
872
|
|
823
873
|
> def get_log(type)
|
824
874
|
|
@@ -834,7 +884,7 @@ __Returns:__
|
|
834
884
|
|
835
885
|
--
|
836
886
|
|
837
|
-
##### [get_available_log_types](https://github.com/appium/ruby_lib/blob/
|
887
|
+
##### [get_available_log_types](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/common/log.rb#L23)
|
838
888
|
|
839
889
|
> def get_available_log_types
|
840
890
|
|
@@ -846,7 +896,7 @@ __Returns:__
|
|
846
896
|
|
847
897
|
--
|
848
898
|
|
849
|
-
##### [wait_true](https://github.com/appium/ruby_lib/blob/
|
899
|
+
##### [wait_true](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/common/wait.rb#L30)
|
850
900
|
|
851
901
|
> def wait_true(opts = {})
|
852
902
|
|
@@ -866,7 +916,7 @@ __Parameters:__
|
|
866
916
|
|
867
917
|
--
|
868
918
|
|
869
|
-
##### [wait](https://github.com/appium/ruby_lib/blob/
|
919
|
+
##### [wait](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/common/wait.rb#L59)
|
870
920
|
|
871
921
|
> def wait(opts = {})
|
872
922
|
|
@@ -884,7 +934,7 @@ __Parameters:__
|
|
884
934
|
|
885
935
|
--
|
886
936
|
|
887
|
-
##### [add_touch_actions](https://github.com/appium/ruby_lib/blob/
|
937
|
+
##### [add_touch_actions](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/common/device.rb#L12)
|
888
938
|
|
889
939
|
> def add_touch_actions
|
890
940
|
|
@@ -892,7 +942,7 @@ __Parameters:__
|
|
892
942
|
|
893
943
|
--
|
894
944
|
|
895
|
-
##### [delegate_from_appium_driver](https://github.com/appium/ruby_lib/blob/
|
945
|
+
##### [delegate_from_appium_driver](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/common/device.rb#L24)
|
896
946
|
|
897
947
|
> def delegate_from_appium_driver(method, delegation_target)
|
898
948
|
|
@@ -900,7 +950,7 @@ __Parameters:__
|
|
900
950
|
|
901
951
|
--
|
902
952
|
|
903
|
-
##### [ignore](https://github.com/appium/ruby_lib/blob/
|
953
|
+
##### [ignore](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/common/helper.rb#L16)
|
904
954
|
|
905
955
|
> def ignore
|
906
956
|
|
@@ -908,7 +958,7 @@ Return yield and ignore any exceptions.
|
|
908
958
|
|
909
959
|
--
|
910
960
|
|
911
|
-
##### [back](https://github.com/appium/ruby_lib/blob/
|
961
|
+
##### [back](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/common/helper.rb#L23)
|
912
962
|
|
913
963
|
> def back
|
914
964
|
|
@@ -920,7 +970,7 @@ __Returns:__
|
|
920
970
|
|
921
971
|
--
|
922
972
|
|
923
|
-
##### [session_id](https://github.com/appium/ruby_lib/blob/
|
973
|
+
##### [session_id](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/common/helper.rb#L34)
|
924
974
|
|
925
975
|
> def session_id
|
926
976
|
|
@@ -932,7 +982,7 @@ __Returns:__
|
|
932
982
|
|
933
983
|
--
|
934
984
|
|
935
|
-
##### [xpath](https://github.com/appium/ruby_lib/blob/
|
985
|
+
##### [xpath](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/common/helper.rb#L42)
|
936
986
|
|
937
987
|
> def xpath(xpath_str)
|
938
988
|
|
@@ -948,7 +998,7 @@ __Returns:__
|
|
948
998
|
|
949
999
|
--
|
950
1000
|
|
951
|
-
##### [xpaths](https://github.com/appium/ruby_lib/blob/
|
1001
|
+
##### [xpaths](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/common/helper.rb#L50)
|
952
1002
|
|
953
1003
|
> def xpaths(xpath_str)
|
954
1004
|
|
@@ -964,7 +1014,7 @@ __Returns:__
|
|
964
1014
|
|
965
1015
|
--
|
966
1016
|
|
967
|
-
##### [result](https://github.com/appium/ruby_lib/blob/
|
1017
|
+
##### [result](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/common/helper.rb#L60)
|
968
1018
|
|
969
1019
|
> def result
|
970
1020
|
|
@@ -972,7 +1022,7 @@ Returns the value of attribute result
|
|
972
1022
|
|
973
1023
|
--
|
974
1024
|
|
975
|
-
##### [initialize](https://github.com/appium/ruby_lib/blob/
|
1025
|
+
##### [initialize](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/common/helper.rb#L62)
|
976
1026
|
|
977
1027
|
> def initialize
|
978
1028
|
|
@@ -984,7 +1034,7 @@ __Returns:__
|
|
984
1034
|
|
985
1035
|
--
|
986
1036
|
|
987
|
-
##### [reset](https://github.com/appium/ruby_lib/blob/
|
1037
|
+
##### [reset](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/common/helper.rb#L66)
|
988
1038
|
|
989
1039
|
> def reset
|
990
1040
|
|
@@ -992,7 +1042,7 @@ __Returns:__
|
|
992
1042
|
|
993
1043
|
--
|
994
1044
|
|
995
|
-
##### [start_element](https://github.com/appium/ruby_lib/blob/
|
1045
|
+
##### [start_element](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/common/helper.rb#L71)
|
996
1046
|
|
997
1047
|
> def start_element(name, attrs = [], driver = $driver)
|
998
1048
|
|
@@ -1000,7 +1050,7 @@ http://nokogiri.org/Nokogiri/XML/SAX/Document.html
|
|
1000
1050
|
|
1001
1051
|
--
|
1002
1052
|
|
1003
|
-
##### [formatted_result](https://github.com/appium/ruby_lib/blob/
|
1053
|
+
##### [formatted_result](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/common/helper.rb#L77)
|
1004
1054
|
|
1005
1055
|
> def formatted_result
|
1006
1056
|
|
@@ -1008,7 +1058,7 @@ http://nokogiri.org/Nokogiri/XML/SAX/Document.html
|
|
1008
1058
|
|
1009
1059
|
--
|
1010
1060
|
|
1011
|
-
##### [get_page_class](https://github.com/appium/ruby_lib/blob/
|
1061
|
+
##### [get_page_class](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/common/helper.rb#L96)
|
1012
1062
|
|
1013
1063
|
> def get_page_class
|
1014
1064
|
|
@@ -1020,7 +1070,7 @@ __Returns:__
|
|
1020
1070
|
|
1021
1071
|
--
|
1022
1072
|
|
1023
|
-
##### [page_class](https://github.com/appium/ruby_lib/blob/
|
1073
|
+
##### [page_class](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/common/helper.rb#L121)
|
1024
1074
|
|
1025
1075
|
> def page_class
|
1026
1076
|
|
@@ -1033,7 +1083,7 @@ __Returns:__
|
|
1033
1083
|
|
1034
1084
|
--
|
1035
1085
|
|
1036
|
-
##### [source](https://github.com/appium/ruby_lib/blob/
|
1086
|
+
##### [source](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/common/helper.rb#L128)
|
1037
1087
|
|
1038
1088
|
> def source
|
1039
1089
|
|
@@ -1045,7 +1095,7 @@ __Returns:__
|
|
1045
1095
|
|
1046
1096
|
--
|
1047
1097
|
|
1048
|
-
##### [get_source](https://github.com/appium/ruby_lib/blob/
|
1098
|
+
##### [get_source](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/common/helper.rb#L135)
|
1049
1099
|
|
1050
1100
|
> def get_source
|
1051
1101
|
|
@@ -1058,7 +1108,7 @@ __Returns:__
|
|
1058
1108
|
|
1059
1109
|
--
|
1060
1110
|
|
1061
|
-
##### [px_to_window_rel](https://github.com/appium/ruby_lib/blob/
|
1111
|
+
##### [px_to_window_rel](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/common/helper.rb#L145)
|
1062
1112
|
|
1063
1113
|
> def px_to_window_rel(opts = {}, driver = $driver)
|
1064
1114
|
|
@@ -1066,7 +1116,7 @@ Converts pixel values to window relative values
|
|
1066
1116
|
|
1067
1117
|
--
|
1068
1118
|
|
1069
|
-
##### [xml_keys](https://github.com/appium/ruby_lib/blob/
|
1119
|
+
##### [xml_keys](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/common/helper.rb#L164)
|
1070
1120
|
|
1071
1121
|
> def xml_keys(target)
|
1072
1122
|
|
@@ -1082,7 +1132,7 @@ __Returns:__
|
|
1082
1132
|
|
1083
1133
|
--
|
1084
1134
|
|
1085
|
-
##### [xml_values](https://github.com/appium/ruby_lib/blob/
|
1135
|
+
##### [xml_values](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/common/helper.rb#L172)
|
1086
1136
|
|
1087
1137
|
> def xml_values(target)
|
1088
1138
|
|
@@ -1098,7 +1148,7 @@ __Returns:__
|
|
1098
1148
|
|
1099
1149
|
--
|
1100
1150
|
|
1101
|
-
##### [resolve_id](https://github.com/appium/ruby_lib/blob/
|
1151
|
+
##### [resolve_id](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/common/helper.rb#L180)
|
1102
1152
|
|
1103
1153
|
> def resolve_id(id)
|
1104
1154
|
|
@@ -1114,7 +1164,7 @@ __Returns:__
|
|
1114
1164
|
|
1115
1165
|
--
|
1116
1166
|
|
1117
|
-
##### [filter](https://github.com/appium/ruby_lib/blob/
|
1167
|
+
##### [filter](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/common/helper.rb#L187)
|
1118
1168
|
|
1119
1169
|
> def filter
|
1120
1170
|
|
@@ -1122,7 +1172,7 @@ Returns the value of attribute filter
|
|
1122
1172
|
|
1123
1173
|
--
|
1124
1174
|
|
1125
|
-
##### [filter=](https://github.com/appium/ruby_lib/blob/
|
1175
|
+
##### [filter=](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/common/helper.rb#L190)
|
1126
1176
|
|
1127
1177
|
> def filter=(value)
|
1128
1178
|
|
@@ -1130,7 +1180,7 @@ convert to string to support symbols
|
|
1130
1180
|
|
1131
1181
|
--
|
1132
1182
|
|
1133
|
-
##### [initialize](https://github.com/appium/ruby_lib/blob/
|
1183
|
+
##### [initialize](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/common/helper.rb#L196)
|
1134
1184
|
|
1135
1185
|
> def initialize
|
1136
1186
|
|
@@ -1142,7 +1192,7 @@ __Returns:__
|
|
1142
1192
|
|
1143
1193
|
--
|
1144
1194
|
|
1145
|
-
##### [reset](https://github.com/appium/ruby_lib/blob/
|
1195
|
+
##### [reset](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/common/helper.rb#L201)
|
1146
1196
|
|
1147
1197
|
> def reset
|
1148
1198
|
|
@@ -1150,7 +1200,7 @@ __Returns:__
|
|
1150
1200
|
|
1151
1201
|
--
|
1152
1202
|
|
1153
|
-
##### [result](https://github.com/appium/ruby_lib/blob/
|
1203
|
+
##### [result](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/common/helper.rb#L207)
|
1154
1204
|
|
1155
1205
|
> def result
|
1156
1206
|
|
@@ -1158,7 +1208,7 @@ __Returns:__
|
|
1158
1208
|
|
1159
1209
|
--
|
1160
1210
|
|
1161
|
-
##### [start_element](https://github.com/appium/ruby_lib/blob/
|
1211
|
+
##### [start_element](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/common/helper.rb#L223)
|
1162
1212
|
|
1163
1213
|
> def start_element(name, attrs = [])
|
1164
1214
|
|
@@ -1166,7 +1216,7 @@ __Returns:__
|
|
1166
1216
|
|
1167
1217
|
--
|
1168
1218
|
|
1169
|
-
##### [end_element](https://github.com/appium/ruby_lib/blob/
|
1219
|
+
##### [end_element](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/common/helper.rb#L232)
|
1170
1220
|
|
1171
1221
|
> def end_element(name)
|
1172
1222
|
|
@@ -1174,7 +1224,7 @@ __Returns:__
|
|
1174
1224
|
|
1175
1225
|
--
|
1176
1226
|
|
1177
|
-
##### [characters](https://github.com/appium/ruby_lib/blob/
|
1227
|
+
##### [characters](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/common/helper.rb#L238)
|
1178
1228
|
|
1179
1229
|
> def characters(chars)
|
1180
1230
|
|
@@ -1182,7 +1232,7 @@ __Returns:__
|
|
1182
1232
|
|
1183
1233
|
--
|
1184
1234
|
|
1185
|
-
##### [DEFAULT_HEADERS](https://github.com/appium/ruby_lib/blob/
|
1235
|
+
##### [DEFAULT_HEADERS](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/common/http_client.rb#L8)
|
1186
1236
|
|
1187
1237
|
> DEFAULT_HEADERS = { 'Accept' => CONTENT_TYPE, 'User-Agent' => "appium/ruby_lib/#{::Appium::VERSION}" }.freeze
|
1188
1238
|
|
@@ -1190,7 +1240,7 @@ Default HTTP client inherit Appium::Core::Base::Http::Default, but has different
|
|
1190
1240
|
|
1191
1241
|
--
|
1192
1242
|
|
1193
|
-
##### [pinch](https://github.com/appium/ruby_lib/blob/
|
1243
|
+
##### [pinch](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/common/multi_touch.rb#L51)
|
1194
1244
|
|
1195
1245
|
> def pinch(percentage = 25, auto_perform = true, driver = $driver)
|
1196
1246
|
|
@@ -1210,7 +1260,7 @@ __Parameters:__
|
|
1210
1260
|
|
1211
1261
|
--
|
1212
1262
|
|
1213
|
-
##### [zoom](https://github.com/appium/ruby_lib/blob/
|
1263
|
+
##### [zoom](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/common/multi_touch.rb#L93)
|
1214
1264
|
|
1215
1265
|
> def zoom(percentage = 200, auto_perform = true, driver = $driver)
|
1216
1266
|
|
@@ -1230,7 +1280,7 @@ __Parameters:__
|
|
1230
1280
|
|
1231
1281
|
--
|
1232
1282
|
|
1233
|
-
##### [initialize](https://github.com/appium/ruby_lib/blob/
|
1283
|
+
##### [initialize](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/common/multi_touch.rb#L178)
|
1234
1284
|
|
1235
1285
|
> def initialize(driver = $driver)
|
1236
1286
|
|
@@ -1242,7 +1292,7 @@ __Returns:__
|
|
1242
1292
|
|
1243
1293
|
--
|
1244
1294
|
|
1245
|
-
##### [COMPLEX_ACTIONS](https://github.com/appium/ruby_lib/blob/
|
1295
|
+
##### [COMPLEX_ACTIONS](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/common/touch_actions.rb#L33)
|
1246
1296
|
|
1247
1297
|
> COMPLEX_ACTIONS = ::Appium::Core::TouchAction::COMPLEX_ACTIONS
|
1248
1298
|
|
@@ -1250,7 +1300,7 @@ __Returns:__
|
|
1250
1300
|
|
1251
1301
|
--
|
1252
1302
|
|
1253
|
-
##### [initialize](https://github.com/appium/ruby_lib/blob/
|
1303
|
+
##### [initialize](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/common/touch_actions.rb#L47)
|
1254
1304
|
|
1255
1305
|
> def initialize(driver = $driver)
|
1256
1306
|
|
@@ -1262,7 +1312,7 @@ __Returns:__
|
|
1262
1312
|
|
1263
1313
|
--
|
1264
1314
|
|
1265
|
-
##### [swipe](https://github.com/appium/ruby_lib/blob/
|
1315
|
+
##### [swipe](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/common/touch_actions.rb#L51)
|
1266
1316
|
|
1267
1317
|
> def swipe(opts)
|
1268
1318
|
|
@@ -1270,7 +1320,7 @@ __Returns:__
|
|
1270
1320
|
|
1271
1321
|
--
|
1272
1322
|
|
1273
|
-
##### [initialize](https://github.com/appium/ruby_lib/blob/
|
1323
|
+
##### [initialize](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/common/command/ws_logcat.rb#L5)
|
1274
1324
|
|
1275
1325
|
> def initialize(url:, output_file: 'logcat.log')
|
1276
1326
|
|
@@ -1282,7 +1332,7 @@ __Returns:__
|
|
1282
1332
|
|
1283
1333
|
--
|
1284
1334
|
|
1285
|
-
##### [handle_message_data](https://github.com/appium/ruby_lib/blob/
|
1335
|
+
##### [handle_message_data](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/common/command/ws_logcat.rb#L10)
|
1286
1336
|
|
1287
1337
|
> def handle_message_data(data)
|
1288
1338
|
|
@@ -1290,7 +1340,7 @@ __Returns:__
|
|
1290
1340
|
|
1291
1341
|
--
|
1292
1342
|
|
1293
|
-
##### [for](https://github.com/appium/ruby_lib/blob/
|
1343
|
+
##### [for](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/android/android.rb#L19) android
|
1294
1344
|
|
1295
1345
|
> def self.for(target)
|
1296
1346
|
|
@@ -1298,7 +1348,7 @@ __Returns:__
|
|
1298
1348
|
|
1299
1349
|
--
|
1300
1350
|
|
1301
|
-
##### [TextView](https://github.com/appium/ruby_lib/blob/
|
1351
|
+
##### [TextView](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/android/element/text.rb#L4) android
|
1302
1352
|
|
1303
1353
|
> TextView = 'android.widget.TextView'.freeze
|
1304
1354
|
|
@@ -1306,7 +1356,7 @@ __Returns:__
|
|
1306
1356
|
|
1307
1357
|
--
|
1308
1358
|
|
1309
|
-
##### [text](https://github.com/appium/ruby_lib/blob/
|
1359
|
+
##### [text](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/android/element/text.rb#L10) android
|
1310
1360
|
|
1311
1361
|
> def text(value)
|
1312
1362
|
|
@@ -1323,7 +1373,7 @@ __Returns:__
|
|
1323
1373
|
|
1324
1374
|
--
|
1325
1375
|
|
1326
|
-
##### [texts](https://github.com/appium/ruby_lib/blob/
|
1376
|
+
##### [texts](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/android/element/text.rb#L19) android
|
1327
1377
|
|
1328
1378
|
> def texts(value = false)
|
1329
1379
|
|
@@ -1340,7 +1390,7 @@ __Returns:__
|
|
1340
1390
|
|
1341
1391
|
--
|
1342
1392
|
|
1343
|
-
##### [first_text](https://github.com/appium/ruby_lib/blob/
|
1393
|
+
##### [first_text](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/android/element/text.rb#L26) android
|
1344
1394
|
|
1345
1395
|
> def first_text
|
1346
1396
|
|
@@ -1352,7 +1402,7 @@ __Returns:__
|
|
1352
1402
|
|
1353
1403
|
--
|
1354
1404
|
|
1355
|
-
##### [last_text](https://github.com/appium/ruby_lib/blob/
|
1405
|
+
##### [last_text](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/android/element/text.rb#L32) android
|
1356
1406
|
|
1357
1407
|
> def last_text
|
1358
1408
|
|
@@ -1364,7 +1414,7 @@ __Returns:__
|
|
1364
1414
|
|
1365
1415
|
--
|
1366
1416
|
|
1367
|
-
##### [text_exact](https://github.com/appium/ruby_lib/blob/
|
1417
|
+
##### [text_exact](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/android/element/text.rb#L39) android
|
1368
1418
|
|
1369
1419
|
> def text_exact(value)
|
1370
1420
|
|
@@ -1380,7 +1430,7 @@ __Returns:__
|
|
1380
1430
|
|
1381
1431
|
--
|
1382
1432
|
|
1383
|
-
##### [texts_exact](https://github.com/appium/ruby_lib/blob/
|
1433
|
+
##### [texts_exact](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/android/element/text.rb#L46) android
|
1384
1434
|
|
1385
1435
|
> def texts_exact(value)
|
1386
1436
|
|
@@ -1396,7 +1446,7 @@ __Returns:__
|
|
1396
1446
|
|
1397
1447
|
--
|
1398
1448
|
|
1399
|
-
##### [result](https://github.com/appium/ruby_lib/blob/
|
1449
|
+
##### [result](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/android/common/helper.rb#L6) android
|
1400
1450
|
|
1401
1451
|
> def result
|
1402
1452
|
|
@@ -1404,7 +1454,7 @@ Returns the value of attribute result
|
|
1404
1454
|
|
1405
1455
|
--
|
1406
1456
|
|
1407
|
-
##### [keys](https://github.com/appium/ruby_lib/blob/
|
1457
|
+
##### [keys](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/android/common/helper.rb#L6) android
|
1408
1458
|
|
1409
1459
|
> def keys
|
1410
1460
|
|
@@ -1412,7 +1462,7 @@ Returns the value of attribute keys
|
|
1412
1462
|
|
1413
1463
|
--
|
1414
1464
|
|
1415
|
-
##### [filter](https://github.com/appium/ruby_lib/blob/
|
1465
|
+
##### [filter](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/android/common/helper.rb#L6) android
|
1416
1466
|
|
1417
1467
|
> def filter
|
1418
1468
|
|
@@ -1420,7 +1470,7 @@ Returns the value of attribute filter
|
|
1420
1470
|
|
1421
1471
|
--
|
1422
1472
|
|
1423
|
-
##### [filter=](https://github.com/appium/ruby_lib/blob/
|
1473
|
+
##### [filter=](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/android/common/helper.rb#L9) android
|
1424
1474
|
|
1425
1475
|
> def filter=(value)
|
1426
1476
|
|
@@ -1428,7 +1478,7 @@ convert to string to support symbols
|
|
1428
1478
|
|
1429
1479
|
--
|
1430
1480
|
|
1431
|
-
##### [initialize](https://github.com/appium/ruby_lib/blob/
|
1481
|
+
##### [initialize](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/android/common/helper.rb#L15) android
|
1432
1482
|
|
1433
1483
|
> def initialize
|
1434
1484
|
|
@@ -1440,7 +1490,7 @@ __Returns:__
|
|
1440
1490
|
|
1441
1491
|
--
|
1442
1492
|
|
1443
|
-
##### [reset](https://github.com/appium/ruby_lib/blob/
|
1493
|
+
##### [reset](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/android/common/helper.rb#L20) android
|
1444
1494
|
|
1445
1495
|
> def reset
|
1446
1496
|
|
@@ -1448,7 +1498,7 @@ __Returns:__
|
|
1448
1498
|
|
1449
1499
|
--
|
1450
1500
|
|
1451
|
-
##### [start_element](https://github.com/appium/ruby_lib/blob/
|
1501
|
+
##### [start_element](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/android/common/helper.rb#L26) android
|
1452
1502
|
|
1453
1503
|
> def start_element(name, attrs = [], driver = $driver)
|
1454
1504
|
|
@@ -1456,7 +1506,7 @@ http://nokogiri.org/Nokogiri/XML/SAX/Document.html
|
|
1456
1506
|
|
1457
1507
|
--
|
1458
1508
|
|
1459
|
-
##### [get_android_inspect](https://github.com/appium/ruby_lib/blob/
|
1509
|
+
##### [get_android_inspect](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/android/common/helper.rb#L80) android
|
1460
1510
|
|
1461
1511
|
> def get_android_inspect(class_name = false)
|
1462
1512
|
|
@@ -1475,7 +1525,7 @@ __Returns:__
|
|
1475
1525
|
|
1476
1526
|
--
|
1477
1527
|
|
1478
|
-
##### [page](https://github.com/appium/ruby_lib/blob/
|
1528
|
+
##### [page](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/android/common/helper.rb#L106) android
|
1479
1529
|
|
1480
1530
|
> def page(opts = {})
|
1481
1531
|
|
@@ -1494,7 +1544,7 @@ __Returns:__
|
|
1494
1544
|
|
1495
1545
|
--
|
1496
1546
|
|
1497
|
-
##### [id](https://github.com/appium/ruby_lib/blob/
|
1547
|
+
##### [id](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/android/common/helper.rb#L115) android
|
1498
1548
|
|
1499
1549
|
> def id(id)
|
1500
1550
|
|
@@ -1510,7 +1560,7 @@ __Returns:__
|
|
1510
1560
|
|
1511
1561
|
--
|
1512
1562
|
|
1513
|
-
##### [ids](https://github.com/appium/ruby_lib/blob/
|
1563
|
+
##### [ids](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/android/common/helper.rb#L123) android
|
1514
1564
|
|
1515
1565
|
> def ids(id)
|
1516
1566
|
|
@@ -1526,7 +1576,7 @@ __Returns:__
|
|
1526
1576
|
|
1527
1577
|
--
|
1528
1578
|
|
1529
|
-
##### [ele_index](https://github.com/appium/ruby_lib/blob/
|
1579
|
+
##### [ele_index](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/android/common/helper.rb#L132) android
|
1530
1580
|
|
1531
1581
|
> def ele_index(class_name, index)
|
1532
1582
|
|
@@ -1544,7 +1594,7 @@ __Returns:__
|
|
1544
1594
|
|
1545
1595
|
--
|
1546
1596
|
|
1547
|
-
##### [first_ele](https://github.com/appium/ruby_lib/blob/
|
1597
|
+
##### [first_ele](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/android/common/helper.rb#L150) android
|
1548
1598
|
|
1549
1599
|
> def first_ele(class_name)
|
1550
1600
|
|
@@ -1560,7 +1610,7 @@ __Returns:__
|
|
1560
1610
|
|
1561
1611
|
--
|
1562
1612
|
|
1563
|
-
##### [last_ele](https://github.com/appium/ruby_lib/blob/
|
1613
|
+
##### [last_ele](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/android/common/helper.rb#L157) android
|
1564
1614
|
|
1565
1615
|
> def last_ele(class_name)
|
1566
1616
|
|
@@ -1576,7 +1626,7 @@ __Returns:__
|
|
1576
1626
|
|
1577
1627
|
--
|
1578
1628
|
|
1579
|
-
##### [tag](https://github.com/appium/ruby_lib/blob/
|
1629
|
+
##### [tag](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/android/common/helper.rb#L165) android
|
1580
1630
|
|
1581
1631
|
> def tag(class_name)
|
1582
1632
|
|
@@ -1592,7 +1642,7 @@ __Returns:__
|
|
1592
1642
|
|
1593
1643
|
--
|
1594
1644
|
|
1595
|
-
##### [tags](https://github.com/appium/ruby_lib/blob/
|
1645
|
+
##### [tags](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/android/common/helper.rb#L173) android
|
1596
1646
|
|
1597
1647
|
> def tags(class_name)
|
1598
1648
|
|
@@ -1608,7 +1658,7 @@ __Returns:__
|
|
1608
1658
|
|
1609
1659
|
--
|
1610
1660
|
|
1611
|
-
##### [string_visible_contains_xpath](https://github.com/appium/ruby_lib/blob/
|
1661
|
+
##### [string_visible_contains_xpath](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/android/common/helper.rb#L216) android
|
1612
1662
|
|
1613
1663
|
> def string_visible_contains_xpath(class_name, value)
|
1614
1664
|
|
@@ -1629,7 +1679,7 @@ __Returns:__
|
|
1629
1679
|
|
1630
1680
|
--
|
1631
1681
|
|
1632
|
-
##### [string_visible_contains](https://github.com/appium/ruby_lib/blob/
|
1682
|
+
##### [string_visible_contains](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/android/common/helper.rb#L236) android
|
1633
1683
|
|
1634
1684
|
> def string_visible_contains(class_name, value)
|
1635
1685
|
|
@@ -1650,7 +1700,7 @@ __Returns:__
|
|
1650
1700
|
|
1651
1701
|
--
|
1652
1702
|
|
1653
|
-
##### [complex_find_contains](https://github.com/appium/ruby_lib/blob/
|
1703
|
+
##### [complex_find_contains](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/android/common/helper.rb#L254) android
|
1654
1704
|
|
1655
1705
|
> def complex_find_contains(class_name, value)
|
1656
1706
|
|
@@ -1668,7 +1718,7 @@ __Returns:__
|
|
1668
1718
|
|
1669
1719
|
--
|
1670
1720
|
|
1671
|
-
##### [complex_finds_contains](https://github.com/appium/ruby_lib/blob/
|
1721
|
+
##### [complex_finds_contains](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/android/common/helper.rb#L262) android
|
1672
1722
|
|
1673
1723
|
> def complex_finds_contains(class_name, value)
|
1674
1724
|
|
@@ -1686,7 +1736,7 @@ __Returns:__
|
|
1686
1736
|
|
1687
1737
|
--
|
1688
1738
|
|
1689
|
-
##### [complex_find_exact](https://github.com/appium/ruby_lib/blob/
|
1739
|
+
##### [complex_find_exact](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/android/common/helper.rb#L306) android
|
1690
1740
|
|
1691
1741
|
> def complex_find_exact(class_name, value)
|
1692
1742
|
|
@@ -1704,7 +1754,7 @@ __Returns:__
|
|
1704
1754
|
|
1705
1755
|
--
|
1706
1756
|
|
1707
|
-
##### [complex_finds_exact](https://github.com/appium/ruby_lib/blob/
|
1757
|
+
##### [complex_finds_exact](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/android/common/helper.rb#L314) android
|
1708
1758
|
|
1709
1759
|
> def complex_finds_exact(class_name, value)
|
1710
1760
|
|
@@ -1722,7 +1772,7 @@ __Returns:__
|
|
1722
1772
|
|
1723
1773
|
--
|
1724
1774
|
|
1725
|
-
##### [alert_click](https://github.com/appium/ruby_lib/blob/
|
1775
|
+
##### [alert_click](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/android/element/alert.rb#L6) android
|
1726
1776
|
|
1727
1777
|
> def alert_click(value)
|
1728
1778
|
|
@@ -1738,7 +1788,7 @@ __Returns:__
|
|
1738
1788
|
|
1739
1789
|
--
|
1740
1790
|
|
1741
|
-
##### [alert_accept](https://github.com/appium/ruby_lib/blob/
|
1791
|
+
##### [alert_accept](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/android/element/alert.rb#L13) android
|
1742
1792
|
|
1743
1793
|
> def alert_accept
|
1744
1794
|
|
@@ -1751,7 +1801,7 @@ __Returns:__
|
|
1751
1801
|
|
1752
1802
|
--
|
1753
1803
|
|
1754
|
-
##### [alert_accept_text](https://github.com/appium/ruby_lib/blob/
|
1804
|
+
##### [alert_accept_text](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/android/element/alert.rb#L20) android
|
1755
1805
|
|
1756
1806
|
> def alert_accept_text
|
1757
1807
|
|
@@ -1764,7 +1814,7 @@ __Returns:__
|
|
1764
1814
|
|
1765
1815
|
--
|
1766
1816
|
|
1767
|
-
##### [alert_dismiss](https://github.com/appium/ruby_lib/blob/
|
1817
|
+
##### [alert_dismiss](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/android/element/alert.rb#L27) android
|
1768
1818
|
|
1769
1819
|
> def alert_dismiss
|
1770
1820
|
|
@@ -1777,7 +1827,7 @@ __Returns:__
|
|
1777
1827
|
|
1778
1828
|
--
|
1779
1829
|
|
1780
|
-
##### [alert_dismiss_text](https://github.com/appium/ruby_lib/blob/
|
1830
|
+
##### [alert_dismiss_text](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/android/element/alert.rb#L34) android
|
1781
1831
|
|
1782
1832
|
> def alert_dismiss_text
|
1783
1833
|
|
@@ -1790,7 +1840,7 @@ __Returns:__
|
|
1790
1840
|
|
1791
1841
|
--
|
1792
1842
|
|
1793
|
-
##### [Button](https://github.com/appium/ruby_lib/blob/
|
1843
|
+
##### [Button](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/android/element/button.rb#L3) android
|
1794
1844
|
|
1795
1845
|
> Button = 'android.widget.Button'.freeze
|
1796
1846
|
|
@@ -1798,7 +1848,7 @@ __Returns:__
|
|
1798
1848
|
|
1799
1849
|
--
|
1800
1850
|
|
1801
|
-
##### [ImageButton](https://github.com/appium/ruby_lib/blob/
|
1851
|
+
##### [ImageButton](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/android/element/button.rb#L4) android
|
1802
1852
|
|
1803
1853
|
> ImageButton = 'android.widget.ImageButton'.freeze
|
1804
1854
|
|
@@ -1806,7 +1856,7 @@ __Returns:__
|
|
1806
1856
|
|
1807
1857
|
--
|
1808
1858
|
|
1809
|
-
##### [button](https://github.com/appium/ruby_lib/blob/
|
1859
|
+
##### [button](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/android/element/button.rb#L10) android
|
1810
1860
|
|
1811
1861
|
> def button(value)
|
1812
1862
|
|
@@ -1823,7 +1873,7 @@ __Returns:__
|
|
1823
1873
|
|
1824
1874
|
--
|
1825
1875
|
|
1826
|
-
##### [buttons](https://github.com/appium/ruby_lib/blob/
|
1876
|
+
##### [buttons](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/android/element/button.rb#L27) android
|
1827
1877
|
|
1828
1878
|
> def buttons(value = false)
|
1829
1879
|
|
@@ -1840,7 +1890,7 @@ __Returns:__
|
|
1840
1890
|
|
1841
1891
|
--
|
1842
1892
|
|
1843
|
-
##### [first_button](https://github.com/appium/ruby_lib/blob/
|
1893
|
+
##### [first_button](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/android/element/button.rb#L34) android
|
1844
1894
|
|
1845
1895
|
> def first_button
|
1846
1896
|
|
@@ -1852,7 +1902,7 @@ __Returns:__
|
|
1852
1902
|
|
1853
1903
|
--
|
1854
1904
|
|
1855
|
-
##### [last_button](https://github.com/appium/ruby_lib/blob/
|
1905
|
+
##### [last_button](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/android/element/button.rb#L40) android
|
1856
1906
|
|
1857
1907
|
> def last_button
|
1858
1908
|
|
@@ -1864,7 +1914,7 @@ __Returns:__
|
|
1864
1914
|
|
1865
1915
|
--
|
1866
1916
|
|
1867
|
-
##### [button_exact](https://github.com/appium/ruby_lib/blob/
|
1917
|
+
##### [button_exact](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/android/element/button.rb#L56) android
|
1868
1918
|
|
1869
1919
|
> def button_exact(value)
|
1870
1920
|
|
@@ -1880,7 +1930,7 @@ __Returns:__
|
|
1880
1930
|
|
1881
1931
|
--
|
1882
1932
|
|
1883
|
-
##### [buttons_exact](https://github.com/appium/ruby_lib/blob/
|
1933
|
+
##### [buttons_exact](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/android/element/button.rb#L63) android
|
1884
1934
|
|
1885
1935
|
> def buttons_exact(value)
|
1886
1936
|
|
@@ -1896,7 +1946,7 @@ __Returns:__
|
|
1896
1946
|
|
1897
1947
|
--
|
1898
1948
|
|
1899
|
-
##### [find](https://github.com/appium/ruby_lib/blob/
|
1949
|
+
##### [find](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/android/element/generic.rb#L6) android
|
1900
1950
|
|
1901
1951
|
> def find(value)
|
1902
1952
|
|
@@ -1912,7 +1962,7 @@ __Returns:__
|
|
1912
1962
|
|
1913
1963
|
--
|
1914
1964
|
|
1915
|
-
##### [finds](https://github.com/appium/ruby_lib/blob/
|
1965
|
+
##### [finds](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/android/element/generic.rb#L13) android
|
1916
1966
|
|
1917
1967
|
> def finds(value)
|
1918
1968
|
|
@@ -1928,7 +1978,7 @@ __Returns:__
|
|
1928
1978
|
|
1929
1979
|
--
|
1930
1980
|
|
1931
|
-
##### [find_exact](https://github.com/appium/ruby_lib/blob/
|
1981
|
+
##### [find_exact](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/android/element/generic.rb#L20) android
|
1932
1982
|
|
1933
1983
|
> def find_exact(value)
|
1934
1984
|
|
@@ -1944,7 +1994,7 @@ __Returns:__
|
|
1944
1994
|
|
1945
1995
|
--
|
1946
1996
|
|
1947
|
-
##### [finds_exact](https://github.com/appium/ruby_lib/blob/
|
1997
|
+
##### [finds_exact](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/android/element/generic.rb#L27) android
|
1948
1998
|
|
1949
1999
|
> def finds_exact(value)
|
1950
2000
|
|
@@ -1960,7 +2010,7 @@ __Returns:__
|
|
1960
2010
|
|
1961
2011
|
--
|
1962
2012
|
|
1963
|
-
##### [scroll_to](https://github.com/appium/ruby_lib/blob/
|
2013
|
+
##### [scroll_to](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/android/element/generic.rb#L40) android
|
1964
2014
|
|
1965
2015
|
> def scroll_to(text, scrollable_index = 0)
|
1966
2016
|
|
@@ -1978,7 +2028,7 @@ __Returns:__
|
|
1978
2028
|
|
1979
2029
|
--
|
1980
2030
|
|
1981
|
-
##### [scroll_to_exact](https://github.com/appium/ruby_lib/blob/
|
2031
|
+
##### [scroll_to_exact](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/android/element/generic.rb#L58) android
|
1982
2032
|
|
1983
2033
|
> def scroll_to_exact(text, scrollable_index = 0)
|
1984
2034
|
|
@@ -1996,7 +2046,7 @@ __Returns:__
|
|
1996
2046
|
|
1997
2047
|
--
|
1998
2048
|
|
1999
|
-
##### [for](https://github.com/appium/ruby_lib/blob/
|
2049
|
+
##### [for](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/android/espresso/bridge.rb#L7) android
|
2000
2050
|
|
2001
2051
|
> def self.for(target)
|
2002
2052
|
|
@@ -2004,7 +2054,7 @@ __Returns:__
|
|
2004
2054
|
|
2005
2055
|
--
|
2006
2056
|
|
2007
|
-
##### [EditText](https://github.com/appium/ruby_lib/blob/
|
2057
|
+
##### [EditText](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/android/element/textfield.rb#L3) android
|
2008
2058
|
|
2009
2059
|
> EditText = 'android.widget.EditText'.freeze
|
2010
2060
|
|
@@ -2012,7 +2062,7 @@ __Returns:__
|
|
2012
2062
|
|
2013
2063
|
--
|
2014
2064
|
|
2015
|
-
##### [textfield](https://github.com/appium/ruby_lib/blob/
|
2065
|
+
##### [textfield](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/android/element/textfield.rb#L9) android
|
2016
2066
|
|
2017
2067
|
> def textfield(value)
|
2018
2068
|
|
@@ -2029,7 +2079,7 @@ __Returns:__
|
|
2029
2079
|
|
2030
2080
|
--
|
2031
2081
|
|
2032
|
-
##### [textfields](https://github.com/appium/ruby_lib/blob/
|
2082
|
+
##### [textfields](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/android/element/textfield.rb#L18) android
|
2033
2083
|
|
2034
2084
|
> def textfields(value = false)
|
2035
2085
|
|
@@ -2046,7 +2096,7 @@ __Returns:__
|
|
2046
2096
|
|
2047
2097
|
--
|
2048
2098
|
|
2049
|
-
##### [first_textfield](https://github.com/appium/ruby_lib/blob/
|
2099
|
+
##### [first_textfield](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/android/element/textfield.rb#L25) android
|
2050
2100
|
|
2051
2101
|
> def first_textfield
|
2052
2102
|
|
@@ -2058,7 +2108,7 @@ __Returns:__
|
|
2058
2108
|
|
2059
2109
|
--
|
2060
2110
|
|
2061
|
-
##### [last_textfield](https://github.com/appium/ruby_lib/blob/
|
2111
|
+
##### [last_textfield](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/android/element/textfield.rb#L31) android
|
2062
2112
|
|
2063
2113
|
> def last_textfield
|
2064
2114
|
|
@@ -2070,7 +2120,7 @@ __Returns:__
|
|
2070
2120
|
|
2071
2121
|
--
|
2072
2122
|
|
2073
|
-
##### [textfield_exact](https://github.com/appium/ruby_lib/blob/
|
2123
|
+
##### [textfield_exact](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/android/element/textfield.rb#L38) android
|
2074
2124
|
|
2075
2125
|
> def textfield_exact(value)
|
2076
2126
|
|
@@ -2086,7 +2136,7 @@ __Returns:__
|
|
2086
2136
|
|
2087
2137
|
--
|
2088
2138
|
|
2089
|
-
##### [textfields_exact](https://github.com/appium/ruby_lib/blob/
|
2139
|
+
##### [textfields_exact](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/android/element/textfield.rb#L45) android
|
2090
2140
|
|
2091
2141
|
> def textfields_exact(value)
|
2092
2142
|
|
@@ -2102,7 +2152,7 @@ __Returns:__
|
|
2102
2152
|
|
2103
2153
|
--
|
2104
2154
|
|
2105
|
-
##### [for](https://github.com/appium/ruby_lib/blob/
|
2155
|
+
##### [for](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/android/uiautomator2/bridge.rb#L7) android
|
2106
2156
|
|
2107
2157
|
> def self.for(target)
|
2108
2158
|
|
@@ -2110,7 +2160,7 @@ __Returns:__
|
|
2110
2160
|
|
2111
2161
|
--
|
2112
2162
|
|
2113
|
-
##### [string_visible_contains](https://github.com/appium/ruby_lib/blob/
|
2163
|
+
##### [string_visible_contains](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/android/uiautomator2/helper.rb#L13) android
|
2114
2164
|
|
2115
2165
|
> def string_visible_contains(class_name, value)
|
2116
2166
|
|
@@ -2131,7 +2181,7 @@ __Returns:__
|
|
2131
2181
|
|
2132
2182
|
--
|
2133
2183
|
|
2134
|
-
##### [complex_find_contains](https://github.com/appium/ruby_lib/blob/
|
2184
|
+
##### [complex_find_contains](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/android/uiautomator2/helper.rb#L31) android
|
2135
2185
|
|
2136
2186
|
> def complex_find_contains(class_name, value)
|
2137
2187
|
|
@@ -2149,7 +2199,7 @@ __Returns:__
|
|
2149
2199
|
|
2150
2200
|
--
|
2151
2201
|
|
2152
|
-
##### [complex_finds_contains](https://github.com/appium/ruby_lib/blob/
|
2202
|
+
##### [complex_finds_contains](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/android/uiautomator2/helper.rb#L41) android
|
2153
2203
|
|
2154
2204
|
> def complex_finds_contains(class_name, value)
|
2155
2205
|
|
@@ -2167,7 +2217,7 @@ __Returns:__
|
|
2167
2217
|
|
2168
2218
|
--
|
2169
2219
|
|
2170
|
-
##### [complex_find_exact](https://github.com/appium/ruby_lib/blob/
|
2220
|
+
##### [complex_find_exact](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/android/uiautomator2/helper.rb#L69) android
|
2171
2221
|
|
2172
2222
|
> def complex_find_exact(class_name, value)
|
2173
2223
|
|
@@ -2185,7 +2235,7 @@ __Returns:__
|
|
2185
2235
|
|
2186
2236
|
--
|
2187
2237
|
|
2188
|
-
##### [complex_finds_exact](https://github.com/appium/ruby_lib/blob/
|
2238
|
+
##### [complex_finds_exact](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/android/uiautomator2/helper.rb#L79) android
|
2189
2239
|
|
2190
2240
|
> def complex_finds_exact(class_name, value)
|
2191
2241
|
|
@@ -2203,7 +2253,7 @@ __Returns:__
|
|
2203
2253
|
|
2204
2254
|
--
|
2205
2255
|
|
2206
|
-
##### [shell](https://github.com/appium/ruby_lib/blob/
|
2256
|
+
##### [shell](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/android/common/command/command.rb#L14) android
|
2207
2257
|
|
2208
2258
|
> def shell(command, arguments)
|
2209
2259
|
|
@@ -2218,7 +2268,7 @@ __Parameters:__
|
|
2218
2268
|
|
2219
2269
|
--
|
2220
2270
|
|
2221
|
-
##### [start_logs_broadcast](https://github.com/appium/ruby_lib/blob/
|
2271
|
+
##### [start_logs_broadcast](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/android/common/command/command.rb#L28) android
|
2222
2272
|
|
2223
2273
|
> def start_logs_broadcast(logcat_file = 'logcat.log')
|
2224
2274
|
|
@@ -2230,7 +2280,7 @@ __Parameters:__
|
|
2230
2280
|
|
2231
2281
|
--
|
2232
2282
|
|
2233
|
-
##### [stop_logs_broadcast](https://github.com/appium/ruby_lib/blob/
|
2283
|
+
##### [stop_logs_broadcast](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/android/common/command/command.rb#L41) android
|
2234
2284
|
|
2235
2285
|
> def stop_logs_broadcast
|
2236
2286
|
|
@@ -2238,7 +2288,7 @@ Stop Android logcat broadcast websocket
|
|
2238
2288
|
|
2239
2289
|
--
|
2240
2290
|
|
2241
|
-
##### [button](https://github.com/appium/ruby_lib/blob/
|
2291
|
+
##### [button](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/android/uiautomator2/element/button.rb#L9) android
|
2242
2292
|
|
2243
2293
|
> def button(value)
|
2244
2294
|
|
@@ -2255,7 +2305,7 @@ __Returns:__
|
|
2255
2305
|
|
2256
2306
|
--
|
2257
2307
|
|
2258
|
-
##### [buttons](https://github.com/appium/ruby_lib/blob/
|
2308
|
+
##### [buttons](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/android/uiautomator2/element/button.rb#L29) android
|
2259
2309
|
|
2260
2310
|
> def buttons(value = false)
|
2261
2311
|
|
@@ -2272,7 +2322,7 @@ __Returns:__
|
|
2272
2322
|
|
2273
2323
|
--
|
2274
2324
|
|
2275
|
-
##### [first_button](https://github.com/appium/ruby_lib/blob/
|
2325
|
+
##### [first_button](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/android/uiautomator2/element/button.rb#L36) android
|
2276
2326
|
|
2277
2327
|
> def first_button
|
2278
2328
|
|
@@ -2284,7 +2334,7 @@ __Returns:__
|
|
2284
2334
|
|
2285
2335
|
--
|
2286
2336
|
|
2287
|
-
##### [last_button](https://github.com/appium/ruby_lib/blob/
|
2337
|
+
##### [last_button](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/android/uiautomator2/element/button.rb#L43) android
|
2288
2338
|
|
2289
2339
|
> def last_button
|
2290
2340
|
|
@@ -2296,7 +2346,7 @@ __Returns:__
|
|
2296
2346
|
|
2297
2347
|
--
|
2298
2348
|
|
2299
|
-
##### [button_exact](https://github.com/appium/ruby_lib/blob/
|
2349
|
+
##### [button_exact](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/android/uiautomator2/element/button.rb#L60) android
|
2300
2350
|
|
2301
2351
|
> def button_exact(value)
|
2302
2352
|
|
@@ -2312,7 +2362,7 @@ __Returns:__
|
|
2312
2362
|
|
2313
2363
|
--
|
2314
2364
|
|
2315
|
-
##### [buttons_exact](https://github.com/appium/ruby_lib/blob/
|
2365
|
+
##### [buttons_exact](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/android/uiautomator2/element/button.rb#L68) android
|
2316
2366
|
|
2317
2367
|
> def buttons_exact(value)
|
2318
2368
|
|