appium_lib 9.14.1 → 9.14.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +12 -0
- data/appium_lib.gemspec +1 -1
- data/docs/android_docs.md +228 -178
- data/docs/ios_docs.md +309 -236
- data/lib/appium_lib/driver.rb +37 -0
- data/lib/appium_lib/ios/xcuitest/bridge.rb +1 -0
- data/lib/appium_lib/ios/xcuitest/command.rb +1 -0
- data/lib/appium_lib/ios/xcuitest/command/certificate.rb +26 -0
- data/lib/appium_lib/ios/xcuitest/command/get_context.rb +20 -0
- data/lib/appium_lib/version.rb +2 -2
- data/readme.md +1 -2
- data/release_notes.md +6 -0
- metadata +6 -4
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/024167c78c20a817861528ae4d3b80d41ea82590/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/024167c78c20a817861528ae4d3b80d41ea82590/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/024167c78c20a817861528ae4d3b80d41ea82590/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/024167c78c20a817861528ae4d3b80d41ea82590/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/024167c78c20a817861528ae4d3b80d41ea82590/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/024167c78c20a817861528ae4d3b80d41ea82590/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/024167c78c20a817861528ae4d3b80d41ea82590/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/024167c78c20a817861528ae4d3b80d41ea82590/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/024167c78c20a817861528ae4d3b80d41ea82590/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/024167c78c20a817861528ae4d3b80d41ea82590/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/024167c78c20a817861528ae4d3b80d41ea82590/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/024167c78c20a817861528ae4d3b80d41ea82590/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/024167c78c20a817861528ae4d3b80d41ea82590/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/024167c78c20a817861528ae4d3b80d41ea82590/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/024167c78c20a817861528ae4d3b80d41ea82590/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/024167c78c20a817861528ae4d3b80d41ea82590/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/024167c78c20a817861528ae4d3b80d41ea82590/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/024167c78c20a817861528ae4d3b80d41ea82590/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/024167c78c20a817861528ae4d3b80d41ea82590/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/024167c78c20a817861528ae4d3b80d41ea82590/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/024167c78c20a817861528ae4d3b80d41ea82590/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/024167c78c20a817861528ae4d3b80d41ea82590/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/024167c78c20a817861528ae4d3b80d41ea82590/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/024167c78c20a817861528ae4d3b80d41ea82590/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/024167c78c20a817861528ae4d3b80d41ea82590/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/024167c78c20a817861528ae4d3b80d41ea82590/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/024167c78c20a817861528ae4d3b80d41ea82590/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/024167c78c20a817861528ae4d3b80d41ea82590/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/024167c78c20a817861528ae4d3b80d41ea82590/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/024167c78c20a817861528ae4d3b80d41ea82590/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/024167c78c20a817861528ae4d3b80d41ea82590/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/024167c78c20a817861528ae4d3b80d41ea82590/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/024167c78c20a817861528ae4d3b80d41ea82590/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/024167c78c20a817861528ae4d3b80d41ea82590/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/024167c78c20a817861528ae4d3b80d41ea82590/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/024167c78c20a817861528ae4d3b80d41ea82590/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/024167c78c20a817861528ae4d3b80d41ea82590/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/024167c78c20a817861528ae4d3b80d41ea82590/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/024167c78c20a817861528ae4d3b80d41ea82590/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/024167c78c20a817861528ae4d3b80d41ea82590/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/024167c78c20a817861528ae4d3b80d41ea82590/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/024167c78c20a817861528ae4d3b80d41ea82590/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/024167c78c20a817861528ae4d3b80d41ea82590/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/024167c78c20a817861528ae4d3b80d41ea82590/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/024167c78c20a817861528ae4d3b80d41ea82590/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/024167c78c20a817861528ae4d3b80d41ea82590/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/024167c78c20a817861528ae4d3b80d41ea82590/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/024167c78c20a817861528ae4d3b80d41ea82590/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/024167c78c20a817861528ae4d3b80d41ea82590/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/024167c78c20a817861528ae4d3b80d41ea82590/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/024167c78c20a817861528ae4d3b80d41ea82590/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/024167c78c20a817861528ae4d3b80d41ea82590/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/024167c78c20a817861528ae4d3b80d41ea82590/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/024167c78c20a817861528ae4d3b80d41ea82590/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/024167c78c20a817861528ae4d3b80d41ea82590/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/024167c78c20a817861528ae4d3b80d41ea82590/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/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/driver.rb#L630)
|
711
711
|
|
712
712
|
> def find_element(*args)
|
713
713
|
|
@@ -725,7 +725,57 @@ __Returns:__
|
|
725
725
|
|
726
726
|
--
|
727
727
|
|
728
|
-
##### [
|
728
|
+
##### [DEFAULT_MATCH_THRESHOLD](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/driver.rb#L648)
|
729
|
+
|
730
|
+
> DEFAULT_MATCH_THRESHOLD = 0.5
|
731
|
+
|
732
|
+
Return ImageElement if current view has a partial image
|
733
|
+
|
734
|
+
__Parameters:__
|
735
|
+
|
736
|
+
[String] png_img_path - A path to a partial image you'd like to find
|
737
|
+
|
738
|
+
[Flood] match_threshold - At what normalized threshold to reject
|
739
|
+
|
740
|
+
[Bool] visualize - Makes the endpoint to return an image, which contains the visualized result of
|
741
|
+
the corresponding picture matching operation. This option is disabled by default.
|
742
|
+
|
743
|
+
__Returns:__
|
744
|
+
|
745
|
+
[::Appium::Core::ImageElement]
|
746
|
+
|
747
|
+
--
|
748
|
+
|
749
|
+
##### [find_element_by_image](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/driver.rb#L649)
|
750
|
+
|
751
|
+
> def find_element_by_image(png_img_path, match_threshold: DEFAULT_MATCH_THRESHOLD, visualize: false)
|
752
|
+
|
753
|
+
|
754
|
+
|
755
|
+
--
|
756
|
+
|
757
|
+
##### [find_elements_by_image](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/driver.rb#L667)
|
758
|
+
|
759
|
+
> def find_elements_by_image(png_img_paths, match_threshold: DEFAULT_MATCH_THRESHOLD, visualize: false)
|
760
|
+
|
761
|
+
Return ImageElement if current view has partial images
|
762
|
+
|
763
|
+
__Parameters:__
|
764
|
+
|
765
|
+
[[String]] png_img_paths - Paths to a partial image you'd like to find
|
766
|
+
|
767
|
+
[Flood] match_threshold - At what normalized threshold to reject
|
768
|
+
|
769
|
+
[Bool] visualize - Makes the endpoint to return an image, which contains the visualized result of
|
770
|
+
the corresponding picture matching operation. This option is disabled by default.
|
771
|
+
|
772
|
+
__Returns:__
|
773
|
+
|
774
|
+
[[::Appium::Core::ImageElement]]
|
775
|
+
|
776
|
+
--
|
777
|
+
|
778
|
+
##### [set_location](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/driver.rb#L680)
|
729
779
|
|
730
780
|
> def set_location(opts = {})
|
731
781
|
|
@@ -741,7 +791,7 @@ __Returns:__
|
|
741
791
|
|
742
792
|
--
|
743
793
|
|
744
|
-
##### [x](https://github.com/appium/ruby_lib/blob/
|
794
|
+
##### [x](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/driver.rb#L690)
|
745
795
|
|
746
796
|
> def x
|
747
797
|
|
@@ -754,7 +804,7 @@ __Returns:__
|
|
754
804
|
|
755
805
|
--
|
756
806
|
|
757
|
-
##### [username](https://github.com/appium/ruby_lib/blob/
|
807
|
+
##### [username](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/sauce_labs.rb#L4)
|
758
808
|
|
759
809
|
> def username
|
760
810
|
|
@@ -762,7 +812,7 @@ Username for use on Sauce Labs. Set `false` to disable Sauce, even when SAUCE_US
|
|
762
812
|
|
763
813
|
--
|
764
814
|
|
765
|
-
##### [access_key](https://github.com/appium/ruby_lib/blob/
|
815
|
+
##### [access_key](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/sauce_labs.rb#L6)
|
766
816
|
|
767
817
|
> def access_key
|
768
818
|
|
@@ -770,7 +820,7 @@ Access Key for use on Sauce Labs. Set `false` to disable Sauce, even when SAUCE_
|
|
770
820
|
|
771
821
|
--
|
772
822
|
|
773
|
-
##### [endpoint](https://github.com/appium/ruby_lib/blob/
|
823
|
+
##### [endpoint](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/sauce_labs.rb#L8)
|
774
824
|
|
775
825
|
> def endpoint
|
776
826
|
|
@@ -778,7 +828,7 @@ Override the Sauce Appium endpoint to allow e.g. TestObject tests. Default is 'o
|
|
778
828
|
|
779
829
|
--
|
780
830
|
|
781
|
-
##### [initialize](https://github.com/appium/ruby_lib/blob/
|
831
|
+
##### [initialize](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/sauce_labs.rb#L33)
|
782
832
|
|
783
833
|
> def initialize(appium_lib_opts)
|
784
834
|
|
@@ -794,7 +844,7 @@ __Returns:__
|
|
794
844
|
|
795
845
|
--
|
796
846
|
|
797
|
-
##### [sauce_server_url?](https://github.com/appium/ruby_lib/blob/
|
847
|
+
##### [sauce_server_url?](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/sauce_labs.rb#L53)
|
798
848
|
|
799
849
|
> def sauce_server_url?
|
800
850
|
|
@@ -806,7 +856,7 @@ __Returns:__
|
|
806
856
|
|
807
857
|
--
|
808
858
|
|
809
|
-
##### [server_url](https://github.com/appium/ruby_lib/blob/
|
859
|
+
##### [server_url](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/sauce_labs.rb#L66)
|
810
860
|
|
811
861
|
> def server_url
|
812
862
|
|
@@ -818,7 +868,7 @@ __Returns:__
|
|
818
868
|
|
819
869
|
--
|
820
870
|
|
821
|
-
##### [get_log](https://github.com/appium/ruby_lib/blob/
|
871
|
+
##### [get_log](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/common/log.rb#L11)
|
822
872
|
|
823
873
|
> def get_log(type)
|
824
874
|
|
@@ -834,7 +884,7 @@ __Returns:__
|
|
834
884
|
|
835
885
|
--
|
836
886
|
|
837
|
-
##### [get_available_log_types](https://github.com/appium/ruby_lib/blob/
|
887
|
+
##### [get_available_log_types](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/common/log.rb#L23)
|
838
888
|
|
839
889
|
> def get_available_log_types
|
840
890
|
|
@@ -846,7 +896,7 @@ __Returns:__
|
|
846
896
|
|
847
897
|
--
|
848
898
|
|
849
|
-
##### [wait_true](https://github.com/appium/ruby_lib/blob/
|
899
|
+
##### [wait_true](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/common/wait.rb#L30)
|
850
900
|
|
851
901
|
> def wait_true(opts = {})
|
852
902
|
|
@@ -866,7 +916,7 @@ __Parameters:__
|
|
866
916
|
|
867
917
|
--
|
868
918
|
|
869
|
-
##### [wait](https://github.com/appium/ruby_lib/blob/
|
919
|
+
##### [wait](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/common/wait.rb#L59)
|
870
920
|
|
871
921
|
> def wait(opts = {})
|
872
922
|
|
@@ -884,7 +934,7 @@ __Parameters:__
|
|
884
934
|
|
885
935
|
--
|
886
936
|
|
887
|
-
##### [add_touch_actions](https://github.com/appium/ruby_lib/blob/
|
937
|
+
##### [add_touch_actions](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/common/device.rb#L12)
|
888
938
|
|
889
939
|
> def add_touch_actions
|
890
940
|
|
@@ -892,7 +942,7 @@ __Parameters:__
|
|
892
942
|
|
893
943
|
--
|
894
944
|
|
895
|
-
##### [delegate_from_appium_driver](https://github.com/appium/ruby_lib/blob/
|
945
|
+
##### [delegate_from_appium_driver](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/common/device.rb#L24)
|
896
946
|
|
897
947
|
> def delegate_from_appium_driver(method, delegation_target)
|
898
948
|
|
@@ -900,7 +950,7 @@ __Parameters:__
|
|
900
950
|
|
901
951
|
--
|
902
952
|
|
903
|
-
##### [ignore](https://github.com/appium/ruby_lib/blob/
|
953
|
+
##### [ignore](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/common/helper.rb#L16)
|
904
954
|
|
905
955
|
> def ignore
|
906
956
|
|
@@ -908,7 +958,7 @@ Return yield and ignore any exceptions.
|
|
908
958
|
|
909
959
|
--
|
910
960
|
|
911
|
-
##### [back](https://github.com/appium/ruby_lib/blob/
|
961
|
+
##### [back](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/common/helper.rb#L23)
|
912
962
|
|
913
963
|
> def back
|
914
964
|
|
@@ -920,7 +970,7 @@ __Returns:__
|
|
920
970
|
|
921
971
|
--
|
922
972
|
|
923
|
-
##### [session_id](https://github.com/appium/ruby_lib/blob/
|
973
|
+
##### [session_id](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/common/helper.rb#L34)
|
924
974
|
|
925
975
|
> def session_id
|
926
976
|
|
@@ -932,7 +982,7 @@ __Returns:__
|
|
932
982
|
|
933
983
|
--
|
934
984
|
|
935
|
-
##### [xpath](https://github.com/appium/ruby_lib/blob/
|
985
|
+
##### [xpath](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/common/helper.rb#L42)
|
936
986
|
|
937
987
|
> def xpath(xpath_str)
|
938
988
|
|
@@ -948,7 +998,7 @@ __Returns:__
|
|
948
998
|
|
949
999
|
--
|
950
1000
|
|
951
|
-
##### [xpaths](https://github.com/appium/ruby_lib/blob/
|
1001
|
+
##### [xpaths](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/common/helper.rb#L50)
|
952
1002
|
|
953
1003
|
> def xpaths(xpath_str)
|
954
1004
|
|
@@ -964,7 +1014,7 @@ __Returns:__
|
|
964
1014
|
|
965
1015
|
--
|
966
1016
|
|
967
|
-
##### [result](https://github.com/appium/ruby_lib/blob/
|
1017
|
+
##### [result](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/common/helper.rb#L60)
|
968
1018
|
|
969
1019
|
> def result
|
970
1020
|
|
@@ -972,7 +1022,7 @@ Returns the value of attribute result
|
|
972
1022
|
|
973
1023
|
--
|
974
1024
|
|
975
|
-
##### [initialize](https://github.com/appium/ruby_lib/blob/
|
1025
|
+
##### [initialize](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/common/helper.rb#L62)
|
976
1026
|
|
977
1027
|
> def initialize
|
978
1028
|
|
@@ -984,7 +1034,7 @@ __Returns:__
|
|
984
1034
|
|
985
1035
|
--
|
986
1036
|
|
987
|
-
##### [reset](https://github.com/appium/ruby_lib/blob/
|
1037
|
+
##### [reset](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/common/helper.rb#L66)
|
988
1038
|
|
989
1039
|
> def reset
|
990
1040
|
|
@@ -992,7 +1042,7 @@ __Returns:__
|
|
992
1042
|
|
993
1043
|
--
|
994
1044
|
|
995
|
-
##### [start_element](https://github.com/appium/ruby_lib/blob/
|
1045
|
+
##### [start_element](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/common/helper.rb#L71)
|
996
1046
|
|
997
1047
|
> def start_element(name, attrs = [], driver = $driver)
|
998
1048
|
|
@@ -1000,7 +1050,7 @@ http://nokogiri.org/Nokogiri/XML/SAX/Document.html
|
|
1000
1050
|
|
1001
1051
|
--
|
1002
1052
|
|
1003
|
-
##### [formatted_result](https://github.com/appium/ruby_lib/blob/
|
1053
|
+
##### [formatted_result](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/common/helper.rb#L77)
|
1004
1054
|
|
1005
1055
|
> def formatted_result
|
1006
1056
|
|
@@ -1008,7 +1058,7 @@ http://nokogiri.org/Nokogiri/XML/SAX/Document.html
|
|
1008
1058
|
|
1009
1059
|
--
|
1010
1060
|
|
1011
|
-
##### [get_page_class](https://github.com/appium/ruby_lib/blob/
|
1061
|
+
##### [get_page_class](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/common/helper.rb#L96)
|
1012
1062
|
|
1013
1063
|
> def get_page_class
|
1014
1064
|
|
@@ -1020,7 +1070,7 @@ __Returns:__
|
|
1020
1070
|
|
1021
1071
|
--
|
1022
1072
|
|
1023
|
-
##### [page_class](https://github.com/appium/ruby_lib/blob/
|
1073
|
+
##### [page_class](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/common/helper.rb#L121)
|
1024
1074
|
|
1025
1075
|
> def page_class
|
1026
1076
|
|
@@ -1033,7 +1083,7 @@ __Returns:__
|
|
1033
1083
|
|
1034
1084
|
--
|
1035
1085
|
|
1036
|
-
##### [source](https://github.com/appium/ruby_lib/blob/
|
1086
|
+
##### [source](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/common/helper.rb#L128)
|
1037
1087
|
|
1038
1088
|
> def source
|
1039
1089
|
|
@@ -1045,7 +1095,7 @@ __Returns:__
|
|
1045
1095
|
|
1046
1096
|
--
|
1047
1097
|
|
1048
|
-
##### [get_source](https://github.com/appium/ruby_lib/blob/
|
1098
|
+
##### [get_source](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/common/helper.rb#L135)
|
1049
1099
|
|
1050
1100
|
> def get_source
|
1051
1101
|
|
@@ -1058,7 +1108,7 @@ __Returns:__
|
|
1058
1108
|
|
1059
1109
|
--
|
1060
1110
|
|
1061
|
-
##### [px_to_window_rel](https://github.com/appium/ruby_lib/blob/
|
1111
|
+
##### [px_to_window_rel](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/common/helper.rb#L145)
|
1062
1112
|
|
1063
1113
|
> def px_to_window_rel(opts = {}, driver = $driver)
|
1064
1114
|
|
@@ -1066,7 +1116,7 @@ Converts pixel values to window relative values
|
|
1066
1116
|
|
1067
1117
|
--
|
1068
1118
|
|
1069
|
-
##### [xml_keys](https://github.com/appium/ruby_lib/blob/
|
1119
|
+
##### [xml_keys](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/common/helper.rb#L164)
|
1070
1120
|
|
1071
1121
|
> def xml_keys(target)
|
1072
1122
|
|
@@ -1082,7 +1132,7 @@ __Returns:__
|
|
1082
1132
|
|
1083
1133
|
--
|
1084
1134
|
|
1085
|
-
##### [xml_values](https://github.com/appium/ruby_lib/blob/
|
1135
|
+
##### [xml_values](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/common/helper.rb#L172)
|
1086
1136
|
|
1087
1137
|
> def xml_values(target)
|
1088
1138
|
|
@@ -1098,7 +1148,7 @@ __Returns:__
|
|
1098
1148
|
|
1099
1149
|
--
|
1100
1150
|
|
1101
|
-
##### [resolve_id](https://github.com/appium/ruby_lib/blob/
|
1151
|
+
##### [resolve_id](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/common/helper.rb#L180)
|
1102
1152
|
|
1103
1153
|
> def resolve_id(id)
|
1104
1154
|
|
@@ -1114,7 +1164,7 @@ __Returns:__
|
|
1114
1164
|
|
1115
1165
|
--
|
1116
1166
|
|
1117
|
-
##### [filter](https://github.com/appium/ruby_lib/blob/
|
1167
|
+
##### [filter](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/common/helper.rb#L187)
|
1118
1168
|
|
1119
1169
|
> def filter
|
1120
1170
|
|
@@ -1122,7 +1172,7 @@ Returns the value of attribute filter
|
|
1122
1172
|
|
1123
1173
|
--
|
1124
1174
|
|
1125
|
-
##### [filter=](https://github.com/appium/ruby_lib/blob/
|
1175
|
+
##### [filter=](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/common/helper.rb#L190)
|
1126
1176
|
|
1127
1177
|
> def filter=(value)
|
1128
1178
|
|
@@ -1130,7 +1180,7 @@ convert to string to support symbols
|
|
1130
1180
|
|
1131
1181
|
--
|
1132
1182
|
|
1133
|
-
##### [initialize](https://github.com/appium/ruby_lib/blob/
|
1183
|
+
##### [initialize](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/common/helper.rb#L196)
|
1134
1184
|
|
1135
1185
|
> def initialize
|
1136
1186
|
|
@@ -1142,7 +1192,7 @@ __Returns:__
|
|
1142
1192
|
|
1143
1193
|
--
|
1144
1194
|
|
1145
|
-
##### [reset](https://github.com/appium/ruby_lib/blob/
|
1195
|
+
##### [reset](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/common/helper.rb#L201)
|
1146
1196
|
|
1147
1197
|
> def reset
|
1148
1198
|
|
@@ -1150,7 +1200,7 @@ __Returns:__
|
|
1150
1200
|
|
1151
1201
|
--
|
1152
1202
|
|
1153
|
-
##### [result](https://github.com/appium/ruby_lib/blob/
|
1203
|
+
##### [result](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/common/helper.rb#L207)
|
1154
1204
|
|
1155
1205
|
> def result
|
1156
1206
|
|
@@ -1158,7 +1208,7 @@ __Returns:__
|
|
1158
1208
|
|
1159
1209
|
--
|
1160
1210
|
|
1161
|
-
##### [start_element](https://github.com/appium/ruby_lib/blob/
|
1211
|
+
##### [start_element](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/common/helper.rb#L223)
|
1162
1212
|
|
1163
1213
|
> def start_element(name, attrs = [])
|
1164
1214
|
|
@@ -1166,7 +1216,7 @@ __Returns:__
|
|
1166
1216
|
|
1167
1217
|
--
|
1168
1218
|
|
1169
|
-
##### [end_element](https://github.com/appium/ruby_lib/blob/
|
1219
|
+
##### [end_element](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/common/helper.rb#L232)
|
1170
1220
|
|
1171
1221
|
> def end_element(name)
|
1172
1222
|
|
@@ -1174,7 +1224,7 @@ __Returns:__
|
|
1174
1224
|
|
1175
1225
|
--
|
1176
1226
|
|
1177
|
-
##### [characters](https://github.com/appium/ruby_lib/blob/
|
1227
|
+
##### [characters](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/common/helper.rb#L238)
|
1178
1228
|
|
1179
1229
|
> def characters(chars)
|
1180
1230
|
|
@@ -1182,7 +1232,7 @@ __Returns:__
|
|
1182
1232
|
|
1183
1233
|
--
|
1184
1234
|
|
1185
|
-
##### [DEFAULT_HEADERS](https://github.com/appium/ruby_lib/blob/
|
1235
|
+
##### [DEFAULT_HEADERS](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/common/http_client.rb#L8)
|
1186
1236
|
|
1187
1237
|
> DEFAULT_HEADERS = { 'Accept' => CONTENT_TYPE, 'User-Agent' => "appium/ruby_lib/#{::Appium::VERSION}" }.freeze
|
1188
1238
|
|
@@ -1190,7 +1240,7 @@ Default HTTP client inherit Appium::Core::Base::Http::Default, but has different
|
|
1190
1240
|
|
1191
1241
|
--
|
1192
1242
|
|
1193
|
-
##### [pinch](https://github.com/appium/ruby_lib/blob/
|
1243
|
+
##### [pinch](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/common/multi_touch.rb#L51)
|
1194
1244
|
|
1195
1245
|
> def pinch(percentage = 25, auto_perform = true, driver = $driver)
|
1196
1246
|
|
@@ -1210,7 +1260,7 @@ __Parameters:__
|
|
1210
1260
|
|
1211
1261
|
--
|
1212
1262
|
|
1213
|
-
##### [zoom](https://github.com/appium/ruby_lib/blob/
|
1263
|
+
##### [zoom](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/common/multi_touch.rb#L93)
|
1214
1264
|
|
1215
1265
|
> def zoom(percentage = 200, auto_perform = true, driver = $driver)
|
1216
1266
|
|
@@ -1230,7 +1280,7 @@ __Parameters:__
|
|
1230
1280
|
|
1231
1281
|
--
|
1232
1282
|
|
1233
|
-
##### [initialize](https://github.com/appium/ruby_lib/blob/
|
1283
|
+
##### [initialize](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/common/multi_touch.rb#L178)
|
1234
1284
|
|
1235
1285
|
> def initialize(driver = $driver)
|
1236
1286
|
|
@@ -1242,7 +1292,7 @@ __Returns:__
|
|
1242
1292
|
|
1243
1293
|
--
|
1244
1294
|
|
1245
|
-
##### [COMPLEX_ACTIONS](https://github.com/appium/ruby_lib/blob/
|
1295
|
+
##### [COMPLEX_ACTIONS](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/common/touch_actions.rb#L33)
|
1246
1296
|
|
1247
1297
|
> COMPLEX_ACTIONS = ::Appium::Core::TouchAction::COMPLEX_ACTIONS
|
1248
1298
|
|
@@ -1250,7 +1300,7 @@ __Returns:__
|
|
1250
1300
|
|
1251
1301
|
--
|
1252
1302
|
|
1253
|
-
##### [initialize](https://github.com/appium/ruby_lib/blob/
|
1303
|
+
##### [initialize](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/common/touch_actions.rb#L47)
|
1254
1304
|
|
1255
1305
|
> def initialize(driver = $driver)
|
1256
1306
|
|
@@ -1262,7 +1312,7 @@ __Returns:__
|
|
1262
1312
|
|
1263
1313
|
--
|
1264
1314
|
|
1265
|
-
##### [swipe](https://github.com/appium/ruby_lib/blob/
|
1315
|
+
##### [swipe](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/common/touch_actions.rb#L51)
|
1266
1316
|
|
1267
1317
|
> def swipe(opts)
|
1268
1318
|
|
@@ -1270,7 +1320,7 @@ __Returns:__
|
|
1270
1320
|
|
1271
1321
|
--
|
1272
1322
|
|
1273
|
-
##### [initialize](https://github.com/appium/ruby_lib/blob/
|
1323
|
+
##### [initialize](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/common/command/ws_logcat.rb#L5)
|
1274
1324
|
|
1275
1325
|
> def initialize(url:, output_file: 'logcat.log')
|
1276
1326
|
|
@@ -1282,7 +1332,7 @@ __Returns:__
|
|
1282
1332
|
|
1283
1333
|
--
|
1284
1334
|
|
1285
|
-
##### [handle_message_data](https://github.com/appium/ruby_lib/blob/
|
1335
|
+
##### [handle_message_data](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/common/command/ws_logcat.rb#L10)
|
1286
1336
|
|
1287
1337
|
> def handle_message_data(data)
|
1288
1338
|
|
@@ -1290,7 +1340,7 @@ __Returns:__
|
|
1290
1340
|
|
1291
1341
|
--
|
1292
1342
|
|
1293
|
-
##### [for](https://github.com/appium/ruby_lib/blob/
|
1343
|
+
##### [for](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/ios/ios.rb#L15) ios
|
1294
1344
|
|
1295
1345
|
> def self.for(target)
|
1296
1346
|
|
@@ -1298,7 +1348,7 @@ __Returns:__
|
|
1298
1348
|
|
1299
1349
|
--
|
1300
1350
|
|
1301
|
-
##### [UIAStaticText](https://github.com/appium/ruby_lib/blob/
|
1351
|
+
##### [UIAStaticText](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/ios/element/text.rb#L4) ios
|
1302
1352
|
|
1303
1353
|
> UIAStaticText = 'UIAStaticText'.freeze
|
1304
1354
|
|
@@ -1306,7 +1356,7 @@ __Returns:__
|
|
1306
1356
|
|
1307
1357
|
--
|
1308
1358
|
|
1309
|
-
##### [XCUIElementTypeStaticText](https://github.com/appium/ruby_lib/blob/
|
1359
|
+
##### [XCUIElementTypeStaticText](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/ios/element/text.rb#L5) ios
|
1310
1360
|
|
1311
1361
|
> XCUIElementTypeStaticText = 'XCUIElementTypeStaticText'.freeze
|
1312
1362
|
|
@@ -1314,7 +1364,7 @@ __Returns:__
|
|
1314
1364
|
|
1315
1365
|
--
|
1316
1366
|
|
1317
|
-
##### [static_text_class](https://github.com/appium/ruby_lib/blob/
|
1367
|
+
##### [static_text_class](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/ios/element/text.rb#L8) ios
|
1318
1368
|
|
1319
1369
|
> def static_text_class
|
1320
1370
|
|
@@ -1326,7 +1376,7 @@ __Returns:__
|
|
1326
1376
|
|
1327
1377
|
--
|
1328
1378
|
|
1329
|
-
##### [text](https://github.com/appium/ruby_lib/blob/
|
1379
|
+
##### [text](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/ios/element/text.rb#L16) ios
|
1330
1380
|
|
1331
1381
|
> def text(value)
|
1332
1382
|
|
@@ -1343,7 +1393,7 @@ __Returns:__
|
|
1343
1393
|
|
1344
1394
|
--
|
1345
1395
|
|
1346
|
-
##### [texts](https://github.com/appium/ruby_lib/blob/
|
1396
|
+
##### [texts](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/ios/element/text.rb#L25) ios
|
1347
1397
|
|
1348
1398
|
> def texts(value = false)
|
1349
1399
|
|
@@ -1360,7 +1410,7 @@ __Returns:__
|
|
1360
1410
|
|
1361
1411
|
--
|
1362
1412
|
|
1363
|
-
##### [first_text](https://github.com/appium/ruby_lib/blob/
|
1413
|
+
##### [first_text](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/ios/element/text.rb#L32) ios
|
1364
1414
|
|
1365
1415
|
> def first_text
|
1366
1416
|
|
@@ -1372,7 +1422,7 @@ __Returns:__
|
|
1372
1422
|
|
1373
1423
|
--
|
1374
1424
|
|
1375
|
-
##### [last_text](https://github.com/appium/ruby_lib/blob/
|
1425
|
+
##### [last_text](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/ios/element/text.rb#L38) ios
|
1376
1426
|
|
1377
1427
|
> def last_text
|
1378
1428
|
|
@@ -1384,7 +1434,7 @@ __Returns:__
|
|
1384
1434
|
|
1385
1435
|
--
|
1386
1436
|
|
1387
|
-
##### [text_exact](https://github.com/appium/ruby_lib/blob/
|
1437
|
+
##### [text_exact](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/ios/element/text.rb#L45) ios
|
1388
1438
|
|
1389
1439
|
> def text_exact(value)
|
1390
1440
|
|
@@ -1400,7 +1450,7 @@ __Returns:__
|
|
1400
1450
|
|
1401
1451
|
--
|
1402
1452
|
|
1403
|
-
##### [texts_exact](https://github.com/appium/ruby_lib/blob/
|
1453
|
+
##### [texts_exact](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/ios/element/text.rb#L52) ios
|
1404
1454
|
|
1405
1455
|
> def texts_exact(value)
|
1406
1456
|
|
@@ -1416,7 +1466,7 @@ __Returns:__
|
|
1416
1466
|
|
1417
1467
|
--
|
1418
1468
|
|
1419
|
-
##### [filter](https://github.com/appium/ruby_lib/blob/
|
1469
|
+
##### [filter](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/ios/common/helper.rb#L5) ios
|
1420
1470
|
|
1421
1471
|
> def filter
|
1422
1472
|
|
@@ -1424,7 +1474,7 @@ Returns the value of attribute filter
|
|
1424
1474
|
|
1425
1475
|
--
|
1426
1476
|
|
1427
|
-
##### [filter=](https://github.com/appium/ruby_lib/blob/
|
1477
|
+
##### [filter=](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/ios/common/helper.rb#L5) ios
|
1428
1478
|
|
1429
1479
|
> def filter=(value)
|
1430
1480
|
|
@@ -1436,7 +1486,7 @@ __Parameters:__
|
|
1436
1486
|
|
1437
1487
|
--
|
1438
1488
|
|
1439
|
-
##### [start_element](https://github.com/appium/ruby_lib/blob/
|
1489
|
+
##### [start_element](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/ios/common/helper.rb#L7) ios
|
1440
1490
|
|
1441
1491
|
> def start_element(type, attrs = [])
|
1442
1492
|
|
@@ -1444,7 +1494,7 @@ __Parameters:__
|
|
1444
1494
|
|
1445
1495
|
--
|
1446
1496
|
|
1447
|
-
##### [ios_password](https://github.com/appium/ruby_lib/blob/
|
1497
|
+
##### [ios_password](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/ios/common/helper.rb#L44) ios
|
1448
1498
|
|
1449
1499
|
> def ios_password(length = 1)
|
1450
1500
|
|
@@ -1462,7 +1512,7 @@ __Returns:__
|
|
1462
1512
|
|
1463
1513
|
--
|
1464
1514
|
|
1465
|
-
##### [page](https://github.com/appium/ruby_lib/blob/
|
1515
|
+
##### [page](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/ios/common/helper.rb#L60) ios
|
1466
1516
|
|
1467
1517
|
> def page(opts = {})
|
1468
1518
|
|
@@ -1480,7 +1530,7 @@ __Returns:__
|
|
1480
1530
|
|
1481
1531
|
--
|
1482
1532
|
|
1483
|
-
##### [id](https://github.com/appium/ruby_lib/blob/
|
1533
|
+
##### [id](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/ios/common/helper.rb#L85) ios
|
1484
1534
|
|
1485
1535
|
> def id(id)
|
1486
1536
|
|
@@ -1496,7 +1546,7 @@ __Returns:__
|
|
1496
1546
|
|
1497
1547
|
--
|
1498
1548
|
|
1499
|
-
##### [ele_index](https://github.com/appium/ruby_lib/blob/
|
1549
|
+
##### [ele_index](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/ios/common/helper.rb#L93) ios
|
1500
1550
|
|
1501
1551
|
> def ele_index(class_name, index)
|
1502
1552
|
|
@@ -1514,7 +1564,7 @@ __Returns:__
|
|
1514
1564
|
|
1515
1565
|
--
|
1516
1566
|
|
1517
|
-
##### [find_ele_by_attr](https://github.com/appium/ruby_lib/blob/
|
1567
|
+
##### [find_ele_by_attr](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/ios/common/helper.rb#L121) ios
|
1518
1568
|
|
1519
1569
|
> def find_ele_by_attr(class_name, attr, value)
|
1520
1570
|
|
@@ -1536,7 +1586,7 @@ __Returns:__
|
|
1536
1586
|
|
1537
1587
|
--
|
1538
1588
|
|
1539
|
-
##### [find_eles_by_attr](https://github.com/appium/ruby_lib/blob/
|
1589
|
+
##### [find_eles_by_attr](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/ios/common/helper.rb#L132) ios
|
1540
1590
|
|
1541
1591
|
> def find_eles_by_attr(class_name, attr, value)
|
1542
1592
|
|
@@ -1558,7 +1608,7 @@ __Returns:__
|
|
1558
1608
|
|
1559
1609
|
--
|
1560
1610
|
|
1561
|
-
##### [find_ele_by_predicate](https://github.com/appium/ruby_lib/blob/
|
1611
|
+
##### [find_ele_by_predicate](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/ios/common/helper.rb#L145) ios
|
1562
1612
|
|
1563
1613
|
> def find_ele_by_predicate(class_name: '*', value:)
|
1564
1614
|
|
@@ -1575,7 +1625,7 @@ __Returns:__
|
|
1575
1625
|
|
1576
1626
|
--
|
1577
1627
|
|
1578
|
-
##### [find_eles_by_predicate](https://github.com/appium/ruby_lib/blob/
|
1628
|
+
##### [find_eles_by_predicate](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/ios/common/helper.rb#L156) ios
|
1579
1629
|
|
1580
1630
|
> def find_eles_by_predicate(class_name: '*', value:)
|
1581
1631
|
|
@@ -1594,7 +1644,7 @@ __Returns:__
|
|
1594
1644
|
|
1595
1645
|
--
|
1596
1646
|
|
1597
|
-
##### [find_ele_by_attr_include](https://github.com/appium/ruby_lib/blob/
|
1647
|
+
##### [find_ele_by_attr_include](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/ios/common/helper.rb#L172) ios
|
1598
1648
|
|
1599
1649
|
> def find_ele_by_attr_include(class_name, attr, value)
|
1600
1650
|
|
@@ -1615,7 +1665,7 @@ __Returns:__
|
|
1615
1665
|
|
1616
1666
|
--
|
1617
1667
|
|
1618
|
-
##### [find_eles_by_attr_include](https://github.com/appium/ruby_lib/blob/
|
1668
|
+
##### [find_eles_by_attr_include](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/ios/common/helper.rb#L182) ios
|
1619
1669
|
|
1620
1670
|
> def find_eles_by_attr_include(class_name, attr, value)
|
1621
1671
|
|
@@ -1636,7 +1686,7 @@ __Returns:__
|
|
1636
1686
|
|
1637
1687
|
--
|
1638
1688
|
|
1639
|
-
##### [find_ele_by_predicate_include](https://github.com/appium/ruby_lib/blob/
|
1689
|
+
##### [find_ele_by_predicate_include](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/ios/common/helper.rb#L190) ios
|
1640
1690
|
|
1641
1691
|
> def find_ele_by_predicate_include(class_name: '*', value:)
|
1642
1692
|
|
@@ -1653,7 +1703,7 @@ __Returns:__
|
|
1653
1703
|
|
1654
1704
|
--
|
1655
1705
|
|
1656
|
-
##### [find_eles_by_predicate_include](https://github.com/appium/ruby_lib/blob/
|
1706
|
+
##### [find_eles_by_predicate_include](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/ios/common/helper.rb#L201) ios
|
1657
1707
|
|
1658
1708
|
> def find_eles_by_predicate_include(class_name: '*', value:)
|
1659
1709
|
|
@@ -1672,7 +1722,7 @@ __Returns:__
|
|
1672
1722
|
|
1673
1723
|
--
|
1674
1724
|
|
1675
|
-
##### [first_ele](https://github.com/appium/ruby_lib/blob/
|
1725
|
+
##### [first_ele](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/ios/common/helper.rb#L214) ios
|
1676
1726
|
|
1677
1727
|
> def first_ele(class_name)
|
1678
1728
|
|
@@ -1688,7 +1738,7 @@ __Returns:__
|
|
1688
1738
|
|
1689
1739
|
--
|
1690
1740
|
|
1691
|
-
##### [last_ele](https://github.com/appium/ruby_lib/blob/
|
1741
|
+
##### [last_ele](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/ios/common/helper.rb#L221) ios
|
1692
1742
|
|
1693
1743
|
> def last_ele(class_name)
|
1694
1744
|
|
@@ -1704,7 +1754,7 @@ __Returns:__
|
|
1704
1754
|
|
1705
1755
|
--
|
1706
1756
|
|
1707
|
-
##### [tag](https://github.com/appium/ruby_lib/blob/
|
1757
|
+
##### [tag](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/ios/common/helper.rb#L229) ios
|
1708
1758
|
|
1709
1759
|
> def tag(class_name)
|
1710
1760
|
|
@@ -1720,7 +1770,7 @@ __Returns:__
|
|
1720
1770
|
|
1721
1771
|
--
|
1722
1772
|
|
1723
|
-
##### [tags](https://github.com/appium/ruby_lib/blob/
|
1773
|
+
##### [tags](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/ios/common/helper.rb#L237) ios
|
1724
1774
|
|
1725
1775
|
> def tags(class_name)
|
1726
1776
|
|
@@ -1736,7 +1786,7 @@ __Returns:__
|
|
1736
1786
|
|
1737
1787
|
--
|
1738
1788
|
|
1739
|
-
##### [tags_include](https://github.com/appium/ruby_lib/blob/
|
1789
|
+
##### [tags_include](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/ios/common/helper.rb#L248) ios
|
1740
1790
|
|
1741
1791
|
> def tags_include(class_names:, value: nil)
|
1742
1792
|
|
@@ -1756,7 +1806,7 @@ __Returns:__
|
|
1756
1806
|
|
1757
1807
|
--
|
1758
1808
|
|
1759
|
-
##### [tags_exact](https://github.com/appium/ruby_lib/blob/
|
1809
|
+
##### [tags_exact](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/ios/common/helper.rb#L263) ios
|
1760
1810
|
|
1761
1811
|
> def tags_exact(class_names:, value: nil)
|
1762
1812
|
|
@@ -1776,7 +1826,7 @@ __Returns:__
|
|
1776
1826
|
|
1777
1827
|
--
|
1778
1828
|
|
1779
|
-
##### [ele_by_json_visible_contains](https://github.com/appium/ruby_lib/blob/
|
1829
|
+
##### [ele_by_json_visible_contains](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/ios/common/helper.rb#L300) ios
|
1780
1830
|
|
1781
1831
|
> def ele_by_json_visible_contains(element, value)
|
1782
1832
|
|
@@ -1795,7 +1845,7 @@ __Returns:__
|
|
1795
1845
|
|
1796
1846
|
--
|
1797
1847
|
|
1798
|
-
##### [eles_by_json_visible_contains](https://github.com/appium/ruby_lib/blob/
|
1848
|
+
##### [eles_by_json_visible_contains](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/ios/common/helper.rb#L309) ios
|
1799
1849
|
|
1800
1850
|
> def eles_by_json_visible_contains(element, value)
|
1801
1851
|
|
@@ -1814,7 +1864,7 @@ __Returns:__
|
|
1814
1864
|
|
1815
1865
|
--
|
1816
1866
|
|
1817
|
-
##### [ele_by_json_visible_exact](https://github.com/appium/ruby_lib/blob/
|
1867
|
+
##### [ele_by_json_visible_exact](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/ios/common/helper.rb#L339) ios
|
1818
1868
|
|
1819
1869
|
> def ele_by_json_visible_exact(element, value)
|
1820
1870
|
|
@@ -1833,7 +1883,7 @@ __Returns:__
|
|
1833
1883
|
|
1834
1884
|
--
|
1835
1885
|
|
1836
|
-
##### [eles_by_json_visible_exact](https://github.com/appium/ruby_lib/blob/
|
1886
|
+
##### [eles_by_json_visible_exact](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/ios/common/helper.rb#L348) ios
|
1837
1887
|
|
1838
1888
|
> def eles_by_json_visible_exact(element, value)
|
1839
1889
|
|
@@ -1852,7 +1902,7 @@ __Returns:__
|
|
1852
1902
|
|
1853
1903
|
--
|
1854
1904
|
|
1855
|
-
##### [_all_pred](https://github.com/appium/ruby_lib/blob/
|
1905
|
+
##### [_all_pred](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/ios/common/helper.rb#L357) ios
|
1856
1906
|
|
1857
1907
|
> def _all_pred(opts)
|
1858
1908
|
|
@@ -1862,7 +1912,7 @@ visible - if true, only visible elements are returned. default true
|
|
1862
1912
|
|
1863
1913
|
--
|
1864
1914
|
|
1865
|
-
##### [ele_with_pred](https://github.com/appium/ruby_lib/blob/
|
1915
|
+
##### [ele_with_pred](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/ios/common/helper.rb#L370) ios
|
1866
1916
|
|
1867
1917
|
> def ele_with_pred(opts)
|
1868
1918
|
|
@@ -1878,7 +1928,7 @@ __Returns:__
|
|
1878
1928
|
|
1879
1929
|
--
|
1880
1930
|
|
1881
|
-
##### [eles_with_pred](https://github.com/appium/ruby_lib/blob/
|
1931
|
+
##### [eles_with_pred](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/ios/common/helper.rb#L381) ios
|
1882
1932
|
|
1883
1933
|
> def eles_with_pred(opts)
|
1884
1934
|
|
@@ -1894,7 +1944,7 @@ __Returns:__
|
|
1894
1944
|
|
1895
1945
|
--
|
1896
1946
|
|
1897
|
-
##### [_validate_object](https://github.com/appium/ruby_lib/blob/
|
1947
|
+
##### [_validate_object](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/ios/common/helper.rb#L385) ios
|
1898
1948
|
|
1899
1949
|
> def _validate_object(*objects)
|
1900
1950
|
|
@@ -1902,7 +1952,7 @@ __Returns:__
|
|
1902
1952
|
|
1903
1953
|
--
|
1904
1954
|
|
1905
|
-
##### [_by_json](https://github.com/appium/ruby_lib/blob/
|
1955
|
+
##### [_by_json](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/ios/common/helper.rb#L434) ios
|
1906
1956
|
|
1907
1957
|
> def _by_json(opts)
|
1908
1958
|
|
@@ -1937,7 +1987,7 @@ opts = {
|
|
1937
1987
|
|
1938
1988
|
--
|
1939
1989
|
|
1940
|
-
##### [eles_by_json](https://github.com/appium/ruby_lib/blob/
|
1990
|
+
##### [eles_by_json](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/ios/common/helper.rb#L484) ios
|
1941
1991
|
|
1942
1992
|
> def eles_by_json(opts)
|
1943
1993
|
|
@@ -1956,7 +2006,7 @@ eles_by_json({
|
|
1956
2006
|
|
1957
2007
|
--
|
1958
2008
|
|
1959
|
-
##### [ele_by_json](https://github.com/appium/ruby_lib/blob/
|
2009
|
+
##### [ele_by_json](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/ios/common/helper.rb#L490) ios
|
1960
2010
|
|
1961
2011
|
> def ele_by_json(opts)
|
1962
2012
|
|
@@ -1964,7 +2014,7 @@ see eles_by_json
|
|
1964
2014
|
|
1965
2015
|
--
|
1966
2016
|
|
1967
|
-
##### [alert_accept](https://github.com/appium/ruby_lib/blob/
|
2017
|
+
##### [alert_accept](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/ios/element/alert.rb#L5) ios
|
1968
2018
|
|
1969
2019
|
> def alert_accept
|
1970
2020
|
|
@@ -1976,7 +2026,7 @@ __Returns:__
|
|
1976
2026
|
|
1977
2027
|
--
|
1978
2028
|
|
1979
|
-
##### [alert_dismiss](https://github.com/appium/ruby_lib/blob/
|
2029
|
+
##### [alert_dismiss](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/ios/element/alert.rb#L13) ios
|
1980
2030
|
|
1981
2031
|
> def alert_dismiss
|
1982
2032
|
|
@@ -1988,7 +2038,7 @@ __Returns:__
|
|
1988
2038
|
|
1989
2039
|
--
|
1990
2040
|
|
1991
|
-
##### [UIAButton](https://github.com/appium/ruby_lib/blob/
|
2041
|
+
##### [UIAButton](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/ios/element/button.rb#L4) ios
|
1992
2042
|
|
1993
2043
|
> UIAButton = 'UIAButton'.freeze
|
1994
2044
|
|
@@ -1996,7 +2046,7 @@ __Returns:__
|
|
1996
2046
|
|
1997
2047
|
--
|
1998
2048
|
|
1999
|
-
##### [XCUIElementTypeButton](https://github.com/appium/ruby_lib/blob/
|
2049
|
+
##### [XCUIElementTypeButton](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/ios/element/button.rb#L5) ios
|
2000
2050
|
|
2001
2051
|
> XCUIElementTypeButton = 'XCUIElementTypeButton'.freeze
|
2002
2052
|
|
@@ -2004,7 +2054,7 @@ __Returns:__
|
|
2004
2054
|
|
2005
2055
|
--
|
2006
2056
|
|
2007
|
-
##### [button_class](https://github.com/appium/ruby_lib/blob/
|
2057
|
+
##### [button_class](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/ios/element/button.rb#L8) ios
|
2008
2058
|
|
2009
2059
|
> def button_class
|
2010
2060
|
|
@@ -2016,7 +2066,7 @@ __Returns:__
|
|
2016
2066
|
|
2017
2067
|
--
|
2018
2068
|
|
2019
|
-
##### [button](https://github.com/appium/ruby_lib/blob/
|
2069
|
+
##### [button](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/ios/element/button.rb#L16) ios
|
2020
2070
|
|
2021
2071
|
> def button(value)
|
2022
2072
|
|
@@ -2033,7 +2083,7 @@ __Returns:__
|
|
2033
2083
|
|
2034
2084
|
--
|
2035
2085
|
|
2036
|
-
##### [buttons](https://github.com/appium/ruby_lib/blob/
|
2086
|
+
##### [buttons](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/ios/element/button.rb#L26) ios
|
2037
2087
|
|
2038
2088
|
> def buttons(value = false)
|
2039
2089
|
|
@@ -2050,7 +2100,7 @@ __Returns:__
|
|
2050
2100
|
|
2051
2101
|
--
|
2052
2102
|
|
2053
|
-
##### [first_button](https://github.com/appium/ruby_lib/blob/
|
2103
|
+
##### [first_button](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/ios/element/button.rb#L33) ios
|
2054
2104
|
|
2055
2105
|
> def first_button
|
2056
2106
|
|
@@ -2062,7 +2112,7 @@ __Returns:__
|
|
2062
2112
|
|
2063
2113
|
--
|
2064
2114
|
|
2065
|
-
##### [last_button](https://github.com/appium/ruby_lib/blob/
|
2115
|
+
##### [last_button](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/ios/element/button.rb#L41) ios
|
2066
2116
|
|
2067
2117
|
> def last_button
|
2068
2118
|
|
@@ -2076,7 +2126,7 @@ __Returns:__
|
|
2076
2126
|
|
2077
2127
|
--
|
2078
2128
|
|
2079
|
-
##### [button_exact](https://github.com/appium/ruby_lib/blob/
|
2129
|
+
##### [button_exact](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/ios/element/button.rb#L48) ios
|
2080
2130
|
|
2081
2131
|
> def button_exact(value)
|
2082
2132
|
|
@@ -2092,7 +2142,7 @@ __Returns:__
|
|
2092
2142
|
|
2093
2143
|
--
|
2094
2144
|
|
2095
|
-
##### [buttons_exact](https://github.com/appium/ruby_lib/blob/
|
2145
|
+
##### [buttons_exact](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/ios/element/button.rb#L55) ios
|
2096
2146
|
|
2097
2147
|
> def buttons_exact(value)
|
2098
2148
|
|
@@ -2108,7 +2158,7 @@ __Returns:__
|
|
2108
2158
|
|
2109
2159
|
--
|
2110
2160
|
|
2111
|
-
##### [find](https://github.com/appium/ruby_lib/blob/
|
2161
|
+
##### [find](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/ios/element/generic.rb#L6) ios
|
2112
2162
|
|
2113
2163
|
> def find(value)
|
2114
2164
|
|
@@ -2124,7 +2174,7 @@ __Returns:__
|
|
2124
2174
|
|
2125
2175
|
--
|
2126
2176
|
|
2127
|
-
##### [finds](https://github.com/appium/ruby_lib/blob/
|
2177
|
+
##### [finds](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/ios/element/generic.rb#L13) ios
|
2128
2178
|
|
2129
2179
|
> def finds(value)
|
2130
2180
|
|
@@ -2140,7 +2190,7 @@ __Returns:__
|
|
2140
2190
|
|
2141
2191
|
--
|
2142
2192
|
|
2143
|
-
##### [find_exact](https://github.com/appium/ruby_lib/blob/
|
2193
|
+
##### [find_exact](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/ios/element/generic.rb#L20) ios
|
2144
2194
|
|
2145
2195
|
> def find_exact(value)
|
2146
2196
|
|
@@ -2156,7 +2206,7 @@ __Returns:__
|
|
2156
2206
|
|
2157
2207
|
--
|
2158
2208
|
|
2159
|
-
##### [finds_exact](https://github.com/appium/ruby_lib/blob/
|
2209
|
+
##### [finds_exact](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/ios/element/generic.rb#L27) ios
|
2160
2210
|
|
2161
2211
|
> def finds_exact(value)
|
2162
2212
|
|
@@ -2172,7 +2222,7 @@ __Returns:__
|
|
2172
2222
|
|
2173
2223
|
--
|
2174
2224
|
|
2175
|
-
##### [raise_error_if_no_element](https://github.com/appium/ruby_lib/blob/
|
2225
|
+
##### [raise_error_if_no_element](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/ios/element/generic.rb#L33) ios
|
2176
2226
|
|
2177
2227
|
> def raise_error_if_no_element(element)
|
2178
2228
|
|
@@ -2180,7 +2230,7 @@ __Returns:__
|
|
2180
2230
|
|
2181
2231
|
--
|
2182
2232
|
|
2183
|
-
##### [select_visible_elements](https://github.com/appium/ruby_lib/blob/
|
2233
|
+
##### [select_visible_elements](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/ios/element/generic.rb#L40) ios
|
2184
2234
|
|
2185
2235
|
> def select_visible_elements(elements)
|
2186
2236
|
|
@@ -2188,7 +2238,7 @@ Return visible elements.
|
|
2188
2238
|
|
2189
2239
|
--
|
2190
2240
|
|
2191
|
-
##### [for](https://github.com/appium/ruby_lib/blob/
|
2241
|
+
##### [for](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/ios/xcuitest/bridge.rb#L7) ios
|
2192
2242
|
|
2193
2243
|
> def self.for(target)
|
2194
2244
|
|
@@ -2196,7 +2246,7 @@ Return visible elements.
|
|
2196
2246
|
|
2197
2247
|
--
|
2198
2248
|
|
2199
|
-
##### [last_ele](https://github.com/appium/ruby_lib/blob/
|
2249
|
+
##### [last_ele](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/ios/xcuitest/helper.rb#L26) ios
|
2200
2250
|
|
2201
2251
|
> def last_ele(class_name)
|
2202
2252
|
|
@@ -2212,7 +2262,7 @@ __Returns:__
|
|
2212
2262
|
|
2213
2263
|
--
|
2214
2264
|
|
2215
|
-
##### [tag](https://github.com/appium/ruby_lib/blob/
|
2265
|
+
##### [tag](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/ios/xcuitest/helper.rb#L36) ios
|
2216
2266
|
|
2217
2267
|
> def tag(class_name)
|
2218
2268
|
|
@@ -2228,7 +2278,7 @@ __Returns:__
|
|
2228
2278
|
|
2229
2279
|
--
|
2230
2280
|
|
2231
|
-
##### [tags](https://github.com/appium/ruby_lib/blob/
|
2281
|
+
##### [tags](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/ios/xcuitest/helper.rb#L44) ios
|
2232
2282
|
|
2233
2283
|
> def tags(class_name)
|
2234
2284
|
|
@@ -2244,7 +2294,7 @@ __Returns:__
|
|
2244
2294
|
|
2245
2295
|
--
|
2246
2296
|
|
2247
|
-
##### [tags_include](https://github.com/appium/ruby_lib/blob/
|
2297
|
+
##### [tags_include](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/ios/xcuitest/helper.rb#L56) ios
|
2248
2298
|
|
2249
2299
|
> def tags_include(class_names:, value: nil)
|
2250
2300
|
|
@@ -2264,7 +2314,7 @@ __Returns:__
|
|
2264
2314
|
|
2265
2315
|
--
|
2266
2316
|
|
2267
|
-
##### [tags_exact](https://github.com/appium/ruby_lib/blob/
|
2317
|
+
##### [tags_exact](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/ios/xcuitest/helper.rb#L79) ios
|
2268
2318
|
|
2269
2319
|
> def tags_exact(class_names:, value: nil)
|
2270
2320
|
|
@@ -2284,7 +2334,7 @@ __Returns:__
|
|
2284
2334
|
|
2285
2335
|
--
|
2286
2336
|
|
2287
|
-
##### [start_logs_broadcast](https://github.com/appium/ruby_lib/blob/
|
2337
|
+
##### [start_logs_broadcast](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/ios/xcuitest/command.rb#L19) ios
|
2288
2338
|
|
2289
2339
|
> def start_logs_broadcast(syslog_file = 'syslog.log')
|
2290
2340
|
|
@@ -2296,7 +2346,7 @@ __Parameters:__
|
|
2296
2346
|
|
2297
2347
|
--
|
2298
2348
|
|
2299
|
-
##### [stop_logs_broadcast](https://github.com/appium/ruby_lib/blob/
|
2349
|
+
##### [stop_logs_broadcast](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/ios/xcuitest/command.rb#L32) ios
|
2300
2350
|
|
2301
2351
|
> def stop_logs_broadcast
|
2302
2352
|
|
@@ -2304,7 +2354,7 @@ Stop iOS syslog broadcast websocket
|
|
2304
2354
|
|
2305
2355
|
--
|
2306
2356
|
|
2307
|
-
##### [UIATextField](https://github.com/appium/ruby_lib/blob/
|
2357
|
+
##### [UIATextField](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/ios/element/textfield.rb#L3) ios
|
2308
2358
|
|
2309
2359
|
> UIATextField = 'UIATextField'.freeze
|
2310
2360
|
|
@@ -2312,7 +2362,7 @@ Stop iOS syslog broadcast websocket
|
|
2312
2362
|
|
2313
2363
|
--
|
2314
2364
|
|
2315
|
-
##### [UIASecureTextField](https://github.com/appium/ruby_lib/blob/
|
2365
|
+
##### [UIASecureTextField](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/ios/element/textfield.rb#L4) ios
|
2316
2366
|
|
2317
2367
|
> UIASecureTextField = 'UIASecureTextField'.freeze
|
2318
2368
|
|
@@ -2320,7 +2370,7 @@ Stop iOS syslog broadcast websocket
|
|
2320
2370
|
|
2321
2371
|
--
|
2322
2372
|
|
2323
|
-
##### [XCUIElementTypeTextField](https://github.com/appium/ruby_lib/blob/
|
2373
|
+
##### [XCUIElementTypeTextField](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/ios/element/textfield.rb#L6) ios
|
2324
2374
|
|
2325
2375
|
> XCUIElementTypeTextField = 'XCUIElementTypeTextField'.freeze
|
2326
2376
|
|
@@ -2328,7 +2378,7 @@ Stop iOS syslog broadcast websocket
|
|
2328
2378
|
|
2329
2379
|
--
|
2330
2380
|
|
2331
|
-
##### [XCUIElementTypeSecureTextField](https://github.com/appium/ruby_lib/blob/
|
2381
|
+
##### [XCUIElementTypeSecureTextField](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/ios/element/textfield.rb#L7) ios
|
2332
2382
|
|
2333
2383
|
> XCUIElementTypeSecureTextField = 'XCUIElementTypeSecureTextField'.freeze
|
2334
2384
|
|
@@ -2336,7 +2386,7 @@ Stop iOS syslog broadcast websocket
|
|
2336
2386
|
|
2337
2387
|
--
|
2338
2388
|
|
2339
|
-
##### [text_field_class](https://github.com/appium/ruby_lib/blob/
|
2389
|
+
##### [text_field_class](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/ios/element/textfield.rb#L10) ios
|
2340
2390
|
|
2341
2391
|
> def text_field_class
|
2342
2392
|
|
@@ -2348,7 +2398,7 @@ __Returns:__
|
|
2348
2398
|
|
2349
2399
|
--
|
2350
2400
|
|
2351
|
-
##### [secure_text_field_class](https://github.com/appium/ruby_lib/blob/
|
2401
|
+
##### [secure_text_field_class](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/ios/element/textfield.rb#L15) ios
|
2352
2402
|
|
2353
2403
|
> def secure_text_field_class
|
2354
2404
|
|
@@ -2360,7 +2410,7 @@ __Returns:__
|
|
2360
2410
|
|
2361
2411
|
--
|
2362
2412
|
|
2363
|
-
##### [textfield](https://github.com/appium/ruby_lib/blob/
|
2413
|
+
##### [textfield](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/ios/element/textfield.rb#L24) ios
|
2364
2414
|
|
2365
2415
|
> def textfield(value)
|
2366
2416
|
|
@@ -2378,7 +2428,7 @@ __Returns:__
|
|
2378
2428
|
|
2379
2429
|
--
|
2380
2430
|
|
2381
|
-
##### [textfields](https://github.com/appium/ruby_lib/blob/
|
2431
|
+
##### [textfields](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/ios/element/textfield.rb#L42) ios
|
2382
2432
|
|
2383
2433
|
> def textfields(value = false)
|
2384
2434
|
|
@@ -2395,7 +2445,7 @@ __Returns:__
|
|
2395
2445
|
|
2396
2446
|
--
|
2397
2447
|
|
2398
|
-
##### [first_textfield](https://github.com/appium/ruby_lib/blob/
|
2448
|
+
##### [first_textfield](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/ios/element/textfield.rb#L49) ios
|
2399
2449
|
|
2400
2450
|
> def first_textfield
|
2401
2451
|
|
@@ -2407,7 +2457,7 @@ __Returns:__
|
|
2407
2457
|
|
2408
2458
|
--
|
2409
2459
|
|
2410
|
-
##### [last_textfield](https://github.com/appium/ruby_lib/blob/
|
2460
|
+
##### [last_textfield](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/ios/element/textfield.rb#L55) ios
|
2411
2461
|
|
2412
2462
|
> def last_textfield
|
2413
2463
|
|
@@ -2419,7 +2469,7 @@ __Returns:__
|
|
2419
2469
|
|
2420
2470
|
--
|
2421
2471
|
|
2422
|
-
##### [textfield_exact](https://github.com/appium/ruby_lib/blob/
|
2472
|
+
##### [textfield_exact](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/ios/element/textfield.rb#L64) ios
|
2423
2473
|
|
2424
2474
|
> def textfield_exact(value)
|
2425
2475
|
|
@@ -2435,7 +2485,7 @@ __Returns:__
|
|
2435
2485
|
|
2436
2486
|
--
|
2437
2487
|
|
2438
|
-
##### [textfields_exact](https://github.com/appium/ruby_lib/blob/
|
2488
|
+
##### [textfields_exact](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/ios/element/textfield.rb#L71) ios
|
2439
2489
|
|
2440
2490
|
> def textfields_exact(value)
|
2441
2491
|
|
@@ -2451,7 +2501,7 @@ __Returns:__
|
|
2451
2501
|
|
2452
2502
|
--
|
2453
2503
|
|
2454
|
-
##### [_textfield_visible](https://github.com/appium/ruby_lib/blob/
|
2504
|
+
##### [_textfield_visible](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/ios/element/textfield.rb#L78) ios
|
2455
2505
|
|
2456
2506
|
> def _textfield_visible
|
2457
2507
|
|
@@ -2459,7 +2509,7 @@ Appium
|
|
2459
2509
|
|
2460
2510
|
--
|
2461
2511
|
|
2462
|
-
##### [_textfield_exact_string](https://github.com/appium/ruby_lib/blob/
|
2512
|
+
##### [_textfield_exact_string](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/ios/element/textfield.rb#L83) ios
|
2463
2513
|
|
2464
2514
|
> def _textfield_exact_string(value)
|
2465
2515
|
|
@@ -2467,7 +2517,7 @@ Appium
|
|
2467
2517
|
|
2468
2518
|
--
|
2469
2519
|
|
2470
|
-
##### [_textfield_contains_string](https://github.com/appium/ruby_lib/blob/
|
2520
|
+
##### [_textfield_contains_string](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/ios/element/textfield.rb#L90) ios
|
2471
2521
|
|
2472
2522
|
> def _textfield_contains_string(value)
|
2473
2523
|
|
@@ -2475,7 +2525,7 @@ Appium
|
|
2475
2525
|
|
2476
2526
|
--
|
2477
2527
|
|
2478
|
-
##### [static_text_class](https://github.com/appium/ruby_lib/blob/
|
2528
|
+
##### [static_text_class](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/ios/xcuitest/element/text.rb#L9) ios
|
2479
2529
|
|
2480
2530
|
> def static_text_class
|
2481
2531
|
|
@@ -2487,7 +2537,7 @@ __Returns:__
|
|
2487
2537
|
|
2488
2538
|
--
|
2489
2539
|
|
2490
|
-
##### [text](https://github.com/appium/ruby_lib/blob/
|
2540
|
+
##### [text](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/ios/xcuitest/element/text.rb#L17) ios
|
2491
2541
|
|
2492
2542
|
> def text(value)
|
2493
2543
|
|
@@ -2504,7 +2554,7 @@ __Returns:__
|
|
2504
2554
|
|
2505
2555
|
--
|
2506
2556
|
|
2507
|
-
##### [texts](https://github.com/appium/ruby_lib/blob/
|
2557
|
+
##### [texts](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/ios/xcuitest/element/text.rb#L26) ios
|
2508
2558
|
|
2509
2559
|
> def texts(value = false)
|
2510
2560
|
|
@@ -2521,7 +2571,7 @@ __Returns:__
|
|
2521
2571
|
|
2522
2572
|
--
|
2523
2573
|
|
2524
|
-
##### [first_text](https://github.com/appium/ruby_lib/blob/
|
2574
|
+
##### [first_text](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/ios/xcuitest/element/text.rb#L34) ios
|
2525
2575
|
|
2526
2576
|
> def first_text
|
2527
2577
|
|
@@ -2533,7 +2583,7 @@ __Returns:__
|
|
2533
2583
|
|
2534
2584
|
--
|
2535
2585
|
|
2536
|
-
##### [last_text](https://github.com/appium/ruby_lib/blob/
|
2586
|
+
##### [last_text](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/ios/xcuitest/element/text.rb#L40) ios
|
2537
2587
|
|
2538
2588
|
> def last_text
|
2539
2589
|
|
@@ -2545,7 +2595,7 @@ __Returns:__
|
|
2545
2595
|
|
2546
2596
|
--
|
2547
2597
|
|
2548
|
-
##### [text_exact](https://github.com/appium/ruby_lib/blob/
|
2598
|
+
##### [text_exact](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/ios/xcuitest/element/text.rb#L47) ios
|
2549
2599
|
|
2550
2600
|
> def text_exact(value)
|
2551
2601
|
|
@@ -2561,7 +2611,7 @@ __Returns:__
|
|
2561
2611
|
|
2562
2612
|
--
|
2563
2613
|
|
2564
|
-
##### [texts_exact](https://github.com/appium/ruby_lib/blob/
|
2614
|
+
##### [texts_exact](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/ios/xcuitest/element/text.rb#L54) ios
|
2565
2615
|
|
2566
2616
|
> def texts_exact(value)
|
2567
2617
|
|
@@ -2577,7 +2627,7 @@ __Returns:__
|
|
2577
2627
|
|
2578
2628
|
--
|
2579
2629
|
|
2580
|
-
##### [xcuitest_source](https://github.com/appium/ruby_lib/blob/
|
2630
|
+
##### [xcuitest_source](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/ios/xcuitest/command/source.rb#L12) ios
|
2581
2631
|
|
2582
2632
|
> def xcuitest_source(format: :xml)
|
2583
2633
|
|
@@ -2591,7 +2641,7 @@ __Parameters:__
|
|
2591
2641
|
|
2592
2642
|
--
|
2593
2643
|
|
2594
|
-
##### [button_class](https://github.com/appium/ruby_lib/blob/
|
2644
|
+
##### [button_class](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/ios/xcuitest/element/button.rb#L9) ios
|
2595
2645
|
|
2596
2646
|
> def button_class
|
2597
2647
|
|
@@ -2603,7 +2653,7 @@ __Returns:__
|
|
2603
2653
|
|
2604
2654
|
--
|
2605
2655
|
|
2606
|
-
##### [button](https://github.com/appium/ruby_lib/blob/
|
2656
|
+
##### [button](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/ios/xcuitest/element/button.rb#L17) ios
|
2607
2657
|
|
2608
2658
|
> def button(value)
|
2609
2659
|
|
@@ -2620,7 +2670,7 @@ __Returns:__
|
|
2620
2670
|
|
2621
2671
|
--
|
2622
2672
|
|
2623
|
-
##### [buttons](https://github.com/appium/ruby_lib/blob/
|
2673
|
+
##### [buttons](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/ios/xcuitest/element/button.rb#L27) ios
|
2624
2674
|
|
2625
2675
|
> def buttons(value = false)
|
2626
2676
|
|
@@ -2637,7 +2687,7 @@ __Returns:__
|
|
2637
2687
|
|
2638
2688
|
--
|
2639
2689
|
|
2640
|
-
##### [first_button](https://github.com/appium/ruby_lib/blob/
|
2690
|
+
##### [first_button](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/ios/xcuitest/element/button.rb#L35) ios
|
2641
2691
|
|
2642
2692
|
> def first_button
|
2643
2693
|
|
@@ -2649,7 +2699,7 @@ __Returns:__
|
|
2649
2699
|
|
2650
2700
|
--
|
2651
2701
|
|
2652
|
-
##### [last_button](https://github.com/appium/ruby_lib/blob/
|
2702
|
+
##### [last_button](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/ios/xcuitest/element/button.rb#L43) ios
|
2653
2703
|
|
2654
2704
|
> def last_button
|
2655
2705
|
|
@@ -2663,7 +2713,7 @@ __Returns:__
|
|
2663
2713
|
|
2664
2714
|
--
|
2665
2715
|
|
2666
|
-
##### [button_exact](https://github.com/appium/ruby_lib/blob/
|
2716
|
+
##### [button_exact](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/ios/xcuitest/element/button.rb#L50) ios
|
2667
2717
|
|
2668
2718
|
> def button_exact(value)
|
2669
2719
|
|
@@ -2679,7 +2729,7 @@ __Returns:__
|
|
2679
2729
|
|
2680
2730
|
--
|
2681
2731
|
|
2682
|
-
##### [buttons_exact](https://github.com/appium/ruby_lib/blob/
|
2732
|
+
##### [buttons_exact](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/ios/xcuitest/element/button.rb#L57) ios
|
2683
2733
|
|
2684
2734
|
> def buttons_exact(value)
|
2685
2735
|
|
@@ -2695,7 +2745,7 @@ __Returns:__
|
|
2695
2745
|
|
2696
2746
|
--
|
2697
2747
|
|
2698
|
-
##### [find](https://github.com/appium/ruby_lib/blob/
|
2748
|
+
##### [find](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/ios/xcuitest/element/generic.rb#L8) ios
|
2699
2749
|
|
2700
2750
|
> def find(value)
|
2701
2751
|
|
@@ -2711,7 +2761,7 @@ __Returns:__
|
|
2711
2761
|
|
2712
2762
|
--
|
2713
2763
|
|
2714
|
-
##### [finds](https://github.com/appium/ruby_lib/blob/
|
2764
|
+
##### [finds](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/ios/xcuitest/element/generic.rb#L15) ios
|
2715
2765
|
|
2716
2766
|
> def finds(value)
|
2717
2767
|
|
@@ -2727,7 +2777,7 @@ __Returns:__
|
|
2727
2777
|
|
2728
2778
|
--
|
2729
2779
|
|
2730
|
-
##### [find_exact](https://github.com/appium/ruby_lib/blob/
|
2780
|
+
##### [find_exact](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/ios/xcuitest/element/generic.rb#L23) ios
|
2731
2781
|
|
2732
2782
|
> def find_exact(value)
|
2733
2783
|
|
@@ -2743,7 +2793,7 @@ __Returns:__
|
|
2743
2793
|
|
2744
2794
|
--
|
2745
2795
|
|
2746
|
-
##### [finds_exact](https://github.com/appium/ruby_lib/blob/
|
2796
|
+
##### [finds_exact](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/ios/xcuitest/element/generic.rb#L30) ios
|
2747
2797
|
|
2748
2798
|
> def finds_exact(value)
|
2749
2799
|
|
@@ -2759,7 +2809,7 @@ __Returns:__
|
|
2759
2809
|
|
2760
2810
|
--
|
2761
2811
|
|
2762
|
-
##### [raise_error_if_no_element](https://github.com/appium/ruby_lib/blob/
|
2812
|
+
##### [raise_error_if_no_element](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/ios/xcuitest/element/generic.rb#L37) ios
|
2763
2813
|
|
2764
2814
|
> def raise_error_if_no_element(element)
|
2765
2815
|
|
@@ -2767,7 +2817,7 @@ __Returns:__
|
|
2767
2817
|
|
2768
2818
|
--
|
2769
2819
|
|
2770
|
-
##### [select_visible_elements](https://github.com/appium/ruby_lib/blob/
|
2820
|
+
##### [select_visible_elements](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/ios/xcuitest/element/generic.rb#L44) ios
|
2771
2821
|
|
2772
2822
|
> def select_visible_elements(elements)
|
2773
2823
|
|
@@ -2775,7 +2825,7 @@ Return visible elements.
|
|
2775
2825
|
|
2776
2826
|
--
|
2777
2827
|
|
2778
|
-
##### [swipe](https://github.com/appium/ruby_lib/blob/
|
2828
|
+
##### [swipe](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/ios/xcuitest/command/gestures.rb#L11) ios
|
2779
2829
|
|
2780
2830
|
> def swipe(direction:, element: nil)
|
2781
2831
|
|
@@ -2789,7 +2839,7 @@ __Parameters:__
|
|
2789
2839
|
|
2790
2840
|
--
|
2791
2841
|
|
2792
|
-
##### [scroll](https://github.com/appium/ruby_lib/blob/
|
2842
|
+
##### [scroll](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/ios/xcuitest/command/gestures.rb#L29) ios
|
2793
2843
|
|
2794
2844
|
> def scroll(direction:, name: nil, element: nil, to_visible: nil, predicate_string: nil)
|
2795
2845
|
|
@@ -2803,7 +2853,7 @@ __Parameters:__
|
|
2803
2853
|
|
2804
2854
|
--
|
2805
2855
|
|
2806
|
-
##### [pinch](https://github.com/appium/ruby_lib/blob/
|
2856
|
+
##### [pinch](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/ios/xcuitest/command/gestures.rb#L48) ios
|
2807
2857
|
|
2808
2858
|
> def pinch(scale:, velocity: 1.0, element: nil)
|
2809
2859
|
|
@@ -2819,7 +2869,7 @@ __Parameters:__
|
|
2819
2869
|
|
2820
2870
|
--
|
2821
2871
|
|
2822
|
-
##### [double_tap](https://github.com/appium/ruby_lib/blob/
|
2872
|
+
##### [double_tap](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/ios/xcuitest/command/gestures.rb#L63) ios
|
2823
2873
|
|
2824
2874
|
> def double_tap(x: nil, y: nil, element: nil)
|
2825
2875
|
|
@@ -2835,7 +2885,7 @@ __Parameters:__
|
|
2835
2885
|
|
2836
2886
|
--
|
2837
2887
|
|
2838
|
-
##### [touch_and_hold](https://github.com/appium/ruby_lib/blob/
|
2888
|
+
##### [touch_and_hold](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/ios/xcuitest/command/gestures.rb#L80) ios
|
2839
2889
|
|
2840
2890
|
> def touch_and_hold(x: nil, y: nil, element: nil, duration: 1.0)
|
2841
2891
|
|
@@ -2853,7 +2903,7 @@ __Parameters:__
|
|
2853
2903
|
|
2854
2904
|
--
|
2855
2905
|
|
2856
|
-
##### [two_finger_tap](https://github.com/appium/ruby_lib/blob/
|
2906
|
+
##### [two_finger_tap](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/ios/xcuitest/command/gestures.rb#L93) ios
|
2857
2907
|
|
2858
2908
|
> def two_finger_tap(element:)
|
2859
2909
|
|
@@ -2869,7 +2919,7 @@ two_finger_tap element: find_element(:accessibility_id, "some item")
|
|
2869
2919
|
|
2870
2920
|
--
|
2871
2921
|
|
2872
|
-
##### [tap](https://github.com/appium/ruby_lib/blob/
|
2922
|
+
##### [tap](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/ios/xcuitest/command/gestures.rb#L108) ios
|
2873
2923
|
|
2874
2924
|
> def tap(x:, y:, element: nil)
|
2875
2925
|
|
@@ -2885,7 +2935,7 @@ __Parameters:__
|
|
2885
2935
|
|
2886
2936
|
--
|
2887
2937
|
|
2888
|
-
##### [drag_from_to_for_duration](https://github.com/appium/ruby_lib/blob/
|
2938
|
+
##### [drag_from_to_for_duration](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/ios/xcuitest/command/gestures.rb#L128) ios
|
2889
2939
|
|
2890
2940
|
> def drag_from_to_for_duration(from_x:, from_y:, to_x:, to_y:, duration: 1.0, element: nil)
|
2891
2941
|
|
@@ -2908,7 +2958,7 @@ drag point should be before to start dragging. Mandatory parameter
|
|
2908
2958
|
|
2909
2959
|
--
|
2910
2960
|
|
2911
|
-
##### [select_picker_wheel](https://github.com/appium/ruby_lib/blob/
|
2961
|
+
##### [select_picker_wheel](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/ios/xcuitest/command/gestures.rb#L145) ios
|
2912
2962
|
|
2913
2963
|
> def select_picker_wheel(element:, order:, offset: nil)
|
2914
2964
|
|
@@ -2925,7 +2975,7 @@ __Parameters:__
|
|
2925
2975
|
|
2926
2976
|
--
|
2927
2977
|
|
2928
|
-
##### [alert](https://github.com/appium/ruby_lib/blob/
|
2978
|
+
##### [alert](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/ios/xcuitest/command/gestures.rb#L163) ios
|
2929
2979
|
|
2930
2980
|
> def alert(action:, button_label: nil)
|
2931
2981
|
|
@@ -2940,7 +2990,7 @@ This is an optional parameter and is only valid in combination with accept and d
|
|
2940
2990
|
|
2941
2991
|
--
|
2942
2992
|
|
2943
|
-
##### [text_field_class](https://github.com/appium/ruby_lib/blob/
|
2993
|
+
##### [text_field_class](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/ios/xcuitest/element/textfield.rb#L9) ios
|
2944
2994
|
|
2945
2995
|
> def text_field_class
|
2946
2996
|
|
@@ -2952,7 +3002,7 @@ __Returns:__
|
|
2952
3002
|
|
2953
3003
|
--
|
2954
3004
|
|
2955
|
-
##### [secure_text_field_class](https://github.com/appium/ruby_lib/blob/
|
3005
|
+
##### [secure_text_field_class](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/ios/xcuitest/element/textfield.rb#L14) ios
|
2956
3006
|
|
2957
3007
|
> def secure_text_field_class
|
2958
3008
|
|
@@ -2964,7 +3014,7 @@ __Returns:__
|
|
2964
3014
|
|
2965
3015
|
--
|
2966
3016
|
|
2967
|
-
##### [textfield](https://github.com/appium/ruby_lib/blob/
|
3017
|
+
##### [textfield](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/ios/xcuitest/element/textfield.rb#L23) ios
|
2968
3018
|
|
2969
3019
|
> def textfield(value)
|
2970
3020
|
|
@@ -2982,7 +3032,7 @@ __Returns:__
|
|
2982
3032
|
|
2983
3033
|
--
|
2984
3034
|
|
2985
|
-
##### [textfields](https://github.com/appium/ruby_lib/blob/
|
3035
|
+
##### [textfields](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/ios/xcuitest/element/textfield.rb#L41) ios
|
2986
3036
|
|
2987
3037
|
> def textfields(value = false)
|
2988
3038
|
|
@@ -2999,7 +3049,7 @@ __Returns:__
|
|
2999
3049
|
|
3000
3050
|
--
|
3001
3051
|
|
3002
|
-
##### [first_textfield](https://github.com/appium/ruby_lib/blob/
|
3052
|
+
##### [first_textfield](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/ios/xcuitest/element/textfield.rb#L50) ios
|
3003
3053
|
|
3004
3054
|
> def first_textfield
|
3005
3055
|
|
@@ -3011,7 +3061,7 @@ __Returns:__
|
|
3011
3061
|
|
3012
3062
|
--
|
3013
3063
|
|
3014
|
-
##### [last_textfield](https://github.com/appium/ruby_lib/blob/
|
3064
|
+
##### [last_textfield](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/ios/xcuitest/element/textfield.rb#L56) ios
|
3015
3065
|
|
3016
3066
|
> def last_textfield
|
3017
3067
|
|
@@ -3023,7 +3073,7 @@ __Returns:__
|
|
3023
3073
|
|
3024
3074
|
--
|
3025
3075
|
|
3026
|
-
##### [textfield_exact](https://github.com/appium/ruby_lib/blob/
|
3076
|
+
##### [textfield_exact](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/ios/xcuitest/element/textfield.rb#L65) ios
|
3027
3077
|
|
3028
3078
|
> def textfield_exact(value)
|
3029
3079
|
|
@@ -3039,7 +3089,7 @@ __Returns:__
|
|
3039
3089
|
|
3040
3090
|
--
|
3041
3091
|
|
3042
|
-
##### [textfields_exact](https://github.com/appium/ruby_lib/blob/
|
3092
|
+
##### [textfields_exact](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/ios/xcuitest/element/textfield.rb#L72) ios
|
3043
3093
|
|
3044
3094
|
> def textfields_exact(value)
|
3045
3095
|
|
@@ -3055,7 +3105,7 @@ __Returns:__
|
|
3055
3105
|
|
3056
3106
|
--
|
3057
3107
|
|
3058
|
-
##### [set_pasteboard](https://github.com/appium/ruby_lib/blob/
|
3108
|
+
##### [set_pasteboard](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/ios/xcuitest/command/pasteboard.rb#L12) ios
|
3059
3109
|
|
3060
3110
|
> def set_pasteboard(content:, encoding: nil)
|
3061
3111
|
|
@@ -3070,7 +3120,7 @@ The parameter is mandatory
|
|
3070
3120
|
|
3071
3121
|
--
|
3072
3122
|
|
3073
|
-
##### [get_pasteboard](https://github.com/appium/ruby_lib/blob/
|
3123
|
+
##### [get_pasteboard](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/ios/xcuitest/command/pasteboard.rb#L24) ios
|
3074
3124
|
|
3075
3125
|
> def get_pasteboard(encoding: nil)
|
3076
3126
|
|
@@ -3082,7 +3132,30 @@ __Parameters:__
|
|
3082
3132
|
|
3083
3133
|
--
|
3084
3134
|
|
3085
|
-
##### [
|
3135
|
+
##### [install_certificate](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/ios/xcuitest/command/certificate.rb#L18) ios
|
3136
|
+
|
3137
|
+
> def install_certificate(cer_file:)
|
3138
|
+
|
3139
|
+
Generates Apple's over-the-air configuration profile for certificate deployment
|
3140
|
+
based on the given PEM certificate content.
|
3141
|
+
https://developer.apple.com/library/content/documentation/NetworkingInternet/Conceptual/iPhoneOTAConfiguration/Introduction/Introduction.html
|
3142
|
+
https://github.com/appium/appium-xcuitest-driver/pull/652
|
3143
|
+
|
3144
|
+
__Parameters:__
|
3145
|
+
|
3146
|
+
[string] cer_file - The content of the certificate file.
|
3147
|
+
|
3148
|
+
--
|
3149
|
+
|
3150
|
+
##### [xcuitest_get_contexts](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/ios/xcuitest/command/get_context.rb#L14) ios
|
3151
|
+
|
3152
|
+
> def xcuitest_get_contexts
|
3153
|
+
|
3154
|
+
Get contexts
|
3155
|
+
|
3156
|
+
--
|
3157
|
+
|
3158
|
+
##### [xcuitest_install_app](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/ios/xcuitest/command/multi_app_handler.rb#L21) ios
|
3086
3159
|
|
3087
3160
|
> def xcuitest_install_app(app:)
|
3088
3161
|
|
@@ -3098,7 +3171,7 @@ or an URL pointing to a remote .ipa/.zip file. Mandatory argument.
|
|
3098
3171
|
|
3099
3172
|
--
|
3100
3173
|
|
3101
|
-
##### [xcuitest_app_installed?](https://github.com/appium/ruby_lib/blob/
|
3174
|
+
##### [xcuitest_app_installed?](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/ios/xcuitest/command/multi_app_handler.rb#L35) ios
|
3102
3175
|
|
3103
3176
|
> def xcuitest_app_installed?(bundle_id:)
|
3104
3177
|
|
@@ -3114,7 +3187,7 @@ __Returns:__
|
|
3114
3187
|
|
3115
3188
|
--
|
3116
3189
|
|
3117
|
-
##### [xcuitest_remove_app](https://github.com/appium/ruby_lib/blob/
|
3190
|
+
##### [xcuitest_remove_app](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/ios/xcuitest/command/multi_app_handler.rb#L50) ios
|
3118
3191
|
|
3119
3192
|
> def xcuitest_remove_app(bundle_id:)
|
3120
3193
|
|
@@ -3127,7 +3200,7 @@ __Parameters:__
|
|
3127
3200
|
|
3128
3201
|
--
|
3129
3202
|
|
3130
|
-
##### [xcuitest_launch_app](https://github.com/appium/ruby_lib/blob/
|
3203
|
+
##### [xcuitest_launch_app](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/ios/xcuitest/command/multi_app_handler.rb#L65) ios
|
3131
3204
|
|
3132
3205
|
> def xcuitest_launch_app(bundle_id:)
|
3133
3206
|
|
@@ -3140,7 +3213,7 @@ __Parameters:__
|
|
3140
3213
|
|
3141
3214
|
--
|
3142
3215
|
|
3143
|
-
##### [xcuitest_terminate_app](https://github.com/appium/ruby_lib/blob/
|
3216
|
+
##### [xcuitest_terminate_app](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/ios/xcuitest/command/multi_app_handler.rb#L80) ios
|
3144
3217
|
|
3145
3218
|
> def xcuitest_terminate_app(bundle_id:)
|
3146
3219
|
|
@@ -3153,7 +3226,7 @@ __Parameters:__
|
|
3153
3226
|
|
3154
3227
|
--
|
3155
3228
|
|
3156
|
-
##### [xcuitest_query_app_status](https://github.com/appium/ruby_lib/blob/
|
3229
|
+
##### [xcuitest_query_app_status](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/ios/xcuitest/command/multi_app_handler.rb#L102) ios
|
3157
3230
|
|
3158
3231
|
> def xcuitest_query_app_status(bundle_id:)
|
3159
3232
|
|
@@ -3177,7 +3250,7 @@ __Returns:__
|
|
3177
3250
|
|
3178
3251
|
--
|
3179
3252
|
|
3180
|
-
##### [xcuitest_activate_app](https://github.com/appium/ruby_lib/blob/
|
3253
|
+
##### [xcuitest_activate_app](https://github.com/appium/ruby_lib/blob/024167c78c20a817861528ae4d3b80d41ea82590/lib/appium_lib/ios/xcuitest/command/multi_app_handler.rb#L118) ios
|
3181
3254
|
|
3182
3255
|
> def xcuitest_activate_app(bundle_id:)
|
3183
3256
|
|