appium_lib 9.4.10 → 9.5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +11 -1
- data/Rakefile +1 -1
- data/appium_lib.gemspec +1 -1
- data/docs/android_docs.md +237 -234
- data/docs/ios_docs.md +263 -260
- data/lib/appium_lib/common/command.rb +1 -1
- data/lib/appium_lib/common/patch.rb +10 -7
- data/lib/appium_lib/common/version.rb +2 -2
- data/lib/appium_lib/device/device.rb +1 -1
- data/lib/appium_lib/driver.rb +16 -15
- data/lib/appium_lib/ios/helper.rb +1 -1
- data/release_notes.md +13 -0
- metadata +10 -10
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1020ee201f0e91a48c6255fb1429d3da21993d49
|
4
|
+
data.tar.gz: b0756d8e52573056eeaa308c61743b4e142cb99a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 352a21bfe1b0a09969b21ef326e215dd09da761ceef6ff45d0bfcc32ad365ffbd3b4b284f6029e7263cbfd19262c15988b603b4bb64a7e4d2a67519fc54b0d51
|
7
|
+
data.tar.gz: ad9f9443b0008da3020a710120493367fe19b1fa3e2858b8b739d1df2c9ce4b82e2c3da5a6909163d59ba0f4089e5d4556e49df1d1f5761be4d4cc6e1504d5de
|
data/CHANGELOG.md
CHANGED
@@ -3,9 +3,19 @@ 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
|
+
## v9.5.0
|
7
|
+
### 1. Enhancements
|
8
|
+
- Support `selenium-webdriver3.4.1+`
|
9
|
+
- Support new `createSession`
|
10
|
+
|
11
|
+
### 2. Bug fixes
|
12
|
+
|
13
|
+
### 3. Deprecations
|
14
|
+
- Drop `selenium-webdriver` `3.0 ~ 3.4.0` since some methods depends on `selenium-webdriver3.4.1+`
|
15
|
+
|
6
16
|
## v9.4.10
|
7
17
|
### 1. Enhancements
|
8
|
-
- some
|
18
|
+
- some refactoring
|
9
19
|
- add some documentations
|
10
20
|
|
11
21
|
### 2. Bug fixes
|
data/Rakefile
CHANGED
@@ -238,7 +238,7 @@ end
|
|
238
238
|
# Return true if the comment starts with /^(docs|style|chore):/
|
239
239
|
def skip_release_note?(comment)
|
240
240
|
return true if comment == 'Update release notes'
|
241
|
-
comment =~ /^(docs|style|chore|test):/ ? true : false
|
241
|
+
comment =~ /^(doc|docs|style|chore|test):/ ? true : false
|
242
242
|
end
|
243
243
|
|
244
244
|
# Used to purge byte order marks that mess up YARD
|
data/appium_lib.gemspec
CHANGED
@@ -13,7 +13,7 @@ Gem::Specification.new do |s|
|
|
13
13
|
s.homepage = 'https://github.com/appium/ruby_lib' # published as appium_lib
|
14
14
|
s.require_paths = ['lib']
|
15
15
|
|
16
|
-
s.add_runtime_dependency 'selenium-webdriver', '
|
16
|
+
s.add_runtime_dependency 'selenium-webdriver', '~> 3.4', '>= 3.4.1'
|
17
17
|
s.add_runtime_dependency 'awesome_print', '~> 1.7'
|
18
18
|
s.add_runtime_dependency 'json', '>= 1.8'
|
19
19
|
s.add_runtime_dependency 'tomlrb', '~> 1.1'
|
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/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/driver.rb#L76)
|
2
2
|
|
3
3
|
> def self.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/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/driver.rb#L112)
|
31
31
|
|
32
32
|
> def self.load_settings(opts = {})
|
33
33
|
|
@@ -57,7 +57,7 @@ __Returns:__
|
|
57
57
|
|
58
58
|
--
|
59
59
|
|
60
|
-
##### [expand_required_files](https://github.com/appium/ruby_lib/blob/
|
60
|
+
##### [expand_required_files](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/driver.rb#L118)
|
61
61
|
|
62
62
|
> def self.expand_required_files(base_dir, file_paths)
|
63
63
|
|
@@ -75,7 +75,7 @@ __Returns:__
|
|
75
75
|
|
76
76
|
--
|
77
77
|
|
78
|
-
##### [symbolize_keys](https://github.com/appium/ruby_lib/blob/
|
78
|
+
##### [symbolize_keys](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/driver.rb#L150)
|
79
79
|
|
80
80
|
> def self.symbolize_keys(hash)
|
81
81
|
|
@@ -86,7 +86,7 @@ https://github.com/rails/docrails/blob/a3b1105ada3da64acfa3843b164b14b734456a50/
|
|
86
86
|
|
87
87
|
--
|
88
88
|
|
89
|
-
##### [promote_singleton_appium_methods](https://github.com/appium/ruby_lib/blob/
|
89
|
+
##### [promote_singleton_appium_methods](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/driver.rb#L171)
|
90
90
|
|
91
91
|
> def self.promote_singleton_appium_methods(modules)
|
92
92
|
|
@@ -104,7 +104,7 @@ otherwise, the array of modules will be used as the promotion target.
|
|
104
104
|
|
105
105
|
--
|
106
106
|
|
107
|
-
##### [promote_appium_methods](https://github.com/appium/ruby_lib/blob/
|
107
|
+
##### [promote_appium_methods](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/driver.rb#L224)
|
108
108
|
|
109
109
|
> def self.promote_appium_methods(class_array)
|
110
110
|
|
@@ -134,7 +134,7 @@ __Parameters:__
|
|
134
134
|
|
135
135
|
--
|
136
136
|
|
137
|
-
##### [selenium_webdriver_version_more?](https://github.com/appium/ruby_lib/blob/
|
137
|
+
##### [selenium_webdriver_version_more?](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/driver.rb#L251)
|
138
138
|
|
139
139
|
> def self.selenium_webdriver_version_more?(version)
|
140
140
|
|
@@ -146,13 +146,11 @@ __Returns:__
|
|
146
146
|
|
147
147
|
--
|
148
148
|
|
149
|
-
##### [init_caps_for_appium](https://github.com/appium/ruby_lib/blob/
|
149
|
+
##### [init_caps_for_appium](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/driver.rb#L262)
|
150
150
|
|
151
151
|
> def self.init_caps_for_appium(opts_caps = {})
|
152
152
|
|
153
|
-
|
154
|
-
Because Selenium::WebDriver::Remote::Bridge uses Capabilities.firefox by default
|
155
|
-
https://github.com/SeleniumHQ/selenium/blob/selenium-3.0.1/rb/lib/selenium/webdriver/remote/bridge.rb#L67
|
153
|
+
|
156
154
|
|
157
155
|
__Parameters:__
|
158
156
|
|
@@ -161,11 +159,12 @@ this client sends capabilities to Appium server as JSON format.
|
|
161
159
|
|
162
160
|
__Returns:__
|
163
161
|
|
164
|
-
[Selenium::WebDriver::Remote::Capabilities] Return instance of
|
162
|
+
[::Selenium::WebDriver::Remote::W3C::Capabilities] Return instance of Appium::Driver::Capabilities
|
163
|
+
inherited ::Selenium::WebDriver::Remote::W3C::Capabilities
|
165
164
|
|
166
165
|
--
|
167
166
|
|
168
|
-
##### [global_webdriver_http_sleep](https://github.com/appium/ruby_lib/blob/
|
167
|
+
##### [global_webdriver_http_sleep](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/driver.rb#L275)
|
169
168
|
|
170
169
|
> def global_webdriver_http_sleep
|
171
170
|
|
@@ -173,7 +172,7 @@ The amount to sleep in seconds before every webdriver http call.
|
|
173
172
|
|
174
173
|
--
|
175
174
|
|
176
|
-
##### [global_webdriver_http_sleep=](https://github.com/appium/ruby_lib/blob/
|
175
|
+
##### [global_webdriver_http_sleep=](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/driver.rb#L275)
|
177
176
|
|
178
177
|
> def global_webdriver_http_sleep=(value)
|
179
178
|
|
@@ -181,7 +180,7 @@ The amount to sleep in seconds before every webdriver http call.
|
|
181
180
|
|
182
181
|
--
|
183
182
|
|
184
|
-
##### [caps](https://github.com/appium/ruby_lib/blob/
|
183
|
+
##### [caps](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/driver.rb#L277)
|
185
184
|
|
186
185
|
> def caps
|
187
186
|
|
@@ -189,7 +188,7 @@ Selenium webdriver capabilities
|
|
189
188
|
|
190
189
|
--
|
191
190
|
|
192
|
-
##### [custom_url](https://github.com/appium/ruby_lib/blob/
|
191
|
+
##### [custom_url](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/driver.rb#L279)
|
193
192
|
|
194
193
|
> def custom_url
|
195
194
|
|
@@ -197,7 +196,7 @@ Custom URL for the selenium server
|
|
197
196
|
|
198
197
|
--
|
199
198
|
|
200
|
-
##### [export_session](https://github.com/appium/ruby_lib/blob/
|
199
|
+
##### [export_session](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/driver.rb#L281)
|
201
200
|
|
202
201
|
> def export_session
|
203
202
|
|
@@ -205,7 +204,7 @@ Export session id to textfile in /tmp for 3rd party tools
|
|
205
204
|
|
206
205
|
--
|
207
206
|
|
208
|
-
##### [default_wait](https://github.com/appium/ruby_lib/blob/
|
207
|
+
##### [default_wait](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/driver.rb#L286)
|
209
208
|
|
210
209
|
> def default_wait
|
211
210
|
|
@@ -219,7 +218,7 @@ __Returns:__
|
|
219
218
|
|
220
219
|
--
|
221
220
|
|
222
|
-
##### [sauce_username](https://github.com/appium/ruby_lib/blob/
|
221
|
+
##### [sauce_username](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/driver.rb#L288)
|
223
222
|
|
224
223
|
> def sauce_username
|
225
224
|
|
@@ -227,7 +226,7 @@ Username for use on Sauce Labs. Set `false` to disable Sauce, even when SAUCE_US
|
|
227
226
|
|
228
227
|
--
|
229
228
|
|
230
|
-
##### [sauce_access_key](https://github.com/appium/ruby_lib/blob/
|
229
|
+
##### [sauce_access_key](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/driver.rb#L290)
|
231
230
|
|
232
231
|
> def sauce_access_key
|
233
232
|
|
@@ -235,7 +234,7 @@ Access Key for use on Sauce Labs. Set `false` to disable Sauce, even when SAUCE_
|
|
235
234
|
|
236
235
|
--
|
237
236
|
|
238
|
-
##### [sauce_endpoint](https://github.com/appium/ruby_lib/blob/
|
237
|
+
##### [sauce_endpoint](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/driver.rb#L292)
|
239
238
|
|
240
239
|
> def sauce_endpoint
|
241
240
|
|
@@ -243,7 +242,7 @@ Override the Sauce Appium endpoint to allow e.g. TestObject tests
|
|
243
242
|
|
244
243
|
--
|
245
244
|
|
246
|
-
##### [appium_port](https://github.com/appium/ruby_lib/blob/
|
245
|
+
##### [appium_port](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/driver.rb#L294)
|
247
246
|
|
248
247
|
> def appium_port
|
249
248
|
|
@@ -251,7 +250,7 @@ Appium's server port
|
|
251
250
|
|
252
251
|
--
|
253
252
|
|
254
|
-
##### [appium_device](https://github.com/appium/ruby_lib/blob/
|
253
|
+
##### [appium_device](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/driver.rb#L296)
|
255
254
|
|
256
255
|
> def appium_device
|
257
256
|
|
@@ -259,7 +258,7 @@ Device type to request from the appium server
|
|
259
258
|
|
260
259
|
--
|
261
260
|
|
262
|
-
##### [automation_name](https://github.com/appium/ruby_lib/blob/
|
261
|
+
##### [automation_name](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/driver.rb#L299)
|
263
262
|
|
264
263
|
> def automation_name
|
265
264
|
|
@@ -268,7 +267,7 @@ If automation_name is nil, it is not set both client side and server side.
|
|
268
267
|
|
269
268
|
--
|
270
269
|
|
271
|
-
##### [appium_server_status](https://github.com/appium/ruby_lib/blob/
|
270
|
+
##### [appium_server_status](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/driver.rb#L301)
|
272
271
|
|
273
272
|
> def appium_server_status
|
274
273
|
|
@@ -276,7 +275,7 @@ Appium's server version
|
|
276
275
|
|
277
276
|
--
|
278
277
|
|
279
|
-
##### [appium_debug](https://github.com/appium/ruby_lib/blob/
|
278
|
+
##### [appium_debug](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/driver.rb#L303)
|
280
279
|
|
281
280
|
> def appium_debug
|
282
281
|
|
@@ -284,7 +283,7 @@ Boolean debug mode for the Appium Ruby bindings
|
|
284
283
|
|
285
284
|
--
|
286
285
|
|
287
|
-
##### [listener](https://github.com/appium/ruby_lib/blob/
|
286
|
+
##### [listener](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/driver.rb#L305)
|
288
287
|
|
289
288
|
> def listener
|
290
289
|
|
@@ -292,7 +291,7 @@ instance of AbstractEventListener for logging support
|
|
292
291
|
|
293
292
|
--
|
294
293
|
|
295
|
-
##### [driver](https://github.com/appium/ruby_lib/blob/
|
294
|
+
##### [driver](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/driver.rb#L308)
|
296
295
|
|
297
296
|
> def driver
|
298
297
|
|
@@ -304,7 +303,7 @@ __Returns:__
|
|
304
303
|
|
305
304
|
--
|
306
305
|
|
307
|
-
##### [http_client](https://github.com/appium/ruby_lib/blob/
|
306
|
+
##### [http_client](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/driver.rb#L311)
|
308
307
|
|
309
308
|
> def http_client
|
310
309
|
|
@@ -316,7 +315,7 @@ __Returns:__
|
|
316
315
|
|
317
316
|
--
|
318
317
|
|
319
|
-
##### [appium_wait_timeout](https://github.com/appium/ruby_lib/blob/
|
318
|
+
##### [appium_wait_timeout](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/driver.rb#L316)
|
320
319
|
|
321
320
|
> def appium_wait_timeout
|
322
321
|
|
@@ -330,7 +329,7 @@ __Returns:__
|
|
330
329
|
|
331
330
|
--
|
332
331
|
|
333
|
-
##### [appium_wait_interval](https://github.com/appium/ruby_lib/blob/
|
332
|
+
##### [appium_wait_interval](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/driver.rb#L321)
|
334
333
|
|
335
334
|
> def appium_wait_interval
|
336
335
|
|
@@ -344,7 +343,7 @@ __Returns:__
|
|
344
343
|
|
345
344
|
--
|
346
345
|
|
347
|
-
##### [initialize](https://github.com/appium/ruby_lib/blob/
|
346
|
+
##### [initialize](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/driver.rb#L361)
|
348
347
|
|
349
348
|
> def initialize(opts = {})
|
350
349
|
|
@@ -360,7 +359,7 @@ __Returns:__
|
|
360
359
|
|
361
360
|
--
|
362
361
|
|
363
|
-
##### [set_appium_lib_specific_values](https://github.com/appium/ruby_lib/blob/
|
362
|
+
##### [set_appium_lib_specific_values](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/driver.rb#L427)
|
364
363
|
|
365
364
|
> def set_appium_lib_specific_values(appium_lib_opts)
|
366
365
|
|
@@ -368,7 +367,7 @@ __Returns:__
|
|
368
367
|
|
369
368
|
--
|
370
369
|
|
371
|
-
##### [driver_attributes](https://github.com/appium/ruby_lib/blob/
|
370
|
+
##### [driver_attributes](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/driver.rb#L453)
|
372
371
|
|
373
372
|
> def driver_attributes
|
374
373
|
|
@@ -376,7 +375,7 @@ Returns a hash of the driver attributes
|
|
376
375
|
|
377
376
|
--
|
378
377
|
|
379
|
-
##### [device_is_android?](https://github.com/appium/ruby_lib/blob/
|
378
|
+
##### [device_is_android?](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/driver.rb#L472)
|
380
379
|
|
381
380
|
> def device_is_android?
|
382
381
|
|
@@ -388,7 +387,7 @@ __Returns:__
|
|
388
387
|
|
389
388
|
--
|
390
389
|
|
391
|
-
##### [automation_name_is_xcuitest?](https://github.com/appium/ruby_lib/blob/
|
390
|
+
##### [automation_name_is_xcuitest?](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/driver.rb#L478)
|
392
391
|
|
393
392
|
> def automation_name_is_xcuitest?
|
394
393
|
|
@@ -400,7 +399,7 @@ __Returns:__
|
|
400
399
|
|
401
400
|
--
|
402
401
|
|
403
|
-
##### [automation_name_is_uiautomator2?](https://github.com/appium/ruby_lib/blob/
|
402
|
+
##### [automation_name_is_uiautomator2?](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/driver.rb#L484)
|
404
403
|
|
405
404
|
> def automation_name_is_uiautomator2?
|
406
405
|
|
@@ -412,7 +411,7 @@ __Returns:__
|
|
412
411
|
|
413
412
|
--
|
414
413
|
|
415
|
-
##### [check_server_version_xcuitest](https://github.com/appium/ruby_lib/blob/
|
414
|
+
##### [check_server_version_xcuitest](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/driver.rb#L491)
|
416
415
|
|
417
416
|
> def check_server_version_xcuitest
|
418
417
|
|
@@ -425,7 +424,7 @@ __Returns:__
|
|
425
424
|
|
426
425
|
--
|
427
426
|
|
428
|
-
##### [appium_server_version](https://github.com/appium/ruby_lib/blob/
|
427
|
+
##### [appium_server_version](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/driver.rb#L518)
|
429
428
|
|
430
429
|
> def appium_server_version
|
431
430
|
|
@@ -452,7 +451,7 @@ __Returns:__
|
|
452
451
|
|
453
452
|
--
|
454
453
|
|
455
|
-
##### [appium_client_version](https://github.com/appium/ruby_lib/blob/
|
454
|
+
##### [appium_client_version](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/driver.rb#L539)
|
456
455
|
|
457
456
|
> def appium_client_version
|
458
457
|
|
@@ -470,7 +469,7 @@ __Returns:__
|
|
470
469
|
|
471
470
|
--
|
472
471
|
|
473
|
-
##### [absolute_app_path](https://github.com/appium/ruby_lib/blob/
|
472
|
+
##### [absolute_app_path](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/driver.rb#L551)
|
474
473
|
|
475
474
|
> def self.absolute_app_path(opts)
|
476
475
|
|
@@ -487,7 +486,7 @@ __Returns:__
|
|
487
486
|
|
488
487
|
--
|
489
488
|
|
490
|
-
##### [server_url](https://github.com/appium/ruby_lib/blob/
|
489
|
+
##### [server_url](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/driver.rb#L584)
|
491
490
|
|
492
491
|
> def server_url
|
493
492
|
|
@@ -499,7 +498,7 @@ __Returns:__
|
|
499
498
|
|
500
499
|
--
|
501
500
|
|
502
|
-
##### [restart](https://github.com/appium/ruby_lib/blob/
|
501
|
+
##### [restart](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/driver.rb#L595)
|
503
502
|
|
504
503
|
> def restart
|
505
504
|
|
@@ -511,7 +510,7 @@ __Returns:__
|
|
511
510
|
|
512
511
|
--
|
513
512
|
|
514
|
-
##### [screenshot](https://github.com/appium/ruby_lib/blob/
|
513
|
+
##### [screenshot](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/driver.rb#L606)
|
515
514
|
|
516
515
|
> def screenshot(png_save_path)
|
517
516
|
|
@@ -529,7 +528,7 @@ __Returns:__
|
|
529
528
|
|
530
529
|
--
|
531
530
|
|
532
|
-
##### [driver_quit](https://github.com/appium/ruby_lib/blob/
|
531
|
+
##### [driver_quit](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/driver.rb#L613)
|
533
532
|
|
534
533
|
> def driver_quit
|
535
534
|
|
@@ -541,20 +540,24 @@ __Returns:__
|
|
541
540
|
|
542
541
|
--
|
543
542
|
|
544
|
-
##### [start_driver](https://github.com/appium/ruby_lib/blob/
|
543
|
+
##### [start_driver](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/driver.rb#L646)
|
545
544
|
|
546
|
-
> def start_driver(http_client
|
545
|
+
> def start_driver(http_client_ops = { http_client: nil, open_timeout: 999_999, read_timeout: 999_999 })
|
547
546
|
|
548
547
|
Creates a new global driver and quits the old one if it exists.
|
549
548
|
You can customise http_client as the following
|
550
549
|
|
550
|
+
__Parameters:__
|
551
|
+
|
552
|
+
[Hash] http_client_ops - a customizable set of options
|
553
|
+
|
551
554
|
__Returns:__
|
552
555
|
|
553
556
|
[Selenium::WebDriver] the new global driver
|
554
557
|
|
555
558
|
--
|
556
559
|
|
557
|
-
##### [no_wait](https://github.com/appium/ruby_lib/blob/
|
560
|
+
##### [no_wait](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/driver.rb#L686)
|
558
561
|
|
559
562
|
> def no_wait
|
560
563
|
|
@@ -562,7 +565,7 @@ Set implicit wait to zero.
|
|
562
565
|
|
563
566
|
--
|
564
567
|
|
565
|
-
##### [set_wait](https://github.com/appium/ruby_lib/blob/
|
568
|
+
##### [set_wait](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/driver.rb#L700)
|
566
569
|
|
567
570
|
> def set_wait(timeout = nil)
|
568
571
|
|
@@ -584,7 +587,7 @@ __Returns:__
|
|
584
587
|
|
585
588
|
--
|
586
589
|
|
587
|
-
##### [exists](https://github.com/appium/ruby_lib/blob/
|
590
|
+
##### [exists](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/driver.rb#L717)
|
588
591
|
|
589
592
|
> def exists(pre_check = 0, post_check = @default_wait)
|
590
593
|
|
@@ -608,7 +611,7 @@ __Returns:__
|
|
608
611
|
|
609
612
|
--
|
610
613
|
|
611
|
-
##### [execute_script](https://github.com/appium/ruby_lib/blob/
|
614
|
+
##### [execute_script](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/driver.rb#L741)
|
612
615
|
|
613
616
|
> def execute_script(script, *args)
|
614
617
|
|
@@ -626,7 +629,7 @@ __Returns:__
|
|
626
629
|
|
627
630
|
--
|
628
631
|
|
629
|
-
##### [find_elements](https://github.com/appium/ruby_lib/blob/
|
632
|
+
##### [find_elements](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/driver.rb#L763)
|
630
633
|
|
631
634
|
> def find_elements(*args)
|
632
635
|
|
@@ -652,7 +655,7 @@ __Returns:__
|
|
652
655
|
|
653
656
|
--
|
654
657
|
|
655
|
-
##### [find_element](https://github.com/appium/ruby_lib/blob/
|
658
|
+
##### [find_element](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/driver.rb#L778)
|
656
659
|
|
657
660
|
> def find_element(*args)
|
658
661
|
|
@@ -673,7 +676,7 @@ __Returns:__
|
|
673
676
|
|
674
677
|
--
|
675
678
|
|
676
|
-
##### [set_location](https://github.com/appium/ruby_lib/blob/
|
679
|
+
##### [set_location](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/driver.rb#L791)
|
677
680
|
|
678
681
|
> def set_location(opts = {})
|
679
682
|
|
@@ -689,7 +692,7 @@ __Returns:__
|
|
689
692
|
|
690
693
|
--
|
691
694
|
|
692
|
-
##### [x](https://github.com/appium/ruby_lib/blob/
|
695
|
+
##### [x](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/driver.rb#L801)
|
693
696
|
|
694
697
|
> def x
|
695
698
|
|
@@ -702,7 +705,7 @@ __Returns:__
|
|
702
705
|
|
703
706
|
--
|
704
707
|
|
705
|
-
##### [write_session_id](https://github.com/appium/ruby_lib/blob/
|
708
|
+
##### [write_session_id](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/driver.rb#L808)
|
706
709
|
|
707
710
|
> def write_session_id(session_id)
|
708
711
|
|
@@ -710,7 +713,7 @@ __Returns:__
|
|
710
713
|
|
711
714
|
--
|
712
715
|
|
713
|
-
##### [set_automation_name_if_nil](https://github.com/appium/ruby_lib/blob/
|
716
|
+
##### [set_automation_name_if_nil](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/driver.rb#L817)
|
714
717
|
|
715
718
|
> def set_automation_name_if_nil
|
716
719
|
|
@@ -719,7 +722,7 @@ Since @automation_name is set only client side before start_driver is called.
|
|
719
722
|
|
720
723
|
--
|
721
724
|
|
722
|
-
##### [logger=](https://github.com/appium/ruby_lib/blob/
|
725
|
+
##### [logger=](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/logger.rb#L18)
|
723
726
|
|
724
727
|
> def logger=(value)
|
725
728
|
|
@@ -731,7 +734,7 @@ __Parameters:__
|
|
731
734
|
|
732
735
|
--
|
733
736
|
|
734
|
-
##### [logger](https://github.com/appium/ruby_lib/blob/
|
737
|
+
##### [logger](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/logger.rb#L22)
|
735
738
|
|
736
739
|
> def logger
|
737
740
|
|
@@ -739,7 +742,7 @@ __Parameters:__
|
|
739
742
|
|
740
743
|
--
|
741
744
|
|
742
|
-
##### [app_strings](https://github.com/appium/ruby_lib/blob/
|
745
|
+
##### [app_strings](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/device/device.rb#L7)
|
743
746
|
|
744
747
|
> def app_strings
|
745
748
|
|
@@ -750,7 +753,7 @@ app_strings #=> "TransitionsTitle"=>"Transitions", "WebTitle"=>"Web"
|
|
750
753
|
|
751
754
|
--
|
752
755
|
|
753
|
-
##### [background_app](https://github.com/appium/ruby_lib/blob/
|
756
|
+
##### [background_app](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/device/device.rb#L13)
|
754
757
|
|
755
758
|
> def background_app
|
756
759
|
|
@@ -759,7 +762,7 @@ This is a blocking application
|
|
759
762
|
|
760
763
|
--
|
761
764
|
|
762
|
-
##### [current_activity](https://github.com/appium/ruby_lib/blob/
|
765
|
+
##### [current_activity](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/device/device.rb#L24)
|
763
766
|
|
764
767
|
> def current_activity
|
765
768
|
|
@@ -774,7 +777,7 @@ __Returns:__
|
|
774
777
|
|
775
778
|
--
|
776
779
|
|
777
|
-
##### [current_package](https://github.com/appium/ruby_lib/blob/
|
780
|
+
##### [current_package](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/device/device.rb#L32)
|
778
781
|
|
779
782
|
> def current_package
|
780
783
|
|
@@ -789,7 +792,7 @@ __Returns:__
|
|
789
792
|
|
790
793
|
--
|
791
794
|
|
792
|
-
##### [get_system_bars](https://github.com/appium/ruby_lib/blob/
|
795
|
+
##### [get_system_bars](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/device/device.rb#L40)
|
793
796
|
|
794
797
|
> def get_system_bars
|
795
798
|
|
@@ -804,7 +807,7 @@ __Returns:__
|
|
804
807
|
|
805
808
|
--
|
806
809
|
|
807
|
-
##### [get_display_density](https://github.com/appium/ruby_lib/blob/
|
810
|
+
##### [get_display_density](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/device/device.rb#L48)
|
808
811
|
|
809
812
|
> def get_display_density
|
810
813
|
|
@@ -819,7 +822,7 @@ __Returns:__
|
|
819
822
|
|
820
823
|
--
|
821
824
|
|
822
|
-
##### [is_keyboard_shown](https://github.com/appium/ruby_lib/blob/
|
825
|
+
##### [is_keyboard_shown](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/device/device.rb#L56)
|
823
826
|
|
824
827
|
> def is_keyboard_shown
|
825
828
|
|
@@ -834,7 +837,7 @@ __Returns:__
|
|
834
837
|
|
835
838
|
--
|
836
839
|
|
837
|
-
##### [launch_app](https://github.com/appium/ruby_lib/blob/
|
840
|
+
##### [launch_app](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/device/device.rb#L64)
|
838
841
|
|
839
842
|
> def launch_app
|
840
843
|
|
@@ -842,7 +845,7 @@ Start the simulator and application configured with desired capabilities
|
|
842
845
|
|
843
846
|
--
|
844
847
|
|
845
|
-
##### [reset](https://github.com/appium/ruby_lib/blob/
|
848
|
+
##### [reset](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/device/device.rb#L67)
|
846
849
|
|
847
850
|
> def reset
|
848
851
|
|
@@ -850,7 +853,7 @@ Reset the device, relaunching the application.
|
|
850
853
|
|
851
854
|
--
|
852
855
|
|
853
|
-
##### [shake](https://github.com/appium/ruby_lib/blob/
|
856
|
+
##### [shake](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/device/device.rb#L70)
|
854
857
|
|
855
858
|
> def shake
|
856
859
|
|
@@ -858,7 +861,7 @@ Cause the device to shake
|
|
858
861
|
|
859
862
|
--
|
860
863
|
|
861
|
-
##### [toggle_flight_mode](https://github.com/appium/ruby_lib/blob/
|
864
|
+
##### [toggle_flight_mode](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/device/device.rb#L73)
|
862
865
|
|
863
866
|
> def toggle_flight_mode
|
864
867
|
|
@@ -866,7 +869,7 @@ Toggle flight mode on or off
|
|
866
869
|
|
867
870
|
--
|
868
871
|
|
869
|
-
##### [device_locked?](https://github.com/appium/ruby_lib/blob/
|
872
|
+
##### [device_locked?](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/device/device.rb#L76)
|
870
873
|
|
871
874
|
> def device_locked?
|
872
875
|
|
@@ -874,7 +877,7 @@ Toggle flight mode on or off
|
|
874
877
|
|
875
878
|
--
|
876
879
|
|
877
|
-
##### [hide_keyboard](https://github.com/appium/ruby_lib/blob/
|
880
|
+
##### [hide_keyboard](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/device/device.rb#L78)
|
878
881
|
|
879
882
|
> def hide_keyboard
|
880
883
|
|
@@ -891,7 +894,7 @@ Default for iOS is `:pressKey`. Default for Android is `:tapOutside`.
|
|
891
894
|
|
892
895
|
--
|
893
896
|
|
894
|
-
##### [press_keycode](https://github.com/appium/ruby_lib/blob/
|
897
|
+
##### [press_keycode](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/device/device.rb#L91)
|
895
898
|
|
896
899
|
> def press_keycode
|
897
900
|
|
@@ -906,7 +909,7 @@ __Parameters:__
|
|
906
909
|
|
907
910
|
--
|
908
911
|
|
909
|
-
##### [long_press_keycode](https://github.com/appium/ruby_lib/blob/
|
912
|
+
##### [long_press_keycode](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/device/device.rb#L97)
|
910
913
|
|
911
914
|
> def long_press_keycode
|
912
915
|
|
@@ -921,7 +924,7 @@ __Parameters:__
|
|
921
924
|
|
922
925
|
--
|
923
926
|
|
924
|
-
##### [push_file](https://github.com/appium/ruby_lib/blob/
|
927
|
+
##### [push_file](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/device/device.rb#L103)
|
925
928
|
|
926
929
|
> def push_file
|
927
930
|
|
@@ -935,7 +938,7 @@ __Parameters:__
|
|
935
938
|
|
936
939
|
--
|
937
940
|
|
938
|
-
##### [pull_file](https://github.com/appium/ruby_lib/blob/
|
941
|
+
##### [pull_file](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/device/device.rb#L108)
|
939
942
|
|
940
943
|
> def pull_file
|
941
944
|
|
@@ -952,7 +955,7 @@ __Parameters:__
|
|
952
955
|
|
953
956
|
--
|
954
957
|
|
955
|
-
##### [pull_folder](https://github.com/appium/ruby_lib/blob/
|
958
|
+
##### [pull_folder](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/device/device.rb#L118)
|
956
959
|
|
957
960
|
> def pull_folder
|
958
961
|
|
@@ -967,7 +970,7 @@ __Parameters:__
|
|
967
970
|
|
968
971
|
--
|
969
972
|
|
970
|
-
##### [touch_id](https://github.com/appium/ruby_lib/blob/
|
973
|
+
##### [touch_id](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/device/device.rb#L126)
|
971
974
|
|
972
975
|
> def touch_id
|
973
976
|
|
@@ -984,7 +987,7 @@ Defaults to true.
|
|
984
987
|
|
985
988
|
--
|
986
989
|
|
987
|
-
##### [toggle_touch_id_enrollment](https://github.com/appium/ruby_lib/blob/
|
990
|
+
##### [toggle_touch_id_enrollment](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/device/device.rb#L135)
|
988
991
|
|
989
992
|
> def toggle_touch_id_enrollment
|
990
993
|
|
@@ -992,7 +995,7 @@ iOS Simulator only: Toggle touch id enrollment on an iOS Simulator.
|
|
992
995
|
|
993
996
|
--
|
994
997
|
|
995
|
-
##### [end_coverage](https://github.com/appium/ruby_lib/blob/
|
998
|
+
##### [end_coverage](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/device/device.rb#L138)
|
996
999
|
|
997
1000
|
> def end_coverage
|
998
1001
|
|
@@ -1006,7 +1009,7 @@ __Parameters:__
|
|
1006
1009
|
|
1007
1010
|
--
|
1008
1011
|
|
1009
|
-
##### [get_settings](https://github.com/appium/ruby_lib/blob/
|
1012
|
+
##### [get_settings](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/device/device.rb#L143)
|
1010
1013
|
|
1011
1014
|
> def get_settings
|
1012
1015
|
|
@@ -1014,7 +1017,7 @@ Get appium Settings for current test session
|
|
1014
1017
|
|
1015
1018
|
--
|
1016
1019
|
|
1017
|
-
##### [update_settings](https://github.com/appium/ruby_lib/blob/
|
1020
|
+
##### [update_settings](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/device/device.rb#L146)
|
1018
1021
|
|
1019
1022
|
> def update_settings
|
1020
1023
|
|
@@ -1026,7 +1029,7 @@ __Parameters:__
|
|
1026
1029
|
|
1027
1030
|
--
|
1028
1031
|
|
1029
|
-
##### [start_activity](https://github.com/appium/ruby_lib/blob/
|
1032
|
+
##### [start_activity](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/device/device.rb#L150)
|
1030
1033
|
|
1031
1034
|
> def start_activity
|
1032
1035
|
|
@@ -1040,7 +1043,7 @@ start_activity app_package: 'io.appium.android.apis',
|
|
1040
1043
|
|
1041
1044
|
--
|
1042
1045
|
|
1043
|
-
##### [get_network_connection](https://github.com/appium/ruby_lib/blob/
|
1046
|
+
##### [get_network_connection](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/device/device.rb#L164)
|
1044
1047
|
|
1045
1048
|
> def get_network_connection
|
1046
1049
|
|
@@ -1049,7 +1052,7 @@ See set_network_connection method for return value
|
|
1049
1052
|
|
1050
1053
|
--
|
1051
1054
|
|
1052
|
-
##### [set_network_connection](https://github.com/appium/ruby_lib/blob/
|
1055
|
+
##### [set_network_connection](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/device/device.rb#L168)
|
1053
1056
|
|
1054
1057
|
> def set_network_connection
|
1055
1058
|
|
@@ -1068,7 +1071,7 @@ __Parameters:__
|
|
1068
1071
|
|
1069
1072
|
--
|
1070
1073
|
|
1071
|
-
##### [set_immediate_value](https://github.com/appium/ruby_lib/blob/
|
1074
|
+
##### [set_immediate_value](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/device/device.rb#L181)
|
1072
1075
|
|
1073
1076
|
> def set_immediate_value
|
1074
1077
|
|
@@ -1082,7 +1085,7 @@ set_immediate_value element, 'hello'
|
|
1082
1085
|
|
1083
1086
|
--
|
1084
1087
|
|
1085
|
-
##### [get_performance_data_types](https://github.com/appium/ruby_lib/blob/
|
1088
|
+
##### [get_performance_data_types](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/device/device.rb#L190)
|
1086
1089
|
|
1087
1090
|
> def get_performance_data_types
|
1088
1091
|
|
@@ -1096,7 +1099,7 @@ get_performance_data_types #=> ["cpuinfo", "batteryinfo", "networkinfo", "memory
|
|
1096
1099
|
|
1097
1100
|
--
|
1098
1101
|
|
1099
|
-
##### [extend_search_contexts](https://github.com/appium/ruby_lib/blob/
|
1102
|
+
##### [extend_search_contexts](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/device/device.rb#L453)
|
1100
1103
|
|
1101
1104
|
> def extend_search_contexts
|
1102
1105
|
|
@@ -1104,7 +1107,7 @@ get_performance_data_types #=> ["cpuinfo", "batteryinfo", "networkinfo", "memory
|
|
1104
1107
|
|
1105
1108
|
--
|
1106
1109
|
|
1107
|
-
##### [find_element_with_appium](https://github.com/appium/ruby_lib/blob/
|
1110
|
+
##### [find_element_with_appium](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/device/device.rb#L453)
|
1108
1111
|
|
1109
1112
|
> def find_element_with_appium
|
1110
1113
|
|
@@ -1112,7 +1115,7 @@ get_performance_data_types #=> ["cpuinfo", "batteryinfo", "networkinfo", "memory
|
|
1112
1115
|
|
1113
1116
|
--
|
1114
1117
|
|
1115
|
-
##### [find_elements_with_appium](https://github.com/appium/ruby_lib/blob/
|
1118
|
+
##### [find_elements_with_appium](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/device/device.rb#L453)
|
1116
1119
|
|
1117
1120
|
> def find_elements_with_appium
|
1118
1121
|
|
@@ -1124,7 +1127,7 @@ find_element/s_with_appium with their accessibility_id
|
|
1124
1127
|
|
1125
1128
|
--
|
1126
1129
|
|
1127
|
-
##### [add_touch_actions](https://github.com/appium/ruby_lib/blob/
|
1130
|
+
##### [add_touch_actions](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/device/device.rb#L484)
|
1128
1131
|
|
1129
1132
|
> def add_touch_actions
|
1130
1133
|
|
@@ -1132,7 +1135,7 @@ find_element/s_with_appium with their accessibility_id
|
|
1132
1135
|
|
1133
1136
|
--
|
1134
1137
|
|
1135
|
-
##### [add_ime_actions](https://github.com/appium/ruby_lib/blob/
|
1138
|
+
##### [add_ime_actions](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/device/device.rb#L507)
|
1136
1139
|
|
1137
1140
|
> def add_ime_actions
|
1138
1141
|
|
@@ -1140,7 +1143,7 @@ find_element/s_with_appium with their accessibility_id
|
|
1140
1143
|
|
1141
1144
|
--
|
1142
1145
|
|
1143
|
-
##### [set_context](https://github.com/appium/ruby_lib/blob/
|
1146
|
+
##### [set_context](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/device/device.rb#L582)
|
1144
1147
|
|
1145
1148
|
> def set_context
|
1146
1149
|
|
@@ -1155,7 +1158,7 @@ __Parameters:__
|
|
1155
1158
|
|
1156
1159
|
--
|
1157
1160
|
|
1158
|
-
##### [current_context](https://github.com/appium/ruby_lib/blob/
|
1161
|
+
##### [current_context](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/device/device.rb#L590)
|
1159
1162
|
|
1160
1163
|
> def current_context
|
1161
1164
|
|
@@ -1167,7 +1170,7 @@ __Returns:__
|
|
1167
1170
|
|
1168
1171
|
--
|
1169
1172
|
|
1170
|
-
##### [available_contexts](https://github.com/appium/ruby_lib/blob/
|
1173
|
+
##### [available_contexts](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/device/device.rb#L593)
|
1171
1174
|
|
1172
1175
|
> def available_contexts
|
1173
1176
|
|
@@ -1179,7 +1182,7 @@ __Returns:__
|
|
1179
1182
|
|
1180
1183
|
--
|
1181
1184
|
|
1182
|
-
##### [within_context](https://github.com/appium/ruby_lib/blob/
|
1185
|
+
##### [within_context](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/device/device.rb#L604)
|
1183
1186
|
|
1184
1187
|
> def within_context(context)
|
1185
1188
|
|
@@ -1196,7 +1199,7 @@ __Parameters:__
|
|
1196
1199
|
|
1197
1200
|
--
|
1198
1201
|
|
1199
|
-
##### [switch_to_default_context](https://github.com/appium/ruby_lib/blob/
|
1202
|
+
##### [switch_to_default_context](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/device/device.rb#L617)
|
1200
1203
|
|
1201
1204
|
> def switch_to_default_context
|
1202
1205
|
|
@@ -1204,7 +1207,7 @@ Change to the default context. This is equivalent to `set_context nil`.
|
|
1204
1207
|
|
1205
1208
|
--
|
1206
1209
|
|
1207
|
-
##### [pinch](https://github.com/appium/ruby_lib/blob/
|
1210
|
+
##### [pinch](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/device/multi_touch.rb#L28)
|
1208
1211
|
|
1209
1212
|
> def pinch(percentage = 25, auto_perform = true)
|
1210
1213
|
|
@@ -1223,7 +1226,7 @@ __Parameters:__
|
|
1223
1226
|
|
1224
1227
|
--
|
1225
1228
|
|
1226
|
-
##### [zoom](https://github.com/appium/ruby_lib/blob/
|
1229
|
+
##### [zoom](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/device/multi_touch.rb#L57)
|
1227
1230
|
|
1228
1231
|
> def zoom(percentage = 200, auto_perform = true)
|
1229
1232
|
|
@@ -1242,7 +1245,7 @@ __Parameters:__
|
|
1242
1245
|
|
1243
1246
|
--
|
1244
1247
|
|
1245
|
-
##### [pinch_for_xcuitest](https://github.com/appium/ruby_lib/blob/
|
1248
|
+
##### [pinch_for_xcuitest](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/device/multi_touch.rb#L79)
|
1246
1249
|
|
1247
1250
|
> def pinch_for_xcuitest(rate)
|
1248
1251
|
|
@@ -1250,7 +1253,7 @@ __Parameters:__
|
|
1250
1253
|
|
1251
1254
|
--
|
1252
1255
|
|
1253
|
-
##### [pinch_android](https://github.com/appium/ruby_lib/blob/
|
1256
|
+
##### [pinch_android](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/device/multi_touch.rb#L94)
|
1254
1257
|
|
1255
1258
|
> def pinch_android(rate)
|
1256
1259
|
|
@@ -1258,7 +1261,7 @@ __Parameters:__
|
|
1258
1261
|
|
1259
1262
|
--
|
1260
1263
|
|
1261
|
-
##### [pinch_ios](https://github.com/appium/ruby_lib/blob/
|
1264
|
+
##### [pinch_ios](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/device/multi_touch.rb#L108)
|
1262
1265
|
|
1263
1266
|
> def pinch_ios(rate)
|
1264
1267
|
|
@@ -1266,7 +1269,7 @@ __Parameters:__
|
|
1266
1269
|
|
1267
1270
|
--
|
1268
1271
|
|
1269
|
-
##### [zoom_for_xcuitest](https://github.com/appium/ruby_lib/blob/
|
1272
|
+
##### [zoom_for_xcuitest](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/device/multi_touch.rb#L122)
|
1270
1273
|
|
1271
1274
|
> def zoom_for_xcuitest(rate)
|
1272
1275
|
|
@@ -1274,7 +1277,7 @@ __Parameters:__
|
|
1274
1277
|
|
1275
1278
|
--
|
1276
1279
|
|
1277
|
-
##### [zoom_android](https://github.com/appium/ruby_lib/blob/
|
1280
|
+
##### [zoom_android](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/device/multi_touch.rb#L137)
|
1278
1281
|
|
1279
1282
|
> def zoom_android(rate)
|
1280
1283
|
|
@@ -1282,7 +1285,7 @@ __Parameters:__
|
|
1282
1285
|
|
1283
1286
|
--
|
1284
1287
|
|
1285
|
-
##### [zoom_ios](https://github.com/appium/ruby_lib/blob/
|
1288
|
+
##### [zoom_ios](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/device/multi_touch.rb#L151)
|
1286
1289
|
|
1287
1290
|
> def zoom_ios(rate)
|
1288
1291
|
|
@@ -1290,7 +1293,7 @@ __Parameters:__
|
|
1290
1293
|
|
1291
1294
|
--
|
1292
1295
|
|
1293
|
-
##### [actions](https://github.com/appium/ruby_lib/blob/
|
1296
|
+
##### [actions](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/device/multi_touch.rb#L166)
|
1294
1297
|
|
1295
1298
|
> def actions
|
1296
1299
|
|
@@ -1298,7 +1301,7 @@ self
|
|
1298
1301
|
|
1299
1302
|
--
|
1300
1303
|
|
1301
|
-
##### [initialize](https://github.com/appium/ruby_lib/blob/
|
1304
|
+
##### [initialize](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/device/multi_touch.rb#L169)
|
1302
1305
|
|
1303
1306
|
> def initialize
|
1304
1307
|
|
@@ -1310,7 +1313,7 @@ __Returns:__
|
|
1310
1313
|
|
1311
1314
|
--
|
1312
1315
|
|
1313
|
-
##### [add](https://github.com/appium/ruby_lib/blob/
|
1316
|
+
##### [add](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/device/multi_touch.rb#L175)
|
1314
1317
|
|
1315
1318
|
> def add(chain)
|
1316
1319
|
|
@@ -1322,7 +1325,7 @@ __Parameters:__
|
|
1322
1325
|
|
1323
1326
|
--
|
1324
1327
|
|
1325
|
-
##### [perform](https://github.com/appium/ruby_lib/blob/
|
1328
|
+
##### [perform](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/device/multi_touch.rb#L180)
|
1326
1329
|
|
1327
1330
|
> def perform
|
1328
1331
|
|
@@ -1330,7 +1333,7 @@ Ask Appium to perform the actions
|
|
1330
1333
|
|
1331
1334
|
--
|
1332
1335
|
|
1333
|
-
##### [ACTIONS](https://github.com/appium/ruby_lib/blob/
|
1336
|
+
##### [ACTIONS](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/device/touch_actions.rb#L22)
|
1334
1337
|
|
1335
1338
|
> ACTIONS = [:move_to, :long_press, :double_tap, :two_finger_tap, :press, :release, :tap, :wait, :perform].freeze
|
1336
1339
|
|
@@ -1338,7 +1341,7 @@ Ask Appium to perform the actions
|
|
1338
1341
|
|
1339
1342
|
--
|
1340
1343
|
|
1341
|
-
##### [COMPLEX_ACTIONS](https://github.com/appium/ruby_lib/blob/
|
1344
|
+
##### [COMPLEX_ACTIONS](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/device/touch_actions.rb#L23)
|
1342
1345
|
|
1343
1346
|
> COMPLEX_ACTIONS = [:swipe].freeze
|
1344
1347
|
|
@@ -1346,7 +1349,7 @@ Ask Appium to perform the actions
|
|
1346
1349
|
|
1347
1350
|
--
|
1348
1351
|
|
1349
|
-
##### [actions](https://github.com/appium/ruby_lib/blob/
|
1352
|
+
##### [actions](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/device/touch_actions.rb#L37)
|
1350
1353
|
|
1351
1354
|
> def actions
|
1352
1355
|
|
@@ -1354,7 +1357,7 @@ Returns the value of attribute actions
|
|
1354
1357
|
|
1355
1358
|
--
|
1356
1359
|
|
1357
|
-
##### [initialize](https://github.com/appium/ruby_lib/blob/
|
1360
|
+
##### [initialize](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/device/touch_actions.rb#L39)
|
1358
1361
|
|
1359
1362
|
> def initialize
|
1360
1363
|
|
@@ -1366,7 +1369,7 @@ __Returns:__
|
|
1366
1369
|
|
1367
1370
|
--
|
1368
1371
|
|
1369
|
-
##### [move_to](https://github.com/appium/ruby_lib/blob/
|
1372
|
+
##### [move_to](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/device/touch_actions.rb#L50)
|
1370
1373
|
|
1371
1374
|
> def move_to(opts)
|
1372
1375
|
|
@@ -1380,7 +1383,7 @@ __Parameters:__
|
|
1380
1383
|
|
1381
1384
|
--
|
1382
1385
|
|
1383
|
-
##### [long_press](https://github.com/appium/ruby_lib/blob/
|
1386
|
+
##### [long_press](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/device/touch_actions.rb#L64)
|
1384
1387
|
|
1385
1388
|
> def long_press(opts)
|
1386
1389
|
|
@@ -1401,7 +1404,7 @@ __Parameters:__
|
|
1401
1404
|
|
1402
1405
|
--
|
1403
1406
|
|
1404
|
-
##### [press](https://github.com/appium/ruby_lib/blob/
|
1407
|
+
##### [press](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/device/touch_actions.rb#L76)
|
1405
1408
|
|
1406
1409
|
> def press(opts)
|
1407
1410
|
|
@@ -1414,7 +1417,7 @@ __Parameters:__
|
|
1414
1417
|
|
1415
1418
|
--
|
1416
1419
|
|
1417
|
-
##### [release](https://github.com/appium/ruby_lib/blob/
|
1420
|
+
##### [release](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/device/touch_actions.rb#L87)
|
1418
1421
|
|
1419
1422
|
> def release(opts = nil)
|
1420
1423
|
|
@@ -1426,7 +1429,7 @@ __Parameters:__
|
|
1426
1429
|
|
1427
1430
|
--
|
1428
1431
|
|
1429
|
-
##### [tap](https://github.com/appium/ruby_lib/blob/
|
1432
|
+
##### [tap](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/device/touch_actions.rb#L99)
|
1430
1433
|
|
1431
1434
|
> def tap(opts)
|
1432
1435
|
|
@@ -1439,7 +1442,7 @@ __Parameters:__
|
|
1439
1442
|
|
1440
1443
|
--
|
1441
1444
|
|
1442
|
-
##### [double_tap](https://github.com/appium/ruby_lib/blob/
|
1445
|
+
##### [double_tap](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/device/touch_actions.rb#L112)
|
1443
1446
|
|
1444
1447
|
> def double_tap(opts)
|
1445
1448
|
|
@@ -1451,7 +1454,7 @@ __Parameters:__
|
|
1451
1454
|
|
1452
1455
|
--
|
1453
1456
|
|
1454
|
-
##### [two_finger_tap](https://github.com/appium/ruby_lib/blob/
|
1457
|
+
##### [two_finger_tap](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/device/touch_actions.rb#L123)
|
1455
1458
|
|
1456
1459
|
> def two_finger_tap(opts)
|
1457
1460
|
|
@@ -1463,7 +1466,7 @@ __Parameters:__
|
|
1463
1466
|
|
1464
1467
|
--
|
1465
1468
|
|
1466
|
-
##### [wait](https://github.com/appium/ruby_lib/blob/
|
1469
|
+
##### [wait](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/device/touch_actions.rb#L131)
|
1467
1470
|
|
1468
1471
|
> def wait(milliseconds)
|
1469
1472
|
|
@@ -1475,7 +1478,7 @@ __Parameters:__
|
|
1475
1478
|
|
1476
1479
|
--
|
1477
1480
|
|
1478
|
-
##### [swipe](https://github.com/appium/ruby_lib/blob/
|
1481
|
+
##### [swipe](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/device/touch_actions.rb#L154)
|
1479
1482
|
|
1480
1483
|
> def swipe(opts, ele = nil)
|
1481
1484
|
|
@@ -1496,7 +1499,7 @@ __Parameters:__
|
|
1496
1499
|
|
1497
1500
|
--
|
1498
1501
|
|
1499
|
-
##### [perform](https://github.com/appium/ruby_lib/blob/
|
1502
|
+
##### [perform](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/device/touch_actions.rb#L179)
|
1500
1503
|
|
1501
1504
|
> def perform
|
1502
1505
|
|
@@ -1504,7 +1507,7 @@ Ask the driver to perform all actions in this action chain.
|
|
1504
1507
|
|
1505
1508
|
--
|
1506
1509
|
|
1507
|
-
##### [cancel](https://github.com/appium/ruby_lib/blob/
|
1510
|
+
##### [cancel](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/device/touch_actions.rb#L186)
|
1508
1511
|
|
1509
1512
|
> def cancel
|
1510
1513
|
|
@@ -1512,7 +1515,7 @@ Does nothing, currently.
|
|
1512
1515
|
|
1513
1516
|
--
|
1514
1517
|
|
1515
|
-
##### [swipe_coordinates](https://github.com/appium/ruby_lib/blob/
|
1518
|
+
##### [swipe_coordinates](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/device/touch_actions.rb#L192)
|
1516
1519
|
|
1517
1520
|
> def swipe_coordinates(end_x: nil, end_y: nil, offset_x: nil, offset_y: nil)
|
1518
1521
|
|
@@ -1520,7 +1523,7 @@ Does nothing, currently.
|
|
1520
1523
|
|
1521
1524
|
--
|
1522
1525
|
|
1523
|
-
##### [chain_method](https://github.com/appium/ruby_lib/blob/
|
1526
|
+
##### [chain_method](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/device/touch_actions.rb#L210)
|
1524
1527
|
|
1525
1528
|
> def chain_method(method, args = nil)
|
1526
1529
|
|
@@ -1528,7 +1531,7 @@ Does nothing, currently.
|
|
1528
1531
|
|
1529
1532
|
--
|
1530
1533
|
|
1531
|
-
##### [args_with_ele_ref](https://github.com/appium/ruby_lib/blob/
|
1534
|
+
##### [args_with_ele_ref](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/device/touch_actions.rb#L216)
|
1532
1535
|
|
1533
1536
|
> def args_with_ele_ref(args)
|
1534
1537
|
|
@@ -1536,7 +1539,7 @@ Does nothing, currently.
|
|
1536
1539
|
|
1537
1540
|
--
|
1538
1541
|
|
1539
|
-
##### [initialize](https://github.com/appium/ruby_lib/blob/
|
1542
|
+
##### [initialize](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/common/wait.rb#L4)
|
1540
1543
|
|
1541
1544
|
> def initialize(opts = {})
|
1542
1545
|
|
@@ -1548,7 +1551,7 @@ __Returns:__
|
|
1548
1551
|
|
1549
1552
|
--
|
1550
1553
|
|
1551
|
-
##### [until](https://github.com/appium/ruby_lib/blob/
|
1554
|
+
##### [until](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/common/wait.rb#L23)
|
1552
1555
|
|
1553
1556
|
> def until
|
1554
1557
|
|
@@ -1557,7 +1560,7 @@ https://github.com/SeleniumHQ/selenium/blob/cf501dda3f0ed12233de51ce8170c0e8090f
|
|
1557
1560
|
|
1558
1561
|
--
|
1559
1562
|
|
1560
|
-
##### [_process_wait_opts](https://github.com/appium/ruby_lib/blob/
|
1563
|
+
##### [_process_wait_opts](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/common/wait.rb#L51)
|
1561
1564
|
|
1562
1565
|
> def _process_wait_opts(opts)
|
1563
1566
|
|
@@ -1565,7 +1568,7 @@ process opts before calling _generic_wait
|
|
1565
1568
|
|
1566
1569
|
--
|
1567
1570
|
|
1568
|
-
##### [wait_true](https://github.com/appium/ruby_lib/blob/
|
1571
|
+
##### [wait_true](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/common/wait.rb#L72)
|
1569
1572
|
|
1570
1573
|
> def wait_true(opts = {})
|
1571
1574
|
|
@@ -1585,7 +1588,7 @@ __Parameters:__
|
|
1585
1588
|
|
1586
1589
|
--
|
1587
1590
|
|
1588
|
-
##### [wait](https://github.com/appium/ruby_lib/blob/
|
1591
|
+
##### [wait](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/common/wait.rb#L95)
|
1589
1592
|
|
1590
1593
|
> def wait(opts = {})
|
1591
1594
|
|
@@ -1603,7 +1606,7 @@ __Parameters:__
|
|
1603
1606
|
|
1604
1607
|
--
|
1605
1608
|
|
1606
|
-
##### [ignore](https://github.com/appium/ruby_lib/blob/
|
1609
|
+
##### [ignore](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/common/helper.rb#L24)
|
1607
1610
|
|
1608
1611
|
> def ignore
|
1609
1612
|
|
@@ -1611,7 +1614,7 @@ Return yield and ignore any exceptions.
|
|
1611
1614
|
|
1612
1615
|
--
|
1613
1616
|
|
1614
|
-
##### [back](https://github.com/appium/ruby_lib/blob/
|
1617
|
+
##### [back](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/common/helper.rb#L31)
|
1615
1618
|
|
1616
1619
|
> def back
|
1617
1620
|
|
@@ -1623,7 +1626,7 @@ __Returns:__
|
|
1623
1626
|
|
1624
1627
|
--
|
1625
1628
|
|
1626
|
-
##### [session_id](https://github.com/appium/ruby_lib/blob/
|
1629
|
+
##### [session_id](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/common/helper.rb#L36)
|
1627
1630
|
|
1628
1631
|
> def session_id
|
1629
1632
|
|
@@ -1631,7 +1634,7 @@ For Sauce Labs reporting. Returns the current session id.
|
|
1631
1634
|
|
1632
1635
|
--
|
1633
1636
|
|
1634
|
-
##### [xpath](https://github.com/appium/ruby_lib/blob/
|
1637
|
+
##### [xpath](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/common/helper.rb#L44)
|
1635
1638
|
|
1636
1639
|
> def xpath(xpath_str)
|
1637
1640
|
|
@@ -1647,7 +1650,7 @@ __Returns:__
|
|
1647
1650
|
|
1648
1651
|
--
|
1649
1652
|
|
1650
|
-
##### [xpaths](https://github.com/appium/ruby_lib/blob/
|
1653
|
+
##### [xpaths](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/common/helper.rb#L52)
|
1651
1654
|
|
1652
1655
|
> def xpaths(xpath_str)
|
1653
1656
|
|
@@ -1663,7 +1666,7 @@ __Returns:__
|
|
1663
1666
|
|
1664
1667
|
--
|
1665
1668
|
|
1666
|
-
##### [_print_source](https://github.com/appium/ruby_lib/blob/
|
1669
|
+
##### [_print_source](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/common/helper.rb#L56)
|
1667
1670
|
|
1668
1671
|
> def _print_source(source)
|
1669
1672
|
|
@@ -1671,7 +1674,7 @@ __Returns:__
|
|
1671
1674
|
|
1672
1675
|
--
|
1673
1676
|
|
1674
|
-
##### [result](https://github.com/appium/ruby_lib/blob/
|
1677
|
+
##### [result](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/common/helper.rb#L69)
|
1675
1678
|
|
1676
1679
|
> def result
|
1677
1680
|
|
@@ -1679,7 +1682,7 @@ Returns the value of attribute result
|
|
1679
1682
|
|
1680
1683
|
--
|
1681
1684
|
|
1682
|
-
##### [initialize](https://github.com/appium/ruby_lib/blob/
|
1685
|
+
##### [initialize](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/common/helper.rb#L71)
|
1683
1686
|
|
1684
1687
|
> def initialize
|
1685
1688
|
|
@@ -1691,7 +1694,7 @@ __Returns:__
|
|
1691
1694
|
|
1692
1695
|
--
|
1693
1696
|
|
1694
|
-
##### [reset](https://github.com/appium/ruby_lib/blob/
|
1697
|
+
##### [reset](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/common/helper.rb#L75)
|
1695
1698
|
|
1696
1699
|
> def reset
|
1697
1700
|
|
@@ -1699,7 +1702,7 @@ __Returns:__
|
|
1699
1702
|
|
1700
1703
|
--
|
1701
1704
|
|
1702
|
-
##### [start_element](https://github.com/appium/ruby_lib/blob/
|
1705
|
+
##### [start_element](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/common/helper.rb#L80)
|
1703
1706
|
|
1704
1707
|
> def start_element(name, attrs = [])
|
1705
1708
|
|
@@ -1707,7 +1710,7 @@ http://nokogiri.org/Nokogiri/XML/SAX/Document.html
|
|
1707
1710
|
|
1708
1711
|
--
|
1709
1712
|
|
1710
|
-
##### [formatted_result](https://github.com/appium/ruby_lib/blob/
|
1713
|
+
##### [formatted_result](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/common/helper.rb#L86)
|
1711
1714
|
|
1712
1715
|
> def formatted_result
|
1713
1716
|
|
@@ -1715,7 +1718,7 @@ http://nokogiri.org/Nokogiri/XML/SAX/Document.html
|
|
1715
1718
|
|
1716
1719
|
--
|
1717
1720
|
|
1718
|
-
##### [get_page_class](https://github.com/appium/ruby_lib/blob/
|
1721
|
+
##### [get_page_class](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/common/helper.rb#L97)
|
1719
1722
|
|
1720
1723
|
> def get_page_class
|
1721
1724
|
|
@@ -1723,7 +1726,7 @@ Returns a string of class counts of visible elements.
|
|
1723
1726
|
|
1724
1727
|
--
|
1725
1728
|
|
1726
|
-
##### [page_class](https://github.com/appium/ruby_lib/blob/
|
1729
|
+
##### [page_class](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/common/helper.rb#L108)
|
1727
1730
|
|
1728
1731
|
> def page_class
|
1729
1732
|
|
@@ -1732,7 +1735,7 @@ Useful for appium_console.
|
|
1732
1735
|
|
1733
1736
|
--
|
1734
1737
|
|
1735
|
-
##### [px_to_window_rel](https://github.com/appium/ruby_lib/blob/
|
1738
|
+
##### [px_to_window_rel](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/common/helper.rb#L118)
|
1736
1739
|
|
1737
1740
|
> def px_to_window_rel(opts = {})
|
1738
1741
|
|
@@ -1744,7 +1747,7 @@ px_to_window_rel x: 50, y: 150
|
|
1744
1747
|
|
1745
1748
|
--
|
1746
1749
|
|
1747
|
-
##### [xml_keys](https://github.com/appium/ruby_lib/blob/
|
1750
|
+
##### [xml_keys](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/common/helper.rb#L137)
|
1748
1751
|
|
1749
1752
|
> def xml_keys(target)
|
1750
1753
|
|
@@ -1760,7 +1763,7 @@ __Returns:__
|
|
1760
1763
|
|
1761
1764
|
--
|
1762
1765
|
|
1763
|
-
##### [xml_values](https://github.com/appium/ruby_lib/blob/
|
1766
|
+
##### [xml_values](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/common/helper.rb#L145)
|
1764
1767
|
|
1765
1768
|
> def xml_values(target)
|
1766
1769
|
|
@@ -1776,7 +1779,7 @@ __Returns:__
|
|
1776
1779
|
|
1777
1780
|
--
|
1778
1781
|
|
1779
|
-
##### [resolve_id](https://github.com/appium/ruby_lib/blob/
|
1782
|
+
##### [resolve_id](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/common/helper.rb#L153)
|
1780
1783
|
|
1781
1784
|
> def resolve_id(id)
|
1782
1785
|
|
@@ -1792,7 +1795,7 @@ __Returns:__
|
|
1792
1795
|
|
1793
1796
|
--
|
1794
1797
|
|
1795
|
-
##### [filter](https://github.com/appium/ruby_lib/blob/
|
1798
|
+
##### [filter](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/common/helper.rb#L159)
|
1796
1799
|
|
1797
1800
|
> def filter
|
1798
1801
|
|
@@ -1800,7 +1803,7 @@ Returns the value of attribute filter
|
|
1800
1803
|
|
1801
1804
|
--
|
1802
1805
|
|
1803
|
-
##### [filter=](https://github.com/appium/ruby_lib/blob/
|
1806
|
+
##### [filter=](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/common/helper.rb#L162)
|
1804
1807
|
|
1805
1808
|
> def filter=(value)
|
1806
1809
|
|
@@ -1808,7 +1811,7 @@ convert to string to support symbols
|
|
1808
1811
|
|
1809
1812
|
--
|
1810
1813
|
|
1811
|
-
##### [initialize](https://github.com/appium/ruby_lib/blob/
|
1814
|
+
##### [initialize](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/common/helper.rb#L168)
|
1812
1815
|
|
1813
1816
|
> def initialize
|
1814
1817
|
|
@@ -1820,7 +1823,7 @@ __Returns:__
|
|
1820
1823
|
|
1821
1824
|
--
|
1822
1825
|
|
1823
|
-
##### [reset](https://github.com/appium/ruby_lib/blob/
|
1826
|
+
##### [reset](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/common/helper.rb#L173)
|
1824
1827
|
|
1825
1828
|
> def reset
|
1826
1829
|
|
@@ -1828,7 +1831,7 @@ __Returns:__
|
|
1828
1831
|
|
1829
1832
|
--
|
1830
1833
|
|
1831
|
-
##### [result](https://github.com/appium/ruby_lib/blob/
|
1834
|
+
##### [result](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/common/helper.rb#L179)
|
1832
1835
|
|
1833
1836
|
> def result
|
1834
1837
|
|
@@ -1836,7 +1839,7 @@ __Returns:__
|
|
1836
1839
|
|
1837
1840
|
--
|
1838
1841
|
|
1839
|
-
##### [start_element](https://github.com/appium/ruby_lib/blob/
|
1842
|
+
##### [start_element](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/common/helper.rb#L195)
|
1840
1843
|
|
1841
1844
|
> def start_element(name, attrs = [])
|
1842
1845
|
|
@@ -1844,7 +1847,7 @@ __Returns:__
|
|
1844
1847
|
|
1845
1848
|
--
|
1846
1849
|
|
1847
|
-
##### [end_element](https://github.com/appium/ruby_lib/blob/
|
1850
|
+
##### [end_element](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/common/helper.rb#L204)
|
1848
1851
|
|
1849
1852
|
> def end_element(name)
|
1850
1853
|
|
@@ -1852,7 +1855,7 @@ __Returns:__
|
|
1852
1855
|
|
1853
1856
|
--
|
1854
1857
|
|
1855
|
-
##### [characters](https://github.com/appium/ruby_lib/blob/
|
1858
|
+
##### [characters](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/common/helper.rb#L210)
|
1856
1859
|
|
1857
1860
|
> def characters(chars)
|
1858
1861
|
|
@@ -1860,7 +1863,7 @@ __Returns:__
|
|
1860
1863
|
|
1861
1864
|
--
|
1862
1865
|
|
1863
|
-
##### [_no_such_element](https://github.com/appium/ruby_lib/blob/
|
1866
|
+
##### [_no_such_element](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/common/helper.rb#L217)
|
1864
1867
|
|
1865
1868
|
> def _no_such_element
|
1866
1869
|
|
@@ -1868,7 +1871,7 @@ __Returns:__
|
|
1868
1871
|
|
1869
1872
|
--
|
1870
1873
|
|
1871
|
-
##### [COMMAND_NO_ARG](https://github.com/appium/ruby_lib/blob/
|
1874
|
+
##### [COMMAND_NO_ARG](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/common/command.rb#L4)
|
1872
1875
|
|
1873
1876
|
> COMMAND_NO_ARG = {
|
1874
1877
|
|
@@ -1876,7 +1879,7 @@ __Returns:__
|
|
1876
1879
|
|
1877
1880
|
--
|
1878
1881
|
|
1879
|
-
##### [COMMAND](https://github.com/appium/ruby_lib/blob/
|
1882
|
+
##### [COMMAND](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/common/command.rb#L28)
|
1880
1883
|
|
1881
1884
|
> COMMAND = {
|
1882
1885
|
|
@@ -1884,7 +1887,7 @@ __Returns:__
|
|
1884
1887
|
|
1885
1888
|
--
|
1886
1889
|
|
1887
|
-
##### [window_size](https://github.com/appium/ruby_lib/blob/
|
1890
|
+
##### [window_size](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/common/element/window.rb#L5)
|
1888
1891
|
|
1889
1892
|
> def window_size
|
1890
1893
|
|
@@ -1892,7 +1895,7 @@ Get the window's size
|
|
1892
1895
|
|
1893
1896
|
--
|
1894
1897
|
|
1895
|
-
##### [FINDERS](https://github.com/appium/ruby_lib/blob/
|
1898
|
+
##### [FINDERS](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/common/search_context.rb#L5)
|
1896
1899
|
|
1897
1900
|
> FINDERS = {
|
1898
1901
|
|
@@ -1900,7 +1903,7 @@ rubocop:disable Style/MutableConstant
|
|
1900
1903
|
|
1901
1904
|
--
|
1902
1905
|
|
1903
|
-
##### [result](https://github.com/appium/ruby_lib/blob/
|
1906
|
+
##### [result](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/android/helper.rb#L6) android
|
1904
1907
|
|
1905
1908
|
> def result
|
1906
1909
|
|
@@ -1908,7 +1911,7 @@ Returns the value of attribute result
|
|
1908
1911
|
|
1909
1912
|
--
|
1910
1913
|
|
1911
|
-
##### [keys](https://github.com/appium/ruby_lib/blob/
|
1914
|
+
##### [keys](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/android/helper.rb#L6) android
|
1912
1915
|
|
1913
1916
|
> def keys
|
1914
1917
|
|
@@ -1916,7 +1919,7 @@ Returns the value of attribute keys
|
|
1916
1919
|
|
1917
1920
|
--
|
1918
1921
|
|
1919
|
-
##### [filter](https://github.com/appium/ruby_lib/blob/
|
1922
|
+
##### [filter](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/android/helper.rb#L6) android
|
1920
1923
|
|
1921
1924
|
> def filter
|
1922
1925
|
|
@@ -1924,7 +1927,7 @@ Returns the value of attribute filter
|
|
1924
1927
|
|
1925
1928
|
--
|
1926
1929
|
|
1927
|
-
##### [filter=](https://github.com/appium/ruby_lib/blob/
|
1930
|
+
##### [filter=](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/android/helper.rb#L9) android
|
1928
1931
|
|
1929
1932
|
> def filter=(value)
|
1930
1933
|
|
@@ -1932,7 +1935,7 @@ convert to string to support symbols
|
|
1932
1935
|
|
1933
1936
|
--
|
1934
1937
|
|
1935
|
-
##### [initialize](https://github.com/appium/ruby_lib/blob/
|
1938
|
+
##### [initialize](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/android/helper.rb#L15) android
|
1936
1939
|
|
1937
1940
|
> def initialize
|
1938
1941
|
|
@@ -1944,7 +1947,7 @@ __Returns:__
|
|
1944
1947
|
|
1945
1948
|
--
|
1946
1949
|
|
1947
|
-
##### [reset](https://github.com/appium/ruby_lib/blob/
|
1950
|
+
##### [reset](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/android/helper.rb#L20) android
|
1948
1951
|
|
1949
1952
|
> def reset
|
1950
1953
|
|
@@ -1952,7 +1955,7 @@ __Returns:__
|
|
1952
1955
|
|
1953
1956
|
--
|
1954
1957
|
|
1955
|
-
##### [start_element](https://github.com/appium/ruby_lib/blob/
|
1958
|
+
##### [start_element](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/android/helper.rb#L26) android
|
1956
1959
|
|
1957
1960
|
> def start_element(name, attrs = [])
|
1958
1961
|
|
@@ -1960,7 +1963,7 @@ http://nokogiri.org/Nokogiri/XML/SAX/Document.html
|
|
1960
1963
|
|
1961
1964
|
--
|
1962
1965
|
|
1963
|
-
##### [source](https://github.com/appium/ruby_lib/blob/
|
1966
|
+
##### [source](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/android/helper.rb#L76) android
|
1964
1967
|
|
1965
1968
|
> def source
|
1966
1969
|
|
@@ -1972,7 +1975,7 @@ __Returns:__
|
|
1972
1975
|
|
1973
1976
|
--
|
1974
1977
|
|
1975
|
-
##### [get_android_inspect](https://github.com/appium/ruby_lib/blob/
|
1978
|
+
##### [get_android_inspect](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/android/helper.rb#L86) android
|
1976
1979
|
|
1977
1980
|
> def get_android_inspect(class_name = false)
|
1978
1981
|
|
@@ -1991,7 +1994,7 @@ __Returns:__
|
|
1991
1994
|
|
1992
1995
|
--
|
1993
1996
|
|
1994
|
-
##### [page](https://github.com/appium/ruby_lib/blob/
|
1997
|
+
##### [page](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/android/helper.rb#L112) android
|
1995
1998
|
|
1996
1999
|
> def page(opts = {})
|
1997
2000
|
|
@@ -2010,7 +2013,7 @@ __Returns:__
|
|
2010
2013
|
|
2011
2014
|
--
|
2012
2015
|
|
2013
|
-
##### [current_app](https://github.com/appium/ruby_lib/blob/
|
2016
|
+
##### [current_app](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/android/helper.rb#L124) android
|
2014
2017
|
|
2015
2018
|
> def current_app
|
2016
2019
|
|
@@ -2020,7 +2023,7 @@ example line:
|
|
2020
2023
|
|
2021
2024
|
--
|
2022
2025
|
|
2023
|
-
##### [id](https://github.com/appium/ruby_lib/blob/
|
2026
|
+
##### [id](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/android/helper.rb#L148) android
|
2024
2027
|
|
2025
2028
|
> def id(id)
|
2026
2029
|
|
@@ -2036,7 +2039,7 @@ __Returns:__
|
|
2036
2039
|
|
2037
2040
|
--
|
2038
2041
|
|
2039
|
-
##### [ids](https://github.com/appium/ruby_lib/blob/
|
2042
|
+
##### [ids](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/android/helper.rb#L156) android
|
2040
2043
|
|
2041
2044
|
> def ids(id)
|
2042
2045
|
|
@@ -2052,7 +2055,7 @@ __Returns:__
|
|
2052
2055
|
|
2053
2056
|
--
|
2054
2057
|
|
2055
|
-
##### [ele_index](https://github.com/appium/ruby_lib/blob/
|
2058
|
+
##### [ele_index](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/android/helper.rb#L165) android
|
2056
2059
|
|
2057
2060
|
> def ele_index(class_name, index)
|
2058
2061
|
|
@@ -2070,7 +2073,7 @@ __Returns:__
|
|
2070
2073
|
|
2071
2074
|
--
|
2072
2075
|
|
2073
|
-
##### [first_ele](https://github.com/appium/ruby_lib/blob/
|
2076
|
+
##### [first_ele](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/android/helper.rb#L183) android
|
2074
2077
|
|
2075
2078
|
> def first_ele(class_name)
|
2076
2079
|
|
@@ -2086,7 +2089,7 @@ __Returns:__
|
|
2086
2089
|
|
2087
2090
|
--
|
2088
2091
|
|
2089
|
-
##### [last_ele](https://github.com/appium/ruby_lib/blob/
|
2092
|
+
##### [last_ele](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/android/helper.rb#L190) android
|
2090
2093
|
|
2091
2094
|
> def last_ele(class_name)
|
2092
2095
|
|
@@ -2102,7 +2105,7 @@ __Returns:__
|
|
2102
2105
|
|
2103
2106
|
--
|
2104
2107
|
|
2105
|
-
##### [tag](https://github.com/appium/ruby_lib/blob/
|
2108
|
+
##### [tag](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/android/helper.rb#L198) android
|
2106
2109
|
|
2107
2110
|
> def tag(class_name)
|
2108
2111
|
|
@@ -2118,7 +2121,7 @@ __Returns:__
|
|
2118
2121
|
|
2119
2122
|
--
|
2120
2123
|
|
2121
|
-
##### [tags](https://github.com/appium/ruby_lib/blob/
|
2124
|
+
##### [tags](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/android/helper.rb#L206) android
|
2122
2125
|
|
2123
2126
|
> def tags(class_name)
|
2124
2127
|
|
@@ -2134,7 +2137,7 @@ __Returns:__
|
|
2134
2137
|
|
2135
2138
|
--
|
2136
2139
|
|
2137
|
-
##### [string_visible_contains_xpath](https://github.com/appium/ruby_lib/blob/
|
2140
|
+
##### [string_visible_contains_xpath](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/android/helper.rb#L249) android
|
2138
2141
|
|
2139
2142
|
> def string_visible_contains_xpath(class_name, value)
|
2140
2143
|
|
@@ -2155,7 +2158,7 @@ __Returns:__
|
|
2155
2158
|
|
2156
2159
|
--
|
2157
2160
|
|
2158
|
-
##### [string_visible_contains](https://github.com/appium/ruby_lib/blob/
|
2161
|
+
##### [string_visible_contains](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/android/helper.rb#L269) android
|
2159
2162
|
|
2160
2163
|
> def string_visible_contains(class_name, value)
|
2161
2164
|
|
@@ -2176,7 +2179,7 @@ __Returns:__
|
|
2176
2179
|
|
2177
2180
|
--
|
2178
2181
|
|
2179
|
-
##### [complex_find_contains](https://github.com/appium/ruby_lib/blob/
|
2182
|
+
##### [complex_find_contains](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/android/helper.rb#L287) android
|
2180
2183
|
|
2181
2184
|
> def complex_find_contains(class_name, value)
|
2182
2185
|
|
@@ -2194,7 +2197,7 @@ __Returns:__
|
|
2194
2197
|
|
2195
2198
|
--
|
2196
2199
|
|
2197
|
-
##### [complex_finds_contains](https://github.com/appium/ruby_lib/blob/
|
2200
|
+
##### [complex_finds_contains](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/android/helper.rb#L301) android
|
2198
2201
|
|
2199
2202
|
> def complex_finds_contains(class_name, value)
|
2200
2203
|
|
@@ -2212,7 +2215,7 @@ __Returns:__
|
|
2212
2215
|
|
2213
2216
|
--
|
2214
2217
|
|
2215
|
-
##### [complex_find_exact](https://github.com/appium/ruby_lib/blob/
|
2218
|
+
##### [complex_find_exact](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/android/helper.rb#L345) android
|
2216
2219
|
|
2217
2220
|
> def complex_find_exact(class_name, value)
|
2218
2221
|
|
@@ -2230,7 +2233,7 @@ __Returns:__
|
|
2230
2233
|
|
2231
2234
|
--
|
2232
2235
|
|
2233
|
-
##### [complex_finds_exact](https://github.com/appium/ruby_lib/blob/
|
2236
|
+
##### [complex_finds_exact](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/android/helper.rb#L359) android
|
2234
2237
|
|
2235
2238
|
> def complex_finds_exact(class_name, value)
|
2236
2239
|
|
@@ -2248,7 +2251,7 @@ __Returns:__
|
|
2248
2251
|
|
2249
2252
|
--
|
2250
2253
|
|
2251
|
-
##### [get_source](https://github.com/appium/ruby_lib/blob/
|
2254
|
+
##### [get_source](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/android/helper.rb#L365) android
|
2252
2255
|
|
2253
2256
|
> def get_source
|
2254
2257
|
|
@@ -2260,7 +2263,7 @@ __Returns:__
|
|
2260
2263
|
|
2261
2264
|
--
|
2262
2265
|
|
2263
|
-
##### [_nodeset_to_uiselector](https://github.com/appium/ruby_lib/blob/
|
2266
|
+
##### [_nodeset_to_uiselector](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/android/client_xpath.rb#L5) android
|
2264
2267
|
|
2265
2268
|
> def _nodeset_to_uiselector(opts = {})
|
2266
2269
|
|
@@ -2268,7 +2271,7 @@ __Returns:__
|
|
2268
2271
|
|
2269
2272
|
--
|
2270
2273
|
|
2271
|
-
##### [_client_xpath](https://github.com/appium/ruby_lib/blob/
|
2274
|
+
##### [_client_xpath](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/android/client_xpath.rb#L20) android
|
2272
2275
|
|
2273
2276
|
> def _client_xpath(opts = {})
|
2274
2277
|
|
@@ -2276,7 +2279,7 @@ __Returns:__
|
|
2276
2279
|
|
2277
2280
|
--
|
2278
2281
|
|
2279
|
-
##### [client_xpath](https://github.com/appium/ruby_lib/blob/
|
2282
|
+
##### [client_xpath](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/android/client_xpath.rb#L37) android
|
2280
2283
|
|
2281
2284
|
> def client_xpath(xpath)
|
2282
2285
|
|
@@ -2284,7 +2287,7 @@ __Returns:__
|
|
2284
2287
|
|
2285
2288
|
--
|
2286
2289
|
|
2287
|
-
##### [client_xpaths](https://github.com/appium/ruby_lib/blob/
|
2290
|
+
##### [client_xpaths](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/android/client_xpath.rb#L43) android
|
2288
2291
|
|
2289
2292
|
> def client_xpaths(xpath)
|
2290
2293
|
|
@@ -2292,7 +2295,7 @@ __Returns:__
|
|
2292
2295
|
|
2293
2296
|
--
|
2294
2297
|
|
2295
|
-
##### [TextView](https://github.com/appium/ruby_lib/blob/
|
2298
|
+
##### [TextView](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/android/element/text.rb#L4) android
|
2296
2299
|
|
2297
2300
|
> TextView = 'android.widget.TextView'.freeze
|
2298
2301
|
|
@@ -2300,7 +2303,7 @@ __Returns:__
|
|
2300
2303
|
|
2301
2304
|
--
|
2302
2305
|
|
2303
|
-
##### [text](https://github.com/appium/ruby_lib/blob/
|
2306
|
+
##### [text](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/android/element/text.rb#L10) android
|
2304
2307
|
|
2305
2308
|
> def text(value)
|
2306
2309
|
|
@@ -2317,7 +2320,7 @@ __Returns:__
|
|
2317
2320
|
|
2318
2321
|
--
|
2319
2322
|
|
2320
|
-
##### [texts](https://github.com/appium/ruby_lib/blob/
|
2323
|
+
##### [texts](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/android/element/text.rb#L19) android
|
2321
2324
|
|
2322
2325
|
> def texts(value = false)
|
2323
2326
|
|
@@ -2334,7 +2337,7 @@ __Returns:__
|
|
2334
2337
|
|
2335
2338
|
--
|
2336
2339
|
|
2337
|
-
##### [first_text](https://github.com/appium/ruby_lib/blob/
|
2340
|
+
##### [first_text](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/android/element/text.rb#L26) android
|
2338
2341
|
|
2339
2342
|
> def first_text
|
2340
2343
|
|
@@ -2346,7 +2349,7 @@ __Returns:__
|
|
2346
2349
|
|
2347
2350
|
--
|
2348
2351
|
|
2349
|
-
##### [last_text](https://github.com/appium/ruby_lib/blob/
|
2352
|
+
##### [last_text](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/android/element/text.rb#L32) android
|
2350
2353
|
|
2351
2354
|
> def last_text
|
2352
2355
|
|
@@ -2358,7 +2361,7 @@ __Returns:__
|
|
2358
2361
|
|
2359
2362
|
--
|
2360
2363
|
|
2361
|
-
##### [text_exact](https://github.com/appium/ruby_lib/blob/
|
2364
|
+
##### [text_exact](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/android/element/text.rb#L39) android
|
2362
2365
|
|
2363
2366
|
> def text_exact(value)
|
2364
2367
|
|
@@ -2374,7 +2377,7 @@ __Returns:__
|
|
2374
2377
|
|
2375
2378
|
--
|
2376
2379
|
|
2377
|
-
##### [texts_exact](https://github.com/appium/ruby_lib/blob/
|
2380
|
+
##### [texts_exact](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/android/element/text.rb#L46) android
|
2378
2381
|
|
2379
2382
|
> def texts_exact(value)
|
2380
2383
|
|
@@ -2390,7 +2393,7 @@ __Returns:__
|
|
2390
2393
|
|
2391
2394
|
--
|
2392
2395
|
|
2393
|
-
##### [alert_click](https://github.com/appium/ruby_lib/blob/
|
2396
|
+
##### [alert_click](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/android/element/alert.rb#L6) android
|
2394
2397
|
|
2395
2398
|
> def alert_click(value)
|
2396
2399
|
|
@@ -2406,7 +2409,7 @@ __Returns:__
|
|
2406
2409
|
|
2407
2410
|
--
|
2408
2411
|
|
2409
|
-
##### [alert_accept](https://github.com/appium/ruby_lib/blob/
|
2412
|
+
##### [alert_accept](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/android/element/alert.rb#L13) android
|
2410
2413
|
|
2411
2414
|
> def alert_accept
|
2412
2415
|
|
@@ -2419,7 +2422,7 @@ __Returns:__
|
|
2419
2422
|
|
2420
2423
|
--
|
2421
2424
|
|
2422
|
-
##### [alert_accept_text](https://github.com/appium/ruby_lib/blob/
|
2425
|
+
##### [alert_accept_text](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/android/element/alert.rb#L20) android
|
2423
2426
|
|
2424
2427
|
> def alert_accept_text
|
2425
2428
|
|
@@ -2432,7 +2435,7 @@ __Returns:__
|
|
2432
2435
|
|
2433
2436
|
--
|
2434
2437
|
|
2435
|
-
##### [alert_dismiss](https://github.com/appium/ruby_lib/blob/
|
2438
|
+
##### [alert_dismiss](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/android/element/alert.rb#L27) android
|
2436
2439
|
|
2437
2440
|
> def alert_dismiss
|
2438
2441
|
|
@@ -2445,7 +2448,7 @@ __Returns:__
|
|
2445
2448
|
|
2446
2449
|
--
|
2447
2450
|
|
2448
|
-
##### [alert_dismiss_text](https://github.com/appium/ruby_lib/blob/
|
2451
|
+
##### [alert_dismiss_text](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/android/element/alert.rb#L34) android
|
2449
2452
|
|
2450
2453
|
> def alert_dismiss_text
|
2451
2454
|
|
@@ -2458,7 +2461,7 @@ __Returns:__
|
|
2458
2461
|
|
2459
2462
|
--
|
2460
2463
|
|
2461
|
-
##### [Button](https://github.com/appium/ruby_lib/blob/
|
2464
|
+
##### [Button](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/android/element/button.rb#L4) android
|
2462
2465
|
|
2463
2466
|
> Button = 'android.widget.Button'.freeze
|
2464
2467
|
|
@@ -2466,7 +2469,7 @@ __Returns:__
|
|
2466
2469
|
|
2467
2470
|
--
|
2468
2471
|
|
2469
|
-
##### [ImageButton](https://github.com/appium/ruby_lib/blob/
|
2472
|
+
##### [ImageButton](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/android/element/button.rb#L5) android
|
2470
2473
|
|
2471
2474
|
> ImageButton = 'android.widget.ImageButton'.freeze
|
2472
2475
|
|
@@ -2474,7 +2477,7 @@ __Returns:__
|
|
2474
2477
|
|
2475
2478
|
--
|
2476
2479
|
|
2477
|
-
##### [_button_visible_selectors](https://github.com/appium/ruby_lib/blob/
|
2480
|
+
##### [_button_visible_selectors](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/android/element/button.rb#L9) android
|
2478
2481
|
|
2479
2482
|
> def _button_visible_selectors(opts = {})
|
2480
2483
|
|
@@ -2482,7 +2485,7 @@ __Returns:__
|
|
2482
2485
|
|
2483
2486
|
--
|
2484
2487
|
|
2485
|
-
##### [_button_exact_string](https://github.com/appium/ruby_lib/blob/
|
2488
|
+
##### [_button_exact_string](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/android/element/button.rb#L22) android
|
2486
2489
|
|
2487
2490
|
> def _button_exact_string(value)
|
2488
2491
|
|
@@ -2490,7 +2493,7 @@ __Returns:__
|
|
2490
2493
|
|
2491
2494
|
--
|
2492
2495
|
|
2493
|
-
##### [_button_contains_string](https://github.com/appium/ruby_lib/blob/
|
2496
|
+
##### [_button_contains_string](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/android/element/button.rb#L28) android
|
2494
2497
|
|
2495
2498
|
> def _button_contains_string(value)
|
2496
2499
|
|
@@ -2498,7 +2501,7 @@ __Returns:__
|
|
2498
2501
|
|
2499
2502
|
--
|
2500
2503
|
|
2501
|
-
##### [button](https://github.com/appium/ruby_lib/blob/
|
2504
|
+
##### [button](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/android/element/button.rb#L40) android
|
2502
2505
|
|
2503
2506
|
> def button(value)
|
2504
2507
|
|
@@ -2515,7 +2518,7 @@ __Returns:__
|
|
2515
2518
|
|
2516
2519
|
--
|
2517
2520
|
|
2518
|
-
##### [buttons](https://github.com/appium/ruby_lib/blob/
|
2521
|
+
##### [buttons](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/android/element/button.rb#L68) android
|
2519
2522
|
|
2520
2523
|
> def buttons(value = false)
|
2521
2524
|
|
@@ -2532,7 +2535,7 @@ __Returns:__
|
|
2532
2535
|
|
2533
2536
|
--
|
2534
2537
|
|
2535
|
-
##### [first_button](https://github.com/appium/ruby_lib/blob/
|
2538
|
+
##### [first_button](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/android/element/button.rb#L75) android
|
2536
2539
|
|
2537
2540
|
> def first_button
|
2538
2541
|
|
@@ -2544,7 +2547,7 @@ __Returns:__
|
|
2544
2547
|
|
2545
2548
|
--
|
2546
2549
|
|
2547
|
-
##### [last_button](https://github.com/appium/ruby_lib/blob/
|
2550
|
+
##### [last_button](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/android/element/button.rb#L86) android
|
2548
2551
|
|
2549
2552
|
> def last_button
|
2550
2553
|
|
@@ -2556,7 +2559,7 @@ __Returns:__
|
|
2556
2559
|
|
2557
2560
|
--
|
2558
2561
|
|
2559
|
-
##### [button_exact](https://github.com/appium/ruby_lib/blob/
|
2562
|
+
##### [button_exact](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/android/element/button.rb#L109) android
|
2560
2563
|
|
2561
2564
|
> def button_exact(value)
|
2562
2565
|
|
@@ -2572,7 +2575,7 @@ __Returns:__
|
|
2572
2575
|
|
2573
2576
|
--
|
2574
2577
|
|
2575
|
-
##### [buttons_exact](https://github.com/appium/ruby_lib/blob/
|
2578
|
+
##### [buttons_exact](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/android/element/button.rb#L121) android
|
2576
2579
|
|
2577
2580
|
> def buttons_exact(value)
|
2578
2581
|
|
@@ -2588,7 +2591,7 @@ __Returns:__
|
|
2588
2591
|
|
2589
2592
|
--
|
2590
2593
|
|
2591
|
-
##### [raise_no_such_element_if_empty](https://github.com/appium/ruby_lib/blob/
|
2594
|
+
##### [raise_no_such_element_if_empty](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/android/element/button.rb#L127) android
|
2592
2595
|
|
2593
2596
|
> def raise_no_such_element_if_empty(elements)
|
2594
2597
|
|
@@ -2596,7 +2599,7 @@ __Returns:__
|
|
2596
2599
|
|
2597
2600
|
--
|
2598
2601
|
|
2599
|
-
##### [uiautomator_find](https://github.com/appium/ruby_lib/blob/
|
2602
|
+
##### [uiautomator_find](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/android/mobile_methods.rb#L10) android
|
2600
2603
|
|
2601
2604
|
> def uiautomator_find
|
2602
2605
|
|
@@ -2608,7 +2611,7 @@ find_element/s can be used with a [UISelector](http://developer.android.com/tool
|
|
2608
2611
|
|
2609
2612
|
--
|
2610
2613
|
|
2611
|
-
##### [find](https://github.com/appium/ruby_lib/blob/
|
2614
|
+
##### [find](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/android/element/generic.rb#L6) android
|
2612
2615
|
|
2613
2616
|
> def find(value)
|
2614
2617
|
|
@@ -2624,7 +2627,7 @@ __Returns:__
|
|
2624
2627
|
|
2625
2628
|
--
|
2626
2629
|
|
2627
|
-
##### [finds](https://github.com/appium/ruby_lib/blob/
|
2630
|
+
##### [finds](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/android/element/generic.rb#L13) android
|
2628
2631
|
|
2629
2632
|
> def finds(value)
|
2630
2633
|
|
@@ -2640,7 +2643,7 @@ __Returns:__
|
|
2640
2643
|
|
2641
2644
|
--
|
2642
2645
|
|
2643
|
-
##### [find_exact](https://github.com/appium/ruby_lib/blob/
|
2646
|
+
##### [find_exact](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/android/element/generic.rb#L20) android
|
2644
2647
|
|
2645
2648
|
> def find_exact(value)
|
2646
2649
|
|
@@ -2656,7 +2659,7 @@ __Returns:__
|
|
2656
2659
|
|
2657
2660
|
--
|
2658
2661
|
|
2659
|
-
##### [finds_exact](https://github.com/appium/ruby_lib/blob/
|
2662
|
+
##### [finds_exact](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/android/element/generic.rb#L27) android
|
2660
2663
|
|
2661
2664
|
> def finds_exact(value)
|
2662
2665
|
|
@@ -2672,7 +2675,7 @@ __Returns:__
|
|
2672
2675
|
|
2673
2676
|
--
|
2674
2677
|
|
2675
|
-
##### [scroll_to](https://github.com/appium/ruby_lib/blob/
|
2678
|
+
##### [scroll_to](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/android/element/generic.rb#L40) android
|
2676
2679
|
|
2677
2680
|
> def scroll_to(text, scrollable_index = 0)
|
2678
2681
|
|
@@ -2690,7 +2693,7 @@ __Returns:__
|
|
2690
2693
|
|
2691
2694
|
--
|
2692
2695
|
|
2693
|
-
##### [scroll_to_exact](https://github.com/appium/ruby_lib/blob/
|
2696
|
+
##### [scroll_to_exact](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/android/element/generic.rb#L54) android
|
2694
2697
|
|
2695
2698
|
> def scroll_to_exact(text, scrollable_index = 0)
|
2696
2699
|
|
@@ -2708,7 +2711,7 @@ __Returns:__
|
|
2708
2711
|
|
2709
2712
|
--
|
2710
2713
|
|
2711
|
-
##### [EditText](https://github.com/appium/ruby_lib/blob/
|
2714
|
+
##### [EditText](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/android/element/textfield.rb#L3) android
|
2712
2715
|
|
2713
2716
|
> EditText = 'android.widget.EditText'.freeze
|
2714
2717
|
|
@@ -2716,7 +2719,7 @@ __Returns:__
|
|
2716
2719
|
|
2717
2720
|
--
|
2718
2721
|
|
2719
|
-
##### [textfield](https://github.com/appium/ruby_lib/blob/
|
2722
|
+
##### [textfield](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/android/element/textfield.rb#L9) android
|
2720
2723
|
|
2721
2724
|
> def textfield(value)
|
2722
2725
|
|
@@ -2733,7 +2736,7 @@ __Returns:__
|
|
2733
2736
|
|
2734
2737
|
--
|
2735
2738
|
|
2736
|
-
##### [textfields](https://github.com/appium/ruby_lib/blob/
|
2739
|
+
##### [textfields](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/android/element/textfield.rb#L18) android
|
2737
2740
|
|
2738
2741
|
> def textfields(value = false)
|
2739
2742
|
|
@@ -2750,7 +2753,7 @@ __Returns:__
|
|
2750
2753
|
|
2751
2754
|
--
|
2752
2755
|
|
2753
|
-
##### [first_textfield](https://github.com/appium/ruby_lib/blob/
|
2756
|
+
##### [first_textfield](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/android/element/textfield.rb#L25) android
|
2754
2757
|
|
2755
2758
|
> def first_textfield
|
2756
2759
|
|
@@ -2762,7 +2765,7 @@ __Returns:__
|
|
2762
2765
|
|
2763
2766
|
--
|
2764
2767
|
|
2765
|
-
##### [last_textfield](https://github.com/appium/ruby_lib/blob/
|
2768
|
+
##### [last_textfield](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/android/element/textfield.rb#L31) android
|
2766
2769
|
|
2767
2770
|
> def last_textfield
|
2768
2771
|
|
@@ -2774,7 +2777,7 @@ __Returns:__
|
|
2774
2777
|
|
2775
2778
|
--
|
2776
2779
|
|
2777
|
-
##### [textfield_exact](https://github.com/appium/ruby_lib/blob/
|
2780
|
+
##### [textfield_exact](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/android/element/textfield.rb#L38) android
|
2778
2781
|
|
2779
2782
|
> def textfield_exact(value)
|
2780
2783
|
|
@@ -2790,7 +2793,7 @@ __Returns:__
|
|
2790
2793
|
|
2791
2794
|
--
|
2792
2795
|
|
2793
|
-
##### [textfields_exact](https://github.com/appium/ruby_lib/blob/
|
2796
|
+
##### [textfields_exact](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/android/element/textfield.rb#L45) android
|
2794
2797
|
|
2795
2798
|
> def textfields_exact(value)
|
2796
2799
|
|
@@ -2806,7 +2809,7 @@ __Returns:__
|
|
2806
2809
|
|
2807
2810
|
--
|
2808
2811
|
|
2809
|
-
##### [value](https://github.com/appium/ruby_lib/blob/
|
2812
|
+
##### [value](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/common/patch.rb#L12)
|
2810
2813
|
|
2811
2814
|
> def value
|
2812
2815
|
|
@@ -2816,7 +2819,7 @@ Fixes NoMethodError: undefined method `value' for Selenium::WebDriver::Element
|
|
2816
2819
|
|
2817
2820
|
--
|
2818
2821
|
|
2819
|
-
##### [name](https://github.com/appium/ruby_lib/blob/
|
2822
|
+
##### [name](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/common/patch.rb#L19)
|
2820
2823
|
|
2821
2824
|
> def name
|
2822
2825
|
|
@@ -2826,7 +2829,7 @@ Fixes NoMethodError: undefined method `name' for Selenium::WebDriver::Element
|
|
2826
2829
|
|
2827
2830
|
--
|
2828
2831
|
|
2829
|
-
##### [location_rel](https://github.com/appium/ruby_lib/blob/
|
2832
|
+
##### [location_rel](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/common/patch.rb#L30)
|
2830
2833
|
|
2831
2834
|
> def location_rel
|
2832
2835
|
|
@@ -2842,7 +2845,7 @@ __Returns:__
|
|
2842
2845
|
|
2843
2846
|
--
|
2844
2847
|
|
2845
|
-
##### [DEFAULT_HEADERS](https://github.com/appium/ruby_lib/blob/
|
2848
|
+
##### [DEFAULT_HEADERS](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/common/patch.rb#L165)
|
2846
2849
|
|
2847
2850
|
> DEFAULT_HEADERS = { 'Accept' => CONTENT_TYPE, 'User-Agent' => "appium/ruby_lib/#{::Appium::VERSION}" }.freeze
|
2848
2851
|
|
@@ -2850,7 +2853,7 @@ __Returns:__
|
|
2850
2853
|
|
2851
2854
|
--
|
2852
2855
|
|
2853
|
-
##### [patch_remote_driver_commands](https://github.com/appium/ruby_lib/blob/
|
2856
|
+
##### [patch_remote_driver_commands](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/common/patch.rb#L168)
|
2854
2857
|
|
2855
2858
|
> def patch_remote_driver_commands
|
2856
2859
|
|