appium_lib 10.4.0 → 11.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/.azure-pipelines.yml +18 -0
- data/.github/workflows/rubocop.yml +27 -0
- data/.rubocop.yml +20 -8
- data/CHANGELOG.md +42 -0
- data/appium_lib.gemspec +6 -6
- data/docs/android_docs.md +270 -307
- data/docs/ios_docs.md +307 -408
- data/lib/appium_lib/android/common/helper.rb +2 -2
- data/lib/appium_lib/android/element/button.rb +2 -2
- data/lib/appium_lib/android/espresso/element/button.rb +2 -2
- data/lib/appium_lib/android/uiautomator2/element/button.rb +2 -2
- data/lib/appium_lib/appium.rb +18 -7
- data/lib/appium_lib/common/helper.rb +7 -5
- data/lib/appium_lib/common/wait.rb +2 -2
- data/lib/appium_lib/driver.rb +51 -22
- data/lib/appium_lib/ios/common/helper.rb +4 -3
- data/lib/appium_lib/ios/xcuitest.rb +0 -1
- data/lib/appium_lib/ios/xcuitest/command/gestures.rb +5 -5
- data/lib/appium_lib/ios/xcuitest/command/multi_app_handler.rb +6 -12
- data/lib/appium_lib/ios/xcuitest/helper.rb +1 -1
- data/lib/appium_lib/version.rb +2 -2
- data/readme.md +1 -1
- data/release_notes.md +43 -0
- metadata +21 -20
- data/.travis.yml +0 -18
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/bc3da9bc1ee58d5e96811b72f3ed737ed0e9c401/lib/appium_lib/appium.rb#L60) common
|
2
2
|
|
3
3
|
> def load_settings(opts = {})
|
4
4
|
|
@@ -27,7 +27,7 @@ __Returns:__
|
|
27
27
|
|
28
28
|
--
|
29
29
|
|
30
|
-
##### [load_appium_txt](https://github.com/appium/ruby_lib/blob/
|
30
|
+
##### [load_appium_txt](https://github.com/appium/ruby_lib/blob/bc3da9bc1ee58d5e96811b72f3ed737ed0e9c401/lib/appium_lib/appium.rb#L95) common
|
31
31
|
|
32
32
|
> def load_settings(opts = {})
|
33
33
|
|
@@ -56,7 +56,7 @@ __Returns:__
|
|
56
56
|
|
57
57
|
--
|
58
58
|
|
59
|
-
##### [expand_required_files](https://github.com/appium/ruby_lib/blob/
|
59
|
+
##### [expand_required_files](https://github.com/appium/ruby_lib/blob/bc3da9bc1ee58d5e96811b72f3ed737ed0e9c401/lib/appium_lib/appium.rb#L100) common
|
60
60
|
|
61
61
|
> def expand_required_files(base_dir, file_paths)
|
62
62
|
|
@@ -74,7 +74,7 @@ __Returns:__
|
|
74
74
|
|
75
75
|
--
|
76
76
|
|
77
|
-
##### [promote_singleton_appium_methods](https://github.com/appium/ruby_lib/blob/
|
77
|
+
##### [promote_singleton_appium_methods](https://github.com/appium/ruby_lib/blob/bc3da9bc1ee58d5e96811b72f3ed737ed0e9c401/lib/appium_lib/appium.rb#L142) common
|
78
78
|
|
79
79
|
> def promote_singleton_appium_methods(modules, driver = $driver)
|
80
80
|
|
@@ -98,7 +98,7 @@ __Parameters:__
|
|
98
98
|
|
99
99
|
--
|
100
100
|
|
101
|
-
##### [promote_appium_methods](https://github.com/appium/ruby_lib/blob/
|
101
|
+
##### [promote_appium_methods](https://github.com/appium/ruby_lib/blob/bc3da9bc1ee58d5e96811b72f3ed737ed0e9c401/lib/appium_lib/appium.rb#L198) common
|
102
102
|
|
103
103
|
> def promote_appium_methods(class_array, driver = $driver)
|
104
104
|
|
@@ -116,7 +116,7 @@ __Parameters:__
|
|
116
116
|
|
117
117
|
--
|
118
118
|
|
119
|
-
##### [global_webdriver_http_sleep](https://github.com/appium/ruby_lib/blob/
|
119
|
+
##### [global_webdriver_http_sleep](https://github.com/appium/ruby_lib/blob/bc3da9bc1ee58d5e96811b72f3ed737ed0e9c401/lib/appium_lib/driver.rb#L49) common
|
120
120
|
|
121
121
|
> def global_webdriver_http_sleep
|
122
122
|
|
@@ -124,7 +124,7 @@ The amount to sleep in seconds before every webdriver http call.
|
|
124
124
|
|
125
125
|
--
|
126
126
|
|
127
|
-
##### [global_webdriver_http_sleep=](https://github.com/appium/ruby_lib/blob/
|
127
|
+
##### [global_webdriver_http_sleep=](https://github.com/appium/ruby_lib/blob/bc3da9bc1ee58d5e96811b72f3ed737ed0e9c401/lib/appium_lib/driver.rb#L49) common
|
128
128
|
|
129
129
|
> def global_webdriver_http_sleep=(value)
|
130
130
|
|
@@ -132,7 +132,7 @@ The amount to sleep in seconds before every webdriver http call.
|
|
132
132
|
|
133
133
|
--
|
134
134
|
|
135
|
-
##### [sauce](https://github.com/appium/ruby_lib/blob/
|
135
|
+
##### [sauce](https://github.com/appium/ruby_lib/blob/bc3da9bc1ee58d5e96811b72f3ed737ed0e9c401/lib/appium_lib/driver.rb#L52) common
|
136
136
|
|
137
137
|
> def sauce
|
138
138
|
|
@@ -140,7 +140,7 @@ SauceLab's settings
|
|
140
140
|
|
141
141
|
--
|
142
142
|
|
143
|
-
##### [sauce_username](https://github.com/appium/ruby_lib/blob/
|
143
|
+
##### [sauce_username](https://github.com/appium/ruby_lib/blob/bc3da9bc1ee58d5e96811b72f3ed737ed0e9c401/lib/appium_lib/driver.rb#L55) common
|
144
144
|
|
145
145
|
> def sauce_username
|
146
146
|
|
@@ -149,7 +149,7 @@ same as @sauce.username
|
|
149
149
|
|
150
150
|
--
|
151
151
|
|
152
|
-
##### [sauce_access_key](https://github.com/appium/ruby_lib/blob/
|
152
|
+
##### [sauce_access_key](https://github.com/appium/ruby_lib/blob/bc3da9bc1ee58d5e96811b72f3ed737ed0e9c401/lib/appium_lib/driver.rb#L58) common
|
153
153
|
|
154
154
|
> def sauce_access_key
|
155
155
|
|
@@ -158,7 +158,7 @@ same as @sauce.access_key
|
|
158
158
|
|
159
159
|
--
|
160
160
|
|
161
|
-
##### [sauce_endpoint](https://github.com/appium/ruby_lib/blob/
|
161
|
+
##### [sauce_endpoint](https://github.com/appium/ruby_lib/blob/bc3da9bc1ee58d5e96811b72f3ed737ed0e9c401/lib/appium_lib/driver.rb#L61) common
|
162
162
|
|
163
163
|
> def sauce_endpoint
|
164
164
|
|
@@ -167,7 +167,7 @@ same as @sauce.endpoint
|
|
167
167
|
|
168
168
|
--
|
169
169
|
|
170
|
-
##### [caps](https://github.com/appium/ruby_lib/blob/
|
170
|
+
##### [caps](https://github.com/appium/ruby_lib/blob/bc3da9bc1ee58d5e96811b72f3ed737ed0e9c401/lib/appium_lib/driver.rb#L65) common
|
171
171
|
|
172
172
|
> def caps
|
173
173
|
|
@@ -176,95 +176,95 @@ read http://www.rubydoc.info/github/appium/ruby_lib_core/Appium/Core/Driver
|
|
176
176
|
|
177
177
|
--
|
178
178
|
|
179
|
-
##### [custom_url](https://github.com/appium/ruby_lib/blob/
|
179
|
+
##### [custom_url](https://github.com/appium/ruby_lib/blob/bc3da9bc1ee58d5e96811b72f3ed737ed0e9c401/lib/appium_lib/driver.rb#L66) common
|
180
180
|
|
181
181
|
> def custom_url
|
182
182
|
|
183
|
-
Returns the value of attribute custom_url
|
183
|
+
Returns the value of attribute custom_url.
|
184
184
|
|
185
185
|
--
|
186
186
|
|
187
|
-
##### [export_session](https://github.com/appium/ruby_lib/blob/
|
187
|
+
##### [export_session](https://github.com/appium/ruby_lib/blob/bc3da9bc1ee58d5e96811b72f3ed737ed0e9c401/lib/appium_lib/driver.rb#L67) common
|
188
188
|
|
189
189
|
> def export_session
|
190
190
|
|
191
|
-
Returns the value of attribute export_session
|
191
|
+
Returns the value of attribute export_session.
|
192
192
|
|
193
193
|
--
|
194
194
|
|
195
|
-
##### [export_session_path](https://github.com/appium/ruby_lib/blob/
|
195
|
+
##### [export_session_path](https://github.com/appium/ruby_lib/blob/bc3da9bc1ee58d5e96811b72f3ed737ed0e9c401/lib/appium_lib/driver.rb#L68) common
|
196
196
|
|
197
197
|
> def export_session_path
|
198
198
|
|
199
|
-
Returns the value of attribute export_session_path
|
199
|
+
Returns the value of attribute export_session_path.
|
200
200
|
|
201
201
|
--
|
202
202
|
|
203
|
-
##### [default_wait](https://github.com/appium/ruby_lib/blob/
|
203
|
+
##### [default_wait](https://github.com/appium/ruby_lib/blob/bc3da9bc1ee58d5e96811b72f3ed737ed0e9c401/lib/appium_lib/driver.rb#L69) common
|
204
204
|
|
205
205
|
> def default_wait
|
206
206
|
|
207
|
-
Returns the value of attribute default_wait
|
207
|
+
Returns the value of attribute default_wait.
|
208
208
|
|
209
209
|
--
|
210
210
|
|
211
|
-
##### [appium_port](https://github.com/appium/ruby_lib/blob/
|
211
|
+
##### [appium_port](https://github.com/appium/ruby_lib/blob/bc3da9bc1ee58d5e96811b72f3ed737ed0e9c401/lib/appium_lib/driver.rb#L70) common
|
212
212
|
|
213
213
|
> def appium_port
|
214
214
|
|
215
|
-
Returns the value of attribute appium_port
|
215
|
+
Returns the value of attribute appium_port.
|
216
216
|
|
217
217
|
--
|
218
218
|
|
219
|
-
##### [appium_device](https://github.com/appium/ruby_lib/blob/
|
219
|
+
##### [appium_device](https://github.com/appium/ruby_lib/blob/bc3da9bc1ee58d5e96811b72f3ed737ed0e9c401/lib/appium_lib/driver.rb#L71) common
|
220
220
|
|
221
221
|
> def appium_device
|
222
222
|
|
223
|
-
Returns the value of attribute appium_device
|
223
|
+
Returns the value of attribute appium_device.
|
224
224
|
|
225
225
|
--
|
226
226
|
|
227
|
-
##### [automation_name](https://github.com/appium/ruby_lib/blob/
|
227
|
+
##### [automation_name](https://github.com/appium/ruby_lib/blob/bc3da9bc1ee58d5e96811b72f3ed737ed0e9c401/lib/appium_lib/driver.rb#L72) common
|
228
228
|
|
229
229
|
> def automation_name
|
230
230
|
|
231
|
-
Returns the value of attribute automation_name
|
231
|
+
Returns the value of attribute automation_name.
|
232
232
|
|
233
233
|
--
|
234
234
|
|
235
|
-
##### [listener](https://github.com/appium/ruby_lib/blob/
|
235
|
+
##### [listener](https://github.com/appium/ruby_lib/blob/bc3da9bc1ee58d5e96811b72f3ed737ed0e9c401/lib/appium_lib/driver.rb#L73) common
|
236
236
|
|
237
237
|
> def listener
|
238
238
|
|
239
|
-
Returns the value of attribute listener
|
239
|
+
Returns the value of attribute listener.
|
240
240
|
|
241
241
|
--
|
242
242
|
|
243
|
-
##### [http_client](https://github.com/appium/ruby_lib/blob/
|
243
|
+
##### [http_client](https://github.com/appium/ruby_lib/blob/bc3da9bc1ee58d5e96811b72f3ed737ed0e9c401/lib/appium_lib/driver.rb#L74) common
|
244
244
|
|
245
245
|
> def http_client
|
246
246
|
|
247
|
-
Returns the value of attribute http_client
|
247
|
+
Returns the value of attribute http_client.
|
248
248
|
|
249
249
|
--
|
250
250
|
|
251
|
-
##### [appium_wait_timeout](https://github.com/appium/ruby_lib/blob/
|
251
|
+
##### [appium_wait_timeout](https://github.com/appium/ruby_lib/blob/bc3da9bc1ee58d5e96811b72f3ed737ed0e9c401/lib/appium_lib/driver.rb#L75) common
|
252
252
|
|
253
253
|
> def appium_wait_timeout
|
254
254
|
|
255
|
-
Returns the value of attribute appium_wait_timeout
|
255
|
+
Returns the value of attribute appium_wait_timeout.
|
256
256
|
|
257
257
|
--
|
258
258
|
|
259
|
-
##### [appium_wait_interval](https://github.com/appium/ruby_lib/blob/
|
259
|
+
##### [appium_wait_interval](https://github.com/appium/ruby_lib/blob/bc3da9bc1ee58d5e96811b72f3ed737ed0e9c401/lib/appium_lib/driver.rb#L76) common
|
260
260
|
|
261
261
|
> def appium_wait_interval
|
262
262
|
|
263
|
-
Returns the value of attribute appium_wait_interval
|
263
|
+
Returns the value of attribute appium_wait_interval.
|
264
264
|
|
265
265
|
--
|
266
266
|
|
267
|
-
##### [appium_server_status](https://github.com/appium/ruby_lib/blob/
|
267
|
+
##### [appium_server_status](https://github.com/appium/ruby_lib/blob/bc3da9bc1ee58d5e96811b72f3ed737ed0e9c401/lib/appium_lib/driver.rb#L79) common
|
268
268
|
|
269
269
|
> def appium_server_status
|
270
270
|
|
@@ -272,7 +272,7 @@ Appium's server version
|
|
272
272
|
|
273
273
|
--
|
274
274
|
|
275
|
-
##### [appium_debug](https://github.com/appium/ruby_lib/blob/
|
275
|
+
##### [appium_debug](https://github.com/appium/ruby_lib/blob/bc3da9bc1ee58d5e96811b72f3ed737ed0e9c401/lib/appium_lib/driver.rb#L81) common
|
276
276
|
|
277
277
|
> def appium_debug
|
278
278
|
|
@@ -280,7 +280,7 @@ Boolean debug mode for the Appium Ruby bindings
|
|
280
280
|
|
281
281
|
--
|
282
282
|
|
283
|
-
##### [driver](https://github.com/appium/ruby_lib/blob/
|
283
|
+
##### [driver](https://github.com/appium/ruby_lib/blob/bc3da9bc1ee58d5e96811b72f3ed737ed0e9c401/lib/appium_lib/driver.rb#L84) common
|
284
284
|
|
285
285
|
> def driver
|
286
286
|
|
@@ -292,7 +292,7 @@ __Returns:__
|
|
292
292
|
|
293
293
|
--
|
294
294
|
|
295
|
-
##### [core](https://github.com/appium/ruby_lib/blob/
|
295
|
+
##### [core](https://github.com/appium/ruby_lib/blob/bc3da9bc1ee58d5e96811b72f3ed737ed0e9c401/lib/appium_lib/driver.rb#L86) common
|
296
296
|
|
297
297
|
> def core
|
298
298
|
|
@@ -300,7 +300,7 @@ Instance of Appium::Core::Driver
|
|
300
300
|
|
301
301
|
--
|
302
302
|
|
303
|
-
##### [initialize](https://github.com/appium/ruby_lib/blob/
|
303
|
+
##### [initialize](https://github.com/appium/ruby_lib/blob/bc3da9bc1ee58d5e96811b72f3ed737ed0e9c401/lib/appium_lib/driver.rb#L154) common
|
304
304
|
|
305
305
|
> def initialize(opts = {}, global_driver = nil)
|
306
306
|
|
@@ -319,7 +319,7 @@ __Returns:__
|
|
319
319
|
|
320
320
|
--
|
321
321
|
|
322
|
-
##### [driver_attributes](https://github.com/appium/ruby_lib/blob/
|
322
|
+
##### [driver_attributes](https://github.com/appium/ruby_lib/blob/bc3da9bc1ee58d5e96811b72f3ed737ed0e9c401/lib/appium_lib/driver.rb#L278) common
|
323
323
|
|
324
324
|
> def driver_attributes
|
325
325
|
|
@@ -327,7 +327,7 @@ Returns a hash of the driver attributes
|
|
327
327
|
|
328
328
|
--
|
329
329
|
|
330
|
-
##### [device_is_android?](https://github.com/appium/ruby_lib/blob/
|
330
|
+
##### [device_is_android?](https://github.com/appium/ruby_lib/blob/bc3da9bc1ee58d5e96811b72f3ed737ed0e9c401/lib/appium_lib/driver.rb#L298) common
|
331
331
|
|
332
332
|
> def device_is_android?
|
333
333
|
|
@@ -339,7 +339,7 @@ __Returns:__
|
|
339
339
|
|
340
340
|
--
|
341
341
|
|
342
|
-
##### [device_is_ios?](https://github.com/appium/ruby_lib/blob/
|
342
|
+
##### [device_is_ios?](https://github.com/appium/ruby_lib/blob/bc3da9bc1ee58d5e96811b72f3ed737ed0e9c401/lib/appium_lib/driver.rb#L302) common
|
343
343
|
|
344
344
|
> def device_is_ios?
|
345
345
|
|
@@ -351,7 +351,7 @@ __Returns:__
|
|
351
351
|
|
352
352
|
--
|
353
353
|
|
354
|
-
##### [device_is_windows?](https://github.com/appium/ruby_lib/blob/
|
354
|
+
##### [device_is_windows?](https://github.com/appium/ruby_lib/blob/bc3da9bc1ee58d5e96811b72f3ed737ed0e9c401/lib/appium_lib/driver.rb#L306) common
|
355
355
|
|
356
356
|
> def device_is_windows?
|
357
357
|
|
@@ -363,7 +363,7 @@ __Returns:__
|
|
363
363
|
|
364
364
|
--
|
365
365
|
|
366
|
-
##### [automation_name_is_uiautomator2?](https://github.com/appium/ruby_lib/blob/
|
366
|
+
##### [automation_name_is_uiautomator2?](https://github.com/appium/ruby_lib/blob/bc3da9bc1ee58d5e96811b72f3ed737ed0e9c401/lib/appium_lib/driver.rb#L312) common
|
367
367
|
|
368
368
|
> def automation_name_is_uiautomator2?
|
369
369
|
|
@@ -375,7 +375,7 @@ __Returns:__
|
|
375
375
|
|
376
376
|
--
|
377
377
|
|
378
|
-
##### [automation_name_is_espresso?](https://github.com/appium/ruby_lib/blob/
|
378
|
+
##### [automation_name_is_espresso?](https://github.com/appium/ruby_lib/blob/bc3da9bc1ee58d5e96811b72f3ed737ed0e9c401/lib/appium_lib/driver.rb#L318) common
|
379
379
|
|
380
380
|
> def automation_name_is_espresso?
|
381
381
|
|
@@ -387,7 +387,7 @@ __Returns:__
|
|
387
387
|
|
388
388
|
--
|
389
389
|
|
390
|
-
##### [automation_name_is_xcuitest?](https://github.com/appium/ruby_lib/blob/
|
390
|
+
##### [automation_name_is_xcuitest?](https://github.com/appium/ruby_lib/blob/bc3da9bc1ee58d5e96811b72f3ed737ed0e9c401/lib/appium_lib/driver.rb#L324) common
|
391
391
|
|
392
392
|
> def automation_name_is_xcuitest?
|
393
393
|
|
@@ -399,7 +399,7 @@ __Returns:__
|
|
399
399
|
|
400
400
|
--
|
401
401
|
|
402
|
-
##### [dialect](https://github.com/appium/ruby_lib/blob/
|
402
|
+
##### [dialect](https://github.com/appium/ruby_lib/blob/bc3da9bc1ee58d5e96811b72f3ed737ed0e9c401/lib/appium_lib/driver.rb#L344) common
|
403
403
|
|
404
404
|
> def dialect
|
405
405
|
|
@@ -421,7 +421,7 @@ __Returns:__
|
|
421
421
|
|
422
422
|
--
|
423
423
|
|
424
|
-
##### [action](https://github.com/appium/ruby_lib/blob/
|
424
|
+
##### [action](https://github.com/appium/ruby_lib/blob/bc3da9bc1ee58d5e96811b72f3ed737ed0e9c401/lib/appium_lib/driver.rb#L358) common
|
425
425
|
|
426
426
|
> def action
|
427
427
|
|
@@ -434,7 +434,7 @@ __Returns:__
|
|
434
434
|
|
435
435
|
--
|
436
436
|
|
437
|
-
##### [appium_server_version](https://github.com/appium/ruby_lib/blob/
|
437
|
+
##### [appium_server_version](https://github.com/appium/ruby_lib/blob/bc3da9bc1ee58d5e96811b72f3ed737ed0e9c401/lib/appium_lib/driver.rb#L378) common
|
438
438
|
|
439
439
|
> def appium_server_version
|
440
440
|
|
@@ -446,7 +446,7 @@ __Returns:__
|
|
446
446
|
|
447
447
|
--
|
448
448
|
|
449
|
-
##### [remote_status](https://github.com/appium/ruby_lib/blob/
|
449
|
+
##### [remote_status](https://github.com/appium/ruby_lib/blob/bc3da9bc1ee58d5e96811b72f3ed737ed0e9c401/lib/appium_lib/driver.rb#L386) common
|
450
450
|
|
451
451
|
> def appium_server_version
|
452
452
|
|
@@ -458,7 +458,7 @@ __Returns:__
|
|
458
458
|
|
459
459
|
--
|
460
460
|
|
461
|
-
##### [platform_version](https://github.com/appium/ruby_lib/blob/
|
461
|
+
##### [platform_version](https://github.com/appium/ruby_lib/blob/bc3da9bc1ee58d5e96811b72f3ed737ed0e9c401/lib/appium_lib/driver.rb#L390) common
|
462
462
|
|
463
463
|
> def platform_version
|
464
464
|
|
@@ -470,7 +470,7 @@ __Returns:__
|
|
470
470
|
|
471
471
|
--
|
472
472
|
|
473
|
-
##### [appium_client_version](https://github.com/appium/ruby_lib/blob/
|
473
|
+
##### [appium_client_version](https://github.com/appium/ruby_lib/blob/bc3da9bc1ee58d5e96811b72f3ed737ed0e9c401/lib/appium_lib/driver.rb#L403) common
|
474
474
|
|
475
475
|
> def appium_client_version
|
476
476
|
|
@@ -482,9 +482,9 @@ __Returns:__
|
|
482
482
|
|
483
483
|
--
|
484
484
|
|
485
|
-
##### [absolute_app_path](https://github.com/appium/ruby_lib/blob/
|
485
|
+
##### [absolute_app_path](https://github.com/appium/ruby_lib/blob/bc3da9bc1ee58d5e96811b72f3ed737ed0e9c401/lib/appium_lib/driver.rb#L415) common
|
486
486
|
|
487
|
-
> def
|
487
|
+
> def absolute_app_path(opts)
|
488
488
|
|
489
489
|
Converts app_path to an absolute path.
|
490
490
|
|
@@ -499,7 +499,7 @@ __Returns:__
|
|
499
499
|
|
500
500
|
--
|
501
501
|
|
502
|
-
##### [server_url](https://github.com/appium/ruby_lib/blob/
|
502
|
+
##### [server_url](https://github.com/appium/ruby_lib/blob/bc3da9bc1ee58d5e96811b72f3ed737ed0e9c401/lib/appium_lib/driver.rb#L436) common
|
503
503
|
|
504
504
|
> def server_url
|
505
505
|
|
@@ -511,7 +511,7 @@ __Returns:__
|
|
511
511
|
|
512
512
|
--
|
513
513
|
|
514
|
-
##### [restart](https://github.com/appium/ruby_lib/blob/
|
514
|
+
##### [restart](https://github.com/appium/ruby_lib/blob/bc3da9bc1ee58d5e96811b72f3ed737ed0e9c401/lib/appium_lib/driver.rb#L445) common
|
515
515
|
|
516
516
|
> def restart
|
517
517
|
|
@@ -523,7 +523,7 @@ __Returns:__
|
|
523
523
|
|
524
524
|
--
|
525
525
|
|
526
|
-
##### [screenshot](https://github.com/appium/ruby_lib/blob/
|
526
|
+
##### [screenshot](https://github.com/appium/ruby_lib/blob/bc3da9bc1ee58d5e96811b72f3ed737ed0e9c401/lib/appium_lib/driver.rb#L458) common
|
527
527
|
|
528
528
|
> def screenshot(png_save_path)
|
529
529
|
|
@@ -539,7 +539,7 @@ __Returns:__
|
|
539
539
|
|
540
540
|
--
|
541
541
|
|
542
|
-
##### [element_screenshot](https://github.com/appium/ruby_lib/blob/
|
542
|
+
##### [element_screenshot](https://github.com/appium/ruby_lib/blob/bc3da9bc1ee58d5e96811b72f3ed737ed0e9c401/lib/appium_lib/driver.rb#L472) common
|
543
543
|
|
544
544
|
> def element_screenshot(element, png_save_path)
|
545
545
|
|
@@ -557,7 +557,7 @@ __Returns:__
|
|
557
557
|
|
558
558
|
--
|
559
559
|
|
560
|
-
##### [driver_quit](https://github.com/appium/ruby_lib/blob/
|
560
|
+
##### [driver_quit](https://github.com/appium/ruby_lib/blob/bc3da9bc1ee58d5e96811b72f3ed737ed0e9c401/lib/appium_lib/driver.rb#L479) common
|
561
561
|
|
562
562
|
> def driver_quit
|
563
563
|
|
@@ -569,7 +569,7 @@ __Returns:__
|
|
569
569
|
|
570
570
|
--
|
571
571
|
|
572
|
-
##### [quit_driver](https://github.com/appium/ruby_lib/blob/
|
572
|
+
##### [quit_driver](https://github.com/appium/ruby_lib/blob/bc3da9bc1ee58d5e96811b72f3ed737ed0e9c401/lib/appium_lib/driver.rb#L482) common
|
573
573
|
|
574
574
|
> def driver_quit
|
575
575
|
|
@@ -581,7 +581,7 @@ __Returns:__
|
|
581
581
|
|
582
582
|
--
|
583
583
|
|
584
|
-
##### [window_size](https://github.com/appium/ruby_lib/blob/
|
584
|
+
##### [window_size](https://github.com/appium/ruby_lib/blob/bc3da9bc1ee58d5e96811b72f3ed737ed0e9c401/lib/appium_lib/driver.rb#L493) common
|
585
585
|
|
586
586
|
> def window_size
|
587
587
|
|
@@ -593,7 +593,7 @@ __Returns:__
|
|
593
593
|
|
594
594
|
--
|
595
595
|
|
596
|
-
##### [window_rect](https://github.com/appium/ruby_lib/blob/
|
596
|
+
##### [window_rect](https://github.com/appium/ruby_lib/blob/bc3da9bc1ee58d5e96811b72f3ed737ed0e9c401/lib/appium_lib/driver.rb#L508) common
|
597
597
|
|
598
598
|
> def window_rect
|
599
599
|
|
@@ -605,9 +605,9 @@ __Returns:__
|
|
605
605
|
|
606
606
|
--
|
607
607
|
|
608
|
-
##### [start_driver](https://github.com/appium/ruby_lib/blob/
|
608
|
+
##### [start_driver](https://github.com/appium/ruby_lib/blob/bc3da9bc1ee58d5e96811b72f3ed737ed0e9c401/lib/appium_lib/driver.rb#L541) common
|
609
609
|
|
610
|
-
> def start_driver(http_client_ops =
|
610
|
+
> def start_driver(http_client_ops = { http_client: ::Appium::Http::Default.new, open_timeout: 999_999, read_timeout: 999_999 })
|
611
611
|
|
612
612
|
Creates a new global driver and quits the old one if it exists.
|
613
613
|
You can customise http_client as the following
|
@@ -625,7 +625,7 @@ __Returns:__
|
|
625
625
|
|
626
626
|
--
|
627
627
|
|
628
|
-
##### [set_implicit_wait](https://github.com/appium/ruby_lib/blob/
|
628
|
+
##### [set_implicit_wait](https://github.com/appium/ruby_lib/blob/bc3da9bc1ee58d5e96811b72f3ed737ed0e9c401/lib/appium_lib/driver.rb#L562) common
|
629
629
|
|
630
630
|
> def set_implicit_wait(wait)
|
631
631
|
|
@@ -633,7 +633,7 @@ To ignore error for Espresso Driver
|
|
633
633
|
|
634
634
|
--
|
635
635
|
|
636
|
-
##### [no_wait](https://github.com/appium/ruby_lib/blob/
|
636
|
+
##### [no_wait](https://github.com/appium/ruby_lib/blob/bc3da9bc1ee58d5e96811b72f3ed737ed0e9c401/lib/appium_lib/driver.rb#L573) common
|
637
637
|
|
638
638
|
> def no_wait
|
639
639
|
|
@@ -641,7 +641,7 @@ Set implicit wait to zero.
|
|
641
641
|
|
642
642
|
--
|
643
643
|
|
644
|
-
##### [set_wait](https://github.com/appium/ruby_lib/blob/
|
644
|
+
##### [set_wait](https://github.com/appium/ruby_lib/blob/bc3da9bc1ee58d5e96811b72f3ed737ed0e9c401/lib/appium_lib/driver.rb#L587) common
|
645
645
|
|
646
646
|
> def set_wait(timeout = nil)
|
647
647
|
|
@@ -657,7 +657,7 @@ __Returns:__
|
|
657
657
|
|
658
658
|
--
|
659
659
|
|
660
|
-
##### [exists](https://github.com/appium/ruby_lib/blob/
|
660
|
+
##### [exists](https://github.com/appium/ruby_lib/blob/bc3da9bc1ee58d5e96811b72f3ed737ed0e9c401/lib/appium_lib/driver.rb#L604) common
|
661
661
|
|
662
662
|
> def exists(pre_check = 0, post_check = @core.default_wait)
|
663
663
|
|
@@ -681,7 +681,7 @@ __Returns:__
|
|
681
681
|
|
682
682
|
--
|
683
683
|
|
684
|
-
##### [execute_script](https://github.com/appium/ruby_lib/blob/
|
684
|
+
##### [execute_script](https://github.com/appium/ruby_lib/blob/bc3da9bc1ee58d5e96811b72f3ed737ed0e9c401/lib/appium_lib/driver.rb#L628) common
|
685
685
|
|
686
686
|
> def execute_script(script, *args)
|
687
687
|
|
@@ -699,7 +699,7 @@ __Returns:__
|
|
699
699
|
|
700
700
|
--
|
701
701
|
|
702
|
-
##### [execute_async_script](https://github.com/appium/ruby_lib/blob/
|
702
|
+
##### [execute_async_script](https://github.com/appium/ruby_lib/blob/bc3da9bc1ee58d5e96811b72f3ed737ed0e9c401/lib/appium_lib/driver.rb#L636) common
|
703
703
|
|
704
704
|
> def execute_async_script(script, *args)
|
705
705
|
|
@@ -709,7 +709,7 @@ Get the window handles of open browser windows
|
|
709
709
|
|
710
710
|
--
|
711
711
|
|
712
|
-
##### [execute_driver](https://github.com/appium/ruby_lib/blob/
|
712
|
+
##### [execute_driver](https://github.com/appium/ruby_lib/blob/bc3da9bc1ee58d5e96811b72f3ed737ed0e9c401/lib/appium_lib/driver.rb#L668) common
|
713
713
|
|
714
714
|
> def execute_driver(script: '', type: 'webdriverio', timeout_ms: nil)
|
715
715
|
|
@@ -735,7 +735,7 @@ Appium::Core::Base::Device::ExecuteDriver::Result.
|
|
735
735
|
|
736
736
|
--
|
737
737
|
|
738
|
-
##### [window_handles](https://github.com/appium/ruby_lib/blob/
|
738
|
+
##### [window_handles](https://github.com/appium/ruby_lib/blob/bc3da9bc1ee58d5e96811b72f3ed737ed0e9c401/lib/appium_lib/driver.rb#L672) common
|
739
739
|
|
740
740
|
> def window_handles
|
741
741
|
|
@@ -743,7 +743,7 @@ Appium::Core::Base::Device::ExecuteDriver::Result.
|
|
743
743
|
|
744
744
|
--
|
745
745
|
|
746
|
-
##### [window_handle](https://github.com/appium/ruby_lib/blob/
|
746
|
+
##### [window_handle](https://github.com/appium/ruby_lib/blob/bc3da9bc1ee58d5e96811b72f3ed737ed0e9c401/lib/appium_lib/driver.rb#L677) common
|
747
747
|
|
748
748
|
> def window_handle
|
749
749
|
|
@@ -751,7 +751,7 @@ Get the current window handle
|
|
751
751
|
|
752
752
|
--
|
753
753
|
|
754
|
-
##### [navigate](https://github.com/appium/ruby_lib/blob/
|
754
|
+
##### [navigate](https://github.com/appium/ruby_lib/blob/bc3da9bc1ee58d5e96811b72f3ed737ed0e9c401/lib/appium_lib/driver.rb#L681) common
|
755
755
|
|
756
756
|
> def navigate
|
757
757
|
|
@@ -759,7 +759,7 @@ Get the current window handle
|
|
759
759
|
|
760
760
|
--
|
761
761
|
|
762
|
-
##### [manage](https://github.com/appium/ruby_lib/blob/
|
762
|
+
##### [manage](https://github.com/appium/ruby_lib/blob/bc3da9bc1ee58d5e96811b72f3ed737ed0e9c401/lib/appium_lib/driver.rb#L685) common
|
763
763
|
|
764
764
|
> def manage
|
765
765
|
|
@@ -767,7 +767,7 @@ Get the current window handle
|
|
767
767
|
|
768
768
|
--
|
769
769
|
|
770
|
-
##### [get](https://github.com/appium/ruby_lib/blob/
|
770
|
+
##### [get](https://github.com/appium/ruby_lib/blob/bc3da9bc1ee58d5e96811b72f3ed737ed0e9c401/lib/appium_lib/driver.rb#L689) common
|
771
771
|
|
772
772
|
> def get(url)
|
773
773
|
|
@@ -775,7 +775,7 @@ Get the current window handle
|
|
775
775
|
|
776
776
|
--
|
777
777
|
|
778
|
-
##### [current_url](https://github.com/appium/ruby_lib/blob/
|
778
|
+
##### [current_url](https://github.com/appium/ruby_lib/blob/bc3da9bc1ee58d5e96811b72f3ed737ed0e9c401/lib/appium_lib/driver.rb#L693) common
|
779
779
|
|
780
780
|
> def current_url
|
781
781
|
|
@@ -783,7 +783,7 @@ Get the current window handle
|
|
783
783
|
|
784
784
|
--
|
785
785
|
|
786
|
-
##### [title](https://github.com/appium/ruby_lib/blob/
|
786
|
+
##### [title](https://github.com/appium/ruby_lib/blob/bc3da9bc1ee58d5e96811b72f3ed737ed0e9c401/lib/appium_lib/driver.rb#L697) common
|
787
787
|
|
788
788
|
> def title
|
789
789
|
|
@@ -791,7 +791,7 @@ Get the current window handle
|
|
791
791
|
|
792
792
|
--
|
793
793
|
|
794
|
-
##### [switch_to](https://github.com/appium/ruby_lib/blob/
|
794
|
+
##### [switch_to](https://github.com/appium/ruby_lib/blob/bc3da9bc1ee58d5e96811b72f3ed737ed0e9c401/lib/appium_lib/driver.rb#L703) common
|
795
795
|
|
796
796
|
> def switch_to
|
797
797
|
|
@@ -803,7 +803,7 @@ __Returns:__
|
|
803
803
|
|
804
804
|
--
|
805
805
|
|
806
|
-
##### [find_elements](https://github.com/appium/ruby_lib/blob/
|
806
|
+
##### [find_elements](https://github.com/appium/ruby_lib/blob/bc3da9bc1ee58d5e96811b72f3ed737ed0e9c401/lib/appium_lib/driver.rb#L730) common
|
807
807
|
|
808
808
|
> def find_elements(*args)
|
809
809
|
|
@@ -823,7 +823,7 @@ __Returns:__
|
|
823
823
|
|
824
824
|
--
|
825
825
|
|
826
|
-
##### [find_element](https://github.com/appium/ruby_lib/blob/
|
826
|
+
##### [find_element](https://github.com/appium/ruby_lib/blob/bc3da9bc1ee58d5e96811b72f3ed737ed0e9c401/lib/appium_lib/driver.rb#L746) common
|
827
827
|
|
828
828
|
> def find_element(*args)
|
829
829
|
|
@@ -841,7 +841,7 @@ __Returns:__
|
|
841
841
|
|
842
842
|
--
|
843
843
|
|
844
|
-
##### [find_element_by_image](https://github.com/appium/ruby_lib/blob/
|
844
|
+
##### [find_element_by_image](https://github.com/appium/ruby_lib/blob/bc3da9bc1ee58d5e96811b72f3ed737ed0e9c401/lib/appium_lib/driver.rb#L761) common
|
845
845
|
|
846
846
|
> def find_element_by_image(png_img_path)
|
847
847
|
|
@@ -857,7 +857,7 @@ __Returns:__
|
|
857
857
|
|
858
858
|
--
|
859
859
|
|
860
|
-
##### [find_elements_by_image](https://github.com/appium/ruby_lib/blob/
|
860
|
+
##### [find_elements_by_image](https://github.com/appium/ruby_lib/blob/bc3da9bc1ee58d5e96811b72f3ed737ed0e9c401/lib/appium_lib/driver.rb#L776) common
|
861
861
|
|
862
862
|
> def find_elements_by_image(png_img_paths)
|
863
863
|
|
@@ -873,7 +873,7 @@ __Returns:__
|
|
873
873
|
|
874
874
|
--
|
875
875
|
|
876
|
-
##### [set_location](https://github.com/appium/ruby_lib/blob/
|
876
|
+
##### [set_location](https://github.com/appium/ruby_lib/blob/bc3da9bc1ee58d5e96811b72f3ed737ed0e9c401/lib/appium_lib/driver.rb#L789) common
|
877
877
|
|
878
878
|
> def set_location(opts = {})
|
879
879
|
|
@@ -889,7 +889,50 @@ __Returns:__
|
|
889
889
|
|
890
890
|
--
|
891
891
|
|
892
|
-
##### [
|
892
|
+
##### [log_event](https://github.com/appium/ruby_lib/blob/bc3da9bc1ee58d5e96811b72f3ed737ed0e9c401/lib/appium_lib/driver.rb#L813) common
|
893
|
+
|
894
|
+
> def log_event(vendor:, event:)
|
895
|
+
|
896
|
+
Logs a custom event. The event is available via {::Appium::Core::Events#get} or
|
897
|
+
<code>driver.session_capabilities['events']</code> with <code>eventTimings</code> capabilities.
|
898
|
+
|
899
|
+
__Parameters:__
|
900
|
+
|
901
|
+
[String] vendor - The vendor prefix for the event
|
902
|
+
|
903
|
+
[String] event - The name of event
|
904
|
+
|
905
|
+
__Returns:__
|
906
|
+
|
907
|
+
[nil]
|
908
|
+
|
909
|
+
--
|
910
|
+
|
911
|
+
##### [log_event=](https://github.com/appium/ruby_lib/blob/bc3da9bc1ee58d5e96811b72f3ed737ed0e9c401/lib/appium_lib/driver.rb#L817) common
|
912
|
+
|
913
|
+
> def log_event=(log_event)
|
914
|
+
|
915
|
+
|
916
|
+
|
917
|
+
--
|
918
|
+
|
919
|
+
##### [log_events](https://github.com/appium/ruby_lib/blob/bc3da9bc1ee58d5e96811b72f3ed737ed0e9c401/lib/appium_lib/driver.rb#L834) common
|
920
|
+
|
921
|
+
> def log_events(type = nil)
|
922
|
+
|
923
|
+
Returns events with filtering with 'type'. Defaults to all available events.
|
924
|
+
|
925
|
+
__Parameters:__
|
926
|
+
|
927
|
+
[String] type - The type of events to get
|
928
|
+
|
929
|
+
__Returns:__
|
930
|
+
|
931
|
+
[Hash]
|
932
|
+
|
933
|
+
--
|
934
|
+
|
935
|
+
##### [x](https://github.com/appium/ruby_lib/blob/bc3da9bc1ee58d5e96811b72f3ed737ed0e9c401/lib/appium_lib/driver.rb#L841) common
|
893
936
|
|
894
937
|
> def x
|
895
938
|
|
@@ -902,7 +945,7 @@ __Returns:__
|
|
902
945
|
|
903
946
|
--
|
904
947
|
|
905
|
-
##### [username](https://github.com/appium/ruby_lib/blob/
|
948
|
+
##### [username](https://github.com/appium/ruby_lib/blob/bc3da9bc1ee58d5e96811b72f3ed737ed0e9c401/lib/appium_lib/sauce_labs.rb#L18) common
|
906
949
|
|
907
950
|
> def username
|
908
951
|
|
@@ -910,7 +953,7 @@ Username for use on Sauce Labs. Set `false` to disable Sauce, even when SAUCE_US
|
|
910
953
|
|
911
954
|
--
|
912
955
|
|
913
|
-
##### [access_key](https://github.com/appium/ruby_lib/blob/
|
956
|
+
##### [access_key](https://github.com/appium/ruby_lib/blob/bc3da9bc1ee58d5e96811b72f3ed737ed0e9c401/lib/appium_lib/sauce_labs.rb#L20) common
|
914
957
|
|
915
958
|
> def access_key
|
916
959
|
|
@@ -918,7 +961,7 @@ Access Key for use on Sauce Labs. Set `false` to disable Sauce, even when SAUCE_
|
|
918
961
|
|
919
962
|
--
|
920
963
|
|
921
|
-
##### [endpoint](https://github.com/appium/ruby_lib/blob/
|
964
|
+
##### [endpoint](https://github.com/appium/ruby_lib/blob/bc3da9bc1ee58d5e96811b72f3ed737ed0e9c401/lib/appium_lib/sauce_labs.rb#L22) common
|
922
965
|
|
923
966
|
> def endpoint
|
924
967
|
|
@@ -926,7 +969,7 @@ Override the Sauce Appium endpoint to allow e.g. TestObject tests. Default is 'o
|
|
926
969
|
|
927
970
|
--
|
928
971
|
|
929
|
-
##### [initialize](https://github.com/appium/ruby_lib/blob/
|
972
|
+
##### [initialize](https://github.com/appium/ruby_lib/blob/bc3da9bc1ee58d5e96811b72f3ed737ed0e9c401/lib/appium_lib/sauce_labs.rb#L47) common
|
930
973
|
|
931
974
|
> def initialize(appium_lib_opts)
|
932
975
|
|
@@ -942,7 +985,7 @@ __Returns:__
|
|
942
985
|
|
943
986
|
--
|
944
987
|
|
945
|
-
##### [sauce_server_url?](https://github.com/appium/ruby_lib/blob/
|
988
|
+
##### [sauce_server_url?](https://github.com/appium/ruby_lib/blob/bc3da9bc1ee58d5e96811b72f3ed737ed0e9c401/lib/appium_lib/sauce_labs.rb#L67) common
|
946
989
|
|
947
990
|
> def sauce_server_url?
|
948
991
|
|
@@ -954,7 +997,7 @@ __Returns:__
|
|
954
997
|
|
955
998
|
--
|
956
999
|
|
957
|
-
##### [server_url](https://github.com/appium/ruby_lib/blob/
|
1000
|
+
##### [server_url](https://github.com/appium/ruby_lib/blob/bc3da9bc1ee58d5e96811b72f3ed737ed0e9c401/lib/appium_lib/sauce_labs.rb#L80) common
|
958
1001
|
|
959
1002
|
> def server_url
|
960
1003
|
|
@@ -966,7 +1009,7 @@ __Returns:__
|
|
966
1009
|
|
967
1010
|
--
|
968
1011
|
|
969
|
-
##### [get_log](https://github.com/appium/ruby_lib/blob/
|
1012
|
+
##### [get_log](https://github.com/appium/ruby_lib/blob/bc3da9bc1ee58d5e96811b72f3ed737ed0e9c401/lib/appium_lib/common/log.rb#L25) common
|
970
1013
|
|
971
1014
|
> def get_log(type)
|
972
1015
|
|
@@ -982,7 +1025,7 @@ __Returns:__
|
|
982
1025
|
|
983
1026
|
--
|
984
1027
|
|
985
|
-
##### [get_available_log_types](https://github.com/appium/ruby_lib/blob/
|
1028
|
+
##### [get_available_log_types](https://github.com/appium/ruby_lib/blob/bc3da9bc1ee58d5e96811b72f3ed737ed0e9c401/lib/appium_lib/common/log.rb#L37) common
|
986
1029
|
|
987
1030
|
> def get_available_log_types
|
988
1031
|
|
@@ -994,7 +1037,7 @@ __Returns:__
|
|
994
1037
|
|
995
1038
|
--
|
996
1039
|
|
997
|
-
##### [wait_true](https://github.com/appium/ruby_lib/blob/
|
1040
|
+
##### [wait_true](https://github.com/appium/ruby_lib/blob/bc3da9bc1ee58d5e96811b72f3ed737ed0e9c401/lib/appium_lib/common/wait.rb#L44) common
|
998
1041
|
|
999
1042
|
> def wait_true(opts = {})
|
1000
1043
|
|
@@ -1014,7 +1057,7 @@ __Parameters:__
|
|
1014
1057
|
|
1015
1058
|
--
|
1016
1059
|
|
1017
|
-
##### [wait](https://github.com/appium/ruby_lib/blob/
|
1060
|
+
##### [wait](https://github.com/appium/ruby_lib/blob/bc3da9bc1ee58d5e96811b72f3ed737ed0e9c401/lib/appium_lib/common/wait.rb#L73) common
|
1018
1061
|
|
1019
1062
|
> def wait(opts = {})
|
1020
1063
|
|
@@ -1032,7 +1075,7 @@ __Parameters:__
|
|
1032
1075
|
|
1033
1076
|
--
|
1034
1077
|
|
1035
|
-
##### [add_touch_actions](https://github.com/appium/ruby_lib/blob/
|
1078
|
+
##### [add_touch_actions](https://github.com/appium/ruby_lib/blob/bc3da9bc1ee58d5e96811b72f3ed737ed0e9c401/lib/appium_lib/common/device.rb#L26) common
|
1036
1079
|
|
1037
1080
|
> def add_touch_actions
|
1038
1081
|
|
@@ -1040,7 +1083,7 @@ __Parameters:__
|
|
1040
1083
|
|
1041
1084
|
--
|
1042
1085
|
|
1043
|
-
##### [delegate_from_appium_driver](https://github.com/appium/ruby_lib/blob/
|
1086
|
+
##### [delegate_from_appium_driver](https://github.com/appium/ruby_lib/blob/bc3da9bc1ee58d5e96811b72f3ed737ed0e9c401/lib/appium_lib/common/device.rb#L38) common
|
1044
1087
|
|
1045
1088
|
> def delegate_from_appium_driver(method, delegation_target)
|
1046
1089
|
|
@@ -1048,7 +1091,7 @@ __Parameters:__
|
|
1048
1091
|
|
1049
1092
|
--
|
1050
1093
|
|
1051
|
-
##### [ignore](https://github.com/appium/ruby_lib/blob/
|
1094
|
+
##### [ignore](https://github.com/appium/ruby_lib/blob/bc3da9bc1ee58d5e96811b72f3ed737ed0e9c401/lib/appium_lib/common/helper.rb#L30) common
|
1052
1095
|
|
1053
1096
|
> def ignore
|
1054
1097
|
|
@@ -1056,7 +1099,7 @@ Return yield and ignore any exceptions.
|
|
1056
1099
|
|
1057
1100
|
--
|
1058
1101
|
|
1059
|
-
##### [back](https://github.com/appium/ruby_lib/blob/
|
1102
|
+
##### [back](https://github.com/appium/ruby_lib/blob/bc3da9bc1ee58d5e96811b72f3ed737ed0e9c401/lib/appium_lib/common/helper.rb#L38) common
|
1060
1103
|
|
1061
1104
|
> def back
|
1062
1105
|
|
@@ -1068,7 +1111,7 @@ __Returns:__
|
|
1068
1111
|
|
1069
1112
|
--
|
1070
1113
|
|
1071
|
-
##### [session_id](https://github.com/appium/ruby_lib/blob/
|
1114
|
+
##### [session_id](https://github.com/appium/ruby_lib/blob/bc3da9bc1ee58d5e96811b72f3ed737ed0e9c401/lib/appium_lib/common/helper.rb#L49) common
|
1072
1115
|
|
1073
1116
|
> def session_id
|
1074
1117
|
|
@@ -1080,7 +1123,7 @@ __Returns:__
|
|
1080
1123
|
|
1081
1124
|
--
|
1082
1125
|
|
1083
|
-
##### [xpath](https://github.com/appium/ruby_lib/blob/
|
1126
|
+
##### [xpath](https://github.com/appium/ruby_lib/blob/bc3da9bc1ee58d5e96811b72f3ed737ed0e9c401/lib/appium_lib/common/helper.rb#L57) common
|
1084
1127
|
|
1085
1128
|
> def xpath(xpath_str)
|
1086
1129
|
|
@@ -1096,7 +1139,7 @@ __Returns:__
|
|
1096
1139
|
|
1097
1140
|
--
|
1098
1141
|
|
1099
|
-
##### [xpaths](https://github.com/appium/ruby_lib/blob/
|
1142
|
+
##### [xpaths](https://github.com/appium/ruby_lib/blob/bc3da9bc1ee58d5e96811b72f3ed737ed0e9c401/lib/appium_lib/common/helper.rb#L65) common
|
1100
1143
|
|
1101
1144
|
> def xpaths(xpath_str)
|
1102
1145
|
|
@@ -1112,19 +1155,19 @@ __Returns:__
|
|
1112
1155
|
|
1113
1156
|
--
|
1114
1157
|
|
1115
|
-
##### [result](https://github.com/appium/ruby_lib/blob/
|
1158
|
+
##### [result](https://github.com/appium/ruby_lib/blob/bc3da9bc1ee58d5e96811b72f3ed737ed0e9c401/lib/appium_lib/common/helper.rb#L75) common
|
1116
1159
|
|
1117
1160
|
> def result
|
1118
1161
|
|
1119
|
-
Returns the value of attribute result
|
1162
|
+
Returns the value of attribute result.
|
1120
1163
|
|
1121
1164
|
--
|
1122
1165
|
|
1123
|
-
##### [initialize](https://github.com/appium/ruby_lib/blob/
|
1166
|
+
##### [initialize](https://github.com/appium/ruby_lib/blob/bc3da9bc1ee58d5e96811b72f3ed737ed0e9c401/lib/appium_lib/common/helper.rb#L77) common
|
1124
1167
|
|
1125
1168
|
> def initialize(platform)
|
1126
1169
|
|
1127
|
-
|
1170
|
+
rubocop:disable Lint/MissingSuper
|
1128
1171
|
|
1129
1172
|
__Returns:__
|
1130
1173
|
|
@@ -1132,7 +1175,7 @@ __Returns:__
|
|
1132
1175
|
|
1133
1176
|
--
|
1134
1177
|
|
1135
|
-
##### [reset](https://github.com/appium/ruby_lib/blob/
|
1178
|
+
##### [reset](https://github.com/appium/ruby_lib/blob/bc3da9bc1ee58d5e96811b72f3ed737ed0e9c401/lib/appium_lib/common/helper.rb#L82) common
|
1136
1179
|
|
1137
1180
|
> def reset
|
1138
1181
|
|
@@ -1140,7 +1183,7 @@ __Returns:__
|
|
1140
1183
|
|
1141
1184
|
--
|
1142
1185
|
|
1143
|
-
##### [start_element](https://github.com/appium/ruby_lib/blob/
|
1186
|
+
##### [start_element](https://github.com/appium/ruby_lib/blob/bc3da9bc1ee58d5e96811b72f3ed737ed0e9c401/lib/appium_lib/common/helper.rb#L87) common
|
1144
1187
|
|
1145
1188
|
> def start_element(name, attrs = [])
|
1146
1189
|
|
@@ -1148,7 +1191,7 @@ http://nokogiri.org/Nokogiri/XML/SAX/Document.html
|
|
1148
1191
|
|
1149
1192
|
--
|
1150
1193
|
|
1151
|
-
##### [formatted_result](https://github.com/appium/ruby_lib/blob/
|
1194
|
+
##### [formatted_result](https://github.com/appium/ruby_lib/blob/bc3da9bc1ee58d5e96811b72f3ed737ed0e9c401/lib/appium_lib/common/helper.rb#L98) common
|
1152
1195
|
|
1153
1196
|
> def formatted_result
|
1154
1197
|
|
@@ -1156,7 +1199,7 @@ http://nokogiri.org/Nokogiri/XML/SAX/Document.html
|
|
1156
1199
|
|
1157
1200
|
--
|
1158
1201
|
|
1159
|
-
##### [get_page_class](https://github.com/appium/ruby_lib/blob/
|
1202
|
+
##### [get_page_class](https://github.com/appium/ruby_lib/blob/bc3da9bc1ee58d5e96811b72f3ed737ed0e9c401/lib/appium_lib/common/helper.rb#L116) common
|
1160
1203
|
|
1161
1204
|
> def get_page_class
|
1162
1205
|
|
@@ -1168,7 +1211,7 @@ __Returns:__
|
|
1168
1211
|
|
1169
1212
|
--
|
1170
1213
|
|
1171
|
-
##### [page_class](https://github.com/appium/ruby_lib/blob/
|
1214
|
+
##### [page_class](https://github.com/appium/ruby_lib/blob/bc3da9bc1ee58d5e96811b72f3ed737ed0e9c401/lib/appium_lib/common/helper.rb#L141) common
|
1172
1215
|
|
1173
1216
|
> def page_class
|
1174
1217
|
|
@@ -1181,7 +1224,7 @@ __Returns:__
|
|
1181
1224
|
|
1182
1225
|
--
|
1183
1226
|
|
1184
|
-
##### [source](https://github.com/appium/ruby_lib/blob/
|
1227
|
+
##### [source](https://github.com/appium/ruby_lib/blob/bc3da9bc1ee58d5e96811b72f3ed737ed0e9c401/lib/appium_lib/common/helper.rb#L148) common
|
1185
1228
|
|
1186
1229
|
> def source
|
1187
1230
|
|
@@ -1193,7 +1236,7 @@ __Returns:__
|
|
1193
1236
|
|
1194
1237
|
--
|
1195
1238
|
|
1196
|
-
##### [get_source](https://github.com/appium/ruby_lib/blob/
|
1239
|
+
##### [get_source](https://github.com/appium/ruby_lib/blob/bc3da9bc1ee58d5e96811b72f3ed737ed0e9c401/lib/appium_lib/common/helper.rb#L155) common
|
1197
1240
|
|
1198
1241
|
> def get_source
|
1199
1242
|
|
@@ -1206,7 +1249,7 @@ __Returns:__
|
|
1206
1249
|
|
1207
1250
|
--
|
1208
1251
|
|
1209
|
-
##### [px_to_window_rel](https://github.com/appium/ruby_lib/blob/
|
1252
|
+
##### [px_to_window_rel](https://github.com/appium/ruby_lib/blob/bc3da9bc1ee58d5e96811b72f3ed737ed0e9c401/lib/appium_lib/common/helper.rb#L165) common
|
1210
1253
|
|
1211
1254
|
> def px_to_window_rel(opts = {}, driver = $driver)
|
1212
1255
|
|
@@ -1214,7 +1257,7 @@ Converts pixel values to window relative values
|
|
1214
1257
|
|
1215
1258
|
--
|
1216
1259
|
|
1217
|
-
##### [xml_keys](https://github.com/appium/ruby_lib/blob/
|
1260
|
+
##### [xml_keys](https://github.com/appium/ruby_lib/blob/bc3da9bc1ee58d5e96811b72f3ed737ed0e9c401/lib/appium_lib/common/helper.rb#L184) common
|
1218
1261
|
|
1219
1262
|
> def xml_keys(target)
|
1220
1263
|
|
@@ -1230,7 +1273,7 @@ __Returns:__
|
|
1230
1273
|
|
1231
1274
|
--
|
1232
1275
|
|
1233
|
-
##### [xml_values](https://github.com/appium/ruby_lib/blob/
|
1276
|
+
##### [xml_values](https://github.com/appium/ruby_lib/blob/bc3da9bc1ee58d5e96811b72f3ed737ed0e9c401/lib/appium_lib/common/helper.rb#L192) common
|
1234
1277
|
|
1235
1278
|
> def xml_values(target)
|
1236
1279
|
|
@@ -1246,7 +1289,7 @@ __Returns:__
|
|
1246
1289
|
|
1247
1290
|
--
|
1248
1291
|
|
1249
|
-
##### [resolve_id](https://github.com/appium/ruby_lib/blob/
|
1292
|
+
##### [resolve_id](https://github.com/appium/ruby_lib/blob/bc3da9bc1ee58d5e96811b72f3ed737ed0e9c401/lib/appium_lib/common/helper.rb#L200) common
|
1250
1293
|
|
1251
1294
|
> def resolve_id(id)
|
1252
1295
|
|
@@ -1262,15 +1305,15 @@ __Returns:__
|
|
1262
1305
|
|
1263
1306
|
--
|
1264
1307
|
|
1265
|
-
##### [filter](https://github.com/appium/ruby_lib/blob/
|
1308
|
+
##### [filter](https://github.com/appium/ruby_lib/blob/bc3da9bc1ee58d5e96811b72f3ed737ed0e9c401/lib/appium_lib/common/helper.rb#L207) common
|
1266
1309
|
|
1267
1310
|
> def filter
|
1268
1311
|
|
1269
|
-
Returns the value of attribute filter
|
1312
|
+
Returns the value of attribute filter.
|
1270
1313
|
|
1271
1314
|
--
|
1272
1315
|
|
1273
|
-
##### [filter=](https://github.com/appium/ruby_lib/blob/
|
1316
|
+
##### [filter=](https://github.com/appium/ruby_lib/blob/bc3da9bc1ee58d5e96811b72f3ed737ed0e9c401/lib/appium_lib/common/helper.rb#L210) common
|
1274
1317
|
|
1275
1318
|
> def filter=(value)
|
1276
1319
|
|
@@ -1278,11 +1321,11 @@ convert to string to support symbols
|
|
1278
1321
|
|
1279
1322
|
--
|
1280
1323
|
|
1281
|
-
##### [initialize](https://github.com/appium/ruby_lib/blob/
|
1324
|
+
##### [initialize](https://github.com/appium/ruby_lib/blob/bc3da9bc1ee58d5e96811b72f3ed737ed0e9c401/lib/appium_lib/common/helper.rb#L217) common
|
1282
1325
|
|
1283
1326
|
> def initialize
|
1284
1327
|
|
1285
|
-
|
1328
|
+
rubocop:disable Lint/MissingSuper
|
1286
1329
|
|
1287
1330
|
__Returns:__
|
1288
1331
|
|
@@ -1290,7 +1333,7 @@ __Returns:__
|
|
1290
1333
|
|
1291
1334
|
--
|
1292
1335
|
|
1293
|
-
##### [reset](https://github.com/appium/ruby_lib/blob/
|
1336
|
+
##### [reset](https://github.com/appium/ruby_lib/blob/bc3da9bc1ee58d5e96811b72f3ed737ed0e9c401/lib/appium_lib/common/helper.rb#L222) common
|
1294
1337
|
|
1295
1338
|
> def reset
|
1296
1339
|
|
@@ -1298,7 +1341,7 @@ __Returns:__
|
|
1298
1341
|
|
1299
1342
|
--
|
1300
1343
|
|
1301
|
-
##### [result](https://github.com/appium/ruby_lib/blob/
|
1344
|
+
##### [result](https://github.com/appium/ruby_lib/blob/bc3da9bc1ee58d5e96811b72f3ed737ed0e9c401/lib/appium_lib/common/helper.rb#L228) common
|
1302
1345
|
|
1303
1346
|
> def result
|
1304
1347
|
|
@@ -1306,7 +1349,7 @@ __Returns:__
|
|
1306
1349
|
|
1307
1350
|
--
|
1308
1351
|
|
1309
|
-
##### [start_element](https://github.com/appium/ruby_lib/blob/
|
1352
|
+
##### [start_element](https://github.com/appium/ruby_lib/blob/bc3da9bc1ee58d5e96811b72f3ed737ed0e9c401/lib/appium_lib/common/helper.rb#L242) common
|
1310
1353
|
|
1311
1354
|
> def start_element(name, attrs = [])
|
1312
1355
|
|
@@ -1314,7 +1357,7 @@ __Returns:__
|
|
1314
1357
|
|
1315
1358
|
--
|
1316
1359
|
|
1317
|
-
##### [end_element](https://github.com/appium/ruby_lib/blob/
|
1360
|
+
##### [end_element](https://github.com/appium/ruby_lib/blob/bc3da9bc1ee58d5e96811b72f3ed737ed0e9c401/lib/appium_lib/common/helper.rb#L252) common
|
1318
1361
|
|
1319
1362
|
> def end_element(name)
|
1320
1363
|
|
@@ -1322,7 +1365,7 @@ __Returns:__
|
|
1322
1365
|
|
1323
1366
|
--
|
1324
1367
|
|
1325
|
-
##### [characters](https://github.com/appium/ruby_lib/blob/
|
1368
|
+
##### [characters](https://github.com/appium/ruby_lib/blob/bc3da9bc1ee58d5e96811b72f3ed737ed0e9c401/lib/appium_lib/common/helper.rb#L259) common
|
1326
1369
|
|
1327
1370
|
> def characters(chars)
|
1328
1371
|
|
@@ -1330,15 +1373,7 @@ __Returns:__
|
|
1330
1373
|
|
1331
1374
|
--
|
1332
1375
|
|
1333
|
-
##### [
|
1334
|
-
|
1335
|
-
> DEFAULT_HEADERS = { 'Accept' => CONTENT_TYPE, 'User-Agent' => "appium/ruby_lib/#{::Appium::VERSION}" }.freeze
|
1336
|
-
|
1337
|
-
Default HTTP client inherit Appium::Core::Base::Http::Default, but has different DEFAULT_HEADERS
|
1338
|
-
|
1339
|
-
--
|
1340
|
-
|
1341
|
-
##### [pinch](https://github.com/appium/ruby_lib/blob/954a3a8d4d5cd56fa5a4e80d021805759dbf5e10/lib/appium_lib/common/multi_touch.rb#L65) common
|
1376
|
+
##### [pinch](https://github.com/appium/ruby_lib/blob/bc3da9bc1ee58d5e96811b72f3ed737ed0e9c401/lib/appium_lib/common/multi_touch.rb#L65) common
|
1342
1377
|
|
1343
1378
|
> def pinch(percentage = 25, auto_perform = true, driver = $driver)
|
1344
1379
|
|
@@ -1358,7 +1393,7 @@ __Parameters:__
|
|
1358
1393
|
|
1359
1394
|
--
|
1360
1395
|
|
1361
|
-
##### [zoom](https://github.com/appium/ruby_lib/blob/
|
1396
|
+
##### [zoom](https://github.com/appium/ruby_lib/blob/bc3da9bc1ee58d5e96811b72f3ed737ed0e9c401/lib/appium_lib/common/multi_touch.rb#L108) common
|
1362
1397
|
|
1363
1398
|
> def zoom(percentage = 200, auto_perform = true, driver = $driver)
|
1364
1399
|
|
@@ -1378,7 +1413,7 @@ __Parameters:__
|
|
1378
1413
|
|
1379
1414
|
--
|
1380
1415
|
|
1381
|
-
##### [initialize](https://github.com/appium/ruby_lib/blob/
|
1416
|
+
##### [initialize](https://github.com/appium/ruby_lib/blob/bc3da9bc1ee58d5e96811b72f3ed737ed0e9c401/lib/appium_lib/common/multi_touch.rb#L194) common
|
1382
1417
|
|
1383
1418
|
> def initialize(driver = $driver)
|
1384
1419
|
|
@@ -1390,15 +1425,7 @@ __Returns:__
|
|
1390
1425
|
|
1391
1426
|
--
|
1392
1427
|
|
1393
|
-
##### [
|
1394
|
-
|
1395
|
-
> COMPLEX_ACTIONS = ::Appium::Core::TouchAction::COMPLEX_ACTIONS
|
1396
|
-
|
1397
|
-
|
1398
|
-
|
1399
|
-
--
|
1400
|
-
|
1401
|
-
##### [initialize](https://github.com/appium/ruby_lib/blob/954a3a8d4d5cd56fa5a4e80d021805759dbf5e10/lib/appium_lib/common/touch_actions.rb#L62) common
|
1428
|
+
##### [initialize](https://github.com/appium/ruby_lib/blob/bc3da9bc1ee58d5e96811b72f3ed737ed0e9c401/lib/appium_lib/common/touch_actions.rb#L62) common
|
1402
1429
|
|
1403
1430
|
> def initialize(driver = $driver)
|
1404
1431
|
|
@@ -1410,7 +1437,7 @@ __Returns:__
|
|
1410
1437
|
|
1411
1438
|
--
|
1412
1439
|
|
1413
|
-
##### [swipe](https://github.com/appium/ruby_lib/blob/
|
1440
|
+
##### [swipe](https://github.com/appium/ruby_lib/blob/bc3da9bc1ee58d5e96811b72f3ed737ed0e9c401/lib/appium_lib/common/touch_actions.rb#L66) common
|
1414
1441
|
|
1415
1442
|
> def swipe(opts)
|
1416
1443
|
|
@@ -1418,7 +1445,7 @@ __Returns:__
|
|
1418
1445
|
|
1419
1446
|
--
|
1420
1447
|
|
1421
|
-
##### [initialize](https://github.com/appium/ruby_lib/blob/
|
1448
|
+
##### [initialize](https://github.com/appium/ruby_lib/blob/bc3da9bc1ee58d5e96811b72f3ed737ed0e9c401/lib/appium_lib/common/command/ws_logcat.rb#L19) common
|
1422
1449
|
|
1423
1450
|
> def initialize(url:, output_file: 'logcat.log')
|
1424
1451
|
|
@@ -1430,7 +1457,7 @@ __Returns:__
|
|
1430
1457
|
|
1431
1458
|
--
|
1432
1459
|
|
1433
|
-
##### [handle_message_data](https://github.com/appium/ruby_lib/blob/
|
1460
|
+
##### [handle_message_data](https://github.com/appium/ruby_lib/blob/bc3da9bc1ee58d5e96811b72f3ed737ed0e9c401/lib/appium_lib/common/command/ws_logcat.rb#L24) common
|
1434
1461
|
|
1435
1462
|
> def handle_message_data(data)
|
1436
1463
|
|
@@ -1438,47 +1465,15 @@ __Returns:__
|
|
1438
1465
|
|
1439
1466
|
--
|
1440
1467
|
|
1441
|
-
##### [for](https://github.com/appium/ruby_lib/blob/
|
1468
|
+
##### [for](https://github.com/appium/ruby_lib/blob/bc3da9bc1ee58d5e96811b72f3ed737ed0e9c401/lib/appium_lib/ios/ios.rb#L29) ios
|
1442
1469
|
|
1443
|
-
> def
|
1470
|
+
> def for(target)
|
1444
1471
|
|
1445
1472
|
|
1446
1473
|
|
1447
1474
|
--
|
1448
1475
|
|
1449
|
-
##### [
|
1450
|
-
|
1451
|
-
> UIA_STATIC_TEXT = 'UIAStaticText'
|
1452
|
-
|
1453
|
-
|
1454
|
-
|
1455
|
-
--
|
1456
|
-
|
1457
|
-
##### [UIAStaticText](https://github.com/appium/ruby_lib/blob/954a3a8d4d5cd56fa5a4e80d021805759dbf5e10/lib/appium_lib/ios/element/text.rb#L19) ios
|
1458
|
-
|
1459
|
-
> UIAStaticText = UIA_STATIC_TEXT
|
1460
|
-
|
1461
|
-
|
1462
|
-
|
1463
|
-
--
|
1464
|
-
|
1465
|
-
##### [XCUIELEMENT_TYPE_STATIC_TEXT](https://github.com/appium/ruby_lib/blob/954a3a8d4d5cd56fa5a4e80d021805759dbf5e10/lib/appium_lib/ios/element/text.rb#L21) ios
|
1466
|
-
|
1467
|
-
> XCUIELEMENT_TYPE_STATIC_TEXT = 'XCUIElementTypeStaticText'
|
1468
|
-
|
1469
|
-
|
1470
|
-
|
1471
|
-
--
|
1472
|
-
|
1473
|
-
##### [XCUIElementTypeStaticText](https://github.com/appium/ruby_lib/blob/954a3a8d4d5cd56fa5a4e80d021805759dbf5e10/lib/appium_lib/ios/element/text.rb#L22) ios
|
1474
|
-
|
1475
|
-
> XCUIElementTypeStaticText = XCUIELEMENT_TYPE_STATIC_TEXT
|
1476
|
-
|
1477
|
-
|
1478
|
-
|
1479
|
-
--
|
1480
|
-
|
1481
|
-
##### [static_text_class](https://github.com/appium/ruby_lib/blob/954a3a8d4d5cd56fa5a4e80d021805759dbf5e10/lib/appium_lib/ios/element/text.rb#L25) ios
|
1476
|
+
##### [static_text_class](https://github.com/appium/ruby_lib/blob/bc3da9bc1ee58d5e96811b72f3ed737ed0e9c401/lib/appium_lib/ios/element/text.rb#L25) ios
|
1482
1477
|
|
1483
1478
|
> def static_text_class
|
1484
1479
|
|
@@ -1490,7 +1485,7 @@ __Returns:__
|
|
1490
1485
|
|
1491
1486
|
--
|
1492
1487
|
|
1493
|
-
##### [text](https://github.com/appium/ruby_lib/blob/
|
1488
|
+
##### [text](https://github.com/appium/ruby_lib/blob/bc3da9bc1ee58d5e96811b72f3ed737ed0e9c401/lib/appium_lib/ios/element/text.rb#L33) ios
|
1494
1489
|
|
1495
1490
|
> def text(value)
|
1496
1491
|
|
@@ -1507,7 +1502,7 @@ __Returns:__
|
|
1507
1502
|
|
1508
1503
|
--
|
1509
1504
|
|
1510
|
-
##### [texts](https://github.com/appium/ruby_lib/blob/
|
1505
|
+
##### [texts](https://github.com/appium/ruby_lib/blob/bc3da9bc1ee58d5e96811b72f3ed737ed0e9c401/lib/appium_lib/ios/element/text.rb#L43) ios
|
1511
1506
|
|
1512
1507
|
> def texts(value = false)
|
1513
1508
|
|
@@ -1524,7 +1519,7 @@ __Returns:__
|
|
1524
1519
|
|
1525
1520
|
--
|
1526
1521
|
|
1527
|
-
##### [first_text](https://github.com/appium/ruby_lib/blob/
|
1522
|
+
##### [first_text](https://github.com/appium/ruby_lib/blob/bc3da9bc1ee58d5e96811b72f3ed737ed0e9c401/lib/appium_lib/ios/element/text.rb#L51) ios
|
1528
1523
|
|
1529
1524
|
> def first_text
|
1530
1525
|
|
@@ -1536,7 +1531,7 @@ __Returns:__
|
|
1536
1531
|
|
1537
1532
|
--
|
1538
1533
|
|
1539
|
-
##### [last_text](https://github.com/appium/ruby_lib/blob/
|
1534
|
+
##### [last_text](https://github.com/appium/ruby_lib/blob/bc3da9bc1ee58d5e96811b72f3ed737ed0e9c401/lib/appium_lib/ios/element/text.rb#L57) ios
|
1540
1535
|
|
1541
1536
|
> def last_text
|
1542
1537
|
|
@@ -1548,7 +1543,7 @@ __Returns:__
|
|
1548
1543
|
|
1549
1544
|
--
|
1550
1545
|
|
1551
|
-
##### [text_exact](https://github.com/appium/ruby_lib/blob/
|
1546
|
+
##### [text_exact](https://github.com/appium/ruby_lib/blob/bc3da9bc1ee58d5e96811b72f3ed737ed0e9c401/lib/appium_lib/ios/element/text.rb#L64) ios
|
1552
1547
|
|
1553
1548
|
> def text_exact(value)
|
1554
1549
|
|
@@ -1564,7 +1559,7 @@ __Returns:__
|
|
1564
1559
|
|
1565
1560
|
--
|
1566
1561
|
|
1567
|
-
##### [texts_exact](https://github.com/appium/ruby_lib/blob/
|
1562
|
+
##### [texts_exact](https://github.com/appium/ruby_lib/blob/bc3da9bc1ee58d5e96811b72f3ed737ed0e9c401/lib/appium_lib/ios/element/text.rb#L71) ios
|
1568
1563
|
|
1569
1564
|
> def texts_exact(value)
|
1570
1565
|
|
@@ -1580,15 +1575,15 @@ __Returns:__
|
|
1580
1575
|
|
1581
1576
|
--
|
1582
1577
|
|
1583
|
-
##### [filter](https://github.com/appium/ruby_lib/blob/
|
1578
|
+
##### [filter](https://github.com/appium/ruby_lib/blob/bc3da9bc1ee58d5e96811b72f3ed737ed0e9c401/lib/appium_lib/ios/common/helper.rb#L19) ios
|
1584
1579
|
|
1585
1580
|
> def filter
|
1586
1581
|
|
1587
|
-
Returns the value of attribute filter
|
1582
|
+
Returns the value of attribute filter.
|
1588
1583
|
|
1589
1584
|
--
|
1590
1585
|
|
1591
|
-
##### [filter=](https://github.com/appium/ruby_lib/blob/
|
1586
|
+
##### [filter=](https://github.com/appium/ruby_lib/blob/bc3da9bc1ee58d5e96811b72f3ed737ed0e9c401/lib/appium_lib/ios/common/helper.rb#L19) ios
|
1592
1587
|
|
1593
1588
|
> def filter=(value)
|
1594
1589
|
|
@@ -1600,7 +1595,7 @@ __Parameters:__
|
|
1600
1595
|
|
1601
1596
|
--
|
1602
1597
|
|
1603
|
-
##### [start_element](https://github.com/appium/ruby_lib/blob/
|
1598
|
+
##### [start_element](https://github.com/appium/ruby_lib/blob/bc3da9bc1ee58d5e96811b72f3ed737ed0e9c401/lib/appium_lib/ios/common/helper.rb#L21) ios
|
1604
1599
|
|
1605
1600
|
> def start_element(type, attrs = [])
|
1606
1601
|
|
@@ -1608,7 +1603,7 @@ __Parameters:__
|
|
1608
1603
|
|
1609
1604
|
--
|
1610
1605
|
|
1611
|
-
##### [ios_password](https://github.com/appium/ruby_lib/blob/
|
1606
|
+
##### [ios_password](https://github.com/appium/ruby_lib/blob/bc3da9bc1ee58d5e96811b72f3ed737ed0e9c401/lib/appium_lib/ios/common/helper.rb#L58) ios
|
1612
1607
|
|
1613
1608
|
> def ios_password(length = 1)
|
1614
1609
|
|
@@ -1626,7 +1621,7 @@ __Returns:__
|
|
1626
1621
|
|
1627
1622
|
--
|
1628
1623
|
|
1629
|
-
##### [page](https://github.com/appium/ruby_lib/blob/
|
1624
|
+
##### [page](https://github.com/appium/ruby_lib/blob/bc3da9bc1ee58d5e96811b72f3ed737ed0e9c401/lib/appium_lib/ios/common/helper.rb#L74) ios
|
1630
1625
|
|
1631
1626
|
> def page(opts = {})
|
1632
1627
|
|
@@ -1644,7 +1639,7 @@ __Returns:__
|
|
1644
1639
|
|
1645
1640
|
--
|
1646
1641
|
|
1647
|
-
##### [id](https://github.com/appium/ruby_lib/blob/
|
1642
|
+
##### [id](https://github.com/appium/ruby_lib/blob/bc3da9bc1ee58d5e96811b72f3ed737ed0e9c401/lib/appium_lib/ios/common/helper.rb#L101) ios
|
1648
1643
|
|
1649
1644
|
> def id(id)
|
1650
1645
|
|
@@ -1660,7 +1655,7 @@ __Returns:__
|
|
1660
1655
|
|
1661
1656
|
--
|
1662
1657
|
|
1663
|
-
##### [ele_index](https://github.com/appium/ruby_lib/blob/
|
1658
|
+
##### [ele_index](https://github.com/appium/ruby_lib/blob/bc3da9bc1ee58d5e96811b72f3ed737ed0e9c401/lib/appium_lib/ios/common/helper.rb#L109) ios
|
1664
1659
|
|
1665
1660
|
> def ele_index(class_name, index)
|
1666
1661
|
|
@@ -1678,7 +1673,7 @@ __Returns:__
|
|
1678
1673
|
|
1679
1674
|
--
|
1680
1675
|
|
1681
|
-
##### [find_ele_by_attr](https://github.com/appium/ruby_lib/blob/
|
1676
|
+
##### [find_ele_by_attr](https://github.com/appium/ruby_lib/blob/bc3da9bc1ee58d5e96811b72f3ed737ed0e9c401/lib/appium_lib/ios/common/helper.rb#L139) ios
|
1682
1677
|
|
1683
1678
|
> def find_ele_by_attr(class_name, attr, value)
|
1684
1679
|
|
@@ -1700,7 +1695,7 @@ __Returns:__
|
|
1700
1695
|
|
1701
1696
|
--
|
1702
1697
|
|
1703
|
-
##### [find_eles_by_attr](https://github.com/appium/ruby_lib/blob/
|
1698
|
+
##### [find_eles_by_attr](https://github.com/appium/ruby_lib/blob/bc3da9bc1ee58d5e96811b72f3ed737ed0e9c401/lib/appium_lib/ios/common/helper.rb#L150) ios
|
1704
1699
|
|
1705
1700
|
> def find_eles_by_attr(class_name, attr, value)
|
1706
1701
|
|
@@ -1722,7 +1717,7 @@ __Returns:__
|
|
1722
1717
|
|
1723
1718
|
--
|
1724
1719
|
|
1725
|
-
##### [find_ele_by_predicate](https://github.com/appium/ruby_lib/blob/
|
1720
|
+
##### [find_ele_by_predicate](https://github.com/appium/ruby_lib/blob/bc3da9bc1ee58d5e96811b72f3ed737ed0e9c401/lib/appium_lib/ios/common/helper.rb#L163) ios
|
1726
1721
|
|
1727
1722
|
> def find_ele_by_predicate(class_name: '*', value:)
|
1728
1723
|
|
@@ -1739,7 +1734,7 @@ __Returns:__
|
|
1739
1734
|
|
1740
1735
|
--
|
1741
1736
|
|
1742
|
-
##### [find_eles_by_predicate](https://github.com/appium/ruby_lib/blob/
|
1737
|
+
##### [find_eles_by_predicate](https://github.com/appium/ruby_lib/blob/bc3da9bc1ee58d5e96811b72f3ed737ed0e9c401/lib/appium_lib/ios/common/helper.rb#L175) ios
|
1743
1738
|
|
1744
1739
|
> def find_eles_by_predicate(class_name: '*', value:)
|
1745
1740
|
|
@@ -1758,7 +1753,7 @@ __Returns:__
|
|
1758
1753
|
|
1759
1754
|
--
|
1760
1755
|
|
1761
|
-
##### [find_ele_by_attr_include](https://github.com/appium/ruby_lib/blob/
|
1756
|
+
##### [find_ele_by_attr_include](https://github.com/appium/ruby_lib/blob/bc3da9bc1ee58d5e96811b72f3ed737ed0e9c401/lib/appium_lib/ios/common/helper.rb#L191) ios
|
1762
1757
|
|
1763
1758
|
> def find_ele_by_attr_include(class_name, attr, value)
|
1764
1759
|
|
@@ -1779,7 +1774,7 @@ __Returns:__
|
|
1779
1774
|
|
1780
1775
|
--
|
1781
1776
|
|
1782
|
-
##### [find_eles_by_attr_include](https://github.com/appium/ruby_lib/blob/
|
1777
|
+
##### [find_eles_by_attr_include](https://github.com/appium/ruby_lib/blob/bc3da9bc1ee58d5e96811b72f3ed737ed0e9c401/lib/appium_lib/ios/common/helper.rb#L201) ios
|
1783
1778
|
|
1784
1779
|
> def find_eles_by_attr_include(class_name, attr, value)
|
1785
1780
|
|
@@ -1800,7 +1795,7 @@ __Returns:__
|
|
1800
1795
|
|
1801
1796
|
--
|
1802
1797
|
|
1803
|
-
##### [find_ele_by_predicate_include](https://github.com/appium/ruby_lib/blob/
|
1798
|
+
##### [find_ele_by_predicate_include](https://github.com/appium/ruby_lib/blob/bc3da9bc1ee58d5e96811b72f3ed737ed0e9c401/lib/appium_lib/ios/common/helper.rb#L209) ios
|
1804
1799
|
|
1805
1800
|
> def find_ele_by_predicate_include(class_name: '*', value:)
|
1806
1801
|
|
@@ -1817,7 +1812,7 @@ __Returns:__
|
|
1817
1812
|
|
1818
1813
|
--
|
1819
1814
|
|
1820
|
-
##### [find_eles_by_predicate_include](https://github.com/appium/ruby_lib/blob/
|
1815
|
+
##### [find_eles_by_predicate_include](https://github.com/appium/ruby_lib/blob/bc3da9bc1ee58d5e96811b72f3ed737ed0e9c401/lib/appium_lib/ios/common/helper.rb#L221) ios
|
1821
1816
|
|
1822
1817
|
> def find_eles_by_predicate_include(class_name: '*', value:)
|
1823
1818
|
|
@@ -1836,7 +1831,7 @@ __Returns:__
|
|
1836
1831
|
|
1837
1832
|
--
|
1838
1833
|
|
1839
|
-
##### [first_ele](https://github.com/appium/ruby_lib/blob/
|
1834
|
+
##### [first_ele](https://github.com/appium/ruby_lib/blob/bc3da9bc1ee58d5e96811b72f3ed737ed0e9c401/lib/appium_lib/ios/common/helper.rb#L234) ios
|
1840
1835
|
|
1841
1836
|
> def first_ele(class_name)
|
1842
1837
|
|
@@ -1852,7 +1847,7 @@ __Returns:__
|
|
1852
1847
|
|
1853
1848
|
--
|
1854
1849
|
|
1855
|
-
##### [last_ele](https://github.com/appium/ruby_lib/blob/
|
1850
|
+
##### [last_ele](https://github.com/appium/ruby_lib/blob/bc3da9bc1ee58d5e96811b72f3ed737ed0e9c401/lib/appium_lib/ios/common/helper.rb#L241) ios
|
1856
1851
|
|
1857
1852
|
> def last_ele(class_name)
|
1858
1853
|
|
@@ -1868,7 +1863,7 @@ __Returns:__
|
|
1868
1863
|
|
1869
1864
|
--
|
1870
1865
|
|
1871
|
-
##### [tag](https://github.com/appium/ruby_lib/blob/
|
1866
|
+
##### [tag](https://github.com/appium/ruby_lib/blob/bc3da9bc1ee58d5e96811b72f3ed737ed0e9c401/lib/appium_lib/ios/common/helper.rb#L249) ios
|
1872
1867
|
|
1873
1868
|
> def tag(class_name)
|
1874
1869
|
|
@@ -1884,7 +1879,7 @@ __Returns:__
|
|
1884
1879
|
|
1885
1880
|
--
|
1886
1881
|
|
1887
|
-
##### [tags](https://github.com/appium/ruby_lib/blob/
|
1882
|
+
##### [tags](https://github.com/appium/ruby_lib/blob/bc3da9bc1ee58d5e96811b72f3ed737ed0e9c401/lib/appium_lib/ios/common/helper.rb#L257) ios
|
1888
1883
|
|
1889
1884
|
> def tags(class_name)
|
1890
1885
|
|
@@ -1900,7 +1895,7 @@ __Returns:__
|
|
1900
1895
|
|
1901
1896
|
--
|
1902
1897
|
|
1903
|
-
##### [tags_include](https://github.com/appium/ruby_lib/blob/
|
1898
|
+
##### [tags_include](https://github.com/appium/ruby_lib/blob/bc3da9bc1ee58d5e96811b72f3ed737ed0e9c401/lib/appium_lib/ios/common/helper.rb#L268) ios
|
1904
1899
|
|
1905
1900
|
> def tags_include(class_names:, value: nil)
|
1906
1901
|
|
@@ -1920,7 +1915,7 @@ __Returns:__
|
|
1920
1915
|
|
1921
1916
|
--
|
1922
1917
|
|
1923
|
-
##### [tags_exact](https://github.com/appium/ruby_lib/blob/
|
1918
|
+
##### [tags_exact](https://github.com/appium/ruby_lib/blob/bc3da9bc1ee58d5e96811b72f3ed737ed0e9c401/lib/appium_lib/ios/common/helper.rb#L283) ios
|
1924
1919
|
|
1925
1920
|
> def tags_exact(class_names:, value: nil)
|
1926
1921
|
|
@@ -1940,7 +1935,7 @@ __Returns:__
|
|
1940
1935
|
|
1941
1936
|
--
|
1942
1937
|
|
1943
|
-
##### [ele_by_json_visible_contains](https://github.com/appium/ruby_lib/blob/
|
1938
|
+
##### [ele_by_json_visible_contains](https://github.com/appium/ruby_lib/blob/bc3da9bc1ee58d5e96811b72f3ed737ed0e9c401/lib/appium_lib/ios/common/helper.rb#L320) ios
|
1944
1939
|
|
1945
1940
|
> def ele_by_json_visible_contains(element, value)
|
1946
1941
|
|
@@ -1959,7 +1954,7 @@ __Returns:__
|
|
1959
1954
|
|
1960
1955
|
--
|
1961
1956
|
|
1962
|
-
##### [eles_by_json_visible_contains](https://github.com/appium/ruby_lib/blob/
|
1957
|
+
##### [eles_by_json_visible_contains](https://github.com/appium/ruby_lib/blob/bc3da9bc1ee58d5e96811b72f3ed737ed0e9c401/lib/appium_lib/ios/common/helper.rb#L329) ios
|
1963
1958
|
|
1964
1959
|
> def eles_by_json_visible_contains(element, value)
|
1965
1960
|
|
@@ -1978,7 +1973,7 @@ __Returns:__
|
|
1978
1973
|
|
1979
1974
|
--
|
1980
1975
|
|
1981
|
-
##### [ele_by_json_visible_exact](https://github.com/appium/ruby_lib/blob/
|
1976
|
+
##### [ele_by_json_visible_exact](https://github.com/appium/ruby_lib/blob/bc3da9bc1ee58d5e96811b72f3ed737ed0e9c401/lib/appium_lib/ios/common/helper.rb#L359) ios
|
1982
1977
|
|
1983
1978
|
> def ele_by_json_visible_exact(element, value)
|
1984
1979
|
|
@@ -1997,7 +1992,7 @@ __Returns:__
|
|
1997
1992
|
|
1998
1993
|
--
|
1999
1994
|
|
2000
|
-
##### [eles_by_json_visible_exact](https://github.com/appium/ruby_lib/blob/
|
1995
|
+
##### [eles_by_json_visible_exact](https://github.com/appium/ruby_lib/blob/bc3da9bc1ee58d5e96811b72f3ed737ed0e9c401/lib/appium_lib/ios/common/helper.rb#L368) ios
|
2001
1996
|
|
2002
1997
|
> def eles_by_json_visible_exact(element, value)
|
2003
1998
|
|
@@ -2016,7 +2011,7 @@ __Returns:__
|
|
2016
2011
|
|
2017
2012
|
--
|
2018
2013
|
|
2019
|
-
##### [_all_pred](https://github.com/appium/ruby_lib/blob/
|
2014
|
+
##### [_all_pred](https://github.com/appium/ruby_lib/blob/bc3da9bc1ee58d5e96811b72f3ed737ed0e9c401/lib/appium_lib/ios/common/helper.rb#L377) ios
|
2020
2015
|
|
2021
2016
|
> def _all_pred(opts)
|
2022
2017
|
|
@@ -2026,7 +2021,7 @@ visible - if true, only visible elements are returned. default true
|
|
2026
2021
|
|
2027
2022
|
--
|
2028
2023
|
|
2029
|
-
##### [ele_with_pred](https://github.com/appium/ruby_lib/blob/
|
2024
|
+
##### [ele_with_pred](https://github.com/appium/ruby_lib/blob/bc3da9bc1ee58d5e96811b72f3ed737ed0e9c401/lib/appium_lib/ios/common/helper.rb#L391) ios
|
2030
2025
|
|
2031
2026
|
> def ele_with_pred(opts)
|
2032
2027
|
|
@@ -2042,7 +2037,7 @@ __Returns:__
|
|
2042
2037
|
|
2043
2038
|
--
|
2044
2039
|
|
2045
|
-
##### [eles_with_pred](https://github.com/appium/ruby_lib/blob/
|
2040
|
+
##### [eles_with_pred](https://github.com/appium/ruby_lib/blob/bc3da9bc1ee58d5e96811b72f3ed737ed0e9c401/lib/appium_lib/ios/common/helper.rb#L402) ios
|
2046
2041
|
|
2047
2042
|
> def eles_with_pred(opts)
|
2048
2043
|
|
@@ -2058,7 +2053,7 @@ __Returns:__
|
|
2058
2053
|
|
2059
2054
|
--
|
2060
2055
|
|
2061
|
-
##### [_validate_object](https://github.com/appium/ruby_lib/blob/
|
2056
|
+
##### [_validate_object](https://github.com/appium/ruby_lib/blob/bc3da9bc1ee58d5e96811b72f3ed737ed0e9c401/lib/appium_lib/ios/common/helper.rb#L406) ios
|
2062
2057
|
|
2063
2058
|
> def _validate_object(*objects)
|
2064
2059
|
|
@@ -2066,7 +2061,7 @@ __Returns:__
|
|
2066
2061
|
|
2067
2062
|
--
|
2068
2063
|
|
2069
|
-
##### [_by_json](https://github.com/appium/ruby_lib/blob/
|
2064
|
+
##### [_by_json](https://github.com/appium/ruby_lib/blob/bc3da9bc1ee58d5e96811b72f3ed737ed0e9c401/lib/appium_lib/ios/common/helper.rb#L456) ios
|
2070
2065
|
|
2071
2066
|
> def _by_json(opts)
|
2072
2067
|
|
@@ -2101,7 +2096,7 @@ opts = {
|
|
2101
2096
|
|
2102
2097
|
--
|
2103
2098
|
|
2104
|
-
##### [eles_by_json](https://github.com/appium/ruby_lib/blob/
|
2099
|
+
##### [eles_by_json](https://github.com/appium/ruby_lib/blob/bc3da9bc1ee58d5e96811b72f3ed737ed0e9c401/lib/appium_lib/ios/common/helper.rb#L506) ios
|
2105
2100
|
|
2106
2101
|
> def eles_by_json(opts)
|
2107
2102
|
|
@@ -2120,7 +2115,7 @@ eles_by_json({
|
|
2120
2115
|
|
2121
2116
|
--
|
2122
2117
|
|
2123
|
-
##### [ele_by_json](https://github.com/appium/ruby_lib/blob/
|
2118
|
+
##### [ele_by_json](https://github.com/appium/ruby_lib/blob/bc3da9bc1ee58d5e96811b72f3ed737ed0e9c401/lib/appium_lib/ios/common/helper.rb#L512) ios
|
2124
2119
|
|
2125
2120
|
> def ele_by_json(opts)
|
2126
2121
|
|
@@ -2128,7 +2123,7 @@ see eles_by_json
|
|
2128
2123
|
|
2129
2124
|
--
|
2130
2125
|
|
2131
|
-
##### [alert_accept](https://github.com/appium/ruby_lib/blob/
|
2126
|
+
##### [alert_accept](https://github.com/appium/ruby_lib/blob/bc3da9bc1ee58d5e96811b72f3ed737ed0e9c401/lib/appium_lib/ios/element/alert.rb#L19) ios
|
2132
2127
|
|
2133
2128
|
> def alert_accept
|
2134
2129
|
|
@@ -2140,7 +2135,7 @@ __Returns:__
|
|
2140
2135
|
|
2141
2136
|
--
|
2142
2137
|
|
2143
|
-
##### [alert_dismiss](https://github.com/appium/ruby_lib/blob/
|
2138
|
+
##### [alert_dismiss](https://github.com/appium/ruby_lib/blob/bc3da9bc1ee58d5e96811b72f3ed737ed0e9c401/lib/appium_lib/ios/element/alert.rb#L27) ios
|
2144
2139
|
|
2145
2140
|
> def alert_dismiss
|
2146
2141
|
|
@@ -2152,39 +2147,7 @@ __Returns:__
|
|
2152
2147
|
|
2153
2148
|
--
|
2154
2149
|
|
2155
|
-
##### [
|
2156
|
-
|
2157
|
-
> UIA_BUTTON = 'UIAButton'
|
2158
|
-
|
2159
|
-
|
2160
|
-
|
2161
|
-
--
|
2162
|
-
|
2163
|
-
##### [UIAButton](https://github.com/appium/ruby_lib/blob/954a3a8d4d5cd56fa5a4e80d021805759dbf5e10/lib/appium_lib/ios/element/button.rb#L19) ios
|
2164
|
-
|
2165
|
-
> UIAButton = UIA_BUTTON
|
2166
|
-
|
2167
|
-
|
2168
|
-
|
2169
|
-
--
|
2170
|
-
|
2171
|
-
##### [XCUIELEMENT_TYPE_BUTTON](https://github.com/appium/ruby_lib/blob/954a3a8d4d5cd56fa5a4e80d021805759dbf5e10/lib/appium_lib/ios/element/button.rb#L21) ios
|
2172
|
-
|
2173
|
-
> XCUIELEMENT_TYPE_BUTTON = 'XCUIElementTypeButton'
|
2174
|
-
|
2175
|
-
|
2176
|
-
|
2177
|
-
--
|
2178
|
-
|
2179
|
-
##### [XCUIElementTypeButton](https://github.com/appium/ruby_lib/blob/954a3a8d4d5cd56fa5a4e80d021805759dbf5e10/lib/appium_lib/ios/element/button.rb#L22) ios
|
2180
|
-
|
2181
|
-
> XCUIElementTypeButton = XCUIELEMENT_TYPE_BUTTON
|
2182
|
-
|
2183
|
-
|
2184
|
-
|
2185
|
-
--
|
2186
|
-
|
2187
|
-
##### [button_class](https://github.com/appium/ruby_lib/blob/954a3a8d4d5cd56fa5a4e80d021805759dbf5e10/lib/appium_lib/ios/element/button.rb#L25) ios
|
2150
|
+
##### [button_class](https://github.com/appium/ruby_lib/blob/bc3da9bc1ee58d5e96811b72f3ed737ed0e9c401/lib/appium_lib/ios/element/button.rb#L25) ios
|
2188
2151
|
|
2189
2152
|
> def button_class
|
2190
2153
|
|
@@ -2196,7 +2159,7 @@ __Returns:__
|
|
2196
2159
|
|
2197
2160
|
--
|
2198
2161
|
|
2199
|
-
##### [button](https://github.com/appium/ruby_lib/blob/
|
2162
|
+
##### [button](https://github.com/appium/ruby_lib/blob/bc3da9bc1ee58d5e96811b72f3ed737ed0e9c401/lib/appium_lib/ios/element/button.rb#L33) ios
|
2200
2163
|
|
2201
2164
|
> def button(value)
|
2202
2165
|
|
@@ -2213,7 +2176,7 @@ __Returns:__
|
|
2213
2176
|
|
2214
2177
|
--
|
2215
2178
|
|
2216
|
-
##### [buttons](https://github.com/appium/ruby_lib/blob/
|
2179
|
+
##### [buttons](https://github.com/appium/ruby_lib/blob/bc3da9bc1ee58d5e96811b72f3ed737ed0e9c401/lib/appium_lib/ios/element/button.rb#L44) ios
|
2217
2180
|
|
2218
2181
|
> def buttons(value = false)
|
2219
2182
|
|
@@ -2230,7 +2193,7 @@ __Returns:__
|
|
2230
2193
|
|
2231
2194
|
--
|
2232
2195
|
|
2233
|
-
##### [first_button](https://github.com/appium/ruby_lib/blob/
|
2196
|
+
##### [first_button](https://github.com/appium/ruby_lib/blob/bc3da9bc1ee58d5e96811b72f3ed737ed0e9c401/lib/appium_lib/ios/element/button.rb#L52) ios
|
2234
2197
|
|
2235
2198
|
> def first_button
|
2236
2199
|
|
@@ -2242,7 +2205,7 @@ __Returns:__
|
|
2242
2205
|
|
2243
2206
|
--
|
2244
2207
|
|
2245
|
-
##### [last_button](https://github.com/appium/ruby_lib/blob/
|
2208
|
+
##### [last_button](https://github.com/appium/ruby_lib/blob/bc3da9bc1ee58d5e96811b72f3ed737ed0e9c401/lib/appium_lib/ios/element/button.rb#L60) ios
|
2246
2209
|
|
2247
2210
|
> def last_button
|
2248
2211
|
|
@@ -2256,7 +2219,7 @@ __Returns:__
|
|
2256
2219
|
|
2257
2220
|
--
|
2258
2221
|
|
2259
|
-
##### [button_exact](https://github.com/appium/ruby_lib/blob/
|
2222
|
+
##### [button_exact](https://github.com/appium/ruby_lib/blob/bc3da9bc1ee58d5e96811b72f3ed737ed0e9c401/lib/appium_lib/ios/element/button.rb#L67) ios
|
2260
2223
|
|
2261
2224
|
> def button_exact(value)
|
2262
2225
|
|
@@ -2272,7 +2235,7 @@ __Returns:__
|
|
2272
2235
|
|
2273
2236
|
--
|
2274
2237
|
|
2275
|
-
##### [buttons_exact](https://github.com/appium/ruby_lib/blob/
|
2238
|
+
##### [buttons_exact](https://github.com/appium/ruby_lib/blob/bc3da9bc1ee58d5e96811b72f3ed737ed0e9c401/lib/appium_lib/ios/element/button.rb#L74) ios
|
2276
2239
|
|
2277
2240
|
> def buttons_exact(value)
|
2278
2241
|
|
@@ -2288,7 +2251,7 @@ __Returns:__
|
|
2288
2251
|
|
2289
2252
|
--
|
2290
2253
|
|
2291
|
-
##### [find](https://github.com/appium/ruby_lib/blob/
|
2254
|
+
##### [find](https://github.com/appium/ruby_lib/blob/bc3da9bc1ee58d5e96811b72f3ed737ed0e9c401/lib/appium_lib/ios/element/generic.rb#L20) ios
|
2292
2255
|
|
2293
2256
|
> def find(value)
|
2294
2257
|
|
@@ -2304,7 +2267,7 @@ __Returns:__
|
|
2304
2267
|
|
2305
2268
|
--
|
2306
2269
|
|
2307
|
-
##### [finds](https://github.com/appium/ruby_lib/blob/
|
2270
|
+
##### [finds](https://github.com/appium/ruby_lib/blob/bc3da9bc1ee58d5e96811b72f3ed737ed0e9c401/lib/appium_lib/ios/element/generic.rb#L27) ios
|
2308
2271
|
|
2309
2272
|
> def finds(value)
|
2310
2273
|
|
@@ -2320,7 +2283,7 @@ __Returns:__
|
|
2320
2283
|
|
2321
2284
|
--
|
2322
2285
|
|
2323
|
-
##### [find_exact](https://github.com/appium/ruby_lib/blob/
|
2286
|
+
##### [find_exact](https://github.com/appium/ruby_lib/blob/bc3da9bc1ee58d5e96811b72f3ed737ed0e9c401/lib/appium_lib/ios/element/generic.rb#L34) ios
|
2324
2287
|
|
2325
2288
|
> def find_exact(value)
|
2326
2289
|
|
@@ -2336,7 +2299,7 @@ __Returns:__
|
|
2336
2299
|
|
2337
2300
|
--
|
2338
2301
|
|
2339
|
-
##### [finds_exact](https://github.com/appium/ruby_lib/blob/
|
2302
|
+
##### [finds_exact](https://github.com/appium/ruby_lib/blob/bc3da9bc1ee58d5e96811b72f3ed737ed0e9c401/lib/appium_lib/ios/element/generic.rb#L41) ios
|
2340
2303
|
|
2341
2304
|
> def finds_exact(value)
|
2342
2305
|
|
@@ -2352,7 +2315,7 @@ __Returns:__
|
|
2352
2315
|
|
2353
2316
|
--
|
2354
2317
|
|
2355
|
-
##### [raise_error_if_no_element](https://github.com/appium/ruby_lib/blob/
|
2318
|
+
##### [raise_error_if_no_element](https://github.com/appium/ruby_lib/blob/bc3da9bc1ee58d5e96811b72f3ed737ed0e9c401/lib/appium_lib/ios/element/generic.rb#L47) ios
|
2356
2319
|
|
2357
2320
|
> def raise_error_if_no_element(element)
|
2358
2321
|
|
@@ -2360,7 +2323,7 @@ __Returns:__
|
|
2360
2323
|
|
2361
2324
|
--
|
2362
2325
|
|
2363
|
-
##### [select_visible_elements](https://github.com/appium/ruby_lib/blob/
|
2326
|
+
##### [select_visible_elements](https://github.com/appium/ruby_lib/blob/bc3da9bc1ee58d5e96811b72f3ed737ed0e9c401/lib/appium_lib/ios/element/generic.rb#L55) ios
|
2364
2327
|
|
2365
2328
|
> def select_visible_elements(elements)
|
2366
2329
|
|
@@ -2368,15 +2331,15 @@ Return visible elements.
|
|
2368
2331
|
|
2369
2332
|
--
|
2370
2333
|
|
2371
|
-
##### [for](https://github.com/appium/ruby_lib/blob/
|
2334
|
+
##### [for](https://github.com/appium/ruby_lib/blob/bc3da9bc1ee58d5e96811b72f3ed737ed0e9c401/lib/appium_lib/ios/xcuitest/bridge.rb#L21) ios
|
2372
2335
|
|
2373
|
-
> def
|
2336
|
+
> def for(target)
|
2374
2337
|
|
2375
2338
|
|
2376
2339
|
|
2377
2340
|
--
|
2378
2341
|
|
2379
|
-
##### [last_ele](https://github.com/appium/ruby_lib/blob/
|
2342
|
+
##### [last_ele](https://github.com/appium/ruby_lib/blob/bc3da9bc1ee58d5e96811b72f3ed737ed0e9c401/lib/appium_lib/ios/xcuitest/helper.rb#L40) ios
|
2380
2343
|
|
2381
2344
|
> def last_ele(class_name)
|
2382
2345
|
|
@@ -2392,7 +2355,7 @@ __Returns:__
|
|
2392
2355
|
|
2393
2356
|
--
|
2394
2357
|
|
2395
|
-
##### [tag](https://github.com/appium/ruby_lib/blob/
|
2358
|
+
##### [tag](https://github.com/appium/ruby_lib/blob/bc3da9bc1ee58d5e96811b72f3ed737ed0e9c401/lib/appium_lib/ios/xcuitest/helper.rb#L51) ios
|
2396
2359
|
|
2397
2360
|
> def tag(class_name)
|
2398
2361
|
|
@@ -2408,7 +2371,7 @@ __Returns:__
|
|
2408
2371
|
|
2409
2372
|
--
|
2410
2373
|
|
2411
|
-
##### [tags](https://github.com/appium/ruby_lib/blob/
|
2374
|
+
##### [tags](https://github.com/appium/ruby_lib/blob/bc3da9bc1ee58d5e96811b72f3ed737ed0e9c401/lib/appium_lib/ios/xcuitest/helper.rb#L59) ios
|
2412
2375
|
|
2413
2376
|
> def tags(class_name)
|
2414
2377
|
|
@@ -2424,7 +2387,7 @@ __Returns:__
|
|
2424
2387
|
|
2425
2388
|
--
|
2426
2389
|
|
2427
|
-
##### [tags_include](https://github.com/appium/ruby_lib/blob/
|
2390
|
+
##### [tags_include](https://github.com/appium/ruby_lib/blob/bc3da9bc1ee58d5e96811b72f3ed737ed0e9c401/lib/appium_lib/ios/xcuitest/helper.rb#L71) ios
|
2428
2391
|
|
2429
2392
|
> def tags_include(class_names:, value: nil)
|
2430
2393
|
|
@@ -2444,7 +2407,7 @@ __Returns:__
|
|
2444
2407
|
|
2445
2408
|
--
|
2446
2409
|
|
2447
|
-
##### [tags_exact](https://github.com/appium/ruby_lib/blob/
|
2410
|
+
##### [tags_exact](https://github.com/appium/ruby_lib/blob/bc3da9bc1ee58d5e96811b72f3ed737ed0e9c401/lib/appium_lib/ios/xcuitest/helper.rb#L93) ios
|
2448
2411
|
|
2449
2412
|
> def tags_exact(class_names:, value: nil)
|
2450
2413
|
|
@@ -2464,7 +2427,7 @@ __Returns:__
|
|
2464
2427
|
|
2465
2428
|
--
|
2466
2429
|
|
2467
|
-
##### [start_logs_broadcast](https://github.com/appium/ruby_lib/blob/
|
2430
|
+
##### [start_logs_broadcast](https://github.com/appium/ruby_lib/blob/bc3da9bc1ee58d5e96811b72f3ed737ed0e9c401/lib/appium_lib/ios/xcuitest/command.rb#L33) ios
|
2468
2431
|
|
2469
2432
|
> def start_logs_broadcast(syslog_file = 'syslog.log')
|
2470
2433
|
|
@@ -2476,7 +2439,7 @@ __Parameters:__
|
|
2476
2439
|
|
2477
2440
|
--
|
2478
2441
|
|
2479
|
-
##### [stop_logs_broadcast](https://github.com/appium/ruby_lib/blob/
|
2442
|
+
##### [stop_logs_broadcast](https://github.com/appium/ruby_lib/blob/bc3da9bc1ee58d5e96811b72f3ed737ed0e9c401/lib/appium_lib/ios/xcuitest/command.rb#L46) ios
|
2480
2443
|
|
2481
2444
|
> def stop_logs_broadcast
|
2482
2445
|
|
@@ -2484,71 +2447,7 @@ Stop iOS syslog broadcast websocket
|
|
2484
2447
|
|
2485
2448
|
--
|
2486
2449
|
|
2487
|
-
##### [
|
2488
|
-
|
2489
|
-
> UIA_TEXT_FIELD = 'UIATextField'
|
2490
|
-
|
2491
|
-
|
2492
|
-
|
2493
|
-
--
|
2494
|
-
|
2495
|
-
##### [UIATextField](https://github.com/appium/ruby_lib/blob/954a3a8d4d5cd56fa5a4e80d021805759dbf5e10/lib/appium_lib/ios/element/textfield.rb#L18) ios
|
2496
|
-
|
2497
|
-
> UIATextField = UIA_TEXT_FIELD
|
2498
|
-
|
2499
|
-
|
2500
|
-
|
2501
|
-
--
|
2502
|
-
|
2503
|
-
##### [UIA_SECURE_TEXT_FIELD](https://github.com/appium/ruby_lib/blob/954a3a8d4d5cd56fa5a4e80d021805759dbf5e10/lib/appium_lib/ios/element/textfield.rb#L19) ios
|
2504
|
-
|
2505
|
-
> UIA_SECURE_TEXT_FIELD = 'UIASecureTextField'
|
2506
|
-
|
2507
|
-
|
2508
|
-
|
2509
|
-
--
|
2510
|
-
|
2511
|
-
##### [UIASecureTextField](https://github.com/appium/ruby_lib/blob/954a3a8d4d5cd56fa5a4e80d021805759dbf5e10/lib/appium_lib/ios/element/textfield.rb#L20) ios
|
2512
|
-
|
2513
|
-
> UIASecureTextField = UIA_SECURE_TEXT_FIELD
|
2514
|
-
|
2515
|
-
|
2516
|
-
|
2517
|
-
--
|
2518
|
-
|
2519
|
-
##### [XCUIELEMENT_TYPE_TEXT_FIELD](https://github.com/appium/ruby_lib/blob/954a3a8d4d5cd56fa5a4e80d021805759dbf5e10/lib/appium_lib/ios/element/textfield.rb#L22) ios
|
2520
|
-
|
2521
|
-
> XCUIELEMENT_TYPE_TEXT_FIELD = 'XCUIElementTypeTextField'
|
2522
|
-
|
2523
|
-
|
2524
|
-
|
2525
|
-
--
|
2526
|
-
|
2527
|
-
##### [XCUIElementTypeTextField](https://github.com/appium/ruby_lib/blob/954a3a8d4d5cd56fa5a4e80d021805759dbf5e10/lib/appium_lib/ios/element/textfield.rb#L23) ios
|
2528
|
-
|
2529
|
-
> XCUIElementTypeTextField = XCUIELEMENT_TYPE_TEXT_FIELD
|
2530
|
-
|
2531
|
-
|
2532
|
-
|
2533
|
-
--
|
2534
|
-
|
2535
|
-
##### [XCUIELEMENT_TYPE_SECURE_TEXT_FIELD](https://github.com/appium/ruby_lib/blob/954a3a8d4d5cd56fa5a4e80d021805759dbf5e10/lib/appium_lib/ios/element/textfield.rb#L24) ios
|
2536
|
-
|
2537
|
-
> XCUIELEMENT_TYPE_SECURE_TEXT_FIELD = 'XCUIElementTypeSecureTextField'
|
2538
|
-
|
2539
|
-
|
2540
|
-
|
2541
|
-
--
|
2542
|
-
|
2543
|
-
##### [XCUIElementTypeSecureTextField](https://github.com/appium/ruby_lib/blob/954a3a8d4d5cd56fa5a4e80d021805759dbf5e10/lib/appium_lib/ios/element/textfield.rb#L25) ios
|
2544
|
-
|
2545
|
-
> XCUIElementTypeSecureTextField = XCUIELEMENT_TYPE_SECURE_TEXT_FIELD
|
2546
|
-
|
2547
|
-
|
2548
|
-
|
2549
|
-
--
|
2550
|
-
|
2551
|
-
##### [text_field_class](https://github.com/appium/ruby_lib/blob/954a3a8d4d5cd56fa5a4e80d021805759dbf5e10/lib/appium_lib/ios/element/textfield.rb#L28) ios
|
2450
|
+
##### [text_field_class](https://github.com/appium/ruby_lib/blob/bc3da9bc1ee58d5e96811b72f3ed737ed0e9c401/lib/appium_lib/ios/element/textfield.rb#L28) ios
|
2552
2451
|
|
2553
2452
|
> def text_field_class
|
2554
2453
|
|
@@ -2560,7 +2459,7 @@ __Returns:__
|
|
2560
2459
|
|
2561
2460
|
--
|
2562
2461
|
|
2563
|
-
##### [secure_text_field_class](https://github.com/appium/ruby_lib/blob/
|
2462
|
+
##### [secure_text_field_class](https://github.com/appium/ruby_lib/blob/bc3da9bc1ee58d5e96811b72f3ed737ed0e9c401/lib/appium_lib/ios/element/textfield.rb#L33) ios
|
2564
2463
|
|
2565
2464
|
> def secure_text_field_class
|
2566
2465
|
|
@@ -2572,7 +2471,7 @@ __Returns:__
|
|
2572
2471
|
|
2573
2472
|
--
|
2574
2473
|
|
2575
|
-
##### [textfield](https://github.com/appium/ruby_lib/blob/
|
2474
|
+
##### [textfield](https://github.com/appium/ruby_lib/blob/bc3da9bc1ee58d5e96811b72f3ed737ed0e9c401/lib/appium_lib/ios/element/textfield.rb#L42) ios
|
2576
2475
|
|
2577
2476
|
> def textfield(value)
|
2578
2477
|
|
@@ -2590,7 +2489,7 @@ __Returns:__
|
|
2590
2489
|
|
2591
2490
|
--
|
2592
2491
|
|
2593
|
-
##### [textfields](https://github.com/appium/ruby_lib/blob/
|
2492
|
+
##### [textfields](https://github.com/appium/ruby_lib/blob/bc3da9bc1ee58d5e96811b72f3ed737ed0e9c401/lib/appium_lib/ios/element/textfield.rb#L61) ios
|
2594
2493
|
|
2595
2494
|
> def textfields(value = false)
|
2596
2495
|
|
@@ -2607,7 +2506,7 @@ __Returns:__
|
|
2607
2506
|
|
2608
2507
|
--
|
2609
2508
|
|
2610
|
-
##### [first_textfield](https://github.com/appium/ruby_lib/blob/
|
2509
|
+
##### [first_textfield](https://github.com/appium/ruby_lib/blob/bc3da9bc1ee58d5e96811b72f3ed737ed0e9c401/lib/appium_lib/ios/element/textfield.rb#L69) ios
|
2611
2510
|
|
2612
2511
|
> def first_textfield
|
2613
2512
|
|
@@ -2619,7 +2518,7 @@ __Returns:__
|
|
2619
2518
|
|
2620
2519
|
--
|
2621
2520
|
|
2622
|
-
##### [last_textfield](https://github.com/appium/ruby_lib/blob/
|
2521
|
+
##### [last_textfield](https://github.com/appium/ruby_lib/blob/bc3da9bc1ee58d5e96811b72f3ed737ed0e9c401/lib/appium_lib/ios/element/textfield.rb#L75) ios
|
2623
2522
|
|
2624
2523
|
> def last_textfield
|
2625
2524
|
|
@@ -2631,7 +2530,7 @@ __Returns:__
|
|
2631
2530
|
|
2632
2531
|
--
|
2633
2532
|
|
2634
|
-
##### [textfield_exact](https://github.com/appium/ruby_lib/blob/
|
2533
|
+
##### [textfield_exact](https://github.com/appium/ruby_lib/blob/bc3da9bc1ee58d5e96811b72f3ed737ed0e9c401/lib/appium_lib/ios/element/textfield.rb#L85) ios
|
2635
2534
|
|
2636
2535
|
> def textfield_exact(value)
|
2637
2536
|
|
@@ -2647,7 +2546,7 @@ __Returns:__
|
|
2647
2546
|
|
2648
2547
|
--
|
2649
2548
|
|
2650
|
-
##### [textfields_exact](https://github.com/appium/ruby_lib/blob/
|
2549
|
+
##### [textfields_exact](https://github.com/appium/ruby_lib/blob/bc3da9bc1ee58d5e96811b72f3ed737ed0e9c401/lib/appium_lib/ios/element/textfield.rb#L92) ios
|
2651
2550
|
|
2652
2551
|
> def textfields_exact(value)
|
2653
2552
|
|
@@ -2663,7 +2562,7 @@ __Returns:__
|
|
2663
2562
|
|
2664
2563
|
--
|
2665
2564
|
|
2666
|
-
##### [_textfield_visible](https://github.com/appium/ruby_lib/blob/
|
2565
|
+
##### [_textfield_visible](https://github.com/appium/ruby_lib/blob/bc3da9bc1ee58d5e96811b72f3ed737ed0e9c401/lib/appium_lib/ios/element/textfield.rb#L99) ios
|
2667
2566
|
|
2668
2567
|
> def _textfield_visible
|
2669
2568
|
|
@@ -2671,7 +2570,7 @@ Appium
|
|
2671
2570
|
|
2672
2571
|
--
|
2673
2572
|
|
2674
|
-
##### [_textfield_exact_string](https://github.com/appium/ruby_lib/blob/
|
2573
|
+
##### [_textfield_exact_string](https://github.com/appium/ruby_lib/blob/bc3da9bc1ee58d5e96811b72f3ed737ed0e9c401/lib/appium_lib/ios/element/textfield.rb#L104) ios
|
2675
2574
|
|
2676
2575
|
> def _textfield_exact_string(value)
|
2677
2576
|
|
@@ -2679,7 +2578,7 @@ Appium
|
|
2679
2578
|
|
2680
2579
|
--
|
2681
2580
|
|
2682
|
-
##### [_textfield_contains_string](https://github.com/appium/ruby_lib/blob/
|
2581
|
+
##### [_textfield_contains_string](https://github.com/appium/ruby_lib/blob/bc3da9bc1ee58d5e96811b72f3ed737ed0e9c401/lib/appium_lib/ios/element/textfield.rb#L111) ios
|
2683
2582
|
|
2684
2583
|
> def _textfield_contains_string(value)
|
2685
2584
|
|
@@ -2687,7 +2586,7 @@ Appium
|
|
2687
2586
|
|
2688
2587
|
--
|
2689
2588
|
|
2690
|
-
##### [static_text_class](https://github.com/appium/ruby_lib/blob/
|
2589
|
+
##### [static_text_class](https://github.com/appium/ruby_lib/blob/bc3da9bc1ee58d5e96811b72f3ed737ed0e9c401/lib/appium_lib/ios/xcuitest/element/text.rb#L23) ios
|
2691
2590
|
|
2692
2591
|
> def static_text_class
|
2693
2592
|
|
@@ -2699,7 +2598,7 @@ __Returns:__
|
|
2699
2598
|
|
2700
2599
|
--
|
2701
2600
|
|
2702
|
-
##### [text](https://github.com/appium/ruby_lib/blob/
|
2601
|
+
##### [text](https://github.com/appium/ruby_lib/blob/bc3da9bc1ee58d5e96811b72f3ed737ed0e9c401/lib/appium_lib/ios/xcuitest/element/text.rb#L31) ios
|
2703
2602
|
|
2704
2603
|
> def text(value)
|
2705
2604
|
|
@@ -2716,7 +2615,7 @@ __Returns:__
|
|
2716
2615
|
|
2717
2616
|
--
|
2718
2617
|
|
2719
|
-
##### [texts](https://github.com/appium/ruby_lib/blob/
|
2618
|
+
##### [texts](https://github.com/appium/ruby_lib/blob/bc3da9bc1ee58d5e96811b72f3ed737ed0e9c401/lib/appium_lib/ios/xcuitest/element/text.rb#L41) ios
|
2720
2619
|
|
2721
2620
|
> def texts(value = false)
|
2722
2621
|
|
@@ -2733,7 +2632,7 @@ __Returns:__
|
|
2733
2632
|
|
2734
2633
|
--
|
2735
2634
|
|
2736
|
-
##### [first_text](https://github.com/appium/ruby_lib/blob/
|
2635
|
+
##### [first_text](https://github.com/appium/ruby_lib/blob/bc3da9bc1ee58d5e96811b72f3ed737ed0e9c401/lib/appium_lib/ios/xcuitest/element/text.rb#L50) ios
|
2737
2636
|
|
2738
2637
|
> def first_text
|
2739
2638
|
|
@@ -2745,7 +2644,7 @@ __Returns:__
|
|
2745
2644
|
|
2746
2645
|
--
|
2747
2646
|
|
2748
|
-
##### [last_text](https://github.com/appium/ruby_lib/blob/
|
2647
|
+
##### [last_text](https://github.com/appium/ruby_lib/blob/bc3da9bc1ee58d5e96811b72f3ed737ed0e9c401/lib/appium_lib/ios/xcuitest/element/text.rb#L56) ios
|
2749
2648
|
|
2750
2649
|
> def last_text
|
2751
2650
|
|
@@ -2757,7 +2656,7 @@ __Returns:__
|
|
2757
2656
|
|
2758
2657
|
--
|
2759
2658
|
|
2760
|
-
##### [text_exact](https://github.com/appium/ruby_lib/blob/
|
2659
|
+
##### [text_exact](https://github.com/appium/ruby_lib/blob/bc3da9bc1ee58d5e96811b72f3ed737ed0e9c401/lib/appium_lib/ios/xcuitest/element/text.rb#L63) ios
|
2761
2660
|
|
2762
2661
|
> def text_exact(value)
|
2763
2662
|
|
@@ -2773,7 +2672,7 @@ __Returns:__
|
|
2773
2672
|
|
2774
2673
|
--
|
2775
2674
|
|
2776
|
-
##### [texts_exact](https://github.com/appium/ruby_lib/blob/
|
2675
|
+
##### [texts_exact](https://github.com/appium/ruby_lib/blob/bc3da9bc1ee58d5e96811b72f3ed737ed0e9c401/lib/appium_lib/ios/xcuitest/element/text.rb#L70) ios
|
2777
2676
|
|
2778
2677
|
> def texts_exact(value)
|
2779
2678
|
|
@@ -2789,7 +2688,7 @@ __Returns:__
|
|
2789
2688
|
|
2790
2689
|
--
|
2791
2690
|
|
2792
|
-
##### [xcuitest_source](https://github.com/appium/ruby_lib/blob/
|
2691
|
+
##### [xcuitest_source](https://github.com/appium/ruby_lib/blob/bc3da9bc1ee58d5e96811b72f3ed737ed0e9c401/lib/appium_lib/ios/xcuitest/command/source.rb#L25) ios
|
2793
2692
|
|
2794
2693
|
> def xcuitest_source(format: :xml)
|
2795
2694
|
|
@@ -2805,7 +2704,7 @@ xcuitest_source format: :json
|
|
2805
2704
|
|
2806
2705
|
--
|
2807
2706
|
|
2808
|
-
##### [button_class](https://github.com/appium/ruby_lib/blob/
|
2707
|
+
##### [button_class](https://github.com/appium/ruby_lib/blob/bc3da9bc1ee58d5e96811b72f3ed737ed0e9c401/lib/appium_lib/ios/xcuitest/element/button.rb#L23) ios
|
2809
2708
|
|
2810
2709
|
> def button_class
|
2811
2710
|
|
@@ -2817,7 +2716,7 @@ __Returns:__
|
|
2817
2716
|
|
2818
2717
|
--
|
2819
2718
|
|
2820
|
-
##### [button](https://github.com/appium/ruby_lib/blob/
|
2719
|
+
##### [button](https://github.com/appium/ruby_lib/blob/bc3da9bc1ee58d5e96811b72f3ed737ed0e9c401/lib/appium_lib/ios/xcuitest/element/button.rb#L31) ios
|
2821
2720
|
|
2822
2721
|
> def button(value)
|
2823
2722
|
|
@@ -2834,7 +2733,7 @@ __Returns:__
|
|
2834
2733
|
|
2835
2734
|
--
|
2836
2735
|
|
2837
|
-
##### [buttons](https://github.com/appium/ruby_lib/blob/
|
2736
|
+
##### [buttons](https://github.com/appium/ruby_lib/blob/bc3da9bc1ee58d5e96811b72f3ed737ed0e9c401/lib/appium_lib/ios/xcuitest/element/button.rb#L42) ios
|
2838
2737
|
|
2839
2738
|
> def buttons(value = false)
|
2840
2739
|
|
@@ -2851,7 +2750,7 @@ __Returns:__
|
|
2851
2750
|
|
2852
2751
|
--
|
2853
2752
|
|
2854
|
-
##### [first_button](https://github.com/appium/ruby_lib/blob/
|
2753
|
+
##### [first_button](https://github.com/appium/ruby_lib/blob/bc3da9bc1ee58d5e96811b72f3ed737ed0e9c401/lib/appium_lib/ios/xcuitest/element/button.rb#L51) ios
|
2855
2754
|
|
2856
2755
|
> def first_button
|
2857
2756
|
|
@@ -2863,7 +2762,7 @@ __Returns:__
|
|
2863
2762
|
|
2864
2763
|
--
|
2865
2764
|
|
2866
|
-
##### [last_button](https://github.com/appium/ruby_lib/blob/
|
2765
|
+
##### [last_button](https://github.com/appium/ruby_lib/blob/bc3da9bc1ee58d5e96811b72f3ed737ed0e9c401/lib/appium_lib/ios/xcuitest/element/button.rb#L59) ios
|
2867
2766
|
|
2868
2767
|
> def last_button
|
2869
2768
|
|
@@ -2877,7 +2776,7 @@ __Returns:__
|
|
2877
2776
|
|
2878
2777
|
--
|
2879
2778
|
|
2880
|
-
##### [button_exact](https://github.com/appium/ruby_lib/blob/
|
2779
|
+
##### [button_exact](https://github.com/appium/ruby_lib/blob/bc3da9bc1ee58d5e96811b72f3ed737ed0e9c401/lib/appium_lib/ios/xcuitest/element/button.rb#L66) ios
|
2881
2780
|
|
2882
2781
|
> def button_exact(value)
|
2883
2782
|
|
@@ -2893,7 +2792,7 @@ __Returns:__
|
|
2893
2792
|
|
2894
2793
|
--
|
2895
2794
|
|
2896
|
-
##### [buttons_exact](https://github.com/appium/ruby_lib/blob/
|
2795
|
+
##### [buttons_exact](https://github.com/appium/ruby_lib/blob/bc3da9bc1ee58d5e96811b72f3ed737ed0e9c401/lib/appium_lib/ios/xcuitest/element/button.rb#L73) ios
|
2897
2796
|
|
2898
2797
|
> def buttons_exact(value)
|
2899
2798
|
|
@@ -2909,7 +2808,7 @@ __Returns:__
|
|
2909
2808
|
|
2910
2809
|
--
|
2911
2810
|
|
2912
|
-
##### [find](https://github.com/appium/ruby_lib/blob/
|
2811
|
+
##### [find](https://github.com/appium/ruby_lib/blob/bc3da9bc1ee58d5e96811b72f3ed737ed0e9c401/lib/appium_lib/ios/xcuitest/element/generic.rb#L22) ios
|
2913
2812
|
|
2914
2813
|
> def find(value)
|
2915
2814
|
|
@@ -2925,7 +2824,7 @@ __Returns:__
|
|
2925
2824
|
|
2926
2825
|
--
|
2927
2826
|
|
2928
|
-
##### [finds](https://github.com/appium/ruby_lib/blob/
|
2827
|
+
##### [finds](https://github.com/appium/ruby_lib/blob/bc3da9bc1ee58d5e96811b72f3ed737ed0e9c401/lib/appium_lib/ios/xcuitest/element/generic.rb#L29) ios
|
2929
2828
|
|
2930
2829
|
> def finds(value)
|
2931
2830
|
|
@@ -2941,7 +2840,7 @@ __Returns:__
|
|
2941
2840
|
|
2942
2841
|
--
|
2943
2842
|
|
2944
|
-
##### [find_exact](https://github.com/appium/ruby_lib/blob/
|
2843
|
+
##### [find_exact](https://github.com/appium/ruby_lib/blob/bc3da9bc1ee58d5e96811b72f3ed737ed0e9c401/lib/appium_lib/ios/xcuitest/element/generic.rb#L37) ios
|
2945
2844
|
|
2946
2845
|
> def find_exact(value)
|
2947
2846
|
|
@@ -2957,7 +2856,7 @@ __Returns:__
|
|
2957
2856
|
|
2958
2857
|
--
|
2959
2858
|
|
2960
|
-
##### [finds_exact](https://github.com/appium/ruby_lib/blob/
|
2859
|
+
##### [finds_exact](https://github.com/appium/ruby_lib/blob/bc3da9bc1ee58d5e96811b72f3ed737ed0e9c401/lib/appium_lib/ios/xcuitest/element/generic.rb#L44) ios
|
2961
2860
|
|
2962
2861
|
> def finds_exact(value)
|
2963
2862
|
|
@@ -2973,7 +2872,7 @@ __Returns:__
|
|
2973
2872
|
|
2974
2873
|
--
|
2975
2874
|
|
2976
|
-
##### [raise_error_if_no_element](https://github.com/appium/ruby_lib/blob/
|
2875
|
+
##### [raise_error_if_no_element](https://github.com/appium/ruby_lib/blob/bc3da9bc1ee58d5e96811b72f3ed737ed0e9c401/lib/appium_lib/ios/xcuitest/element/generic.rb#L51) ios
|
2977
2876
|
|
2978
2877
|
> def raise_error_if_no_element(element)
|
2979
2878
|
|
@@ -2981,7 +2880,7 @@ __Returns:__
|
|
2981
2880
|
|
2982
2881
|
--
|
2983
2882
|
|
2984
|
-
##### [select_visible_elements](https://github.com/appium/ruby_lib/blob/
|
2883
|
+
##### [select_visible_elements](https://github.com/appium/ruby_lib/blob/bc3da9bc1ee58d5e96811b72f3ed737ed0e9c401/lib/appium_lib/ios/xcuitest/element/generic.rb#L59) ios
|
2985
2884
|
|
2986
2885
|
> def select_visible_elements(elements)
|
2987
2886
|
|
@@ -2989,7 +2888,7 @@ Return visible elements.
|
|
2989
2888
|
|
2990
2889
|
--
|
2991
2890
|
|
2992
|
-
##### [swipe](https://github.com/appium/ruby_lib/blob/
|
2891
|
+
##### [swipe](https://github.com/appium/ruby_lib/blob/bc3da9bc1ee58d5e96811b72f3ed737ed0e9c401/lib/appium_lib/ios/xcuitest/command/gestures.rb#L25) ios
|
2993
2892
|
|
2994
2893
|
> def swipe(direction:, element: nil)
|
2995
2894
|
|
@@ -3003,7 +2902,7 @@ __Parameters:__
|
|
3003
2902
|
|
3004
2903
|
--
|
3005
2904
|
|
3006
|
-
##### [scroll](https://github.com/appium/ruby_lib/blob/
|
2905
|
+
##### [scroll](https://github.com/appium/ruby_lib/blob/bc3da9bc1ee58d5e96811b72f3ed737ed0e9c401/lib/appium_lib/ios/xcuitest/command/gestures.rb#L46) ios
|
3007
2906
|
|
3008
2907
|
> def scroll(direction:, distance: nil, name: nil, element: nil, to_visible: nil, predicate_string: nil)
|
3009
2908
|
|
@@ -3017,7 +2916,7 @@ __Parameters:__
|
|
3017
2916
|
|
3018
2917
|
--
|
3019
2918
|
|
3020
|
-
##### [pinch](https://github.com/appium/ruby_lib/blob/
|
2919
|
+
##### [pinch](https://github.com/appium/ruby_lib/blob/bc3da9bc1ee58d5e96811b72f3ed737ed0e9c401/lib/appium_lib/ios/xcuitest/command/gestures.rb#L67) ios
|
3021
2920
|
|
3022
2921
|
> def pinch(scale:, velocity: 1.0, element: nil)
|
3023
2922
|
|
@@ -3033,9 +2932,9 @@ __Parameters:__
|
|
3033
2932
|
|
3034
2933
|
--
|
3035
2934
|
|
3036
|
-
##### [double_tap](https://github.com/appium/ruby_lib/blob/
|
2935
|
+
##### [double_tap](https://github.com/appium/ruby_lib/blob/bc3da9bc1ee58d5e96811b72f3ed737ed0e9c401/lib/appium_lib/ios/xcuitest/command/gestures.rb#L82) ios
|
3037
2936
|
|
3038
|
-
> def double_tap(x: nil, y: nil, element: nil)
|
2937
|
+
> def double_tap(x: nil, y: nil, element: nil)
|
3039
2938
|
|
3040
2939
|
|
3041
2940
|
|
@@ -3049,9 +2948,9 @@ __Parameters:__
|
|
3049
2948
|
|
3050
2949
|
--
|
3051
2950
|
|
3052
|
-
##### [touch_and_hold](https://github.com/appium/ruby_lib/blob/
|
2951
|
+
##### [touch_and_hold](https://github.com/appium/ruby_lib/blob/bc3da9bc1ee58d5e96811b72f3ed737ed0e9c401/lib/appium_lib/ios/xcuitest/command/gestures.rb#L99) ios
|
3053
2952
|
|
3054
|
-
> def touch_and_hold(x: nil, y: nil, element: nil, duration: 1.0)
|
2953
|
+
> def touch_and_hold(x: nil, y: nil, element: nil, duration: 1.0)
|
3055
2954
|
|
3056
2955
|
|
3057
2956
|
|
@@ -3067,7 +2966,7 @@ __Parameters:__
|
|
3067
2966
|
|
3068
2967
|
--
|
3069
2968
|
|
3070
|
-
##### [two_finger_tap](https://github.com/appium/ruby_lib/blob/
|
2969
|
+
##### [two_finger_tap](https://github.com/appium/ruby_lib/blob/bc3da9bc1ee58d5e96811b72f3ed737ed0e9c401/lib/appium_lib/ios/xcuitest/command/gestures.rb#L112) ios
|
3071
2970
|
|
3072
2971
|
> def two_finger_tap(element:)
|
3073
2972
|
|
@@ -3083,9 +2982,9 @@ two_finger_tap element: find_element(:accessibility_id, "some item")
|
|
3083
2982
|
|
3084
2983
|
--
|
3085
2984
|
|
3086
|
-
##### [
|
2985
|
+
##### [one_finger_tap](https://github.com/appium/ruby_lib/blob/bc3da9bc1ee58d5e96811b72f3ed737ed0e9c401/lib/appium_lib/ios/xcuitest/command/gestures.rb#L127) ios
|
3087
2986
|
|
3088
|
-
> def
|
2987
|
+
> def one_finger_tap(x:, y:, element: nil)
|
3089
2988
|
|
3090
2989
|
|
3091
2990
|
|
@@ -3099,7 +2998,7 @@ __Parameters:__
|
|
3099
2998
|
|
3100
2999
|
--
|
3101
3000
|
|
3102
|
-
##### [drag_from_to_for_duration](https://github.com/appium/ruby_lib/blob/
|
3001
|
+
##### [drag_from_to_for_duration](https://github.com/appium/ruby_lib/blob/bc3da9bc1ee58d5e96811b72f3ed737ed0e9c401/lib/appium_lib/ios/xcuitest/command/gestures.rb#L147) ios
|
3103
3002
|
|
3104
3003
|
> def drag_from_to_for_duration(from_x:, from_y:, to_x:, to_y:, duration: 1.0, element: nil)
|
3105
3004
|
|
@@ -3122,7 +3021,7 @@ drag point should be before to start dragging. Mandatory parameter
|
|
3122
3021
|
|
3123
3022
|
--
|
3124
3023
|
|
3125
|
-
##### [select_picker_wheel](https://github.com/appium/ruby_lib/blob/
|
3024
|
+
##### [select_picker_wheel](https://github.com/appium/ruby_lib/blob/bc3da9bc1ee58d5e96811b72f3ed737ed0e9c401/lib/appium_lib/ios/xcuitest/command/gestures.rb#L164) ios
|
3126
3025
|
|
3127
3026
|
> def select_picker_wheel(element:, order:, offset: nil)
|
3128
3027
|
|
@@ -3139,7 +3038,7 @@ __Parameters:__
|
|
3139
3038
|
|
3140
3039
|
--
|
3141
3040
|
|
3142
|
-
##### [alert](https://github.com/appium/ruby_lib/blob/
|
3041
|
+
##### [alert](https://github.com/appium/ruby_lib/blob/bc3da9bc1ee58d5e96811b72f3ed737ed0e9c401/lib/appium_lib/ios/xcuitest/command/gestures.rb#L182) ios
|
3143
3042
|
|
3144
3043
|
> def alert(action:, button_label: nil)
|
3145
3044
|
|
@@ -3164,7 +3063,7 @@ alert action: "dismiss"
|
|
3164
3063
|
|
3165
3064
|
--
|
3166
3065
|
|
3167
|
-
##### [text_field_class](https://github.com/appium/ruby_lib/blob/
|
3066
|
+
##### [text_field_class](https://github.com/appium/ruby_lib/blob/bc3da9bc1ee58d5e96811b72f3ed737ed0e9c401/lib/appium_lib/ios/xcuitest/element/textfield.rb#L23) ios
|
3168
3067
|
|
3169
3068
|
> def text_field_class
|
3170
3069
|
|
@@ -3176,7 +3075,7 @@ __Returns:__
|
|
3176
3075
|
|
3177
3076
|
--
|
3178
3077
|
|
3179
|
-
##### [secure_text_field_class](https://github.com/appium/ruby_lib/blob/
|
3078
|
+
##### [secure_text_field_class](https://github.com/appium/ruby_lib/blob/bc3da9bc1ee58d5e96811b72f3ed737ed0e9c401/lib/appium_lib/ios/xcuitest/element/textfield.rb#L28) ios
|
3180
3079
|
|
3181
3080
|
> def secure_text_field_class
|
3182
3081
|
|
@@ -3188,7 +3087,7 @@ __Returns:__
|
|
3188
3087
|
|
3189
3088
|
--
|
3190
3089
|
|
3191
|
-
##### [textfield](https://github.com/appium/ruby_lib/blob/
|
3090
|
+
##### [textfield](https://github.com/appium/ruby_lib/blob/bc3da9bc1ee58d5e96811b72f3ed737ed0e9c401/lib/appium_lib/ios/xcuitest/element/textfield.rb#L37) ios
|
3192
3091
|
|
3193
3092
|
> def textfield(value)
|
3194
3093
|
|
@@ -3206,7 +3105,7 @@ __Returns:__
|
|
3206
3105
|
|
3207
3106
|
--
|
3208
3107
|
|
3209
|
-
##### [textfields](https://github.com/appium/ruby_lib/blob/
|
3108
|
+
##### [textfields](https://github.com/appium/ruby_lib/blob/bc3da9bc1ee58d5e96811b72f3ed737ed0e9c401/lib/appium_lib/ios/xcuitest/element/textfield.rb#L57) ios
|
3210
3109
|
|
3211
3110
|
> def textfields(value = false)
|
3212
3111
|
|
@@ -3223,7 +3122,7 @@ __Returns:__
|
|
3223
3122
|
|
3224
3123
|
--
|
3225
3124
|
|
3226
|
-
##### [first_textfield](https://github.com/appium/ruby_lib/blob/
|
3125
|
+
##### [first_textfield](https://github.com/appium/ruby_lib/blob/bc3da9bc1ee58d5e96811b72f3ed737ed0e9c401/lib/appium_lib/ios/xcuitest/element/textfield.rb#L66) ios
|
3227
3126
|
|
3228
3127
|
> def first_textfield
|
3229
3128
|
|
@@ -3235,7 +3134,7 @@ __Returns:__
|
|
3235
3134
|
|
3236
3135
|
--
|
3237
3136
|
|
3238
|
-
##### [last_textfield](https://github.com/appium/ruby_lib/blob/
|
3137
|
+
##### [last_textfield](https://github.com/appium/ruby_lib/blob/bc3da9bc1ee58d5e96811b72f3ed737ed0e9c401/lib/appium_lib/ios/xcuitest/element/textfield.rb#L72) ios
|
3239
3138
|
|
3240
3139
|
> def last_textfield
|
3241
3140
|
|
@@ -3247,7 +3146,7 @@ __Returns:__
|
|
3247
3146
|
|
3248
3147
|
--
|
3249
3148
|
|
3250
|
-
##### [textfield_exact](https://github.com/appium/ruby_lib/blob/
|
3149
|
+
##### [textfield_exact](https://github.com/appium/ruby_lib/blob/bc3da9bc1ee58d5e96811b72f3ed737ed0e9c401/lib/appium_lib/ios/xcuitest/element/textfield.rb#L82) ios
|
3251
3150
|
|
3252
3151
|
> def textfield_exact(value)
|
3253
3152
|
|
@@ -3263,7 +3162,7 @@ __Returns:__
|
|
3263
3162
|
|
3264
3163
|
--
|
3265
3164
|
|
3266
|
-
##### [textfields_exact](https://github.com/appium/ruby_lib/blob/
|
3165
|
+
##### [textfields_exact](https://github.com/appium/ruby_lib/blob/bc3da9bc1ee58d5e96811b72f3ed737ed0e9c401/lib/appium_lib/ios/xcuitest/element/textfield.rb#L89) ios
|
3267
3166
|
|
3268
3167
|
> def textfields_exact(value)
|
3269
3168
|
|
@@ -3279,7 +3178,7 @@ __Returns:__
|
|
3279
3178
|
|
3280
3179
|
--
|
3281
3180
|
|
3282
|
-
##### [set_pasteboard](https://github.com/appium/ruby_lib/blob/
|
3181
|
+
##### [set_pasteboard](https://github.com/appium/ruby_lib/blob/bc3da9bc1ee58d5e96811b72f3ed737ed0e9c401/lib/appium_lib/ios/xcuitest/command/pasteboard.rb#L26) ios
|
3283
3182
|
|
3284
3183
|
> def set_pasteboard(content:, encoding: nil)
|
3285
3184
|
|
@@ -3294,7 +3193,7 @@ The parameter is mandatory
|
|
3294
3193
|
|
3295
3194
|
--
|
3296
3195
|
|
3297
|
-
##### [get_pasteboard](https://github.com/appium/ruby_lib/blob/
|
3196
|
+
##### [get_pasteboard](https://github.com/appium/ruby_lib/blob/bc3da9bc1ee58d5e96811b72f3ed737ed0e9c401/lib/appium_lib/ios/xcuitest/command/pasteboard.rb#L38) ios
|
3298
3197
|
|
3299
3198
|
> def get_pasteboard(encoding: nil)
|
3300
3199
|
|
@@ -3306,7 +3205,7 @@ __Parameters:__
|
|
3306
3205
|
|
3307
3206
|
--
|
3308
3207
|
|
3309
|
-
##### [install_certificate](https://github.com/appium/ruby_lib/blob/
|
3208
|
+
##### [install_certificate](https://github.com/appium/ruby_lib/blob/bc3da9bc1ee58d5e96811b72f3ed737ed0e9c401/lib/appium_lib/ios/xcuitest/command/certificate.rb#L32) ios
|
3310
3209
|
|
3311
3210
|
> def install_certificate(cer_file:)
|
3312
3211
|
|
@@ -3321,7 +3220,7 @@ __Parameters:__
|
|
3321
3220
|
|
3322
3221
|
--
|
3323
3222
|
|
3324
|
-
##### [xcuitest_get_contexts](https://github.com/appium/ruby_lib/blob/
|
3223
|
+
##### [xcuitest_get_contexts](https://github.com/appium/ruby_lib/blob/bc3da9bc1ee58d5e96811b72f3ed737ed0e9c401/lib/appium_lib/ios/xcuitest/command/get_context.rb#L28) ios
|
3325
3224
|
|
3326
3225
|
> def xcuitest_get_contexts
|
3327
3226
|
|
@@ -3329,7 +3228,7 @@ Get contexts
|
|
3329
3228
|
|
3330
3229
|
--
|
3331
3230
|
|
3332
|
-
##### [xcuitest_install_app](https://github.com/appium/ruby_lib/blob/
|
3231
|
+
##### [xcuitest_install_app](https://github.com/appium/ruby_lib/blob/bc3da9bc1ee58d5e96811b72f3ed737ed0e9c401/lib/appium_lib/ios/xcuitest/command/multi_app_handler.rb#L35) ios
|
3333
3232
|
|
3334
3233
|
> def xcuitest_install_app(app:)
|
3335
3234
|
|
@@ -3349,7 +3248,7 @@ __Returns:__
|
|
3349
3248
|
|
3350
3249
|
--
|
3351
3250
|
|
3352
|
-
##### [xcuitest_app_installed?](https://github.com/appium/ruby_lib/blob/
|
3251
|
+
##### [xcuitest_app_installed?](https://github.com/appium/ruby_lib/blob/bc3da9bc1ee58d5e96811b72f3ed737ed0e9c401/lib/appium_lib/ios/xcuitest/command/multi_app_handler.rb#L48) ios
|
3353
3252
|
|
3354
3253
|
> def xcuitest_app_installed?(bundle_id:)
|
3355
3254
|
|
@@ -3365,7 +3264,7 @@ __Returns:__
|
|
3365
3264
|
|
3366
3265
|
--
|
3367
3266
|
|
3368
|
-
##### [xcuitest_remove_app](https://github.com/appium/ruby_lib/blob/
|
3267
|
+
##### [xcuitest_remove_app](https://github.com/appium/ruby_lib/blob/bc3da9bc1ee58d5e96811b72f3ed737ed0e9c401/lib/appium_lib/ios/xcuitest/command/multi_app_handler.rb#L62) ios
|
3369
3268
|
|
3370
3269
|
> def xcuitest_remove_app(bundle_id:)
|
3371
3270
|
|
@@ -3382,7 +3281,7 @@ __Returns:__
|
|
3382
3281
|
|
3383
3282
|
--
|
3384
3283
|
|
3385
|
-
##### [xcuitest_launch_app](https://github.com/appium/ruby_lib/blob/
|
3284
|
+
##### [xcuitest_launch_app](https://github.com/appium/ruby_lib/blob/bc3da9bc1ee58d5e96811b72f3ed737ed0e9c401/lib/appium_lib/ios/xcuitest/command/multi_app_handler.rb#L76) ios
|
3386
3285
|
|
3387
3286
|
> def xcuitest_launch_app(bundle_id:)
|
3388
3287
|
|
@@ -3399,7 +3298,7 @@ __Returns:__
|
|
3399
3298
|
|
3400
3299
|
--
|
3401
3300
|
|
3402
|
-
##### [xcuitest_terminate_app](https://github.com/appium/ruby_lib/blob/
|
3301
|
+
##### [xcuitest_terminate_app](https://github.com/appium/ruby_lib/blob/bc3da9bc1ee58d5e96811b72f3ed737ed0e9c401/lib/appium_lib/ios/xcuitest/command/multi_app_handler.rb#L91) ios
|
3403
3302
|
|
3404
3303
|
> def xcuitest_terminate_app(bundle_id:)
|
3405
3304
|
|
@@ -3416,7 +3315,7 @@ __Returns:__
|
|
3416
3315
|
|
3417
3316
|
--
|
3418
3317
|
|
3419
|
-
##### [xcuitest_query_app_status](https://github.com/appium/ruby_lib/blob/
|
3318
|
+
##### [xcuitest_query_app_status](https://github.com/appium/ruby_lib/blob/bc3da9bc1ee58d5e96811b72f3ed737ed0e9c401/lib/appium_lib/ios/xcuitest/command/multi_app_handler.rb#L112) ios
|
3420
3319
|
|
3421
3320
|
> def xcuitest_query_app_status(bundle_id:)
|
3422
3321
|
|
@@ -3440,7 +3339,7 @@ __Returns:__
|
|
3440
3339
|
|
3441
3340
|
--
|
3442
3341
|
|
3443
|
-
##### [xcuitest_activate_app](https://github.com/appium/ruby_lib/blob/
|
3342
|
+
##### [xcuitest_activate_app](https://github.com/appium/ruby_lib/blob/bc3da9bc1ee58d5e96811b72f3ed737ed0e9c401/lib/appium_lib/ios/xcuitest/command/multi_app_handler.rb#L127) ios
|
3444
3343
|
|
3445
3344
|
> def xcuitest_activate_app(bundle_id:)
|
3446
3345
|
|