appium_lib 9.13.0 → 9.14.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +9 -0
- data/appium_lib.gemspec +1 -1
- data/docs/android_docs.md +178 -178
- data/docs/ios_docs.md +236 -236
- data/lib/appium_lib/version.rb +2 -2
- data/release_notes.md +5 -0
- metadata +4 -4
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 006a8e097e6f5ee8a798a8b950c20c39fa2d0a02
|
|
4
|
+
data.tar.gz: 82bb0074fc6b167d3e1b646f78ce27490e488269
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 122453a75d2c286b1837f934c495db3c1fe674c8ce1c1a3098f216184a3f2e53446c8b13b08bcf8458f60c6e07af40069ca379ff2abffc8ae79edd339e8fdff8
|
|
7
|
+
data.tar.gz: 11bab53621d79490a6a269c384248b56e2037630f5ff85467cfc0bb89e544667dd3e25494a5d07649a7cd4446f195ef82974bc710f28fda96f14a5a729a5b253
|
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.14.0
|
|
14
|
+
### 1. Enhancements
|
|
15
|
+
- Breaking changes for `press_keycode` and `long_press_keycode`
|
|
16
|
+
- Detail: https://github.com/appium/ruby_lib_core/blob/master/CHANGELOG.md#170---2018-05-28
|
|
17
|
+
|
|
18
|
+
### 2. Bug fixes
|
|
19
|
+
|
|
20
|
+
### 3. Deprecations
|
|
21
|
+
|
|
13
22
|
## v9.13.0
|
|
14
23
|
### 1. Enhancements
|
|
15
24
|
- Requires `appium_lib_core` 1.6.0+
|
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.
|
|
16
|
+
s.add_runtime_dependency 'appium_lib_core', '~> 1.7.0'
|
|
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/283281310172f81df3d8c0daab2a1e75ae61b3c5/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/283281310172f81df3d8c0daab2a1e75ae61b3c5/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/283281310172f81df3d8c0daab2a1e75ae61b3c5/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/283281310172f81df3d8c0daab2a1e75ae61b3c5/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/283281310172f81df3d8c0daab2a1e75ae61b3c5/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/283281310172f81df3d8c0daab2a1e75ae61b3c5/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/283281310172f81df3d8c0daab2a1e75ae61b3c5/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/283281310172f81df3d8c0daab2a1e75ae61b3c5/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/283281310172f81df3d8c0daab2a1e75ae61b3c5/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/283281310172f81df3d8c0daab2a1e75ae61b3c5/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/283281310172f81df3d8c0daab2a1e75ae61b3c5/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/283281310172f81df3d8c0daab2a1e75ae61b3c5/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/283281310172f81df3d8c0daab2a1e75ae61b3c5/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/283281310172f81df3d8c0daab2a1e75ae61b3c5/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/283281310172f81df3d8c0daab2a1e75ae61b3c5/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/283281310172f81df3d8c0daab2a1e75ae61b3c5/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/283281310172f81df3d8c0daab2a1e75ae61b3c5/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/283281310172f81df3d8c0daab2a1e75ae61b3c5/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/283281310172f81df3d8c0daab2a1e75ae61b3c5/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/283281310172f81df3d8c0daab2a1e75ae61b3c5/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/283281310172f81df3d8c0daab2a1e75ae61b3c5/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/283281310172f81df3d8c0daab2a1e75ae61b3c5/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/283281310172f81df3d8c0daab2a1e75ae61b3c5/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/283281310172f81df3d8c0daab2a1e75ae61b3c5/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/283281310172f81df3d8c0daab2a1e75ae61b3c5/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/283281310172f81df3d8c0daab2a1e75ae61b3c5/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/283281310172f81df3d8c0daab2a1e75ae61b3c5/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/283281310172f81df3d8c0daab2a1e75ae61b3c5/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/283281310172f81df3d8c0daab2a1e75ae61b3c5/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/283281310172f81df3d8c0daab2a1e75ae61b3c5/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/283281310172f81df3d8c0daab2a1e75ae61b3c5/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/283281310172f81df3d8c0daab2a1e75ae61b3c5/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/283281310172f81df3d8c0daab2a1e75ae61b3c5/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/283281310172f81df3d8c0daab2a1e75ae61b3c5/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/283281310172f81df3d8c0daab2a1e75ae61b3c5/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/283281310172f81df3d8c0daab2a1e75ae61b3c5/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/283281310172f81df3d8c0daab2a1e75ae61b3c5/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/283281310172f81df3d8c0daab2a1e75ae61b3c5/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/283281310172f81df3d8c0daab2a1e75ae61b3c5/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/283281310172f81df3d8c0daab2a1e75ae61b3c5/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/283281310172f81df3d8c0daab2a1e75ae61b3c5/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/283281310172f81df3d8c0daab2a1e75ae61b3c5/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/283281310172f81df3d8c0daab2a1e75ae61b3c5/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/283281310172f81df3d8c0daab2a1e75ae61b3c5/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/283281310172f81df3d8c0daab2a1e75ae61b3c5/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/283281310172f81df3d8c0daab2a1e75ae61b3c5/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/283281310172f81df3d8c0daab2a1e75ae61b3c5/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/283281310172f81df3d8c0daab2a1e75ae61b3c5/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/283281310172f81df3d8c0daab2a1e75ae61b3c5/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/283281310172f81df3d8c0daab2a1e75ae61b3c5/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/283281310172f81df3d8c0daab2a1e75ae61b3c5/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/283281310172f81df3d8c0daab2a1e75ae61b3c5/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/283281310172f81df3d8c0daab2a1e75ae61b3c5/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/283281310172f81df3d8c0daab2a1e75ae61b3c5/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/283281310172f81df3d8c0daab2a1e75ae61b3c5/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/283281310172f81df3d8c0daab2a1e75ae61b3c5/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/283281310172f81df3d8c0daab2a1e75ae61b3c5/lib/appium_lib/driver.rb#L630)
|
|
711
711
|
|
|
712
712
|
> def find_element(*args)
|
|
713
713
|
|
|
@@ -725,7 +725,7 @@ __Returns:__
|
|
|
725
725
|
|
|
726
726
|
--
|
|
727
727
|
|
|
728
|
-
##### [set_location](https://github.com/appium/ruby_lib/blob/
|
|
728
|
+
##### [set_location](https://github.com/appium/ruby_lib/blob/283281310172f81df3d8c0daab2a1e75ae61b3c5/lib/appium_lib/driver.rb#L643)
|
|
729
729
|
|
|
730
730
|
> def set_location(opts = {})
|
|
731
731
|
|
|
@@ -741,7 +741,7 @@ __Returns:__
|
|
|
741
741
|
|
|
742
742
|
--
|
|
743
743
|
|
|
744
|
-
##### [x](https://github.com/appium/ruby_lib/blob/
|
|
744
|
+
##### [x](https://github.com/appium/ruby_lib/blob/283281310172f81df3d8c0daab2a1e75ae61b3c5/lib/appium_lib/driver.rb#L653)
|
|
745
745
|
|
|
746
746
|
> def x
|
|
747
747
|
|
|
@@ -754,7 +754,7 @@ __Returns:__
|
|
|
754
754
|
|
|
755
755
|
--
|
|
756
756
|
|
|
757
|
-
##### [username](https://github.com/appium/ruby_lib/blob/
|
|
757
|
+
##### [username](https://github.com/appium/ruby_lib/blob/283281310172f81df3d8c0daab2a1e75ae61b3c5/lib/appium_lib/sauce_labs.rb#L4)
|
|
758
758
|
|
|
759
759
|
> def username
|
|
760
760
|
|
|
@@ -762,7 +762,7 @@ Username for use on Sauce Labs. Set `false` to disable Sauce, even when SAUCE_US
|
|
|
762
762
|
|
|
763
763
|
--
|
|
764
764
|
|
|
765
|
-
##### [access_key](https://github.com/appium/ruby_lib/blob/
|
|
765
|
+
##### [access_key](https://github.com/appium/ruby_lib/blob/283281310172f81df3d8c0daab2a1e75ae61b3c5/lib/appium_lib/sauce_labs.rb#L6)
|
|
766
766
|
|
|
767
767
|
> def access_key
|
|
768
768
|
|
|
@@ -770,7 +770,7 @@ Access Key for use on Sauce Labs. Set `false` to disable Sauce, even when SAUCE_
|
|
|
770
770
|
|
|
771
771
|
--
|
|
772
772
|
|
|
773
|
-
##### [endpoint](https://github.com/appium/ruby_lib/blob/
|
|
773
|
+
##### [endpoint](https://github.com/appium/ruby_lib/blob/283281310172f81df3d8c0daab2a1e75ae61b3c5/lib/appium_lib/sauce_labs.rb#L8)
|
|
774
774
|
|
|
775
775
|
> def endpoint
|
|
776
776
|
|
|
@@ -778,7 +778,7 @@ Override the Sauce Appium endpoint to allow e.g. TestObject tests. Default is 'o
|
|
|
778
778
|
|
|
779
779
|
--
|
|
780
780
|
|
|
781
|
-
##### [initialize](https://github.com/appium/ruby_lib/blob/
|
|
781
|
+
##### [initialize](https://github.com/appium/ruby_lib/blob/283281310172f81df3d8c0daab2a1e75ae61b3c5/lib/appium_lib/sauce_labs.rb#L33)
|
|
782
782
|
|
|
783
783
|
> def initialize(appium_lib_opts)
|
|
784
784
|
|
|
@@ -794,7 +794,7 @@ __Returns:__
|
|
|
794
794
|
|
|
795
795
|
--
|
|
796
796
|
|
|
797
|
-
##### [sauce_server_url?](https://github.com/appium/ruby_lib/blob/
|
|
797
|
+
##### [sauce_server_url?](https://github.com/appium/ruby_lib/blob/283281310172f81df3d8c0daab2a1e75ae61b3c5/lib/appium_lib/sauce_labs.rb#L53)
|
|
798
798
|
|
|
799
799
|
> def sauce_server_url?
|
|
800
800
|
|
|
@@ -806,7 +806,7 @@ __Returns:__
|
|
|
806
806
|
|
|
807
807
|
--
|
|
808
808
|
|
|
809
|
-
##### [server_url](https://github.com/appium/ruby_lib/blob/
|
|
809
|
+
##### [server_url](https://github.com/appium/ruby_lib/blob/283281310172f81df3d8c0daab2a1e75ae61b3c5/lib/appium_lib/sauce_labs.rb#L66)
|
|
810
810
|
|
|
811
811
|
> def server_url
|
|
812
812
|
|
|
@@ -818,7 +818,7 @@ __Returns:__
|
|
|
818
818
|
|
|
819
819
|
--
|
|
820
820
|
|
|
821
|
-
##### [get_log](https://github.com/appium/ruby_lib/blob/
|
|
821
|
+
##### [get_log](https://github.com/appium/ruby_lib/blob/283281310172f81df3d8c0daab2a1e75ae61b3c5/lib/appium_lib/common/log.rb#L11)
|
|
822
822
|
|
|
823
823
|
> def get_log(type)
|
|
824
824
|
|
|
@@ -834,7 +834,7 @@ __Returns:__
|
|
|
834
834
|
|
|
835
835
|
--
|
|
836
836
|
|
|
837
|
-
##### [get_available_log_types](https://github.com/appium/ruby_lib/blob/
|
|
837
|
+
##### [get_available_log_types](https://github.com/appium/ruby_lib/blob/283281310172f81df3d8c0daab2a1e75ae61b3c5/lib/appium_lib/common/log.rb#L23)
|
|
838
838
|
|
|
839
839
|
> def get_available_log_types
|
|
840
840
|
|
|
@@ -846,7 +846,7 @@ __Returns:__
|
|
|
846
846
|
|
|
847
847
|
--
|
|
848
848
|
|
|
849
|
-
##### [wait_true](https://github.com/appium/ruby_lib/blob/
|
|
849
|
+
##### [wait_true](https://github.com/appium/ruby_lib/blob/283281310172f81df3d8c0daab2a1e75ae61b3c5/lib/appium_lib/common/wait.rb#L30)
|
|
850
850
|
|
|
851
851
|
> def wait_true(opts = {})
|
|
852
852
|
|
|
@@ -866,7 +866,7 @@ __Parameters:__
|
|
|
866
866
|
|
|
867
867
|
--
|
|
868
868
|
|
|
869
|
-
##### [wait](https://github.com/appium/ruby_lib/blob/
|
|
869
|
+
##### [wait](https://github.com/appium/ruby_lib/blob/283281310172f81df3d8c0daab2a1e75ae61b3c5/lib/appium_lib/common/wait.rb#L59)
|
|
870
870
|
|
|
871
871
|
> def wait(opts = {})
|
|
872
872
|
|
|
@@ -884,7 +884,7 @@ __Parameters:__
|
|
|
884
884
|
|
|
885
885
|
--
|
|
886
886
|
|
|
887
|
-
##### [add_touch_actions](https://github.com/appium/ruby_lib/blob/
|
|
887
|
+
##### [add_touch_actions](https://github.com/appium/ruby_lib/blob/283281310172f81df3d8c0daab2a1e75ae61b3c5/lib/appium_lib/common/device.rb#L12)
|
|
888
888
|
|
|
889
889
|
> def add_touch_actions
|
|
890
890
|
|
|
@@ -892,7 +892,7 @@ __Parameters:__
|
|
|
892
892
|
|
|
893
893
|
--
|
|
894
894
|
|
|
895
|
-
##### [delegate_from_appium_driver](https://github.com/appium/ruby_lib/blob/
|
|
895
|
+
##### [delegate_from_appium_driver](https://github.com/appium/ruby_lib/blob/283281310172f81df3d8c0daab2a1e75ae61b3c5/lib/appium_lib/common/device.rb#L24)
|
|
896
896
|
|
|
897
897
|
> def delegate_from_appium_driver(method, delegation_target)
|
|
898
898
|
|
|
@@ -900,7 +900,7 @@ __Parameters:__
|
|
|
900
900
|
|
|
901
901
|
--
|
|
902
902
|
|
|
903
|
-
##### [ignore](https://github.com/appium/ruby_lib/blob/
|
|
903
|
+
##### [ignore](https://github.com/appium/ruby_lib/blob/283281310172f81df3d8c0daab2a1e75ae61b3c5/lib/appium_lib/common/helper.rb#L16)
|
|
904
904
|
|
|
905
905
|
> def ignore
|
|
906
906
|
|
|
@@ -908,7 +908,7 @@ Return yield and ignore any exceptions.
|
|
|
908
908
|
|
|
909
909
|
--
|
|
910
910
|
|
|
911
|
-
##### [back](https://github.com/appium/ruby_lib/blob/
|
|
911
|
+
##### [back](https://github.com/appium/ruby_lib/blob/283281310172f81df3d8c0daab2a1e75ae61b3c5/lib/appium_lib/common/helper.rb#L23)
|
|
912
912
|
|
|
913
913
|
> def back
|
|
914
914
|
|
|
@@ -920,7 +920,7 @@ __Returns:__
|
|
|
920
920
|
|
|
921
921
|
--
|
|
922
922
|
|
|
923
|
-
##### [session_id](https://github.com/appium/ruby_lib/blob/
|
|
923
|
+
##### [session_id](https://github.com/appium/ruby_lib/blob/283281310172f81df3d8c0daab2a1e75ae61b3c5/lib/appium_lib/common/helper.rb#L34)
|
|
924
924
|
|
|
925
925
|
> def session_id
|
|
926
926
|
|
|
@@ -932,7 +932,7 @@ __Returns:__
|
|
|
932
932
|
|
|
933
933
|
--
|
|
934
934
|
|
|
935
|
-
##### [xpath](https://github.com/appium/ruby_lib/blob/
|
|
935
|
+
##### [xpath](https://github.com/appium/ruby_lib/blob/283281310172f81df3d8c0daab2a1e75ae61b3c5/lib/appium_lib/common/helper.rb#L42)
|
|
936
936
|
|
|
937
937
|
> def xpath(xpath_str)
|
|
938
938
|
|
|
@@ -948,7 +948,7 @@ __Returns:__
|
|
|
948
948
|
|
|
949
949
|
--
|
|
950
950
|
|
|
951
|
-
##### [xpaths](https://github.com/appium/ruby_lib/blob/
|
|
951
|
+
##### [xpaths](https://github.com/appium/ruby_lib/blob/283281310172f81df3d8c0daab2a1e75ae61b3c5/lib/appium_lib/common/helper.rb#L50)
|
|
952
952
|
|
|
953
953
|
> def xpaths(xpath_str)
|
|
954
954
|
|
|
@@ -964,7 +964,7 @@ __Returns:__
|
|
|
964
964
|
|
|
965
965
|
--
|
|
966
966
|
|
|
967
|
-
##### [result](https://github.com/appium/ruby_lib/blob/
|
|
967
|
+
##### [result](https://github.com/appium/ruby_lib/blob/283281310172f81df3d8c0daab2a1e75ae61b3c5/lib/appium_lib/common/helper.rb#L60)
|
|
968
968
|
|
|
969
969
|
> def result
|
|
970
970
|
|
|
@@ -972,7 +972,7 @@ Returns the value of attribute result
|
|
|
972
972
|
|
|
973
973
|
--
|
|
974
974
|
|
|
975
|
-
##### [initialize](https://github.com/appium/ruby_lib/blob/
|
|
975
|
+
##### [initialize](https://github.com/appium/ruby_lib/blob/283281310172f81df3d8c0daab2a1e75ae61b3c5/lib/appium_lib/common/helper.rb#L62)
|
|
976
976
|
|
|
977
977
|
> def initialize
|
|
978
978
|
|
|
@@ -984,7 +984,7 @@ __Returns:__
|
|
|
984
984
|
|
|
985
985
|
--
|
|
986
986
|
|
|
987
|
-
##### [reset](https://github.com/appium/ruby_lib/blob/
|
|
987
|
+
##### [reset](https://github.com/appium/ruby_lib/blob/283281310172f81df3d8c0daab2a1e75ae61b3c5/lib/appium_lib/common/helper.rb#L66)
|
|
988
988
|
|
|
989
989
|
> def reset
|
|
990
990
|
|
|
@@ -992,7 +992,7 @@ __Returns:__
|
|
|
992
992
|
|
|
993
993
|
--
|
|
994
994
|
|
|
995
|
-
##### [start_element](https://github.com/appium/ruby_lib/blob/
|
|
995
|
+
##### [start_element](https://github.com/appium/ruby_lib/blob/283281310172f81df3d8c0daab2a1e75ae61b3c5/lib/appium_lib/common/helper.rb#L71)
|
|
996
996
|
|
|
997
997
|
> def start_element(name, attrs = [], driver = $driver)
|
|
998
998
|
|
|
@@ -1000,7 +1000,7 @@ http://nokogiri.org/Nokogiri/XML/SAX/Document.html
|
|
|
1000
1000
|
|
|
1001
1001
|
--
|
|
1002
1002
|
|
|
1003
|
-
##### [formatted_result](https://github.com/appium/ruby_lib/blob/
|
|
1003
|
+
##### [formatted_result](https://github.com/appium/ruby_lib/blob/283281310172f81df3d8c0daab2a1e75ae61b3c5/lib/appium_lib/common/helper.rb#L77)
|
|
1004
1004
|
|
|
1005
1005
|
> def formatted_result
|
|
1006
1006
|
|
|
@@ -1008,7 +1008,7 @@ http://nokogiri.org/Nokogiri/XML/SAX/Document.html
|
|
|
1008
1008
|
|
|
1009
1009
|
--
|
|
1010
1010
|
|
|
1011
|
-
##### [get_page_class](https://github.com/appium/ruby_lib/blob/
|
|
1011
|
+
##### [get_page_class](https://github.com/appium/ruby_lib/blob/283281310172f81df3d8c0daab2a1e75ae61b3c5/lib/appium_lib/common/helper.rb#L96)
|
|
1012
1012
|
|
|
1013
1013
|
> def get_page_class
|
|
1014
1014
|
|
|
@@ -1020,7 +1020,7 @@ __Returns:__
|
|
|
1020
1020
|
|
|
1021
1021
|
--
|
|
1022
1022
|
|
|
1023
|
-
##### [page_class](https://github.com/appium/ruby_lib/blob/
|
|
1023
|
+
##### [page_class](https://github.com/appium/ruby_lib/blob/283281310172f81df3d8c0daab2a1e75ae61b3c5/lib/appium_lib/common/helper.rb#L121)
|
|
1024
1024
|
|
|
1025
1025
|
> def page_class
|
|
1026
1026
|
|
|
@@ -1033,7 +1033,7 @@ __Returns:__
|
|
|
1033
1033
|
|
|
1034
1034
|
--
|
|
1035
1035
|
|
|
1036
|
-
##### [source](https://github.com/appium/ruby_lib/blob/
|
|
1036
|
+
##### [source](https://github.com/appium/ruby_lib/blob/283281310172f81df3d8c0daab2a1e75ae61b3c5/lib/appium_lib/common/helper.rb#L128)
|
|
1037
1037
|
|
|
1038
1038
|
> def source
|
|
1039
1039
|
|
|
@@ -1045,7 +1045,7 @@ __Returns:__
|
|
|
1045
1045
|
|
|
1046
1046
|
--
|
|
1047
1047
|
|
|
1048
|
-
##### [get_source](https://github.com/appium/ruby_lib/blob/
|
|
1048
|
+
##### [get_source](https://github.com/appium/ruby_lib/blob/283281310172f81df3d8c0daab2a1e75ae61b3c5/lib/appium_lib/common/helper.rb#L135)
|
|
1049
1049
|
|
|
1050
1050
|
> def get_source
|
|
1051
1051
|
|
|
@@ -1058,7 +1058,7 @@ __Returns:__
|
|
|
1058
1058
|
|
|
1059
1059
|
--
|
|
1060
1060
|
|
|
1061
|
-
##### [px_to_window_rel](https://github.com/appium/ruby_lib/blob/
|
|
1061
|
+
##### [px_to_window_rel](https://github.com/appium/ruby_lib/blob/283281310172f81df3d8c0daab2a1e75ae61b3c5/lib/appium_lib/common/helper.rb#L145)
|
|
1062
1062
|
|
|
1063
1063
|
> def px_to_window_rel(opts = {}, driver = $driver)
|
|
1064
1064
|
|
|
@@ -1066,7 +1066,7 @@ Converts pixel values to window relative values
|
|
|
1066
1066
|
|
|
1067
1067
|
--
|
|
1068
1068
|
|
|
1069
|
-
##### [xml_keys](https://github.com/appium/ruby_lib/blob/
|
|
1069
|
+
##### [xml_keys](https://github.com/appium/ruby_lib/blob/283281310172f81df3d8c0daab2a1e75ae61b3c5/lib/appium_lib/common/helper.rb#L164)
|
|
1070
1070
|
|
|
1071
1071
|
> def xml_keys(target)
|
|
1072
1072
|
|
|
@@ -1082,7 +1082,7 @@ __Returns:__
|
|
|
1082
1082
|
|
|
1083
1083
|
--
|
|
1084
1084
|
|
|
1085
|
-
##### [xml_values](https://github.com/appium/ruby_lib/blob/
|
|
1085
|
+
##### [xml_values](https://github.com/appium/ruby_lib/blob/283281310172f81df3d8c0daab2a1e75ae61b3c5/lib/appium_lib/common/helper.rb#L172)
|
|
1086
1086
|
|
|
1087
1087
|
> def xml_values(target)
|
|
1088
1088
|
|
|
@@ -1098,7 +1098,7 @@ __Returns:__
|
|
|
1098
1098
|
|
|
1099
1099
|
--
|
|
1100
1100
|
|
|
1101
|
-
##### [resolve_id](https://github.com/appium/ruby_lib/blob/
|
|
1101
|
+
##### [resolve_id](https://github.com/appium/ruby_lib/blob/283281310172f81df3d8c0daab2a1e75ae61b3c5/lib/appium_lib/common/helper.rb#L180)
|
|
1102
1102
|
|
|
1103
1103
|
> def resolve_id(id)
|
|
1104
1104
|
|
|
@@ -1114,7 +1114,7 @@ __Returns:__
|
|
|
1114
1114
|
|
|
1115
1115
|
--
|
|
1116
1116
|
|
|
1117
|
-
##### [filter](https://github.com/appium/ruby_lib/blob/
|
|
1117
|
+
##### [filter](https://github.com/appium/ruby_lib/blob/283281310172f81df3d8c0daab2a1e75ae61b3c5/lib/appium_lib/common/helper.rb#L187)
|
|
1118
1118
|
|
|
1119
1119
|
> def filter
|
|
1120
1120
|
|
|
@@ -1122,7 +1122,7 @@ Returns the value of attribute filter
|
|
|
1122
1122
|
|
|
1123
1123
|
--
|
|
1124
1124
|
|
|
1125
|
-
##### [filter=](https://github.com/appium/ruby_lib/blob/
|
|
1125
|
+
##### [filter=](https://github.com/appium/ruby_lib/blob/283281310172f81df3d8c0daab2a1e75ae61b3c5/lib/appium_lib/common/helper.rb#L190)
|
|
1126
1126
|
|
|
1127
1127
|
> def filter=(value)
|
|
1128
1128
|
|
|
@@ -1130,7 +1130,7 @@ convert to string to support symbols
|
|
|
1130
1130
|
|
|
1131
1131
|
--
|
|
1132
1132
|
|
|
1133
|
-
##### [initialize](https://github.com/appium/ruby_lib/blob/
|
|
1133
|
+
##### [initialize](https://github.com/appium/ruby_lib/blob/283281310172f81df3d8c0daab2a1e75ae61b3c5/lib/appium_lib/common/helper.rb#L196)
|
|
1134
1134
|
|
|
1135
1135
|
> def initialize
|
|
1136
1136
|
|
|
@@ -1142,7 +1142,7 @@ __Returns:__
|
|
|
1142
1142
|
|
|
1143
1143
|
--
|
|
1144
1144
|
|
|
1145
|
-
##### [reset](https://github.com/appium/ruby_lib/blob/
|
|
1145
|
+
##### [reset](https://github.com/appium/ruby_lib/blob/283281310172f81df3d8c0daab2a1e75ae61b3c5/lib/appium_lib/common/helper.rb#L201)
|
|
1146
1146
|
|
|
1147
1147
|
> def reset
|
|
1148
1148
|
|
|
@@ -1150,7 +1150,7 @@ __Returns:__
|
|
|
1150
1150
|
|
|
1151
1151
|
--
|
|
1152
1152
|
|
|
1153
|
-
##### [result](https://github.com/appium/ruby_lib/blob/
|
|
1153
|
+
##### [result](https://github.com/appium/ruby_lib/blob/283281310172f81df3d8c0daab2a1e75ae61b3c5/lib/appium_lib/common/helper.rb#L207)
|
|
1154
1154
|
|
|
1155
1155
|
> def result
|
|
1156
1156
|
|
|
@@ -1158,7 +1158,7 @@ __Returns:__
|
|
|
1158
1158
|
|
|
1159
1159
|
--
|
|
1160
1160
|
|
|
1161
|
-
##### [start_element](https://github.com/appium/ruby_lib/blob/
|
|
1161
|
+
##### [start_element](https://github.com/appium/ruby_lib/blob/283281310172f81df3d8c0daab2a1e75ae61b3c5/lib/appium_lib/common/helper.rb#L223)
|
|
1162
1162
|
|
|
1163
1163
|
> def start_element(name, attrs = [])
|
|
1164
1164
|
|
|
@@ -1166,7 +1166,7 @@ __Returns:__
|
|
|
1166
1166
|
|
|
1167
1167
|
--
|
|
1168
1168
|
|
|
1169
|
-
##### [end_element](https://github.com/appium/ruby_lib/blob/
|
|
1169
|
+
##### [end_element](https://github.com/appium/ruby_lib/blob/283281310172f81df3d8c0daab2a1e75ae61b3c5/lib/appium_lib/common/helper.rb#L232)
|
|
1170
1170
|
|
|
1171
1171
|
> def end_element(name)
|
|
1172
1172
|
|
|
@@ -1174,7 +1174,7 @@ __Returns:__
|
|
|
1174
1174
|
|
|
1175
1175
|
--
|
|
1176
1176
|
|
|
1177
|
-
##### [characters](https://github.com/appium/ruby_lib/blob/
|
|
1177
|
+
##### [characters](https://github.com/appium/ruby_lib/blob/283281310172f81df3d8c0daab2a1e75ae61b3c5/lib/appium_lib/common/helper.rb#L238)
|
|
1178
1178
|
|
|
1179
1179
|
> def characters(chars)
|
|
1180
1180
|
|
|
@@ -1182,7 +1182,7 @@ __Returns:__
|
|
|
1182
1182
|
|
|
1183
1183
|
--
|
|
1184
1184
|
|
|
1185
|
-
##### [DEFAULT_HEADERS](https://github.com/appium/ruby_lib/blob/
|
|
1185
|
+
##### [DEFAULT_HEADERS](https://github.com/appium/ruby_lib/blob/283281310172f81df3d8c0daab2a1e75ae61b3c5/lib/appium_lib/common/http_client.rb#L8)
|
|
1186
1186
|
|
|
1187
1187
|
> DEFAULT_HEADERS = { 'Accept' => CONTENT_TYPE, 'User-Agent' => "appium/ruby_lib/#{::Appium::VERSION}" }.freeze
|
|
1188
1188
|
|
|
@@ -1190,7 +1190,7 @@ Default HTTP client inherit Appium::Core::Base::Http::Default, but has different
|
|
|
1190
1190
|
|
|
1191
1191
|
--
|
|
1192
1192
|
|
|
1193
|
-
##### [pinch](https://github.com/appium/ruby_lib/blob/
|
|
1193
|
+
##### [pinch](https://github.com/appium/ruby_lib/blob/283281310172f81df3d8c0daab2a1e75ae61b3c5/lib/appium_lib/common/multi_touch.rb#L51)
|
|
1194
1194
|
|
|
1195
1195
|
> def pinch(percentage = 25, auto_perform = true, driver = $driver)
|
|
1196
1196
|
|
|
@@ -1210,7 +1210,7 @@ __Parameters:__
|
|
|
1210
1210
|
|
|
1211
1211
|
--
|
|
1212
1212
|
|
|
1213
|
-
##### [zoom](https://github.com/appium/ruby_lib/blob/
|
|
1213
|
+
##### [zoom](https://github.com/appium/ruby_lib/blob/283281310172f81df3d8c0daab2a1e75ae61b3c5/lib/appium_lib/common/multi_touch.rb#L93)
|
|
1214
1214
|
|
|
1215
1215
|
> def zoom(percentage = 200, auto_perform = true, driver = $driver)
|
|
1216
1216
|
|
|
@@ -1230,7 +1230,7 @@ __Parameters:__
|
|
|
1230
1230
|
|
|
1231
1231
|
--
|
|
1232
1232
|
|
|
1233
|
-
##### [initialize](https://github.com/appium/ruby_lib/blob/
|
|
1233
|
+
##### [initialize](https://github.com/appium/ruby_lib/blob/283281310172f81df3d8c0daab2a1e75ae61b3c5/lib/appium_lib/common/multi_touch.rb#L178)
|
|
1234
1234
|
|
|
1235
1235
|
> def initialize(driver = $driver)
|
|
1236
1236
|
|
|
@@ -1242,7 +1242,7 @@ __Returns:__
|
|
|
1242
1242
|
|
|
1243
1243
|
--
|
|
1244
1244
|
|
|
1245
|
-
##### [COMPLEX_ACTIONS](https://github.com/appium/ruby_lib/blob/
|
|
1245
|
+
##### [COMPLEX_ACTIONS](https://github.com/appium/ruby_lib/blob/283281310172f81df3d8c0daab2a1e75ae61b3c5/lib/appium_lib/common/touch_actions.rb#L33)
|
|
1246
1246
|
|
|
1247
1247
|
> COMPLEX_ACTIONS = ::Appium::Core::TouchAction::COMPLEX_ACTIONS
|
|
1248
1248
|
|
|
@@ -1250,7 +1250,7 @@ __Returns:__
|
|
|
1250
1250
|
|
|
1251
1251
|
--
|
|
1252
1252
|
|
|
1253
|
-
##### [initialize](https://github.com/appium/ruby_lib/blob/
|
|
1253
|
+
##### [initialize](https://github.com/appium/ruby_lib/blob/283281310172f81df3d8c0daab2a1e75ae61b3c5/lib/appium_lib/common/touch_actions.rb#L47)
|
|
1254
1254
|
|
|
1255
1255
|
> def initialize(driver = $driver)
|
|
1256
1256
|
|
|
@@ -1262,7 +1262,7 @@ __Returns:__
|
|
|
1262
1262
|
|
|
1263
1263
|
--
|
|
1264
1264
|
|
|
1265
|
-
##### [swipe](https://github.com/appium/ruby_lib/blob/
|
|
1265
|
+
##### [swipe](https://github.com/appium/ruby_lib/blob/283281310172f81df3d8c0daab2a1e75ae61b3c5/lib/appium_lib/common/touch_actions.rb#L51)
|
|
1266
1266
|
|
|
1267
1267
|
> def swipe(opts)
|
|
1268
1268
|
|
|
@@ -1270,7 +1270,7 @@ __Returns:__
|
|
|
1270
1270
|
|
|
1271
1271
|
--
|
|
1272
1272
|
|
|
1273
|
-
##### [initialize](https://github.com/appium/ruby_lib/blob/
|
|
1273
|
+
##### [initialize](https://github.com/appium/ruby_lib/blob/283281310172f81df3d8c0daab2a1e75ae61b3c5/lib/appium_lib/common/command/ws_logcat.rb#L5)
|
|
1274
1274
|
|
|
1275
1275
|
> def initialize(url:, output_file: 'logcat.log')
|
|
1276
1276
|
|
|
@@ -1282,7 +1282,7 @@ __Returns:__
|
|
|
1282
1282
|
|
|
1283
1283
|
--
|
|
1284
1284
|
|
|
1285
|
-
##### [handle_message_data](https://github.com/appium/ruby_lib/blob/
|
|
1285
|
+
##### [handle_message_data](https://github.com/appium/ruby_lib/blob/283281310172f81df3d8c0daab2a1e75ae61b3c5/lib/appium_lib/common/command/ws_logcat.rb#L10)
|
|
1286
1286
|
|
|
1287
1287
|
> def handle_message_data(data)
|
|
1288
1288
|
|
|
@@ -1290,7 +1290,7 @@ __Returns:__
|
|
|
1290
1290
|
|
|
1291
1291
|
--
|
|
1292
1292
|
|
|
1293
|
-
##### [for](https://github.com/appium/ruby_lib/blob/
|
|
1293
|
+
##### [for](https://github.com/appium/ruby_lib/blob/283281310172f81df3d8c0daab2a1e75ae61b3c5/lib/appium_lib/android/android.rb#L19) android
|
|
1294
1294
|
|
|
1295
1295
|
> def self.for(target)
|
|
1296
1296
|
|
|
@@ -1298,7 +1298,7 @@ __Returns:__
|
|
|
1298
1298
|
|
|
1299
1299
|
--
|
|
1300
1300
|
|
|
1301
|
-
##### [TextView](https://github.com/appium/ruby_lib/blob/
|
|
1301
|
+
##### [TextView](https://github.com/appium/ruby_lib/blob/283281310172f81df3d8c0daab2a1e75ae61b3c5/lib/appium_lib/android/element/text.rb#L4) android
|
|
1302
1302
|
|
|
1303
1303
|
> TextView = 'android.widget.TextView'.freeze
|
|
1304
1304
|
|
|
@@ -1306,7 +1306,7 @@ __Returns:__
|
|
|
1306
1306
|
|
|
1307
1307
|
--
|
|
1308
1308
|
|
|
1309
|
-
##### [text](https://github.com/appium/ruby_lib/blob/
|
|
1309
|
+
##### [text](https://github.com/appium/ruby_lib/blob/283281310172f81df3d8c0daab2a1e75ae61b3c5/lib/appium_lib/android/element/text.rb#L10) android
|
|
1310
1310
|
|
|
1311
1311
|
> def text(value)
|
|
1312
1312
|
|
|
@@ -1323,7 +1323,7 @@ __Returns:__
|
|
|
1323
1323
|
|
|
1324
1324
|
--
|
|
1325
1325
|
|
|
1326
|
-
##### [texts](https://github.com/appium/ruby_lib/blob/
|
|
1326
|
+
##### [texts](https://github.com/appium/ruby_lib/blob/283281310172f81df3d8c0daab2a1e75ae61b3c5/lib/appium_lib/android/element/text.rb#L19) android
|
|
1327
1327
|
|
|
1328
1328
|
> def texts(value = false)
|
|
1329
1329
|
|
|
@@ -1340,7 +1340,7 @@ __Returns:__
|
|
|
1340
1340
|
|
|
1341
1341
|
--
|
|
1342
1342
|
|
|
1343
|
-
##### [first_text](https://github.com/appium/ruby_lib/blob/
|
|
1343
|
+
##### [first_text](https://github.com/appium/ruby_lib/blob/283281310172f81df3d8c0daab2a1e75ae61b3c5/lib/appium_lib/android/element/text.rb#L26) android
|
|
1344
1344
|
|
|
1345
1345
|
> def first_text
|
|
1346
1346
|
|
|
@@ -1352,7 +1352,7 @@ __Returns:__
|
|
|
1352
1352
|
|
|
1353
1353
|
--
|
|
1354
1354
|
|
|
1355
|
-
##### [last_text](https://github.com/appium/ruby_lib/blob/
|
|
1355
|
+
##### [last_text](https://github.com/appium/ruby_lib/blob/283281310172f81df3d8c0daab2a1e75ae61b3c5/lib/appium_lib/android/element/text.rb#L32) android
|
|
1356
1356
|
|
|
1357
1357
|
> def last_text
|
|
1358
1358
|
|
|
@@ -1364,7 +1364,7 @@ __Returns:__
|
|
|
1364
1364
|
|
|
1365
1365
|
--
|
|
1366
1366
|
|
|
1367
|
-
##### [text_exact](https://github.com/appium/ruby_lib/blob/
|
|
1367
|
+
##### [text_exact](https://github.com/appium/ruby_lib/blob/283281310172f81df3d8c0daab2a1e75ae61b3c5/lib/appium_lib/android/element/text.rb#L39) android
|
|
1368
1368
|
|
|
1369
1369
|
> def text_exact(value)
|
|
1370
1370
|
|
|
@@ -1380,7 +1380,7 @@ __Returns:__
|
|
|
1380
1380
|
|
|
1381
1381
|
--
|
|
1382
1382
|
|
|
1383
|
-
##### [texts_exact](https://github.com/appium/ruby_lib/blob/
|
|
1383
|
+
##### [texts_exact](https://github.com/appium/ruby_lib/blob/283281310172f81df3d8c0daab2a1e75ae61b3c5/lib/appium_lib/android/element/text.rb#L46) android
|
|
1384
1384
|
|
|
1385
1385
|
> def texts_exact(value)
|
|
1386
1386
|
|
|
@@ -1396,7 +1396,7 @@ __Returns:__
|
|
|
1396
1396
|
|
|
1397
1397
|
--
|
|
1398
1398
|
|
|
1399
|
-
##### [result](https://github.com/appium/ruby_lib/blob/
|
|
1399
|
+
##### [result](https://github.com/appium/ruby_lib/blob/283281310172f81df3d8c0daab2a1e75ae61b3c5/lib/appium_lib/android/common/helper.rb#L6) android
|
|
1400
1400
|
|
|
1401
1401
|
> def result
|
|
1402
1402
|
|
|
@@ -1404,7 +1404,7 @@ Returns the value of attribute result
|
|
|
1404
1404
|
|
|
1405
1405
|
--
|
|
1406
1406
|
|
|
1407
|
-
##### [keys](https://github.com/appium/ruby_lib/blob/
|
|
1407
|
+
##### [keys](https://github.com/appium/ruby_lib/blob/283281310172f81df3d8c0daab2a1e75ae61b3c5/lib/appium_lib/android/common/helper.rb#L6) android
|
|
1408
1408
|
|
|
1409
1409
|
> def keys
|
|
1410
1410
|
|
|
@@ -1412,7 +1412,7 @@ Returns the value of attribute keys
|
|
|
1412
1412
|
|
|
1413
1413
|
--
|
|
1414
1414
|
|
|
1415
|
-
##### [filter](https://github.com/appium/ruby_lib/blob/
|
|
1415
|
+
##### [filter](https://github.com/appium/ruby_lib/blob/283281310172f81df3d8c0daab2a1e75ae61b3c5/lib/appium_lib/android/common/helper.rb#L6) android
|
|
1416
1416
|
|
|
1417
1417
|
> def filter
|
|
1418
1418
|
|
|
@@ -1420,7 +1420,7 @@ Returns the value of attribute filter
|
|
|
1420
1420
|
|
|
1421
1421
|
--
|
|
1422
1422
|
|
|
1423
|
-
##### [filter=](https://github.com/appium/ruby_lib/blob/
|
|
1423
|
+
##### [filter=](https://github.com/appium/ruby_lib/blob/283281310172f81df3d8c0daab2a1e75ae61b3c5/lib/appium_lib/android/common/helper.rb#L9) android
|
|
1424
1424
|
|
|
1425
1425
|
> def filter=(value)
|
|
1426
1426
|
|
|
@@ -1428,7 +1428,7 @@ convert to string to support symbols
|
|
|
1428
1428
|
|
|
1429
1429
|
--
|
|
1430
1430
|
|
|
1431
|
-
##### [initialize](https://github.com/appium/ruby_lib/blob/
|
|
1431
|
+
##### [initialize](https://github.com/appium/ruby_lib/blob/283281310172f81df3d8c0daab2a1e75ae61b3c5/lib/appium_lib/android/common/helper.rb#L15) android
|
|
1432
1432
|
|
|
1433
1433
|
> def initialize
|
|
1434
1434
|
|
|
@@ -1440,7 +1440,7 @@ __Returns:__
|
|
|
1440
1440
|
|
|
1441
1441
|
--
|
|
1442
1442
|
|
|
1443
|
-
##### [reset](https://github.com/appium/ruby_lib/blob/
|
|
1443
|
+
##### [reset](https://github.com/appium/ruby_lib/blob/283281310172f81df3d8c0daab2a1e75ae61b3c5/lib/appium_lib/android/common/helper.rb#L20) android
|
|
1444
1444
|
|
|
1445
1445
|
> def reset
|
|
1446
1446
|
|
|
@@ -1448,7 +1448,7 @@ __Returns:__
|
|
|
1448
1448
|
|
|
1449
1449
|
--
|
|
1450
1450
|
|
|
1451
|
-
##### [start_element](https://github.com/appium/ruby_lib/blob/
|
|
1451
|
+
##### [start_element](https://github.com/appium/ruby_lib/blob/283281310172f81df3d8c0daab2a1e75ae61b3c5/lib/appium_lib/android/common/helper.rb#L26) android
|
|
1452
1452
|
|
|
1453
1453
|
> def start_element(name, attrs = [], driver = $driver)
|
|
1454
1454
|
|
|
@@ -1456,7 +1456,7 @@ http://nokogiri.org/Nokogiri/XML/SAX/Document.html
|
|
|
1456
1456
|
|
|
1457
1457
|
--
|
|
1458
1458
|
|
|
1459
|
-
##### [get_android_inspect](https://github.com/appium/ruby_lib/blob/
|
|
1459
|
+
##### [get_android_inspect](https://github.com/appium/ruby_lib/blob/283281310172f81df3d8c0daab2a1e75ae61b3c5/lib/appium_lib/android/common/helper.rb#L80) android
|
|
1460
1460
|
|
|
1461
1461
|
> def get_android_inspect(class_name = false)
|
|
1462
1462
|
|
|
@@ -1475,7 +1475,7 @@ __Returns:__
|
|
|
1475
1475
|
|
|
1476
1476
|
--
|
|
1477
1477
|
|
|
1478
|
-
##### [page](https://github.com/appium/ruby_lib/blob/
|
|
1478
|
+
##### [page](https://github.com/appium/ruby_lib/blob/283281310172f81df3d8c0daab2a1e75ae61b3c5/lib/appium_lib/android/common/helper.rb#L106) android
|
|
1479
1479
|
|
|
1480
1480
|
> def page(opts = {})
|
|
1481
1481
|
|
|
@@ -1494,7 +1494,7 @@ __Returns:__
|
|
|
1494
1494
|
|
|
1495
1495
|
--
|
|
1496
1496
|
|
|
1497
|
-
##### [id](https://github.com/appium/ruby_lib/blob/
|
|
1497
|
+
##### [id](https://github.com/appium/ruby_lib/blob/283281310172f81df3d8c0daab2a1e75ae61b3c5/lib/appium_lib/android/common/helper.rb#L115) android
|
|
1498
1498
|
|
|
1499
1499
|
> def id(id)
|
|
1500
1500
|
|
|
@@ -1510,7 +1510,7 @@ __Returns:__
|
|
|
1510
1510
|
|
|
1511
1511
|
--
|
|
1512
1512
|
|
|
1513
|
-
##### [ids](https://github.com/appium/ruby_lib/blob/
|
|
1513
|
+
##### [ids](https://github.com/appium/ruby_lib/blob/283281310172f81df3d8c0daab2a1e75ae61b3c5/lib/appium_lib/android/common/helper.rb#L123) android
|
|
1514
1514
|
|
|
1515
1515
|
> def ids(id)
|
|
1516
1516
|
|
|
@@ -1526,7 +1526,7 @@ __Returns:__
|
|
|
1526
1526
|
|
|
1527
1527
|
--
|
|
1528
1528
|
|
|
1529
|
-
##### [ele_index](https://github.com/appium/ruby_lib/blob/
|
|
1529
|
+
##### [ele_index](https://github.com/appium/ruby_lib/blob/283281310172f81df3d8c0daab2a1e75ae61b3c5/lib/appium_lib/android/common/helper.rb#L132) android
|
|
1530
1530
|
|
|
1531
1531
|
> def ele_index(class_name, index)
|
|
1532
1532
|
|
|
@@ -1544,7 +1544,7 @@ __Returns:__
|
|
|
1544
1544
|
|
|
1545
1545
|
--
|
|
1546
1546
|
|
|
1547
|
-
##### [first_ele](https://github.com/appium/ruby_lib/blob/
|
|
1547
|
+
##### [first_ele](https://github.com/appium/ruby_lib/blob/283281310172f81df3d8c0daab2a1e75ae61b3c5/lib/appium_lib/android/common/helper.rb#L150) android
|
|
1548
1548
|
|
|
1549
1549
|
> def first_ele(class_name)
|
|
1550
1550
|
|
|
@@ -1560,7 +1560,7 @@ __Returns:__
|
|
|
1560
1560
|
|
|
1561
1561
|
--
|
|
1562
1562
|
|
|
1563
|
-
##### [last_ele](https://github.com/appium/ruby_lib/blob/
|
|
1563
|
+
##### [last_ele](https://github.com/appium/ruby_lib/blob/283281310172f81df3d8c0daab2a1e75ae61b3c5/lib/appium_lib/android/common/helper.rb#L157) android
|
|
1564
1564
|
|
|
1565
1565
|
> def last_ele(class_name)
|
|
1566
1566
|
|
|
@@ -1576,7 +1576,7 @@ __Returns:__
|
|
|
1576
1576
|
|
|
1577
1577
|
--
|
|
1578
1578
|
|
|
1579
|
-
##### [tag](https://github.com/appium/ruby_lib/blob/
|
|
1579
|
+
##### [tag](https://github.com/appium/ruby_lib/blob/283281310172f81df3d8c0daab2a1e75ae61b3c5/lib/appium_lib/android/common/helper.rb#L165) android
|
|
1580
1580
|
|
|
1581
1581
|
> def tag(class_name)
|
|
1582
1582
|
|
|
@@ -1592,7 +1592,7 @@ __Returns:__
|
|
|
1592
1592
|
|
|
1593
1593
|
--
|
|
1594
1594
|
|
|
1595
|
-
##### [tags](https://github.com/appium/ruby_lib/blob/
|
|
1595
|
+
##### [tags](https://github.com/appium/ruby_lib/blob/283281310172f81df3d8c0daab2a1e75ae61b3c5/lib/appium_lib/android/common/helper.rb#L173) android
|
|
1596
1596
|
|
|
1597
1597
|
> def tags(class_name)
|
|
1598
1598
|
|
|
@@ -1608,7 +1608,7 @@ __Returns:__
|
|
|
1608
1608
|
|
|
1609
1609
|
--
|
|
1610
1610
|
|
|
1611
|
-
##### [string_visible_contains_xpath](https://github.com/appium/ruby_lib/blob/
|
|
1611
|
+
##### [string_visible_contains_xpath](https://github.com/appium/ruby_lib/blob/283281310172f81df3d8c0daab2a1e75ae61b3c5/lib/appium_lib/android/common/helper.rb#L216) android
|
|
1612
1612
|
|
|
1613
1613
|
> def string_visible_contains_xpath(class_name, value)
|
|
1614
1614
|
|
|
@@ -1629,7 +1629,7 @@ __Returns:__
|
|
|
1629
1629
|
|
|
1630
1630
|
--
|
|
1631
1631
|
|
|
1632
|
-
##### [string_visible_contains](https://github.com/appium/ruby_lib/blob/
|
|
1632
|
+
##### [string_visible_contains](https://github.com/appium/ruby_lib/blob/283281310172f81df3d8c0daab2a1e75ae61b3c5/lib/appium_lib/android/common/helper.rb#L236) android
|
|
1633
1633
|
|
|
1634
1634
|
> def string_visible_contains(class_name, value)
|
|
1635
1635
|
|
|
@@ -1650,7 +1650,7 @@ __Returns:__
|
|
|
1650
1650
|
|
|
1651
1651
|
--
|
|
1652
1652
|
|
|
1653
|
-
##### [complex_find_contains](https://github.com/appium/ruby_lib/blob/
|
|
1653
|
+
##### [complex_find_contains](https://github.com/appium/ruby_lib/blob/283281310172f81df3d8c0daab2a1e75ae61b3c5/lib/appium_lib/android/common/helper.rb#L254) android
|
|
1654
1654
|
|
|
1655
1655
|
> def complex_find_contains(class_name, value)
|
|
1656
1656
|
|
|
@@ -1668,7 +1668,7 @@ __Returns:__
|
|
|
1668
1668
|
|
|
1669
1669
|
--
|
|
1670
1670
|
|
|
1671
|
-
##### [complex_finds_contains](https://github.com/appium/ruby_lib/blob/
|
|
1671
|
+
##### [complex_finds_contains](https://github.com/appium/ruby_lib/blob/283281310172f81df3d8c0daab2a1e75ae61b3c5/lib/appium_lib/android/common/helper.rb#L262) android
|
|
1672
1672
|
|
|
1673
1673
|
> def complex_finds_contains(class_name, value)
|
|
1674
1674
|
|
|
@@ -1686,7 +1686,7 @@ __Returns:__
|
|
|
1686
1686
|
|
|
1687
1687
|
--
|
|
1688
1688
|
|
|
1689
|
-
##### [complex_find_exact](https://github.com/appium/ruby_lib/blob/
|
|
1689
|
+
##### [complex_find_exact](https://github.com/appium/ruby_lib/blob/283281310172f81df3d8c0daab2a1e75ae61b3c5/lib/appium_lib/android/common/helper.rb#L306) android
|
|
1690
1690
|
|
|
1691
1691
|
> def complex_find_exact(class_name, value)
|
|
1692
1692
|
|
|
@@ -1704,7 +1704,7 @@ __Returns:__
|
|
|
1704
1704
|
|
|
1705
1705
|
--
|
|
1706
1706
|
|
|
1707
|
-
##### [complex_finds_exact](https://github.com/appium/ruby_lib/blob/
|
|
1707
|
+
##### [complex_finds_exact](https://github.com/appium/ruby_lib/blob/283281310172f81df3d8c0daab2a1e75ae61b3c5/lib/appium_lib/android/common/helper.rb#L314) android
|
|
1708
1708
|
|
|
1709
1709
|
> def complex_finds_exact(class_name, value)
|
|
1710
1710
|
|
|
@@ -1722,7 +1722,7 @@ __Returns:__
|
|
|
1722
1722
|
|
|
1723
1723
|
--
|
|
1724
1724
|
|
|
1725
|
-
##### [alert_click](https://github.com/appium/ruby_lib/blob/
|
|
1725
|
+
##### [alert_click](https://github.com/appium/ruby_lib/blob/283281310172f81df3d8c0daab2a1e75ae61b3c5/lib/appium_lib/android/element/alert.rb#L6) android
|
|
1726
1726
|
|
|
1727
1727
|
> def alert_click(value)
|
|
1728
1728
|
|
|
@@ -1738,7 +1738,7 @@ __Returns:__
|
|
|
1738
1738
|
|
|
1739
1739
|
--
|
|
1740
1740
|
|
|
1741
|
-
##### [alert_accept](https://github.com/appium/ruby_lib/blob/
|
|
1741
|
+
##### [alert_accept](https://github.com/appium/ruby_lib/blob/283281310172f81df3d8c0daab2a1e75ae61b3c5/lib/appium_lib/android/element/alert.rb#L13) android
|
|
1742
1742
|
|
|
1743
1743
|
> def alert_accept
|
|
1744
1744
|
|
|
@@ -1751,7 +1751,7 @@ __Returns:__
|
|
|
1751
1751
|
|
|
1752
1752
|
--
|
|
1753
1753
|
|
|
1754
|
-
##### [alert_accept_text](https://github.com/appium/ruby_lib/blob/
|
|
1754
|
+
##### [alert_accept_text](https://github.com/appium/ruby_lib/blob/283281310172f81df3d8c0daab2a1e75ae61b3c5/lib/appium_lib/android/element/alert.rb#L20) android
|
|
1755
1755
|
|
|
1756
1756
|
> def alert_accept_text
|
|
1757
1757
|
|
|
@@ -1764,7 +1764,7 @@ __Returns:__
|
|
|
1764
1764
|
|
|
1765
1765
|
--
|
|
1766
1766
|
|
|
1767
|
-
##### [alert_dismiss](https://github.com/appium/ruby_lib/blob/
|
|
1767
|
+
##### [alert_dismiss](https://github.com/appium/ruby_lib/blob/283281310172f81df3d8c0daab2a1e75ae61b3c5/lib/appium_lib/android/element/alert.rb#L27) android
|
|
1768
1768
|
|
|
1769
1769
|
> def alert_dismiss
|
|
1770
1770
|
|
|
@@ -1777,7 +1777,7 @@ __Returns:__
|
|
|
1777
1777
|
|
|
1778
1778
|
--
|
|
1779
1779
|
|
|
1780
|
-
##### [alert_dismiss_text](https://github.com/appium/ruby_lib/blob/
|
|
1780
|
+
##### [alert_dismiss_text](https://github.com/appium/ruby_lib/blob/283281310172f81df3d8c0daab2a1e75ae61b3c5/lib/appium_lib/android/element/alert.rb#L34) android
|
|
1781
1781
|
|
|
1782
1782
|
> def alert_dismiss_text
|
|
1783
1783
|
|
|
@@ -1790,7 +1790,7 @@ __Returns:__
|
|
|
1790
1790
|
|
|
1791
1791
|
--
|
|
1792
1792
|
|
|
1793
|
-
##### [Button](https://github.com/appium/ruby_lib/blob/
|
|
1793
|
+
##### [Button](https://github.com/appium/ruby_lib/blob/283281310172f81df3d8c0daab2a1e75ae61b3c5/lib/appium_lib/android/element/button.rb#L3) android
|
|
1794
1794
|
|
|
1795
1795
|
> Button = 'android.widget.Button'.freeze
|
|
1796
1796
|
|
|
@@ -1798,7 +1798,7 @@ __Returns:__
|
|
|
1798
1798
|
|
|
1799
1799
|
--
|
|
1800
1800
|
|
|
1801
|
-
##### [ImageButton](https://github.com/appium/ruby_lib/blob/
|
|
1801
|
+
##### [ImageButton](https://github.com/appium/ruby_lib/blob/283281310172f81df3d8c0daab2a1e75ae61b3c5/lib/appium_lib/android/element/button.rb#L4) android
|
|
1802
1802
|
|
|
1803
1803
|
> ImageButton = 'android.widget.ImageButton'.freeze
|
|
1804
1804
|
|
|
@@ -1806,7 +1806,7 @@ __Returns:__
|
|
|
1806
1806
|
|
|
1807
1807
|
--
|
|
1808
1808
|
|
|
1809
|
-
##### [button](https://github.com/appium/ruby_lib/blob/
|
|
1809
|
+
##### [button](https://github.com/appium/ruby_lib/blob/283281310172f81df3d8c0daab2a1e75ae61b3c5/lib/appium_lib/android/element/button.rb#L10) android
|
|
1810
1810
|
|
|
1811
1811
|
> def button(value)
|
|
1812
1812
|
|
|
@@ -1823,7 +1823,7 @@ __Returns:__
|
|
|
1823
1823
|
|
|
1824
1824
|
--
|
|
1825
1825
|
|
|
1826
|
-
##### [buttons](https://github.com/appium/ruby_lib/blob/
|
|
1826
|
+
##### [buttons](https://github.com/appium/ruby_lib/blob/283281310172f81df3d8c0daab2a1e75ae61b3c5/lib/appium_lib/android/element/button.rb#L27) android
|
|
1827
1827
|
|
|
1828
1828
|
> def buttons(value = false)
|
|
1829
1829
|
|
|
@@ -1840,7 +1840,7 @@ __Returns:__
|
|
|
1840
1840
|
|
|
1841
1841
|
--
|
|
1842
1842
|
|
|
1843
|
-
##### [first_button](https://github.com/appium/ruby_lib/blob/
|
|
1843
|
+
##### [first_button](https://github.com/appium/ruby_lib/blob/283281310172f81df3d8c0daab2a1e75ae61b3c5/lib/appium_lib/android/element/button.rb#L34) android
|
|
1844
1844
|
|
|
1845
1845
|
> def first_button
|
|
1846
1846
|
|
|
@@ -1852,7 +1852,7 @@ __Returns:__
|
|
|
1852
1852
|
|
|
1853
1853
|
--
|
|
1854
1854
|
|
|
1855
|
-
##### [last_button](https://github.com/appium/ruby_lib/blob/
|
|
1855
|
+
##### [last_button](https://github.com/appium/ruby_lib/blob/283281310172f81df3d8c0daab2a1e75ae61b3c5/lib/appium_lib/android/element/button.rb#L40) android
|
|
1856
1856
|
|
|
1857
1857
|
> def last_button
|
|
1858
1858
|
|
|
@@ -1864,7 +1864,7 @@ __Returns:__
|
|
|
1864
1864
|
|
|
1865
1865
|
--
|
|
1866
1866
|
|
|
1867
|
-
##### [button_exact](https://github.com/appium/ruby_lib/blob/
|
|
1867
|
+
##### [button_exact](https://github.com/appium/ruby_lib/blob/283281310172f81df3d8c0daab2a1e75ae61b3c5/lib/appium_lib/android/element/button.rb#L56) android
|
|
1868
1868
|
|
|
1869
1869
|
> def button_exact(value)
|
|
1870
1870
|
|
|
@@ -1880,7 +1880,7 @@ __Returns:__
|
|
|
1880
1880
|
|
|
1881
1881
|
--
|
|
1882
1882
|
|
|
1883
|
-
##### [buttons_exact](https://github.com/appium/ruby_lib/blob/
|
|
1883
|
+
##### [buttons_exact](https://github.com/appium/ruby_lib/blob/283281310172f81df3d8c0daab2a1e75ae61b3c5/lib/appium_lib/android/element/button.rb#L63) android
|
|
1884
1884
|
|
|
1885
1885
|
> def buttons_exact(value)
|
|
1886
1886
|
|
|
@@ -1896,7 +1896,7 @@ __Returns:__
|
|
|
1896
1896
|
|
|
1897
1897
|
--
|
|
1898
1898
|
|
|
1899
|
-
##### [find](https://github.com/appium/ruby_lib/blob/
|
|
1899
|
+
##### [find](https://github.com/appium/ruby_lib/blob/283281310172f81df3d8c0daab2a1e75ae61b3c5/lib/appium_lib/android/element/generic.rb#L6) android
|
|
1900
1900
|
|
|
1901
1901
|
> def find(value)
|
|
1902
1902
|
|
|
@@ -1912,7 +1912,7 @@ __Returns:__
|
|
|
1912
1912
|
|
|
1913
1913
|
--
|
|
1914
1914
|
|
|
1915
|
-
##### [finds](https://github.com/appium/ruby_lib/blob/
|
|
1915
|
+
##### [finds](https://github.com/appium/ruby_lib/blob/283281310172f81df3d8c0daab2a1e75ae61b3c5/lib/appium_lib/android/element/generic.rb#L13) android
|
|
1916
1916
|
|
|
1917
1917
|
> def finds(value)
|
|
1918
1918
|
|
|
@@ -1928,7 +1928,7 @@ __Returns:__
|
|
|
1928
1928
|
|
|
1929
1929
|
--
|
|
1930
1930
|
|
|
1931
|
-
##### [find_exact](https://github.com/appium/ruby_lib/blob/
|
|
1931
|
+
##### [find_exact](https://github.com/appium/ruby_lib/blob/283281310172f81df3d8c0daab2a1e75ae61b3c5/lib/appium_lib/android/element/generic.rb#L20) android
|
|
1932
1932
|
|
|
1933
1933
|
> def find_exact(value)
|
|
1934
1934
|
|
|
@@ -1944,7 +1944,7 @@ __Returns:__
|
|
|
1944
1944
|
|
|
1945
1945
|
--
|
|
1946
1946
|
|
|
1947
|
-
##### [finds_exact](https://github.com/appium/ruby_lib/blob/
|
|
1947
|
+
##### [finds_exact](https://github.com/appium/ruby_lib/blob/283281310172f81df3d8c0daab2a1e75ae61b3c5/lib/appium_lib/android/element/generic.rb#L27) android
|
|
1948
1948
|
|
|
1949
1949
|
> def finds_exact(value)
|
|
1950
1950
|
|
|
@@ -1960,7 +1960,7 @@ __Returns:__
|
|
|
1960
1960
|
|
|
1961
1961
|
--
|
|
1962
1962
|
|
|
1963
|
-
##### [scroll_to](https://github.com/appium/ruby_lib/blob/
|
|
1963
|
+
##### [scroll_to](https://github.com/appium/ruby_lib/blob/283281310172f81df3d8c0daab2a1e75ae61b3c5/lib/appium_lib/android/element/generic.rb#L40) android
|
|
1964
1964
|
|
|
1965
1965
|
> def scroll_to(text, scrollable_index = 0)
|
|
1966
1966
|
|
|
@@ -1978,7 +1978,7 @@ __Returns:__
|
|
|
1978
1978
|
|
|
1979
1979
|
--
|
|
1980
1980
|
|
|
1981
|
-
##### [scroll_to_exact](https://github.com/appium/ruby_lib/blob/
|
|
1981
|
+
##### [scroll_to_exact](https://github.com/appium/ruby_lib/blob/283281310172f81df3d8c0daab2a1e75ae61b3c5/lib/appium_lib/android/element/generic.rb#L58) android
|
|
1982
1982
|
|
|
1983
1983
|
> def scroll_to_exact(text, scrollable_index = 0)
|
|
1984
1984
|
|
|
@@ -1996,7 +1996,7 @@ __Returns:__
|
|
|
1996
1996
|
|
|
1997
1997
|
--
|
|
1998
1998
|
|
|
1999
|
-
##### [for](https://github.com/appium/ruby_lib/blob/
|
|
1999
|
+
##### [for](https://github.com/appium/ruby_lib/blob/283281310172f81df3d8c0daab2a1e75ae61b3c5/lib/appium_lib/android/espresso/bridge.rb#L7) android
|
|
2000
2000
|
|
|
2001
2001
|
> def self.for(target)
|
|
2002
2002
|
|
|
@@ -2004,7 +2004,7 @@ __Returns:__
|
|
|
2004
2004
|
|
|
2005
2005
|
--
|
|
2006
2006
|
|
|
2007
|
-
##### [EditText](https://github.com/appium/ruby_lib/blob/
|
|
2007
|
+
##### [EditText](https://github.com/appium/ruby_lib/blob/283281310172f81df3d8c0daab2a1e75ae61b3c5/lib/appium_lib/android/element/textfield.rb#L3) android
|
|
2008
2008
|
|
|
2009
2009
|
> EditText = 'android.widget.EditText'.freeze
|
|
2010
2010
|
|
|
@@ -2012,7 +2012,7 @@ __Returns:__
|
|
|
2012
2012
|
|
|
2013
2013
|
--
|
|
2014
2014
|
|
|
2015
|
-
##### [textfield](https://github.com/appium/ruby_lib/blob/
|
|
2015
|
+
##### [textfield](https://github.com/appium/ruby_lib/blob/283281310172f81df3d8c0daab2a1e75ae61b3c5/lib/appium_lib/android/element/textfield.rb#L9) android
|
|
2016
2016
|
|
|
2017
2017
|
> def textfield(value)
|
|
2018
2018
|
|
|
@@ -2029,7 +2029,7 @@ __Returns:__
|
|
|
2029
2029
|
|
|
2030
2030
|
--
|
|
2031
2031
|
|
|
2032
|
-
##### [textfields](https://github.com/appium/ruby_lib/blob/
|
|
2032
|
+
##### [textfields](https://github.com/appium/ruby_lib/blob/283281310172f81df3d8c0daab2a1e75ae61b3c5/lib/appium_lib/android/element/textfield.rb#L18) android
|
|
2033
2033
|
|
|
2034
2034
|
> def textfields(value = false)
|
|
2035
2035
|
|
|
@@ -2046,7 +2046,7 @@ __Returns:__
|
|
|
2046
2046
|
|
|
2047
2047
|
--
|
|
2048
2048
|
|
|
2049
|
-
##### [first_textfield](https://github.com/appium/ruby_lib/blob/
|
|
2049
|
+
##### [first_textfield](https://github.com/appium/ruby_lib/blob/283281310172f81df3d8c0daab2a1e75ae61b3c5/lib/appium_lib/android/element/textfield.rb#L25) android
|
|
2050
2050
|
|
|
2051
2051
|
> def first_textfield
|
|
2052
2052
|
|
|
@@ -2058,7 +2058,7 @@ __Returns:__
|
|
|
2058
2058
|
|
|
2059
2059
|
--
|
|
2060
2060
|
|
|
2061
|
-
##### [last_textfield](https://github.com/appium/ruby_lib/blob/
|
|
2061
|
+
##### [last_textfield](https://github.com/appium/ruby_lib/blob/283281310172f81df3d8c0daab2a1e75ae61b3c5/lib/appium_lib/android/element/textfield.rb#L31) android
|
|
2062
2062
|
|
|
2063
2063
|
> def last_textfield
|
|
2064
2064
|
|
|
@@ -2070,7 +2070,7 @@ __Returns:__
|
|
|
2070
2070
|
|
|
2071
2071
|
--
|
|
2072
2072
|
|
|
2073
|
-
##### [textfield_exact](https://github.com/appium/ruby_lib/blob/
|
|
2073
|
+
##### [textfield_exact](https://github.com/appium/ruby_lib/blob/283281310172f81df3d8c0daab2a1e75ae61b3c5/lib/appium_lib/android/element/textfield.rb#L38) android
|
|
2074
2074
|
|
|
2075
2075
|
> def textfield_exact(value)
|
|
2076
2076
|
|
|
@@ -2086,7 +2086,7 @@ __Returns:__
|
|
|
2086
2086
|
|
|
2087
2087
|
--
|
|
2088
2088
|
|
|
2089
|
-
##### [textfields_exact](https://github.com/appium/ruby_lib/blob/
|
|
2089
|
+
##### [textfields_exact](https://github.com/appium/ruby_lib/blob/283281310172f81df3d8c0daab2a1e75ae61b3c5/lib/appium_lib/android/element/textfield.rb#L45) android
|
|
2090
2090
|
|
|
2091
2091
|
> def textfields_exact(value)
|
|
2092
2092
|
|
|
@@ -2102,7 +2102,7 @@ __Returns:__
|
|
|
2102
2102
|
|
|
2103
2103
|
--
|
|
2104
2104
|
|
|
2105
|
-
##### [for](https://github.com/appium/ruby_lib/blob/
|
|
2105
|
+
##### [for](https://github.com/appium/ruby_lib/blob/283281310172f81df3d8c0daab2a1e75ae61b3c5/lib/appium_lib/android/uiautomator2/bridge.rb#L7) android
|
|
2106
2106
|
|
|
2107
2107
|
> def self.for(target)
|
|
2108
2108
|
|
|
@@ -2110,7 +2110,7 @@ __Returns:__
|
|
|
2110
2110
|
|
|
2111
2111
|
--
|
|
2112
2112
|
|
|
2113
|
-
##### [string_visible_contains](https://github.com/appium/ruby_lib/blob/
|
|
2113
|
+
##### [string_visible_contains](https://github.com/appium/ruby_lib/blob/283281310172f81df3d8c0daab2a1e75ae61b3c5/lib/appium_lib/android/uiautomator2/helper.rb#L13) android
|
|
2114
2114
|
|
|
2115
2115
|
> def string_visible_contains(class_name, value)
|
|
2116
2116
|
|
|
@@ -2131,7 +2131,7 @@ __Returns:__
|
|
|
2131
2131
|
|
|
2132
2132
|
--
|
|
2133
2133
|
|
|
2134
|
-
##### [complex_find_contains](https://github.com/appium/ruby_lib/blob/
|
|
2134
|
+
##### [complex_find_contains](https://github.com/appium/ruby_lib/blob/283281310172f81df3d8c0daab2a1e75ae61b3c5/lib/appium_lib/android/uiautomator2/helper.rb#L31) android
|
|
2135
2135
|
|
|
2136
2136
|
> def complex_find_contains(class_name, value)
|
|
2137
2137
|
|
|
@@ -2149,7 +2149,7 @@ __Returns:__
|
|
|
2149
2149
|
|
|
2150
2150
|
--
|
|
2151
2151
|
|
|
2152
|
-
##### [complex_finds_contains](https://github.com/appium/ruby_lib/blob/
|
|
2152
|
+
##### [complex_finds_contains](https://github.com/appium/ruby_lib/blob/283281310172f81df3d8c0daab2a1e75ae61b3c5/lib/appium_lib/android/uiautomator2/helper.rb#L41) android
|
|
2153
2153
|
|
|
2154
2154
|
> def complex_finds_contains(class_name, value)
|
|
2155
2155
|
|
|
@@ -2167,7 +2167,7 @@ __Returns:__
|
|
|
2167
2167
|
|
|
2168
2168
|
--
|
|
2169
2169
|
|
|
2170
|
-
##### [complex_find_exact](https://github.com/appium/ruby_lib/blob/
|
|
2170
|
+
##### [complex_find_exact](https://github.com/appium/ruby_lib/blob/283281310172f81df3d8c0daab2a1e75ae61b3c5/lib/appium_lib/android/uiautomator2/helper.rb#L69) android
|
|
2171
2171
|
|
|
2172
2172
|
> def complex_find_exact(class_name, value)
|
|
2173
2173
|
|
|
@@ -2185,7 +2185,7 @@ __Returns:__
|
|
|
2185
2185
|
|
|
2186
2186
|
--
|
|
2187
2187
|
|
|
2188
|
-
##### [complex_finds_exact](https://github.com/appium/ruby_lib/blob/
|
|
2188
|
+
##### [complex_finds_exact](https://github.com/appium/ruby_lib/blob/283281310172f81df3d8c0daab2a1e75ae61b3c5/lib/appium_lib/android/uiautomator2/helper.rb#L79) android
|
|
2189
2189
|
|
|
2190
2190
|
> def complex_finds_exact(class_name, value)
|
|
2191
2191
|
|
|
@@ -2203,7 +2203,7 @@ __Returns:__
|
|
|
2203
2203
|
|
|
2204
2204
|
--
|
|
2205
2205
|
|
|
2206
|
-
##### [shell](https://github.com/appium/ruby_lib/blob/
|
|
2206
|
+
##### [shell](https://github.com/appium/ruby_lib/blob/283281310172f81df3d8c0daab2a1e75ae61b3c5/lib/appium_lib/android/common/command/command.rb#L14) android
|
|
2207
2207
|
|
|
2208
2208
|
> def shell(command, arguments)
|
|
2209
2209
|
|
|
@@ -2218,7 +2218,7 @@ __Parameters:__
|
|
|
2218
2218
|
|
|
2219
2219
|
--
|
|
2220
2220
|
|
|
2221
|
-
##### [start_logs_broadcast](https://github.com/appium/ruby_lib/blob/
|
|
2221
|
+
##### [start_logs_broadcast](https://github.com/appium/ruby_lib/blob/283281310172f81df3d8c0daab2a1e75ae61b3c5/lib/appium_lib/android/common/command/command.rb#L28) android
|
|
2222
2222
|
|
|
2223
2223
|
> def start_logs_broadcast(logcat_file = 'logcat.log')
|
|
2224
2224
|
|
|
@@ -2230,7 +2230,7 @@ __Parameters:__
|
|
|
2230
2230
|
|
|
2231
2231
|
--
|
|
2232
2232
|
|
|
2233
|
-
##### [stop_logs_broadcast](https://github.com/appium/ruby_lib/blob/
|
|
2233
|
+
##### [stop_logs_broadcast](https://github.com/appium/ruby_lib/blob/283281310172f81df3d8c0daab2a1e75ae61b3c5/lib/appium_lib/android/common/command/command.rb#L41) android
|
|
2234
2234
|
|
|
2235
2235
|
> def stop_logs_broadcast
|
|
2236
2236
|
|
|
@@ -2238,7 +2238,7 @@ Stop Android logcat broadcast websocket
|
|
|
2238
2238
|
|
|
2239
2239
|
--
|
|
2240
2240
|
|
|
2241
|
-
##### [button](https://github.com/appium/ruby_lib/blob/
|
|
2241
|
+
##### [button](https://github.com/appium/ruby_lib/blob/283281310172f81df3d8c0daab2a1e75ae61b3c5/lib/appium_lib/android/uiautomator2/element/button.rb#L9) android
|
|
2242
2242
|
|
|
2243
2243
|
> def button(value)
|
|
2244
2244
|
|
|
@@ -2255,7 +2255,7 @@ __Returns:__
|
|
|
2255
2255
|
|
|
2256
2256
|
--
|
|
2257
2257
|
|
|
2258
|
-
##### [buttons](https://github.com/appium/ruby_lib/blob/
|
|
2258
|
+
##### [buttons](https://github.com/appium/ruby_lib/blob/283281310172f81df3d8c0daab2a1e75ae61b3c5/lib/appium_lib/android/uiautomator2/element/button.rb#L29) android
|
|
2259
2259
|
|
|
2260
2260
|
> def buttons(value = false)
|
|
2261
2261
|
|
|
@@ -2272,7 +2272,7 @@ __Returns:__
|
|
|
2272
2272
|
|
|
2273
2273
|
--
|
|
2274
2274
|
|
|
2275
|
-
##### [first_button](https://github.com/appium/ruby_lib/blob/
|
|
2275
|
+
##### [first_button](https://github.com/appium/ruby_lib/blob/283281310172f81df3d8c0daab2a1e75ae61b3c5/lib/appium_lib/android/uiautomator2/element/button.rb#L36) android
|
|
2276
2276
|
|
|
2277
2277
|
> def first_button
|
|
2278
2278
|
|
|
@@ -2284,7 +2284,7 @@ __Returns:__
|
|
|
2284
2284
|
|
|
2285
2285
|
--
|
|
2286
2286
|
|
|
2287
|
-
##### [last_button](https://github.com/appium/ruby_lib/blob/
|
|
2287
|
+
##### [last_button](https://github.com/appium/ruby_lib/blob/283281310172f81df3d8c0daab2a1e75ae61b3c5/lib/appium_lib/android/uiautomator2/element/button.rb#L43) android
|
|
2288
2288
|
|
|
2289
2289
|
> def last_button
|
|
2290
2290
|
|
|
@@ -2296,7 +2296,7 @@ __Returns:__
|
|
|
2296
2296
|
|
|
2297
2297
|
--
|
|
2298
2298
|
|
|
2299
|
-
##### [button_exact](https://github.com/appium/ruby_lib/blob/
|
|
2299
|
+
##### [button_exact](https://github.com/appium/ruby_lib/blob/283281310172f81df3d8c0daab2a1e75ae61b3c5/lib/appium_lib/android/uiautomator2/element/button.rb#L60) android
|
|
2300
2300
|
|
|
2301
2301
|
> def button_exact(value)
|
|
2302
2302
|
|
|
@@ -2312,7 +2312,7 @@ __Returns:__
|
|
|
2312
2312
|
|
|
2313
2313
|
--
|
|
2314
2314
|
|
|
2315
|
-
##### [buttons_exact](https://github.com/appium/ruby_lib/blob/
|
|
2315
|
+
##### [buttons_exact](https://github.com/appium/ruby_lib/blob/283281310172f81df3d8c0daab2a1e75ae61b3c5/lib/appium_lib/android/uiautomator2/element/button.rb#L68) android
|
|
2316
2316
|
|
|
2317
2317
|
> def buttons_exact(value)
|
|
2318
2318
|
|