appium_lib 9.8.3 → 9.8.4
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 -0
- data/docs/android_docs.md +186 -174
- data/docs/ios_docs.md +244 -232
- data/lib/appium_lib/driver.rb +19 -1
- data/lib/appium_lib/version.rb +2 -2
- data/release_notes.md +7 -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/eef19f638ed53ff17ef772c7c9ca571c570d5f85/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/eef19f638ed53ff17ef772c7c9ca571c570d5f85/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/eef19f638ed53ff17ef772c7c9ca571c570d5f85/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/eef19f638ed53ff17ef772c7c9ca571c570d5f85/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/eef19f638ed53ff17ef772c7c9ca571c570d5f85/lib/appium_lib/appium.rb#L181)
|
|
102
102
|
|
|
103
103
|
> def promote_appium_methods(class_array, driver = $driver)
|
|
104
104
|
|
|
@@ -116,7 +116,19 @@ __Parameters:__
|
|
|
116
116
|
|
|
117
117
|
--
|
|
118
118
|
|
|
119
|
-
##### [
|
|
119
|
+
##### [left_greater_than_or_equal_to_right?](https://github.com/appium/ruby_lib/blob/eef19f638ed53ff17ef772c7c9ca571c570d5f85/lib/appium_lib/driver.rb#L8)
|
|
120
|
+
|
|
121
|
+
> def self.left_greater_than_or_equal_to_right?(left, right)
|
|
122
|
+
|
|
123
|
+
To switch load class
|
|
124
|
+
|
|
125
|
+
__Returns:__
|
|
126
|
+
|
|
127
|
+
[Boolean]
|
|
128
|
+
|
|
129
|
+
--
|
|
130
|
+
|
|
131
|
+
##### [global_webdriver_http_sleep](https://github.com/appium/ruby_lib/blob/eef19f638ed53ff17ef772c7c9ca571c570d5f85/lib/appium_lib/driver.rb#L42)
|
|
120
132
|
|
|
121
133
|
> def global_webdriver_http_sleep
|
|
122
134
|
|
|
@@ -124,7 +136,7 @@ The amount to sleep in seconds before every webdriver http call.
|
|
|
124
136
|
|
|
125
137
|
--
|
|
126
138
|
|
|
127
|
-
##### [global_webdriver_http_sleep=](https://github.com/appium/ruby_lib/blob/
|
|
139
|
+
##### [global_webdriver_http_sleep=](https://github.com/appium/ruby_lib/blob/eef19f638ed53ff17ef772c7c9ca571c570d5f85/lib/appium_lib/driver.rb#L42)
|
|
128
140
|
|
|
129
141
|
> def global_webdriver_http_sleep=(value)
|
|
130
142
|
|
|
@@ -132,7 +144,7 @@ The amount to sleep in seconds before every webdriver http call.
|
|
|
132
144
|
|
|
133
145
|
--
|
|
134
146
|
|
|
135
|
-
##### [sauce](https://github.com/appium/ruby_lib/blob/
|
|
147
|
+
##### [sauce](https://github.com/appium/ruby_lib/blob/eef19f638ed53ff17ef772c7c9ca571c570d5f85/lib/appium_lib/driver.rb#L45)
|
|
136
148
|
|
|
137
149
|
> def sauce
|
|
138
150
|
|
|
@@ -140,7 +152,7 @@ SauceLab's settings
|
|
|
140
152
|
|
|
141
153
|
--
|
|
142
154
|
|
|
143
|
-
##### [sauce_username](https://github.com/appium/ruby_lib/blob/
|
|
155
|
+
##### [sauce_username](https://github.com/appium/ruby_lib/blob/eef19f638ed53ff17ef772c7c9ca571c570d5f85/lib/appium_lib/driver.rb#L48)
|
|
144
156
|
|
|
145
157
|
> def sauce_username
|
|
146
158
|
|
|
@@ -149,7 +161,7 @@ same as @sauce.username
|
|
|
149
161
|
|
|
150
162
|
--
|
|
151
163
|
|
|
152
|
-
##### [sauce_access_key](https://github.com/appium/ruby_lib/blob/
|
|
164
|
+
##### [sauce_access_key](https://github.com/appium/ruby_lib/blob/eef19f638ed53ff17ef772c7c9ca571c570d5f85/lib/appium_lib/driver.rb#L51)
|
|
153
165
|
|
|
154
166
|
> def sauce_access_key
|
|
155
167
|
|
|
@@ -158,7 +170,7 @@ same as @sauce.access_key
|
|
|
158
170
|
|
|
159
171
|
--
|
|
160
172
|
|
|
161
|
-
##### [sauce_endpoint](https://github.com/appium/ruby_lib/blob/
|
|
173
|
+
##### [sauce_endpoint](https://github.com/appium/ruby_lib/blob/eef19f638ed53ff17ef772c7c9ca571c570d5f85/lib/appium_lib/driver.rb#L54)
|
|
162
174
|
|
|
163
175
|
> def sauce_endpoint
|
|
164
176
|
|
|
@@ -167,7 +179,7 @@ same as @sauce.endpoint
|
|
|
167
179
|
|
|
168
180
|
--
|
|
169
181
|
|
|
170
|
-
##### [caps](https://github.com/appium/ruby_lib/blob/
|
|
182
|
+
##### [caps](https://github.com/appium/ruby_lib/blob/eef19f638ed53ff17ef772c7c9ca571c570d5f85/lib/appium_lib/driver.rb#L58)
|
|
171
183
|
|
|
172
184
|
> def caps
|
|
173
185
|
|
|
@@ -176,7 +188,7 @@ read http://www.rubydoc.info/github/appium/ruby_lib_core/Appium/Core/Driver
|
|
|
176
188
|
|
|
177
189
|
--
|
|
178
190
|
|
|
179
|
-
##### [custom_url](https://github.com/appium/ruby_lib/blob/
|
|
191
|
+
##### [custom_url](https://github.com/appium/ruby_lib/blob/eef19f638ed53ff17ef772c7c9ca571c570d5f85/lib/appium_lib/driver.rb#L59)
|
|
180
192
|
|
|
181
193
|
> def custom_url
|
|
182
194
|
|
|
@@ -184,7 +196,7 @@ Returns the value of attribute custom_url
|
|
|
184
196
|
|
|
185
197
|
--
|
|
186
198
|
|
|
187
|
-
##### [export_session](https://github.com/appium/ruby_lib/blob/
|
|
199
|
+
##### [export_session](https://github.com/appium/ruby_lib/blob/eef19f638ed53ff17ef772c7c9ca571c570d5f85/lib/appium_lib/driver.rb#L60)
|
|
188
200
|
|
|
189
201
|
> def export_session
|
|
190
202
|
|
|
@@ -192,7 +204,7 @@ Returns the value of attribute export_session
|
|
|
192
204
|
|
|
193
205
|
--
|
|
194
206
|
|
|
195
|
-
##### [export_session_path](https://github.com/appium/ruby_lib/blob/
|
|
207
|
+
##### [export_session_path](https://github.com/appium/ruby_lib/blob/eef19f638ed53ff17ef772c7c9ca571c570d5f85/lib/appium_lib/driver.rb#L61)
|
|
196
208
|
|
|
197
209
|
> def export_session_path
|
|
198
210
|
|
|
@@ -200,7 +212,7 @@ Returns the value of attribute export_session_path
|
|
|
200
212
|
|
|
201
213
|
--
|
|
202
214
|
|
|
203
|
-
##### [default_wait](https://github.com/appium/ruby_lib/blob/
|
|
215
|
+
##### [default_wait](https://github.com/appium/ruby_lib/blob/eef19f638ed53ff17ef772c7c9ca571c570d5f85/lib/appium_lib/driver.rb#L62)
|
|
204
216
|
|
|
205
217
|
> def default_wait
|
|
206
218
|
|
|
@@ -208,7 +220,7 @@ Returns the value of attribute default_wait
|
|
|
208
220
|
|
|
209
221
|
--
|
|
210
222
|
|
|
211
|
-
##### [appium_port](https://github.com/appium/ruby_lib/blob/
|
|
223
|
+
##### [appium_port](https://github.com/appium/ruby_lib/blob/eef19f638ed53ff17ef772c7c9ca571c570d5f85/lib/appium_lib/driver.rb#L63)
|
|
212
224
|
|
|
213
225
|
> def appium_port
|
|
214
226
|
|
|
@@ -216,7 +228,7 @@ Returns the value of attribute appium_port
|
|
|
216
228
|
|
|
217
229
|
--
|
|
218
230
|
|
|
219
|
-
##### [appium_device](https://github.com/appium/ruby_lib/blob/
|
|
231
|
+
##### [appium_device](https://github.com/appium/ruby_lib/blob/eef19f638ed53ff17ef772c7c9ca571c570d5f85/lib/appium_lib/driver.rb#L64)
|
|
220
232
|
|
|
221
233
|
> def appium_device
|
|
222
234
|
|
|
@@ -224,7 +236,7 @@ Returns the value of attribute appium_device
|
|
|
224
236
|
|
|
225
237
|
--
|
|
226
238
|
|
|
227
|
-
##### [automation_name](https://github.com/appium/ruby_lib/blob/
|
|
239
|
+
##### [automation_name](https://github.com/appium/ruby_lib/blob/eef19f638ed53ff17ef772c7c9ca571c570d5f85/lib/appium_lib/driver.rb#L65)
|
|
228
240
|
|
|
229
241
|
> def automation_name
|
|
230
242
|
|
|
@@ -232,7 +244,7 @@ Returns the value of attribute automation_name
|
|
|
232
244
|
|
|
233
245
|
--
|
|
234
246
|
|
|
235
|
-
##### [listener](https://github.com/appium/ruby_lib/blob/
|
|
247
|
+
##### [listener](https://github.com/appium/ruby_lib/blob/eef19f638ed53ff17ef772c7c9ca571c570d5f85/lib/appium_lib/driver.rb#L66)
|
|
236
248
|
|
|
237
249
|
> def listener
|
|
238
250
|
|
|
@@ -240,7 +252,7 @@ Returns the value of attribute listener
|
|
|
240
252
|
|
|
241
253
|
--
|
|
242
254
|
|
|
243
|
-
##### [http_client](https://github.com/appium/ruby_lib/blob/
|
|
255
|
+
##### [http_client](https://github.com/appium/ruby_lib/blob/eef19f638ed53ff17ef772c7c9ca571c570d5f85/lib/appium_lib/driver.rb#L67)
|
|
244
256
|
|
|
245
257
|
> def http_client
|
|
246
258
|
|
|
@@ -248,7 +260,7 @@ Returns the value of attribute http_client
|
|
|
248
260
|
|
|
249
261
|
--
|
|
250
262
|
|
|
251
|
-
##### [appium_wait_timeout](https://github.com/appium/ruby_lib/blob/
|
|
263
|
+
##### [appium_wait_timeout](https://github.com/appium/ruby_lib/blob/eef19f638ed53ff17ef772c7c9ca571c570d5f85/lib/appium_lib/driver.rb#L68)
|
|
252
264
|
|
|
253
265
|
> def appium_wait_timeout
|
|
254
266
|
|
|
@@ -256,7 +268,7 @@ Returns the value of attribute appium_wait_timeout
|
|
|
256
268
|
|
|
257
269
|
--
|
|
258
270
|
|
|
259
|
-
##### [appium_wait_interval](https://github.com/appium/ruby_lib/blob/
|
|
271
|
+
##### [appium_wait_interval](https://github.com/appium/ruby_lib/blob/eef19f638ed53ff17ef772c7c9ca571c570d5f85/lib/appium_lib/driver.rb#L69)
|
|
260
272
|
|
|
261
273
|
> def appium_wait_interval
|
|
262
274
|
|
|
@@ -264,7 +276,7 @@ Returns the value of attribute appium_wait_interval
|
|
|
264
276
|
|
|
265
277
|
--
|
|
266
278
|
|
|
267
|
-
##### [appium_server_status](https://github.com/appium/ruby_lib/blob/
|
|
279
|
+
##### [appium_server_status](https://github.com/appium/ruby_lib/blob/eef19f638ed53ff17ef772c7c9ca571c570d5f85/lib/appium_lib/driver.rb#L72)
|
|
268
280
|
|
|
269
281
|
> def appium_server_status
|
|
270
282
|
|
|
@@ -272,7 +284,7 @@ Appium's server version
|
|
|
272
284
|
|
|
273
285
|
--
|
|
274
286
|
|
|
275
|
-
##### [appium_debug](https://github.com/appium/ruby_lib/blob/
|
|
287
|
+
##### [appium_debug](https://github.com/appium/ruby_lib/blob/eef19f638ed53ff17ef772c7c9ca571c570d5f85/lib/appium_lib/driver.rb#L74)
|
|
276
288
|
|
|
277
289
|
> def appium_debug
|
|
278
290
|
|
|
@@ -280,7 +292,7 @@ Boolean debug mode for the Appium Ruby bindings
|
|
|
280
292
|
|
|
281
293
|
--
|
|
282
294
|
|
|
283
|
-
##### [driver](https://github.com/appium/ruby_lib/blob/
|
|
295
|
+
##### [driver](https://github.com/appium/ruby_lib/blob/eef19f638ed53ff17ef772c7c9ca571c570d5f85/lib/appium_lib/driver.rb#L77)
|
|
284
296
|
|
|
285
297
|
> def driver
|
|
286
298
|
|
|
@@ -292,7 +304,7 @@ __Returns:__
|
|
|
292
304
|
|
|
293
305
|
--
|
|
294
306
|
|
|
295
|
-
##### [core](https://github.com/appium/ruby_lib/blob/
|
|
307
|
+
##### [core](https://github.com/appium/ruby_lib/blob/eef19f638ed53ff17ef772c7c9ca571c570d5f85/lib/appium_lib/driver.rb#L79)
|
|
296
308
|
|
|
297
309
|
> def core
|
|
298
310
|
|
|
@@ -300,7 +312,7 @@ Instance of Appium::Core::Driver
|
|
|
300
312
|
|
|
301
313
|
--
|
|
302
314
|
|
|
303
|
-
##### [initialize](https://github.com/appium/ruby_lib/blob/
|
|
315
|
+
##### [initialize](https://github.com/appium/ruby_lib/blob/eef19f638ed53ff17ef772c7c9ca571c570d5f85/lib/appium_lib/driver.rb#L143)
|
|
304
316
|
|
|
305
317
|
> def initialize(opts = {}, global_driver = nil)
|
|
306
318
|
|
|
@@ -319,7 +331,7 @@ __Returns:__
|
|
|
319
331
|
|
|
320
332
|
--
|
|
321
333
|
|
|
322
|
-
##### [driver_attributes](https://github.com/appium/ruby_lib/blob/
|
|
334
|
+
##### [driver_attributes](https://github.com/appium/ruby_lib/blob/eef19f638ed53ff17ef772c7c9ca571c570d5f85/lib/appium_lib/driver.rb#L253)
|
|
323
335
|
|
|
324
336
|
> def driver_attributes
|
|
325
337
|
|
|
@@ -327,7 +339,7 @@ Returns a hash of the driver attributes
|
|
|
327
339
|
|
|
328
340
|
--
|
|
329
341
|
|
|
330
|
-
##### [device_is_android?](https://github.com/appium/ruby_lib/blob/
|
|
342
|
+
##### [device_is_android?](https://github.com/appium/ruby_lib/blob/eef19f638ed53ff17ef772c7c9ca571c570d5f85/lib/appium_lib/driver.rb#L273)
|
|
331
343
|
|
|
332
344
|
> def device_is_android?
|
|
333
345
|
|
|
@@ -339,7 +351,7 @@ __Returns:__
|
|
|
339
351
|
|
|
340
352
|
--
|
|
341
353
|
|
|
342
|
-
##### [device_is_ios?](https://github.com/appium/ruby_lib/blob/
|
|
354
|
+
##### [device_is_ios?](https://github.com/appium/ruby_lib/blob/eef19f638ed53ff17ef772c7c9ca571c570d5f85/lib/appium_lib/driver.rb#L277)
|
|
343
355
|
|
|
344
356
|
> def device_is_ios?
|
|
345
357
|
|
|
@@ -351,7 +363,7 @@ __Returns:__
|
|
|
351
363
|
|
|
352
364
|
--
|
|
353
365
|
|
|
354
|
-
##### [device_is_windows?](https://github.com/appium/ruby_lib/blob/
|
|
366
|
+
##### [device_is_windows?](https://github.com/appium/ruby_lib/blob/eef19f638ed53ff17ef772c7c9ca571c570d5f85/lib/appium_lib/driver.rb#L281)
|
|
355
367
|
|
|
356
368
|
> def device_is_windows?
|
|
357
369
|
|
|
@@ -363,7 +375,7 @@ __Returns:__
|
|
|
363
375
|
|
|
364
376
|
--
|
|
365
377
|
|
|
366
|
-
##### [automation_name_is_uiautomator2?](https://github.com/appium/ruby_lib/blob/
|
|
378
|
+
##### [automation_name_is_uiautomator2?](https://github.com/appium/ruby_lib/blob/eef19f638ed53ff17ef772c7c9ca571c570d5f85/lib/appium_lib/driver.rb#L287)
|
|
367
379
|
|
|
368
380
|
> def automation_name_is_uiautomator2?
|
|
369
381
|
|
|
@@ -375,7 +387,7 @@ __Returns:__
|
|
|
375
387
|
|
|
376
388
|
--
|
|
377
389
|
|
|
378
|
-
##### [automation_name_is_espresso?](https://github.com/appium/ruby_lib/blob/
|
|
390
|
+
##### [automation_name_is_espresso?](https://github.com/appium/ruby_lib/blob/eef19f638ed53ff17ef772c7c9ca571c570d5f85/lib/appium_lib/driver.rb#L293)
|
|
379
391
|
|
|
380
392
|
> def automation_name_is_espresso?
|
|
381
393
|
|
|
@@ -387,7 +399,7 @@ __Returns:__
|
|
|
387
399
|
|
|
388
400
|
--
|
|
389
401
|
|
|
390
|
-
##### [automation_name_is_xcuitest?](https://github.com/appium/ruby_lib/blob/
|
|
402
|
+
##### [automation_name_is_xcuitest?](https://github.com/appium/ruby_lib/blob/eef19f638ed53ff17ef772c7c9ca571c570d5f85/lib/appium_lib/driver.rb#L299)
|
|
391
403
|
|
|
392
404
|
> def automation_name_is_xcuitest?
|
|
393
405
|
|
|
@@ -399,7 +411,7 @@ __Returns:__
|
|
|
399
411
|
|
|
400
412
|
--
|
|
401
413
|
|
|
402
|
-
##### [dialect](https://github.com/appium/ruby_lib/blob/
|
|
414
|
+
##### [dialect](https://github.com/appium/ruby_lib/blob/eef19f638ed53ff17ef772c7c9ca571c570d5f85/lib/appium_lib/driver.rb#L319)
|
|
403
415
|
|
|
404
416
|
> def dialect
|
|
405
417
|
|
|
@@ -421,7 +433,7 @@ __Returns:__
|
|
|
421
433
|
|
|
422
434
|
--
|
|
423
435
|
|
|
424
|
-
##### [check_server_version_xcuitest](https://github.com/appium/ruby_lib/blob/
|
|
436
|
+
##### [check_server_version_xcuitest](https://github.com/appium/ruby_lib/blob/eef19f638ed53ff17ef772c7c9ca571c570d5f85/lib/appium_lib/driver.rb#L326)
|
|
425
437
|
|
|
426
438
|
> def check_server_version_xcuitest
|
|
427
439
|
|
|
@@ -434,7 +446,7 @@ __Returns:__
|
|
|
434
446
|
|
|
435
447
|
--
|
|
436
448
|
|
|
437
|
-
##### [appium_server_version](https://github.com/appium/ruby_lib/blob/
|
|
449
|
+
##### [appium_server_version](https://github.com/appium/ruby_lib/blob/eef19f638ed53ff17ef772c7c9ca571c570d5f85/lib/appium_lib/driver.rb#L347)
|
|
438
450
|
|
|
439
451
|
> def appium_server_version
|
|
440
452
|
|
|
@@ -446,7 +458,7 @@ __Returns:__
|
|
|
446
458
|
|
|
447
459
|
--
|
|
448
460
|
|
|
449
|
-
##### [remote_status](https://github.com/appium/ruby_lib/blob/
|
|
461
|
+
##### [remote_status](https://github.com/appium/ruby_lib/blob/eef19f638ed53ff17ef772c7c9ca571c570d5f85/lib/appium_lib/driver.rb#L354)
|
|
450
462
|
|
|
451
463
|
> def appium_server_version
|
|
452
464
|
|
|
@@ -458,7 +470,7 @@ __Returns:__
|
|
|
458
470
|
|
|
459
471
|
--
|
|
460
472
|
|
|
461
|
-
##### [platform_version](https://github.com/appium/ruby_lib/blob/
|
|
473
|
+
##### [platform_version](https://github.com/appium/ruby_lib/blob/eef19f638ed53ff17ef772c7c9ca571c570d5f85/lib/appium_lib/driver.rb#L358)
|
|
462
474
|
|
|
463
475
|
> def platform_version
|
|
464
476
|
|
|
@@ -470,7 +482,7 @@ __Returns:__
|
|
|
470
482
|
|
|
471
483
|
--
|
|
472
484
|
|
|
473
|
-
##### [appium_client_version](https://github.com/appium/ruby_lib/blob/
|
|
485
|
+
##### [appium_client_version](https://github.com/appium/ruby_lib/blob/eef19f638ed53ff17ef772c7c9ca571c570d5f85/lib/appium_lib/driver.rb#L371)
|
|
474
486
|
|
|
475
487
|
> def appium_client_version
|
|
476
488
|
|
|
@@ -482,7 +494,7 @@ __Returns:__
|
|
|
482
494
|
|
|
483
495
|
--
|
|
484
496
|
|
|
485
|
-
##### [absolute_app_path](https://github.com/appium/ruby_lib/blob/
|
|
497
|
+
##### [absolute_app_path](https://github.com/appium/ruby_lib/blob/eef19f638ed53ff17ef772c7c9ca571c570d5f85/lib/appium_lib/driver.rb#L383)
|
|
486
498
|
|
|
487
499
|
> def self.absolute_app_path(opts)
|
|
488
500
|
|
|
@@ -499,7 +511,7 @@ __Returns:__
|
|
|
499
511
|
|
|
500
512
|
--
|
|
501
513
|
|
|
502
|
-
##### [server_url](https://github.com/appium/ruby_lib/blob/
|
|
514
|
+
##### [server_url](https://github.com/appium/ruby_lib/blob/eef19f638ed53ff17ef772c7c9ca571c570d5f85/lib/appium_lib/driver.rb#L416)
|
|
503
515
|
|
|
504
516
|
> def server_url
|
|
505
517
|
|
|
@@ -511,7 +523,7 @@ __Returns:__
|
|
|
511
523
|
|
|
512
524
|
--
|
|
513
525
|
|
|
514
|
-
##### [restart](https://github.com/appium/ruby_lib/blob/
|
|
526
|
+
##### [restart](https://github.com/appium/ruby_lib/blob/eef19f638ed53ff17ef772c7c9ca571c570d5f85/lib/appium_lib/driver.rb#L424)
|
|
515
527
|
|
|
516
528
|
> def restart
|
|
517
529
|
|
|
@@ -523,7 +535,7 @@ __Returns:__
|
|
|
523
535
|
|
|
524
536
|
--
|
|
525
537
|
|
|
526
|
-
##### [screenshot](https://github.com/appium/ruby_lib/blob/
|
|
538
|
+
##### [screenshot](https://github.com/appium/ruby_lib/blob/eef19f638ed53ff17ef772c7c9ca571c570d5f85/lib/appium_lib/driver.rb#L437)
|
|
527
539
|
|
|
528
540
|
> def screenshot(png_save_path)
|
|
529
541
|
|
|
@@ -539,7 +551,7 @@ __Returns:__
|
|
|
539
551
|
|
|
540
552
|
--
|
|
541
553
|
|
|
542
|
-
##### [element_screenshot](https://github.com/appium/ruby_lib/blob/
|
|
554
|
+
##### [element_screenshot](https://github.com/appium/ruby_lib/blob/eef19f638ed53ff17ef772c7c9ca571c570d5f85/lib/appium_lib/driver.rb#L451)
|
|
543
555
|
|
|
544
556
|
> def element_screenshot(element, png_save_path)
|
|
545
557
|
|
|
@@ -557,7 +569,7 @@ __Returns:__
|
|
|
557
569
|
|
|
558
570
|
--
|
|
559
571
|
|
|
560
|
-
##### [driver_quit](https://github.com/appium/ruby_lib/blob/
|
|
572
|
+
##### [driver_quit](https://github.com/appium/ruby_lib/blob/eef19f638ed53ff17ef772c7c9ca571c570d5f85/lib/appium_lib/driver.rb#L458)
|
|
561
573
|
|
|
562
574
|
> def driver_quit
|
|
563
575
|
|
|
@@ -569,7 +581,7 @@ __Returns:__
|
|
|
569
581
|
|
|
570
582
|
--
|
|
571
583
|
|
|
572
|
-
##### [quit_driver](https://github.com/appium/ruby_lib/blob/
|
|
584
|
+
##### [quit_driver](https://github.com/appium/ruby_lib/blob/eef19f638ed53ff17ef772c7c9ca571c570d5f85/lib/appium_lib/driver.rb#L461)
|
|
573
585
|
|
|
574
586
|
> def driver_quit
|
|
575
587
|
|
|
@@ -581,7 +593,7 @@ __Returns:__
|
|
|
581
593
|
|
|
582
594
|
--
|
|
583
595
|
|
|
584
|
-
##### [window_size](https://github.com/appium/ruby_lib/blob/
|
|
596
|
+
##### [window_size](https://github.com/appium/ruby_lib/blob/eef19f638ed53ff17ef772c7c9ca571c570d5f85/lib/appium_lib/driver.rb#L472)
|
|
585
597
|
|
|
586
598
|
> def window_size
|
|
587
599
|
|
|
@@ -593,7 +605,7 @@ __Returns:__
|
|
|
593
605
|
|
|
594
606
|
--
|
|
595
607
|
|
|
596
|
-
##### [start_driver](https://github.com/appium/ruby_lib/blob/
|
|
608
|
+
##### [start_driver](https://github.com/appium/ruby_lib/blob/eef19f638ed53ff17ef772c7c9ca571c570d5f85/lib/appium_lib/driver.rb#L504)
|
|
597
609
|
|
|
598
610
|
> def start_driver(http_client_ops =
|
|
599
611
|
|
|
@@ -613,7 +625,7 @@ __Returns:__
|
|
|
613
625
|
|
|
614
626
|
--
|
|
615
627
|
|
|
616
|
-
##### [set_implicit_wait](https://github.com/appium/ruby_lib/blob/
|
|
628
|
+
##### [set_implicit_wait](https://github.com/appium/ruby_lib/blob/eef19f638ed53ff17ef772c7c9ca571c570d5f85/lib/appium_lib/driver.rb#L526)
|
|
617
629
|
|
|
618
630
|
> def set_implicit_wait(wait)
|
|
619
631
|
|
|
@@ -621,7 +633,7 @@ To ignore error for Espresso Driver
|
|
|
621
633
|
|
|
622
634
|
--
|
|
623
635
|
|
|
624
|
-
##### [no_wait](https://github.com/appium/ruby_lib/blob/
|
|
636
|
+
##### [no_wait](https://github.com/appium/ruby_lib/blob/eef19f638ed53ff17ef772c7c9ca571c570d5f85/lib/appium_lib/driver.rb#L536)
|
|
625
637
|
|
|
626
638
|
> def no_wait
|
|
627
639
|
|
|
@@ -629,7 +641,7 @@ Set implicit wait to zero.
|
|
|
629
641
|
|
|
630
642
|
--
|
|
631
643
|
|
|
632
|
-
##### [set_wait](https://github.com/appium/ruby_lib/blob/
|
|
644
|
+
##### [set_wait](https://github.com/appium/ruby_lib/blob/eef19f638ed53ff17ef772c7c9ca571c570d5f85/lib/appium_lib/driver.rb#L550)
|
|
633
645
|
|
|
634
646
|
> def set_wait(timeout = nil)
|
|
635
647
|
|
|
@@ -645,7 +657,7 @@ __Returns:__
|
|
|
645
657
|
|
|
646
658
|
--
|
|
647
659
|
|
|
648
|
-
##### [exists](https://github.com/appium/ruby_lib/blob/
|
|
660
|
+
##### [exists](https://github.com/appium/ruby_lib/blob/eef19f638ed53ff17ef772c7c9ca571c570d5f85/lib/appium_lib/driver.rb#L567)
|
|
649
661
|
|
|
650
662
|
> def exists(pre_check = 0, post_check = @core.default_wait)
|
|
651
663
|
|
|
@@ -669,7 +681,7 @@ __Returns:__
|
|
|
669
681
|
|
|
670
682
|
--
|
|
671
683
|
|
|
672
|
-
##### [execute_script](https://github.com/appium/ruby_lib/blob/
|
|
684
|
+
##### [execute_script](https://github.com/appium/ruby_lib/blob/eef19f638ed53ff17ef772c7c9ca571c570d5f85/lib/appium_lib/driver.rb#L591)
|
|
673
685
|
|
|
674
686
|
> def execute_script(script, *args)
|
|
675
687
|
|
|
@@ -687,7 +699,7 @@ __Returns:__
|
|
|
687
699
|
|
|
688
700
|
--
|
|
689
701
|
|
|
690
|
-
##### [find_elements](https://github.com/appium/ruby_lib/blob/
|
|
702
|
+
##### [find_elements](https://github.com/appium/ruby_lib/blob/eef19f638ed53ff17ef772c7c9ca571c570d5f85/lib/appium_lib/driver.rb#L613)
|
|
691
703
|
|
|
692
704
|
> def find_elements(*args)
|
|
693
705
|
|
|
@@ -707,7 +719,7 @@ __Returns:__
|
|
|
707
719
|
|
|
708
720
|
--
|
|
709
721
|
|
|
710
|
-
##### [find_element](https://github.com/appium/ruby_lib/blob/
|
|
722
|
+
##### [find_element](https://github.com/appium/ruby_lib/blob/eef19f638ed53ff17ef772c7c9ca571c570d5f85/lib/appium_lib/driver.rb#L628)
|
|
711
723
|
|
|
712
724
|
> def find_element(*args)
|
|
713
725
|
|
|
@@ -725,7 +737,7 @@ __Returns:__
|
|
|
725
737
|
|
|
726
738
|
--
|
|
727
739
|
|
|
728
|
-
##### [set_location](https://github.com/appium/ruby_lib/blob/
|
|
740
|
+
##### [set_location](https://github.com/appium/ruby_lib/blob/eef19f638ed53ff17ef772c7c9ca571c570d5f85/lib/appium_lib/driver.rb#L641)
|
|
729
741
|
|
|
730
742
|
> def set_location(opts = {})
|
|
731
743
|
|
|
@@ -741,7 +753,7 @@ __Returns:__
|
|
|
741
753
|
|
|
742
754
|
--
|
|
743
755
|
|
|
744
|
-
##### [x](https://github.com/appium/ruby_lib/blob/
|
|
756
|
+
##### [x](https://github.com/appium/ruby_lib/blob/eef19f638ed53ff17ef772c7c9ca571c570d5f85/lib/appium_lib/driver.rb#L651)
|
|
745
757
|
|
|
746
758
|
> def x
|
|
747
759
|
|
|
@@ -754,7 +766,7 @@ __Returns:__
|
|
|
754
766
|
|
|
755
767
|
--
|
|
756
768
|
|
|
757
|
-
##### [username](https://github.com/appium/ruby_lib/blob/
|
|
769
|
+
##### [username](https://github.com/appium/ruby_lib/blob/eef19f638ed53ff17ef772c7c9ca571c570d5f85/lib/appium_lib/sauce_labs.rb#L4)
|
|
758
770
|
|
|
759
771
|
> def username
|
|
760
772
|
|
|
@@ -762,7 +774,7 @@ Username for use on Sauce Labs. Set `false` to disable Sauce, even when SAUCE_US
|
|
|
762
774
|
|
|
763
775
|
--
|
|
764
776
|
|
|
765
|
-
##### [access_key](https://github.com/appium/ruby_lib/blob/
|
|
777
|
+
##### [access_key](https://github.com/appium/ruby_lib/blob/eef19f638ed53ff17ef772c7c9ca571c570d5f85/lib/appium_lib/sauce_labs.rb#L6)
|
|
766
778
|
|
|
767
779
|
> def access_key
|
|
768
780
|
|
|
@@ -770,7 +782,7 @@ Access Key for use on Sauce Labs. Set `false` to disable Sauce, even when SAUCE_
|
|
|
770
782
|
|
|
771
783
|
--
|
|
772
784
|
|
|
773
|
-
##### [endpoint](https://github.com/appium/ruby_lib/blob/
|
|
785
|
+
##### [endpoint](https://github.com/appium/ruby_lib/blob/eef19f638ed53ff17ef772c7c9ca571c570d5f85/lib/appium_lib/sauce_labs.rb#L8)
|
|
774
786
|
|
|
775
787
|
> def endpoint
|
|
776
788
|
|
|
@@ -778,7 +790,7 @@ Override the Sauce Appium endpoint to allow e.g. TestObject tests. Default is 'o
|
|
|
778
790
|
|
|
779
791
|
--
|
|
780
792
|
|
|
781
|
-
##### [initialize](https://github.com/appium/ruby_lib/blob/
|
|
793
|
+
##### [initialize](https://github.com/appium/ruby_lib/blob/eef19f638ed53ff17ef772c7c9ca571c570d5f85/lib/appium_lib/sauce_labs.rb#L33)
|
|
782
794
|
|
|
783
795
|
> def initialize(appium_lib_opts)
|
|
784
796
|
|
|
@@ -794,7 +806,7 @@ __Returns:__
|
|
|
794
806
|
|
|
795
807
|
--
|
|
796
808
|
|
|
797
|
-
##### [sauce_server_url?](https://github.com/appium/ruby_lib/blob/
|
|
809
|
+
##### [sauce_server_url?](https://github.com/appium/ruby_lib/blob/eef19f638ed53ff17ef772c7c9ca571c570d5f85/lib/appium_lib/sauce_labs.rb#L53)
|
|
798
810
|
|
|
799
811
|
> def sauce_server_url?
|
|
800
812
|
|
|
@@ -806,7 +818,7 @@ __Returns:__
|
|
|
806
818
|
|
|
807
819
|
--
|
|
808
820
|
|
|
809
|
-
##### [server_url](https://github.com/appium/ruby_lib/blob/
|
|
821
|
+
##### [server_url](https://github.com/appium/ruby_lib/blob/eef19f638ed53ff17ef772c7c9ca571c570d5f85/lib/appium_lib/sauce_labs.rb#L66)
|
|
810
822
|
|
|
811
823
|
> def server_url
|
|
812
824
|
|
|
@@ -818,7 +830,7 @@ __Returns:__
|
|
|
818
830
|
|
|
819
831
|
--
|
|
820
832
|
|
|
821
|
-
##### [get_log](https://github.com/appium/ruby_lib/blob/
|
|
833
|
+
##### [get_log](https://github.com/appium/ruby_lib/blob/eef19f638ed53ff17ef772c7c9ca571c570d5f85/lib/appium_lib/common/log.rb#L11)
|
|
822
834
|
|
|
823
835
|
> def get_log(type)
|
|
824
836
|
|
|
@@ -834,7 +846,7 @@ __Returns:__
|
|
|
834
846
|
|
|
835
847
|
--
|
|
836
848
|
|
|
837
|
-
##### [get_available_log_types](https://github.com/appium/ruby_lib/blob/
|
|
849
|
+
##### [get_available_log_types](https://github.com/appium/ruby_lib/blob/eef19f638ed53ff17ef772c7c9ca571c570d5f85/lib/appium_lib/common/log.rb#L23)
|
|
838
850
|
|
|
839
851
|
> def get_available_log_types
|
|
840
852
|
|
|
@@ -846,7 +858,7 @@ __Returns:__
|
|
|
846
858
|
|
|
847
859
|
--
|
|
848
860
|
|
|
849
|
-
##### [initialize](https://github.com/appium/ruby_lib/blob/
|
|
861
|
+
##### [initialize](https://github.com/appium/ruby_lib/blob/eef19f638ed53ff17ef772c7c9ca571c570d5f85/lib/appium_lib/common/wait.rb#L6)
|
|
850
862
|
|
|
851
863
|
> def initialize(opts = {})
|
|
852
864
|
|
|
@@ -858,7 +870,7 @@ __Returns:__
|
|
|
858
870
|
|
|
859
871
|
--
|
|
860
872
|
|
|
861
|
-
##### [wait_true](https://github.com/appium/ruby_lib/blob/
|
|
873
|
+
##### [wait_true](https://github.com/appium/ruby_lib/blob/eef19f638ed53ff17ef772c7c9ca571c570d5f85/lib/appium_lib/common/wait.rb#L26)
|
|
862
874
|
|
|
863
875
|
> def wait_true(opts = {})
|
|
864
876
|
|
|
@@ -878,7 +890,7 @@ __Parameters:__
|
|
|
878
890
|
|
|
879
891
|
--
|
|
880
892
|
|
|
881
|
-
##### [wait](https://github.com/appium/ruby_lib/blob/
|
|
893
|
+
##### [wait](https://github.com/appium/ruby_lib/blob/eef19f638ed53ff17ef772c7c9ca571c570d5f85/lib/appium_lib/common/wait.rb#L43)
|
|
882
894
|
|
|
883
895
|
> def wait(opts = {})
|
|
884
896
|
|
|
@@ -896,7 +908,7 @@ __Parameters:__
|
|
|
896
908
|
|
|
897
909
|
--
|
|
898
910
|
|
|
899
|
-
##### [add_touch_actions](https://github.com/appium/ruby_lib/blob/
|
|
911
|
+
##### [add_touch_actions](https://github.com/appium/ruby_lib/blob/eef19f638ed53ff17ef772c7c9ca571c570d5f85/lib/appium_lib/common/device.rb#L12)
|
|
900
912
|
|
|
901
913
|
> def add_touch_actions
|
|
902
914
|
|
|
@@ -904,7 +916,7 @@ __Parameters:__
|
|
|
904
916
|
|
|
905
917
|
--
|
|
906
918
|
|
|
907
|
-
##### [ignore](https://github.com/appium/ruby_lib/blob/
|
|
919
|
+
##### [ignore](https://github.com/appium/ruby_lib/blob/eef19f638ed53ff17ef772c7c9ca571c570d5f85/lib/appium_lib/common/helper.rb#L16)
|
|
908
920
|
|
|
909
921
|
> def ignore
|
|
910
922
|
|
|
@@ -912,7 +924,7 @@ Return yield and ignore any exceptions.
|
|
|
912
924
|
|
|
913
925
|
--
|
|
914
926
|
|
|
915
|
-
##### [back](https://github.com/appium/ruby_lib/blob/
|
|
927
|
+
##### [back](https://github.com/appium/ruby_lib/blob/eef19f638ed53ff17ef772c7c9ca571c570d5f85/lib/appium_lib/common/helper.rb#L23)
|
|
916
928
|
|
|
917
929
|
> def back
|
|
918
930
|
|
|
@@ -924,7 +936,7 @@ __Returns:__
|
|
|
924
936
|
|
|
925
937
|
--
|
|
926
938
|
|
|
927
|
-
##### [session_id](https://github.com/appium/ruby_lib/blob/
|
|
939
|
+
##### [session_id](https://github.com/appium/ruby_lib/blob/eef19f638ed53ff17ef772c7c9ca571c570d5f85/lib/appium_lib/common/helper.rb#L34)
|
|
928
940
|
|
|
929
941
|
> def session_id
|
|
930
942
|
|
|
@@ -936,7 +948,7 @@ __Returns:__
|
|
|
936
948
|
|
|
937
949
|
--
|
|
938
950
|
|
|
939
|
-
##### [xpath](https://github.com/appium/ruby_lib/blob/
|
|
951
|
+
##### [xpath](https://github.com/appium/ruby_lib/blob/eef19f638ed53ff17ef772c7c9ca571c570d5f85/lib/appium_lib/common/helper.rb#L42)
|
|
940
952
|
|
|
941
953
|
> def xpath(xpath_str)
|
|
942
954
|
|
|
@@ -952,7 +964,7 @@ __Returns:__
|
|
|
952
964
|
|
|
953
965
|
--
|
|
954
966
|
|
|
955
|
-
##### [xpaths](https://github.com/appium/ruby_lib/blob/
|
|
967
|
+
##### [xpaths](https://github.com/appium/ruby_lib/blob/eef19f638ed53ff17ef772c7c9ca571c570d5f85/lib/appium_lib/common/helper.rb#L50)
|
|
956
968
|
|
|
957
969
|
> def xpaths(xpath_str)
|
|
958
970
|
|
|
@@ -968,7 +980,7 @@ __Returns:__
|
|
|
968
980
|
|
|
969
981
|
--
|
|
970
982
|
|
|
971
|
-
##### [result](https://github.com/appium/ruby_lib/blob/
|
|
983
|
+
##### [result](https://github.com/appium/ruby_lib/blob/eef19f638ed53ff17ef772c7c9ca571c570d5f85/lib/appium_lib/common/helper.rb#L60)
|
|
972
984
|
|
|
973
985
|
> def result
|
|
974
986
|
|
|
@@ -976,7 +988,7 @@ Returns the value of attribute result
|
|
|
976
988
|
|
|
977
989
|
--
|
|
978
990
|
|
|
979
|
-
##### [initialize](https://github.com/appium/ruby_lib/blob/
|
|
991
|
+
##### [initialize](https://github.com/appium/ruby_lib/blob/eef19f638ed53ff17ef772c7c9ca571c570d5f85/lib/appium_lib/common/helper.rb#L62)
|
|
980
992
|
|
|
981
993
|
> def initialize
|
|
982
994
|
|
|
@@ -988,7 +1000,7 @@ __Returns:__
|
|
|
988
1000
|
|
|
989
1001
|
--
|
|
990
1002
|
|
|
991
|
-
##### [reset](https://github.com/appium/ruby_lib/blob/
|
|
1003
|
+
##### [reset](https://github.com/appium/ruby_lib/blob/eef19f638ed53ff17ef772c7c9ca571c570d5f85/lib/appium_lib/common/helper.rb#L66)
|
|
992
1004
|
|
|
993
1005
|
> def reset
|
|
994
1006
|
|
|
@@ -996,7 +1008,7 @@ __Returns:__
|
|
|
996
1008
|
|
|
997
1009
|
--
|
|
998
1010
|
|
|
999
|
-
##### [start_element](https://github.com/appium/ruby_lib/blob/
|
|
1011
|
+
##### [start_element](https://github.com/appium/ruby_lib/blob/eef19f638ed53ff17ef772c7c9ca571c570d5f85/lib/appium_lib/common/helper.rb#L71)
|
|
1000
1012
|
|
|
1001
1013
|
> def start_element(name, attrs = [], driver = $driver)
|
|
1002
1014
|
|
|
@@ -1004,7 +1016,7 @@ http://nokogiri.org/Nokogiri/XML/SAX/Document.html
|
|
|
1004
1016
|
|
|
1005
1017
|
--
|
|
1006
1018
|
|
|
1007
|
-
##### [formatted_result](https://github.com/appium/ruby_lib/blob/
|
|
1019
|
+
##### [formatted_result](https://github.com/appium/ruby_lib/blob/eef19f638ed53ff17ef772c7c9ca571c570d5f85/lib/appium_lib/common/helper.rb#L77)
|
|
1008
1020
|
|
|
1009
1021
|
> def formatted_result
|
|
1010
1022
|
|
|
@@ -1012,7 +1024,7 @@ http://nokogiri.org/Nokogiri/XML/SAX/Document.html
|
|
|
1012
1024
|
|
|
1013
1025
|
--
|
|
1014
1026
|
|
|
1015
|
-
##### [get_page_class](https://github.com/appium/ruby_lib/blob/
|
|
1027
|
+
##### [get_page_class](https://github.com/appium/ruby_lib/blob/eef19f638ed53ff17ef772c7c9ca571c570d5f85/lib/appium_lib/common/helper.rb#L96)
|
|
1016
1028
|
|
|
1017
1029
|
> def get_page_class
|
|
1018
1030
|
|
|
@@ -1024,7 +1036,7 @@ __Returns:__
|
|
|
1024
1036
|
|
|
1025
1037
|
--
|
|
1026
1038
|
|
|
1027
|
-
##### [page_class](https://github.com/appium/ruby_lib/blob/
|
|
1039
|
+
##### [page_class](https://github.com/appium/ruby_lib/blob/eef19f638ed53ff17ef772c7c9ca571c570d5f85/lib/appium_lib/common/helper.rb#L121)
|
|
1028
1040
|
|
|
1029
1041
|
> def page_class
|
|
1030
1042
|
|
|
@@ -1037,7 +1049,7 @@ __Returns:__
|
|
|
1037
1049
|
|
|
1038
1050
|
--
|
|
1039
1051
|
|
|
1040
|
-
##### [source](https://github.com/appium/ruby_lib/blob/
|
|
1052
|
+
##### [source](https://github.com/appium/ruby_lib/blob/eef19f638ed53ff17ef772c7c9ca571c570d5f85/lib/appium_lib/common/helper.rb#L128)
|
|
1041
1053
|
|
|
1042
1054
|
> def source
|
|
1043
1055
|
|
|
@@ -1049,7 +1061,7 @@ __Returns:__
|
|
|
1049
1061
|
|
|
1050
1062
|
--
|
|
1051
1063
|
|
|
1052
|
-
##### [get_source](https://github.com/appium/ruby_lib/blob/
|
|
1064
|
+
##### [get_source](https://github.com/appium/ruby_lib/blob/eef19f638ed53ff17ef772c7c9ca571c570d5f85/lib/appium_lib/common/helper.rb#L135)
|
|
1053
1065
|
|
|
1054
1066
|
> def get_source
|
|
1055
1067
|
|
|
@@ -1062,7 +1074,7 @@ __Returns:__
|
|
|
1062
1074
|
|
|
1063
1075
|
--
|
|
1064
1076
|
|
|
1065
|
-
##### [px_to_window_rel](https://github.com/appium/ruby_lib/blob/
|
|
1077
|
+
##### [px_to_window_rel](https://github.com/appium/ruby_lib/blob/eef19f638ed53ff17ef772c7c9ca571c570d5f85/lib/appium_lib/common/helper.rb#L145)
|
|
1066
1078
|
|
|
1067
1079
|
> def px_to_window_rel(opts = {}, driver = $driver)
|
|
1068
1080
|
|
|
@@ -1070,7 +1082,7 @@ Converts pixel values to window relative values
|
|
|
1070
1082
|
|
|
1071
1083
|
--
|
|
1072
1084
|
|
|
1073
|
-
##### [xml_keys](https://github.com/appium/ruby_lib/blob/
|
|
1085
|
+
##### [xml_keys](https://github.com/appium/ruby_lib/blob/eef19f638ed53ff17ef772c7c9ca571c570d5f85/lib/appium_lib/common/helper.rb#L164)
|
|
1074
1086
|
|
|
1075
1087
|
> def xml_keys(target)
|
|
1076
1088
|
|
|
@@ -1086,7 +1098,7 @@ __Returns:__
|
|
|
1086
1098
|
|
|
1087
1099
|
--
|
|
1088
1100
|
|
|
1089
|
-
##### [xml_values](https://github.com/appium/ruby_lib/blob/
|
|
1101
|
+
##### [xml_values](https://github.com/appium/ruby_lib/blob/eef19f638ed53ff17ef772c7c9ca571c570d5f85/lib/appium_lib/common/helper.rb#L172)
|
|
1090
1102
|
|
|
1091
1103
|
> def xml_values(target)
|
|
1092
1104
|
|
|
@@ -1102,7 +1114,7 @@ __Returns:__
|
|
|
1102
1114
|
|
|
1103
1115
|
--
|
|
1104
1116
|
|
|
1105
|
-
##### [resolve_id](https://github.com/appium/ruby_lib/blob/
|
|
1117
|
+
##### [resolve_id](https://github.com/appium/ruby_lib/blob/eef19f638ed53ff17ef772c7c9ca571c570d5f85/lib/appium_lib/common/helper.rb#L180)
|
|
1106
1118
|
|
|
1107
1119
|
> def resolve_id(id)
|
|
1108
1120
|
|
|
@@ -1118,7 +1130,7 @@ __Returns:__
|
|
|
1118
1130
|
|
|
1119
1131
|
--
|
|
1120
1132
|
|
|
1121
|
-
##### [filter](https://github.com/appium/ruby_lib/blob/
|
|
1133
|
+
##### [filter](https://github.com/appium/ruby_lib/blob/eef19f638ed53ff17ef772c7c9ca571c570d5f85/lib/appium_lib/common/helper.rb#L187)
|
|
1122
1134
|
|
|
1123
1135
|
> def filter
|
|
1124
1136
|
|
|
@@ -1126,7 +1138,7 @@ Returns the value of attribute filter
|
|
|
1126
1138
|
|
|
1127
1139
|
--
|
|
1128
1140
|
|
|
1129
|
-
##### [filter=](https://github.com/appium/ruby_lib/blob/
|
|
1141
|
+
##### [filter=](https://github.com/appium/ruby_lib/blob/eef19f638ed53ff17ef772c7c9ca571c570d5f85/lib/appium_lib/common/helper.rb#L190)
|
|
1130
1142
|
|
|
1131
1143
|
> def filter=(value)
|
|
1132
1144
|
|
|
@@ -1134,7 +1146,7 @@ convert to string to support symbols
|
|
|
1134
1146
|
|
|
1135
1147
|
--
|
|
1136
1148
|
|
|
1137
|
-
##### [initialize](https://github.com/appium/ruby_lib/blob/
|
|
1149
|
+
##### [initialize](https://github.com/appium/ruby_lib/blob/eef19f638ed53ff17ef772c7c9ca571c570d5f85/lib/appium_lib/common/helper.rb#L196)
|
|
1138
1150
|
|
|
1139
1151
|
> def initialize
|
|
1140
1152
|
|
|
@@ -1146,7 +1158,7 @@ __Returns:__
|
|
|
1146
1158
|
|
|
1147
1159
|
--
|
|
1148
1160
|
|
|
1149
|
-
##### [reset](https://github.com/appium/ruby_lib/blob/
|
|
1161
|
+
##### [reset](https://github.com/appium/ruby_lib/blob/eef19f638ed53ff17ef772c7c9ca571c570d5f85/lib/appium_lib/common/helper.rb#L201)
|
|
1150
1162
|
|
|
1151
1163
|
> def reset
|
|
1152
1164
|
|
|
@@ -1154,7 +1166,7 @@ __Returns:__
|
|
|
1154
1166
|
|
|
1155
1167
|
--
|
|
1156
1168
|
|
|
1157
|
-
##### [result](https://github.com/appium/ruby_lib/blob/
|
|
1169
|
+
##### [result](https://github.com/appium/ruby_lib/blob/eef19f638ed53ff17ef772c7c9ca571c570d5f85/lib/appium_lib/common/helper.rb#L207)
|
|
1158
1170
|
|
|
1159
1171
|
> def result
|
|
1160
1172
|
|
|
@@ -1162,7 +1174,7 @@ __Returns:__
|
|
|
1162
1174
|
|
|
1163
1175
|
--
|
|
1164
1176
|
|
|
1165
|
-
##### [start_element](https://github.com/appium/ruby_lib/blob/
|
|
1177
|
+
##### [start_element](https://github.com/appium/ruby_lib/blob/eef19f638ed53ff17ef772c7c9ca571c570d5f85/lib/appium_lib/common/helper.rb#L223)
|
|
1166
1178
|
|
|
1167
1179
|
> def start_element(name, attrs = [])
|
|
1168
1180
|
|
|
@@ -1170,7 +1182,7 @@ __Returns:__
|
|
|
1170
1182
|
|
|
1171
1183
|
--
|
|
1172
1184
|
|
|
1173
|
-
##### [end_element](https://github.com/appium/ruby_lib/blob/
|
|
1185
|
+
##### [end_element](https://github.com/appium/ruby_lib/blob/eef19f638ed53ff17ef772c7c9ca571c570d5f85/lib/appium_lib/common/helper.rb#L232)
|
|
1174
1186
|
|
|
1175
1187
|
> def end_element(name)
|
|
1176
1188
|
|
|
@@ -1178,7 +1190,7 @@ __Returns:__
|
|
|
1178
1190
|
|
|
1179
1191
|
--
|
|
1180
1192
|
|
|
1181
|
-
##### [characters](https://github.com/appium/ruby_lib/blob/
|
|
1193
|
+
##### [characters](https://github.com/appium/ruby_lib/blob/eef19f638ed53ff17ef772c7c9ca571c570d5f85/lib/appium_lib/common/helper.rb#L238)
|
|
1182
1194
|
|
|
1183
1195
|
> def characters(chars)
|
|
1184
1196
|
|
|
@@ -1186,7 +1198,7 @@ __Returns:__
|
|
|
1186
1198
|
|
|
1187
1199
|
--
|
|
1188
1200
|
|
|
1189
|
-
##### [DEFAULT_HEADERS](https://github.com/appium/ruby_lib/blob/
|
|
1201
|
+
##### [DEFAULT_HEADERS](https://github.com/appium/ruby_lib/blob/eef19f638ed53ff17ef772c7c9ca571c570d5f85/lib/appium_lib/common/http_client.rb#L8)
|
|
1190
1202
|
|
|
1191
1203
|
> DEFAULT_HEADERS = { 'Accept' => CONTENT_TYPE, 'User-Agent' => "appium/ruby_lib/#{::Appium::VERSION}" }.freeze
|
|
1192
1204
|
|
|
@@ -1194,7 +1206,7 @@ Default HTTP client inherit Appium::Core::Base::Http::Default, but has different
|
|
|
1194
1206
|
|
|
1195
1207
|
--
|
|
1196
1208
|
|
|
1197
|
-
##### [pinch](https://github.com/appium/ruby_lib/blob/
|
|
1209
|
+
##### [pinch](https://github.com/appium/ruby_lib/blob/eef19f638ed53ff17ef772c7c9ca571c570d5f85/lib/appium_lib/common/multi_touch.rb#L51)
|
|
1198
1210
|
|
|
1199
1211
|
> def pinch(percentage = 25, auto_perform = true, driver = $driver)
|
|
1200
1212
|
|
|
@@ -1214,7 +1226,7 @@ __Parameters:__
|
|
|
1214
1226
|
|
|
1215
1227
|
--
|
|
1216
1228
|
|
|
1217
|
-
##### [zoom](https://github.com/appium/ruby_lib/blob/
|
|
1229
|
+
##### [zoom](https://github.com/appium/ruby_lib/blob/eef19f638ed53ff17ef772c7c9ca571c570d5f85/lib/appium_lib/common/multi_touch.rb#L95)
|
|
1218
1230
|
|
|
1219
1231
|
> def zoom(percentage = 200, auto_perform = true, driver = $driver)
|
|
1220
1232
|
|
|
@@ -1234,7 +1246,7 @@ __Parameters:__
|
|
|
1234
1246
|
|
|
1235
1247
|
--
|
|
1236
1248
|
|
|
1237
|
-
##### [initialize](https://github.com/appium/ruby_lib/blob/
|
|
1249
|
+
##### [initialize](https://github.com/appium/ruby_lib/blob/eef19f638ed53ff17ef772c7c9ca571c570d5f85/lib/appium_lib/common/multi_touch.rb#L216)
|
|
1238
1250
|
|
|
1239
1251
|
> def initialize(driver = $driver)
|
|
1240
1252
|
|
|
@@ -1246,7 +1258,7 @@ __Returns:__
|
|
|
1246
1258
|
|
|
1247
1259
|
--
|
|
1248
1260
|
|
|
1249
|
-
##### [COMPLEX_ACTIONS](https://github.com/appium/ruby_lib/blob/
|
|
1261
|
+
##### [COMPLEX_ACTIONS](https://github.com/appium/ruby_lib/blob/eef19f638ed53ff17ef772c7c9ca571c570d5f85/lib/appium_lib/common/touch_actions.rb#L33)
|
|
1250
1262
|
|
|
1251
1263
|
> COMPLEX_ACTIONS = ::Appium::Core::TouchAction::COMPLEX_ACTIONS
|
|
1252
1264
|
|
|
@@ -1254,7 +1266,7 @@ __Returns:__
|
|
|
1254
1266
|
|
|
1255
1267
|
--
|
|
1256
1268
|
|
|
1257
|
-
##### [initialize](https://github.com/appium/ruby_lib/blob/
|
|
1269
|
+
##### [initialize](https://github.com/appium/ruby_lib/blob/eef19f638ed53ff17ef772c7c9ca571c570d5f85/lib/appium_lib/common/touch_actions.rb#L47)
|
|
1258
1270
|
|
|
1259
1271
|
> def initialize(driver = $driver)
|
|
1260
1272
|
|
|
@@ -1266,7 +1278,7 @@ __Returns:__
|
|
|
1266
1278
|
|
|
1267
1279
|
--
|
|
1268
1280
|
|
|
1269
|
-
##### [swipe](https://github.com/appium/ruby_lib/blob/
|
|
1281
|
+
##### [swipe](https://github.com/appium/ruby_lib/blob/eef19f638ed53ff17ef772c7c9ca571c570d5f85/lib/appium_lib/common/touch_actions.rb#L51)
|
|
1270
1282
|
|
|
1271
1283
|
> def swipe(opts, ele = nil)
|
|
1272
1284
|
|
|
@@ -1274,7 +1286,7 @@ __Returns:__
|
|
|
1274
1286
|
|
|
1275
1287
|
--
|
|
1276
1288
|
|
|
1277
|
-
##### [for](https://github.com/appium/ruby_lib/blob/
|
|
1289
|
+
##### [for](https://github.com/appium/ruby_lib/blob/eef19f638ed53ff17ef772c7c9ca571c570d5f85/lib/appium_lib/ios/ios.rb#L15) ios
|
|
1278
1290
|
|
|
1279
1291
|
> def self.for(target)
|
|
1280
1292
|
|
|
@@ -1282,7 +1294,7 @@ __Returns:__
|
|
|
1282
1294
|
|
|
1283
1295
|
--
|
|
1284
1296
|
|
|
1285
|
-
##### [UIAStaticText](https://github.com/appium/ruby_lib/blob/
|
|
1297
|
+
##### [UIAStaticText](https://github.com/appium/ruby_lib/blob/eef19f638ed53ff17ef772c7c9ca571c570d5f85/lib/appium_lib/ios/element/text.rb#L4) ios
|
|
1286
1298
|
|
|
1287
1299
|
> UIAStaticText = 'UIAStaticText'.freeze
|
|
1288
1300
|
|
|
@@ -1290,7 +1302,7 @@ __Returns:__
|
|
|
1290
1302
|
|
|
1291
1303
|
--
|
|
1292
1304
|
|
|
1293
|
-
##### [XCUIElementTypeStaticText](https://github.com/appium/ruby_lib/blob/
|
|
1305
|
+
##### [XCUIElementTypeStaticText](https://github.com/appium/ruby_lib/blob/eef19f638ed53ff17ef772c7c9ca571c570d5f85/lib/appium_lib/ios/element/text.rb#L5) ios
|
|
1294
1306
|
|
|
1295
1307
|
> XCUIElementTypeStaticText = 'XCUIElementTypeStaticText'.freeze
|
|
1296
1308
|
|
|
@@ -1298,7 +1310,7 @@ __Returns:__
|
|
|
1298
1310
|
|
|
1299
1311
|
--
|
|
1300
1312
|
|
|
1301
|
-
##### [static_text_class](https://github.com/appium/ruby_lib/blob/
|
|
1313
|
+
##### [static_text_class](https://github.com/appium/ruby_lib/blob/eef19f638ed53ff17ef772c7c9ca571c570d5f85/lib/appium_lib/ios/element/text.rb#L8) ios
|
|
1302
1314
|
|
|
1303
1315
|
> def static_text_class
|
|
1304
1316
|
|
|
@@ -1310,7 +1322,7 @@ __Returns:__
|
|
|
1310
1322
|
|
|
1311
1323
|
--
|
|
1312
1324
|
|
|
1313
|
-
##### [text](https://github.com/appium/ruby_lib/blob/
|
|
1325
|
+
##### [text](https://github.com/appium/ruby_lib/blob/eef19f638ed53ff17ef772c7c9ca571c570d5f85/lib/appium_lib/ios/element/text.rb#L16) ios
|
|
1314
1326
|
|
|
1315
1327
|
> def text(value)
|
|
1316
1328
|
|
|
@@ -1327,7 +1339,7 @@ __Returns:__
|
|
|
1327
1339
|
|
|
1328
1340
|
--
|
|
1329
1341
|
|
|
1330
|
-
##### [texts](https://github.com/appium/ruby_lib/blob/
|
|
1342
|
+
##### [texts](https://github.com/appium/ruby_lib/blob/eef19f638ed53ff17ef772c7c9ca571c570d5f85/lib/appium_lib/ios/element/text.rb#L25) ios
|
|
1331
1343
|
|
|
1332
1344
|
> def texts(value = false)
|
|
1333
1345
|
|
|
@@ -1344,7 +1356,7 @@ __Returns:__
|
|
|
1344
1356
|
|
|
1345
1357
|
--
|
|
1346
1358
|
|
|
1347
|
-
##### [first_text](https://github.com/appium/ruby_lib/blob/
|
|
1359
|
+
##### [first_text](https://github.com/appium/ruby_lib/blob/eef19f638ed53ff17ef772c7c9ca571c570d5f85/lib/appium_lib/ios/element/text.rb#L32) ios
|
|
1348
1360
|
|
|
1349
1361
|
> def first_text
|
|
1350
1362
|
|
|
@@ -1356,7 +1368,7 @@ __Returns:__
|
|
|
1356
1368
|
|
|
1357
1369
|
--
|
|
1358
1370
|
|
|
1359
|
-
##### [last_text](https://github.com/appium/ruby_lib/blob/
|
|
1371
|
+
##### [last_text](https://github.com/appium/ruby_lib/blob/eef19f638ed53ff17ef772c7c9ca571c570d5f85/lib/appium_lib/ios/element/text.rb#L38) ios
|
|
1360
1372
|
|
|
1361
1373
|
> def last_text
|
|
1362
1374
|
|
|
@@ -1368,7 +1380,7 @@ __Returns:__
|
|
|
1368
1380
|
|
|
1369
1381
|
--
|
|
1370
1382
|
|
|
1371
|
-
##### [text_exact](https://github.com/appium/ruby_lib/blob/
|
|
1383
|
+
##### [text_exact](https://github.com/appium/ruby_lib/blob/eef19f638ed53ff17ef772c7c9ca571c570d5f85/lib/appium_lib/ios/element/text.rb#L45) ios
|
|
1372
1384
|
|
|
1373
1385
|
> def text_exact(value)
|
|
1374
1386
|
|
|
@@ -1384,7 +1396,7 @@ __Returns:__
|
|
|
1384
1396
|
|
|
1385
1397
|
--
|
|
1386
1398
|
|
|
1387
|
-
##### [texts_exact](https://github.com/appium/ruby_lib/blob/
|
|
1399
|
+
##### [texts_exact](https://github.com/appium/ruby_lib/blob/eef19f638ed53ff17ef772c7c9ca571c570d5f85/lib/appium_lib/ios/element/text.rb#L52) ios
|
|
1388
1400
|
|
|
1389
1401
|
> def texts_exact(value)
|
|
1390
1402
|
|
|
@@ -1400,7 +1412,7 @@ __Returns:__
|
|
|
1400
1412
|
|
|
1401
1413
|
--
|
|
1402
1414
|
|
|
1403
|
-
##### [filter](https://github.com/appium/ruby_lib/blob/
|
|
1415
|
+
##### [filter](https://github.com/appium/ruby_lib/blob/eef19f638ed53ff17ef772c7c9ca571c570d5f85/lib/appium_lib/ios/common/helper.rb#L5) ios
|
|
1404
1416
|
|
|
1405
1417
|
> def filter
|
|
1406
1418
|
|
|
@@ -1408,7 +1420,7 @@ Returns the value of attribute filter
|
|
|
1408
1420
|
|
|
1409
1421
|
--
|
|
1410
1422
|
|
|
1411
|
-
##### [filter=](https://github.com/appium/ruby_lib/blob/
|
|
1423
|
+
##### [filter=](https://github.com/appium/ruby_lib/blob/eef19f638ed53ff17ef772c7c9ca571c570d5f85/lib/appium_lib/ios/common/helper.rb#L5) ios
|
|
1412
1424
|
|
|
1413
1425
|
> def filter=(value)
|
|
1414
1426
|
|
|
@@ -1420,7 +1432,7 @@ __Parameters:__
|
|
|
1420
1432
|
|
|
1421
1433
|
--
|
|
1422
1434
|
|
|
1423
|
-
##### [start_element](https://github.com/appium/ruby_lib/blob/
|
|
1435
|
+
##### [start_element](https://github.com/appium/ruby_lib/blob/eef19f638ed53ff17ef772c7c9ca571c570d5f85/lib/appium_lib/ios/common/helper.rb#L7) ios
|
|
1424
1436
|
|
|
1425
1437
|
> def start_element(type, attrs = [])
|
|
1426
1438
|
|
|
@@ -1428,7 +1440,7 @@ __Parameters:__
|
|
|
1428
1440
|
|
|
1429
1441
|
--
|
|
1430
1442
|
|
|
1431
|
-
##### [ios_password](https://github.com/appium/ruby_lib/blob/
|
|
1443
|
+
##### [ios_password](https://github.com/appium/ruby_lib/blob/eef19f638ed53ff17ef772c7c9ca571c570d5f85/lib/appium_lib/ios/common/helper.rb#L44) ios
|
|
1432
1444
|
|
|
1433
1445
|
> def ios_password(length = 1)
|
|
1434
1446
|
|
|
@@ -1446,7 +1458,7 @@ __Returns:__
|
|
|
1446
1458
|
|
|
1447
1459
|
--
|
|
1448
1460
|
|
|
1449
|
-
##### [page](https://github.com/appium/ruby_lib/blob/
|
|
1461
|
+
##### [page](https://github.com/appium/ruby_lib/blob/eef19f638ed53ff17ef772c7c9ca571c570d5f85/lib/appium_lib/ios/common/helper.rb#L60) ios
|
|
1450
1462
|
|
|
1451
1463
|
> def page(opts = {})
|
|
1452
1464
|
|
|
@@ -1464,7 +1476,7 @@ __Returns:__
|
|
|
1464
1476
|
|
|
1465
1477
|
--
|
|
1466
1478
|
|
|
1467
|
-
##### [id](https://github.com/appium/ruby_lib/blob/
|
|
1479
|
+
##### [id](https://github.com/appium/ruby_lib/blob/eef19f638ed53ff17ef772c7c9ca571c570d5f85/lib/appium_lib/ios/common/helper.rb#L85) ios
|
|
1468
1480
|
|
|
1469
1481
|
> def id(id)
|
|
1470
1482
|
|
|
@@ -1480,7 +1492,7 @@ __Returns:__
|
|
|
1480
1492
|
|
|
1481
1493
|
--
|
|
1482
1494
|
|
|
1483
|
-
##### [ele_index](https://github.com/appium/ruby_lib/blob/
|
|
1495
|
+
##### [ele_index](https://github.com/appium/ruby_lib/blob/eef19f638ed53ff17ef772c7c9ca571c570d5f85/lib/appium_lib/ios/common/helper.rb#L93) ios
|
|
1484
1496
|
|
|
1485
1497
|
> def ele_index(class_name, index)
|
|
1486
1498
|
|
|
@@ -1498,7 +1510,7 @@ __Returns:__
|
|
|
1498
1510
|
|
|
1499
1511
|
--
|
|
1500
1512
|
|
|
1501
|
-
##### [find_ele_by_attr](https://github.com/appium/ruby_lib/blob/
|
|
1513
|
+
##### [find_ele_by_attr](https://github.com/appium/ruby_lib/blob/eef19f638ed53ff17ef772c7c9ca571c570d5f85/lib/appium_lib/ios/common/helper.rb#L121) ios
|
|
1502
1514
|
|
|
1503
1515
|
> def find_ele_by_attr(class_name, attr, value)
|
|
1504
1516
|
|
|
@@ -1520,7 +1532,7 @@ __Returns:__
|
|
|
1520
1532
|
|
|
1521
1533
|
--
|
|
1522
1534
|
|
|
1523
|
-
##### [find_eles_by_attr](https://github.com/appium/ruby_lib/blob/
|
|
1535
|
+
##### [find_eles_by_attr](https://github.com/appium/ruby_lib/blob/eef19f638ed53ff17ef772c7c9ca571c570d5f85/lib/appium_lib/ios/common/helper.rb#L132) ios
|
|
1524
1536
|
|
|
1525
1537
|
> def find_eles_by_attr(class_name, attr, value)
|
|
1526
1538
|
|
|
@@ -1542,7 +1554,7 @@ __Returns:__
|
|
|
1542
1554
|
|
|
1543
1555
|
--
|
|
1544
1556
|
|
|
1545
|
-
##### [find_ele_by_predicate](https://github.com/appium/ruby_lib/blob/
|
|
1557
|
+
##### [find_ele_by_predicate](https://github.com/appium/ruby_lib/blob/eef19f638ed53ff17ef772c7c9ca571c570d5f85/lib/appium_lib/ios/common/helper.rb#L145) ios
|
|
1546
1558
|
|
|
1547
1559
|
> def find_ele_by_predicate(class_name: '*', value:)
|
|
1548
1560
|
|
|
@@ -1559,7 +1571,7 @@ __Returns:__
|
|
|
1559
1571
|
|
|
1560
1572
|
--
|
|
1561
1573
|
|
|
1562
|
-
##### [find_eles_by_predicate](https://github.com/appium/ruby_lib/blob/
|
|
1574
|
+
##### [find_eles_by_predicate](https://github.com/appium/ruby_lib/blob/eef19f638ed53ff17ef772c7c9ca571c570d5f85/lib/appium_lib/ios/common/helper.rb#L156) ios
|
|
1563
1575
|
|
|
1564
1576
|
> def find_eles_by_predicate(class_name: '*', value:)
|
|
1565
1577
|
|
|
@@ -1578,7 +1590,7 @@ __Returns:__
|
|
|
1578
1590
|
|
|
1579
1591
|
--
|
|
1580
1592
|
|
|
1581
|
-
##### [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/eef19f638ed53ff17ef772c7c9ca571c570d5f85/lib/appium_lib/ios/common/helper.rb#L172) ios
|
|
1582
1594
|
|
|
1583
1595
|
> def find_ele_by_attr_include(class_name, attr, value)
|
|
1584
1596
|
|
|
@@ -1599,7 +1611,7 @@ __Returns:__
|
|
|
1599
1611
|
|
|
1600
1612
|
--
|
|
1601
1613
|
|
|
1602
|
-
##### [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/eef19f638ed53ff17ef772c7c9ca571c570d5f85/lib/appium_lib/ios/common/helper.rb#L182) ios
|
|
1603
1615
|
|
|
1604
1616
|
> def find_eles_by_attr_include(class_name, attr, value)
|
|
1605
1617
|
|
|
@@ -1620,7 +1632,7 @@ __Returns:__
|
|
|
1620
1632
|
|
|
1621
1633
|
--
|
|
1622
1634
|
|
|
1623
|
-
##### [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/eef19f638ed53ff17ef772c7c9ca571c570d5f85/lib/appium_lib/ios/common/helper.rb#L190) ios
|
|
1624
1636
|
|
|
1625
1637
|
> def find_ele_by_predicate_include(class_name: '*', value:)
|
|
1626
1638
|
|
|
@@ -1637,7 +1649,7 @@ __Returns:__
|
|
|
1637
1649
|
|
|
1638
1650
|
--
|
|
1639
1651
|
|
|
1640
|
-
##### [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/eef19f638ed53ff17ef772c7c9ca571c570d5f85/lib/appium_lib/ios/common/helper.rb#L201) ios
|
|
1641
1653
|
|
|
1642
1654
|
> def find_eles_by_predicate_include(class_name: '*', value:)
|
|
1643
1655
|
|
|
@@ -1656,7 +1668,7 @@ __Returns:__
|
|
|
1656
1668
|
|
|
1657
1669
|
--
|
|
1658
1670
|
|
|
1659
|
-
##### [first_ele](https://github.com/appium/ruby_lib/blob/
|
|
1671
|
+
##### [first_ele](https://github.com/appium/ruby_lib/blob/eef19f638ed53ff17ef772c7c9ca571c570d5f85/lib/appium_lib/ios/common/helper.rb#L214) ios
|
|
1660
1672
|
|
|
1661
1673
|
> def first_ele(class_name)
|
|
1662
1674
|
|
|
@@ -1672,7 +1684,7 @@ __Returns:__
|
|
|
1672
1684
|
|
|
1673
1685
|
--
|
|
1674
1686
|
|
|
1675
|
-
##### [last_ele](https://github.com/appium/ruby_lib/blob/
|
|
1687
|
+
##### [last_ele](https://github.com/appium/ruby_lib/blob/eef19f638ed53ff17ef772c7c9ca571c570d5f85/lib/appium_lib/ios/common/helper.rb#L221) ios
|
|
1676
1688
|
|
|
1677
1689
|
> def last_ele(class_name)
|
|
1678
1690
|
|
|
@@ -1688,7 +1700,7 @@ __Returns:__
|
|
|
1688
1700
|
|
|
1689
1701
|
--
|
|
1690
1702
|
|
|
1691
|
-
##### [tag](https://github.com/appium/ruby_lib/blob/
|
|
1703
|
+
##### [tag](https://github.com/appium/ruby_lib/blob/eef19f638ed53ff17ef772c7c9ca571c570d5f85/lib/appium_lib/ios/common/helper.rb#L229) ios
|
|
1692
1704
|
|
|
1693
1705
|
> def tag(class_name)
|
|
1694
1706
|
|
|
@@ -1704,7 +1716,7 @@ __Returns:__
|
|
|
1704
1716
|
|
|
1705
1717
|
--
|
|
1706
1718
|
|
|
1707
|
-
##### [tags](https://github.com/appium/ruby_lib/blob/
|
|
1719
|
+
##### [tags](https://github.com/appium/ruby_lib/blob/eef19f638ed53ff17ef772c7c9ca571c570d5f85/lib/appium_lib/ios/common/helper.rb#L237) ios
|
|
1708
1720
|
|
|
1709
1721
|
> def tags(class_name)
|
|
1710
1722
|
|
|
@@ -1720,7 +1732,7 @@ __Returns:__
|
|
|
1720
1732
|
|
|
1721
1733
|
--
|
|
1722
1734
|
|
|
1723
|
-
##### [tags_include](https://github.com/appium/ruby_lib/blob/
|
|
1735
|
+
##### [tags_include](https://github.com/appium/ruby_lib/blob/eef19f638ed53ff17ef772c7c9ca571c570d5f85/lib/appium_lib/ios/common/helper.rb#L248) ios
|
|
1724
1736
|
|
|
1725
1737
|
> def tags_include(class_names:, value: nil)
|
|
1726
1738
|
|
|
@@ -1740,7 +1752,7 @@ __Returns:__
|
|
|
1740
1752
|
|
|
1741
1753
|
--
|
|
1742
1754
|
|
|
1743
|
-
##### [tags_exact](https://github.com/appium/ruby_lib/blob/
|
|
1755
|
+
##### [tags_exact](https://github.com/appium/ruby_lib/blob/eef19f638ed53ff17ef772c7c9ca571c570d5f85/lib/appium_lib/ios/common/helper.rb#L263) ios
|
|
1744
1756
|
|
|
1745
1757
|
> def tags_exact(class_names:, value: nil)
|
|
1746
1758
|
|
|
@@ -1760,7 +1772,7 @@ __Returns:__
|
|
|
1760
1772
|
|
|
1761
1773
|
--
|
|
1762
1774
|
|
|
1763
|
-
##### [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/eef19f638ed53ff17ef772c7c9ca571c570d5f85/lib/appium_lib/ios/common/helper.rb#L300) ios
|
|
1764
1776
|
|
|
1765
1777
|
> def ele_by_json_visible_contains(element, value)
|
|
1766
1778
|
|
|
@@ -1779,7 +1791,7 @@ __Returns:__
|
|
|
1779
1791
|
|
|
1780
1792
|
--
|
|
1781
1793
|
|
|
1782
|
-
##### [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/eef19f638ed53ff17ef772c7c9ca571c570d5f85/lib/appium_lib/ios/common/helper.rb#L309) ios
|
|
1783
1795
|
|
|
1784
1796
|
> def eles_by_json_visible_contains(element, value)
|
|
1785
1797
|
|
|
@@ -1798,7 +1810,7 @@ __Returns:__
|
|
|
1798
1810
|
|
|
1799
1811
|
--
|
|
1800
1812
|
|
|
1801
|
-
##### [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/eef19f638ed53ff17ef772c7c9ca571c570d5f85/lib/appium_lib/ios/common/helper.rb#L339) ios
|
|
1802
1814
|
|
|
1803
1815
|
> def ele_by_json_visible_exact(element, value)
|
|
1804
1816
|
|
|
@@ -1817,7 +1829,7 @@ __Returns:__
|
|
|
1817
1829
|
|
|
1818
1830
|
--
|
|
1819
1831
|
|
|
1820
|
-
##### [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/eef19f638ed53ff17ef772c7c9ca571c570d5f85/lib/appium_lib/ios/common/helper.rb#L348) ios
|
|
1821
1833
|
|
|
1822
1834
|
> def eles_by_json_visible_exact(element, value)
|
|
1823
1835
|
|
|
@@ -1836,7 +1848,7 @@ __Returns:__
|
|
|
1836
1848
|
|
|
1837
1849
|
--
|
|
1838
1850
|
|
|
1839
|
-
##### [_all_pred](https://github.com/appium/ruby_lib/blob/
|
|
1851
|
+
##### [_all_pred](https://github.com/appium/ruby_lib/blob/eef19f638ed53ff17ef772c7c9ca571c570d5f85/lib/appium_lib/ios/common/helper.rb#L357) ios
|
|
1840
1852
|
|
|
1841
1853
|
> def _all_pred(opts)
|
|
1842
1854
|
|
|
@@ -1846,7 +1858,7 @@ visible - if true, only visible elements are returned. default true
|
|
|
1846
1858
|
|
|
1847
1859
|
--
|
|
1848
1860
|
|
|
1849
|
-
##### [ele_with_pred](https://github.com/appium/ruby_lib/blob/
|
|
1861
|
+
##### [ele_with_pred](https://github.com/appium/ruby_lib/blob/eef19f638ed53ff17ef772c7c9ca571c570d5f85/lib/appium_lib/ios/common/helper.rb#L370) ios
|
|
1850
1862
|
|
|
1851
1863
|
> def ele_with_pred(opts)
|
|
1852
1864
|
|
|
@@ -1862,7 +1874,7 @@ __Returns:__
|
|
|
1862
1874
|
|
|
1863
1875
|
--
|
|
1864
1876
|
|
|
1865
|
-
##### [eles_with_pred](https://github.com/appium/ruby_lib/blob/
|
|
1877
|
+
##### [eles_with_pred](https://github.com/appium/ruby_lib/blob/eef19f638ed53ff17ef772c7c9ca571c570d5f85/lib/appium_lib/ios/common/helper.rb#L381) ios
|
|
1866
1878
|
|
|
1867
1879
|
> def eles_with_pred(opts)
|
|
1868
1880
|
|
|
@@ -1878,7 +1890,7 @@ __Returns:__
|
|
|
1878
1890
|
|
|
1879
1891
|
--
|
|
1880
1892
|
|
|
1881
|
-
##### [_validate_object](https://github.com/appium/ruby_lib/blob/
|
|
1893
|
+
##### [_validate_object](https://github.com/appium/ruby_lib/blob/eef19f638ed53ff17ef772c7c9ca571c570d5f85/lib/appium_lib/ios/common/helper.rb#L385) ios
|
|
1882
1894
|
|
|
1883
1895
|
> def _validate_object(*objects)
|
|
1884
1896
|
|
|
@@ -1886,7 +1898,7 @@ __Returns:__
|
|
|
1886
1898
|
|
|
1887
1899
|
--
|
|
1888
1900
|
|
|
1889
|
-
##### [_by_json](https://github.com/appium/ruby_lib/blob/
|
|
1901
|
+
##### [_by_json](https://github.com/appium/ruby_lib/blob/eef19f638ed53ff17ef772c7c9ca571c570d5f85/lib/appium_lib/ios/common/helper.rb#L434) ios
|
|
1890
1902
|
|
|
1891
1903
|
> def _by_json(opts)
|
|
1892
1904
|
|
|
@@ -1921,7 +1933,7 @@ opts = {
|
|
|
1921
1933
|
|
|
1922
1934
|
--
|
|
1923
1935
|
|
|
1924
|
-
##### [eles_by_json](https://github.com/appium/ruby_lib/blob/
|
|
1936
|
+
##### [eles_by_json](https://github.com/appium/ruby_lib/blob/eef19f638ed53ff17ef772c7c9ca571c570d5f85/lib/appium_lib/ios/common/helper.rb#L484) ios
|
|
1925
1937
|
|
|
1926
1938
|
> def eles_by_json(opts)
|
|
1927
1939
|
|
|
@@ -1940,7 +1952,7 @@ eles_by_json({
|
|
|
1940
1952
|
|
|
1941
1953
|
--
|
|
1942
1954
|
|
|
1943
|
-
##### [ele_by_json](https://github.com/appium/ruby_lib/blob/
|
|
1955
|
+
##### [ele_by_json](https://github.com/appium/ruby_lib/blob/eef19f638ed53ff17ef772c7c9ca571c570d5f85/lib/appium_lib/ios/common/helper.rb#L490) ios
|
|
1944
1956
|
|
|
1945
1957
|
> def ele_by_json(opts)
|
|
1946
1958
|
|
|
@@ -1948,7 +1960,7 @@ see eles_by_json
|
|
|
1948
1960
|
|
|
1949
1961
|
--
|
|
1950
1962
|
|
|
1951
|
-
##### [alert_accept](https://github.com/appium/ruby_lib/blob/
|
|
1963
|
+
##### [alert_accept](https://github.com/appium/ruby_lib/blob/eef19f638ed53ff17ef772c7c9ca571c570d5f85/lib/appium_lib/ios/element/alert.rb#L5) ios
|
|
1952
1964
|
|
|
1953
1965
|
> def alert_accept
|
|
1954
1966
|
|
|
@@ -1960,7 +1972,7 @@ __Returns:__
|
|
|
1960
1972
|
|
|
1961
1973
|
--
|
|
1962
1974
|
|
|
1963
|
-
##### [alert_dismiss](https://github.com/appium/ruby_lib/blob/
|
|
1975
|
+
##### [alert_dismiss](https://github.com/appium/ruby_lib/blob/eef19f638ed53ff17ef772c7c9ca571c570d5f85/lib/appium_lib/ios/element/alert.rb#L13) ios
|
|
1964
1976
|
|
|
1965
1977
|
> def alert_dismiss
|
|
1966
1978
|
|
|
@@ -1972,7 +1984,7 @@ __Returns:__
|
|
|
1972
1984
|
|
|
1973
1985
|
--
|
|
1974
1986
|
|
|
1975
|
-
##### [UIAButton](https://github.com/appium/ruby_lib/blob/
|
|
1987
|
+
##### [UIAButton](https://github.com/appium/ruby_lib/blob/eef19f638ed53ff17ef772c7c9ca571c570d5f85/lib/appium_lib/ios/element/button.rb#L4) ios
|
|
1976
1988
|
|
|
1977
1989
|
> UIAButton = 'UIAButton'.freeze
|
|
1978
1990
|
|
|
@@ -1980,7 +1992,7 @@ __Returns:__
|
|
|
1980
1992
|
|
|
1981
1993
|
--
|
|
1982
1994
|
|
|
1983
|
-
##### [XCUIElementTypeButton](https://github.com/appium/ruby_lib/blob/
|
|
1995
|
+
##### [XCUIElementTypeButton](https://github.com/appium/ruby_lib/blob/eef19f638ed53ff17ef772c7c9ca571c570d5f85/lib/appium_lib/ios/element/button.rb#L5) ios
|
|
1984
1996
|
|
|
1985
1997
|
> XCUIElementTypeButton = 'XCUIElementTypeButton'.freeze
|
|
1986
1998
|
|
|
@@ -1988,7 +2000,7 @@ __Returns:__
|
|
|
1988
2000
|
|
|
1989
2001
|
--
|
|
1990
2002
|
|
|
1991
|
-
##### [button_class](https://github.com/appium/ruby_lib/blob/
|
|
2003
|
+
##### [button_class](https://github.com/appium/ruby_lib/blob/eef19f638ed53ff17ef772c7c9ca571c570d5f85/lib/appium_lib/ios/element/button.rb#L8) ios
|
|
1992
2004
|
|
|
1993
2005
|
> def button_class
|
|
1994
2006
|
|
|
@@ -2000,7 +2012,7 @@ __Returns:__
|
|
|
2000
2012
|
|
|
2001
2013
|
--
|
|
2002
2014
|
|
|
2003
|
-
##### [button](https://github.com/appium/ruby_lib/blob/
|
|
2015
|
+
##### [button](https://github.com/appium/ruby_lib/blob/eef19f638ed53ff17ef772c7c9ca571c570d5f85/lib/appium_lib/ios/element/button.rb#L16) ios
|
|
2004
2016
|
|
|
2005
2017
|
> def button(value)
|
|
2006
2018
|
|
|
@@ -2017,7 +2029,7 @@ __Returns:__
|
|
|
2017
2029
|
|
|
2018
2030
|
--
|
|
2019
2031
|
|
|
2020
|
-
##### [buttons](https://github.com/appium/ruby_lib/blob/
|
|
2032
|
+
##### [buttons](https://github.com/appium/ruby_lib/blob/eef19f638ed53ff17ef772c7c9ca571c570d5f85/lib/appium_lib/ios/element/button.rb#L26) ios
|
|
2021
2033
|
|
|
2022
2034
|
> def buttons(value = false)
|
|
2023
2035
|
|
|
@@ -2034,7 +2046,7 @@ __Returns:__
|
|
|
2034
2046
|
|
|
2035
2047
|
--
|
|
2036
2048
|
|
|
2037
|
-
##### [first_button](https://github.com/appium/ruby_lib/blob/
|
|
2049
|
+
##### [first_button](https://github.com/appium/ruby_lib/blob/eef19f638ed53ff17ef772c7c9ca571c570d5f85/lib/appium_lib/ios/element/button.rb#L33) ios
|
|
2038
2050
|
|
|
2039
2051
|
> def first_button
|
|
2040
2052
|
|
|
@@ -2046,7 +2058,7 @@ __Returns:__
|
|
|
2046
2058
|
|
|
2047
2059
|
--
|
|
2048
2060
|
|
|
2049
|
-
##### [last_button](https://github.com/appium/ruby_lib/blob/
|
|
2061
|
+
##### [last_button](https://github.com/appium/ruby_lib/blob/eef19f638ed53ff17ef772c7c9ca571c570d5f85/lib/appium_lib/ios/element/button.rb#L41) ios
|
|
2050
2062
|
|
|
2051
2063
|
> def last_button
|
|
2052
2064
|
|
|
@@ -2060,7 +2072,7 @@ __Returns:__
|
|
|
2060
2072
|
|
|
2061
2073
|
--
|
|
2062
2074
|
|
|
2063
|
-
##### [button_exact](https://github.com/appium/ruby_lib/blob/
|
|
2075
|
+
##### [button_exact](https://github.com/appium/ruby_lib/blob/eef19f638ed53ff17ef772c7c9ca571c570d5f85/lib/appium_lib/ios/element/button.rb#L48) ios
|
|
2064
2076
|
|
|
2065
2077
|
> def button_exact(value)
|
|
2066
2078
|
|
|
@@ -2076,7 +2088,7 @@ __Returns:__
|
|
|
2076
2088
|
|
|
2077
2089
|
--
|
|
2078
2090
|
|
|
2079
|
-
##### [buttons_exact](https://github.com/appium/ruby_lib/blob/
|
|
2091
|
+
##### [buttons_exact](https://github.com/appium/ruby_lib/blob/eef19f638ed53ff17ef772c7c9ca571c570d5f85/lib/appium_lib/ios/element/button.rb#L55) ios
|
|
2080
2092
|
|
|
2081
2093
|
> def buttons_exact(value)
|
|
2082
2094
|
|
|
@@ -2092,7 +2104,7 @@ __Returns:__
|
|
|
2092
2104
|
|
|
2093
2105
|
--
|
|
2094
2106
|
|
|
2095
|
-
##### [find](https://github.com/appium/ruby_lib/blob/
|
|
2107
|
+
##### [find](https://github.com/appium/ruby_lib/blob/eef19f638ed53ff17ef772c7c9ca571c570d5f85/lib/appium_lib/ios/element/generic.rb#L6) ios
|
|
2096
2108
|
|
|
2097
2109
|
> def find(value)
|
|
2098
2110
|
|
|
@@ -2108,7 +2120,7 @@ __Returns:__
|
|
|
2108
2120
|
|
|
2109
2121
|
--
|
|
2110
2122
|
|
|
2111
|
-
##### [finds](https://github.com/appium/ruby_lib/blob/
|
|
2123
|
+
##### [finds](https://github.com/appium/ruby_lib/blob/eef19f638ed53ff17ef772c7c9ca571c570d5f85/lib/appium_lib/ios/element/generic.rb#L13) ios
|
|
2112
2124
|
|
|
2113
2125
|
> def finds(value)
|
|
2114
2126
|
|
|
@@ -2124,7 +2136,7 @@ __Returns:__
|
|
|
2124
2136
|
|
|
2125
2137
|
--
|
|
2126
2138
|
|
|
2127
|
-
##### [find_exact](https://github.com/appium/ruby_lib/blob/
|
|
2139
|
+
##### [find_exact](https://github.com/appium/ruby_lib/blob/eef19f638ed53ff17ef772c7c9ca571c570d5f85/lib/appium_lib/ios/element/generic.rb#L20) ios
|
|
2128
2140
|
|
|
2129
2141
|
> def find_exact(value)
|
|
2130
2142
|
|
|
@@ -2140,7 +2152,7 @@ __Returns:__
|
|
|
2140
2152
|
|
|
2141
2153
|
--
|
|
2142
2154
|
|
|
2143
|
-
##### [finds_exact](https://github.com/appium/ruby_lib/blob/
|
|
2155
|
+
##### [finds_exact](https://github.com/appium/ruby_lib/blob/eef19f638ed53ff17ef772c7c9ca571c570d5f85/lib/appium_lib/ios/element/generic.rb#L27) ios
|
|
2144
2156
|
|
|
2145
2157
|
> def finds_exact(value)
|
|
2146
2158
|
|
|
@@ -2156,7 +2168,7 @@ __Returns:__
|
|
|
2156
2168
|
|
|
2157
2169
|
--
|
|
2158
2170
|
|
|
2159
|
-
##### [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/eef19f638ed53ff17ef772c7c9ca571c570d5f85/lib/appium_lib/ios/element/generic.rb#L33) ios
|
|
2160
2172
|
|
|
2161
2173
|
> def raise_error_if_no_element(element)
|
|
2162
2174
|
|
|
@@ -2164,7 +2176,7 @@ __Returns:__
|
|
|
2164
2176
|
|
|
2165
2177
|
--
|
|
2166
2178
|
|
|
2167
|
-
##### [select_visible_elements](https://github.com/appium/ruby_lib/blob/
|
|
2179
|
+
##### [select_visible_elements](https://github.com/appium/ruby_lib/blob/eef19f638ed53ff17ef772c7c9ca571c570d5f85/lib/appium_lib/ios/element/generic.rb#L40) ios
|
|
2168
2180
|
|
|
2169
2181
|
> def select_visible_elements(elements)
|
|
2170
2182
|
|
|
@@ -2172,7 +2184,7 @@ Return visible elements.
|
|
|
2172
2184
|
|
|
2173
2185
|
--
|
|
2174
2186
|
|
|
2175
|
-
##### [for](https://github.com/appium/ruby_lib/blob/
|
|
2187
|
+
##### [for](https://github.com/appium/ruby_lib/blob/eef19f638ed53ff17ef772c7c9ca571c570d5f85/lib/appium_lib/ios/xcuitest/bridge.rb#L7) ios
|
|
2176
2188
|
|
|
2177
2189
|
> def self.for(target)
|
|
2178
2190
|
|
|
@@ -2180,7 +2192,7 @@ Return visible elements.
|
|
|
2180
2192
|
|
|
2181
2193
|
--
|
|
2182
2194
|
|
|
2183
|
-
##### [last_ele](https://github.com/appium/ruby_lib/blob/
|
|
2195
|
+
##### [last_ele](https://github.com/appium/ruby_lib/blob/eef19f638ed53ff17ef772c7c9ca571c570d5f85/lib/appium_lib/ios/xcuitest/helper.rb#L26) ios
|
|
2184
2196
|
|
|
2185
2197
|
> def last_ele(class_name)
|
|
2186
2198
|
|
|
@@ -2196,7 +2208,7 @@ __Returns:__
|
|
|
2196
2208
|
|
|
2197
2209
|
--
|
|
2198
2210
|
|
|
2199
|
-
##### [tag](https://github.com/appium/ruby_lib/blob/
|
|
2211
|
+
##### [tag](https://github.com/appium/ruby_lib/blob/eef19f638ed53ff17ef772c7c9ca571c570d5f85/lib/appium_lib/ios/xcuitest/helper.rb#L36) ios
|
|
2200
2212
|
|
|
2201
2213
|
> def tag(class_name)
|
|
2202
2214
|
|
|
@@ -2212,7 +2224,7 @@ __Returns:__
|
|
|
2212
2224
|
|
|
2213
2225
|
--
|
|
2214
2226
|
|
|
2215
|
-
##### [tags](https://github.com/appium/ruby_lib/blob/
|
|
2227
|
+
##### [tags](https://github.com/appium/ruby_lib/blob/eef19f638ed53ff17ef772c7c9ca571c570d5f85/lib/appium_lib/ios/xcuitest/helper.rb#L44) ios
|
|
2216
2228
|
|
|
2217
2229
|
> def tags(class_name)
|
|
2218
2230
|
|
|
@@ -2228,7 +2240,7 @@ __Returns:__
|
|
|
2228
2240
|
|
|
2229
2241
|
--
|
|
2230
2242
|
|
|
2231
|
-
##### [tags_include](https://github.com/appium/ruby_lib/blob/
|
|
2243
|
+
##### [tags_include](https://github.com/appium/ruby_lib/blob/eef19f638ed53ff17ef772c7c9ca571c570d5f85/lib/appium_lib/ios/xcuitest/helper.rb#L56) ios
|
|
2232
2244
|
|
|
2233
2245
|
> def tags_include(class_names:, value: nil)
|
|
2234
2246
|
|
|
@@ -2248,7 +2260,7 @@ __Returns:__
|
|
|
2248
2260
|
|
|
2249
2261
|
--
|
|
2250
2262
|
|
|
2251
|
-
##### [tags_exact](https://github.com/appium/ruby_lib/blob/
|
|
2263
|
+
##### [tags_exact](https://github.com/appium/ruby_lib/blob/eef19f638ed53ff17ef772c7c9ca571c570d5f85/lib/appium_lib/ios/xcuitest/helper.rb#L79) ios
|
|
2252
2264
|
|
|
2253
2265
|
> def tags_exact(class_names:, value: nil)
|
|
2254
2266
|
|
|
@@ -2268,7 +2280,7 @@ __Returns:__
|
|
|
2268
2280
|
|
|
2269
2281
|
--
|
|
2270
2282
|
|
|
2271
|
-
##### [UIATextField](https://github.com/appium/ruby_lib/blob/
|
|
2283
|
+
##### [UIATextField](https://github.com/appium/ruby_lib/blob/eef19f638ed53ff17ef772c7c9ca571c570d5f85/lib/appium_lib/ios/element/textfield.rb#L3) ios
|
|
2272
2284
|
|
|
2273
2285
|
> UIATextField = 'UIATextField'.freeze
|
|
2274
2286
|
|
|
@@ -2276,7 +2288,7 @@ __Returns:__
|
|
|
2276
2288
|
|
|
2277
2289
|
--
|
|
2278
2290
|
|
|
2279
|
-
##### [UIASecureTextField](https://github.com/appium/ruby_lib/blob/
|
|
2291
|
+
##### [UIASecureTextField](https://github.com/appium/ruby_lib/blob/eef19f638ed53ff17ef772c7c9ca571c570d5f85/lib/appium_lib/ios/element/textfield.rb#L4) ios
|
|
2280
2292
|
|
|
2281
2293
|
> UIASecureTextField = 'UIASecureTextField'.freeze
|
|
2282
2294
|
|
|
@@ -2284,7 +2296,7 @@ __Returns:__
|
|
|
2284
2296
|
|
|
2285
2297
|
--
|
|
2286
2298
|
|
|
2287
|
-
##### [XCUIElementTypeTextField](https://github.com/appium/ruby_lib/blob/
|
|
2299
|
+
##### [XCUIElementTypeTextField](https://github.com/appium/ruby_lib/blob/eef19f638ed53ff17ef772c7c9ca571c570d5f85/lib/appium_lib/ios/element/textfield.rb#L6) ios
|
|
2288
2300
|
|
|
2289
2301
|
> XCUIElementTypeTextField = 'XCUIElementTypeTextField'.freeze
|
|
2290
2302
|
|
|
@@ -2292,7 +2304,7 @@ __Returns:__
|
|
|
2292
2304
|
|
|
2293
2305
|
--
|
|
2294
2306
|
|
|
2295
|
-
##### [XCUIElementTypeSecureTextField](https://github.com/appium/ruby_lib/blob/
|
|
2307
|
+
##### [XCUIElementTypeSecureTextField](https://github.com/appium/ruby_lib/blob/eef19f638ed53ff17ef772c7c9ca571c570d5f85/lib/appium_lib/ios/element/textfield.rb#L7) ios
|
|
2296
2308
|
|
|
2297
2309
|
> XCUIElementTypeSecureTextField = 'XCUIElementTypeSecureTextField'.freeze
|
|
2298
2310
|
|
|
@@ -2300,7 +2312,7 @@ __Returns:__
|
|
|
2300
2312
|
|
|
2301
2313
|
--
|
|
2302
2314
|
|
|
2303
|
-
##### [text_field_class](https://github.com/appium/ruby_lib/blob/
|
|
2315
|
+
##### [text_field_class](https://github.com/appium/ruby_lib/blob/eef19f638ed53ff17ef772c7c9ca571c570d5f85/lib/appium_lib/ios/element/textfield.rb#L10) ios
|
|
2304
2316
|
|
|
2305
2317
|
> def text_field_class
|
|
2306
2318
|
|
|
@@ -2312,7 +2324,7 @@ __Returns:__
|
|
|
2312
2324
|
|
|
2313
2325
|
--
|
|
2314
2326
|
|
|
2315
|
-
##### [secure_text_field_class](https://github.com/appium/ruby_lib/blob/
|
|
2327
|
+
##### [secure_text_field_class](https://github.com/appium/ruby_lib/blob/eef19f638ed53ff17ef772c7c9ca571c570d5f85/lib/appium_lib/ios/element/textfield.rb#L15) ios
|
|
2316
2328
|
|
|
2317
2329
|
> def secure_text_field_class
|
|
2318
2330
|
|
|
@@ -2324,7 +2336,7 @@ __Returns:__
|
|
|
2324
2336
|
|
|
2325
2337
|
--
|
|
2326
2338
|
|
|
2327
|
-
##### [textfield](https://github.com/appium/ruby_lib/blob/
|
|
2339
|
+
##### [textfield](https://github.com/appium/ruby_lib/blob/eef19f638ed53ff17ef772c7c9ca571c570d5f85/lib/appium_lib/ios/element/textfield.rb#L24) ios
|
|
2328
2340
|
|
|
2329
2341
|
> def textfield(value)
|
|
2330
2342
|
|
|
@@ -2342,7 +2354,7 @@ __Returns:__
|
|
|
2342
2354
|
|
|
2343
2355
|
--
|
|
2344
2356
|
|
|
2345
|
-
##### [textfields](https://github.com/appium/ruby_lib/blob/
|
|
2357
|
+
##### [textfields](https://github.com/appium/ruby_lib/blob/eef19f638ed53ff17ef772c7c9ca571c570d5f85/lib/appium_lib/ios/element/textfield.rb#L42) ios
|
|
2346
2358
|
|
|
2347
2359
|
> def textfields(value = false)
|
|
2348
2360
|
|
|
@@ -2359,7 +2371,7 @@ __Returns:__
|
|
|
2359
2371
|
|
|
2360
2372
|
--
|
|
2361
2373
|
|
|
2362
|
-
##### [first_textfield](https://github.com/appium/ruby_lib/blob/
|
|
2374
|
+
##### [first_textfield](https://github.com/appium/ruby_lib/blob/eef19f638ed53ff17ef772c7c9ca571c570d5f85/lib/appium_lib/ios/element/textfield.rb#L49) ios
|
|
2363
2375
|
|
|
2364
2376
|
> def first_textfield
|
|
2365
2377
|
|
|
@@ -2371,7 +2383,7 @@ __Returns:__
|
|
|
2371
2383
|
|
|
2372
2384
|
--
|
|
2373
2385
|
|
|
2374
|
-
##### [last_textfield](https://github.com/appium/ruby_lib/blob/
|
|
2386
|
+
##### [last_textfield](https://github.com/appium/ruby_lib/blob/eef19f638ed53ff17ef772c7c9ca571c570d5f85/lib/appium_lib/ios/element/textfield.rb#L55) ios
|
|
2375
2387
|
|
|
2376
2388
|
> def last_textfield
|
|
2377
2389
|
|
|
@@ -2383,7 +2395,7 @@ __Returns:__
|
|
|
2383
2395
|
|
|
2384
2396
|
--
|
|
2385
2397
|
|
|
2386
|
-
##### [textfield_exact](https://github.com/appium/ruby_lib/blob/
|
|
2398
|
+
##### [textfield_exact](https://github.com/appium/ruby_lib/blob/eef19f638ed53ff17ef772c7c9ca571c570d5f85/lib/appium_lib/ios/element/textfield.rb#L64) ios
|
|
2387
2399
|
|
|
2388
2400
|
> def textfield_exact(value)
|
|
2389
2401
|
|
|
@@ -2399,7 +2411,7 @@ __Returns:__
|
|
|
2399
2411
|
|
|
2400
2412
|
--
|
|
2401
2413
|
|
|
2402
|
-
##### [textfields_exact](https://github.com/appium/ruby_lib/blob/
|
|
2414
|
+
##### [textfields_exact](https://github.com/appium/ruby_lib/blob/eef19f638ed53ff17ef772c7c9ca571c570d5f85/lib/appium_lib/ios/element/textfield.rb#L71) ios
|
|
2403
2415
|
|
|
2404
2416
|
> def textfields_exact(value)
|
|
2405
2417
|
|
|
@@ -2415,7 +2427,7 @@ __Returns:__
|
|
|
2415
2427
|
|
|
2416
2428
|
--
|
|
2417
2429
|
|
|
2418
|
-
##### [_textfield_visible](https://github.com/appium/ruby_lib/blob/
|
|
2430
|
+
##### [_textfield_visible](https://github.com/appium/ruby_lib/blob/eef19f638ed53ff17ef772c7c9ca571c570d5f85/lib/appium_lib/ios/element/textfield.rb#L78) ios
|
|
2419
2431
|
|
|
2420
2432
|
> def _textfield_visible
|
|
2421
2433
|
|
|
@@ -2423,7 +2435,7 @@ Appium
|
|
|
2423
2435
|
|
|
2424
2436
|
--
|
|
2425
2437
|
|
|
2426
|
-
##### [_textfield_exact_string](https://github.com/appium/ruby_lib/blob/
|
|
2438
|
+
##### [_textfield_exact_string](https://github.com/appium/ruby_lib/blob/eef19f638ed53ff17ef772c7c9ca571c570d5f85/lib/appium_lib/ios/element/textfield.rb#L83) ios
|
|
2427
2439
|
|
|
2428
2440
|
> def _textfield_exact_string(value)
|
|
2429
2441
|
|
|
@@ -2431,7 +2443,7 @@ Appium
|
|
|
2431
2443
|
|
|
2432
2444
|
--
|
|
2433
2445
|
|
|
2434
|
-
##### [_textfield_contains_string](https://github.com/appium/ruby_lib/blob/
|
|
2446
|
+
##### [_textfield_contains_string](https://github.com/appium/ruby_lib/blob/eef19f638ed53ff17ef772c7c9ca571c570d5f85/lib/appium_lib/ios/element/textfield.rb#L90) ios
|
|
2435
2447
|
|
|
2436
2448
|
> def _textfield_contains_string(value)
|
|
2437
2449
|
|
|
@@ -2439,7 +2451,7 @@ Appium
|
|
|
2439
2451
|
|
|
2440
2452
|
--
|
|
2441
2453
|
|
|
2442
|
-
##### [static_text_class](https://github.com/appium/ruby_lib/blob/
|
|
2454
|
+
##### [static_text_class](https://github.com/appium/ruby_lib/blob/eef19f638ed53ff17ef772c7c9ca571c570d5f85/lib/appium_lib/ios/xcuitest/element/text.rb#L9) ios
|
|
2443
2455
|
|
|
2444
2456
|
> def static_text_class
|
|
2445
2457
|
|
|
@@ -2451,7 +2463,7 @@ __Returns:__
|
|
|
2451
2463
|
|
|
2452
2464
|
--
|
|
2453
2465
|
|
|
2454
|
-
##### [text](https://github.com/appium/ruby_lib/blob/
|
|
2466
|
+
##### [text](https://github.com/appium/ruby_lib/blob/eef19f638ed53ff17ef772c7c9ca571c570d5f85/lib/appium_lib/ios/xcuitest/element/text.rb#L17) ios
|
|
2455
2467
|
|
|
2456
2468
|
> def text(value)
|
|
2457
2469
|
|
|
@@ -2468,7 +2480,7 @@ __Returns:__
|
|
|
2468
2480
|
|
|
2469
2481
|
--
|
|
2470
2482
|
|
|
2471
|
-
##### [texts](https://github.com/appium/ruby_lib/blob/
|
|
2483
|
+
##### [texts](https://github.com/appium/ruby_lib/blob/eef19f638ed53ff17ef772c7c9ca571c570d5f85/lib/appium_lib/ios/xcuitest/element/text.rb#L26) ios
|
|
2472
2484
|
|
|
2473
2485
|
> def texts(value = false)
|
|
2474
2486
|
|
|
@@ -2485,7 +2497,7 @@ __Returns:__
|
|
|
2485
2497
|
|
|
2486
2498
|
--
|
|
2487
2499
|
|
|
2488
|
-
##### [first_text](https://github.com/appium/ruby_lib/blob/
|
|
2500
|
+
##### [first_text](https://github.com/appium/ruby_lib/blob/eef19f638ed53ff17ef772c7c9ca571c570d5f85/lib/appium_lib/ios/xcuitest/element/text.rb#L34) ios
|
|
2489
2501
|
|
|
2490
2502
|
> def first_text
|
|
2491
2503
|
|
|
@@ -2497,7 +2509,7 @@ __Returns:__
|
|
|
2497
2509
|
|
|
2498
2510
|
--
|
|
2499
2511
|
|
|
2500
|
-
##### [last_text](https://github.com/appium/ruby_lib/blob/
|
|
2512
|
+
##### [last_text](https://github.com/appium/ruby_lib/blob/eef19f638ed53ff17ef772c7c9ca571c570d5f85/lib/appium_lib/ios/xcuitest/element/text.rb#L40) ios
|
|
2501
2513
|
|
|
2502
2514
|
> def last_text
|
|
2503
2515
|
|
|
@@ -2509,7 +2521,7 @@ __Returns:__
|
|
|
2509
2521
|
|
|
2510
2522
|
--
|
|
2511
2523
|
|
|
2512
|
-
##### [text_exact](https://github.com/appium/ruby_lib/blob/
|
|
2524
|
+
##### [text_exact](https://github.com/appium/ruby_lib/blob/eef19f638ed53ff17ef772c7c9ca571c570d5f85/lib/appium_lib/ios/xcuitest/element/text.rb#L47) ios
|
|
2513
2525
|
|
|
2514
2526
|
> def text_exact(value)
|
|
2515
2527
|
|
|
@@ -2525,7 +2537,7 @@ __Returns:__
|
|
|
2525
2537
|
|
|
2526
2538
|
--
|
|
2527
2539
|
|
|
2528
|
-
##### [texts_exact](https://github.com/appium/ruby_lib/blob/
|
|
2540
|
+
##### [texts_exact](https://github.com/appium/ruby_lib/blob/eef19f638ed53ff17ef772c7c9ca571c570d5f85/lib/appium_lib/ios/xcuitest/element/text.rb#L54) ios
|
|
2529
2541
|
|
|
2530
2542
|
> def texts_exact(value)
|
|
2531
2543
|
|
|
@@ -2541,7 +2553,7 @@ __Returns:__
|
|
|
2541
2553
|
|
|
2542
2554
|
--
|
|
2543
2555
|
|
|
2544
|
-
##### [xcuitest_source](https://github.com/appium/ruby_lib/blob/
|
|
2556
|
+
##### [xcuitest_source](https://github.com/appium/ruby_lib/blob/eef19f638ed53ff17ef772c7c9ca571c570d5f85/lib/appium_lib/ios/xcuitest/command/source.rb#L12) ios
|
|
2545
2557
|
|
|
2546
2558
|
> def xcuitest_source(format: :xml)
|
|
2547
2559
|
|
|
@@ -2555,7 +2567,7 @@ __Parameters:__
|
|
|
2555
2567
|
|
|
2556
2568
|
--
|
|
2557
2569
|
|
|
2558
|
-
##### [button_class](https://github.com/appium/ruby_lib/blob/
|
|
2570
|
+
##### [button_class](https://github.com/appium/ruby_lib/blob/eef19f638ed53ff17ef772c7c9ca571c570d5f85/lib/appium_lib/ios/xcuitest/element/button.rb#L9) ios
|
|
2559
2571
|
|
|
2560
2572
|
> def button_class
|
|
2561
2573
|
|
|
@@ -2567,7 +2579,7 @@ __Returns:__
|
|
|
2567
2579
|
|
|
2568
2580
|
--
|
|
2569
2581
|
|
|
2570
|
-
##### [button](https://github.com/appium/ruby_lib/blob/
|
|
2582
|
+
##### [button](https://github.com/appium/ruby_lib/blob/eef19f638ed53ff17ef772c7c9ca571c570d5f85/lib/appium_lib/ios/xcuitest/element/button.rb#L17) ios
|
|
2571
2583
|
|
|
2572
2584
|
> def button(value)
|
|
2573
2585
|
|
|
@@ -2584,7 +2596,7 @@ __Returns:__
|
|
|
2584
2596
|
|
|
2585
2597
|
--
|
|
2586
2598
|
|
|
2587
|
-
##### [buttons](https://github.com/appium/ruby_lib/blob/
|
|
2599
|
+
##### [buttons](https://github.com/appium/ruby_lib/blob/eef19f638ed53ff17ef772c7c9ca571c570d5f85/lib/appium_lib/ios/xcuitest/element/button.rb#L27) ios
|
|
2588
2600
|
|
|
2589
2601
|
> def buttons(value = false)
|
|
2590
2602
|
|
|
@@ -2601,7 +2613,7 @@ __Returns:__
|
|
|
2601
2613
|
|
|
2602
2614
|
--
|
|
2603
2615
|
|
|
2604
|
-
##### [first_button](https://github.com/appium/ruby_lib/blob/
|
|
2616
|
+
##### [first_button](https://github.com/appium/ruby_lib/blob/eef19f638ed53ff17ef772c7c9ca571c570d5f85/lib/appium_lib/ios/xcuitest/element/button.rb#L35) ios
|
|
2605
2617
|
|
|
2606
2618
|
> def first_button
|
|
2607
2619
|
|
|
@@ -2613,7 +2625,7 @@ __Returns:__
|
|
|
2613
2625
|
|
|
2614
2626
|
--
|
|
2615
2627
|
|
|
2616
|
-
##### [last_button](https://github.com/appium/ruby_lib/blob/
|
|
2628
|
+
##### [last_button](https://github.com/appium/ruby_lib/blob/eef19f638ed53ff17ef772c7c9ca571c570d5f85/lib/appium_lib/ios/xcuitest/element/button.rb#L43) ios
|
|
2617
2629
|
|
|
2618
2630
|
> def last_button
|
|
2619
2631
|
|
|
@@ -2627,7 +2639,7 @@ __Returns:__
|
|
|
2627
2639
|
|
|
2628
2640
|
--
|
|
2629
2641
|
|
|
2630
|
-
##### [button_exact](https://github.com/appium/ruby_lib/blob/
|
|
2642
|
+
##### [button_exact](https://github.com/appium/ruby_lib/blob/eef19f638ed53ff17ef772c7c9ca571c570d5f85/lib/appium_lib/ios/xcuitest/element/button.rb#L50) ios
|
|
2631
2643
|
|
|
2632
2644
|
> def button_exact(value)
|
|
2633
2645
|
|
|
@@ -2643,7 +2655,7 @@ __Returns:__
|
|
|
2643
2655
|
|
|
2644
2656
|
--
|
|
2645
2657
|
|
|
2646
|
-
##### [buttons_exact](https://github.com/appium/ruby_lib/blob/
|
|
2658
|
+
##### [buttons_exact](https://github.com/appium/ruby_lib/blob/eef19f638ed53ff17ef772c7c9ca571c570d5f85/lib/appium_lib/ios/xcuitest/element/button.rb#L57) ios
|
|
2647
2659
|
|
|
2648
2660
|
> def buttons_exact(value)
|
|
2649
2661
|
|
|
@@ -2659,7 +2671,7 @@ __Returns:__
|
|
|
2659
2671
|
|
|
2660
2672
|
--
|
|
2661
2673
|
|
|
2662
|
-
##### [find](https://github.com/appium/ruby_lib/blob/
|
|
2674
|
+
##### [find](https://github.com/appium/ruby_lib/blob/eef19f638ed53ff17ef772c7c9ca571c570d5f85/lib/appium_lib/ios/xcuitest/element/generic.rb#L8) ios
|
|
2663
2675
|
|
|
2664
2676
|
> def find(value)
|
|
2665
2677
|
|
|
@@ -2675,7 +2687,7 @@ __Returns:__
|
|
|
2675
2687
|
|
|
2676
2688
|
--
|
|
2677
2689
|
|
|
2678
|
-
##### [finds](https://github.com/appium/ruby_lib/blob/
|
|
2690
|
+
##### [finds](https://github.com/appium/ruby_lib/blob/eef19f638ed53ff17ef772c7c9ca571c570d5f85/lib/appium_lib/ios/xcuitest/element/generic.rb#L15) ios
|
|
2679
2691
|
|
|
2680
2692
|
> def finds(value)
|
|
2681
2693
|
|
|
@@ -2691,7 +2703,7 @@ __Returns:__
|
|
|
2691
2703
|
|
|
2692
2704
|
--
|
|
2693
2705
|
|
|
2694
|
-
##### [find_exact](https://github.com/appium/ruby_lib/blob/
|
|
2706
|
+
##### [find_exact](https://github.com/appium/ruby_lib/blob/eef19f638ed53ff17ef772c7c9ca571c570d5f85/lib/appium_lib/ios/xcuitest/element/generic.rb#L23) ios
|
|
2695
2707
|
|
|
2696
2708
|
> def find_exact(value)
|
|
2697
2709
|
|
|
@@ -2707,7 +2719,7 @@ __Returns:__
|
|
|
2707
2719
|
|
|
2708
2720
|
--
|
|
2709
2721
|
|
|
2710
|
-
##### [finds_exact](https://github.com/appium/ruby_lib/blob/
|
|
2722
|
+
##### [finds_exact](https://github.com/appium/ruby_lib/blob/eef19f638ed53ff17ef772c7c9ca571c570d5f85/lib/appium_lib/ios/xcuitest/element/generic.rb#L30) ios
|
|
2711
2723
|
|
|
2712
2724
|
> def finds_exact(value)
|
|
2713
2725
|
|
|
@@ -2723,7 +2735,7 @@ __Returns:__
|
|
|
2723
2735
|
|
|
2724
2736
|
--
|
|
2725
2737
|
|
|
2726
|
-
##### [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/eef19f638ed53ff17ef772c7c9ca571c570d5f85/lib/appium_lib/ios/xcuitest/element/generic.rb#L37) ios
|
|
2727
2739
|
|
|
2728
2740
|
> def raise_error_if_no_element(element)
|
|
2729
2741
|
|
|
@@ -2731,7 +2743,7 @@ __Returns:__
|
|
|
2731
2743
|
|
|
2732
2744
|
--
|
|
2733
2745
|
|
|
2734
|
-
##### [select_visible_elements](https://github.com/appium/ruby_lib/blob/
|
|
2746
|
+
##### [select_visible_elements](https://github.com/appium/ruby_lib/blob/eef19f638ed53ff17ef772c7c9ca571c570d5f85/lib/appium_lib/ios/xcuitest/element/generic.rb#L44) ios
|
|
2735
2747
|
|
|
2736
2748
|
> def select_visible_elements(elements)
|
|
2737
2749
|
|
|
@@ -2739,7 +2751,7 @@ Return visible elements.
|
|
|
2739
2751
|
|
|
2740
2752
|
--
|
|
2741
2753
|
|
|
2742
|
-
##### [swipe](https://github.com/appium/ruby_lib/blob/
|
|
2754
|
+
##### [swipe](https://github.com/appium/ruby_lib/blob/eef19f638ed53ff17ef772c7c9ca571c570d5f85/lib/appium_lib/ios/xcuitest/command/gestures.rb#L11) ios
|
|
2743
2755
|
|
|
2744
2756
|
> def swipe(direction:, element: nil)
|
|
2745
2757
|
|
|
@@ -2753,7 +2765,7 @@ __Parameters:__
|
|
|
2753
2765
|
|
|
2754
2766
|
--
|
|
2755
2767
|
|
|
2756
|
-
##### [scroll](https://github.com/appium/ruby_lib/blob/
|
|
2768
|
+
##### [scroll](https://github.com/appium/ruby_lib/blob/eef19f638ed53ff17ef772c7c9ca571c570d5f85/lib/appium_lib/ios/xcuitest/command/gestures.rb#L29) ios
|
|
2757
2769
|
|
|
2758
2770
|
> def scroll(direction:, name: nil, element: nil, to_visible: nil, predicate_string: nil)
|
|
2759
2771
|
|
|
@@ -2767,7 +2779,7 @@ __Parameters:__
|
|
|
2767
2779
|
|
|
2768
2780
|
--
|
|
2769
2781
|
|
|
2770
|
-
##### [pinch](https://github.com/appium/ruby_lib/blob/
|
|
2782
|
+
##### [pinch](https://github.com/appium/ruby_lib/blob/eef19f638ed53ff17ef772c7c9ca571c570d5f85/lib/appium_lib/ios/xcuitest/command/gestures.rb#L48) ios
|
|
2771
2783
|
|
|
2772
2784
|
> def pinch(scale:, velocity: 1.0, element: nil)
|
|
2773
2785
|
|
|
@@ -2783,7 +2795,7 @@ __Parameters:__
|
|
|
2783
2795
|
|
|
2784
2796
|
--
|
|
2785
2797
|
|
|
2786
|
-
##### [double_tap](https://github.com/appium/ruby_lib/blob/
|
|
2798
|
+
##### [double_tap](https://github.com/appium/ruby_lib/blob/eef19f638ed53ff17ef772c7c9ca571c570d5f85/lib/appium_lib/ios/xcuitest/command/gestures.rb#L63) ios
|
|
2787
2799
|
|
|
2788
2800
|
> def double_tap(x: nil, y: nil, element: nil)
|
|
2789
2801
|
|
|
@@ -2799,7 +2811,7 @@ __Parameters:__
|
|
|
2799
2811
|
|
|
2800
2812
|
--
|
|
2801
2813
|
|
|
2802
|
-
##### [touch_and_hold](https://github.com/appium/ruby_lib/blob/
|
|
2814
|
+
##### [touch_and_hold](https://github.com/appium/ruby_lib/blob/eef19f638ed53ff17ef772c7c9ca571c570d5f85/lib/appium_lib/ios/xcuitest/command/gestures.rb#L80) ios
|
|
2803
2815
|
|
|
2804
2816
|
> def touch_and_hold(x: nil, y: nil, element: nil, duration: 1.0)
|
|
2805
2817
|
|
|
@@ -2817,7 +2829,7 @@ __Parameters:__
|
|
|
2817
2829
|
|
|
2818
2830
|
--
|
|
2819
2831
|
|
|
2820
|
-
##### [two_finger_tap](https://github.com/appium/ruby_lib/blob/
|
|
2832
|
+
##### [two_finger_tap](https://github.com/appium/ruby_lib/blob/eef19f638ed53ff17ef772c7c9ca571c570d5f85/lib/appium_lib/ios/xcuitest/command/gestures.rb#L93) ios
|
|
2821
2833
|
|
|
2822
2834
|
> def two_finger_tap(element:)
|
|
2823
2835
|
|
|
@@ -2833,7 +2845,7 @@ two_finger_tap element: find_element(:accessibility_id, "some item")
|
|
|
2833
2845
|
|
|
2834
2846
|
--
|
|
2835
2847
|
|
|
2836
|
-
##### [tap](https://github.com/appium/ruby_lib/blob/
|
|
2848
|
+
##### [tap](https://github.com/appium/ruby_lib/blob/eef19f638ed53ff17ef772c7c9ca571c570d5f85/lib/appium_lib/ios/xcuitest/command/gestures.rb#L108) ios
|
|
2837
2849
|
|
|
2838
2850
|
> def tap(x:, y:, element: nil)
|
|
2839
2851
|
|
|
@@ -2849,7 +2861,7 @@ __Parameters:__
|
|
|
2849
2861
|
|
|
2850
2862
|
--
|
|
2851
2863
|
|
|
2852
|
-
##### [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/eef19f638ed53ff17ef772c7c9ca571c570d5f85/lib/appium_lib/ios/xcuitest/command/gestures.rb#L128) ios
|
|
2853
2865
|
|
|
2854
2866
|
> def drag_from_to_for_duration(from_x:, from_y:, to_x:, to_y:, duration: 1.0, element: nil)
|
|
2855
2867
|
|
|
@@ -2872,7 +2884,7 @@ drag point should be before to start dragging. Mandatory parameter
|
|
|
2872
2884
|
|
|
2873
2885
|
--
|
|
2874
2886
|
|
|
2875
|
-
##### [select_picker_wheel](https://github.com/appium/ruby_lib/blob/
|
|
2887
|
+
##### [select_picker_wheel](https://github.com/appium/ruby_lib/blob/eef19f638ed53ff17ef772c7c9ca571c570d5f85/lib/appium_lib/ios/xcuitest/command/gestures.rb#L145) ios
|
|
2876
2888
|
|
|
2877
2889
|
> def select_picker_wheel(element:, order:, offset: nil)
|
|
2878
2890
|
|
|
@@ -2889,7 +2901,7 @@ __Parameters:__
|
|
|
2889
2901
|
|
|
2890
2902
|
--
|
|
2891
2903
|
|
|
2892
|
-
##### [alert](https://github.com/appium/ruby_lib/blob/
|
|
2904
|
+
##### [alert](https://github.com/appium/ruby_lib/blob/eef19f638ed53ff17ef772c7c9ca571c570d5f85/lib/appium_lib/ios/xcuitest/command/gestures.rb#L163) ios
|
|
2893
2905
|
|
|
2894
2906
|
> def alert(action:, button_label: nil)
|
|
2895
2907
|
|
|
@@ -2904,7 +2916,7 @@ This is an optional parameter and is only valid in combination with accept and d
|
|
|
2904
2916
|
|
|
2905
2917
|
--
|
|
2906
2918
|
|
|
2907
|
-
##### [text_field_class](https://github.com/appium/ruby_lib/blob/
|
|
2919
|
+
##### [text_field_class](https://github.com/appium/ruby_lib/blob/eef19f638ed53ff17ef772c7c9ca571c570d5f85/lib/appium_lib/ios/xcuitest/element/textfield.rb#L9) ios
|
|
2908
2920
|
|
|
2909
2921
|
> def text_field_class
|
|
2910
2922
|
|
|
@@ -2916,7 +2928,7 @@ __Returns:__
|
|
|
2916
2928
|
|
|
2917
2929
|
--
|
|
2918
2930
|
|
|
2919
|
-
##### [secure_text_field_class](https://github.com/appium/ruby_lib/blob/
|
|
2931
|
+
##### [secure_text_field_class](https://github.com/appium/ruby_lib/blob/eef19f638ed53ff17ef772c7c9ca571c570d5f85/lib/appium_lib/ios/xcuitest/element/textfield.rb#L14) ios
|
|
2920
2932
|
|
|
2921
2933
|
> def secure_text_field_class
|
|
2922
2934
|
|
|
@@ -2928,7 +2940,7 @@ __Returns:__
|
|
|
2928
2940
|
|
|
2929
2941
|
--
|
|
2930
2942
|
|
|
2931
|
-
##### [textfield](https://github.com/appium/ruby_lib/blob/
|
|
2943
|
+
##### [textfield](https://github.com/appium/ruby_lib/blob/eef19f638ed53ff17ef772c7c9ca571c570d5f85/lib/appium_lib/ios/xcuitest/element/textfield.rb#L23) ios
|
|
2932
2944
|
|
|
2933
2945
|
> def textfield(value)
|
|
2934
2946
|
|
|
@@ -2946,7 +2958,7 @@ __Returns:__
|
|
|
2946
2958
|
|
|
2947
2959
|
--
|
|
2948
2960
|
|
|
2949
|
-
##### [textfields](https://github.com/appium/ruby_lib/blob/
|
|
2961
|
+
##### [textfields](https://github.com/appium/ruby_lib/blob/eef19f638ed53ff17ef772c7c9ca571c570d5f85/lib/appium_lib/ios/xcuitest/element/textfield.rb#L41) ios
|
|
2950
2962
|
|
|
2951
2963
|
> def textfields(value = false)
|
|
2952
2964
|
|
|
@@ -2963,7 +2975,7 @@ __Returns:__
|
|
|
2963
2975
|
|
|
2964
2976
|
--
|
|
2965
2977
|
|
|
2966
|
-
##### [first_textfield](https://github.com/appium/ruby_lib/blob/
|
|
2978
|
+
##### [first_textfield](https://github.com/appium/ruby_lib/blob/eef19f638ed53ff17ef772c7c9ca571c570d5f85/lib/appium_lib/ios/xcuitest/element/textfield.rb#L50) ios
|
|
2967
2979
|
|
|
2968
2980
|
> def first_textfield
|
|
2969
2981
|
|
|
@@ -2975,7 +2987,7 @@ __Returns:__
|
|
|
2975
2987
|
|
|
2976
2988
|
--
|
|
2977
2989
|
|
|
2978
|
-
##### [last_textfield](https://github.com/appium/ruby_lib/blob/
|
|
2990
|
+
##### [last_textfield](https://github.com/appium/ruby_lib/blob/eef19f638ed53ff17ef772c7c9ca571c570d5f85/lib/appium_lib/ios/xcuitest/element/textfield.rb#L56) ios
|
|
2979
2991
|
|
|
2980
2992
|
> def last_textfield
|
|
2981
2993
|
|
|
@@ -2987,7 +2999,7 @@ __Returns:__
|
|
|
2987
2999
|
|
|
2988
3000
|
--
|
|
2989
3001
|
|
|
2990
|
-
##### [textfield_exact](https://github.com/appium/ruby_lib/blob/
|
|
3002
|
+
##### [textfield_exact](https://github.com/appium/ruby_lib/blob/eef19f638ed53ff17ef772c7c9ca571c570d5f85/lib/appium_lib/ios/xcuitest/element/textfield.rb#L65) ios
|
|
2991
3003
|
|
|
2992
3004
|
> def textfield_exact(value)
|
|
2993
3005
|
|
|
@@ -3003,7 +3015,7 @@ __Returns:__
|
|
|
3003
3015
|
|
|
3004
3016
|
--
|
|
3005
3017
|
|
|
3006
|
-
##### [textfields_exact](https://github.com/appium/ruby_lib/blob/
|
|
3018
|
+
##### [textfields_exact](https://github.com/appium/ruby_lib/blob/eef19f638ed53ff17ef772c7c9ca571c570d5f85/lib/appium_lib/ios/xcuitest/element/textfield.rb#L72) ios
|
|
3007
3019
|
|
|
3008
3020
|
> def textfields_exact(value)
|
|
3009
3021
|
|
|
@@ -3019,7 +3031,7 @@ __Returns:__
|
|
|
3019
3031
|
|
|
3020
3032
|
--
|
|
3021
3033
|
|
|
3022
|
-
##### [set_pasteboard](https://github.com/appium/ruby_lib/blob/
|
|
3034
|
+
##### [set_pasteboard](https://github.com/appium/ruby_lib/blob/eef19f638ed53ff17ef772c7c9ca571c570d5f85/lib/appium_lib/ios/xcuitest/command/pasteboard.rb#L12) ios
|
|
3023
3035
|
|
|
3024
3036
|
> def set_pasteboard(content:, encoding: nil)
|
|
3025
3037
|
|
|
@@ -3034,7 +3046,7 @@ The parameter is mandatory
|
|
|
3034
3046
|
|
|
3035
3047
|
--
|
|
3036
3048
|
|
|
3037
|
-
##### [get_pasteboard](https://github.com/appium/ruby_lib/blob/
|
|
3049
|
+
##### [get_pasteboard](https://github.com/appium/ruby_lib/blob/eef19f638ed53ff17ef772c7c9ca571c570d5f85/lib/appium_lib/ios/xcuitest/command/pasteboard.rb#L24) ios
|
|
3038
3050
|
|
|
3039
3051
|
> def get_pasteboard(encoding: nil)
|
|
3040
3052
|
|
|
@@ -3046,7 +3058,7 @@ __Parameters:__
|
|
|
3046
3058
|
|
|
3047
3059
|
--
|
|
3048
3060
|
|
|
3049
|
-
##### [xcuitest_install_app](https://github.com/appium/ruby_lib/blob/
|
|
3061
|
+
##### [xcuitest_install_app](https://github.com/appium/ruby_lib/blob/eef19f638ed53ff17ef772c7c9ca571c570d5f85/lib/appium_lib/ios/xcuitest/command/multi_app_handler.rb#L21) ios
|
|
3050
3062
|
|
|
3051
3063
|
> def xcuitest_install_app(app:)
|
|
3052
3064
|
|
|
@@ -3062,7 +3074,7 @@ or an URL pointing to a remote .ipa/.zip file. Mandatory argument.
|
|
|
3062
3074
|
|
|
3063
3075
|
--
|
|
3064
3076
|
|
|
3065
|
-
##### [xcuitest_app_installed?](https://github.com/appium/ruby_lib/blob/
|
|
3077
|
+
##### [xcuitest_app_installed?](https://github.com/appium/ruby_lib/blob/eef19f638ed53ff17ef772c7c9ca571c570d5f85/lib/appium_lib/ios/xcuitest/command/multi_app_handler.rb#L35) ios
|
|
3066
3078
|
|
|
3067
3079
|
> def xcuitest_app_installed?(bundle_id:)
|
|
3068
3080
|
|
|
@@ -3078,7 +3090,7 @@ __Returns:__
|
|
|
3078
3090
|
|
|
3079
3091
|
--
|
|
3080
3092
|
|
|
3081
|
-
##### [xcuitest_remove_app](https://github.com/appium/ruby_lib/blob/
|
|
3093
|
+
##### [xcuitest_remove_app](https://github.com/appium/ruby_lib/blob/eef19f638ed53ff17ef772c7c9ca571c570d5f85/lib/appium_lib/ios/xcuitest/command/multi_app_handler.rb#L50) ios
|
|
3082
3094
|
|
|
3083
3095
|
> def xcuitest_remove_app(bundle_id:)
|
|
3084
3096
|
|
|
@@ -3091,7 +3103,7 @@ __Parameters:__
|
|
|
3091
3103
|
|
|
3092
3104
|
--
|
|
3093
3105
|
|
|
3094
|
-
##### [xcuitest_launch_app](https://github.com/appium/ruby_lib/blob/
|
|
3106
|
+
##### [xcuitest_launch_app](https://github.com/appium/ruby_lib/blob/eef19f638ed53ff17ef772c7c9ca571c570d5f85/lib/appium_lib/ios/xcuitest/command/multi_app_handler.rb#L65) ios
|
|
3095
3107
|
|
|
3096
3108
|
> def xcuitest_launch_app(bundle_id:)
|
|
3097
3109
|
|
|
@@ -3104,7 +3116,7 @@ __Parameters:__
|
|
|
3104
3116
|
|
|
3105
3117
|
--
|
|
3106
3118
|
|
|
3107
|
-
##### [xcuitest_terminate_app](https://github.com/appium/ruby_lib/blob/
|
|
3119
|
+
##### [xcuitest_terminate_app](https://github.com/appium/ruby_lib/blob/eef19f638ed53ff17ef772c7c9ca571c570d5f85/lib/appium_lib/ios/xcuitest/command/multi_app_handler.rb#L80) ios
|
|
3108
3120
|
|
|
3109
3121
|
> def xcuitest_terminate_app(bundle_id:)
|
|
3110
3122
|
|
|
@@ -3117,7 +3129,7 @@ __Parameters:__
|
|
|
3117
3129
|
|
|
3118
3130
|
--
|
|
3119
3131
|
|
|
3120
|
-
##### [xcuitest_query_app_status](https://github.com/appium/ruby_lib/blob/
|
|
3132
|
+
##### [xcuitest_query_app_status](https://github.com/appium/ruby_lib/blob/eef19f638ed53ff17ef772c7c9ca571c570d5f85/lib/appium_lib/ios/xcuitest/command/multi_app_handler.rb#L102) ios
|
|
3121
3133
|
|
|
3122
3134
|
> def xcuitest_query_app_status(bundle_id:)
|
|
3123
3135
|
|
|
@@ -3141,7 +3153,7 @@ __Returns:__
|
|
|
3141
3153
|
|
|
3142
3154
|
--
|
|
3143
3155
|
|
|
3144
|
-
##### [xcuitest_activate_app](https://github.com/appium/ruby_lib/blob/
|
|
3156
|
+
##### [xcuitest_activate_app](https://github.com/appium/ruby_lib/blob/eef19f638ed53ff17ef772c7c9ca571c570d5f85/lib/appium_lib/ios/xcuitest/command/multi_app_handler.rb#L118) ios
|
|
3145
3157
|
|
|
3146
3158
|
> def xcuitest_activate_app(bundle_id:)
|
|
3147
3159
|
|