appium_lib 9.10.0 → 9.11.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 +16 -0
- data/Rakefile +2 -3
- data/appium_lib.gemspec +1 -1
- data/contributing.md +0 -13
- data/docs/android_docs.md +214 -174
- data/docs/docs.md +14 -77
- data/docs/ios_docs.md +232 -232
- data/lib/appium_lib/android/common/command/command.rb +29 -0
- data/lib/appium_lib/android/common/command/ws_logcat.rb +16 -0
- data/lib/appium_lib/common/multi_touch.rb +1 -1
- data/lib/appium_lib/common/touch_actions.rb +1 -1
- data/lib/appium_lib/driver.rb +13 -5
- data/lib/appium_lib/version.rb +2 -2
- data/release_notes.md +118 -0
- metadata +5 -5
- data/docs/api_19_webview.md +0 -49
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9a247ece18a91470c28895cd7fae5070058461f0
|
4
|
+
data.tar.gz: 96d56ea05951b3dfcb08a339fcb4e3fc6f75834b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a2b45f69ec17c1d33b6c83fa93da3a6ab15cae49b8f95c88cb2294e5b05b591812b85796fce232936d3202745aeab49f999af0cfefe6930ed317f188d9438010
|
7
|
+
data.tar.gz: a73b0c1be99e59abe63a03f5b1e29d75e9f53006a27b45f77ebeaffb106be10abb188f9bc58c6661bce870f903d877f439d605d3388a89e435185fef361f0254
|
data/CHANGELOG.md
CHANGED
@@ -3,6 +3,22 @@ Commit based release not is [release_notes.md](./release_notes.md)
|
|
3
3
|
|
4
4
|
Release tags are https://github.com/appium/ruby_lib/releases .
|
5
5
|
|
6
|
+
## Unreleased
|
7
|
+
### 1. Enhancements
|
8
|
+
|
9
|
+
### 2. Bug fixes
|
10
|
+
|
11
|
+
### 3. Deprecations
|
12
|
+
|
13
|
+
## v9.11.0
|
14
|
+
### 1. Enhancements
|
15
|
+
- Add `start_logs_broadcast` and `stop_logs_broadcast` which use WebSocket to get logcat.
|
16
|
+
- Include https://github.com/appium/ruby_lib_core/blob/master/CHANGELOG.md#140---2018-04-15
|
17
|
+
|
18
|
+
### 2. Bug fixes
|
19
|
+
|
20
|
+
### 3. Deprecations
|
21
|
+
|
6
22
|
## v9.10.0
|
7
23
|
### 1. Enhancements
|
8
24
|
- Some changes for Appium 1.8.0
|
data/Rakefile
CHANGED
@@ -235,10 +235,9 @@ task :notes do
|
|
235
235
|
end
|
236
236
|
|
237
237
|
# Return true if the comment is equal to 'Update release notes'
|
238
|
-
# Return true if the comment starts with /^(docs|style|chore):/
|
239
238
|
def skip_release_note?(comment)
|
240
|
-
|
241
|
-
|
239
|
+
true if comment == 'Update release notes'
|
240
|
+
false
|
242
241
|
end
|
243
242
|
|
244
243
|
# Used to purge byte order marks that mess up YARD
|
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.4.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/contributing.md
CHANGED
@@ -24,19 +24,6 @@ Android tests require running on physical hardware with Android 5.0 (API 21). Th
|
|
24
24
|
- `cd android_tests`
|
25
25
|
- `flake 3 android` - Run all the Android tests up to 3 times
|
26
26
|
|
27
|
-
## Commit Message Format
|
28
|
-
- `#{type}: some commit messages`
|
29
|
-
- `docs`, `style`, `test` and `chore` are ignored when generating release note with `rake release`.
|
30
|
-
|
31
|
-
### Type
|
32
|
-
- `feature`: A new feature
|
33
|
-
- `fix`: A bug fix
|
34
|
-
- `docs`: Documentation only changes
|
35
|
-
- `style`: Changes that do not affect the meaning of the code (white-space, formatting, missing semi-colons, etc)
|
36
|
-
- `refactor`: A code change that neither fixes a bug nor adds a feature
|
37
|
-
- `test`: Adding missing or correcting existing tests
|
38
|
-
- `chore`: Changes to the build process or auxiliary tools and libraries such as documentation generation
|
39
|
-
|
40
27
|
## Publishing
|
41
28
|
|
42
29
|
0. Ensure you have `~/.gem/credentials` If not run [the following command](http://guides.rubygems.org/make-your-own-gem/) (replace username with your rubygems user)
|
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/e8b0362ffcad51b85243b129e14f8cde3f9f562f/lib/appium_lib/appium.rb#L45)
|
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/e8b0362ffcad51b85243b129e14f8cde3f9f562f/lib/appium_lib/appium.rb#L79)
|
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/e8b0362ffcad51b85243b129e14f8cde3f9f562f/lib/appium_lib/appium.rb#L84)
|
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/e8b0362ffcad51b85243b129e14f8cde3f9f562f/lib/appium_lib/appium.rb#L126)
|
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/e8b0362ffcad51b85243b129e14f8cde3f9f562f/lib/appium_lib/appium.rb#L181)
|
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/e8b0362ffcad51b85243b129e14f8cde3f9f562f/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/e8b0362ffcad51b85243b129e14f8cde3f9f562f/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/e8b0362ffcad51b85243b129e14f8cde3f9f562f/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/e8b0362ffcad51b85243b129e14f8cde3f9f562f/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/e8b0362ffcad51b85243b129e14f8cde3f9f562f/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/e8b0362ffcad51b85243b129e14f8cde3f9f562f/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/e8b0362ffcad51b85243b129e14f8cde3f9f562f/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/e8b0362ffcad51b85243b129e14f8cde3f9f562f/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/e8b0362ffcad51b85243b129e14f8cde3f9f562f/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/e8b0362ffcad51b85243b129e14f8cde3f9f562f/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/e8b0362ffcad51b85243b129e14f8cde3f9f562f/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/e8b0362ffcad51b85243b129e14f8cde3f9f562f/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/e8b0362ffcad51b85243b129e14f8cde3f9f562f/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/e8b0362ffcad51b85243b129e14f8cde3f9f562f/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/e8b0362ffcad51b85243b129e14f8cde3f9f562f/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/e8b0362ffcad51b85243b129e14f8cde3f9f562f/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/e8b0362ffcad51b85243b129e14f8cde3f9f562f/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/e8b0362ffcad51b85243b129e14f8cde3f9f562f/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/e8b0362ffcad51b85243b129e14f8cde3f9f562f/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/e8b0362ffcad51b85243b129e14f8cde3f9f562f/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/e8b0362ffcad51b85243b129e14f8cde3f9f562f/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/e8b0362ffcad51b85243b129e14f8cde3f9f562f/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/e8b0362ffcad51b85243b129e14f8cde3f9f562f/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/e8b0362ffcad51b85243b129e14f8cde3f9f562f/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/e8b0362ffcad51b85243b129e14f8cde3f9f562f/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/e8b0362ffcad51b85243b129e14f8cde3f9f562f/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/e8b0362ffcad51b85243b129e14f8cde3f9f562f/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/e8b0362ffcad51b85243b129e14f8cde3f9f562f/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/e8b0362ffcad51b85243b129e14f8cde3f9f562f/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/e8b0362ffcad51b85243b129e14f8cde3f9f562f/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/e8b0362ffcad51b85243b129e14f8cde3f9f562f/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/e8b0362ffcad51b85243b129e14f8cde3f9f562f/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/e8b0362ffcad51b85243b129e14f8cde3f9f562f/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/e8b0362ffcad51b85243b129e14f8cde3f9f562f/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/e8b0362ffcad51b85243b129e14f8cde3f9f562f/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/e8b0362ffcad51b85243b129e14f8cde3f9f562f/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/e8b0362ffcad51b85243b129e14f8cde3f9f562f/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/e8b0362ffcad51b85243b129e14f8cde3f9f562f/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/e8b0362ffcad51b85243b129e14f8cde3f9f562f/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/e8b0362ffcad51b85243b129e14f8cde3f9f562f/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/e8b0362ffcad51b85243b129e14f8cde3f9f562f/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/e8b0362ffcad51b85243b129e14f8cde3f9f562f/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/e8b0362ffcad51b85243b129e14f8cde3f9f562f/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/e8b0362ffcad51b85243b129e14f8cde3f9f562f/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/e8b0362ffcad51b85243b129e14f8cde3f9f562f/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/e8b0362ffcad51b85243b129e14f8cde3f9f562f/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/e8b0362ffcad51b85243b129e14f8cde3f9f562f/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/e8b0362ffcad51b85243b129e14f8cde3f9f562f/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/e8b0362ffcad51b85243b129e14f8cde3f9f562f/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/e8b0362ffcad51b85243b129e14f8cde3f9f562f/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/e8b0362ffcad51b85243b129e14f8cde3f9f562f/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/e8b0362ffcad51b85243b129e14f8cde3f9f562f/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/e8b0362ffcad51b85243b129e14f8cde3f9f562f/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/e8b0362ffcad51b85243b129e14f8cde3f9f562f/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/e8b0362ffcad51b85243b129e14f8cde3f9f562f/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/e8b0362ffcad51b85243b129e14f8cde3f9f562f/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/e8b0362ffcad51b85243b129e14f8cde3f9f562f/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/e8b0362ffcad51b85243b129e14f8cde3f9f562f/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/e8b0362ffcad51b85243b129e14f8cde3f9f562f/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/e8b0362ffcad51b85243b129e14f8cde3f9f562f/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/e8b0362ffcad51b85243b129e14f8cde3f9f562f/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/e8b0362ffcad51b85243b129e14f8cde3f9f562f/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
|
-
##### [initialize](https://github.com/appium/ruby_lib/blob/
|
849
|
+
##### [initialize](https://github.com/appium/ruby_lib/blob/e8b0362ffcad51b85243b129e14f8cde3f9f562f/lib/appium_lib/common/wait.rb#L6)
|
850
850
|
|
851
851
|
> def initialize(opts = {})
|
852
852
|
|
@@ -858,7 +858,7 @@ __Returns:__
|
|
858
858
|
|
859
859
|
--
|
860
860
|
|
861
|
-
##### [wait_true](https://github.com/appium/ruby_lib/blob/
|
861
|
+
##### [wait_true](https://github.com/appium/ruby_lib/blob/e8b0362ffcad51b85243b129e14f8cde3f9f562f/lib/appium_lib/common/wait.rb#L26)
|
862
862
|
|
863
863
|
> def wait_true(opts = {})
|
864
864
|
|
@@ -878,7 +878,7 @@ __Parameters:__
|
|
878
878
|
|
879
879
|
--
|
880
880
|
|
881
|
-
##### [wait](https://github.com/appium/ruby_lib/blob/
|
881
|
+
##### [wait](https://github.com/appium/ruby_lib/blob/e8b0362ffcad51b85243b129e14f8cde3f9f562f/lib/appium_lib/common/wait.rb#L43)
|
882
882
|
|
883
883
|
> def wait(opts = {})
|
884
884
|
|
@@ -896,7 +896,7 @@ __Parameters:__
|
|
896
896
|
|
897
897
|
--
|
898
898
|
|
899
|
-
##### [add_touch_actions](https://github.com/appium/ruby_lib/blob/
|
899
|
+
##### [add_touch_actions](https://github.com/appium/ruby_lib/blob/e8b0362ffcad51b85243b129e14f8cde3f9f562f/lib/appium_lib/common/device.rb#L12)
|
900
900
|
|
901
901
|
> def add_touch_actions
|
902
902
|
|
@@ -904,7 +904,7 @@ __Parameters:__
|
|
904
904
|
|
905
905
|
--
|
906
906
|
|
907
|
-
##### [ignore](https://github.com/appium/ruby_lib/blob/
|
907
|
+
##### [ignore](https://github.com/appium/ruby_lib/blob/e8b0362ffcad51b85243b129e14f8cde3f9f562f/lib/appium_lib/common/helper.rb#L16)
|
908
908
|
|
909
909
|
> def ignore
|
910
910
|
|
@@ -912,7 +912,7 @@ Return yield and ignore any exceptions.
|
|
912
912
|
|
913
913
|
--
|
914
914
|
|
915
|
-
##### [back](https://github.com/appium/ruby_lib/blob/
|
915
|
+
##### [back](https://github.com/appium/ruby_lib/blob/e8b0362ffcad51b85243b129e14f8cde3f9f562f/lib/appium_lib/common/helper.rb#L23)
|
916
916
|
|
917
917
|
> def back
|
918
918
|
|
@@ -924,7 +924,7 @@ __Returns:__
|
|
924
924
|
|
925
925
|
--
|
926
926
|
|
927
|
-
##### [session_id](https://github.com/appium/ruby_lib/blob/
|
927
|
+
##### [session_id](https://github.com/appium/ruby_lib/blob/e8b0362ffcad51b85243b129e14f8cde3f9f562f/lib/appium_lib/common/helper.rb#L34)
|
928
928
|
|
929
929
|
> def session_id
|
930
930
|
|
@@ -936,7 +936,7 @@ __Returns:__
|
|
936
936
|
|
937
937
|
--
|
938
938
|
|
939
|
-
##### [xpath](https://github.com/appium/ruby_lib/blob/
|
939
|
+
##### [xpath](https://github.com/appium/ruby_lib/blob/e8b0362ffcad51b85243b129e14f8cde3f9f562f/lib/appium_lib/common/helper.rb#L42)
|
940
940
|
|
941
941
|
> def xpath(xpath_str)
|
942
942
|
|
@@ -952,7 +952,7 @@ __Returns:__
|
|
952
952
|
|
953
953
|
--
|
954
954
|
|
955
|
-
##### [xpaths](https://github.com/appium/ruby_lib/blob/
|
955
|
+
##### [xpaths](https://github.com/appium/ruby_lib/blob/e8b0362ffcad51b85243b129e14f8cde3f9f562f/lib/appium_lib/common/helper.rb#L50)
|
956
956
|
|
957
957
|
> def xpaths(xpath_str)
|
958
958
|
|
@@ -968,7 +968,7 @@ __Returns:__
|
|
968
968
|
|
969
969
|
--
|
970
970
|
|
971
|
-
##### [result](https://github.com/appium/ruby_lib/blob/
|
971
|
+
##### [result](https://github.com/appium/ruby_lib/blob/e8b0362ffcad51b85243b129e14f8cde3f9f562f/lib/appium_lib/common/helper.rb#L60)
|
972
972
|
|
973
973
|
> def result
|
974
974
|
|
@@ -976,7 +976,7 @@ Returns the value of attribute result
|
|
976
976
|
|
977
977
|
--
|
978
978
|
|
979
|
-
##### [initialize](https://github.com/appium/ruby_lib/blob/
|
979
|
+
##### [initialize](https://github.com/appium/ruby_lib/blob/e8b0362ffcad51b85243b129e14f8cde3f9f562f/lib/appium_lib/common/helper.rb#L62)
|
980
980
|
|
981
981
|
> def initialize
|
982
982
|
|
@@ -988,7 +988,7 @@ __Returns:__
|
|
988
988
|
|
989
989
|
--
|
990
990
|
|
991
|
-
##### [reset](https://github.com/appium/ruby_lib/blob/
|
991
|
+
##### [reset](https://github.com/appium/ruby_lib/blob/e8b0362ffcad51b85243b129e14f8cde3f9f562f/lib/appium_lib/common/helper.rb#L66)
|
992
992
|
|
993
993
|
> def reset
|
994
994
|
|
@@ -996,7 +996,7 @@ __Returns:__
|
|
996
996
|
|
997
997
|
--
|
998
998
|
|
999
|
-
##### [start_element](https://github.com/appium/ruby_lib/blob/
|
999
|
+
##### [start_element](https://github.com/appium/ruby_lib/blob/e8b0362ffcad51b85243b129e14f8cde3f9f562f/lib/appium_lib/common/helper.rb#L71)
|
1000
1000
|
|
1001
1001
|
> def start_element(name, attrs = [], driver = $driver)
|
1002
1002
|
|
@@ -1004,7 +1004,7 @@ http://nokogiri.org/Nokogiri/XML/SAX/Document.html
|
|
1004
1004
|
|
1005
1005
|
--
|
1006
1006
|
|
1007
|
-
##### [formatted_result](https://github.com/appium/ruby_lib/blob/
|
1007
|
+
##### [formatted_result](https://github.com/appium/ruby_lib/blob/e8b0362ffcad51b85243b129e14f8cde3f9f562f/lib/appium_lib/common/helper.rb#L77)
|
1008
1008
|
|
1009
1009
|
> def formatted_result
|
1010
1010
|
|
@@ -1012,7 +1012,7 @@ http://nokogiri.org/Nokogiri/XML/SAX/Document.html
|
|
1012
1012
|
|
1013
1013
|
--
|
1014
1014
|
|
1015
|
-
##### [get_page_class](https://github.com/appium/ruby_lib/blob/
|
1015
|
+
##### [get_page_class](https://github.com/appium/ruby_lib/blob/e8b0362ffcad51b85243b129e14f8cde3f9f562f/lib/appium_lib/common/helper.rb#L96)
|
1016
1016
|
|
1017
1017
|
> def get_page_class
|
1018
1018
|
|
@@ -1024,7 +1024,7 @@ __Returns:__
|
|
1024
1024
|
|
1025
1025
|
--
|
1026
1026
|
|
1027
|
-
##### [page_class](https://github.com/appium/ruby_lib/blob/
|
1027
|
+
##### [page_class](https://github.com/appium/ruby_lib/blob/e8b0362ffcad51b85243b129e14f8cde3f9f562f/lib/appium_lib/common/helper.rb#L121)
|
1028
1028
|
|
1029
1029
|
> def page_class
|
1030
1030
|
|
@@ -1037,7 +1037,7 @@ __Returns:__
|
|
1037
1037
|
|
1038
1038
|
--
|
1039
1039
|
|
1040
|
-
##### [source](https://github.com/appium/ruby_lib/blob/
|
1040
|
+
##### [source](https://github.com/appium/ruby_lib/blob/e8b0362ffcad51b85243b129e14f8cde3f9f562f/lib/appium_lib/common/helper.rb#L128)
|
1041
1041
|
|
1042
1042
|
> def source
|
1043
1043
|
|
@@ -1049,7 +1049,7 @@ __Returns:__
|
|
1049
1049
|
|
1050
1050
|
--
|
1051
1051
|
|
1052
|
-
##### [get_source](https://github.com/appium/ruby_lib/blob/
|
1052
|
+
##### [get_source](https://github.com/appium/ruby_lib/blob/e8b0362ffcad51b85243b129e14f8cde3f9f562f/lib/appium_lib/common/helper.rb#L135)
|
1053
1053
|
|
1054
1054
|
> def get_source
|
1055
1055
|
|
@@ -1062,7 +1062,7 @@ __Returns:__
|
|
1062
1062
|
|
1063
1063
|
--
|
1064
1064
|
|
1065
|
-
##### [px_to_window_rel](https://github.com/appium/ruby_lib/blob/
|
1065
|
+
##### [px_to_window_rel](https://github.com/appium/ruby_lib/blob/e8b0362ffcad51b85243b129e14f8cde3f9f562f/lib/appium_lib/common/helper.rb#L145)
|
1066
1066
|
|
1067
1067
|
> def px_to_window_rel(opts = {}, driver = $driver)
|
1068
1068
|
|
@@ -1070,7 +1070,7 @@ Converts pixel values to window relative values
|
|
1070
1070
|
|
1071
1071
|
--
|
1072
1072
|
|
1073
|
-
##### [xml_keys](https://github.com/appium/ruby_lib/blob/
|
1073
|
+
##### [xml_keys](https://github.com/appium/ruby_lib/blob/e8b0362ffcad51b85243b129e14f8cde3f9f562f/lib/appium_lib/common/helper.rb#L164)
|
1074
1074
|
|
1075
1075
|
> def xml_keys(target)
|
1076
1076
|
|
@@ -1086,7 +1086,7 @@ __Returns:__
|
|
1086
1086
|
|
1087
1087
|
--
|
1088
1088
|
|
1089
|
-
##### [xml_values](https://github.com/appium/ruby_lib/blob/
|
1089
|
+
##### [xml_values](https://github.com/appium/ruby_lib/blob/e8b0362ffcad51b85243b129e14f8cde3f9f562f/lib/appium_lib/common/helper.rb#L172)
|
1090
1090
|
|
1091
1091
|
> def xml_values(target)
|
1092
1092
|
|
@@ -1102,7 +1102,7 @@ __Returns:__
|
|
1102
1102
|
|
1103
1103
|
--
|
1104
1104
|
|
1105
|
-
##### [resolve_id](https://github.com/appium/ruby_lib/blob/
|
1105
|
+
##### [resolve_id](https://github.com/appium/ruby_lib/blob/e8b0362ffcad51b85243b129e14f8cde3f9f562f/lib/appium_lib/common/helper.rb#L180)
|
1106
1106
|
|
1107
1107
|
> def resolve_id(id)
|
1108
1108
|
|
@@ -1118,7 +1118,7 @@ __Returns:__
|
|
1118
1118
|
|
1119
1119
|
--
|
1120
1120
|
|
1121
|
-
##### [filter](https://github.com/appium/ruby_lib/blob/
|
1121
|
+
##### [filter](https://github.com/appium/ruby_lib/blob/e8b0362ffcad51b85243b129e14f8cde3f9f562f/lib/appium_lib/common/helper.rb#L187)
|
1122
1122
|
|
1123
1123
|
> def filter
|
1124
1124
|
|
@@ -1126,7 +1126,7 @@ Returns the value of attribute filter
|
|
1126
1126
|
|
1127
1127
|
--
|
1128
1128
|
|
1129
|
-
##### [filter=](https://github.com/appium/ruby_lib/blob/
|
1129
|
+
##### [filter=](https://github.com/appium/ruby_lib/blob/e8b0362ffcad51b85243b129e14f8cde3f9f562f/lib/appium_lib/common/helper.rb#L190)
|
1130
1130
|
|
1131
1131
|
> def filter=(value)
|
1132
1132
|
|
@@ -1134,7 +1134,7 @@ convert to string to support symbols
|
|
1134
1134
|
|
1135
1135
|
--
|
1136
1136
|
|
1137
|
-
##### [initialize](https://github.com/appium/ruby_lib/blob/
|
1137
|
+
##### [initialize](https://github.com/appium/ruby_lib/blob/e8b0362ffcad51b85243b129e14f8cde3f9f562f/lib/appium_lib/common/helper.rb#L196)
|
1138
1138
|
|
1139
1139
|
> def initialize
|
1140
1140
|
|
@@ -1146,7 +1146,7 @@ __Returns:__
|
|
1146
1146
|
|
1147
1147
|
--
|
1148
1148
|
|
1149
|
-
##### [reset](https://github.com/appium/ruby_lib/blob/
|
1149
|
+
##### [reset](https://github.com/appium/ruby_lib/blob/e8b0362ffcad51b85243b129e14f8cde3f9f562f/lib/appium_lib/common/helper.rb#L201)
|
1150
1150
|
|
1151
1151
|
> def reset
|
1152
1152
|
|
@@ -1154,7 +1154,7 @@ __Returns:__
|
|
1154
1154
|
|
1155
1155
|
--
|
1156
1156
|
|
1157
|
-
##### [result](https://github.com/appium/ruby_lib/blob/
|
1157
|
+
##### [result](https://github.com/appium/ruby_lib/blob/e8b0362ffcad51b85243b129e14f8cde3f9f562f/lib/appium_lib/common/helper.rb#L207)
|
1158
1158
|
|
1159
1159
|
> def result
|
1160
1160
|
|
@@ -1162,7 +1162,7 @@ __Returns:__
|
|
1162
1162
|
|
1163
1163
|
--
|
1164
1164
|
|
1165
|
-
##### [start_element](https://github.com/appium/ruby_lib/blob/
|
1165
|
+
##### [start_element](https://github.com/appium/ruby_lib/blob/e8b0362ffcad51b85243b129e14f8cde3f9f562f/lib/appium_lib/common/helper.rb#L223)
|
1166
1166
|
|
1167
1167
|
> def start_element(name, attrs = [])
|
1168
1168
|
|
@@ -1170,7 +1170,7 @@ __Returns:__
|
|
1170
1170
|
|
1171
1171
|
--
|
1172
1172
|
|
1173
|
-
##### [end_element](https://github.com/appium/ruby_lib/blob/
|
1173
|
+
##### [end_element](https://github.com/appium/ruby_lib/blob/e8b0362ffcad51b85243b129e14f8cde3f9f562f/lib/appium_lib/common/helper.rb#L232)
|
1174
1174
|
|
1175
1175
|
> def end_element(name)
|
1176
1176
|
|
@@ -1178,7 +1178,7 @@ __Returns:__
|
|
1178
1178
|
|
1179
1179
|
--
|
1180
1180
|
|
1181
|
-
##### [characters](https://github.com/appium/ruby_lib/blob/
|
1181
|
+
##### [characters](https://github.com/appium/ruby_lib/blob/e8b0362ffcad51b85243b129e14f8cde3f9f562f/lib/appium_lib/common/helper.rb#L238)
|
1182
1182
|
|
1183
1183
|
> def characters(chars)
|
1184
1184
|
|
@@ -1186,7 +1186,7 @@ __Returns:__
|
|
1186
1186
|
|
1187
1187
|
--
|
1188
1188
|
|
1189
|
-
##### [DEFAULT_HEADERS](https://github.com/appium/ruby_lib/blob/
|
1189
|
+
##### [DEFAULT_HEADERS](https://github.com/appium/ruby_lib/blob/e8b0362ffcad51b85243b129e14f8cde3f9f562f/lib/appium_lib/common/http_client.rb#L8)
|
1190
1190
|
|
1191
1191
|
> DEFAULT_HEADERS = { 'Accept' => CONTENT_TYPE, 'User-Agent' => "appium/ruby_lib/#{::Appium::VERSION}" }.freeze
|
1192
1192
|
|
@@ -1194,7 +1194,7 @@ Default HTTP client inherit Appium::Core::Base::Http::Default, but has different
|
|
1194
1194
|
|
1195
1195
|
--
|
1196
1196
|
|
1197
|
-
##### [pinch](https://github.com/appium/ruby_lib/blob/
|
1197
|
+
##### [pinch](https://github.com/appium/ruby_lib/blob/e8b0362ffcad51b85243b129e14f8cde3f9f562f/lib/appium_lib/common/multi_touch.rb#L51)
|
1198
1198
|
|
1199
1199
|
> def pinch(percentage = 25, auto_perform = true, driver = $driver)
|
1200
1200
|
|
@@ -1214,7 +1214,7 @@ __Parameters:__
|
|
1214
1214
|
|
1215
1215
|
--
|
1216
1216
|
|
1217
|
-
##### [zoom](https://github.com/appium/ruby_lib/blob/
|
1217
|
+
##### [zoom](https://github.com/appium/ruby_lib/blob/e8b0362ffcad51b85243b129e14f8cde3f9f562f/lib/appium_lib/common/multi_touch.rb#L95)
|
1218
1218
|
|
1219
1219
|
> def zoom(percentage = 200, auto_perform = true, driver = $driver)
|
1220
1220
|
|
@@ -1234,7 +1234,7 @@ __Parameters:__
|
|
1234
1234
|
|
1235
1235
|
--
|
1236
1236
|
|
1237
|
-
##### [initialize](https://github.com/appium/ruby_lib/blob/
|
1237
|
+
##### [initialize](https://github.com/appium/ruby_lib/blob/e8b0362ffcad51b85243b129e14f8cde3f9f562f/lib/appium_lib/common/multi_touch.rb#L216)
|
1238
1238
|
|
1239
1239
|
> def initialize(driver = $driver)
|
1240
1240
|
|
@@ -1246,7 +1246,7 @@ __Returns:__
|
|
1246
1246
|
|
1247
1247
|
--
|
1248
1248
|
|
1249
|
-
##### [COMPLEX_ACTIONS](https://github.com/appium/ruby_lib/blob/
|
1249
|
+
##### [COMPLEX_ACTIONS](https://github.com/appium/ruby_lib/blob/e8b0362ffcad51b85243b129e14f8cde3f9f562f/lib/appium_lib/common/touch_actions.rb#L33)
|
1250
1250
|
|
1251
1251
|
> COMPLEX_ACTIONS = ::Appium::Core::TouchAction::COMPLEX_ACTIONS
|
1252
1252
|
|
@@ -1254,7 +1254,7 @@ __Returns:__
|
|
1254
1254
|
|
1255
1255
|
--
|
1256
1256
|
|
1257
|
-
##### [initialize](https://github.com/appium/ruby_lib/blob/
|
1257
|
+
##### [initialize](https://github.com/appium/ruby_lib/blob/e8b0362ffcad51b85243b129e14f8cde3f9f562f/lib/appium_lib/common/touch_actions.rb#L47)
|
1258
1258
|
|
1259
1259
|
> def initialize(driver = $driver)
|
1260
1260
|
|
@@ -1266,7 +1266,7 @@ __Returns:__
|
|
1266
1266
|
|
1267
1267
|
--
|
1268
1268
|
|
1269
|
-
##### [swipe](https://github.com/appium/ruby_lib/blob/
|
1269
|
+
##### [swipe](https://github.com/appium/ruby_lib/blob/e8b0362ffcad51b85243b129e14f8cde3f9f562f/lib/appium_lib/common/touch_actions.rb#L51)
|
1270
1270
|
|
1271
1271
|
> def swipe(opts, ele = nil)
|
1272
1272
|
|
@@ -1274,7 +1274,7 @@ __Returns:__
|
|
1274
1274
|
|
1275
1275
|
--
|
1276
1276
|
|
1277
|
-
##### [for](https://github.com/appium/ruby_lib/blob/
|
1277
|
+
##### [for](https://github.com/appium/ruby_lib/blob/e8b0362ffcad51b85243b129e14f8cde3f9f562f/lib/appium_lib/android/android.rb#L19) android
|
1278
1278
|
|
1279
1279
|
> def self.for(target)
|
1280
1280
|
|
@@ -1282,7 +1282,7 @@ __Returns:__
|
|
1282
1282
|
|
1283
1283
|
--
|
1284
1284
|
|
1285
|
-
##### [TextView](https://github.com/appium/ruby_lib/blob/
|
1285
|
+
##### [TextView](https://github.com/appium/ruby_lib/blob/e8b0362ffcad51b85243b129e14f8cde3f9f562f/lib/appium_lib/android/element/text.rb#L4) android
|
1286
1286
|
|
1287
1287
|
> TextView = 'android.widget.TextView'.freeze
|
1288
1288
|
|
@@ -1290,7 +1290,7 @@ __Returns:__
|
|
1290
1290
|
|
1291
1291
|
--
|
1292
1292
|
|
1293
|
-
##### [text](https://github.com/appium/ruby_lib/blob/
|
1293
|
+
##### [text](https://github.com/appium/ruby_lib/blob/e8b0362ffcad51b85243b129e14f8cde3f9f562f/lib/appium_lib/android/element/text.rb#L10) android
|
1294
1294
|
|
1295
1295
|
> def text(value)
|
1296
1296
|
|
@@ -1307,7 +1307,7 @@ __Returns:__
|
|
1307
1307
|
|
1308
1308
|
--
|
1309
1309
|
|
1310
|
-
##### [texts](https://github.com/appium/ruby_lib/blob/
|
1310
|
+
##### [texts](https://github.com/appium/ruby_lib/blob/e8b0362ffcad51b85243b129e14f8cde3f9f562f/lib/appium_lib/android/element/text.rb#L19) android
|
1311
1311
|
|
1312
1312
|
> def texts(value = false)
|
1313
1313
|
|
@@ -1324,7 +1324,7 @@ __Returns:__
|
|
1324
1324
|
|
1325
1325
|
--
|
1326
1326
|
|
1327
|
-
##### [first_text](https://github.com/appium/ruby_lib/blob/
|
1327
|
+
##### [first_text](https://github.com/appium/ruby_lib/blob/e8b0362ffcad51b85243b129e14f8cde3f9f562f/lib/appium_lib/android/element/text.rb#L26) android
|
1328
1328
|
|
1329
1329
|
> def first_text
|
1330
1330
|
|
@@ -1336,7 +1336,7 @@ __Returns:__
|
|
1336
1336
|
|
1337
1337
|
--
|
1338
1338
|
|
1339
|
-
##### [last_text](https://github.com/appium/ruby_lib/blob/
|
1339
|
+
##### [last_text](https://github.com/appium/ruby_lib/blob/e8b0362ffcad51b85243b129e14f8cde3f9f562f/lib/appium_lib/android/element/text.rb#L32) android
|
1340
1340
|
|
1341
1341
|
> def last_text
|
1342
1342
|
|
@@ -1348,7 +1348,7 @@ __Returns:__
|
|
1348
1348
|
|
1349
1349
|
--
|
1350
1350
|
|
1351
|
-
##### [text_exact](https://github.com/appium/ruby_lib/blob/
|
1351
|
+
##### [text_exact](https://github.com/appium/ruby_lib/blob/e8b0362ffcad51b85243b129e14f8cde3f9f562f/lib/appium_lib/android/element/text.rb#L39) android
|
1352
1352
|
|
1353
1353
|
> def text_exact(value)
|
1354
1354
|
|
@@ -1364,7 +1364,7 @@ __Returns:__
|
|
1364
1364
|
|
1365
1365
|
--
|
1366
1366
|
|
1367
|
-
##### [texts_exact](https://github.com/appium/ruby_lib/blob/
|
1367
|
+
##### [texts_exact](https://github.com/appium/ruby_lib/blob/e8b0362ffcad51b85243b129e14f8cde3f9f562f/lib/appium_lib/android/element/text.rb#L46) android
|
1368
1368
|
|
1369
1369
|
> def texts_exact(value)
|
1370
1370
|
|
@@ -1380,7 +1380,7 @@ __Returns:__
|
|
1380
1380
|
|
1381
1381
|
--
|
1382
1382
|
|
1383
|
-
##### [result](https://github.com/appium/ruby_lib/blob/
|
1383
|
+
##### [result](https://github.com/appium/ruby_lib/blob/e8b0362ffcad51b85243b129e14f8cde3f9f562f/lib/appium_lib/android/common/helper.rb#L6) android
|
1384
1384
|
|
1385
1385
|
> def result
|
1386
1386
|
|
@@ -1388,7 +1388,7 @@ Returns the value of attribute result
|
|
1388
1388
|
|
1389
1389
|
--
|
1390
1390
|
|
1391
|
-
##### [keys](https://github.com/appium/ruby_lib/blob/
|
1391
|
+
##### [keys](https://github.com/appium/ruby_lib/blob/e8b0362ffcad51b85243b129e14f8cde3f9f562f/lib/appium_lib/android/common/helper.rb#L6) android
|
1392
1392
|
|
1393
1393
|
> def keys
|
1394
1394
|
|
@@ -1396,7 +1396,7 @@ Returns the value of attribute keys
|
|
1396
1396
|
|
1397
1397
|
--
|
1398
1398
|
|
1399
|
-
##### [filter](https://github.com/appium/ruby_lib/blob/
|
1399
|
+
##### [filter](https://github.com/appium/ruby_lib/blob/e8b0362ffcad51b85243b129e14f8cde3f9f562f/lib/appium_lib/android/common/helper.rb#L6) android
|
1400
1400
|
|
1401
1401
|
> def filter
|
1402
1402
|
|
@@ -1404,7 +1404,7 @@ Returns the value of attribute filter
|
|
1404
1404
|
|
1405
1405
|
--
|
1406
1406
|
|
1407
|
-
##### [filter=](https://github.com/appium/ruby_lib/blob/
|
1407
|
+
##### [filter=](https://github.com/appium/ruby_lib/blob/e8b0362ffcad51b85243b129e14f8cde3f9f562f/lib/appium_lib/android/common/helper.rb#L9) android
|
1408
1408
|
|
1409
1409
|
> def filter=(value)
|
1410
1410
|
|
@@ -1412,7 +1412,7 @@ convert to string to support symbols
|
|
1412
1412
|
|
1413
1413
|
--
|
1414
1414
|
|
1415
|
-
##### [initialize](https://github.com/appium/ruby_lib/blob/
|
1415
|
+
##### [initialize](https://github.com/appium/ruby_lib/blob/e8b0362ffcad51b85243b129e14f8cde3f9f562f/lib/appium_lib/android/common/helper.rb#L15) android
|
1416
1416
|
|
1417
1417
|
> def initialize
|
1418
1418
|
|
@@ -1424,7 +1424,7 @@ __Returns:__
|
|
1424
1424
|
|
1425
1425
|
--
|
1426
1426
|
|
1427
|
-
##### [reset](https://github.com/appium/ruby_lib/blob/
|
1427
|
+
##### [reset](https://github.com/appium/ruby_lib/blob/e8b0362ffcad51b85243b129e14f8cde3f9f562f/lib/appium_lib/android/common/helper.rb#L20) android
|
1428
1428
|
|
1429
1429
|
> def reset
|
1430
1430
|
|
@@ -1432,7 +1432,7 @@ __Returns:__
|
|
1432
1432
|
|
1433
1433
|
--
|
1434
1434
|
|
1435
|
-
##### [start_element](https://github.com/appium/ruby_lib/blob/
|
1435
|
+
##### [start_element](https://github.com/appium/ruby_lib/blob/e8b0362ffcad51b85243b129e14f8cde3f9f562f/lib/appium_lib/android/common/helper.rb#L26) android
|
1436
1436
|
|
1437
1437
|
> def start_element(name, attrs = [], driver = $driver)
|
1438
1438
|
|
@@ -1440,7 +1440,7 @@ http://nokogiri.org/Nokogiri/XML/SAX/Document.html
|
|
1440
1440
|
|
1441
1441
|
--
|
1442
1442
|
|
1443
|
-
##### [get_android_inspect](https://github.com/appium/ruby_lib/blob/
|
1443
|
+
##### [get_android_inspect](https://github.com/appium/ruby_lib/blob/e8b0362ffcad51b85243b129e14f8cde3f9f562f/lib/appium_lib/android/common/helper.rb#L80) android
|
1444
1444
|
|
1445
1445
|
> def get_android_inspect(class_name = false)
|
1446
1446
|
|
@@ -1459,7 +1459,7 @@ __Returns:__
|
|
1459
1459
|
|
1460
1460
|
--
|
1461
1461
|
|
1462
|
-
##### [page](https://github.com/appium/ruby_lib/blob/
|
1462
|
+
##### [page](https://github.com/appium/ruby_lib/blob/e8b0362ffcad51b85243b129e14f8cde3f9f562f/lib/appium_lib/android/common/helper.rb#L106) android
|
1463
1463
|
|
1464
1464
|
> def page(opts = {})
|
1465
1465
|
|
@@ -1478,7 +1478,7 @@ __Returns:__
|
|
1478
1478
|
|
1479
1479
|
--
|
1480
1480
|
|
1481
|
-
##### [id](https://github.com/appium/ruby_lib/blob/
|
1481
|
+
##### [id](https://github.com/appium/ruby_lib/blob/e8b0362ffcad51b85243b129e14f8cde3f9f562f/lib/appium_lib/android/common/helper.rb#L115) android
|
1482
1482
|
|
1483
1483
|
> def id(id)
|
1484
1484
|
|
@@ -1494,7 +1494,7 @@ __Returns:__
|
|
1494
1494
|
|
1495
1495
|
--
|
1496
1496
|
|
1497
|
-
##### [ids](https://github.com/appium/ruby_lib/blob/
|
1497
|
+
##### [ids](https://github.com/appium/ruby_lib/blob/e8b0362ffcad51b85243b129e14f8cde3f9f562f/lib/appium_lib/android/common/helper.rb#L123) android
|
1498
1498
|
|
1499
1499
|
> def ids(id)
|
1500
1500
|
|
@@ -1510,7 +1510,7 @@ __Returns:__
|
|
1510
1510
|
|
1511
1511
|
--
|
1512
1512
|
|
1513
|
-
##### [ele_index](https://github.com/appium/ruby_lib/blob/
|
1513
|
+
##### [ele_index](https://github.com/appium/ruby_lib/blob/e8b0362ffcad51b85243b129e14f8cde3f9f562f/lib/appium_lib/android/common/helper.rb#L132) android
|
1514
1514
|
|
1515
1515
|
> def ele_index(class_name, index)
|
1516
1516
|
|
@@ -1528,7 +1528,7 @@ __Returns:__
|
|
1528
1528
|
|
1529
1529
|
--
|
1530
1530
|
|
1531
|
-
##### [first_ele](https://github.com/appium/ruby_lib/blob/
|
1531
|
+
##### [first_ele](https://github.com/appium/ruby_lib/blob/e8b0362ffcad51b85243b129e14f8cde3f9f562f/lib/appium_lib/android/common/helper.rb#L150) android
|
1532
1532
|
|
1533
1533
|
> def first_ele(class_name)
|
1534
1534
|
|
@@ -1544,7 +1544,7 @@ __Returns:__
|
|
1544
1544
|
|
1545
1545
|
--
|
1546
1546
|
|
1547
|
-
##### [last_ele](https://github.com/appium/ruby_lib/blob/
|
1547
|
+
##### [last_ele](https://github.com/appium/ruby_lib/blob/e8b0362ffcad51b85243b129e14f8cde3f9f562f/lib/appium_lib/android/common/helper.rb#L157) android
|
1548
1548
|
|
1549
1549
|
> def last_ele(class_name)
|
1550
1550
|
|
@@ -1560,7 +1560,7 @@ __Returns:__
|
|
1560
1560
|
|
1561
1561
|
--
|
1562
1562
|
|
1563
|
-
##### [tag](https://github.com/appium/ruby_lib/blob/
|
1563
|
+
##### [tag](https://github.com/appium/ruby_lib/blob/e8b0362ffcad51b85243b129e14f8cde3f9f562f/lib/appium_lib/android/common/helper.rb#L165) android
|
1564
1564
|
|
1565
1565
|
> def tag(class_name)
|
1566
1566
|
|
@@ -1576,7 +1576,7 @@ __Returns:__
|
|
1576
1576
|
|
1577
1577
|
--
|
1578
1578
|
|
1579
|
-
##### [tags](https://github.com/appium/ruby_lib/blob/
|
1579
|
+
##### [tags](https://github.com/appium/ruby_lib/blob/e8b0362ffcad51b85243b129e14f8cde3f9f562f/lib/appium_lib/android/common/helper.rb#L173) android
|
1580
1580
|
|
1581
1581
|
> def tags(class_name)
|
1582
1582
|
|
@@ -1592,7 +1592,7 @@ __Returns:__
|
|
1592
1592
|
|
1593
1593
|
--
|
1594
1594
|
|
1595
|
-
##### [string_visible_contains_xpath](https://github.com/appium/ruby_lib/blob/
|
1595
|
+
##### [string_visible_contains_xpath](https://github.com/appium/ruby_lib/blob/e8b0362ffcad51b85243b129e14f8cde3f9f562f/lib/appium_lib/android/common/helper.rb#L216) android
|
1596
1596
|
|
1597
1597
|
> def string_visible_contains_xpath(class_name, value)
|
1598
1598
|
|
@@ -1613,7 +1613,7 @@ __Returns:__
|
|
1613
1613
|
|
1614
1614
|
--
|
1615
1615
|
|
1616
|
-
##### [string_visible_contains](https://github.com/appium/ruby_lib/blob/
|
1616
|
+
##### [string_visible_contains](https://github.com/appium/ruby_lib/blob/e8b0362ffcad51b85243b129e14f8cde3f9f562f/lib/appium_lib/android/common/helper.rb#L236) android
|
1617
1617
|
|
1618
1618
|
> def string_visible_contains(class_name, value)
|
1619
1619
|
|
@@ -1634,7 +1634,7 @@ __Returns:__
|
|
1634
1634
|
|
1635
1635
|
--
|
1636
1636
|
|
1637
|
-
##### [complex_find_contains](https://github.com/appium/ruby_lib/blob/
|
1637
|
+
##### [complex_find_contains](https://github.com/appium/ruby_lib/blob/e8b0362ffcad51b85243b129e14f8cde3f9f562f/lib/appium_lib/android/common/helper.rb#L254) android
|
1638
1638
|
|
1639
1639
|
> def complex_find_contains(class_name, value)
|
1640
1640
|
|
@@ -1652,7 +1652,7 @@ __Returns:__
|
|
1652
1652
|
|
1653
1653
|
--
|
1654
1654
|
|
1655
|
-
##### [complex_finds_contains](https://github.com/appium/ruby_lib/blob/
|
1655
|
+
##### [complex_finds_contains](https://github.com/appium/ruby_lib/blob/e8b0362ffcad51b85243b129e14f8cde3f9f562f/lib/appium_lib/android/common/helper.rb#L262) android
|
1656
1656
|
|
1657
1657
|
> def complex_finds_contains(class_name, value)
|
1658
1658
|
|
@@ -1670,7 +1670,7 @@ __Returns:__
|
|
1670
1670
|
|
1671
1671
|
--
|
1672
1672
|
|
1673
|
-
##### [complex_find_exact](https://github.com/appium/ruby_lib/blob/
|
1673
|
+
##### [complex_find_exact](https://github.com/appium/ruby_lib/blob/e8b0362ffcad51b85243b129e14f8cde3f9f562f/lib/appium_lib/android/common/helper.rb#L306) android
|
1674
1674
|
|
1675
1675
|
> def complex_find_exact(class_name, value)
|
1676
1676
|
|
@@ -1688,7 +1688,7 @@ __Returns:__
|
|
1688
1688
|
|
1689
1689
|
--
|
1690
1690
|
|
1691
|
-
##### [complex_finds_exact](https://github.com/appium/ruby_lib/blob/
|
1691
|
+
##### [complex_finds_exact](https://github.com/appium/ruby_lib/blob/e8b0362ffcad51b85243b129e14f8cde3f9f562f/lib/appium_lib/android/common/helper.rb#L314) android
|
1692
1692
|
|
1693
1693
|
> def complex_finds_exact(class_name, value)
|
1694
1694
|
|
@@ -1706,7 +1706,7 @@ __Returns:__
|
|
1706
1706
|
|
1707
1707
|
--
|
1708
1708
|
|
1709
|
-
##### [alert_click](https://github.com/appium/ruby_lib/blob/
|
1709
|
+
##### [alert_click](https://github.com/appium/ruby_lib/blob/e8b0362ffcad51b85243b129e14f8cde3f9f562f/lib/appium_lib/android/element/alert.rb#L6) android
|
1710
1710
|
|
1711
1711
|
> def alert_click(value)
|
1712
1712
|
|
@@ -1722,7 +1722,7 @@ __Returns:__
|
|
1722
1722
|
|
1723
1723
|
--
|
1724
1724
|
|
1725
|
-
##### [alert_accept](https://github.com/appium/ruby_lib/blob/
|
1725
|
+
##### [alert_accept](https://github.com/appium/ruby_lib/blob/e8b0362ffcad51b85243b129e14f8cde3f9f562f/lib/appium_lib/android/element/alert.rb#L13) android
|
1726
1726
|
|
1727
1727
|
> def alert_accept
|
1728
1728
|
|
@@ -1735,7 +1735,7 @@ __Returns:__
|
|
1735
1735
|
|
1736
1736
|
--
|
1737
1737
|
|
1738
|
-
##### [alert_accept_text](https://github.com/appium/ruby_lib/blob/
|
1738
|
+
##### [alert_accept_text](https://github.com/appium/ruby_lib/blob/e8b0362ffcad51b85243b129e14f8cde3f9f562f/lib/appium_lib/android/element/alert.rb#L20) android
|
1739
1739
|
|
1740
1740
|
> def alert_accept_text
|
1741
1741
|
|
@@ -1748,7 +1748,7 @@ __Returns:__
|
|
1748
1748
|
|
1749
1749
|
--
|
1750
1750
|
|
1751
|
-
##### [alert_dismiss](https://github.com/appium/ruby_lib/blob/
|
1751
|
+
##### [alert_dismiss](https://github.com/appium/ruby_lib/blob/e8b0362ffcad51b85243b129e14f8cde3f9f562f/lib/appium_lib/android/element/alert.rb#L27) android
|
1752
1752
|
|
1753
1753
|
> def alert_dismiss
|
1754
1754
|
|
@@ -1761,7 +1761,7 @@ __Returns:__
|
|
1761
1761
|
|
1762
1762
|
--
|
1763
1763
|
|
1764
|
-
##### [alert_dismiss_text](https://github.com/appium/ruby_lib/blob/
|
1764
|
+
##### [alert_dismiss_text](https://github.com/appium/ruby_lib/blob/e8b0362ffcad51b85243b129e14f8cde3f9f562f/lib/appium_lib/android/element/alert.rb#L34) android
|
1765
1765
|
|
1766
1766
|
> def alert_dismiss_text
|
1767
1767
|
|
@@ -1774,7 +1774,7 @@ __Returns:__
|
|
1774
1774
|
|
1775
1775
|
--
|
1776
1776
|
|
1777
|
-
##### [Button](https://github.com/appium/ruby_lib/blob/
|
1777
|
+
##### [Button](https://github.com/appium/ruby_lib/blob/e8b0362ffcad51b85243b129e14f8cde3f9f562f/lib/appium_lib/android/element/button.rb#L3) android
|
1778
1778
|
|
1779
1779
|
> Button = 'android.widget.Button'.freeze
|
1780
1780
|
|
@@ -1782,7 +1782,7 @@ __Returns:__
|
|
1782
1782
|
|
1783
1783
|
--
|
1784
1784
|
|
1785
|
-
##### [ImageButton](https://github.com/appium/ruby_lib/blob/
|
1785
|
+
##### [ImageButton](https://github.com/appium/ruby_lib/blob/e8b0362ffcad51b85243b129e14f8cde3f9f562f/lib/appium_lib/android/element/button.rb#L4) android
|
1786
1786
|
|
1787
1787
|
> ImageButton = 'android.widget.ImageButton'.freeze
|
1788
1788
|
|
@@ -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/e8b0362ffcad51b85243b129e14f8cde3f9f562f/lib/appium_lib/android/element/button.rb#L10) android
|
1794
1794
|
|
1795
1795
|
> def button(value)
|
1796
1796
|
|
@@ -1807,7 +1807,7 @@ __Returns:__
|
|
1807
1807
|
|
1808
1808
|
--
|
1809
1809
|
|
1810
|
-
##### [buttons](https://github.com/appium/ruby_lib/blob/
|
1810
|
+
##### [buttons](https://github.com/appium/ruby_lib/blob/e8b0362ffcad51b85243b129e14f8cde3f9f562f/lib/appium_lib/android/element/button.rb#L27) android
|
1811
1811
|
|
1812
1812
|
> def buttons(value = false)
|
1813
1813
|
|
@@ -1824,7 +1824,7 @@ __Returns:__
|
|
1824
1824
|
|
1825
1825
|
--
|
1826
1826
|
|
1827
|
-
##### [first_button](https://github.com/appium/ruby_lib/blob/
|
1827
|
+
##### [first_button](https://github.com/appium/ruby_lib/blob/e8b0362ffcad51b85243b129e14f8cde3f9f562f/lib/appium_lib/android/element/button.rb#L34) android
|
1828
1828
|
|
1829
1829
|
> def first_button
|
1830
1830
|
|
@@ -1836,7 +1836,7 @@ __Returns:__
|
|
1836
1836
|
|
1837
1837
|
--
|
1838
1838
|
|
1839
|
-
##### [last_button](https://github.com/appium/ruby_lib/blob/
|
1839
|
+
##### [last_button](https://github.com/appium/ruby_lib/blob/e8b0362ffcad51b85243b129e14f8cde3f9f562f/lib/appium_lib/android/element/button.rb#L40) android
|
1840
1840
|
|
1841
1841
|
> def last_button
|
1842
1842
|
|
@@ -1848,7 +1848,7 @@ __Returns:__
|
|
1848
1848
|
|
1849
1849
|
--
|
1850
1850
|
|
1851
|
-
##### [button_exact](https://github.com/appium/ruby_lib/blob/
|
1851
|
+
##### [button_exact](https://github.com/appium/ruby_lib/blob/e8b0362ffcad51b85243b129e14f8cde3f9f562f/lib/appium_lib/android/element/button.rb#L56) android
|
1852
1852
|
|
1853
1853
|
> def button_exact(value)
|
1854
1854
|
|
@@ -1864,7 +1864,7 @@ __Returns:__
|
|
1864
1864
|
|
1865
1865
|
--
|
1866
1866
|
|
1867
|
-
##### [buttons_exact](https://github.com/appium/ruby_lib/blob/
|
1867
|
+
##### [buttons_exact](https://github.com/appium/ruby_lib/blob/e8b0362ffcad51b85243b129e14f8cde3f9f562f/lib/appium_lib/android/element/button.rb#L63) android
|
1868
1868
|
|
1869
1869
|
> def buttons_exact(value)
|
1870
1870
|
|
@@ -1880,7 +1880,7 @@ __Returns:__
|
|
1880
1880
|
|
1881
1881
|
--
|
1882
1882
|
|
1883
|
-
##### [find](https://github.com/appium/ruby_lib/blob/
|
1883
|
+
##### [find](https://github.com/appium/ruby_lib/blob/e8b0362ffcad51b85243b129e14f8cde3f9f562f/lib/appium_lib/android/element/generic.rb#L6) android
|
1884
1884
|
|
1885
1885
|
> def find(value)
|
1886
1886
|
|
@@ -1896,7 +1896,7 @@ __Returns:__
|
|
1896
1896
|
|
1897
1897
|
--
|
1898
1898
|
|
1899
|
-
##### [finds](https://github.com/appium/ruby_lib/blob/
|
1899
|
+
##### [finds](https://github.com/appium/ruby_lib/blob/e8b0362ffcad51b85243b129e14f8cde3f9f562f/lib/appium_lib/android/element/generic.rb#L13) android
|
1900
1900
|
|
1901
1901
|
> def finds(value)
|
1902
1902
|
|
@@ -1912,7 +1912,7 @@ __Returns:__
|
|
1912
1912
|
|
1913
1913
|
--
|
1914
1914
|
|
1915
|
-
##### [find_exact](https://github.com/appium/ruby_lib/blob/
|
1915
|
+
##### [find_exact](https://github.com/appium/ruby_lib/blob/e8b0362ffcad51b85243b129e14f8cde3f9f562f/lib/appium_lib/android/element/generic.rb#L20) android
|
1916
1916
|
|
1917
1917
|
> def find_exact(value)
|
1918
1918
|
|
@@ -1928,7 +1928,7 @@ __Returns:__
|
|
1928
1928
|
|
1929
1929
|
--
|
1930
1930
|
|
1931
|
-
##### [finds_exact](https://github.com/appium/ruby_lib/blob/
|
1931
|
+
##### [finds_exact](https://github.com/appium/ruby_lib/blob/e8b0362ffcad51b85243b129e14f8cde3f9f562f/lib/appium_lib/android/element/generic.rb#L27) android
|
1932
1932
|
|
1933
1933
|
> def finds_exact(value)
|
1934
1934
|
|
@@ -1944,7 +1944,7 @@ __Returns:__
|
|
1944
1944
|
|
1945
1945
|
--
|
1946
1946
|
|
1947
|
-
##### [scroll_to](https://github.com/appium/ruby_lib/blob/
|
1947
|
+
##### [scroll_to](https://github.com/appium/ruby_lib/blob/e8b0362ffcad51b85243b129e14f8cde3f9f562f/lib/appium_lib/android/element/generic.rb#L40) android
|
1948
1948
|
|
1949
1949
|
> def scroll_to(text, scrollable_index = 0)
|
1950
1950
|
|
@@ -1962,7 +1962,7 @@ __Returns:__
|
|
1962
1962
|
|
1963
1963
|
--
|
1964
1964
|
|
1965
|
-
##### [scroll_to_exact](https://github.com/appium/ruby_lib/blob/
|
1965
|
+
##### [scroll_to_exact](https://github.com/appium/ruby_lib/blob/e8b0362ffcad51b85243b129e14f8cde3f9f562f/lib/appium_lib/android/element/generic.rb#L58) android
|
1966
1966
|
|
1967
1967
|
> def scroll_to_exact(text, scrollable_index = 0)
|
1968
1968
|
|
@@ -1980,7 +1980,7 @@ __Returns:__
|
|
1980
1980
|
|
1981
1981
|
--
|
1982
1982
|
|
1983
|
-
##### [for](https://github.com/appium/ruby_lib/blob/
|
1983
|
+
##### [for](https://github.com/appium/ruby_lib/blob/e8b0362ffcad51b85243b129e14f8cde3f9f562f/lib/appium_lib/android/espresso/bridge.rb#L7) android
|
1984
1984
|
|
1985
1985
|
> def self.for(target)
|
1986
1986
|
|
@@ -1988,7 +1988,7 @@ __Returns:__
|
|
1988
1988
|
|
1989
1989
|
--
|
1990
1990
|
|
1991
|
-
##### [EditText](https://github.com/appium/ruby_lib/blob/
|
1991
|
+
##### [EditText](https://github.com/appium/ruby_lib/blob/e8b0362ffcad51b85243b129e14f8cde3f9f562f/lib/appium_lib/android/element/textfield.rb#L3) android
|
1992
1992
|
|
1993
1993
|
> EditText = 'android.widget.EditText'.freeze
|
1994
1994
|
|
@@ -1996,7 +1996,7 @@ __Returns:__
|
|
1996
1996
|
|
1997
1997
|
--
|
1998
1998
|
|
1999
|
-
##### [textfield](https://github.com/appium/ruby_lib/blob/
|
1999
|
+
##### [textfield](https://github.com/appium/ruby_lib/blob/e8b0362ffcad51b85243b129e14f8cde3f9f562f/lib/appium_lib/android/element/textfield.rb#L9) android
|
2000
2000
|
|
2001
2001
|
> def textfield(value)
|
2002
2002
|
|
@@ -2013,7 +2013,7 @@ __Returns:__
|
|
2013
2013
|
|
2014
2014
|
--
|
2015
2015
|
|
2016
|
-
##### [textfields](https://github.com/appium/ruby_lib/blob/
|
2016
|
+
##### [textfields](https://github.com/appium/ruby_lib/blob/e8b0362ffcad51b85243b129e14f8cde3f9f562f/lib/appium_lib/android/element/textfield.rb#L18) android
|
2017
2017
|
|
2018
2018
|
> def textfields(value = false)
|
2019
2019
|
|
@@ -2030,7 +2030,7 @@ __Returns:__
|
|
2030
2030
|
|
2031
2031
|
--
|
2032
2032
|
|
2033
|
-
##### [first_textfield](https://github.com/appium/ruby_lib/blob/
|
2033
|
+
##### [first_textfield](https://github.com/appium/ruby_lib/blob/e8b0362ffcad51b85243b129e14f8cde3f9f562f/lib/appium_lib/android/element/textfield.rb#L25) android
|
2034
2034
|
|
2035
2035
|
> def first_textfield
|
2036
2036
|
|
@@ -2042,7 +2042,7 @@ __Returns:__
|
|
2042
2042
|
|
2043
2043
|
--
|
2044
2044
|
|
2045
|
-
##### [last_textfield](https://github.com/appium/ruby_lib/blob/
|
2045
|
+
##### [last_textfield](https://github.com/appium/ruby_lib/blob/e8b0362ffcad51b85243b129e14f8cde3f9f562f/lib/appium_lib/android/element/textfield.rb#L31) android
|
2046
2046
|
|
2047
2047
|
> def last_textfield
|
2048
2048
|
|
@@ -2054,7 +2054,7 @@ __Returns:__
|
|
2054
2054
|
|
2055
2055
|
--
|
2056
2056
|
|
2057
|
-
##### [textfield_exact](https://github.com/appium/ruby_lib/blob/
|
2057
|
+
##### [textfield_exact](https://github.com/appium/ruby_lib/blob/e8b0362ffcad51b85243b129e14f8cde3f9f562f/lib/appium_lib/android/element/textfield.rb#L38) android
|
2058
2058
|
|
2059
2059
|
> def textfield_exact(value)
|
2060
2060
|
|
@@ -2070,7 +2070,7 @@ __Returns:__
|
|
2070
2070
|
|
2071
2071
|
--
|
2072
2072
|
|
2073
|
-
##### [textfields_exact](https://github.com/appium/ruby_lib/blob/
|
2073
|
+
##### [textfields_exact](https://github.com/appium/ruby_lib/blob/e8b0362ffcad51b85243b129e14f8cde3f9f562f/lib/appium_lib/android/element/textfield.rb#L45) android
|
2074
2074
|
|
2075
2075
|
> def textfields_exact(value)
|
2076
2076
|
|
@@ -2086,7 +2086,7 @@ __Returns:__
|
|
2086
2086
|
|
2087
2087
|
--
|
2088
2088
|
|
2089
|
-
##### [for](https://github.com/appium/ruby_lib/blob/
|
2089
|
+
##### [for](https://github.com/appium/ruby_lib/blob/e8b0362ffcad51b85243b129e14f8cde3f9f562f/lib/appium_lib/android/uiautomator2/bridge.rb#L7) android
|
2090
2090
|
|
2091
2091
|
> def self.for(target)
|
2092
2092
|
|
@@ -2094,7 +2094,7 @@ __Returns:__
|
|
2094
2094
|
|
2095
2095
|
--
|
2096
2096
|
|
2097
|
-
##### [string_visible_contains](https://github.com/appium/ruby_lib/blob/
|
2097
|
+
##### [string_visible_contains](https://github.com/appium/ruby_lib/blob/e8b0362ffcad51b85243b129e14f8cde3f9f562f/lib/appium_lib/android/uiautomator2/helper.rb#L13) android
|
2098
2098
|
|
2099
2099
|
> def string_visible_contains(class_name, value)
|
2100
2100
|
|
@@ -2115,7 +2115,7 @@ __Returns:__
|
|
2115
2115
|
|
2116
2116
|
--
|
2117
2117
|
|
2118
|
-
##### [complex_find_contains](https://github.com/appium/ruby_lib/blob/
|
2118
|
+
##### [complex_find_contains](https://github.com/appium/ruby_lib/blob/e8b0362ffcad51b85243b129e14f8cde3f9f562f/lib/appium_lib/android/uiautomator2/helper.rb#L31) android
|
2119
2119
|
|
2120
2120
|
> def complex_find_contains(class_name, value)
|
2121
2121
|
|
@@ -2133,7 +2133,7 @@ __Returns:__
|
|
2133
2133
|
|
2134
2134
|
--
|
2135
2135
|
|
2136
|
-
##### [complex_finds_contains](https://github.com/appium/ruby_lib/blob/
|
2136
|
+
##### [complex_finds_contains](https://github.com/appium/ruby_lib/blob/e8b0362ffcad51b85243b129e14f8cde3f9f562f/lib/appium_lib/android/uiautomator2/helper.rb#L41) android
|
2137
2137
|
|
2138
2138
|
> def complex_finds_contains(class_name, value)
|
2139
2139
|
|
@@ -2151,7 +2151,7 @@ __Returns:__
|
|
2151
2151
|
|
2152
2152
|
--
|
2153
2153
|
|
2154
|
-
##### [complex_find_exact](https://github.com/appium/ruby_lib/blob/
|
2154
|
+
##### [complex_find_exact](https://github.com/appium/ruby_lib/blob/e8b0362ffcad51b85243b129e14f8cde3f9f562f/lib/appium_lib/android/uiautomator2/helper.rb#L69) android
|
2155
2155
|
|
2156
2156
|
> def complex_find_exact(class_name, value)
|
2157
2157
|
|
@@ -2169,7 +2169,7 @@ __Returns:__
|
|
2169
2169
|
|
2170
2170
|
--
|
2171
2171
|
|
2172
|
-
##### [complex_finds_exact](https://github.com/appium/ruby_lib/blob/
|
2172
|
+
##### [complex_finds_exact](https://github.com/appium/ruby_lib/blob/e8b0362ffcad51b85243b129e14f8cde3f9f562f/lib/appium_lib/android/uiautomator2/helper.rb#L79) android
|
2173
2173
|
|
2174
2174
|
> def complex_finds_exact(class_name, value)
|
2175
2175
|
|
@@ -2187,7 +2187,7 @@ __Returns:__
|
|
2187
2187
|
|
2188
2188
|
--
|
2189
2189
|
|
2190
|
-
##### [shell](https://github.com/appium/ruby_lib/blob/
|
2190
|
+
##### [shell](https://github.com/appium/ruby_lib/blob/e8b0362ffcad51b85243b129e14f8cde3f9f562f/lib/appium_lib/android/common/command/command.rb#L16) android
|
2191
2191
|
|
2192
2192
|
> def shell(command, arguments)
|
2193
2193
|
|
@@ -2202,7 +2202,47 @@ __Parameters:__
|
|
2202
2202
|
|
2203
2203
|
--
|
2204
2204
|
|
2205
|
-
##### [
|
2205
|
+
##### [start_logs_broadcast](https://github.com/appium/ruby_lib/blob/e8b0362ffcad51b85243b129e14f8cde3f9f562f/lib/appium_lib/android/common/command/command.rb#L30) android
|
2206
|
+
|
2207
|
+
> def start_logs_broadcast(logcat_file = 'logcat.log')
|
2208
|
+
|
2209
|
+
Starts Android logcat broadcast websocket
|
2210
|
+
|
2211
|
+
__Parameters:__
|
2212
|
+
|
2213
|
+
[String] logcat_file - A file path to write messages from a logcat WebSocket client
|
2214
|
+
|
2215
|
+
--
|
2216
|
+
|
2217
|
+
##### [stop_logs_broadcast](https://github.com/appium/ruby_lib/blob/e8b0362ffcad51b85243b129e14f8cde3f9f562f/lib/appium_lib/android/common/command/command.rb#L43) android
|
2218
|
+
|
2219
|
+
> def stop_logs_broadcast
|
2220
|
+
|
2221
|
+
Stop Android logcat broadcast websocket
|
2222
|
+
|
2223
|
+
--
|
2224
|
+
|
2225
|
+
##### [initialize](https://github.com/appium/ruby_lib/blob/e8b0362ffcad51b85243b129e14f8cde3f9f562f/lib/appium_lib/android/common/command/ws_logcat.rb#L5) android
|
2226
|
+
|
2227
|
+
> def initialize(url:, output_file: 'logcat.log')
|
2228
|
+
|
2229
|
+
|
2230
|
+
|
2231
|
+
__Returns:__
|
2232
|
+
|
2233
|
+
[WsLogcat] a new instance of WsLogcat
|
2234
|
+
|
2235
|
+
--
|
2236
|
+
|
2237
|
+
##### [handle_message_data](https://github.com/appium/ruby_lib/blob/e8b0362ffcad51b85243b129e14f8cde3f9f562f/lib/appium_lib/android/common/command/ws_logcat.rb#L10) android
|
2238
|
+
|
2239
|
+
> def handle_message_data(data)
|
2240
|
+
|
2241
|
+
|
2242
|
+
|
2243
|
+
--
|
2244
|
+
|
2245
|
+
##### [button](https://github.com/appium/ruby_lib/blob/e8b0362ffcad51b85243b129e14f8cde3f9f562f/lib/appium_lib/android/uiautomator2/element/button.rb#L9) android
|
2206
2246
|
|
2207
2247
|
> def button(value)
|
2208
2248
|
|
@@ -2219,7 +2259,7 @@ __Returns:__
|
|
2219
2259
|
|
2220
2260
|
--
|
2221
2261
|
|
2222
|
-
##### [buttons](https://github.com/appium/ruby_lib/blob/
|
2262
|
+
##### [buttons](https://github.com/appium/ruby_lib/blob/e8b0362ffcad51b85243b129e14f8cde3f9f562f/lib/appium_lib/android/uiautomator2/element/button.rb#L29) android
|
2223
2263
|
|
2224
2264
|
> def buttons(value = false)
|
2225
2265
|
|
@@ -2236,7 +2276,7 @@ __Returns:__
|
|
2236
2276
|
|
2237
2277
|
--
|
2238
2278
|
|
2239
|
-
##### [first_button](https://github.com/appium/ruby_lib/blob/
|
2279
|
+
##### [first_button](https://github.com/appium/ruby_lib/blob/e8b0362ffcad51b85243b129e14f8cde3f9f562f/lib/appium_lib/android/uiautomator2/element/button.rb#L36) android
|
2240
2280
|
|
2241
2281
|
> def first_button
|
2242
2282
|
|
@@ -2248,7 +2288,7 @@ __Returns:__
|
|
2248
2288
|
|
2249
2289
|
--
|
2250
2290
|
|
2251
|
-
##### [last_button](https://github.com/appium/ruby_lib/blob/
|
2291
|
+
##### [last_button](https://github.com/appium/ruby_lib/blob/e8b0362ffcad51b85243b129e14f8cde3f9f562f/lib/appium_lib/android/uiautomator2/element/button.rb#L43) android
|
2252
2292
|
|
2253
2293
|
> def last_button
|
2254
2294
|
|
@@ -2260,7 +2300,7 @@ __Returns:__
|
|
2260
2300
|
|
2261
2301
|
--
|
2262
2302
|
|
2263
|
-
##### [button_exact](https://github.com/appium/ruby_lib/blob/
|
2303
|
+
##### [button_exact](https://github.com/appium/ruby_lib/blob/e8b0362ffcad51b85243b129e14f8cde3f9f562f/lib/appium_lib/android/uiautomator2/element/button.rb#L60) android
|
2264
2304
|
|
2265
2305
|
> def button_exact(value)
|
2266
2306
|
|
@@ -2276,7 +2316,7 @@ __Returns:__
|
|
2276
2316
|
|
2277
2317
|
--
|
2278
2318
|
|
2279
|
-
##### [buttons_exact](https://github.com/appium/ruby_lib/blob/
|
2319
|
+
##### [buttons_exact](https://github.com/appium/ruby_lib/blob/e8b0362ffcad51b85243b129e14f8cde3f9f562f/lib/appium_lib/android/uiautomator2/element/button.rb#L68) android
|
2280
2320
|
|
2281
2321
|
> def buttons_exact(value)
|
2282
2322
|
|