appium_lib 9.15.1 → 9.15.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.rubocop.yml +13 -15
- data/CHANGELOG.md +8 -0
- data/appium_lib.gemspec +7 -10
- data/docs/android_docs.md +259 -181
- data/docs/ios_docs.md +322 -244
- data/docs/ios_xcuitest.md +1 -1
- data/docs/w3c.md +21 -0
- data/lib/appium_lib/android/common/helper.rb +13 -13
- data/lib/appium_lib/android/element/button.rb +2 -0
- data/lib/appium_lib/android/element/generic.rb +2 -2
- data/lib/appium_lib/android/element/text.rb +2 -0
- data/lib/appium_lib/android/element/textfield.rb +2 -0
- data/lib/appium_lib/android/uiautomator2/element/button.rb +3 -0
- data/lib/appium_lib/android/uiautomator2/helper.rb +10 -8
- data/lib/appium_lib/appium.rb +4 -0
- data/lib/appium_lib/common/helper.rb +9 -8
- data/lib/appium_lib/common/multi_touch.rb +2 -0
- data/lib/appium_lib/common/touch_actions.rb +6 -5
- data/lib/appium_lib/driver.rb +72 -19
- data/lib/appium_lib/ios/common/helper.rb +36 -30
- data/lib/appium_lib/ios/element/button.rb +2 -0
- data/lib/appium_lib/ios/element/generic.rb +1 -0
- data/lib/appium_lib/ios/element/text.rb +2 -0
- data/lib/appium_lib/ios/element/textfield.rb +5 -2
- data/lib/appium_lib/ios/xcuitest/command/gestures.rb +4 -4
- data/lib/appium_lib/ios/xcuitest/element/button.rb +2 -0
- data/lib/appium_lib/ios/xcuitest/element/generic.rb +1 -0
- data/lib/appium_lib/ios/xcuitest/element/text.rb +2 -0
- data/lib/appium_lib/ios/xcuitest/element/textfield.rb +3 -0
- data/lib/appium_lib/ios/xcuitest/helper.rb +3 -4
- data/lib/appium_lib/version.rb +2 -2
- data/release_notes.md +10 -0
- metadata +39 -53
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ae15ebedb43f84b0fea58598015a9364d081742c
|
4
|
+
data.tar.gz: 363878d3b0ab961aa559e1c08bc6340448662be3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 647ab1ed5bbafbda5a00f4606b198fb68a1639116298a3126bc35737cc395638910145a2825f4b8bbadd22bd81b72f5bc0c353bcfb37813a80c32ce2f5440676
|
7
|
+
data.tar.gz: 38b08b53476fdb0e6ce10eb0b14eb9b349e4801fe6da1306922f785473fc0b7e0f077a4c729230f841b42d6533c6c2237227e6eb0dc945de5307eab933e144f8
|
data/.rubocop.yml
CHANGED
@@ -20,28 +20,14 @@ Style/Documentation:
|
|
20
20
|
Enabled: false
|
21
21
|
Style/RegexpLiteral:
|
22
22
|
Enabled: false
|
23
|
-
Style/ConstantName:
|
24
|
-
Enabled: false
|
25
23
|
# blocked on https://github.com/appium/ruby_lib/issues/312. Already removed from core part
|
26
24
|
Style/GlobalVars:
|
27
25
|
Enabled: false
|
28
|
-
Style/AccessorMethodName:
|
29
|
-
Enabled: false
|
30
26
|
Style/DoubleNegation:
|
31
27
|
Enabled: false
|
32
28
|
Style/EachWithObject:
|
33
29
|
Enabled: false
|
34
|
-
Style/
|
35
|
-
Enabled: false
|
36
|
-
Style/ExtraSpacing:
|
37
|
-
Enabled: false
|
38
|
-
Style/IndentHash:
|
39
|
-
Enabled: false
|
40
|
-
Style/VariableNumber:
|
41
|
-
EnforcedStyle: 'snake_case'
|
42
|
-
Style/MultilineOperationIndentation:
|
43
|
-
Enabled: false
|
44
|
-
Lint/NestedMethodDefinition:
|
30
|
+
Style/PercentLiteralDelimiters:
|
45
31
|
Enabled: false
|
46
32
|
# Should enable and fix for Ruby3
|
47
33
|
Style/FrozenStringLiteralComment:
|
@@ -52,3 +38,15 @@ Style/SafeNavigation:
|
|
52
38
|
# Can use over Ruby2.3
|
53
39
|
Style/NumericPredicate:
|
54
40
|
Enabled: false
|
41
|
+
Style/CommentedKeyword:
|
42
|
+
Enabled: false
|
43
|
+
Lint/NestedMethodDefinition:
|
44
|
+
Enabled: false
|
45
|
+
Naming/ConstantName:
|
46
|
+
Enabled: false
|
47
|
+
Naming/AccessorMethodName:
|
48
|
+
Enabled: false
|
49
|
+
Naming/MemoizedInstanceVariableName:
|
50
|
+
Enabled: false
|
51
|
+
Layout/IndentHeredoc:
|
52
|
+
Enabled: false
|
data/CHANGELOG.md
CHANGED
@@ -10,6 +10,14 @@ Release tags are https://github.com/appium/ruby_lib/releases .
|
|
10
10
|
|
11
11
|
### 3. Deprecations
|
12
12
|
|
13
|
+
## v9.15.2
|
14
|
+
### 1. Enhancements
|
15
|
+
- Wrap selenium-webdriver apis via `Appium::Driver` through Appium Core Bridge [#827](https://github.com/appium/ruby_lib/pull/827/files)
|
16
|
+
|
17
|
+
### 2. Bug fixes
|
18
|
+
|
19
|
+
### 3. Deprecations
|
20
|
+
|
13
21
|
## v9.15.1
|
14
22
|
### 1. Enhancements
|
15
23
|
- [Internal] Use [ruby_lib_core](https://github.com/appium/ruby_lib_core) 2.0
|
data/appium_lib.gemspec
CHANGED
@@ -15,20 +15,17 @@ Gem::Specification.new do |s|
|
|
15
15
|
s.require_paths = ['lib']
|
16
16
|
|
17
17
|
s.add_runtime_dependency 'appium_lib_core', '~> 2.0.0'
|
18
|
-
s.add_runtime_dependency 'tomlrb', '~> 1.1'
|
19
18
|
s.add_runtime_dependency 'nokogiri', '~> 1.8', '>= 1.8.1'
|
19
|
+
s.add_runtime_dependency 'tomlrb', '~> 1.1'
|
20
20
|
|
21
|
+
s.add_development_dependency 'fakefs', '~> 0.13.0'
|
22
|
+
s.add_development_dependency 'hashdiff', '~> 0.3.7'
|
21
23
|
s.add_development_dependency 'posix-spawn', '~> 0.3'
|
22
|
-
s.add_development_dependency '
|
23
|
-
s.add_development_dependency 'spec', '~> 5.3', '>= 5.3.4'
|
24
|
-
s.add_development_dependency 'fakefs', '~> 0.6.7'
|
25
|
-
|
24
|
+
s.add_development_dependency 'pry'
|
26
25
|
s.add_development_dependency 'rake', '~> 12.0'
|
26
|
+
s.add_development_dependency 'rubocop', '~> 0.60.0'
|
27
|
+
s.add_development_dependency 'spec', '~> 5.3', '>= 5.3.4'
|
27
28
|
s.add_development_dependency 'yard', '~> 0.9.11'
|
28
29
|
|
29
|
-
s.
|
30
|
-
s.add_development_dependency 'rainbow', '~> 2.1.0'
|
31
|
-
s.add_development_dependency 'pry'
|
32
|
-
|
33
|
-
s.files = `git ls-files`.split("\n").select { |v| !v.match /\A^(ios_tests|android_tests|grid|test_apps)\/.+/ }
|
30
|
+
s.files = `git ls-files`.split("\n").reject { |v| v.match /\A^(ios_tests|android_tests|grid|test_apps)\/.+/ }
|
34
31
|
end
|
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/c6eb8f5416ccdf75b161bc60c0986caec43d9ff8/lib/appium_lib/appium.rb#L46)
|
2
2
|
|
3
3
|
> def load_settings(opts = {})
|
4
4
|
|
@@ -27,7 +27,7 @@ __Returns:__
|
|
27
27
|
|
28
28
|
--
|
29
29
|
|
30
|
-
##### [load_appium_txt](https://github.com/appium/ruby_lib/blob/
|
30
|
+
##### [load_appium_txt](https://github.com/appium/ruby_lib/blob/c6eb8f5416ccdf75b161bc60c0986caec43d9ff8/lib/appium_lib/appium.rb#L82)
|
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/c6eb8f5416ccdf75b161bc60c0986caec43d9ff8/lib/appium_lib/appium.rb#L87)
|
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/c6eb8f5416ccdf75b161bc60c0986caec43d9ff8/lib/appium_lib/appium.rb#L129)
|
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/c6eb8f5416ccdf75b161bc60c0986caec43d9ff8/lib/appium_lib/appium.rb#L185)
|
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/c6eb8f5416ccdf75b161bc60c0986caec43d9ff8/lib/appium_lib/driver.rb#L37)
|
120
120
|
|
121
121
|
> def global_webdriver_http_sleep
|
122
122
|
|
@@ -124,7 +124,7 @@ The amount to sleep in seconds before every webdriver http call.
|
|
124
124
|
|
125
125
|
--
|
126
126
|
|
127
|
-
##### [global_webdriver_http_sleep=](https://github.com/appium/ruby_lib/blob/
|
127
|
+
##### [global_webdriver_http_sleep=](https://github.com/appium/ruby_lib/blob/c6eb8f5416ccdf75b161bc60c0986caec43d9ff8/lib/appium_lib/driver.rb#L37)
|
128
128
|
|
129
129
|
> def global_webdriver_http_sleep=(value)
|
130
130
|
|
@@ -132,7 +132,7 @@ The amount to sleep in seconds before every webdriver http call.
|
|
132
132
|
|
133
133
|
--
|
134
134
|
|
135
|
-
##### [sauce](https://github.com/appium/ruby_lib/blob/
|
135
|
+
##### [sauce](https://github.com/appium/ruby_lib/blob/c6eb8f5416ccdf75b161bc60c0986caec43d9ff8/lib/appium_lib/driver.rb#L40)
|
136
136
|
|
137
137
|
> def sauce
|
138
138
|
|
@@ -140,7 +140,7 @@ SauceLab's settings
|
|
140
140
|
|
141
141
|
--
|
142
142
|
|
143
|
-
##### [sauce_username](https://github.com/appium/ruby_lib/blob/
|
143
|
+
##### [sauce_username](https://github.com/appium/ruby_lib/blob/c6eb8f5416ccdf75b161bc60c0986caec43d9ff8/lib/appium_lib/driver.rb#L43)
|
144
144
|
|
145
145
|
> def sauce_username
|
146
146
|
|
@@ -149,7 +149,7 @@ same as @sauce.username
|
|
149
149
|
|
150
150
|
--
|
151
151
|
|
152
|
-
##### [sauce_access_key](https://github.com/appium/ruby_lib/blob/
|
152
|
+
##### [sauce_access_key](https://github.com/appium/ruby_lib/blob/c6eb8f5416ccdf75b161bc60c0986caec43d9ff8/lib/appium_lib/driver.rb#L46)
|
153
153
|
|
154
154
|
> def sauce_access_key
|
155
155
|
|
@@ -158,7 +158,7 @@ same as @sauce.access_key
|
|
158
158
|
|
159
159
|
--
|
160
160
|
|
161
|
-
##### [sauce_endpoint](https://github.com/appium/ruby_lib/blob/
|
161
|
+
##### [sauce_endpoint](https://github.com/appium/ruby_lib/blob/c6eb8f5416ccdf75b161bc60c0986caec43d9ff8/lib/appium_lib/driver.rb#L49)
|
162
162
|
|
163
163
|
> def sauce_endpoint
|
164
164
|
|
@@ -167,7 +167,7 @@ same as @sauce.endpoint
|
|
167
167
|
|
168
168
|
--
|
169
169
|
|
170
|
-
##### [caps](https://github.com/appium/ruby_lib/blob/
|
170
|
+
##### [caps](https://github.com/appium/ruby_lib/blob/c6eb8f5416ccdf75b161bc60c0986caec43d9ff8/lib/appium_lib/driver.rb#L53)
|
171
171
|
|
172
172
|
> def caps
|
173
173
|
|
@@ -176,7 +176,7 @@ read http://www.rubydoc.info/github/appium/ruby_lib_core/Appium/Core/Driver
|
|
176
176
|
|
177
177
|
--
|
178
178
|
|
179
|
-
##### [custom_url](https://github.com/appium/ruby_lib/blob/
|
179
|
+
##### [custom_url](https://github.com/appium/ruby_lib/blob/c6eb8f5416ccdf75b161bc60c0986caec43d9ff8/lib/appium_lib/driver.rb#L54)
|
180
180
|
|
181
181
|
> def custom_url
|
182
182
|
|
@@ -184,7 +184,7 @@ Returns the value of attribute custom_url
|
|
184
184
|
|
185
185
|
--
|
186
186
|
|
187
|
-
##### [export_session](https://github.com/appium/ruby_lib/blob/
|
187
|
+
##### [export_session](https://github.com/appium/ruby_lib/blob/c6eb8f5416ccdf75b161bc60c0986caec43d9ff8/lib/appium_lib/driver.rb#L55)
|
188
188
|
|
189
189
|
> def export_session
|
190
190
|
|
@@ -192,7 +192,7 @@ Returns the value of attribute export_session
|
|
192
192
|
|
193
193
|
--
|
194
194
|
|
195
|
-
##### [export_session_path](https://github.com/appium/ruby_lib/blob/
|
195
|
+
##### [export_session_path](https://github.com/appium/ruby_lib/blob/c6eb8f5416ccdf75b161bc60c0986caec43d9ff8/lib/appium_lib/driver.rb#L56)
|
196
196
|
|
197
197
|
> def export_session_path
|
198
198
|
|
@@ -200,7 +200,7 @@ Returns the value of attribute export_session_path
|
|
200
200
|
|
201
201
|
--
|
202
202
|
|
203
|
-
##### [default_wait](https://github.com/appium/ruby_lib/blob/
|
203
|
+
##### [default_wait](https://github.com/appium/ruby_lib/blob/c6eb8f5416ccdf75b161bc60c0986caec43d9ff8/lib/appium_lib/driver.rb#L57)
|
204
204
|
|
205
205
|
> def default_wait
|
206
206
|
|
@@ -208,7 +208,7 @@ Returns the value of attribute default_wait
|
|
208
208
|
|
209
209
|
--
|
210
210
|
|
211
|
-
##### [appium_port](https://github.com/appium/ruby_lib/blob/
|
211
|
+
##### [appium_port](https://github.com/appium/ruby_lib/blob/c6eb8f5416ccdf75b161bc60c0986caec43d9ff8/lib/appium_lib/driver.rb#L58)
|
212
212
|
|
213
213
|
> def appium_port
|
214
214
|
|
@@ -216,7 +216,7 @@ Returns the value of attribute appium_port
|
|
216
216
|
|
217
217
|
--
|
218
218
|
|
219
|
-
##### [appium_device](https://github.com/appium/ruby_lib/blob/
|
219
|
+
##### [appium_device](https://github.com/appium/ruby_lib/blob/c6eb8f5416ccdf75b161bc60c0986caec43d9ff8/lib/appium_lib/driver.rb#L59)
|
220
220
|
|
221
221
|
> def appium_device
|
222
222
|
|
@@ -224,7 +224,7 @@ Returns the value of attribute appium_device
|
|
224
224
|
|
225
225
|
--
|
226
226
|
|
227
|
-
##### [automation_name](https://github.com/appium/ruby_lib/blob/
|
227
|
+
##### [automation_name](https://github.com/appium/ruby_lib/blob/c6eb8f5416ccdf75b161bc60c0986caec43d9ff8/lib/appium_lib/driver.rb#L60)
|
228
228
|
|
229
229
|
> def automation_name
|
230
230
|
|
@@ -232,7 +232,7 @@ Returns the value of attribute automation_name
|
|
232
232
|
|
233
233
|
--
|
234
234
|
|
235
|
-
##### [listener](https://github.com/appium/ruby_lib/blob/
|
235
|
+
##### [listener](https://github.com/appium/ruby_lib/blob/c6eb8f5416ccdf75b161bc60c0986caec43d9ff8/lib/appium_lib/driver.rb#L61)
|
236
236
|
|
237
237
|
> def listener
|
238
238
|
|
@@ -240,7 +240,7 @@ Returns the value of attribute listener
|
|
240
240
|
|
241
241
|
--
|
242
242
|
|
243
|
-
##### [http_client](https://github.com/appium/ruby_lib/blob/
|
243
|
+
##### [http_client](https://github.com/appium/ruby_lib/blob/c6eb8f5416ccdf75b161bc60c0986caec43d9ff8/lib/appium_lib/driver.rb#L62)
|
244
244
|
|
245
245
|
> def http_client
|
246
246
|
|
@@ -248,7 +248,7 @@ Returns the value of attribute http_client
|
|
248
248
|
|
249
249
|
--
|
250
250
|
|
251
|
-
##### [appium_wait_timeout](https://github.com/appium/ruby_lib/blob/
|
251
|
+
##### [appium_wait_timeout](https://github.com/appium/ruby_lib/blob/c6eb8f5416ccdf75b161bc60c0986caec43d9ff8/lib/appium_lib/driver.rb#L63)
|
252
252
|
|
253
253
|
> def appium_wait_timeout
|
254
254
|
|
@@ -256,7 +256,7 @@ Returns the value of attribute appium_wait_timeout
|
|
256
256
|
|
257
257
|
--
|
258
258
|
|
259
|
-
##### [appium_wait_interval](https://github.com/appium/ruby_lib/blob/
|
259
|
+
##### [appium_wait_interval](https://github.com/appium/ruby_lib/blob/c6eb8f5416ccdf75b161bc60c0986caec43d9ff8/lib/appium_lib/driver.rb#L64)
|
260
260
|
|
261
261
|
> def appium_wait_interval
|
262
262
|
|
@@ -264,7 +264,7 @@ Returns the value of attribute appium_wait_interval
|
|
264
264
|
|
265
265
|
--
|
266
266
|
|
267
|
-
##### [appium_server_status](https://github.com/appium/ruby_lib/blob/
|
267
|
+
##### [appium_server_status](https://github.com/appium/ruby_lib/blob/c6eb8f5416ccdf75b161bc60c0986caec43d9ff8/lib/appium_lib/driver.rb#L67)
|
268
268
|
|
269
269
|
> def appium_server_status
|
270
270
|
|
@@ -272,7 +272,7 @@ Appium's server version
|
|
272
272
|
|
273
273
|
--
|
274
274
|
|
275
|
-
##### [appium_debug](https://github.com/appium/ruby_lib/blob/
|
275
|
+
##### [appium_debug](https://github.com/appium/ruby_lib/blob/c6eb8f5416ccdf75b161bc60c0986caec43d9ff8/lib/appium_lib/driver.rb#L69)
|
276
276
|
|
277
277
|
> def appium_debug
|
278
278
|
|
@@ -280,7 +280,7 @@ Boolean debug mode for the Appium Ruby bindings
|
|
280
280
|
|
281
281
|
--
|
282
282
|
|
283
|
-
##### [driver](https://github.com/appium/ruby_lib/blob/
|
283
|
+
##### [driver](https://github.com/appium/ruby_lib/blob/c6eb8f5416ccdf75b161bc60c0986caec43d9ff8/lib/appium_lib/driver.rb#L72)
|
284
284
|
|
285
285
|
> def driver
|
286
286
|
|
@@ -292,7 +292,7 @@ __Returns:__
|
|
292
292
|
|
293
293
|
--
|
294
294
|
|
295
|
-
##### [core](https://github.com/appium/ruby_lib/blob/
|
295
|
+
##### [core](https://github.com/appium/ruby_lib/blob/c6eb8f5416ccdf75b161bc60c0986caec43d9ff8/lib/appium_lib/driver.rb#L74)
|
296
296
|
|
297
297
|
> def core
|
298
298
|
|
@@ -300,7 +300,7 @@ Instance of Appium::Core::Driver
|
|
300
300
|
|
301
301
|
--
|
302
302
|
|
303
|
-
##### [initialize](https://github.com/appium/ruby_lib/blob/
|
303
|
+
##### [initialize](https://github.com/appium/ruby_lib/blob/c6eb8f5416ccdf75b161bc60c0986caec43d9ff8/lib/appium_lib/driver.rb#L142)
|
304
304
|
|
305
305
|
> def initialize(opts = {}, global_driver = nil)
|
306
306
|
|
@@ -319,7 +319,7 @@ __Returns:__
|
|
319
319
|
|
320
320
|
--
|
321
321
|
|
322
|
-
##### [driver_attributes](https://github.com/appium/ruby_lib/blob/
|
322
|
+
##### [driver_attributes](https://github.com/appium/ruby_lib/blob/c6eb8f5416ccdf75b161bc60c0986caec43d9ff8/lib/appium_lib/driver.rb#L256)
|
323
323
|
|
324
324
|
> def driver_attributes
|
325
325
|
|
@@ -327,7 +327,7 @@ Returns a hash of the driver attributes
|
|
327
327
|
|
328
328
|
--
|
329
329
|
|
330
|
-
##### [device_is_android?](https://github.com/appium/ruby_lib/blob/
|
330
|
+
##### [device_is_android?](https://github.com/appium/ruby_lib/blob/c6eb8f5416ccdf75b161bc60c0986caec43d9ff8/lib/appium_lib/driver.rb#L278)
|
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/c6eb8f5416ccdf75b161bc60c0986caec43d9ff8/lib/appium_lib/driver.rb#L282)
|
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/c6eb8f5416ccdf75b161bc60c0986caec43d9ff8/lib/appium_lib/driver.rb#L286)
|
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/c6eb8f5416ccdf75b161bc60c0986caec43d9ff8/lib/appium_lib/driver.rb#L292)
|
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/c6eb8f5416ccdf75b161bc60c0986caec43d9ff8/lib/appium_lib/driver.rb#L298)
|
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/c6eb8f5416ccdf75b161bc60c0986caec43d9ff8/lib/appium_lib/driver.rb#L304)
|
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/c6eb8f5416ccdf75b161bc60c0986caec43d9ff8/lib/appium_lib/driver.rb#L324)
|
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/c6eb8f5416ccdf75b161bc60c0986caec43d9ff8/lib/appium_lib/driver.rb#L331)
|
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/c6eb8f5416ccdf75b161bc60c0986caec43d9ff8/lib/appium_lib/driver.rb#L353)
|
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/c6eb8f5416ccdf75b161bc60c0986caec43d9ff8/lib/appium_lib/driver.rb#L361)
|
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/c6eb8f5416ccdf75b161bc60c0986caec43d9ff8/lib/appium_lib/driver.rb#L365)
|
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/c6eb8f5416ccdf75b161bc60c0986caec43d9ff8/lib/appium_lib/driver.rb#L378)
|
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/c6eb8f5416ccdf75b161bc60c0986caec43d9ff8/lib/appium_lib/driver.rb#L390)
|
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/c6eb8f5416ccdf75b161bc60c0986caec43d9ff8/lib/appium_lib/driver.rb#L408)
|
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/c6eb8f5416ccdf75b161bc60c0986caec43d9ff8/lib/appium_lib/driver.rb#L417)
|
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/c6eb8f5416ccdf75b161bc60c0986caec43d9ff8/lib/appium_lib/driver.rb#L430)
|
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/c6eb8f5416ccdf75b161bc60c0986caec43d9ff8/lib/appium_lib/driver.rb#L444)
|
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/c6eb8f5416ccdf75b161bc60c0986caec43d9ff8/lib/appium_lib/driver.rb#L451)
|
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/c6eb8f5416ccdf75b161bc60c0986caec43d9ff8/lib/appium_lib/driver.rb#L454)
|
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/c6eb8f5416ccdf75b161bc60c0986caec43d9ff8/lib/appium_lib/driver.rb#L465)
|
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/c6eb8f5416ccdf75b161bc60c0986caec43d9ff8/lib/appium_lib/driver.rb#L498)
|
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/c6eb8f5416ccdf75b161bc60c0986caec43d9ff8/lib/appium_lib/driver.rb#L520)
|
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/c6eb8f5416ccdf75b161bc60c0986caec43d9ff8/lib/appium_lib/driver.rb#L531)
|
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/c6eb8f5416ccdf75b161bc60c0986caec43d9ff8/lib/appium_lib/driver.rb#L545)
|
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/c6eb8f5416ccdf75b161bc60c0986caec43d9ff8/lib/appium_lib/driver.rb#L562)
|
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/c6eb8f5416ccdf75b161bc60c0986caec43d9ff8/lib/appium_lib/driver.rb#L586)
|
673
673
|
|
674
674
|
> def execute_script(script, *args)
|
675
675
|
|
@@ -687,7 +687,85 @@ __Returns:__
|
|
687
687
|
|
688
688
|
--
|
689
689
|
|
690
|
-
##### [
|
690
|
+
##### [execute_async_script](https://github.com/appium/ruby_lib/blob/c6eb8f5416ccdf75b161bc60c0986caec43d9ff8/lib/appium_lib/driver.rb#L594)
|
691
|
+
|
692
|
+
> def execute_async_script(script, *args)
|
693
|
+
|
694
|
+
Wrap calling selenium webdrier APIs via ruby_core
|
695
|
+
|
696
|
+
Get the window handles of open browser windows
|
697
|
+
|
698
|
+
--
|
699
|
+
|
700
|
+
##### [window_handles](https://github.com/appium/ruby_lib/blob/c6eb8f5416ccdf75b161bc60c0986caec43d9ff8/lib/appium_lib/driver.rb#L598)
|
701
|
+
|
702
|
+
> def window_handles
|
703
|
+
|
704
|
+
|
705
|
+
|
706
|
+
--
|
707
|
+
|
708
|
+
##### [window_handle](https://github.com/appium/ruby_lib/blob/c6eb8f5416ccdf75b161bc60c0986caec43d9ff8/lib/appium_lib/driver.rb#L603)
|
709
|
+
|
710
|
+
> def window_handle
|
711
|
+
|
712
|
+
Get the current window handle
|
713
|
+
|
714
|
+
--
|
715
|
+
|
716
|
+
##### [navigate](https://github.com/appium/ruby_lib/blob/c6eb8f5416ccdf75b161bc60c0986caec43d9ff8/lib/appium_lib/driver.rb#L607)
|
717
|
+
|
718
|
+
> def navigate
|
719
|
+
|
720
|
+
|
721
|
+
|
722
|
+
--
|
723
|
+
|
724
|
+
##### [manage](https://github.com/appium/ruby_lib/blob/c6eb8f5416ccdf75b161bc60c0986caec43d9ff8/lib/appium_lib/driver.rb#L611)
|
725
|
+
|
726
|
+
> def manage
|
727
|
+
|
728
|
+
|
729
|
+
|
730
|
+
--
|
731
|
+
|
732
|
+
##### [get](https://github.com/appium/ruby_lib/blob/c6eb8f5416ccdf75b161bc60c0986caec43d9ff8/lib/appium_lib/driver.rb#L615)
|
733
|
+
|
734
|
+
> def get(url)
|
735
|
+
|
736
|
+
|
737
|
+
|
738
|
+
--
|
739
|
+
|
740
|
+
##### [current_url](https://github.com/appium/ruby_lib/blob/c6eb8f5416ccdf75b161bc60c0986caec43d9ff8/lib/appium_lib/driver.rb#L619)
|
741
|
+
|
742
|
+
> def current_url
|
743
|
+
|
744
|
+
|
745
|
+
|
746
|
+
--
|
747
|
+
|
748
|
+
##### [title](https://github.com/appium/ruby_lib/blob/c6eb8f5416ccdf75b161bc60c0986caec43d9ff8/lib/appium_lib/driver.rb#L623)
|
749
|
+
|
750
|
+
> def title
|
751
|
+
|
752
|
+
|
753
|
+
|
754
|
+
--
|
755
|
+
|
756
|
+
##### [switch_to](https://github.com/appium/ruby_lib/blob/c6eb8f5416ccdf75b161bc60c0986caec43d9ff8/lib/appium_lib/driver.rb#L629)
|
757
|
+
|
758
|
+
> def switch_to
|
759
|
+
|
760
|
+
|
761
|
+
|
762
|
+
__Returns:__
|
763
|
+
|
764
|
+
[TargetLocator]
|
765
|
+
|
766
|
+
--
|
767
|
+
|
768
|
+
##### [find_elements](https://github.com/appium/ruby_lib/blob/c6eb8f5416ccdf75b161bc60c0986caec43d9ff8/lib/appium_lib/driver.rb#L656)
|
691
769
|
|
692
770
|
> def find_elements(*args)
|
693
771
|
|
@@ -707,7 +785,7 @@ __Returns:__
|
|
707
785
|
|
708
786
|
--
|
709
787
|
|
710
|
-
##### [find_element](https://github.com/appium/ruby_lib/blob/
|
788
|
+
##### [find_element](https://github.com/appium/ruby_lib/blob/c6eb8f5416ccdf75b161bc60c0986caec43d9ff8/lib/appium_lib/driver.rb#L672)
|
711
789
|
|
712
790
|
> def find_element(*args)
|
713
791
|
|
@@ -725,7 +803,7 @@ __Returns:__
|
|
725
803
|
|
726
804
|
--
|
727
805
|
|
728
|
-
##### [DEFAULT_MATCH_THRESHOLD](https://github.com/appium/ruby_lib/blob/
|
806
|
+
##### [DEFAULT_MATCH_THRESHOLD](https://github.com/appium/ruby_lib/blob/c6eb8f5416ccdf75b161bc60c0986caec43d9ff8/lib/appium_lib/driver.rb#L690)
|
729
807
|
|
730
808
|
> DEFAULT_MATCH_THRESHOLD = 0.5
|
731
809
|
|
@@ -746,7 +824,7 @@ __Returns:__
|
|
746
824
|
|
747
825
|
--
|
748
826
|
|
749
|
-
##### [find_element_by_image](https://github.com/appium/ruby_lib/blob/
|
827
|
+
##### [find_element_by_image](https://github.com/appium/ruby_lib/blob/c6eb8f5416ccdf75b161bc60c0986caec43d9ff8/lib/appium_lib/driver.rb#L691)
|
750
828
|
|
751
829
|
> def find_element_by_image(png_img_path, match_threshold: DEFAULT_MATCH_THRESHOLD, visualize: false)
|
752
830
|
|
@@ -754,7 +832,7 @@ __Returns:__
|
|
754
832
|
|
755
833
|
--
|
756
834
|
|
757
|
-
##### [find_elements_by_image](https://github.com/appium/ruby_lib/blob/
|
835
|
+
##### [find_elements_by_image](https://github.com/appium/ruby_lib/blob/c6eb8f5416ccdf75b161bc60c0986caec43d9ff8/lib/appium_lib/driver.rb#L709)
|
758
836
|
|
759
837
|
> def find_elements_by_image(png_img_paths, match_threshold: DEFAULT_MATCH_THRESHOLD, visualize: false)
|
760
838
|
|
@@ -775,7 +853,7 @@ __Returns:__
|
|
775
853
|
|
776
854
|
--
|
777
855
|
|
778
|
-
##### [set_location](https://github.com/appium/ruby_lib/blob/
|
856
|
+
##### [set_location](https://github.com/appium/ruby_lib/blob/c6eb8f5416ccdf75b161bc60c0986caec43d9ff8/lib/appium_lib/driver.rb#L722)
|
779
857
|
|
780
858
|
> def set_location(opts = {})
|
781
859
|
|
@@ -791,7 +869,7 @@ __Returns:__
|
|
791
869
|
|
792
870
|
--
|
793
871
|
|
794
|
-
##### [x](https://github.com/appium/ruby_lib/blob/
|
872
|
+
##### [x](https://github.com/appium/ruby_lib/blob/c6eb8f5416ccdf75b161bc60c0986caec43d9ff8/lib/appium_lib/driver.rb#L732)
|
795
873
|
|
796
874
|
> def x
|
797
875
|
|
@@ -804,7 +882,7 @@ __Returns:__
|
|
804
882
|
|
805
883
|
--
|
806
884
|
|
807
|
-
##### [username](https://github.com/appium/ruby_lib/blob/
|
885
|
+
##### [username](https://github.com/appium/ruby_lib/blob/c6eb8f5416ccdf75b161bc60c0986caec43d9ff8/lib/appium_lib/sauce_labs.rb#L4)
|
808
886
|
|
809
887
|
> def username
|
810
888
|
|
@@ -812,7 +890,7 @@ Username for use on Sauce Labs. Set `false` to disable Sauce, even when SAUCE_US
|
|
812
890
|
|
813
891
|
--
|
814
892
|
|
815
|
-
##### [access_key](https://github.com/appium/ruby_lib/blob/
|
893
|
+
##### [access_key](https://github.com/appium/ruby_lib/blob/c6eb8f5416ccdf75b161bc60c0986caec43d9ff8/lib/appium_lib/sauce_labs.rb#L6)
|
816
894
|
|
817
895
|
> def access_key
|
818
896
|
|
@@ -820,7 +898,7 @@ Access Key for use on Sauce Labs. Set `false` to disable Sauce, even when SAUCE_
|
|
820
898
|
|
821
899
|
--
|
822
900
|
|
823
|
-
##### [endpoint](https://github.com/appium/ruby_lib/blob/
|
901
|
+
##### [endpoint](https://github.com/appium/ruby_lib/blob/c6eb8f5416ccdf75b161bc60c0986caec43d9ff8/lib/appium_lib/sauce_labs.rb#L8)
|
824
902
|
|
825
903
|
> def endpoint
|
826
904
|
|
@@ -828,7 +906,7 @@ Override the Sauce Appium endpoint to allow e.g. TestObject tests. Default is 'o
|
|
828
906
|
|
829
907
|
--
|
830
908
|
|
831
|
-
##### [initialize](https://github.com/appium/ruby_lib/blob/
|
909
|
+
##### [initialize](https://github.com/appium/ruby_lib/blob/c6eb8f5416ccdf75b161bc60c0986caec43d9ff8/lib/appium_lib/sauce_labs.rb#L33)
|
832
910
|
|
833
911
|
> def initialize(appium_lib_opts)
|
834
912
|
|
@@ -844,7 +922,7 @@ __Returns:__
|
|
844
922
|
|
845
923
|
--
|
846
924
|
|
847
|
-
##### [sauce_server_url?](https://github.com/appium/ruby_lib/blob/
|
925
|
+
##### [sauce_server_url?](https://github.com/appium/ruby_lib/blob/c6eb8f5416ccdf75b161bc60c0986caec43d9ff8/lib/appium_lib/sauce_labs.rb#L53)
|
848
926
|
|
849
927
|
> def sauce_server_url?
|
850
928
|
|
@@ -856,7 +934,7 @@ __Returns:__
|
|
856
934
|
|
857
935
|
--
|
858
936
|
|
859
|
-
##### [server_url](https://github.com/appium/ruby_lib/blob/
|
937
|
+
##### [server_url](https://github.com/appium/ruby_lib/blob/c6eb8f5416ccdf75b161bc60c0986caec43d9ff8/lib/appium_lib/sauce_labs.rb#L66)
|
860
938
|
|
861
939
|
> def server_url
|
862
940
|
|
@@ -868,7 +946,7 @@ __Returns:__
|
|
868
946
|
|
869
947
|
--
|
870
948
|
|
871
|
-
##### [get_log](https://github.com/appium/ruby_lib/blob/
|
949
|
+
##### [get_log](https://github.com/appium/ruby_lib/blob/c6eb8f5416ccdf75b161bc60c0986caec43d9ff8/lib/appium_lib/common/log.rb#L11)
|
872
950
|
|
873
951
|
> def get_log(type)
|
874
952
|
|
@@ -884,7 +962,7 @@ __Returns:__
|
|
884
962
|
|
885
963
|
--
|
886
964
|
|
887
|
-
##### [get_available_log_types](https://github.com/appium/ruby_lib/blob/
|
965
|
+
##### [get_available_log_types](https://github.com/appium/ruby_lib/blob/c6eb8f5416ccdf75b161bc60c0986caec43d9ff8/lib/appium_lib/common/log.rb#L23)
|
888
966
|
|
889
967
|
> def get_available_log_types
|
890
968
|
|
@@ -896,7 +974,7 @@ __Returns:__
|
|
896
974
|
|
897
975
|
--
|
898
976
|
|
899
|
-
##### [wait_true](https://github.com/appium/ruby_lib/blob/
|
977
|
+
##### [wait_true](https://github.com/appium/ruby_lib/blob/c6eb8f5416ccdf75b161bc60c0986caec43d9ff8/lib/appium_lib/common/wait.rb#L30)
|
900
978
|
|
901
979
|
> def wait_true(opts = {})
|
902
980
|
|
@@ -916,7 +994,7 @@ __Parameters:__
|
|
916
994
|
|
917
995
|
--
|
918
996
|
|
919
|
-
##### [wait](https://github.com/appium/ruby_lib/blob/
|
997
|
+
##### [wait](https://github.com/appium/ruby_lib/blob/c6eb8f5416ccdf75b161bc60c0986caec43d9ff8/lib/appium_lib/common/wait.rb#L59)
|
920
998
|
|
921
999
|
> def wait(opts = {})
|
922
1000
|
|
@@ -934,7 +1012,7 @@ __Parameters:__
|
|
934
1012
|
|
935
1013
|
--
|
936
1014
|
|
937
|
-
##### [add_touch_actions](https://github.com/appium/ruby_lib/blob/
|
1015
|
+
##### [add_touch_actions](https://github.com/appium/ruby_lib/blob/c6eb8f5416ccdf75b161bc60c0986caec43d9ff8/lib/appium_lib/common/device.rb#L12)
|
938
1016
|
|
939
1017
|
> def add_touch_actions
|
940
1018
|
|
@@ -942,7 +1020,7 @@ __Parameters:__
|
|
942
1020
|
|
943
1021
|
--
|
944
1022
|
|
945
|
-
##### [delegate_from_appium_driver](https://github.com/appium/ruby_lib/blob/
|
1023
|
+
##### [delegate_from_appium_driver](https://github.com/appium/ruby_lib/blob/c6eb8f5416ccdf75b161bc60c0986caec43d9ff8/lib/appium_lib/common/device.rb#L24)
|
946
1024
|
|
947
1025
|
> def delegate_from_appium_driver(method, delegation_target)
|
948
1026
|
|
@@ -950,7 +1028,7 @@ __Parameters:__
|
|
950
1028
|
|
951
1029
|
--
|
952
1030
|
|
953
|
-
##### [ignore](https://github.com/appium/ruby_lib/blob/
|
1031
|
+
##### [ignore](https://github.com/appium/ruby_lib/blob/c6eb8f5416ccdf75b161bc60c0986caec43d9ff8/lib/appium_lib/common/helper.rb#L16)
|
954
1032
|
|
955
1033
|
> def ignore
|
956
1034
|
|
@@ -958,7 +1036,7 @@ Return yield and ignore any exceptions.
|
|
958
1036
|
|
959
1037
|
--
|
960
1038
|
|
961
|
-
##### [back](https://github.com/appium/ruby_lib/blob/
|
1039
|
+
##### [back](https://github.com/appium/ruby_lib/blob/c6eb8f5416ccdf75b161bc60c0986caec43d9ff8/lib/appium_lib/common/helper.rb#L23)
|
962
1040
|
|
963
1041
|
> def back
|
964
1042
|
|
@@ -970,7 +1048,7 @@ __Returns:__
|
|
970
1048
|
|
971
1049
|
--
|
972
1050
|
|
973
|
-
##### [session_id](https://github.com/appium/ruby_lib/blob/
|
1051
|
+
##### [session_id](https://github.com/appium/ruby_lib/blob/c6eb8f5416ccdf75b161bc60c0986caec43d9ff8/lib/appium_lib/common/helper.rb#L34)
|
974
1052
|
|
975
1053
|
> def session_id
|
976
1054
|
|
@@ -982,7 +1060,7 @@ __Returns:__
|
|
982
1060
|
|
983
1061
|
--
|
984
1062
|
|
985
|
-
##### [xpath](https://github.com/appium/ruby_lib/blob/
|
1063
|
+
##### [xpath](https://github.com/appium/ruby_lib/blob/c6eb8f5416ccdf75b161bc60c0986caec43d9ff8/lib/appium_lib/common/helper.rb#L42)
|
986
1064
|
|
987
1065
|
> def xpath(xpath_str)
|
988
1066
|
|
@@ -998,7 +1076,7 @@ __Returns:__
|
|
998
1076
|
|
999
1077
|
--
|
1000
1078
|
|
1001
|
-
##### [xpaths](https://github.com/appium/ruby_lib/blob/
|
1079
|
+
##### [xpaths](https://github.com/appium/ruby_lib/blob/c6eb8f5416ccdf75b161bc60c0986caec43d9ff8/lib/appium_lib/common/helper.rb#L50)
|
1002
1080
|
|
1003
1081
|
> def xpaths(xpath_str)
|
1004
1082
|
|
@@ -1014,7 +1092,7 @@ __Returns:__
|
|
1014
1092
|
|
1015
1093
|
--
|
1016
1094
|
|
1017
|
-
##### [result](https://github.com/appium/ruby_lib/blob/
|
1095
|
+
##### [result](https://github.com/appium/ruby_lib/blob/c6eb8f5416ccdf75b161bc60c0986caec43d9ff8/lib/appium_lib/common/helper.rb#L60)
|
1018
1096
|
|
1019
1097
|
> def result
|
1020
1098
|
|
@@ -1022,7 +1100,7 @@ Returns the value of attribute result
|
|
1022
1100
|
|
1023
1101
|
--
|
1024
1102
|
|
1025
|
-
##### [initialize](https://github.com/appium/ruby_lib/blob/
|
1103
|
+
##### [initialize](https://github.com/appium/ruby_lib/blob/c6eb8f5416ccdf75b161bc60c0986caec43d9ff8/lib/appium_lib/common/helper.rb#L62)
|
1026
1104
|
|
1027
1105
|
> def initialize(platform)
|
1028
1106
|
|
@@ -1034,7 +1112,7 @@ __Returns:__
|
|
1034
1112
|
|
1035
1113
|
--
|
1036
1114
|
|
1037
|
-
##### [reset](https://github.com/appium/ruby_lib/blob/
|
1115
|
+
##### [reset](https://github.com/appium/ruby_lib/blob/c6eb8f5416ccdf75b161bc60c0986caec43d9ff8/lib/appium_lib/common/helper.rb#L67)
|
1038
1116
|
|
1039
1117
|
> def reset
|
1040
1118
|
|
@@ -1042,7 +1120,7 @@ __Returns:__
|
|
1042
1120
|
|
1043
1121
|
--
|
1044
1122
|
|
1045
|
-
##### [start_element](https://github.com/appium/ruby_lib/blob/
|
1123
|
+
##### [start_element](https://github.com/appium/ruby_lib/blob/c6eb8f5416ccdf75b161bc60c0986caec43d9ff8/lib/appium_lib/common/helper.rb#L72)
|
1046
1124
|
|
1047
1125
|
> def start_element(name, attrs = [])
|
1048
1126
|
|
@@ -1050,7 +1128,7 @@ http://nokogiri.org/Nokogiri/XML/SAX/Document.html
|
|
1050
1128
|
|
1051
1129
|
--
|
1052
1130
|
|
1053
|
-
##### [formatted_result](https://github.com/appium/ruby_lib/blob/
|
1131
|
+
##### [formatted_result](https://github.com/appium/ruby_lib/blob/c6eb8f5416ccdf75b161bc60c0986caec43d9ff8/lib/appium_lib/common/helper.rb#L83)
|
1054
1132
|
|
1055
1133
|
> def formatted_result
|
1056
1134
|
|
@@ -1058,7 +1136,7 @@ http://nokogiri.org/Nokogiri/XML/SAX/Document.html
|
|
1058
1136
|
|
1059
1137
|
--
|
1060
1138
|
|
1061
|
-
##### [get_page_class](https://github.com/appium/ruby_lib/blob/
|
1139
|
+
##### [get_page_class](https://github.com/appium/ruby_lib/blob/c6eb8f5416ccdf75b161bc60c0986caec43d9ff8/lib/appium_lib/common/helper.rb#L101)
|
1062
1140
|
|
1063
1141
|
> def get_page_class
|
1064
1142
|
|
@@ -1070,7 +1148,7 @@ __Returns:__
|
|
1070
1148
|
|
1071
1149
|
--
|
1072
1150
|
|
1073
|
-
##### [page_class](https://github.com/appium/ruby_lib/blob/
|
1151
|
+
##### [page_class](https://github.com/appium/ruby_lib/blob/c6eb8f5416ccdf75b161bc60c0986caec43d9ff8/lib/appium_lib/common/helper.rb#L126)
|
1074
1152
|
|
1075
1153
|
> def page_class
|
1076
1154
|
|
@@ -1083,7 +1161,7 @@ __Returns:__
|
|
1083
1161
|
|
1084
1162
|
--
|
1085
1163
|
|
1086
|
-
##### [source](https://github.com/appium/ruby_lib/blob/
|
1164
|
+
##### [source](https://github.com/appium/ruby_lib/blob/c6eb8f5416ccdf75b161bc60c0986caec43d9ff8/lib/appium_lib/common/helper.rb#L133)
|
1087
1165
|
|
1088
1166
|
> def source
|
1089
1167
|
|
@@ -1095,7 +1173,7 @@ __Returns:__
|
|
1095
1173
|
|
1096
1174
|
--
|
1097
1175
|
|
1098
|
-
##### [get_source](https://github.com/appium/ruby_lib/blob/
|
1176
|
+
##### [get_source](https://github.com/appium/ruby_lib/blob/c6eb8f5416ccdf75b161bc60c0986caec43d9ff8/lib/appium_lib/common/helper.rb#L140)
|
1099
1177
|
|
1100
1178
|
> def get_source
|
1101
1179
|
|
@@ -1108,7 +1186,7 @@ __Returns:__
|
|
1108
1186
|
|
1109
1187
|
--
|
1110
1188
|
|
1111
|
-
##### [px_to_window_rel](https://github.com/appium/ruby_lib/blob/
|
1189
|
+
##### [px_to_window_rel](https://github.com/appium/ruby_lib/blob/c6eb8f5416ccdf75b161bc60c0986caec43d9ff8/lib/appium_lib/common/helper.rb#L150)
|
1112
1190
|
|
1113
1191
|
> def px_to_window_rel(opts = {}, driver = $driver)
|
1114
1192
|
|
@@ -1116,7 +1194,7 @@ Converts pixel values to window relative values
|
|
1116
1194
|
|
1117
1195
|
--
|
1118
1196
|
|
1119
|
-
##### [xml_keys](https://github.com/appium/ruby_lib/blob/
|
1197
|
+
##### [xml_keys](https://github.com/appium/ruby_lib/blob/c6eb8f5416ccdf75b161bc60c0986caec43d9ff8/lib/appium_lib/common/helper.rb#L169)
|
1120
1198
|
|
1121
1199
|
> def xml_keys(target)
|
1122
1200
|
|
@@ -1132,7 +1210,7 @@ __Returns:__
|
|
1132
1210
|
|
1133
1211
|
--
|
1134
1212
|
|
1135
|
-
##### [xml_values](https://github.com/appium/ruby_lib/blob/
|
1213
|
+
##### [xml_values](https://github.com/appium/ruby_lib/blob/c6eb8f5416ccdf75b161bc60c0986caec43d9ff8/lib/appium_lib/common/helper.rb#L177)
|
1136
1214
|
|
1137
1215
|
> def xml_values(target)
|
1138
1216
|
|
@@ -1148,7 +1226,7 @@ __Returns:__
|
|
1148
1226
|
|
1149
1227
|
--
|
1150
1228
|
|
1151
|
-
##### [resolve_id](https://github.com/appium/ruby_lib/blob/
|
1229
|
+
##### [resolve_id](https://github.com/appium/ruby_lib/blob/c6eb8f5416ccdf75b161bc60c0986caec43d9ff8/lib/appium_lib/common/helper.rb#L185)
|
1152
1230
|
|
1153
1231
|
> def resolve_id(id)
|
1154
1232
|
|
@@ -1164,7 +1242,7 @@ __Returns:__
|
|
1164
1242
|
|
1165
1243
|
--
|
1166
1244
|
|
1167
|
-
##### [filter](https://github.com/appium/ruby_lib/blob/
|
1245
|
+
##### [filter](https://github.com/appium/ruby_lib/blob/c6eb8f5416ccdf75b161bc60c0986caec43d9ff8/lib/appium_lib/common/helper.rb#L192)
|
1168
1246
|
|
1169
1247
|
> def filter
|
1170
1248
|
|
@@ -1172,7 +1250,7 @@ Returns the value of attribute filter
|
|
1172
1250
|
|
1173
1251
|
--
|
1174
1252
|
|
1175
|
-
##### [filter=](https://github.com/appium/ruby_lib/blob/
|
1253
|
+
##### [filter=](https://github.com/appium/ruby_lib/blob/c6eb8f5416ccdf75b161bc60c0986caec43d9ff8/lib/appium_lib/common/helper.rb#L195)
|
1176
1254
|
|
1177
1255
|
> def filter=(value)
|
1178
1256
|
|
@@ -1180,7 +1258,7 @@ convert to string to support symbols
|
|
1180
1258
|
|
1181
1259
|
--
|
1182
1260
|
|
1183
|
-
##### [initialize](https://github.com/appium/ruby_lib/blob/
|
1261
|
+
##### [initialize](https://github.com/appium/ruby_lib/blob/c6eb8f5416ccdf75b161bc60c0986caec43d9ff8/lib/appium_lib/common/helper.rb#L202)
|
1184
1262
|
|
1185
1263
|
> def initialize
|
1186
1264
|
|
@@ -1192,7 +1270,7 @@ __Returns:__
|
|
1192
1270
|
|
1193
1271
|
--
|
1194
1272
|
|
1195
|
-
##### [reset](https://github.com/appium/ruby_lib/blob/
|
1273
|
+
##### [reset](https://github.com/appium/ruby_lib/blob/c6eb8f5416ccdf75b161bc60c0986caec43d9ff8/lib/appium_lib/common/helper.rb#L207)
|
1196
1274
|
|
1197
1275
|
> def reset
|
1198
1276
|
|
@@ -1200,7 +1278,7 @@ __Returns:__
|
|
1200
1278
|
|
1201
1279
|
--
|
1202
1280
|
|
1203
|
-
##### [result](https://github.com/appium/ruby_lib/blob/
|
1281
|
+
##### [result](https://github.com/appium/ruby_lib/blob/c6eb8f5416ccdf75b161bc60c0986caec43d9ff8/lib/appium_lib/common/helper.rb#L213)
|
1204
1282
|
|
1205
1283
|
> def result
|
1206
1284
|
|
@@ -1208,7 +1286,7 @@ __Returns:__
|
|
1208
1286
|
|
1209
1287
|
--
|
1210
1288
|
|
1211
|
-
##### [start_element](https://github.com/appium/ruby_lib/blob/
|
1289
|
+
##### [start_element](https://github.com/appium/ruby_lib/blob/c6eb8f5416ccdf75b161bc60c0986caec43d9ff8/lib/appium_lib/common/helper.rb#L226)
|
1212
1290
|
|
1213
1291
|
> def start_element(name, attrs = [])
|
1214
1292
|
|
@@ -1216,7 +1294,7 @@ __Returns:__
|
|
1216
1294
|
|
1217
1295
|
--
|
1218
1296
|
|
1219
|
-
##### [end_element](https://github.com/appium/ruby_lib/blob/
|
1297
|
+
##### [end_element](https://github.com/appium/ruby_lib/blob/c6eb8f5416ccdf75b161bc60c0986caec43d9ff8/lib/appium_lib/common/helper.rb#L236)
|
1220
1298
|
|
1221
1299
|
> def end_element(name)
|
1222
1300
|
|
@@ -1224,7 +1302,7 @@ __Returns:__
|
|
1224
1302
|
|
1225
1303
|
--
|
1226
1304
|
|
1227
|
-
##### [characters](https://github.com/appium/ruby_lib/blob/
|
1305
|
+
##### [characters](https://github.com/appium/ruby_lib/blob/c6eb8f5416ccdf75b161bc60c0986caec43d9ff8/lib/appium_lib/common/helper.rb#L243)
|
1228
1306
|
|
1229
1307
|
> def characters(chars)
|
1230
1308
|
|
@@ -1232,7 +1310,7 @@ __Returns:__
|
|
1232
1310
|
|
1233
1311
|
--
|
1234
1312
|
|
1235
|
-
##### [DEFAULT_HEADERS](https://github.com/appium/ruby_lib/blob/
|
1313
|
+
##### [DEFAULT_HEADERS](https://github.com/appium/ruby_lib/blob/c6eb8f5416ccdf75b161bc60c0986caec43d9ff8/lib/appium_lib/common/http_client.rb#L8)
|
1236
1314
|
|
1237
1315
|
> DEFAULT_HEADERS = { 'Accept' => CONTENT_TYPE, 'User-Agent' => "appium/ruby_lib/#{::Appium::VERSION}" }.freeze
|
1238
1316
|
|
@@ -1240,7 +1318,7 @@ Default HTTP client inherit Appium::Core::Base::Http::Default, but has different
|
|
1240
1318
|
|
1241
1319
|
--
|
1242
1320
|
|
1243
|
-
##### [pinch](https://github.com/appium/ruby_lib/blob/
|
1321
|
+
##### [pinch](https://github.com/appium/ruby_lib/blob/c6eb8f5416ccdf75b161bc60c0986caec43d9ff8/lib/appium_lib/common/multi_touch.rb#L51)
|
1244
1322
|
|
1245
1323
|
> def pinch(percentage = 25, auto_perform = true, driver = $driver)
|
1246
1324
|
|
@@ -1260,7 +1338,7 @@ __Parameters:__
|
|
1260
1338
|
|
1261
1339
|
--
|
1262
1340
|
|
1263
|
-
##### [zoom](https://github.com/appium/ruby_lib/blob/
|
1341
|
+
##### [zoom](https://github.com/appium/ruby_lib/blob/c6eb8f5416ccdf75b161bc60c0986caec43d9ff8/lib/appium_lib/common/multi_touch.rb#L94)
|
1264
1342
|
|
1265
1343
|
> def zoom(percentage = 200, auto_perform = true, driver = $driver)
|
1266
1344
|
|
@@ -1280,7 +1358,7 @@ __Parameters:__
|
|
1280
1358
|
|
1281
1359
|
--
|
1282
1360
|
|
1283
|
-
##### [initialize](https://github.com/appium/ruby_lib/blob/
|
1361
|
+
##### [initialize](https://github.com/appium/ruby_lib/blob/c6eb8f5416ccdf75b161bc60c0986caec43d9ff8/lib/appium_lib/common/multi_touch.rb#L180)
|
1284
1362
|
|
1285
1363
|
> def initialize(driver = $driver)
|
1286
1364
|
|
@@ -1292,7 +1370,7 @@ __Returns:__
|
|
1292
1370
|
|
1293
1371
|
--
|
1294
1372
|
|
1295
|
-
##### [COMPLEX_ACTIONS](https://github.com/appium/ruby_lib/blob/
|
1373
|
+
##### [COMPLEX_ACTIONS](https://github.com/appium/ruby_lib/blob/c6eb8f5416ccdf75b161bc60c0986caec43d9ff8/lib/appium_lib/common/touch_actions.rb#L33)
|
1296
1374
|
|
1297
1375
|
> COMPLEX_ACTIONS = ::Appium::Core::TouchAction::COMPLEX_ACTIONS
|
1298
1376
|
|
@@ -1300,7 +1378,7 @@ __Returns:__
|
|
1300
1378
|
|
1301
1379
|
--
|
1302
1380
|
|
1303
|
-
##### [initialize](https://github.com/appium/ruby_lib/blob/
|
1381
|
+
##### [initialize](https://github.com/appium/ruby_lib/blob/c6eb8f5416ccdf75b161bc60c0986caec43d9ff8/lib/appium_lib/common/touch_actions.rb#L48)
|
1304
1382
|
|
1305
1383
|
> def initialize(driver = $driver)
|
1306
1384
|
|
@@ -1312,7 +1390,7 @@ __Returns:__
|
|
1312
1390
|
|
1313
1391
|
--
|
1314
1392
|
|
1315
|
-
##### [swipe](https://github.com/appium/ruby_lib/blob/
|
1393
|
+
##### [swipe](https://github.com/appium/ruby_lib/blob/c6eb8f5416ccdf75b161bc60c0986caec43d9ff8/lib/appium_lib/common/touch_actions.rb#L52)
|
1316
1394
|
|
1317
1395
|
> def swipe(opts)
|
1318
1396
|
|
@@ -1320,7 +1398,7 @@ __Returns:__
|
|
1320
1398
|
|
1321
1399
|
--
|
1322
1400
|
|
1323
|
-
##### [initialize](https://github.com/appium/ruby_lib/blob/
|
1401
|
+
##### [initialize](https://github.com/appium/ruby_lib/blob/c6eb8f5416ccdf75b161bc60c0986caec43d9ff8/lib/appium_lib/common/command/ws_logcat.rb#L5)
|
1324
1402
|
|
1325
1403
|
> def initialize(url:, output_file: 'logcat.log')
|
1326
1404
|
|
@@ -1332,7 +1410,7 @@ __Returns:__
|
|
1332
1410
|
|
1333
1411
|
--
|
1334
1412
|
|
1335
|
-
##### [handle_message_data](https://github.com/appium/ruby_lib/blob/
|
1413
|
+
##### [handle_message_data](https://github.com/appium/ruby_lib/blob/c6eb8f5416ccdf75b161bc60c0986caec43d9ff8/lib/appium_lib/common/command/ws_logcat.rb#L10)
|
1336
1414
|
|
1337
1415
|
> def handle_message_data(data)
|
1338
1416
|
|
@@ -1340,7 +1418,7 @@ __Returns:__
|
|
1340
1418
|
|
1341
1419
|
--
|
1342
1420
|
|
1343
|
-
##### [for](https://github.com/appium/ruby_lib/blob/
|
1421
|
+
##### [for](https://github.com/appium/ruby_lib/blob/c6eb8f5416ccdf75b161bc60c0986caec43d9ff8/lib/appium_lib/android/android.rb#L19) android
|
1344
1422
|
|
1345
1423
|
> def self.for(target)
|
1346
1424
|
|
@@ -1348,7 +1426,7 @@ __Returns:__
|
|
1348
1426
|
|
1349
1427
|
--
|
1350
1428
|
|
1351
|
-
##### [TextView](https://github.com/appium/ruby_lib/blob/
|
1429
|
+
##### [TextView](https://github.com/appium/ruby_lib/blob/c6eb8f5416ccdf75b161bc60c0986caec43d9ff8/lib/appium_lib/android/element/text.rb#L4) android
|
1352
1430
|
|
1353
1431
|
> TextView = 'android.widget.TextView'.freeze
|
1354
1432
|
|
@@ -1356,7 +1434,7 @@ __Returns:__
|
|
1356
1434
|
|
1357
1435
|
--
|
1358
1436
|
|
1359
|
-
##### [text](https://github.com/appium/ruby_lib/blob/
|
1437
|
+
##### [text](https://github.com/appium/ruby_lib/blob/c6eb8f5416ccdf75b161bc60c0986caec43d9ff8/lib/appium_lib/android/element/text.rb#L10) android
|
1360
1438
|
|
1361
1439
|
> def text(value)
|
1362
1440
|
|
@@ -1373,7 +1451,7 @@ __Returns:__
|
|
1373
1451
|
|
1374
1452
|
--
|
1375
1453
|
|
1376
|
-
##### [texts](https://github.com/appium/ruby_lib/blob/
|
1454
|
+
##### [texts](https://github.com/appium/ruby_lib/blob/c6eb8f5416ccdf75b161bc60c0986caec43d9ff8/lib/appium_lib/android/element/text.rb#L20) android
|
1377
1455
|
|
1378
1456
|
> def texts(value = false)
|
1379
1457
|
|
@@ -1390,7 +1468,7 @@ __Returns:__
|
|
1390
1468
|
|
1391
1469
|
--
|
1392
1470
|
|
1393
|
-
##### [first_text](https://github.com/appium/ruby_lib/blob/
|
1471
|
+
##### [first_text](https://github.com/appium/ruby_lib/blob/c6eb8f5416ccdf75b161bc60c0986caec43d9ff8/lib/appium_lib/android/element/text.rb#L28) android
|
1394
1472
|
|
1395
1473
|
> def first_text
|
1396
1474
|
|
@@ -1402,7 +1480,7 @@ __Returns:__
|
|
1402
1480
|
|
1403
1481
|
--
|
1404
1482
|
|
1405
|
-
##### [last_text](https://github.com/appium/ruby_lib/blob/
|
1483
|
+
##### [last_text](https://github.com/appium/ruby_lib/blob/c6eb8f5416ccdf75b161bc60c0986caec43d9ff8/lib/appium_lib/android/element/text.rb#L34) android
|
1406
1484
|
|
1407
1485
|
> def last_text
|
1408
1486
|
|
@@ -1414,7 +1492,7 @@ __Returns:__
|
|
1414
1492
|
|
1415
1493
|
--
|
1416
1494
|
|
1417
|
-
##### [text_exact](https://github.com/appium/ruby_lib/blob/
|
1495
|
+
##### [text_exact](https://github.com/appium/ruby_lib/blob/c6eb8f5416ccdf75b161bc60c0986caec43d9ff8/lib/appium_lib/android/element/text.rb#L41) android
|
1418
1496
|
|
1419
1497
|
> def text_exact(value)
|
1420
1498
|
|
@@ -1430,7 +1508,7 @@ __Returns:__
|
|
1430
1508
|
|
1431
1509
|
--
|
1432
1510
|
|
1433
|
-
##### [texts_exact](https://github.com/appium/ruby_lib/blob/
|
1511
|
+
##### [texts_exact](https://github.com/appium/ruby_lib/blob/c6eb8f5416ccdf75b161bc60c0986caec43d9ff8/lib/appium_lib/android/element/text.rb#L48) android
|
1434
1512
|
|
1435
1513
|
> def texts_exact(value)
|
1436
1514
|
|
@@ -1446,7 +1524,7 @@ __Returns:__
|
|
1446
1524
|
|
1447
1525
|
--
|
1448
1526
|
|
1449
|
-
##### [result](https://github.com/appium/ruby_lib/blob/
|
1527
|
+
##### [result](https://github.com/appium/ruby_lib/blob/c6eb8f5416ccdf75b161bc60c0986caec43d9ff8/lib/appium_lib/android/common/helper.rb#L6) android
|
1450
1528
|
|
1451
1529
|
> def result
|
1452
1530
|
|
@@ -1454,7 +1532,7 @@ Returns the value of attribute result
|
|
1454
1532
|
|
1455
1533
|
--
|
1456
1534
|
|
1457
|
-
##### [keys](https://github.com/appium/ruby_lib/blob/
|
1535
|
+
##### [keys](https://github.com/appium/ruby_lib/blob/c6eb8f5416ccdf75b161bc60c0986caec43d9ff8/lib/appium_lib/android/common/helper.rb#L6) android
|
1458
1536
|
|
1459
1537
|
> def keys
|
1460
1538
|
|
@@ -1462,7 +1540,7 @@ Returns the value of attribute keys
|
|
1462
1540
|
|
1463
1541
|
--
|
1464
1542
|
|
1465
|
-
##### [filter](https://github.com/appium/ruby_lib/blob/
|
1543
|
+
##### [filter](https://github.com/appium/ruby_lib/blob/c6eb8f5416ccdf75b161bc60c0986caec43d9ff8/lib/appium_lib/android/common/helper.rb#L6) android
|
1466
1544
|
|
1467
1545
|
> def filter
|
1468
1546
|
|
@@ -1470,7 +1548,7 @@ Returns the value of attribute filter
|
|
1470
1548
|
|
1471
1549
|
--
|
1472
1550
|
|
1473
|
-
##### [filter=](https://github.com/appium/ruby_lib/blob/
|
1551
|
+
##### [filter=](https://github.com/appium/ruby_lib/blob/c6eb8f5416ccdf75b161bc60c0986caec43d9ff8/lib/appium_lib/android/common/helper.rb#L9) android
|
1474
1552
|
|
1475
1553
|
> def filter=(value)
|
1476
1554
|
|
@@ -1478,7 +1556,7 @@ convert to string to support symbols
|
|
1478
1556
|
|
1479
1557
|
--
|
1480
1558
|
|
1481
|
-
##### [initialize](https://github.com/appium/ruby_lib/blob/
|
1559
|
+
##### [initialize](https://github.com/appium/ruby_lib/blob/c6eb8f5416ccdf75b161bc60c0986caec43d9ff8/lib/appium_lib/android/common/helper.rb#L16) android
|
1482
1560
|
|
1483
1561
|
> def initialize
|
1484
1562
|
|
@@ -1490,7 +1568,7 @@ __Returns:__
|
|
1490
1568
|
|
1491
1569
|
--
|
1492
1570
|
|
1493
|
-
##### [reset](https://github.com/appium/ruby_lib/blob/
|
1571
|
+
##### [reset](https://github.com/appium/ruby_lib/blob/c6eb8f5416ccdf75b161bc60c0986caec43d9ff8/lib/appium_lib/android/common/helper.rb#L21) android
|
1494
1572
|
|
1495
1573
|
> def reset
|
1496
1574
|
|
@@ -1498,7 +1576,7 @@ __Returns:__
|
|
1498
1576
|
|
1499
1577
|
--
|
1500
1578
|
|
1501
|
-
##### [start_element](https://github.com/appium/ruby_lib/blob/
|
1579
|
+
##### [start_element](https://github.com/appium/ruby_lib/blob/c6eb8f5416ccdf75b161bc60c0986caec43d9ff8/lib/appium_lib/android/common/helper.rb#L27) android
|
1502
1580
|
|
1503
1581
|
> def start_element(name, attrs = [], driver = $driver)
|
1504
1582
|
|
@@ -1506,7 +1584,7 @@ http://nokogiri.org/Nokogiri/XML/SAX/Document.html
|
|
1506
1584
|
|
1507
1585
|
--
|
1508
1586
|
|
1509
|
-
##### [get_android_inspect](https://github.com/appium/ruby_lib/blob/
|
1587
|
+
##### [get_android_inspect](https://github.com/appium/ruby_lib/blob/c6eb8f5416ccdf75b161bc60c0986caec43d9ff8/lib/appium_lib/android/common/helper.rb#L81) android
|
1510
1588
|
|
1511
1589
|
> def get_android_inspect(class_name = false)
|
1512
1590
|
|
@@ -1525,7 +1603,7 @@ __Returns:__
|
|
1525
1603
|
|
1526
1604
|
--
|
1527
1605
|
|
1528
|
-
##### [page](https://github.com/appium/ruby_lib/blob/
|
1606
|
+
##### [page](https://github.com/appium/ruby_lib/blob/c6eb8f5416ccdf75b161bc60c0986caec43d9ff8/lib/appium_lib/android/common/helper.rb#L107) android
|
1529
1607
|
|
1530
1608
|
> def page(opts = {})
|
1531
1609
|
|
@@ -1544,7 +1622,7 @@ __Returns:__
|
|
1544
1622
|
|
1545
1623
|
--
|
1546
1624
|
|
1547
|
-
##### [id](https://github.com/appium/ruby_lib/blob/
|
1625
|
+
##### [id](https://github.com/appium/ruby_lib/blob/c6eb8f5416ccdf75b161bc60c0986caec43d9ff8/lib/appium_lib/android/common/helper.rb#L116) android
|
1548
1626
|
|
1549
1627
|
> def id(id)
|
1550
1628
|
|
@@ -1560,7 +1638,7 @@ __Returns:__
|
|
1560
1638
|
|
1561
1639
|
--
|
1562
1640
|
|
1563
|
-
##### [ids](https://github.com/appium/ruby_lib/blob/
|
1641
|
+
##### [ids](https://github.com/appium/ruby_lib/blob/c6eb8f5416ccdf75b161bc60c0986caec43d9ff8/lib/appium_lib/android/common/helper.rb#L124) android
|
1564
1642
|
|
1565
1643
|
> def ids(id)
|
1566
1644
|
|
@@ -1576,7 +1654,7 @@ __Returns:__
|
|
1576
1654
|
|
1577
1655
|
--
|
1578
1656
|
|
1579
|
-
##### [ele_index](https://github.com/appium/ruby_lib/blob/
|
1657
|
+
##### [ele_index](https://github.com/appium/ruby_lib/blob/c6eb8f5416ccdf75b161bc60c0986caec43d9ff8/lib/appium_lib/android/common/helper.rb#L133) android
|
1580
1658
|
|
1581
1659
|
> def ele_index(class_name, index)
|
1582
1660
|
|
@@ -1594,7 +1672,7 @@ __Returns:__
|
|
1594
1672
|
|
1595
1673
|
--
|
1596
1674
|
|
1597
|
-
##### [first_ele](https://github.com/appium/ruby_lib/blob/
|
1675
|
+
##### [first_ele](https://github.com/appium/ruby_lib/blob/c6eb8f5416ccdf75b161bc60c0986caec43d9ff8/lib/appium_lib/android/common/helper.rb#L152) android
|
1598
1676
|
|
1599
1677
|
> def first_ele(class_name)
|
1600
1678
|
|
@@ -1610,7 +1688,7 @@ __Returns:__
|
|
1610
1688
|
|
1611
1689
|
--
|
1612
1690
|
|
1613
|
-
##### [last_ele](https://github.com/appium/ruby_lib/blob/
|
1691
|
+
##### [last_ele](https://github.com/appium/ruby_lib/blob/c6eb8f5416ccdf75b161bc60c0986caec43d9ff8/lib/appium_lib/android/common/helper.rb#L159) android
|
1614
1692
|
|
1615
1693
|
> def last_ele(class_name)
|
1616
1694
|
|
@@ -1626,7 +1704,7 @@ __Returns:__
|
|
1626
1704
|
|
1627
1705
|
--
|
1628
1706
|
|
1629
|
-
##### [tag](https://github.com/appium/ruby_lib/blob/
|
1707
|
+
##### [tag](https://github.com/appium/ruby_lib/blob/c6eb8f5416ccdf75b161bc60c0986caec43d9ff8/lib/appium_lib/android/common/helper.rb#L167) android
|
1630
1708
|
|
1631
1709
|
> def tag(class_name)
|
1632
1710
|
|
@@ -1642,7 +1720,7 @@ __Returns:__
|
|
1642
1720
|
|
1643
1721
|
--
|
1644
1722
|
|
1645
|
-
##### [tags](https://github.com/appium/ruby_lib/blob/
|
1723
|
+
##### [tags](https://github.com/appium/ruby_lib/blob/c6eb8f5416ccdf75b161bc60c0986caec43d9ff8/lib/appium_lib/android/common/helper.rb#L175) android
|
1646
1724
|
|
1647
1725
|
> def tags(class_name)
|
1648
1726
|
|
@@ -1658,7 +1736,7 @@ __Returns:__
|
|
1658
1736
|
|
1659
1737
|
--
|
1660
1738
|
|
1661
|
-
##### [string_visible_contains_xpath](https://github.com/appium/ruby_lib/blob/
|
1739
|
+
##### [string_visible_contains_xpath](https://github.com/appium/ruby_lib/blob/c6eb8f5416ccdf75b161bc60c0986caec43d9ff8/lib/appium_lib/android/common/helper.rb#L218) android
|
1662
1740
|
|
1663
1741
|
> def string_visible_contains_xpath(class_name, value)
|
1664
1742
|
|
@@ -1679,7 +1757,7 @@ __Returns:__
|
|
1679
1757
|
|
1680
1758
|
--
|
1681
1759
|
|
1682
|
-
##### [string_visible_contains](https://github.com/appium/ruby_lib/blob/
|
1760
|
+
##### [string_visible_contains](https://github.com/appium/ruby_lib/blob/c6eb8f5416ccdf75b161bc60c0986caec43d9ff8/lib/appium_lib/android/common/helper.rb#L238) android
|
1683
1761
|
|
1684
1762
|
> def string_visible_contains(class_name, value)
|
1685
1763
|
|
@@ -1700,7 +1778,7 @@ __Returns:__
|
|
1700
1778
|
|
1701
1779
|
--
|
1702
1780
|
|
1703
|
-
##### [complex_find_contains](https://github.com/appium/ruby_lib/blob/
|
1781
|
+
##### [complex_find_contains](https://github.com/appium/ruby_lib/blob/c6eb8f5416ccdf75b161bc60c0986caec43d9ff8/lib/appium_lib/android/common/helper.rb#L256) android
|
1704
1782
|
|
1705
1783
|
> def complex_find_contains(class_name, value)
|
1706
1784
|
|
@@ -1718,7 +1796,7 @@ __Returns:__
|
|
1718
1796
|
|
1719
1797
|
--
|
1720
1798
|
|
1721
|
-
##### [complex_finds_contains](https://github.com/appium/ruby_lib/blob/
|
1799
|
+
##### [complex_finds_contains](https://github.com/appium/ruby_lib/blob/c6eb8f5416ccdf75b161bc60c0986caec43d9ff8/lib/appium_lib/android/common/helper.rb#L264) android
|
1722
1800
|
|
1723
1801
|
> def complex_finds_contains(class_name, value)
|
1724
1802
|
|
@@ -1736,7 +1814,7 @@ __Returns:__
|
|
1736
1814
|
|
1737
1815
|
--
|
1738
1816
|
|
1739
|
-
##### [complex_find_exact](https://github.com/appium/ruby_lib/blob/
|
1817
|
+
##### [complex_find_exact](https://github.com/appium/ruby_lib/blob/c6eb8f5416ccdf75b161bc60c0986caec43d9ff8/lib/appium_lib/android/common/helper.rb#L306) android
|
1740
1818
|
|
1741
1819
|
> def complex_find_exact(class_name, value)
|
1742
1820
|
|
@@ -1754,7 +1832,7 @@ __Returns:__
|
|
1754
1832
|
|
1755
1833
|
--
|
1756
1834
|
|
1757
|
-
##### [complex_finds_exact](https://github.com/appium/ruby_lib/blob/
|
1835
|
+
##### [complex_finds_exact](https://github.com/appium/ruby_lib/blob/c6eb8f5416ccdf75b161bc60c0986caec43d9ff8/lib/appium_lib/android/common/helper.rb#L314) android
|
1758
1836
|
|
1759
1837
|
> def complex_finds_exact(class_name, value)
|
1760
1838
|
|
@@ -1772,7 +1850,7 @@ __Returns:__
|
|
1772
1850
|
|
1773
1851
|
--
|
1774
1852
|
|
1775
|
-
##### [alert_click](https://github.com/appium/ruby_lib/blob/
|
1853
|
+
##### [alert_click](https://github.com/appium/ruby_lib/blob/c6eb8f5416ccdf75b161bc60c0986caec43d9ff8/lib/appium_lib/android/element/alert.rb#L6) android
|
1776
1854
|
|
1777
1855
|
> def alert_click(value)
|
1778
1856
|
|
@@ -1788,7 +1866,7 @@ __Returns:__
|
|
1788
1866
|
|
1789
1867
|
--
|
1790
1868
|
|
1791
|
-
##### [alert_accept](https://github.com/appium/ruby_lib/blob/
|
1869
|
+
##### [alert_accept](https://github.com/appium/ruby_lib/blob/c6eb8f5416ccdf75b161bc60c0986caec43d9ff8/lib/appium_lib/android/element/alert.rb#L13) android
|
1792
1870
|
|
1793
1871
|
> def alert_accept
|
1794
1872
|
|
@@ -1801,7 +1879,7 @@ __Returns:__
|
|
1801
1879
|
|
1802
1880
|
--
|
1803
1881
|
|
1804
|
-
##### [alert_accept_text](https://github.com/appium/ruby_lib/blob/
|
1882
|
+
##### [alert_accept_text](https://github.com/appium/ruby_lib/blob/c6eb8f5416ccdf75b161bc60c0986caec43d9ff8/lib/appium_lib/android/element/alert.rb#L20) android
|
1805
1883
|
|
1806
1884
|
> def alert_accept_text
|
1807
1885
|
|
@@ -1814,7 +1892,7 @@ __Returns:__
|
|
1814
1892
|
|
1815
1893
|
--
|
1816
1894
|
|
1817
|
-
##### [alert_dismiss](https://github.com/appium/ruby_lib/blob/
|
1895
|
+
##### [alert_dismiss](https://github.com/appium/ruby_lib/blob/c6eb8f5416ccdf75b161bc60c0986caec43d9ff8/lib/appium_lib/android/element/alert.rb#L27) android
|
1818
1896
|
|
1819
1897
|
> def alert_dismiss
|
1820
1898
|
|
@@ -1827,7 +1905,7 @@ __Returns:__
|
|
1827
1905
|
|
1828
1906
|
--
|
1829
1907
|
|
1830
|
-
##### [alert_dismiss_text](https://github.com/appium/ruby_lib/blob/
|
1908
|
+
##### [alert_dismiss_text](https://github.com/appium/ruby_lib/blob/c6eb8f5416ccdf75b161bc60c0986caec43d9ff8/lib/appium_lib/android/element/alert.rb#L34) android
|
1831
1909
|
|
1832
1910
|
> def alert_dismiss_text
|
1833
1911
|
|
@@ -1840,7 +1918,7 @@ __Returns:__
|
|
1840
1918
|
|
1841
1919
|
--
|
1842
1920
|
|
1843
|
-
##### [Button](https://github.com/appium/ruby_lib/blob/
|
1921
|
+
##### [Button](https://github.com/appium/ruby_lib/blob/c6eb8f5416ccdf75b161bc60c0986caec43d9ff8/lib/appium_lib/android/element/button.rb#L3) android
|
1844
1922
|
|
1845
1923
|
> Button = 'android.widget.Button'.freeze
|
1846
1924
|
|
@@ -1848,7 +1926,7 @@ __Returns:__
|
|
1848
1926
|
|
1849
1927
|
--
|
1850
1928
|
|
1851
|
-
##### [ImageButton](https://github.com/appium/ruby_lib/blob/
|
1929
|
+
##### [ImageButton](https://github.com/appium/ruby_lib/blob/c6eb8f5416ccdf75b161bc60c0986caec43d9ff8/lib/appium_lib/android/element/button.rb#L4) android
|
1852
1930
|
|
1853
1931
|
> ImageButton = 'android.widget.ImageButton'.freeze
|
1854
1932
|
|
@@ -1856,7 +1934,7 @@ __Returns:__
|
|
1856
1934
|
|
1857
1935
|
--
|
1858
1936
|
|
1859
|
-
##### [button](https://github.com/appium/ruby_lib/blob/
|
1937
|
+
##### [button](https://github.com/appium/ruby_lib/blob/c6eb8f5416ccdf75b161bc60c0986caec43d9ff8/lib/appium_lib/android/element/button.rb#L10) android
|
1860
1938
|
|
1861
1939
|
> def button(value)
|
1862
1940
|
|
@@ -1873,7 +1951,7 @@ __Returns:__
|
|
1873
1951
|
|
1874
1952
|
--
|
1875
1953
|
|
1876
|
-
##### [buttons](https://github.com/appium/ruby_lib/blob/
|
1954
|
+
##### [buttons](https://github.com/appium/ruby_lib/blob/c6eb8f5416ccdf75b161bc60c0986caec43d9ff8/lib/appium_lib/android/element/button.rb#L27) android
|
1877
1955
|
|
1878
1956
|
> def buttons(value = false)
|
1879
1957
|
|
@@ -1890,7 +1968,7 @@ __Returns:__
|
|
1890
1968
|
|
1891
1969
|
--
|
1892
1970
|
|
1893
|
-
##### [first_button](https://github.com/appium/ruby_lib/blob/
|
1971
|
+
##### [first_button](https://github.com/appium/ruby_lib/blob/c6eb8f5416ccdf75b161bc60c0986caec43d9ff8/lib/appium_lib/android/element/button.rb#L35) android
|
1894
1972
|
|
1895
1973
|
> def first_button
|
1896
1974
|
|
@@ -1902,7 +1980,7 @@ __Returns:__
|
|
1902
1980
|
|
1903
1981
|
--
|
1904
1982
|
|
1905
|
-
##### [last_button](https://github.com/appium/ruby_lib/blob/
|
1983
|
+
##### [last_button](https://github.com/appium/ruby_lib/blob/c6eb8f5416ccdf75b161bc60c0986caec43d9ff8/lib/appium_lib/android/element/button.rb#L41) android
|
1906
1984
|
|
1907
1985
|
> def last_button
|
1908
1986
|
|
@@ -1914,7 +1992,7 @@ __Returns:__
|
|
1914
1992
|
|
1915
1993
|
--
|
1916
1994
|
|
1917
|
-
##### [button_exact](https://github.com/appium/ruby_lib/blob/
|
1995
|
+
##### [button_exact](https://github.com/appium/ruby_lib/blob/c6eb8f5416ccdf75b161bc60c0986caec43d9ff8/lib/appium_lib/android/element/button.rb#L57) android
|
1918
1996
|
|
1919
1997
|
> def button_exact(value)
|
1920
1998
|
|
@@ -1930,7 +2008,7 @@ __Returns:__
|
|
1930
2008
|
|
1931
2009
|
--
|
1932
2010
|
|
1933
|
-
##### [buttons_exact](https://github.com/appium/ruby_lib/blob/
|
2011
|
+
##### [buttons_exact](https://github.com/appium/ruby_lib/blob/c6eb8f5416ccdf75b161bc60c0986caec43d9ff8/lib/appium_lib/android/element/button.rb#L64) android
|
1934
2012
|
|
1935
2013
|
> def buttons_exact(value)
|
1936
2014
|
|
@@ -1946,7 +2024,7 @@ __Returns:__
|
|
1946
2024
|
|
1947
2025
|
--
|
1948
2026
|
|
1949
|
-
##### [find](https://github.com/appium/ruby_lib/blob/
|
2027
|
+
##### [find](https://github.com/appium/ruby_lib/blob/c6eb8f5416ccdf75b161bc60c0986caec43d9ff8/lib/appium_lib/android/element/generic.rb#L6) android
|
1950
2028
|
|
1951
2029
|
> def find(value)
|
1952
2030
|
|
@@ -1962,7 +2040,7 @@ __Returns:__
|
|
1962
2040
|
|
1963
2041
|
--
|
1964
2042
|
|
1965
|
-
##### [finds](https://github.com/appium/ruby_lib/blob/
|
2043
|
+
##### [finds](https://github.com/appium/ruby_lib/blob/c6eb8f5416ccdf75b161bc60c0986caec43d9ff8/lib/appium_lib/android/element/generic.rb#L13) android
|
1966
2044
|
|
1967
2045
|
> def finds(value)
|
1968
2046
|
|
@@ -1978,7 +2056,7 @@ __Returns:__
|
|
1978
2056
|
|
1979
2057
|
--
|
1980
2058
|
|
1981
|
-
##### [find_exact](https://github.com/appium/ruby_lib/blob/
|
2059
|
+
##### [find_exact](https://github.com/appium/ruby_lib/blob/c6eb8f5416ccdf75b161bc60c0986caec43d9ff8/lib/appium_lib/android/element/generic.rb#L20) android
|
1982
2060
|
|
1983
2061
|
> def find_exact(value)
|
1984
2062
|
|
@@ -1994,7 +2072,7 @@ __Returns:__
|
|
1994
2072
|
|
1995
2073
|
--
|
1996
2074
|
|
1997
|
-
##### [finds_exact](https://github.com/appium/ruby_lib/blob/
|
2075
|
+
##### [finds_exact](https://github.com/appium/ruby_lib/blob/c6eb8f5416ccdf75b161bc60c0986caec43d9ff8/lib/appium_lib/android/element/generic.rb#L27) android
|
1998
2076
|
|
1999
2077
|
> def finds_exact(value)
|
2000
2078
|
|
@@ -2010,7 +2088,7 @@ __Returns:__
|
|
2010
2088
|
|
2011
2089
|
--
|
2012
2090
|
|
2013
|
-
##### [scroll_to](https://github.com/appium/ruby_lib/blob/
|
2091
|
+
##### [scroll_to](https://github.com/appium/ruby_lib/blob/c6eb8f5416ccdf75b161bc60c0986caec43d9ff8/lib/appium_lib/android/element/generic.rb#L40) android
|
2014
2092
|
|
2015
2093
|
> def scroll_to(text, scrollable_index = 0)
|
2016
2094
|
|
@@ -2028,7 +2106,7 @@ __Returns:__
|
|
2028
2106
|
|
2029
2107
|
--
|
2030
2108
|
|
2031
|
-
##### [scroll_to_exact](https://github.com/appium/ruby_lib/blob/
|
2109
|
+
##### [scroll_to_exact](https://github.com/appium/ruby_lib/blob/c6eb8f5416ccdf75b161bc60c0986caec43d9ff8/lib/appium_lib/android/element/generic.rb#L58) android
|
2032
2110
|
|
2033
2111
|
> def scroll_to_exact(text, scrollable_index = 0)
|
2034
2112
|
|
@@ -2046,7 +2124,7 @@ __Returns:__
|
|
2046
2124
|
|
2047
2125
|
--
|
2048
2126
|
|
2049
|
-
##### [for](https://github.com/appium/ruby_lib/blob/
|
2127
|
+
##### [for](https://github.com/appium/ruby_lib/blob/c6eb8f5416ccdf75b161bc60c0986caec43d9ff8/lib/appium_lib/android/espresso/bridge.rb#L7) android
|
2050
2128
|
|
2051
2129
|
> def self.for(target)
|
2052
2130
|
|
@@ -2054,7 +2132,7 @@ __Returns:__
|
|
2054
2132
|
|
2055
2133
|
--
|
2056
2134
|
|
2057
|
-
##### [EditText](https://github.com/appium/ruby_lib/blob/
|
2135
|
+
##### [EditText](https://github.com/appium/ruby_lib/blob/c6eb8f5416ccdf75b161bc60c0986caec43d9ff8/lib/appium_lib/android/element/textfield.rb#L3) android
|
2058
2136
|
|
2059
2137
|
> EditText = 'android.widget.EditText'.freeze
|
2060
2138
|
|
@@ -2062,7 +2140,7 @@ __Returns:__
|
|
2062
2140
|
|
2063
2141
|
--
|
2064
2142
|
|
2065
|
-
##### [textfield](https://github.com/appium/ruby_lib/blob/
|
2143
|
+
##### [textfield](https://github.com/appium/ruby_lib/blob/c6eb8f5416ccdf75b161bc60c0986caec43d9ff8/lib/appium_lib/android/element/textfield.rb#L9) android
|
2066
2144
|
|
2067
2145
|
> def textfield(value)
|
2068
2146
|
|
@@ -2079,7 +2157,7 @@ __Returns:__
|
|
2079
2157
|
|
2080
2158
|
--
|
2081
2159
|
|
2082
|
-
##### [textfields](https://github.com/appium/ruby_lib/blob/
|
2160
|
+
##### [textfields](https://github.com/appium/ruby_lib/blob/c6eb8f5416ccdf75b161bc60c0986caec43d9ff8/lib/appium_lib/android/element/textfield.rb#L19) android
|
2083
2161
|
|
2084
2162
|
> def textfields(value = false)
|
2085
2163
|
|
@@ -2096,7 +2174,7 @@ __Returns:__
|
|
2096
2174
|
|
2097
2175
|
--
|
2098
2176
|
|
2099
|
-
##### [first_textfield](https://github.com/appium/ruby_lib/blob/
|
2177
|
+
##### [first_textfield](https://github.com/appium/ruby_lib/blob/c6eb8f5416ccdf75b161bc60c0986caec43d9ff8/lib/appium_lib/android/element/textfield.rb#L27) android
|
2100
2178
|
|
2101
2179
|
> def first_textfield
|
2102
2180
|
|
@@ -2108,7 +2186,7 @@ __Returns:__
|
|
2108
2186
|
|
2109
2187
|
--
|
2110
2188
|
|
2111
|
-
##### [last_textfield](https://github.com/appium/ruby_lib/blob/
|
2189
|
+
##### [last_textfield](https://github.com/appium/ruby_lib/blob/c6eb8f5416ccdf75b161bc60c0986caec43d9ff8/lib/appium_lib/android/element/textfield.rb#L33) android
|
2112
2190
|
|
2113
2191
|
> def last_textfield
|
2114
2192
|
|
@@ -2120,7 +2198,7 @@ __Returns:__
|
|
2120
2198
|
|
2121
2199
|
--
|
2122
2200
|
|
2123
|
-
##### [textfield_exact](https://github.com/appium/ruby_lib/blob/
|
2201
|
+
##### [textfield_exact](https://github.com/appium/ruby_lib/blob/c6eb8f5416ccdf75b161bc60c0986caec43d9ff8/lib/appium_lib/android/element/textfield.rb#L40) android
|
2124
2202
|
|
2125
2203
|
> def textfield_exact(value)
|
2126
2204
|
|
@@ -2136,7 +2214,7 @@ __Returns:__
|
|
2136
2214
|
|
2137
2215
|
--
|
2138
2216
|
|
2139
|
-
##### [textfields_exact](https://github.com/appium/ruby_lib/blob/
|
2217
|
+
##### [textfields_exact](https://github.com/appium/ruby_lib/blob/c6eb8f5416ccdf75b161bc60c0986caec43d9ff8/lib/appium_lib/android/element/textfield.rb#L47) android
|
2140
2218
|
|
2141
2219
|
> def textfields_exact(value)
|
2142
2220
|
|
@@ -2152,7 +2230,7 @@ __Returns:__
|
|
2152
2230
|
|
2153
2231
|
--
|
2154
2232
|
|
2155
|
-
##### [for](https://github.com/appium/ruby_lib/blob/
|
2233
|
+
##### [for](https://github.com/appium/ruby_lib/blob/c6eb8f5416ccdf75b161bc60c0986caec43d9ff8/lib/appium_lib/android/uiautomator2/bridge.rb#L7) android
|
2156
2234
|
|
2157
2235
|
> def self.for(target)
|
2158
2236
|
|
@@ -2160,7 +2238,7 @@ __Returns:__
|
|
2160
2238
|
|
2161
2239
|
--
|
2162
2240
|
|
2163
|
-
##### [string_visible_contains](https://github.com/appium/ruby_lib/blob/
|
2241
|
+
##### [string_visible_contains](https://github.com/appium/ruby_lib/blob/c6eb8f5416ccdf75b161bc60c0986caec43d9ff8/lib/appium_lib/android/uiautomator2/helper.rb#L13) android
|
2164
2242
|
|
2165
2243
|
> def string_visible_contains(class_name, value)
|
2166
2244
|
|
@@ -2181,7 +2259,7 @@ __Returns:__
|
|
2181
2259
|
|
2182
2260
|
--
|
2183
2261
|
|
2184
|
-
##### [complex_find_contains](https://github.com/appium/ruby_lib/blob/
|
2262
|
+
##### [complex_find_contains](https://github.com/appium/ruby_lib/blob/c6eb8f5416ccdf75b161bc60c0986caec43d9ff8/lib/appium_lib/android/uiautomator2/helper.rb#L31) android
|
2185
2263
|
|
2186
2264
|
> def complex_find_contains(class_name, value)
|
2187
2265
|
|
@@ -2199,7 +2277,7 @@ __Returns:__
|
|
2199
2277
|
|
2200
2278
|
--
|
2201
2279
|
|
2202
|
-
##### [complex_finds_contains](https://github.com/appium/ruby_lib/blob/
|
2280
|
+
##### [complex_finds_contains](https://github.com/appium/ruby_lib/blob/c6eb8f5416ccdf75b161bc60c0986caec43d9ff8/lib/appium_lib/android/uiautomator2/helper.rb#L42) android
|
2203
2281
|
|
2204
2282
|
> def complex_finds_contains(class_name, value)
|
2205
2283
|
|
@@ -2217,7 +2295,7 @@ __Returns:__
|
|
2217
2295
|
|
2218
2296
|
--
|
2219
2297
|
|
2220
|
-
##### [complex_find_exact](https://github.com/appium/ruby_lib/blob/
|
2298
|
+
##### [complex_find_exact](https://github.com/appium/ruby_lib/blob/c6eb8f5416ccdf75b161bc60c0986caec43d9ff8/lib/appium_lib/android/uiautomator2/helper.rb#L70) android
|
2221
2299
|
|
2222
2300
|
> def complex_find_exact(class_name, value)
|
2223
2301
|
|
@@ -2235,7 +2313,7 @@ __Returns:__
|
|
2235
2313
|
|
2236
2314
|
--
|
2237
2315
|
|
2238
|
-
##### [complex_finds_exact](https://github.com/appium/ruby_lib/blob/
|
2316
|
+
##### [complex_finds_exact](https://github.com/appium/ruby_lib/blob/c6eb8f5416ccdf75b161bc60c0986caec43d9ff8/lib/appium_lib/android/uiautomator2/helper.rb#L81) android
|
2239
2317
|
|
2240
2318
|
> def complex_finds_exact(class_name, value)
|
2241
2319
|
|
@@ -2253,7 +2331,7 @@ __Returns:__
|
|
2253
2331
|
|
2254
2332
|
--
|
2255
2333
|
|
2256
|
-
##### [shell](https://github.com/appium/ruby_lib/blob/
|
2334
|
+
##### [shell](https://github.com/appium/ruby_lib/blob/c6eb8f5416ccdf75b161bc60c0986caec43d9ff8/lib/appium_lib/android/common/command/command.rb#L14) android
|
2257
2335
|
|
2258
2336
|
> def shell(command, arguments)
|
2259
2337
|
|
@@ -2268,7 +2346,7 @@ __Parameters:__
|
|
2268
2346
|
|
2269
2347
|
--
|
2270
2348
|
|
2271
|
-
##### [start_logs_broadcast](https://github.com/appium/ruby_lib/blob/
|
2349
|
+
##### [start_logs_broadcast](https://github.com/appium/ruby_lib/blob/c6eb8f5416ccdf75b161bc60c0986caec43d9ff8/lib/appium_lib/android/common/command/command.rb#L28) android
|
2272
2350
|
|
2273
2351
|
> def start_logs_broadcast(logcat_file = 'logcat.log')
|
2274
2352
|
|
@@ -2280,7 +2358,7 @@ __Parameters:__
|
|
2280
2358
|
|
2281
2359
|
--
|
2282
2360
|
|
2283
|
-
##### [stop_logs_broadcast](https://github.com/appium/ruby_lib/blob/
|
2361
|
+
##### [stop_logs_broadcast](https://github.com/appium/ruby_lib/blob/c6eb8f5416ccdf75b161bc60c0986caec43d9ff8/lib/appium_lib/android/common/command/command.rb#L41) android
|
2284
2362
|
|
2285
2363
|
> def stop_logs_broadcast
|
2286
2364
|
|
@@ -2288,7 +2366,7 @@ Stop Android logcat broadcast websocket
|
|
2288
2366
|
|
2289
2367
|
--
|
2290
2368
|
|
2291
|
-
##### [button](https://github.com/appium/ruby_lib/blob/
|
2369
|
+
##### [button](https://github.com/appium/ruby_lib/blob/c6eb8f5416ccdf75b161bc60c0986caec43d9ff8/lib/appium_lib/android/uiautomator2/element/button.rb#L9) android
|
2292
2370
|
|
2293
2371
|
> def button(value)
|
2294
2372
|
|
@@ -2305,7 +2383,7 @@ __Returns:__
|
|
2305
2383
|
|
2306
2384
|
--
|
2307
2385
|
|
2308
|
-
##### [buttons](https://github.com/appium/ruby_lib/blob/
|
2386
|
+
##### [buttons](https://github.com/appium/ruby_lib/blob/c6eb8f5416ccdf75b161bc60c0986caec43d9ff8/lib/appium_lib/android/uiautomator2/element/button.rb#L30) android
|
2309
2387
|
|
2310
2388
|
> def buttons(value = false)
|
2311
2389
|
|
@@ -2322,7 +2400,7 @@ __Returns:__
|
|
2322
2400
|
|
2323
2401
|
--
|
2324
2402
|
|
2325
|
-
##### [first_button](https://github.com/appium/ruby_lib/blob/
|
2403
|
+
##### [first_button](https://github.com/appium/ruby_lib/blob/c6eb8f5416ccdf75b161bc60c0986caec43d9ff8/lib/appium_lib/android/uiautomator2/element/button.rb#L38) android
|
2326
2404
|
|
2327
2405
|
> def first_button
|
2328
2406
|
|
@@ -2334,7 +2412,7 @@ __Returns:__
|
|
2334
2412
|
|
2335
2413
|
--
|
2336
2414
|
|
2337
|
-
##### [last_button](https://github.com/appium/ruby_lib/blob/
|
2415
|
+
##### [last_button](https://github.com/appium/ruby_lib/blob/c6eb8f5416ccdf75b161bc60c0986caec43d9ff8/lib/appium_lib/android/uiautomator2/element/button.rb#L45) android
|
2338
2416
|
|
2339
2417
|
> def last_button
|
2340
2418
|
|
@@ -2346,7 +2424,7 @@ __Returns:__
|
|
2346
2424
|
|
2347
2425
|
--
|
2348
2426
|
|
2349
|
-
##### [button_exact](https://github.com/appium/ruby_lib/blob/
|
2427
|
+
##### [button_exact](https://github.com/appium/ruby_lib/blob/c6eb8f5416ccdf75b161bc60c0986caec43d9ff8/lib/appium_lib/android/uiautomator2/element/button.rb#L62) android
|
2350
2428
|
|
2351
2429
|
> def button_exact(value)
|
2352
2430
|
|
@@ -2362,7 +2440,7 @@ __Returns:__
|
|
2362
2440
|
|
2363
2441
|
--
|
2364
2442
|
|
2365
|
-
##### [buttons_exact](https://github.com/appium/ruby_lib/blob/
|
2443
|
+
##### [buttons_exact](https://github.com/appium/ruby_lib/blob/c6eb8f5416ccdf75b161bc60c0986caec43d9ff8/lib/appium_lib/android/uiautomator2/element/button.rb#L70) android
|
2366
2444
|
|
2367
2445
|
> def buttons_exact(value)
|
2368
2446
|
|