appium_lib 9.15.1 → 9.15.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.rubocop.yml +13 -15
- data/CHANGELOG.md +8 -0
- data/appium_lib.gemspec +7 -10
- data/docs/android_docs.md +259 -181
- data/docs/ios_docs.md +322 -244
- data/docs/ios_xcuitest.md +1 -1
- data/docs/w3c.md +21 -0
- data/lib/appium_lib/android/common/helper.rb +13 -13
- data/lib/appium_lib/android/element/button.rb +2 -0
- data/lib/appium_lib/android/element/generic.rb +2 -2
- data/lib/appium_lib/android/element/text.rb +2 -0
- data/lib/appium_lib/android/element/textfield.rb +2 -0
- data/lib/appium_lib/android/uiautomator2/element/button.rb +3 -0
- data/lib/appium_lib/android/uiautomator2/helper.rb +10 -8
- data/lib/appium_lib/appium.rb +4 -0
- data/lib/appium_lib/common/helper.rb +9 -8
- data/lib/appium_lib/common/multi_touch.rb +2 -0
- data/lib/appium_lib/common/touch_actions.rb +6 -5
- data/lib/appium_lib/driver.rb +72 -19
- data/lib/appium_lib/ios/common/helper.rb +36 -30
- data/lib/appium_lib/ios/element/button.rb +2 -0
- data/lib/appium_lib/ios/element/generic.rb +1 -0
- data/lib/appium_lib/ios/element/text.rb +2 -0
- data/lib/appium_lib/ios/element/textfield.rb +5 -2
- data/lib/appium_lib/ios/xcuitest/command/gestures.rb +4 -4
- data/lib/appium_lib/ios/xcuitest/element/button.rb +2 -0
- data/lib/appium_lib/ios/xcuitest/element/generic.rb +1 -0
- data/lib/appium_lib/ios/xcuitest/element/text.rb +2 -0
- data/lib/appium_lib/ios/xcuitest/element/textfield.rb +3 -0
- data/lib/appium_lib/ios/xcuitest/helper.rb +3 -4
- data/lib/appium_lib/version.rb +2 -2
- data/release_notes.md +10 -0
- metadata +39 -53
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/c6eb8f5416ccdf75b161bc60c0986caec43d9ff8/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/c6eb8f5416ccdf75b161bc60c0986caec43d9ff8/lib/appium_lib/appium.rb#L82)
|
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/c6eb8f5416ccdf75b161bc60c0986caec43d9ff8/lib/appium_lib/appium.rb#L87)
|
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/c6eb8f5416ccdf75b161bc60c0986caec43d9ff8/lib/appium_lib/appium.rb#L129)
|
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/c6eb8f5416ccdf75b161bc60c0986caec43d9ff8/lib/appium_lib/appium.rb#L185)
|
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/c6eb8f5416ccdf75b161bc60c0986caec43d9ff8/lib/appium_lib/driver.rb#L37)
|
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/c6eb8f5416ccdf75b161bc60c0986caec43d9ff8/lib/appium_lib/driver.rb#L37)
|
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/c6eb8f5416ccdf75b161bc60c0986caec43d9ff8/lib/appium_lib/driver.rb#L40)
|
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/c6eb8f5416ccdf75b161bc60c0986caec43d9ff8/lib/appium_lib/driver.rb#L43)
|
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/c6eb8f5416ccdf75b161bc60c0986caec43d9ff8/lib/appium_lib/driver.rb#L46)
|
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/c6eb8f5416ccdf75b161bc60c0986caec43d9ff8/lib/appium_lib/driver.rb#L49)
|
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/c6eb8f5416ccdf75b161bc60c0986caec43d9ff8/lib/appium_lib/driver.rb#L53)
|
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/c6eb8f5416ccdf75b161bc60c0986caec43d9ff8/lib/appium_lib/driver.rb#L54)
|
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/c6eb8f5416ccdf75b161bc60c0986caec43d9ff8/lib/appium_lib/driver.rb#L55)
|
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/c6eb8f5416ccdf75b161bc60c0986caec43d9ff8/lib/appium_lib/driver.rb#L56)
|
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/c6eb8f5416ccdf75b161bc60c0986caec43d9ff8/lib/appium_lib/driver.rb#L57)
|
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/c6eb8f5416ccdf75b161bc60c0986caec43d9ff8/lib/appium_lib/driver.rb#L58)
|
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/c6eb8f5416ccdf75b161bc60c0986caec43d9ff8/lib/appium_lib/driver.rb#L59)
|
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/c6eb8f5416ccdf75b161bc60c0986caec43d9ff8/lib/appium_lib/driver.rb#L60)
|
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/c6eb8f5416ccdf75b161bc60c0986caec43d9ff8/lib/appium_lib/driver.rb#L61)
|
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/c6eb8f5416ccdf75b161bc60c0986caec43d9ff8/lib/appium_lib/driver.rb#L62)
|
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/c6eb8f5416ccdf75b161bc60c0986caec43d9ff8/lib/appium_lib/driver.rb#L63)
|
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/c6eb8f5416ccdf75b161bc60c0986caec43d9ff8/lib/appium_lib/driver.rb#L64)
|
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/c6eb8f5416ccdf75b161bc60c0986caec43d9ff8/lib/appium_lib/driver.rb#L67)
|
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/c6eb8f5416ccdf75b161bc60c0986caec43d9ff8/lib/appium_lib/driver.rb#L69)
|
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/c6eb8f5416ccdf75b161bc60c0986caec43d9ff8/lib/appium_lib/driver.rb#L72)
|
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/c6eb8f5416ccdf75b161bc60c0986caec43d9ff8/lib/appium_lib/driver.rb#L74)
|
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/c6eb8f5416ccdf75b161bc60c0986caec43d9ff8/lib/appium_lib/driver.rb#L142)
|
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/c6eb8f5416ccdf75b161bc60c0986caec43d9ff8/lib/appium_lib/driver.rb#L256)
|
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/c6eb8f5416ccdf75b161bc60c0986caec43d9ff8/lib/appium_lib/driver.rb#L278)
|
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/c6eb8f5416ccdf75b161bc60c0986caec43d9ff8/lib/appium_lib/driver.rb#L282)
|
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/c6eb8f5416ccdf75b161bc60c0986caec43d9ff8/lib/appium_lib/driver.rb#L286)
|
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/c6eb8f5416ccdf75b161bc60c0986caec43d9ff8/lib/appium_lib/driver.rb#L292)
|
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/c6eb8f5416ccdf75b161bc60c0986caec43d9ff8/lib/appium_lib/driver.rb#L298)
|
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/c6eb8f5416ccdf75b161bc60c0986caec43d9ff8/lib/appium_lib/driver.rb#L304)
|
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/c6eb8f5416ccdf75b161bc60c0986caec43d9ff8/lib/appium_lib/driver.rb#L324)
|
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/c6eb8f5416ccdf75b161bc60c0986caec43d9ff8/lib/appium_lib/driver.rb#L331)
|
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/c6eb8f5416ccdf75b161bc60c0986caec43d9ff8/lib/appium_lib/driver.rb#L353)
|
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/c6eb8f5416ccdf75b161bc60c0986caec43d9ff8/lib/appium_lib/driver.rb#L361)
|
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/c6eb8f5416ccdf75b161bc60c0986caec43d9ff8/lib/appium_lib/driver.rb#L365)
|
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/c6eb8f5416ccdf75b161bc60c0986caec43d9ff8/lib/appium_lib/driver.rb#L378)
|
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/c6eb8f5416ccdf75b161bc60c0986caec43d9ff8/lib/appium_lib/driver.rb#L390)
|
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/c6eb8f5416ccdf75b161bc60c0986caec43d9ff8/lib/appium_lib/driver.rb#L408)
|
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/c6eb8f5416ccdf75b161bc60c0986caec43d9ff8/lib/appium_lib/driver.rb#L417)
|
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/c6eb8f5416ccdf75b161bc60c0986caec43d9ff8/lib/appium_lib/driver.rb#L430)
|
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/c6eb8f5416ccdf75b161bc60c0986caec43d9ff8/lib/appium_lib/driver.rb#L444)
|
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/c6eb8f5416ccdf75b161bc60c0986caec43d9ff8/lib/appium_lib/driver.rb#L451)
|
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/c6eb8f5416ccdf75b161bc60c0986caec43d9ff8/lib/appium_lib/driver.rb#L454)
|
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/c6eb8f5416ccdf75b161bc60c0986caec43d9ff8/lib/appium_lib/driver.rb#L465)
|
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/c6eb8f5416ccdf75b161bc60c0986caec43d9ff8/lib/appium_lib/driver.rb#L498)
|
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/c6eb8f5416ccdf75b161bc60c0986caec43d9ff8/lib/appium_lib/driver.rb#L520)
|
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/c6eb8f5416ccdf75b161bc60c0986caec43d9ff8/lib/appium_lib/driver.rb#L531)
|
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/c6eb8f5416ccdf75b161bc60c0986caec43d9ff8/lib/appium_lib/driver.rb#L545)
|
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/c6eb8f5416ccdf75b161bc60c0986caec43d9ff8/lib/appium_lib/driver.rb#L562)
|
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/c6eb8f5416ccdf75b161bc60c0986caec43d9ff8/lib/appium_lib/driver.rb#L586)
|
673
673
|
|
674
674
|
> def execute_script(script, *args)
|
675
675
|
|
@@ -687,7 +687,85 @@ __Returns:__
|
|
687
687
|
|
688
688
|
--
|
689
689
|
|
690
|
-
##### [
|
690
|
+
##### [execute_async_script](https://github.com/appium/ruby_lib/blob/c6eb8f5416ccdf75b161bc60c0986caec43d9ff8/lib/appium_lib/driver.rb#L594)
|
691
|
+
|
692
|
+
> def execute_async_script(script, *args)
|
693
|
+
|
694
|
+
Wrap calling selenium webdrier APIs via ruby_core
|
695
|
+
|
696
|
+
Get the window handles of open browser windows
|
697
|
+
|
698
|
+
--
|
699
|
+
|
700
|
+
##### [window_handles](https://github.com/appium/ruby_lib/blob/c6eb8f5416ccdf75b161bc60c0986caec43d9ff8/lib/appium_lib/driver.rb#L598)
|
701
|
+
|
702
|
+
> def window_handles
|
703
|
+
|
704
|
+
|
705
|
+
|
706
|
+
--
|
707
|
+
|
708
|
+
##### [window_handle](https://github.com/appium/ruby_lib/blob/c6eb8f5416ccdf75b161bc60c0986caec43d9ff8/lib/appium_lib/driver.rb#L603)
|
709
|
+
|
710
|
+
> def window_handle
|
711
|
+
|
712
|
+
Get the current window handle
|
713
|
+
|
714
|
+
--
|
715
|
+
|
716
|
+
##### [navigate](https://github.com/appium/ruby_lib/blob/c6eb8f5416ccdf75b161bc60c0986caec43d9ff8/lib/appium_lib/driver.rb#L607)
|
717
|
+
|
718
|
+
> def navigate
|
719
|
+
|
720
|
+
|
721
|
+
|
722
|
+
--
|
723
|
+
|
724
|
+
##### [manage](https://github.com/appium/ruby_lib/blob/c6eb8f5416ccdf75b161bc60c0986caec43d9ff8/lib/appium_lib/driver.rb#L611)
|
725
|
+
|
726
|
+
> def manage
|
727
|
+
|
728
|
+
|
729
|
+
|
730
|
+
--
|
731
|
+
|
732
|
+
##### [get](https://github.com/appium/ruby_lib/blob/c6eb8f5416ccdf75b161bc60c0986caec43d9ff8/lib/appium_lib/driver.rb#L615)
|
733
|
+
|
734
|
+
> def get(url)
|
735
|
+
|
736
|
+
|
737
|
+
|
738
|
+
--
|
739
|
+
|
740
|
+
##### [current_url](https://github.com/appium/ruby_lib/blob/c6eb8f5416ccdf75b161bc60c0986caec43d9ff8/lib/appium_lib/driver.rb#L619)
|
741
|
+
|
742
|
+
> def current_url
|
743
|
+
|
744
|
+
|
745
|
+
|
746
|
+
--
|
747
|
+
|
748
|
+
##### [title](https://github.com/appium/ruby_lib/blob/c6eb8f5416ccdf75b161bc60c0986caec43d9ff8/lib/appium_lib/driver.rb#L623)
|
749
|
+
|
750
|
+
> def title
|
751
|
+
|
752
|
+
|
753
|
+
|
754
|
+
--
|
755
|
+
|
756
|
+
##### [switch_to](https://github.com/appium/ruby_lib/blob/c6eb8f5416ccdf75b161bc60c0986caec43d9ff8/lib/appium_lib/driver.rb#L629)
|
757
|
+
|
758
|
+
> def switch_to
|
759
|
+
|
760
|
+
|
761
|
+
|
762
|
+
__Returns:__
|
763
|
+
|
764
|
+
[TargetLocator]
|
765
|
+
|
766
|
+
--
|
767
|
+
|
768
|
+
##### [find_elements](https://github.com/appium/ruby_lib/blob/c6eb8f5416ccdf75b161bc60c0986caec43d9ff8/lib/appium_lib/driver.rb#L656)
|
691
769
|
|
692
770
|
> def find_elements(*args)
|
693
771
|
|
@@ -707,7 +785,7 @@ __Returns:__
|
|
707
785
|
|
708
786
|
--
|
709
787
|
|
710
|
-
##### [find_element](https://github.com/appium/ruby_lib/blob/
|
788
|
+
##### [find_element](https://github.com/appium/ruby_lib/blob/c6eb8f5416ccdf75b161bc60c0986caec43d9ff8/lib/appium_lib/driver.rb#L672)
|
711
789
|
|
712
790
|
> def find_element(*args)
|
713
791
|
|
@@ -725,7 +803,7 @@ __Returns:__
|
|
725
803
|
|
726
804
|
--
|
727
805
|
|
728
|
-
##### [DEFAULT_MATCH_THRESHOLD](https://github.com/appium/ruby_lib/blob/
|
806
|
+
##### [DEFAULT_MATCH_THRESHOLD](https://github.com/appium/ruby_lib/blob/c6eb8f5416ccdf75b161bc60c0986caec43d9ff8/lib/appium_lib/driver.rb#L690)
|
729
807
|
|
730
808
|
> DEFAULT_MATCH_THRESHOLD = 0.5
|
731
809
|
|
@@ -746,7 +824,7 @@ __Returns:__
|
|
746
824
|
|
747
825
|
--
|
748
826
|
|
749
|
-
##### [find_element_by_image](https://github.com/appium/ruby_lib/blob/
|
827
|
+
##### [find_element_by_image](https://github.com/appium/ruby_lib/blob/c6eb8f5416ccdf75b161bc60c0986caec43d9ff8/lib/appium_lib/driver.rb#L691)
|
750
828
|
|
751
829
|
> def find_element_by_image(png_img_path, match_threshold: DEFAULT_MATCH_THRESHOLD, visualize: false)
|
752
830
|
|
@@ -754,7 +832,7 @@ __Returns:__
|
|
754
832
|
|
755
833
|
--
|
756
834
|
|
757
|
-
##### [find_elements_by_image](https://github.com/appium/ruby_lib/blob/
|
835
|
+
##### [find_elements_by_image](https://github.com/appium/ruby_lib/blob/c6eb8f5416ccdf75b161bc60c0986caec43d9ff8/lib/appium_lib/driver.rb#L709)
|
758
836
|
|
759
837
|
> def find_elements_by_image(png_img_paths, match_threshold: DEFAULT_MATCH_THRESHOLD, visualize: false)
|
760
838
|
|
@@ -775,7 +853,7 @@ __Returns:__
|
|
775
853
|
|
776
854
|
--
|
777
855
|
|
778
|
-
##### [set_location](https://github.com/appium/ruby_lib/blob/
|
856
|
+
##### [set_location](https://github.com/appium/ruby_lib/blob/c6eb8f5416ccdf75b161bc60c0986caec43d9ff8/lib/appium_lib/driver.rb#L722)
|
779
857
|
|
780
858
|
> def set_location(opts = {})
|
781
859
|
|
@@ -791,7 +869,7 @@ __Returns:__
|
|
791
869
|
|
792
870
|
--
|
793
871
|
|
794
|
-
##### [x](https://github.com/appium/ruby_lib/blob/
|
872
|
+
##### [x](https://github.com/appium/ruby_lib/blob/c6eb8f5416ccdf75b161bc60c0986caec43d9ff8/lib/appium_lib/driver.rb#L732)
|
795
873
|
|
796
874
|
> def x
|
797
875
|
|
@@ -804,7 +882,7 @@ __Returns:__
|
|
804
882
|
|
805
883
|
--
|
806
884
|
|
807
|
-
##### [username](https://github.com/appium/ruby_lib/blob/
|
885
|
+
##### [username](https://github.com/appium/ruby_lib/blob/c6eb8f5416ccdf75b161bc60c0986caec43d9ff8/lib/appium_lib/sauce_labs.rb#L4)
|
808
886
|
|
809
887
|
> def username
|
810
888
|
|
@@ -812,7 +890,7 @@ Username for use on Sauce Labs. Set `false` to disable Sauce, even when SAUCE_US
|
|
812
890
|
|
813
891
|
--
|
814
892
|
|
815
|
-
##### [access_key](https://github.com/appium/ruby_lib/blob/
|
893
|
+
##### [access_key](https://github.com/appium/ruby_lib/blob/c6eb8f5416ccdf75b161bc60c0986caec43d9ff8/lib/appium_lib/sauce_labs.rb#L6)
|
816
894
|
|
817
895
|
> def access_key
|
818
896
|
|
@@ -820,7 +898,7 @@ Access Key for use on Sauce Labs. Set `false` to disable Sauce, even when SAUCE_
|
|
820
898
|
|
821
899
|
--
|
822
900
|
|
823
|
-
##### [endpoint](https://github.com/appium/ruby_lib/blob/
|
901
|
+
##### [endpoint](https://github.com/appium/ruby_lib/blob/c6eb8f5416ccdf75b161bc60c0986caec43d9ff8/lib/appium_lib/sauce_labs.rb#L8)
|
824
902
|
|
825
903
|
> def endpoint
|
826
904
|
|
@@ -828,7 +906,7 @@ Override the Sauce Appium endpoint to allow e.g. TestObject tests. Default is 'o
|
|
828
906
|
|
829
907
|
--
|
830
908
|
|
831
|
-
##### [initialize](https://github.com/appium/ruby_lib/blob/
|
909
|
+
##### [initialize](https://github.com/appium/ruby_lib/blob/c6eb8f5416ccdf75b161bc60c0986caec43d9ff8/lib/appium_lib/sauce_labs.rb#L33)
|
832
910
|
|
833
911
|
> def initialize(appium_lib_opts)
|
834
912
|
|
@@ -844,7 +922,7 @@ __Returns:__
|
|
844
922
|
|
845
923
|
--
|
846
924
|
|
847
|
-
##### [sauce_server_url?](https://github.com/appium/ruby_lib/blob/
|
925
|
+
##### [sauce_server_url?](https://github.com/appium/ruby_lib/blob/c6eb8f5416ccdf75b161bc60c0986caec43d9ff8/lib/appium_lib/sauce_labs.rb#L53)
|
848
926
|
|
849
927
|
> def sauce_server_url?
|
850
928
|
|
@@ -856,7 +934,7 @@ __Returns:__
|
|
856
934
|
|
857
935
|
--
|
858
936
|
|
859
|
-
##### [server_url](https://github.com/appium/ruby_lib/blob/
|
937
|
+
##### [server_url](https://github.com/appium/ruby_lib/blob/c6eb8f5416ccdf75b161bc60c0986caec43d9ff8/lib/appium_lib/sauce_labs.rb#L66)
|
860
938
|
|
861
939
|
> def server_url
|
862
940
|
|
@@ -868,7 +946,7 @@ __Returns:__
|
|
868
946
|
|
869
947
|
--
|
870
948
|
|
871
|
-
##### [get_log](https://github.com/appium/ruby_lib/blob/
|
949
|
+
##### [get_log](https://github.com/appium/ruby_lib/blob/c6eb8f5416ccdf75b161bc60c0986caec43d9ff8/lib/appium_lib/common/log.rb#L11)
|
872
950
|
|
873
951
|
> def get_log(type)
|
874
952
|
|
@@ -884,7 +962,7 @@ __Returns:__
|
|
884
962
|
|
885
963
|
--
|
886
964
|
|
887
|
-
##### [get_available_log_types](https://github.com/appium/ruby_lib/blob/
|
965
|
+
##### [get_available_log_types](https://github.com/appium/ruby_lib/blob/c6eb8f5416ccdf75b161bc60c0986caec43d9ff8/lib/appium_lib/common/log.rb#L23)
|
888
966
|
|
889
967
|
> def get_available_log_types
|
890
968
|
|
@@ -896,7 +974,7 @@ __Returns:__
|
|
896
974
|
|
897
975
|
--
|
898
976
|
|
899
|
-
##### [wait_true](https://github.com/appium/ruby_lib/blob/
|
977
|
+
##### [wait_true](https://github.com/appium/ruby_lib/blob/c6eb8f5416ccdf75b161bc60c0986caec43d9ff8/lib/appium_lib/common/wait.rb#L30)
|
900
978
|
|
901
979
|
> def wait_true(opts = {})
|
902
980
|
|
@@ -916,7 +994,7 @@ __Parameters:__
|
|
916
994
|
|
917
995
|
--
|
918
996
|
|
919
|
-
##### [wait](https://github.com/appium/ruby_lib/blob/
|
997
|
+
##### [wait](https://github.com/appium/ruby_lib/blob/c6eb8f5416ccdf75b161bc60c0986caec43d9ff8/lib/appium_lib/common/wait.rb#L59)
|
920
998
|
|
921
999
|
> def wait(opts = {})
|
922
1000
|
|
@@ -934,7 +1012,7 @@ __Parameters:__
|
|
934
1012
|
|
935
1013
|
--
|
936
1014
|
|
937
|
-
##### [add_touch_actions](https://github.com/appium/ruby_lib/blob/
|
1015
|
+
##### [add_touch_actions](https://github.com/appium/ruby_lib/blob/c6eb8f5416ccdf75b161bc60c0986caec43d9ff8/lib/appium_lib/common/device.rb#L12)
|
938
1016
|
|
939
1017
|
> def add_touch_actions
|
940
1018
|
|
@@ -942,7 +1020,7 @@ __Parameters:__
|
|
942
1020
|
|
943
1021
|
--
|
944
1022
|
|
945
|
-
##### [delegate_from_appium_driver](https://github.com/appium/ruby_lib/blob/
|
1023
|
+
##### [delegate_from_appium_driver](https://github.com/appium/ruby_lib/blob/c6eb8f5416ccdf75b161bc60c0986caec43d9ff8/lib/appium_lib/common/device.rb#L24)
|
946
1024
|
|
947
1025
|
> def delegate_from_appium_driver(method, delegation_target)
|
948
1026
|
|
@@ -950,7 +1028,7 @@ __Parameters:__
|
|
950
1028
|
|
951
1029
|
--
|
952
1030
|
|
953
|
-
##### [ignore](https://github.com/appium/ruby_lib/blob/
|
1031
|
+
##### [ignore](https://github.com/appium/ruby_lib/blob/c6eb8f5416ccdf75b161bc60c0986caec43d9ff8/lib/appium_lib/common/helper.rb#L16)
|
954
1032
|
|
955
1033
|
> def ignore
|
956
1034
|
|
@@ -958,7 +1036,7 @@ Return yield and ignore any exceptions.
|
|
958
1036
|
|
959
1037
|
--
|
960
1038
|
|
961
|
-
##### [back](https://github.com/appium/ruby_lib/blob/
|
1039
|
+
##### [back](https://github.com/appium/ruby_lib/blob/c6eb8f5416ccdf75b161bc60c0986caec43d9ff8/lib/appium_lib/common/helper.rb#L23)
|
962
1040
|
|
963
1041
|
> def back
|
964
1042
|
|
@@ -970,7 +1048,7 @@ __Returns:__
|
|
970
1048
|
|
971
1049
|
--
|
972
1050
|
|
973
|
-
##### [session_id](https://github.com/appium/ruby_lib/blob/
|
1051
|
+
##### [session_id](https://github.com/appium/ruby_lib/blob/c6eb8f5416ccdf75b161bc60c0986caec43d9ff8/lib/appium_lib/common/helper.rb#L34)
|
974
1052
|
|
975
1053
|
> def session_id
|
976
1054
|
|
@@ -982,7 +1060,7 @@ __Returns:__
|
|
982
1060
|
|
983
1061
|
--
|
984
1062
|
|
985
|
-
##### [xpath](https://github.com/appium/ruby_lib/blob/
|
1063
|
+
##### [xpath](https://github.com/appium/ruby_lib/blob/c6eb8f5416ccdf75b161bc60c0986caec43d9ff8/lib/appium_lib/common/helper.rb#L42)
|
986
1064
|
|
987
1065
|
> def xpath(xpath_str)
|
988
1066
|
|
@@ -998,7 +1076,7 @@ __Returns:__
|
|
998
1076
|
|
999
1077
|
--
|
1000
1078
|
|
1001
|
-
##### [xpaths](https://github.com/appium/ruby_lib/blob/
|
1079
|
+
##### [xpaths](https://github.com/appium/ruby_lib/blob/c6eb8f5416ccdf75b161bc60c0986caec43d9ff8/lib/appium_lib/common/helper.rb#L50)
|
1002
1080
|
|
1003
1081
|
> def xpaths(xpath_str)
|
1004
1082
|
|
@@ -1014,7 +1092,7 @@ __Returns:__
|
|
1014
1092
|
|
1015
1093
|
--
|
1016
1094
|
|
1017
|
-
##### [result](https://github.com/appium/ruby_lib/blob/
|
1095
|
+
##### [result](https://github.com/appium/ruby_lib/blob/c6eb8f5416ccdf75b161bc60c0986caec43d9ff8/lib/appium_lib/common/helper.rb#L60)
|
1018
1096
|
|
1019
1097
|
> def result
|
1020
1098
|
|
@@ -1022,7 +1100,7 @@ Returns the value of attribute result
|
|
1022
1100
|
|
1023
1101
|
--
|
1024
1102
|
|
1025
|
-
##### [initialize](https://github.com/appium/ruby_lib/blob/
|
1103
|
+
##### [initialize](https://github.com/appium/ruby_lib/blob/c6eb8f5416ccdf75b161bc60c0986caec43d9ff8/lib/appium_lib/common/helper.rb#L62)
|
1026
1104
|
|
1027
1105
|
> def initialize(platform)
|
1028
1106
|
|
@@ -1034,7 +1112,7 @@ __Returns:__
|
|
1034
1112
|
|
1035
1113
|
--
|
1036
1114
|
|
1037
|
-
##### [reset](https://github.com/appium/ruby_lib/blob/
|
1115
|
+
##### [reset](https://github.com/appium/ruby_lib/blob/c6eb8f5416ccdf75b161bc60c0986caec43d9ff8/lib/appium_lib/common/helper.rb#L67)
|
1038
1116
|
|
1039
1117
|
> def reset
|
1040
1118
|
|
@@ -1042,7 +1120,7 @@ __Returns:__
|
|
1042
1120
|
|
1043
1121
|
--
|
1044
1122
|
|
1045
|
-
##### [start_element](https://github.com/appium/ruby_lib/blob/
|
1123
|
+
##### [start_element](https://github.com/appium/ruby_lib/blob/c6eb8f5416ccdf75b161bc60c0986caec43d9ff8/lib/appium_lib/common/helper.rb#L72)
|
1046
1124
|
|
1047
1125
|
> def start_element(name, attrs = [])
|
1048
1126
|
|
@@ -1050,7 +1128,7 @@ http://nokogiri.org/Nokogiri/XML/SAX/Document.html
|
|
1050
1128
|
|
1051
1129
|
--
|
1052
1130
|
|
1053
|
-
##### [formatted_result](https://github.com/appium/ruby_lib/blob/
|
1131
|
+
##### [formatted_result](https://github.com/appium/ruby_lib/blob/c6eb8f5416ccdf75b161bc60c0986caec43d9ff8/lib/appium_lib/common/helper.rb#L83)
|
1054
1132
|
|
1055
1133
|
> def formatted_result
|
1056
1134
|
|
@@ -1058,7 +1136,7 @@ http://nokogiri.org/Nokogiri/XML/SAX/Document.html
|
|
1058
1136
|
|
1059
1137
|
--
|
1060
1138
|
|
1061
|
-
##### [get_page_class](https://github.com/appium/ruby_lib/blob/
|
1139
|
+
##### [get_page_class](https://github.com/appium/ruby_lib/blob/c6eb8f5416ccdf75b161bc60c0986caec43d9ff8/lib/appium_lib/common/helper.rb#L101)
|
1062
1140
|
|
1063
1141
|
> def get_page_class
|
1064
1142
|
|
@@ -1070,7 +1148,7 @@ __Returns:__
|
|
1070
1148
|
|
1071
1149
|
--
|
1072
1150
|
|
1073
|
-
##### [page_class](https://github.com/appium/ruby_lib/blob/
|
1151
|
+
##### [page_class](https://github.com/appium/ruby_lib/blob/c6eb8f5416ccdf75b161bc60c0986caec43d9ff8/lib/appium_lib/common/helper.rb#L126)
|
1074
1152
|
|
1075
1153
|
> def page_class
|
1076
1154
|
|
@@ -1083,7 +1161,7 @@ __Returns:__
|
|
1083
1161
|
|
1084
1162
|
--
|
1085
1163
|
|
1086
|
-
##### [source](https://github.com/appium/ruby_lib/blob/
|
1164
|
+
##### [source](https://github.com/appium/ruby_lib/blob/c6eb8f5416ccdf75b161bc60c0986caec43d9ff8/lib/appium_lib/common/helper.rb#L133)
|
1087
1165
|
|
1088
1166
|
> def source
|
1089
1167
|
|
@@ -1095,7 +1173,7 @@ __Returns:__
|
|
1095
1173
|
|
1096
1174
|
--
|
1097
1175
|
|
1098
|
-
##### [get_source](https://github.com/appium/ruby_lib/blob/
|
1176
|
+
##### [get_source](https://github.com/appium/ruby_lib/blob/c6eb8f5416ccdf75b161bc60c0986caec43d9ff8/lib/appium_lib/common/helper.rb#L140)
|
1099
1177
|
|
1100
1178
|
> def get_source
|
1101
1179
|
|
@@ -1108,7 +1186,7 @@ __Returns:__
|
|
1108
1186
|
|
1109
1187
|
--
|
1110
1188
|
|
1111
|
-
##### [px_to_window_rel](https://github.com/appium/ruby_lib/blob/
|
1189
|
+
##### [px_to_window_rel](https://github.com/appium/ruby_lib/blob/c6eb8f5416ccdf75b161bc60c0986caec43d9ff8/lib/appium_lib/common/helper.rb#L150)
|
1112
1190
|
|
1113
1191
|
> def px_to_window_rel(opts = {}, driver = $driver)
|
1114
1192
|
|
@@ -1116,7 +1194,7 @@ Converts pixel values to window relative values
|
|
1116
1194
|
|
1117
1195
|
--
|
1118
1196
|
|
1119
|
-
##### [xml_keys](https://github.com/appium/ruby_lib/blob/
|
1197
|
+
##### [xml_keys](https://github.com/appium/ruby_lib/blob/c6eb8f5416ccdf75b161bc60c0986caec43d9ff8/lib/appium_lib/common/helper.rb#L169)
|
1120
1198
|
|
1121
1199
|
> def xml_keys(target)
|
1122
1200
|
|
@@ -1132,7 +1210,7 @@ __Returns:__
|
|
1132
1210
|
|
1133
1211
|
--
|
1134
1212
|
|
1135
|
-
##### [xml_values](https://github.com/appium/ruby_lib/blob/
|
1213
|
+
##### [xml_values](https://github.com/appium/ruby_lib/blob/c6eb8f5416ccdf75b161bc60c0986caec43d9ff8/lib/appium_lib/common/helper.rb#L177)
|
1136
1214
|
|
1137
1215
|
> def xml_values(target)
|
1138
1216
|
|
@@ -1148,7 +1226,7 @@ __Returns:__
|
|
1148
1226
|
|
1149
1227
|
--
|
1150
1228
|
|
1151
|
-
##### [resolve_id](https://github.com/appium/ruby_lib/blob/
|
1229
|
+
##### [resolve_id](https://github.com/appium/ruby_lib/blob/c6eb8f5416ccdf75b161bc60c0986caec43d9ff8/lib/appium_lib/common/helper.rb#L185)
|
1152
1230
|
|
1153
1231
|
> def resolve_id(id)
|
1154
1232
|
|
@@ -1164,7 +1242,7 @@ __Returns:__
|
|
1164
1242
|
|
1165
1243
|
--
|
1166
1244
|
|
1167
|
-
##### [filter](https://github.com/appium/ruby_lib/blob/
|
1245
|
+
##### [filter](https://github.com/appium/ruby_lib/blob/c6eb8f5416ccdf75b161bc60c0986caec43d9ff8/lib/appium_lib/common/helper.rb#L192)
|
1168
1246
|
|
1169
1247
|
> def filter
|
1170
1248
|
|
@@ -1172,7 +1250,7 @@ Returns the value of attribute filter
|
|
1172
1250
|
|
1173
1251
|
--
|
1174
1252
|
|
1175
|
-
##### [filter=](https://github.com/appium/ruby_lib/blob/
|
1253
|
+
##### [filter=](https://github.com/appium/ruby_lib/blob/c6eb8f5416ccdf75b161bc60c0986caec43d9ff8/lib/appium_lib/common/helper.rb#L195)
|
1176
1254
|
|
1177
1255
|
> def filter=(value)
|
1178
1256
|
|
@@ -1180,7 +1258,7 @@ convert to string to support symbols
|
|
1180
1258
|
|
1181
1259
|
--
|
1182
1260
|
|
1183
|
-
##### [initialize](https://github.com/appium/ruby_lib/blob/
|
1261
|
+
##### [initialize](https://github.com/appium/ruby_lib/blob/c6eb8f5416ccdf75b161bc60c0986caec43d9ff8/lib/appium_lib/common/helper.rb#L202)
|
1184
1262
|
|
1185
1263
|
> def initialize
|
1186
1264
|
|
@@ -1192,7 +1270,7 @@ __Returns:__
|
|
1192
1270
|
|
1193
1271
|
--
|
1194
1272
|
|
1195
|
-
##### [reset](https://github.com/appium/ruby_lib/blob/
|
1273
|
+
##### [reset](https://github.com/appium/ruby_lib/blob/c6eb8f5416ccdf75b161bc60c0986caec43d9ff8/lib/appium_lib/common/helper.rb#L207)
|
1196
1274
|
|
1197
1275
|
> def reset
|
1198
1276
|
|
@@ -1200,7 +1278,7 @@ __Returns:__
|
|
1200
1278
|
|
1201
1279
|
--
|
1202
1280
|
|
1203
|
-
##### [result](https://github.com/appium/ruby_lib/blob/
|
1281
|
+
##### [result](https://github.com/appium/ruby_lib/blob/c6eb8f5416ccdf75b161bc60c0986caec43d9ff8/lib/appium_lib/common/helper.rb#L213)
|
1204
1282
|
|
1205
1283
|
> def result
|
1206
1284
|
|
@@ -1208,7 +1286,7 @@ __Returns:__
|
|
1208
1286
|
|
1209
1287
|
--
|
1210
1288
|
|
1211
|
-
##### [start_element](https://github.com/appium/ruby_lib/blob/
|
1289
|
+
##### [start_element](https://github.com/appium/ruby_lib/blob/c6eb8f5416ccdf75b161bc60c0986caec43d9ff8/lib/appium_lib/common/helper.rb#L226)
|
1212
1290
|
|
1213
1291
|
> def start_element(name, attrs = [])
|
1214
1292
|
|
@@ -1216,7 +1294,7 @@ __Returns:__
|
|
1216
1294
|
|
1217
1295
|
--
|
1218
1296
|
|
1219
|
-
##### [end_element](https://github.com/appium/ruby_lib/blob/
|
1297
|
+
##### [end_element](https://github.com/appium/ruby_lib/blob/c6eb8f5416ccdf75b161bc60c0986caec43d9ff8/lib/appium_lib/common/helper.rb#L236)
|
1220
1298
|
|
1221
1299
|
> def end_element(name)
|
1222
1300
|
|
@@ -1224,7 +1302,7 @@ __Returns:__
|
|
1224
1302
|
|
1225
1303
|
--
|
1226
1304
|
|
1227
|
-
##### [characters](https://github.com/appium/ruby_lib/blob/
|
1305
|
+
##### [characters](https://github.com/appium/ruby_lib/blob/c6eb8f5416ccdf75b161bc60c0986caec43d9ff8/lib/appium_lib/common/helper.rb#L243)
|
1228
1306
|
|
1229
1307
|
> def characters(chars)
|
1230
1308
|
|
@@ -1232,7 +1310,7 @@ __Returns:__
|
|
1232
1310
|
|
1233
1311
|
--
|
1234
1312
|
|
1235
|
-
##### [DEFAULT_HEADERS](https://github.com/appium/ruby_lib/blob/
|
1313
|
+
##### [DEFAULT_HEADERS](https://github.com/appium/ruby_lib/blob/c6eb8f5416ccdf75b161bc60c0986caec43d9ff8/lib/appium_lib/common/http_client.rb#L8)
|
1236
1314
|
|
1237
1315
|
> DEFAULT_HEADERS = { 'Accept' => CONTENT_TYPE, 'User-Agent' => "appium/ruby_lib/#{::Appium::VERSION}" }.freeze
|
1238
1316
|
|
@@ -1240,7 +1318,7 @@ Default HTTP client inherit Appium::Core::Base::Http::Default, but has different
|
|
1240
1318
|
|
1241
1319
|
--
|
1242
1320
|
|
1243
|
-
##### [pinch](https://github.com/appium/ruby_lib/blob/
|
1321
|
+
##### [pinch](https://github.com/appium/ruby_lib/blob/c6eb8f5416ccdf75b161bc60c0986caec43d9ff8/lib/appium_lib/common/multi_touch.rb#L51)
|
1244
1322
|
|
1245
1323
|
> def pinch(percentage = 25, auto_perform = true, driver = $driver)
|
1246
1324
|
|
@@ -1260,7 +1338,7 @@ __Parameters:__
|
|
1260
1338
|
|
1261
1339
|
--
|
1262
1340
|
|
1263
|
-
##### [zoom](https://github.com/appium/ruby_lib/blob/
|
1341
|
+
##### [zoom](https://github.com/appium/ruby_lib/blob/c6eb8f5416ccdf75b161bc60c0986caec43d9ff8/lib/appium_lib/common/multi_touch.rb#L94)
|
1264
1342
|
|
1265
1343
|
> def zoom(percentage = 200, auto_perform = true, driver = $driver)
|
1266
1344
|
|
@@ -1280,7 +1358,7 @@ __Parameters:__
|
|
1280
1358
|
|
1281
1359
|
--
|
1282
1360
|
|
1283
|
-
##### [initialize](https://github.com/appium/ruby_lib/blob/
|
1361
|
+
##### [initialize](https://github.com/appium/ruby_lib/blob/c6eb8f5416ccdf75b161bc60c0986caec43d9ff8/lib/appium_lib/common/multi_touch.rb#L180)
|
1284
1362
|
|
1285
1363
|
> def initialize(driver = $driver)
|
1286
1364
|
|
@@ -1292,7 +1370,7 @@ __Returns:__
|
|
1292
1370
|
|
1293
1371
|
--
|
1294
1372
|
|
1295
|
-
##### [COMPLEX_ACTIONS](https://github.com/appium/ruby_lib/blob/
|
1373
|
+
##### [COMPLEX_ACTIONS](https://github.com/appium/ruby_lib/blob/c6eb8f5416ccdf75b161bc60c0986caec43d9ff8/lib/appium_lib/common/touch_actions.rb#L33)
|
1296
1374
|
|
1297
1375
|
> COMPLEX_ACTIONS = ::Appium::Core::TouchAction::COMPLEX_ACTIONS
|
1298
1376
|
|
@@ -1300,7 +1378,7 @@ __Returns:__
|
|
1300
1378
|
|
1301
1379
|
--
|
1302
1380
|
|
1303
|
-
##### [initialize](https://github.com/appium/ruby_lib/blob/
|
1381
|
+
##### [initialize](https://github.com/appium/ruby_lib/blob/c6eb8f5416ccdf75b161bc60c0986caec43d9ff8/lib/appium_lib/common/touch_actions.rb#L48)
|
1304
1382
|
|
1305
1383
|
> def initialize(driver = $driver)
|
1306
1384
|
|
@@ -1312,7 +1390,7 @@ __Returns:__
|
|
1312
1390
|
|
1313
1391
|
--
|
1314
1392
|
|
1315
|
-
##### [swipe](https://github.com/appium/ruby_lib/blob/
|
1393
|
+
##### [swipe](https://github.com/appium/ruby_lib/blob/c6eb8f5416ccdf75b161bc60c0986caec43d9ff8/lib/appium_lib/common/touch_actions.rb#L52)
|
1316
1394
|
|
1317
1395
|
> def swipe(opts)
|
1318
1396
|
|
@@ -1320,7 +1398,7 @@ __Returns:__
|
|
1320
1398
|
|
1321
1399
|
--
|
1322
1400
|
|
1323
|
-
##### [initialize](https://github.com/appium/ruby_lib/blob/
|
1401
|
+
##### [initialize](https://github.com/appium/ruby_lib/blob/c6eb8f5416ccdf75b161bc60c0986caec43d9ff8/lib/appium_lib/common/command/ws_logcat.rb#L5)
|
1324
1402
|
|
1325
1403
|
> def initialize(url:, output_file: 'logcat.log')
|
1326
1404
|
|
@@ -1332,7 +1410,7 @@ __Returns:__
|
|
1332
1410
|
|
1333
1411
|
--
|
1334
1412
|
|
1335
|
-
##### [handle_message_data](https://github.com/appium/ruby_lib/blob/
|
1413
|
+
##### [handle_message_data](https://github.com/appium/ruby_lib/blob/c6eb8f5416ccdf75b161bc60c0986caec43d9ff8/lib/appium_lib/common/command/ws_logcat.rb#L10)
|
1336
1414
|
|
1337
1415
|
> def handle_message_data(data)
|
1338
1416
|
|
@@ -1340,7 +1418,7 @@ __Returns:__
|
|
1340
1418
|
|
1341
1419
|
--
|
1342
1420
|
|
1343
|
-
##### [for](https://github.com/appium/ruby_lib/blob/
|
1421
|
+
##### [for](https://github.com/appium/ruby_lib/blob/c6eb8f5416ccdf75b161bc60c0986caec43d9ff8/lib/appium_lib/ios/ios.rb#L15) ios
|
1344
1422
|
|
1345
1423
|
> def self.for(target)
|
1346
1424
|
|
@@ -1348,7 +1426,7 @@ __Returns:__
|
|
1348
1426
|
|
1349
1427
|
--
|
1350
1428
|
|
1351
|
-
##### [UIAStaticText](https://github.com/appium/ruby_lib/blob/
|
1429
|
+
##### [UIAStaticText](https://github.com/appium/ruby_lib/blob/c6eb8f5416ccdf75b161bc60c0986caec43d9ff8/lib/appium_lib/ios/element/text.rb#L4) ios
|
1352
1430
|
|
1353
1431
|
> UIAStaticText = 'UIAStaticText'.freeze
|
1354
1432
|
|
@@ -1356,7 +1434,7 @@ __Returns:__
|
|
1356
1434
|
|
1357
1435
|
--
|
1358
1436
|
|
1359
|
-
##### [XCUIElementTypeStaticText](https://github.com/appium/ruby_lib/blob/
|
1437
|
+
##### [XCUIElementTypeStaticText](https://github.com/appium/ruby_lib/blob/c6eb8f5416ccdf75b161bc60c0986caec43d9ff8/lib/appium_lib/ios/element/text.rb#L5) ios
|
1360
1438
|
|
1361
1439
|
> XCUIElementTypeStaticText = 'XCUIElementTypeStaticText'.freeze
|
1362
1440
|
|
@@ -1364,7 +1442,7 @@ __Returns:__
|
|
1364
1442
|
|
1365
1443
|
--
|
1366
1444
|
|
1367
|
-
##### [static_text_class](https://github.com/appium/ruby_lib/blob/
|
1445
|
+
##### [static_text_class](https://github.com/appium/ruby_lib/blob/c6eb8f5416ccdf75b161bc60c0986caec43d9ff8/lib/appium_lib/ios/element/text.rb#L8) ios
|
1368
1446
|
|
1369
1447
|
> def static_text_class
|
1370
1448
|
|
@@ -1376,7 +1454,7 @@ __Returns:__
|
|
1376
1454
|
|
1377
1455
|
--
|
1378
1456
|
|
1379
|
-
##### [text](https://github.com/appium/ruby_lib/blob/
|
1457
|
+
##### [text](https://github.com/appium/ruby_lib/blob/c6eb8f5416ccdf75b161bc60c0986caec43d9ff8/lib/appium_lib/ios/element/text.rb#L16) ios
|
1380
1458
|
|
1381
1459
|
> def text(value)
|
1382
1460
|
|
@@ -1393,7 +1471,7 @@ __Returns:__
|
|
1393
1471
|
|
1394
1472
|
--
|
1395
1473
|
|
1396
|
-
##### [texts](https://github.com/appium/ruby_lib/blob/
|
1474
|
+
##### [texts](https://github.com/appium/ruby_lib/blob/c6eb8f5416ccdf75b161bc60c0986caec43d9ff8/lib/appium_lib/ios/element/text.rb#L26) ios
|
1397
1475
|
|
1398
1476
|
> def texts(value = false)
|
1399
1477
|
|
@@ -1410,7 +1488,7 @@ __Returns:__
|
|
1410
1488
|
|
1411
1489
|
--
|
1412
1490
|
|
1413
|
-
##### [first_text](https://github.com/appium/ruby_lib/blob/
|
1491
|
+
##### [first_text](https://github.com/appium/ruby_lib/blob/c6eb8f5416ccdf75b161bc60c0986caec43d9ff8/lib/appium_lib/ios/element/text.rb#L34) ios
|
1414
1492
|
|
1415
1493
|
> def first_text
|
1416
1494
|
|
@@ -1422,7 +1500,7 @@ __Returns:__
|
|
1422
1500
|
|
1423
1501
|
--
|
1424
1502
|
|
1425
|
-
##### [last_text](https://github.com/appium/ruby_lib/blob/
|
1503
|
+
##### [last_text](https://github.com/appium/ruby_lib/blob/c6eb8f5416ccdf75b161bc60c0986caec43d9ff8/lib/appium_lib/ios/element/text.rb#L40) ios
|
1426
1504
|
|
1427
1505
|
> def last_text
|
1428
1506
|
|
@@ -1434,7 +1512,7 @@ __Returns:__
|
|
1434
1512
|
|
1435
1513
|
--
|
1436
1514
|
|
1437
|
-
##### [text_exact](https://github.com/appium/ruby_lib/blob/
|
1515
|
+
##### [text_exact](https://github.com/appium/ruby_lib/blob/c6eb8f5416ccdf75b161bc60c0986caec43d9ff8/lib/appium_lib/ios/element/text.rb#L47) ios
|
1438
1516
|
|
1439
1517
|
> def text_exact(value)
|
1440
1518
|
|
@@ -1450,7 +1528,7 @@ __Returns:__
|
|
1450
1528
|
|
1451
1529
|
--
|
1452
1530
|
|
1453
|
-
##### [texts_exact](https://github.com/appium/ruby_lib/blob/
|
1531
|
+
##### [texts_exact](https://github.com/appium/ruby_lib/blob/c6eb8f5416ccdf75b161bc60c0986caec43d9ff8/lib/appium_lib/ios/element/text.rb#L54) ios
|
1454
1532
|
|
1455
1533
|
> def texts_exact(value)
|
1456
1534
|
|
@@ -1466,7 +1544,7 @@ __Returns:__
|
|
1466
1544
|
|
1467
1545
|
--
|
1468
1546
|
|
1469
|
-
##### [filter](https://github.com/appium/ruby_lib/blob/
|
1547
|
+
##### [filter](https://github.com/appium/ruby_lib/blob/c6eb8f5416ccdf75b161bc60c0986caec43d9ff8/lib/appium_lib/ios/common/helper.rb#L5) ios
|
1470
1548
|
|
1471
1549
|
> def filter
|
1472
1550
|
|
@@ -1474,7 +1552,7 @@ Returns the value of attribute filter
|
|
1474
1552
|
|
1475
1553
|
--
|
1476
1554
|
|
1477
|
-
##### [filter=](https://github.com/appium/ruby_lib/blob/
|
1555
|
+
##### [filter=](https://github.com/appium/ruby_lib/blob/c6eb8f5416ccdf75b161bc60c0986caec43d9ff8/lib/appium_lib/ios/common/helper.rb#L5) ios
|
1478
1556
|
|
1479
1557
|
> def filter=(value)
|
1480
1558
|
|
@@ -1486,7 +1564,7 @@ __Parameters:__
|
|
1486
1564
|
|
1487
1565
|
--
|
1488
1566
|
|
1489
|
-
##### [start_element](https://github.com/appium/ruby_lib/blob/
|
1567
|
+
##### [start_element](https://github.com/appium/ruby_lib/blob/c6eb8f5416ccdf75b161bc60c0986caec43d9ff8/lib/appium_lib/ios/common/helper.rb#L7) ios
|
1490
1568
|
|
1491
1569
|
> def start_element(type, attrs = [])
|
1492
1570
|
|
@@ -1494,7 +1572,7 @@ __Parameters:__
|
|
1494
1572
|
|
1495
1573
|
--
|
1496
1574
|
|
1497
|
-
##### [ios_password](https://github.com/appium/ruby_lib/blob/
|
1575
|
+
##### [ios_password](https://github.com/appium/ruby_lib/blob/c6eb8f5416ccdf75b161bc60c0986caec43d9ff8/lib/appium_lib/ios/common/helper.rb#L43) ios
|
1498
1576
|
|
1499
1577
|
> def ios_password(length = 1)
|
1500
1578
|
|
@@ -1512,7 +1590,7 @@ __Returns:__
|
|
1512
1590
|
|
1513
1591
|
--
|
1514
1592
|
|
1515
|
-
##### [page](https://github.com/appium/ruby_lib/blob/
|
1593
|
+
##### [page](https://github.com/appium/ruby_lib/blob/c6eb8f5416ccdf75b161bc60c0986caec43d9ff8/lib/appium_lib/ios/common/helper.rb#L59) ios
|
1516
1594
|
|
1517
1595
|
> def page(opts = {})
|
1518
1596
|
|
@@ -1530,7 +1608,7 @@ __Returns:__
|
|
1530
1608
|
|
1531
1609
|
--
|
1532
1610
|
|
1533
|
-
##### [id](https://github.com/appium/ruby_lib/blob/
|
1611
|
+
##### [id](https://github.com/appium/ruby_lib/blob/c6eb8f5416ccdf75b161bc60c0986caec43d9ff8/lib/appium_lib/ios/common/helper.rb#L86) ios
|
1534
1612
|
|
1535
1613
|
> def id(id)
|
1536
1614
|
|
@@ -1546,7 +1624,7 @@ __Returns:__
|
|
1546
1624
|
|
1547
1625
|
--
|
1548
1626
|
|
1549
|
-
##### [ele_index](https://github.com/appium/ruby_lib/blob/
|
1627
|
+
##### [ele_index](https://github.com/appium/ruby_lib/blob/c6eb8f5416ccdf75b161bc60c0986caec43d9ff8/lib/appium_lib/ios/common/helper.rb#L94) ios
|
1550
1628
|
|
1551
1629
|
> def ele_index(class_name, index)
|
1552
1630
|
|
@@ -1564,7 +1642,7 @@ __Returns:__
|
|
1564
1642
|
|
1565
1643
|
--
|
1566
1644
|
|
1567
|
-
##### [find_ele_by_attr](https://github.com/appium/ruby_lib/blob/
|
1645
|
+
##### [find_ele_by_attr](https://github.com/appium/ruby_lib/blob/c6eb8f5416ccdf75b161bc60c0986caec43d9ff8/lib/appium_lib/ios/common/helper.rb#L124) ios
|
1568
1646
|
|
1569
1647
|
> def find_ele_by_attr(class_name, attr, value)
|
1570
1648
|
|
@@ -1586,7 +1664,7 @@ __Returns:__
|
|
1586
1664
|
|
1587
1665
|
--
|
1588
1666
|
|
1589
|
-
##### [find_eles_by_attr](https://github.com/appium/ruby_lib/blob/
|
1667
|
+
##### [find_eles_by_attr](https://github.com/appium/ruby_lib/blob/c6eb8f5416ccdf75b161bc60c0986caec43d9ff8/lib/appium_lib/ios/common/helper.rb#L135) ios
|
1590
1668
|
|
1591
1669
|
> def find_eles_by_attr(class_name, attr, value)
|
1592
1670
|
|
@@ -1608,7 +1686,7 @@ __Returns:__
|
|
1608
1686
|
|
1609
1687
|
--
|
1610
1688
|
|
1611
|
-
##### [find_ele_by_predicate](https://github.com/appium/ruby_lib/blob/
|
1689
|
+
##### [find_ele_by_predicate](https://github.com/appium/ruby_lib/blob/c6eb8f5416ccdf75b161bc60c0986caec43d9ff8/lib/appium_lib/ios/common/helper.rb#L148) ios
|
1612
1690
|
|
1613
1691
|
> def find_ele_by_predicate(class_name: '*', value:)
|
1614
1692
|
|
@@ -1625,7 +1703,7 @@ __Returns:__
|
|
1625
1703
|
|
1626
1704
|
--
|
1627
1705
|
|
1628
|
-
##### [find_eles_by_predicate](https://github.com/appium/ruby_lib/blob/
|
1706
|
+
##### [find_eles_by_predicate](https://github.com/appium/ruby_lib/blob/c6eb8f5416ccdf75b161bc60c0986caec43d9ff8/lib/appium_lib/ios/common/helper.rb#L160) ios
|
1629
1707
|
|
1630
1708
|
> def find_eles_by_predicate(class_name: '*', value:)
|
1631
1709
|
|
@@ -1644,7 +1722,7 @@ __Returns:__
|
|
1644
1722
|
|
1645
1723
|
--
|
1646
1724
|
|
1647
|
-
##### [find_ele_by_attr_include](https://github.com/appium/ruby_lib/blob/
|
1725
|
+
##### [find_ele_by_attr_include](https://github.com/appium/ruby_lib/blob/c6eb8f5416ccdf75b161bc60c0986caec43d9ff8/lib/appium_lib/ios/common/helper.rb#L176) ios
|
1648
1726
|
|
1649
1727
|
> def find_ele_by_attr_include(class_name, attr, value)
|
1650
1728
|
|
@@ -1665,7 +1743,7 @@ __Returns:__
|
|
1665
1743
|
|
1666
1744
|
--
|
1667
1745
|
|
1668
|
-
##### [find_eles_by_attr_include](https://github.com/appium/ruby_lib/blob/
|
1746
|
+
##### [find_eles_by_attr_include](https://github.com/appium/ruby_lib/blob/c6eb8f5416ccdf75b161bc60c0986caec43d9ff8/lib/appium_lib/ios/common/helper.rb#L186) ios
|
1669
1747
|
|
1670
1748
|
> def find_eles_by_attr_include(class_name, attr, value)
|
1671
1749
|
|
@@ -1686,7 +1764,7 @@ __Returns:__
|
|
1686
1764
|
|
1687
1765
|
--
|
1688
1766
|
|
1689
|
-
##### [find_ele_by_predicate_include](https://github.com/appium/ruby_lib/blob/
|
1767
|
+
##### [find_ele_by_predicate_include](https://github.com/appium/ruby_lib/blob/c6eb8f5416ccdf75b161bc60c0986caec43d9ff8/lib/appium_lib/ios/common/helper.rb#L194) ios
|
1690
1768
|
|
1691
1769
|
> def find_ele_by_predicate_include(class_name: '*', value:)
|
1692
1770
|
|
@@ -1703,7 +1781,7 @@ __Returns:__
|
|
1703
1781
|
|
1704
1782
|
--
|
1705
1783
|
|
1706
|
-
##### [find_eles_by_predicate_include](https://github.com/appium/ruby_lib/blob/
|
1784
|
+
##### [find_eles_by_predicate_include](https://github.com/appium/ruby_lib/blob/c6eb8f5416ccdf75b161bc60c0986caec43d9ff8/lib/appium_lib/ios/common/helper.rb#L206) ios
|
1707
1785
|
|
1708
1786
|
> def find_eles_by_predicate_include(class_name: '*', value:)
|
1709
1787
|
|
@@ -1722,7 +1800,7 @@ __Returns:__
|
|
1722
1800
|
|
1723
1801
|
--
|
1724
1802
|
|
1725
|
-
##### [first_ele](https://github.com/appium/ruby_lib/blob/
|
1803
|
+
##### [first_ele](https://github.com/appium/ruby_lib/blob/c6eb8f5416ccdf75b161bc60c0986caec43d9ff8/lib/appium_lib/ios/common/helper.rb#L219) ios
|
1726
1804
|
|
1727
1805
|
> def first_ele(class_name)
|
1728
1806
|
|
@@ -1738,7 +1816,7 @@ __Returns:__
|
|
1738
1816
|
|
1739
1817
|
--
|
1740
1818
|
|
1741
|
-
##### [last_ele](https://github.com/appium/ruby_lib/blob/
|
1819
|
+
##### [last_ele](https://github.com/appium/ruby_lib/blob/c6eb8f5416ccdf75b161bc60c0986caec43d9ff8/lib/appium_lib/ios/common/helper.rb#L226) ios
|
1742
1820
|
|
1743
1821
|
> def last_ele(class_name)
|
1744
1822
|
|
@@ -1754,7 +1832,7 @@ __Returns:__
|
|
1754
1832
|
|
1755
1833
|
--
|
1756
1834
|
|
1757
|
-
##### [tag](https://github.com/appium/ruby_lib/blob/
|
1835
|
+
##### [tag](https://github.com/appium/ruby_lib/blob/c6eb8f5416ccdf75b161bc60c0986caec43d9ff8/lib/appium_lib/ios/common/helper.rb#L234) ios
|
1758
1836
|
|
1759
1837
|
> def tag(class_name)
|
1760
1838
|
|
@@ -1770,7 +1848,7 @@ __Returns:__
|
|
1770
1848
|
|
1771
1849
|
--
|
1772
1850
|
|
1773
|
-
##### [tags](https://github.com/appium/ruby_lib/blob/
|
1851
|
+
##### [tags](https://github.com/appium/ruby_lib/blob/c6eb8f5416ccdf75b161bc60c0986caec43d9ff8/lib/appium_lib/ios/common/helper.rb#L242) ios
|
1774
1852
|
|
1775
1853
|
> def tags(class_name)
|
1776
1854
|
|
@@ -1786,7 +1864,7 @@ __Returns:__
|
|
1786
1864
|
|
1787
1865
|
--
|
1788
1866
|
|
1789
|
-
##### [tags_include](https://github.com/appium/ruby_lib/blob/
|
1867
|
+
##### [tags_include](https://github.com/appium/ruby_lib/blob/c6eb8f5416ccdf75b161bc60c0986caec43d9ff8/lib/appium_lib/ios/common/helper.rb#L253) ios
|
1790
1868
|
|
1791
1869
|
> def tags_include(class_names:, value: nil)
|
1792
1870
|
|
@@ -1806,7 +1884,7 @@ __Returns:__
|
|
1806
1884
|
|
1807
1885
|
--
|
1808
1886
|
|
1809
|
-
##### [tags_exact](https://github.com/appium/ruby_lib/blob/
|
1887
|
+
##### [tags_exact](https://github.com/appium/ruby_lib/blob/c6eb8f5416ccdf75b161bc60c0986caec43d9ff8/lib/appium_lib/ios/common/helper.rb#L268) ios
|
1810
1888
|
|
1811
1889
|
> def tags_exact(class_names:, value: nil)
|
1812
1890
|
|
@@ -1826,7 +1904,7 @@ __Returns:__
|
|
1826
1904
|
|
1827
1905
|
--
|
1828
1906
|
|
1829
|
-
##### [ele_by_json_visible_contains](https://github.com/appium/ruby_lib/blob/
|
1907
|
+
##### [ele_by_json_visible_contains](https://github.com/appium/ruby_lib/blob/c6eb8f5416ccdf75b161bc60c0986caec43d9ff8/lib/appium_lib/ios/common/helper.rb#L305) ios
|
1830
1908
|
|
1831
1909
|
> def ele_by_json_visible_contains(element, value)
|
1832
1910
|
|
@@ -1845,7 +1923,7 @@ __Returns:__
|
|
1845
1923
|
|
1846
1924
|
--
|
1847
1925
|
|
1848
|
-
##### [eles_by_json_visible_contains](https://github.com/appium/ruby_lib/blob/
|
1926
|
+
##### [eles_by_json_visible_contains](https://github.com/appium/ruby_lib/blob/c6eb8f5416ccdf75b161bc60c0986caec43d9ff8/lib/appium_lib/ios/common/helper.rb#L314) ios
|
1849
1927
|
|
1850
1928
|
> def eles_by_json_visible_contains(element, value)
|
1851
1929
|
|
@@ -1864,7 +1942,7 @@ __Returns:__
|
|
1864
1942
|
|
1865
1943
|
--
|
1866
1944
|
|
1867
|
-
##### [ele_by_json_visible_exact](https://github.com/appium/ruby_lib/blob/
|
1945
|
+
##### [ele_by_json_visible_exact](https://github.com/appium/ruby_lib/blob/c6eb8f5416ccdf75b161bc60c0986caec43d9ff8/lib/appium_lib/ios/common/helper.rb#L344) ios
|
1868
1946
|
|
1869
1947
|
> def ele_by_json_visible_exact(element, value)
|
1870
1948
|
|
@@ -1883,7 +1961,7 @@ __Returns:__
|
|
1883
1961
|
|
1884
1962
|
--
|
1885
1963
|
|
1886
|
-
##### [eles_by_json_visible_exact](https://github.com/appium/ruby_lib/blob/
|
1964
|
+
##### [eles_by_json_visible_exact](https://github.com/appium/ruby_lib/blob/c6eb8f5416ccdf75b161bc60c0986caec43d9ff8/lib/appium_lib/ios/common/helper.rb#L353) ios
|
1887
1965
|
|
1888
1966
|
> def eles_by_json_visible_exact(element, value)
|
1889
1967
|
|
@@ -1902,7 +1980,7 @@ __Returns:__
|
|
1902
1980
|
|
1903
1981
|
--
|
1904
1982
|
|
1905
|
-
##### [_all_pred](https://github.com/appium/ruby_lib/blob/
|
1983
|
+
##### [_all_pred](https://github.com/appium/ruby_lib/blob/c6eb8f5416ccdf75b161bc60c0986caec43d9ff8/lib/appium_lib/ios/common/helper.rb#L362) ios
|
1906
1984
|
|
1907
1985
|
> def _all_pred(opts)
|
1908
1986
|
|
@@ -1912,7 +1990,7 @@ visible - if true, only visible elements are returned. default true
|
|
1912
1990
|
|
1913
1991
|
--
|
1914
1992
|
|
1915
|
-
##### [ele_with_pred](https://github.com/appium/ruby_lib/blob/
|
1993
|
+
##### [ele_with_pred](https://github.com/appium/ruby_lib/blob/c6eb8f5416ccdf75b161bc60c0986caec43d9ff8/lib/appium_lib/ios/common/helper.rb#L376) ios
|
1916
1994
|
|
1917
1995
|
> def ele_with_pred(opts)
|
1918
1996
|
|
@@ -1928,7 +2006,7 @@ __Returns:__
|
|
1928
2006
|
|
1929
2007
|
--
|
1930
2008
|
|
1931
|
-
##### [eles_with_pred](https://github.com/appium/ruby_lib/blob/
|
2009
|
+
##### [eles_with_pred](https://github.com/appium/ruby_lib/blob/c6eb8f5416ccdf75b161bc60c0986caec43d9ff8/lib/appium_lib/ios/common/helper.rb#L387) ios
|
1932
2010
|
|
1933
2011
|
> def eles_with_pred(opts)
|
1934
2012
|
|
@@ -1944,7 +2022,7 @@ __Returns:__
|
|
1944
2022
|
|
1945
2023
|
--
|
1946
2024
|
|
1947
|
-
##### [_validate_object](https://github.com/appium/ruby_lib/blob/
|
2025
|
+
##### [_validate_object](https://github.com/appium/ruby_lib/blob/c6eb8f5416ccdf75b161bc60c0986caec43d9ff8/lib/appium_lib/ios/common/helper.rb#L391) ios
|
1948
2026
|
|
1949
2027
|
> def _validate_object(*objects)
|
1950
2028
|
|
@@ -1952,7 +2030,7 @@ __Returns:__
|
|
1952
2030
|
|
1953
2031
|
--
|
1954
2032
|
|
1955
|
-
##### [_by_json](https://github.com/appium/ruby_lib/blob/
|
2033
|
+
##### [_by_json](https://github.com/appium/ruby_lib/blob/c6eb8f5416ccdf75b161bc60c0986caec43d9ff8/lib/appium_lib/ios/common/helper.rb#L441) ios
|
1956
2034
|
|
1957
2035
|
> def _by_json(opts)
|
1958
2036
|
|
@@ -1987,7 +2065,7 @@ opts = {
|
|
1987
2065
|
|
1988
2066
|
--
|
1989
2067
|
|
1990
|
-
##### [eles_by_json](https://github.com/appium/ruby_lib/blob/
|
2068
|
+
##### [eles_by_json](https://github.com/appium/ruby_lib/blob/c6eb8f5416ccdf75b161bc60c0986caec43d9ff8/lib/appium_lib/ios/common/helper.rb#L491) ios
|
1991
2069
|
|
1992
2070
|
> def eles_by_json(opts)
|
1993
2071
|
|
@@ -2006,7 +2084,7 @@ eles_by_json({
|
|
2006
2084
|
|
2007
2085
|
--
|
2008
2086
|
|
2009
|
-
##### [ele_by_json](https://github.com/appium/ruby_lib/blob/
|
2087
|
+
##### [ele_by_json](https://github.com/appium/ruby_lib/blob/c6eb8f5416ccdf75b161bc60c0986caec43d9ff8/lib/appium_lib/ios/common/helper.rb#L497) ios
|
2010
2088
|
|
2011
2089
|
> def ele_by_json(opts)
|
2012
2090
|
|
@@ -2014,7 +2092,7 @@ see eles_by_json
|
|
2014
2092
|
|
2015
2093
|
--
|
2016
2094
|
|
2017
|
-
##### [alert_accept](https://github.com/appium/ruby_lib/blob/
|
2095
|
+
##### [alert_accept](https://github.com/appium/ruby_lib/blob/c6eb8f5416ccdf75b161bc60c0986caec43d9ff8/lib/appium_lib/ios/element/alert.rb#L5) ios
|
2018
2096
|
|
2019
2097
|
> def alert_accept
|
2020
2098
|
|
@@ -2026,7 +2104,7 @@ __Returns:__
|
|
2026
2104
|
|
2027
2105
|
--
|
2028
2106
|
|
2029
|
-
##### [alert_dismiss](https://github.com/appium/ruby_lib/blob/
|
2107
|
+
##### [alert_dismiss](https://github.com/appium/ruby_lib/blob/c6eb8f5416ccdf75b161bc60c0986caec43d9ff8/lib/appium_lib/ios/element/alert.rb#L13) ios
|
2030
2108
|
|
2031
2109
|
> def alert_dismiss
|
2032
2110
|
|
@@ -2038,7 +2116,7 @@ __Returns:__
|
|
2038
2116
|
|
2039
2117
|
--
|
2040
2118
|
|
2041
|
-
##### [UIAButton](https://github.com/appium/ruby_lib/blob/
|
2119
|
+
##### [UIAButton](https://github.com/appium/ruby_lib/blob/c6eb8f5416ccdf75b161bc60c0986caec43d9ff8/lib/appium_lib/ios/element/button.rb#L4) ios
|
2042
2120
|
|
2043
2121
|
> UIAButton = 'UIAButton'.freeze
|
2044
2122
|
|
@@ -2046,7 +2124,7 @@ __Returns:__
|
|
2046
2124
|
|
2047
2125
|
--
|
2048
2126
|
|
2049
|
-
##### [XCUIElementTypeButton](https://github.com/appium/ruby_lib/blob/
|
2127
|
+
##### [XCUIElementTypeButton](https://github.com/appium/ruby_lib/blob/c6eb8f5416ccdf75b161bc60c0986caec43d9ff8/lib/appium_lib/ios/element/button.rb#L5) ios
|
2050
2128
|
|
2051
2129
|
> XCUIElementTypeButton = 'XCUIElementTypeButton'.freeze
|
2052
2130
|
|
@@ -2054,7 +2132,7 @@ __Returns:__
|
|
2054
2132
|
|
2055
2133
|
--
|
2056
2134
|
|
2057
|
-
##### [button_class](https://github.com/appium/ruby_lib/blob/
|
2135
|
+
##### [button_class](https://github.com/appium/ruby_lib/blob/c6eb8f5416ccdf75b161bc60c0986caec43d9ff8/lib/appium_lib/ios/element/button.rb#L8) ios
|
2058
2136
|
|
2059
2137
|
> def button_class
|
2060
2138
|
|
@@ -2066,7 +2144,7 @@ __Returns:__
|
|
2066
2144
|
|
2067
2145
|
--
|
2068
2146
|
|
2069
|
-
##### [button](https://github.com/appium/ruby_lib/blob/
|
2147
|
+
##### [button](https://github.com/appium/ruby_lib/blob/c6eb8f5416ccdf75b161bc60c0986caec43d9ff8/lib/appium_lib/ios/element/button.rb#L16) ios
|
2070
2148
|
|
2071
2149
|
> def button(value)
|
2072
2150
|
|
@@ -2083,7 +2161,7 @@ __Returns:__
|
|
2083
2161
|
|
2084
2162
|
--
|
2085
2163
|
|
2086
|
-
##### [buttons](https://github.com/appium/ruby_lib/blob/
|
2164
|
+
##### [buttons](https://github.com/appium/ruby_lib/blob/c6eb8f5416ccdf75b161bc60c0986caec43d9ff8/lib/appium_lib/ios/element/button.rb#L27) ios
|
2087
2165
|
|
2088
2166
|
> def buttons(value = false)
|
2089
2167
|
|
@@ -2100,7 +2178,7 @@ __Returns:__
|
|
2100
2178
|
|
2101
2179
|
--
|
2102
2180
|
|
2103
|
-
##### [first_button](https://github.com/appium/ruby_lib/blob/
|
2181
|
+
##### [first_button](https://github.com/appium/ruby_lib/blob/c6eb8f5416ccdf75b161bc60c0986caec43d9ff8/lib/appium_lib/ios/element/button.rb#L35) ios
|
2104
2182
|
|
2105
2183
|
> def first_button
|
2106
2184
|
|
@@ -2112,7 +2190,7 @@ __Returns:__
|
|
2112
2190
|
|
2113
2191
|
--
|
2114
2192
|
|
2115
|
-
##### [last_button](https://github.com/appium/ruby_lib/blob/
|
2193
|
+
##### [last_button](https://github.com/appium/ruby_lib/blob/c6eb8f5416ccdf75b161bc60c0986caec43d9ff8/lib/appium_lib/ios/element/button.rb#L43) ios
|
2116
2194
|
|
2117
2195
|
> def last_button
|
2118
2196
|
|
@@ -2126,7 +2204,7 @@ __Returns:__
|
|
2126
2204
|
|
2127
2205
|
--
|
2128
2206
|
|
2129
|
-
##### [button_exact](https://github.com/appium/ruby_lib/blob/
|
2207
|
+
##### [button_exact](https://github.com/appium/ruby_lib/blob/c6eb8f5416ccdf75b161bc60c0986caec43d9ff8/lib/appium_lib/ios/element/button.rb#L50) ios
|
2130
2208
|
|
2131
2209
|
> def button_exact(value)
|
2132
2210
|
|
@@ -2142,7 +2220,7 @@ __Returns:__
|
|
2142
2220
|
|
2143
2221
|
--
|
2144
2222
|
|
2145
|
-
##### [buttons_exact](https://github.com/appium/ruby_lib/blob/
|
2223
|
+
##### [buttons_exact](https://github.com/appium/ruby_lib/blob/c6eb8f5416ccdf75b161bc60c0986caec43d9ff8/lib/appium_lib/ios/element/button.rb#L57) ios
|
2146
2224
|
|
2147
2225
|
> def buttons_exact(value)
|
2148
2226
|
|
@@ -2158,7 +2236,7 @@ __Returns:__
|
|
2158
2236
|
|
2159
2237
|
--
|
2160
2238
|
|
2161
|
-
##### [find](https://github.com/appium/ruby_lib/blob/
|
2239
|
+
##### [find](https://github.com/appium/ruby_lib/blob/c6eb8f5416ccdf75b161bc60c0986caec43d9ff8/lib/appium_lib/ios/element/generic.rb#L6) ios
|
2162
2240
|
|
2163
2241
|
> def find(value)
|
2164
2242
|
|
@@ -2174,7 +2252,7 @@ __Returns:__
|
|
2174
2252
|
|
2175
2253
|
--
|
2176
2254
|
|
2177
|
-
##### [finds](https://github.com/appium/ruby_lib/blob/
|
2255
|
+
##### [finds](https://github.com/appium/ruby_lib/blob/c6eb8f5416ccdf75b161bc60c0986caec43d9ff8/lib/appium_lib/ios/element/generic.rb#L13) ios
|
2178
2256
|
|
2179
2257
|
> def finds(value)
|
2180
2258
|
|
@@ -2190,7 +2268,7 @@ __Returns:__
|
|
2190
2268
|
|
2191
2269
|
--
|
2192
2270
|
|
2193
|
-
##### [find_exact](https://github.com/appium/ruby_lib/blob/
|
2271
|
+
##### [find_exact](https://github.com/appium/ruby_lib/blob/c6eb8f5416ccdf75b161bc60c0986caec43d9ff8/lib/appium_lib/ios/element/generic.rb#L20) ios
|
2194
2272
|
|
2195
2273
|
> def find_exact(value)
|
2196
2274
|
|
@@ -2206,7 +2284,7 @@ __Returns:__
|
|
2206
2284
|
|
2207
2285
|
--
|
2208
2286
|
|
2209
|
-
##### [finds_exact](https://github.com/appium/ruby_lib/blob/
|
2287
|
+
##### [finds_exact](https://github.com/appium/ruby_lib/blob/c6eb8f5416ccdf75b161bc60c0986caec43d9ff8/lib/appium_lib/ios/element/generic.rb#L27) ios
|
2210
2288
|
|
2211
2289
|
> def finds_exact(value)
|
2212
2290
|
|
@@ -2222,7 +2300,7 @@ __Returns:__
|
|
2222
2300
|
|
2223
2301
|
--
|
2224
2302
|
|
2225
|
-
##### [raise_error_if_no_element](https://github.com/appium/ruby_lib/blob/
|
2303
|
+
##### [raise_error_if_no_element](https://github.com/appium/ruby_lib/blob/c6eb8f5416ccdf75b161bc60c0986caec43d9ff8/lib/appium_lib/ios/element/generic.rb#L33) ios
|
2226
2304
|
|
2227
2305
|
> def raise_error_if_no_element(element)
|
2228
2306
|
|
@@ -2230,7 +2308,7 @@ __Returns:__
|
|
2230
2308
|
|
2231
2309
|
--
|
2232
2310
|
|
2233
|
-
##### [select_visible_elements](https://github.com/appium/ruby_lib/blob/
|
2311
|
+
##### [select_visible_elements](https://github.com/appium/ruby_lib/blob/c6eb8f5416ccdf75b161bc60c0986caec43d9ff8/lib/appium_lib/ios/element/generic.rb#L41) ios
|
2234
2312
|
|
2235
2313
|
> def select_visible_elements(elements)
|
2236
2314
|
|
@@ -2238,7 +2316,7 @@ Return visible elements.
|
|
2238
2316
|
|
2239
2317
|
--
|
2240
2318
|
|
2241
|
-
##### [for](https://github.com/appium/ruby_lib/blob/
|
2319
|
+
##### [for](https://github.com/appium/ruby_lib/blob/c6eb8f5416ccdf75b161bc60c0986caec43d9ff8/lib/appium_lib/ios/xcuitest/bridge.rb#L7) ios
|
2242
2320
|
|
2243
2321
|
> def self.for(target)
|
2244
2322
|
|
@@ -2246,7 +2324,7 @@ Return visible elements.
|
|
2246
2324
|
|
2247
2325
|
--
|
2248
2326
|
|
2249
|
-
##### [last_ele](https://github.com/appium/ruby_lib/blob/
|
2327
|
+
##### [last_ele](https://github.com/appium/ruby_lib/blob/c6eb8f5416ccdf75b161bc60c0986caec43d9ff8/lib/appium_lib/ios/xcuitest/helper.rb#L26) ios
|
2250
2328
|
|
2251
2329
|
> def last_ele(class_name)
|
2252
2330
|
|
@@ -2262,7 +2340,7 @@ __Returns:__
|
|
2262
2340
|
|
2263
2341
|
--
|
2264
2342
|
|
2265
|
-
##### [tag](https://github.com/appium/ruby_lib/blob/
|
2343
|
+
##### [tag](https://github.com/appium/ruby_lib/blob/c6eb8f5416ccdf75b161bc60c0986caec43d9ff8/lib/appium_lib/ios/xcuitest/helper.rb#L37) ios
|
2266
2344
|
|
2267
2345
|
> def tag(class_name)
|
2268
2346
|
|
@@ -2278,7 +2356,7 @@ __Returns:__
|
|
2278
2356
|
|
2279
2357
|
--
|
2280
2358
|
|
2281
|
-
##### [tags](https://github.com/appium/ruby_lib/blob/
|
2359
|
+
##### [tags](https://github.com/appium/ruby_lib/blob/c6eb8f5416ccdf75b161bc60c0986caec43d9ff8/lib/appium_lib/ios/xcuitest/helper.rb#L45) ios
|
2282
2360
|
|
2283
2361
|
> def tags(class_name)
|
2284
2362
|
|
@@ -2294,7 +2372,7 @@ __Returns:__
|
|
2294
2372
|
|
2295
2373
|
--
|
2296
2374
|
|
2297
|
-
##### [tags_include](https://github.com/appium/ruby_lib/blob/
|
2375
|
+
##### [tags_include](https://github.com/appium/ruby_lib/blob/c6eb8f5416ccdf75b161bc60c0986caec43d9ff8/lib/appium_lib/ios/xcuitest/helper.rb#L57) ios
|
2298
2376
|
|
2299
2377
|
> def tags_include(class_names:, value: nil)
|
2300
2378
|
|
@@ -2314,7 +2392,7 @@ __Returns:__
|
|
2314
2392
|
|
2315
2393
|
--
|
2316
2394
|
|
2317
|
-
##### [tags_exact](https://github.com/appium/ruby_lib/blob/
|
2395
|
+
##### [tags_exact](https://github.com/appium/ruby_lib/blob/c6eb8f5416ccdf75b161bc60c0986caec43d9ff8/lib/appium_lib/ios/xcuitest/helper.rb#L79) ios
|
2318
2396
|
|
2319
2397
|
> def tags_exact(class_names:, value: nil)
|
2320
2398
|
|
@@ -2334,7 +2412,7 @@ __Returns:__
|
|
2334
2412
|
|
2335
2413
|
--
|
2336
2414
|
|
2337
|
-
##### [start_logs_broadcast](https://github.com/appium/ruby_lib/blob/
|
2415
|
+
##### [start_logs_broadcast](https://github.com/appium/ruby_lib/blob/c6eb8f5416ccdf75b161bc60c0986caec43d9ff8/lib/appium_lib/ios/xcuitest/command.rb#L19) ios
|
2338
2416
|
|
2339
2417
|
> def start_logs_broadcast(syslog_file = 'syslog.log')
|
2340
2418
|
|
@@ -2346,7 +2424,7 @@ __Parameters:__
|
|
2346
2424
|
|
2347
2425
|
--
|
2348
2426
|
|
2349
|
-
##### [stop_logs_broadcast](https://github.com/appium/ruby_lib/blob/
|
2427
|
+
##### [stop_logs_broadcast](https://github.com/appium/ruby_lib/blob/c6eb8f5416ccdf75b161bc60c0986caec43d9ff8/lib/appium_lib/ios/xcuitest/command.rb#L32) ios
|
2350
2428
|
|
2351
2429
|
> def stop_logs_broadcast
|
2352
2430
|
|
@@ -2354,7 +2432,7 @@ Stop iOS syslog broadcast websocket
|
|
2354
2432
|
|
2355
2433
|
--
|
2356
2434
|
|
2357
|
-
##### [UIATextField](https://github.com/appium/ruby_lib/blob/
|
2435
|
+
##### [UIATextField](https://github.com/appium/ruby_lib/blob/c6eb8f5416ccdf75b161bc60c0986caec43d9ff8/lib/appium_lib/ios/element/textfield.rb#L3) ios
|
2358
2436
|
|
2359
2437
|
> UIATextField = 'UIATextField'.freeze
|
2360
2438
|
|
@@ -2362,7 +2440,7 @@ Stop iOS syslog broadcast websocket
|
|
2362
2440
|
|
2363
2441
|
--
|
2364
2442
|
|
2365
|
-
##### [UIASecureTextField](https://github.com/appium/ruby_lib/blob/
|
2443
|
+
##### [UIASecureTextField](https://github.com/appium/ruby_lib/blob/c6eb8f5416ccdf75b161bc60c0986caec43d9ff8/lib/appium_lib/ios/element/textfield.rb#L4) ios
|
2366
2444
|
|
2367
2445
|
> UIASecureTextField = 'UIASecureTextField'.freeze
|
2368
2446
|
|
@@ -2370,7 +2448,7 @@ Stop iOS syslog broadcast websocket
|
|
2370
2448
|
|
2371
2449
|
--
|
2372
2450
|
|
2373
|
-
##### [XCUIElementTypeTextField](https://github.com/appium/ruby_lib/blob/
|
2451
|
+
##### [XCUIElementTypeTextField](https://github.com/appium/ruby_lib/blob/c6eb8f5416ccdf75b161bc60c0986caec43d9ff8/lib/appium_lib/ios/element/textfield.rb#L6) ios
|
2374
2452
|
|
2375
2453
|
> XCUIElementTypeTextField = 'XCUIElementTypeTextField'.freeze
|
2376
2454
|
|
@@ -2378,7 +2456,7 @@ Stop iOS syslog broadcast websocket
|
|
2378
2456
|
|
2379
2457
|
--
|
2380
2458
|
|
2381
|
-
##### [XCUIElementTypeSecureTextField](https://github.com/appium/ruby_lib/blob/
|
2459
|
+
##### [XCUIElementTypeSecureTextField](https://github.com/appium/ruby_lib/blob/c6eb8f5416ccdf75b161bc60c0986caec43d9ff8/lib/appium_lib/ios/element/textfield.rb#L7) ios
|
2382
2460
|
|
2383
2461
|
> XCUIElementTypeSecureTextField = 'XCUIElementTypeSecureTextField'.freeze
|
2384
2462
|
|
@@ -2386,7 +2464,7 @@ Stop iOS syslog broadcast websocket
|
|
2386
2464
|
|
2387
2465
|
--
|
2388
2466
|
|
2389
|
-
##### [text_field_class](https://github.com/appium/ruby_lib/blob/
|
2467
|
+
##### [text_field_class](https://github.com/appium/ruby_lib/blob/c6eb8f5416ccdf75b161bc60c0986caec43d9ff8/lib/appium_lib/ios/element/textfield.rb#L10) ios
|
2390
2468
|
|
2391
2469
|
> def text_field_class
|
2392
2470
|
|
@@ -2398,7 +2476,7 @@ __Returns:__
|
|
2398
2476
|
|
2399
2477
|
--
|
2400
2478
|
|
2401
|
-
##### [secure_text_field_class](https://github.com/appium/ruby_lib/blob/
|
2479
|
+
##### [secure_text_field_class](https://github.com/appium/ruby_lib/blob/c6eb8f5416ccdf75b161bc60c0986caec43d9ff8/lib/appium_lib/ios/element/textfield.rb#L15) ios
|
2402
2480
|
|
2403
2481
|
> def secure_text_field_class
|
2404
2482
|
|
@@ -2410,7 +2488,7 @@ __Returns:__
|
|
2410
2488
|
|
2411
2489
|
--
|
2412
2490
|
|
2413
|
-
##### [textfield](https://github.com/appium/ruby_lib/blob/
|
2491
|
+
##### [textfield](https://github.com/appium/ruby_lib/blob/c6eb8f5416ccdf75b161bc60c0986caec43d9ff8/lib/appium_lib/ios/element/textfield.rb#L24) ios
|
2414
2492
|
|
2415
2493
|
> def textfield(value)
|
2416
2494
|
|
@@ -2428,7 +2506,7 @@ __Returns:__
|
|
2428
2506
|
|
2429
2507
|
--
|
2430
2508
|
|
2431
|
-
##### [textfields](https://github.com/appium/ruby_lib/blob/
|
2509
|
+
##### [textfields](https://github.com/appium/ruby_lib/blob/c6eb8f5416ccdf75b161bc60c0986caec43d9ff8/lib/appium_lib/ios/element/textfield.rb#L43) ios
|
2432
2510
|
|
2433
2511
|
> def textfields(value = false)
|
2434
2512
|
|
@@ -2445,7 +2523,7 @@ __Returns:__
|
|
2445
2523
|
|
2446
2524
|
--
|
2447
2525
|
|
2448
|
-
##### [first_textfield](https://github.com/appium/ruby_lib/blob/
|
2526
|
+
##### [first_textfield](https://github.com/appium/ruby_lib/blob/c6eb8f5416ccdf75b161bc60c0986caec43d9ff8/lib/appium_lib/ios/element/textfield.rb#L51) ios
|
2449
2527
|
|
2450
2528
|
> def first_textfield
|
2451
2529
|
|
@@ -2457,7 +2535,7 @@ __Returns:__
|
|
2457
2535
|
|
2458
2536
|
--
|
2459
2537
|
|
2460
|
-
##### [last_textfield](https://github.com/appium/ruby_lib/blob/
|
2538
|
+
##### [last_textfield](https://github.com/appium/ruby_lib/blob/c6eb8f5416ccdf75b161bc60c0986caec43d9ff8/lib/appium_lib/ios/element/textfield.rb#L57) ios
|
2461
2539
|
|
2462
2540
|
> def last_textfield
|
2463
2541
|
|
@@ -2469,7 +2547,7 @@ __Returns:__
|
|
2469
2547
|
|
2470
2548
|
--
|
2471
2549
|
|
2472
|
-
##### [textfield_exact](https://github.com/appium/ruby_lib/blob/
|
2550
|
+
##### [textfield_exact](https://github.com/appium/ruby_lib/blob/c6eb8f5416ccdf75b161bc60c0986caec43d9ff8/lib/appium_lib/ios/element/textfield.rb#L67) ios
|
2473
2551
|
|
2474
2552
|
> def textfield_exact(value)
|
2475
2553
|
|
@@ -2485,7 +2563,7 @@ __Returns:__
|
|
2485
2563
|
|
2486
2564
|
--
|
2487
2565
|
|
2488
|
-
##### [textfields_exact](https://github.com/appium/ruby_lib/blob/
|
2566
|
+
##### [textfields_exact](https://github.com/appium/ruby_lib/blob/c6eb8f5416ccdf75b161bc60c0986caec43d9ff8/lib/appium_lib/ios/element/textfield.rb#L74) ios
|
2489
2567
|
|
2490
2568
|
> def textfields_exact(value)
|
2491
2569
|
|
@@ -2501,7 +2579,7 @@ __Returns:__
|
|
2501
2579
|
|
2502
2580
|
--
|
2503
2581
|
|
2504
|
-
##### [_textfield_visible](https://github.com/appium/ruby_lib/blob/
|
2582
|
+
##### [_textfield_visible](https://github.com/appium/ruby_lib/blob/c6eb8f5416ccdf75b161bc60c0986caec43d9ff8/lib/appium_lib/ios/element/textfield.rb#L81) ios
|
2505
2583
|
|
2506
2584
|
> def _textfield_visible
|
2507
2585
|
|
@@ -2509,7 +2587,7 @@ Appium
|
|
2509
2587
|
|
2510
2588
|
--
|
2511
2589
|
|
2512
|
-
##### [_textfield_exact_string](https://github.com/appium/ruby_lib/blob/
|
2590
|
+
##### [_textfield_exact_string](https://github.com/appium/ruby_lib/blob/c6eb8f5416ccdf75b161bc60c0986caec43d9ff8/lib/appium_lib/ios/element/textfield.rb#L86) ios
|
2513
2591
|
|
2514
2592
|
> def _textfield_exact_string(value)
|
2515
2593
|
|
@@ -2517,7 +2595,7 @@ Appium
|
|
2517
2595
|
|
2518
2596
|
--
|
2519
2597
|
|
2520
|
-
##### [_textfield_contains_string](https://github.com/appium/ruby_lib/blob/
|
2598
|
+
##### [_textfield_contains_string](https://github.com/appium/ruby_lib/blob/c6eb8f5416ccdf75b161bc60c0986caec43d9ff8/lib/appium_lib/ios/element/textfield.rb#L93) ios
|
2521
2599
|
|
2522
2600
|
> def _textfield_contains_string(value)
|
2523
2601
|
|
@@ -2525,7 +2603,7 @@ Appium
|
|
2525
2603
|
|
2526
2604
|
--
|
2527
2605
|
|
2528
|
-
##### [static_text_class](https://github.com/appium/ruby_lib/blob/
|
2606
|
+
##### [static_text_class](https://github.com/appium/ruby_lib/blob/c6eb8f5416ccdf75b161bc60c0986caec43d9ff8/lib/appium_lib/ios/xcuitest/element/text.rb#L9) ios
|
2529
2607
|
|
2530
2608
|
> def static_text_class
|
2531
2609
|
|
@@ -2537,7 +2615,7 @@ __Returns:__
|
|
2537
2615
|
|
2538
2616
|
--
|
2539
2617
|
|
2540
|
-
##### [text](https://github.com/appium/ruby_lib/blob/
|
2618
|
+
##### [text](https://github.com/appium/ruby_lib/blob/c6eb8f5416ccdf75b161bc60c0986caec43d9ff8/lib/appium_lib/ios/xcuitest/element/text.rb#L17) ios
|
2541
2619
|
|
2542
2620
|
> def text(value)
|
2543
2621
|
|
@@ -2554,7 +2632,7 @@ __Returns:__
|
|
2554
2632
|
|
2555
2633
|
--
|
2556
2634
|
|
2557
|
-
##### [texts](https://github.com/appium/ruby_lib/blob/
|
2635
|
+
##### [texts](https://github.com/appium/ruby_lib/blob/c6eb8f5416ccdf75b161bc60c0986caec43d9ff8/lib/appium_lib/ios/xcuitest/element/text.rb#L27) ios
|
2558
2636
|
|
2559
2637
|
> def texts(value = false)
|
2560
2638
|
|
@@ -2571,7 +2649,7 @@ __Returns:__
|
|
2571
2649
|
|
2572
2650
|
--
|
2573
2651
|
|
2574
|
-
##### [first_text](https://github.com/appium/ruby_lib/blob/
|
2652
|
+
##### [first_text](https://github.com/appium/ruby_lib/blob/c6eb8f5416ccdf75b161bc60c0986caec43d9ff8/lib/appium_lib/ios/xcuitest/element/text.rb#L36) ios
|
2575
2653
|
|
2576
2654
|
> def first_text
|
2577
2655
|
|
@@ -2583,7 +2661,7 @@ __Returns:__
|
|
2583
2661
|
|
2584
2662
|
--
|
2585
2663
|
|
2586
|
-
##### [last_text](https://github.com/appium/ruby_lib/blob/
|
2664
|
+
##### [last_text](https://github.com/appium/ruby_lib/blob/c6eb8f5416ccdf75b161bc60c0986caec43d9ff8/lib/appium_lib/ios/xcuitest/element/text.rb#L42) ios
|
2587
2665
|
|
2588
2666
|
> def last_text
|
2589
2667
|
|
@@ -2595,7 +2673,7 @@ __Returns:__
|
|
2595
2673
|
|
2596
2674
|
--
|
2597
2675
|
|
2598
|
-
##### [text_exact](https://github.com/appium/ruby_lib/blob/
|
2676
|
+
##### [text_exact](https://github.com/appium/ruby_lib/blob/c6eb8f5416ccdf75b161bc60c0986caec43d9ff8/lib/appium_lib/ios/xcuitest/element/text.rb#L49) ios
|
2599
2677
|
|
2600
2678
|
> def text_exact(value)
|
2601
2679
|
|
@@ -2611,7 +2689,7 @@ __Returns:__
|
|
2611
2689
|
|
2612
2690
|
--
|
2613
2691
|
|
2614
|
-
##### [texts_exact](https://github.com/appium/ruby_lib/blob/
|
2692
|
+
##### [texts_exact](https://github.com/appium/ruby_lib/blob/c6eb8f5416ccdf75b161bc60c0986caec43d9ff8/lib/appium_lib/ios/xcuitest/element/text.rb#L56) ios
|
2615
2693
|
|
2616
2694
|
> def texts_exact(value)
|
2617
2695
|
|
@@ -2627,7 +2705,7 @@ __Returns:__
|
|
2627
2705
|
|
2628
2706
|
--
|
2629
2707
|
|
2630
|
-
##### [xcuitest_source](https://github.com/appium/ruby_lib/blob/
|
2708
|
+
##### [xcuitest_source](https://github.com/appium/ruby_lib/blob/c6eb8f5416ccdf75b161bc60c0986caec43d9ff8/lib/appium_lib/ios/xcuitest/command/source.rb#L12) ios
|
2631
2709
|
|
2632
2710
|
> def xcuitest_source(format: :xml)
|
2633
2711
|
|
@@ -2641,7 +2719,7 @@ __Parameters:__
|
|
2641
2719
|
|
2642
2720
|
--
|
2643
2721
|
|
2644
|
-
##### [button_class](https://github.com/appium/ruby_lib/blob/
|
2722
|
+
##### [button_class](https://github.com/appium/ruby_lib/blob/c6eb8f5416ccdf75b161bc60c0986caec43d9ff8/lib/appium_lib/ios/xcuitest/element/button.rb#L9) ios
|
2645
2723
|
|
2646
2724
|
> def button_class
|
2647
2725
|
|
@@ -2653,7 +2731,7 @@ __Returns:__
|
|
2653
2731
|
|
2654
2732
|
--
|
2655
2733
|
|
2656
|
-
##### [button](https://github.com/appium/ruby_lib/blob/
|
2734
|
+
##### [button](https://github.com/appium/ruby_lib/blob/c6eb8f5416ccdf75b161bc60c0986caec43d9ff8/lib/appium_lib/ios/xcuitest/element/button.rb#L17) ios
|
2657
2735
|
|
2658
2736
|
> def button(value)
|
2659
2737
|
|
@@ -2670,7 +2748,7 @@ __Returns:__
|
|
2670
2748
|
|
2671
2749
|
--
|
2672
2750
|
|
2673
|
-
##### [buttons](https://github.com/appium/ruby_lib/blob/
|
2751
|
+
##### [buttons](https://github.com/appium/ruby_lib/blob/c6eb8f5416ccdf75b161bc60c0986caec43d9ff8/lib/appium_lib/ios/xcuitest/element/button.rb#L28) ios
|
2674
2752
|
|
2675
2753
|
> def buttons(value = false)
|
2676
2754
|
|
@@ -2687,7 +2765,7 @@ __Returns:__
|
|
2687
2765
|
|
2688
2766
|
--
|
2689
2767
|
|
2690
|
-
##### [first_button](https://github.com/appium/ruby_lib/blob/
|
2768
|
+
##### [first_button](https://github.com/appium/ruby_lib/blob/c6eb8f5416ccdf75b161bc60c0986caec43d9ff8/lib/appium_lib/ios/xcuitest/element/button.rb#L37) ios
|
2691
2769
|
|
2692
2770
|
> def first_button
|
2693
2771
|
|
@@ -2699,7 +2777,7 @@ __Returns:__
|
|
2699
2777
|
|
2700
2778
|
--
|
2701
2779
|
|
2702
|
-
##### [last_button](https://github.com/appium/ruby_lib/blob/
|
2780
|
+
##### [last_button](https://github.com/appium/ruby_lib/blob/c6eb8f5416ccdf75b161bc60c0986caec43d9ff8/lib/appium_lib/ios/xcuitest/element/button.rb#L45) ios
|
2703
2781
|
|
2704
2782
|
> def last_button
|
2705
2783
|
|
@@ -2713,7 +2791,7 @@ __Returns:__
|
|
2713
2791
|
|
2714
2792
|
--
|
2715
2793
|
|
2716
|
-
##### [button_exact](https://github.com/appium/ruby_lib/blob/
|
2794
|
+
##### [button_exact](https://github.com/appium/ruby_lib/blob/c6eb8f5416ccdf75b161bc60c0986caec43d9ff8/lib/appium_lib/ios/xcuitest/element/button.rb#L52) ios
|
2717
2795
|
|
2718
2796
|
> def button_exact(value)
|
2719
2797
|
|
@@ -2729,7 +2807,7 @@ __Returns:__
|
|
2729
2807
|
|
2730
2808
|
--
|
2731
2809
|
|
2732
|
-
##### [buttons_exact](https://github.com/appium/ruby_lib/blob/
|
2810
|
+
##### [buttons_exact](https://github.com/appium/ruby_lib/blob/c6eb8f5416ccdf75b161bc60c0986caec43d9ff8/lib/appium_lib/ios/xcuitest/element/button.rb#L59) ios
|
2733
2811
|
|
2734
2812
|
> def buttons_exact(value)
|
2735
2813
|
|
@@ -2745,7 +2823,7 @@ __Returns:__
|
|
2745
2823
|
|
2746
2824
|
--
|
2747
2825
|
|
2748
|
-
##### [find](https://github.com/appium/ruby_lib/blob/
|
2826
|
+
##### [find](https://github.com/appium/ruby_lib/blob/c6eb8f5416ccdf75b161bc60c0986caec43d9ff8/lib/appium_lib/ios/xcuitest/element/generic.rb#L8) ios
|
2749
2827
|
|
2750
2828
|
> def find(value)
|
2751
2829
|
|
@@ -2761,7 +2839,7 @@ __Returns:__
|
|
2761
2839
|
|
2762
2840
|
--
|
2763
2841
|
|
2764
|
-
##### [finds](https://github.com/appium/ruby_lib/blob/
|
2842
|
+
##### [finds](https://github.com/appium/ruby_lib/blob/c6eb8f5416ccdf75b161bc60c0986caec43d9ff8/lib/appium_lib/ios/xcuitest/element/generic.rb#L15) ios
|
2765
2843
|
|
2766
2844
|
> def finds(value)
|
2767
2845
|
|
@@ -2777,7 +2855,7 @@ __Returns:__
|
|
2777
2855
|
|
2778
2856
|
--
|
2779
2857
|
|
2780
|
-
##### [find_exact](https://github.com/appium/ruby_lib/blob/
|
2858
|
+
##### [find_exact](https://github.com/appium/ruby_lib/blob/c6eb8f5416ccdf75b161bc60c0986caec43d9ff8/lib/appium_lib/ios/xcuitest/element/generic.rb#L23) ios
|
2781
2859
|
|
2782
2860
|
> def find_exact(value)
|
2783
2861
|
|
@@ -2793,7 +2871,7 @@ __Returns:__
|
|
2793
2871
|
|
2794
2872
|
--
|
2795
2873
|
|
2796
|
-
##### [finds_exact](https://github.com/appium/ruby_lib/blob/
|
2874
|
+
##### [finds_exact](https://github.com/appium/ruby_lib/blob/c6eb8f5416ccdf75b161bc60c0986caec43d9ff8/lib/appium_lib/ios/xcuitest/element/generic.rb#L30) ios
|
2797
2875
|
|
2798
2876
|
> def finds_exact(value)
|
2799
2877
|
|
@@ -2809,7 +2887,7 @@ __Returns:__
|
|
2809
2887
|
|
2810
2888
|
--
|
2811
2889
|
|
2812
|
-
##### [raise_error_if_no_element](https://github.com/appium/ruby_lib/blob/
|
2890
|
+
##### [raise_error_if_no_element](https://github.com/appium/ruby_lib/blob/c6eb8f5416ccdf75b161bc60c0986caec43d9ff8/lib/appium_lib/ios/xcuitest/element/generic.rb#L37) ios
|
2813
2891
|
|
2814
2892
|
> def raise_error_if_no_element(element)
|
2815
2893
|
|
@@ -2817,7 +2895,7 @@ __Returns:__
|
|
2817
2895
|
|
2818
2896
|
--
|
2819
2897
|
|
2820
|
-
##### [select_visible_elements](https://github.com/appium/ruby_lib/blob/
|
2898
|
+
##### [select_visible_elements](https://github.com/appium/ruby_lib/blob/c6eb8f5416ccdf75b161bc60c0986caec43d9ff8/lib/appium_lib/ios/xcuitest/element/generic.rb#L45) ios
|
2821
2899
|
|
2822
2900
|
> def select_visible_elements(elements)
|
2823
2901
|
|
@@ -2825,7 +2903,7 @@ Return visible elements.
|
|
2825
2903
|
|
2826
2904
|
--
|
2827
2905
|
|
2828
|
-
##### [swipe](https://github.com/appium/ruby_lib/blob/
|
2906
|
+
##### [swipe](https://github.com/appium/ruby_lib/blob/c6eb8f5416ccdf75b161bc60c0986caec43d9ff8/lib/appium_lib/ios/xcuitest/command/gestures.rb#L11) ios
|
2829
2907
|
|
2830
2908
|
> def swipe(direction:, element: nil)
|
2831
2909
|
|
@@ -2839,7 +2917,7 @@ __Parameters:__
|
|
2839
2917
|
|
2840
2918
|
--
|
2841
2919
|
|
2842
|
-
##### [scroll](https://github.com/appium/ruby_lib/blob/
|
2920
|
+
##### [scroll](https://github.com/appium/ruby_lib/blob/c6eb8f5416ccdf75b161bc60c0986caec43d9ff8/lib/appium_lib/ios/xcuitest/command/gestures.rb#L31) ios
|
2843
2921
|
|
2844
2922
|
> def scroll(direction:, # rubocop:disable Metrics/ParameterLists
|
2845
2923
|
|
@@ -2853,7 +2931,7 @@ __Parameters:__
|
|
2853
2931
|
|
2854
2932
|
--
|
2855
2933
|
|
2856
|
-
##### [pinch](https://github.com/appium/ruby_lib/blob/
|
2934
|
+
##### [pinch](https://github.com/appium/ruby_lib/blob/c6eb8f5416ccdf75b161bc60c0986caec43d9ff8/lib/appium_lib/ios/xcuitest/command/gestures.rb#L56) ios
|
2857
2935
|
|
2858
2936
|
> def pinch(scale:, velocity: 1.0, element: nil)
|
2859
2937
|
|
@@ -2869,9 +2947,9 @@ __Parameters:__
|
|
2869
2947
|
|
2870
2948
|
--
|
2871
2949
|
|
2872
|
-
##### [double_tap](https://github.com/appium/ruby_lib/blob/
|
2950
|
+
##### [double_tap](https://github.com/appium/ruby_lib/blob/c6eb8f5416ccdf75b161bc60c0986caec43d9ff8/lib/appium_lib/ios/xcuitest/command/gestures.rb#L71) ios
|
2873
2951
|
|
2874
|
-
> def double_tap(x: nil, y: nil, element: nil)
|
2952
|
+
> def double_tap(x: nil, y: nil, element: nil) # rubocop:disable Naming/UncommunicativeMethodParamName
|
2875
2953
|
|
2876
2954
|
|
2877
2955
|
|
@@ -2885,9 +2963,9 @@ __Parameters:__
|
|
2885
2963
|
|
2886
2964
|
--
|
2887
2965
|
|
2888
|
-
##### [touch_and_hold](https://github.com/appium/ruby_lib/blob/
|
2966
|
+
##### [touch_and_hold](https://github.com/appium/ruby_lib/blob/c6eb8f5416ccdf75b161bc60c0986caec43d9ff8/lib/appium_lib/ios/xcuitest/command/gestures.rb#L88) ios
|
2889
2967
|
|
2890
|
-
> def touch_and_hold(x: nil, y: nil, element: nil, duration: 1.0)
|
2968
|
+
> def touch_and_hold(x: nil, y: nil, element: nil, duration: 1.0) # rubocop:disable Naming/UncommunicativeMethodParamName
|
2891
2969
|
|
2892
2970
|
|
2893
2971
|
|
@@ -2903,7 +2981,7 @@ __Parameters:__
|
|
2903
2981
|
|
2904
2982
|
--
|
2905
2983
|
|
2906
|
-
##### [two_finger_tap](https://github.com/appium/ruby_lib/blob/
|
2984
|
+
##### [two_finger_tap](https://github.com/appium/ruby_lib/blob/c6eb8f5416ccdf75b161bc60c0986caec43d9ff8/lib/appium_lib/ios/xcuitest/command/gestures.rb#L101) ios
|
2907
2985
|
|
2908
2986
|
> def two_finger_tap(element:)
|
2909
2987
|
|
@@ -2919,9 +2997,9 @@ two_finger_tap element: find_element(:accessibility_id, "some item")
|
|
2919
2997
|
|
2920
2998
|
--
|
2921
2999
|
|
2922
|
-
##### [tap](https://github.com/appium/ruby_lib/blob/
|
3000
|
+
##### [tap](https://github.com/appium/ruby_lib/blob/c6eb8f5416ccdf75b161bc60c0986caec43d9ff8/lib/appium_lib/ios/xcuitest/command/gestures.rb#L116) ios
|
2923
3001
|
|
2924
|
-
> def tap(x:, y:, element: nil)
|
3002
|
+
> def tap(x:, y:, element: nil) # rubocop:disable Naming/UncommunicativeMethodParamName
|
2925
3003
|
|
2926
3004
|
|
2927
3005
|
|
@@ -2935,7 +3013,7 @@ __Parameters:__
|
|
2935
3013
|
|
2936
3014
|
--
|
2937
3015
|
|
2938
|
-
##### [drag_from_to_for_duration](https://github.com/appium/ruby_lib/blob/
|
3016
|
+
##### [drag_from_to_for_duration](https://github.com/appium/ruby_lib/blob/c6eb8f5416ccdf75b161bc60c0986caec43d9ff8/lib/appium_lib/ios/xcuitest/command/gestures.rb#L136) ios
|
2939
3017
|
|
2940
3018
|
> def drag_from_to_for_duration(from_x:, from_y:, to_x:, to_y:, duration: 1.0, element: nil)
|
2941
3019
|
|
@@ -2958,7 +3036,7 @@ drag point should be before to start dragging. Mandatory parameter
|
|
2958
3036
|
|
2959
3037
|
--
|
2960
3038
|
|
2961
|
-
##### [select_picker_wheel](https://github.com/appium/ruby_lib/blob/
|
3039
|
+
##### [select_picker_wheel](https://github.com/appium/ruby_lib/blob/c6eb8f5416ccdf75b161bc60c0986caec43d9ff8/lib/appium_lib/ios/xcuitest/command/gestures.rb#L153) ios
|
2962
3040
|
|
2963
3041
|
> def select_picker_wheel(element:, order:, offset: nil)
|
2964
3042
|
|
@@ -2975,7 +3053,7 @@ __Parameters:__
|
|
2975
3053
|
|
2976
3054
|
--
|
2977
3055
|
|
2978
|
-
##### [alert](https://github.com/appium/ruby_lib/blob/
|
3056
|
+
##### [alert](https://github.com/appium/ruby_lib/blob/c6eb8f5416ccdf75b161bc60c0986caec43d9ff8/lib/appium_lib/ios/xcuitest/command/gestures.rb#L171) ios
|
2979
3057
|
|
2980
3058
|
> def alert(action:, button_label: nil)
|
2981
3059
|
|
@@ -2990,7 +3068,7 @@ This is an optional parameter and is only valid in combination with accept and d
|
|
2990
3068
|
|
2991
3069
|
--
|
2992
3070
|
|
2993
|
-
##### [text_field_class](https://github.com/appium/ruby_lib/blob/
|
3071
|
+
##### [text_field_class](https://github.com/appium/ruby_lib/blob/c6eb8f5416ccdf75b161bc60c0986caec43d9ff8/lib/appium_lib/ios/xcuitest/element/textfield.rb#L9) ios
|
2994
3072
|
|
2995
3073
|
> def text_field_class
|
2996
3074
|
|
@@ -3002,7 +3080,7 @@ __Returns:__
|
|
3002
3080
|
|
3003
3081
|
--
|
3004
3082
|
|
3005
|
-
##### [secure_text_field_class](https://github.com/appium/ruby_lib/blob/
|
3083
|
+
##### [secure_text_field_class](https://github.com/appium/ruby_lib/blob/c6eb8f5416ccdf75b161bc60c0986caec43d9ff8/lib/appium_lib/ios/xcuitest/element/textfield.rb#L14) ios
|
3006
3084
|
|
3007
3085
|
> def secure_text_field_class
|
3008
3086
|
|
@@ -3014,7 +3092,7 @@ __Returns:__
|
|
3014
3092
|
|
3015
3093
|
--
|
3016
3094
|
|
3017
|
-
##### [textfield](https://github.com/appium/ruby_lib/blob/
|
3095
|
+
##### [textfield](https://github.com/appium/ruby_lib/blob/c6eb8f5416ccdf75b161bc60c0986caec43d9ff8/lib/appium_lib/ios/xcuitest/element/textfield.rb#L23) ios
|
3018
3096
|
|
3019
3097
|
> def textfield(value)
|
3020
3098
|
|
@@ -3032,7 +3110,7 @@ __Returns:__
|
|
3032
3110
|
|
3033
3111
|
--
|
3034
3112
|
|
3035
|
-
##### [textfields](https://github.com/appium/ruby_lib/blob/
|
3113
|
+
##### [textfields](https://github.com/appium/ruby_lib/blob/c6eb8f5416ccdf75b161bc60c0986caec43d9ff8/lib/appium_lib/ios/xcuitest/element/textfield.rb#L43) ios
|
3036
3114
|
|
3037
3115
|
> def textfields(value = false)
|
3038
3116
|
|
@@ -3049,7 +3127,7 @@ __Returns:__
|
|
3049
3127
|
|
3050
3128
|
--
|
3051
3129
|
|
3052
|
-
##### [first_textfield](https://github.com/appium/ruby_lib/blob/
|
3130
|
+
##### [first_textfield](https://github.com/appium/ruby_lib/blob/c6eb8f5416ccdf75b161bc60c0986caec43d9ff8/lib/appium_lib/ios/xcuitest/element/textfield.rb#L52) ios
|
3053
3131
|
|
3054
3132
|
> def first_textfield
|
3055
3133
|
|
@@ -3061,7 +3139,7 @@ __Returns:__
|
|
3061
3139
|
|
3062
3140
|
--
|
3063
3141
|
|
3064
|
-
##### [last_textfield](https://github.com/appium/ruby_lib/blob/
|
3142
|
+
##### [last_textfield](https://github.com/appium/ruby_lib/blob/c6eb8f5416ccdf75b161bc60c0986caec43d9ff8/lib/appium_lib/ios/xcuitest/element/textfield.rb#L58) ios
|
3065
3143
|
|
3066
3144
|
> def last_textfield
|
3067
3145
|
|
@@ -3073,7 +3151,7 @@ __Returns:__
|
|
3073
3151
|
|
3074
3152
|
--
|
3075
3153
|
|
3076
|
-
##### [textfield_exact](https://github.com/appium/ruby_lib/blob/
|
3154
|
+
##### [textfield_exact](https://github.com/appium/ruby_lib/blob/c6eb8f5416ccdf75b161bc60c0986caec43d9ff8/lib/appium_lib/ios/xcuitest/element/textfield.rb#L68) ios
|
3077
3155
|
|
3078
3156
|
> def textfield_exact(value)
|
3079
3157
|
|
@@ -3089,7 +3167,7 @@ __Returns:__
|
|
3089
3167
|
|
3090
3168
|
--
|
3091
3169
|
|
3092
|
-
##### [textfields_exact](https://github.com/appium/ruby_lib/blob/
|
3170
|
+
##### [textfields_exact](https://github.com/appium/ruby_lib/blob/c6eb8f5416ccdf75b161bc60c0986caec43d9ff8/lib/appium_lib/ios/xcuitest/element/textfield.rb#L75) ios
|
3093
3171
|
|
3094
3172
|
> def textfields_exact(value)
|
3095
3173
|
|
@@ -3105,7 +3183,7 @@ __Returns:__
|
|
3105
3183
|
|
3106
3184
|
--
|
3107
3185
|
|
3108
|
-
##### [set_pasteboard](https://github.com/appium/ruby_lib/blob/
|
3186
|
+
##### [set_pasteboard](https://github.com/appium/ruby_lib/blob/c6eb8f5416ccdf75b161bc60c0986caec43d9ff8/lib/appium_lib/ios/xcuitest/command/pasteboard.rb#L12) ios
|
3109
3187
|
|
3110
3188
|
> def set_pasteboard(content:, encoding: nil)
|
3111
3189
|
|
@@ -3120,7 +3198,7 @@ The parameter is mandatory
|
|
3120
3198
|
|
3121
3199
|
--
|
3122
3200
|
|
3123
|
-
##### [get_pasteboard](https://github.com/appium/ruby_lib/blob/
|
3201
|
+
##### [get_pasteboard](https://github.com/appium/ruby_lib/blob/c6eb8f5416ccdf75b161bc60c0986caec43d9ff8/lib/appium_lib/ios/xcuitest/command/pasteboard.rb#L24) ios
|
3124
3202
|
|
3125
3203
|
> def get_pasteboard(encoding: nil)
|
3126
3204
|
|
@@ -3132,7 +3210,7 @@ __Parameters:__
|
|
3132
3210
|
|
3133
3211
|
--
|
3134
3212
|
|
3135
|
-
##### [install_certificate](https://github.com/appium/ruby_lib/blob/
|
3213
|
+
##### [install_certificate](https://github.com/appium/ruby_lib/blob/c6eb8f5416ccdf75b161bc60c0986caec43d9ff8/lib/appium_lib/ios/xcuitest/command/certificate.rb#L18) ios
|
3136
3214
|
|
3137
3215
|
> def install_certificate(cer_file:)
|
3138
3216
|
|
@@ -3147,7 +3225,7 @@ __Parameters:__
|
|
3147
3225
|
|
3148
3226
|
--
|
3149
3227
|
|
3150
|
-
##### [xcuitest_get_contexts](https://github.com/appium/ruby_lib/blob/
|
3228
|
+
##### [xcuitest_get_contexts](https://github.com/appium/ruby_lib/blob/c6eb8f5416ccdf75b161bc60c0986caec43d9ff8/lib/appium_lib/ios/xcuitest/command/get_context.rb#L14) ios
|
3151
3229
|
|
3152
3230
|
> def xcuitest_get_contexts
|
3153
3231
|
|
@@ -3155,7 +3233,7 @@ Get contexts
|
|
3155
3233
|
|
3156
3234
|
--
|
3157
3235
|
|
3158
|
-
##### [xcuitest_install_app](https://github.com/appium/ruby_lib/blob/
|
3236
|
+
##### [xcuitest_install_app](https://github.com/appium/ruby_lib/blob/c6eb8f5416ccdf75b161bc60c0986caec43d9ff8/lib/appium_lib/ios/xcuitest/command/multi_app_handler.rb#L21) ios
|
3159
3237
|
|
3160
3238
|
> def xcuitest_install_app(app:)
|
3161
3239
|
|
@@ -3171,7 +3249,7 @@ or an URL pointing to a remote .ipa/.zip file. Mandatory argument.
|
|
3171
3249
|
|
3172
3250
|
--
|
3173
3251
|
|
3174
|
-
##### [xcuitest_app_installed?](https://github.com/appium/ruby_lib/blob/
|
3252
|
+
##### [xcuitest_app_installed?](https://github.com/appium/ruby_lib/blob/c6eb8f5416ccdf75b161bc60c0986caec43d9ff8/lib/appium_lib/ios/xcuitest/command/multi_app_handler.rb#L35) ios
|
3175
3253
|
|
3176
3254
|
> def xcuitest_app_installed?(bundle_id:)
|
3177
3255
|
|
@@ -3187,7 +3265,7 @@ __Returns:__
|
|
3187
3265
|
|
3188
3266
|
--
|
3189
3267
|
|
3190
|
-
##### [xcuitest_remove_app](https://github.com/appium/ruby_lib/blob/
|
3268
|
+
##### [xcuitest_remove_app](https://github.com/appium/ruby_lib/blob/c6eb8f5416ccdf75b161bc60c0986caec43d9ff8/lib/appium_lib/ios/xcuitest/command/multi_app_handler.rb#L50) ios
|
3191
3269
|
|
3192
3270
|
> def xcuitest_remove_app(bundle_id:)
|
3193
3271
|
|
@@ -3200,7 +3278,7 @@ __Parameters:__
|
|
3200
3278
|
|
3201
3279
|
--
|
3202
3280
|
|
3203
|
-
##### [xcuitest_launch_app](https://github.com/appium/ruby_lib/blob/
|
3281
|
+
##### [xcuitest_launch_app](https://github.com/appium/ruby_lib/blob/c6eb8f5416ccdf75b161bc60c0986caec43d9ff8/lib/appium_lib/ios/xcuitest/command/multi_app_handler.rb#L65) ios
|
3204
3282
|
|
3205
3283
|
> def xcuitest_launch_app(bundle_id:)
|
3206
3284
|
|
@@ -3213,7 +3291,7 @@ __Parameters:__
|
|
3213
3291
|
|
3214
3292
|
--
|
3215
3293
|
|
3216
|
-
##### [xcuitest_terminate_app](https://github.com/appium/ruby_lib/blob/
|
3294
|
+
##### [xcuitest_terminate_app](https://github.com/appium/ruby_lib/blob/c6eb8f5416ccdf75b161bc60c0986caec43d9ff8/lib/appium_lib/ios/xcuitest/command/multi_app_handler.rb#L80) ios
|
3217
3295
|
|
3218
3296
|
> def xcuitest_terminate_app(bundle_id:)
|
3219
3297
|
|
@@ -3226,7 +3304,7 @@ __Parameters:__
|
|
3226
3304
|
|
3227
3305
|
--
|
3228
3306
|
|
3229
|
-
##### [xcuitest_query_app_status](https://github.com/appium/ruby_lib/blob/
|
3307
|
+
##### [xcuitest_query_app_status](https://github.com/appium/ruby_lib/blob/c6eb8f5416ccdf75b161bc60c0986caec43d9ff8/lib/appium_lib/ios/xcuitest/command/multi_app_handler.rb#L102) ios
|
3230
3308
|
|
3231
3309
|
> def xcuitest_query_app_status(bundle_id:)
|
3232
3310
|
|
@@ -3250,7 +3328,7 @@ __Returns:__
|
|
3250
3328
|
|
3251
3329
|
--
|
3252
3330
|
|
3253
|
-
##### [xcuitest_activate_app](https://github.com/appium/ruby_lib/blob/
|
3331
|
+
##### [xcuitest_activate_app](https://github.com/appium/ruby_lib/blob/c6eb8f5416ccdf75b161bc60c0986caec43d9ff8/lib/appium_lib/ios/xcuitest/command/multi_app_handler.rb#L118) ios
|
3254
3332
|
|
3255
3333
|
> def xcuitest_activate_app(bundle_id:)
|
3256
3334
|
|