appium_lib 9.7.5 → 9.8.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +25 -0
- data/appium_lib.gemspec +1 -3
- data/contributing.md +2 -0
- data/docs/android_docs.md +186 -180
- data/docs/ios_docs.md +238 -234
- data/docs/ios_xcuitest.md +1 -1
- data/lib/appium_lib/android/common/helper.rb +0 -30
- data/lib/appium_lib/appium.rb +3 -4
- data/lib/appium_lib/common/helper.rb +0 -1
- data/lib/appium_lib/common/http_client.rb +1 -1
- data/lib/appium_lib/common/touch_actions.rb +4 -4
- data/lib/appium_lib/common/wait.rb +1 -1
- data/lib/appium_lib/driver.rb +7 -8
- data/lib/appium_lib/ios/common/helper.rb +1 -8
- data/lib/appium_lib/version.rb +2 -2
- data/readme.md +29 -8
- data/release_notes.md +6 -0
- metadata +5 -77
- data/lib/appium_lib/core/android.rb +0 -5
- data/lib/appium_lib/core/android/device.rb +0 -142
- data/lib/appium_lib/core/android/espresso/bridge.rb +0 -18
- data/lib/appium_lib/core/android/search_context.rb +0 -17
- data/lib/appium_lib/core/android/touch.rb +0 -15
- data/lib/appium_lib/core/android/uiautomator1/bridge.rb +0 -18
- data/lib/appium_lib/core/android/uiautomator2/bridge.rb +0 -18
- data/lib/appium_lib/core/android_espresso.rb +0 -5
- data/lib/appium_lib/core/android_uiautomator2.rb +0 -5
- data/lib/appium_lib/core/common.rb +0 -6
- data/lib/appium_lib/core/common/base.rb +0 -8
- data/lib/appium_lib/core/common/base/bridge.rb +0 -47
- data/lib/appium_lib/core/common/base/capabilities.rb +0 -16
- data/lib/appium_lib/core/common/base/command.rb +0 -10
- data/lib/appium_lib/core/common/base/driver.rb +0 -40
- data/lib/appium_lib/core/common/base/http_default.rb +0 -12
- data/lib/appium_lib/core/common/base/search_context.rb +0 -89
- data/lib/appium_lib/core/common/base/wait.rb +0 -56
- data/lib/appium_lib/core/common/command.rb +0 -75
- data/lib/appium_lib/core/common/device.rb +0 -462
- data/lib/appium_lib/core/common/error.rb +0 -18
- data/lib/appium_lib/core/common/log.rb +0 -30
- data/lib/appium_lib/core/common/logger.rb +0 -35
- data/lib/appium_lib/core/core.rb +0 -67
- data/lib/appium_lib/core/device/multi_touch.rb +0 -48
- data/lib/appium_lib/core/device/touch_actions.rb +0 -191
- data/lib/appium_lib/core/driver.rb +0 -417
- data/lib/appium_lib/core/ios.rb +0 -7
- data/lib/appium_lib/core/ios/device.rb +0 -44
- data/lib/appium_lib/core/ios/search_context.rb +0 -27
- data/lib/appium_lib/core/ios/touch.rb +0 -16
- data/lib/appium_lib/core/ios/uiautomation/bridge.rb +0 -20
- data/lib/appium_lib/core/ios/uiautomation/patch.rb +0 -20
- data/lib/appium_lib/core/ios/xcuitest/bridge.rb +0 -20
- data/lib/appium_lib/core/ios/xcuitest/device.rb +0 -59
- data/lib/appium_lib/core/ios/xcuitest/search_context.rb +0 -40
- data/lib/appium_lib/core/ios_xcuitest.rb +0 -8
- data/lib/appium_lib/core/patch.rb +0 -56
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d9adf4a8f02dbceb8d4181990b36b3f0eb01e835
|
4
|
+
data.tar.gz: c6682f769f5c0150e35bb1fa7ce05850c32609c4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 480209da48b469d2e29fe484c73be27c656068ebe2df2e8a1d87a2da9558aad3bf2c9b94e4795380d32dbe583480dfb0d96dc7e56c8d097e770064b04931fbf1
|
7
|
+
data.tar.gz: fc208283901263996c639f5ef66a1e6b7fe45dbfea315a25cb159db0a765fdfce4e8304c2f6699dc84d54197ae1606485787bf5def33932a665cecb82bf2fe22
|
data/CHANGELOG.md
CHANGED
@@ -3,6 +3,31 @@ 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
|
+
|
7
|
+
## v9.8.1
|
8
|
+
### 1. Enhancements
|
9
|
+
|
10
|
+
### 2. Bug fixes
|
11
|
+
- Fix creating session for the new W3C createSession
|
12
|
+
- https://github.com/appium/appium/pull/9791
|
13
|
+
|
14
|
+
### 3. Deprecations
|
15
|
+
|
16
|
+
## v9.8.0
|
17
|
+
|
18
|
+
### 1. Enhancements
|
19
|
+
- Add start/stop recording screen [#674](https://github.com/appium/ruby_lib/issues/674)
|
20
|
+
- replace core directory to core library [#665](https://github.com/appium/ruby_lib/issues/665), [#718](https://github.com/appium/ruby_lib/pull/718)
|
21
|
+
- No change for users
|
22
|
+
|
23
|
+
### 2. Bug fixes
|
24
|
+
|
25
|
+
### 3. Deprecations
|
26
|
+
- `ap_` prefixed logging
|
27
|
+
- `source_window`: use `get_source` instead
|
28
|
+
- `ios_version`: use `platform_version` instead
|
29
|
+
- `current_app`: use `current_activity`, for example to know current app.
|
30
|
+
|
6
31
|
## v9.7.5
|
7
32
|
|
8
33
|
### 1. Enhancements
|
data/appium_lib.gemspec
CHANGED
@@ -13,9 +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 '
|
17
|
-
s.add_runtime_dependency 'awesome_print', '~> 1.8'
|
18
|
-
s.add_runtime_dependency 'json', '>= 1.8'
|
16
|
+
s.add_runtime_dependency 'appium_lib_core', '~> 1.1'
|
19
17
|
s.add_runtime_dependency 'tomlrb', '~> 1.1'
|
20
18
|
s.add_runtime_dependency 'nokogiri', '~> 1.6', '>= 1.6.6'
|
21
19
|
|
data/contributing.md
CHANGED
@@ -2,6 +2,8 @@
|
|
2
2
|
|
3
3
|
For features or bug fixes, please submit a pull request. Ideally there would be a test as well. The remainder of this doc details how to run the tests.
|
4
4
|
|
5
|
+
If you'd like to adding new driver commands, please refer to https://github.com/appium/ruby_lib_core
|
6
|
+
|
5
7
|
## Tests
|
6
8
|
|
7
9
|
- Tests are run against [appium's master branch](https://github.com/appium/appium/blob/master/docs/en/contributing-to-appium/appium-from-source.md)
|
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/5588ca7d9e97759888dca3bf4f2f273c2131fc08/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/5588ca7d9e97759888dca3bf4f2f273c2131fc08/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/5588ca7d9e97759888dca3bf4f2f273c2131fc08/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/5588ca7d9e97759888dca3bf4f2f273c2131fc08/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/5588ca7d9e97759888dca3bf4f2f273c2131fc08/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/5588ca7d9e97759888dca3bf4f2f273c2131fc08/lib/appium_lib/driver.rb#L24)
|
120
120
|
|
121
121
|
> def global_webdriver_http_sleep
|
122
122
|
|
@@ -124,7 +124,7 @@ The amount to sleep in seconds before every webdriver http call.
|
|
124
124
|
|
125
125
|
--
|
126
126
|
|
127
|
-
##### [global_webdriver_http_sleep=](https://github.com/appium/ruby_lib/blob/
|
127
|
+
##### [global_webdriver_http_sleep=](https://github.com/appium/ruby_lib/blob/5588ca7d9e97759888dca3bf4f2f273c2131fc08/lib/appium_lib/driver.rb#L24)
|
128
128
|
|
129
129
|
> def global_webdriver_http_sleep=(value)
|
130
130
|
|
@@ -132,7 +132,7 @@ The amount to sleep in seconds before every webdriver http call.
|
|
132
132
|
|
133
133
|
--
|
134
134
|
|
135
|
-
##### [sauce](https://github.com/appium/ruby_lib/blob/
|
135
|
+
##### [sauce](https://github.com/appium/ruby_lib/blob/5588ca7d9e97759888dca3bf4f2f273c2131fc08/lib/appium_lib/driver.rb#L27)
|
136
136
|
|
137
137
|
> def sauce
|
138
138
|
|
@@ -140,7 +140,7 @@ SauceLab's settings
|
|
140
140
|
|
141
141
|
--
|
142
142
|
|
143
|
-
##### [sauce_username](https://github.com/appium/ruby_lib/blob/
|
143
|
+
##### [sauce_username](https://github.com/appium/ruby_lib/blob/5588ca7d9e97759888dca3bf4f2f273c2131fc08/lib/appium_lib/driver.rb#L30)
|
144
144
|
|
145
145
|
> def sauce_username
|
146
146
|
|
@@ -149,7 +149,7 @@ same as @sauce.username
|
|
149
149
|
|
150
150
|
--
|
151
151
|
|
152
|
-
##### [sauce_access_key](https://github.com/appium/ruby_lib/blob/
|
152
|
+
##### [sauce_access_key](https://github.com/appium/ruby_lib/blob/5588ca7d9e97759888dca3bf4f2f273c2131fc08/lib/appium_lib/driver.rb#L33)
|
153
153
|
|
154
154
|
> def sauce_access_key
|
155
155
|
|
@@ -158,7 +158,7 @@ same as @sauce.access_key
|
|
158
158
|
|
159
159
|
--
|
160
160
|
|
161
|
-
##### [sauce_endpoint](https://github.com/appium/ruby_lib/blob/
|
161
|
+
##### [sauce_endpoint](https://github.com/appium/ruby_lib/blob/5588ca7d9e97759888dca3bf4f2f273c2131fc08/lib/appium_lib/driver.rb#L36)
|
162
162
|
|
163
163
|
> def sauce_endpoint
|
164
164
|
|
@@ -167,15 +167,16 @@ 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/5588ca7d9e97759888dca3bf4f2f273c2131fc08/lib/appium_lib/driver.rb#L40)
|
171
171
|
|
172
172
|
> def caps
|
173
173
|
|
174
174
|
from Core
|
175
|
+
read http://www.rubydoc.info/github/appium/ruby_lib_core/Appium/Core/Driver
|
175
176
|
|
176
177
|
--
|
177
178
|
|
178
|
-
##### [custom_url](https://github.com/appium/ruby_lib/blob/
|
179
|
+
##### [custom_url](https://github.com/appium/ruby_lib/blob/5588ca7d9e97759888dca3bf4f2f273c2131fc08/lib/appium_lib/driver.rb#L41)
|
179
180
|
|
180
181
|
> def custom_url
|
181
182
|
|
@@ -183,7 +184,7 @@ Returns the value of attribute custom_url
|
|
183
184
|
|
184
185
|
--
|
185
186
|
|
186
|
-
##### [export_session](https://github.com/appium/ruby_lib/blob/
|
187
|
+
##### [export_session](https://github.com/appium/ruby_lib/blob/5588ca7d9e97759888dca3bf4f2f273c2131fc08/lib/appium_lib/driver.rb#L42)
|
187
188
|
|
188
189
|
> def export_session
|
189
190
|
|
@@ -191,7 +192,7 @@ Returns the value of attribute export_session
|
|
191
192
|
|
192
193
|
--
|
193
194
|
|
194
|
-
##### [export_session_path](https://github.com/appium/ruby_lib/blob/
|
195
|
+
##### [export_session_path](https://github.com/appium/ruby_lib/blob/5588ca7d9e97759888dca3bf4f2f273c2131fc08/lib/appium_lib/driver.rb#L43)
|
195
196
|
|
196
197
|
> def export_session_path
|
197
198
|
|
@@ -199,7 +200,7 @@ Returns the value of attribute export_session_path
|
|
199
200
|
|
200
201
|
--
|
201
202
|
|
202
|
-
##### [default_wait](https://github.com/appium/ruby_lib/blob/
|
203
|
+
##### [default_wait](https://github.com/appium/ruby_lib/blob/5588ca7d9e97759888dca3bf4f2f273c2131fc08/lib/appium_lib/driver.rb#L44)
|
203
204
|
|
204
205
|
> def default_wait
|
205
206
|
|
@@ -207,7 +208,7 @@ Returns the value of attribute default_wait
|
|
207
208
|
|
208
209
|
--
|
209
210
|
|
210
|
-
##### [appium_port](https://github.com/appium/ruby_lib/blob/
|
211
|
+
##### [appium_port](https://github.com/appium/ruby_lib/blob/5588ca7d9e97759888dca3bf4f2f273c2131fc08/lib/appium_lib/driver.rb#L45)
|
211
212
|
|
212
213
|
> def appium_port
|
213
214
|
|
@@ -215,7 +216,7 @@ Returns the value of attribute appium_port
|
|
215
216
|
|
216
217
|
--
|
217
218
|
|
218
|
-
##### [appium_device](https://github.com/appium/ruby_lib/blob/
|
219
|
+
##### [appium_device](https://github.com/appium/ruby_lib/blob/5588ca7d9e97759888dca3bf4f2f273c2131fc08/lib/appium_lib/driver.rb#L46)
|
219
220
|
|
220
221
|
> def appium_device
|
221
222
|
|
@@ -223,7 +224,7 @@ Returns the value of attribute appium_device
|
|
223
224
|
|
224
225
|
--
|
225
226
|
|
226
|
-
##### [automation_name](https://github.com/appium/ruby_lib/blob/
|
227
|
+
##### [automation_name](https://github.com/appium/ruby_lib/blob/5588ca7d9e97759888dca3bf4f2f273c2131fc08/lib/appium_lib/driver.rb#L47)
|
227
228
|
|
228
229
|
> def automation_name
|
229
230
|
|
@@ -231,7 +232,7 @@ Returns the value of attribute automation_name
|
|
231
232
|
|
232
233
|
--
|
233
234
|
|
234
|
-
##### [listener](https://github.com/appium/ruby_lib/blob/
|
235
|
+
##### [listener](https://github.com/appium/ruby_lib/blob/5588ca7d9e97759888dca3bf4f2f273c2131fc08/lib/appium_lib/driver.rb#L48)
|
235
236
|
|
236
237
|
> def listener
|
237
238
|
|
@@ -239,7 +240,7 @@ Returns the value of attribute listener
|
|
239
240
|
|
240
241
|
--
|
241
242
|
|
242
|
-
##### [http_client](https://github.com/appium/ruby_lib/blob/
|
243
|
+
##### [http_client](https://github.com/appium/ruby_lib/blob/5588ca7d9e97759888dca3bf4f2f273c2131fc08/lib/appium_lib/driver.rb#L49)
|
243
244
|
|
244
245
|
> def http_client
|
245
246
|
|
@@ -247,7 +248,7 @@ Returns the value of attribute http_client
|
|
247
248
|
|
248
249
|
--
|
249
250
|
|
250
|
-
##### [appium_wait_timeout](https://github.com/appium/ruby_lib/blob/
|
251
|
+
##### [appium_wait_timeout](https://github.com/appium/ruby_lib/blob/5588ca7d9e97759888dca3bf4f2f273c2131fc08/lib/appium_lib/driver.rb#L50)
|
251
252
|
|
252
253
|
> def appium_wait_timeout
|
253
254
|
|
@@ -255,7 +256,7 @@ Returns the value of attribute appium_wait_timeout
|
|
255
256
|
|
256
257
|
--
|
257
258
|
|
258
|
-
##### [appium_wait_interval](https://github.com/appium/ruby_lib/blob/
|
259
|
+
##### [appium_wait_interval](https://github.com/appium/ruby_lib/blob/5588ca7d9e97759888dca3bf4f2f273c2131fc08/lib/appium_lib/driver.rb#L51)
|
259
260
|
|
260
261
|
> def appium_wait_interval
|
261
262
|
|
@@ -263,7 +264,7 @@ Returns the value of attribute appium_wait_interval
|
|
263
264
|
|
264
265
|
--
|
265
266
|
|
266
|
-
##### [appium_server_status](https://github.com/appium/ruby_lib/blob/
|
267
|
+
##### [appium_server_status](https://github.com/appium/ruby_lib/blob/5588ca7d9e97759888dca3bf4f2f273c2131fc08/lib/appium_lib/driver.rb#L54)
|
267
268
|
|
268
269
|
> def appium_server_status
|
269
270
|
|
@@ -271,7 +272,7 @@ Appium's server version
|
|
271
272
|
|
272
273
|
--
|
273
274
|
|
274
|
-
##### [appium_debug](https://github.com/appium/ruby_lib/blob/
|
275
|
+
##### [appium_debug](https://github.com/appium/ruby_lib/blob/5588ca7d9e97759888dca3bf4f2f273c2131fc08/lib/appium_lib/driver.rb#L56)
|
275
276
|
|
276
277
|
> def appium_debug
|
277
278
|
|
@@ -279,7 +280,7 @@ Boolean debug mode for the Appium Ruby bindings
|
|
279
280
|
|
280
281
|
--
|
281
282
|
|
282
|
-
##### [driver](https://github.com/appium/ruby_lib/blob/
|
283
|
+
##### [driver](https://github.com/appium/ruby_lib/blob/5588ca7d9e97759888dca3bf4f2f273c2131fc08/lib/appium_lib/driver.rb#L59)
|
283
284
|
|
284
285
|
> def driver
|
285
286
|
|
@@ -291,7 +292,7 @@ __Returns:__
|
|
291
292
|
|
292
293
|
--
|
293
294
|
|
294
|
-
##### [core](https://github.com/appium/ruby_lib/blob/
|
295
|
+
##### [core](https://github.com/appium/ruby_lib/blob/5588ca7d9e97759888dca3bf4f2f273c2131fc08/lib/appium_lib/driver.rb#L61)
|
295
296
|
|
296
297
|
> def core
|
297
298
|
|
@@ -299,7 +300,7 @@ Instance of Appium::Core::Driver
|
|
299
300
|
|
300
301
|
--
|
301
302
|
|
302
|
-
##### [initialize](https://github.com/appium/ruby_lib/blob/
|
303
|
+
##### [initialize](https://github.com/appium/ruby_lib/blob/5588ca7d9e97759888dca3bf4f2f273c2131fc08/lib/appium_lib/driver.rb#L125)
|
303
304
|
|
304
305
|
> def initialize(opts = {}, global_driver = nil)
|
305
306
|
|
@@ -318,7 +319,7 @@ __Returns:__
|
|
318
319
|
|
319
320
|
--
|
320
321
|
|
321
|
-
##### [driver_attributes](https://github.com/appium/ruby_lib/blob/
|
322
|
+
##### [driver_attributes](https://github.com/appium/ruby_lib/blob/5588ca7d9e97759888dca3bf4f2f273c2131fc08/lib/appium_lib/driver.rb#L235)
|
322
323
|
|
323
324
|
> def driver_attributes
|
324
325
|
|
@@ -326,7 +327,7 @@ Returns a hash of the driver attributes
|
|
326
327
|
|
327
328
|
--
|
328
329
|
|
329
|
-
##### [device_is_android?](https://github.com/appium/ruby_lib/blob/
|
330
|
+
##### [device_is_android?](https://github.com/appium/ruby_lib/blob/5588ca7d9e97759888dca3bf4f2f273c2131fc08/lib/appium_lib/driver.rb#L255)
|
330
331
|
|
331
332
|
> def device_is_android?
|
332
333
|
|
@@ -338,7 +339,7 @@ __Returns:__
|
|
338
339
|
|
339
340
|
--
|
340
341
|
|
341
|
-
##### [device_is_ios?](https://github.com/appium/ruby_lib/blob/
|
342
|
+
##### [device_is_ios?](https://github.com/appium/ruby_lib/blob/5588ca7d9e97759888dca3bf4f2f273c2131fc08/lib/appium_lib/driver.rb#L259)
|
342
343
|
|
343
344
|
> def device_is_ios?
|
344
345
|
|
@@ -350,7 +351,7 @@ __Returns:__
|
|
350
351
|
|
351
352
|
--
|
352
353
|
|
353
|
-
##### [device_is_windows?](https://github.com/appium/ruby_lib/blob/
|
354
|
+
##### [device_is_windows?](https://github.com/appium/ruby_lib/blob/5588ca7d9e97759888dca3bf4f2f273c2131fc08/lib/appium_lib/driver.rb#L263)
|
354
355
|
|
355
356
|
> def device_is_windows?
|
356
357
|
|
@@ -362,7 +363,7 @@ __Returns:__
|
|
362
363
|
|
363
364
|
--
|
364
365
|
|
365
|
-
##### [automation_name_is_uiautomator2?](https://github.com/appium/ruby_lib/blob/
|
366
|
+
##### [automation_name_is_uiautomator2?](https://github.com/appium/ruby_lib/blob/5588ca7d9e97759888dca3bf4f2f273c2131fc08/lib/appium_lib/driver.rb#L269)
|
366
367
|
|
367
368
|
> def automation_name_is_uiautomator2?
|
368
369
|
|
@@ -374,7 +375,7 @@ __Returns:__
|
|
374
375
|
|
375
376
|
--
|
376
377
|
|
377
|
-
##### [automation_name_is_espresso?](https://github.com/appium/ruby_lib/blob/
|
378
|
+
##### [automation_name_is_espresso?](https://github.com/appium/ruby_lib/blob/5588ca7d9e97759888dca3bf4f2f273c2131fc08/lib/appium_lib/driver.rb#L275)
|
378
379
|
|
379
380
|
> def automation_name_is_espresso?
|
380
381
|
|
@@ -386,7 +387,7 @@ __Returns:__
|
|
386
387
|
|
387
388
|
--
|
388
389
|
|
389
|
-
##### [automation_name_is_xcuitest?](https://github.com/appium/ruby_lib/blob/
|
390
|
+
##### [automation_name_is_xcuitest?](https://github.com/appium/ruby_lib/blob/5588ca7d9e97759888dca3bf4f2f273c2131fc08/lib/appium_lib/driver.rb#L281)
|
390
391
|
|
391
392
|
> def automation_name_is_xcuitest?
|
392
393
|
|
@@ -398,7 +399,7 @@ __Returns:__
|
|
398
399
|
|
399
400
|
--
|
400
401
|
|
401
|
-
##### [check_server_version_xcuitest](https://github.com/appium/ruby_lib/blob/
|
402
|
+
##### [check_server_version_xcuitest](https://github.com/appium/ruby_lib/blob/5588ca7d9e97759888dca3bf4f2f273c2131fc08/lib/appium_lib/driver.rb#L288)
|
402
403
|
|
403
404
|
> def check_server_version_xcuitest
|
404
405
|
|
@@ -411,7 +412,7 @@ __Returns:__
|
|
411
412
|
|
412
413
|
--
|
413
414
|
|
414
|
-
##### [appium_server_version](https://github.com/appium/ruby_lib/blob/
|
415
|
+
##### [appium_server_version](https://github.com/appium/ruby_lib/blob/5588ca7d9e97759888dca3bf4f2f273c2131fc08/lib/appium_lib/driver.rb#L309)
|
415
416
|
|
416
417
|
> def appium_server_version
|
417
418
|
|
@@ -423,7 +424,19 @@ __Returns:__
|
|
423
424
|
|
424
425
|
--
|
425
426
|
|
426
|
-
##### [
|
427
|
+
##### [remote_status](https://github.com/appium/ruby_lib/blob/5588ca7d9e97759888dca3bf4f2f273c2131fc08/lib/appium_lib/driver.rb#L316)
|
428
|
+
|
429
|
+
> def appium_server_version
|
430
|
+
|
431
|
+
Returns the server's version info
|
432
|
+
|
433
|
+
__Returns:__
|
434
|
+
|
435
|
+
[Hash]
|
436
|
+
|
437
|
+
--
|
438
|
+
|
439
|
+
##### [platform_version](https://github.com/appium/ruby_lib/blob/5588ca7d9e97759888dca3bf4f2f273c2131fc08/lib/appium_lib/driver.rb#L320)
|
427
440
|
|
428
441
|
> def platform_version
|
429
442
|
|
@@ -435,7 +448,7 @@ __Returns:__
|
|
435
448
|
|
436
449
|
--
|
437
450
|
|
438
|
-
##### [appium_client_version](https://github.com/appium/ruby_lib/blob/
|
451
|
+
##### [appium_client_version](https://github.com/appium/ruby_lib/blob/5588ca7d9e97759888dca3bf4f2f273c2131fc08/lib/appium_lib/driver.rb#L333)
|
439
452
|
|
440
453
|
> def appium_client_version
|
441
454
|
|
@@ -447,7 +460,7 @@ __Returns:__
|
|
447
460
|
|
448
461
|
--
|
449
462
|
|
450
|
-
##### [absolute_app_path](https://github.com/appium/ruby_lib/blob/
|
463
|
+
##### [absolute_app_path](https://github.com/appium/ruby_lib/blob/5588ca7d9e97759888dca3bf4f2f273c2131fc08/lib/appium_lib/driver.rb#L345)
|
451
464
|
|
452
465
|
> def self.absolute_app_path(opts)
|
453
466
|
|
@@ -464,7 +477,7 @@ __Returns:__
|
|
464
477
|
|
465
478
|
--
|
466
479
|
|
467
|
-
##### [server_url](https://github.com/appium/ruby_lib/blob/
|
480
|
+
##### [server_url](https://github.com/appium/ruby_lib/blob/5588ca7d9e97759888dca3bf4f2f273c2131fc08/lib/appium_lib/driver.rb#L378)
|
468
481
|
|
469
482
|
> def server_url
|
470
483
|
|
@@ -476,7 +489,7 @@ __Returns:__
|
|
476
489
|
|
477
490
|
--
|
478
491
|
|
479
|
-
##### [restart](https://github.com/appium/ruby_lib/blob/
|
492
|
+
##### [restart](https://github.com/appium/ruby_lib/blob/5588ca7d9e97759888dca3bf4f2f273c2131fc08/lib/appium_lib/driver.rb#L386)
|
480
493
|
|
481
494
|
> def restart
|
482
495
|
|
@@ -488,7 +501,7 @@ __Returns:__
|
|
488
501
|
|
489
502
|
--
|
490
503
|
|
491
|
-
##### [screenshot](https://github.com/appium/ruby_lib/blob/
|
504
|
+
##### [screenshot](https://github.com/appium/ruby_lib/blob/5588ca7d9e97759888dca3bf4f2f273c2131fc08/lib/appium_lib/driver.rb#L399)
|
492
505
|
|
493
506
|
> def screenshot(png_save_path)
|
494
507
|
|
@@ -504,7 +517,7 @@ __Returns:__
|
|
504
517
|
|
505
518
|
--
|
506
519
|
|
507
|
-
##### [driver_quit](https://github.com/appium/ruby_lib/blob/
|
520
|
+
##### [driver_quit](https://github.com/appium/ruby_lib/blob/5588ca7d9e97759888dca3bf4f2f273c2131fc08/lib/appium_lib/driver.rb#L406)
|
508
521
|
|
509
522
|
> def driver_quit
|
510
523
|
|
@@ -516,7 +529,7 @@ __Returns:__
|
|
516
529
|
|
517
530
|
--
|
518
531
|
|
519
|
-
##### [quit_driver](https://github.com/appium/ruby_lib/blob/
|
532
|
+
##### [quit_driver](https://github.com/appium/ruby_lib/blob/5588ca7d9e97759888dca3bf4f2f273c2131fc08/lib/appium_lib/driver.rb#L409)
|
520
533
|
|
521
534
|
> def driver_quit
|
522
535
|
|
@@ -528,7 +541,7 @@ __Returns:__
|
|
528
541
|
|
529
542
|
--
|
530
543
|
|
531
|
-
##### [window_size](https://github.com/appium/ruby_lib/blob/
|
544
|
+
##### [window_size](https://github.com/appium/ruby_lib/blob/5588ca7d9e97759888dca3bf4f2f273c2131fc08/lib/appium_lib/driver.rb#L420)
|
532
545
|
|
533
546
|
> def window_size
|
534
547
|
|
@@ -540,13 +553,16 @@ __Returns:__
|
|
540
553
|
|
541
554
|
--
|
542
555
|
|
543
|
-
##### [start_driver](https://github.com/appium/ruby_lib/blob/
|
556
|
+
##### [start_driver](https://github.com/appium/ruby_lib/blob/5588ca7d9e97759888dca3bf4f2f273c2131fc08/lib/appium_lib/driver.rb#L452)
|
544
557
|
|
545
558
|
> def start_driver(http_client_ops =
|
546
559
|
|
547
560
|
Creates a new global driver and quits the old one if it exists.
|
548
561
|
You can customise http_client as the following
|
549
562
|
|
563
|
+
Read http://www.rubydoc.info/github/appium/ruby_lib_core/Appium/Core/Device to understand more what the driver
|
564
|
+
can call instance methods.
|
565
|
+
|
550
566
|
__Parameters:__
|
551
567
|
|
552
568
|
[Hash] http_client_ops - a customizable set of options
|
@@ -557,7 +573,7 @@ __Returns:__
|
|
557
573
|
|
558
574
|
--
|
559
575
|
|
560
|
-
##### [set_implicit_wait](https://github.com/appium/ruby_lib/blob/
|
576
|
+
##### [set_implicit_wait](https://github.com/appium/ruby_lib/blob/5588ca7d9e97759888dca3bf4f2f273c2131fc08/lib/appium_lib/driver.rb#L476)
|
561
577
|
|
562
578
|
> def set_implicit_wait(wait)
|
563
579
|
|
@@ -565,7 +581,7 @@ To ignore error for Espresso Driver
|
|
565
581
|
|
566
582
|
--
|
567
583
|
|
568
|
-
##### [no_wait](https://github.com/appium/ruby_lib/blob/
|
584
|
+
##### [no_wait](https://github.com/appium/ruby_lib/blob/5588ca7d9e97759888dca3bf4f2f273c2131fc08/lib/appium_lib/driver.rb#L486)
|
569
585
|
|
570
586
|
> def no_wait
|
571
587
|
|
@@ -573,7 +589,7 @@ Set implicit wait to zero.
|
|
573
589
|
|
574
590
|
--
|
575
591
|
|
576
|
-
##### [set_wait](https://github.com/appium/ruby_lib/blob/
|
592
|
+
##### [set_wait](https://github.com/appium/ruby_lib/blob/5588ca7d9e97759888dca3bf4f2f273c2131fc08/lib/appium_lib/driver.rb#L500)
|
577
593
|
|
578
594
|
> def set_wait(timeout = nil)
|
579
595
|
|
@@ -589,7 +605,7 @@ __Returns:__
|
|
589
605
|
|
590
606
|
--
|
591
607
|
|
592
|
-
##### [exists](https://github.com/appium/ruby_lib/blob/
|
608
|
+
##### [exists](https://github.com/appium/ruby_lib/blob/5588ca7d9e97759888dca3bf4f2f273c2131fc08/lib/appium_lib/driver.rb#L517)
|
593
609
|
|
594
610
|
> def exists(pre_check = 0, post_check = @core.default_wait)
|
595
611
|
|
@@ -613,7 +629,7 @@ __Returns:__
|
|
613
629
|
|
614
630
|
--
|
615
631
|
|
616
|
-
##### [execute_script](https://github.com/appium/ruby_lib/blob/
|
632
|
+
##### [execute_script](https://github.com/appium/ruby_lib/blob/5588ca7d9e97759888dca3bf4f2f273c2131fc08/lib/appium_lib/driver.rb#L541)
|
617
633
|
|
618
634
|
> def execute_script(script, *args)
|
619
635
|
|
@@ -631,7 +647,7 @@ __Returns:__
|
|
631
647
|
|
632
648
|
--
|
633
649
|
|
634
|
-
##### [find_elements](https://github.com/appium/ruby_lib/blob/
|
650
|
+
##### [find_elements](https://github.com/appium/ruby_lib/blob/5588ca7d9e97759888dca3bf4f2f273c2131fc08/lib/appium_lib/driver.rb#L563)
|
635
651
|
|
636
652
|
> def find_elements(*args)
|
637
653
|
|
@@ -651,7 +667,7 @@ __Returns:__
|
|
651
667
|
|
652
668
|
--
|
653
669
|
|
654
|
-
##### [find_element](https://github.com/appium/ruby_lib/blob/
|
670
|
+
##### [find_element](https://github.com/appium/ruby_lib/blob/5588ca7d9e97759888dca3bf4f2f273c2131fc08/lib/appium_lib/driver.rb#L578)
|
655
671
|
|
656
672
|
> def find_element(*args)
|
657
673
|
|
@@ -669,7 +685,7 @@ __Returns:__
|
|
669
685
|
|
670
686
|
--
|
671
687
|
|
672
|
-
##### [set_location](https://github.com/appium/ruby_lib/blob/
|
688
|
+
##### [set_location](https://github.com/appium/ruby_lib/blob/5588ca7d9e97759888dca3bf4f2f273c2131fc08/lib/appium_lib/driver.rb#L591)
|
673
689
|
|
674
690
|
> def set_location(opts = {})
|
675
691
|
|
@@ -685,7 +701,7 @@ __Returns:__
|
|
685
701
|
|
686
702
|
--
|
687
703
|
|
688
|
-
##### [x](https://github.com/appium/ruby_lib/blob/
|
704
|
+
##### [x](https://github.com/appium/ruby_lib/blob/5588ca7d9e97759888dca3bf4f2f273c2131fc08/lib/appium_lib/driver.rb#L601)
|
689
705
|
|
690
706
|
> def x
|
691
707
|
|
@@ -698,7 +714,7 @@ __Returns:__
|
|
698
714
|
|
699
715
|
--
|
700
716
|
|
701
|
-
##### [username](https://github.com/appium/ruby_lib/blob/
|
717
|
+
##### [username](https://github.com/appium/ruby_lib/blob/5588ca7d9e97759888dca3bf4f2f273c2131fc08/lib/appium_lib/sauce_labs.rb#L4)
|
702
718
|
|
703
719
|
> def username
|
704
720
|
|
@@ -706,7 +722,7 @@ Username for use on Sauce Labs. Set `false` to disable Sauce, even when SAUCE_US
|
|
706
722
|
|
707
723
|
--
|
708
724
|
|
709
|
-
##### [access_key](https://github.com/appium/ruby_lib/blob/
|
725
|
+
##### [access_key](https://github.com/appium/ruby_lib/blob/5588ca7d9e97759888dca3bf4f2f273c2131fc08/lib/appium_lib/sauce_labs.rb#L6)
|
710
726
|
|
711
727
|
> def access_key
|
712
728
|
|
@@ -714,7 +730,7 @@ Access Key for use on Sauce Labs. Set `false` to disable Sauce, even when SAUCE_
|
|
714
730
|
|
715
731
|
--
|
716
732
|
|
717
|
-
##### [endpoint](https://github.com/appium/ruby_lib/blob/
|
733
|
+
##### [endpoint](https://github.com/appium/ruby_lib/blob/5588ca7d9e97759888dca3bf4f2f273c2131fc08/lib/appium_lib/sauce_labs.rb#L8)
|
718
734
|
|
719
735
|
> def endpoint
|
720
736
|
|
@@ -722,7 +738,7 @@ Override the Sauce Appium endpoint to allow e.g. TestObject tests. Default is 'o
|
|
722
738
|
|
723
739
|
--
|
724
740
|
|
725
|
-
##### [initialize](https://github.com/appium/ruby_lib/blob/
|
741
|
+
##### [initialize](https://github.com/appium/ruby_lib/blob/5588ca7d9e97759888dca3bf4f2f273c2131fc08/lib/appium_lib/sauce_labs.rb#L33)
|
726
742
|
|
727
743
|
> def initialize(appium_lib_opts)
|
728
744
|
|
@@ -738,7 +754,7 @@ __Returns:__
|
|
738
754
|
|
739
755
|
--
|
740
756
|
|
741
|
-
##### [sauce_server_url?](https://github.com/appium/ruby_lib/blob/
|
757
|
+
##### [sauce_server_url?](https://github.com/appium/ruby_lib/blob/5588ca7d9e97759888dca3bf4f2f273c2131fc08/lib/appium_lib/sauce_labs.rb#L53)
|
742
758
|
|
743
759
|
> def sauce_server_url?
|
744
760
|
|
@@ -750,7 +766,7 @@ __Returns:__
|
|
750
766
|
|
751
767
|
--
|
752
768
|
|
753
|
-
##### [server_url](https://github.com/appium/ruby_lib/blob/
|
769
|
+
##### [server_url](https://github.com/appium/ruby_lib/blob/5588ca7d9e97759888dca3bf4f2f273c2131fc08/lib/appium_lib/sauce_labs.rb#L66)
|
754
770
|
|
755
771
|
> def server_url
|
756
772
|
|
@@ -762,7 +778,7 @@ __Returns:__
|
|
762
778
|
|
763
779
|
--
|
764
780
|
|
765
|
-
##### [get_log](https://github.com/appium/ruby_lib/blob/
|
781
|
+
##### [get_log](https://github.com/appium/ruby_lib/blob/5588ca7d9e97759888dca3bf4f2f273c2131fc08/lib/appium_lib/common/log.rb#L11)
|
766
782
|
|
767
783
|
> def get_log(type)
|
768
784
|
|
@@ -778,7 +794,7 @@ __Returns:__
|
|
778
794
|
|
779
795
|
--
|
780
796
|
|
781
|
-
##### [get_available_log_types](https://github.com/appium/ruby_lib/blob/
|
797
|
+
##### [get_available_log_types](https://github.com/appium/ruby_lib/blob/5588ca7d9e97759888dca3bf4f2f273c2131fc08/lib/appium_lib/common/log.rb#L23)
|
782
798
|
|
783
799
|
> def get_available_log_types
|
784
800
|
|
@@ -790,7 +806,7 @@ __Returns:__
|
|
790
806
|
|
791
807
|
--
|
792
808
|
|
793
|
-
##### [initialize](https://github.com/appium/ruby_lib/blob/
|
809
|
+
##### [initialize](https://github.com/appium/ruby_lib/blob/5588ca7d9e97759888dca3bf4f2f273c2131fc08/lib/appium_lib/common/wait.rb#L6)
|
794
810
|
|
795
811
|
> def initialize(opts = {})
|
796
812
|
|
@@ -802,7 +818,7 @@ __Returns:__
|
|
802
818
|
|
803
819
|
--
|
804
820
|
|
805
|
-
##### [wait_true](https://github.com/appium/ruby_lib/blob/
|
821
|
+
##### [wait_true](https://github.com/appium/ruby_lib/blob/5588ca7d9e97759888dca3bf4f2f273c2131fc08/lib/appium_lib/common/wait.rb#L26)
|
806
822
|
|
807
823
|
> def wait_true(opts = {})
|
808
824
|
|
@@ -822,7 +838,7 @@ __Parameters:__
|
|
822
838
|
|
823
839
|
--
|
824
840
|
|
825
|
-
##### [wait](https://github.com/appium/ruby_lib/blob/
|
841
|
+
##### [wait](https://github.com/appium/ruby_lib/blob/5588ca7d9e97759888dca3bf4f2f273c2131fc08/lib/appium_lib/common/wait.rb#L43)
|
826
842
|
|
827
843
|
> def wait(opts = {})
|
828
844
|
|
@@ -840,7 +856,7 @@ __Parameters:__
|
|
840
856
|
|
841
857
|
--
|
842
858
|
|
843
|
-
##### [add_touch_actions](https://github.com/appium/ruby_lib/blob/
|
859
|
+
##### [add_touch_actions](https://github.com/appium/ruby_lib/blob/5588ca7d9e97759888dca3bf4f2f273c2131fc08/lib/appium_lib/common/device.rb#L12)
|
844
860
|
|
845
861
|
> def add_touch_actions
|
846
862
|
|
@@ -848,7 +864,7 @@ __Parameters:__
|
|
848
864
|
|
849
865
|
--
|
850
866
|
|
851
|
-
##### [ignore](https://github.com/appium/ruby_lib/blob/
|
867
|
+
##### [ignore](https://github.com/appium/ruby_lib/blob/5588ca7d9e97759888dca3bf4f2f273c2131fc08/lib/appium_lib/common/helper.rb#L16)
|
852
868
|
|
853
869
|
> def ignore
|
854
870
|
|
@@ -856,7 +872,7 @@ Return yield and ignore any exceptions.
|
|
856
872
|
|
857
873
|
--
|
858
874
|
|
859
|
-
##### [back](https://github.com/appium/ruby_lib/blob/
|
875
|
+
##### [back](https://github.com/appium/ruby_lib/blob/5588ca7d9e97759888dca3bf4f2f273c2131fc08/lib/appium_lib/common/helper.rb#L23)
|
860
876
|
|
861
877
|
> def back
|
862
878
|
|
@@ -868,7 +884,7 @@ __Returns:__
|
|
868
884
|
|
869
885
|
--
|
870
886
|
|
871
|
-
##### [session_id](https://github.com/appium/ruby_lib/blob/
|
887
|
+
##### [session_id](https://github.com/appium/ruby_lib/blob/5588ca7d9e97759888dca3bf4f2f273c2131fc08/lib/appium_lib/common/helper.rb#L34)
|
872
888
|
|
873
889
|
> def session_id
|
874
890
|
|
@@ -880,7 +896,7 @@ __Returns:__
|
|
880
896
|
|
881
897
|
--
|
882
898
|
|
883
|
-
##### [xpath](https://github.com/appium/ruby_lib/blob/
|
899
|
+
##### [xpath](https://github.com/appium/ruby_lib/blob/5588ca7d9e97759888dca3bf4f2f273c2131fc08/lib/appium_lib/common/helper.rb#L42)
|
884
900
|
|
885
901
|
> def xpath(xpath_str)
|
886
902
|
|
@@ -896,7 +912,7 @@ __Returns:__
|
|
896
912
|
|
897
913
|
--
|
898
914
|
|
899
|
-
##### [xpaths](https://github.com/appium/ruby_lib/blob/
|
915
|
+
##### [xpaths](https://github.com/appium/ruby_lib/blob/5588ca7d9e97759888dca3bf4f2f273c2131fc08/lib/appium_lib/common/helper.rb#L50)
|
900
916
|
|
901
917
|
> def xpaths(xpath_str)
|
902
918
|
|
@@ -912,7 +928,7 @@ __Returns:__
|
|
912
928
|
|
913
929
|
--
|
914
930
|
|
915
|
-
##### [result](https://github.com/appium/ruby_lib/blob/
|
931
|
+
##### [result](https://github.com/appium/ruby_lib/blob/5588ca7d9e97759888dca3bf4f2f273c2131fc08/lib/appium_lib/common/helper.rb#L60)
|
916
932
|
|
917
933
|
> def result
|
918
934
|
|
@@ -920,7 +936,7 @@ Returns the value of attribute result
|
|
920
936
|
|
921
937
|
--
|
922
938
|
|
923
|
-
##### [initialize](https://github.com/appium/ruby_lib/blob/
|
939
|
+
##### [initialize](https://github.com/appium/ruby_lib/blob/5588ca7d9e97759888dca3bf4f2f273c2131fc08/lib/appium_lib/common/helper.rb#L62)
|
924
940
|
|
925
941
|
> def initialize
|
926
942
|
|
@@ -932,7 +948,7 @@ __Returns:__
|
|
932
948
|
|
933
949
|
--
|
934
950
|
|
935
|
-
##### [reset](https://github.com/appium/ruby_lib/blob/
|
951
|
+
##### [reset](https://github.com/appium/ruby_lib/blob/5588ca7d9e97759888dca3bf4f2f273c2131fc08/lib/appium_lib/common/helper.rb#L66)
|
936
952
|
|
937
953
|
> def reset
|
938
954
|
|
@@ -940,7 +956,7 @@ __Returns:__
|
|
940
956
|
|
941
957
|
--
|
942
958
|
|
943
|
-
##### [start_element](https://github.com/appium/ruby_lib/blob/
|
959
|
+
##### [start_element](https://github.com/appium/ruby_lib/blob/5588ca7d9e97759888dca3bf4f2f273c2131fc08/lib/appium_lib/common/helper.rb#L71)
|
944
960
|
|
945
961
|
> def start_element(name, attrs = [], driver = $driver)
|
946
962
|
|
@@ -948,7 +964,7 @@ http://nokogiri.org/Nokogiri/XML/SAX/Document.html
|
|
948
964
|
|
949
965
|
--
|
950
966
|
|
951
|
-
##### [formatted_result](https://github.com/appium/ruby_lib/blob/
|
967
|
+
##### [formatted_result](https://github.com/appium/ruby_lib/blob/5588ca7d9e97759888dca3bf4f2f273c2131fc08/lib/appium_lib/common/helper.rb#L77)
|
952
968
|
|
953
969
|
> def formatted_result
|
954
970
|
|
@@ -956,7 +972,7 @@ http://nokogiri.org/Nokogiri/XML/SAX/Document.html
|
|
956
972
|
|
957
973
|
--
|
958
974
|
|
959
|
-
##### [get_page_class](https://github.com/appium/ruby_lib/blob/
|
975
|
+
##### [get_page_class](https://github.com/appium/ruby_lib/blob/5588ca7d9e97759888dca3bf4f2f273c2131fc08/lib/appium_lib/common/helper.rb#L96)
|
960
976
|
|
961
977
|
> def get_page_class
|
962
978
|
|
@@ -968,7 +984,7 @@ __Returns:__
|
|
968
984
|
|
969
985
|
--
|
970
986
|
|
971
|
-
##### [page_class](https://github.com/appium/ruby_lib/blob/
|
987
|
+
##### [page_class](https://github.com/appium/ruby_lib/blob/5588ca7d9e97759888dca3bf4f2f273c2131fc08/lib/appium_lib/common/helper.rb#L121)
|
972
988
|
|
973
989
|
> def page_class
|
974
990
|
|
@@ -981,7 +997,7 @@ __Returns:__
|
|
981
997
|
|
982
998
|
--
|
983
999
|
|
984
|
-
##### [source](https://github.com/appium/ruby_lib/blob/
|
1000
|
+
##### [source](https://github.com/appium/ruby_lib/blob/5588ca7d9e97759888dca3bf4f2f273c2131fc08/lib/appium_lib/common/helper.rb#L128)
|
985
1001
|
|
986
1002
|
> def source
|
987
1003
|
|
@@ -993,7 +1009,7 @@ __Returns:__
|
|
993
1009
|
|
994
1010
|
--
|
995
1011
|
|
996
|
-
##### [get_source](https://github.com/appium/ruby_lib/blob/
|
1012
|
+
##### [get_source](https://github.com/appium/ruby_lib/blob/5588ca7d9e97759888dca3bf4f2f273c2131fc08/lib/appium_lib/common/helper.rb#L135)
|
997
1013
|
|
998
1014
|
> def get_source
|
999
1015
|
|
@@ -1006,7 +1022,7 @@ __Returns:__
|
|
1006
1022
|
|
1007
1023
|
--
|
1008
1024
|
|
1009
|
-
##### [px_to_window_rel](https://github.com/appium/ruby_lib/blob/
|
1025
|
+
##### [px_to_window_rel](https://github.com/appium/ruby_lib/blob/5588ca7d9e97759888dca3bf4f2f273c2131fc08/lib/appium_lib/common/helper.rb#L145)
|
1010
1026
|
|
1011
1027
|
> def px_to_window_rel(opts = {}, driver = $driver)
|
1012
1028
|
|
@@ -1014,7 +1030,7 @@ Converts pixel values to window relative values
|
|
1014
1030
|
|
1015
1031
|
--
|
1016
1032
|
|
1017
|
-
##### [xml_keys](https://github.com/appium/ruby_lib/blob/
|
1033
|
+
##### [xml_keys](https://github.com/appium/ruby_lib/blob/5588ca7d9e97759888dca3bf4f2f273c2131fc08/lib/appium_lib/common/helper.rb#L164)
|
1018
1034
|
|
1019
1035
|
> def xml_keys(target)
|
1020
1036
|
|
@@ -1030,7 +1046,7 @@ __Returns:__
|
|
1030
1046
|
|
1031
1047
|
--
|
1032
1048
|
|
1033
|
-
##### [xml_values](https://github.com/appium/ruby_lib/blob/
|
1049
|
+
##### [xml_values](https://github.com/appium/ruby_lib/blob/5588ca7d9e97759888dca3bf4f2f273c2131fc08/lib/appium_lib/common/helper.rb#L172)
|
1034
1050
|
|
1035
1051
|
> def xml_values(target)
|
1036
1052
|
|
@@ -1046,7 +1062,7 @@ __Returns:__
|
|
1046
1062
|
|
1047
1063
|
--
|
1048
1064
|
|
1049
|
-
##### [resolve_id](https://github.com/appium/ruby_lib/blob/
|
1065
|
+
##### [resolve_id](https://github.com/appium/ruby_lib/blob/5588ca7d9e97759888dca3bf4f2f273c2131fc08/lib/appium_lib/common/helper.rb#L180)
|
1050
1066
|
|
1051
1067
|
> def resolve_id(id)
|
1052
1068
|
|
@@ -1062,7 +1078,7 @@ __Returns:__
|
|
1062
1078
|
|
1063
1079
|
--
|
1064
1080
|
|
1065
|
-
##### [filter](https://github.com/appium/ruby_lib/blob/
|
1081
|
+
##### [filter](https://github.com/appium/ruby_lib/blob/5588ca7d9e97759888dca3bf4f2f273c2131fc08/lib/appium_lib/common/helper.rb#L187)
|
1066
1082
|
|
1067
1083
|
> def filter
|
1068
1084
|
|
@@ -1070,7 +1086,7 @@ Returns the value of attribute filter
|
|
1070
1086
|
|
1071
1087
|
--
|
1072
1088
|
|
1073
|
-
##### [filter=](https://github.com/appium/ruby_lib/blob/
|
1089
|
+
##### [filter=](https://github.com/appium/ruby_lib/blob/5588ca7d9e97759888dca3bf4f2f273c2131fc08/lib/appium_lib/common/helper.rb#L190)
|
1074
1090
|
|
1075
1091
|
> def filter=(value)
|
1076
1092
|
|
@@ -1078,7 +1094,7 @@ convert to string to support symbols
|
|
1078
1094
|
|
1079
1095
|
--
|
1080
1096
|
|
1081
|
-
##### [initialize](https://github.com/appium/ruby_lib/blob/
|
1097
|
+
##### [initialize](https://github.com/appium/ruby_lib/blob/5588ca7d9e97759888dca3bf4f2f273c2131fc08/lib/appium_lib/common/helper.rb#L196)
|
1082
1098
|
|
1083
1099
|
> def initialize
|
1084
1100
|
|
@@ -1090,7 +1106,7 @@ __Returns:__
|
|
1090
1106
|
|
1091
1107
|
--
|
1092
1108
|
|
1093
|
-
##### [reset](https://github.com/appium/ruby_lib/blob/
|
1109
|
+
##### [reset](https://github.com/appium/ruby_lib/blob/5588ca7d9e97759888dca3bf4f2f273c2131fc08/lib/appium_lib/common/helper.rb#L201)
|
1094
1110
|
|
1095
1111
|
> def reset
|
1096
1112
|
|
@@ -1098,7 +1114,7 @@ __Returns:__
|
|
1098
1114
|
|
1099
1115
|
--
|
1100
1116
|
|
1101
|
-
##### [result](https://github.com/appium/ruby_lib/blob/
|
1117
|
+
##### [result](https://github.com/appium/ruby_lib/blob/5588ca7d9e97759888dca3bf4f2f273c2131fc08/lib/appium_lib/common/helper.rb#L207)
|
1102
1118
|
|
1103
1119
|
> def result
|
1104
1120
|
|
@@ -1106,7 +1122,7 @@ __Returns:__
|
|
1106
1122
|
|
1107
1123
|
--
|
1108
1124
|
|
1109
|
-
##### [start_element](https://github.com/appium/ruby_lib/blob/
|
1125
|
+
##### [start_element](https://github.com/appium/ruby_lib/blob/5588ca7d9e97759888dca3bf4f2f273c2131fc08/lib/appium_lib/common/helper.rb#L223)
|
1110
1126
|
|
1111
1127
|
> def start_element(name, attrs = [])
|
1112
1128
|
|
@@ -1114,7 +1130,7 @@ __Returns:__
|
|
1114
1130
|
|
1115
1131
|
--
|
1116
1132
|
|
1117
|
-
##### [end_element](https://github.com/appium/ruby_lib/blob/
|
1133
|
+
##### [end_element](https://github.com/appium/ruby_lib/blob/5588ca7d9e97759888dca3bf4f2f273c2131fc08/lib/appium_lib/common/helper.rb#L232)
|
1118
1134
|
|
1119
1135
|
> def end_element(name)
|
1120
1136
|
|
@@ -1122,7 +1138,7 @@ __Returns:__
|
|
1122
1138
|
|
1123
1139
|
--
|
1124
1140
|
|
1125
|
-
##### [characters](https://github.com/appium/ruby_lib/blob/
|
1141
|
+
##### [characters](https://github.com/appium/ruby_lib/blob/5588ca7d9e97759888dca3bf4f2f273c2131fc08/lib/appium_lib/common/helper.rb#L238)
|
1126
1142
|
|
1127
1143
|
> def characters(chars)
|
1128
1144
|
|
@@ -1130,7 +1146,7 @@ __Returns:__
|
|
1130
1146
|
|
1131
1147
|
--
|
1132
1148
|
|
1133
|
-
##### [DEFAULT_HEADERS](https://github.com/appium/ruby_lib/blob/
|
1149
|
+
##### [DEFAULT_HEADERS](https://github.com/appium/ruby_lib/blob/5588ca7d9e97759888dca3bf4f2f273c2131fc08/lib/appium_lib/common/http_client.rb#L8)
|
1134
1150
|
|
1135
1151
|
> DEFAULT_HEADERS = { 'Accept' => CONTENT_TYPE, 'User-Agent' => "appium/ruby_lib/#{::Appium::VERSION}" }.freeze
|
1136
1152
|
|
@@ -1138,7 +1154,7 @@ Default HTTP client inherit Appium::Core::Base::Http::Default, but has different
|
|
1138
1154
|
|
1139
1155
|
--
|
1140
1156
|
|
1141
|
-
##### [pinch](https://github.com/appium/ruby_lib/blob/
|
1157
|
+
##### [pinch](https://github.com/appium/ruby_lib/blob/5588ca7d9e97759888dca3bf4f2f273c2131fc08/lib/appium_lib/common/multi_touch.rb#L51)
|
1142
1158
|
|
1143
1159
|
> def pinch(percentage = 25, auto_perform = true, driver = $driver)
|
1144
1160
|
|
@@ -1158,7 +1174,7 @@ __Parameters:__
|
|
1158
1174
|
|
1159
1175
|
--
|
1160
1176
|
|
1161
|
-
##### [zoom](https://github.com/appium/ruby_lib/blob/
|
1177
|
+
##### [zoom](https://github.com/appium/ruby_lib/blob/5588ca7d9e97759888dca3bf4f2f273c2131fc08/lib/appium_lib/common/multi_touch.rb#L95)
|
1162
1178
|
|
1163
1179
|
> def zoom(percentage = 200, auto_perform = true, driver = $driver)
|
1164
1180
|
|
@@ -1178,7 +1194,7 @@ __Parameters:__
|
|
1178
1194
|
|
1179
1195
|
--
|
1180
1196
|
|
1181
|
-
##### [initialize](https://github.com/appium/ruby_lib/blob/
|
1197
|
+
##### [initialize](https://github.com/appium/ruby_lib/blob/5588ca7d9e97759888dca3bf4f2f273c2131fc08/lib/appium_lib/common/multi_touch.rb#L216)
|
1182
1198
|
|
1183
1199
|
> def initialize(driver = $driver)
|
1184
1200
|
|
@@ -1190,7 +1206,7 @@ __Returns:__
|
|
1190
1206
|
|
1191
1207
|
--
|
1192
1208
|
|
1193
|
-
##### [COMPLEX_ACTIONS](https://github.com/appium/ruby_lib/blob/
|
1209
|
+
##### [COMPLEX_ACTIONS](https://github.com/appium/ruby_lib/blob/5588ca7d9e97759888dca3bf4f2f273c2131fc08/lib/appium_lib/common/touch_actions.rb#L33)
|
1194
1210
|
|
1195
1211
|
> COMPLEX_ACTIONS = ::Appium::Core::TouchAction::COMPLEX_ACTIONS
|
1196
1212
|
|
@@ -1198,7 +1214,7 @@ __Returns:__
|
|
1198
1214
|
|
1199
1215
|
--
|
1200
1216
|
|
1201
|
-
##### [initialize](https://github.com/appium/ruby_lib/blob/
|
1217
|
+
##### [initialize](https://github.com/appium/ruby_lib/blob/5588ca7d9e97759888dca3bf4f2f273c2131fc08/lib/appium_lib/common/touch_actions.rb#L47)
|
1202
1218
|
|
1203
1219
|
> def initialize(driver = $driver)
|
1204
1220
|
|
@@ -1210,7 +1226,7 @@ __Returns:__
|
|
1210
1226
|
|
1211
1227
|
--
|
1212
1228
|
|
1213
|
-
##### [swipe](https://github.com/appium/ruby_lib/blob/
|
1229
|
+
##### [swipe](https://github.com/appium/ruby_lib/blob/5588ca7d9e97759888dca3bf4f2f273c2131fc08/lib/appium_lib/common/touch_actions.rb#L51)
|
1214
1230
|
|
1215
1231
|
> def swipe(opts, ele = nil)
|
1216
1232
|
|
@@ -1218,7 +1234,7 @@ __Returns:__
|
|
1218
1234
|
|
1219
1235
|
--
|
1220
1236
|
|
1221
|
-
##### [for](https://github.com/appium/ruby_lib/blob/
|
1237
|
+
##### [for](https://github.com/appium/ruby_lib/blob/5588ca7d9e97759888dca3bf4f2f273c2131fc08/lib/appium_lib/android/android.rb#L18) android
|
1222
1238
|
|
1223
1239
|
> def self.for(target)
|
1224
1240
|
|
@@ -1226,7 +1242,7 @@ __Returns:__
|
|
1226
1242
|
|
1227
1243
|
--
|
1228
1244
|
|
1229
|
-
##### [TextView](https://github.com/appium/ruby_lib/blob/
|
1245
|
+
##### [TextView](https://github.com/appium/ruby_lib/blob/5588ca7d9e97759888dca3bf4f2f273c2131fc08/lib/appium_lib/android/element/text.rb#L4) android
|
1230
1246
|
|
1231
1247
|
> TextView = 'android.widget.TextView'.freeze
|
1232
1248
|
|
@@ -1234,7 +1250,7 @@ __Returns:__
|
|
1234
1250
|
|
1235
1251
|
--
|
1236
1252
|
|
1237
|
-
##### [text](https://github.com/appium/ruby_lib/blob/
|
1253
|
+
##### [text](https://github.com/appium/ruby_lib/blob/5588ca7d9e97759888dca3bf4f2f273c2131fc08/lib/appium_lib/android/element/text.rb#L10) android
|
1238
1254
|
|
1239
1255
|
> def text(value)
|
1240
1256
|
|
@@ -1251,7 +1267,7 @@ __Returns:__
|
|
1251
1267
|
|
1252
1268
|
--
|
1253
1269
|
|
1254
|
-
##### [texts](https://github.com/appium/ruby_lib/blob/
|
1270
|
+
##### [texts](https://github.com/appium/ruby_lib/blob/5588ca7d9e97759888dca3bf4f2f273c2131fc08/lib/appium_lib/android/element/text.rb#L19) android
|
1255
1271
|
|
1256
1272
|
> def texts(value = false)
|
1257
1273
|
|
@@ -1268,7 +1284,7 @@ __Returns:__
|
|
1268
1284
|
|
1269
1285
|
--
|
1270
1286
|
|
1271
|
-
##### [first_text](https://github.com/appium/ruby_lib/blob/
|
1287
|
+
##### [first_text](https://github.com/appium/ruby_lib/blob/5588ca7d9e97759888dca3bf4f2f273c2131fc08/lib/appium_lib/android/element/text.rb#L26) android
|
1272
1288
|
|
1273
1289
|
> def first_text
|
1274
1290
|
|
@@ -1280,7 +1296,7 @@ __Returns:__
|
|
1280
1296
|
|
1281
1297
|
--
|
1282
1298
|
|
1283
|
-
##### [last_text](https://github.com/appium/ruby_lib/blob/
|
1299
|
+
##### [last_text](https://github.com/appium/ruby_lib/blob/5588ca7d9e97759888dca3bf4f2f273c2131fc08/lib/appium_lib/android/element/text.rb#L32) android
|
1284
1300
|
|
1285
1301
|
> def last_text
|
1286
1302
|
|
@@ -1292,7 +1308,7 @@ __Returns:__
|
|
1292
1308
|
|
1293
1309
|
--
|
1294
1310
|
|
1295
|
-
##### [text_exact](https://github.com/appium/ruby_lib/blob/
|
1311
|
+
##### [text_exact](https://github.com/appium/ruby_lib/blob/5588ca7d9e97759888dca3bf4f2f273c2131fc08/lib/appium_lib/android/element/text.rb#L39) android
|
1296
1312
|
|
1297
1313
|
> def text_exact(value)
|
1298
1314
|
|
@@ -1308,7 +1324,7 @@ __Returns:__
|
|
1308
1324
|
|
1309
1325
|
--
|
1310
1326
|
|
1311
|
-
##### [texts_exact](https://github.com/appium/ruby_lib/blob/
|
1327
|
+
##### [texts_exact](https://github.com/appium/ruby_lib/blob/5588ca7d9e97759888dca3bf4f2f273c2131fc08/lib/appium_lib/android/element/text.rb#L46) android
|
1312
1328
|
|
1313
1329
|
> def texts_exact(value)
|
1314
1330
|
|
@@ -1324,7 +1340,7 @@ __Returns:__
|
|
1324
1340
|
|
1325
1341
|
--
|
1326
1342
|
|
1327
|
-
##### [result](https://github.com/appium/ruby_lib/blob/
|
1343
|
+
##### [result](https://github.com/appium/ruby_lib/blob/5588ca7d9e97759888dca3bf4f2f273c2131fc08/lib/appium_lib/android/common/helper.rb#L6) android
|
1328
1344
|
|
1329
1345
|
> def result
|
1330
1346
|
|
@@ -1332,7 +1348,7 @@ Returns the value of attribute result
|
|
1332
1348
|
|
1333
1349
|
--
|
1334
1350
|
|
1335
|
-
##### [keys](https://github.com/appium/ruby_lib/blob/
|
1351
|
+
##### [keys](https://github.com/appium/ruby_lib/blob/5588ca7d9e97759888dca3bf4f2f273c2131fc08/lib/appium_lib/android/common/helper.rb#L6) android
|
1336
1352
|
|
1337
1353
|
> def keys
|
1338
1354
|
|
@@ -1340,7 +1356,7 @@ Returns the value of attribute keys
|
|
1340
1356
|
|
1341
1357
|
--
|
1342
1358
|
|
1343
|
-
##### [filter](https://github.com/appium/ruby_lib/blob/
|
1359
|
+
##### [filter](https://github.com/appium/ruby_lib/blob/5588ca7d9e97759888dca3bf4f2f273c2131fc08/lib/appium_lib/android/common/helper.rb#L6) android
|
1344
1360
|
|
1345
1361
|
> def filter
|
1346
1362
|
|
@@ -1348,7 +1364,7 @@ Returns the value of attribute filter
|
|
1348
1364
|
|
1349
1365
|
--
|
1350
1366
|
|
1351
|
-
##### [filter=](https://github.com/appium/ruby_lib/blob/
|
1367
|
+
##### [filter=](https://github.com/appium/ruby_lib/blob/5588ca7d9e97759888dca3bf4f2f273c2131fc08/lib/appium_lib/android/common/helper.rb#L9) android
|
1352
1368
|
|
1353
1369
|
> def filter=(value)
|
1354
1370
|
|
@@ -1356,7 +1372,7 @@ convert to string to support symbols
|
|
1356
1372
|
|
1357
1373
|
--
|
1358
1374
|
|
1359
|
-
##### [initialize](https://github.com/appium/ruby_lib/blob/
|
1375
|
+
##### [initialize](https://github.com/appium/ruby_lib/blob/5588ca7d9e97759888dca3bf4f2f273c2131fc08/lib/appium_lib/android/common/helper.rb#L15) android
|
1360
1376
|
|
1361
1377
|
> def initialize
|
1362
1378
|
|
@@ -1368,7 +1384,7 @@ __Returns:__
|
|
1368
1384
|
|
1369
1385
|
--
|
1370
1386
|
|
1371
|
-
##### [reset](https://github.com/appium/ruby_lib/blob/
|
1387
|
+
##### [reset](https://github.com/appium/ruby_lib/blob/5588ca7d9e97759888dca3bf4f2f273c2131fc08/lib/appium_lib/android/common/helper.rb#L20) android
|
1372
1388
|
|
1373
1389
|
> def reset
|
1374
1390
|
|
@@ -1376,7 +1392,7 @@ __Returns:__
|
|
1376
1392
|
|
1377
1393
|
--
|
1378
1394
|
|
1379
|
-
##### [start_element](https://github.com/appium/ruby_lib/blob/
|
1395
|
+
##### [start_element](https://github.com/appium/ruby_lib/blob/5588ca7d9e97759888dca3bf4f2f273c2131fc08/lib/appium_lib/android/common/helper.rb#L26) android
|
1380
1396
|
|
1381
1397
|
> def start_element(name, attrs = [], driver = $driver)
|
1382
1398
|
|
@@ -1384,7 +1400,7 @@ http://nokogiri.org/Nokogiri/XML/SAX/Document.html
|
|
1384
1400
|
|
1385
1401
|
--
|
1386
1402
|
|
1387
|
-
##### [get_android_inspect](https://github.com/appium/ruby_lib/blob/
|
1403
|
+
##### [get_android_inspect](https://github.com/appium/ruby_lib/blob/5588ca7d9e97759888dca3bf4f2f273c2131fc08/lib/appium_lib/android/common/helper.rb#L80) android
|
1388
1404
|
|
1389
1405
|
> def get_android_inspect(class_name = false)
|
1390
1406
|
|
@@ -1403,7 +1419,7 @@ __Returns:__
|
|
1403
1419
|
|
1404
1420
|
--
|
1405
1421
|
|
1406
|
-
##### [page](https://github.com/appium/ruby_lib/blob/
|
1422
|
+
##### [page](https://github.com/appium/ruby_lib/blob/5588ca7d9e97759888dca3bf4f2f273c2131fc08/lib/appium_lib/android/common/helper.rb#L106) android
|
1407
1423
|
|
1408
1424
|
> def page(opts = {})
|
1409
1425
|
|
@@ -1422,17 +1438,7 @@ __Returns:__
|
|
1422
1438
|
|
1423
1439
|
--
|
1424
1440
|
|
1425
|
-
##### [
|
1426
|
-
|
1427
|
-
> def current_app
|
1428
|
-
|
1429
|
-
example line:
|
1430
|
-
"mFocusedApp=AppWindowToken{b1420058 token=Token{b128add0
|
1431
|
-
ActivityRecord{b1264d10 u0 com.example.android.apis/.ApiDemos t23}}}"
|
1432
|
-
|
1433
|
-
--
|
1434
|
-
|
1435
|
-
##### [id](https://github.com/appium/ruby_lib/blob/0628c614e6620c606265883a8232dd021d03965d/lib/appium_lib/android/common/helper.rb#L145) android
|
1441
|
+
##### [id](https://github.com/appium/ruby_lib/blob/5588ca7d9e97759888dca3bf4f2f273c2131fc08/lib/appium_lib/android/common/helper.rb#L115) android
|
1436
1442
|
|
1437
1443
|
> def id(id)
|
1438
1444
|
|
@@ -1448,7 +1454,7 @@ __Returns:__
|
|
1448
1454
|
|
1449
1455
|
--
|
1450
1456
|
|
1451
|
-
##### [ids](https://github.com/appium/ruby_lib/blob/
|
1457
|
+
##### [ids](https://github.com/appium/ruby_lib/blob/5588ca7d9e97759888dca3bf4f2f273c2131fc08/lib/appium_lib/android/common/helper.rb#L123) android
|
1452
1458
|
|
1453
1459
|
> def ids(id)
|
1454
1460
|
|
@@ -1464,7 +1470,7 @@ __Returns:__
|
|
1464
1470
|
|
1465
1471
|
--
|
1466
1472
|
|
1467
|
-
##### [ele_index](https://github.com/appium/ruby_lib/blob/
|
1473
|
+
##### [ele_index](https://github.com/appium/ruby_lib/blob/5588ca7d9e97759888dca3bf4f2f273c2131fc08/lib/appium_lib/android/common/helper.rb#L132) android
|
1468
1474
|
|
1469
1475
|
> def ele_index(class_name, index)
|
1470
1476
|
|
@@ -1482,7 +1488,7 @@ __Returns:__
|
|
1482
1488
|
|
1483
1489
|
--
|
1484
1490
|
|
1485
|
-
##### [first_ele](https://github.com/appium/ruby_lib/blob/
|
1491
|
+
##### [first_ele](https://github.com/appium/ruby_lib/blob/5588ca7d9e97759888dca3bf4f2f273c2131fc08/lib/appium_lib/android/common/helper.rb#L150) android
|
1486
1492
|
|
1487
1493
|
> def first_ele(class_name)
|
1488
1494
|
|
@@ -1498,7 +1504,7 @@ __Returns:__
|
|
1498
1504
|
|
1499
1505
|
--
|
1500
1506
|
|
1501
|
-
##### [last_ele](https://github.com/appium/ruby_lib/blob/
|
1507
|
+
##### [last_ele](https://github.com/appium/ruby_lib/blob/5588ca7d9e97759888dca3bf4f2f273c2131fc08/lib/appium_lib/android/common/helper.rb#L157) android
|
1502
1508
|
|
1503
1509
|
> def last_ele(class_name)
|
1504
1510
|
|
@@ -1514,7 +1520,7 @@ __Returns:__
|
|
1514
1520
|
|
1515
1521
|
--
|
1516
1522
|
|
1517
|
-
##### [tag](https://github.com/appium/ruby_lib/blob/
|
1523
|
+
##### [tag](https://github.com/appium/ruby_lib/blob/5588ca7d9e97759888dca3bf4f2f273c2131fc08/lib/appium_lib/android/common/helper.rb#L165) android
|
1518
1524
|
|
1519
1525
|
> def tag(class_name)
|
1520
1526
|
|
@@ -1530,7 +1536,7 @@ __Returns:__
|
|
1530
1536
|
|
1531
1537
|
--
|
1532
1538
|
|
1533
|
-
##### [tags](https://github.com/appium/ruby_lib/blob/
|
1539
|
+
##### [tags](https://github.com/appium/ruby_lib/blob/5588ca7d9e97759888dca3bf4f2f273c2131fc08/lib/appium_lib/android/common/helper.rb#L173) android
|
1534
1540
|
|
1535
1541
|
> def tags(class_name)
|
1536
1542
|
|
@@ -1546,7 +1552,7 @@ __Returns:__
|
|
1546
1552
|
|
1547
1553
|
--
|
1548
1554
|
|
1549
|
-
##### [string_visible_contains_xpath](https://github.com/appium/ruby_lib/blob/
|
1555
|
+
##### [string_visible_contains_xpath](https://github.com/appium/ruby_lib/blob/5588ca7d9e97759888dca3bf4f2f273c2131fc08/lib/appium_lib/android/common/helper.rb#L216) android
|
1550
1556
|
|
1551
1557
|
> def string_visible_contains_xpath(class_name, value)
|
1552
1558
|
|
@@ -1567,7 +1573,7 @@ __Returns:__
|
|
1567
1573
|
|
1568
1574
|
--
|
1569
1575
|
|
1570
|
-
##### [string_visible_contains](https://github.com/appium/ruby_lib/blob/
|
1576
|
+
##### [string_visible_contains](https://github.com/appium/ruby_lib/blob/5588ca7d9e97759888dca3bf4f2f273c2131fc08/lib/appium_lib/android/common/helper.rb#L236) android
|
1571
1577
|
|
1572
1578
|
> def string_visible_contains(class_name, value)
|
1573
1579
|
|
@@ -1588,7 +1594,7 @@ __Returns:__
|
|
1588
1594
|
|
1589
1595
|
--
|
1590
1596
|
|
1591
|
-
##### [complex_find_contains](https://github.com/appium/ruby_lib/blob/
|
1597
|
+
##### [complex_find_contains](https://github.com/appium/ruby_lib/blob/5588ca7d9e97759888dca3bf4f2f273c2131fc08/lib/appium_lib/android/common/helper.rb#L254) android
|
1592
1598
|
|
1593
1599
|
> def complex_find_contains(class_name, value)
|
1594
1600
|
|
@@ -1606,7 +1612,7 @@ __Returns:__
|
|
1606
1612
|
|
1607
1613
|
--
|
1608
1614
|
|
1609
|
-
##### [complex_finds_contains](https://github.com/appium/ruby_lib/blob/
|
1615
|
+
##### [complex_finds_contains](https://github.com/appium/ruby_lib/blob/5588ca7d9e97759888dca3bf4f2f273c2131fc08/lib/appium_lib/android/common/helper.rb#L262) android
|
1610
1616
|
|
1611
1617
|
> def complex_finds_contains(class_name, value)
|
1612
1618
|
|
@@ -1624,7 +1630,7 @@ __Returns:__
|
|
1624
1630
|
|
1625
1631
|
--
|
1626
1632
|
|
1627
|
-
##### [complex_find_exact](https://github.com/appium/ruby_lib/blob/
|
1633
|
+
##### [complex_find_exact](https://github.com/appium/ruby_lib/blob/5588ca7d9e97759888dca3bf4f2f273c2131fc08/lib/appium_lib/android/common/helper.rb#L306) android
|
1628
1634
|
|
1629
1635
|
> def complex_find_exact(class_name, value)
|
1630
1636
|
|
@@ -1642,7 +1648,7 @@ __Returns:__
|
|
1642
1648
|
|
1643
1649
|
--
|
1644
1650
|
|
1645
|
-
##### [complex_finds_exact](https://github.com/appium/ruby_lib/blob/
|
1651
|
+
##### [complex_finds_exact](https://github.com/appium/ruby_lib/blob/5588ca7d9e97759888dca3bf4f2f273c2131fc08/lib/appium_lib/android/common/helper.rb#L314) android
|
1646
1652
|
|
1647
1653
|
> def complex_finds_exact(class_name, value)
|
1648
1654
|
|
@@ -1660,7 +1666,7 @@ __Returns:__
|
|
1660
1666
|
|
1661
1667
|
--
|
1662
1668
|
|
1663
|
-
##### [alert_click](https://github.com/appium/ruby_lib/blob/
|
1669
|
+
##### [alert_click](https://github.com/appium/ruby_lib/blob/5588ca7d9e97759888dca3bf4f2f273c2131fc08/lib/appium_lib/android/element/alert.rb#L6) android
|
1664
1670
|
|
1665
1671
|
> def alert_click(value)
|
1666
1672
|
|
@@ -1676,7 +1682,7 @@ __Returns:__
|
|
1676
1682
|
|
1677
1683
|
--
|
1678
1684
|
|
1679
|
-
##### [alert_accept](https://github.com/appium/ruby_lib/blob/
|
1685
|
+
##### [alert_accept](https://github.com/appium/ruby_lib/blob/5588ca7d9e97759888dca3bf4f2f273c2131fc08/lib/appium_lib/android/element/alert.rb#L13) android
|
1680
1686
|
|
1681
1687
|
> def alert_accept
|
1682
1688
|
|
@@ -1689,7 +1695,7 @@ __Returns:__
|
|
1689
1695
|
|
1690
1696
|
--
|
1691
1697
|
|
1692
|
-
##### [alert_accept_text](https://github.com/appium/ruby_lib/blob/
|
1698
|
+
##### [alert_accept_text](https://github.com/appium/ruby_lib/blob/5588ca7d9e97759888dca3bf4f2f273c2131fc08/lib/appium_lib/android/element/alert.rb#L20) android
|
1693
1699
|
|
1694
1700
|
> def alert_accept_text
|
1695
1701
|
|
@@ -1702,7 +1708,7 @@ __Returns:__
|
|
1702
1708
|
|
1703
1709
|
--
|
1704
1710
|
|
1705
|
-
##### [alert_dismiss](https://github.com/appium/ruby_lib/blob/
|
1711
|
+
##### [alert_dismiss](https://github.com/appium/ruby_lib/blob/5588ca7d9e97759888dca3bf4f2f273c2131fc08/lib/appium_lib/android/element/alert.rb#L27) android
|
1706
1712
|
|
1707
1713
|
> def alert_dismiss
|
1708
1714
|
|
@@ -1715,7 +1721,7 @@ __Returns:__
|
|
1715
1721
|
|
1716
1722
|
--
|
1717
1723
|
|
1718
|
-
##### [alert_dismiss_text](https://github.com/appium/ruby_lib/blob/
|
1724
|
+
##### [alert_dismiss_text](https://github.com/appium/ruby_lib/blob/5588ca7d9e97759888dca3bf4f2f273c2131fc08/lib/appium_lib/android/element/alert.rb#L34) android
|
1719
1725
|
|
1720
1726
|
> def alert_dismiss_text
|
1721
1727
|
|
@@ -1728,7 +1734,7 @@ __Returns:__
|
|
1728
1734
|
|
1729
1735
|
--
|
1730
1736
|
|
1731
|
-
##### [Button](https://github.com/appium/ruby_lib/blob/
|
1737
|
+
##### [Button](https://github.com/appium/ruby_lib/blob/5588ca7d9e97759888dca3bf4f2f273c2131fc08/lib/appium_lib/android/element/button.rb#L3) android
|
1732
1738
|
|
1733
1739
|
> Button = 'android.widget.Button'.freeze
|
1734
1740
|
|
@@ -1736,7 +1742,7 @@ __Returns:__
|
|
1736
1742
|
|
1737
1743
|
--
|
1738
1744
|
|
1739
|
-
##### [ImageButton](https://github.com/appium/ruby_lib/blob/
|
1745
|
+
##### [ImageButton](https://github.com/appium/ruby_lib/blob/5588ca7d9e97759888dca3bf4f2f273c2131fc08/lib/appium_lib/android/element/button.rb#L4) android
|
1740
1746
|
|
1741
1747
|
> ImageButton = 'android.widget.ImageButton'.freeze
|
1742
1748
|
|
@@ -1744,7 +1750,7 @@ __Returns:__
|
|
1744
1750
|
|
1745
1751
|
--
|
1746
1752
|
|
1747
|
-
##### [button](https://github.com/appium/ruby_lib/blob/
|
1753
|
+
##### [button](https://github.com/appium/ruby_lib/blob/5588ca7d9e97759888dca3bf4f2f273c2131fc08/lib/appium_lib/android/element/button.rb#L10) android
|
1748
1754
|
|
1749
1755
|
> def button(value)
|
1750
1756
|
|
@@ -1761,7 +1767,7 @@ __Returns:__
|
|
1761
1767
|
|
1762
1768
|
--
|
1763
1769
|
|
1764
|
-
##### [buttons](https://github.com/appium/ruby_lib/blob/
|
1770
|
+
##### [buttons](https://github.com/appium/ruby_lib/blob/5588ca7d9e97759888dca3bf4f2f273c2131fc08/lib/appium_lib/android/element/button.rb#L27) android
|
1765
1771
|
|
1766
1772
|
> def buttons(value = false)
|
1767
1773
|
|
@@ -1778,7 +1784,7 @@ __Returns:__
|
|
1778
1784
|
|
1779
1785
|
--
|
1780
1786
|
|
1781
|
-
##### [first_button](https://github.com/appium/ruby_lib/blob/
|
1787
|
+
##### [first_button](https://github.com/appium/ruby_lib/blob/5588ca7d9e97759888dca3bf4f2f273c2131fc08/lib/appium_lib/android/element/button.rb#L34) android
|
1782
1788
|
|
1783
1789
|
> def first_button
|
1784
1790
|
|
@@ -1790,7 +1796,7 @@ __Returns:__
|
|
1790
1796
|
|
1791
1797
|
--
|
1792
1798
|
|
1793
|
-
##### [last_button](https://github.com/appium/ruby_lib/blob/
|
1799
|
+
##### [last_button](https://github.com/appium/ruby_lib/blob/5588ca7d9e97759888dca3bf4f2f273c2131fc08/lib/appium_lib/android/element/button.rb#L40) android
|
1794
1800
|
|
1795
1801
|
> def last_button
|
1796
1802
|
|
@@ -1802,7 +1808,7 @@ __Returns:__
|
|
1802
1808
|
|
1803
1809
|
--
|
1804
1810
|
|
1805
|
-
##### [button_exact](https://github.com/appium/ruby_lib/blob/
|
1811
|
+
##### [button_exact](https://github.com/appium/ruby_lib/blob/5588ca7d9e97759888dca3bf4f2f273c2131fc08/lib/appium_lib/android/element/button.rb#L56) android
|
1806
1812
|
|
1807
1813
|
> def button_exact(value)
|
1808
1814
|
|
@@ -1818,7 +1824,7 @@ __Returns:__
|
|
1818
1824
|
|
1819
1825
|
--
|
1820
1826
|
|
1821
|
-
##### [buttons_exact](https://github.com/appium/ruby_lib/blob/
|
1827
|
+
##### [buttons_exact](https://github.com/appium/ruby_lib/blob/5588ca7d9e97759888dca3bf4f2f273c2131fc08/lib/appium_lib/android/element/button.rb#L63) android
|
1822
1828
|
|
1823
1829
|
> def buttons_exact(value)
|
1824
1830
|
|
@@ -1834,7 +1840,7 @@ __Returns:__
|
|
1834
1840
|
|
1835
1841
|
--
|
1836
1842
|
|
1837
|
-
##### [find](https://github.com/appium/ruby_lib/blob/
|
1843
|
+
##### [find](https://github.com/appium/ruby_lib/blob/5588ca7d9e97759888dca3bf4f2f273c2131fc08/lib/appium_lib/android/element/generic.rb#L6) android
|
1838
1844
|
|
1839
1845
|
> def find(value)
|
1840
1846
|
|
@@ -1850,7 +1856,7 @@ __Returns:__
|
|
1850
1856
|
|
1851
1857
|
--
|
1852
1858
|
|
1853
|
-
##### [finds](https://github.com/appium/ruby_lib/blob/
|
1859
|
+
##### [finds](https://github.com/appium/ruby_lib/blob/5588ca7d9e97759888dca3bf4f2f273c2131fc08/lib/appium_lib/android/element/generic.rb#L13) android
|
1854
1860
|
|
1855
1861
|
> def finds(value)
|
1856
1862
|
|
@@ -1866,7 +1872,7 @@ __Returns:__
|
|
1866
1872
|
|
1867
1873
|
--
|
1868
1874
|
|
1869
|
-
##### [find_exact](https://github.com/appium/ruby_lib/blob/
|
1875
|
+
##### [find_exact](https://github.com/appium/ruby_lib/blob/5588ca7d9e97759888dca3bf4f2f273c2131fc08/lib/appium_lib/android/element/generic.rb#L20) android
|
1870
1876
|
|
1871
1877
|
> def find_exact(value)
|
1872
1878
|
|
@@ -1882,7 +1888,7 @@ __Returns:__
|
|
1882
1888
|
|
1883
1889
|
--
|
1884
1890
|
|
1885
|
-
##### [finds_exact](https://github.com/appium/ruby_lib/blob/
|
1891
|
+
##### [finds_exact](https://github.com/appium/ruby_lib/blob/5588ca7d9e97759888dca3bf4f2f273c2131fc08/lib/appium_lib/android/element/generic.rb#L27) android
|
1886
1892
|
|
1887
1893
|
> def finds_exact(value)
|
1888
1894
|
|
@@ -1898,7 +1904,7 @@ __Returns:__
|
|
1898
1904
|
|
1899
1905
|
--
|
1900
1906
|
|
1901
|
-
##### [scroll_to](https://github.com/appium/ruby_lib/blob/
|
1907
|
+
##### [scroll_to](https://github.com/appium/ruby_lib/blob/5588ca7d9e97759888dca3bf4f2f273c2131fc08/lib/appium_lib/android/element/generic.rb#L40) android
|
1902
1908
|
|
1903
1909
|
> def scroll_to(text, scrollable_index = 0)
|
1904
1910
|
|
@@ -1916,7 +1922,7 @@ __Returns:__
|
|
1916
1922
|
|
1917
1923
|
--
|
1918
1924
|
|
1919
|
-
##### [scroll_to_exact](https://github.com/appium/ruby_lib/blob/
|
1925
|
+
##### [scroll_to_exact](https://github.com/appium/ruby_lib/blob/5588ca7d9e97759888dca3bf4f2f273c2131fc08/lib/appium_lib/android/element/generic.rb#L58) android
|
1920
1926
|
|
1921
1927
|
> def scroll_to_exact(text, scrollable_index = 0)
|
1922
1928
|
|
@@ -1934,7 +1940,7 @@ __Returns:__
|
|
1934
1940
|
|
1935
1941
|
--
|
1936
1942
|
|
1937
|
-
##### [for](https://github.com/appium/ruby_lib/blob/
|
1943
|
+
##### [for](https://github.com/appium/ruby_lib/blob/5588ca7d9e97759888dca3bf4f2f273c2131fc08/lib/appium_lib/android/espresso/bridge.rb#L7) android
|
1938
1944
|
|
1939
1945
|
> def self.for(target)
|
1940
1946
|
|
@@ -1942,7 +1948,7 @@ __Returns:__
|
|
1942
1948
|
|
1943
1949
|
--
|
1944
1950
|
|
1945
|
-
##### [EditText](https://github.com/appium/ruby_lib/blob/
|
1951
|
+
##### [EditText](https://github.com/appium/ruby_lib/blob/5588ca7d9e97759888dca3bf4f2f273c2131fc08/lib/appium_lib/android/element/textfield.rb#L3) android
|
1946
1952
|
|
1947
1953
|
> EditText = 'android.widget.EditText'.freeze
|
1948
1954
|
|
@@ -1950,7 +1956,7 @@ __Returns:__
|
|
1950
1956
|
|
1951
1957
|
--
|
1952
1958
|
|
1953
|
-
##### [textfield](https://github.com/appium/ruby_lib/blob/
|
1959
|
+
##### [textfield](https://github.com/appium/ruby_lib/blob/5588ca7d9e97759888dca3bf4f2f273c2131fc08/lib/appium_lib/android/element/textfield.rb#L9) android
|
1954
1960
|
|
1955
1961
|
> def textfield(value)
|
1956
1962
|
|
@@ -1967,7 +1973,7 @@ __Returns:__
|
|
1967
1973
|
|
1968
1974
|
--
|
1969
1975
|
|
1970
|
-
##### [textfields](https://github.com/appium/ruby_lib/blob/
|
1976
|
+
##### [textfields](https://github.com/appium/ruby_lib/blob/5588ca7d9e97759888dca3bf4f2f273c2131fc08/lib/appium_lib/android/element/textfield.rb#L18) android
|
1971
1977
|
|
1972
1978
|
> def textfields(value = false)
|
1973
1979
|
|
@@ -1984,7 +1990,7 @@ __Returns:__
|
|
1984
1990
|
|
1985
1991
|
--
|
1986
1992
|
|
1987
|
-
##### [first_textfield](https://github.com/appium/ruby_lib/blob/
|
1993
|
+
##### [first_textfield](https://github.com/appium/ruby_lib/blob/5588ca7d9e97759888dca3bf4f2f273c2131fc08/lib/appium_lib/android/element/textfield.rb#L25) android
|
1988
1994
|
|
1989
1995
|
> def first_textfield
|
1990
1996
|
|
@@ -1996,7 +2002,7 @@ __Returns:__
|
|
1996
2002
|
|
1997
2003
|
--
|
1998
2004
|
|
1999
|
-
##### [last_textfield](https://github.com/appium/ruby_lib/blob/
|
2005
|
+
##### [last_textfield](https://github.com/appium/ruby_lib/blob/5588ca7d9e97759888dca3bf4f2f273c2131fc08/lib/appium_lib/android/element/textfield.rb#L31) android
|
2000
2006
|
|
2001
2007
|
> def last_textfield
|
2002
2008
|
|
@@ -2008,7 +2014,7 @@ __Returns:__
|
|
2008
2014
|
|
2009
2015
|
--
|
2010
2016
|
|
2011
|
-
##### [textfield_exact](https://github.com/appium/ruby_lib/blob/
|
2017
|
+
##### [textfield_exact](https://github.com/appium/ruby_lib/blob/5588ca7d9e97759888dca3bf4f2f273c2131fc08/lib/appium_lib/android/element/textfield.rb#L38) android
|
2012
2018
|
|
2013
2019
|
> def textfield_exact(value)
|
2014
2020
|
|
@@ -2024,7 +2030,7 @@ __Returns:__
|
|
2024
2030
|
|
2025
2031
|
--
|
2026
2032
|
|
2027
|
-
##### [textfields_exact](https://github.com/appium/ruby_lib/blob/
|
2033
|
+
##### [textfields_exact](https://github.com/appium/ruby_lib/blob/5588ca7d9e97759888dca3bf4f2f273c2131fc08/lib/appium_lib/android/element/textfield.rb#L45) android
|
2028
2034
|
|
2029
2035
|
> def textfields_exact(value)
|
2030
2036
|
|
@@ -2040,7 +2046,7 @@ __Returns:__
|
|
2040
2046
|
|
2041
2047
|
--
|
2042
2048
|
|
2043
|
-
##### [for](https://github.com/appium/ruby_lib/blob/
|
2049
|
+
##### [for](https://github.com/appium/ruby_lib/blob/5588ca7d9e97759888dca3bf4f2f273c2131fc08/lib/appium_lib/android/uiautomator2/bridge.rb#L7) android
|
2044
2050
|
|
2045
2051
|
> def self.for(target)
|
2046
2052
|
|
@@ -2048,7 +2054,7 @@ __Returns:__
|
|
2048
2054
|
|
2049
2055
|
--
|
2050
2056
|
|
2051
|
-
##### [string_visible_contains](https://github.com/appium/ruby_lib/blob/
|
2057
|
+
##### [string_visible_contains](https://github.com/appium/ruby_lib/blob/5588ca7d9e97759888dca3bf4f2f273c2131fc08/lib/appium_lib/android/uiautomator2/helper.rb#L13) android
|
2052
2058
|
|
2053
2059
|
> def string_visible_contains(class_name, value)
|
2054
2060
|
|
@@ -2069,7 +2075,7 @@ __Returns:__
|
|
2069
2075
|
|
2070
2076
|
--
|
2071
2077
|
|
2072
|
-
##### [complex_find_contains](https://github.com/appium/ruby_lib/blob/
|
2078
|
+
##### [complex_find_contains](https://github.com/appium/ruby_lib/blob/5588ca7d9e97759888dca3bf4f2f273c2131fc08/lib/appium_lib/android/uiautomator2/helper.rb#L31) android
|
2073
2079
|
|
2074
2080
|
> def complex_find_contains(class_name, value)
|
2075
2081
|
|
@@ -2087,7 +2093,7 @@ __Returns:__
|
|
2087
2093
|
|
2088
2094
|
--
|
2089
2095
|
|
2090
|
-
##### [complex_finds_contains](https://github.com/appium/ruby_lib/blob/
|
2096
|
+
##### [complex_finds_contains](https://github.com/appium/ruby_lib/blob/5588ca7d9e97759888dca3bf4f2f273c2131fc08/lib/appium_lib/android/uiautomator2/helper.rb#L41) android
|
2091
2097
|
|
2092
2098
|
> def complex_finds_contains(class_name, value)
|
2093
2099
|
|
@@ -2105,7 +2111,7 @@ __Returns:__
|
|
2105
2111
|
|
2106
2112
|
--
|
2107
2113
|
|
2108
|
-
##### [complex_find_exact](https://github.com/appium/ruby_lib/blob/
|
2114
|
+
##### [complex_find_exact](https://github.com/appium/ruby_lib/blob/5588ca7d9e97759888dca3bf4f2f273c2131fc08/lib/appium_lib/android/uiautomator2/helper.rb#L69) android
|
2109
2115
|
|
2110
2116
|
> def complex_find_exact(class_name, value)
|
2111
2117
|
|
@@ -2123,7 +2129,7 @@ __Returns:__
|
|
2123
2129
|
|
2124
2130
|
--
|
2125
2131
|
|
2126
|
-
##### [complex_finds_exact](https://github.com/appium/ruby_lib/blob/
|
2132
|
+
##### [complex_finds_exact](https://github.com/appium/ruby_lib/blob/5588ca7d9e97759888dca3bf4f2f273c2131fc08/lib/appium_lib/android/uiautomator2/helper.rb#L79) android
|
2127
2133
|
|
2128
2134
|
> def complex_finds_exact(class_name, value)
|
2129
2135
|
|
@@ -2141,7 +2147,7 @@ __Returns:__
|
|
2141
2147
|
|
2142
2148
|
--
|
2143
2149
|
|
2144
|
-
##### [button](https://github.com/appium/ruby_lib/blob/
|
2150
|
+
##### [button](https://github.com/appium/ruby_lib/blob/5588ca7d9e97759888dca3bf4f2f273c2131fc08/lib/appium_lib/android/uiautomator2/element/button.rb#L9) android
|
2145
2151
|
|
2146
2152
|
> def button(value)
|
2147
2153
|
|
@@ -2158,7 +2164,7 @@ __Returns:__
|
|
2158
2164
|
|
2159
2165
|
--
|
2160
2166
|
|
2161
|
-
##### [buttons](https://github.com/appium/ruby_lib/blob/
|
2167
|
+
##### [buttons](https://github.com/appium/ruby_lib/blob/5588ca7d9e97759888dca3bf4f2f273c2131fc08/lib/appium_lib/android/uiautomator2/element/button.rb#L29) android
|
2162
2168
|
|
2163
2169
|
> def buttons(value = false)
|
2164
2170
|
|
@@ -2175,7 +2181,7 @@ __Returns:__
|
|
2175
2181
|
|
2176
2182
|
--
|
2177
2183
|
|
2178
|
-
##### [first_button](https://github.com/appium/ruby_lib/blob/
|
2184
|
+
##### [first_button](https://github.com/appium/ruby_lib/blob/5588ca7d9e97759888dca3bf4f2f273c2131fc08/lib/appium_lib/android/uiautomator2/element/button.rb#L36) android
|
2179
2185
|
|
2180
2186
|
> def first_button
|
2181
2187
|
|
@@ -2187,7 +2193,7 @@ __Returns:__
|
|
2187
2193
|
|
2188
2194
|
--
|
2189
2195
|
|
2190
|
-
##### [last_button](https://github.com/appium/ruby_lib/blob/
|
2196
|
+
##### [last_button](https://github.com/appium/ruby_lib/blob/5588ca7d9e97759888dca3bf4f2f273c2131fc08/lib/appium_lib/android/uiautomator2/element/button.rb#L43) android
|
2191
2197
|
|
2192
2198
|
> def last_button
|
2193
2199
|
|
@@ -2199,7 +2205,7 @@ __Returns:__
|
|
2199
2205
|
|
2200
2206
|
--
|
2201
2207
|
|
2202
|
-
##### [button_exact](https://github.com/appium/ruby_lib/blob/
|
2208
|
+
##### [button_exact](https://github.com/appium/ruby_lib/blob/5588ca7d9e97759888dca3bf4f2f273c2131fc08/lib/appium_lib/android/uiautomator2/element/button.rb#L60) android
|
2203
2209
|
|
2204
2210
|
> def button_exact(value)
|
2205
2211
|
|
@@ -2215,7 +2221,7 @@ __Returns:__
|
|
2215
2221
|
|
2216
2222
|
--
|
2217
2223
|
|
2218
|
-
##### [buttons_exact](https://github.com/appium/ruby_lib/blob/
|
2224
|
+
##### [buttons_exact](https://github.com/appium/ruby_lib/blob/5588ca7d9e97759888dca3bf4f2f273c2131fc08/lib/appium_lib/android/uiautomator2/element/button.rb#L68) android
|
2219
2225
|
|
2220
2226
|
> def buttons_exact(value)
|
2221
2227
|
|