appium_lib 9.3.6 → 9.3.7
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 +12 -0
- data/docs/android_docs.md +252 -237
- data/docs/docs.md +1 -1
- data/docs/ios_docs.md +271 -256
- data/docs/migration.md +47 -0
- data/ios_tests/appium.txt +1 -1
- data/ios_tests/lib/ios/specs/driver.rb +5 -5
- data/lib/appium_lib/common/version.rb +2 -2
- data/lib/appium_lib/device/device.rb +5 -5
- data/lib/appium_lib/driver.rb +27 -6
- data/lib/appium_lib/ios/helper.rb +4 -4
- data/release_notes.md +6 -0
- metadata +2 -2
data/docs/docs.md
CHANGED
|
@@ -51,7 +51,7 @@ Appium::Driver.new(caps: apk).start_driver
|
|
|
51
51
|
|
|
52
52
|
Example use of Appium's mobile gesture.
|
|
53
53
|
|
|
54
|
-
> @driver.
|
|
54
|
+
> @driver.find_element_with_appium()
|
|
55
55
|
|
|
56
56
|
`console.rb` uses some code from [simple_test.rb](
|
|
57
57
|
https://github.com/appium/appium/blob/82995f47408530c80c3376f4e07a1f649d96ba22/sample-code/examples/ruby/simple_test.rb) and is released under the [same license](https://github.com/appium/appium/blob/c58eeb66f2d6fa3b9a89d188a2e657cca7cb300f/LICENSE) as Appium. The [Accessibility Inspector](https://developer.apple.com/library/ios/#documentation/UserExperience/Conceptual/iPhoneAccessibility/Testing_Accessibility/Testing_Accessibility.html) is helpful for discovering button names and textfield values.
|
data/docs/ios_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/35b1e25c46d9518101bec2410f6dcbc6b2c09ad6/lib/appium_lib/driver.rb#L75)
|
|
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/35b1e25c46d9518101bec2410f6dcbc6b2c09ad6/lib/appium_lib/driver.rb#L111)
|
|
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/35b1e25c46d9518101bec2410f6dcbc6b2c09ad6/lib/appium_lib/driver.rb#L117)
|
|
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/35b1e25c46d9518101bec2410f6dcbc6b2c09ad6/lib/appium_lib/driver.rb#L149)
|
|
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/35b1e25c46d9518101bec2410f6dcbc6b2c09ad6/lib/appium_lib/driver.rb#L170)
|
|
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/35b1e25c46d9518101bec2410f6dcbc6b2c09ad6/lib/appium_lib/driver.rb#L223)
|
|
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
|
-
##### [init_caps_for_appium](https://github.com/appium/ruby_lib/blob/
|
|
137
|
+
##### [init_caps_for_appium](https://github.com/appium/ruby_lib/blob/35b1e25c46d9518101bec2410f6dcbc6b2c09ad6/lib/appium_lib/driver.rb#L258)
|
|
138
138
|
|
|
139
139
|
> def self.init_caps_for_appium(opts_caps = {})
|
|
140
140
|
|
|
@@ -153,7 +153,7 @@ __Returns:__
|
|
|
153
153
|
|
|
154
154
|
--
|
|
155
155
|
|
|
156
|
-
##### [global_webdriver_http_sleep](https://github.com/appium/ruby_lib/blob/
|
|
156
|
+
##### [global_webdriver_http_sleep](https://github.com/appium/ruby_lib/blob/35b1e25c46d9518101bec2410f6dcbc6b2c09ad6/lib/appium_lib/driver.rb#L276)
|
|
157
157
|
|
|
158
158
|
> def global_webdriver_http_sleep
|
|
159
159
|
|
|
@@ -161,7 +161,7 @@ The amount to sleep in seconds before every webdriver http call.
|
|
|
161
161
|
|
|
162
162
|
--
|
|
163
163
|
|
|
164
|
-
##### [global_webdriver_http_sleep=](https://github.com/appium/ruby_lib/blob/
|
|
164
|
+
##### [global_webdriver_http_sleep=](https://github.com/appium/ruby_lib/blob/35b1e25c46d9518101bec2410f6dcbc6b2c09ad6/lib/appium_lib/driver.rb#L276)
|
|
165
165
|
|
|
166
166
|
> def global_webdriver_http_sleep=(value)
|
|
167
167
|
|
|
@@ -169,7 +169,7 @@ The amount to sleep in seconds before every webdriver http call.
|
|
|
169
169
|
|
|
170
170
|
--
|
|
171
171
|
|
|
172
|
-
##### [caps](https://github.com/appium/ruby_lib/blob/
|
|
172
|
+
##### [caps](https://github.com/appium/ruby_lib/blob/35b1e25c46d9518101bec2410f6dcbc6b2c09ad6/lib/appium_lib/driver.rb#L278)
|
|
173
173
|
|
|
174
174
|
> def caps
|
|
175
175
|
|
|
@@ -177,7 +177,7 @@ Selenium webdriver capabilities
|
|
|
177
177
|
|
|
178
178
|
--
|
|
179
179
|
|
|
180
|
-
##### [caps=](https://github.com/appium/ruby_lib/blob/
|
|
180
|
+
##### [caps=](https://github.com/appium/ruby_lib/blob/35b1e25c46d9518101bec2410f6dcbc6b2c09ad6/lib/appium_lib/driver.rb#L278)
|
|
181
181
|
|
|
182
182
|
> def caps=(value)
|
|
183
183
|
|
|
@@ -185,7 +185,7 @@ Selenium webdriver capabilities
|
|
|
185
185
|
|
|
186
186
|
--
|
|
187
187
|
|
|
188
|
-
##### [custom_url](https://github.com/appium/ruby_lib/blob/
|
|
188
|
+
##### [custom_url](https://github.com/appium/ruby_lib/blob/35b1e25c46d9518101bec2410f6dcbc6b2c09ad6/lib/appium_lib/driver.rb#L280)
|
|
189
189
|
|
|
190
190
|
> def custom_url
|
|
191
191
|
|
|
@@ -193,7 +193,7 @@ Custom URL for the selenium server
|
|
|
193
193
|
|
|
194
194
|
--
|
|
195
195
|
|
|
196
|
-
##### [custom_url=](https://github.com/appium/ruby_lib/blob/
|
|
196
|
+
##### [custom_url=](https://github.com/appium/ruby_lib/blob/35b1e25c46d9518101bec2410f6dcbc6b2c09ad6/lib/appium_lib/driver.rb#L280)
|
|
197
197
|
|
|
198
198
|
> def custom_url=(value)
|
|
199
199
|
|
|
@@ -201,7 +201,7 @@ Custom URL for the selenium server
|
|
|
201
201
|
|
|
202
202
|
--
|
|
203
203
|
|
|
204
|
-
##### [export_session](https://github.com/appium/ruby_lib/blob/
|
|
204
|
+
##### [export_session](https://github.com/appium/ruby_lib/blob/35b1e25c46d9518101bec2410f6dcbc6b2c09ad6/lib/appium_lib/driver.rb#L282)
|
|
205
205
|
|
|
206
206
|
> def export_session
|
|
207
207
|
|
|
@@ -209,7 +209,7 @@ Export session id to textfile in /tmp for 3rd party tools
|
|
|
209
209
|
|
|
210
210
|
--
|
|
211
211
|
|
|
212
|
-
##### [export_session=](https://github.com/appium/ruby_lib/blob/
|
|
212
|
+
##### [export_session=](https://github.com/appium/ruby_lib/blob/35b1e25c46d9518101bec2410f6dcbc6b2c09ad6/lib/appium_lib/driver.rb#L282)
|
|
213
213
|
|
|
214
214
|
> def export_session=(value)
|
|
215
215
|
|
|
@@ -217,7 +217,7 @@ Export session id to textfile in /tmp for 3rd party tools
|
|
|
217
217
|
|
|
218
218
|
--
|
|
219
219
|
|
|
220
|
-
##### [default_wait](https://github.com/appium/ruby_lib/blob/
|
|
220
|
+
##### [default_wait](https://github.com/appium/ruby_lib/blob/35b1e25c46d9518101bec2410f6dcbc6b2c09ad6/lib/appium_lib/driver.rb#L287)
|
|
221
221
|
|
|
222
222
|
> def default_wait
|
|
223
223
|
|
|
@@ -231,7 +231,7 @@ __Returns:__
|
|
|
231
231
|
|
|
232
232
|
--
|
|
233
233
|
|
|
234
|
-
##### [sauce_username](https://github.com/appium/ruby_lib/blob/
|
|
234
|
+
##### [sauce_username](https://github.com/appium/ruby_lib/blob/35b1e25c46d9518101bec2410f6dcbc6b2c09ad6/lib/appium_lib/driver.rb#L289)
|
|
235
235
|
|
|
236
236
|
> def sauce_username
|
|
237
237
|
|
|
@@ -239,7 +239,7 @@ Username for use on Sauce Labs. Set `false` to disable Sauce, even when SAUCE_US
|
|
|
239
239
|
|
|
240
240
|
--
|
|
241
241
|
|
|
242
|
-
##### [sauce_username=](https://github.com/appium/ruby_lib/blob/
|
|
242
|
+
##### [sauce_username=](https://github.com/appium/ruby_lib/blob/35b1e25c46d9518101bec2410f6dcbc6b2c09ad6/lib/appium_lib/driver.rb#L289)
|
|
243
243
|
|
|
244
244
|
> def sauce_username=(value)
|
|
245
245
|
|
|
@@ -247,7 +247,7 @@ Username for use on Sauce Labs. Set `false` to disable Sauce, even when SAUCE_US
|
|
|
247
247
|
|
|
248
248
|
--
|
|
249
249
|
|
|
250
|
-
##### [sauce_access_key](https://github.com/appium/ruby_lib/blob/
|
|
250
|
+
##### [sauce_access_key](https://github.com/appium/ruby_lib/blob/35b1e25c46d9518101bec2410f6dcbc6b2c09ad6/lib/appium_lib/driver.rb#L291)
|
|
251
251
|
|
|
252
252
|
> def sauce_access_key
|
|
253
253
|
|
|
@@ -255,7 +255,7 @@ Access Key for use on Sauce Labs. Set `false` to disable Sauce, even when SAUCE_
|
|
|
255
255
|
|
|
256
256
|
--
|
|
257
257
|
|
|
258
|
-
##### [sauce_access_key=](https://github.com/appium/ruby_lib/blob/
|
|
258
|
+
##### [sauce_access_key=](https://github.com/appium/ruby_lib/blob/35b1e25c46d9518101bec2410f6dcbc6b2c09ad6/lib/appium_lib/driver.rb#L291)
|
|
259
259
|
|
|
260
260
|
> def sauce_access_key=(value)
|
|
261
261
|
|
|
@@ -263,7 +263,7 @@ Access Key for use on Sauce Labs. Set `false` to disable Sauce, even when SAUCE_
|
|
|
263
263
|
|
|
264
264
|
--
|
|
265
265
|
|
|
266
|
-
##### [sauce_endpoint](https://github.com/appium/ruby_lib/blob/
|
|
266
|
+
##### [sauce_endpoint](https://github.com/appium/ruby_lib/blob/35b1e25c46d9518101bec2410f6dcbc6b2c09ad6/lib/appium_lib/driver.rb#L293)
|
|
267
267
|
|
|
268
268
|
> def sauce_endpoint
|
|
269
269
|
|
|
@@ -271,7 +271,7 @@ Override the Sauce Appium endpoint to allow e.g. TestObject tests
|
|
|
271
271
|
|
|
272
272
|
--
|
|
273
273
|
|
|
274
|
-
##### [sauce_endpoint=](https://github.com/appium/ruby_lib/blob/
|
|
274
|
+
##### [sauce_endpoint=](https://github.com/appium/ruby_lib/blob/35b1e25c46d9518101bec2410f6dcbc6b2c09ad6/lib/appium_lib/driver.rb#L293)
|
|
275
275
|
|
|
276
276
|
> def sauce_endpoint=(value)
|
|
277
277
|
|
|
@@ -279,7 +279,7 @@ Override the Sauce Appium endpoint to allow e.g. TestObject tests
|
|
|
279
279
|
|
|
280
280
|
--
|
|
281
281
|
|
|
282
|
-
##### [appium_port](https://github.com/appium/ruby_lib/blob/
|
|
282
|
+
##### [appium_port](https://github.com/appium/ruby_lib/blob/35b1e25c46d9518101bec2410f6dcbc6b2c09ad6/lib/appium_lib/driver.rb#L295)
|
|
283
283
|
|
|
284
284
|
> def appium_port
|
|
285
285
|
|
|
@@ -287,7 +287,7 @@ Appium's server port
|
|
|
287
287
|
|
|
288
288
|
--
|
|
289
289
|
|
|
290
|
-
##### [appium_port=](https://github.com/appium/ruby_lib/blob/
|
|
290
|
+
##### [appium_port=](https://github.com/appium/ruby_lib/blob/35b1e25c46d9518101bec2410f6dcbc6b2c09ad6/lib/appium_lib/driver.rb#L295)
|
|
291
291
|
|
|
292
292
|
> def appium_port=(value)
|
|
293
293
|
|
|
@@ -295,7 +295,7 @@ Appium's server port
|
|
|
295
295
|
|
|
296
296
|
--
|
|
297
297
|
|
|
298
|
-
##### [appium_device](https://github.com/appium/ruby_lib/blob/
|
|
298
|
+
##### [appium_device](https://github.com/appium/ruby_lib/blob/35b1e25c46d9518101bec2410f6dcbc6b2c09ad6/lib/appium_lib/driver.rb#L297)
|
|
299
299
|
|
|
300
300
|
> def appium_device
|
|
301
301
|
|
|
@@ -303,7 +303,7 @@ Device type to request from the appium server
|
|
|
303
303
|
|
|
304
304
|
--
|
|
305
305
|
|
|
306
|
-
##### [appium_device=](https://github.com/appium/ruby_lib/blob/
|
|
306
|
+
##### [appium_device=](https://github.com/appium/ruby_lib/blob/35b1e25c46d9518101bec2410f6dcbc6b2c09ad6/lib/appium_lib/driver.rb#L297)
|
|
307
307
|
|
|
308
308
|
> def appium_device=(value)
|
|
309
309
|
|
|
@@ -311,7 +311,7 @@ Device type to request from the appium server
|
|
|
311
311
|
|
|
312
312
|
--
|
|
313
313
|
|
|
314
|
-
##### [automation_name](https://github.com/appium/ruby_lib/blob/
|
|
314
|
+
##### [automation_name](https://github.com/appium/ruby_lib/blob/35b1e25c46d9518101bec2410f6dcbc6b2c09ad6/lib/appium_lib/driver.rb#L300)
|
|
315
315
|
|
|
316
316
|
> def automation_name
|
|
317
317
|
|
|
@@ -320,7 +320,7 @@ If automation_name is nil, it is not set both client side and server side.
|
|
|
320
320
|
|
|
321
321
|
--
|
|
322
322
|
|
|
323
|
-
##### [appium_server_status](https://github.com/appium/ruby_lib/blob/
|
|
323
|
+
##### [appium_server_status](https://github.com/appium/ruby_lib/blob/35b1e25c46d9518101bec2410f6dcbc6b2c09ad6/lib/appium_lib/driver.rb#L302)
|
|
324
324
|
|
|
325
325
|
> def appium_server_status
|
|
326
326
|
|
|
@@ -328,7 +328,7 @@ Appium's server version
|
|
|
328
328
|
|
|
329
329
|
--
|
|
330
330
|
|
|
331
|
-
##### [appium_debug](https://github.com/appium/ruby_lib/blob/
|
|
331
|
+
##### [appium_debug](https://github.com/appium/ruby_lib/blob/35b1e25c46d9518101bec2410f6dcbc6b2c09ad6/lib/appium_lib/driver.rb#L304)
|
|
332
332
|
|
|
333
333
|
> def appium_debug
|
|
334
334
|
|
|
@@ -336,7 +336,7 @@ Boolean debug mode for the Appium Ruby bindings
|
|
|
336
336
|
|
|
337
337
|
--
|
|
338
338
|
|
|
339
|
-
##### [appium_debug=](https://github.com/appium/ruby_lib/blob/
|
|
339
|
+
##### [appium_debug=](https://github.com/appium/ruby_lib/blob/35b1e25c46d9518101bec2410f6dcbc6b2c09ad6/lib/appium_lib/driver.rb#L304)
|
|
340
340
|
|
|
341
341
|
> def appium_debug=(value)
|
|
342
342
|
|
|
@@ -344,7 +344,7 @@ Boolean debug mode for the Appium Ruby bindings
|
|
|
344
344
|
|
|
345
345
|
--
|
|
346
346
|
|
|
347
|
-
##### [listener](https://github.com/appium/ruby_lib/blob/
|
|
347
|
+
##### [listener](https://github.com/appium/ruby_lib/blob/35b1e25c46d9518101bec2410f6dcbc6b2c09ad6/lib/appium_lib/driver.rb#L306)
|
|
348
348
|
|
|
349
349
|
> def listener
|
|
350
350
|
|
|
@@ -352,7 +352,7 @@ instance of AbstractEventListener for logging support
|
|
|
352
352
|
|
|
353
353
|
--
|
|
354
354
|
|
|
355
|
-
##### [listener=](https://github.com/appium/ruby_lib/blob/
|
|
355
|
+
##### [listener=](https://github.com/appium/ruby_lib/blob/35b1e25c46d9518101bec2410f6dcbc6b2c09ad6/lib/appium_lib/driver.rb#L306)
|
|
356
356
|
|
|
357
357
|
> def listener=(value)
|
|
358
358
|
|
|
@@ -360,7 +360,7 @@ instance of AbstractEventListener for logging support
|
|
|
360
360
|
|
|
361
361
|
--
|
|
362
362
|
|
|
363
|
-
##### [driver](https://github.com/appium/ruby_lib/blob/
|
|
363
|
+
##### [driver](https://github.com/appium/ruby_lib/blob/35b1e25c46d9518101bec2410f6dcbc6b2c09ad6/lib/appium_lib/driver.rb#L309)
|
|
364
364
|
|
|
365
365
|
> def driver
|
|
366
366
|
|
|
@@ -372,7 +372,7 @@ __Returns:__
|
|
|
372
372
|
|
|
373
373
|
--
|
|
374
374
|
|
|
375
|
-
##### [http_client](https://github.com/appium/ruby_lib/blob/
|
|
375
|
+
##### [http_client](https://github.com/appium/ruby_lib/blob/35b1e25c46d9518101bec2410f6dcbc6b2c09ad6/lib/appium_lib/driver.rb#L312)
|
|
376
376
|
|
|
377
377
|
> def http_client
|
|
378
378
|
|
|
@@ -384,7 +384,7 @@ __Returns:__
|
|
|
384
384
|
|
|
385
385
|
--
|
|
386
386
|
|
|
387
|
-
##### [appium_wait_timeout](https://github.com/appium/ruby_lib/blob/
|
|
387
|
+
##### [appium_wait_timeout](https://github.com/appium/ruby_lib/blob/35b1e25c46d9518101bec2410f6dcbc6b2c09ad6/lib/appium_lib/driver.rb#L317)
|
|
388
388
|
|
|
389
389
|
> def appium_wait_timeout
|
|
390
390
|
|
|
@@ -398,7 +398,7 @@ __Returns:__
|
|
|
398
398
|
|
|
399
399
|
--
|
|
400
400
|
|
|
401
|
-
##### [appium_wait_interval](https://github.com/appium/ruby_lib/blob/
|
|
401
|
+
##### [appium_wait_interval](https://github.com/appium/ruby_lib/blob/35b1e25c46d9518101bec2410f6dcbc6b2c09ad6/lib/appium_lib/driver.rb#L322)
|
|
402
402
|
|
|
403
403
|
> def appium_wait_interval
|
|
404
404
|
|
|
@@ -412,7 +412,7 @@ __Returns:__
|
|
|
412
412
|
|
|
413
413
|
--
|
|
414
414
|
|
|
415
|
-
##### [initialize](https://github.com/appium/ruby_lib/blob/
|
|
415
|
+
##### [initialize](https://github.com/appium/ruby_lib/blob/35b1e25c46d9518101bec2410f6dcbc6b2c09ad6/lib/appium_lib/driver.rb#L362)
|
|
416
416
|
|
|
417
417
|
> def initialize(opts = {})
|
|
418
418
|
|
|
@@ -428,7 +428,7 @@ __Returns:__
|
|
|
428
428
|
|
|
429
429
|
--
|
|
430
430
|
|
|
431
|
-
##### [driver_attributes](https://github.com/appium/ruby_lib/blob/
|
|
431
|
+
##### [driver_attributes](https://github.com/appium/ruby_lib/blob/35b1e25c46d9518101bec2410f6dcbc6b2c09ad6/lib/appium_lib/driver.rb#L440)
|
|
432
432
|
|
|
433
433
|
> def driver_attributes
|
|
434
434
|
|
|
@@ -436,7 +436,7 @@ Returns a hash of the driver attributes
|
|
|
436
436
|
|
|
437
437
|
--
|
|
438
438
|
|
|
439
|
-
##### [device_is_android?](https://github.com/appium/ruby_lib/blob/
|
|
439
|
+
##### [device_is_android?](https://github.com/appium/ruby_lib/blob/35b1e25c46d9518101bec2410f6dcbc6b2c09ad6/lib/appium_lib/driver.rb#L465)
|
|
440
440
|
|
|
441
441
|
> def device_is_android?
|
|
442
442
|
|
|
@@ -448,7 +448,7 @@ __Returns:__
|
|
|
448
448
|
|
|
449
449
|
--
|
|
450
450
|
|
|
451
|
-
##### [automation_name_is_xcuitest?](https://github.com/appium/ruby_lib/blob/
|
|
451
|
+
##### [automation_name_is_xcuitest?](https://github.com/appium/ruby_lib/blob/35b1e25c46d9518101bec2410f6dcbc6b2c09ad6/lib/appium_lib/driver.rb#L471)
|
|
452
452
|
|
|
453
453
|
> def automation_name_is_xcuitest?
|
|
454
454
|
|
|
@@ -460,7 +460,7 @@ __Returns:__
|
|
|
460
460
|
|
|
461
461
|
--
|
|
462
462
|
|
|
463
|
-
##### [check_server_version_xcuitest](https://github.com/appium/ruby_lib/blob/
|
|
463
|
+
##### [check_server_version_xcuitest](https://github.com/appium/ruby_lib/blob/35b1e25c46d9518101bec2410f6dcbc6b2c09ad6/lib/appium_lib/driver.rb#L478)
|
|
464
464
|
|
|
465
465
|
> def check_server_version_xcuitest
|
|
466
466
|
|
|
@@ -473,7 +473,7 @@ __Returns:__
|
|
|
473
473
|
|
|
474
474
|
--
|
|
475
475
|
|
|
476
|
-
##### [appium_server_version](https://github.com/appium/ruby_lib/blob/
|
|
476
|
+
##### [appium_server_version](https://github.com/appium/ruby_lib/blob/35b1e25c46d9518101bec2410f6dcbc6b2c09ad6/lib/appium_lib/driver.rb#L497)
|
|
477
477
|
|
|
478
478
|
> def appium_server_version
|
|
479
479
|
|
|
@@ -494,7 +494,7 @@ __Returns:__
|
|
|
494
494
|
|
|
495
495
|
--
|
|
496
496
|
|
|
497
|
-
##### [appium_client_version](https://github.com/appium/ruby_lib/blob/
|
|
497
|
+
##### [appium_client_version](https://github.com/appium/ruby_lib/blob/35b1e25c46d9518101bec2410f6dcbc6b2c09ad6/lib/appium_lib/driver.rb#L510)
|
|
498
498
|
|
|
499
499
|
> def appium_client_version
|
|
500
500
|
|
|
@@ -512,7 +512,7 @@ __Returns:__
|
|
|
512
512
|
|
|
513
513
|
--
|
|
514
514
|
|
|
515
|
-
##### [absolute_app_path](https://github.com/appium/ruby_lib/blob/
|
|
515
|
+
##### [absolute_app_path](https://github.com/appium/ruby_lib/blob/35b1e25c46d9518101bec2410f6dcbc6b2c09ad6/lib/appium_lib/driver.rb#L522)
|
|
516
516
|
|
|
517
517
|
> def self.absolute_app_path(opts)
|
|
518
518
|
|
|
@@ -529,7 +529,7 @@ __Returns:__
|
|
|
529
529
|
|
|
530
530
|
--
|
|
531
531
|
|
|
532
|
-
##### [server_url](https://github.com/appium/ruby_lib/blob/
|
|
532
|
+
##### [server_url](https://github.com/appium/ruby_lib/blob/35b1e25c46d9518101bec2410f6dcbc6b2c09ad6/lib/appium_lib/driver.rb#L555)
|
|
533
533
|
|
|
534
534
|
> def server_url
|
|
535
535
|
|
|
@@ -541,7 +541,7 @@ __Returns:__
|
|
|
541
541
|
|
|
542
542
|
--
|
|
543
543
|
|
|
544
|
-
##### [restart](https://github.com/appium/ruby_lib/blob/
|
|
544
|
+
##### [restart](https://github.com/appium/ruby_lib/blob/35b1e25c46d9518101bec2410f6dcbc6b2c09ad6/lib/appium_lib/driver.rb#L566)
|
|
545
545
|
|
|
546
546
|
> def restart
|
|
547
547
|
|
|
@@ -553,7 +553,7 @@ __Returns:__
|
|
|
553
553
|
|
|
554
554
|
--
|
|
555
555
|
|
|
556
|
-
##### [screenshot](https://github.com/appium/ruby_lib/blob/
|
|
556
|
+
##### [screenshot](https://github.com/appium/ruby_lib/blob/35b1e25c46d9518101bec2410f6dcbc6b2c09ad6/lib/appium_lib/driver.rb#L577)
|
|
557
557
|
|
|
558
558
|
> def screenshot(png_save_path)
|
|
559
559
|
|
|
@@ -571,7 +571,7 @@ __Returns:__
|
|
|
571
571
|
|
|
572
572
|
--
|
|
573
573
|
|
|
574
|
-
##### [driver_quit](https://github.com/appium/ruby_lib/blob/
|
|
574
|
+
##### [driver_quit](https://github.com/appium/ruby_lib/blob/35b1e25c46d9518101bec2410f6dcbc6b2c09ad6/lib/appium_lib/driver.rb#L584)
|
|
575
575
|
|
|
576
576
|
> def driver_quit
|
|
577
577
|
|
|
@@ -583,7 +583,7 @@ __Returns:__
|
|
|
583
583
|
|
|
584
584
|
--
|
|
585
585
|
|
|
586
|
-
##### [start_driver](https://github.com/appium/ruby_lib/blob/
|
|
586
|
+
##### [start_driver](https://github.com/appium/ruby_lib/blob/35b1e25c46d9518101bec2410f6dcbc6b2c09ad6/lib/appium_lib/driver.rb#L594)
|
|
587
587
|
|
|
588
588
|
> def start_driver
|
|
589
589
|
|
|
@@ -595,7 +595,7 @@ __Returns:__
|
|
|
595
595
|
|
|
596
596
|
--
|
|
597
597
|
|
|
598
|
-
##### [no_wait](https://github.com/appium/ruby_lib/blob/
|
|
598
|
+
##### [no_wait](https://github.com/appium/ruby_lib/blob/35b1e25c46d9518101bec2410f6dcbc6b2c09ad6/lib/appium_lib/driver.rb#L632)
|
|
599
599
|
|
|
600
600
|
> def no_wait
|
|
601
601
|
|
|
@@ -603,17 +603,17 @@ Set implicit wait to zero.
|
|
|
603
603
|
|
|
604
604
|
--
|
|
605
605
|
|
|
606
|
-
##### [set_wait](https://github.com/appium/ruby_lib/blob/
|
|
606
|
+
##### [set_wait](https://github.com/appium/ruby_lib/blob/35b1e25c46d9518101bec2410f6dcbc6b2c09ad6/lib/appium_lib/driver.rb#L646)
|
|
607
607
|
|
|
608
608
|
> def set_wait(timeout = nil)
|
|
609
609
|
|
|
610
610
|
Set implicit wait. Default to @default_wait.
|
|
611
611
|
|
|
612
|
-
```ruby
|
|
612
|
+
```ruby
|
|
613
613
|
set_wait 2
|
|
614
614
|
set_wait # @default_wait
|
|
615
615
|
|
|
616
|
-
|
|
616
|
+
```
|
|
617
617
|
|
|
618
618
|
__Parameters:__
|
|
619
619
|
|
|
@@ -625,7 +625,7 @@ __Returns:__
|
|
|
625
625
|
|
|
626
626
|
--
|
|
627
627
|
|
|
628
|
-
##### [exists](https://github.com/appium/ruby_lib/blob/
|
|
628
|
+
##### [exists](https://github.com/appium/ruby_lib/blob/35b1e25c46d9518101bec2410f6dcbc6b2c09ad6/lib/appium_lib/driver.rb#L663)
|
|
629
629
|
|
|
630
630
|
> def exists(pre_check = 0, post_check = @default_wait)
|
|
631
631
|
|
|
@@ -649,7 +649,7 @@ __Returns:__
|
|
|
649
649
|
|
|
650
650
|
--
|
|
651
651
|
|
|
652
|
-
##### [execute_script](https://github.com/appium/ruby_lib/blob/
|
|
652
|
+
##### [execute_script](https://github.com/appium/ruby_lib/blob/35b1e25c46d9518101bec2410f6dcbc6b2c09ad6/lib/appium_lib/driver.rb#L687)
|
|
653
653
|
|
|
654
654
|
> def execute_script(script, *args)
|
|
655
655
|
|
|
@@ -667,11 +667,21 @@ __Returns:__
|
|
|
667
667
|
|
|
668
668
|
--
|
|
669
669
|
|
|
670
|
-
##### [find_elements](https://github.com/appium/ruby_lib/blob/
|
|
670
|
+
##### [find_elements](https://github.com/appium/ruby_lib/blob/35b1e25c46d9518101bec2410f6dcbc6b2c09ad6/lib/appium_lib/driver.rb#L709)
|
|
671
671
|
|
|
672
672
|
> def find_elements(*args)
|
|
673
673
|
|
|
674
|
-
Calls @driver.
|
|
674
|
+
Calls @driver.find_elements_with_appium
|
|
675
|
+
|
|
676
|
+
```
|
|
677
|
+
```
|
|
678
|
+
|
|
679
|
+
If you call `Appium.promote_appium_methods`, you can call `find_elements` directly.
|
|
680
|
+
|
|
681
|
+
```
|
|
682
|
+
```
|
|
683
|
+
|
|
684
|
+
If you call `Appium.promote_appium_methods`, you can call `find_elements` directly.
|
|
675
685
|
|
|
676
686
|
__Parameters:__
|
|
677
687
|
|
|
@@ -683,11 +693,16 @@ __Returns:__
|
|
|
683
693
|
|
|
684
694
|
--
|
|
685
695
|
|
|
686
|
-
##### [find_element](https://github.com/appium/ruby_lib/blob/
|
|
696
|
+
##### [find_element](https://github.com/appium/ruby_lib/blob/35b1e25c46d9518101bec2410f6dcbc6b2c09ad6/lib/appium_lib/driver.rb#L724)
|
|
687
697
|
|
|
688
698
|
> def find_element(*args)
|
|
689
699
|
|
|
690
|
-
Calls @driver.
|
|
700
|
+
Calls @driver.find_element
|
|
701
|
+
|
|
702
|
+
```
|
|
703
|
+
```
|
|
704
|
+
|
|
705
|
+
If you call `Appium.promote_appium_methods`, you can call `find_element` directly.
|
|
691
706
|
|
|
692
707
|
__Parameters:__
|
|
693
708
|
|
|
@@ -699,7 +714,7 @@ __Returns:__
|
|
|
699
714
|
|
|
700
715
|
--
|
|
701
716
|
|
|
702
|
-
##### [set_location](https://github.com/appium/ruby_lib/blob/
|
|
717
|
+
##### [set_location](https://github.com/appium/ruby_lib/blob/35b1e25c46d9518101bec2410f6dcbc6b2c09ad6/lib/appium_lib/driver.rb#L737)
|
|
703
718
|
|
|
704
719
|
> def set_location(opts = {})
|
|
705
720
|
|
|
@@ -715,7 +730,7 @@ __Returns:__
|
|
|
715
730
|
|
|
716
731
|
--
|
|
717
732
|
|
|
718
|
-
##### [x](https://github.com/appium/ruby_lib/blob/
|
|
733
|
+
##### [x](https://github.com/appium/ruby_lib/blob/35b1e25c46d9518101bec2410f6dcbc6b2c09ad6/lib/appium_lib/driver.rb#L747)
|
|
719
734
|
|
|
720
735
|
> def x
|
|
721
736
|
|
|
@@ -728,7 +743,7 @@ __Returns:__
|
|
|
728
743
|
|
|
729
744
|
--
|
|
730
745
|
|
|
731
|
-
##### [set_automation_name_if_nil](https://github.com/appium/ruby_lib/blob/
|
|
746
|
+
##### [set_automation_name_if_nil](https://github.com/appium/ruby_lib/blob/35b1e25c46d9518101bec2410f6dcbc6b2c09ad6/lib/appium_lib/driver.rb#L756)
|
|
732
747
|
|
|
733
748
|
> def set_automation_name_if_nil
|
|
734
749
|
|
|
@@ -737,7 +752,7 @@ Since @automation_name is set only client side before start_driver is called.
|
|
|
737
752
|
|
|
738
753
|
--
|
|
739
754
|
|
|
740
|
-
##### [logger=](https://github.com/appium/ruby_lib/blob/
|
|
755
|
+
##### [logger=](https://github.com/appium/ruby_lib/blob/35b1e25c46d9518101bec2410f6dcbc6b2c09ad6/lib/appium_lib/logger.rb#L13)
|
|
741
756
|
|
|
742
757
|
> def logger=(value)
|
|
743
758
|
|
|
@@ -749,7 +764,7 @@ __Parameters:__
|
|
|
749
764
|
|
|
750
765
|
--
|
|
751
766
|
|
|
752
|
-
##### [logger](https://github.com/appium/ruby_lib/blob/
|
|
767
|
+
##### [logger](https://github.com/appium/ruby_lib/blob/35b1e25c46d9518101bec2410f6dcbc6b2c09ad6/lib/appium_lib/logger.rb#L17)
|
|
753
768
|
|
|
754
769
|
> def logger
|
|
755
770
|
|
|
@@ -757,7 +772,7 @@ __Parameters:__
|
|
|
757
772
|
|
|
758
773
|
--
|
|
759
774
|
|
|
760
|
-
##### [app_strings](https://github.com/appium/ruby_lib/blob/
|
|
775
|
+
##### [app_strings](https://github.com/appium/ruby_lib/blob/35b1e25c46d9518101bec2410f6dcbc6b2c09ad6/lib/appium_lib/device/device.rb#L7)
|
|
761
776
|
|
|
762
777
|
> def app_strings
|
|
763
778
|
|
|
@@ -768,7 +783,7 @@ app_strings #=> "TransitionsTitle"=>"Transitions", "WebTitle"=>"Web"
|
|
|
768
783
|
|
|
769
784
|
--
|
|
770
785
|
|
|
771
|
-
##### [background_app](https://github.com/appium/ruby_lib/blob/
|
|
786
|
+
##### [background_app](https://github.com/appium/ruby_lib/blob/35b1e25c46d9518101bec2410f6dcbc6b2c09ad6/lib/appium_lib/device/device.rb#L13)
|
|
772
787
|
|
|
773
788
|
> def background_app
|
|
774
789
|
|
|
@@ -777,7 +792,7 @@ This is a blocking application
|
|
|
777
792
|
|
|
778
793
|
--
|
|
779
794
|
|
|
780
|
-
##### [current_activity](https://github.com/appium/ruby_lib/blob/
|
|
795
|
+
##### [current_activity](https://github.com/appium/ruby_lib/blob/35b1e25c46d9518101bec2410f6dcbc6b2c09ad6/lib/appium_lib/device/device.rb#L24)
|
|
781
796
|
|
|
782
797
|
> def current_activity
|
|
783
798
|
|
|
@@ -785,7 +800,7 @@ This is a blocking application
|
|
|
785
800
|
|
|
786
801
|
--
|
|
787
802
|
|
|
788
|
-
##### [get_system_bars](https://github.com/appium/ruby_lib/blob/
|
|
803
|
+
##### [get_system_bars](https://github.com/appium/ruby_lib/blob/35b1e25c46d9518101bec2410f6dcbc6b2c09ad6/lib/appium_lib/device/device.rb#L26)
|
|
789
804
|
|
|
790
805
|
> def get_system_bars
|
|
791
806
|
|
|
@@ -800,7 +815,7 @@ __Returns:__
|
|
|
800
815
|
|
|
801
816
|
--
|
|
802
817
|
|
|
803
|
-
##### [get_display_density](https://github.com/appium/ruby_lib/blob/
|
|
818
|
+
##### [get_display_density](https://github.com/appium/ruby_lib/blob/35b1e25c46d9518101bec2410f6dcbc6b2c09ad6/lib/appium_lib/device/device.rb#L34)
|
|
804
819
|
|
|
805
820
|
> def get_display_density
|
|
806
821
|
|
|
@@ -815,7 +830,7 @@ __Returns:__
|
|
|
815
830
|
|
|
816
831
|
--
|
|
817
832
|
|
|
818
|
-
##### [is_keyboard_shown](https://github.com/appium/ruby_lib/blob/
|
|
833
|
+
##### [is_keyboard_shown](https://github.com/appium/ruby_lib/blob/35b1e25c46d9518101bec2410f6dcbc6b2c09ad6/lib/appium_lib/device/device.rb#L42)
|
|
819
834
|
|
|
820
835
|
> def is_keyboard_shown
|
|
821
836
|
|
|
@@ -830,7 +845,7 @@ __Returns:__
|
|
|
830
845
|
|
|
831
846
|
--
|
|
832
847
|
|
|
833
|
-
##### [launch_app](https://github.com/appium/ruby_lib/blob/
|
|
848
|
+
##### [launch_app](https://github.com/appium/ruby_lib/blob/35b1e25c46d9518101bec2410f6dcbc6b2c09ad6/lib/appium_lib/device/device.rb#L50)
|
|
834
849
|
|
|
835
850
|
> def launch_app
|
|
836
851
|
|
|
@@ -838,7 +853,7 @@ Start the simulator and application configured with desired capabilities
|
|
|
838
853
|
|
|
839
854
|
--
|
|
840
855
|
|
|
841
|
-
##### [reset](https://github.com/appium/ruby_lib/blob/
|
|
856
|
+
##### [reset](https://github.com/appium/ruby_lib/blob/35b1e25c46d9518101bec2410f6dcbc6b2c09ad6/lib/appium_lib/device/device.rb#L53)
|
|
842
857
|
|
|
843
858
|
> def reset
|
|
844
859
|
|
|
@@ -846,7 +861,7 @@ Reset the device, relaunching the application.
|
|
|
846
861
|
|
|
847
862
|
--
|
|
848
863
|
|
|
849
|
-
##### [shake](https://github.com/appium/ruby_lib/blob/
|
|
864
|
+
##### [shake](https://github.com/appium/ruby_lib/blob/35b1e25c46d9518101bec2410f6dcbc6b2c09ad6/lib/appium_lib/device/device.rb#L56)
|
|
850
865
|
|
|
851
866
|
> def shake
|
|
852
867
|
|
|
@@ -854,7 +869,7 @@ Cause the device to shake
|
|
|
854
869
|
|
|
855
870
|
--
|
|
856
871
|
|
|
857
|
-
##### [toggle_flight_mode](https://github.com/appium/ruby_lib/blob/
|
|
872
|
+
##### [toggle_flight_mode](https://github.com/appium/ruby_lib/blob/35b1e25c46d9518101bec2410f6dcbc6b2c09ad6/lib/appium_lib/device/device.rb#L59)
|
|
858
873
|
|
|
859
874
|
> def toggle_flight_mode
|
|
860
875
|
|
|
@@ -862,7 +877,7 @@ Toggle flight mode on or off
|
|
|
862
877
|
|
|
863
878
|
--
|
|
864
879
|
|
|
865
|
-
##### [device_locked?](https://github.com/appium/ruby_lib/blob/
|
|
880
|
+
##### [device_locked?](https://github.com/appium/ruby_lib/blob/35b1e25c46d9518101bec2410f6dcbc6b2c09ad6/lib/appium_lib/device/device.rb#L62)
|
|
866
881
|
|
|
867
882
|
> def device_locked?
|
|
868
883
|
|
|
@@ -870,7 +885,7 @@ Toggle flight mode on or off
|
|
|
870
885
|
|
|
871
886
|
--
|
|
872
887
|
|
|
873
|
-
##### [hide_keyboard](https://github.com/appium/ruby_lib/blob/
|
|
888
|
+
##### [hide_keyboard](https://github.com/appium/ruby_lib/blob/35b1e25c46d9518101bec2410f6dcbc6b2c09ad6/lib/appium_lib/device/device.rb#L64)
|
|
874
889
|
|
|
875
890
|
> def hide_keyboard
|
|
876
891
|
|
|
@@ -883,7 +898,7 @@ Defaults to 'Done'.
|
|
|
883
898
|
|
|
884
899
|
--
|
|
885
900
|
|
|
886
|
-
##### [press_keycode](https://github.com/appium/ruby_lib/blob/
|
|
901
|
+
##### [press_keycode](https://github.com/appium/ruby_lib/blob/35b1e25c46d9518101bec2410f6dcbc6b2c09ad6/lib/appium_lib/device/device.rb#L73)
|
|
887
902
|
|
|
888
903
|
> def press_keycode
|
|
889
904
|
|
|
@@ -898,7 +913,7 @@ __Parameters:__
|
|
|
898
913
|
|
|
899
914
|
--
|
|
900
915
|
|
|
901
|
-
##### [long_press_keycode](https://github.com/appium/ruby_lib/blob/
|
|
916
|
+
##### [long_press_keycode](https://github.com/appium/ruby_lib/blob/35b1e25c46d9518101bec2410f6dcbc6b2c09ad6/lib/appium_lib/device/device.rb#L79)
|
|
902
917
|
|
|
903
918
|
> def long_press_keycode
|
|
904
919
|
|
|
@@ -913,7 +928,7 @@ __Parameters:__
|
|
|
913
928
|
|
|
914
929
|
--
|
|
915
930
|
|
|
916
|
-
##### [push_file](https://github.com/appium/ruby_lib/blob/
|
|
931
|
+
##### [push_file](https://github.com/appium/ruby_lib/blob/35b1e25c46d9518101bec2410f6dcbc6b2c09ad6/lib/appium_lib/device/device.rb#L85)
|
|
917
932
|
|
|
918
933
|
> def push_file
|
|
919
934
|
|
|
@@ -927,7 +942,7 @@ __Parameters:__
|
|
|
927
942
|
|
|
928
943
|
--
|
|
929
944
|
|
|
930
|
-
##### [pull_file](https://github.com/appium/ruby_lib/blob/
|
|
945
|
+
##### [pull_file](https://github.com/appium/ruby_lib/blob/35b1e25c46d9518101bec2410f6dcbc6b2c09ad6/lib/appium_lib/device/device.rb#L90)
|
|
931
946
|
|
|
932
947
|
> def pull_file
|
|
933
948
|
|
|
@@ -944,7 +959,7 @@ __Parameters:__
|
|
|
944
959
|
|
|
945
960
|
--
|
|
946
961
|
|
|
947
|
-
##### [pull_folder](https://github.com/appium/ruby_lib/blob/
|
|
962
|
+
##### [pull_folder](https://github.com/appium/ruby_lib/blob/35b1e25c46d9518101bec2410f6dcbc6b2c09ad6/lib/appium_lib/device/device.rb#L100)
|
|
948
963
|
|
|
949
964
|
> def pull_folder
|
|
950
965
|
|
|
@@ -959,7 +974,7 @@ __Parameters:__
|
|
|
959
974
|
|
|
960
975
|
--
|
|
961
976
|
|
|
962
|
-
##### [touch_id](https://github.com/appium/ruby_lib/blob/
|
|
977
|
+
##### [touch_id](https://github.com/appium/ruby_lib/blob/35b1e25c46d9518101bec2410f6dcbc6b2c09ad6/lib/appium_lib/device/device.rb#L108)
|
|
963
978
|
|
|
964
979
|
> def touch_id
|
|
965
980
|
|
|
@@ -976,7 +991,7 @@ Defaults to true.
|
|
|
976
991
|
|
|
977
992
|
--
|
|
978
993
|
|
|
979
|
-
##### [toggle_touch_id_enrollment](https://github.com/appium/ruby_lib/blob/
|
|
994
|
+
##### [toggle_touch_id_enrollment](https://github.com/appium/ruby_lib/blob/35b1e25c46d9518101bec2410f6dcbc6b2c09ad6/lib/appium_lib/device/device.rb#L117)
|
|
980
995
|
|
|
981
996
|
> def toggle_touch_id_enrollment
|
|
982
997
|
|
|
@@ -984,7 +999,7 @@ iOS Simulator only: Toggle touch id enrollment on an iOS Simulator.
|
|
|
984
999
|
|
|
985
1000
|
--
|
|
986
1001
|
|
|
987
|
-
##### [end_coverage](https://github.com/appium/ruby_lib/blob/
|
|
1002
|
+
##### [end_coverage](https://github.com/appium/ruby_lib/blob/35b1e25c46d9518101bec2410f6dcbc6b2c09ad6/lib/appium_lib/device/device.rb#L120)
|
|
988
1003
|
|
|
989
1004
|
> def end_coverage
|
|
990
1005
|
|
|
@@ -998,7 +1013,7 @@ __Parameters:__
|
|
|
998
1013
|
|
|
999
1014
|
--
|
|
1000
1015
|
|
|
1001
|
-
##### [get_settings](https://github.com/appium/ruby_lib/blob/
|
|
1016
|
+
##### [get_settings](https://github.com/appium/ruby_lib/blob/35b1e25c46d9518101bec2410f6dcbc6b2c09ad6/lib/appium_lib/device/device.rb#L125)
|
|
1002
1017
|
|
|
1003
1018
|
> def get_settings
|
|
1004
1019
|
|
|
@@ -1006,7 +1021,7 @@ Get appium Settings for current test session
|
|
|
1006
1021
|
|
|
1007
1022
|
--
|
|
1008
1023
|
|
|
1009
|
-
##### [update_settings](https://github.com/appium/ruby_lib/blob/
|
|
1024
|
+
##### [update_settings](https://github.com/appium/ruby_lib/blob/35b1e25c46d9518101bec2410f6dcbc6b2c09ad6/lib/appium_lib/device/device.rb#L128)
|
|
1010
1025
|
|
|
1011
1026
|
> def update_settings
|
|
1012
1027
|
|
|
@@ -1018,7 +1033,7 @@ __Parameters:__
|
|
|
1018
1033
|
|
|
1019
1034
|
--
|
|
1020
1035
|
|
|
1021
|
-
##### [start_activity](https://github.com/appium/ruby_lib/blob/
|
|
1036
|
+
##### [start_activity](https://github.com/appium/ruby_lib/blob/35b1e25c46d9518101bec2410f6dcbc6b2c09ad6/lib/appium_lib/device/device.rb#L132)
|
|
1022
1037
|
|
|
1023
1038
|
> def start_activity
|
|
1024
1039
|
|
|
@@ -1032,7 +1047,7 @@ start_activity app_package: 'io.appium.android.apis',
|
|
|
1032
1047
|
|
|
1033
1048
|
--
|
|
1034
1049
|
|
|
1035
|
-
##### [get_network_connection](https://github.com/appium/ruby_lib/blob/
|
|
1050
|
+
##### [get_network_connection](https://github.com/appium/ruby_lib/blob/35b1e25c46d9518101bec2410f6dcbc6b2c09ad6/lib/appium_lib/device/device.rb#L146)
|
|
1036
1051
|
|
|
1037
1052
|
> def get_network_connection
|
|
1038
1053
|
|
|
@@ -1041,7 +1056,7 @@ See set_network_connection method for return value
|
|
|
1041
1056
|
|
|
1042
1057
|
--
|
|
1043
1058
|
|
|
1044
|
-
##### [set_network_connection](https://github.com/appium/ruby_lib/blob/
|
|
1059
|
+
##### [set_network_connection](https://github.com/appium/ruby_lib/blob/35b1e25c46d9518101bec2410f6dcbc6b2c09ad6/lib/appium_lib/device/device.rb#L150)
|
|
1045
1060
|
|
|
1046
1061
|
> def set_network_connection
|
|
1047
1062
|
|
|
@@ -1060,7 +1075,7 @@ __Parameters:__
|
|
|
1060
1075
|
|
|
1061
1076
|
--
|
|
1062
1077
|
|
|
1063
|
-
##### [set_immediate_value](https://github.com/appium/ruby_lib/blob/
|
|
1078
|
+
##### [set_immediate_value](https://github.com/appium/ruby_lib/blob/35b1e25c46d9518101bec2410f6dcbc6b2c09ad6/lib/appium_lib/device/device.rb#L163)
|
|
1064
1079
|
|
|
1065
1080
|
> def set_immediate_value
|
|
1066
1081
|
|
|
@@ -1074,7 +1089,7 @@ set_immediate_value element, 'hello'
|
|
|
1074
1089
|
|
|
1075
1090
|
--
|
|
1076
1091
|
|
|
1077
|
-
##### [get_performance_data_types](https://github.com/appium/ruby_lib/blob/
|
|
1092
|
+
##### [get_performance_data_types](https://github.com/appium/ruby_lib/blob/35b1e25c46d9518101bec2410f6dcbc6b2c09ad6/lib/appium_lib/device/device.rb#L172)
|
|
1078
1093
|
|
|
1079
1094
|
> def get_performance_data_types
|
|
1080
1095
|
|
|
@@ -1088,7 +1103,7 @@ get_performance_data_types #=> ["cpuinfo", "batteryinfo", "networkinfo", "memory
|
|
|
1088
1103
|
|
|
1089
1104
|
--
|
|
1090
1105
|
|
|
1091
|
-
##### [extend_search_contexts](https://github.com/appium/ruby_lib/blob/
|
|
1106
|
+
##### [extend_search_contexts](https://github.com/appium/ruby_lib/blob/35b1e25c46d9518101bec2410f6dcbc6b2c09ad6/lib/appium_lib/device/device.rb#L434)
|
|
1092
1107
|
|
|
1093
1108
|
> def extend_search_contexts
|
|
1094
1109
|
|
|
@@ -1096,19 +1111,19 @@ get_performance_data_types #=> ["cpuinfo", "batteryinfo", "networkinfo", "memory
|
|
|
1096
1111
|
|
|
1097
1112
|
--
|
|
1098
1113
|
|
|
1099
|
-
##### [
|
|
1114
|
+
##### [find_element_with_appium](https://github.com/appium/ruby_lib/blob/35b1e25c46d9518101bec2410f6dcbc6b2c09ad6/lib/appium_lib/device/device.rb#L434)
|
|
1100
1115
|
|
|
1101
|
-
> def
|
|
1116
|
+
> def find_element_with_appium
|
|
1102
1117
|
|
|
1103
1118
|
|
|
1104
1119
|
|
|
1105
1120
|
--
|
|
1106
1121
|
|
|
1107
|
-
##### [
|
|
1122
|
+
##### [find_elements_with_appium](https://github.com/appium/ruby_lib/blob/35b1e25c46d9518101bec2410f6dcbc6b2c09ad6/lib/appium_lib/device/device.rb#L434)
|
|
1108
1123
|
|
|
1109
|
-
> def
|
|
1124
|
+
> def find_elements_with_appium
|
|
1110
1125
|
|
|
1111
|
-
find_element/
|
|
1126
|
+
find_element/s_with_appium with their accessibility_id
|
|
1112
1127
|
|
|
1113
1128
|
```ruby
|
|
1114
1129
|
find_elements :accessibility_id, 'Animation'
|
|
@@ -1116,7 +1131,7 @@ find_element/s with their accessibility_id
|
|
|
1116
1131
|
|
|
1117
1132
|
--
|
|
1118
1133
|
|
|
1119
|
-
##### [add_touch_actions](https://github.com/appium/ruby_lib/blob/
|
|
1134
|
+
##### [add_touch_actions](https://github.com/appium/ruby_lib/blob/35b1e25c46d9518101bec2410f6dcbc6b2c09ad6/lib/appium_lib/device/device.rb#L465)
|
|
1120
1135
|
|
|
1121
1136
|
> def add_touch_actions
|
|
1122
1137
|
|
|
@@ -1124,7 +1139,7 @@ find_element/s with their accessibility_id
|
|
|
1124
1139
|
|
|
1125
1140
|
--
|
|
1126
1141
|
|
|
1127
|
-
##### [add_ime_actions](https://github.com/appium/ruby_lib/blob/
|
|
1142
|
+
##### [add_ime_actions](https://github.com/appium/ruby_lib/blob/35b1e25c46d9518101bec2410f6dcbc6b2c09ad6/lib/appium_lib/device/device.rb#L488)
|
|
1128
1143
|
|
|
1129
1144
|
> def add_ime_actions
|
|
1130
1145
|
|
|
@@ -1132,7 +1147,7 @@ find_element/s with their accessibility_id
|
|
|
1132
1147
|
|
|
1133
1148
|
--
|
|
1134
1149
|
|
|
1135
|
-
##### [set_context](https://github.com/appium/ruby_lib/blob/
|
|
1150
|
+
##### [set_context](https://github.com/appium/ruby_lib/blob/35b1e25c46d9518101bec2410f6dcbc6b2c09ad6/lib/appium_lib/device/device.rb#L563)
|
|
1136
1151
|
|
|
1137
1152
|
> def set_context
|
|
1138
1153
|
|
|
@@ -1147,7 +1162,7 @@ __Parameters:__
|
|
|
1147
1162
|
|
|
1148
1163
|
--
|
|
1149
1164
|
|
|
1150
|
-
##### [current_context](https://github.com/appium/ruby_lib/blob/
|
|
1165
|
+
##### [current_context](https://github.com/appium/ruby_lib/blob/35b1e25c46d9518101bec2410f6dcbc6b2c09ad6/lib/appium_lib/device/device.rb#L571)
|
|
1151
1166
|
|
|
1152
1167
|
> def current_context
|
|
1153
1168
|
|
|
@@ -1159,7 +1174,7 @@ __Returns:__
|
|
|
1159
1174
|
|
|
1160
1175
|
--
|
|
1161
1176
|
|
|
1162
|
-
##### [available_contexts](https://github.com/appium/ruby_lib/blob/
|
|
1177
|
+
##### [available_contexts](https://github.com/appium/ruby_lib/blob/35b1e25c46d9518101bec2410f6dcbc6b2c09ad6/lib/appium_lib/device/device.rb#L574)
|
|
1163
1178
|
|
|
1164
1179
|
> def available_contexts
|
|
1165
1180
|
|
|
@@ -1171,7 +1186,7 @@ __Returns:__
|
|
|
1171
1186
|
|
|
1172
1187
|
--
|
|
1173
1188
|
|
|
1174
|
-
##### [within_context](https://github.com/appium/ruby_lib/blob/
|
|
1189
|
+
##### [within_context](https://github.com/appium/ruby_lib/blob/35b1e25c46d9518101bec2410f6dcbc6b2c09ad6/lib/appium_lib/device/device.rb#L584)
|
|
1175
1190
|
|
|
1176
1191
|
> def within_context(context)
|
|
1177
1192
|
|
|
@@ -1187,7 +1202,7 @@ __Parameters:__
|
|
|
1187
1202
|
|
|
1188
1203
|
--
|
|
1189
1204
|
|
|
1190
|
-
##### [switch_to_default_context](https://github.com/appium/ruby_lib/blob/
|
|
1205
|
+
##### [switch_to_default_context](https://github.com/appium/ruby_lib/blob/35b1e25c46d9518101bec2410f6dcbc6b2c09ad6/lib/appium_lib/device/device.rb#L592)
|
|
1191
1206
|
|
|
1192
1207
|
> def switch_to_default_context
|
|
1193
1208
|
|
|
@@ -1195,7 +1210,7 @@ Change to the default context. This is equivalent to `set_context nil`.
|
|
|
1195
1210
|
|
|
1196
1211
|
--
|
|
1197
1212
|
|
|
1198
|
-
##### [pinch](https://github.com/appium/ruby_lib/blob/
|
|
1213
|
+
##### [pinch](https://github.com/appium/ruby_lib/blob/35b1e25c46d9518101bec2410f6dcbc6b2c09ad6/lib/appium_lib/device/multi_touch.rb#L28)
|
|
1199
1214
|
|
|
1200
1215
|
> def pinch(percentage = 25, auto_perform = true)
|
|
1201
1216
|
|
|
@@ -1214,7 +1229,7 @@ __Parameters:__
|
|
|
1214
1229
|
|
|
1215
1230
|
--
|
|
1216
1231
|
|
|
1217
|
-
##### [zoom](https://github.com/appium/ruby_lib/blob/
|
|
1232
|
+
##### [zoom](https://github.com/appium/ruby_lib/blob/35b1e25c46d9518101bec2410f6dcbc6b2c09ad6/lib/appium_lib/device/multi_touch.rb#L57)
|
|
1218
1233
|
|
|
1219
1234
|
> def zoom(percentage = 200, auto_perform = true)
|
|
1220
1235
|
|
|
@@ -1233,7 +1248,7 @@ __Parameters:__
|
|
|
1233
1248
|
|
|
1234
1249
|
--
|
|
1235
1250
|
|
|
1236
|
-
##### [pinch_for_xcuitest](https://github.com/appium/ruby_lib/blob/
|
|
1251
|
+
##### [pinch_for_xcuitest](https://github.com/appium/ruby_lib/blob/35b1e25c46d9518101bec2410f6dcbc6b2c09ad6/lib/appium_lib/device/multi_touch.rb#L79)
|
|
1237
1252
|
|
|
1238
1253
|
> def pinch_for_xcuitest(rate)
|
|
1239
1254
|
|
|
@@ -1241,7 +1256,7 @@ __Parameters:__
|
|
|
1241
1256
|
|
|
1242
1257
|
--
|
|
1243
1258
|
|
|
1244
|
-
##### [pinch_android](https://github.com/appium/ruby_lib/blob/
|
|
1259
|
+
##### [pinch_android](https://github.com/appium/ruby_lib/blob/35b1e25c46d9518101bec2410f6dcbc6b2c09ad6/lib/appium_lib/device/multi_touch.rb#L94)
|
|
1245
1260
|
|
|
1246
1261
|
> def pinch_android(rate)
|
|
1247
1262
|
|
|
@@ -1249,7 +1264,7 @@ __Parameters:__
|
|
|
1249
1264
|
|
|
1250
1265
|
--
|
|
1251
1266
|
|
|
1252
|
-
##### [pinch_ios](https://github.com/appium/ruby_lib/blob/
|
|
1267
|
+
##### [pinch_ios](https://github.com/appium/ruby_lib/blob/35b1e25c46d9518101bec2410f6dcbc6b2c09ad6/lib/appium_lib/device/multi_touch.rb#L108)
|
|
1253
1268
|
|
|
1254
1269
|
> def pinch_ios(rate)
|
|
1255
1270
|
|
|
@@ -1257,7 +1272,7 @@ __Parameters:__
|
|
|
1257
1272
|
|
|
1258
1273
|
--
|
|
1259
1274
|
|
|
1260
|
-
##### [zoom_for_xcuitest](https://github.com/appium/ruby_lib/blob/
|
|
1275
|
+
##### [zoom_for_xcuitest](https://github.com/appium/ruby_lib/blob/35b1e25c46d9518101bec2410f6dcbc6b2c09ad6/lib/appium_lib/device/multi_touch.rb#L122)
|
|
1261
1276
|
|
|
1262
1277
|
> def zoom_for_xcuitest(rate)
|
|
1263
1278
|
|
|
@@ -1265,7 +1280,7 @@ __Parameters:__
|
|
|
1265
1280
|
|
|
1266
1281
|
--
|
|
1267
1282
|
|
|
1268
|
-
##### [zoom_android](https://github.com/appium/ruby_lib/blob/
|
|
1283
|
+
##### [zoom_android](https://github.com/appium/ruby_lib/blob/35b1e25c46d9518101bec2410f6dcbc6b2c09ad6/lib/appium_lib/device/multi_touch.rb#L137)
|
|
1269
1284
|
|
|
1270
1285
|
> def zoom_android(rate)
|
|
1271
1286
|
|
|
@@ -1273,7 +1288,7 @@ __Parameters:__
|
|
|
1273
1288
|
|
|
1274
1289
|
--
|
|
1275
1290
|
|
|
1276
|
-
##### [zoom_ios](https://github.com/appium/ruby_lib/blob/
|
|
1291
|
+
##### [zoom_ios](https://github.com/appium/ruby_lib/blob/35b1e25c46d9518101bec2410f6dcbc6b2c09ad6/lib/appium_lib/device/multi_touch.rb#L151)
|
|
1277
1292
|
|
|
1278
1293
|
> def zoom_ios(rate)
|
|
1279
1294
|
|
|
@@ -1281,7 +1296,7 @@ __Parameters:__
|
|
|
1281
1296
|
|
|
1282
1297
|
--
|
|
1283
1298
|
|
|
1284
|
-
##### [actions](https://github.com/appium/ruby_lib/blob/
|
|
1299
|
+
##### [actions](https://github.com/appium/ruby_lib/blob/35b1e25c46d9518101bec2410f6dcbc6b2c09ad6/lib/appium_lib/device/multi_touch.rb#L166)
|
|
1285
1300
|
|
|
1286
1301
|
> def actions
|
|
1287
1302
|
|
|
@@ -1289,7 +1304,7 @@ self
|
|
|
1289
1304
|
|
|
1290
1305
|
--
|
|
1291
1306
|
|
|
1292
|
-
##### [initialize](https://github.com/appium/ruby_lib/blob/
|
|
1307
|
+
##### [initialize](https://github.com/appium/ruby_lib/blob/35b1e25c46d9518101bec2410f6dcbc6b2c09ad6/lib/appium_lib/device/multi_touch.rb#L169)
|
|
1293
1308
|
|
|
1294
1309
|
> def initialize
|
|
1295
1310
|
|
|
@@ -1301,7 +1316,7 @@ __Returns:__
|
|
|
1301
1316
|
|
|
1302
1317
|
--
|
|
1303
1318
|
|
|
1304
|
-
##### [add](https://github.com/appium/ruby_lib/blob/
|
|
1319
|
+
##### [add](https://github.com/appium/ruby_lib/blob/35b1e25c46d9518101bec2410f6dcbc6b2c09ad6/lib/appium_lib/device/multi_touch.rb#L175)
|
|
1305
1320
|
|
|
1306
1321
|
> def add(chain)
|
|
1307
1322
|
|
|
@@ -1313,7 +1328,7 @@ __Parameters:__
|
|
|
1313
1328
|
|
|
1314
1329
|
--
|
|
1315
1330
|
|
|
1316
|
-
##### [perform](https://github.com/appium/ruby_lib/blob/
|
|
1331
|
+
##### [perform](https://github.com/appium/ruby_lib/blob/35b1e25c46d9518101bec2410f6dcbc6b2c09ad6/lib/appium_lib/device/multi_touch.rb#L180)
|
|
1317
1332
|
|
|
1318
1333
|
> def perform
|
|
1319
1334
|
|
|
@@ -1321,7 +1336,7 @@ Ask Appium to perform the actions
|
|
|
1321
1336
|
|
|
1322
1337
|
--
|
|
1323
1338
|
|
|
1324
|
-
##### [ACTIONS](https://github.com/appium/ruby_lib/blob/
|
|
1339
|
+
##### [ACTIONS](https://github.com/appium/ruby_lib/blob/35b1e25c46d9518101bec2410f6dcbc6b2c09ad6/lib/appium_lib/device/touch_actions.rb#L20)
|
|
1325
1340
|
|
|
1326
1341
|
> ACTIONS = [:move_to, :long_press, :double_tap, :two_finger_tap, :press, :release, :tap, :wait, :perform].freeze
|
|
1327
1342
|
|
|
@@ -1329,7 +1344,7 @@ Ask Appium to perform the actions
|
|
|
1329
1344
|
|
|
1330
1345
|
--
|
|
1331
1346
|
|
|
1332
|
-
##### [COMPLEX_ACTIONS](https://github.com/appium/ruby_lib/blob/
|
|
1347
|
+
##### [COMPLEX_ACTIONS](https://github.com/appium/ruby_lib/blob/35b1e25c46d9518101bec2410f6dcbc6b2c09ad6/lib/appium_lib/device/touch_actions.rb#L21)
|
|
1333
1348
|
|
|
1334
1349
|
> COMPLEX_ACTIONS = [:swipe].freeze
|
|
1335
1350
|
|
|
@@ -1337,7 +1352,7 @@ Ask Appium to perform the actions
|
|
|
1337
1352
|
|
|
1338
1353
|
--
|
|
1339
1354
|
|
|
1340
|
-
##### [actions](https://github.com/appium/ruby_lib/blob/
|
|
1355
|
+
##### [actions](https://github.com/appium/ruby_lib/blob/35b1e25c46d9518101bec2410f6dcbc6b2c09ad6/lib/appium_lib/device/touch_actions.rb#L35)
|
|
1341
1356
|
|
|
1342
1357
|
> def actions
|
|
1343
1358
|
|
|
@@ -1345,7 +1360,7 @@ Returns the value of attribute actions
|
|
|
1345
1360
|
|
|
1346
1361
|
--
|
|
1347
1362
|
|
|
1348
|
-
##### [initialize](https://github.com/appium/ruby_lib/blob/
|
|
1363
|
+
##### [initialize](https://github.com/appium/ruby_lib/blob/35b1e25c46d9518101bec2410f6dcbc6b2c09ad6/lib/appium_lib/device/touch_actions.rb#L37)
|
|
1349
1364
|
|
|
1350
1365
|
> def initialize
|
|
1351
1366
|
|
|
@@ -1357,7 +1372,7 @@ __Returns:__
|
|
|
1357
1372
|
|
|
1358
1373
|
--
|
|
1359
1374
|
|
|
1360
|
-
##### [move_to](https://github.com/appium/ruby_lib/blob/
|
|
1375
|
+
##### [move_to](https://github.com/appium/ruby_lib/blob/35b1e25c46d9518101bec2410f6dcbc6b2c09ad6/lib/appium_lib/device/touch_actions.rb#L48)
|
|
1361
1376
|
|
|
1362
1377
|
> def move_to(opts)
|
|
1363
1378
|
|
|
@@ -1371,7 +1386,7 @@ __Parameters:__
|
|
|
1371
1386
|
|
|
1372
1387
|
--
|
|
1373
1388
|
|
|
1374
|
-
##### [long_press](https://github.com/appium/ruby_lib/blob/
|
|
1389
|
+
##### [long_press](https://github.com/appium/ruby_lib/blob/35b1e25c46d9518101bec2410f6dcbc6b2c09ad6/lib/appium_lib/device/touch_actions.rb#L62)
|
|
1375
1390
|
|
|
1376
1391
|
> def long_press(opts)
|
|
1377
1392
|
|
|
@@ -1392,7 +1407,7 @@ __Parameters:__
|
|
|
1392
1407
|
|
|
1393
1408
|
--
|
|
1394
1409
|
|
|
1395
|
-
##### [press](https://github.com/appium/ruby_lib/blob/
|
|
1410
|
+
##### [press](https://github.com/appium/ruby_lib/blob/35b1e25c46d9518101bec2410f6dcbc6b2c09ad6/lib/appium_lib/device/touch_actions.rb#L74)
|
|
1396
1411
|
|
|
1397
1412
|
> def press(opts)
|
|
1398
1413
|
|
|
@@ -1405,7 +1420,7 @@ __Parameters:__
|
|
|
1405
1420
|
|
|
1406
1421
|
--
|
|
1407
1422
|
|
|
1408
|
-
##### [release](https://github.com/appium/ruby_lib/blob/
|
|
1423
|
+
##### [release](https://github.com/appium/ruby_lib/blob/35b1e25c46d9518101bec2410f6dcbc6b2c09ad6/lib/appium_lib/device/touch_actions.rb#L85)
|
|
1409
1424
|
|
|
1410
1425
|
> def release(opts = nil)
|
|
1411
1426
|
|
|
@@ -1417,7 +1432,7 @@ __Parameters:__
|
|
|
1417
1432
|
|
|
1418
1433
|
--
|
|
1419
1434
|
|
|
1420
|
-
##### [tap](https://github.com/appium/ruby_lib/blob/
|
|
1435
|
+
##### [tap](https://github.com/appium/ruby_lib/blob/35b1e25c46d9518101bec2410f6dcbc6b2c09ad6/lib/appium_lib/device/touch_actions.rb#L97)
|
|
1421
1436
|
|
|
1422
1437
|
> def tap(opts)
|
|
1423
1438
|
|
|
@@ -1430,7 +1445,7 @@ __Parameters:__
|
|
|
1430
1445
|
|
|
1431
1446
|
--
|
|
1432
1447
|
|
|
1433
|
-
##### [double_tap](https://github.com/appium/ruby_lib/blob/
|
|
1448
|
+
##### [double_tap](https://github.com/appium/ruby_lib/blob/35b1e25c46d9518101bec2410f6dcbc6b2c09ad6/lib/appium_lib/device/touch_actions.rb#L110)
|
|
1434
1449
|
|
|
1435
1450
|
> def double_tap(opts)
|
|
1436
1451
|
|
|
@@ -1442,7 +1457,7 @@ __Parameters:__
|
|
|
1442
1457
|
|
|
1443
1458
|
--
|
|
1444
1459
|
|
|
1445
|
-
##### [two_finger_tap](https://github.com/appium/ruby_lib/blob/
|
|
1460
|
+
##### [two_finger_tap](https://github.com/appium/ruby_lib/blob/35b1e25c46d9518101bec2410f6dcbc6b2c09ad6/lib/appium_lib/device/touch_actions.rb#L121)
|
|
1446
1461
|
|
|
1447
1462
|
> def two_finger_tap(opts)
|
|
1448
1463
|
|
|
@@ -1454,7 +1469,7 @@ __Parameters:__
|
|
|
1454
1469
|
|
|
1455
1470
|
--
|
|
1456
1471
|
|
|
1457
|
-
##### [wait](https://github.com/appium/ruby_lib/blob/
|
|
1472
|
+
##### [wait](https://github.com/appium/ruby_lib/blob/35b1e25c46d9518101bec2410f6dcbc6b2c09ad6/lib/appium_lib/device/touch_actions.rb#L129)
|
|
1458
1473
|
|
|
1459
1474
|
> def wait(milliseconds)
|
|
1460
1475
|
|
|
@@ -1466,7 +1481,7 @@ __Parameters:__
|
|
|
1466
1481
|
|
|
1467
1482
|
--
|
|
1468
1483
|
|
|
1469
|
-
##### [swipe](https://github.com/appium/ruby_lib/blob/
|
|
1484
|
+
##### [swipe](https://github.com/appium/ruby_lib/blob/35b1e25c46d9518101bec2410f6dcbc6b2c09ad6/lib/appium_lib/device/touch_actions.rb#L152)
|
|
1470
1485
|
|
|
1471
1486
|
> def swipe(opts, ele = nil)
|
|
1472
1487
|
|
|
@@ -1487,7 +1502,7 @@ __Parameters:__
|
|
|
1487
1502
|
|
|
1488
1503
|
--
|
|
1489
1504
|
|
|
1490
|
-
##### [perform](https://github.com/appium/ruby_lib/blob/
|
|
1505
|
+
##### [perform](https://github.com/appium/ruby_lib/blob/35b1e25c46d9518101bec2410f6dcbc6b2c09ad6/lib/appium_lib/device/touch_actions.rb#L177)
|
|
1491
1506
|
|
|
1492
1507
|
> def perform
|
|
1493
1508
|
|
|
@@ -1495,7 +1510,7 @@ Ask the driver to perform all actions in this action chain.
|
|
|
1495
1510
|
|
|
1496
1511
|
--
|
|
1497
1512
|
|
|
1498
|
-
##### [cancel](https://github.com/appium/ruby_lib/blob/
|
|
1513
|
+
##### [cancel](https://github.com/appium/ruby_lib/blob/35b1e25c46d9518101bec2410f6dcbc6b2c09ad6/lib/appium_lib/device/touch_actions.rb#L184)
|
|
1499
1514
|
|
|
1500
1515
|
> def cancel
|
|
1501
1516
|
|
|
@@ -1503,7 +1518,7 @@ Does nothing, currently.
|
|
|
1503
1518
|
|
|
1504
1519
|
--
|
|
1505
1520
|
|
|
1506
|
-
##### [swipe_coordinates](https://github.com/appium/ruby_lib/blob/
|
|
1521
|
+
##### [swipe_coordinates](https://github.com/appium/ruby_lib/blob/35b1e25c46d9518101bec2410f6dcbc6b2c09ad6/lib/appium_lib/device/touch_actions.rb#L190)
|
|
1507
1522
|
|
|
1508
1523
|
> def swipe_coordinates(end_x: nil, end_y: nil, offset_x: nil, offset_y: nil)
|
|
1509
1524
|
|
|
@@ -1511,7 +1526,7 @@ Does nothing, currently.
|
|
|
1511
1526
|
|
|
1512
1527
|
--
|
|
1513
1528
|
|
|
1514
|
-
##### [chain_method](https://github.com/appium/ruby_lib/blob/
|
|
1529
|
+
##### [chain_method](https://github.com/appium/ruby_lib/blob/35b1e25c46d9518101bec2410f6dcbc6b2c09ad6/lib/appium_lib/device/touch_actions.rb#L208)
|
|
1515
1530
|
|
|
1516
1531
|
> def chain_method(method, args = nil)
|
|
1517
1532
|
|
|
@@ -1519,7 +1534,7 @@ Does nothing, currently.
|
|
|
1519
1534
|
|
|
1520
1535
|
--
|
|
1521
1536
|
|
|
1522
|
-
##### [args_with_ele_ref](https://github.com/appium/ruby_lib/blob/
|
|
1537
|
+
##### [args_with_ele_ref](https://github.com/appium/ruby_lib/blob/35b1e25c46d9518101bec2410f6dcbc6b2c09ad6/lib/appium_lib/device/touch_actions.rb#L214)
|
|
1523
1538
|
|
|
1524
1539
|
> def args_with_ele_ref(args)
|
|
1525
1540
|
|
|
@@ -1527,7 +1542,7 @@ Does nothing, currently.
|
|
|
1527
1542
|
|
|
1528
1543
|
--
|
|
1529
1544
|
|
|
1530
|
-
##### [_generic_wait](https://github.com/appium/ruby_lib/blob/
|
|
1545
|
+
##### [_generic_wait](https://github.com/appium/ruby_lib/blob/35b1e25c46d9518101bec2410f6dcbc6b2c09ad6/lib/appium_lib/common/wait.rb#L9)
|
|
1531
1546
|
|
|
1532
1547
|
> def _generic_wait(opts = {})
|
|
1533
1548
|
|
|
@@ -1536,7 +1551,7 @@ https://github.com/SeleniumHQ/selenium/blob/cf501dda3f0ed12233de51ce8170c0e8090f
|
|
|
1536
1551
|
|
|
1537
1552
|
--
|
|
1538
1553
|
|
|
1539
|
-
##### [_process_wait_opts](https://github.com/appium/ruby_lib/blob/
|
|
1554
|
+
##### [_process_wait_opts](https://github.com/appium/ruby_lib/blob/35b1e25c46d9518101bec2410f6dcbc6b2c09ad6/lib/appium_lib/common/wait.rb#L48)
|
|
1540
1555
|
|
|
1541
1556
|
> def _process_wait_opts(opts)
|
|
1542
1557
|
|
|
@@ -1544,7 +1559,7 @@ process opts before calling _generic_wait
|
|
|
1544
1559
|
|
|
1545
1560
|
--
|
|
1546
1561
|
|
|
1547
|
-
##### [wait_true](https://github.com/appium/ruby_lib/blob/
|
|
1562
|
+
##### [wait_true](https://github.com/appium/ruby_lib/blob/35b1e25c46d9518101bec2410f6dcbc6b2c09ad6/lib/appium_lib/common/wait.rb#L69)
|
|
1548
1563
|
|
|
1549
1564
|
> def wait_true(opts = {}, &block)
|
|
1550
1565
|
|
|
@@ -1564,7 +1579,7 @@ __Parameters:__
|
|
|
1564
1579
|
|
|
1565
1580
|
--
|
|
1566
1581
|
|
|
1567
|
-
##### [wait](https://github.com/appium/ruby_lib/blob/
|
|
1582
|
+
##### [wait](https://github.com/appium/ruby_lib/blob/35b1e25c46d9518101bec2410f6dcbc6b2c09ad6/lib/appium_lib/common/wait.rb#L87)
|
|
1568
1583
|
|
|
1569
1584
|
> def wait(opts = {}, &block)
|
|
1570
1585
|
|
|
@@ -1582,7 +1597,7 @@ __Parameters:__
|
|
|
1582
1597
|
|
|
1583
1598
|
--
|
|
1584
1599
|
|
|
1585
|
-
##### [ignore](https://github.com/appium/ruby_lib/blob/
|
|
1600
|
+
##### [ignore](https://github.com/appium/ruby_lib/blob/35b1e25c46d9518101bec2410f6dcbc6b2c09ad6/lib/appium_lib/common/helper.rb#L24)
|
|
1586
1601
|
|
|
1587
1602
|
> def ignore
|
|
1588
1603
|
|
|
@@ -1590,7 +1605,7 @@ Return yield and ignore any exceptions.
|
|
|
1590
1605
|
|
|
1591
1606
|
--
|
|
1592
1607
|
|
|
1593
|
-
##### [back](https://github.com/appium/ruby_lib/blob/
|
|
1608
|
+
##### [back](https://github.com/appium/ruby_lib/blob/35b1e25c46d9518101bec2410f6dcbc6b2c09ad6/lib/appium_lib/common/helper.rb#L31)
|
|
1594
1609
|
|
|
1595
1610
|
> def back
|
|
1596
1611
|
|
|
@@ -1602,7 +1617,7 @@ __Returns:__
|
|
|
1602
1617
|
|
|
1603
1618
|
--
|
|
1604
1619
|
|
|
1605
|
-
##### [session_id](https://github.com/appium/ruby_lib/blob/
|
|
1620
|
+
##### [session_id](https://github.com/appium/ruby_lib/blob/35b1e25c46d9518101bec2410f6dcbc6b2c09ad6/lib/appium_lib/common/helper.rb#L36)
|
|
1606
1621
|
|
|
1607
1622
|
> def session_id
|
|
1608
1623
|
|
|
@@ -1610,7 +1625,7 @@ For Sauce Labs reporting. Returns the current session id.
|
|
|
1610
1625
|
|
|
1611
1626
|
--
|
|
1612
1627
|
|
|
1613
|
-
##### [xpath](https://github.com/appium/ruby_lib/blob/
|
|
1628
|
+
##### [xpath](https://github.com/appium/ruby_lib/blob/35b1e25c46d9518101bec2410f6dcbc6b2c09ad6/lib/appium_lib/common/helper.rb#L44)
|
|
1614
1629
|
|
|
1615
1630
|
> def xpath(xpath_str)
|
|
1616
1631
|
|
|
@@ -1626,7 +1641,7 @@ __Returns:__
|
|
|
1626
1641
|
|
|
1627
1642
|
--
|
|
1628
1643
|
|
|
1629
|
-
##### [xpaths](https://github.com/appium/ruby_lib/blob/
|
|
1644
|
+
##### [xpaths](https://github.com/appium/ruby_lib/blob/35b1e25c46d9518101bec2410f6dcbc6b2c09ad6/lib/appium_lib/common/helper.rb#L52)
|
|
1630
1645
|
|
|
1631
1646
|
> def xpaths(xpath_str)
|
|
1632
1647
|
|
|
@@ -1642,7 +1657,7 @@ __Returns:__
|
|
|
1642
1657
|
|
|
1643
1658
|
--
|
|
1644
1659
|
|
|
1645
|
-
##### [_print_source](https://github.com/appium/ruby_lib/blob/
|
|
1660
|
+
##### [_print_source](https://github.com/appium/ruby_lib/blob/35b1e25c46d9518101bec2410f6dcbc6b2c09ad6/lib/appium_lib/common/helper.rb#L56)
|
|
1646
1661
|
|
|
1647
1662
|
> def _print_source(source)
|
|
1648
1663
|
|
|
@@ -1650,7 +1665,7 @@ __Returns:__
|
|
|
1650
1665
|
|
|
1651
1666
|
--
|
|
1652
1667
|
|
|
1653
|
-
##### [result](https://github.com/appium/ruby_lib/blob/
|
|
1668
|
+
##### [result](https://github.com/appium/ruby_lib/blob/35b1e25c46d9518101bec2410f6dcbc6b2c09ad6/lib/appium_lib/common/helper.rb#L69)
|
|
1654
1669
|
|
|
1655
1670
|
> def result
|
|
1656
1671
|
|
|
@@ -1658,7 +1673,7 @@ Returns the value of attribute result
|
|
|
1658
1673
|
|
|
1659
1674
|
--
|
|
1660
1675
|
|
|
1661
|
-
##### [initialize](https://github.com/appium/ruby_lib/blob/
|
|
1676
|
+
##### [initialize](https://github.com/appium/ruby_lib/blob/35b1e25c46d9518101bec2410f6dcbc6b2c09ad6/lib/appium_lib/common/helper.rb#L71)
|
|
1662
1677
|
|
|
1663
1678
|
> def initialize
|
|
1664
1679
|
|
|
@@ -1670,7 +1685,7 @@ __Returns:__
|
|
|
1670
1685
|
|
|
1671
1686
|
--
|
|
1672
1687
|
|
|
1673
|
-
##### [reset](https://github.com/appium/ruby_lib/blob/
|
|
1688
|
+
##### [reset](https://github.com/appium/ruby_lib/blob/35b1e25c46d9518101bec2410f6dcbc6b2c09ad6/lib/appium_lib/common/helper.rb#L75)
|
|
1674
1689
|
|
|
1675
1690
|
> def reset
|
|
1676
1691
|
|
|
@@ -1678,7 +1693,7 @@ __Returns:__
|
|
|
1678
1693
|
|
|
1679
1694
|
--
|
|
1680
1695
|
|
|
1681
|
-
##### [start_element](https://github.com/appium/ruby_lib/blob/
|
|
1696
|
+
##### [start_element](https://github.com/appium/ruby_lib/blob/35b1e25c46d9518101bec2410f6dcbc6b2c09ad6/lib/appium_lib/common/helper.rb#L80)
|
|
1682
1697
|
|
|
1683
1698
|
> def start_element(name, attrs = [])
|
|
1684
1699
|
|
|
@@ -1686,7 +1701,7 @@ http://nokogiri.org/Nokogiri/XML/SAX/Document.html
|
|
|
1686
1701
|
|
|
1687
1702
|
--
|
|
1688
1703
|
|
|
1689
|
-
##### [formatted_result](https://github.com/appium/ruby_lib/blob/
|
|
1704
|
+
##### [formatted_result](https://github.com/appium/ruby_lib/blob/35b1e25c46d9518101bec2410f6dcbc6b2c09ad6/lib/appium_lib/common/helper.rb#L86)
|
|
1690
1705
|
|
|
1691
1706
|
> def formatted_result
|
|
1692
1707
|
|
|
@@ -1694,7 +1709,7 @@ http://nokogiri.org/Nokogiri/XML/SAX/Document.html
|
|
|
1694
1709
|
|
|
1695
1710
|
--
|
|
1696
1711
|
|
|
1697
|
-
##### [get_page_class](https://github.com/appium/ruby_lib/blob/
|
|
1712
|
+
##### [get_page_class](https://github.com/appium/ruby_lib/blob/35b1e25c46d9518101bec2410f6dcbc6b2c09ad6/lib/appium_lib/common/helper.rb#L97)
|
|
1698
1713
|
|
|
1699
1714
|
> def get_page_class
|
|
1700
1715
|
|
|
@@ -1702,7 +1717,7 @@ Returns a string of class counts of visible elements.
|
|
|
1702
1717
|
|
|
1703
1718
|
--
|
|
1704
1719
|
|
|
1705
|
-
##### [page_class](https://github.com/appium/ruby_lib/blob/
|
|
1720
|
+
##### [page_class](https://github.com/appium/ruby_lib/blob/35b1e25c46d9518101bec2410f6dcbc6b2c09ad6/lib/appium_lib/common/helper.rb#L108)
|
|
1706
1721
|
|
|
1707
1722
|
> def page_class
|
|
1708
1723
|
|
|
@@ -1711,7 +1726,7 @@ Useful for appium_console.
|
|
|
1711
1726
|
|
|
1712
1727
|
--
|
|
1713
1728
|
|
|
1714
|
-
##### [px_to_window_rel](https://github.com/appium/ruby_lib/blob/
|
|
1729
|
+
##### [px_to_window_rel](https://github.com/appium/ruby_lib/blob/35b1e25c46d9518101bec2410f6dcbc6b2c09ad6/lib/appium_lib/common/helper.rb#L118)
|
|
1715
1730
|
|
|
1716
1731
|
> def px_to_window_rel(opts = {})
|
|
1717
1732
|
|
|
@@ -1723,7 +1738,7 @@ px_to_window_rel x: 50, y: 150
|
|
|
1723
1738
|
|
|
1724
1739
|
--
|
|
1725
1740
|
|
|
1726
|
-
##### [xml_keys](https://github.com/appium/ruby_lib/blob/
|
|
1741
|
+
##### [xml_keys](https://github.com/appium/ruby_lib/blob/35b1e25c46d9518101bec2410f6dcbc6b2c09ad6/lib/appium_lib/common/helper.rb#L137)
|
|
1727
1742
|
|
|
1728
1743
|
> def xml_keys(target)
|
|
1729
1744
|
|
|
@@ -1739,7 +1754,7 @@ __Returns:__
|
|
|
1739
1754
|
|
|
1740
1755
|
--
|
|
1741
1756
|
|
|
1742
|
-
##### [xml_values](https://github.com/appium/ruby_lib/blob/
|
|
1757
|
+
##### [xml_values](https://github.com/appium/ruby_lib/blob/35b1e25c46d9518101bec2410f6dcbc6b2c09ad6/lib/appium_lib/common/helper.rb#L145)
|
|
1743
1758
|
|
|
1744
1759
|
> def xml_values(target)
|
|
1745
1760
|
|
|
@@ -1755,7 +1770,7 @@ __Returns:__
|
|
|
1755
1770
|
|
|
1756
1771
|
--
|
|
1757
1772
|
|
|
1758
|
-
##### [resolve_id](https://github.com/appium/ruby_lib/blob/
|
|
1773
|
+
##### [resolve_id](https://github.com/appium/ruby_lib/blob/35b1e25c46d9518101bec2410f6dcbc6b2c09ad6/lib/appium_lib/common/helper.rb#L153)
|
|
1759
1774
|
|
|
1760
1775
|
> def resolve_id(id)
|
|
1761
1776
|
|
|
@@ -1771,7 +1786,7 @@ __Returns:__
|
|
|
1771
1786
|
|
|
1772
1787
|
--
|
|
1773
1788
|
|
|
1774
|
-
##### [filter](https://github.com/appium/ruby_lib/blob/
|
|
1789
|
+
##### [filter](https://github.com/appium/ruby_lib/blob/35b1e25c46d9518101bec2410f6dcbc6b2c09ad6/lib/appium_lib/common/helper.rb#L159)
|
|
1775
1790
|
|
|
1776
1791
|
> def filter
|
|
1777
1792
|
|
|
@@ -1779,7 +1794,7 @@ Returns the value of attribute filter
|
|
|
1779
1794
|
|
|
1780
1795
|
--
|
|
1781
1796
|
|
|
1782
|
-
##### [filter=](https://github.com/appium/ruby_lib/blob/
|
|
1797
|
+
##### [filter=](https://github.com/appium/ruby_lib/blob/35b1e25c46d9518101bec2410f6dcbc6b2c09ad6/lib/appium_lib/common/helper.rb#L162)
|
|
1783
1798
|
|
|
1784
1799
|
> def filter=(value)
|
|
1785
1800
|
|
|
@@ -1787,7 +1802,7 @@ convert to string to support symbols
|
|
|
1787
1802
|
|
|
1788
1803
|
--
|
|
1789
1804
|
|
|
1790
|
-
##### [initialize](https://github.com/appium/ruby_lib/blob/
|
|
1805
|
+
##### [initialize](https://github.com/appium/ruby_lib/blob/35b1e25c46d9518101bec2410f6dcbc6b2c09ad6/lib/appium_lib/common/helper.rb#L168)
|
|
1791
1806
|
|
|
1792
1807
|
> def initialize
|
|
1793
1808
|
|
|
@@ -1799,7 +1814,7 @@ __Returns:__
|
|
|
1799
1814
|
|
|
1800
1815
|
--
|
|
1801
1816
|
|
|
1802
|
-
##### [reset](https://github.com/appium/ruby_lib/blob/
|
|
1817
|
+
##### [reset](https://github.com/appium/ruby_lib/blob/35b1e25c46d9518101bec2410f6dcbc6b2c09ad6/lib/appium_lib/common/helper.rb#L173)
|
|
1803
1818
|
|
|
1804
1819
|
> def reset
|
|
1805
1820
|
|
|
@@ -1807,7 +1822,7 @@ __Returns:__
|
|
|
1807
1822
|
|
|
1808
1823
|
--
|
|
1809
1824
|
|
|
1810
|
-
##### [result](https://github.com/appium/ruby_lib/blob/
|
|
1825
|
+
##### [result](https://github.com/appium/ruby_lib/blob/35b1e25c46d9518101bec2410f6dcbc6b2c09ad6/lib/appium_lib/common/helper.rb#L179)
|
|
1811
1826
|
|
|
1812
1827
|
> def result
|
|
1813
1828
|
|
|
@@ -1815,7 +1830,7 @@ __Returns:__
|
|
|
1815
1830
|
|
|
1816
1831
|
--
|
|
1817
1832
|
|
|
1818
|
-
##### [start_element](https://github.com/appium/ruby_lib/blob/
|
|
1833
|
+
##### [start_element](https://github.com/appium/ruby_lib/blob/35b1e25c46d9518101bec2410f6dcbc6b2c09ad6/lib/appium_lib/common/helper.rb#L195)
|
|
1819
1834
|
|
|
1820
1835
|
> def start_element(name, attrs = [])
|
|
1821
1836
|
|
|
@@ -1823,7 +1838,7 @@ __Returns:__
|
|
|
1823
1838
|
|
|
1824
1839
|
--
|
|
1825
1840
|
|
|
1826
|
-
##### [end_element](https://github.com/appium/ruby_lib/blob/
|
|
1841
|
+
##### [end_element](https://github.com/appium/ruby_lib/blob/35b1e25c46d9518101bec2410f6dcbc6b2c09ad6/lib/appium_lib/common/helper.rb#L204)
|
|
1827
1842
|
|
|
1828
1843
|
> def end_element(name)
|
|
1829
1844
|
|
|
@@ -1831,7 +1846,7 @@ __Returns:__
|
|
|
1831
1846
|
|
|
1832
1847
|
--
|
|
1833
1848
|
|
|
1834
|
-
##### [characters](https://github.com/appium/ruby_lib/blob/
|
|
1849
|
+
##### [characters](https://github.com/appium/ruby_lib/blob/35b1e25c46d9518101bec2410f6dcbc6b2c09ad6/lib/appium_lib/common/helper.rb#L210)
|
|
1835
1850
|
|
|
1836
1851
|
> def characters(chars)
|
|
1837
1852
|
|
|
@@ -1839,7 +1854,7 @@ __Returns:__
|
|
|
1839
1854
|
|
|
1840
1855
|
--
|
|
1841
1856
|
|
|
1842
|
-
##### [_no_such_element](https://github.com/appium/ruby_lib/blob/
|
|
1857
|
+
##### [_no_such_element](https://github.com/appium/ruby_lib/blob/35b1e25c46d9518101bec2410f6dcbc6b2c09ad6/lib/appium_lib/common/helper.rb#L217)
|
|
1843
1858
|
|
|
1844
1859
|
> def _no_such_element
|
|
1845
1860
|
|
|
@@ -1847,7 +1862,7 @@ __Returns:__
|
|
|
1847
1862
|
|
|
1848
1863
|
--
|
|
1849
1864
|
|
|
1850
|
-
##### [COMMAND_NO_ARG](https://github.com/appium/ruby_lib/blob/
|
|
1865
|
+
##### [COMMAND_NO_ARG](https://github.com/appium/ruby_lib/blob/35b1e25c46d9518101bec2410f6dcbc6b2c09ad6/lib/appium_lib/common/command.rb#L4)
|
|
1851
1866
|
|
|
1852
1867
|
> COMMAND_NO_ARG = {
|
|
1853
1868
|
|
|
@@ -1855,7 +1870,7 @@ __Returns:__
|
|
|
1855
1870
|
|
|
1856
1871
|
--
|
|
1857
1872
|
|
|
1858
|
-
##### [COMMAND](https://github.com/appium/ruby_lib/blob/
|
|
1873
|
+
##### [COMMAND](https://github.com/appium/ruby_lib/blob/35b1e25c46d9518101bec2410f6dcbc6b2c09ad6/lib/appium_lib/common/command.rb#L27)
|
|
1859
1874
|
|
|
1860
1875
|
> COMMAND = {
|
|
1861
1876
|
|
|
@@ -1863,7 +1878,7 @@ __Returns:__
|
|
|
1863
1878
|
|
|
1864
1879
|
--
|
|
1865
1880
|
|
|
1866
|
-
##### [window_size](https://github.com/appium/ruby_lib/blob/
|
|
1881
|
+
##### [window_size](https://github.com/appium/ruby_lib/blob/35b1e25c46d9518101bec2410f6dcbc6b2c09ad6/lib/appium_lib/common/element/window.rb#L5)
|
|
1867
1882
|
|
|
1868
1883
|
> def window_size
|
|
1869
1884
|
|
|
@@ -1871,7 +1886,7 @@ Get the window's size
|
|
|
1871
1886
|
|
|
1872
1887
|
--
|
|
1873
1888
|
|
|
1874
|
-
##### [FINDERS](https://github.com/appium/ruby_lib/blob/
|
|
1889
|
+
##### [FINDERS](https://github.com/appium/ruby_lib/blob/35b1e25c46d9518101bec2410f6dcbc6b2c09ad6/lib/appium_lib/common/search_context.rb#L5)
|
|
1875
1890
|
|
|
1876
1891
|
> FINDERS = {
|
|
1877
1892
|
|
|
@@ -1879,7 +1894,7 @@ rubocop:disable Style/MutableConstant
|
|
|
1879
1894
|
|
|
1880
1895
|
--
|
|
1881
1896
|
|
|
1882
|
-
##### [filter](https://github.com/appium/ruby_lib/blob/
|
|
1897
|
+
##### [filter](https://github.com/appium/ruby_lib/blob/35b1e25c46d9518101bec2410f6dcbc6b2c09ad6/lib/appium_lib/ios/helper.rb#L4) ios
|
|
1883
1898
|
|
|
1884
1899
|
> def filter
|
|
1885
1900
|
|
|
@@ -1887,7 +1902,7 @@ Returns the value of attribute filter
|
|
|
1887
1902
|
|
|
1888
1903
|
--
|
|
1889
1904
|
|
|
1890
|
-
##### [filter=](https://github.com/appium/ruby_lib/blob/
|
|
1905
|
+
##### [filter=](https://github.com/appium/ruby_lib/blob/35b1e25c46d9518101bec2410f6dcbc6b2c09ad6/lib/appium_lib/ios/helper.rb#L4) ios
|
|
1891
1906
|
|
|
1892
1907
|
> def filter=(value)
|
|
1893
1908
|
|
|
@@ -1899,7 +1914,7 @@ __Parameters:__
|
|
|
1899
1914
|
|
|
1900
1915
|
--
|
|
1901
1916
|
|
|
1902
|
-
##### [start_element](https://github.com/appium/ruby_lib/blob/
|
|
1917
|
+
##### [start_element](https://github.com/appium/ruby_lib/blob/35b1e25c46d9518101bec2410f6dcbc6b2c09ad6/lib/appium_lib/ios/helper.rb#L6) ios
|
|
1903
1918
|
|
|
1904
1919
|
> def start_element(type, attrs = [])
|
|
1905
1920
|
|
|
@@ -1907,7 +1922,7 @@ __Parameters:__
|
|
|
1907
1922
|
|
|
1908
1923
|
--
|
|
1909
1924
|
|
|
1910
|
-
##### [_print_attr](https://github.com/appium/ruby_lib/blob/
|
|
1925
|
+
##### [_print_attr](https://github.com/appium/ruby_lib/blob/35b1e25c46d9518101bec2410f6dcbc6b2c09ad6/lib/appium_lib/ios/helper.rb#L15) ios
|
|
1911
1926
|
|
|
1912
1927
|
> def _print_attr(type, name, label, value, hint)
|
|
1913
1928
|
|
|
@@ -1915,7 +1930,7 @@ __Parameters:__
|
|
|
1915
1930
|
|
|
1916
1931
|
--
|
|
1917
1932
|
|
|
1918
|
-
##### [ios_password](https://github.com/appium/ruby_lib/blob/
|
|
1933
|
+
##### [ios_password](https://github.com/appium/ruby_lib/blob/35b1e25c46d9518101bec2410f6dcbc6b2c09ad6/lib/appium_lib/ios/helper.rb#L41) ios
|
|
1919
1934
|
|
|
1920
1935
|
> def ios_password(length = 1)
|
|
1921
1936
|
|
|
@@ -1933,7 +1948,7 @@ __Returns:__
|
|
|
1933
1948
|
|
|
1934
1949
|
--
|
|
1935
1950
|
|
|
1936
|
-
##### [get_page](https://github.com/appium/ruby_lib/blob/
|
|
1951
|
+
##### [get_page](https://github.com/appium/ruby_lib/blob/35b1e25c46d9518101bec2410f6dcbc6b2c09ad6/lib/appium_lib/ios/helper.rb#L53) ios
|
|
1937
1952
|
|
|
1938
1953
|
> def get_page(element = source_window(0), class_name = nil)
|
|
1939
1954
|
|
|
@@ -1954,7 +1969,7 @@ __Returns:__
|
|
|
1954
1969
|
|
|
1955
1970
|
--
|
|
1956
1971
|
|
|
1957
|
-
##### [page](https://github.com/appium/ruby_lib/blob/
|
|
1972
|
+
##### [page](https://github.com/appium/ruby_lib/blob/35b1e25c46d9518101bec2410f6dcbc6b2c09ad6/lib/appium_lib/ios/helper.rb#L139) ios
|
|
1958
1973
|
|
|
1959
1974
|
> def page(opts = {})
|
|
1960
1975
|
|
|
@@ -1980,7 +1995,7 @@ __Returns:__
|
|
|
1980
1995
|
|
|
1981
1996
|
--
|
|
1982
1997
|
|
|
1983
|
-
##### [source_window](https://github.com/appium/ruby_lib/blob/
|
|
1998
|
+
##### [source_window](https://github.com/appium/ruby_lib/blob/35b1e25c46d9518101bec2410f6dcbc6b2c09ad6/lib/appium_lib/ios/helper.rb#L170) ios
|
|
1984
1999
|
|
|
1985
2000
|
> def source_window(_window_number = 0)
|
|
1986
2001
|
|
|
@@ -1996,7 +2011,7 @@ __Returns:__
|
|
|
1996
2011
|
|
|
1997
2012
|
--
|
|
1998
2013
|
|
|
1999
|
-
##### [page_window](https://github.com/appium/ruby_lib/blob/
|
|
2014
|
+
##### [page_window](https://github.com/appium/ruby_lib/blob/35b1e25c46d9518101bec2410f6dcbc6b2c09ad6/lib/appium_lib/ios/helper.rb#L185) ios
|
|
2000
2015
|
|
|
2001
2016
|
> def page_window(window_number = 0)
|
|
2002
2017
|
|
|
@@ -2014,7 +2029,7 @@ __Returns:__
|
|
|
2014
2029
|
|
|
2015
2030
|
--
|
|
2016
2031
|
|
|
2017
|
-
##### [id](https://github.com/appium/ruby_lib/blob/
|
|
2032
|
+
##### [id](https://github.com/appium/ruby_lib/blob/35b1e25c46d9518101bec2410f6dcbc6b2c09ad6/lib/appium_lib/ios/helper.rb#L193) ios
|
|
2018
2033
|
|
|
2019
2034
|
> def id(id)
|
|
2020
2035
|
|
|
@@ -2030,7 +2045,7 @@ __Returns:__
|
|
|
2030
2045
|
|
|
2031
2046
|
--
|
|
2032
2047
|
|
|
2033
|
-
##### [ios_version](https://github.com/appium/ruby_lib/blob/
|
|
2048
|
+
##### [ios_version](https://github.com/appium/ruby_lib/blob/35b1e25c46d9518101bec2410f6dcbc6b2c09ad6/lib/appium_lib/ios/helper.rb#L199) ios
|
|
2034
2049
|
|
|
2035
2050
|
> def ios_version
|
|
2036
2051
|
|
|
@@ -2042,7 +2057,7 @@ __Returns:__
|
|
|
2042
2057
|
|
|
2043
2058
|
--
|
|
2044
2059
|
|
|
2045
|
-
##### [ele_index](https://github.com/appium/ruby_lib/blob/
|
|
2060
|
+
##### [ele_index](https://github.com/appium/ruby_lib/blob/35b1e25c46d9518101bec2410f6dcbc6b2c09ad6/lib/appium_lib/ios/helper.rb#L212) ios
|
|
2046
2061
|
|
|
2047
2062
|
> def ele_index(class_name, index)
|
|
2048
2063
|
|
|
@@ -2060,7 +2075,7 @@ __Returns:__
|
|
|
2060
2075
|
|
|
2061
2076
|
--
|
|
2062
2077
|
|
|
2063
|
-
##### [find_ele_by_attr](https://github.com/appium/ruby_lib/blob/
|
|
2078
|
+
##### [find_ele_by_attr](https://github.com/appium/ruby_lib/blob/35b1e25c46d9518101bec2410f6dcbc6b2c09ad6/lib/appium_lib/ios/helper.rb#L248) ios
|
|
2064
2079
|
|
|
2065
2080
|
> def find_ele_by_attr(class_name, attr, value)
|
|
2066
2081
|
|
|
@@ -2082,7 +2097,7 @@ __Returns:__
|
|
|
2082
2097
|
|
|
2083
2098
|
--
|
|
2084
2099
|
|
|
2085
|
-
##### [find_eles_by_attr](https://github.com/appium/ruby_lib/blob/
|
|
2100
|
+
##### [find_eles_by_attr](https://github.com/appium/ruby_lib/blob/35b1e25c46d9518101bec2410f6dcbc6b2c09ad6/lib/appium_lib/ios/helper.rb#L259) ios
|
|
2086
2101
|
|
|
2087
2102
|
> def find_eles_by_attr(class_name, attr, value)
|
|
2088
2103
|
|
|
@@ -2104,7 +2119,7 @@ __Returns:__
|
|
|
2104
2119
|
|
|
2105
2120
|
--
|
|
2106
2121
|
|
|
2107
|
-
##### [find_ele_by_predicate](https://github.com/appium/ruby_lib/blob/
|
|
2122
|
+
##### [find_ele_by_predicate](https://github.com/appium/ruby_lib/blob/35b1e25c46d9518101bec2410f6dcbc6b2c09ad6/lib/appium_lib/ios/helper.rb#L280) ios
|
|
2108
2123
|
|
|
2109
2124
|
> def find_ele_by_predicate(class_name: '*', value:)
|
|
2110
2125
|
|
|
@@ -2121,7 +2136,7 @@ __Returns:__
|
|
|
2121
2136
|
|
|
2122
2137
|
--
|
|
2123
2138
|
|
|
2124
|
-
##### [find_eles_by_predicate](https://github.com/appium/ruby_lib/blob/
|
|
2139
|
+
##### [find_eles_by_predicate](https://github.com/appium/ruby_lib/blob/35b1e25c46d9518101bec2410f6dcbc6b2c09ad6/lib/appium_lib/ios/helper.rb#L291) ios
|
|
2125
2140
|
|
|
2126
2141
|
> def find_eles_by_predicate(class_name: '*', value:)
|
|
2127
2142
|
|
|
@@ -2140,7 +2155,7 @@ __Returns:__
|
|
|
2140
2155
|
|
|
2141
2156
|
--
|
|
2142
2157
|
|
|
2143
|
-
##### [find_ele_by_attr_include](https://github.com/appium/ruby_lib/blob/
|
|
2158
|
+
##### [find_ele_by_attr_include](https://github.com/appium/ruby_lib/blob/35b1e25c46d9518101bec2410f6dcbc6b2c09ad6/lib/appium_lib/ios/helper.rb#L307) ios
|
|
2144
2159
|
|
|
2145
2160
|
> def find_ele_by_attr_include(class_name, attr, value)
|
|
2146
2161
|
|
|
@@ -2161,7 +2176,7 @@ __Returns:__
|
|
|
2161
2176
|
|
|
2162
2177
|
--
|
|
2163
2178
|
|
|
2164
|
-
##### [find_eles_by_attr_include](https://github.com/appium/ruby_lib/blob/
|
|
2179
|
+
##### [find_eles_by_attr_include](https://github.com/appium/ruby_lib/blob/35b1e25c46d9518101bec2410f6dcbc6b2c09ad6/lib/appium_lib/ios/helper.rb#L317) ios
|
|
2165
2180
|
|
|
2166
2181
|
> def find_eles_by_attr_include(class_name, attr, value)
|
|
2167
2182
|
|
|
@@ -2182,7 +2197,7 @@ __Returns:__
|
|
|
2182
2197
|
|
|
2183
2198
|
--
|
|
2184
2199
|
|
|
2185
|
-
##### [find_ele_by_predicate_include](https://github.com/appium/ruby_lib/blob/
|
|
2200
|
+
##### [find_ele_by_predicate_include](https://github.com/appium/ruby_lib/blob/35b1e25c46d9518101bec2410f6dcbc6b2c09ad6/lib/appium_lib/ios/helper.rb#L325) ios
|
|
2186
2201
|
|
|
2187
2202
|
> def find_ele_by_predicate_include(class_name: '*', value:)
|
|
2188
2203
|
|
|
@@ -2199,7 +2214,7 @@ __Returns:__
|
|
|
2199
2214
|
|
|
2200
2215
|
--
|
|
2201
2216
|
|
|
2202
|
-
##### [find_eles_by_predicate_include](https://github.com/appium/ruby_lib/blob/
|
|
2217
|
+
##### [find_eles_by_predicate_include](https://github.com/appium/ruby_lib/blob/35b1e25c46d9518101bec2410f6dcbc6b2c09ad6/lib/appium_lib/ios/helper.rb#L336) ios
|
|
2203
2218
|
|
|
2204
2219
|
> def find_eles_by_predicate_include(class_name: '*', value:)
|
|
2205
2220
|
|
|
@@ -2218,7 +2233,7 @@ __Returns:__
|
|
|
2218
2233
|
|
|
2219
2234
|
--
|
|
2220
2235
|
|
|
2221
|
-
##### [first_ele](https://github.com/appium/ruby_lib/blob/
|
|
2236
|
+
##### [first_ele](https://github.com/appium/ruby_lib/blob/35b1e25c46d9518101bec2410f6dcbc6b2c09ad6/lib/appium_lib/ios/helper.rb#L349) ios
|
|
2222
2237
|
|
|
2223
2238
|
> def first_ele(class_name)
|
|
2224
2239
|
|
|
@@ -2234,7 +2249,7 @@ __Returns:__
|
|
|
2234
2249
|
|
|
2235
2250
|
--
|
|
2236
2251
|
|
|
2237
|
-
##### [last_ele](https://github.com/appium/ruby_lib/blob/
|
|
2252
|
+
##### [last_ele](https://github.com/appium/ruby_lib/blob/35b1e25c46d9518101bec2410f6dcbc6b2c09ad6/lib/appium_lib/ios/helper.rb#L356) ios
|
|
2238
2253
|
|
|
2239
2254
|
> def last_ele(class_name)
|
|
2240
2255
|
|
|
@@ -2250,7 +2265,7 @@ __Returns:__
|
|
|
2250
2265
|
|
|
2251
2266
|
--
|
|
2252
2267
|
|
|
2253
|
-
##### [tag](https://github.com/appium/ruby_lib/blob/
|
|
2268
|
+
##### [tag](https://github.com/appium/ruby_lib/blob/35b1e25c46d9518101bec2410f6dcbc6b2c09ad6/lib/appium_lib/ios/helper.rb#L370) ios
|
|
2254
2269
|
|
|
2255
2270
|
> def tag(class_name)
|
|
2256
2271
|
|
|
@@ -2266,7 +2281,7 @@ __Returns:__
|
|
|
2266
2281
|
|
|
2267
2282
|
--
|
|
2268
2283
|
|
|
2269
|
-
##### [tags](https://github.com/appium/ruby_lib/blob/
|
|
2284
|
+
##### [tags](https://github.com/appium/ruby_lib/blob/35b1e25c46d9518101bec2410f6dcbc6b2c09ad6/lib/appium_lib/ios/helper.rb#L382) ios
|
|
2270
2285
|
|
|
2271
2286
|
> def tags(class_name)
|
|
2272
2287
|
|
|
@@ -2282,7 +2297,7 @@ __Returns:__
|
|
|
2282
2297
|
|
|
2283
2298
|
--
|
|
2284
2299
|
|
|
2285
|
-
##### [tags_include](https://github.com/appium/ruby_lib/blob/
|
|
2300
|
+
##### [tags_include](https://github.com/appium/ruby_lib/blob/35b1e25c46d9518101bec2410f6dcbc6b2c09ad6/lib/appium_lib/ios/helper.rb#L398) ios
|
|
2286
2301
|
|
|
2287
2302
|
> def tags_include(class_names:, value: nil)
|
|
2288
2303
|
|
|
@@ -2302,7 +2317,7 @@ __Returns:__
|
|
|
2302
2317
|
|
|
2303
2318
|
--
|
|
2304
2319
|
|
|
2305
|
-
##### [tags_exact](https://github.com/appium/ruby_lib/blob/
|
|
2320
|
+
##### [tags_exact](https://github.com/appium/ruby_lib/blob/35b1e25c46d9518101bec2410f6dcbc6b2c09ad6/lib/appium_lib/ios/helper.rb#L427) ios
|
|
2306
2321
|
|
|
2307
2322
|
> def tags_exact(class_names:, value: nil)
|
|
2308
2323
|
|
|
@@ -2322,7 +2337,7 @@ __Returns:__
|
|
|
2322
2337
|
|
|
2323
2338
|
--
|
|
2324
2339
|
|
|
2325
|
-
##### [ele_by_json_visible_contains](https://github.com/appium/ruby_lib/blob/
|
|
2340
|
+
##### [ele_by_json_visible_contains](https://github.com/appium/ruby_lib/blob/35b1e25c46d9518101bec2410f6dcbc6b2c09ad6/lib/appium_lib/ios/helper.rb#L478) ios
|
|
2326
2341
|
|
|
2327
2342
|
> def ele_by_json_visible_contains(element, value)
|
|
2328
2343
|
|
|
@@ -2341,7 +2356,7 @@ __Returns:__
|
|
|
2341
2356
|
|
|
2342
2357
|
--
|
|
2343
2358
|
|
|
2344
|
-
##### [eles_by_json_visible_contains](https://github.com/appium/ruby_lib/blob/
|
|
2359
|
+
##### [eles_by_json_visible_contains](https://github.com/appium/ruby_lib/blob/35b1e25c46d9518101bec2410f6dcbc6b2c09ad6/lib/appium_lib/ios/helper.rb#L487) ios
|
|
2345
2360
|
|
|
2346
2361
|
> def eles_by_json_visible_contains(element, value)
|
|
2347
2362
|
|
|
@@ -2360,7 +2375,7 @@ __Returns:__
|
|
|
2360
2375
|
|
|
2361
2376
|
--
|
|
2362
2377
|
|
|
2363
|
-
##### [ele_by_json_visible_exact](https://github.com/appium/ruby_lib/blob/
|
|
2378
|
+
##### [ele_by_json_visible_exact](https://github.com/appium/ruby_lib/blob/35b1e25c46d9518101bec2410f6dcbc6b2c09ad6/lib/appium_lib/ios/helper.rb#L517) ios
|
|
2364
2379
|
|
|
2365
2380
|
> def ele_by_json_visible_exact(element, value)
|
|
2366
2381
|
|
|
@@ -2379,7 +2394,7 @@ __Returns:__
|
|
|
2379
2394
|
|
|
2380
2395
|
--
|
|
2381
2396
|
|
|
2382
|
-
##### [eles_by_json_visible_exact](https://github.com/appium/ruby_lib/blob/
|
|
2397
|
+
##### [eles_by_json_visible_exact](https://github.com/appium/ruby_lib/blob/35b1e25c46d9518101bec2410f6dcbc6b2c09ad6/lib/appium_lib/ios/helper.rb#L526) ios
|
|
2383
2398
|
|
|
2384
2399
|
> def eles_by_json_visible_exact(element, value)
|
|
2385
2400
|
|
|
@@ -2398,7 +2413,7 @@ __Returns:__
|
|
|
2398
2413
|
|
|
2399
2414
|
--
|
|
2400
2415
|
|
|
2401
|
-
##### [_all_pred](https://github.com/appium/ruby_lib/blob/
|
|
2416
|
+
##### [_all_pred](https://github.com/appium/ruby_lib/blob/35b1e25c46d9518101bec2410f6dcbc6b2c09ad6/lib/appium_lib/ios/helper.rb#L591) ios
|
|
2402
2417
|
|
|
2403
2418
|
> def _all_pred(opts)
|
|
2404
2419
|
|
|
@@ -2408,7 +2423,7 @@ visible - if true, only visible elements are returned. default true
|
|
|
2408
2423
|
|
|
2409
2424
|
--
|
|
2410
2425
|
|
|
2411
|
-
##### [ele_with_pred](https://github.com/appium/ruby_lib/blob/
|
|
2426
|
+
##### [ele_with_pred](https://github.com/appium/ruby_lib/blob/35b1e25c46d9518101bec2410f6dcbc6b2c09ad6/lib/appium_lib/ios/helper.rb#L604) ios
|
|
2412
2427
|
|
|
2413
2428
|
> def ele_with_pred(opts)
|
|
2414
2429
|
|
|
@@ -2424,7 +2439,7 @@ __Returns:__
|
|
|
2424
2439
|
|
|
2425
2440
|
--
|
|
2426
2441
|
|
|
2427
|
-
##### [eles_with_pred](https://github.com/appium/ruby_lib/blob/
|
|
2442
|
+
##### [eles_with_pred](https://github.com/appium/ruby_lib/blob/35b1e25c46d9518101bec2410f6dcbc6b2c09ad6/lib/appium_lib/ios/helper.rb#L615) ios
|
|
2428
2443
|
|
|
2429
2444
|
> def eles_with_pred(opts)
|
|
2430
2445
|
|
|
@@ -2440,7 +2455,7 @@ __Returns:__
|
|
|
2440
2455
|
|
|
2441
2456
|
--
|
|
2442
2457
|
|
|
2443
|
-
##### [source](https://github.com/appium/ruby_lib/blob/
|
|
2458
|
+
##### [source](https://github.com/appium/ruby_lib/blob/35b1e25c46d9518101bec2410f6dcbc6b2c09ad6/lib/appium_lib/ios/helper.rb#L621) ios
|
|
2444
2459
|
|
|
2445
2460
|
> def source
|
|
2446
2461
|
|
|
@@ -2452,7 +2467,7 @@ __Returns:__
|
|
|
2452
2467
|
|
|
2453
2468
|
--
|
|
2454
2469
|
|
|
2455
|
-
##### [_validate_object](https://github.com/appium/ruby_lib/blob/
|
|
2470
|
+
##### [_validate_object](https://github.com/appium/ruby_lib/blob/35b1e25c46d9518101bec2410f6dcbc6b2c09ad6/lib/appium_lib/ios/helper.rb#L625) ios
|
|
2456
2471
|
|
|
2457
2472
|
> def _validate_object(*objects)
|
|
2458
2473
|
|
|
@@ -2460,7 +2475,7 @@ __Returns:__
|
|
|
2460
2475
|
|
|
2461
2476
|
--
|
|
2462
2477
|
|
|
2463
|
-
##### [_by_json](https://github.com/appium/ruby_lib/blob/
|
|
2478
|
+
##### [_by_json](https://github.com/appium/ruby_lib/blob/35b1e25c46d9518101bec2410f6dcbc6b2c09ad6/lib/appium_lib/ios/helper.rb#L674) ios
|
|
2464
2479
|
|
|
2465
2480
|
> def _by_json(opts)
|
|
2466
2481
|
|
|
@@ -2495,7 +2510,7 @@ opts = {
|
|
|
2495
2510
|
|
|
2496
2511
|
--
|
|
2497
2512
|
|
|
2498
|
-
##### [eles_by_json](https://github.com/appium/ruby_lib/blob/
|
|
2513
|
+
##### [eles_by_json](https://github.com/appium/ruby_lib/blob/35b1e25c46d9518101bec2410f6dcbc6b2c09ad6/lib/appium_lib/ios/helper.rb#L724) ios
|
|
2499
2514
|
|
|
2500
2515
|
> def eles_by_json(opts)
|
|
2501
2516
|
|
|
@@ -2514,7 +2529,7 @@ eles_by_json({
|
|
|
2514
2529
|
|
|
2515
2530
|
--
|
|
2516
2531
|
|
|
2517
|
-
##### [ele_by_json](https://github.com/appium/ruby_lib/blob/
|
|
2532
|
+
##### [ele_by_json](https://github.com/appium/ruby_lib/blob/35b1e25c46d9518101bec2410f6dcbc6b2c09ad6/lib/appium_lib/ios/helper.rb#L730) ios
|
|
2518
2533
|
|
|
2519
2534
|
> def ele_by_json(opts)
|
|
2520
2535
|
|
|
@@ -2522,7 +2537,7 @@ see eles_by_json
|
|
|
2522
2537
|
|
|
2523
2538
|
--
|
|
2524
2539
|
|
|
2525
|
-
##### [get_source](https://github.com/appium/ruby_lib/blob/
|
|
2540
|
+
##### [get_source](https://github.com/appium/ruby_lib/blob/35b1e25c46d9518101bec2410f6dcbc6b2c09ad6/lib/appium_lib/ios/helper.rb#L740) ios
|
|
2526
2541
|
|
|
2527
2542
|
> def get_source
|
|
2528
2543
|
|
|
@@ -2535,7 +2550,7 @@ __Returns:__
|
|
|
2535
2550
|
|
|
2536
2551
|
--
|
|
2537
2552
|
|
|
2538
|
-
##### [UIAStaticText](https://github.com/appium/ruby_lib/blob/
|
|
2553
|
+
##### [UIAStaticText](https://github.com/appium/ruby_lib/blob/35b1e25c46d9518101bec2410f6dcbc6b2c09ad6/lib/appium_lib/ios/element/text.rb#L4) ios
|
|
2539
2554
|
|
|
2540
2555
|
> UIAStaticText = 'UIAStaticText'.freeze
|
|
2541
2556
|
|
|
@@ -2543,7 +2558,7 @@ __Returns:__
|
|
|
2543
2558
|
|
|
2544
2559
|
--
|
|
2545
2560
|
|
|
2546
|
-
##### [XCUIElementTypeStaticText](https://github.com/appium/ruby_lib/blob/
|
|
2561
|
+
##### [XCUIElementTypeStaticText](https://github.com/appium/ruby_lib/blob/35b1e25c46d9518101bec2410f6dcbc6b2c09ad6/lib/appium_lib/ios/element/text.rb#L5) ios
|
|
2547
2562
|
|
|
2548
2563
|
> XCUIElementTypeStaticText = 'XCUIElementTypeStaticText'.freeze
|
|
2549
2564
|
|
|
@@ -2551,7 +2566,7 @@ __Returns:__
|
|
|
2551
2566
|
|
|
2552
2567
|
--
|
|
2553
2568
|
|
|
2554
|
-
##### [static_text_class](https://github.com/appium/ruby_lib/blob/
|
|
2569
|
+
##### [static_text_class](https://github.com/appium/ruby_lib/blob/35b1e25c46d9518101bec2410f6dcbc6b2c09ad6/lib/appium_lib/ios/element/text.rb#L8) ios
|
|
2555
2570
|
|
|
2556
2571
|
> def static_text_class
|
|
2557
2572
|
|
|
@@ -2563,7 +2578,7 @@ __Returns:__
|
|
|
2563
2578
|
|
|
2564
2579
|
--
|
|
2565
2580
|
|
|
2566
|
-
##### [text](https://github.com/appium/ruby_lib/blob/
|
|
2581
|
+
##### [text](https://github.com/appium/ruby_lib/blob/35b1e25c46d9518101bec2410f6dcbc6b2c09ad6/lib/appium_lib/ios/element/text.rb#L16) ios
|
|
2567
2582
|
|
|
2568
2583
|
> def text(value)
|
|
2569
2584
|
|
|
@@ -2580,7 +2595,7 @@ __Returns:__
|
|
|
2580
2595
|
|
|
2581
2596
|
--
|
|
2582
2597
|
|
|
2583
|
-
##### [texts](https://github.com/appium/ruby_lib/blob/
|
|
2598
|
+
##### [texts](https://github.com/appium/ruby_lib/blob/35b1e25c46d9518101bec2410f6dcbc6b2c09ad6/lib/appium_lib/ios/element/text.rb#L30) ios
|
|
2584
2599
|
|
|
2585
2600
|
> def texts(value = false)
|
|
2586
2601
|
|
|
@@ -2597,7 +2612,7 @@ __Returns:__
|
|
|
2597
2612
|
|
|
2598
2613
|
--
|
|
2599
2614
|
|
|
2600
|
-
##### [first_text](https://github.com/appium/ruby_lib/blob/
|
|
2615
|
+
##### [first_text](https://github.com/appium/ruby_lib/blob/35b1e25c46d9518101bec2410f6dcbc6b2c09ad6/lib/appium_lib/ios/element/text.rb#L43) ios
|
|
2601
2616
|
|
|
2602
2617
|
> def first_text
|
|
2603
2618
|
|
|
@@ -2609,7 +2624,7 @@ __Returns:__
|
|
|
2609
2624
|
|
|
2610
2625
|
--
|
|
2611
2626
|
|
|
2612
|
-
##### [last_text](https://github.com/appium/ruby_lib/blob/
|
|
2627
|
+
##### [last_text](https://github.com/appium/ruby_lib/blob/35b1e25c46d9518101bec2410f6dcbc6b2c09ad6/lib/appium_lib/ios/element/text.rb#L49) ios
|
|
2613
2628
|
|
|
2614
2629
|
> def last_text
|
|
2615
2630
|
|
|
@@ -2621,7 +2636,7 @@ __Returns:__
|
|
|
2621
2636
|
|
|
2622
2637
|
--
|
|
2623
2638
|
|
|
2624
|
-
##### [text_exact](https://github.com/appium/ruby_lib/blob/
|
|
2639
|
+
##### [text_exact](https://github.com/appium/ruby_lib/blob/35b1e25c46d9518101bec2410f6dcbc6b2c09ad6/lib/appium_lib/ios/element/text.rb#L56) ios
|
|
2625
2640
|
|
|
2626
2641
|
> def text_exact(value)
|
|
2627
2642
|
|
|
@@ -2637,7 +2652,7 @@ __Returns:__
|
|
|
2637
2652
|
|
|
2638
2653
|
--
|
|
2639
2654
|
|
|
2640
|
-
##### [texts_exact](https://github.com/appium/ruby_lib/blob/
|
|
2655
|
+
##### [texts_exact](https://github.com/appium/ruby_lib/blob/35b1e25c46d9518101bec2410f6dcbc6b2c09ad6/lib/appium_lib/ios/element/text.rb#L67) ios
|
|
2641
2656
|
|
|
2642
2657
|
> def texts_exact(value)
|
|
2643
2658
|
|
|
@@ -2653,7 +2668,7 @@ __Returns:__
|
|
|
2653
2668
|
|
|
2654
2669
|
--
|
|
2655
2670
|
|
|
2656
|
-
##### [alert_accept](https://github.com/appium/ruby_lib/blob/
|
|
2671
|
+
##### [alert_accept](https://github.com/appium/ruby_lib/blob/35b1e25c46d9518101bec2410f6dcbc6b2c09ad6/lib/appium_lib/ios/element/alert.rb#L5) ios
|
|
2657
2672
|
|
|
2658
2673
|
> def alert_accept
|
|
2659
2674
|
|
|
@@ -2665,7 +2680,7 @@ __Returns:__
|
|
|
2665
2680
|
|
|
2666
2681
|
--
|
|
2667
2682
|
|
|
2668
|
-
##### [alert_dismiss](https://github.com/appium/ruby_lib/blob/
|
|
2683
|
+
##### [alert_dismiss](https://github.com/appium/ruby_lib/blob/35b1e25c46d9518101bec2410f6dcbc6b2c09ad6/lib/appium_lib/ios/element/alert.rb#L13) ios
|
|
2669
2684
|
|
|
2670
2685
|
> def alert_dismiss
|
|
2671
2686
|
|
|
@@ -2677,7 +2692,7 @@ __Returns:__
|
|
|
2677
2692
|
|
|
2678
2693
|
--
|
|
2679
2694
|
|
|
2680
|
-
##### [UIAButton](https://github.com/appium/ruby_lib/blob/
|
|
2695
|
+
##### [UIAButton](https://github.com/appium/ruby_lib/blob/35b1e25c46d9518101bec2410f6dcbc6b2c09ad6/lib/appium_lib/ios/element/button.rb#L4) ios
|
|
2681
2696
|
|
|
2682
2697
|
> UIAButton = 'UIAButton'.freeze
|
|
2683
2698
|
|
|
@@ -2685,7 +2700,7 @@ __Returns:__
|
|
|
2685
2700
|
|
|
2686
2701
|
--
|
|
2687
2702
|
|
|
2688
|
-
##### [XCUIElementTypeButton](https://github.com/appium/ruby_lib/blob/
|
|
2703
|
+
##### [XCUIElementTypeButton](https://github.com/appium/ruby_lib/blob/35b1e25c46d9518101bec2410f6dcbc6b2c09ad6/lib/appium_lib/ios/element/button.rb#L5) ios
|
|
2689
2704
|
|
|
2690
2705
|
> XCUIElementTypeButton = 'XCUIElementTypeButton'.freeze
|
|
2691
2706
|
|
|
@@ -2693,7 +2708,7 @@ __Returns:__
|
|
|
2693
2708
|
|
|
2694
2709
|
--
|
|
2695
2710
|
|
|
2696
|
-
##### [button_class](https://github.com/appium/ruby_lib/blob/
|
|
2711
|
+
##### [button_class](https://github.com/appium/ruby_lib/blob/35b1e25c46d9518101bec2410f6dcbc6b2c09ad6/lib/appium_lib/ios/element/button.rb#L8) ios
|
|
2697
2712
|
|
|
2698
2713
|
> def button_class
|
|
2699
2714
|
|
|
@@ -2705,7 +2720,7 @@ __Returns:__
|
|
|
2705
2720
|
|
|
2706
2721
|
--
|
|
2707
2722
|
|
|
2708
|
-
##### [button](https://github.com/appium/ruby_lib/blob/
|
|
2723
|
+
##### [button](https://github.com/appium/ruby_lib/blob/35b1e25c46d9518101bec2410f6dcbc6b2c09ad6/lib/appium_lib/ios/element/button.rb#L16) ios
|
|
2709
2724
|
|
|
2710
2725
|
> def button(value)
|
|
2711
2726
|
|
|
@@ -2722,7 +2737,7 @@ __Returns:__
|
|
|
2722
2737
|
|
|
2723
2738
|
--
|
|
2724
2739
|
|
|
2725
|
-
##### [buttons](https://github.com/appium/ruby_lib/blob/
|
|
2740
|
+
##### [buttons](https://github.com/appium/ruby_lib/blob/35b1e25c46d9518101bec2410f6dcbc6b2c09ad6/lib/appium_lib/ios/element/button.rb#L31) ios
|
|
2726
2741
|
|
|
2727
2742
|
> def buttons(value = false)
|
|
2728
2743
|
|
|
@@ -2739,7 +2754,7 @@ __Returns:__
|
|
|
2739
2754
|
|
|
2740
2755
|
--
|
|
2741
2756
|
|
|
2742
|
-
##### [first_button](https://github.com/appium/ruby_lib/blob/
|
|
2757
|
+
##### [first_button](https://github.com/appium/ruby_lib/blob/35b1e25c46d9518101bec2410f6dcbc6b2c09ad6/lib/appium_lib/ios/element/button.rb#L44) ios
|
|
2743
2758
|
|
|
2744
2759
|
> def first_button
|
|
2745
2760
|
|
|
@@ -2751,7 +2766,7 @@ __Returns:__
|
|
|
2751
2766
|
|
|
2752
2767
|
--
|
|
2753
2768
|
|
|
2754
|
-
##### [last_button](https://github.com/appium/ruby_lib/blob/
|
|
2769
|
+
##### [last_button](https://github.com/appium/ruby_lib/blob/35b1e25c46d9518101bec2410f6dcbc6b2c09ad6/lib/appium_lib/ios/element/button.rb#L52) ios
|
|
2755
2770
|
|
|
2756
2771
|
> def last_button
|
|
2757
2772
|
|
|
@@ -2765,7 +2780,7 @@ __Returns:__
|
|
|
2765
2780
|
|
|
2766
2781
|
--
|
|
2767
2782
|
|
|
2768
|
-
##### [button_exact](https://github.com/appium/ruby_lib/blob/
|
|
2783
|
+
##### [button_exact](https://github.com/appium/ruby_lib/blob/35b1e25c46d9518101bec2410f6dcbc6b2c09ad6/lib/appium_lib/ios/element/button.rb#L59) ios
|
|
2769
2784
|
|
|
2770
2785
|
> def button_exact(value)
|
|
2771
2786
|
|
|
@@ -2781,7 +2796,7 @@ __Returns:__
|
|
|
2781
2796
|
|
|
2782
2797
|
--
|
|
2783
2798
|
|
|
2784
|
-
##### [buttons_exact](https://github.com/appium/ruby_lib/blob/
|
|
2799
|
+
##### [buttons_exact](https://github.com/appium/ruby_lib/blob/35b1e25c46d9518101bec2410f6dcbc6b2c09ad6/lib/appium_lib/ios/element/button.rb#L70) ios
|
|
2785
2800
|
|
|
2786
2801
|
> def buttons_exact(value)
|
|
2787
2802
|
|
|
@@ -2797,7 +2812,7 @@ __Returns:__
|
|
|
2797
2812
|
|
|
2798
2813
|
--
|
|
2799
2814
|
|
|
2800
|
-
##### [uiautomation_find](https://github.com/appium/ruby_lib/blob/
|
|
2815
|
+
##### [uiautomation_find](https://github.com/appium/ruby_lib/blob/35b1e25c46d9518101bec2410f6dcbc6b2c09ad6/lib/appium_lib/ios/mobile_methods.rb#L32) ios
|
|
2801
2816
|
|
|
2802
2817
|
> def uiautomation_find
|
|
2803
2818
|
|
|
@@ -2809,7 +2824,7 @@ find_element/s can be used with a [UIAutomation command](https://developer.apple
|
|
|
2809
2824
|
|
|
2810
2825
|
--
|
|
2811
2826
|
|
|
2812
|
-
##### [ios_predicate_string_find](https://github.com/appium/ruby_lib/blob/
|
|
2827
|
+
##### [ios_predicate_string_find](https://github.com/appium/ruby_lib/blob/35b1e25c46d9518101bec2410f6dcbc6b2c09ad6/lib/appium_lib/ios/mobile_methods.rb#L32) ios
|
|
2813
2828
|
|
|
2814
2829
|
> def ios_predicate_string_find
|
|
2815
2830
|
|
|
@@ -2823,7 +2838,7 @@ find_element/s can be used with a [Predicates](https://developer.apple.com/libra
|
|
|
2823
2838
|
|
|
2824
2839
|
--
|
|
2825
2840
|
|
|
2826
|
-
##### [ios_class_chain_find](https://github.com/appium/ruby_lib/blob/
|
|
2841
|
+
##### [ios_class_chain_find](https://github.com/appium/ruby_lib/blob/35b1e25c46d9518101bec2410f6dcbc6b2c09ad6/lib/appium_lib/ios/mobile_methods.rb#L32) ios
|
|
2827
2842
|
|
|
2828
2843
|
> def ios_class_chain_find
|
|
2829
2844
|
|
|
@@ -2841,7 +2856,7 @@ find_element/s can be used with a [class chain]( https://github.com/facebook/Web
|
|
|
2841
2856
|
|
|
2842
2857
|
--
|
|
2843
2858
|
|
|
2844
|
-
##### [find](https://github.com/appium/ruby_lib/blob/
|
|
2859
|
+
##### [find](https://github.com/appium/ruby_lib/blob/35b1e25c46d9518101bec2410f6dcbc6b2c09ad6/lib/appium_lib/ios/element/generic.rb#L6) ios
|
|
2845
2860
|
|
|
2846
2861
|
> def find(value)
|
|
2847
2862
|
|
|
@@ -2857,7 +2872,7 @@ __Returns:__
|
|
|
2857
2872
|
|
|
2858
2873
|
--
|
|
2859
2874
|
|
|
2860
|
-
##### [finds](https://github.com/appium/ruby_lib/blob/
|
|
2875
|
+
##### [finds](https://github.com/appium/ruby_lib/blob/35b1e25c46d9518101bec2410f6dcbc6b2c09ad6/lib/appium_lib/ios/element/generic.rb#L17) ios
|
|
2861
2876
|
|
|
2862
2877
|
> def finds(value)
|
|
2863
2878
|
|
|
@@ -2873,7 +2888,7 @@ __Returns:__
|
|
|
2873
2888
|
|
|
2874
2889
|
--
|
|
2875
2890
|
|
|
2876
|
-
##### [find_exact](https://github.com/appium/ruby_lib/blob/
|
|
2891
|
+
##### [find_exact](https://github.com/appium/ruby_lib/blob/35b1e25c46d9518101bec2410f6dcbc6b2c09ad6/lib/appium_lib/ios/element/generic.rb#L29) ios
|
|
2877
2892
|
|
|
2878
2893
|
> def find_exact(value)
|
|
2879
2894
|
|
|
@@ -2889,7 +2904,7 @@ __Returns:__
|
|
|
2889
2904
|
|
|
2890
2905
|
--
|
|
2891
2906
|
|
|
2892
|
-
##### [finds_exact](https://github.com/appium/ruby_lib/blob/
|
|
2907
|
+
##### [finds_exact](https://github.com/appium/ruby_lib/blob/35b1e25c46d9518101bec2410f6dcbc6b2c09ad6/lib/appium_lib/ios/element/generic.rb#L40) ios
|
|
2893
2908
|
|
|
2894
2909
|
> def finds_exact(value)
|
|
2895
2910
|
|
|
@@ -2905,7 +2920,7 @@ __Returns:__
|
|
|
2905
2920
|
|
|
2906
2921
|
--
|
|
2907
2922
|
|
|
2908
|
-
##### [raise_error_if_no_element](https://github.com/appium/ruby_lib/blob/
|
|
2923
|
+
##### [raise_error_if_no_element](https://github.com/appium/ruby_lib/blob/35b1e25c46d9518101bec2410f6dcbc6b2c09ad6/lib/appium_lib/ios/element/generic.rb#L51) ios
|
|
2909
2924
|
|
|
2910
2925
|
> def raise_error_if_no_element(element)
|
|
2911
2926
|
|
|
@@ -2913,7 +2928,7 @@ __Returns:__
|
|
|
2913
2928
|
|
|
2914
2929
|
--
|
|
2915
2930
|
|
|
2916
|
-
##### [select_visible_elements](https://github.com/appium/ruby_lib/blob/
|
|
2931
|
+
##### [select_visible_elements](https://github.com/appium/ruby_lib/blob/35b1e25c46d9518101bec2410f6dcbc6b2c09ad6/lib/appium_lib/ios/element/generic.rb#L58) ios
|
|
2917
2932
|
|
|
2918
2933
|
> def select_visible_elements(elements)
|
|
2919
2934
|
|
|
@@ -2921,7 +2936,7 @@ Return visible elements.
|
|
|
2921
2936
|
|
|
2922
2937
|
--
|
|
2923
2938
|
|
|
2924
|
-
##### [UIATextField](https://github.com/appium/ruby_lib/blob/
|
|
2939
|
+
##### [UIATextField](https://github.com/appium/ruby_lib/blob/35b1e25c46d9518101bec2410f6dcbc6b2c09ad6/lib/appium_lib/ios/element/textfield.rb#L3) ios
|
|
2925
2940
|
|
|
2926
2941
|
> UIATextField = 'UIATextField'.freeze
|
|
2927
2942
|
|
|
@@ -2929,7 +2944,7 @@ Return visible elements.
|
|
|
2929
2944
|
|
|
2930
2945
|
--
|
|
2931
2946
|
|
|
2932
|
-
##### [UIASecureTextField](https://github.com/appium/ruby_lib/blob/
|
|
2947
|
+
##### [UIASecureTextField](https://github.com/appium/ruby_lib/blob/35b1e25c46d9518101bec2410f6dcbc6b2c09ad6/lib/appium_lib/ios/element/textfield.rb#L4) ios
|
|
2933
2948
|
|
|
2934
2949
|
> UIASecureTextField = 'UIASecureTextField'.freeze
|
|
2935
2950
|
|
|
@@ -2937,7 +2952,7 @@ Return visible elements.
|
|
|
2937
2952
|
|
|
2938
2953
|
--
|
|
2939
2954
|
|
|
2940
|
-
##### [XCUIElementTypeTextField](https://github.com/appium/ruby_lib/blob/
|
|
2955
|
+
##### [XCUIElementTypeTextField](https://github.com/appium/ruby_lib/blob/35b1e25c46d9518101bec2410f6dcbc6b2c09ad6/lib/appium_lib/ios/element/textfield.rb#L6) ios
|
|
2941
2956
|
|
|
2942
2957
|
> XCUIElementTypeTextField = 'XCUIElementTypeTextField'.freeze
|
|
2943
2958
|
|
|
@@ -2945,7 +2960,7 @@ Return visible elements.
|
|
|
2945
2960
|
|
|
2946
2961
|
--
|
|
2947
2962
|
|
|
2948
|
-
##### [XCUIElementTypeSecureTextField](https://github.com/appium/ruby_lib/blob/
|
|
2963
|
+
##### [XCUIElementTypeSecureTextField](https://github.com/appium/ruby_lib/blob/35b1e25c46d9518101bec2410f6dcbc6b2c09ad6/lib/appium_lib/ios/element/textfield.rb#L7) ios
|
|
2949
2964
|
|
|
2950
2965
|
> XCUIElementTypeSecureTextField = 'XCUIElementTypeSecureTextField'.freeze
|
|
2951
2966
|
|
|
@@ -2953,7 +2968,7 @@ Return visible elements.
|
|
|
2953
2968
|
|
|
2954
2969
|
--
|
|
2955
2970
|
|
|
2956
|
-
##### [text_field_class](https://github.com/appium/ruby_lib/blob/
|
|
2971
|
+
##### [text_field_class](https://github.com/appium/ruby_lib/blob/35b1e25c46d9518101bec2410f6dcbc6b2c09ad6/lib/appium_lib/ios/element/textfield.rb#L10) ios
|
|
2957
2972
|
|
|
2958
2973
|
> def text_field_class
|
|
2959
2974
|
|
|
@@ -2965,7 +2980,7 @@ __Returns:__
|
|
|
2965
2980
|
|
|
2966
2981
|
--
|
|
2967
2982
|
|
|
2968
|
-
##### [secure_text_field_class](https://github.com/appium/ruby_lib/blob/
|
|
2983
|
+
##### [secure_text_field_class](https://github.com/appium/ruby_lib/blob/35b1e25c46d9518101bec2410f6dcbc6b2c09ad6/lib/appium_lib/ios/element/textfield.rb#L15) ios
|
|
2969
2984
|
|
|
2970
2985
|
> def secure_text_field_class
|
|
2971
2986
|
|
|
@@ -2977,7 +2992,7 @@ __Returns:__
|
|
|
2977
2992
|
|
|
2978
2993
|
--
|
|
2979
2994
|
|
|
2980
|
-
##### [_textfield_visible](https://github.com/appium/ruby_lib/blob/
|
|
2995
|
+
##### [_textfield_visible](https://github.com/appium/ruby_lib/blob/35b1e25c46d9518101bec2410f6dcbc6b2c09ad6/lib/appium_lib/ios/element/textfield.rb#L35) ios
|
|
2981
2996
|
|
|
2982
2997
|
> def _textfield_visible
|
|
2983
2998
|
|
|
@@ -2985,7 +3000,7 @@ Appium
|
|
|
2985
3000
|
|
|
2986
3001
|
--
|
|
2987
3002
|
|
|
2988
|
-
##### [_textfield_exact_string](https://github.com/appium/ruby_lib/blob/
|
|
3003
|
+
##### [_textfield_exact_string](https://github.com/appium/ruby_lib/blob/35b1e25c46d9518101bec2410f6dcbc6b2c09ad6/lib/appium_lib/ios/element/textfield.rb#L40) ios
|
|
2989
3004
|
|
|
2990
3005
|
> def _textfield_exact_string(value)
|
|
2991
3006
|
|
|
@@ -2993,7 +3008,7 @@ Appium
|
|
|
2993
3008
|
|
|
2994
3009
|
--
|
|
2995
3010
|
|
|
2996
|
-
##### [_textfield_contains_string](https://github.com/appium/ruby_lib/blob/
|
|
3011
|
+
##### [_textfield_contains_string](https://github.com/appium/ruby_lib/blob/35b1e25c46d9518101bec2410f6dcbc6b2c09ad6/lib/appium_lib/ios/element/textfield.rb#L47) ios
|
|
2997
3012
|
|
|
2998
3013
|
> def _textfield_contains_string(value)
|
|
2999
3014
|
|
|
@@ -3001,7 +3016,7 @@ Appium
|
|
|
3001
3016
|
|
|
3002
3017
|
--
|
|
3003
3018
|
|
|
3004
|
-
##### [textfield](https://github.com/appium/ruby_lib/blob/
|
|
3019
|
+
##### [textfield](https://github.com/appium/ruby_lib/blob/35b1e25c46d9518101bec2410f6dcbc6b2c09ad6/lib/appium_lib/ios/element/textfield.rb#L60) ios
|
|
3005
3020
|
|
|
3006
3021
|
> def textfield(value)
|
|
3007
3022
|
|
|
@@ -3019,7 +3034,7 @@ __Returns:__
|
|
|
3019
3034
|
|
|
3020
3035
|
--
|
|
3021
3036
|
|
|
3022
|
-
##### [textfields](https://github.com/appium/ruby_lib/blob/
|
|
3037
|
+
##### [textfields](https://github.com/appium/ruby_lib/blob/35b1e25c46d9518101bec2410f6dcbc6b2c09ad6/lib/appium_lib/ios/element/textfield.rb#L86) ios
|
|
3023
3038
|
|
|
3024
3039
|
> def textfields(value = false)
|
|
3025
3040
|
|
|
@@ -3036,7 +3051,7 @@ __Returns:__
|
|
|
3036
3051
|
|
|
3037
3052
|
--
|
|
3038
3053
|
|
|
3039
|
-
##### [first_textfield](https://github.com/appium/ruby_lib/blob/
|
|
3054
|
+
##### [first_textfield](https://github.com/appium/ruby_lib/blob/35b1e25c46d9518101bec2410f6dcbc6b2c09ad6/lib/appium_lib/ios/element/textfield.rb#L100) ios
|
|
3040
3055
|
|
|
3041
3056
|
> def first_textfield
|
|
3042
3057
|
|
|
@@ -3048,7 +3063,7 @@ __Returns:__
|
|
|
3048
3063
|
|
|
3049
3064
|
--
|
|
3050
3065
|
|
|
3051
|
-
##### [last_textfield](https://github.com/appium/ruby_lib/blob/
|
|
3066
|
+
##### [last_textfield](https://github.com/appium/ruby_lib/blob/35b1e25c46d9518101bec2410f6dcbc6b2c09ad6/lib/appium_lib/ios/element/textfield.rb#L110) ios
|
|
3052
3067
|
|
|
3053
3068
|
> def last_textfield
|
|
3054
3069
|
|
|
@@ -3060,7 +3075,7 @@ __Returns:__
|
|
|
3060
3075
|
|
|
3061
3076
|
--
|
|
3062
3077
|
|
|
3063
|
-
##### [textfield_exact](https://github.com/appium/ruby_lib/blob/
|
|
3078
|
+
##### [textfield_exact](https://github.com/appium/ruby_lib/blob/35b1e25c46d9518101bec2410f6dcbc6b2c09ad6/lib/appium_lib/ios/element/textfield.rb#L123) ios
|
|
3064
3079
|
|
|
3065
3080
|
> def textfield_exact(value)
|
|
3066
3081
|
|
|
@@ -3076,7 +3091,7 @@ __Returns:__
|
|
|
3076
3091
|
|
|
3077
3092
|
--
|
|
3078
3093
|
|
|
3079
|
-
##### [textfields_exact](https://github.com/appium/ruby_lib/blob/
|
|
3094
|
+
##### [textfields_exact](https://github.com/appium/ruby_lib/blob/35b1e25c46d9518101bec2410f6dcbc6b2c09ad6/lib/appium_lib/ios/element/textfield.rb#L134) ios
|
|
3080
3095
|
|
|
3081
3096
|
> def textfields_exact(value)
|
|
3082
3097
|
|
|
@@ -3092,7 +3107,7 @@ __Returns:__
|
|
|
3092
3107
|
|
|
3093
3108
|
--
|
|
3094
3109
|
|
|
3095
|
-
##### [value](https://github.com/appium/ruby_lib/blob/
|
|
3110
|
+
##### [value](https://github.com/appium/ruby_lib/blob/35b1e25c46d9518101bec2410f6dcbc6b2c09ad6/lib/appium_lib/common/patch.rb#L12)
|
|
3096
3111
|
|
|
3097
3112
|
> def value
|
|
3098
3113
|
|
|
@@ -3102,7 +3117,7 @@ Fixes NoMethodError: undefined method `value' for Selenium::WebDriver::Element
|
|
|
3102
3117
|
|
|
3103
3118
|
--
|
|
3104
3119
|
|
|
3105
|
-
##### [name](https://github.com/appium/ruby_lib/blob/
|
|
3120
|
+
##### [name](https://github.com/appium/ruby_lib/blob/35b1e25c46d9518101bec2410f6dcbc6b2c09ad6/lib/appium_lib/common/patch.rb#L19)
|
|
3106
3121
|
|
|
3107
3122
|
> def name
|
|
3108
3123
|
|
|
@@ -3112,7 +3127,7 @@ Fixes NoMethodError: undefined method `name' for Selenium::WebDriver::Element
|
|
|
3112
3127
|
|
|
3113
3128
|
--
|
|
3114
3129
|
|
|
3115
|
-
##### [location_rel](https://github.com/appium/ruby_lib/blob/
|
|
3130
|
+
##### [location_rel](https://github.com/appium/ruby_lib/blob/35b1e25c46d9518101bec2410f6dcbc6b2c09ad6/lib/appium_lib/common/patch.rb#L31)
|
|
3116
3131
|
|
|
3117
3132
|
> def location_rel
|
|
3118
3133
|
|
|
@@ -3130,7 +3145,7 @@ __Returns:__
|
|
|
3130
3145
|
|
|
3131
3146
|
--
|
|
3132
3147
|
|
|
3133
|
-
##### [DEFAULT_HEADERS](https://github.com/appium/ruby_lib/blob/
|
|
3148
|
+
##### [DEFAULT_HEADERS](https://github.com/appium/ruby_lib/blob/35b1e25c46d9518101bec2410f6dcbc6b2c09ad6/lib/appium_lib/common/patch.rb#L152)
|
|
3134
3149
|
|
|
3135
3150
|
> DEFAULT_HEADERS = { 'Accept' => CONTENT_TYPE, 'User-Agent' => "appium/ruby_lib/#{::Appium::VERSION}" }.freeze
|
|
3136
3151
|
|
|
@@ -3138,7 +3153,7 @@ __Returns:__
|
|
|
3138
3153
|
|
|
3139
3154
|
--
|
|
3140
3155
|
|
|
3141
|
-
##### [patch_remote_driver_commands](https://github.com/appium/ruby_lib/blob/
|
|
3156
|
+
##### [patch_remote_driver_commands](https://github.com/appium/ruby_lib/blob/35b1e25c46d9518101bec2410f6dcbc6b2c09ad6/lib/appium_lib/common/patch.rb#L155)
|
|
3142
3157
|
|
|
3143
3158
|
> def patch_remote_driver_commands
|
|
3144
3159
|
|