appium_lib 9.12.0 → 9.12.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +9 -0
- data/docs/android_docs.md +198 -198
- data/docs/ios_docs.md +274 -234
- data/lib/appium_lib/android/common/command/command.rb +1 -3
- data/lib/appium_lib/appium.rb +1 -0
- data/lib/appium_lib/common/command.rb +9 -0
- data/lib/appium_lib/{android/common → common}/command/ws_logcat.rb +1 -1
- data/lib/appium_lib/common/wait.rb +18 -2
- data/lib/appium_lib/ios/xcuitest/bridge.rb +1 -0
- data/lib/appium_lib/ios/xcuitest/command.rb +26 -0
- data/lib/appium_lib/version.rb +2 -2
- data/release_notes.md +6 -0
- metadata +4 -3
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/6efdc712722bf20384fc3d2a11f16ab17dd4e3ff/lib/appium_lib/appium.rb#L46)
|
2
2
|
|
3
3
|
> def load_settings(opts = {})
|
4
4
|
|
@@ -27,7 +27,7 @@ __Returns:__
|
|
27
27
|
|
28
28
|
--
|
29
29
|
|
30
|
-
##### [load_appium_txt](https://github.com/appium/ruby_lib/blob/
|
30
|
+
##### [load_appium_txt](https://github.com/appium/ruby_lib/blob/6efdc712722bf20384fc3d2a11f16ab17dd4e3ff/lib/appium_lib/appium.rb#L80)
|
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/6efdc712722bf20384fc3d2a11f16ab17dd4e3ff/lib/appium_lib/appium.rb#L85)
|
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/6efdc712722bf20384fc3d2a11f16ab17dd4e3ff/lib/appium_lib/appium.rb#L127)
|
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/6efdc712722bf20384fc3d2a11f16ab17dd4e3ff/lib/appium_lib/appium.rb#L182)
|
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/6efdc712722bf20384fc3d2a11f16ab17dd4e3ff/lib/appium_lib/driver.rb#L36)
|
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/6efdc712722bf20384fc3d2a11f16ab17dd4e3ff/lib/appium_lib/driver.rb#L36)
|
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/6efdc712722bf20384fc3d2a11f16ab17dd4e3ff/lib/appium_lib/driver.rb#L39)
|
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/6efdc712722bf20384fc3d2a11f16ab17dd4e3ff/lib/appium_lib/driver.rb#L42)
|
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/6efdc712722bf20384fc3d2a11f16ab17dd4e3ff/lib/appium_lib/driver.rb#L45)
|
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/6efdc712722bf20384fc3d2a11f16ab17dd4e3ff/lib/appium_lib/driver.rb#L48)
|
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/6efdc712722bf20384fc3d2a11f16ab17dd4e3ff/lib/appium_lib/driver.rb#L52)
|
171
171
|
|
172
172
|
> def caps
|
173
173
|
|
@@ -176,7 +176,7 @@ read http://www.rubydoc.info/github/appium/ruby_lib_core/Appium/Core/Driver
|
|
176
176
|
|
177
177
|
--
|
178
178
|
|
179
|
-
##### [custom_url](https://github.com/appium/ruby_lib/blob/
|
179
|
+
##### [custom_url](https://github.com/appium/ruby_lib/blob/6efdc712722bf20384fc3d2a11f16ab17dd4e3ff/lib/appium_lib/driver.rb#L53)
|
180
180
|
|
181
181
|
> def custom_url
|
182
182
|
|
@@ -184,7 +184,7 @@ Returns the value of attribute custom_url
|
|
184
184
|
|
185
185
|
--
|
186
186
|
|
187
|
-
##### [export_session](https://github.com/appium/ruby_lib/blob/
|
187
|
+
##### [export_session](https://github.com/appium/ruby_lib/blob/6efdc712722bf20384fc3d2a11f16ab17dd4e3ff/lib/appium_lib/driver.rb#L54)
|
188
188
|
|
189
189
|
> def export_session
|
190
190
|
|
@@ -192,7 +192,7 @@ Returns the value of attribute export_session
|
|
192
192
|
|
193
193
|
--
|
194
194
|
|
195
|
-
##### [export_session_path](https://github.com/appium/ruby_lib/blob/
|
195
|
+
##### [export_session_path](https://github.com/appium/ruby_lib/blob/6efdc712722bf20384fc3d2a11f16ab17dd4e3ff/lib/appium_lib/driver.rb#L55)
|
196
196
|
|
197
197
|
> def export_session_path
|
198
198
|
|
@@ -200,7 +200,7 @@ Returns the value of attribute export_session_path
|
|
200
200
|
|
201
201
|
--
|
202
202
|
|
203
|
-
##### [default_wait](https://github.com/appium/ruby_lib/blob/
|
203
|
+
##### [default_wait](https://github.com/appium/ruby_lib/blob/6efdc712722bf20384fc3d2a11f16ab17dd4e3ff/lib/appium_lib/driver.rb#L56)
|
204
204
|
|
205
205
|
> def default_wait
|
206
206
|
|
@@ -208,7 +208,7 @@ Returns the value of attribute default_wait
|
|
208
208
|
|
209
209
|
--
|
210
210
|
|
211
|
-
##### [appium_port](https://github.com/appium/ruby_lib/blob/
|
211
|
+
##### [appium_port](https://github.com/appium/ruby_lib/blob/6efdc712722bf20384fc3d2a11f16ab17dd4e3ff/lib/appium_lib/driver.rb#L57)
|
212
212
|
|
213
213
|
> def appium_port
|
214
214
|
|
@@ -216,7 +216,7 @@ Returns the value of attribute appium_port
|
|
216
216
|
|
217
217
|
--
|
218
218
|
|
219
|
-
##### [appium_device](https://github.com/appium/ruby_lib/blob/
|
219
|
+
##### [appium_device](https://github.com/appium/ruby_lib/blob/6efdc712722bf20384fc3d2a11f16ab17dd4e3ff/lib/appium_lib/driver.rb#L58)
|
220
220
|
|
221
221
|
> def appium_device
|
222
222
|
|
@@ -224,7 +224,7 @@ Returns the value of attribute appium_device
|
|
224
224
|
|
225
225
|
--
|
226
226
|
|
227
|
-
##### [automation_name](https://github.com/appium/ruby_lib/blob/
|
227
|
+
##### [automation_name](https://github.com/appium/ruby_lib/blob/6efdc712722bf20384fc3d2a11f16ab17dd4e3ff/lib/appium_lib/driver.rb#L59)
|
228
228
|
|
229
229
|
> def automation_name
|
230
230
|
|
@@ -232,7 +232,7 @@ Returns the value of attribute automation_name
|
|
232
232
|
|
233
233
|
--
|
234
234
|
|
235
|
-
##### [listener](https://github.com/appium/ruby_lib/blob/
|
235
|
+
##### [listener](https://github.com/appium/ruby_lib/blob/6efdc712722bf20384fc3d2a11f16ab17dd4e3ff/lib/appium_lib/driver.rb#L60)
|
236
236
|
|
237
237
|
> def listener
|
238
238
|
|
@@ -240,7 +240,7 @@ Returns the value of attribute listener
|
|
240
240
|
|
241
241
|
--
|
242
242
|
|
243
|
-
##### [http_client](https://github.com/appium/ruby_lib/blob/
|
243
|
+
##### [http_client](https://github.com/appium/ruby_lib/blob/6efdc712722bf20384fc3d2a11f16ab17dd4e3ff/lib/appium_lib/driver.rb#L61)
|
244
244
|
|
245
245
|
> def http_client
|
246
246
|
|
@@ -248,7 +248,7 @@ Returns the value of attribute http_client
|
|
248
248
|
|
249
249
|
--
|
250
250
|
|
251
|
-
##### [appium_wait_timeout](https://github.com/appium/ruby_lib/blob/
|
251
|
+
##### [appium_wait_timeout](https://github.com/appium/ruby_lib/blob/6efdc712722bf20384fc3d2a11f16ab17dd4e3ff/lib/appium_lib/driver.rb#L62)
|
252
252
|
|
253
253
|
> def appium_wait_timeout
|
254
254
|
|
@@ -256,7 +256,7 @@ Returns the value of attribute appium_wait_timeout
|
|
256
256
|
|
257
257
|
--
|
258
258
|
|
259
|
-
##### [appium_wait_interval](https://github.com/appium/ruby_lib/blob/
|
259
|
+
##### [appium_wait_interval](https://github.com/appium/ruby_lib/blob/6efdc712722bf20384fc3d2a11f16ab17dd4e3ff/lib/appium_lib/driver.rb#L63)
|
260
260
|
|
261
261
|
> def appium_wait_interval
|
262
262
|
|
@@ -264,7 +264,7 @@ Returns the value of attribute appium_wait_interval
|
|
264
264
|
|
265
265
|
--
|
266
266
|
|
267
|
-
##### [appium_server_status](https://github.com/appium/ruby_lib/blob/
|
267
|
+
##### [appium_server_status](https://github.com/appium/ruby_lib/blob/6efdc712722bf20384fc3d2a11f16ab17dd4e3ff/lib/appium_lib/driver.rb#L66)
|
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/6efdc712722bf20384fc3d2a11f16ab17dd4e3ff/lib/appium_lib/driver.rb#L68)
|
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/6efdc712722bf20384fc3d2a11f16ab17dd4e3ff/lib/appium_lib/driver.rb#L71)
|
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/6efdc712722bf20384fc3d2a11f16ab17dd4e3ff/lib/appium_lib/driver.rb#L73)
|
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/6efdc712722bf20384fc3d2a11f16ab17dd4e3ff/lib/appium_lib/driver.rb#L141)
|
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/6efdc712722bf20384fc3d2a11f16ab17dd4e3ff/lib/appium_lib/driver.rb#L251)
|
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/6efdc712722bf20384fc3d2a11f16ab17dd4e3ff/lib/appium_lib/driver.rb#L271)
|
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/6efdc712722bf20384fc3d2a11f16ab17dd4e3ff/lib/appium_lib/driver.rb#L275)
|
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/6efdc712722bf20384fc3d2a11f16ab17dd4e3ff/lib/appium_lib/driver.rb#L279)
|
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/6efdc712722bf20384fc3d2a11f16ab17dd4e3ff/lib/appium_lib/driver.rb#L285)
|
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/6efdc712722bf20384fc3d2a11f16ab17dd4e3ff/lib/appium_lib/driver.rb#L291)
|
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/6efdc712722bf20384fc3d2a11f16ab17dd4e3ff/lib/appium_lib/driver.rb#L297)
|
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/6efdc712722bf20384fc3d2a11f16ab17dd4e3ff/lib/appium_lib/driver.rb#L317)
|
403
403
|
|
404
404
|
> def dialect
|
405
405
|
|
@@ -421,7 +421,7 @@ __Returns:__
|
|
421
421
|
|
422
422
|
--
|
423
423
|
|
424
|
-
##### [check_server_version_xcuitest](https://github.com/appium/ruby_lib/blob/
|
424
|
+
##### [check_server_version_xcuitest](https://github.com/appium/ruby_lib/blob/6efdc712722bf20384fc3d2a11f16ab17dd4e3ff/lib/appium_lib/driver.rb#L324)
|
425
425
|
|
426
426
|
> def check_server_version_xcuitest
|
427
427
|
|
@@ -434,7 +434,7 @@ __Returns:__
|
|
434
434
|
|
435
435
|
--
|
436
436
|
|
437
|
-
##### [appium_server_version](https://github.com/appium/ruby_lib/blob/
|
437
|
+
##### [appium_server_version](https://github.com/appium/ruby_lib/blob/6efdc712722bf20384fc3d2a11f16ab17dd4e3ff/lib/appium_lib/driver.rb#L345)
|
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/6efdc712722bf20384fc3d2a11f16ab17dd4e3ff/lib/appium_lib/driver.rb#L352)
|
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/6efdc712722bf20384fc3d2a11f16ab17dd4e3ff/lib/appium_lib/driver.rb#L356)
|
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/6efdc712722bf20384fc3d2a11f16ab17dd4e3ff/lib/appium_lib/driver.rb#L369)
|
474
474
|
|
475
475
|
> def appium_client_version
|
476
476
|
|
@@ -482,7 +482,7 @@ __Returns:__
|
|
482
482
|
|
483
483
|
--
|
484
484
|
|
485
|
-
##### [absolute_app_path](https://github.com/appium/ruby_lib/blob/
|
485
|
+
##### [absolute_app_path](https://github.com/appium/ruby_lib/blob/6efdc712722bf20384fc3d2a11f16ab17dd4e3ff/lib/appium_lib/driver.rb#L381)
|
486
486
|
|
487
487
|
> def self.absolute_app_path(opts)
|
488
488
|
|
@@ -499,7 +499,7 @@ __Returns:__
|
|
499
499
|
|
500
500
|
--
|
501
501
|
|
502
|
-
##### [server_url](https://github.com/appium/ruby_lib/blob/
|
502
|
+
##### [server_url](https://github.com/appium/ruby_lib/blob/6efdc712722bf20384fc3d2a11f16ab17dd4e3ff/lib/appium_lib/driver.rb#L414)
|
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/6efdc712722bf20384fc3d2a11f16ab17dd4e3ff/lib/appium_lib/driver.rb#L422)
|
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/6efdc712722bf20384fc3d2a11f16ab17dd4e3ff/lib/appium_lib/driver.rb#L435)
|
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/6efdc712722bf20384fc3d2a11f16ab17dd4e3ff/lib/appium_lib/driver.rb#L449)
|
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/6efdc712722bf20384fc3d2a11f16ab17dd4e3ff/lib/appium_lib/driver.rb#L456)
|
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/6efdc712722bf20384fc3d2a11f16ab17dd4e3ff/lib/appium_lib/driver.rb#L459)
|
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/6efdc712722bf20384fc3d2a11f16ab17dd4e3ff/lib/appium_lib/driver.rb#L470)
|
585
585
|
|
586
586
|
> def window_size
|
587
587
|
|
@@ -593,7 +593,7 @@ __Returns:__
|
|
593
593
|
|
594
594
|
--
|
595
595
|
|
596
|
-
##### [start_driver](https://github.com/appium/ruby_lib/blob/
|
596
|
+
##### [start_driver](https://github.com/appium/ruby_lib/blob/6efdc712722bf20384fc3d2a11f16ab17dd4e3ff/lib/appium_lib/driver.rb#L503)
|
597
597
|
|
598
598
|
> def start_driver(http_client_ops =
|
599
599
|
|
@@ -613,7 +613,7 @@ __Returns:__
|
|
613
613
|
|
614
614
|
--
|
615
615
|
|
616
|
-
##### [set_implicit_wait](https://github.com/appium/ruby_lib/blob/
|
616
|
+
##### [set_implicit_wait](https://github.com/appium/ruby_lib/blob/6efdc712722bf20384fc3d2a11f16ab17dd4e3ff/lib/appium_lib/driver.rb#L525)
|
617
617
|
|
618
618
|
> def set_implicit_wait(wait)
|
619
619
|
|
@@ -621,7 +621,7 @@ To ignore error for Espresso Driver
|
|
621
621
|
|
622
622
|
--
|
623
623
|
|
624
|
-
##### [no_wait](https://github.com/appium/ruby_lib/blob/
|
624
|
+
##### [no_wait](https://github.com/appium/ruby_lib/blob/6efdc712722bf20384fc3d2a11f16ab17dd4e3ff/lib/appium_lib/driver.rb#L535)
|
625
625
|
|
626
626
|
> def no_wait
|
627
627
|
|
@@ -629,7 +629,7 @@ Set implicit wait to zero.
|
|
629
629
|
|
630
630
|
--
|
631
631
|
|
632
|
-
##### [set_wait](https://github.com/appium/ruby_lib/blob/
|
632
|
+
##### [set_wait](https://github.com/appium/ruby_lib/blob/6efdc712722bf20384fc3d2a11f16ab17dd4e3ff/lib/appium_lib/driver.rb#L549)
|
633
633
|
|
634
634
|
> def set_wait(timeout = nil)
|
635
635
|
|
@@ -645,7 +645,7 @@ __Returns:__
|
|
645
645
|
|
646
646
|
--
|
647
647
|
|
648
|
-
##### [exists](https://github.com/appium/ruby_lib/blob/
|
648
|
+
##### [exists](https://github.com/appium/ruby_lib/blob/6efdc712722bf20384fc3d2a11f16ab17dd4e3ff/lib/appium_lib/driver.rb#L566)
|
649
649
|
|
650
650
|
> def exists(pre_check = 0, post_check = @core.default_wait)
|
651
651
|
|
@@ -669,7 +669,7 @@ __Returns:__
|
|
669
669
|
|
670
670
|
--
|
671
671
|
|
672
|
-
##### [execute_script](https://github.com/appium/ruby_lib/blob/
|
672
|
+
##### [execute_script](https://github.com/appium/ruby_lib/blob/6efdc712722bf20384fc3d2a11f16ab17dd4e3ff/lib/appium_lib/driver.rb#L590)
|
673
673
|
|
674
674
|
> def execute_script(script, *args)
|
675
675
|
|
@@ -687,7 +687,7 @@ __Returns:__
|
|
687
687
|
|
688
688
|
--
|
689
689
|
|
690
|
-
##### [find_elements](https://github.com/appium/ruby_lib/blob/
|
690
|
+
##### [find_elements](https://github.com/appium/ruby_lib/blob/6efdc712722bf20384fc3d2a11f16ab17dd4e3ff/lib/appium_lib/driver.rb#L614)
|
691
691
|
|
692
692
|
> def find_elements(*args)
|
693
693
|
|
@@ -707,7 +707,7 @@ __Returns:__
|
|
707
707
|
|
708
708
|
--
|
709
709
|
|
710
|
-
##### [find_element](https://github.com/appium/ruby_lib/blob/
|
710
|
+
##### [find_element](https://github.com/appium/ruby_lib/blob/6efdc712722bf20384fc3d2a11f16ab17dd4e3ff/lib/appium_lib/driver.rb#L630)
|
711
711
|
|
712
712
|
> def find_element(*args)
|
713
713
|
|
@@ -725,7 +725,7 @@ __Returns:__
|
|
725
725
|
|
726
726
|
--
|
727
727
|
|
728
|
-
##### [set_location](https://github.com/appium/ruby_lib/blob/
|
728
|
+
##### [set_location](https://github.com/appium/ruby_lib/blob/6efdc712722bf20384fc3d2a11f16ab17dd4e3ff/lib/appium_lib/driver.rb#L643)
|
729
729
|
|
730
730
|
> def set_location(opts = {})
|
731
731
|
|
@@ -741,7 +741,7 @@ __Returns:__
|
|
741
741
|
|
742
742
|
--
|
743
743
|
|
744
|
-
##### [x](https://github.com/appium/ruby_lib/blob/
|
744
|
+
##### [x](https://github.com/appium/ruby_lib/blob/6efdc712722bf20384fc3d2a11f16ab17dd4e3ff/lib/appium_lib/driver.rb#L653)
|
745
745
|
|
746
746
|
> def x
|
747
747
|
|
@@ -754,7 +754,7 @@ __Returns:__
|
|
754
754
|
|
755
755
|
--
|
756
756
|
|
757
|
-
##### [username](https://github.com/appium/ruby_lib/blob/
|
757
|
+
##### [username](https://github.com/appium/ruby_lib/blob/6efdc712722bf20384fc3d2a11f16ab17dd4e3ff/lib/appium_lib/sauce_labs.rb#L4)
|
758
758
|
|
759
759
|
> def username
|
760
760
|
|
@@ -762,7 +762,7 @@ Username for use on Sauce Labs. Set `false` to disable Sauce, even when SAUCE_US
|
|
762
762
|
|
763
763
|
--
|
764
764
|
|
765
|
-
##### [access_key](https://github.com/appium/ruby_lib/blob/
|
765
|
+
##### [access_key](https://github.com/appium/ruby_lib/blob/6efdc712722bf20384fc3d2a11f16ab17dd4e3ff/lib/appium_lib/sauce_labs.rb#L6)
|
766
766
|
|
767
767
|
> def access_key
|
768
768
|
|
@@ -770,7 +770,7 @@ Access Key for use on Sauce Labs. Set `false` to disable Sauce, even when SAUCE_
|
|
770
770
|
|
771
771
|
--
|
772
772
|
|
773
|
-
##### [endpoint](https://github.com/appium/ruby_lib/blob/
|
773
|
+
##### [endpoint](https://github.com/appium/ruby_lib/blob/6efdc712722bf20384fc3d2a11f16ab17dd4e3ff/lib/appium_lib/sauce_labs.rb#L8)
|
774
774
|
|
775
775
|
> def endpoint
|
776
776
|
|
@@ -778,7 +778,7 @@ Override the Sauce Appium endpoint to allow e.g. TestObject tests. Default is 'o
|
|
778
778
|
|
779
779
|
--
|
780
780
|
|
781
|
-
##### [initialize](https://github.com/appium/ruby_lib/blob/
|
781
|
+
##### [initialize](https://github.com/appium/ruby_lib/blob/6efdc712722bf20384fc3d2a11f16ab17dd4e3ff/lib/appium_lib/sauce_labs.rb#L33)
|
782
782
|
|
783
783
|
> def initialize(appium_lib_opts)
|
784
784
|
|
@@ -794,7 +794,7 @@ __Returns:__
|
|
794
794
|
|
795
795
|
--
|
796
796
|
|
797
|
-
##### [sauce_server_url?](https://github.com/appium/ruby_lib/blob/
|
797
|
+
##### [sauce_server_url?](https://github.com/appium/ruby_lib/blob/6efdc712722bf20384fc3d2a11f16ab17dd4e3ff/lib/appium_lib/sauce_labs.rb#L53)
|
798
798
|
|
799
799
|
> def sauce_server_url?
|
800
800
|
|
@@ -806,7 +806,7 @@ __Returns:__
|
|
806
806
|
|
807
807
|
--
|
808
808
|
|
809
|
-
##### [server_url](https://github.com/appium/ruby_lib/blob/
|
809
|
+
##### [server_url](https://github.com/appium/ruby_lib/blob/6efdc712722bf20384fc3d2a11f16ab17dd4e3ff/lib/appium_lib/sauce_labs.rb#L66)
|
810
810
|
|
811
811
|
> def server_url
|
812
812
|
|
@@ -818,7 +818,7 @@ __Returns:__
|
|
818
818
|
|
819
819
|
--
|
820
820
|
|
821
|
-
##### [get_log](https://github.com/appium/ruby_lib/blob/
|
821
|
+
##### [get_log](https://github.com/appium/ruby_lib/blob/6efdc712722bf20384fc3d2a11f16ab17dd4e3ff/lib/appium_lib/common/log.rb#L11)
|
822
822
|
|
823
823
|
> def get_log(type)
|
824
824
|
|
@@ -834,7 +834,7 @@ __Returns:__
|
|
834
834
|
|
835
835
|
--
|
836
836
|
|
837
|
-
##### [get_available_log_types](https://github.com/appium/ruby_lib/blob/
|
837
|
+
##### [get_available_log_types](https://github.com/appium/ruby_lib/blob/6efdc712722bf20384fc3d2a11f16ab17dd4e3ff/lib/appium_lib/common/log.rb#L23)
|
838
838
|
|
839
839
|
> def get_available_log_types
|
840
840
|
|
@@ -846,7 +846,7 @@ __Returns:__
|
|
846
846
|
|
847
847
|
--
|
848
848
|
|
849
|
-
##### [wait_true](https://github.com/appium/ruby_lib/blob/
|
849
|
+
##### [wait_true](https://github.com/appium/ruby_lib/blob/6efdc712722bf20384fc3d2a11f16ab17dd4e3ff/lib/appium_lib/common/wait.rb#L30)
|
850
850
|
|
851
851
|
> def wait_true(opts = {})
|
852
852
|
|
@@ -862,11 +862,11 @@ If only a number is provided then it's treated as the timeout value.
|
|
862
862
|
|
863
863
|
__Parameters:__
|
864
864
|
|
865
|
-
[Hash] opts - Options
|
865
|
+
[Hash|Numeric] opts - Options. If the value is _Numeric_, the value is set as `{ timeout: value }`
|
866
866
|
|
867
867
|
--
|
868
868
|
|
869
|
-
##### [wait](https://github.com/appium/ruby_lib/blob/
|
869
|
+
##### [wait](https://github.com/appium/ruby_lib/blob/6efdc712722bf20384fc3d2a11f16ab17dd4e3ff/lib/appium_lib/common/wait.rb#L59)
|
870
870
|
|
871
871
|
> def wait(opts = {})
|
872
872
|
|
@@ -880,11 +880,11 @@ If only a number is provided then it's treated as the timeout value.
|
|
880
880
|
|
881
881
|
__Parameters:__
|
882
882
|
|
883
|
-
[Hash] opts - Options
|
883
|
+
[Hash|Numeric] opts - Options. If the value is _Numeric_, the value is set as `{ timeout: value }`
|
884
884
|
|
885
885
|
--
|
886
886
|
|
887
|
-
##### [add_touch_actions](https://github.com/appium/ruby_lib/blob/
|
887
|
+
##### [add_touch_actions](https://github.com/appium/ruby_lib/blob/6efdc712722bf20384fc3d2a11f16ab17dd4e3ff/lib/appium_lib/common/device.rb#L12)
|
888
888
|
|
889
889
|
> def add_touch_actions
|
890
890
|
|
@@ -892,7 +892,7 @@ __Parameters:__
|
|
892
892
|
|
893
893
|
--
|
894
894
|
|
895
|
-
##### [delegate_from_appium_driver](https://github.com/appium/ruby_lib/blob/
|
895
|
+
##### [delegate_from_appium_driver](https://github.com/appium/ruby_lib/blob/6efdc712722bf20384fc3d2a11f16ab17dd4e3ff/lib/appium_lib/common/device.rb#L24)
|
896
896
|
|
897
897
|
> def delegate_from_appium_driver(method, delegation_target)
|
898
898
|
|
@@ -900,7 +900,7 @@ __Parameters:__
|
|
900
900
|
|
901
901
|
--
|
902
902
|
|
903
|
-
##### [ignore](https://github.com/appium/ruby_lib/blob/
|
903
|
+
##### [ignore](https://github.com/appium/ruby_lib/blob/6efdc712722bf20384fc3d2a11f16ab17dd4e3ff/lib/appium_lib/common/helper.rb#L16)
|
904
904
|
|
905
905
|
> def ignore
|
906
906
|
|
@@ -908,7 +908,7 @@ Return yield and ignore any exceptions.
|
|
908
908
|
|
909
909
|
--
|
910
910
|
|
911
|
-
##### [back](https://github.com/appium/ruby_lib/blob/
|
911
|
+
##### [back](https://github.com/appium/ruby_lib/blob/6efdc712722bf20384fc3d2a11f16ab17dd4e3ff/lib/appium_lib/common/helper.rb#L23)
|
912
912
|
|
913
913
|
> def back
|
914
914
|
|
@@ -920,7 +920,7 @@ __Returns:__
|
|
920
920
|
|
921
921
|
--
|
922
922
|
|
923
|
-
##### [session_id](https://github.com/appium/ruby_lib/blob/
|
923
|
+
##### [session_id](https://github.com/appium/ruby_lib/blob/6efdc712722bf20384fc3d2a11f16ab17dd4e3ff/lib/appium_lib/common/helper.rb#L34)
|
924
924
|
|
925
925
|
> def session_id
|
926
926
|
|
@@ -932,7 +932,7 @@ __Returns:__
|
|
932
932
|
|
933
933
|
--
|
934
934
|
|
935
|
-
##### [xpath](https://github.com/appium/ruby_lib/blob/
|
935
|
+
##### [xpath](https://github.com/appium/ruby_lib/blob/6efdc712722bf20384fc3d2a11f16ab17dd4e3ff/lib/appium_lib/common/helper.rb#L42)
|
936
936
|
|
937
937
|
> def xpath(xpath_str)
|
938
938
|
|
@@ -948,7 +948,7 @@ __Returns:__
|
|
948
948
|
|
949
949
|
--
|
950
950
|
|
951
|
-
##### [xpaths](https://github.com/appium/ruby_lib/blob/
|
951
|
+
##### [xpaths](https://github.com/appium/ruby_lib/blob/6efdc712722bf20384fc3d2a11f16ab17dd4e3ff/lib/appium_lib/common/helper.rb#L50)
|
952
952
|
|
953
953
|
> def xpaths(xpath_str)
|
954
954
|
|
@@ -964,7 +964,7 @@ __Returns:__
|
|
964
964
|
|
965
965
|
--
|
966
966
|
|
967
|
-
##### [result](https://github.com/appium/ruby_lib/blob/
|
967
|
+
##### [result](https://github.com/appium/ruby_lib/blob/6efdc712722bf20384fc3d2a11f16ab17dd4e3ff/lib/appium_lib/common/helper.rb#L60)
|
968
968
|
|
969
969
|
> def result
|
970
970
|
|
@@ -972,7 +972,7 @@ Returns the value of attribute result
|
|
972
972
|
|
973
973
|
--
|
974
974
|
|
975
|
-
##### [initialize](https://github.com/appium/ruby_lib/blob/
|
975
|
+
##### [initialize](https://github.com/appium/ruby_lib/blob/6efdc712722bf20384fc3d2a11f16ab17dd4e3ff/lib/appium_lib/common/helper.rb#L62)
|
976
976
|
|
977
977
|
> def initialize
|
978
978
|
|
@@ -984,7 +984,7 @@ __Returns:__
|
|
984
984
|
|
985
985
|
--
|
986
986
|
|
987
|
-
##### [reset](https://github.com/appium/ruby_lib/blob/
|
987
|
+
##### [reset](https://github.com/appium/ruby_lib/blob/6efdc712722bf20384fc3d2a11f16ab17dd4e3ff/lib/appium_lib/common/helper.rb#L66)
|
988
988
|
|
989
989
|
> def reset
|
990
990
|
|
@@ -992,7 +992,7 @@ __Returns:__
|
|
992
992
|
|
993
993
|
--
|
994
994
|
|
995
|
-
##### [start_element](https://github.com/appium/ruby_lib/blob/
|
995
|
+
##### [start_element](https://github.com/appium/ruby_lib/blob/6efdc712722bf20384fc3d2a11f16ab17dd4e3ff/lib/appium_lib/common/helper.rb#L71)
|
996
996
|
|
997
997
|
> def start_element(name, attrs = [], driver = $driver)
|
998
998
|
|
@@ -1000,7 +1000,7 @@ http://nokogiri.org/Nokogiri/XML/SAX/Document.html
|
|
1000
1000
|
|
1001
1001
|
--
|
1002
1002
|
|
1003
|
-
##### [formatted_result](https://github.com/appium/ruby_lib/blob/
|
1003
|
+
##### [formatted_result](https://github.com/appium/ruby_lib/blob/6efdc712722bf20384fc3d2a11f16ab17dd4e3ff/lib/appium_lib/common/helper.rb#L77)
|
1004
1004
|
|
1005
1005
|
> def formatted_result
|
1006
1006
|
|
@@ -1008,7 +1008,7 @@ http://nokogiri.org/Nokogiri/XML/SAX/Document.html
|
|
1008
1008
|
|
1009
1009
|
--
|
1010
1010
|
|
1011
|
-
##### [get_page_class](https://github.com/appium/ruby_lib/blob/
|
1011
|
+
##### [get_page_class](https://github.com/appium/ruby_lib/blob/6efdc712722bf20384fc3d2a11f16ab17dd4e3ff/lib/appium_lib/common/helper.rb#L96)
|
1012
1012
|
|
1013
1013
|
> def get_page_class
|
1014
1014
|
|
@@ -1020,7 +1020,7 @@ __Returns:__
|
|
1020
1020
|
|
1021
1021
|
--
|
1022
1022
|
|
1023
|
-
##### [page_class](https://github.com/appium/ruby_lib/blob/
|
1023
|
+
##### [page_class](https://github.com/appium/ruby_lib/blob/6efdc712722bf20384fc3d2a11f16ab17dd4e3ff/lib/appium_lib/common/helper.rb#L121)
|
1024
1024
|
|
1025
1025
|
> def page_class
|
1026
1026
|
|
@@ -1033,7 +1033,7 @@ __Returns:__
|
|
1033
1033
|
|
1034
1034
|
--
|
1035
1035
|
|
1036
|
-
##### [source](https://github.com/appium/ruby_lib/blob/
|
1036
|
+
##### [source](https://github.com/appium/ruby_lib/blob/6efdc712722bf20384fc3d2a11f16ab17dd4e3ff/lib/appium_lib/common/helper.rb#L128)
|
1037
1037
|
|
1038
1038
|
> def source
|
1039
1039
|
|
@@ -1045,7 +1045,7 @@ __Returns:__
|
|
1045
1045
|
|
1046
1046
|
--
|
1047
1047
|
|
1048
|
-
##### [get_source](https://github.com/appium/ruby_lib/blob/
|
1048
|
+
##### [get_source](https://github.com/appium/ruby_lib/blob/6efdc712722bf20384fc3d2a11f16ab17dd4e3ff/lib/appium_lib/common/helper.rb#L135)
|
1049
1049
|
|
1050
1050
|
> def get_source
|
1051
1051
|
|
@@ -1058,7 +1058,7 @@ __Returns:__
|
|
1058
1058
|
|
1059
1059
|
--
|
1060
1060
|
|
1061
|
-
##### [px_to_window_rel](https://github.com/appium/ruby_lib/blob/
|
1061
|
+
##### [px_to_window_rel](https://github.com/appium/ruby_lib/blob/6efdc712722bf20384fc3d2a11f16ab17dd4e3ff/lib/appium_lib/common/helper.rb#L145)
|
1062
1062
|
|
1063
1063
|
> def px_to_window_rel(opts = {}, driver = $driver)
|
1064
1064
|
|
@@ -1066,7 +1066,7 @@ Converts pixel values to window relative values
|
|
1066
1066
|
|
1067
1067
|
--
|
1068
1068
|
|
1069
|
-
##### [xml_keys](https://github.com/appium/ruby_lib/blob/
|
1069
|
+
##### [xml_keys](https://github.com/appium/ruby_lib/blob/6efdc712722bf20384fc3d2a11f16ab17dd4e3ff/lib/appium_lib/common/helper.rb#L164)
|
1070
1070
|
|
1071
1071
|
> def xml_keys(target)
|
1072
1072
|
|
@@ -1082,7 +1082,7 @@ __Returns:__
|
|
1082
1082
|
|
1083
1083
|
--
|
1084
1084
|
|
1085
|
-
##### [xml_values](https://github.com/appium/ruby_lib/blob/
|
1085
|
+
##### [xml_values](https://github.com/appium/ruby_lib/blob/6efdc712722bf20384fc3d2a11f16ab17dd4e3ff/lib/appium_lib/common/helper.rb#L172)
|
1086
1086
|
|
1087
1087
|
> def xml_values(target)
|
1088
1088
|
|
@@ -1098,7 +1098,7 @@ __Returns:__
|
|
1098
1098
|
|
1099
1099
|
--
|
1100
1100
|
|
1101
|
-
##### [resolve_id](https://github.com/appium/ruby_lib/blob/
|
1101
|
+
##### [resolve_id](https://github.com/appium/ruby_lib/blob/6efdc712722bf20384fc3d2a11f16ab17dd4e3ff/lib/appium_lib/common/helper.rb#L180)
|
1102
1102
|
|
1103
1103
|
> def resolve_id(id)
|
1104
1104
|
|
@@ -1114,7 +1114,7 @@ __Returns:__
|
|
1114
1114
|
|
1115
1115
|
--
|
1116
1116
|
|
1117
|
-
##### [filter](https://github.com/appium/ruby_lib/blob/
|
1117
|
+
##### [filter](https://github.com/appium/ruby_lib/blob/6efdc712722bf20384fc3d2a11f16ab17dd4e3ff/lib/appium_lib/common/helper.rb#L187)
|
1118
1118
|
|
1119
1119
|
> def filter
|
1120
1120
|
|
@@ -1122,7 +1122,7 @@ Returns the value of attribute filter
|
|
1122
1122
|
|
1123
1123
|
--
|
1124
1124
|
|
1125
|
-
##### [filter=](https://github.com/appium/ruby_lib/blob/
|
1125
|
+
##### [filter=](https://github.com/appium/ruby_lib/blob/6efdc712722bf20384fc3d2a11f16ab17dd4e3ff/lib/appium_lib/common/helper.rb#L190)
|
1126
1126
|
|
1127
1127
|
> def filter=(value)
|
1128
1128
|
|
@@ -1130,7 +1130,7 @@ convert to string to support symbols
|
|
1130
1130
|
|
1131
1131
|
--
|
1132
1132
|
|
1133
|
-
##### [initialize](https://github.com/appium/ruby_lib/blob/
|
1133
|
+
##### [initialize](https://github.com/appium/ruby_lib/blob/6efdc712722bf20384fc3d2a11f16ab17dd4e3ff/lib/appium_lib/common/helper.rb#L196)
|
1134
1134
|
|
1135
1135
|
> def initialize
|
1136
1136
|
|
@@ -1142,7 +1142,7 @@ __Returns:__
|
|
1142
1142
|
|
1143
1143
|
--
|
1144
1144
|
|
1145
|
-
##### [reset](https://github.com/appium/ruby_lib/blob/
|
1145
|
+
##### [reset](https://github.com/appium/ruby_lib/blob/6efdc712722bf20384fc3d2a11f16ab17dd4e3ff/lib/appium_lib/common/helper.rb#L201)
|
1146
1146
|
|
1147
1147
|
> def reset
|
1148
1148
|
|
@@ -1150,7 +1150,7 @@ __Returns:__
|
|
1150
1150
|
|
1151
1151
|
--
|
1152
1152
|
|
1153
|
-
##### [result](https://github.com/appium/ruby_lib/blob/
|
1153
|
+
##### [result](https://github.com/appium/ruby_lib/blob/6efdc712722bf20384fc3d2a11f16ab17dd4e3ff/lib/appium_lib/common/helper.rb#L207)
|
1154
1154
|
|
1155
1155
|
> def result
|
1156
1156
|
|
@@ -1158,7 +1158,7 @@ __Returns:__
|
|
1158
1158
|
|
1159
1159
|
--
|
1160
1160
|
|
1161
|
-
##### [start_element](https://github.com/appium/ruby_lib/blob/
|
1161
|
+
##### [start_element](https://github.com/appium/ruby_lib/blob/6efdc712722bf20384fc3d2a11f16ab17dd4e3ff/lib/appium_lib/common/helper.rb#L223)
|
1162
1162
|
|
1163
1163
|
> def start_element(name, attrs = [])
|
1164
1164
|
|
@@ -1166,7 +1166,7 @@ __Returns:__
|
|
1166
1166
|
|
1167
1167
|
--
|
1168
1168
|
|
1169
|
-
##### [end_element](https://github.com/appium/ruby_lib/blob/
|
1169
|
+
##### [end_element](https://github.com/appium/ruby_lib/blob/6efdc712722bf20384fc3d2a11f16ab17dd4e3ff/lib/appium_lib/common/helper.rb#L232)
|
1170
1170
|
|
1171
1171
|
> def end_element(name)
|
1172
1172
|
|
@@ -1174,7 +1174,7 @@ __Returns:__
|
|
1174
1174
|
|
1175
1175
|
--
|
1176
1176
|
|
1177
|
-
##### [characters](https://github.com/appium/ruby_lib/blob/
|
1177
|
+
##### [characters](https://github.com/appium/ruby_lib/blob/6efdc712722bf20384fc3d2a11f16ab17dd4e3ff/lib/appium_lib/common/helper.rb#L238)
|
1178
1178
|
|
1179
1179
|
> def characters(chars)
|
1180
1180
|
|
@@ -1182,7 +1182,7 @@ __Returns:__
|
|
1182
1182
|
|
1183
1183
|
--
|
1184
1184
|
|
1185
|
-
##### [DEFAULT_HEADERS](https://github.com/appium/ruby_lib/blob/
|
1185
|
+
##### [DEFAULT_HEADERS](https://github.com/appium/ruby_lib/blob/6efdc712722bf20384fc3d2a11f16ab17dd4e3ff/lib/appium_lib/common/http_client.rb#L8)
|
1186
1186
|
|
1187
1187
|
> DEFAULT_HEADERS = { 'Accept' => CONTENT_TYPE, 'User-Agent' => "appium/ruby_lib/#{::Appium::VERSION}" }.freeze
|
1188
1188
|
|
@@ -1190,7 +1190,7 @@ Default HTTP client inherit Appium::Core::Base::Http::Default, but has different
|
|
1190
1190
|
|
1191
1191
|
--
|
1192
1192
|
|
1193
|
-
##### [pinch](https://github.com/appium/ruby_lib/blob/
|
1193
|
+
##### [pinch](https://github.com/appium/ruby_lib/blob/6efdc712722bf20384fc3d2a11f16ab17dd4e3ff/lib/appium_lib/common/multi_touch.rb#L51)
|
1194
1194
|
|
1195
1195
|
> def pinch(percentage = 25, auto_perform = true, driver = $driver)
|
1196
1196
|
|
@@ -1210,7 +1210,7 @@ __Parameters:__
|
|
1210
1210
|
|
1211
1211
|
--
|
1212
1212
|
|
1213
|
-
##### [zoom](https://github.com/appium/ruby_lib/blob/
|
1213
|
+
##### [zoom](https://github.com/appium/ruby_lib/blob/6efdc712722bf20384fc3d2a11f16ab17dd4e3ff/lib/appium_lib/common/multi_touch.rb#L93)
|
1214
1214
|
|
1215
1215
|
> def zoom(percentage = 200, auto_perform = true, driver = $driver)
|
1216
1216
|
|
@@ -1230,7 +1230,7 @@ __Parameters:__
|
|
1230
1230
|
|
1231
1231
|
--
|
1232
1232
|
|
1233
|
-
##### [initialize](https://github.com/appium/ruby_lib/blob/
|
1233
|
+
##### [initialize](https://github.com/appium/ruby_lib/blob/6efdc712722bf20384fc3d2a11f16ab17dd4e3ff/lib/appium_lib/common/multi_touch.rb#L178)
|
1234
1234
|
|
1235
1235
|
> def initialize(driver = $driver)
|
1236
1236
|
|
@@ -1242,7 +1242,7 @@ __Returns:__
|
|
1242
1242
|
|
1243
1243
|
--
|
1244
1244
|
|
1245
|
-
##### [COMPLEX_ACTIONS](https://github.com/appium/ruby_lib/blob/
|
1245
|
+
##### [COMPLEX_ACTIONS](https://github.com/appium/ruby_lib/blob/6efdc712722bf20384fc3d2a11f16ab17dd4e3ff/lib/appium_lib/common/touch_actions.rb#L33)
|
1246
1246
|
|
1247
1247
|
> COMPLEX_ACTIONS = ::Appium::Core::TouchAction::COMPLEX_ACTIONS
|
1248
1248
|
|
@@ -1250,7 +1250,7 @@ __Returns:__
|
|
1250
1250
|
|
1251
1251
|
--
|
1252
1252
|
|
1253
|
-
##### [initialize](https://github.com/appium/ruby_lib/blob/
|
1253
|
+
##### [initialize](https://github.com/appium/ruby_lib/blob/6efdc712722bf20384fc3d2a11f16ab17dd4e3ff/lib/appium_lib/common/touch_actions.rb#L47)
|
1254
1254
|
|
1255
1255
|
> def initialize(driver = $driver)
|
1256
1256
|
|
@@ -1262,7 +1262,7 @@ __Returns:__
|
|
1262
1262
|
|
1263
1263
|
--
|
1264
1264
|
|
1265
|
-
##### [swipe](https://github.com/appium/ruby_lib/blob/
|
1265
|
+
##### [swipe](https://github.com/appium/ruby_lib/blob/6efdc712722bf20384fc3d2a11f16ab17dd4e3ff/lib/appium_lib/common/touch_actions.rb#L51)
|
1266
1266
|
|
1267
1267
|
> def swipe(opts)
|
1268
1268
|
|
@@ -1270,7 +1270,27 @@ __Returns:__
|
|
1270
1270
|
|
1271
1271
|
--
|
1272
1272
|
|
1273
|
-
##### [
|
1273
|
+
##### [initialize](https://github.com/appium/ruby_lib/blob/6efdc712722bf20384fc3d2a11f16ab17dd4e3ff/lib/appium_lib/common/command/ws_logcat.rb#L5)
|
1274
|
+
|
1275
|
+
> def initialize(url:, output_file: 'logcat.log')
|
1276
|
+
|
1277
|
+
|
1278
|
+
|
1279
|
+
__Returns:__
|
1280
|
+
|
1281
|
+
[WsLogcat] a new instance of WsLogcat
|
1282
|
+
|
1283
|
+
--
|
1284
|
+
|
1285
|
+
##### [handle_message_data](https://github.com/appium/ruby_lib/blob/6efdc712722bf20384fc3d2a11f16ab17dd4e3ff/lib/appium_lib/common/command/ws_logcat.rb#L10)
|
1286
|
+
|
1287
|
+
> def handle_message_data(data)
|
1288
|
+
|
1289
|
+
|
1290
|
+
|
1291
|
+
--
|
1292
|
+
|
1293
|
+
##### [for](https://github.com/appium/ruby_lib/blob/6efdc712722bf20384fc3d2a11f16ab17dd4e3ff/lib/appium_lib/ios/ios.rb#L15) ios
|
1274
1294
|
|
1275
1295
|
> def self.for(target)
|
1276
1296
|
|
@@ -1278,7 +1298,7 @@ __Returns:__
|
|
1278
1298
|
|
1279
1299
|
--
|
1280
1300
|
|
1281
|
-
##### [UIAStaticText](https://github.com/appium/ruby_lib/blob/
|
1301
|
+
##### [UIAStaticText](https://github.com/appium/ruby_lib/blob/6efdc712722bf20384fc3d2a11f16ab17dd4e3ff/lib/appium_lib/ios/element/text.rb#L4) ios
|
1282
1302
|
|
1283
1303
|
> UIAStaticText = 'UIAStaticText'.freeze
|
1284
1304
|
|
@@ -1286,7 +1306,7 @@ __Returns:__
|
|
1286
1306
|
|
1287
1307
|
--
|
1288
1308
|
|
1289
|
-
##### [XCUIElementTypeStaticText](https://github.com/appium/ruby_lib/blob/
|
1309
|
+
##### [XCUIElementTypeStaticText](https://github.com/appium/ruby_lib/blob/6efdc712722bf20384fc3d2a11f16ab17dd4e3ff/lib/appium_lib/ios/element/text.rb#L5) ios
|
1290
1310
|
|
1291
1311
|
> XCUIElementTypeStaticText = 'XCUIElementTypeStaticText'.freeze
|
1292
1312
|
|
@@ -1294,7 +1314,7 @@ __Returns:__
|
|
1294
1314
|
|
1295
1315
|
--
|
1296
1316
|
|
1297
|
-
##### [static_text_class](https://github.com/appium/ruby_lib/blob/
|
1317
|
+
##### [static_text_class](https://github.com/appium/ruby_lib/blob/6efdc712722bf20384fc3d2a11f16ab17dd4e3ff/lib/appium_lib/ios/element/text.rb#L8) ios
|
1298
1318
|
|
1299
1319
|
> def static_text_class
|
1300
1320
|
|
@@ -1306,7 +1326,7 @@ __Returns:__
|
|
1306
1326
|
|
1307
1327
|
--
|
1308
1328
|
|
1309
|
-
##### [text](https://github.com/appium/ruby_lib/blob/
|
1329
|
+
##### [text](https://github.com/appium/ruby_lib/blob/6efdc712722bf20384fc3d2a11f16ab17dd4e3ff/lib/appium_lib/ios/element/text.rb#L16) ios
|
1310
1330
|
|
1311
1331
|
> def text(value)
|
1312
1332
|
|
@@ -1323,7 +1343,7 @@ __Returns:__
|
|
1323
1343
|
|
1324
1344
|
--
|
1325
1345
|
|
1326
|
-
##### [texts](https://github.com/appium/ruby_lib/blob/
|
1346
|
+
##### [texts](https://github.com/appium/ruby_lib/blob/6efdc712722bf20384fc3d2a11f16ab17dd4e3ff/lib/appium_lib/ios/element/text.rb#L25) ios
|
1327
1347
|
|
1328
1348
|
> def texts(value = false)
|
1329
1349
|
|
@@ -1340,7 +1360,7 @@ __Returns:__
|
|
1340
1360
|
|
1341
1361
|
--
|
1342
1362
|
|
1343
|
-
##### [first_text](https://github.com/appium/ruby_lib/blob/
|
1363
|
+
##### [first_text](https://github.com/appium/ruby_lib/blob/6efdc712722bf20384fc3d2a11f16ab17dd4e3ff/lib/appium_lib/ios/element/text.rb#L32) ios
|
1344
1364
|
|
1345
1365
|
> def first_text
|
1346
1366
|
|
@@ -1352,7 +1372,7 @@ __Returns:__
|
|
1352
1372
|
|
1353
1373
|
--
|
1354
1374
|
|
1355
|
-
##### [last_text](https://github.com/appium/ruby_lib/blob/
|
1375
|
+
##### [last_text](https://github.com/appium/ruby_lib/blob/6efdc712722bf20384fc3d2a11f16ab17dd4e3ff/lib/appium_lib/ios/element/text.rb#L38) ios
|
1356
1376
|
|
1357
1377
|
> def last_text
|
1358
1378
|
|
@@ -1364,7 +1384,7 @@ __Returns:__
|
|
1364
1384
|
|
1365
1385
|
--
|
1366
1386
|
|
1367
|
-
##### [text_exact](https://github.com/appium/ruby_lib/blob/
|
1387
|
+
##### [text_exact](https://github.com/appium/ruby_lib/blob/6efdc712722bf20384fc3d2a11f16ab17dd4e3ff/lib/appium_lib/ios/element/text.rb#L45) ios
|
1368
1388
|
|
1369
1389
|
> def text_exact(value)
|
1370
1390
|
|
@@ -1380,7 +1400,7 @@ __Returns:__
|
|
1380
1400
|
|
1381
1401
|
--
|
1382
1402
|
|
1383
|
-
##### [texts_exact](https://github.com/appium/ruby_lib/blob/
|
1403
|
+
##### [texts_exact](https://github.com/appium/ruby_lib/blob/6efdc712722bf20384fc3d2a11f16ab17dd4e3ff/lib/appium_lib/ios/element/text.rb#L52) ios
|
1384
1404
|
|
1385
1405
|
> def texts_exact(value)
|
1386
1406
|
|
@@ -1396,7 +1416,7 @@ __Returns:__
|
|
1396
1416
|
|
1397
1417
|
--
|
1398
1418
|
|
1399
|
-
##### [filter](https://github.com/appium/ruby_lib/blob/
|
1419
|
+
##### [filter](https://github.com/appium/ruby_lib/blob/6efdc712722bf20384fc3d2a11f16ab17dd4e3ff/lib/appium_lib/ios/common/helper.rb#L5) ios
|
1400
1420
|
|
1401
1421
|
> def filter
|
1402
1422
|
|
@@ -1404,7 +1424,7 @@ Returns the value of attribute filter
|
|
1404
1424
|
|
1405
1425
|
--
|
1406
1426
|
|
1407
|
-
##### [filter=](https://github.com/appium/ruby_lib/blob/
|
1427
|
+
##### [filter=](https://github.com/appium/ruby_lib/blob/6efdc712722bf20384fc3d2a11f16ab17dd4e3ff/lib/appium_lib/ios/common/helper.rb#L5) ios
|
1408
1428
|
|
1409
1429
|
> def filter=(value)
|
1410
1430
|
|
@@ -1416,7 +1436,7 @@ __Parameters:__
|
|
1416
1436
|
|
1417
1437
|
--
|
1418
1438
|
|
1419
|
-
##### [start_element](https://github.com/appium/ruby_lib/blob/
|
1439
|
+
##### [start_element](https://github.com/appium/ruby_lib/blob/6efdc712722bf20384fc3d2a11f16ab17dd4e3ff/lib/appium_lib/ios/common/helper.rb#L7) ios
|
1420
1440
|
|
1421
1441
|
> def start_element(type, attrs = [])
|
1422
1442
|
|
@@ -1424,7 +1444,7 @@ __Parameters:__
|
|
1424
1444
|
|
1425
1445
|
--
|
1426
1446
|
|
1427
|
-
##### [ios_password](https://github.com/appium/ruby_lib/blob/
|
1447
|
+
##### [ios_password](https://github.com/appium/ruby_lib/blob/6efdc712722bf20384fc3d2a11f16ab17dd4e3ff/lib/appium_lib/ios/common/helper.rb#L44) ios
|
1428
1448
|
|
1429
1449
|
> def ios_password(length = 1)
|
1430
1450
|
|
@@ -1442,7 +1462,7 @@ __Returns:__
|
|
1442
1462
|
|
1443
1463
|
--
|
1444
1464
|
|
1445
|
-
##### [page](https://github.com/appium/ruby_lib/blob/
|
1465
|
+
##### [page](https://github.com/appium/ruby_lib/blob/6efdc712722bf20384fc3d2a11f16ab17dd4e3ff/lib/appium_lib/ios/common/helper.rb#L60) ios
|
1446
1466
|
|
1447
1467
|
> def page(opts = {})
|
1448
1468
|
|
@@ -1460,7 +1480,7 @@ __Returns:__
|
|
1460
1480
|
|
1461
1481
|
--
|
1462
1482
|
|
1463
|
-
##### [id](https://github.com/appium/ruby_lib/blob/
|
1483
|
+
##### [id](https://github.com/appium/ruby_lib/blob/6efdc712722bf20384fc3d2a11f16ab17dd4e3ff/lib/appium_lib/ios/common/helper.rb#L85) ios
|
1464
1484
|
|
1465
1485
|
> def id(id)
|
1466
1486
|
|
@@ -1476,7 +1496,7 @@ __Returns:__
|
|
1476
1496
|
|
1477
1497
|
--
|
1478
1498
|
|
1479
|
-
##### [ele_index](https://github.com/appium/ruby_lib/blob/
|
1499
|
+
##### [ele_index](https://github.com/appium/ruby_lib/blob/6efdc712722bf20384fc3d2a11f16ab17dd4e3ff/lib/appium_lib/ios/common/helper.rb#L93) ios
|
1480
1500
|
|
1481
1501
|
> def ele_index(class_name, index)
|
1482
1502
|
|
@@ -1494,7 +1514,7 @@ __Returns:__
|
|
1494
1514
|
|
1495
1515
|
--
|
1496
1516
|
|
1497
|
-
##### [find_ele_by_attr](https://github.com/appium/ruby_lib/blob/
|
1517
|
+
##### [find_ele_by_attr](https://github.com/appium/ruby_lib/blob/6efdc712722bf20384fc3d2a11f16ab17dd4e3ff/lib/appium_lib/ios/common/helper.rb#L121) ios
|
1498
1518
|
|
1499
1519
|
> def find_ele_by_attr(class_name, attr, value)
|
1500
1520
|
|
@@ -1516,7 +1536,7 @@ __Returns:__
|
|
1516
1536
|
|
1517
1537
|
--
|
1518
1538
|
|
1519
|
-
##### [find_eles_by_attr](https://github.com/appium/ruby_lib/blob/
|
1539
|
+
##### [find_eles_by_attr](https://github.com/appium/ruby_lib/blob/6efdc712722bf20384fc3d2a11f16ab17dd4e3ff/lib/appium_lib/ios/common/helper.rb#L132) ios
|
1520
1540
|
|
1521
1541
|
> def find_eles_by_attr(class_name, attr, value)
|
1522
1542
|
|
@@ -1538,7 +1558,7 @@ __Returns:__
|
|
1538
1558
|
|
1539
1559
|
--
|
1540
1560
|
|
1541
|
-
##### [find_ele_by_predicate](https://github.com/appium/ruby_lib/blob/
|
1561
|
+
##### [find_ele_by_predicate](https://github.com/appium/ruby_lib/blob/6efdc712722bf20384fc3d2a11f16ab17dd4e3ff/lib/appium_lib/ios/common/helper.rb#L145) ios
|
1542
1562
|
|
1543
1563
|
> def find_ele_by_predicate(class_name: '*', value:)
|
1544
1564
|
|
@@ -1555,7 +1575,7 @@ __Returns:__
|
|
1555
1575
|
|
1556
1576
|
--
|
1557
1577
|
|
1558
|
-
##### [find_eles_by_predicate](https://github.com/appium/ruby_lib/blob/
|
1578
|
+
##### [find_eles_by_predicate](https://github.com/appium/ruby_lib/blob/6efdc712722bf20384fc3d2a11f16ab17dd4e3ff/lib/appium_lib/ios/common/helper.rb#L156) ios
|
1559
1579
|
|
1560
1580
|
> def find_eles_by_predicate(class_name: '*', value:)
|
1561
1581
|
|
@@ -1574,7 +1594,7 @@ __Returns:__
|
|
1574
1594
|
|
1575
1595
|
--
|
1576
1596
|
|
1577
|
-
##### [find_ele_by_attr_include](https://github.com/appium/ruby_lib/blob/
|
1597
|
+
##### [find_ele_by_attr_include](https://github.com/appium/ruby_lib/blob/6efdc712722bf20384fc3d2a11f16ab17dd4e3ff/lib/appium_lib/ios/common/helper.rb#L172) ios
|
1578
1598
|
|
1579
1599
|
> def find_ele_by_attr_include(class_name, attr, value)
|
1580
1600
|
|
@@ -1595,7 +1615,7 @@ __Returns:__
|
|
1595
1615
|
|
1596
1616
|
--
|
1597
1617
|
|
1598
|
-
##### [find_eles_by_attr_include](https://github.com/appium/ruby_lib/blob/
|
1618
|
+
##### [find_eles_by_attr_include](https://github.com/appium/ruby_lib/blob/6efdc712722bf20384fc3d2a11f16ab17dd4e3ff/lib/appium_lib/ios/common/helper.rb#L182) ios
|
1599
1619
|
|
1600
1620
|
> def find_eles_by_attr_include(class_name, attr, value)
|
1601
1621
|
|
@@ -1616,7 +1636,7 @@ __Returns:__
|
|
1616
1636
|
|
1617
1637
|
--
|
1618
1638
|
|
1619
|
-
##### [find_ele_by_predicate_include](https://github.com/appium/ruby_lib/blob/
|
1639
|
+
##### [find_ele_by_predicate_include](https://github.com/appium/ruby_lib/blob/6efdc712722bf20384fc3d2a11f16ab17dd4e3ff/lib/appium_lib/ios/common/helper.rb#L190) ios
|
1620
1640
|
|
1621
1641
|
> def find_ele_by_predicate_include(class_name: '*', value:)
|
1622
1642
|
|
@@ -1633,7 +1653,7 @@ __Returns:__
|
|
1633
1653
|
|
1634
1654
|
--
|
1635
1655
|
|
1636
|
-
##### [find_eles_by_predicate_include](https://github.com/appium/ruby_lib/blob/
|
1656
|
+
##### [find_eles_by_predicate_include](https://github.com/appium/ruby_lib/blob/6efdc712722bf20384fc3d2a11f16ab17dd4e3ff/lib/appium_lib/ios/common/helper.rb#L201) ios
|
1637
1657
|
|
1638
1658
|
> def find_eles_by_predicate_include(class_name: '*', value:)
|
1639
1659
|
|
@@ -1652,7 +1672,7 @@ __Returns:__
|
|
1652
1672
|
|
1653
1673
|
--
|
1654
1674
|
|
1655
|
-
##### [first_ele](https://github.com/appium/ruby_lib/blob/
|
1675
|
+
##### [first_ele](https://github.com/appium/ruby_lib/blob/6efdc712722bf20384fc3d2a11f16ab17dd4e3ff/lib/appium_lib/ios/common/helper.rb#L214) ios
|
1656
1676
|
|
1657
1677
|
> def first_ele(class_name)
|
1658
1678
|
|
@@ -1668,7 +1688,7 @@ __Returns:__
|
|
1668
1688
|
|
1669
1689
|
--
|
1670
1690
|
|
1671
|
-
##### [last_ele](https://github.com/appium/ruby_lib/blob/
|
1691
|
+
##### [last_ele](https://github.com/appium/ruby_lib/blob/6efdc712722bf20384fc3d2a11f16ab17dd4e3ff/lib/appium_lib/ios/common/helper.rb#L221) ios
|
1672
1692
|
|
1673
1693
|
> def last_ele(class_name)
|
1674
1694
|
|
@@ -1684,7 +1704,7 @@ __Returns:__
|
|
1684
1704
|
|
1685
1705
|
--
|
1686
1706
|
|
1687
|
-
##### [tag](https://github.com/appium/ruby_lib/blob/
|
1707
|
+
##### [tag](https://github.com/appium/ruby_lib/blob/6efdc712722bf20384fc3d2a11f16ab17dd4e3ff/lib/appium_lib/ios/common/helper.rb#L229) ios
|
1688
1708
|
|
1689
1709
|
> def tag(class_name)
|
1690
1710
|
|
@@ -1700,7 +1720,7 @@ __Returns:__
|
|
1700
1720
|
|
1701
1721
|
--
|
1702
1722
|
|
1703
|
-
##### [tags](https://github.com/appium/ruby_lib/blob/
|
1723
|
+
##### [tags](https://github.com/appium/ruby_lib/blob/6efdc712722bf20384fc3d2a11f16ab17dd4e3ff/lib/appium_lib/ios/common/helper.rb#L237) ios
|
1704
1724
|
|
1705
1725
|
> def tags(class_name)
|
1706
1726
|
|
@@ -1716,7 +1736,7 @@ __Returns:__
|
|
1716
1736
|
|
1717
1737
|
--
|
1718
1738
|
|
1719
|
-
##### [tags_include](https://github.com/appium/ruby_lib/blob/
|
1739
|
+
##### [tags_include](https://github.com/appium/ruby_lib/blob/6efdc712722bf20384fc3d2a11f16ab17dd4e3ff/lib/appium_lib/ios/common/helper.rb#L248) ios
|
1720
1740
|
|
1721
1741
|
> def tags_include(class_names:, value: nil)
|
1722
1742
|
|
@@ -1736,7 +1756,7 @@ __Returns:__
|
|
1736
1756
|
|
1737
1757
|
--
|
1738
1758
|
|
1739
|
-
##### [tags_exact](https://github.com/appium/ruby_lib/blob/
|
1759
|
+
##### [tags_exact](https://github.com/appium/ruby_lib/blob/6efdc712722bf20384fc3d2a11f16ab17dd4e3ff/lib/appium_lib/ios/common/helper.rb#L263) ios
|
1740
1760
|
|
1741
1761
|
> def tags_exact(class_names:, value: nil)
|
1742
1762
|
|
@@ -1756,7 +1776,7 @@ __Returns:__
|
|
1756
1776
|
|
1757
1777
|
--
|
1758
1778
|
|
1759
|
-
##### [ele_by_json_visible_contains](https://github.com/appium/ruby_lib/blob/
|
1779
|
+
##### [ele_by_json_visible_contains](https://github.com/appium/ruby_lib/blob/6efdc712722bf20384fc3d2a11f16ab17dd4e3ff/lib/appium_lib/ios/common/helper.rb#L300) ios
|
1760
1780
|
|
1761
1781
|
> def ele_by_json_visible_contains(element, value)
|
1762
1782
|
|
@@ -1775,7 +1795,7 @@ __Returns:__
|
|
1775
1795
|
|
1776
1796
|
--
|
1777
1797
|
|
1778
|
-
##### [eles_by_json_visible_contains](https://github.com/appium/ruby_lib/blob/
|
1798
|
+
##### [eles_by_json_visible_contains](https://github.com/appium/ruby_lib/blob/6efdc712722bf20384fc3d2a11f16ab17dd4e3ff/lib/appium_lib/ios/common/helper.rb#L309) ios
|
1779
1799
|
|
1780
1800
|
> def eles_by_json_visible_contains(element, value)
|
1781
1801
|
|
@@ -1794,7 +1814,7 @@ __Returns:__
|
|
1794
1814
|
|
1795
1815
|
--
|
1796
1816
|
|
1797
|
-
##### [ele_by_json_visible_exact](https://github.com/appium/ruby_lib/blob/
|
1817
|
+
##### [ele_by_json_visible_exact](https://github.com/appium/ruby_lib/blob/6efdc712722bf20384fc3d2a11f16ab17dd4e3ff/lib/appium_lib/ios/common/helper.rb#L339) ios
|
1798
1818
|
|
1799
1819
|
> def ele_by_json_visible_exact(element, value)
|
1800
1820
|
|
@@ -1813,7 +1833,7 @@ __Returns:__
|
|
1813
1833
|
|
1814
1834
|
--
|
1815
1835
|
|
1816
|
-
##### [eles_by_json_visible_exact](https://github.com/appium/ruby_lib/blob/
|
1836
|
+
##### [eles_by_json_visible_exact](https://github.com/appium/ruby_lib/blob/6efdc712722bf20384fc3d2a11f16ab17dd4e3ff/lib/appium_lib/ios/common/helper.rb#L348) ios
|
1817
1837
|
|
1818
1838
|
> def eles_by_json_visible_exact(element, value)
|
1819
1839
|
|
@@ -1832,7 +1852,7 @@ __Returns:__
|
|
1832
1852
|
|
1833
1853
|
--
|
1834
1854
|
|
1835
|
-
##### [_all_pred](https://github.com/appium/ruby_lib/blob/
|
1855
|
+
##### [_all_pred](https://github.com/appium/ruby_lib/blob/6efdc712722bf20384fc3d2a11f16ab17dd4e3ff/lib/appium_lib/ios/common/helper.rb#L357) ios
|
1836
1856
|
|
1837
1857
|
> def _all_pred(opts)
|
1838
1858
|
|
@@ -1842,7 +1862,7 @@ visible - if true, only visible elements are returned. default true
|
|
1842
1862
|
|
1843
1863
|
--
|
1844
1864
|
|
1845
|
-
##### [ele_with_pred](https://github.com/appium/ruby_lib/blob/
|
1865
|
+
##### [ele_with_pred](https://github.com/appium/ruby_lib/blob/6efdc712722bf20384fc3d2a11f16ab17dd4e3ff/lib/appium_lib/ios/common/helper.rb#L370) ios
|
1846
1866
|
|
1847
1867
|
> def ele_with_pred(opts)
|
1848
1868
|
|
@@ -1858,7 +1878,7 @@ __Returns:__
|
|
1858
1878
|
|
1859
1879
|
--
|
1860
1880
|
|
1861
|
-
##### [eles_with_pred](https://github.com/appium/ruby_lib/blob/
|
1881
|
+
##### [eles_with_pred](https://github.com/appium/ruby_lib/blob/6efdc712722bf20384fc3d2a11f16ab17dd4e3ff/lib/appium_lib/ios/common/helper.rb#L381) ios
|
1862
1882
|
|
1863
1883
|
> def eles_with_pred(opts)
|
1864
1884
|
|
@@ -1874,7 +1894,7 @@ __Returns:__
|
|
1874
1894
|
|
1875
1895
|
--
|
1876
1896
|
|
1877
|
-
##### [_validate_object](https://github.com/appium/ruby_lib/blob/
|
1897
|
+
##### [_validate_object](https://github.com/appium/ruby_lib/blob/6efdc712722bf20384fc3d2a11f16ab17dd4e3ff/lib/appium_lib/ios/common/helper.rb#L385) ios
|
1878
1898
|
|
1879
1899
|
> def _validate_object(*objects)
|
1880
1900
|
|
@@ -1882,7 +1902,7 @@ __Returns:__
|
|
1882
1902
|
|
1883
1903
|
--
|
1884
1904
|
|
1885
|
-
##### [_by_json](https://github.com/appium/ruby_lib/blob/
|
1905
|
+
##### [_by_json](https://github.com/appium/ruby_lib/blob/6efdc712722bf20384fc3d2a11f16ab17dd4e3ff/lib/appium_lib/ios/common/helper.rb#L434) ios
|
1886
1906
|
|
1887
1907
|
> def _by_json(opts)
|
1888
1908
|
|
@@ -1917,7 +1937,7 @@ opts = {
|
|
1917
1937
|
|
1918
1938
|
--
|
1919
1939
|
|
1920
|
-
##### [eles_by_json](https://github.com/appium/ruby_lib/blob/
|
1940
|
+
##### [eles_by_json](https://github.com/appium/ruby_lib/blob/6efdc712722bf20384fc3d2a11f16ab17dd4e3ff/lib/appium_lib/ios/common/helper.rb#L484) ios
|
1921
1941
|
|
1922
1942
|
> def eles_by_json(opts)
|
1923
1943
|
|
@@ -1936,7 +1956,7 @@ eles_by_json({
|
|
1936
1956
|
|
1937
1957
|
--
|
1938
1958
|
|
1939
|
-
##### [ele_by_json](https://github.com/appium/ruby_lib/blob/
|
1959
|
+
##### [ele_by_json](https://github.com/appium/ruby_lib/blob/6efdc712722bf20384fc3d2a11f16ab17dd4e3ff/lib/appium_lib/ios/common/helper.rb#L490) ios
|
1940
1960
|
|
1941
1961
|
> def ele_by_json(opts)
|
1942
1962
|
|
@@ -1944,7 +1964,7 @@ see eles_by_json
|
|
1944
1964
|
|
1945
1965
|
--
|
1946
1966
|
|
1947
|
-
##### [alert_accept](https://github.com/appium/ruby_lib/blob/
|
1967
|
+
##### [alert_accept](https://github.com/appium/ruby_lib/blob/6efdc712722bf20384fc3d2a11f16ab17dd4e3ff/lib/appium_lib/ios/element/alert.rb#L5) ios
|
1948
1968
|
|
1949
1969
|
> def alert_accept
|
1950
1970
|
|
@@ -1956,7 +1976,7 @@ __Returns:__
|
|
1956
1976
|
|
1957
1977
|
--
|
1958
1978
|
|
1959
|
-
##### [alert_dismiss](https://github.com/appium/ruby_lib/blob/
|
1979
|
+
##### [alert_dismiss](https://github.com/appium/ruby_lib/blob/6efdc712722bf20384fc3d2a11f16ab17dd4e3ff/lib/appium_lib/ios/element/alert.rb#L13) ios
|
1960
1980
|
|
1961
1981
|
> def alert_dismiss
|
1962
1982
|
|
@@ -1968,7 +1988,7 @@ __Returns:__
|
|
1968
1988
|
|
1969
1989
|
--
|
1970
1990
|
|
1971
|
-
##### [UIAButton](https://github.com/appium/ruby_lib/blob/
|
1991
|
+
##### [UIAButton](https://github.com/appium/ruby_lib/blob/6efdc712722bf20384fc3d2a11f16ab17dd4e3ff/lib/appium_lib/ios/element/button.rb#L4) ios
|
1972
1992
|
|
1973
1993
|
> UIAButton = 'UIAButton'.freeze
|
1974
1994
|
|
@@ -1976,7 +1996,7 @@ __Returns:__
|
|
1976
1996
|
|
1977
1997
|
--
|
1978
1998
|
|
1979
|
-
##### [XCUIElementTypeButton](https://github.com/appium/ruby_lib/blob/
|
1999
|
+
##### [XCUIElementTypeButton](https://github.com/appium/ruby_lib/blob/6efdc712722bf20384fc3d2a11f16ab17dd4e3ff/lib/appium_lib/ios/element/button.rb#L5) ios
|
1980
2000
|
|
1981
2001
|
> XCUIElementTypeButton = 'XCUIElementTypeButton'.freeze
|
1982
2002
|
|
@@ -1984,7 +2004,7 @@ __Returns:__
|
|
1984
2004
|
|
1985
2005
|
--
|
1986
2006
|
|
1987
|
-
##### [button_class](https://github.com/appium/ruby_lib/blob/
|
2007
|
+
##### [button_class](https://github.com/appium/ruby_lib/blob/6efdc712722bf20384fc3d2a11f16ab17dd4e3ff/lib/appium_lib/ios/element/button.rb#L8) ios
|
1988
2008
|
|
1989
2009
|
> def button_class
|
1990
2010
|
|
@@ -1996,7 +2016,7 @@ __Returns:__
|
|
1996
2016
|
|
1997
2017
|
--
|
1998
2018
|
|
1999
|
-
##### [button](https://github.com/appium/ruby_lib/blob/
|
2019
|
+
##### [button](https://github.com/appium/ruby_lib/blob/6efdc712722bf20384fc3d2a11f16ab17dd4e3ff/lib/appium_lib/ios/element/button.rb#L16) ios
|
2000
2020
|
|
2001
2021
|
> def button(value)
|
2002
2022
|
|
@@ -2013,7 +2033,7 @@ __Returns:__
|
|
2013
2033
|
|
2014
2034
|
--
|
2015
2035
|
|
2016
|
-
##### [buttons](https://github.com/appium/ruby_lib/blob/
|
2036
|
+
##### [buttons](https://github.com/appium/ruby_lib/blob/6efdc712722bf20384fc3d2a11f16ab17dd4e3ff/lib/appium_lib/ios/element/button.rb#L26) ios
|
2017
2037
|
|
2018
2038
|
> def buttons(value = false)
|
2019
2039
|
|
@@ -2030,7 +2050,7 @@ __Returns:__
|
|
2030
2050
|
|
2031
2051
|
--
|
2032
2052
|
|
2033
|
-
##### [first_button](https://github.com/appium/ruby_lib/blob/
|
2053
|
+
##### [first_button](https://github.com/appium/ruby_lib/blob/6efdc712722bf20384fc3d2a11f16ab17dd4e3ff/lib/appium_lib/ios/element/button.rb#L33) ios
|
2034
2054
|
|
2035
2055
|
> def first_button
|
2036
2056
|
|
@@ -2042,7 +2062,7 @@ __Returns:__
|
|
2042
2062
|
|
2043
2063
|
--
|
2044
2064
|
|
2045
|
-
##### [last_button](https://github.com/appium/ruby_lib/blob/
|
2065
|
+
##### [last_button](https://github.com/appium/ruby_lib/blob/6efdc712722bf20384fc3d2a11f16ab17dd4e3ff/lib/appium_lib/ios/element/button.rb#L41) ios
|
2046
2066
|
|
2047
2067
|
> def last_button
|
2048
2068
|
|
@@ -2056,7 +2076,7 @@ __Returns:__
|
|
2056
2076
|
|
2057
2077
|
--
|
2058
2078
|
|
2059
|
-
##### [button_exact](https://github.com/appium/ruby_lib/blob/
|
2079
|
+
##### [button_exact](https://github.com/appium/ruby_lib/blob/6efdc712722bf20384fc3d2a11f16ab17dd4e3ff/lib/appium_lib/ios/element/button.rb#L48) ios
|
2060
2080
|
|
2061
2081
|
> def button_exact(value)
|
2062
2082
|
|
@@ -2072,7 +2092,7 @@ __Returns:__
|
|
2072
2092
|
|
2073
2093
|
--
|
2074
2094
|
|
2075
|
-
##### [buttons_exact](https://github.com/appium/ruby_lib/blob/
|
2095
|
+
##### [buttons_exact](https://github.com/appium/ruby_lib/blob/6efdc712722bf20384fc3d2a11f16ab17dd4e3ff/lib/appium_lib/ios/element/button.rb#L55) ios
|
2076
2096
|
|
2077
2097
|
> def buttons_exact(value)
|
2078
2098
|
|
@@ -2088,7 +2108,7 @@ __Returns:__
|
|
2088
2108
|
|
2089
2109
|
--
|
2090
2110
|
|
2091
|
-
##### [find](https://github.com/appium/ruby_lib/blob/
|
2111
|
+
##### [find](https://github.com/appium/ruby_lib/blob/6efdc712722bf20384fc3d2a11f16ab17dd4e3ff/lib/appium_lib/ios/element/generic.rb#L6) ios
|
2092
2112
|
|
2093
2113
|
> def find(value)
|
2094
2114
|
|
@@ -2104,7 +2124,7 @@ __Returns:__
|
|
2104
2124
|
|
2105
2125
|
--
|
2106
2126
|
|
2107
|
-
##### [finds](https://github.com/appium/ruby_lib/blob/
|
2127
|
+
##### [finds](https://github.com/appium/ruby_lib/blob/6efdc712722bf20384fc3d2a11f16ab17dd4e3ff/lib/appium_lib/ios/element/generic.rb#L13) ios
|
2108
2128
|
|
2109
2129
|
> def finds(value)
|
2110
2130
|
|
@@ -2120,7 +2140,7 @@ __Returns:__
|
|
2120
2140
|
|
2121
2141
|
--
|
2122
2142
|
|
2123
|
-
##### [find_exact](https://github.com/appium/ruby_lib/blob/
|
2143
|
+
##### [find_exact](https://github.com/appium/ruby_lib/blob/6efdc712722bf20384fc3d2a11f16ab17dd4e3ff/lib/appium_lib/ios/element/generic.rb#L20) ios
|
2124
2144
|
|
2125
2145
|
> def find_exact(value)
|
2126
2146
|
|
@@ -2136,7 +2156,7 @@ __Returns:__
|
|
2136
2156
|
|
2137
2157
|
--
|
2138
2158
|
|
2139
|
-
##### [finds_exact](https://github.com/appium/ruby_lib/blob/
|
2159
|
+
##### [finds_exact](https://github.com/appium/ruby_lib/blob/6efdc712722bf20384fc3d2a11f16ab17dd4e3ff/lib/appium_lib/ios/element/generic.rb#L27) ios
|
2140
2160
|
|
2141
2161
|
> def finds_exact(value)
|
2142
2162
|
|
@@ -2152,7 +2172,7 @@ __Returns:__
|
|
2152
2172
|
|
2153
2173
|
--
|
2154
2174
|
|
2155
|
-
##### [raise_error_if_no_element](https://github.com/appium/ruby_lib/blob/
|
2175
|
+
##### [raise_error_if_no_element](https://github.com/appium/ruby_lib/blob/6efdc712722bf20384fc3d2a11f16ab17dd4e3ff/lib/appium_lib/ios/element/generic.rb#L33) ios
|
2156
2176
|
|
2157
2177
|
> def raise_error_if_no_element(element)
|
2158
2178
|
|
@@ -2160,7 +2180,7 @@ __Returns:__
|
|
2160
2180
|
|
2161
2181
|
--
|
2162
2182
|
|
2163
|
-
##### [select_visible_elements](https://github.com/appium/ruby_lib/blob/
|
2183
|
+
##### [select_visible_elements](https://github.com/appium/ruby_lib/blob/6efdc712722bf20384fc3d2a11f16ab17dd4e3ff/lib/appium_lib/ios/element/generic.rb#L40) ios
|
2164
2184
|
|
2165
2185
|
> def select_visible_elements(elements)
|
2166
2186
|
|
@@ -2168,7 +2188,7 @@ Return visible elements.
|
|
2168
2188
|
|
2169
2189
|
--
|
2170
2190
|
|
2171
|
-
##### [for](https://github.com/appium/ruby_lib/blob/
|
2191
|
+
##### [for](https://github.com/appium/ruby_lib/blob/6efdc712722bf20384fc3d2a11f16ab17dd4e3ff/lib/appium_lib/ios/xcuitest/bridge.rb#L7) ios
|
2172
2192
|
|
2173
2193
|
> def self.for(target)
|
2174
2194
|
|
@@ -2176,7 +2196,7 @@ Return visible elements.
|
|
2176
2196
|
|
2177
2197
|
--
|
2178
2198
|
|
2179
|
-
##### [last_ele](https://github.com/appium/ruby_lib/blob/
|
2199
|
+
##### [last_ele](https://github.com/appium/ruby_lib/blob/6efdc712722bf20384fc3d2a11f16ab17dd4e3ff/lib/appium_lib/ios/xcuitest/helper.rb#L26) ios
|
2180
2200
|
|
2181
2201
|
> def last_ele(class_name)
|
2182
2202
|
|
@@ -2192,7 +2212,7 @@ __Returns:__
|
|
2192
2212
|
|
2193
2213
|
--
|
2194
2214
|
|
2195
|
-
##### [tag](https://github.com/appium/ruby_lib/blob/
|
2215
|
+
##### [tag](https://github.com/appium/ruby_lib/blob/6efdc712722bf20384fc3d2a11f16ab17dd4e3ff/lib/appium_lib/ios/xcuitest/helper.rb#L36) ios
|
2196
2216
|
|
2197
2217
|
> def tag(class_name)
|
2198
2218
|
|
@@ -2208,7 +2228,7 @@ __Returns:__
|
|
2208
2228
|
|
2209
2229
|
--
|
2210
2230
|
|
2211
|
-
##### [tags](https://github.com/appium/ruby_lib/blob/
|
2231
|
+
##### [tags](https://github.com/appium/ruby_lib/blob/6efdc712722bf20384fc3d2a11f16ab17dd4e3ff/lib/appium_lib/ios/xcuitest/helper.rb#L44) ios
|
2212
2232
|
|
2213
2233
|
> def tags(class_name)
|
2214
2234
|
|
@@ -2224,7 +2244,7 @@ __Returns:__
|
|
2224
2244
|
|
2225
2245
|
--
|
2226
2246
|
|
2227
|
-
##### [tags_include](https://github.com/appium/ruby_lib/blob/
|
2247
|
+
##### [tags_include](https://github.com/appium/ruby_lib/blob/6efdc712722bf20384fc3d2a11f16ab17dd4e3ff/lib/appium_lib/ios/xcuitest/helper.rb#L56) ios
|
2228
2248
|
|
2229
2249
|
> def tags_include(class_names:, value: nil)
|
2230
2250
|
|
@@ -2244,7 +2264,7 @@ __Returns:__
|
|
2244
2264
|
|
2245
2265
|
--
|
2246
2266
|
|
2247
|
-
##### [tags_exact](https://github.com/appium/ruby_lib/blob/
|
2267
|
+
##### [tags_exact](https://github.com/appium/ruby_lib/blob/6efdc712722bf20384fc3d2a11f16ab17dd4e3ff/lib/appium_lib/ios/xcuitest/helper.rb#L79) ios
|
2248
2268
|
|
2249
2269
|
> def tags_exact(class_names:, value: nil)
|
2250
2270
|
|
@@ -2264,7 +2284,27 @@ __Returns:__
|
|
2264
2284
|
|
2265
2285
|
--
|
2266
2286
|
|
2267
|
-
##### [
|
2287
|
+
##### [start_logs_broadcast](https://github.com/appium/ruby_lib/blob/6efdc712722bf20384fc3d2a11f16ab17dd4e3ff/lib/appium_lib/ios/xcuitest/command.rb#L18) ios
|
2288
|
+
|
2289
|
+
> def start_logs_broadcast(syslog_file = 'syslog.log')
|
2290
|
+
|
2291
|
+
Starts iOS syslog broadcast websocket
|
2292
|
+
|
2293
|
+
__Parameters:__
|
2294
|
+
|
2295
|
+
[String] syslog_file - A file path to write messages from a syslog WebSocket client
|
2296
|
+
|
2297
|
+
--
|
2298
|
+
|
2299
|
+
##### [stop_logs_broadcast](https://github.com/appium/ruby_lib/blob/6efdc712722bf20384fc3d2a11f16ab17dd4e3ff/lib/appium_lib/ios/xcuitest/command.rb#L31) ios
|
2300
|
+
|
2301
|
+
> def stop_logs_broadcast
|
2302
|
+
|
2303
|
+
Stop iOS syslog broadcast websocket
|
2304
|
+
|
2305
|
+
--
|
2306
|
+
|
2307
|
+
##### [UIATextField](https://github.com/appium/ruby_lib/blob/6efdc712722bf20384fc3d2a11f16ab17dd4e3ff/lib/appium_lib/ios/element/textfield.rb#L3) ios
|
2268
2308
|
|
2269
2309
|
> UIATextField = 'UIATextField'.freeze
|
2270
2310
|
|
@@ -2272,7 +2312,7 @@ __Returns:__
|
|
2272
2312
|
|
2273
2313
|
--
|
2274
2314
|
|
2275
|
-
##### [UIASecureTextField](https://github.com/appium/ruby_lib/blob/
|
2315
|
+
##### [UIASecureTextField](https://github.com/appium/ruby_lib/blob/6efdc712722bf20384fc3d2a11f16ab17dd4e3ff/lib/appium_lib/ios/element/textfield.rb#L4) ios
|
2276
2316
|
|
2277
2317
|
> UIASecureTextField = 'UIASecureTextField'.freeze
|
2278
2318
|
|
@@ -2280,7 +2320,7 @@ __Returns:__
|
|
2280
2320
|
|
2281
2321
|
--
|
2282
2322
|
|
2283
|
-
##### [XCUIElementTypeTextField](https://github.com/appium/ruby_lib/blob/
|
2323
|
+
##### [XCUIElementTypeTextField](https://github.com/appium/ruby_lib/blob/6efdc712722bf20384fc3d2a11f16ab17dd4e3ff/lib/appium_lib/ios/element/textfield.rb#L6) ios
|
2284
2324
|
|
2285
2325
|
> XCUIElementTypeTextField = 'XCUIElementTypeTextField'.freeze
|
2286
2326
|
|
@@ -2288,7 +2328,7 @@ __Returns:__
|
|
2288
2328
|
|
2289
2329
|
--
|
2290
2330
|
|
2291
|
-
##### [XCUIElementTypeSecureTextField](https://github.com/appium/ruby_lib/blob/
|
2331
|
+
##### [XCUIElementTypeSecureTextField](https://github.com/appium/ruby_lib/blob/6efdc712722bf20384fc3d2a11f16ab17dd4e3ff/lib/appium_lib/ios/element/textfield.rb#L7) ios
|
2292
2332
|
|
2293
2333
|
> XCUIElementTypeSecureTextField = 'XCUIElementTypeSecureTextField'.freeze
|
2294
2334
|
|
@@ -2296,7 +2336,7 @@ __Returns:__
|
|
2296
2336
|
|
2297
2337
|
--
|
2298
2338
|
|
2299
|
-
##### [text_field_class](https://github.com/appium/ruby_lib/blob/
|
2339
|
+
##### [text_field_class](https://github.com/appium/ruby_lib/blob/6efdc712722bf20384fc3d2a11f16ab17dd4e3ff/lib/appium_lib/ios/element/textfield.rb#L10) ios
|
2300
2340
|
|
2301
2341
|
> def text_field_class
|
2302
2342
|
|
@@ -2308,7 +2348,7 @@ __Returns:__
|
|
2308
2348
|
|
2309
2349
|
--
|
2310
2350
|
|
2311
|
-
##### [secure_text_field_class](https://github.com/appium/ruby_lib/blob/
|
2351
|
+
##### [secure_text_field_class](https://github.com/appium/ruby_lib/blob/6efdc712722bf20384fc3d2a11f16ab17dd4e3ff/lib/appium_lib/ios/element/textfield.rb#L15) ios
|
2312
2352
|
|
2313
2353
|
> def secure_text_field_class
|
2314
2354
|
|
@@ -2320,7 +2360,7 @@ __Returns:__
|
|
2320
2360
|
|
2321
2361
|
--
|
2322
2362
|
|
2323
|
-
##### [textfield](https://github.com/appium/ruby_lib/blob/
|
2363
|
+
##### [textfield](https://github.com/appium/ruby_lib/blob/6efdc712722bf20384fc3d2a11f16ab17dd4e3ff/lib/appium_lib/ios/element/textfield.rb#L24) ios
|
2324
2364
|
|
2325
2365
|
> def textfield(value)
|
2326
2366
|
|
@@ -2338,7 +2378,7 @@ __Returns:__
|
|
2338
2378
|
|
2339
2379
|
--
|
2340
2380
|
|
2341
|
-
##### [textfields](https://github.com/appium/ruby_lib/blob/
|
2381
|
+
##### [textfields](https://github.com/appium/ruby_lib/blob/6efdc712722bf20384fc3d2a11f16ab17dd4e3ff/lib/appium_lib/ios/element/textfield.rb#L42) ios
|
2342
2382
|
|
2343
2383
|
> def textfields(value = false)
|
2344
2384
|
|
@@ -2355,7 +2395,7 @@ __Returns:__
|
|
2355
2395
|
|
2356
2396
|
--
|
2357
2397
|
|
2358
|
-
##### [first_textfield](https://github.com/appium/ruby_lib/blob/
|
2398
|
+
##### [first_textfield](https://github.com/appium/ruby_lib/blob/6efdc712722bf20384fc3d2a11f16ab17dd4e3ff/lib/appium_lib/ios/element/textfield.rb#L49) ios
|
2359
2399
|
|
2360
2400
|
> def first_textfield
|
2361
2401
|
|
@@ -2367,7 +2407,7 @@ __Returns:__
|
|
2367
2407
|
|
2368
2408
|
--
|
2369
2409
|
|
2370
|
-
##### [last_textfield](https://github.com/appium/ruby_lib/blob/
|
2410
|
+
##### [last_textfield](https://github.com/appium/ruby_lib/blob/6efdc712722bf20384fc3d2a11f16ab17dd4e3ff/lib/appium_lib/ios/element/textfield.rb#L55) ios
|
2371
2411
|
|
2372
2412
|
> def last_textfield
|
2373
2413
|
|
@@ -2379,7 +2419,7 @@ __Returns:__
|
|
2379
2419
|
|
2380
2420
|
--
|
2381
2421
|
|
2382
|
-
##### [textfield_exact](https://github.com/appium/ruby_lib/blob/
|
2422
|
+
##### [textfield_exact](https://github.com/appium/ruby_lib/blob/6efdc712722bf20384fc3d2a11f16ab17dd4e3ff/lib/appium_lib/ios/element/textfield.rb#L64) ios
|
2383
2423
|
|
2384
2424
|
> def textfield_exact(value)
|
2385
2425
|
|
@@ -2395,7 +2435,7 @@ __Returns:__
|
|
2395
2435
|
|
2396
2436
|
--
|
2397
2437
|
|
2398
|
-
##### [textfields_exact](https://github.com/appium/ruby_lib/blob/
|
2438
|
+
##### [textfields_exact](https://github.com/appium/ruby_lib/blob/6efdc712722bf20384fc3d2a11f16ab17dd4e3ff/lib/appium_lib/ios/element/textfield.rb#L71) ios
|
2399
2439
|
|
2400
2440
|
> def textfields_exact(value)
|
2401
2441
|
|
@@ -2411,7 +2451,7 @@ __Returns:__
|
|
2411
2451
|
|
2412
2452
|
--
|
2413
2453
|
|
2414
|
-
##### [_textfield_visible](https://github.com/appium/ruby_lib/blob/
|
2454
|
+
##### [_textfield_visible](https://github.com/appium/ruby_lib/blob/6efdc712722bf20384fc3d2a11f16ab17dd4e3ff/lib/appium_lib/ios/element/textfield.rb#L78) ios
|
2415
2455
|
|
2416
2456
|
> def _textfield_visible
|
2417
2457
|
|
@@ -2419,7 +2459,7 @@ Appium
|
|
2419
2459
|
|
2420
2460
|
--
|
2421
2461
|
|
2422
|
-
##### [_textfield_exact_string](https://github.com/appium/ruby_lib/blob/
|
2462
|
+
##### [_textfield_exact_string](https://github.com/appium/ruby_lib/blob/6efdc712722bf20384fc3d2a11f16ab17dd4e3ff/lib/appium_lib/ios/element/textfield.rb#L83) ios
|
2423
2463
|
|
2424
2464
|
> def _textfield_exact_string(value)
|
2425
2465
|
|
@@ -2427,7 +2467,7 @@ Appium
|
|
2427
2467
|
|
2428
2468
|
--
|
2429
2469
|
|
2430
|
-
##### [_textfield_contains_string](https://github.com/appium/ruby_lib/blob/
|
2470
|
+
##### [_textfield_contains_string](https://github.com/appium/ruby_lib/blob/6efdc712722bf20384fc3d2a11f16ab17dd4e3ff/lib/appium_lib/ios/element/textfield.rb#L90) ios
|
2431
2471
|
|
2432
2472
|
> def _textfield_contains_string(value)
|
2433
2473
|
|
@@ -2435,7 +2475,7 @@ Appium
|
|
2435
2475
|
|
2436
2476
|
--
|
2437
2477
|
|
2438
|
-
##### [static_text_class](https://github.com/appium/ruby_lib/blob/
|
2478
|
+
##### [static_text_class](https://github.com/appium/ruby_lib/blob/6efdc712722bf20384fc3d2a11f16ab17dd4e3ff/lib/appium_lib/ios/xcuitest/element/text.rb#L9) ios
|
2439
2479
|
|
2440
2480
|
> def static_text_class
|
2441
2481
|
|
@@ -2447,7 +2487,7 @@ __Returns:__
|
|
2447
2487
|
|
2448
2488
|
--
|
2449
2489
|
|
2450
|
-
##### [text](https://github.com/appium/ruby_lib/blob/
|
2490
|
+
##### [text](https://github.com/appium/ruby_lib/blob/6efdc712722bf20384fc3d2a11f16ab17dd4e3ff/lib/appium_lib/ios/xcuitest/element/text.rb#L17) ios
|
2451
2491
|
|
2452
2492
|
> def text(value)
|
2453
2493
|
|
@@ -2464,7 +2504,7 @@ __Returns:__
|
|
2464
2504
|
|
2465
2505
|
--
|
2466
2506
|
|
2467
|
-
##### [texts](https://github.com/appium/ruby_lib/blob/
|
2507
|
+
##### [texts](https://github.com/appium/ruby_lib/blob/6efdc712722bf20384fc3d2a11f16ab17dd4e3ff/lib/appium_lib/ios/xcuitest/element/text.rb#L26) ios
|
2468
2508
|
|
2469
2509
|
> def texts(value = false)
|
2470
2510
|
|
@@ -2481,7 +2521,7 @@ __Returns:__
|
|
2481
2521
|
|
2482
2522
|
--
|
2483
2523
|
|
2484
|
-
##### [first_text](https://github.com/appium/ruby_lib/blob/
|
2524
|
+
##### [first_text](https://github.com/appium/ruby_lib/blob/6efdc712722bf20384fc3d2a11f16ab17dd4e3ff/lib/appium_lib/ios/xcuitest/element/text.rb#L34) ios
|
2485
2525
|
|
2486
2526
|
> def first_text
|
2487
2527
|
|
@@ -2493,7 +2533,7 @@ __Returns:__
|
|
2493
2533
|
|
2494
2534
|
--
|
2495
2535
|
|
2496
|
-
##### [last_text](https://github.com/appium/ruby_lib/blob/
|
2536
|
+
##### [last_text](https://github.com/appium/ruby_lib/blob/6efdc712722bf20384fc3d2a11f16ab17dd4e3ff/lib/appium_lib/ios/xcuitest/element/text.rb#L40) ios
|
2497
2537
|
|
2498
2538
|
> def last_text
|
2499
2539
|
|
@@ -2505,7 +2545,7 @@ __Returns:__
|
|
2505
2545
|
|
2506
2546
|
--
|
2507
2547
|
|
2508
|
-
##### [text_exact](https://github.com/appium/ruby_lib/blob/
|
2548
|
+
##### [text_exact](https://github.com/appium/ruby_lib/blob/6efdc712722bf20384fc3d2a11f16ab17dd4e3ff/lib/appium_lib/ios/xcuitest/element/text.rb#L47) ios
|
2509
2549
|
|
2510
2550
|
> def text_exact(value)
|
2511
2551
|
|
@@ -2521,7 +2561,7 @@ __Returns:__
|
|
2521
2561
|
|
2522
2562
|
--
|
2523
2563
|
|
2524
|
-
##### [texts_exact](https://github.com/appium/ruby_lib/blob/
|
2564
|
+
##### [texts_exact](https://github.com/appium/ruby_lib/blob/6efdc712722bf20384fc3d2a11f16ab17dd4e3ff/lib/appium_lib/ios/xcuitest/element/text.rb#L54) ios
|
2525
2565
|
|
2526
2566
|
> def texts_exact(value)
|
2527
2567
|
|
@@ -2537,7 +2577,7 @@ __Returns:__
|
|
2537
2577
|
|
2538
2578
|
--
|
2539
2579
|
|
2540
|
-
##### [xcuitest_source](https://github.com/appium/ruby_lib/blob/
|
2580
|
+
##### [xcuitest_source](https://github.com/appium/ruby_lib/blob/6efdc712722bf20384fc3d2a11f16ab17dd4e3ff/lib/appium_lib/ios/xcuitest/command/source.rb#L12) ios
|
2541
2581
|
|
2542
2582
|
> def xcuitest_source(format: :xml)
|
2543
2583
|
|
@@ -2551,7 +2591,7 @@ __Parameters:__
|
|
2551
2591
|
|
2552
2592
|
--
|
2553
2593
|
|
2554
|
-
##### [button_class](https://github.com/appium/ruby_lib/blob/
|
2594
|
+
##### [button_class](https://github.com/appium/ruby_lib/blob/6efdc712722bf20384fc3d2a11f16ab17dd4e3ff/lib/appium_lib/ios/xcuitest/element/button.rb#L9) ios
|
2555
2595
|
|
2556
2596
|
> def button_class
|
2557
2597
|
|
@@ -2563,7 +2603,7 @@ __Returns:__
|
|
2563
2603
|
|
2564
2604
|
--
|
2565
2605
|
|
2566
|
-
##### [button](https://github.com/appium/ruby_lib/blob/
|
2606
|
+
##### [button](https://github.com/appium/ruby_lib/blob/6efdc712722bf20384fc3d2a11f16ab17dd4e3ff/lib/appium_lib/ios/xcuitest/element/button.rb#L17) ios
|
2567
2607
|
|
2568
2608
|
> def button(value)
|
2569
2609
|
|
@@ -2580,7 +2620,7 @@ __Returns:__
|
|
2580
2620
|
|
2581
2621
|
--
|
2582
2622
|
|
2583
|
-
##### [buttons](https://github.com/appium/ruby_lib/blob/
|
2623
|
+
##### [buttons](https://github.com/appium/ruby_lib/blob/6efdc712722bf20384fc3d2a11f16ab17dd4e3ff/lib/appium_lib/ios/xcuitest/element/button.rb#L27) ios
|
2584
2624
|
|
2585
2625
|
> def buttons(value = false)
|
2586
2626
|
|
@@ -2597,7 +2637,7 @@ __Returns:__
|
|
2597
2637
|
|
2598
2638
|
--
|
2599
2639
|
|
2600
|
-
##### [first_button](https://github.com/appium/ruby_lib/blob/
|
2640
|
+
##### [first_button](https://github.com/appium/ruby_lib/blob/6efdc712722bf20384fc3d2a11f16ab17dd4e3ff/lib/appium_lib/ios/xcuitest/element/button.rb#L35) ios
|
2601
2641
|
|
2602
2642
|
> def first_button
|
2603
2643
|
|
@@ -2609,7 +2649,7 @@ __Returns:__
|
|
2609
2649
|
|
2610
2650
|
--
|
2611
2651
|
|
2612
|
-
##### [last_button](https://github.com/appium/ruby_lib/blob/
|
2652
|
+
##### [last_button](https://github.com/appium/ruby_lib/blob/6efdc712722bf20384fc3d2a11f16ab17dd4e3ff/lib/appium_lib/ios/xcuitest/element/button.rb#L43) ios
|
2613
2653
|
|
2614
2654
|
> def last_button
|
2615
2655
|
|
@@ -2623,7 +2663,7 @@ __Returns:__
|
|
2623
2663
|
|
2624
2664
|
--
|
2625
2665
|
|
2626
|
-
##### [button_exact](https://github.com/appium/ruby_lib/blob/
|
2666
|
+
##### [button_exact](https://github.com/appium/ruby_lib/blob/6efdc712722bf20384fc3d2a11f16ab17dd4e3ff/lib/appium_lib/ios/xcuitest/element/button.rb#L50) ios
|
2627
2667
|
|
2628
2668
|
> def button_exact(value)
|
2629
2669
|
|
@@ -2639,7 +2679,7 @@ __Returns:__
|
|
2639
2679
|
|
2640
2680
|
--
|
2641
2681
|
|
2642
|
-
##### [buttons_exact](https://github.com/appium/ruby_lib/blob/
|
2682
|
+
##### [buttons_exact](https://github.com/appium/ruby_lib/blob/6efdc712722bf20384fc3d2a11f16ab17dd4e3ff/lib/appium_lib/ios/xcuitest/element/button.rb#L57) ios
|
2643
2683
|
|
2644
2684
|
> def buttons_exact(value)
|
2645
2685
|
|
@@ -2655,7 +2695,7 @@ __Returns:__
|
|
2655
2695
|
|
2656
2696
|
--
|
2657
2697
|
|
2658
|
-
##### [find](https://github.com/appium/ruby_lib/blob/
|
2698
|
+
##### [find](https://github.com/appium/ruby_lib/blob/6efdc712722bf20384fc3d2a11f16ab17dd4e3ff/lib/appium_lib/ios/xcuitest/element/generic.rb#L8) ios
|
2659
2699
|
|
2660
2700
|
> def find(value)
|
2661
2701
|
|
@@ -2671,7 +2711,7 @@ __Returns:__
|
|
2671
2711
|
|
2672
2712
|
--
|
2673
2713
|
|
2674
|
-
##### [finds](https://github.com/appium/ruby_lib/blob/
|
2714
|
+
##### [finds](https://github.com/appium/ruby_lib/blob/6efdc712722bf20384fc3d2a11f16ab17dd4e3ff/lib/appium_lib/ios/xcuitest/element/generic.rb#L15) ios
|
2675
2715
|
|
2676
2716
|
> def finds(value)
|
2677
2717
|
|
@@ -2687,7 +2727,7 @@ __Returns:__
|
|
2687
2727
|
|
2688
2728
|
--
|
2689
2729
|
|
2690
|
-
##### [find_exact](https://github.com/appium/ruby_lib/blob/
|
2730
|
+
##### [find_exact](https://github.com/appium/ruby_lib/blob/6efdc712722bf20384fc3d2a11f16ab17dd4e3ff/lib/appium_lib/ios/xcuitest/element/generic.rb#L23) ios
|
2691
2731
|
|
2692
2732
|
> def find_exact(value)
|
2693
2733
|
|
@@ -2703,7 +2743,7 @@ __Returns:__
|
|
2703
2743
|
|
2704
2744
|
--
|
2705
2745
|
|
2706
|
-
##### [finds_exact](https://github.com/appium/ruby_lib/blob/
|
2746
|
+
##### [finds_exact](https://github.com/appium/ruby_lib/blob/6efdc712722bf20384fc3d2a11f16ab17dd4e3ff/lib/appium_lib/ios/xcuitest/element/generic.rb#L30) ios
|
2707
2747
|
|
2708
2748
|
> def finds_exact(value)
|
2709
2749
|
|
@@ -2719,7 +2759,7 @@ __Returns:__
|
|
2719
2759
|
|
2720
2760
|
--
|
2721
2761
|
|
2722
|
-
##### [raise_error_if_no_element](https://github.com/appium/ruby_lib/blob/
|
2762
|
+
##### [raise_error_if_no_element](https://github.com/appium/ruby_lib/blob/6efdc712722bf20384fc3d2a11f16ab17dd4e3ff/lib/appium_lib/ios/xcuitest/element/generic.rb#L37) ios
|
2723
2763
|
|
2724
2764
|
> def raise_error_if_no_element(element)
|
2725
2765
|
|
@@ -2727,7 +2767,7 @@ __Returns:__
|
|
2727
2767
|
|
2728
2768
|
--
|
2729
2769
|
|
2730
|
-
##### [select_visible_elements](https://github.com/appium/ruby_lib/blob/
|
2770
|
+
##### [select_visible_elements](https://github.com/appium/ruby_lib/blob/6efdc712722bf20384fc3d2a11f16ab17dd4e3ff/lib/appium_lib/ios/xcuitest/element/generic.rb#L44) ios
|
2731
2771
|
|
2732
2772
|
> def select_visible_elements(elements)
|
2733
2773
|
|
@@ -2735,7 +2775,7 @@ Return visible elements.
|
|
2735
2775
|
|
2736
2776
|
--
|
2737
2777
|
|
2738
|
-
##### [swipe](https://github.com/appium/ruby_lib/blob/
|
2778
|
+
##### [swipe](https://github.com/appium/ruby_lib/blob/6efdc712722bf20384fc3d2a11f16ab17dd4e3ff/lib/appium_lib/ios/xcuitest/command/gestures.rb#L11) ios
|
2739
2779
|
|
2740
2780
|
> def swipe(direction:, element: nil)
|
2741
2781
|
|
@@ -2749,7 +2789,7 @@ __Parameters:__
|
|
2749
2789
|
|
2750
2790
|
--
|
2751
2791
|
|
2752
|
-
##### [scroll](https://github.com/appium/ruby_lib/blob/
|
2792
|
+
##### [scroll](https://github.com/appium/ruby_lib/blob/6efdc712722bf20384fc3d2a11f16ab17dd4e3ff/lib/appium_lib/ios/xcuitest/command/gestures.rb#L29) ios
|
2753
2793
|
|
2754
2794
|
> def scroll(direction:, name: nil, element: nil, to_visible: nil, predicate_string: nil)
|
2755
2795
|
|
@@ -2763,7 +2803,7 @@ __Parameters:__
|
|
2763
2803
|
|
2764
2804
|
--
|
2765
2805
|
|
2766
|
-
##### [pinch](https://github.com/appium/ruby_lib/blob/
|
2806
|
+
##### [pinch](https://github.com/appium/ruby_lib/blob/6efdc712722bf20384fc3d2a11f16ab17dd4e3ff/lib/appium_lib/ios/xcuitest/command/gestures.rb#L48) ios
|
2767
2807
|
|
2768
2808
|
> def pinch(scale:, velocity: 1.0, element: nil)
|
2769
2809
|
|
@@ -2779,7 +2819,7 @@ __Parameters:__
|
|
2779
2819
|
|
2780
2820
|
--
|
2781
2821
|
|
2782
|
-
##### [double_tap](https://github.com/appium/ruby_lib/blob/
|
2822
|
+
##### [double_tap](https://github.com/appium/ruby_lib/blob/6efdc712722bf20384fc3d2a11f16ab17dd4e3ff/lib/appium_lib/ios/xcuitest/command/gestures.rb#L63) ios
|
2783
2823
|
|
2784
2824
|
> def double_tap(x: nil, y: nil, element: nil)
|
2785
2825
|
|
@@ -2795,7 +2835,7 @@ __Parameters:__
|
|
2795
2835
|
|
2796
2836
|
--
|
2797
2837
|
|
2798
|
-
##### [touch_and_hold](https://github.com/appium/ruby_lib/blob/
|
2838
|
+
##### [touch_and_hold](https://github.com/appium/ruby_lib/blob/6efdc712722bf20384fc3d2a11f16ab17dd4e3ff/lib/appium_lib/ios/xcuitest/command/gestures.rb#L80) ios
|
2799
2839
|
|
2800
2840
|
> def touch_and_hold(x: nil, y: nil, element: nil, duration: 1.0)
|
2801
2841
|
|
@@ -2813,7 +2853,7 @@ __Parameters:__
|
|
2813
2853
|
|
2814
2854
|
--
|
2815
2855
|
|
2816
|
-
##### [two_finger_tap](https://github.com/appium/ruby_lib/blob/
|
2856
|
+
##### [two_finger_tap](https://github.com/appium/ruby_lib/blob/6efdc712722bf20384fc3d2a11f16ab17dd4e3ff/lib/appium_lib/ios/xcuitest/command/gestures.rb#L93) ios
|
2817
2857
|
|
2818
2858
|
> def two_finger_tap(element:)
|
2819
2859
|
|
@@ -2829,7 +2869,7 @@ two_finger_tap element: find_element(:accessibility_id, "some item")
|
|
2829
2869
|
|
2830
2870
|
--
|
2831
2871
|
|
2832
|
-
##### [tap](https://github.com/appium/ruby_lib/blob/
|
2872
|
+
##### [tap](https://github.com/appium/ruby_lib/blob/6efdc712722bf20384fc3d2a11f16ab17dd4e3ff/lib/appium_lib/ios/xcuitest/command/gestures.rb#L108) ios
|
2833
2873
|
|
2834
2874
|
> def tap(x:, y:, element: nil)
|
2835
2875
|
|
@@ -2845,7 +2885,7 @@ __Parameters:__
|
|
2845
2885
|
|
2846
2886
|
--
|
2847
2887
|
|
2848
|
-
##### [drag_from_to_for_duration](https://github.com/appium/ruby_lib/blob/
|
2888
|
+
##### [drag_from_to_for_duration](https://github.com/appium/ruby_lib/blob/6efdc712722bf20384fc3d2a11f16ab17dd4e3ff/lib/appium_lib/ios/xcuitest/command/gestures.rb#L128) ios
|
2849
2889
|
|
2850
2890
|
> def drag_from_to_for_duration(from_x:, from_y:, to_x:, to_y:, duration: 1.0, element: nil)
|
2851
2891
|
|
@@ -2868,7 +2908,7 @@ drag point should be before to start dragging. Mandatory parameter
|
|
2868
2908
|
|
2869
2909
|
--
|
2870
2910
|
|
2871
|
-
##### [select_picker_wheel](https://github.com/appium/ruby_lib/blob/
|
2911
|
+
##### [select_picker_wheel](https://github.com/appium/ruby_lib/blob/6efdc712722bf20384fc3d2a11f16ab17dd4e3ff/lib/appium_lib/ios/xcuitest/command/gestures.rb#L145) ios
|
2872
2912
|
|
2873
2913
|
> def select_picker_wheel(element:, order:, offset: nil)
|
2874
2914
|
|
@@ -2885,7 +2925,7 @@ __Parameters:__
|
|
2885
2925
|
|
2886
2926
|
--
|
2887
2927
|
|
2888
|
-
##### [alert](https://github.com/appium/ruby_lib/blob/
|
2928
|
+
##### [alert](https://github.com/appium/ruby_lib/blob/6efdc712722bf20384fc3d2a11f16ab17dd4e3ff/lib/appium_lib/ios/xcuitest/command/gestures.rb#L163) ios
|
2889
2929
|
|
2890
2930
|
> def alert(action:, button_label: nil)
|
2891
2931
|
|
@@ -2900,7 +2940,7 @@ This is an optional parameter and is only valid in combination with accept and d
|
|
2900
2940
|
|
2901
2941
|
--
|
2902
2942
|
|
2903
|
-
##### [text_field_class](https://github.com/appium/ruby_lib/blob/
|
2943
|
+
##### [text_field_class](https://github.com/appium/ruby_lib/blob/6efdc712722bf20384fc3d2a11f16ab17dd4e3ff/lib/appium_lib/ios/xcuitest/element/textfield.rb#L9) ios
|
2904
2944
|
|
2905
2945
|
> def text_field_class
|
2906
2946
|
|
@@ -2912,7 +2952,7 @@ __Returns:__
|
|
2912
2952
|
|
2913
2953
|
--
|
2914
2954
|
|
2915
|
-
##### [secure_text_field_class](https://github.com/appium/ruby_lib/blob/
|
2955
|
+
##### [secure_text_field_class](https://github.com/appium/ruby_lib/blob/6efdc712722bf20384fc3d2a11f16ab17dd4e3ff/lib/appium_lib/ios/xcuitest/element/textfield.rb#L14) ios
|
2916
2956
|
|
2917
2957
|
> def secure_text_field_class
|
2918
2958
|
|
@@ -2924,7 +2964,7 @@ __Returns:__
|
|
2924
2964
|
|
2925
2965
|
--
|
2926
2966
|
|
2927
|
-
##### [textfield](https://github.com/appium/ruby_lib/blob/
|
2967
|
+
##### [textfield](https://github.com/appium/ruby_lib/blob/6efdc712722bf20384fc3d2a11f16ab17dd4e3ff/lib/appium_lib/ios/xcuitest/element/textfield.rb#L23) ios
|
2928
2968
|
|
2929
2969
|
> def textfield(value)
|
2930
2970
|
|
@@ -2942,7 +2982,7 @@ __Returns:__
|
|
2942
2982
|
|
2943
2983
|
--
|
2944
2984
|
|
2945
|
-
##### [textfields](https://github.com/appium/ruby_lib/blob/
|
2985
|
+
##### [textfields](https://github.com/appium/ruby_lib/blob/6efdc712722bf20384fc3d2a11f16ab17dd4e3ff/lib/appium_lib/ios/xcuitest/element/textfield.rb#L41) ios
|
2946
2986
|
|
2947
2987
|
> def textfields(value = false)
|
2948
2988
|
|
@@ -2959,7 +2999,7 @@ __Returns:__
|
|
2959
2999
|
|
2960
3000
|
--
|
2961
3001
|
|
2962
|
-
##### [first_textfield](https://github.com/appium/ruby_lib/blob/
|
3002
|
+
##### [first_textfield](https://github.com/appium/ruby_lib/blob/6efdc712722bf20384fc3d2a11f16ab17dd4e3ff/lib/appium_lib/ios/xcuitest/element/textfield.rb#L50) ios
|
2963
3003
|
|
2964
3004
|
> def first_textfield
|
2965
3005
|
|
@@ -2971,7 +3011,7 @@ __Returns:__
|
|
2971
3011
|
|
2972
3012
|
--
|
2973
3013
|
|
2974
|
-
##### [last_textfield](https://github.com/appium/ruby_lib/blob/
|
3014
|
+
##### [last_textfield](https://github.com/appium/ruby_lib/blob/6efdc712722bf20384fc3d2a11f16ab17dd4e3ff/lib/appium_lib/ios/xcuitest/element/textfield.rb#L56) ios
|
2975
3015
|
|
2976
3016
|
> def last_textfield
|
2977
3017
|
|
@@ -2983,7 +3023,7 @@ __Returns:__
|
|
2983
3023
|
|
2984
3024
|
--
|
2985
3025
|
|
2986
|
-
##### [textfield_exact](https://github.com/appium/ruby_lib/blob/
|
3026
|
+
##### [textfield_exact](https://github.com/appium/ruby_lib/blob/6efdc712722bf20384fc3d2a11f16ab17dd4e3ff/lib/appium_lib/ios/xcuitest/element/textfield.rb#L65) ios
|
2987
3027
|
|
2988
3028
|
> def textfield_exact(value)
|
2989
3029
|
|
@@ -2999,7 +3039,7 @@ __Returns:__
|
|
2999
3039
|
|
3000
3040
|
--
|
3001
3041
|
|
3002
|
-
##### [textfields_exact](https://github.com/appium/ruby_lib/blob/
|
3042
|
+
##### [textfields_exact](https://github.com/appium/ruby_lib/blob/6efdc712722bf20384fc3d2a11f16ab17dd4e3ff/lib/appium_lib/ios/xcuitest/element/textfield.rb#L72) ios
|
3003
3043
|
|
3004
3044
|
> def textfields_exact(value)
|
3005
3045
|
|
@@ -3015,7 +3055,7 @@ __Returns:__
|
|
3015
3055
|
|
3016
3056
|
--
|
3017
3057
|
|
3018
|
-
##### [set_pasteboard](https://github.com/appium/ruby_lib/blob/
|
3058
|
+
##### [set_pasteboard](https://github.com/appium/ruby_lib/blob/6efdc712722bf20384fc3d2a11f16ab17dd4e3ff/lib/appium_lib/ios/xcuitest/command/pasteboard.rb#L12) ios
|
3019
3059
|
|
3020
3060
|
> def set_pasteboard(content:, encoding: nil)
|
3021
3061
|
|
@@ -3030,7 +3070,7 @@ The parameter is mandatory
|
|
3030
3070
|
|
3031
3071
|
--
|
3032
3072
|
|
3033
|
-
##### [get_pasteboard](https://github.com/appium/ruby_lib/blob/
|
3073
|
+
##### [get_pasteboard](https://github.com/appium/ruby_lib/blob/6efdc712722bf20384fc3d2a11f16ab17dd4e3ff/lib/appium_lib/ios/xcuitest/command/pasteboard.rb#L24) ios
|
3034
3074
|
|
3035
3075
|
> def get_pasteboard(encoding: nil)
|
3036
3076
|
|
@@ -3042,7 +3082,7 @@ __Parameters:__
|
|
3042
3082
|
|
3043
3083
|
--
|
3044
3084
|
|
3045
|
-
##### [xcuitest_install_app](https://github.com/appium/ruby_lib/blob/
|
3085
|
+
##### [xcuitest_install_app](https://github.com/appium/ruby_lib/blob/6efdc712722bf20384fc3d2a11f16ab17dd4e3ff/lib/appium_lib/ios/xcuitest/command/multi_app_handler.rb#L21) ios
|
3046
3086
|
|
3047
3087
|
> def xcuitest_install_app(app:)
|
3048
3088
|
|
@@ -3058,7 +3098,7 @@ or an URL pointing to a remote .ipa/.zip file. Mandatory argument.
|
|
3058
3098
|
|
3059
3099
|
--
|
3060
3100
|
|
3061
|
-
##### [xcuitest_app_installed?](https://github.com/appium/ruby_lib/blob/
|
3101
|
+
##### [xcuitest_app_installed?](https://github.com/appium/ruby_lib/blob/6efdc712722bf20384fc3d2a11f16ab17dd4e3ff/lib/appium_lib/ios/xcuitest/command/multi_app_handler.rb#L35) ios
|
3062
3102
|
|
3063
3103
|
> def xcuitest_app_installed?(bundle_id:)
|
3064
3104
|
|
@@ -3074,7 +3114,7 @@ __Returns:__
|
|
3074
3114
|
|
3075
3115
|
--
|
3076
3116
|
|
3077
|
-
##### [xcuitest_remove_app](https://github.com/appium/ruby_lib/blob/
|
3117
|
+
##### [xcuitest_remove_app](https://github.com/appium/ruby_lib/blob/6efdc712722bf20384fc3d2a11f16ab17dd4e3ff/lib/appium_lib/ios/xcuitest/command/multi_app_handler.rb#L50) ios
|
3078
3118
|
|
3079
3119
|
> def xcuitest_remove_app(bundle_id:)
|
3080
3120
|
|
@@ -3087,7 +3127,7 @@ __Parameters:__
|
|
3087
3127
|
|
3088
3128
|
--
|
3089
3129
|
|
3090
|
-
##### [xcuitest_launch_app](https://github.com/appium/ruby_lib/blob/
|
3130
|
+
##### [xcuitest_launch_app](https://github.com/appium/ruby_lib/blob/6efdc712722bf20384fc3d2a11f16ab17dd4e3ff/lib/appium_lib/ios/xcuitest/command/multi_app_handler.rb#L65) ios
|
3091
3131
|
|
3092
3132
|
> def xcuitest_launch_app(bundle_id:)
|
3093
3133
|
|
@@ -3100,7 +3140,7 @@ __Parameters:__
|
|
3100
3140
|
|
3101
3141
|
--
|
3102
3142
|
|
3103
|
-
##### [xcuitest_terminate_app](https://github.com/appium/ruby_lib/blob/
|
3143
|
+
##### [xcuitest_terminate_app](https://github.com/appium/ruby_lib/blob/6efdc712722bf20384fc3d2a11f16ab17dd4e3ff/lib/appium_lib/ios/xcuitest/command/multi_app_handler.rb#L80) ios
|
3104
3144
|
|
3105
3145
|
> def xcuitest_terminate_app(bundle_id:)
|
3106
3146
|
|
@@ -3113,7 +3153,7 @@ __Parameters:__
|
|
3113
3153
|
|
3114
3154
|
--
|
3115
3155
|
|
3116
|
-
##### [xcuitest_query_app_status](https://github.com/appium/ruby_lib/blob/
|
3156
|
+
##### [xcuitest_query_app_status](https://github.com/appium/ruby_lib/blob/6efdc712722bf20384fc3d2a11f16ab17dd4e3ff/lib/appium_lib/ios/xcuitest/command/multi_app_handler.rb#L102) ios
|
3117
3157
|
|
3118
3158
|
> def xcuitest_query_app_status(bundle_id:)
|
3119
3159
|
|
@@ -3137,7 +3177,7 @@ __Returns:__
|
|
3137
3177
|
|
3138
3178
|
--
|
3139
3179
|
|
3140
|
-
##### [xcuitest_activate_app](https://github.com/appium/ruby_lib/blob/
|
3180
|
+
##### [xcuitest_activate_app](https://github.com/appium/ruby_lib/blob/6efdc712722bf20384fc3d2a11f16ab17dd4e3ff/lib/appium_lib/ios/xcuitest/command/multi_app_handler.rb#L118) ios
|
3141
3181
|
|
3142
3182
|
> def xcuitest_activate_app(bundle_id:)
|
3143
3183
|
|