appium_lib 9.8.4 → 9.8.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +9 -1
- data/docs/android_docs.md +176 -176
- data/docs/ios_docs.md +234 -234
- data/lib/appium_lib/driver.rb +27 -22
- data/lib/appium_lib/version.rb +2 -2
- data/release_notes.md +6 -0
- metadata +2 -2
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/cfbbe1cea6293af012b4a696c8a8948bb277aded/lib/appium_lib/appium.rb#L45)
|
|
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/cfbbe1cea6293af012b4a696c8a8948bb277aded/lib/appium_lib/appium.rb#L79)
|
|
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/cfbbe1cea6293af012b4a696c8a8948bb277aded/lib/appium_lib/appium.rb#L84)
|
|
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/cfbbe1cea6293af012b4a696c8a8948bb277aded/lib/appium_lib/appium.rb#L126)
|
|
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/cfbbe1cea6293af012b4a696c8a8948bb277aded/lib/appium_lib/appium.rb#L181)
|
|
102
102
|
|
|
103
103
|
> def promote_appium_methods(class_array, driver = $driver)
|
|
104
104
|
|
|
@@ -116,11 +116,11 @@ __Parameters:__
|
|
|
116
116
|
|
|
117
117
|
--
|
|
118
118
|
|
|
119
|
-
##### [left_greater_than_or_equal_to_right?](https://github.com/appium/ruby_lib/blob/
|
|
119
|
+
##### [left_greater_than_or_equal_to_right?](https://github.com/appium/ruby_lib/blob/cfbbe1cea6293af012b4a696c8a8948bb277aded/lib/appium_lib/driver.rb#L12)
|
|
120
120
|
|
|
121
121
|
> def self.left_greater_than_or_equal_to_right?(left, right)
|
|
122
122
|
|
|
123
|
-
|
|
123
|
+
|
|
124
124
|
|
|
125
125
|
__Returns:__
|
|
126
126
|
|
|
@@ -128,7 +128,7 @@ __Returns:__
|
|
|
128
128
|
|
|
129
129
|
--
|
|
130
130
|
|
|
131
|
-
##### [global_webdriver_http_sleep](https://github.com/appium/ruby_lib/blob/
|
|
131
|
+
##### [global_webdriver_http_sleep](https://github.com/appium/ruby_lib/blob/cfbbe1cea6293af012b4a696c8a8948bb277aded/lib/appium_lib/driver.rb#L47)
|
|
132
132
|
|
|
133
133
|
> def global_webdriver_http_sleep
|
|
134
134
|
|
|
@@ -136,7 +136,7 @@ The amount to sleep in seconds before every webdriver http call.
|
|
|
136
136
|
|
|
137
137
|
--
|
|
138
138
|
|
|
139
|
-
##### [global_webdriver_http_sleep=](https://github.com/appium/ruby_lib/blob/
|
|
139
|
+
##### [global_webdriver_http_sleep=](https://github.com/appium/ruby_lib/blob/cfbbe1cea6293af012b4a696c8a8948bb277aded/lib/appium_lib/driver.rb#L47)
|
|
140
140
|
|
|
141
141
|
> def global_webdriver_http_sleep=(value)
|
|
142
142
|
|
|
@@ -144,7 +144,7 @@ The amount to sleep in seconds before every webdriver http call.
|
|
|
144
144
|
|
|
145
145
|
--
|
|
146
146
|
|
|
147
|
-
##### [sauce](https://github.com/appium/ruby_lib/blob/
|
|
147
|
+
##### [sauce](https://github.com/appium/ruby_lib/blob/cfbbe1cea6293af012b4a696c8a8948bb277aded/lib/appium_lib/driver.rb#L50)
|
|
148
148
|
|
|
149
149
|
> def sauce
|
|
150
150
|
|
|
@@ -152,7 +152,7 @@ SauceLab's settings
|
|
|
152
152
|
|
|
153
153
|
--
|
|
154
154
|
|
|
155
|
-
##### [sauce_username](https://github.com/appium/ruby_lib/blob/
|
|
155
|
+
##### [sauce_username](https://github.com/appium/ruby_lib/blob/cfbbe1cea6293af012b4a696c8a8948bb277aded/lib/appium_lib/driver.rb#L53)
|
|
156
156
|
|
|
157
157
|
> def sauce_username
|
|
158
158
|
|
|
@@ -161,7 +161,7 @@ same as @sauce.username
|
|
|
161
161
|
|
|
162
162
|
--
|
|
163
163
|
|
|
164
|
-
##### [sauce_access_key](https://github.com/appium/ruby_lib/blob/
|
|
164
|
+
##### [sauce_access_key](https://github.com/appium/ruby_lib/blob/cfbbe1cea6293af012b4a696c8a8948bb277aded/lib/appium_lib/driver.rb#L56)
|
|
165
165
|
|
|
166
166
|
> def sauce_access_key
|
|
167
167
|
|
|
@@ -170,7 +170,7 @@ same as @sauce.access_key
|
|
|
170
170
|
|
|
171
171
|
--
|
|
172
172
|
|
|
173
|
-
##### [sauce_endpoint](https://github.com/appium/ruby_lib/blob/
|
|
173
|
+
##### [sauce_endpoint](https://github.com/appium/ruby_lib/blob/cfbbe1cea6293af012b4a696c8a8948bb277aded/lib/appium_lib/driver.rb#L59)
|
|
174
174
|
|
|
175
175
|
> def sauce_endpoint
|
|
176
176
|
|
|
@@ -179,7 +179,7 @@ same as @sauce.endpoint
|
|
|
179
179
|
|
|
180
180
|
--
|
|
181
181
|
|
|
182
|
-
##### [caps](https://github.com/appium/ruby_lib/blob/
|
|
182
|
+
##### [caps](https://github.com/appium/ruby_lib/blob/cfbbe1cea6293af012b4a696c8a8948bb277aded/lib/appium_lib/driver.rb#L63)
|
|
183
183
|
|
|
184
184
|
> def caps
|
|
185
185
|
|
|
@@ -188,7 +188,7 @@ read http://www.rubydoc.info/github/appium/ruby_lib_core/Appium/Core/Driver
|
|
|
188
188
|
|
|
189
189
|
--
|
|
190
190
|
|
|
191
|
-
##### [custom_url](https://github.com/appium/ruby_lib/blob/
|
|
191
|
+
##### [custom_url](https://github.com/appium/ruby_lib/blob/cfbbe1cea6293af012b4a696c8a8948bb277aded/lib/appium_lib/driver.rb#L64)
|
|
192
192
|
|
|
193
193
|
> def custom_url
|
|
194
194
|
|
|
@@ -196,7 +196,7 @@ Returns the value of attribute custom_url
|
|
|
196
196
|
|
|
197
197
|
--
|
|
198
198
|
|
|
199
|
-
##### [export_session](https://github.com/appium/ruby_lib/blob/
|
|
199
|
+
##### [export_session](https://github.com/appium/ruby_lib/blob/cfbbe1cea6293af012b4a696c8a8948bb277aded/lib/appium_lib/driver.rb#L65)
|
|
200
200
|
|
|
201
201
|
> def export_session
|
|
202
202
|
|
|
@@ -204,7 +204,7 @@ Returns the value of attribute export_session
|
|
|
204
204
|
|
|
205
205
|
--
|
|
206
206
|
|
|
207
|
-
##### [export_session_path](https://github.com/appium/ruby_lib/blob/
|
|
207
|
+
##### [export_session_path](https://github.com/appium/ruby_lib/blob/cfbbe1cea6293af012b4a696c8a8948bb277aded/lib/appium_lib/driver.rb#L66)
|
|
208
208
|
|
|
209
209
|
> def export_session_path
|
|
210
210
|
|
|
@@ -212,7 +212,7 @@ Returns the value of attribute export_session_path
|
|
|
212
212
|
|
|
213
213
|
--
|
|
214
214
|
|
|
215
|
-
##### [default_wait](https://github.com/appium/ruby_lib/blob/
|
|
215
|
+
##### [default_wait](https://github.com/appium/ruby_lib/blob/cfbbe1cea6293af012b4a696c8a8948bb277aded/lib/appium_lib/driver.rb#L67)
|
|
216
216
|
|
|
217
217
|
> def default_wait
|
|
218
218
|
|
|
@@ -220,7 +220,7 @@ Returns the value of attribute default_wait
|
|
|
220
220
|
|
|
221
221
|
--
|
|
222
222
|
|
|
223
|
-
##### [appium_port](https://github.com/appium/ruby_lib/blob/
|
|
223
|
+
##### [appium_port](https://github.com/appium/ruby_lib/blob/cfbbe1cea6293af012b4a696c8a8948bb277aded/lib/appium_lib/driver.rb#L68)
|
|
224
224
|
|
|
225
225
|
> def appium_port
|
|
226
226
|
|
|
@@ -228,7 +228,7 @@ Returns the value of attribute appium_port
|
|
|
228
228
|
|
|
229
229
|
--
|
|
230
230
|
|
|
231
|
-
##### [appium_device](https://github.com/appium/ruby_lib/blob/
|
|
231
|
+
##### [appium_device](https://github.com/appium/ruby_lib/blob/cfbbe1cea6293af012b4a696c8a8948bb277aded/lib/appium_lib/driver.rb#L69)
|
|
232
232
|
|
|
233
233
|
> def appium_device
|
|
234
234
|
|
|
@@ -236,7 +236,7 @@ Returns the value of attribute appium_device
|
|
|
236
236
|
|
|
237
237
|
--
|
|
238
238
|
|
|
239
|
-
##### [automation_name](https://github.com/appium/ruby_lib/blob/
|
|
239
|
+
##### [automation_name](https://github.com/appium/ruby_lib/blob/cfbbe1cea6293af012b4a696c8a8948bb277aded/lib/appium_lib/driver.rb#L70)
|
|
240
240
|
|
|
241
241
|
> def automation_name
|
|
242
242
|
|
|
@@ -244,7 +244,7 @@ Returns the value of attribute automation_name
|
|
|
244
244
|
|
|
245
245
|
--
|
|
246
246
|
|
|
247
|
-
##### [listener](https://github.com/appium/ruby_lib/blob/
|
|
247
|
+
##### [listener](https://github.com/appium/ruby_lib/blob/cfbbe1cea6293af012b4a696c8a8948bb277aded/lib/appium_lib/driver.rb#L71)
|
|
248
248
|
|
|
249
249
|
> def listener
|
|
250
250
|
|
|
@@ -252,7 +252,7 @@ Returns the value of attribute listener
|
|
|
252
252
|
|
|
253
253
|
--
|
|
254
254
|
|
|
255
|
-
##### [http_client](https://github.com/appium/ruby_lib/blob/
|
|
255
|
+
##### [http_client](https://github.com/appium/ruby_lib/blob/cfbbe1cea6293af012b4a696c8a8948bb277aded/lib/appium_lib/driver.rb#L72)
|
|
256
256
|
|
|
257
257
|
> def http_client
|
|
258
258
|
|
|
@@ -260,7 +260,7 @@ Returns the value of attribute http_client
|
|
|
260
260
|
|
|
261
261
|
--
|
|
262
262
|
|
|
263
|
-
##### [appium_wait_timeout](https://github.com/appium/ruby_lib/blob/
|
|
263
|
+
##### [appium_wait_timeout](https://github.com/appium/ruby_lib/blob/cfbbe1cea6293af012b4a696c8a8948bb277aded/lib/appium_lib/driver.rb#L73)
|
|
264
264
|
|
|
265
265
|
> def appium_wait_timeout
|
|
266
266
|
|
|
@@ -268,7 +268,7 @@ Returns the value of attribute appium_wait_timeout
|
|
|
268
268
|
|
|
269
269
|
--
|
|
270
270
|
|
|
271
|
-
##### [appium_wait_interval](https://github.com/appium/ruby_lib/blob/
|
|
271
|
+
##### [appium_wait_interval](https://github.com/appium/ruby_lib/blob/cfbbe1cea6293af012b4a696c8a8948bb277aded/lib/appium_lib/driver.rb#L74)
|
|
272
272
|
|
|
273
273
|
> def appium_wait_interval
|
|
274
274
|
|
|
@@ -276,7 +276,7 @@ Returns the value of attribute appium_wait_interval
|
|
|
276
276
|
|
|
277
277
|
--
|
|
278
278
|
|
|
279
|
-
##### [appium_server_status](https://github.com/appium/ruby_lib/blob/
|
|
279
|
+
##### [appium_server_status](https://github.com/appium/ruby_lib/blob/cfbbe1cea6293af012b4a696c8a8948bb277aded/lib/appium_lib/driver.rb#L77)
|
|
280
280
|
|
|
281
281
|
> def appium_server_status
|
|
282
282
|
|
|
@@ -284,7 +284,7 @@ Appium's server version
|
|
|
284
284
|
|
|
285
285
|
--
|
|
286
286
|
|
|
287
|
-
##### [appium_debug](https://github.com/appium/ruby_lib/blob/
|
|
287
|
+
##### [appium_debug](https://github.com/appium/ruby_lib/blob/cfbbe1cea6293af012b4a696c8a8948bb277aded/lib/appium_lib/driver.rb#L79)
|
|
288
288
|
|
|
289
289
|
> def appium_debug
|
|
290
290
|
|
|
@@ -292,7 +292,7 @@ Boolean debug mode for the Appium Ruby bindings
|
|
|
292
292
|
|
|
293
293
|
--
|
|
294
294
|
|
|
295
|
-
##### [driver](https://github.com/appium/ruby_lib/blob/
|
|
295
|
+
##### [driver](https://github.com/appium/ruby_lib/blob/cfbbe1cea6293af012b4a696c8a8948bb277aded/lib/appium_lib/driver.rb#L82)
|
|
296
296
|
|
|
297
297
|
> def driver
|
|
298
298
|
|
|
@@ -304,7 +304,7 @@ __Returns:__
|
|
|
304
304
|
|
|
305
305
|
--
|
|
306
306
|
|
|
307
|
-
##### [core](https://github.com/appium/ruby_lib/blob/
|
|
307
|
+
##### [core](https://github.com/appium/ruby_lib/blob/cfbbe1cea6293af012b4a696c8a8948bb277aded/lib/appium_lib/driver.rb#L84)
|
|
308
308
|
|
|
309
309
|
> def core
|
|
310
310
|
|
|
@@ -312,7 +312,7 @@ Instance of Appium::Core::Driver
|
|
|
312
312
|
|
|
313
313
|
--
|
|
314
314
|
|
|
315
|
-
##### [initialize](https://github.com/appium/ruby_lib/blob/
|
|
315
|
+
##### [initialize](https://github.com/appium/ruby_lib/blob/cfbbe1cea6293af012b4a696c8a8948bb277aded/lib/appium_lib/driver.rb#L148)
|
|
316
316
|
|
|
317
317
|
> def initialize(opts = {}, global_driver = nil)
|
|
318
318
|
|
|
@@ -331,7 +331,7 @@ __Returns:__
|
|
|
331
331
|
|
|
332
332
|
--
|
|
333
333
|
|
|
334
|
-
##### [driver_attributes](https://github.com/appium/ruby_lib/blob/
|
|
334
|
+
##### [driver_attributes](https://github.com/appium/ruby_lib/blob/cfbbe1cea6293af012b4a696c8a8948bb277aded/lib/appium_lib/driver.rb#L258)
|
|
335
335
|
|
|
336
336
|
> def driver_attributes
|
|
337
337
|
|
|
@@ -339,7 +339,7 @@ Returns a hash of the driver attributes
|
|
|
339
339
|
|
|
340
340
|
--
|
|
341
341
|
|
|
342
|
-
##### [device_is_android?](https://github.com/appium/ruby_lib/blob/
|
|
342
|
+
##### [device_is_android?](https://github.com/appium/ruby_lib/blob/cfbbe1cea6293af012b4a696c8a8948bb277aded/lib/appium_lib/driver.rb#L278)
|
|
343
343
|
|
|
344
344
|
> def device_is_android?
|
|
345
345
|
|
|
@@ -351,7 +351,7 @@ __Returns:__
|
|
|
351
351
|
|
|
352
352
|
--
|
|
353
353
|
|
|
354
|
-
##### [device_is_ios?](https://github.com/appium/ruby_lib/blob/
|
|
354
|
+
##### [device_is_ios?](https://github.com/appium/ruby_lib/blob/cfbbe1cea6293af012b4a696c8a8948bb277aded/lib/appium_lib/driver.rb#L282)
|
|
355
355
|
|
|
356
356
|
> def device_is_ios?
|
|
357
357
|
|
|
@@ -363,7 +363,7 @@ __Returns:__
|
|
|
363
363
|
|
|
364
364
|
--
|
|
365
365
|
|
|
366
|
-
##### [device_is_windows?](https://github.com/appium/ruby_lib/blob/
|
|
366
|
+
##### [device_is_windows?](https://github.com/appium/ruby_lib/blob/cfbbe1cea6293af012b4a696c8a8948bb277aded/lib/appium_lib/driver.rb#L286)
|
|
367
367
|
|
|
368
368
|
> def device_is_windows?
|
|
369
369
|
|
|
@@ -375,7 +375,7 @@ __Returns:__
|
|
|
375
375
|
|
|
376
376
|
--
|
|
377
377
|
|
|
378
|
-
##### [automation_name_is_uiautomator2?](https://github.com/appium/ruby_lib/blob/
|
|
378
|
+
##### [automation_name_is_uiautomator2?](https://github.com/appium/ruby_lib/blob/cfbbe1cea6293af012b4a696c8a8948bb277aded/lib/appium_lib/driver.rb#L292)
|
|
379
379
|
|
|
380
380
|
> def automation_name_is_uiautomator2?
|
|
381
381
|
|
|
@@ -387,7 +387,7 @@ __Returns:__
|
|
|
387
387
|
|
|
388
388
|
--
|
|
389
389
|
|
|
390
|
-
##### [automation_name_is_espresso?](https://github.com/appium/ruby_lib/blob/
|
|
390
|
+
##### [automation_name_is_espresso?](https://github.com/appium/ruby_lib/blob/cfbbe1cea6293af012b4a696c8a8948bb277aded/lib/appium_lib/driver.rb#L298)
|
|
391
391
|
|
|
392
392
|
> def automation_name_is_espresso?
|
|
393
393
|
|
|
@@ -399,7 +399,7 @@ __Returns:__
|
|
|
399
399
|
|
|
400
400
|
--
|
|
401
401
|
|
|
402
|
-
##### [automation_name_is_xcuitest?](https://github.com/appium/ruby_lib/blob/
|
|
402
|
+
##### [automation_name_is_xcuitest?](https://github.com/appium/ruby_lib/blob/cfbbe1cea6293af012b4a696c8a8948bb277aded/lib/appium_lib/driver.rb#L304)
|
|
403
403
|
|
|
404
404
|
> def automation_name_is_xcuitest?
|
|
405
405
|
|
|
@@ -411,7 +411,7 @@ __Returns:__
|
|
|
411
411
|
|
|
412
412
|
--
|
|
413
413
|
|
|
414
|
-
##### [dialect](https://github.com/appium/ruby_lib/blob/
|
|
414
|
+
##### [dialect](https://github.com/appium/ruby_lib/blob/cfbbe1cea6293af012b4a696c8a8948bb277aded/lib/appium_lib/driver.rb#L324)
|
|
415
415
|
|
|
416
416
|
> def dialect
|
|
417
417
|
|
|
@@ -433,7 +433,7 @@ __Returns:__
|
|
|
433
433
|
|
|
434
434
|
--
|
|
435
435
|
|
|
436
|
-
##### [check_server_version_xcuitest](https://github.com/appium/ruby_lib/blob/
|
|
436
|
+
##### [check_server_version_xcuitest](https://github.com/appium/ruby_lib/blob/cfbbe1cea6293af012b4a696c8a8948bb277aded/lib/appium_lib/driver.rb#L331)
|
|
437
437
|
|
|
438
438
|
> def check_server_version_xcuitest
|
|
439
439
|
|
|
@@ -446,7 +446,7 @@ __Returns:__
|
|
|
446
446
|
|
|
447
447
|
--
|
|
448
448
|
|
|
449
|
-
##### [appium_server_version](https://github.com/appium/ruby_lib/blob/
|
|
449
|
+
##### [appium_server_version](https://github.com/appium/ruby_lib/blob/cfbbe1cea6293af012b4a696c8a8948bb277aded/lib/appium_lib/driver.rb#L352)
|
|
450
450
|
|
|
451
451
|
> def appium_server_version
|
|
452
452
|
|
|
@@ -458,7 +458,7 @@ __Returns:__
|
|
|
458
458
|
|
|
459
459
|
--
|
|
460
460
|
|
|
461
|
-
##### [remote_status](https://github.com/appium/ruby_lib/blob/
|
|
461
|
+
##### [remote_status](https://github.com/appium/ruby_lib/blob/cfbbe1cea6293af012b4a696c8a8948bb277aded/lib/appium_lib/driver.rb#L359)
|
|
462
462
|
|
|
463
463
|
> def appium_server_version
|
|
464
464
|
|
|
@@ -470,7 +470,7 @@ __Returns:__
|
|
|
470
470
|
|
|
471
471
|
--
|
|
472
472
|
|
|
473
|
-
##### [platform_version](https://github.com/appium/ruby_lib/blob/
|
|
473
|
+
##### [platform_version](https://github.com/appium/ruby_lib/blob/cfbbe1cea6293af012b4a696c8a8948bb277aded/lib/appium_lib/driver.rb#L363)
|
|
474
474
|
|
|
475
475
|
> def platform_version
|
|
476
476
|
|
|
@@ -482,7 +482,7 @@ __Returns:__
|
|
|
482
482
|
|
|
483
483
|
--
|
|
484
484
|
|
|
485
|
-
##### [appium_client_version](https://github.com/appium/ruby_lib/blob/
|
|
485
|
+
##### [appium_client_version](https://github.com/appium/ruby_lib/blob/cfbbe1cea6293af012b4a696c8a8948bb277aded/lib/appium_lib/driver.rb#L376)
|
|
486
486
|
|
|
487
487
|
> def appium_client_version
|
|
488
488
|
|
|
@@ -494,7 +494,7 @@ __Returns:__
|
|
|
494
494
|
|
|
495
495
|
--
|
|
496
496
|
|
|
497
|
-
##### [absolute_app_path](https://github.com/appium/ruby_lib/blob/
|
|
497
|
+
##### [absolute_app_path](https://github.com/appium/ruby_lib/blob/cfbbe1cea6293af012b4a696c8a8948bb277aded/lib/appium_lib/driver.rb#L388)
|
|
498
498
|
|
|
499
499
|
> def self.absolute_app_path(opts)
|
|
500
500
|
|
|
@@ -511,7 +511,7 @@ __Returns:__
|
|
|
511
511
|
|
|
512
512
|
--
|
|
513
513
|
|
|
514
|
-
##### [server_url](https://github.com/appium/ruby_lib/blob/
|
|
514
|
+
##### [server_url](https://github.com/appium/ruby_lib/blob/cfbbe1cea6293af012b4a696c8a8948bb277aded/lib/appium_lib/driver.rb#L421)
|
|
515
515
|
|
|
516
516
|
> def server_url
|
|
517
517
|
|
|
@@ -523,7 +523,7 @@ __Returns:__
|
|
|
523
523
|
|
|
524
524
|
--
|
|
525
525
|
|
|
526
|
-
##### [restart](https://github.com/appium/ruby_lib/blob/
|
|
526
|
+
##### [restart](https://github.com/appium/ruby_lib/blob/cfbbe1cea6293af012b4a696c8a8948bb277aded/lib/appium_lib/driver.rb#L429)
|
|
527
527
|
|
|
528
528
|
> def restart
|
|
529
529
|
|
|
@@ -535,7 +535,7 @@ __Returns:__
|
|
|
535
535
|
|
|
536
536
|
--
|
|
537
537
|
|
|
538
|
-
##### [screenshot](https://github.com/appium/ruby_lib/blob/
|
|
538
|
+
##### [screenshot](https://github.com/appium/ruby_lib/blob/cfbbe1cea6293af012b4a696c8a8948bb277aded/lib/appium_lib/driver.rb#L442)
|
|
539
539
|
|
|
540
540
|
> def screenshot(png_save_path)
|
|
541
541
|
|
|
@@ -551,7 +551,7 @@ __Returns:__
|
|
|
551
551
|
|
|
552
552
|
--
|
|
553
553
|
|
|
554
|
-
##### [element_screenshot](https://github.com/appium/ruby_lib/blob/
|
|
554
|
+
##### [element_screenshot](https://github.com/appium/ruby_lib/blob/cfbbe1cea6293af012b4a696c8a8948bb277aded/lib/appium_lib/driver.rb#L456)
|
|
555
555
|
|
|
556
556
|
> def element_screenshot(element, png_save_path)
|
|
557
557
|
|
|
@@ -569,7 +569,7 @@ __Returns:__
|
|
|
569
569
|
|
|
570
570
|
--
|
|
571
571
|
|
|
572
|
-
##### [driver_quit](https://github.com/appium/ruby_lib/blob/
|
|
572
|
+
##### [driver_quit](https://github.com/appium/ruby_lib/blob/cfbbe1cea6293af012b4a696c8a8948bb277aded/lib/appium_lib/driver.rb#L463)
|
|
573
573
|
|
|
574
574
|
> def driver_quit
|
|
575
575
|
|
|
@@ -581,7 +581,7 @@ __Returns:__
|
|
|
581
581
|
|
|
582
582
|
--
|
|
583
583
|
|
|
584
|
-
##### [quit_driver](https://github.com/appium/ruby_lib/blob/
|
|
584
|
+
##### [quit_driver](https://github.com/appium/ruby_lib/blob/cfbbe1cea6293af012b4a696c8a8948bb277aded/lib/appium_lib/driver.rb#L466)
|
|
585
585
|
|
|
586
586
|
> def driver_quit
|
|
587
587
|
|
|
@@ -593,7 +593,7 @@ __Returns:__
|
|
|
593
593
|
|
|
594
594
|
--
|
|
595
595
|
|
|
596
|
-
##### [window_size](https://github.com/appium/ruby_lib/blob/
|
|
596
|
+
##### [window_size](https://github.com/appium/ruby_lib/blob/cfbbe1cea6293af012b4a696c8a8948bb277aded/lib/appium_lib/driver.rb#L477)
|
|
597
597
|
|
|
598
598
|
> def window_size
|
|
599
599
|
|
|
@@ -605,7 +605,7 @@ __Returns:__
|
|
|
605
605
|
|
|
606
606
|
--
|
|
607
607
|
|
|
608
|
-
##### [start_driver](https://github.com/appium/ruby_lib/blob/
|
|
608
|
+
##### [start_driver](https://github.com/appium/ruby_lib/blob/cfbbe1cea6293af012b4a696c8a8948bb277aded/lib/appium_lib/driver.rb#L509)
|
|
609
609
|
|
|
610
610
|
> def start_driver(http_client_ops =
|
|
611
611
|
|
|
@@ -625,7 +625,7 @@ __Returns:__
|
|
|
625
625
|
|
|
626
626
|
--
|
|
627
627
|
|
|
628
|
-
##### [set_implicit_wait](https://github.com/appium/ruby_lib/blob/
|
|
628
|
+
##### [set_implicit_wait](https://github.com/appium/ruby_lib/blob/cfbbe1cea6293af012b4a696c8a8948bb277aded/lib/appium_lib/driver.rb#L531)
|
|
629
629
|
|
|
630
630
|
> def set_implicit_wait(wait)
|
|
631
631
|
|
|
@@ -633,7 +633,7 @@ To ignore error for Espresso Driver
|
|
|
633
633
|
|
|
634
634
|
--
|
|
635
635
|
|
|
636
|
-
##### [no_wait](https://github.com/appium/ruby_lib/blob/
|
|
636
|
+
##### [no_wait](https://github.com/appium/ruby_lib/blob/cfbbe1cea6293af012b4a696c8a8948bb277aded/lib/appium_lib/driver.rb#L541)
|
|
637
637
|
|
|
638
638
|
> def no_wait
|
|
639
639
|
|
|
@@ -641,7 +641,7 @@ Set implicit wait to zero.
|
|
|
641
641
|
|
|
642
642
|
--
|
|
643
643
|
|
|
644
|
-
##### [set_wait](https://github.com/appium/ruby_lib/blob/
|
|
644
|
+
##### [set_wait](https://github.com/appium/ruby_lib/blob/cfbbe1cea6293af012b4a696c8a8948bb277aded/lib/appium_lib/driver.rb#L555)
|
|
645
645
|
|
|
646
646
|
> def set_wait(timeout = nil)
|
|
647
647
|
|
|
@@ -657,7 +657,7 @@ __Returns:__
|
|
|
657
657
|
|
|
658
658
|
--
|
|
659
659
|
|
|
660
|
-
##### [exists](https://github.com/appium/ruby_lib/blob/
|
|
660
|
+
##### [exists](https://github.com/appium/ruby_lib/blob/cfbbe1cea6293af012b4a696c8a8948bb277aded/lib/appium_lib/driver.rb#L572)
|
|
661
661
|
|
|
662
662
|
> def exists(pre_check = 0, post_check = @core.default_wait)
|
|
663
663
|
|
|
@@ -681,7 +681,7 @@ __Returns:__
|
|
|
681
681
|
|
|
682
682
|
--
|
|
683
683
|
|
|
684
|
-
##### [execute_script](https://github.com/appium/ruby_lib/blob/
|
|
684
|
+
##### [execute_script](https://github.com/appium/ruby_lib/blob/cfbbe1cea6293af012b4a696c8a8948bb277aded/lib/appium_lib/driver.rb#L596)
|
|
685
685
|
|
|
686
686
|
> def execute_script(script, *args)
|
|
687
687
|
|
|
@@ -699,7 +699,7 @@ __Returns:__
|
|
|
699
699
|
|
|
700
700
|
--
|
|
701
701
|
|
|
702
|
-
##### [find_elements](https://github.com/appium/ruby_lib/blob/
|
|
702
|
+
##### [find_elements](https://github.com/appium/ruby_lib/blob/cfbbe1cea6293af012b4a696c8a8948bb277aded/lib/appium_lib/driver.rb#L618)
|
|
703
703
|
|
|
704
704
|
> def find_elements(*args)
|
|
705
705
|
|
|
@@ -719,7 +719,7 @@ __Returns:__
|
|
|
719
719
|
|
|
720
720
|
--
|
|
721
721
|
|
|
722
|
-
##### [find_element](https://github.com/appium/ruby_lib/blob/
|
|
722
|
+
##### [find_element](https://github.com/appium/ruby_lib/blob/cfbbe1cea6293af012b4a696c8a8948bb277aded/lib/appium_lib/driver.rb#L633)
|
|
723
723
|
|
|
724
724
|
> def find_element(*args)
|
|
725
725
|
|
|
@@ -737,7 +737,7 @@ __Returns:__
|
|
|
737
737
|
|
|
738
738
|
--
|
|
739
739
|
|
|
740
|
-
##### [set_location](https://github.com/appium/ruby_lib/blob/
|
|
740
|
+
##### [set_location](https://github.com/appium/ruby_lib/blob/cfbbe1cea6293af012b4a696c8a8948bb277aded/lib/appium_lib/driver.rb#L646)
|
|
741
741
|
|
|
742
742
|
> def set_location(opts = {})
|
|
743
743
|
|
|
@@ -753,7 +753,7 @@ __Returns:__
|
|
|
753
753
|
|
|
754
754
|
--
|
|
755
755
|
|
|
756
|
-
##### [x](https://github.com/appium/ruby_lib/blob/
|
|
756
|
+
##### [x](https://github.com/appium/ruby_lib/blob/cfbbe1cea6293af012b4a696c8a8948bb277aded/lib/appium_lib/driver.rb#L656)
|
|
757
757
|
|
|
758
758
|
> def x
|
|
759
759
|
|
|
@@ -766,7 +766,7 @@ __Returns:__
|
|
|
766
766
|
|
|
767
767
|
--
|
|
768
768
|
|
|
769
|
-
##### [username](https://github.com/appium/ruby_lib/blob/
|
|
769
|
+
##### [username](https://github.com/appium/ruby_lib/blob/cfbbe1cea6293af012b4a696c8a8948bb277aded/lib/appium_lib/sauce_labs.rb#L4)
|
|
770
770
|
|
|
771
771
|
> def username
|
|
772
772
|
|
|
@@ -774,7 +774,7 @@ Username for use on Sauce Labs. Set `false` to disable Sauce, even when SAUCE_US
|
|
|
774
774
|
|
|
775
775
|
--
|
|
776
776
|
|
|
777
|
-
##### [access_key](https://github.com/appium/ruby_lib/blob/
|
|
777
|
+
##### [access_key](https://github.com/appium/ruby_lib/blob/cfbbe1cea6293af012b4a696c8a8948bb277aded/lib/appium_lib/sauce_labs.rb#L6)
|
|
778
778
|
|
|
779
779
|
> def access_key
|
|
780
780
|
|
|
@@ -782,7 +782,7 @@ Access Key for use on Sauce Labs. Set `false` to disable Sauce, even when SAUCE_
|
|
|
782
782
|
|
|
783
783
|
--
|
|
784
784
|
|
|
785
|
-
##### [endpoint](https://github.com/appium/ruby_lib/blob/
|
|
785
|
+
##### [endpoint](https://github.com/appium/ruby_lib/blob/cfbbe1cea6293af012b4a696c8a8948bb277aded/lib/appium_lib/sauce_labs.rb#L8)
|
|
786
786
|
|
|
787
787
|
> def endpoint
|
|
788
788
|
|
|
@@ -790,7 +790,7 @@ Override the Sauce Appium endpoint to allow e.g. TestObject tests. Default is 'o
|
|
|
790
790
|
|
|
791
791
|
--
|
|
792
792
|
|
|
793
|
-
##### [initialize](https://github.com/appium/ruby_lib/blob/
|
|
793
|
+
##### [initialize](https://github.com/appium/ruby_lib/blob/cfbbe1cea6293af012b4a696c8a8948bb277aded/lib/appium_lib/sauce_labs.rb#L33)
|
|
794
794
|
|
|
795
795
|
> def initialize(appium_lib_opts)
|
|
796
796
|
|
|
@@ -806,7 +806,7 @@ __Returns:__
|
|
|
806
806
|
|
|
807
807
|
--
|
|
808
808
|
|
|
809
|
-
##### [sauce_server_url?](https://github.com/appium/ruby_lib/blob/
|
|
809
|
+
##### [sauce_server_url?](https://github.com/appium/ruby_lib/blob/cfbbe1cea6293af012b4a696c8a8948bb277aded/lib/appium_lib/sauce_labs.rb#L53)
|
|
810
810
|
|
|
811
811
|
> def sauce_server_url?
|
|
812
812
|
|
|
@@ -818,7 +818,7 @@ __Returns:__
|
|
|
818
818
|
|
|
819
819
|
--
|
|
820
820
|
|
|
821
|
-
##### [server_url](https://github.com/appium/ruby_lib/blob/
|
|
821
|
+
##### [server_url](https://github.com/appium/ruby_lib/blob/cfbbe1cea6293af012b4a696c8a8948bb277aded/lib/appium_lib/sauce_labs.rb#L66)
|
|
822
822
|
|
|
823
823
|
> def server_url
|
|
824
824
|
|
|
@@ -830,7 +830,7 @@ __Returns:__
|
|
|
830
830
|
|
|
831
831
|
--
|
|
832
832
|
|
|
833
|
-
##### [get_log](https://github.com/appium/ruby_lib/blob/
|
|
833
|
+
##### [get_log](https://github.com/appium/ruby_lib/blob/cfbbe1cea6293af012b4a696c8a8948bb277aded/lib/appium_lib/common/log.rb#L11)
|
|
834
834
|
|
|
835
835
|
> def get_log(type)
|
|
836
836
|
|
|
@@ -846,7 +846,7 @@ __Returns:__
|
|
|
846
846
|
|
|
847
847
|
--
|
|
848
848
|
|
|
849
|
-
##### [get_available_log_types](https://github.com/appium/ruby_lib/blob/
|
|
849
|
+
##### [get_available_log_types](https://github.com/appium/ruby_lib/blob/cfbbe1cea6293af012b4a696c8a8948bb277aded/lib/appium_lib/common/log.rb#L23)
|
|
850
850
|
|
|
851
851
|
> def get_available_log_types
|
|
852
852
|
|
|
@@ -858,7 +858,7 @@ __Returns:__
|
|
|
858
858
|
|
|
859
859
|
--
|
|
860
860
|
|
|
861
|
-
##### [initialize](https://github.com/appium/ruby_lib/blob/
|
|
861
|
+
##### [initialize](https://github.com/appium/ruby_lib/blob/cfbbe1cea6293af012b4a696c8a8948bb277aded/lib/appium_lib/common/wait.rb#L6)
|
|
862
862
|
|
|
863
863
|
> def initialize(opts = {})
|
|
864
864
|
|
|
@@ -870,7 +870,7 @@ __Returns:__
|
|
|
870
870
|
|
|
871
871
|
--
|
|
872
872
|
|
|
873
|
-
##### [wait_true](https://github.com/appium/ruby_lib/blob/
|
|
873
|
+
##### [wait_true](https://github.com/appium/ruby_lib/blob/cfbbe1cea6293af012b4a696c8a8948bb277aded/lib/appium_lib/common/wait.rb#L26)
|
|
874
874
|
|
|
875
875
|
> def wait_true(opts = {})
|
|
876
876
|
|
|
@@ -890,7 +890,7 @@ __Parameters:__
|
|
|
890
890
|
|
|
891
891
|
--
|
|
892
892
|
|
|
893
|
-
##### [wait](https://github.com/appium/ruby_lib/blob/
|
|
893
|
+
##### [wait](https://github.com/appium/ruby_lib/blob/cfbbe1cea6293af012b4a696c8a8948bb277aded/lib/appium_lib/common/wait.rb#L43)
|
|
894
894
|
|
|
895
895
|
> def wait(opts = {})
|
|
896
896
|
|
|
@@ -908,7 +908,7 @@ __Parameters:__
|
|
|
908
908
|
|
|
909
909
|
--
|
|
910
910
|
|
|
911
|
-
##### [add_touch_actions](https://github.com/appium/ruby_lib/blob/
|
|
911
|
+
##### [add_touch_actions](https://github.com/appium/ruby_lib/blob/cfbbe1cea6293af012b4a696c8a8948bb277aded/lib/appium_lib/common/device.rb#L12)
|
|
912
912
|
|
|
913
913
|
> def add_touch_actions
|
|
914
914
|
|
|
@@ -916,7 +916,7 @@ __Parameters:__
|
|
|
916
916
|
|
|
917
917
|
--
|
|
918
918
|
|
|
919
|
-
##### [ignore](https://github.com/appium/ruby_lib/blob/
|
|
919
|
+
##### [ignore](https://github.com/appium/ruby_lib/blob/cfbbe1cea6293af012b4a696c8a8948bb277aded/lib/appium_lib/common/helper.rb#L16)
|
|
920
920
|
|
|
921
921
|
> def ignore
|
|
922
922
|
|
|
@@ -924,7 +924,7 @@ Return yield and ignore any exceptions.
|
|
|
924
924
|
|
|
925
925
|
--
|
|
926
926
|
|
|
927
|
-
##### [back](https://github.com/appium/ruby_lib/blob/
|
|
927
|
+
##### [back](https://github.com/appium/ruby_lib/blob/cfbbe1cea6293af012b4a696c8a8948bb277aded/lib/appium_lib/common/helper.rb#L23)
|
|
928
928
|
|
|
929
929
|
> def back
|
|
930
930
|
|
|
@@ -936,7 +936,7 @@ __Returns:__
|
|
|
936
936
|
|
|
937
937
|
--
|
|
938
938
|
|
|
939
|
-
##### [session_id](https://github.com/appium/ruby_lib/blob/
|
|
939
|
+
##### [session_id](https://github.com/appium/ruby_lib/blob/cfbbe1cea6293af012b4a696c8a8948bb277aded/lib/appium_lib/common/helper.rb#L34)
|
|
940
940
|
|
|
941
941
|
> def session_id
|
|
942
942
|
|
|
@@ -948,7 +948,7 @@ __Returns:__
|
|
|
948
948
|
|
|
949
949
|
--
|
|
950
950
|
|
|
951
|
-
##### [xpath](https://github.com/appium/ruby_lib/blob/
|
|
951
|
+
##### [xpath](https://github.com/appium/ruby_lib/blob/cfbbe1cea6293af012b4a696c8a8948bb277aded/lib/appium_lib/common/helper.rb#L42)
|
|
952
952
|
|
|
953
953
|
> def xpath(xpath_str)
|
|
954
954
|
|
|
@@ -964,7 +964,7 @@ __Returns:__
|
|
|
964
964
|
|
|
965
965
|
--
|
|
966
966
|
|
|
967
|
-
##### [xpaths](https://github.com/appium/ruby_lib/blob/
|
|
967
|
+
##### [xpaths](https://github.com/appium/ruby_lib/blob/cfbbe1cea6293af012b4a696c8a8948bb277aded/lib/appium_lib/common/helper.rb#L50)
|
|
968
968
|
|
|
969
969
|
> def xpaths(xpath_str)
|
|
970
970
|
|
|
@@ -980,7 +980,7 @@ __Returns:__
|
|
|
980
980
|
|
|
981
981
|
--
|
|
982
982
|
|
|
983
|
-
##### [result](https://github.com/appium/ruby_lib/blob/
|
|
983
|
+
##### [result](https://github.com/appium/ruby_lib/blob/cfbbe1cea6293af012b4a696c8a8948bb277aded/lib/appium_lib/common/helper.rb#L60)
|
|
984
984
|
|
|
985
985
|
> def result
|
|
986
986
|
|
|
@@ -988,7 +988,7 @@ Returns the value of attribute result
|
|
|
988
988
|
|
|
989
989
|
--
|
|
990
990
|
|
|
991
|
-
##### [initialize](https://github.com/appium/ruby_lib/blob/
|
|
991
|
+
##### [initialize](https://github.com/appium/ruby_lib/blob/cfbbe1cea6293af012b4a696c8a8948bb277aded/lib/appium_lib/common/helper.rb#L62)
|
|
992
992
|
|
|
993
993
|
> def initialize
|
|
994
994
|
|
|
@@ -1000,7 +1000,7 @@ __Returns:__
|
|
|
1000
1000
|
|
|
1001
1001
|
--
|
|
1002
1002
|
|
|
1003
|
-
##### [reset](https://github.com/appium/ruby_lib/blob/
|
|
1003
|
+
##### [reset](https://github.com/appium/ruby_lib/blob/cfbbe1cea6293af012b4a696c8a8948bb277aded/lib/appium_lib/common/helper.rb#L66)
|
|
1004
1004
|
|
|
1005
1005
|
> def reset
|
|
1006
1006
|
|
|
@@ -1008,7 +1008,7 @@ __Returns:__
|
|
|
1008
1008
|
|
|
1009
1009
|
--
|
|
1010
1010
|
|
|
1011
|
-
##### [start_element](https://github.com/appium/ruby_lib/blob/
|
|
1011
|
+
##### [start_element](https://github.com/appium/ruby_lib/blob/cfbbe1cea6293af012b4a696c8a8948bb277aded/lib/appium_lib/common/helper.rb#L71)
|
|
1012
1012
|
|
|
1013
1013
|
> def start_element(name, attrs = [], driver = $driver)
|
|
1014
1014
|
|
|
@@ -1016,7 +1016,7 @@ http://nokogiri.org/Nokogiri/XML/SAX/Document.html
|
|
|
1016
1016
|
|
|
1017
1017
|
--
|
|
1018
1018
|
|
|
1019
|
-
##### [formatted_result](https://github.com/appium/ruby_lib/blob/
|
|
1019
|
+
##### [formatted_result](https://github.com/appium/ruby_lib/blob/cfbbe1cea6293af012b4a696c8a8948bb277aded/lib/appium_lib/common/helper.rb#L77)
|
|
1020
1020
|
|
|
1021
1021
|
> def formatted_result
|
|
1022
1022
|
|
|
@@ -1024,7 +1024,7 @@ http://nokogiri.org/Nokogiri/XML/SAX/Document.html
|
|
|
1024
1024
|
|
|
1025
1025
|
--
|
|
1026
1026
|
|
|
1027
|
-
##### [get_page_class](https://github.com/appium/ruby_lib/blob/
|
|
1027
|
+
##### [get_page_class](https://github.com/appium/ruby_lib/blob/cfbbe1cea6293af012b4a696c8a8948bb277aded/lib/appium_lib/common/helper.rb#L96)
|
|
1028
1028
|
|
|
1029
1029
|
> def get_page_class
|
|
1030
1030
|
|
|
@@ -1036,7 +1036,7 @@ __Returns:__
|
|
|
1036
1036
|
|
|
1037
1037
|
--
|
|
1038
1038
|
|
|
1039
|
-
##### [page_class](https://github.com/appium/ruby_lib/blob/
|
|
1039
|
+
##### [page_class](https://github.com/appium/ruby_lib/blob/cfbbe1cea6293af012b4a696c8a8948bb277aded/lib/appium_lib/common/helper.rb#L121)
|
|
1040
1040
|
|
|
1041
1041
|
> def page_class
|
|
1042
1042
|
|
|
@@ -1049,7 +1049,7 @@ __Returns:__
|
|
|
1049
1049
|
|
|
1050
1050
|
--
|
|
1051
1051
|
|
|
1052
|
-
##### [source](https://github.com/appium/ruby_lib/blob/
|
|
1052
|
+
##### [source](https://github.com/appium/ruby_lib/blob/cfbbe1cea6293af012b4a696c8a8948bb277aded/lib/appium_lib/common/helper.rb#L128)
|
|
1053
1053
|
|
|
1054
1054
|
> def source
|
|
1055
1055
|
|
|
@@ -1061,7 +1061,7 @@ __Returns:__
|
|
|
1061
1061
|
|
|
1062
1062
|
--
|
|
1063
1063
|
|
|
1064
|
-
##### [get_source](https://github.com/appium/ruby_lib/blob/
|
|
1064
|
+
##### [get_source](https://github.com/appium/ruby_lib/blob/cfbbe1cea6293af012b4a696c8a8948bb277aded/lib/appium_lib/common/helper.rb#L135)
|
|
1065
1065
|
|
|
1066
1066
|
> def get_source
|
|
1067
1067
|
|
|
@@ -1074,7 +1074,7 @@ __Returns:__
|
|
|
1074
1074
|
|
|
1075
1075
|
--
|
|
1076
1076
|
|
|
1077
|
-
##### [px_to_window_rel](https://github.com/appium/ruby_lib/blob/
|
|
1077
|
+
##### [px_to_window_rel](https://github.com/appium/ruby_lib/blob/cfbbe1cea6293af012b4a696c8a8948bb277aded/lib/appium_lib/common/helper.rb#L145)
|
|
1078
1078
|
|
|
1079
1079
|
> def px_to_window_rel(opts = {}, driver = $driver)
|
|
1080
1080
|
|
|
@@ -1082,7 +1082,7 @@ Converts pixel values to window relative values
|
|
|
1082
1082
|
|
|
1083
1083
|
--
|
|
1084
1084
|
|
|
1085
|
-
##### [xml_keys](https://github.com/appium/ruby_lib/blob/
|
|
1085
|
+
##### [xml_keys](https://github.com/appium/ruby_lib/blob/cfbbe1cea6293af012b4a696c8a8948bb277aded/lib/appium_lib/common/helper.rb#L164)
|
|
1086
1086
|
|
|
1087
1087
|
> def xml_keys(target)
|
|
1088
1088
|
|
|
@@ -1098,7 +1098,7 @@ __Returns:__
|
|
|
1098
1098
|
|
|
1099
1099
|
--
|
|
1100
1100
|
|
|
1101
|
-
##### [xml_values](https://github.com/appium/ruby_lib/blob/
|
|
1101
|
+
##### [xml_values](https://github.com/appium/ruby_lib/blob/cfbbe1cea6293af012b4a696c8a8948bb277aded/lib/appium_lib/common/helper.rb#L172)
|
|
1102
1102
|
|
|
1103
1103
|
> def xml_values(target)
|
|
1104
1104
|
|
|
@@ -1114,7 +1114,7 @@ __Returns:__
|
|
|
1114
1114
|
|
|
1115
1115
|
--
|
|
1116
1116
|
|
|
1117
|
-
##### [resolve_id](https://github.com/appium/ruby_lib/blob/
|
|
1117
|
+
##### [resolve_id](https://github.com/appium/ruby_lib/blob/cfbbe1cea6293af012b4a696c8a8948bb277aded/lib/appium_lib/common/helper.rb#L180)
|
|
1118
1118
|
|
|
1119
1119
|
> def resolve_id(id)
|
|
1120
1120
|
|
|
@@ -1130,7 +1130,7 @@ __Returns:__
|
|
|
1130
1130
|
|
|
1131
1131
|
--
|
|
1132
1132
|
|
|
1133
|
-
##### [filter](https://github.com/appium/ruby_lib/blob/
|
|
1133
|
+
##### [filter](https://github.com/appium/ruby_lib/blob/cfbbe1cea6293af012b4a696c8a8948bb277aded/lib/appium_lib/common/helper.rb#L187)
|
|
1134
1134
|
|
|
1135
1135
|
> def filter
|
|
1136
1136
|
|
|
@@ -1138,7 +1138,7 @@ Returns the value of attribute filter
|
|
|
1138
1138
|
|
|
1139
1139
|
--
|
|
1140
1140
|
|
|
1141
|
-
##### [filter=](https://github.com/appium/ruby_lib/blob/
|
|
1141
|
+
##### [filter=](https://github.com/appium/ruby_lib/blob/cfbbe1cea6293af012b4a696c8a8948bb277aded/lib/appium_lib/common/helper.rb#L190)
|
|
1142
1142
|
|
|
1143
1143
|
> def filter=(value)
|
|
1144
1144
|
|
|
@@ -1146,7 +1146,7 @@ convert to string to support symbols
|
|
|
1146
1146
|
|
|
1147
1147
|
--
|
|
1148
1148
|
|
|
1149
|
-
##### [initialize](https://github.com/appium/ruby_lib/blob/
|
|
1149
|
+
##### [initialize](https://github.com/appium/ruby_lib/blob/cfbbe1cea6293af012b4a696c8a8948bb277aded/lib/appium_lib/common/helper.rb#L196)
|
|
1150
1150
|
|
|
1151
1151
|
> def initialize
|
|
1152
1152
|
|
|
@@ -1158,7 +1158,7 @@ __Returns:__
|
|
|
1158
1158
|
|
|
1159
1159
|
--
|
|
1160
1160
|
|
|
1161
|
-
##### [reset](https://github.com/appium/ruby_lib/blob/
|
|
1161
|
+
##### [reset](https://github.com/appium/ruby_lib/blob/cfbbe1cea6293af012b4a696c8a8948bb277aded/lib/appium_lib/common/helper.rb#L201)
|
|
1162
1162
|
|
|
1163
1163
|
> def reset
|
|
1164
1164
|
|
|
@@ -1166,7 +1166,7 @@ __Returns:__
|
|
|
1166
1166
|
|
|
1167
1167
|
--
|
|
1168
1168
|
|
|
1169
|
-
##### [result](https://github.com/appium/ruby_lib/blob/
|
|
1169
|
+
##### [result](https://github.com/appium/ruby_lib/blob/cfbbe1cea6293af012b4a696c8a8948bb277aded/lib/appium_lib/common/helper.rb#L207)
|
|
1170
1170
|
|
|
1171
1171
|
> def result
|
|
1172
1172
|
|
|
@@ -1174,7 +1174,7 @@ __Returns:__
|
|
|
1174
1174
|
|
|
1175
1175
|
--
|
|
1176
1176
|
|
|
1177
|
-
##### [start_element](https://github.com/appium/ruby_lib/blob/
|
|
1177
|
+
##### [start_element](https://github.com/appium/ruby_lib/blob/cfbbe1cea6293af012b4a696c8a8948bb277aded/lib/appium_lib/common/helper.rb#L223)
|
|
1178
1178
|
|
|
1179
1179
|
> def start_element(name, attrs = [])
|
|
1180
1180
|
|
|
@@ -1182,7 +1182,7 @@ __Returns:__
|
|
|
1182
1182
|
|
|
1183
1183
|
--
|
|
1184
1184
|
|
|
1185
|
-
##### [end_element](https://github.com/appium/ruby_lib/blob/
|
|
1185
|
+
##### [end_element](https://github.com/appium/ruby_lib/blob/cfbbe1cea6293af012b4a696c8a8948bb277aded/lib/appium_lib/common/helper.rb#L232)
|
|
1186
1186
|
|
|
1187
1187
|
> def end_element(name)
|
|
1188
1188
|
|
|
@@ -1190,7 +1190,7 @@ __Returns:__
|
|
|
1190
1190
|
|
|
1191
1191
|
--
|
|
1192
1192
|
|
|
1193
|
-
##### [characters](https://github.com/appium/ruby_lib/blob/
|
|
1193
|
+
##### [characters](https://github.com/appium/ruby_lib/blob/cfbbe1cea6293af012b4a696c8a8948bb277aded/lib/appium_lib/common/helper.rb#L238)
|
|
1194
1194
|
|
|
1195
1195
|
> def characters(chars)
|
|
1196
1196
|
|
|
@@ -1198,7 +1198,7 @@ __Returns:__
|
|
|
1198
1198
|
|
|
1199
1199
|
--
|
|
1200
1200
|
|
|
1201
|
-
##### [DEFAULT_HEADERS](https://github.com/appium/ruby_lib/blob/
|
|
1201
|
+
##### [DEFAULT_HEADERS](https://github.com/appium/ruby_lib/blob/cfbbe1cea6293af012b4a696c8a8948bb277aded/lib/appium_lib/common/http_client.rb#L8)
|
|
1202
1202
|
|
|
1203
1203
|
> DEFAULT_HEADERS = { 'Accept' => CONTENT_TYPE, 'User-Agent' => "appium/ruby_lib/#{::Appium::VERSION}" }.freeze
|
|
1204
1204
|
|
|
@@ -1206,7 +1206,7 @@ Default HTTP client inherit Appium::Core::Base::Http::Default, but has different
|
|
|
1206
1206
|
|
|
1207
1207
|
--
|
|
1208
1208
|
|
|
1209
|
-
##### [pinch](https://github.com/appium/ruby_lib/blob/
|
|
1209
|
+
##### [pinch](https://github.com/appium/ruby_lib/blob/cfbbe1cea6293af012b4a696c8a8948bb277aded/lib/appium_lib/common/multi_touch.rb#L51)
|
|
1210
1210
|
|
|
1211
1211
|
> def pinch(percentage = 25, auto_perform = true, driver = $driver)
|
|
1212
1212
|
|
|
@@ -1226,7 +1226,7 @@ __Parameters:__
|
|
|
1226
1226
|
|
|
1227
1227
|
--
|
|
1228
1228
|
|
|
1229
|
-
##### [zoom](https://github.com/appium/ruby_lib/blob/
|
|
1229
|
+
##### [zoom](https://github.com/appium/ruby_lib/blob/cfbbe1cea6293af012b4a696c8a8948bb277aded/lib/appium_lib/common/multi_touch.rb#L95)
|
|
1230
1230
|
|
|
1231
1231
|
> def zoom(percentage = 200, auto_perform = true, driver = $driver)
|
|
1232
1232
|
|
|
@@ -1246,7 +1246,7 @@ __Parameters:__
|
|
|
1246
1246
|
|
|
1247
1247
|
--
|
|
1248
1248
|
|
|
1249
|
-
##### [initialize](https://github.com/appium/ruby_lib/blob/
|
|
1249
|
+
##### [initialize](https://github.com/appium/ruby_lib/blob/cfbbe1cea6293af012b4a696c8a8948bb277aded/lib/appium_lib/common/multi_touch.rb#L216)
|
|
1250
1250
|
|
|
1251
1251
|
> def initialize(driver = $driver)
|
|
1252
1252
|
|
|
@@ -1258,7 +1258,7 @@ __Returns:__
|
|
|
1258
1258
|
|
|
1259
1259
|
--
|
|
1260
1260
|
|
|
1261
|
-
##### [COMPLEX_ACTIONS](https://github.com/appium/ruby_lib/blob/
|
|
1261
|
+
##### [COMPLEX_ACTIONS](https://github.com/appium/ruby_lib/blob/cfbbe1cea6293af012b4a696c8a8948bb277aded/lib/appium_lib/common/touch_actions.rb#L33)
|
|
1262
1262
|
|
|
1263
1263
|
> COMPLEX_ACTIONS = ::Appium::Core::TouchAction::COMPLEX_ACTIONS
|
|
1264
1264
|
|
|
@@ -1266,7 +1266,7 @@ __Returns:__
|
|
|
1266
1266
|
|
|
1267
1267
|
--
|
|
1268
1268
|
|
|
1269
|
-
##### [initialize](https://github.com/appium/ruby_lib/blob/
|
|
1269
|
+
##### [initialize](https://github.com/appium/ruby_lib/blob/cfbbe1cea6293af012b4a696c8a8948bb277aded/lib/appium_lib/common/touch_actions.rb#L47)
|
|
1270
1270
|
|
|
1271
1271
|
> def initialize(driver = $driver)
|
|
1272
1272
|
|
|
@@ -1278,7 +1278,7 @@ __Returns:__
|
|
|
1278
1278
|
|
|
1279
1279
|
--
|
|
1280
1280
|
|
|
1281
|
-
##### [swipe](https://github.com/appium/ruby_lib/blob/
|
|
1281
|
+
##### [swipe](https://github.com/appium/ruby_lib/blob/cfbbe1cea6293af012b4a696c8a8948bb277aded/lib/appium_lib/common/touch_actions.rb#L51)
|
|
1282
1282
|
|
|
1283
1283
|
> def swipe(opts, ele = nil)
|
|
1284
1284
|
|
|
@@ -1286,7 +1286,7 @@ __Returns:__
|
|
|
1286
1286
|
|
|
1287
1287
|
--
|
|
1288
1288
|
|
|
1289
|
-
##### [for](https://github.com/appium/ruby_lib/blob/
|
|
1289
|
+
##### [for](https://github.com/appium/ruby_lib/blob/cfbbe1cea6293af012b4a696c8a8948bb277aded/lib/appium_lib/ios/ios.rb#L15) ios
|
|
1290
1290
|
|
|
1291
1291
|
> def self.for(target)
|
|
1292
1292
|
|
|
@@ -1294,7 +1294,7 @@ __Returns:__
|
|
|
1294
1294
|
|
|
1295
1295
|
--
|
|
1296
1296
|
|
|
1297
|
-
##### [UIAStaticText](https://github.com/appium/ruby_lib/blob/
|
|
1297
|
+
##### [UIAStaticText](https://github.com/appium/ruby_lib/blob/cfbbe1cea6293af012b4a696c8a8948bb277aded/lib/appium_lib/ios/element/text.rb#L4) ios
|
|
1298
1298
|
|
|
1299
1299
|
> UIAStaticText = 'UIAStaticText'.freeze
|
|
1300
1300
|
|
|
@@ -1302,7 +1302,7 @@ __Returns:__
|
|
|
1302
1302
|
|
|
1303
1303
|
--
|
|
1304
1304
|
|
|
1305
|
-
##### [XCUIElementTypeStaticText](https://github.com/appium/ruby_lib/blob/
|
|
1305
|
+
##### [XCUIElementTypeStaticText](https://github.com/appium/ruby_lib/blob/cfbbe1cea6293af012b4a696c8a8948bb277aded/lib/appium_lib/ios/element/text.rb#L5) ios
|
|
1306
1306
|
|
|
1307
1307
|
> XCUIElementTypeStaticText = 'XCUIElementTypeStaticText'.freeze
|
|
1308
1308
|
|
|
@@ -1310,7 +1310,7 @@ __Returns:__
|
|
|
1310
1310
|
|
|
1311
1311
|
--
|
|
1312
1312
|
|
|
1313
|
-
##### [static_text_class](https://github.com/appium/ruby_lib/blob/
|
|
1313
|
+
##### [static_text_class](https://github.com/appium/ruby_lib/blob/cfbbe1cea6293af012b4a696c8a8948bb277aded/lib/appium_lib/ios/element/text.rb#L8) ios
|
|
1314
1314
|
|
|
1315
1315
|
> def static_text_class
|
|
1316
1316
|
|
|
@@ -1322,7 +1322,7 @@ __Returns:__
|
|
|
1322
1322
|
|
|
1323
1323
|
--
|
|
1324
1324
|
|
|
1325
|
-
##### [text](https://github.com/appium/ruby_lib/blob/
|
|
1325
|
+
##### [text](https://github.com/appium/ruby_lib/blob/cfbbe1cea6293af012b4a696c8a8948bb277aded/lib/appium_lib/ios/element/text.rb#L16) ios
|
|
1326
1326
|
|
|
1327
1327
|
> def text(value)
|
|
1328
1328
|
|
|
@@ -1339,7 +1339,7 @@ __Returns:__
|
|
|
1339
1339
|
|
|
1340
1340
|
--
|
|
1341
1341
|
|
|
1342
|
-
##### [texts](https://github.com/appium/ruby_lib/blob/
|
|
1342
|
+
##### [texts](https://github.com/appium/ruby_lib/blob/cfbbe1cea6293af012b4a696c8a8948bb277aded/lib/appium_lib/ios/element/text.rb#L25) ios
|
|
1343
1343
|
|
|
1344
1344
|
> def texts(value = false)
|
|
1345
1345
|
|
|
@@ -1356,7 +1356,7 @@ __Returns:__
|
|
|
1356
1356
|
|
|
1357
1357
|
--
|
|
1358
1358
|
|
|
1359
|
-
##### [first_text](https://github.com/appium/ruby_lib/blob/
|
|
1359
|
+
##### [first_text](https://github.com/appium/ruby_lib/blob/cfbbe1cea6293af012b4a696c8a8948bb277aded/lib/appium_lib/ios/element/text.rb#L32) ios
|
|
1360
1360
|
|
|
1361
1361
|
> def first_text
|
|
1362
1362
|
|
|
@@ -1368,7 +1368,7 @@ __Returns:__
|
|
|
1368
1368
|
|
|
1369
1369
|
--
|
|
1370
1370
|
|
|
1371
|
-
##### [last_text](https://github.com/appium/ruby_lib/blob/
|
|
1371
|
+
##### [last_text](https://github.com/appium/ruby_lib/blob/cfbbe1cea6293af012b4a696c8a8948bb277aded/lib/appium_lib/ios/element/text.rb#L38) ios
|
|
1372
1372
|
|
|
1373
1373
|
> def last_text
|
|
1374
1374
|
|
|
@@ -1380,7 +1380,7 @@ __Returns:__
|
|
|
1380
1380
|
|
|
1381
1381
|
--
|
|
1382
1382
|
|
|
1383
|
-
##### [text_exact](https://github.com/appium/ruby_lib/blob/
|
|
1383
|
+
##### [text_exact](https://github.com/appium/ruby_lib/blob/cfbbe1cea6293af012b4a696c8a8948bb277aded/lib/appium_lib/ios/element/text.rb#L45) ios
|
|
1384
1384
|
|
|
1385
1385
|
> def text_exact(value)
|
|
1386
1386
|
|
|
@@ -1396,7 +1396,7 @@ __Returns:__
|
|
|
1396
1396
|
|
|
1397
1397
|
--
|
|
1398
1398
|
|
|
1399
|
-
##### [texts_exact](https://github.com/appium/ruby_lib/blob/
|
|
1399
|
+
##### [texts_exact](https://github.com/appium/ruby_lib/blob/cfbbe1cea6293af012b4a696c8a8948bb277aded/lib/appium_lib/ios/element/text.rb#L52) ios
|
|
1400
1400
|
|
|
1401
1401
|
> def texts_exact(value)
|
|
1402
1402
|
|
|
@@ -1412,7 +1412,7 @@ __Returns:__
|
|
|
1412
1412
|
|
|
1413
1413
|
--
|
|
1414
1414
|
|
|
1415
|
-
##### [filter](https://github.com/appium/ruby_lib/blob/
|
|
1415
|
+
##### [filter](https://github.com/appium/ruby_lib/blob/cfbbe1cea6293af012b4a696c8a8948bb277aded/lib/appium_lib/ios/common/helper.rb#L5) ios
|
|
1416
1416
|
|
|
1417
1417
|
> def filter
|
|
1418
1418
|
|
|
@@ -1420,7 +1420,7 @@ Returns the value of attribute filter
|
|
|
1420
1420
|
|
|
1421
1421
|
--
|
|
1422
1422
|
|
|
1423
|
-
##### [filter=](https://github.com/appium/ruby_lib/blob/
|
|
1423
|
+
##### [filter=](https://github.com/appium/ruby_lib/blob/cfbbe1cea6293af012b4a696c8a8948bb277aded/lib/appium_lib/ios/common/helper.rb#L5) ios
|
|
1424
1424
|
|
|
1425
1425
|
> def filter=(value)
|
|
1426
1426
|
|
|
@@ -1432,7 +1432,7 @@ __Parameters:__
|
|
|
1432
1432
|
|
|
1433
1433
|
--
|
|
1434
1434
|
|
|
1435
|
-
##### [start_element](https://github.com/appium/ruby_lib/blob/
|
|
1435
|
+
##### [start_element](https://github.com/appium/ruby_lib/blob/cfbbe1cea6293af012b4a696c8a8948bb277aded/lib/appium_lib/ios/common/helper.rb#L7) ios
|
|
1436
1436
|
|
|
1437
1437
|
> def start_element(type, attrs = [])
|
|
1438
1438
|
|
|
@@ -1440,7 +1440,7 @@ __Parameters:__
|
|
|
1440
1440
|
|
|
1441
1441
|
--
|
|
1442
1442
|
|
|
1443
|
-
##### [ios_password](https://github.com/appium/ruby_lib/blob/
|
|
1443
|
+
##### [ios_password](https://github.com/appium/ruby_lib/blob/cfbbe1cea6293af012b4a696c8a8948bb277aded/lib/appium_lib/ios/common/helper.rb#L44) ios
|
|
1444
1444
|
|
|
1445
1445
|
> def ios_password(length = 1)
|
|
1446
1446
|
|
|
@@ -1458,7 +1458,7 @@ __Returns:__
|
|
|
1458
1458
|
|
|
1459
1459
|
--
|
|
1460
1460
|
|
|
1461
|
-
##### [page](https://github.com/appium/ruby_lib/blob/
|
|
1461
|
+
##### [page](https://github.com/appium/ruby_lib/blob/cfbbe1cea6293af012b4a696c8a8948bb277aded/lib/appium_lib/ios/common/helper.rb#L60) ios
|
|
1462
1462
|
|
|
1463
1463
|
> def page(opts = {})
|
|
1464
1464
|
|
|
@@ -1476,7 +1476,7 @@ __Returns:__
|
|
|
1476
1476
|
|
|
1477
1477
|
--
|
|
1478
1478
|
|
|
1479
|
-
##### [id](https://github.com/appium/ruby_lib/blob/
|
|
1479
|
+
##### [id](https://github.com/appium/ruby_lib/blob/cfbbe1cea6293af012b4a696c8a8948bb277aded/lib/appium_lib/ios/common/helper.rb#L85) ios
|
|
1480
1480
|
|
|
1481
1481
|
> def id(id)
|
|
1482
1482
|
|
|
@@ -1492,7 +1492,7 @@ __Returns:__
|
|
|
1492
1492
|
|
|
1493
1493
|
--
|
|
1494
1494
|
|
|
1495
|
-
##### [ele_index](https://github.com/appium/ruby_lib/blob/
|
|
1495
|
+
##### [ele_index](https://github.com/appium/ruby_lib/blob/cfbbe1cea6293af012b4a696c8a8948bb277aded/lib/appium_lib/ios/common/helper.rb#L93) ios
|
|
1496
1496
|
|
|
1497
1497
|
> def ele_index(class_name, index)
|
|
1498
1498
|
|
|
@@ -1510,7 +1510,7 @@ __Returns:__
|
|
|
1510
1510
|
|
|
1511
1511
|
--
|
|
1512
1512
|
|
|
1513
|
-
##### [find_ele_by_attr](https://github.com/appium/ruby_lib/blob/
|
|
1513
|
+
##### [find_ele_by_attr](https://github.com/appium/ruby_lib/blob/cfbbe1cea6293af012b4a696c8a8948bb277aded/lib/appium_lib/ios/common/helper.rb#L121) ios
|
|
1514
1514
|
|
|
1515
1515
|
> def find_ele_by_attr(class_name, attr, value)
|
|
1516
1516
|
|
|
@@ -1532,7 +1532,7 @@ __Returns:__
|
|
|
1532
1532
|
|
|
1533
1533
|
--
|
|
1534
1534
|
|
|
1535
|
-
##### [find_eles_by_attr](https://github.com/appium/ruby_lib/blob/
|
|
1535
|
+
##### [find_eles_by_attr](https://github.com/appium/ruby_lib/blob/cfbbe1cea6293af012b4a696c8a8948bb277aded/lib/appium_lib/ios/common/helper.rb#L132) ios
|
|
1536
1536
|
|
|
1537
1537
|
> def find_eles_by_attr(class_name, attr, value)
|
|
1538
1538
|
|
|
@@ -1554,7 +1554,7 @@ __Returns:__
|
|
|
1554
1554
|
|
|
1555
1555
|
--
|
|
1556
1556
|
|
|
1557
|
-
##### [find_ele_by_predicate](https://github.com/appium/ruby_lib/blob/
|
|
1557
|
+
##### [find_ele_by_predicate](https://github.com/appium/ruby_lib/blob/cfbbe1cea6293af012b4a696c8a8948bb277aded/lib/appium_lib/ios/common/helper.rb#L145) ios
|
|
1558
1558
|
|
|
1559
1559
|
> def find_ele_by_predicate(class_name: '*', value:)
|
|
1560
1560
|
|
|
@@ -1571,7 +1571,7 @@ __Returns:__
|
|
|
1571
1571
|
|
|
1572
1572
|
--
|
|
1573
1573
|
|
|
1574
|
-
##### [find_eles_by_predicate](https://github.com/appium/ruby_lib/blob/
|
|
1574
|
+
##### [find_eles_by_predicate](https://github.com/appium/ruby_lib/blob/cfbbe1cea6293af012b4a696c8a8948bb277aded/lib/appium_lib/ios/common/helper.rb#L156) ios
|
|
1575
1575
|
|
|
1576
1576
|
> def find_eles_by_predicate(class_name: '*', value:)
|
|
1577
1577
|
|
|
@@ -1590,7 +1590,7 @@ __Returns:__
|
|
|
1590
1590
|
|
|
1591
1591
|
--
|
|
1592
1592
|
|
|
1593
|
-
##### [find_ele_by_attr_include](https://github.com/appium/ruby_lib/blob/
|
|
1593
|
+
##### [find_ele_by_attr_include](https://github.com/appium/ruby_lib/blob/cfbbe1cea6293af012b4a696c8a8948bb277aded/lib/appium_lib/ios/common/helper.rb#L172) ios
|
|
1594
1594
|
|
|
1595
1595
|
> def find_ele_by_attr_include(class_name, attr, value)
|
|
1596
1596
|
|
|
@@ -1611,7 +1611,7 @@ __Returns:__
|
|
|
1611
1611
|
|
|
1612
1612
|
--
|
|
1613
1613
|
|
|
1614
|
-
##### [find_eles_by_attr_include](https://github.com/appium/ruby_lib/blob/
|
|
1614
|
+
##### [find_eles_by_attr_include](https://github.com/appium/ruby_lib/blob/cfbbe1cea6293af012b4a696c8a8948bb277aded/lib/appium_lib/ios/common/helper.rb#L182) ios
|
|
1615
1615
|
|
|
1616
1616
|
> def find_eles_by_attr_include(class_name, attr, value)
|
|
1617
1617
|
|
|
@@ -1632,7 +1632,7 @@ __Returns:__
|
|
|
1632
1632
|
|
|
1633
1633
|
--
|
|
1634
1634
|
|
|
1635
|
-
##### [find_ele_by_predicate_include](https://github.com/appium/ruby_lib/blob/
|
|
1635
|
+
##### [find_ele_by_predicate_include](https://github.com/appium/ruby_lib/blob/cfbbe1cea6293af012b4a696c8a8948bb277aded/lib/appium_lib/ios/common/helper.rb#L190) ios
|
|
1636
1636
|
|
|
1637
1637
|
> def find_ele_by_predicate_include(class_name: '*', value:)
|
|
1638
1638
|
|
|
@@ -1649,7 +1649,7 @@ __Returns:__
|
|
|
1649
1649
|
|
|
1650
1650
|
--
|
|
1651
1651
|
|
|
1652
|
-
##### [find_eles_by_predicate_include](https://github.com/appium/ruby_lib/blob/
|
|
1652
|
+
##### [find_eles_by_predicate_include](https://github.com/appium/ruby_lib/blob/cfbbe1cea6293af012b4a696c8a8948bb277aded/lib/appium_lib/ios/common/helper.rb#L201) ios
|
|
1653
1653
|
|
|
1654
1654
|
> def find_eles_by_predicate_include(class_name: '*', value:)
|
|
1655
1655
|
|
|
@@ -1668,7 +1668,7 @@ __Returns:__
|
|
|
1668
1668
|
|
|
1669
1669
|
--
|
|
1670
1670
|
|
|
1671
|
-
##### [first_ele](https://github.com/appium/ruby_lib/blob/
|
|
1671
|
+
##### [first_ele](https://github.com/appium/ruby_lib/blob/cfbbe1cea6293af012b4a696c8a8948bb277aded/lib/appium_lib/ios/common/helper.rb#L214) ios
|
|
1672
1672
|
|
|
1673
1673
|
> def first_ele(class_name)
|
|
1674
1674
|
|
|
@@ -1684,7 +1684,7 @@ __Returns:__
|
|
|
1684
1684
|
|
|
1685
1685
|
--
|
|
1686
1686
|
|
|
1687
|
-
##### [last_ele](https://github.com/appium/ruby_lib/blob/
|
|
1687
|
+
##### [last_ele](https://github.com/appium/ruby_lib/blob/cfbbe1cea6293af012b4a696c8a8948bb277aded/lib/appium_lib/ios/common/helper.rb#L221) ios
|
|
1688
1688
|
|
|
1689
1689
|
> def last_ele(class_name)
|
|
1690
1690
|
|
|
@@ -1700,7 +1700,7 @@ __Returns:__
|
|
|
1700
1700
|
|
|
1701
1701
|
--
|
|
1702
1702
|
|
|
1703
|
-
##### [tag](https://github.com/appium/ruby_lib/blob/
|
|
1703
|
+
##### [tag](https://github.com/appium/ruby_lib/blob/cfbbe1cea6293af012b4a696c8a8948bb277aded/lib/appium_lib/ios/common/helper.rb#L229) ios
|
|
1704
1704
|
|
|
1705
1705
|
> def tag(class_name)
|
|
1706
1706
|
|
|
@@ -1716,7 +1716,7 @@ __Returns:__
|
|
|
1716
1716
|
|
|
1717
1717
|
--
|
|
1718
1718
|
|
|
1719
|
-
##### [tags](https://github.com/appium/ruby_lib/blob/
|
|
1719
|
+
##### [tags](https://github.com/appium/ruby_lib/blob/cfbbe1cea6293af012b4a696c8a8948bb277aded/lib/appium_lib/ios/common/helper.rb#L237) ios
|
|
1720
1720
|
|
|
1721
1721
|
> def tags(class_name)
|
|
1722
1722
|
|
|
@@ -1732,7 +1732,7 @@ __Returns:__
|
|
|
1732
1732
|
|
|
1733
1733
|
--
|
|
1734
1734
|
|
|
1735
|
-
##### [tags_include](https://github.com/appium/ruby_lib/blob/
|
|
1735
|
+
##### [tags_include](https://github.com/appium/ruby_lib/blob/cfbbe1cea6293af012b4a696c8a8948bb277aded/lib/appium_lib/ios/common/helper.rb#L248) ios
|
|
1736
1736
|
|
|
1737
1737
|
> def tags_include(class_names:, value: nil)
|
|
1738
1738
|
|
|
@@ -1752,7 +1752,7 @@ __Returns:__
|
|
|
1752
1752
|
|
|
1753
1753
|
--
|
|
1754
1754
|
|
|
1755
|
-
##### [tags_exact](https://github.com/appium/ruby_lib/blob/
|
|
1755
|
+
##### [tags_exact](https://github.com/appium/ruby_lib/blob/cfbbe1cea6293af012b4a696c8a8948bb277aded/lib/appium_lib/ios/common/helper.rb#L263) ios
|
|
1756
1756
|
|
|
1757
1757
|
> def tags_exact(class_names:, value: nil)
|
|
1758
1758
|
|
|
@@ -1772,7 +1772,7 @@ __Returns:__
|
|
|
1772
1772
|
|
|
1773
1773
|
--
|
|
1774
1774
|
|
|
1775
|
-
##### [ele_by_json_visible_contains](https://github.com/appium/ruby_lib/blob/
|
|
1775
|
+
##### [ele_by_json_visible_contains](https://github.com/appium/ruby_lib/blob/cfbbe1cea6293af012b4a696c8a8948bb277aded/lib/appium_lib/ios/common/helper.rb#L300) ios
|
|
1776
1776
|
|
|
1777
1777
|
> def ele_by_json_visible_contains(element, value)
|
|
1778
1778
|
|
|
@@ -1791,7 +1791,7 @@ __Returns:__
|
|
|
1791
1791
|
|
|
1792
1792
|
--
|
|
1793
1793
|
|
|
1794
|
-
##### [eles_by_json_visible_contains](https://github.com/appium/ruby_lib/blob/
|
|
1794
|
+
##### [eles_by_json_visible_contains](https://github.com/appium/ruby_lib/blob/cfbbe1cea6293af012b4a696c8a8948bb277aded/lib/appium_lib/ios/common/helper.rb#L309) ios
|
|
1795
1795
|
|
|
1796
1796
|
> def eles_by_json_visible_contains(element, value)
|
|
1797
1797
|
|
|
@@ -1810,7 +1810,7 @@ __Returns:__
|
|
|
1810
1810
|
|
|
1811
1811
|
--
|
|
1812
1812
|
|
|
1813
|
-
##### [ele_by_json_visible_exact](https://github.com/appium/ruby_lib/blob/
|
|
1813
|
+
##### [ele_by_json_visible_exact](https://github.com/appium/ruby_lib/blob/cfbbe1cea6293af012b4a696c8a8948bb277aded/lib/appium_lib/ios/common/helper.rb#L339) ios
|
|
1814
1814
|
|
|
1815
1815
|
> def ele_by_json_visible_exact(element, value)
|
|
1816
1816
|
|
|
@@ -1829,7 +1829,7 @@ __Returns:__
|
|
|
1829
1829
|
|
|
1830
1830
|
--
|
|
1831
1831
|
|
|
1832
|
-
##### [eles_by_json_visible_exact](https://github.com/appium/ruby_lib/blob/
|
|
1832
|
+
##### [eles_by_json_visible_exact](https://github.com/appium/ruby_lib/blob/cfbbe1cea6293af012b4a696c8a8948bb277aded/lib/appium_lib/ios/common/helper.rb#L348) ios
|
|
1833
1833
|
|
|
1834
1834
|
> def eles_by_json_visible_exact(element, value)
|
|
1835
1835
|
|
|
@@ -1848,7 +1848,7 @@ __Returns:__
|
|
|
1848
1848
|
|
|
1849
1849
|
--
|
|
1850
1850
|
|
|
1851
|
-
##### [_all_pred](https://github.com/appium/ruby_lib/blob/
|
|
1851
|
+
##### [_all_pred](https://github.com/appium/ruby_lib/blob/cfbbe1cea6293af012b4a696c8a8948bb277aded/lib/appium_lib/ios/common/helper.rb#L357) ios
|
|
1852
1852
|
|
|
1853
1853
|
> def _all_pred(opts)
|
|
1854
1854
|
|
|
@@ -1858,7 +1858,7 @@ visible - if true, only visible elements are returned. default true
|
|
|
1858
1858
|
|
|
1859
1859
|
--
|
|
1860
1860
|
|
|
1861
|
-
##### [ele_with_pred](https://github.com/appium/ruby_lib/blob/
|
|
1861
|
+
##### [ele_with_pred](https://github.com/appium/ruby_lib/blob/cfbbe1cea6293af012b4a696c8a8948bb277aded/lib/appium_lib/ios/common/helper.rb#L370) ios
|
|
1862
1862
|
|
|
1863
1863
|
> def ele_with_pred(opts)
|
|
1864
1864
|
|
|
@@ -1874,7 +1874,7 @@ __Returns:__
|
|
|
1874
1874
|
|
|
1875
1875
|
--
|
|
1876
1876
|
|
|
1877
|
-
##### [eles_with_pred](https://github.com/appium/ruby_lib/blob/
|
|
1877
|
+
##### [eles_with_pred](https://github.com/appium/ruby_lib/blob/cfbbe1cea6293af012b4a696c8a8948bb277aded/lib/appium_lib/ios/common/helper.rb#L381) ios
|
|
1878
1878
|
|
|
1879
1879
|
> def eles_with_pred(opts)
|
|
1880
1880
|
|
|
@@ -1890,7 +1890,7 @@ __Returns:__
|
|
|
1890
1890
|
|
|
1891
1891
|
--
|
|
1892
1892
|
|
|
1893
|
-
##### [_validate_object](https://github.com/appium/ruby_lib/blob/
|
|
1893
|
+
##### [_validate_object](https://github.com/appium/ruby_lib/blob/cfbbe1cea6293af012b4a696c8a8948bb277aded/lib/appium_lib/ios/common/helper.rb#L385) ios
|
|
1894
1894
|
|
|
1895
1895
|
> def _validate_object(*objects)
|
|
1896
1896
|
|
|
@@ -1898,7 +1898,7 @@ __Returns:__
|
|
|
1898
1898
|
|
|
1899
1899
|
--
|
|
1900
1900
|
|
|
1901
|
-
##### [_by_json](https://github.com/appium/ruby_lib/blob/
|
|
1901
|
+
##### [_by_json](https://github.com/appium/ruby_lib/blob/cfbbe1cea6293af012b4a696c8a8948bb277aded/lib/appium_lib/ios/common/helper.rb#L434) ios
|
|
1902
1902
|
|
|
1903
1903
|
> def _by_json(opts)
|
|
1904
1904
|
|
|
@@ -1933,7 +1933,7 @@ opts = {
|
|
|
1933
1933
|
|
|
1934
1934
|
--
|
|
1935
1935
|
|
|
1936
|
-
##### [eles_by_json](https://github.com/appium/ruby_lib/blob/
|
|
1936
|
+
##### [eles_by_json](https://github.com/appium/ruby_lib/blob/cfbbe1cea6293af012b4a696c8a8948bb277aded/lib/appium_lib/ios/common/helper.rb#L484) ios
|
|
1937
1937
|
|
|
1938
1938
|
> def eles_by_json(opts)
|
|
1939
1939
|
|
|
@@ -1952,7 +1952,7 @@ eles_by_json({
|
|
|
1952
1952
|
|
|
1953
1953
|
--
|
|
1954
1954
|
|
|
1955
|
-
##### [ele_by_json](https://github.com/appium/ruby_lib/blob/
|
|
1955
|
+
##### [ele_by_json](https://github.com/appium/ruby_lib/blob/cfbbe1cea6293af012b4a696c8a8948bb277aded/lib/appium_lib/ios/common/helper.rb#L490) ios
|
|
1956
1956
|
|
|
1957
1957
|
> def ele_by_json(opts)
|
|
1958
1958
|
|
|
@@ -1960,7 +1960,7 @@ see eles_by_json
|
|
|
1960
1960
|
|
|
1961
1961
|
--
|
|
1962
1962
|
|
|
1963
|
-
##### [alert_accept](https://github.com/appium/ruby_lib/blob/
|
|
1963
|
+
##### [alert_accept](https://github.com/appium/ruby_lib/blob/cfbbe1cea6293af012b4a696c8a8948bb277aded/lib/appium_lib/ios/element/alert.rb#L5) ios
|
|
1964
1964
|
|
|
1965
1965
|
> def alert_accept
|
|
1966
1966
|
|
|
@@ -1972,7 +1972,7 @@ __Returns:__
|
|
|
1972
1972
|
|
|
1973
1973
|
--
|
|
1974
1974
|
|
|
1975
|
-
##### [alert_dismiss](https://github.com/appium/ruby_lib/blob/
|
|
1975
|
+
##### [alert_dismiss](https://github.com/appium/ruby_lib/blob/cfbbe1cea6293af012b4a696c8a8948bb277aded/lib/appium_lib/ios/element/alert.rb#L13) ios
|
|
1976
1976
|
|
|
1977
1977
|
> def alert_dismiss
|
|
1978
1978
|
|
|
@@ -1984,7 +1984,7 @@ __Returns:__
|
|
|
1984
1984
|
|
|
1985
1985
|
--
|
|
1986
1986
|
|
|
1987
|
-
##### [UIAButton](https://github.com/appium/ruby_lib/blob/
|
|
1987
|
+
##### [UIAButton](https://github.com/appium/ruby_lib/blob/cfbbe1cea6293af012b4a696c8a8948bb277aded/lib/appium_lib/ios/element/button.rb#L4) ios
|
|
1988
1988
|
|
|
1989
1989
|
> UIAButton = 'UIAButton'.freeze
|
|
1990
1990
|
|
|
@@ -1992,7 +1992,7 @@ __Returns:__
|
|
|
1992
1992
|
|
|
1993
1993
|
--
|
|
1994
1994
|
|
|
1995
|
-
##### [XCUIElementTypeButton](https://github.com/appium/ruby_lib/blob/
|
|
1995
|
+
##### [XCUIElementTypeButton](https://github.com/appium/ruby_lib/blob/cfbbe1cea6293af012b4a696c8a8948bb277aded/lib/appium_lib/ios/element/button.rb#L5) ios
|
|
1996
1996
|
|
|
1997
1997
|
> XCUIElementTypeButton = 'XCUIElementTypeButton'.freeze
|
|
1998
1998
|
|
|
@@ -2000,7 +2000,7 @@ __Returns:__
|
|
|
2000
2000
|
|
|
2001
2001
|
--
|
|
2002
2002
|
|
|
2003
|
-
##### [button_class](https://github.com/appium/ruby_lib/blob/
|
|
2003
|
+
##### [button_class](https://github.com/appium/ruby_lib/blob/cfbbe1cea6293af012b4a696c8a8948bb277aded/lib/appium_lib/ios/element/button.rb#L8) ios
|
|
2004
2004
|
|
|
2005
2005
|
> def button_class
|
|
2006
2006
|
|
|
@@ -2012,7 +2012,7 @@ __Returns:__
|
|
|
2012
2012
|
|
|
2013
2013
|
--
|
|
2014
2014
|
|
|
2015
|
-
##### [button](https://github.com/appium/ruby_lib/blob/
|
|
2015
|
+
##### [button](https://github.com/appium/ruby_lib/blob/cfbbe1cea6293af012b4a696c8a8948bb277aded/lib/appium_lib/ios/element/button.rb#L16) ios
|
|
2016
2016
|
|
|
2017
2017
|
> def button(value)
|
|
2018
2018
|
|
|
@@ -2029,7 +2029,7 @@ __Returns:__
|
|
|
2029
2029
|
|
|
2030
2030
|
--
|
|
2031
2031
|
|
|
2032
|
-
##### [buttons](https://github.com/appium/ruby_lib/blob/
|
|
2032
|
+
##### [buttons](https://github.com/appium/ruby_lib/blob/cfbbe1cea6293af012b4a696c8a8948bb277aded/lib/appium_lib/ios/element/button.rb#L26) ios
|
|
2033
2033
|
|
|
2034
2034
|
> def buttons(value = false)
|
|
2035
2035
|
|
|
@@ -2046,7 +2046,7 @@ __Returns:__
|
|
|
2046
2046
|
|
|
2047
2047
|
--
|
|
2048
2048
|
|
|
2049
|
-
##### [first_button](https://github.com/appium/ruby_lib/blob/
|
|
2049
|
+
##### [first_button](https://github.com/appium/ruby_lib/blob/cfbbe1cea6293af012b4a696c8a8948bb277aded/lib/appium_lib/ios/element/button.rb#L33) ios
|
|
2050
2050
|
|
|
2051
2051
|
> def first_button
|
|
2052
2052
|
|
|
@@ -2058,7 +2058,7 @@ __Returns:__
|
|
|
2058
2058
|
|
|
2059
2059
|
--
|
|
2060
2060
|
|
|
2061
|
-
##### [last_button](https://github.com/appium/ruby_lib/blob/
|
|
2061
|
+
##### [last_button](https://github.com/appium/ruby_lib/blob/cfbbe1cea6293af012b4a696c8a8948bb277aded/lib/appium_lib/ios/element/button.rb#L41) ios
|
|
2062
2062
|
|
|
2063
2063
|
> def last_button
|
|
2064
2064
|
|
|
@@ -2072,7 +2072,7 @@ __Returns:__
|
|
|
2072
2072
|
|
|
2073
2073
|
--
|
|
2074
2074
|
|
|
2075
|
-
##### [button_exact](https://github.com/appium/ruby_lib/blob/
|
|
2075
|
+
##### [button_exact](https://github.com/appium/ruby_lib/blob/cfbbe1cea6293af012b4a696c8a8948bb277aded/lib/appium_lib/ios/element/button.rb#L48) ios
|
|
2076
2076
|
|
|
2077
2077
|
> def button_exact(value)
|
|
2078
2078
|
|
|
@@ -2088,7 +2088,7 @@ __Returns:__
|
|
|
2088
2088
|
|
|
2089
2089
|
--
|
|
2090
2090
|
|
|
2091
|
-
##### [buttons_exact](https://github.com/appium/ruby_lib/blob/
|
|
2091
|
+
##### [buttons_exact](https://github.com/appium/ruby_lib/blob/cfbbe1cea6293af012b4a696c8a8948bb277aded/lib/appium_lib/ios/element/button.rb#L55) ios
|
|
2092
2092
|
|
|
2093
2093
|
> def buttons_exact(value)
|
|
2094
2094
|
|
|
@@ -2104,7 +2104,7 @@ __Returns:__
|
|
|
2104
2104
|
|
|
2105
2105
|
--
|
|
2106
2106
|
|
|
2107
|
-
##### [find](https://github.com/appium/ruby_lib/blob/
|
|
2107
|
+
##### [find](https://github.com/appium/ruby_lib/blob/cfbbe1cea6293af012b4a696c8a8948bb277aded/lib/appium_lib/ios/element/generic.rb#L6) ios
|
|
2108
2108
|
|
|
2109
2109
|
> def find(value)
|
|
2110
2110
|
|
|
@@ -2120,7 +2120,7 @@ __Returns:__
|
|
|
2120
2120
|
|
|
2121
2121
|
--
|
|
2122
2122
|
|
|
2123
|
-
##### [finds](https://github.com/appium/ruby_lib/blob/
|
|
2123
|
+
##### [finds](https://github.com/appium/ruby_lib/blob/cfbbe1cea6293af012b4a696c8a8948bb277aded/lib/appium_lib/ios/element/generic.rb#L13) ios
|
|
2124
2124
|
|
|
2125
2125
|
> def finds(value)
|
|
2126
2126
|
|
|
@@ -2136,7 +2136,7 @@ __Returns:__
|
|
|
2136
2136
|
|
|
2137
2137
|
--
|
|
2138
2138
|
|
|
2139
|
-
##### [find_exact](https://github.com/appium/ruby_lib/blob/
|
|
2139
|
+
##### [find_exact](https://github.com/appium/ruby_lib/blob/cfbbe1cea6293af012b4a696c8a8948bb277aded/lib/appium_lib/ios/element/generic.rb#L20) ios
|
|
2140
2140
|
|
|
2141
2141
|
> def find_exact(value)
|
|
2142
2142
|
|
|
@@ -2152,7 +2152,7 @@ __Returns:__
|
|
|
2152
2152
|
|
|
2153
2153
|
--
|
|
2154
2154
|
|
|
2155
|
-
##### [finds_exact](https://github.com/appium/ruby_lib/blob/
|
|
2155
|
+
##### [finds_exact](https://github.com/appium/ruby_lib/blob/cfbbe1cea6293af012b4a696c8a8948bb277aded/lib/appium_lib/ios/element/generic.rb#L27) ios
|
|
2156
2156
|
|
|
2157
2157
|
> def finds_exact(value)
|
|
2158
2158
|
|
|
@@ -2168,7 +2168,7 @@ __Returns:__
|
|
|
2168
2168
|
|
|
2169
2169
|
--
|
|
2170
2170
|
|
|
2171
|
-
##### [raise_error_if_no_element](https://github.com/appium/ruby_lib/blob/
|
|
2171
|
+
##### [raise_error_if_no_element](https://github.com/appium/ruby_lib/blob/cfbbe1cea6293af012b4a696c8a8948bb277aded/lib/appium_lib/ios/element/generic.rb#L33) ios
|
|
2172
2172
|
|
|
2173
2173
|
> def raise_error_if_no_element(element)
|
|
2174
2174
|
|
|
@@ -2176,7 +2176,7 @@ __Returns:__
|
|
|
2176
2176
|
|
|
2177
2177
|
--
|
|
2178
2178
|
|
|
2179
|
-
##### [select_visible_elements](https://github.com/appium/ruby_lib/blob/
|
|
2179
|
+
##### [select_visible_elements](https://github.com/appium/ruby_lib/blob/cfbbe1cea6293af012b4a696c8a8948bb277aded/lib/appium_lib/ios/element/generic.rb#L40) ios
|
|
2180
2180
|
|
|
2181
2181
|
> def select_visible_elements(elements)
|
|
2182
2182
|
|
|
@@ -2184,7 +2184,7 @@ Return visible elements.
|
|
|
2184
2184
|
|
|
2185
2185
|
--
|
|
2186
2186
|
|
|
2187
|
-
##### [for](https://github.com/appium/ruby_lib/blob/
|
|
2187
|
+
##### [for](https://github.com/appium/ruby_lib/blob/cfbbe1cea6293af012b4a696c8a8948bb277aded/lib/appium_lib/ios/xcuitest/bridge.rb#L7) ios
|
|
2188
2188
|
|
|
2189
2189
|
> def self.for(target)
|
|
2190
2190
|
|
|
@@ -2192,7 +2192,7 @@ Return visible elements.
|
|
|
2192
2192
|
|
|
2193
2193
|
--
|
|
2194
2194
|
|
|
2195
|
-
##### [last_ele](https://github.com/appium/ruby_lib/blob/
|
|
2195
|
+
##### [last_ele](https://github.com/appium/ruby_lib/blob/cfbbe1cea6293af012b4a696c8a8948bb277aded/lib/appium_lib/ios/xcuitest/helper.rb#L26) ios
|
|
2196
2196
|
|
|
2197
2197
|
> def last_ele(class_name)
|
|
2198
2198
|
|
|
@@ -2208,7 +2208,7 @@ __Returns:__
|
|
|
2208
2208
|
|
|
2209
2209
|
--
|
|
2210
2210
|
|
|
2211
|
-
##### [tag](https://github.com/appium/ruby_lib/blob/
|
|
2211
|
+
##### [tag](https://github.com/appium/ruby_lib/blob/cfbbe1cea6293af012b4a696c8a8948bb277aded/lib/appium_lib/ios/xcuitest/helper.rb#L36) ios
|
|
2212
2212
|
|
|
2213
2213
|
> def tag(class_name)
|
|
2214
2214
|
|
|
@@ -2224,7 +2224,7 @@ __Returns:__
|
|
|
2224
2224
|
|
|
2225
2225
|
--
|
|
2226
2226
|
|
|
2227
|
-
##### [tags](https://github.com/appium/ruby_lib/blob/
|
|
2227
|
+
##### [tags](https://github.com/appium/ruby_lib/blob/cfbbe1cea6293af012b4a696c8a8948bb277aded/lib/appium_lib/ios/xcuitest/helper.rb#L44) ios
|
|
2228
2228
|
|
|
2229
2229
|
> def tags(class_name)
|
|
2230
2230
|
|
|
@@ -2240,7 +2240,7 @@ __Returns:__
|
|
|
2240
2240
|
|
|
2241
2241
|
--
|
|
2242
2242
|
|
|
2243
|
-
##### [tags_include](https://github.com/appium/ruby_lib/blob/
|
|
2243
|
+
##### [tags_include](https://github.com/appium/ruby_lib/blob/cfbbe1cea6293af012b4a696c8a8948bb277aded/lib/appium_lib/ios/xcuitest/helper.rb#L56) ios
|
|
2244
2244
|
|
|
2245
2245
|
> def tags_include(class_names:, value: nil)
|
|
2246
2246
|
|
|
@@ -2260,7 +2260,7 @@ __Returns:__
|
|
|
2260
2260
|
|
|
2261
2261
|
--
|
|
2262
2262
|
|
|
2263
|
-
##### [tags_exact](https://github.com/appium/ruby_lib/blob/
|
|
2263
|
+
##### [tags_exact](https://github.com/appium/ruby_lib/blob/cfbbe1cea6293af012b4a696c8a8948bb277aded/lib/appium_lib/ios/xcuitest/helper.rb#L79) ios
|
|
2264
2264
|
|
|
2265
2265
|
> def tags_exact(class_names:, value: nil)
|
|
2266
2266
|
|
|
@@ -2280,7 +2280,7 @@ __Returns:__
|
|
|
2280
2280
|
|
|
2281
2281
|
--
|
|
2282
2282
|
|
|
2283
|
-
##### [UIATextField](https://github.com/appium/ruby_lib/blob/
|
|
2283
|
+
##### [UIATextField](https://github.com/appium/ruby_lib/blob/cfbbe1cea6293af012b4a696c8a8948bb277aded/lib/appium_lib/ios/element/textfield.rb#L3) ios
|
|
2284
2284
|
|
|
2285
2285
|
> UIATextField = 'UIATextField'.freeze
|
|
2286
2286
|
|
|
@@ -2288,7 +2288,7 @@ __Returns:__
|
|
|
2288
2288
|
|
|
2289
2289
|
--
|
|
2290
2290
|
|
|
2291
|
-
##### [UIASecureTextField](https://github.com/appium/ruby_lib/blob/
|
|
2291
|
+
##### [UIASecureTextField](https://github.com/appium/ruby_lib/blob/cfbbe1cea6293af012b4a696c8a8948bb277aded/lib/appium_lib/ios/element/textfield.rb#L4) ios
|
|
2292
2292
|
|
|
2293
2293
|
> UIASecureTextField = 'UIASecureTextField'.freeze
|
|
2294
2294
|
|
|
@@ -2296,7 +2296,7 @@ __Returns:__
|
|
|
2296
2296
|
|
|
2297
2297
|
--
|
|
2298
2298
|
|
|
2299
|
-
##### [XCUIElementTypeTextField](https://github.com/appium/ruby_lib/blob/
|
|
2299
|
+
##### [XCUIElementTypeTextField](https://github.com/appium/ruby_lib/blob/cfbbe1cea6293af012b4a696c8a8948bb277aded/lib/appium_lib/ios/element/textfield.rb#L6) ios
|
|
2300
2300
|
|
|
2301
2301
|
> XCUIElementTypeTextField = 'XCUIElementTypeTextField'.freeze
|
|
2302
2302
|
|
|
@@ -2304,7 +2304,7 @@ __Returns:__
|
|
|
2304
2304
|
|
|
2305
2305
|
--
|
|
2306
2306
|
|
|
2307
|
-
##### [XCUIElementTypeSecureTextField](https://github.com/appium/ruby_lib/blob/
|
|
2307
|
+
##### [XCUIElementTypeSecureTextField](https://github.com/appium/ruby_lib/blob/cfbbe1cea6293af012b4a696c8a8948bb277aded/lib/appium_lib/ios/element/textfield.rb#L7) ios
|
|
2308
2308
|
|
|
2309
2309
|
> XCUIElementTypeSecureTextField = 'XCUIElementTypeSecureTextField'.freeze
|
|
2310
2310
|
|
|
@@ -2312,7 +2312,7 @@ __Returns:__
|
|
|
2312
2312
|
|
|
2313
2313
|
--
|
|
2314
2314
|
|
|
2315
|
-
##### [text_field_class](https://github.com/appium/ruby_lib/blob/
|
|
2315
|
+
##### [text_field_class](https://github.com/appium/ruby_lib/blob/cfbbe1cea6293af012b4a696c8a8948bb277aded/lib/appium_lib/ios/element/textfield.rb#L10) ios
|
|
2316
2316
|
|
|
2317
2317
|
> def text_field_class
|
|
2318
2318
|
|
|
@@ -2324,7 +2324,7 @@ __Returns:__
|
|
|
2324
2324
|
|
|
2325
2325
|
--
|
|
2326
2326
|
|
|
2327
|
-
##### [secure_text_field_class](https://github.com/appium/ruby_lib/blob/
|
|
2327
|
+
##### [secure_text_field_class](https://github.com/appium/ruby_lib/blob/cfbbe1cea6293af012b4a696c8a8948bb277aded/lib/appium_lib/ios/element/textfield.rb#L15) ios
|
|
2328
2328
|
|
|
2329
2329
|
> def secure_text_field_class
|
|
2330
2330
|
|
|
@@ -2336,7 +2336,7 @@ __Returns:__
|
|
|
2336
2336
|
|
|
2337
2337
|
--
|
|
2338
2338
|
|
|
2339
|
-
##### [textfield](https://github.com/appium/ruby_lib/blob/
|
|
2339
|
+
##### [textfield](https://github.com/appium/ruby_lib/blob/cfbbe1cea6293af012b4a696c8a8948bb277aded/lib/appium_lib/ios/element/textfield.rb#L24) ios
|
|
2340
2340
|
|
|
2341
2341
|
> def textfield(value)
|
|
2342
2342
|
|
|
@@ -2354,7 +2354,7 @@ __Returns:__
|
|
|
2354
2354
|
|
|
2355
2355
|
--
|
|
2356
2356
|
|
|
2357
|
-
##### [textfields](https://github.com/appium/ruby_lib/blob/
|
|
2357
|
+
##### [textfields](https://github.com/appium/ruby_lib/blob/cfbbe1cea6293af012b4a696c8a8948bb277aded/lib/appium_lib/ios/element/textfield.rb#L42) ios
|
|
2358
2358
|
|
|
2359
2359
|
> def textfields(value = false)
|
|
2360
2360
|
|
|
@@ -2371,7 +2371,7 @@ __Returns:__
|
|
|
2371
2371
|
|
|
2372
2372
|
--
|
|
2373
2373
|
|
|
2374
|
-
##### [first_textfield](https://github.com/appium/ruby_lib/blob/
|
|
2374
|
+
##### [first_textfield](https://github.com/appium/ruby_lib/blob/cfbbe1cea6293af012b4a696c8a8948bb277aded/lib/appium_lib/ios/element/textfield.rb#L49) ios
|
|
2375
2375
|
|
|
2376
2376
|
> def first_textfield
|
|
2377
2377
|
|
|
@@ -2383,7 +2383,7 @@ __Returns:__
|
|
|
2383
2383
|
|
|
2384
2384
|
--
|
|
2385
2385
|
|
|
2386
|
-
##### [last_textfield](https://github.com/appium/ruby_lib/blob/
|
|
2386
|
+
##### [last_textfield](https://github.com/appium/ruby_lib/blob/cfbbe1cea6293af012b4a696c8a8948bb277aded/lib/appium_lib/ios/element/textfield.rb#L55) ios
|
|
2387
2387
|
|
|
2388
2388
|
> def last_textfield
|
|
2389
2389
|
|
|
@@ -2395,7 +2395,7 @@ __Returns:__
|
|
|
2395
2395
|
|
|
2396
2396
|
--
|
|
2397
2397
|
|
|
2398
|
-
##### [textfield_exact](https://github.com/appium/ruby_lib/blob/
|
|
2398
|
+
##### [textfield_exact](https://github.com/appium/ruby_lib/blob/cfbbe1cea6293af012b4a696c8a8948bb277aded/lib/appium_lib/ios/element/textfield.rb#L64) ios
|
|
2399
2399
|
|
|
2400
2400
|
> def textfield_exact(value)
|
|
2401
2401
|
|
|
@@ -2411,7 +2411,7 @@ __Returns:__
|
|
|
2411
2411
|
|
|
2412
2412
|
--
|
|
2413
2413
|
|
|
2414
|
-
##### [textfields_exact](https://github.com/appium/ruby_lib/blob/
|
|
2414
|
+
##### [textfields_exact](https://github.com/appium/ruby_lib/blob/cfbbe1cea6293af012b4a696c8a8948bb277aded/lib/appium_lib/ios/element/textfield.rb#L71) ios
|
|
2415
2415
|
|
|
2416
2416
|
> def textfields_exact(value)
|
|
2417
2417
|
|
|
@@ -2427,7 +2427,7 @@ __Returns:__
|
|
|
2427
2427
|
|
|
2428
2428
|
--
|
|
2429
2429
|
|
|
2430
|
-
##### [_textfield_visible](https://github.com/appium/ruby_lib/blob/
|
|
2430
|
+
##### [_textfield_visible](https://github.com/appium/ruby_lib/blob/cfbbe1cea6293af012b4a696c8a8948bb277aded/lib/appium_lib/ios/element/textfield.rb#L78) ios
|
|
2431
2431
|
|
|
2432
2432
|
> def _textfield_visible
|
|
2433
2433
|
|
|
@@ -2435,7 +2435,7 @@ Appium
|
|
|
2435
2435
|
|
|
2436
2436
|
--
|
|
2437
2437
|
|
|
2438
|
-
##### [_textfield_exact_string](https://github.com/appium/ruby_lib/blob/
|
|
2438
|
+
##### [_textfield_exact_string](https://github.com/appium/ruby_lib/blob/cfbbe1cea6293af012b4a696c8a8948bb277aded/lib/appium_lib/ios/element/textfield.rb#L83) ios
|
|
2439
2439
|
|
|
2440
2440
|
> def _textfield_exact_string(value)
|
|
2441
2441
|
|
|
@@ -2443,7 +2443,7 @@ Appium
|
|
|
2443
2443
|
|
|
2444
2444
|
--
|
|
2445
2445
|
|
|
2446
|
-
##### [_textfield_contains_string](https://github.com/appium/ruby_lib/blob/
|
|
2446
|
+
##### [_textfield_contains_string](https://github.com/appium/ruby_lib/blob/cfbbe1cea6293af012b4a696c8a8948bb277aded/lib/appium_lib/ios/element/textfield.rb#L90) ios
|
|
2447
2447
|
|
|
2448
2448
|
> def _textfield_contains_string(value)
|
|
2449
2449
|
|
|
@@ -2451,7 +2451,7 @@ Appium
|
|
|
2451
2451
|
|
|
2452
2452
|
--
|
|
2453
2453
|
|
|
2454
|
-
##### [static_text_class](https://github.com/appium/ruby_lib/blob/
|
|
2454
|
+
##### [static_text_class](https://github.com/appium/ruby_lib/blob/cfbbe1cea6293af012b4a696c8a8948bb277aded/lib/appium_lib/ios/xcuitest/element/text.rb#L9) ios
|
|
2455
2455
|
|
|
2456
2456
|
> def static_text_class
|
|
2457
2457
|
|
|
@@ -2463,7 +2463,7 @@ __Returns:__
|
|
|
2463
2463
|
|
|
2464
2464
|
--
|
|
2465
2465
|
|
|
2466
|
-
##### [text](https://github.com/appium/ruby_lib/blob/
|
|
2466
|
+
##### [text](https://github.com/appium/ruby_lib/blob/cfbbe1cea6293af012b4a696c8a8948bb277aded/lib/appium_lib/ios/xcuitest/element/text.rb#L17) ios
|
|
2467
2467
|
|
|
2468
2468
|
> def text(value)
|
|
2469
2469
|
|
|
@@ -2480,7 +2480,7 @@ __Returns:__
|
|
|
2480
2480
|
|
|
2481
2481
|
--
|
|
2482
2482
|
|
|
2483
|
-
##### [texts](https://github.com/appium/ruby_lib/blob/
|
|
2483
|
+
##### [texts](https://github.com/appium/ruby_lib/blob/cfbbe1cea6293af012b4a696c8a8948bb277aded/lib/appium_lib/ios/xcuitest/element/text.rb#L26) ios
|
|
2484
2484
|
|
|
2485
2485
|
> def texts(value = false)
|
|
2486
2486
|
|
|
@@ -2497,7 +2497,7 @@ __Returns:__
|
|
|
2497
2497
|
|
|
2498
2498
|
--
|
|
2499
2499
|
|
|
2500
|
-
##### [first_text](https://github.com/appium/ruby_lib/blob/
|
|
2500
|
+
##### [first_text](https://github.com/appium/ruby_lib/blob/cfbbe1cea6293af012b4a696c8a8948bb277aded/lib/appium_lib/ios/xcuitest/element/text.rb#L34) ios
|
|
2501
2501
|
|
|
2502
2502
|
> def first_text
|
|
2503
2503
|
|
|
@@ -2509,7 +2509,7 @@ __Returns:__
|
|
|
2509
2509
|
|
|
2510
2510
|
--
|
|
2511
2511
|
|
|
2512
|
-
##### [last_text](https://github.com/appium/ruby_lib/blob/
|
|
2512
|
+
##### [last_text](https://github.com/appium/ruby_lib/blob/cfbbe1cea6293af012b4a696c8a8948bb277aded/lib/appium_lib/ios/xcuitest/element/text.rb#L40) ios
|
|
2513
2513
|
|
|
2514
2514
|
> def last_text
|
|
2515
2515
|
|
|
@@ -2521,7 +2521,7 @@ __Returns:__
|
|
|
2521
2521
|
|
|
2522
2522
|
--
|
|
2523
2523
|
|
|
2524
|
-
##### [text_exact](https://github.com/appium/ruby_lib/blob/
|
|
2524
|
+
##### [text_exact](https://github.com/appium/ruby_lib/blob/cfbbe1cea6293af012b4a696c8a8948bb277aded/lib/appium_lib/ios/xcuitest/element/text.rb#L47) ios
|
|
2525
2525
|
|
|
2526
2526
|
> def text_exact(value)
|
|
2527
2527
|
|
|
@@ -2537,7 +2537,7 @@ __Returns:__
|
|
|
2537
2537
|
|
|
2538
2538
|
--
|
|
2539
2539
|
|
|
2540
|
-
##### [texts_exact](https://github.com/appium/ruby_lib/blob/
|
|
2540
|
+
##### [texts_exact](https://github.com/appium/ruby_lib/blob/cfbbe1cea6293af012b4a696c8a8948bb277aded/lib/appium_lib/ios/xcuitest/element/text.rb#L54) ios
|
|
2541
2541
|
|
|
2542
2542
|
> def texts_exact(value)
|
|
2543
2543
|
|
|
@@ -2553,7 +2553,7 @@ __Returns:__
|
|
|
2553
2553
|
|
|
2554
2554
|
--
|
|
2555
2555
|
|
|
2556
|
-
##### [xcuitest_source](https://github.com/appium/ruby_lib/blob/
|
|
2556
|
+
##### [xcuitest_source](https://github.com/appium/ruby_lib/blob/cfbbe1cea6293af012b4a696c8a8948bb277aded/lib/appium_lib/ios/xcuitest/command/source.rb#L12) ios
|
|
2557
2557
|
|
|
2558
2558
|
> def xcuitest_source(format: :xml)
|
|
2559
2559
|
|
|
@@ -2567,7 +2567,7 @@ __Parameters:__
|
|
|
2567
2567
|
|
|
2568
2568
|
--
|
|
2569
2569
|
|
|
2570
|
-
##### [button_class](https://github.com/appium/ruby_lib/blob/
|
|
2570
|
+
##### [button_class](https://github.com/appium/ruby_lib/blob/cfbbe1cea6293af012b4a696c8a8948bb277aded/lib/appium_lib/ios/xcuitest/element/button.rb#L9) ios
|
|
2571
2571
|
|
|
2572
2572
|
> def button_class
|
|
2573
2573
|
|
|
@@ -2579,7 +2579,7 @@ __Returns:__
|
|
|
2579
2579
|
|
|
2580
2580
|
--
|
|
2581
2581
|
|
|
2582
|
-
##### [button](https://github.com/appium/ruby_lib/blob/
|
|
2582
|
+
##### [button](https://github.com/appium/ruby_lib/blob/cfbbe1cea6293af012b4a696c8a8948bb277aded/lib/appium_lib/ios/xcuitest/element/button.rb#L17) ios
|
|
2583
2583
|
|
|
2584
2584
|
> def button(value)
|
|
2585
2585
|
|
|
@@ -2596,7 +2596,7 @@ __Returns:__
|
|
|
2596
2596
|
|
|
2597
2597
|
--
|
|
2598
2598
|
|
|
2599
|
-
##### [buttons](https://github.com/appium/ruby_lib/blob/
|
|
2599
|
+
##### [buttons](https://github.com/appium/ruby_lib/blob/cfbbe1cea6293af012b4a696c8a8948bb277aded/lib/appium_lib/ios/xcuitest/element/button.rb#L27) ios
|
|
2600
2600
|
|
|
2601
2601
|
> def buttons(value = false)
|
|
2602
2602
|
|
|
@@ -2613,7 +2613,7 @@ __Returns:__
|
|
|
2613
2613
|
|
|
2614
2614
|
--
|
|
2615
2615
|
|
|
2616
|
-
##### [first_button](https://github.com/appium/ruby_lib/blob/
|
|
2616
|
+
##### [first_button](https://github.com/appium/ruby_lib/blob/cfbbe1cea6293af012b4a696c8a8948bb277aded/lib/appium_lib/ios/xcuitest/element/button.rb#L35) ios
|
|
2617
2617
|
|
|
2618
2618
|
> def first_button
|
|
2619
2619
|
|
|
@@ -2625,7 +2625,7 @@ __Returns:__
|
|
|
2625
2625
|
|
|
2626
2626
|
--
|
|
2627
2627
|
|
|
2628
|
-
##### [last_button](https://github.com/appium/ruby_lib/blob/
|
|
2628
|
+
##### [last_button](https://github.com/appium/ruby_lib/blob/cfbbe1cea6293af012b4a696c8a8948bb277aded/lib/appium_lib/ios/xcuitest/element/button.rb#L43) ios
|
|
2629
2629
|
|
|
2630
2630
|
> def last_button
|
|
2631
2631
|
|
|
@@ -2639,7 +2639,7 @@ __Returns:__
|
|
|
2639
2639
|
|
|
2640
2640
|
--
|
|
2641
2641
|
|
|
2642
|
-
##### [button_exact](https://github.com/appium/ruby_lib/blob/
|
|
2642
|
+
##### [button_exact](https://github.com/appium/ruby_lib/blob/cfbbe1cea6293af012b4a696c8a8948bb277aded/lib/appium_lib/ios/xcuitest/element/button.rb#L50) ios
|
|
2643
2643
|
|
|
2644
2644
|
> def button_exact(value)
|
|
2645
2645
|
|
|
@@ -2655,7 +2655,7 @@ __Returns:__
|
|
|
2655
2655
|
|
|
2656
2656
|
--
|
|
2657
2657
|
|
|
2658
|
-
##### [buttons_exact](https://github.com/appium/ruby_lib/blob/
|
|
2658
|
+
##### [buttons_exact](https://github.com/appium/ruby_lib/blob/cfbbe1cea6293af012b4a696c8a8948bb277aded/lib/appium_lib/ios/xcuitest/element/button.rb#L57) ios
|
|
2659
2659
|
|
|
2660
2660
|
> def buttons_exact(value)
|
|
2661
2661
|
|
|
@@ -2671,7 +2671,7 @@ __Returns:__
|
|
|
2671
2671
|
|
|
2672
2672
|
--
|
|
2673
2673
|
|
|
2674
|
-
##### [find](https://github.com/appium/ruby_lib/blob/
|
|
2674
|
+
##### [find](https://github.com/appium/ruby_lib/blob/cfbbe1cea6293af012b4a696c8a8948bb277aded/lib/appium_lib/ios/xcuitest/element/generic.rb#L8) ios
|
|
2675
2675
|
|
|
2676
2676
|
> def find(value)
|
|
2677
2677
|
|
|
@@ -2687,7 +2687,7 @@ __Returns:__
|
|
|
2687
2687
|
|
|
2688
2688
|
--
|
|
2689
2689
|
|
|
2690
|
-
##### [finds](https://github.com/appium/ruby_lib/blob/
|
|
2690
|
+
##### [finds](https://github.com/appium/ruby_lib/blob/cfbbe1cea6293af012b4a696c8a8948bb277aded/lib/appium_lib/ios/xcuitest/element/generic.rb#L15) ios
|
|
2691
2691
|
|
|
2692
2692
|
> def finds(value)
|
|
2693
2693
|
|
|
@@ -2703,7 +2703,7 @@ __Returns:__
|
|
|
2703
2703
|
|
|
2704
2704
|
--
|
|
2705
2705
|
|
|
2706
|
-
##### [find_exact](https://github.com/appium/ruby_lib/blob/
|
|
2706
|
+
##### [find_exact](https://github.com/appium/ruby_lib/blob/cfbbe1cea6293af012b4a696c8a8948bb277aded/lib/appium_lib/ios/xcuitest/element/generic.rb#L23) ios
|
|
2707
2707
|
|
|
2708
2708
|
> def find_exact(value)
|
|
2709
2709
|
|
|
@@ -2719,7 +2719,7 @@ __Returns:__
|
|
|
2719
2719
|
|
|
2720
2720
|
--
|
|
2721
2721
|
|
|
2722
|
-
##### [finds_exact](https://github.com/appium/ruby_lib/blob/
|
|
2722
|
+
##### [finds_exact](https://github.com/appium/ruby_lib/blob/cfbbe1cea6293af012b4a696c8a8948bb277aded/lib/appium_lib/ios/xcuitest/element/generic.rb#L30) ios
|
|
2723
2723
|
|
|
2724
2724
|
> def finds_exact(value)
|
|
2725
2725
|
|
|
@@ -2735,7 +2735,7 @@ __Returns:__
|
|
|
2735
2735
|
|
|
2736
2736
|
--
|
|
2737
2737
|
|
|
2738
|
-
##### [raise_error_if_no_element](https://github.com/appium/ruby_lib/blob/
|
|
2738
|
+
##### [raise_error_if_no_element](https://github.com/appium/ruby_lib/blob/cfbbe1cea6293af012b4a696c8a8948bb277aded/lib/appium_lib/ios/xcuitest/element/generic.rb#L37) ios
|
|
2739
2739
|
|
|
2740
2740
|
> def raise_error_if_no_element(element)
|
|
2741
2741
|
|
|
@@ -2743,7 +2743,7 @@ __Returns:__
|
|
|
2743
2743
|
|
|
2744
2744
|
--
|
|
2745
2745
|
|
|
2746
|
-
##### [select_visible_elements](https://github.com/appium/ruby_lib/blob/
|
|
2746
|
+
##### [select_visible_elements](https://github.com/appium/ruby_lib/blob/cfbbe1cea6293af012b4a696c8a8948bb277aded/lib/appium_lib/ios/xcuitest/element/generic.rb#L44) ios
|
|
2747
2747
|
|
|
2748
2748
|
> def select_visible_elements(elements)
|
|
2749
2749
|
|
|
@@ -2751,7 +2751,7 @@ Return visible elements.
|
|
|
2751
2751
|
|
|
2752
2752
|
--
|
|
2753
2753
|
|
|
2754
|
-
##### [swipe](https://github.com/appium/ruby_lib/blob/
|
|
2754
|
+
##### [swipe](https://github.com/appium/ruby_lib/blob/cfbbe1cea6293af012b4a696c8a8948bb277aded/lib/appium_lib/ios/xcuitest/command/gestures.rb#L11) ios
|
|
2755
2755
|
|
|
2756
2756
|
> def swipe(direction:, element: nil)
|
|
2757
2757
|
|
|
@@ -2765,7 +2765,7 @@ __Parameters:__
|
|
|
2765
2765
|
|
|
2766
2766
|
--
|
|
2767
2767
|
|
|
2768
|
-
##### [scroll](https://github.com/appium/ruby_lib/blob/
|
|
2768
|
+
##### [scroll](https://github.com/appium/ruby_lib/blob/cfbbe1cea6293af012b4a696c8a8948bb277aded/lib/appium_lib/ios/xcuitest/command/gestures.rb#L29) ios
|
|
2769
2769
|
|
|
2770
2770
|
> def scroll(direction:, name: nil, element: nil, to_visible: nil, predicate_string: nil)
|
|
2771
2771
|
|
|
@@ -2779,7 +2779,7 @@ __Parameters:__
|
|
|
2779
2779
|
|
|
2780
2780
|
--
|
|
2781
2781
|
|
|
2782
|
-
##### [pinch](https://github.com/appium/ruby_lib/blob/
|
|
2782
|
+
##### [pinch](https://github.com/appium/ruby_lib/blob/cfbbe1cea6293af012b4a696c8a8948bb277aded/lib/appium_lib/ios/xcuitest/command/gestures.rb#L48) ios
|
|
2783
2783
|
|
|
2784
2784
|
> def pinch(scale:, velocity: 1.0, element: nil)
|
|
2785
2785
|
|
|
@@ -2795,7 +2795,7 @@ __Parameters:__
|
|
|
2795
2795
|
|
|
2796
2796
|
--
|
|
2797
2797
|
|
|
2798
|
-
##### [double_tap](https://github.com/appium/ruby_lib/blob/
|
|
2798
|
+
##### [double_tap](https://github.com/appium/ruby_lib/blob/cfbbe1cea6293af012b4a696c8a8948bb277aded/lib/appium_lib/ios/xcuitest/command/gestures.rb#L63) ios
|
|
2799
2799
|
|
|
2800
2800
|
> def double_tap(x: nil, y: nil, element: nil)
|
|
2801
2801
|
|
|
@@ -2811,7 +2811,7 @@ __Parameters:__
|
|
|
2811
2811
|
|
|
2812
2812
|
--
|
|
2813
2813
|
|
|
2814
|
-
##### [touch_and_hold](https://github.com/appium/ruby_lib/blob/
|
|
2814
|
+
##### [touch_and_hold](https://github.com/appium/ruby_lib/blob/cfbbe1cea6293af012b4a696c8a8948bb277aded/lib/appium_lib/ios/xcuitest/command/gestures.rb#L80) ios
|
|
2815
2815
|
|
|
2816
2816
|
> def touch_and_hold(x: nil, y: nil, element: nil, duration: 1.0)
|
|
2817
2817
|
|
|
@@ -2829,7 +2829,7 @@ __Parameters:__
|
|
|
2829
2829
|
|
|
2830
2830
|
--
|
|
2831
2831
|
|
|
2832
|
-
##### [two_finger_tap](https://github.com/appium/ruby_lib/blob/
|
|
2832
|
+
##### [two_finger_tap](https://github.com/appium/ruby_lib/blob/cfbbe1cea6293af012b4a696c8a8948bb277aded/lib/appium_lib/ios/xcuitest/command/gestures.rb#L93) ios
|
|
2833
2833
|
|
|
2834
2834
|
> def two_finger_tap(element:)
|
|
2835
2835
|
|
|
@@ -2845,7 +2845,7 @@ two_finger_tap element: find_element(:accessibility_id, "some item")
|
|
|
2845
2845
|
|
|
2846
2846
|
--
|
|
2847
2847
|
|
|
2848
|
-
##### [tap](https://github.com/appium/ruby_lib/blob/
|
|
2848
|
+
##### [tap](https://github.com/appium/ruby_lib/blob/cfbbe1cea6293af012b4a696c8a8948bb277aded/lib/appium_lib/ios/xcuitest/command/gestures.rb#L108) ios
|
|
2849
2849
|
|
|
2850
2850
|
> def tap(x:, y:, element: nil)
|
|
2851
2851
|
|
|
@@ -2861,7 +2861,7 @@ __Parameters:__
|
|
|
2861
2861
|
|
|
2862
2862
|
--
|
|
2863
2863
|
|
|
2864
|
-
##### [drag_from_to_for_duration](https://github.com/appium/ruby_lib/blob/
|
|
2864
|
+
##### [drag_from_to_for_duration](https://github.com/appium/ruby_lib/blob/cfbbe1cea6293af012b4a696c8a8948bb277aded/lib/appium_lib/ios/xcuitest/command/gestures.rb#L128) ios
|
|
2865
2865
|
|
|
2866
2866
|
> def drag_from_to_for_duration(from_x:, from_y:, to_x:, to_y:, duration: 1.0, element: nil)
|
|
2867
2867
|
|
|
@@ -2884,7 +2884,7 @@ drag point should be before to start dragging. Mandatory parameter
|
|
|
2884
2884
|
|
|
2885
2885
|
--
|
|
2886
2886
|
|
|
2887
|
-
##### [select_picker_wheel](https://github.com/appium/ruby_lib/blob/
|
|
2887
|
+
##### [select_picker_wheel](https://github.com/appium/ruby_lib/blob/cfbbe1cea6293af012b4a696c8a8948bb277aded/lib/appium_lib/ios/xcuitest/command/gestures.rb#L145) ios
|
|
2888
2888
|
|
|
2889
2889
|
> def select_picker_wheel(element:, order:, offset: nil)
|
|
2890
2890
|
|
|
@@ -2901,7 +2901,7 @@ __Parameters:__
|
|
|
2901
2901
|
|
|
2902
2902
|
--
|
|
2903
2903
|
|
|
2904
|
-
##### [alert](https://github.com/appium/ruby_lib/blob/
|
|
2904
|
+
##### [alert](https://github.com/appium/ruby_lib/blob/cfbbe1cea6293af012b4a696c8a8948bb277aded/lib/appium_lib/ios/xcuitest/command/gestures.rb#L163) ios
|
|
2905
2905
|
|
|
2906
2906
|
> def alert(action:, button_label: nil)
|
|
2907
2907
|
|
|
@@ -2916,7 +2916,7 @@ This is an optional parameter and is only valid in combination with accept and d
|
|
|
2916
2916
|
|
|
2917
2917
|
--
|
|
2918
2918
|
|
|
2919
|
-
##### [text_field_class](https://github.com/appium/ruby_lib/blob/
|
|
2919
|
+
##### [text_field_class](https://github.com/appium/ruby_lib/blob/cfbbe1cea6293af012b4a696c8a8948bb277aded/lib/appium_lib/ios/xcuitest/element/textfield.rb#L9) ios
|
|
2920
2920
|
|
|
2921
2921
|
> def text_field_class
|
|
2922
2922
|
|
|
@@ -2928,7 +2928,7 @@ __Returns:__
|
|
|
2928
2928
|
|
|
2929
2929
|
--
|
|
2930
2930
|
|
|
2931
|
-
##### [secure_text_field_class](https://github.com/appium/ruby_lib/blob/
|
|
2931
|
+
##### [secure_text_field_class](https://github.com/appium/ruby_lib/blob/cfbbe1cea6293af012b4a696c8a8948bb277aded/lib/appium_lib/ios/xcuitest/element/textfield.rb#L14) ios
|
|
2932
2932
|
|
|
2933
2933
|
> def secure_text_field_class
|
|
2934
2934
|
|
|
@@ -2940,7 +2940,7 @@ __Returns:__
|
|
|
2940
2940
|
|
|
2941
2941
|
--
|
|
2942
2942
|
|
|
2943
|
-
##### [textfield](https://github.com/appium/ruby_lib/blob/
|
|
2943
|
+
##### [textfield](https://github.com/appium/ruby_lib/blob/cfbbe1cea6293af012b4a696c8a8948bb277aded/lib/appium_lib/ios/xcuitest/element/textfield.rb#L23) ios
|
|
2944
2944
|
|
|
2945
2945
|
> def textfield(value)
|
|
2946
2946
|
|
|
@@ -2958,7 +2958,7 @@ __Returns:__
|
|
|
2958
2958
|
|
|
2959
2959
|
--
|
|
2960
2960
|
|
|
2961
|
-
##### [textfields](https://github.com/appium/ruby_lib/blob/
|
|
2961
|
+
##### [textfields](https://github.com/appium/ruby_lib/blob/cfbbe1cea6293af012b4a696c8a8948bb277aded/lib/appium_lib/ios/xcuitest/element/textfield.rb#L41) ios
|
|
2962
2962
|
|
|
2963
2963
|
> def textfields(value = false)
|
|
2964
2964
|
|
|
@@ -2975,7 +2975,7 @@ __Returns:__
|
|
|
2975
2975
|
|
|
2976
2976
|
--
|
|
2977
2977
|
|
|
2978
|
-
##### [first_textfield](https://github.com/appium/ruby_lib/blob/
|
|
2978
|
+
##### [first_textfield](https://github.com/appium/ruby_lib/blob/cfbbe1cea6293af012b4a696c8a8948bb277aded/lib/appium_lib/ios/xcuitest/element/textfield.rb#L50) ios
|
|
2979
2979
|
|
|
2980
2980
|
> def first_textfield
|
|
2981
2981
|
|
|
@@ -2987,7 +2987,7 @@ __Returns:__
|
|
|
2987
2987
|
|
|
2988
2988
|
--
|
|
2989
2989
|
|
|
2990
|
-
##### [last_textfield](https://github.com/appium/ruby_lib/blob/
|
|
2990
|
+
##### [last_textfield](https://github.com/appium/ruby_lib/blob/cfbbe1cea6293af012b4a696c8a8948bb277aded/lib/appium_lib/ios/xcuitest/element/textfield.rb#L56) ios
|
|
2991
2991
|
|
|
2992
2992
|
> def last_textfield
|
|
2993
2993
|
|
|
@@ -2999,7 +2999,7 @@ __Returns:__
|
|
|
2999
2999
|
|
|
3000
3000
|
--
|
|
3001
3001
|
|
|
3002
|
-
##### [textfield_exact](https://github.com/appium/ruby_lib/blob/
|
|
3002
|
+
##### [textfield_exact](https://github.com/appium/ruby_lib/blob/cfbbe1cea6293af012b4a696c8a8948bb277aded/lib/appium_lib/ios/xcuitest/element/textfield.rb#L65) ios
|
|
3003
3003
|
|
|
3004
3004
|
> def textfield_exact(value)
|
|
3005
3005
|
|
|
@@ -3015,7 +3015,7 @@ __Returns:__
|
|
|
3015
3015
|
|
|
3016
3016
|
--
|
|
3017
3017
|
|
|
3018
|
-
##### [textfields_exact](https://github.com/appium/ruby_lib/blob/
|
|
3018
|
+
##### [textfields_exact](https://github.com/appium/ruby_lib/blob/cfbbe1cea6293af012b4a696c8a8948bb277aded/lib/appium_lib/ios/xcuitest/element/textfield.rb#L72) ios
|
|
3019
3019
|
|
|
3020
3020
|
> def textfields_exact(value)
|
|
3021
3021
|
|
|
@@ -3031,7 +3031,7 @@ __Returns:__
|
|
|
3031
3031
|
|
|
3032
3032
|
--
|
|
3033
3033
|
|
|
3034
|
-
##### [set_pasteboard](https://github.com/appium/ruby_lib/blob/
|
|
3034
|
+
##### [set_pasteboard](https://github.com/appium/ruby_lib/blob/cfbbe1cea6293af012b4a696c8a8948bb277aded/lib/appium_lib/ios/xcuitest/command/pasteboard.rb#L12) ios
|
|
3035
3035
|
|
|
3036
3036
|
> def set_pasteboard(content:, encoding: nil)
|
|
3037
3037
|
|
|
@@ -3046,7 +3046,7 @@ The parameter is mandatory
|
|
|
3046
3046
|
|
|
3047
3047
|
--
|
|
3048
3048
|
|
|
3049
|
-
##### [get_pasteboard](https://github.com/appium/ruby_lib/blob/
|
|
3049
|
+
##### [get_pasteboard](https://github.com/appium/ruby_lib/blob/cfbbe1cea6293af012b4a696c8a8948bb277aded/lib/appium_lib/ios/xcuitest/command/pasteboard.rb#L24) ios
|
|
3050
3050
|
|
|
3051
3051
|
> def get_pasteboard(encoding: nil)
|
|
3052
3052
|
|
|
@@ -3058,7 +3058,7 @@ __Parameters:__
|
|
|
3058
3058
|
|
|
3059
3059
|
--
|
|
3060
3060
|
|
|
3061
|
-
##### [xcuitest_install_app](https://github.com/appium/ruby_lib/blob/
|
|
3061
|
+
##### [xcuitest_install_app](https://github.com/appium/ruby_lib/blob/cfbbe1cea6293af012b4a696c8a8948bb277aded/lib/appium_lib/ios/xcuitest/command/multi_app_handler.rb#L21) ios
|
|
3062
3062
|
|
|
3063
3063
|
> def xcuitest_install_app(app:)
|
|
3064
3064
|
|
|
@@ -3074,7 +3074,7 @@ or an URL pointing to a remote .ipa/.zip file. Mandatory argument.
|
|
|
3074
3074
|
|
|
3075
3075
|
--
|
|
3076
3076
|
|
|
3077
|
-
##### [xcuitest_app_installed?](https://github.com/appium/ruby_lib/blob/
|
|
3077
|
+
##### [xcuitest_app_installed?](https://github.com/appium/ruby_lib/blob/cfbbe1cea6293af012b4a696c8a8948bb277aded/lib/appium_lib/ios/xcuitest/command/multi_app_handler.rb#L35) ios
|
|
3078
3078
|
|
|
3079
3079
|
> def xcuitest_app_installed?(bundle_id:)
|
|
3080
3080
|
|
|
@@ -3090,7 +3090,7 @@ __Returns:__
|
|
|
3090
3090
|
|
|
3091
3091
|
--
|
|
3092
3092
|
|
|
3093
|
-
##### [xcuitest_remove_app](https://github.com/appium/ruby_lib/blob/
|
|
3093
|
+
##### [xcuitest_remove_app](https://github.com/appium/ruby_lib/blob/cfbbe1cea6293af012b4a696c8a8948bb277aded/lib/appium_lib/ios/xcuitest/command/multi_app_handler.rb#L50) ios
|
|
3094
3094
|
|
|
3095
3095
|
> def xcuitest_remove_app(bundle_id:)
|
|
3096
3096
|
|
|
@@ -3103,7 +3103,7 @@ __Parameters:__
|
|
|
3103
3103
|
|
|
3104
3104
|
--
|
|
3105
3105
|
|
|
3106
|
-
##### [xcuitest_launch_app](https://github.com/appium/ruby_lib/blob/
|
|
3106
|
+
##### [xcuitest_launch_app](https://github.com/appium/ruby_lib/blob/cfbbe1cea6293af012b4a696c8a8948bb277aded/lib/appium_lib/ios/xcuitest/command/multi_app_handler.rb#L65) ios
|
|
3107
3107
|
|
|
3108
3108
|
> def xcuitest_launch_app(bundle_id:)
|
|
3109
3109
|
|
|
@@ -3116,7 +3116,7 @@ __Parameters:__
|
|
|
3116
3116
|
|
|
3117
3117
|
--
|
|
3118
3118
|
|
|
3119
|
-
##### [xcuitest_terminate_app](https://github.com/appium/ruby_lib/blob/
|
|
3119
|
+
##### [xcuitest_terminate_app](https://github.com/appium/ruby_lib/blob/cfbbe1cea6293af012b4a696c8a8948bb277aded/lib/appium_lib/ios/xcuitest/command/multi_app_handler.rb#L80) ios
|
|
3120
3120
|
|
|
3121
3121
|
> def xcuitest_terminate_app(bundle_id:)
|
|
3122
3122
|
|
|
@@ -3129,7 +3129,7 @@ __Parameters:__
|
|
|
3129
3129
|
|
|
3130
3130
|
--
|
|
3131
3131
|
|
|
3132
|
-
##### [xcuitest_query_app_status](https://github.com/appium/ruby_lib/blob/
|
|
3132
|
+
##### [xcuitest_query_app_status](https://github.com/appium/ruby_lib/blob/cfbbe1cea6293af012b4a696c8a8948bb277aded/lib/appium_lib/ios/xcuitest/command/multi_app_handler.rb#L102) ios
|
|
3133
3133
|
|
|
3134
3134
|
> def xcuitest_query_app_status(bundle_id:)
|
|
3135
3135
|
|
|
@@ -3153,7 +3153,7 @@ __Returns:__
|
|
|
3153
3153
|
|
|
3154
3154
|
--
|
|
3155
3155
|
|
|
3156
|
-
##### [xcuitest_activate_app](https://github.com/appium/ruby_lib/blob/
|
|
3156
|
+
##### [xcuitest_activate_app](https://github.com/appium/ruby_lib/blob/cfbbe1cea6293af012b4a696c8a8948bb277aded/lib/appium_lib/ios/xcuitest/command/multi_app_handler.rb#L118) ios
|
|
3157
3157
|
|
|
3158
3158
|
> def xcuitest_activate_app(bundle_id:)
|
|
3159
3159
|
|