appium_lib 9.15.0 → 9.15.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +9 -0
- data/Gemfile +1 -1
- data/appium_lib.gemspec +3 -2
- data/docs/android_docs.md +183 -183
- data/docs/ios_docs.md +243 -243
- data/lib/appium_lib/common/helper.rb +16 -11
- data/lib/appium_lib/driver.rb +2 -1
- data/lib/appium_lib/ios/common/helper.rb +3 -1
- data/lib/appium_lib/version.rb +2 -2
- data/release_notes.md +11 -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: db7533d9a99757839cd60f3f4fa03286a30a1c52
|
4
|
+
data.tar.gz: 2a50bb8820a4ae051c1d8f8599c688ca0498c088
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: '0380d28cfa731a54118ed166595b05f0fd171af9994e8f0d8be13d3922ceba5280f46d6cae9558f8af974381a3d38cdd4fb99feb70cdaa284c3f95c1cf7fdaaa'
|
7
|
+
data.tar.gz: 37fa121f8ceeb5bb5750269c45258795a8928811bcf99a2638b21a01ee84a70093c107e3144b97708983713a873c4dc723bbdb937f36d3a1f7f12985eb6287b1
|
data/CHANGELOG.md
CHANGED
@@ -10,6 +10,15 @@ Release tags are https://github.com/appium/ruby_lib/releases .
|
|
10
10
|
|
11
11
|
### 3. Deprecations
|
12
12
|
|
13
|
+
## v9.15.1
|
14
|
+
### 1. Enhancements
|
15
|
+
- [Internal] Use [ruby_lib_core](https://github.com/appium/ruby_lib_core) 2.0
|
16
|
+
- The change shouldn't affect this version since the change influence `Core.new`.
|
17
|
+
|
18
|
+
### 2. Bug fixes
|
19
|
+
|
20
|
+
### 3. Deprecations
|
21
|
+
|
13
22
|
## v9.15.0
|
14
23
|
### 1. Enhancements
|
15
24
|
- Requires `appium_lib_core` 1.9.0+
|
data/Gemfile
CHANGED
@@ -1,2 +1,2 @@
|
|
1
1
|
source 'https://rubygems.org'
|
2
|
-
gemspec
|
2
|
+
gemspec
|
data/appium_lib.gemspec
CHANGED
@@ -9,11 +9,12 @@ Gem::Specification.new do |s|
|
|
9
9
|
s.license = 'Apache-2.0'
|
10
10
|
s.description = s.summary = 'Ruby library for Appium'
|
11
11
|
s.description += '.' # avoid identical warning
|
12
|
-
s.authors =
|
12
|
+
s.authors = ['code@bootstraponline.com', 'Kazuaki Matsuo']
|
13
|
+
s.email = %w(code@bootstraponline.com fly.49.89.over@gmail.com)
|
13
14
|
s.homepage = 'https://github.com/appium/ruby_lib' # published as appium_lib
|
14
15
|
s.require_paths = ['lib']
|
15
16
|
|
16
|
-
s.add_runtime_dependency 'appium_lib_core', '~>
|
17
|
+
s.add_runtime_dependency 'appium_lib_core', '~> 2.0.0'
|
17
18
|
s.add_runtime_dependency 'tomlrb', '~> 1.1'
|
18
19
|
s.add_runtime_dependency 'nokogiri', '~> 1.8', '>= 1.8.1'
|
19
20
|
|
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/ca56974a3c9a080ba50460d7ff442c4155c2ab9e/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/ca56974a3c9a080ba50460d7ff442c4155c2ab9e/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/ca56974a3c9a080ba50460d7ff442c4155c2ab9e/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/ca56974a3c9a080ba50460d7ff442c4155c2ab9e/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/ca56974a3c9a080ba50460d7ff442c4155c2ab9e/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/ca56974a3c9a080ba50460d7ff442c4155c2ab9e/lib/appium_lib/driver.rb#L37)
|
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/ca56974a3c9a080ba50460d7ff442c4155c2ab9e/lib/appium_lib/driver.rb#L37)
|
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/ca56974a3c9a080ba50460d7ff442c4155c2ab9e/lib/appium_lib/driver.rb#L40)
|
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/ca56974a3c9a080ba50460d7ff442c4155c2ab9e/lib/appium_lib/driver.rb#L43)
|
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/ca56974a3c9a080ba50460d7ff442c4155c2ab9e/lib/appium_lib/driver.rb#L46)
|
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/ca56974a3c9a080ba50460d7ff442c4155c2ab9e/lib/appium_lib/driver.rb#L49)
|
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/ca56974a3c9a080ba50460d7ff442c4155c2ab9e/lib/appium_lib/driver.rb#L53)
|
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/ca56974a3c9a080ba50460d7ff442c4155c2ab9e/lib/appium_lib/driver.rb#L54)
|
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/ca56974a3c9a080ba50460d7ff442c4155c2ab9e/lib/appium_lib/driver.rb#L55)
|
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/ca56974a3c9a080ba50460d7ff442c4155c2ab9e/lib/appium_lib/driver.rb#L56)
|
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/ca56974a3c9a080ba50460d7ff442c4155c2ab9e/lib/appium_lib/driver.rb#L57)
|
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/ca56974a3c9a080ba50460d7ff442c4155c2ab9e/lib/appium_lib/driver.rb#L58)
|
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/ca56974a3c9a080ba50460d7ff442c4155c2ab9e/lib/appium_lib/driver.rb#L59)
|
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/ca56974a3c9a080ba50460d7ff442c4155c2ab9e/lib/appium_lib/driver.rb#L60)
|
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/ca56974a3c9a080ba50460d7ff442c4155c2ab9e/lib/appium_lib/driver.rb#L61)
|
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/ca56974a3c9a080ba50460d7ff442c4155c2ab9e/lib/appium_lib/driver.rb#L62)
|
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/ca56974a3c9a080ba50460d7ff442c4155c2ab9e/lib/appium_lib/driver.rb#L63)
|
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/ca56974a3c9a080ba50460d7ff442c4155c2ab9e/lib/appium_lib/driver.rb#L64)
|
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/ca56974a3c9a080ba50460d7ff442c4155c2ab9e/lib/appium_lib/driver.rb#L67)
|
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/ca56974a3c9a080ba50460d7ff442c4155c2ab9e/lib/appium_lib/driver.rb#L69)
|
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/ca56974a3c9a080ba50460d7ff442c4155c2ab9e/lib/appium_lib/driver.rb#L72)
|
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/ca56974a3c9a080ba50460d7ff442c4155c2ab9e/lib/appium_lib/driver.rb#L74)
|
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/ca56974a3c9a080ba50460d7ff442c4155c2ab9e/lib/appium_lib/driver.rb#L142)
|
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/ca56974a3c9a080ba50460d7ff442c4155c2ab9e/lib/appium_lib/driver.rb#L256)
|
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/ca56974a3c9a080ba50460d7ff442c4155c2ab9e/lib/appium_lib/driver.rb#L276)
|
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/ca56974a3c9a080ba50460d7ff442c4155c2ab9e/lib/appium_lib/driver.rb#L280)
|
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/ca56974a3c9a080ba50460d7ff442c4155c2ab9e/lib/appium_lib/driver.rb#L284)
|
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/ca56974a3c9a080ba50460d7ff442c4155c2ab9e/lib/appium_lib/driver.rb#L290)
|
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/ca56974a3c9a080ba50460d7ff442c4155c2ab9e/lib/appium_lib/driver.rb#L296)
|
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/ca56974a3c9a080ba50460d7ff442c4155c2ab9e/lib/appium_lib/driver.rb#L302)
|
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/ca56974a3c9a080ba50460d7ff442c4155c2ab9e/lib/appium_lib/driver.rb#L322)
|
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/ca56974a3c9a080ba50460d7ff442c4155c2ab9e/lib/appium_lib/driver.rb#L329)
|
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/ca56974a3c9a080ba50460d7ff442c4155c2ab9e/lib/appium_lib/driver.rb#L350)
|
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/ca56974a3c9a080ba50460d7ff442c4155c2ab9e/lib/appium_lib/driver.rb#L357)
|
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/ca56974a3c9a080ba50460d7ff442c4155c2ab9e/lib/appium_lib/driver.rb#L361)
|
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/ca56974a3c9a080ba50460d7ff442c4155c2ab9e/lib/appium_lib/driver.rb#L374)
|
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/ca56974a3c9a080ba50460d7ff442c4155c2ab9e/lib/appium_lib/driver.rb#L386)
|
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/ca56974a3c9a080ba50460d7ff442c4155c2ab9e/lib/appium_lib/driver.rb#L403)
|
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/ca56974a3c9a080ba50460d7ff442c4155c2ab9e/lib/appium_lib/driver.rb#L411)
|
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/ca56974a3c9a080ba50460d7ff442c4155c2ab9e/lib/appium_lib/driver.rb#L424)
|
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/ca56974a3c9a080ba50460d7ff442c4155c2ab9e/lib/appium_lib/driver.rb#L438)
|
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/ca56974a3c9a080ba50460d7ff442c4155c2ab9e/lib/appium_lib/driver.rb#L445)
|
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/ca56974a3c9a080ba50460d7ff442c4155c2ab9e/lib/appium_lib/driver.rb#L448)
|
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/ca56974a3c9a080ba50460d7ff442c4155c2ab9e/lib/appium_lib/driver.rb#L459)
|
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/ca56974a3c9a080ba50460d7ff442c4155c2ab9e/lib/appium_lib/driver.rb#L492)
|
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/ca56974a3c9a080ba50460d7ff442c4155c2ab9e/lib/appium_lib/driver.rb#L514)
|
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/ca56974a3c9a080ba50460d7ff442c4155c2ab9e/lib/appium_lib/driver.rb#L524)
|
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/ca56974a3c9a080ba50460d7ff442c4155c2ab9e/lib/appium_lib/driver.rb#L538)
|
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/ca56974a3c9a080ba50460d7ff442c4155c2ab9e/lib/appium_lib/driver.rb#L555)
|
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/ca56974a3c9a080ba50460d7ff442c4155c2ab9e/lib/appium_lib/driver.rb#L579)
|
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/ca56974a3c9a080ba50460d7ff442c4155c2ab9e/lib/appium_lib/driver.rb#L603)
|
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/ca56974a3c9a080ba50460d7ff442c4155c2ab9e/lib/appium_lib/driver.rb#L619)
|
711
711
|
|
712
712
|
> def find_element(*args)
|
713
713
|
|
@@ -725,7 +725,7 @@ __Returns:__
|
|
725
725
|
|
726
726
|
--
|
727
727
|
|
728
|
-
##### [DEFAULT_MATCH_THRESHOLD](https://github.com/appium/ruby_lib/blob/
|
728
|
+
##### [DEFAULT_MATCH_THRESHOLD](https://github.com/appium/ruby_lib/blob/ca56974a3c9a080ba50460d7ff442c4155c2ab9e/lib/appium_lib/driver.rb#L637)
|
729
729
|
|
730
730
|
> DEFAULT_MATCH_THRESHOLD = 0.5
|
731
731
|
|
@@ -746,7 +746,7 @@ __Returns:__
|
|
746
746
|
|
747
747
|
--
|
748
748
|
|
749
|
-
##### [find_element_by_image](https://github.com/appium/ruby_lib/blob/
|
749
|
+
##### [find_element_by_image](https://github.com/appium/ruby_lib/blob/ca56974a3c9a080ba50460d7ff442c4155c2ab9e/lib/appium_lib/driver.rb#L638)
|
750
750
|
|
751
751
|
> def find_element_by_image(png_img_path, match_threshold: DEFAULT_MATCH_THRESHOLD, visualize: false)
|
752
752
|
|
@@ -754,7 +754,7 @@ __Returns:__
|
|
754
754
|
|
755
755
|
--
|
756
756
|
|
757
|
-
##### [find_elements_by_image](https://github.com/appium/ruby_lib/blob/
|
757
|
+
##### [find_elements_by_image](https://github.com/appium/ruby_lib/blob/ca56974a3c9a080ba50460d7ff442c4155c2ab9e/lib/appium_lib/driver.rb#L656)
|
758
758
|
|
759
759
|
> def find_elements_by_image(png_img_paths, match_threshold: DEFAULT_MATCH_THRESHOLD, visualize: false)
|
760
760
|
|
@@ -775,7 +775,7 @@ __Returns:__
|
|
775
775
|
|
776
776
|
--
|
777
777
|
|
778
|
-
##### [set_location](https://github.com/appium/ruby_lib/blob/
|
778
|
+
##### [set_location](https://github.com/appium/ruby_lib/blob/ca56974a3c9a080ba50460d7ff442c4155c2ab9e/lib/appium_lib/driver.rb#L669)
|
779
779
|
|
780
780
|
> def set_location(opts = {})
|
781
781
|
|
@@ -791,7 +791,7 @@ __Returns:__
|
|
791
791
|
|
792
792
|
--
|
793
793
|
|
794
|
-
##### [x](https://github.com/appium/ruby_lib/blob/
|
794
|
+
##### [x](https://github.com/appium/ruby_lib/blob/ca56974a3c9a080ba50460d7ff442c4155c2ab9e/lib/appium_lib/driver.rb#L679)
|
795
795
|
|
796
796
|
> def x
|
797
797
|
|
@@ -804,7 +804,7 @@ __Returns:__
|
|
804
804
|
|
805
805
|
--
|
806
806
|
|
807
|
-
##### [username](https://github.com/appium/ruby_lib/blob/
|
807
|
+
##### [username](https://github.com/appium/ruby_lib/blob/ca56974a3c9a080ba50460d7ff442c4155c2ab9e/lib/appium_lib/sauce_labs.rb#L4)
|
808
808
|
|
809
809
|
> def username
|
810
810
|
|
@@ -812,7 +812,7 @@ Username for use on Sauce Labs. Set `false` to disable Sauce, even when SAUCE_US
|
|
812
812
|
|
813
813
|
--
|
814
814
|
|
815
|
-
##### [access_key](https://github.com/appium/ruby_lib/blob/
|
815
|
+
##### [access_key](https://github.com/appium/ruby_lib/blob/ca56974a3c9a080ba50460d7ff442c4155c2ab9e/lib/appium_lib/sauce_labs.rb#L6)
|
816
816
|
|
817
817
|
> def access_key
|
818
818
|
|
@@ -820,7 +820,7 @@ Access Key for use on Sauce Labs. Set `false` to disable Sauce, even when SAUCE_
|
|
820
820
|
|
821
821
|
--
|
822
822
|
|
823
|
-
##### [endpoint](https://github.com/appium/ruby_lib/blob/
|
823
|
+
##### [endpoint](https://github.com/appium/ruby_lib/blob/ca56974a3c9a080ba50460d7ff442c4155c2ab9e/lib/appium_lib/sauce_labs.rb#L8)
|
824
824
|
|
825
825
|
> def endpoint
|
826
826
|
|
@@ -828,7 +828,7 @@ Override the Sauce Appium endpoint to allow e.g. TestObject tests. Default is 'o
|
|
828
828
|
|
829
829
|
--
|
830
830
|
|
831
|
-
##### [initialize](https://github.com/appium/ruby_lib/blob/
|
831
|
+
##### [initialize](https://github.com/appium/ruby_lib/blob/ca56974a3c9a080ba50460d7ff442c4155c2ab9e/lib/appium_lib/sauce_labs.rb#L33)
|
832
832
|
|
833
833
|
> def initialize(appium_lib_opts)
|
834
834
|
|
@@ -844,7 +844,7 @@ __Returns:__
|
|
844
844
|
|
845
845
|
--
|
846
846
|
|
847
|
-
##### [sauce_server_url?](https://github.com/appium/ruby_lib/blob/
|
847
|
+
##### [sauce_server_url?](https://github.com/appium/ruby_lib/blob/ca56974a3c9a080ba50460d7ff442c4155c2ab9e/lib/appium_lib/sauce_labs.rb#L53)
|
848
848
|
|
849
849
|
> def sauce_server_url?
|
850
850
|
|
@@ -856,7 +856,7 @@ __Returns:__
|
|
856
856
|
|
857
857
|
--
|
858
858
|
|
859
|
-
##### [server_url](https://github.com/appium/ruby_lib/blob/
|
859
|
+
##### [server_url](https://github.com/appium/ruby_lib/blob/ca56974a3c9a080ba50460d7ff442c4155c2ab9e/lib/appium_lib/sauce_labs.rb#L66)
|
860
860
|
|
861
861
|
> def server_url
|
862
862
|
|
@@ -868,7 +868,7 @@ __Returns:__
|
|
868
868
|
|
869
869
|
--
|
870
870
|
|
871
|
-
##### [get_log](https://github.com/appium/ruby_lib/blob/
|
871
|
+
##### [get_log](https://github.com/appium/ruby_lib/blob/ca56974a3c9a080ba50460d7ff442c4155c2ab9e/lib/appium_lib/common/log.rb#L11)
|
872
872
|
|
873
873
|
> def get_log(type)
|
874
874
|
|
@@ -884,7 +884,7 @@ __Returns:__
|
|
884
884
|
|
885
885
|
--
|
886
886
|
|
887
|
-
##### [get_available_log_types](https://github.com/appium/ruby_lib/blob/
|
887
|
+
##### [get_available_log_types](https://github.com/appium/ruby_lib/blob/ca56974a3c9a080ba50460d7ff442c4155c2ab9e/lib/appium_lib/common/log.rb#L23)
|
888
888
|
|
889
889
|
> def get_available_log_types
|
890
890
|
|
@@ -896,7 +896,7 @@ __Returns:__
|
|
896
896
|
|
897
897
|
--
|
898
898
|
|
899
|
-
##### [wait_true](https://github.com/appium/ruby_lib/blob/
|
899
|
+
##### [wait_true](https://github.com/appium/ruby_lib/blob/ca56974a3c9a080ba50460d7ff442c4155c2ab9e/lib/appium_lib/common/wait.rb#L30)
|
900
900
|
|
901
901
|
> def wait_true(opts = {})
|
902
902
|
|
@@ -916,7 +916,7 @@ __Parameters:__
|
|
916
916
|
|
917
917
|
--
|
918
918
|
|
919
|
-
##### [wait](https://github.com/appium/ruby_lib/blob/
|
919
|
+
##### [wait](https://github.com/appium/ruby_lib/blob/ca56974a3c9a080ba50460d7ff442c4155c2ab9e/lib/appium_lib/common/wait.rb#L59)
|
920
920
|
|
921
921
|
> def wait(opts = {})
|
922
922
|
|
@@ -934,7 +934,7 @@ __Parameters:__
|
|
934
934
|
|
935
935
|
--
|
936
936
|
|
937
|
-
##### [add_touch_actions](https://github.com/appium/ruby_lib/blob/
|
937
|
+
##### [add_touch_actions](https://github.com/appium/ruby_lib/blob/ca56974a3c9a080ba50460d7ff442c4155c2ab9e/lib/appium_lib/common/device.rb#L12)
|
938
938
|
|
939
939
|
> def add_touch_actions
|
940
940
|
|
@@ -942,7 +942,7 @@ __Parameters:__
|
|
942
942
|
|
943
943
|
--
|
944
944
|
|
945
|
-
##### [delegate_from_appium_driver](https://github.com/appium/ruby_lib/blob/
|
945
|
+
##### [delegate_from_appium_driver](https://github.com/appium/ruby_lib/blob/ca56974a3c9a080ba50460d7ff442c4155c2ab9e/lib/appium_lib/common/device.rb#L24)
|
946
946
|
|
947
947
|
> def delegate_from_appium_driver(method, delegation_target)
|
948
948
|
|
@@ -950,7 +950,7 @@ __Parameters:__
|
|
950
950
|
|
951
951
|
--
|
952
952
|
|
953
|
-
##### [ignore](https://github.com/appium/ruby_lib/blob/
|
953
|
+
##### [ignore](https://github.com/appium/ruby_lib/blob/ca56974a3c9a080ba50460d7ff442c4155c2ab9e/lib/appium_lib/common/helper.rb#L16)
|
954
954
|
|
955
955
|
> def ignore
|
956
956
|
|
@@ -958,7 +958,7 @@ Return yield and ignore any exceptions.
|
|
958
958
|
|
959
959
|
--
|
960
960
|
|
961
|
-
##### [back](https://github.com/appium/ruby_lib/blob/
|
961
|
+
##### [back](https://github.com/appium/ruby_lib/blob/ca56974a3c9a080ba50460d7ff442c4155c2ab9e/lib/appium_lib/common/helper.rb#L23)
|
962
962
|
|
963
963
|
> def back
|
964
964
|
|
@@ -970,7 +970,7 @@ __Returns:__
|
|
970
970
|
|
971
971
|
--
|
972
972
|
|
973
|
-
##### [session_id](https://github.com/appium/ruby_lib/blob/
|
973
|
+
##### [session_id](https://github.com/appium/ruby_lib/blob/ca56974a3c9a080ba50460d7ff442c4155c2ab9e/lib/appium_lib/common/helper.rb#L34)
|
974
974
|
|
975
975
|
> def session_id
|
976
976
|
|
@@ -982,7 +982,7 @@ __Returns:__
|
|
982
982
|
|
983
983
|
--
|
984
984
|
|
985
|
-
##### [xpath](https://github.com/appium/ruby_lib/blob/
|
985
|
+
##### [xpath](https://github.com/appium/ruby_lib/blob/ca56974a3c9a080ba50460d7ff442c4155c2ab9e/lib/appium_lib/common/helper.rb#L42)
|
986
986
|
|
987
987
|
> def xpath(xpath_str)
|
988
988
|
|
@@ -998,7 +998,7 @@ __Returns:__
|
|
998
998
|
|
999
999
|
--
|
1000
1000
|
|
1001
|
-
##### [xpaths](https://github.com/appium/ruby_lib/blob/
|
1001
|
+
##### [xpaths](https://github.com/appium/ruby_lib/blob/ca56974a3c9a080ba50460d7ff442c4155c2ab9e/lib/appium_lib/common/helper.rb#L50)
|
1002
1002
|
|
1003
1003
|
> def xpaths(xpath_str)
|
1004
1004
|
|
@@ -1014,7 +1014,7 @@ __Returns:__
|
|
1014
1014
|
|
1015
1015
|
--
|
1016
1016
|
|
1017
|
-
##### [result](https://github.com/appium/ruby_lib/blob/
|
1017
|
+
##### [result](https://github.com/appium/ruby_lib/blob/ca56974a3c9a080ba50460d7ff442c4155c2ab9e/lib/appium_lib/common/helper.rb#L60)
|
1018
1018
|
|
1019
1019
|
> def result
|
1020
1020
|
|
@@ -1022,9 +1022,9 @@ Returns the value of attribute result
|
|
1022
1022
|
|
1023
1023
|
--
|
1024
1024
|
|
1025
|
-
##### [initialize](https://github.com/appium/ruby_lib/blob/
|
1025
|
+
##### [initialize](https://github.com/appium/ruby_lib/blob/ca56974a3c9a080ba50460d7ff442c4155c2ab9e/lib/appium_lib/common/helper.rb#L62)
|
1026
1026
|
|
1027
|
-
> def initialize
|
1027
|
+
> def initialize(platform)
|
1028
1028
|
|
1029
1029
|
|
1030
1030
|
|
@@ -1034,7 +1034,7 @@ __Returns:__
|
|
1034
1034
|
|
1035
1035
|
--
|
1036
1036
|
|
1037
|
-
##### [reset](https://github.com/appium/ruby_lib/blob/
|
1037
|
+
##### [reset](https://github.com/appium/ruby_lib/blob/ca56974a3c9a080ba50460d7ff442c4155c2ab9e/lib/appium_lib/common/helper.rb#L67)
|
1038
1038
|
|
1039
1039
|
> def reset
|
1040
1040
|
|
@@ -1042,15 +1042,15 @@ __Returns:__
|
|
1042
1042
|
|
1043
1043
|
--
|
1044
1044
|
|
1045
|
-
##### [start_element](https://github.com/appium/ruby_lib/blob/
|
1045
|
+
##### [start_element](https://github.com/appium/ruby_lib/blob/ca56974a3c9a080ba50460d7ff442c4155c2ab9e/lib/appium_lib/common/helper.rb#L72)
|
1046
1046
|
|
1047
|
-
> def start_element(name, attrs = []
|
1047
|
+
> def start_element(name, attrs = [])
|
1048
1048
|
|
1049
1049
|
http://nokogiri.org/Nokogiri/XML/SAX/Document.html
|
1050
1050
|
|
1051
1051
|
--
|
1052
1052
|
|
1053
|
-
##### [formatted_result](https://github.com/appium/ruby_lib/blob/
|
1053
|
+
##### [formatted_result](https://github.com/appium/ruby_lib/blob/ca56974a3c9a080ba50460d7ff442c4155c2ab9e/lib/appium_lib/common/helper.rb#L83)
|
1054
1054
|
|
1055
1055
|
> def formatted_result
|
1056
1056
|
|
@@ -1058,7 +1058,7 @@ http://nokogiri.org/Nokogiri/XML/SAX/Document.html
|
|
1058
1058
|
|
1059
1059
|
--
|
1060
1060
|
|
1061
|
-
##### [get_page_class](https://github.com/appium/ruby_lib/blob/
|
1061
|
+
##### [get_page_class](https://github.com/appium/ruby_lib/blob/ca56974a3c9a080ba50460d7ff442c4155c2ab9e/lib/appium_lib/common/helper.rb#L101)
|
1062
1062
|
|
1063
1063
|
> def get_page_class
|
1064
1064
|
|
@@ -1070,7 +1070,7 @@ __Returns:__
|
|
1070
1070
|
|
1071
1071
|
--
|
1072
1072
|
|
1073
|
-
##### [page_class](https://github.com/appium/ruby_lib/blob/
|
1073
|
+
##### [page_class](https://github.com/appium/ruby_lib/blob/ca56974a3c9a080ba50460d7ff442c4155c2ab9e/lib/appium_lib/common/helper.rb#L126)
|
1074
1074
|
|
1075
1075
|
> def page_class
|
1076
1076
|
|
@@ -1083,7 +1083,7 @@ __Returns:__
|
|
1083
1083
|
|
1084
1084
|
--
|
1085
1085
|
|
1086
|
-
##### [source](https://github.com/appium/ruby_lib/blob/
|
1086
|
+
##### [source](https://github.com/appium/ruby_lib/blob/ca56974a3c9a080ba50460d7ff442c4155c2ab9e/lib/appium_lib/common/helper.rb#L133)
|
1087
1087
|
|
1088
1088
|
> def source
|
1089
1089
|
|
@@ -1095,7 +1095,7 @@ __Returns:__
|
|
1095
1095
|
|
1096
1096
|
--
|
1097
1097
|
|
1098
|
-
##### [get_source](https://github.com/appium/ruby_lib/blob/
|
1098
|
+
##### [get_source](https://github.com/appium/ruby_lib/blob/ca56974a3c9a080ba50460d7ff442c4155c2ab9e/lib/appium_lib/common/helper.rb#L140)
|
1099
1099
|
|
1100
1100
|
> def get_source
|
1101
1101
|
|
@@ -1108,7 +1108,7 @@ __Returns:__
|
|
1108
1108
|
|
1109
1109
|
--
|
1110
1110
|
|
1111
|
-
##### [px_to_window_rel](https://github.com/appium/ruby_lib/blob/
|
1111
|
+
##### [px_to_window_rel](https://github.com/appium/ruby_lib/blob/ca56974a3c9a080ba50460d7ff442c4155c2ab9e/lib/appium_lib/common/helper.rb#L150)
|
1112
1112
|
|
1113
1113
|
> def px_to_window_rel(opts = {}, driver = $driver)
|
1114
1114
|
|
@@ -1116,7 +1116,7 @@ Converts pixel values to window relative values
|
|
1116
1116
|
|
1117
1117
|
--
|
1118
1118
|
|
1119
|
-
##### [xml_keys](https://github.com/appium/ruby_lib/blob/
|
1119
|
+
##### [xml_keys](https://github.com/appium/ruby_lib/blob/ca56974a3c9a080ba50460d7ff442c4155c2ab9e/lib/appium_lib/common/helper.rb#L169)
|
1120
1120
|
|
1121
1121
|
> def xml_keys(target)
|
1122
1122
|
|
@@ -1132,7 +1132,7 @@ __Returns:__
|
|
1132
1132
|
|
1133
1133
|
--
|
1134
1134
|
|
1135
|
-
##### [xml_values](https://github.com/appium/ruby_lib/blob/
|
1135
|
+
##### [xml_values](https://github.com/appium/ruby_lib/blob/ca56974a3c9a080ba50460d7ff442c4155c2ab9e/lib/appium_lib/common/helper.rb#L177)
|
1136
1136
|
|
1137
1137
|
> def xml_values(target)
|
1138
1138
|
|
@@ -1148,7 +1148,7 @@ __Returns:__
|
|
1148
1148
|
|
1149
1149
|
--
|
1150
1150
|
|
1151
|
-
##### [resolve_id](https://github.com/appium/ruby_lib/blob/
|
1151
|
+
##### [resolve_id](https://github.com/appium/ruby_lib/blob/ca56974a3c9a080ba50460d7ff442c4155c2ab9e/lib/appium_lib/common/helper.rb#L185)
|
1152
1152
|
|
1153
1153
|
> def resolve_id(id)
|
1154
1154
|
|
@@ -1164,7 +1164,7 @@ __Returns:__
|
|
1164
1164
|
|
1165
1165
|
--
|
1166
1166
|
|
1167
|
-
##### [filter](https://github.com/appium/ruby_lib/blob/
|
1167
|
+
##### [filter](https://github.com/appium/ruby_lib/blob/ca56974a3c9a080ba50460d7ff442c4155c2ab9e/lib/appium_lib/common/helper.rb#L192)
|
1168
1168
|
|
1169
1169
|
> def filter
|
1170
1170
|
|
@@ -1172,7 +1172,7 @@ Returns the value of attribute filter
|
|
1172
1172
|
|
1173
1173
|
--
|
1174
1174
|
|
1175
|
-
##### [filter=](https://github.com/appium/ruby_lib/blob/
|
1175
|
+
##### [filter=](https://github.com/appium/ruby_lib/blob/ca56974a3c9a080ba50460d7ff442c4155c2ab9e/lib/appium_lib/common/helper.rb#L195)
|
1176
1176
|
|
1177
1177
|
> def filter=(value)
|
1178
1178
|
|
@@ -1180,7 +1180,7 @@ convert to string to support symbols
|
|
1180
1180
|
|
1181
1181
|
--
|
1182
1182
|
|
1183
|
-
##### [initialize](https://github.com/appium/ruby_lib/blob/
|
1183
|
+
##### [initialize](https://github.com/appium/ruby_lib/blob/ca56974a3c9a080ba50460d7ff442c4155c2ab9e/lib/appium_lib/common/helper.rb#L201)
|
1184
1184
|
|
1185
1185
|
> def initialize
|
1186
1186
|
|
@@ -1192,7 +1192,7 @@ __Returns:__
|
|
1192
1192
|
|
1193
1193
|
--
|
1194
1194
|
|
1195
|
-
##### [reset](https://github.com/appium/ruby_lib/blob/
|
1195
|
+
##### [reset](https://github.com/appium/ruby_lib/blob/ca56974a3c9a080ba50460d7ff442c4155c2ab9e/lib/appium_lib/common/helper.rb#L206)
|
1196
1196
|
|
1197
1197
|
> def reset
|
1198
1198
|
|
@@ -1200,7 +1200,7 @@ __Returns:__
|
|
1200
1200
|
|
1201
1201
|
--
|
1202
1202
|
|
1203
|
-
##### [result](https://github.com/appium/ruby_lib/blob/
|
1203
|
+
##### [result](https://github.com/appium/ruby_lib/blob/ca56974a3c9a080ba50460d7ff442c4155c2ab9e/lib/appium_lib/common/helper.rb#L212)
|
1204
1204
|
|
1205
1205
|
> def result
|
1206
1206
|
|
@@ -1208,7 +1208,7 @@ __Returns:__
|
|
1208
1208
|
|
1209
1209
|
--
|
1210
1210
|
|
1211
|
-
##### [start_element](https://github.com/appium/ruby_lib/blob/
|
1211
|
+
##### [start_element](https://github.com/appium/ruby_lib/blob/ca56974a3c9a080ba50460d7ff442c4155c2ab9e/lib/appium_lib/common/helper.rb#L228)
|
1212
1212
|
|
1213
1213
|
> def start_element(name, attrs = [])
|
1214
1214
|
|
@@ -1216,7 +1216,7 @@ __Returns:__
|
|
1216
1216
|
|
1217
1217
|
--
|
1218
1218
|
|
1219
|
-
##### [end_element](https://github.com/appium/ruby_lib/blob/
|
1219
|
+
##### [end_element](https://github.com/appium/ruby_lib/blob/ca56974a3c9a080ba50460d7ff442c4155c2ab9e/lib/appium_lib/common/helper.rb#L237)
|
1220
1220
|
|
1221
1221
|
> def end_element(name)
|
1222
1222
|
|
@@ -1224,7 +1224,7 @@ __Returns:__
|
|
1224
1224
|
|
1225
1225
|
--
|
1226
1226
|
|
1227
|
-
##### [characters](https://github.com/appium/ruby_lib/blob/
|
1227
|
+
##### [characters](https://github.com/appium/ruby_lib/blob/ca56974a3c9a080ba50460d7ff442c4155c2ab9e/lib/appium_lib/common/helper.rb#L243)
|
1228
1228
|
|
1229
1229
|
> def characters(chars)
|
1230
1230
|
|
@@ -1232,7 +1232,7 @@ __Returns:__
|
|
1232
1232
|
|
1233
1233
|
--
|
1234
1234
|
|
1235
|
-
##### [DEFAULT_HEADERS](https://github.com/appium/ruby_lib/blob/
|
1235
|
+
##### [DEFAULT_HEADERS](https://github.com/appium/ruby_lib/blob/ca56974a3c9a080ba50460d7ff442c4155c2ab9e/lib/appium_lib/common/http_client.rb#L8)
|
1236
1236
|
|
1237
1237
|
> DEFAULT_HEADERS = { 'Accept' => CONTENT_TYPE, 'User-Agent' => "appium/ruby_lib/#{::Appium::VERSION}" }.freeze
|
1238
1238
|
|
@@ -1240,7 +1240,7 @@ Default HTTP client inherit Appium::Core::Base::Http::Default, but has different
|
|
1240
1240
|
|
1241
1241
|
--
|
1242
1242
|
|
1243
|
-
##### [pinch](https://github.com/appium/ruby_lib/blob/
|
1243
|
+
##### [pinch](https://github.com/appium/ruby_lib/blob/ca56974a3c9a080ba50460d7ff442c4155c2ab9e/lib/appium_lib/common/multi_touch.rb#L51)
|
1244
1244
|
|
1245
1245
|
> def pinch(percentage = 25, auto_perform = true, driver = $driver)
|
1246
1246
|
|
@@ -1260,7 +1260,7 @@ __Parameters:__
|
|
1260
1260
|
|
1261
1261
|
--
|
1262
1262
|
|
1263
|
-
##### [zoom](https://github.com/appium/ruby_lib/blob/
|
1263
|
+
##### [zoom](https://github.com/appium/ruby_lib/blob/ca56974a3c9a080ba50460d7ff442c4155c2ab9e/lib/appium_lib/common/multi_touch.rb#L93)
|
1264
1264
|
|
1265
1265
|
> def zoom(percentage = 200, auto_perform = true, driver = $driver)
|
1266
1266
|
|
@@ -1280,7 +1280,7 @@ __Parameters:__
|
|
1280
1280
|
|
1281
1281
|
--
|
1282
1282
|
|
1283
|
-
##### [initialize](https://github.com/appium/ruby_lib/blob/
|
1283
|
+
##### [initialize](https://github.com/appium/ruby_lib/blob/ca56974a3c9a080ba50460d7ff442c4155c2ab9e/lib/appium_lib/common/multi_touch.rb#L178)
|
1284
1284
|
|
1285
1285
|
> def initialize(driver = $driver)
|
1286
1286
|
|
@@ -1292,7 +1292,7 @@ __Returns:__
|
|
1292
1292
|
|
1293
1293
|
--
|
1294
1294
|
|
1295
|
-
##### [COMPLEX_ACTIONS](https://github.com/appium/ruby_lib/blob/
|
1295
|
+
##### [COMPLEX_ACTIONS](https://github.com/appium/ruby_lib/blob/ca56974a3c9a080ba50460d7ff442c4155c2ab9e/lib/appium_lib/common/touch_actions.rb#L33)
|
1296
1296
|
|
1297
1297
|
> COMPLEX_ACTIONS = ::Appium::Core::TouchAction::COMPLEX_ACTIONS
|
1298
1298
|
|
@@ -1300,7 +1300,7 @@ __Returns:__
|
|
1300
1300
|
|
1301
1301
|
--
|
1302
1302
|
|
1303
|
-
##### [initialize](https://github.com/appium/ruby_lib/blob/
|
1303
|
+
##### [initialize](https://github.com/appium/ruby_lib/blob/ca56974a3c9a080ba50460d7ff442c4155c2ab9e/lib/appium_lib/common/touch_actions.rb#L47)
|
1304
1304
|
|
1305
1305
|
> def initialize(driver = $driver)
|
1306
1306
|
|
@@ -1312,7 +1312,7 @@ __Returns:__
|
|
1312
1312
|
|
1313
1313
|
--
|
1314
1314
|
|
1315
|
-
##### [swipe](https://github.com/appium/ruby_lib/blob/
|
1315
|
+
##### [swipe](https://github.com/appium/ruby_lib/blob/ca56974a3c9a080ba50460d7ff442c4155c2ab9e/lib/appium_lib/common/touch_actions.rb#L51)
|
1316
1316
|
|
1317
1317
|
> def swipe(opts)
|
1318
1318
|
|
@@ -1320,7 +1320,7 @@ __Returns:__
|
|
1320
1320
|
|
1321
1321
|
--
|
1322
1322
|
|
1323
|
-
##### [initialize](https://github.com/appium/ruby_lib/blob/
|
1323
|
+
##### [initialize](https://github.com/appium/ruby_lib/blob/ca56974a3c9a080ba50460d7ff442c4155c2ab9e/lib/appium_lib/common/command/ws_logcat.rb#L5)
|
1324
1324
|
|
1325
1325
|
> def initialize(url:, output_file: 'logcat.log')
|
1326
1326
|
|
@@ -1332,7 +1332,7 @@ __Returns:__
|
|
1332
1332
|
|
1333
1333
|
--
|
1334
1334
|
|
1335
|
-
##### [handle_message_data](https://github.com/appium/ruby_lib/blob/
|
1335
|
+
##### [handle_message_data](https://github.com/appium/ruby_lib/blob/ca56974a3c9a080ba50460d7ff442c4155c2ab9e/lib/appium_lib/common/command/ws_logcat.rb#L10)
|
1336
1336
|
|
1337
1337
|
> def handle_message_data(data)
|
1338
1338
|
|
@@ -1340,7 +1340,7 @@ __Returns:__
|
|
1340
1340
|
|
1341
1341
|
--
|
1342
1342
|
|
1343
|
-
##### [for](https://github.com/appium/ruby_lib/blob/
|
1343
|
+
##### [for](https://github.com/appium/ruby_lib/blob/ca56974a3c9a080ba50460d7ff442c4155c2ab9e/lib/appium_lib/android/android.rb#L19) android
|
1344
1344
|
|
1345
1345
|
> def self.for(target)
|
1346
1346
|
|
@@ -1348,7 +1348,7 @@ __Returns:__
|
|
1348
1348
|
|
1349
1349
|
--
|
1350
1350
|
|
1351
|
-
##### [TextView](https://github.com/appium/ruby_lib/blob/
|
1351
|
+
##### [TextView](https://github.com/appium/ruby_lib/blob/ca56974a3c9a080ba50460d7ff442c4155c2ab9e/lib/appium_lib/android/element/text.rb#L4) android
|
1352
1352
|
|
1353
1353
|
> TextView = 'android.widget.TextView'.freeze
|
1354
1354
|
|
@@ -1356,7 +1356,7 @@ __Returns:__
|
|
1356
1356
|
|
1357
1357
|
--
|
1358
1358
|
|
1359
|
-
##### [text](https://github.com/appium/ruby_lib/blob/
|
1359
|
+
##### [text](https://github.com/appium/ruby_lib/blob/ca56974a3c9a080ba50460d7ff442c4155c2ab9e/lib/appium_lib/android/element/text.rb#L10) android
|
1360
1360
|
|
1361
1361
|
> def text(value)
|
1362
1362
|
|
@@ -1373,7 +1373,7 @@ __Returns:__
|
|
1373
1373
|
|
1374
1374
|
--
|
1375
1375
|
|
1376
|
-
##### [texts](https://github.com/appium/ruby_lib/blob/
|
1376
|
+
##### [texts](https://github.com/appium/ruby_lib/blob/ca56974a3c9a080ba50460d7ff442c4155c2ab9e/lib/appium_lib/android/element/text.rb#L19) android
|
1377
1377
|
|
1378
1378
|
> def texts(value = false)
|
1379
1379
|
|
@@ -1390,7 +1390,7 @@ __Returns:__
|
|
1390
1390
|
|
1391
1391
|
--
|
1392
1392
|
|
1393
|
-
##### [first_text](https://github.com/appium/ruby_lib/blob/
|
1393
|
+
##### [first_text](https://github.com/appium/ruby_lib/blob/ca56974a3c9a080ba50460d7ff442c4155c2ab9e/lib/appium_lib/android/element/text.rb#L26) android
|
1394
1394
|
|
1395
1395
|
> def first_text
|
1396
1396
|
|
@@ -1402,7 +1402,7 @@ __Returns:__
|
|
1402
1402
|
|
1403
1403
|
--
|
1404
1404
|
|
1405
|
-
##### [last_text](https://github.com/appium/ruby_lib/blob/
|
1405
|
+
##### [last_text](https://github.com/appium/ruby_lib/blob/ca56974a3c9a080ba50460d7ff442c4155c2ab9e/lib/appium_lib/android/element/text.rb#L32) android
|
1406
1406
|
|
1407
1407
|
> def last_text
|
1408
1408
|
|
@@ -1414,7 +1414,7 @@ __Returns:__
|
|
1414
1414
|
|
1415
1415
|
--
|
1416
1416
|
|
1417
|
-
##### [text_exact](https://github.com/appium/ruby_lib/blob/
|
1417
|
+
##### [text_exact](https://github.com/appium/ruby_lib/blob/ca56974a3c9a080ba50460d7ff442c4155c2ab9e/lib/appium_lib/android/element/text.rb#L39) android
|
1418
1418
|
|
1419
1419
|
> def text_exact(value)
|
1420
1420
|
|
@@ -1430,7 +1430,7 @@ __Returns:__
|
|
1430
1430
|
|
1431
1431
|
--
|
1432
1432
|
|
1433
|
-
##### [texts_exact](https://github.com/appium/ruby_lib/blob/
|
1433
|
+
##### [texts_exact](https://github.com/appium/ruby_lib/blob/ca56974a3c9a080ba50460d7ff442c4155c2ab9e/lib/appium_lib/android/element/text.rb#L46) android
|
1434
1434
|
|
1435
1435
|
> def texts_exact(value)
|
1436
1436
|
|
@@ -1446,7 +1446,7 @@ __Returns:__
|
|
1446
1446
|
|
1447
1447
|
--
|
1448
1448
|
|
1449
|
-
##### [result](https://github.com/appium/ruby_lib/blob/
|
1449
|
+
##### [result](https://github.com/appium/ruby_lib/blob/ca56974a3c9a080ba50460d7ff442c4155c2ab9e/lib/appium_lib/android/common/helper.rb#L6) android
|
1450
1450
|
|
1451
1451
|
> def result
|
1452
1452
|
|
@@ -1454,7 +1454,7 @@ Returns the value of attribute result
|
|
1454
1454
|
|
1455
1455
|
--
|
1456
1456
|
|
1457
|
-
##### [keys](https://github.com/appium/ruby_lib/blob/
|
1457
|
+
##### [keys](https://github.com/appium/ruby_lib/blob/ca56974a3c9a080ba50460d7ff442c4155c2ab9e/lib/appium_lib/android/common/helper.rb#L6) android
|
1458
1458
|
|
1459
1459
|
> def keys
|
1460
1460
|
|
@@ -1462,7 +1462,7 @@ Returns the value of attribute keys
|
|
1462
1462
|
|
1463
1463
|
--
|
1464
1464
|
|
1465
|
-
##### [filter](https://github.com/appium/ruby_lib/blob/
|
1465
|
+
##### [filter](https://github.com/appium/ruby_lib/blob/ca56974a3c9a080ba50460d7ff442c4155c2ab9e/lib/appium_lib/android/common/helper.rb#L6) android
|
1466
1466
|
|
1467
1467
|
> def filter
|
1468
1468
|
|
@@ -1470,7 +1470,7 @@ Returns the value of attribute filter
|
|
1470
1470
|
|
1471
1471
|
--
|
1472
1472
|
|
1473
|
-
##### [filter=](https://github.com/appium/ruby_lib/blob/
|
1473
|
+
##### [filter=](https://github.com/appium/ruby_lib/blob/ca56974a3c9a080ba50460d7ff442c4155c2ab9e/lib/appium_lib/android/common/helper.rb#L9) android
|
1474
1474
|
|
1475
1475
|
> def filter=(value)
|
1476
1476
|
|
@@ -1478,7 +1478,7 @@ convert to string to support symbols
|
|
1478
1478
|
|
1479
1479
|
--
|
1480
1480
|
|
1481
|
-
##### [initialize](https://github.com/appium/ruby_lib/blob/
|
1481
|
+
##### [initialize](https://github.com/appium/ruby_lib/blob/ca56974a3c9a080ba50460d7ff442c4155c2ab9e/lib/appium_lib/android/common/helper.rb#L15) android
|
1482
1482
|
|
1483
1483
|
> def initialize
|
1484
1484
|
|
@@ -1490,7 +1490,7 @@ __Returns:__
|
|
1490
1490
|
|
1491
1491
|
--
|
1492
1492
|
|
1493
|
-
##### [reset](https://github.com/appium/ruby_lib/blob/
|
1493
|
+
##### [reset](https://github.com/appium/ruby_lib/blob/ca56974a3c9a080ba50460d7ff442c4155c2ab9e/lib/appium_lib/android/common/helper.rb#L20) android
|
1494
1494
|
|
1495
1495
|
> def reset
|
1496
1496
|
|
@@ -1498,7 +1498,7 @@ __Returns:__
|
|
1498
1498
|
|
1499
1499
|
--
|
1500
1500
|
|
1501
|
-
##### [start_element](https://github.com/appium/ruby_lib/blob/
|
1501
|
+
##### [start_element](https://github.com/appium/ruby_lib/blob/ca56974a3c9a080ba50460d7ff442c4155c2ab9e/lib/appium_lib/android/common/helper.rb#L26) android
|
1502
1502
|
|
1503
1503
|
> def start_element(name, attrs = [], driver = $driver)
|
1504
1504
|
|
@@ -1506,7 +1506,7 @@ http://nokogiri.org/Nokogiri/XML/SAX/Document.html
|
|
1506
1506
|
|
1507
1507
|
--
|
1508
1508
|
|
1509
|
-
##### [get_android_inspect](https://github.com/appium/ruby_lib/blob/
|
1509
|
+
##### [get_android_inspect](https://github.com/appium/ruby_lib/blob/ca56974a3c9a080ba50460d7ff442c4155c2ab9e/lib/appium_lib/android/common/helper.rb#L80) android
|
1510
1510
|
|
1511
1511
|
> def get_android_inspect(class_name = false)
|
1512
1512
|
|
@@ -1525,7 +1525,7 @@ __Returns:__
|
|
1525
1525
|
|
1526
1526
|
--
|
1527
1527
|
|
1528
|
-
##### [page](https://github.com/appium/ruby_lib/blob/
|
1528
|
+
##### [page](https://github.com/appium/ruby_lib/blob/ca56974a3c9a080ba50460d7ff442c4155c2ab9e/lib/appium_lib/android/common/helper.rb#L106) android
|
1529
1529
|
|
1530
1530
|
> def page(opts = {})
|
1531
1531
|
|
@@ -1544,7 +1544,7 @@ __Returns:__
|
|
1544
1544
|
|
1545
1545
|
--
|
1546
1546
|
|
1547
|
-
##### [id](https://github.com/appium/ruby_lib/blob/
|
1547
|
+
##### [id](https://github.com/appium/ruby_lib/blob/ca56974a3c9a080ba50460d7ff442c4155c2ab9e/lib/appium_lib/android/common/helper.rb#L115) android
|
1548
1548
|
|
1549
1549
|
> def id(id)
|
1550
1550
|
|
@@ -1560,7 +1560,7 @@ __Returns:__
|
|
1560
1560
|
|
1561
1561
|
--
|
1562
1562
|
|
1563
|
-
##### [ids](https://github.com/appium/ruby_lib/blob/
|
1563
|
+
##### [ids](https://github.com/appium/ruby_lib/blob/ca56974a3c9a080ba50460d7ff442c4155c2ab9e/lib/appium_lib/android/common/helper.rb#L123) android
|
1564
1564
|
|
1565
1565
|
> def ids(id)
|
1566
1566
|
|
@@ -1576,7 +1576,7 @@ __Returns:__
|
|
1576
1576
|
|
1577
1577
|
--
|
1578
1578
|
|
1579
|
-
##### [ele_index](https://github.com/appium/ruby_lib/blob/
|
1579
|
+
##### [ele_index](https://github.com/appium/ruby_lib/blob/ca56974a3c9a080ba50460d7ff442c4155c2ab9e/lib/appium_lib/android/common/helper.rb#L132) android
|
1580
1580
|
|
1581
1581
|
> def ele_index(class_name, index)
|
1582
1582
|
|
@@ -1594,7 +1594,7 @@ __Returns:__
|
|
1594
1594
|
|
1595
1595
|
--
|
1596
1596
|
|
1597
|
-
##### [first_ele](https://github.com/appium/ruby_lib/blob/
|
1597
|
+
##### [first_ele](https://github.com/appium/ruby_lib/blob/ca56974a3c9a080ba50460d7ff442c4155c2ab9e/lib/appium_lib/android/common/helper.rb#L150) android
|
1598
1598
|
|
1599
1599
|
> def first_ele(class_name)
|
1600
1600
|
|
@@ -1610,7 +1610,7 @@ __Returns:__
|
|
1610
1610
|
|
1611
1611
|
--
|
1612
1612
|
|
1613
|
-
##### [last_ele](https://github.com/appium/ruby_lib/blob/
|
1613
|
+
##### [last_ele](https://github.com/appium/ruby_lib/blob/ca56974a3c9a080ba50460d7ff442c4155c2ab9e/lib/appium_lib/android/common/helper.rb#L157) android
|
1614
1614
|
|
1615
1615
|
> def last_ele(class_name)
|
1616
1616
|
|
@@ -1626,7 +1626,7 @@ __Returns:__
|
|
1626
1626
|
|
1627
1627
|
--
|
1628
1628
|
|
1629
|
-
##### [tag](https://github.com/appium/ruby_lib/blob/
|
1629
|
+
##### [tag](https://github.com/appium/ruby_lib/blob/ca56974a3c9a080ba50460d7ff442c4155c2ab9e/lib/appium_lib/android/common/helper.rb#L165) android
|
1630
1630
|
|
1631
1631
|
> def tag(class_name)
|
1632
1632
|
|
@@ -1642,7 +1642,7 @@ __Returns:__
|
|
1642
1642
|
|
1643
1643
|
--
|
1644
1644
|
|
1645
|
-
##### [tags](https://github.com/appium/ruby_lib/blob/
|
1645
|
+
##### [tags](https://github.com/appium/ruby_lib/blob/ca56974a3c9a080ba50460d7ff442c4155c2ab9e/lib/appium_lib/android/common/helper.rb#L173) android
|
1646
1646
|
|
1647
1647
|
> def tags(class_name)
|
1648
1648
|
|
@@ -1658,7 +1658,7 @@ __Returns:__
|
|
1658
1658
|
|
1659
1659
|
--
|
1660
1660
|
|
1661
|
-
##### [string_visible_contains_xpath](https://github.com/appium/ruby_lib/blob/
|
1661
|
+
##### [string_visible_contains_xpath](https://github.com/appium/ruby_lib/blob/ca56974a3c9a080ba50460d7ff442c4155c2ab9e/lib/appium_lib/android/common/helper.rb#L216) android
|
1662
1662
|
|
1663
1663
|
> def string_visible_contains_xpath(class_name, value)
|
1664
1664
|
|
@@ -1679,7 +1679,7 @@ __Returns:__
|
|
1679
1679
|
|
1680
1680
|
--
|
1681
1681
|
|
1682
|
-
##### [string_visible_contains](https://github.com/appium/ruby_lib/blob/
|
1682
|
+
##### [string_visible_contains](https://github.com/appium/ruby_lib/blob/ca56974a3c9a080ba50460d7ff442c4155c2ab9e/lib/appium_lib/android/common/helper.rb#L236) android
|
1683
1683
|
|
1684
1684
|
> def string_visible_contains(class_name, value)
|
1685
1685
|
|
@@ -1700,7 +1700,7 @@ __Returns:__
|
|
1700
1700
|
|
1701
1701
|
--
|
1702
1702
|
|
1703
|
-
##### [complex_find_contains](https://github.com/appium/ruby_lib/blob/
|
1703
|
+
##### [complex_find_contains](https://github.com/appium/ruby_lib/blob/ca56974a3c9a080ba50460d7ff442c4155c2ab9e/lib/appium_lib/android/common/helper.rb#L254) android
|
1704
1704
|
|
1705
1705
|
> def complex_find_contains(class_name, value)
|
1706
1706
|
|
@@ -1718,7 +1718,7 @@ __Returns:__
|
|
1718
1718
|
|
1719
1719
|
--
|
1720
1720
|
|
1721
|
-
##### [complex_finds_contains](https://github.com/appium/ruby_lib/blob/
|
1721
|
+
##### [complex_finds_contains](https://github.com/appium/ruby_lib/blob/ca56974a3c9a080ba50460d7ff442c4155c2ab9e/lib/appium_lib/android/common/helper.rb#L262) android
|
1722
1722
|
|
1723
1723
|
> def complex_finds_contains(class_name, value)
|
1724
1724
|
|
@@ -1736,7 +1736,7 @@ __Returns:__
|
|
1736
1736
|
|
1737
1737
|
--
|
1738
1738
|
|
1739
|
-
##### [complex_find_exact](https://github.com/appium/ruby_lib/blob/
|
1739
|
+
##### [complex_find_exact](https://github.com/appium/ruby_lib/blob/ca56974a3c9a080ba50460d7ff442c4155c2ab9e/lib/appium_lib/android/common/helper.rb#L306) android
|
1740
1740
|
|
1741
1741
|
> def complex_find_exact(class_name, value)
|
1742
1742
|
|
@@ -1754,7 +1754,7 @@ __Returns:__
|
|
1754
1754
|
|
1755
1755
|
--
|
1756
1756
|
|
1757
|
-
##### [complex_finds_exact](https://github.com/appium/ruby_lib/blob/
|
1757
|
+
##### [complex_finds_exact](https://github.com/appium/ruby_lib/blob/ca56974a3c9a080ba50460d7ff442c4155c2ab9e/lib/appium_lib/android/common/helper.rb#L314) android
|
1758
1758
|
|
1759
1759
|
> def complex_finds_exact(class_name, value)
|
1760
1760
|
|
@@ -1772,7 +1772,7 @@ __Returns:__
|
|
1772
1772
|
|
1773
1773
|
--
|
1774
1774
|
|
1775
|
-
##### [alert_click](https://github.com/appium/ruby_lib/blob/
|
1775
|
+
##### [alert_click](https://github.com/appium/ruby_lib/blob/ca56974a3c9a080ba50460d7ff442c4155c2ab9e/lib/appium_lib/android/element/alert.rb#L6) android
|
1776
1776
|
|
1777
1777
|
> def alert_click(value)
|
1778
1778
|
|
@@ -1788,7 +1788,7 @@ __Returns:__
|
|
1788
1788
|
|
1789
1789
|
--
|
1790
1790
|
|
1791
|
-
##### [alert_accept](https://github.com/appium/ruby_lib/blob/
|
1791
|
+
##### [alert_accept](https://github.com/appium/ruby_lib/blob/ca56974a3c9a080ba50460d7ff442c4155c2ab9e/lib/appium_lib/android/element/alert.rb#L13) android
|
1792
1792
|
|
1793
1793
|
> def alert_accept
|
1794
1794
|
|
@@ -1801,7 +1801,7 @@ __Returns:__
|
|
1801
1801
|
|
1802
1802
|
--
|
1803
1803
|
|
1804
|
-
##### [alert_accept_text](https://github.com/appium/ruby_lib/blob/
|
1804
|
+
##### [alert_accept_text](https://github.com/appium/ruby_lib/blob/ca56974a3c9a080ba50460d7ff442c4155c2ab9e/lib/appium_lib/android/element/alert.rb#L20) android
|
1805
1805
|
|
1806
1806
|
> def alert_accept_text
|
1807
1807
|
|
@@ -1814,7 +1814,7 @@ __Returns:__
|
|
1814
1814
|
|
1815
1815
|
--
|
1816
1816
|
|
1817
|
-
##### [alert_dismiss](https://github.com/appium/ruby_lib/blob/
|
1817
|
+
##### [alert_dismiss](https://github.com/appium/ruby_lib/blob/ca56974a3c9a080ba50460d7ff442c4155c2ab9e/lib/appium_lib/android/element/alert.rb#L27) android
|
1818
1818
|
|
1819
1819
|
> def alert_dismiss
|
1820
1820
|
|
@@ -1827,7 +1827,7 @@ __Returns:__
|
|
1827
1827
|
|
1828
1828
|
--
|
1829
1829
|
|
1830
|
-
##### [alert_dismiss_text](https://github.com/appium/ruby_lib/blob/
|
1830
|
+
##### [alert_dismiss_text](https://github.com/appium/ruby_lib/blob/ca56974a3c9a080ba50460d7ff442c4155c2ab9e/lib/appium_lib/android/element/alert.rb#L34) android
|
1831
1831
|
|
1832
1832
|
> def alert_dismiss_text
|
1833
1833
|
|
@@ -1840,7 +1840,7 @@ __Returns:__
|
|
1840
1840
|
|
1841
1841
|
--
|
1842
1842
|
|
1843
|
-
##### [Button](https://github.com/appium/ruby_lib/blob/
|
1843
|
+
##### [Button](https://github.com/appium/ruby_lib/blob/ca56974a3c9a080ba50460d7ff442c4155c2ab9e/lib/appium_lib/android/element/button.rb#L3) android
|
1844
1844
|
|
1845
1845
|
> Button = 'android.widget.Button'.freeze
|
1846
1846
|
|
@@ -1848,7 +1848,7 @@ __Returns:__
|
|
1848
1848
|
|
1849
1849
|
--
|
1850
1850
|
|
1851
|
-
##### [ImageButton](https://github.com/appium/ruby_lib/blob/
|
1851
|
+
##### [ImageButton](https://github.com/appium/ruby_lib/blob/ca56974a3c9a080ba50460d7ff442c4155c2ab9e/lib/appium_lib/android/element/button.rb#L4) android
|
1852
1852
|
|
1853
1853
|
> ImageButton = 'android.widget.ImageButton'.freeze
|
1854
1854
|
|
@@ -1856,7 +1856,7 @@ __Returns:__
|
|
1856
1856
|
|
1857
1857
|
--
|
1858
1858
|
|
1859
|
-
##### [button](https://github.com/appium/ruby_lib/blob/
|
1859
|
+
##### [button](https://github.com/appium/ruby_lib/blob/ca56974a3c9a080ba50460d7ff442c4155c2ab9e/lib/appium_lib/android/element/button.rb#L10) android
|
1860
1860
|
|
1861
1861
|
> def button(value)
|
1862
1862
|
|
@@ -1873,7 +1873,7 @@ __Returns:__
|
|
1873
1873
|
|
1874
1874
|
--
|
1875
1875
|
|
1876
|
-
##### [buttons](https://github.com/appium/ruby_lib/blob/
|
1876
|
+
##### [buttons](https://github.com/appium/ruby_lib/blob/ca56974a3c9a080ba50460d7ff442c4155c2ab9e/lib/appium_lib/android/element/button.rb#L27) android
|
1877
1877
|
|
1878
1878
|
> def buttons(value = false)
|
1879
1879
|
|
@@ -1890,7 +1890,7 @@ __Returns:__
|
|
1890
1890
|
|
1891
1891
|
--
|
1892
1892
|
|
1893
|
-
##### [first_button](https://github.com/appium/ruby_lib/blob/
|
1893
|
+
##### [first_button](https://github.com/appium/ruby_lib/blob/ca56974a3c9a080ba50460d7ff442c4155c2ab9e/lib/appium_lib/android/element/button.rb#L34) android
|
1894
1894
|
|
1895
1895
|
> def first_button
|
1896
1896
|
|
@@ -1902,7 +1902,7 @@ __Returns:__
|
|
1902
1902
|
|
1903
1903
|
--
|
1904
1904
|
|
1905
|
-
##### [last_button](https://github.com/appium/ruby_lib/blob/
|
1905
|
+
##### [last_button](https://github.com/appium/ruby_lib/blob/ca56974a3c9a080ba50460d7ff442c4155c2ab9e/lib/appium_lib/android/element/button.rb#L40) android
|
1906
1906
|
|
1907
1907
|
> def last_button
|
1908
1908
|
|
@@ -1914,7 +1914,7 @@ __Returns:__
|
|
1914
1914
|
|
1915
1915
|
--
|
1916
1916
|
|
1917
|
-
##### [button_exact](https://github.com/appium/ruby_lib/blob/
|
1917
|
+
##### [button_exact](https://github.com/appium/ruby_lib/blob/ca56974a3c9a080ba50460d7ff442c4155c2ab9e/lib/appium_lib/android/element/button.rb#L56) android
|
1918
1918
|
|
1919
1919
|
> def button_exact(value)
|
1920
1920
|
|
@@ -1930,7 +1930,7 @@ __Returns:__
|
|
1930
1930
|
|
1931
1931
|
--
|
1932
1932
|
|
1933
|
-
##### [buttons_exact](https://github.com/appium/ruby_lib/blob/
|
1933
|
+
##### [buttons_exact](https://github.com/appium/ruby_lib/blob/ca56974a3c9a080ba50460d7ff442c4155c2ab9e/lib/appium_lib/android/element/button.rb#L63) android
|
1934
1934
|
|
1935
1935
|
> def buttons_exact(value)
|
1936
1936
|
|
@@ -1946,7 +1946,7 @@ __Returns:__
|
|
1946
1946
|
|
1947
1947
|
--
|
1948
1948
|
|
1949
|
-
##### [find](https://github.com/appium/ruby_lib/blob/
|
1949
|
+
##### [find](https://github.com/appium/ruby_lib/blob/ca56974a3c9a080ba50460d7ff442c4155c2ab9e/lib/appium_lib/android/element/generic.rb#L6) android
|
1950
1950
|
|
1951
1951
|
> def find(value)
|
1952
1952
|
|
@@ -1962,7 +1962,7 @@ __Returns:__
|
|
1962
1962
|
|
1963
1963
|
--
|
1964
1964
|
|
1965
|
-
##### [finds](https://github.com/appium/ruby_lib/blob/
|
1965
|
+
##### [finds](https://github.com/appium/ruby_lib/blob/ca56974a3c9a080ba50460d7ff442c4155c2ab9e/lib/appium_lib/android/element/generic.rb#L13) android
|
1966
1966
|
|
1967
1967
|
> def finds(value)
|
1968
1968
|
|
@@ -1978,7 +1978,7 @@ __Returns:__
|
|
1978
1978
|
|
1979
1979
|
--
|
1980
1980
|
|
1981
|
-
##### [find_exact](https://github.com/appium/ruby_lib/blob/
|
1981
|
+
##### [find_exact](https://github.com/appium/ruby_lib/blob/ca56974a3c9a080ba50460d7ff442c4155c2ab9e/lib/appium_lib/android/element/generic.rb#L20) android
|
1982
1982
|
|
1983
1983
|
> def find_exact(value)
|
1984
1984
|
|
@@ -1994,7 +1994,7 @@ __Returns:__
|
|
1994
1994
|
|
1995
1995
|
--
|
1996
1996
|
|
1997
|
-
##### [finds_exact](https://github.com/appium/ruby_lib/blob/
|
1997
|
+
##### [finds_exact](https://github.com/appium/ruby_lib/blob/ca56974a3c9a080ba50460d7ff442c4155c2ab9e/lib/appium_lib/android/element/generic.rb#L27) android
|
1998
1998
|
|
1999
1999
|
> def finds_exact(value)
|
2000
2000
|
|
@@ -2010,7 +2010,7 @@ __Returns:__
|
|
2010
2010
|
|
2011
2011
|
--
|
2012
2012
|
|
2013
|
-
##### [scroll_to](https://github.com/appium/ruby_lib/blob/
|
2013
|
+
##### [scroll_to](https://github.com/appium/ruby_lib/blob/ca56974a3c9a080ba50460d7ff442c4155c2ab9e/lib/appium_lib/android/element/generic.rb#L40) android
|
2014
2014
|
|
2015
2015
|
> def scroll_to(text, scrollable_index = 0)
|
2016
2016
|
|
@@ -2028,7 +2028,7 @@ __Returns:__
|
|
2028
2028
|
|
2029
2029
|
--
|
2030
2030
|
|
2031
|
-
##### [scroll_to_exact](https://github.com/appium/ruby_lib/blob/
|
2031
|
+
##### [scroll_to_exact](https://github.com/appium/ruby_lib/blob/ca56974a3c9a080ba50460d7ff442c4155c2ab9e/lib/appium_lib/android/element/generic.rb#L58) android
|
2032
2032
|
|
2033
2033
|
> def scroll_to_exact(text, scrollable_index = 0)
|
2034
2034
|
|
@@ -2046,7 +2046,7 @@ __Returns:__
|
|
2046
2046
|
|
2047
2047
|
--
|
2048
2048
|
|
2049
|
-
##### [for](https://github.com/appium/ruby_lib/blob/
|
2049
|
+
##### [for](https://github.com/appium/ruby_lib/blob/ca56974a3c9a080ba50460d7ff442c4155c2ab9e/lib/appium_lib/android/espresso/bridge.rb#L7) android
|
2050
2050
|
|
2051
2051
|
> def self.for(target)
|
2052
2052
|
|
@@ -2054,7 +2054,7 @@ __Returns:__
|
|
2054
2054
|
|
2055
2055
|
--
|
2056
2056
|
|
2057
|
-
##### [EditText](https://github.com/appium/ruby_lib/blob/
|
2057
|
+
##### [EditText](https://github.com/appium/ruby_lib/blob/ca56974a3c9a080ba50460d7ff442c4155c2ab9e/lib/appium_lib/android/element/textfield.rb#L3) android
|
2058
2058
|
|
2059
2059
|
> EditText = 'android.widget.EditText'.freeze
|
2060
2060
|
|
@@ -2062,7 +2062,7 @@ __Returns:__
|
|
2062
2062
|
|
2063
2063
|
--
|
2064
2064
|
|
2065
|
-
##### [textfield](https://github.com/appium/ruby_lib/blob/
|
2065
|
+
##### [textfield](https://github.com/appium/ruby_lib/blob/ca56974a3c9a080ba50460d7ff442c4155c2ab9e/lib/appium_lib/android/element/textfield.rb#L9) android
|
2066
2066
|
|
2067
2067
|
> def textfield(value)
|
2068
2068
|
|
@@ -2079,7 +2079,7 @@ __Returns:__
|
|
2079
2079
|
|
2080
2080
|
--
|
2081
2081
|
|
2082
|
-
##### [textfields](https://github.com/appium/ruby_lib/blob/
|
2082
|
+
##### [textfields](https://github.com/appium/ruby_lib/blob/ca56974a3c9a080ba50460d7ff442c4155c2ab9e/lib/appium_lib/android/element/textfield.rb#L18) android
|
2083
2083
|
|
2084
2084
|
> def textfields(value = false)
|
2085
2085
|
|
@@ -2096,7 +2096,7 @@ __Returns:__
|
|
2096
2096
|
|
2097
2097
|
--
|
2098
2098
|
|
2099
|
-
##### [first_textfield](https://github.com/appium/ruby_lib/blob/
|
2099
|
+
##### [first_textfield](https://github.com/appium/ruby_lib/blob/ca56974a3c9a080ba50460d7ff442c4155c2ab9e/lib/appium_lib/android/element/textfield.rb#L25) android
|
2100
2100
|
|
2101
2101
|
> def first_textfield
|
2102
2102
|
|
@@ -2108,7 +2108,7 @@ __Returns:__
|
|
2108
2108
|
|
2109
2109
|
--
|
2110
2110
|
|
2111
|
-
##### [last_textfield](https://github.com/appium/ruby_lib/blob/
|
2111
|
+
##### [last_textfield](https://github.com/appium/ruby_lib/blob/ca56974a3c9a080ba50460d7ff442c4155c2ab9e/lib/appium_lib/android/element/textfield.rb#L31) android
|
2112
2112
|
|
2113
2113
|
> def last_textfield
|
2114
2114
|
|
@@ -2120,7 +2120,7 @@ __Returns:__
|
|
2120
2120
|
|
2121
2121
|
--
|
2122
2122
|
|
2123
|
-
##### [textfield_exact](https://github.com/appium/ruby_lib/blob/
|
2123
|
+
##### [textfield_exact](https://github.com/appium/ruby_lib/blob/ca56974a3c9a080ba50460d7ff442c4155c2ab9e/lib/appium_lib/android/element/textfield.rb#L38) android
|
2124
2124
|
|
2125
2125
|
> def textfield_exact(value)
|
2126
2126
|
|
@@ -2136,7 +2136,7 @@ __Returns:__
|
|
2136
2136
|
|
2137
2137
|
--
|
2138
2138
|
|
2139
|
-
##### [textfields_exact](https://github.com/appium/ruby_lib/blob/
|
2139
|
+
##### [textfields_exact](https://github.com/appium/ruby_lib/blob/ca56974a3c9a080ba50460d7ff442c4155c2ab9e/lib/appium_lib/android/element/textfield.rb#L45) android
|
2140
2140
|
|
2141
2141
|
> def textfields_exact(value)
|
2142
2142
|
|
@@ -2152,7 +2152,7 @@ __Returns:__
|
|
2152
2152
|
|
2153
2153
|
--
|
2154
2154
|
|
2155
|
-
##### [for](https://github.com/appium/ruby_lib/blob/
|
2155
|
+
##### [for](https://github.com/appium/ruby_lib/blob/ca56974a3c9a080ba50460d7ff442c4155c2ab9e/lib/appium_lib/android/uiautomator2/bridge.rb#L7) android
|
2156
2156
|
|
2157
2157
|
> def self.for(target)
|
2158
2158
|
|
@@ -2160,7 +2160,7 @@ __Returns:__
|
|
2160
2160
|
|
2161
2161
|
--
|
2162
2162
|
|
2163
|
-
##### [string_visible_contains](https://github.com/appium/ruby_lib/blob/
|
2163
|
+
##### [string_visible_contains](https://github.com/appium/ruby_lib/blob/ca56974a3c9a080ba50460d7ff442c4155c2ab9e/lib/appium_lib/android/uiautomator2/helper.rb#L13) android
|
2164
2164
|
|
2165
2165
|
> def string_visible_contains(class_name, value)
|
2166
2166
|
|
@@ -2181,7 +2181,7 @@ __Returns:__
|
|
2181
2181
|
|
2182
2182
|
--
|
2183
2183
|
|
2184
|
-
##### [complex_find_contains](https://github.com/appium/ruby_lib/blob/
|
2184
|
+
##### [complex_find_contains](https://github.com/appium/ruby_lib/blob/ca56974a3c9a080ba50460d7ff442c4155c2ab9e/lib/appium_lib/android/uiautomator2/helper.rb#L31) android
|
2185
2185
|
|
2186
2186
|
> def complex_find_contains(class_name, value)
|
2187
2187
|
|
@@ -2199,7 +2199,7 @@ __Returns:__
|
|
2199
2199
|
|
2200
2200
|
--
|
2201
2201
|
|
2202
|
-
##### [complex_finds_contains](https://github.com/appium/ruby_lib/blob/
|
2202
|
+
##### [complex_finds_contains](https://github.com/appium/ruby_lib/blob/ca56974a3c9a080ba50460d7ff442c4155c2ab9e/lib/appium_lib/android/uiautomator2/helper.rb#L41) android
|
2203
2203
|
|
2204
2204
|
> def complex_finds_contains(class_name, value)
|
2205
2205
|
|
@@ -2217,7 +2217,7 @@ __Returns:__
|
|
2217
2217
|
|
2218
2218
|
--
|
2219
2219
|
|
2220
|
-
##### [complex_find_exact](https://github.com/appium/ruby_lib/blob/
|
2220
|
+
##### [complex_find_exact](https://github.com/appium/ruby_lib/blob/ca56974a3c9a080ba50460d7ff442c4155c2ab9e/lib/appium_lib/android/uiautomator2/helper.rb#L69) android
|
2221
2221
|
|
2222
2222
|
> def complex_find_exact(class_name, value)
|
2223
2223
|
|
@@ -2235,7 +2235,7 @@ __Returns:__
|
|
2235
2235
|
|
2236
2236
|
--
|
2237
2237
|
|
2238
|
-
##### [complex_finds_exact](https://github.com/appium/ruby_lib/blob/
|
2238
|
+
##### [complex_finds_exact](https://github.com/appium/ruby_lib/blob/ca56974a3c9a080ba50460d7ff442c4155c2ab9e/lib/appium_lib/android/uiautomator2/helper.rb#L79) android
|
2239
2239
|
|
2240
2240
|
> def complex_finds_exact(class_name, value)
|
2241
2241
|
|
@@ -2253,7 +2253,7 @@ __Returns:__
|
|
2253
2253
|
|
2254
2254
|
--
|
2255
2255
|
|
2256
|
-
##### [shell](https://github.com/appium/ruby_lib/blob/
|
2256
|
+
##### [shell](https://github.com/appium/ruby_lib/blob/ca56974a3c9a080ba50460d7ff442c4155c2ab9e/lib/appium_lib/android/common/command/command.rb#L14) android
|
2257
2257
|
|
2258
2258
|
> def shell(command, arguments)
|
2259
2259
|
|
@@ -2268,7 +2268,7 @@ __Parameters:__
|
|
2268
2268
|
|
2269
2269
|
--
|
2270
2270
|
|
2271
|
-
##### [start_logs_broadcast](https://github.com/appium/ruby_lib/blob/
|
2271
|
+
##### [start_logs_broadcast](https://github.com/appium/ruby_lib/blob/ca56974a3c9a080ba50460d7ff442c4155c2ab9e/lib/appium_lib/android/common/command/command.rb#L28) android
|
2272
2272
|
|
2273
2273
|
> def start_logs_broadcast(logcat_file = 'logcat.log')
|
2274
2274
|
|
@@ -2280,7 +2280,7 @@ __Parameters:__
|
|
2280
2280
|
|
2281
2281
|
--
|
2282
2282
|
|
2283
|
-
##### [stop_logs_broadcast](https://github.com/appium/ruby_lib/blob/
|
2283
|
+
##### [stop_logs_broadcast](https://github.com/appium/ruby_lib/blob/ca56974a3c9a080ba50460d7ff442c4155c2ab9e/lib/appium_lib/android/common/command/command.rb#L41) android
|
2284
2284
|
|
2285
2285
|
> def stop_logs_broadcast
|
2286
2286
|
|
@@ -2288,7 +2288,7 @@ Stop Android logcat broadcast websocket
|
|
2288
2288
|
|
2289
2289
|
--
|
2290
2290
|
|
2291
|
-
##### [button](https://github.com/appium/ruby_lib/blob/
|
2291
|
+
##### [button](https://github.com/appium/ruby_lib/blob/ca56974a3c9a080ba50460d7ff442c4155c2ab9e/lib/appium_lib/android/uiautomator2/element/button.rb#L9) android
|
2292
2292
|
|
2293
2293
|
> def button(value)
|
2294
2294
|
|
@@ -2305,7 +2305,7 @@ __Returns:__
|
|
2305
2305
|
|
2306
2306
|
--
|
2307
2307
|
|
2308
|
-
##### [buttons](https://github.com/appium/ruby_lib/blob/
|
2308
|
+
##### [buttons](https://github.com/appium/ruby_lib/blob/ca56974a3c9a080ba50460d7ff442c4155c2ab9e/lib/appium_lib/android/uiautomator2/element/button.rb#L29) android
|
2309
2309
|
|
2310
2310
|
> def buttons(value = false)
|
2311
2311
|
|
@@ -2322,7 +2322,7 @@ __Returns:__
|
|
2322
2322
|
|
2323
2323
|
--
|
2324
2324
|
|
2325
|
-
##### [first_button](https://github.com/appium/ruby_lib/blob/
|
2325
|
+
##### [first_button](https://github.com/appium/ruby_lib/blob/ca56974a3c9a080ba50460d7ff442c4155c2ab9e/lib/appium_lib/android/uiautomator2/element/button.rb#L36) android
|
2326
2326
|
|
2327
2327
|
> def first_button
|
2328
2328
|
|
@@ -2334,7 +2334,7 @@ __Returns:__
|
|
2334
2334
|
|
2335
2335
|
--
|
2336
2336
|
|
2337
|
-
##### [last_button](https://github.com/appium/ruby_lib/blob/
|
2337
|
+
##### [last_button](https://github.com/appium/ruby_lib/blob/ca56974a3c9a080ba50460d7ff442c4155c2ab9e/lib/appium_lib/android/uiautomator2/element/button.rb#L43) android
|
2338
2338
|
|
2339
2339
|
> def last_button
|
2340
2340
|
|
@@ -2346,7 +2346,7 @@ __Returns:__
|
|
2346
2346
|
|
2347
2347
|
--
|
2348
2348
|
|
2349
|
-
##### [button_exact](https://github.com/appium/ruby_lib/blob/
|
2349
|
+
##### [button_exact](https://github.com/appium/ruby_lib/blob/ca56974a3c9a080ba50460d7ff442c4155c2ab9e/lib/appium_lib/android/uiautomator2/element/button.rb#L60) android
|
2350
2350
|
|
2351
2351
|
> def button_exact(value)
|
2352
2352
|
|
@@ -2362,7 +2362,7 @@ __Returns:__
|
|
2362
2362
|
|
2363
2363
|
--
|
2364
2364
|
|
2365
|
-
##### [buttons_exact](https://github.com/appium/ruby_lib/blob/
|
2365
|
+
##### [buttons_exact](https://github.com/appium/ruby_lib/blob/ca56974a3c9a080ba50460d7ff442c4155c2ab9e/lib/appium_lib/android/uiautomator2/element/button.rb#L68) android
|
2366
2366
|
|
2367
2367
|
> def buttons_exact(value)
|
2368
2368
|
|