appium_lib 9.7.0 → 9.7.1
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 +3 -0
- data/docs/android_docs.md +175 -167
- data/docs/ios_docs.md +227 -219
- data/lib/appium_lib/appium.rb +1 -0
- data/lib/appium_lib/common/http_client.rb +10 -0
- data/lib/appium_lib/core/common/base/http_default.rb +1 -1
- data/lib/appium_lib/driver.rb +2 -1
- data/lib/appium_lib/version.rb +1 -1
- data/release_notes.md +18 -0
- metadata +2 -1
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/63a853ea755edb68a3469bd6647f23530c746853/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/63a853ea755edb68a3469bd6647f23530c746853/lib/appium_lib/appium.rb#L78)
|
|
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/63a853ea755edb68a3469bd6647f23530c746853/lib/appium_lib/appium.rb#L83)
|
|
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/63a853ea755edb68a3469bd6647f23530c746853/lib/appium_lib/appium.rb#L122)
|
|
78
78
|
|
|
79
79
|
> def promote_singleton_appium_methods(modules, driver = $driver)
|
|
80
80
|
|
|
@@ -92,7 +92,7 @@ otherwise, the array of modules will be used as the promotion target.
|
|
|
92
92
|
|
|
93
93
|
--
|
|
94
94
|
|
|
95
|
-
##### [promote_appium_methods](https://github.com/appium/ruby_lib/blob/
|
|
95
|
+
##### [promote_appium_methods](https://github.com/appium/ruby_lib/blob/63a853ea755edb68a3469bd6647f23530c746853/lib/appium_lib/appium.rb#L175)
|
|
96
96
|
|
|
97
97
|
> def promote_appium_methods(class_array, driver = $driver)
|
|
98
98
|
|
|
@@ -122,7 +122,7 @@ __Parameters:__
|
|
|
122
122
|
|
|
123
123
|
--
|
|
124
124
|
|
|
125
|
-
##### [global_webdriver_http_sleep](https://github.com/appium/ruby_lib/blob/
|
|
125
|
+
##### [global_webdriver_http_sleep](https://github.com/appium/ruby_lib/blob/63a853ea755edb68a3469bd6647f23530c746853/lib/appium_lib/driver.rb#L24)
|
|
126
126
|
|
|
127
127
|
> def global_webdriver_http_sleep
|
|
128
128
|
|
|
@@ -130,7 +130,7 @@ The amount to sleep in seconds before every webdriver http call.
|
|
|
130
130
|
|
|
131
131
|
--
|
|
132
132
|
|
|
133
|
-
##### [global_webdriver_http_sleep=](https://github.com/appium/ruby_lib/blob/
|
|
133
|
+
##### [global_webdriver_http_sleep=](https://github.com/appium/ruby_lib/blob/63a853ea755edb68a3469bd6647f23530c746853/lib/appium_lib/driver.rb#L24)
|
|
134
134
|
|
|
135
135
|
> def global_webdriver_http_sleep=(value)
|
|
136
136
|
|
|
@@ -138,7 +138,7 @@ The amount to sleep in seconds before every webdriver http call.
|
|
|
138
138
|
|
|
139
139
|
--
|
|
140
140
|
|
|
141
|
-
##### [sauce](https://github.com/appium/ruby_lib/blob/
|
|
141
|
+
##### [sauce](https://github.com/appium/ruby_lib/blob/63a853ea755edb68a3469bd6647f23530c746853/lib/appium_lib/driver.rb#L27)
|
|
142
142
|
|
|
143
143
|
> def sauce
|
|
144
144
|
|
|
@@ -146,7 +146,7 @@ SauceLab's settings
|
|
|
146
146
|
|
|
147
147
|
--
|
|
148
148
|
|
|
149
|
-
##### [sauce_username](https://github.com/appium/ruby_lib/blob/
|
|
149
|
+
##### [sauce_username](https://github.com/appium/ruby_lib/blob/63a853ea755edb68a3469bd6647f23530c746853/lib/appium_lib/driver.rb#L30)
|
|
150
150
|
|
|
151
151
|
> def sauce_username
|
|
152
152
|
|
|
@@ -155,7 +155,7 @@ same as @sauce.username
|
|
|
155
155
|
|
|
156
156
|
--
|
|
157
157
|
|
|
158
|
-
##### [sauce_access_key](https://github.com/appium/ruby_lib/blob/
|
|
158
|
+
##### [sauce_access_key](https://github.com/appium/ruby_lib/blob/63a853ea755edb68a3469bd6647f23530c746853/lib/appium_lib/driver.rb#L33)
|
|
159
159
|
|
|
160
160
|
> def sauce_access_key
|
|
161
161
|
|
|
@@ -164,7 +164,7 @@ same as @sauce.access_key
|
|
|
164
164
|
|
|
165
165
|
--
|
|
166
166
|
|
|
167
|
-
##### [sauce_endpoint](https://github.com/appium/ruby_lib/blob/
|
|
167
|
+
##### [sauce_endpoint](https://github.com/appium/ruby_lib/blob/63a853ea755edb68a3469bd6647f23530c746853/lib/appium_lib/driver.rb#L36)
|
|
168
168
|
|
|
169
169
|
> def sauce_endpoint
|
|
170
170
|
|
|
@@ -173,7 +173,7 @@ same as @sauce.endpoint
|
|
|
173
173
|
|
|
174
174
|
--
|
|
175
175
|
|
|
176
|
-
##### [caps](https://github.com/appium/ruby_lib/blob/
|
|
176
|
+
##### [caps](https://github.com/appium/ruby_lib/blob/63a853ea755edb68a3469bd6647f23530c746853/lib/appium_lib/driver.rb#L39)
|
|
177
177
|
|
|
178
178
|
> def caps
|
|
179
179
|
|
|
@@ -181,7 +181,7 @@ from Core
|
|
|
181
181
|
|
|
182
182
|
--
|
|
183
183
|
|
|
184
|
-
##### [custom_url](https://github.com/appium/ruby_lib/blob/
|
|
184
|
+
##### [custom_url](https://github.com/appium/ruby_lib/blob/63a853ea755edb68a3469bd6647f23530c746853/lib/appium_lib/driver.rb#L40)
|
|
185
185
|
|
|
186
186
|
> def custom_url
|
|
187
187
|
|
|
@@ -189,7 +189,7 @@ Returns the value of attribute custom_url
|
|
|
189
189
|
|
|
190
190
|
--
|
|
191
191
|
|
|
192
|
-
##### [export_session](https://github.com/appium/ruby_lib/blob/
|
|
192
|
+
##### [export_session](https://github.com/appium/ruby_lib/blob/63a853ea755edb68a3469bd6647f23530c746853/lib/appium_lib/driver.rb#L41)
|
|
193
193
|
|
|
194
194
|
> def export_session
|
|
195
195
|
|
|
@@ -197,7 +197,7 @@ Returns the value of attribute export_session
|
|
|
197
197
|
|
|
198
198
|
--
|
|
199
199
|
|
|
200
|
-
##### [default_wait](https://github.com/appium/ruby_lib/blob/
|
|
200
|
+
##### [default_wait](https://github.com/appium/ruby_lib/blob/63a853ea755edb68a3469bd6647f23530c746853/lib/appium_lib/driver.rb#L42)
|
|
201
201
|
|
|
202
202
|
> def default_wait
|
|
203
203
|
|
|
@@ -205,7 +205,7 @@ Returns the value of attribute default_wait
|
|
|
205
205
|
|
|
206
206
|
--
|
|
207
207
|
|
|
208
|
-
##### [appium_port](https://github.com/appium/ruby_lib/blob/
|
|
208
|
+
##### [appium_port](https://github.com/appium/ruby_lib/blob/63a853ea755edb68a3469bd6647f23530c746853/lib/appium_lib/driver.rb#L43)
|
|
209
209
|
|
|
210
210
|
> def appium_port
|
|
211
211
|
|
|
@@ -213,7 +213,7 @@ Returns the value of attribute appium_port
|
|
|
213
213
|
|
|
214
214
|
--
|
|
215
215
|
|
|
216
|
-
##### [appium_device](https://github.com/appium/ruby_lib/blob/
|
|
216
|
+
##### [appium_device](https://github.com/appium/ruby_lib/blob/63a853ea755edb68a3469bd6647f23530c746853/lib/appium_lib/driver.rb#L44)
|
|
217
217
|
|
|
218
218
|
> def appium_device
|
|
219
219
|
|
|
@@ -221,7 +221,7 @@ Returns the value of attribute appium_device
|
|
|
221
221
|
|
|
222
222
|
--
|
|
223
223
|
|
|
224
|
-
##### [automation_name](https://github.com/appium/ruby_lib/blob/
|
|
224
|
+
##### [automation_name](https://github.com/appium/ruby_lib/blob/63a853ea755edb68a3469bd6647f23530c746853/lib/appium_lib/driver.rb#L45)
|
|
225
225
|
|
|
226
226
|
> def automation_name
|
|
227
227
|
|
|
@@ -229,7 +229,7 @@ Returns the value of attribute automation_name
|
|
|
229
229
|
|
|
230
230
|
--
|
|
231
231
|
|
|
232
|
-
##### [listener](https://github.com/appium/ruby_lib/blob/
|
|
232
|
+
##### [listener](https://github.com/appium/ruby_lib/blob/63a853ea755edb68a3469bd6647f23530c746853/lib/appium_lib/driver.rb#L46)
|
|
233
233
|
|
|
234
234
|
> def listener
|
|
235
235
|
|
|
@@ -237,7 +237,7 @@ Returns the value of attribute listener
|
|
|
237
237
|
|
|
238
238
|
--
|
|
239
239
|
|
|
240
|
-
##### [http_client](https://github.com/appium/ruby_lib/blob/
|
|
240
|
+
##### [http_client](https://github.com/appium/ruby_lib/blob/63a853ea755edb68a3469bd6647f23530c746853/lib/appium_lib/driver.rb#L47)
|
|
241
241
|
|
|
242
242
|
> def http_client
|
|
243
243
|
|
|
@@ -245,7 +245,7 @@ Returns the value of attribute http_client
|
|
|
245
245
|
|
|
246
246
|
--
|
|
247
247
|
|
|
248
|
-
##### [appium_wait_timeout](https://github.com/appium/ruby_lib/blob/
|
|
248
|
+
##### [appium_wait_timeout](https://github.com/appium/ruby_lib/blob/63a853ea755edb68a3469bd6647f23530c746853/lib/appium_lib/driver.rb#L48)
|
|
249
249
|
|
|
250
250
|
> def appium_wait_timeout
|
|
251
251
|
|
|
@@ -253,7 +253,7 @@ Returns the value of attribute appium_wait_timeout
|
|
|
253
253
|
|
|
254
254
|
--
|
|
255
255
|
|
|
256
|
-
##### [appium_wait_interval](https://github.com/appium/ruby_lib/blob/
|
|
256
|
+
##### [appium_wait_interval](https://github.com/appium/ruby_lib/blob/63a853ea755edb68a3469bd6647f23530c746853/lib/appium_lib/driver.rb#L49)
|
|
257
257
|
|
|
258
258
|
> def appium_wait_interval
|
|
259
259
|
|
|
@@ -261,7 +261,7 @@ Returns the value of attribute appium_wait_interval
|
|
|
261
261
|
|
|
262
262
|
--
|
|
263
263
|
|
|
264
|
-
##### [appium_server_status](https://github.com/appium/ruby_lib/blob/
|
|
264
|
+
##### [appium_server_status](https://github.com/appium/ruby_lib/blob/63a853ea755edb68a3469bd6647f23530c746853/lib/appium_lib/driver.rb#L52)
|
|
265
265
|
|
|
266
266
|
> def appium_server_status
|
|
267
267
|
|
|
@@ -269,7 +269,7 @@ Appium's server version
|
|
|
269
269
|
|
|
270
270
|
--
|
|
271
271
|
|
|
272
|
-
##### [appium_debug](https://github.com/appium/ruby_lib/blob/
|
|
272
|
+
##### [appium_debug](https://github.com/appium/ruby_lib/blob/63a853ea755edb68a3469bd6647f23530c746853/lib/appium_lib/driver.rb#L54)
|
|
273
273
|
|
|
274
274
|
> def appium_debug
|
|
275
275
|
|
|
@@ -277,7 +277,7 @@ Boolean debug mode for the Appium Ruby bindings
|
|
|
277
277
|
|
|
278
278
|
--
|
|
279
279
|
|
|
280
|
-
##### [driver](https://github.com/appium/ruby_lib/blob/
|
|
280
|
+
##### [driver](https://github.com/appium/ruby_lib/blob/63a853ea755edb68a3469bd6647f23530c746853/lib/appium_lib/driver.rb#L57)
|
|
281
281
|
|
|
282
282
|
> def driver
|
|
283
283
|
|
|
@@ -289,7 +289,7 @@ __Returns:__
|
|
|
289
289
|
|
|
290
290
|
--
|
|
291
291
|
|
|
292
|
-
##### [core](https://github.com/appium/ruby_lib/blob/
|
|
292
|
+
##### [core](https://github.com/appium/ruby_lib/blob/63a853ea755edb68a3469bd6647f23530c746853/lib/appium_lib/driver.rb#L59)
|
|
293
293
|
|
|
294
294
|
> def core
|
|
295
295
|
|
|
@@ -297,7 +297,7 @@ Instance of Appium::Core::Driver
|
|
|
297
297
|
|
|
298
298
|
--
|
|
299
299
|
|
|
300
|
-
##### [initialize](https://github.com/appium/ruby_lib/blob/
|
|
300
|
+
##### [initialize](https://github.com/appium/ruby_lib/blob/63a853ea755edb68a3469bd6647f23530c746853/lib/appium_lib/driver.rb#L113)
|
|
301
301
|
|
|
302
302
|
> def initialize(opts = {}, global_driver = nil)
|
|
303
303
|
|
|
@@ -316,7 +316,7 @@ __Returns:__
|
|
|
316
316
|
|
|
317
317
|
--
|
|
318
318
|
|
|
319
|
-
##### [driver_attributes](https://github.com/appium/ruby_lib/blob/
|
|
319
|
+
##### [driver_attributes](https://github.com/appium/ruby_lib/blob/63a853ea755edb68a3469bd6647f23530c746853/lib/appium_lib/driver.rb#L218)
|
|
320
320
|
|
|
321
321
|
> def driver_attributes
|
|
322
322
|
|
|
@@ -324,7 +324,7 @@ Returns a hash of the driver attributes
|
|
|
324
324
|
|
|
325
325
|
--
|
|
326
326
|
|
|
327
|
-
##### [device_is_android?](https://github.com/appium/ruby_lib/blob/
|
|
327
|
+
##### [device_is_android?](https://github.com/appium/ruby_lib/blob/63a853ea755edb68a3469bd6647f23530c746853/lib/appium_lib/driver.rb#L237)
|
|
328
328
|
|
|
329
329
|
> def device_is_android?
|
|
330
330
|
|
|
@@ -336,7 +336,7 @@ __Returns:__
|
|
|
336
336
|
|
|
337
337
|
--
|
|
338
338
|
|
|
339
|
-
##### [device_is_ios?](https://github.com/appium/ruby_lib/blob/
|
|
339
|
+
##### [device_is_ios?](https://github.com/appium/ruby_lib/blob/63a853ea755edb68a3469bd6647f23530c746853/lib/appium_lib/driver.rb#L241)
|
|
340
340
|
|
|
341
341
|
> def device_is_ios?
|
|
342
342
|
|
|
@@ -348,7 +348,7 @@ __Returns:__
|
|
|
348
348
|
|
|
349
349
|
--
|
|
350
350
|
|
|
351
|
-
##### [device_is_windows?](https://github.com/appium/ruby_lib/blob/
|
|
351
|
+
##### [device_is_windows?](https://github.com/appium/ruby_lib/blob/63a853ea755edb68a3469bd6647f23530c746853/lib/appium_lib/driver.rb#L245)
|
|
352
352
|
|
|
353
353
|
> def device_is_windows?
|
|
354
354
|
|
|
@@ -360,7 +360,7 @@ __Returns:__
|
|
|
360
360
|
|
|
361
361
|
--
|
|
362
362
|
|
|
363
|
-
##### [automation_name_is_uiautomator2?](https://github.com/appium/ruby_lib/blob/
|
|
363
|
+
##### [automation_name_is_uiautomator2?](https://github.com/appium/ruby_lib/blob/63a853ea755edb68a3469bd6647f23530c746853/lib/appium_lib/driver.rb#L251)
|
|
364
364
|
|
|
365
365
|
> def automation_name_is_uiautomator2?
|
|
366
366
|
|
|
@@ -372,7 +372,7 @@ __Returns:__
|
|
|
372
372
|
|
|
373
373
|
--
|
|
374
374
|
|
|
375
|
-
##### [automation_name_is_espresso?](https://github.com/appium/ruby_lib/blob/
|
|
375
|
+
##### [automation_name_is_espresso?](https://github.com/appium/ruby_lib/blob/63a853ea755edb68a3469bd6647f23530c746853/lib/appium_lib/driver.rb#L257)
|
|
376
376
|
|
|
377
377
|
> def automation_name_is_espresso?
|
|
378
378
|
|
|
@@ -384,7 +384,7 @@ __Returns:__
|
|
|
384
384
|
|
|
385
385
|
--
|
|
386
386
|
|
|
387
|
-
##### [automation_name_is_xcuitest?](https://github.com/appium/ruby_lib/blob/
|
|
387
|
+
##### [automation_name_is_xcuitest?](https://github.com/appium/ruby_lib/blob/63a853ea755edb68a3469bd6647f23530c746853/lib/appium_lib/driver.rb#L263)
|
|
388
388
|
|
|
389
389
|
> def automation_name_is_xcuitest?
|
|
390
390
|
|
|
@@ -396,7 +396,7 @@ __Returns:__
|
|
|
396
396
|
|
|
397
397
|
--
|
|
398
398
|
|
|
399
|
-
##### [check_server_version_xcuitest](https://github.com/appium/ruby_lib/blob/
|
|
399
|
+
##### [check_server_version_xcuitest](https://github.com/appium/ruby_lib/blob/63a853ea755edb68a3469bd6647f23530c746853/lib/appium_lib/driver.rb#L270)
|
|
400
400
|
|
|
401
401
|
> def check_server_version_xcuitest
|
|
402
402
|
|
|
@@ -409,7 +409,7 @@ __Returns:__
|
|
|
409
409
|
|
|
410
410
|
--
|
|
411
411
|
|
|
412
|
-
##### [appium_server_version](https://github.com/appium/ruby_lib/blob/
|
|
412
|
+
##### [appium_server_version](https://github.com/appium/ruby_lib/blob/63a853ea755edb68a3469bd6647f23530c746853/lib/appium_lib/driver.rb#L292)
|
|
413
413
|
|
|
414
414
|
> def appium_server_version
|
|
415
415
|
|
|
@@ -430,7 +430,7 @@ __Returns:__
|
|
|
430
430
|
|
|
431
431
|
--
|
|
432
432
|
|
|
433
|
-
##### [platform_version](https://github.com/appium/ruby_lib/blob/
|
|
433
|
+
##### [platform_version](https://github.com/appium/ruby_lib/blob/63a853ea755edb68a3469bd6647f23530c746853/lib/appium_lib/driver.rb#L302)
|
|
434
434
|
|
|
435
435
|
> def platform_version
|
|
436
436
|
|
|
@@ -442,7 +442,7 @@ __Returns:__
|
|
|
442
442
|
|
|
443
443
|
--
|
|
444
444
|
|
|
445
|
-
##### [appium_client_version](https://github.com/appium/ruby_lib/blob/
|
|
445
|
+
##### [appium_client_version](https://github.com/appium/ruby_lib/blob/63a853ea755edb68a3469bd6647f23530c746853/lib/appium_lib/driver.rb#L321)
|
|
446
446
|
|
|
447
447
|
> def appium_client_version
|
|
448
448
|
|
|
@@ -460,7 +460,7 @@ __Returns:__
|
|
|
460
460
|
|
|
461
461
|
--
|
|
462
462
|
|
|
463
|
-
##### [absolute_app_path](https://github.com/appium/ruby_lib/blob/
|
|
463
|
+
##### [absolute_app_path](https://github.com/appium/ruby_lib/blob/63a853ea755edb68a3469bd6647f23530c746853/lib/appium_lib/driver.rb#L333)
|
|
464
464
|
|
|
465
465
|
> def self.absolute_app_path(opts)
|
|
466
466
|
|
|
@@ -477,7 +477,7 @@ __Returns:__
|
|
|
477
477
|
|
|
478
478
|
--
|
|
479
479
|
|
|
480
|
-
##### [server_url](https://github.com/appium/ruby_lib/blob/
|
|
480
|
+
##### [server_url](https://github.com/appium/ruby_lib/blob/63a853ea755edb68a3469bd6647f23530c746853/lib/appium_lib/driver.rb#L366)
|
|
481
481
|
|
|
482
482
|
> def server_url
|
|
483
483
|
|
|
@@ -489,7 +489,7 @@ __Returns:__
|
|
|
489
489
|
|
|
490
490
|
--
|
|
491
491
|
|
|
492
|
-
##### [restart](https://github.com/appium/ruby_lib/blob/
|
|
492
|
+
##### [restart](https://github.com/appium/ruby_lib/blob/63a853ea755edb68a3469bd6647f23530c746853/lib/appium_lib/driver.rb#L374)
|
|
493
493
|
|
|
494
494
|
> def restart
|
|
495
495
|
|
|
@@ -501,7 +501,7 @@ __Returns:__
|
|
|
501
501
|
|
|
502
502
|
--
|
|
503
503
|
|
|
504
|
-
##### [screenshot](https://github.com/appium/ruby_lib/blob/
|
|
504
|
+
##### [screenshot](https://github.com/appium/ruby_lib/blob/63a853ea755edb68a3469bd6647f23530c746853/lib/appium_lib/driver.rb#L385)
|
|
505
505
|
|
|
506
506
|
> def screenshot(png_save_path)
|
|
507
507
|
|
|
@@ -519,7 +519,7 @@ __Returns:__
|
|
|
519
519
|
|
|
520
520
|
--
|
|
521
521
|
|
|
522
|
-
##### [driver_quit](https://github.com/appium/ruby_lib/blob/
|
|
522
|
+
##### [driver_quit](https://github.com/appium/ruby_lib/blob/63a853ea755edb68a3469bd6647f23530c746853/lib/appium_lib/driver.rb#L391)
|
|
523
523
|
|
|
524
524
|
> def driver_quit
|
|
525
525
|
|
|
@@ -531,7 +531,7 @@ __Returns:__
|
|
|
531
531
|
|
|
532
532
|
--
|
|
533
533
|
|
|
534
|
-
##### [quit_driver](https://github.com/appium/ruby_lib/blob/
|
|
534
|
+
##### [quit_driver](https://github.com/appium/ruby_lib/blob/63a853ea755edb68a3469bd6647f23530c746853/lib/appium_lib/driver.rb#L394)
|
|
535
535
|
|
|
536
536
|
> def driver_quit
|
|
537
537
|
|
|
@@ -543,7 +543,7 @@ __Returns:__
|
|
|
543
543
|
|
|
544
544
|
--
|
|
545
545
|
|
|
546
|
-
##### [window_size](https://github.com/appium/ruby_lib/blob/
|
|
546
|
+
##### [window_size](https://github.com/appium/ruby_lib/blob/63a853ea755edb68a3469bd6647f23530c746853/lib/appium_lib/driver.rb#L403)
|
|
547
547
|
|
|
548
548
|
> def window_size
|
|
549
549
|
|
|
@@ -555,9 +555,9 @@ __Returns:__
|
|
|
555
555
|
|
|
556
556
|
--
|
|
557
557
|
|
|
558
|
-
##### [start_driver](https://github.com/appium/ruby_lib/blob/
|
|
558
|
+
##### [start_driver](https://github.com/appium/ruby_lib/blob/63a853ea755edb68a3469bd6647f23530c746853/lib/appium_lib/driver.rb#L433)
|
|
559
559
|
|
|
560
|
-
> def start_driver(http_client_ops =
|
|
560
|
+
> def start_driver(http_client_ops =
|
|
561
561
|
|
|
562
562
|
Creates a new global driver and quits the old one if it exists.
|
|
563
563
|
You can customise http_client as the following
|
|
@@ -572,7 +572,7 @@ __Returns:__
|
|
|
572
572
|
|
|
573
573
|
--
|
|
574
574
|
|
|
575
|
-
##### [set_implicit_wait](https://github.com/appium/ruby_lib/blob/
|
|
575
|
+
##### [set_implicit_wait](https://github.com/appium/ruby_lib/blob/63a853ea755edb68a3469bd6647f23530c746853/lib/appium_lib/driver.rb#L457)
|
|
576
576
|
|
|
577
577
|
> def set_implicit_wait(wait)
|
|
578
578
|
|
|
@@ -580,7 +580,7 @@ To ignore error for Espresso Driver
|
|
|
580
580
|
|
|
581
581
|
--
|
|
582
582
|
|
|
583
|
-
##### [no_wait](https://github.com/appium/ruby_lib/blob/
|
|
583
|
+
##### [no_wait](https://github.com/appium/ruby_lib/blob/63a853ea755edb68a3469bd6647f23530c746853/lib/appium_lib/driver.rb#L467)
|
|
584
584
|
|
|
585
585
|
> def no_wait
|
|
586
586
|
|
|
@@ -588,7 +588,7 @@ Set implicit wait to zero.
|
|
|
588
588
|
|
|
589
589
|
--
|
|
590
590
|
|
|
591
|
-
##### [set_wait](https://github.com/appium/ruby_lib/blob/
|
|
591
|
+
##### [set_wait](https://github.com/appium/ruby_lib/blob/63a853ea755edb68a3469bd6647f23530c746853/lib/appium_lib/driver.rb#L481)
|
|
592
592
|
|
|
593
593
|
> def set_wait(timeout = nil)
|
|
594
594
|
|
|
@@ -610,7 +610,7 @@ __Returns:__
|
|
|
610
610
|
|
|
611
611
|
--
|
|
612
612
|
|
|
613
|
-
##### [exists](https://github.com/appium/ruby_lib/blob/
|
|
613
|
+
##### [exists](https://github.com/appium/ruby_lib/blob/63a853ea755edb68a3469bd6647f23530c746853/lib/appium_lib/driver.rb#L498)
|
|
614
614
|
|
|
615
615
|
> def exists(pre_check = 0, post_check = @core.default_wait)
|
|
616
616
|
|
|
@@ -634,7 +634,7 @@ __Returns:__
|
|
|
634
634
|
|
|
635
635
|
--
|
|
636
636
|
|
|
637
|
-
##### [execute_script](https://github.com/appium/ruby_lib/blob/
|
|
637
|
+
##### [execute_script](https://github.com/appium/ruby_lib/blob/63a853ea755edb68a3469bd6647f23530c746853/lib/appium_lib/driver.rb#L522)
|
|
638
638
|
|
|
639
639
|
> def execute_script(script, *args)
|
|
640
640
|
|
|
@@ -652,7 +652,7 @@ __Returns:__
|
|
|
652
652
|
|
|
653
653
|
--
|
|
654
654
|
|
|
655
|
-
##### [find_elements](https://github.com/appium/ruby_lib/blob/
|
|
655
|
+
##### [find_elements](https://github.com/appium/ruby_lib/blob/63a853ea755edb68a3469bd6647f23530c746853/lib/appium_lib/driver.rb#L546)
|
|
656
656
|
|
|
657
657
|
> def find_elements(*args)
|
|
658
658
|
|
|
@@ -672,7 +672,7 @@ __Returns:__
|
|
|
672
672
|
|
|
673
673
|
--
|
|
674
674
|
|
|
675
|
-
##### [find_element](https://github.com/appium/ruby_lib/blob/
|
|
675
|
+
##### [find_element](https://github.com/appium/ruby_lib/blob/63a853ea755edb68a3469bd6647f23530c746853/lib/appium_lib/driver.rb#L562)
|
|
676
676
|
|
|
677
677
|
> def find_element(*args)
|
|
678
678
|
|
|
@@ -690,7 +690,7 @@ __Returns:__
|
|
|
690
690
|
|
|
691
691
|
--
|
|
692
692
|
|
|
693
|
-
##### [set_location](https://github.com/appium/ruby_lib/blob/
|
|
693
|
+
##### [set_location](https://github.com/appium/ruby_lib/blob/63a853ea755edb68a3469bd6647f23530c746853/lib/appium_lib/driver.rb#L575)
|
|
694
694
|
|
|
695
695
|
> def set_location(opts = {})
|
|
696
696
|
|
|
@@ -706,7 +706,7 @@ __Returns:__
|
|
|
706
706
|
|
|
707
707
|
--
|
|
708
708
|
|
|
709
|
-
##### [x](https://github.com/appium/ruby_lib/blob/
|
|
709
|
+
##### [x](https://github.com/appium/ruby_lib/blob/63a853ea755edb68a3469bd6647f23530c746853/lib/appium_lib/driver.rb#L585)
|
|
710
710
|
|
|
711
711
|
> def x
|
|
712
712
|
|
|
@@ -719,7 +719,7 @@ __Returns:__
|
|
|
719
719
|
|
|
720
720
|
--
|
|
721
721
|
|
|
722
|
-
##### [username](https://github.com/appium/ruby_lib/blob/
|
|
722
|
+
##### [username](https://github.com/appium/ruby_lib/blob/63a853ea755edb68a3469bd6647f23530c746853/lib/appium_lib/sauce_labs.rb#L4)
|
|
723
723
|
|
|
724
724
|
> def username
|
|
725
725
|
|
|
@@ -727,7 +727,7 @@ Username for use on Sauce Labs. Set `false` to disable Sauce, even when SAUCE_US
|
|
|
727
727
|
|
|
728
728
|
--
|
|
729
729
|
|
|
730
|
-
##### [access_key](https://github.com/appium/ruby_lib/blob/
|
|
730
|
+
##### [access_key](https://github.com/appium/ruby_lib/blob/63a853ea755edb68a3469bd6647f23530c746853/lib/appium_lib/sauce_labs.rb#L6)
|
|
731
731
|
|
|
732
732
|
> def access_key
|
|
733
733
|
|
|
@@ -735,7 +735,7 @@ Access Key for use on Sauce Labs. Set `false` to disable Sauce, even when SAUCE_
|
|
|
735
735
|
|
|
736
736
|
--
|
|
737
737
|
|
|
738
|
-
##### [endpoint](https://github.com/appium/ruby_lib/blob/
|
|
738
|
+
##### [endpoint](https://github.com/appium/ruby_lib/blob/63a853ea755edb68a3469bd6647f23530c746853/lib/appium_lib/sauce_labs.rb#L8)
|
|
739
739
|
|
|
740
740
|
> def endpoint
|
|
741
741
|
|
|
@@ -743,7 +743,7 @@ Override the Sauce Appium endpoint to allow e.g. TestObject tests
|
|
|
743
743
|
|
|
744
744
|
--
|
|
745
745
|
|
|
746
|
-
##### [initialize](https://github.com/appium/ruby_lib/blob/
|
|
746
|
+
##### [initialize](https://github.com/appium/ruby_lib/blob/63a853ea755edb68a3469bd6647f23530c746853/lib/appium_lib/sauce_labs.rb#L10)
|
|
747
747
|
|
|
748
748
|
> def initialize(appium_lib_opts)
|
|
749
749
|
|
|
@@ -755,7 +755,7 @@ __Returns:__
|
|
|
755
755
|
|
|
756
756
|
--
|
|
757
757
|
|
|
758
|
-
##### [sauce_server_url?](https://github.com/appium/ruby_lib/blob/
|
|
758
|
+
##### [sauce_server_url?](https://github.com/appium/ruby_lib/blob/63a853ea755edb68a3469bd6647f23530c746853/lib/appium_lib/sauce_labs.rb#L21)
|
|
759
759
|
|
|
760
760
|
> def sauce_server_url?
|
|
761
761
|
|
|
@@ -767,7 +767,7 @@ __Returns:__
|
|
|
767
767
|
|
|
768
768
|
--
|
|
769
769
|
|
|
770
|
-
##### [server_url](https://github.com/appium/ruby_lib/blob/
|
|
770
|
+
##### [server_url](https://github.com/appium/ruby_lib/blob/63a853ea755edb68a3469bd6647f23530c746853/lib/appium_lib/sauce_labs.rb#L25)
|
|
771
771
|
|
|
772
772
|
> def server_url
|
|
773
773
|
|
|
@@ -775,7 +775,7 @@ __Returns:__
|
|
|
775
775
|
|
|
776
776
|
--
|
|
777
777
|
|
|
778
|
-
##### [get_log](https://github.com/appium/ruby_lib/blob/
|
|
778
|
+
##### [get_log](https://github.com/appium/ruby_lib/blob/63a853ea755edb68a3469bd6647f23530c746853/lib/appium_lib/common/log.rb#L10)
|
|
779
779
|
|
|
780
780
|
> def get_log(type)
|
|
781
781
|
|
|
@@ -791,7 +791,7 @@ __Returns:__
|
|
|
791
791
|
|
|
792
792
|
--
|
|
793
793
|
|
|
794
|
-
##### [get_available_log_types](https://github.com/appium/ruby_lib/blob/
|
|
794
|
+
##### [get_available_log_types](https://github.com/appium/ruby_lib/blob/63a853ea755edb68a3469bd6647f23530c746853/lib/appium_lib/common/log.rb#L20)
|
|
795
795
|
|
|
796
796
|
> def get_available_log_types
|
|
797
797
|
|
|
@@ -803,7 +803,7 @@ __Returns:__
|
|
|
803
803
|
|
|
804
804
|
--
|
|
805
805
|
|
|
806
|
-
##### [initialize](https://github.com/appium/ruby_lib/blob/
|
|
806
|
+
##### [initialize](https://github.com/appium/ruby_lib/blob/63a853ea755edb68a3469bd6647f23530c746853/lib/appium_lib/common/wait.rb#L6)
|
|
807
807
|
|
|
808
808
|
> def initialize(opts = {})
|
|
809
809
|
|
|
@@ -815,7 +815,7 @@ __Returns:__
|
|
|
815
815
|
|
|
816
816
|
--
|
|
817
817
|
|
|
818
|
-
##### [wait_true](https://github.com/appium/ruby_lib/blob/
|
|
818
|
+
##### [wait_true](https://github.com/appium/ruby_lib/blob/63a853ea755edb68a3469bd6647f23530c746853/lib/appium_lib/common/wait.rb#L34)
|
|
819
819
|
|
|
820
820
|
> def wait_true(opts = {})
|
|
821
821
|
|
|
@@ -835,7 +835,7 @@ __Parameters:__
|
|
|
835
835
|
|
|
836
836
|
--
|
|
837
837
|
|
|
838
|
-
##### [wait](https://github.com/appium/ruby_lib/blob/
|
|
838
|
+
##### [wait](https://github.com/appium/ruby_lib/blob/63a853ea755edb68a3469bd6647f23530c746853/lib/appium_lib/common/wait.rb#L57)
|
|
839
839
|
|
|
840
840
|
> def wait(opts = {})
|
|
841
841
|
|
|
@@ -853,7 +853,7 @@ __Parameters:__
|
|
|
853
853
|
|
|
854
854
|
--
|
|
855
855
|
|
|
856
|
-
##### [ignore](https://github.com/appium/ruby_lib/blob/
|
|
856
|
+
##### [ignore](https://github.com/appium/ruby_lib/blob/63a853ea755edb68a3469bd6647f23530c746853/lib/appium_lib/common/helper.rb#L17)
|
|
857
857
|
|
|
858
858
|
> def ignore
|
|
859
859
|
|
|
@@ -861,7 +861,7 @@ Return yield and ignore any exceptions.
|
|
|
861
861
|
|
|
862
862
|
--
|
|
863
863
|
|
|
864
|
-
##### [back](https://github.com/appium/ruby_lib/blob/
|
|
864
|
+
##### [back](https://github.com/appium/ruby_lib/blob/63a853ea755edb68a3469bd6647f23530c746853/lib/appium_lib/common/helper.rb#L24)
|
|
865
865
|
|
|
866
866
|
> def back
|
|
867
867
|
|
|
@@ -873,7 +873,7 @@ __Returns:__
|
|
|
873
873
|
|
|
874
874
|
--
|
|
875
875
|
|
|
876
|
-
##### [session_id](https://github.com/appium/ruby_lib/blob/
|
|
876
|
+
##### [session_id](https://github.com/appium/ruby_lib/blob/63a853ea755edb68a3469bd6647f23530c746853/lib/appium_lib/common/helper.rb#L29)
|
|
877
877
|
|
|
878
878
|
> def session_id
|
|
879
879
|
|
|
@@ -881,7 +881,7 @@ For Sauce Labs reporting. Returns the current session id.
|
|
|
881
881
|
|
|
882
882
|
--
|
|
883
883
|
|
|
884
|
-
##### [xpath](https://github.com/appium/ruby_lib/blob/
|
|
884
|
+
##### [xpath](https://github.com/appium/ruby_lib/blob/63a853ea755edb68a3469bd6647f23530c746853/lib/appium_lib/common/helper.rb#L37)
|
|
885
885
|
|
|
886
886
|
> def xpath(xpath_str)
|
|
887
887
|
|
|
@@ -897,7 +897,7 @@ __Returns:__
|
|
|
897
897
|
|
|
898
898
|
--
|
|
899
899
|
|
|
900
|
-
##### [xpaths](https://github.com/appium/ruby_lib/blob/
|
|
900
|
+
##### [xpaths](https://github.com/appium/ruby_lib/blob/63a853ea755edb68a3469bd6647f23530c746853/lib/appium_lib/common/helper.rb#L45)
|
|
901
901
|
|
|
902
902
|
> def xpaths(xpath_str)
|
|
903
903
|
|
|
@@ -913,7 +913,7 @@ __Returns:__
|
|
|
913
913
|
|
|
914
914
|
--
|
|
915
915
|
|
|
916
|
-
##### [result](https://github.com/appium/ruby_lib/blob/
|
|
916
|
+
##### [result](https://github.com/appium/ruby_lib/blob/63a853ea755edb68a3469bd6647f23530c746853/lib/appium_lib/common/helper.rb#L56)
|
|
917
917
|
|
|
918
918
|
> def result
|
|
919
919
|
|
|
@@ -921,7 +921,7 @@ Returns the value of attribute result
|
|
|
921
921
|
|
|
922
922
|
--
|
|
923
923
|
|
|
924
|
-
##### [initialize](https://github.com/appium/ruby_lib/blob/
|
|
924
|
+
##### [initialize](https://github.com/appium/ruby_lib/blob/63a853ea755edb68a3469bd6647f23530c746853/lib/appium_lib/common/helper.rb#L58)
|
|
925
925
|
|
|
926
926
|
> def initialize
|
|
927
927
|
|
|
@@ -933,7 +933,7 @@ __Returns:__
|
|
|
933
933
|
|
|
934
934
|
--
|
|
935
935
|
|
|
936
|
-
##### [reset](https://github.com/appium/ruby_lib/blob/
|
|
936
|
+
##### [reset](https://github.com/appium/ruby_lib/blob/63a853ea755edb68a3469bd6647f23530c746853/lib/appium_lib/common/helper.rb#L62)
|
|
937
937
|
|
|
938
938
|
> def reset
|
|
939
939
|
|
|
@@ -941,7 +941,7 @@ __Returns:__
|
|
|
941
941
|
|
|
942
942
|
--
|
|
943
943
|
|
|
944
|
-
##### [start_element](https://github.com/appium/ruby_lib/blob/
|
|
944
|
+
##### [start_element](https://github.com/appium/ruby_lib/blob/63a853ea755edb68a3469bd6647f23530c746853/lib/appium_lib/common/helper.rb#L67)
|
|
945
945
|
|
|
946
946
|
> def start_element(name, attrs = [], driver = $driver)
|
|
947
947
|
|
|
@@ -949,7 +949,7 @@ http://nokogiri.org/Nokogiri/XML/SAX/Document.html
|
|
|
949
949
|
|
|
950
950
|
--
|
|
951
951
|
|
|
952
|
-
##### [formatted_result](https://github.com/appium/ruby_lib/blob/
|
|
952
|
+
##### [formatted_result](https://github.com/appium/ruby_lib/blob/63a853ea755edb68a3469bd6647f23530c746853/lib/appium_lib/common/helper.rb#L73)
|
|
953
953
|
|
|
954
954
|
> def formatted_result
|
|
955
955
|
|
|
@@ -957,7 +957,7 @@ http://nokogiri.org/Nokogiri/XML/SAX/Document.html
|
|
|
957
957
|
|
|
958
958
|
--
|
|
959
959
|
|
|
960
|
-
##### [get_page_class](https://github.com/appium/ruby_lib/blob/
|
|
960
|
+
##### [get_page_class](https://github.com/appium/ruby_lib/blob/63a853ea755edb68a3469bd6647f23530c746853/lib/appium_lib/common/helper.rb#L84)
|
|
961
961
|
|
|
962
962
|
> def get_page_class
|
|
963
963
|
|
|
@@ -965,7 +965,7 @@ Returns a string of class counts of visible elements.
|
|
|
965
965
|
|
|
966
966
|
--
|
|
967
967
|
|
|
968
|
-
##### [page_class](https://github.com/appium/ruby_lib/blob/
|
|
968
|
+
##### [page_class](https://github.com/appium/ruby_lib/blob/63a853ea755edb68a3469bd6647f23530c746853/lib/appium_lib/common/helper.rb#L95)
|
|
969
969
|
|
|
970
970
|
> def page_class
|
|
971
971
|
|
|
@@ -974,7 +974,7 @@ Useful for appium_console.
|
|
|
974
974
|
|
|
975
975
|
--
|
|
976
976
|
|
|
977
|
-
##### [px_to_window_rel](https://github.com/appium/ruby_lib/blob/
|
|
977
|
+
##### [px_to_window_rel](https://github.com/appium/ruby_lib/blob/63a853ea755edb68a3469bd6647f23530c746853/lib/appium_lib/common/helper.rb#L105)
|
|
978
978
|
|
|
979
979
|
> def px_to_window_rel(opts = {}, driver = $driver)
|
|
980
980
|
|
|
@@ -986,7 +986,7 @@ px_to_window_rel x: 50, y: 150
|
|
|
986
986
|
|
|
987
987
|
--
|
|
988
988
|
|
|
989
|
-
##### [xml_keys](https://github.com/appium/ruby_lib/blob/
|
|
989
|
+
##### [xml_keys](https://github.com/appium/ruby_lib/blob/63a853ea755edb68a3469bd6647f23530c746853/lib/appium_lib/common/helper.rb#L124)
|
|
990
990
|
|
|
991
991
|
> def xml_keys(target)
|
|
992
992
|
|
|
@@ -1002,7 +1002,7 @@ __Returns:__
|
|
|
1002
1002
|
|
|
1003
1003
|
--
|
|
1004
1004
|
|
|
1005
|
-
##### [xml_values](https://github.com/appium/ruby_lib/blob/
|
|
1005
|
+
##### [xml_values](https://github.com/appium/ruby_lib/blob/63a853ea755edb68a3469bd6647f23530c746853/lib/appium_lib/common/helper.rb#L132)
|
|
1006
1006
|
|
|
1007
1007
|
> def xml_values(target)
|
|
1008
1008
|
|
|
@@ -1018,7 +1018,7 @@ __Returns:__
|
|
|
1018
1018
|
|
|
1019
1019
|
--
|
|
1020
1020
|
|
|
1021
|
-
##### [resolve_id](https://github.com/appium/ruby_lib/blob/
|
|
1021
|
+
##### [resolve_id](https://github.com/appium/ruby_lib/blob/63a853ea755edb68a3469bd6647f23530c746853/lib/appium_lib/common/helper.rb#L140)
|
|
1022
1022
|
|
|
1023
1023
|
> def resolve_id(id)
|
|
1024
1024
|
|
|
@@ -1034,7 +1034,7 @@ __Returns:__
|
|
|
1034
1034
|
|
|
1035
1035
|
--
|
|
1036
1036
|
|
|
1037
|
-
##### [filter](https://github.com/appium/ruby_lib/blob/
|
|
1037
|
+
##### [filter](https://github.com/appium/ruby_lib/blob/63a853ea755edb68a3469bd6647f23530c746853/lib/appium_lib/common/helper.rb#L146)
|
|
1038
1038
|
|
|
1039
1039
|
> def filter
|
|
1040
1040
|
|
|
@@ -1042,7 +1042,7 @@ Returns the value of attribute filter
|
|
|
1042
1042
|
|
|
1043
1043
|
--
|
|
1044
1044
|
|
|
1045
|
-
##### [filter=](https://github.com/appium/ruby_lib/blob/
|
|
1045
|
+
##### [filter=](https://github.com/appium/ruby_lib/blob/63a853ea755edb68a3469bd6647f23530c746853/lib/appium_lib/common/helper.rb#L149)
|
|
1046
1046
|
|
|
1047
1047
|
> def filter=(value)
|
|
1048
1048
|
|
|
@@ -1050,7 +1050,7 @@ convert to string to support symbols
|
|
|
1050
1050
|
|
|
1051
1051
|
--
|
|
1052
1052
|
|
|
1053
|
-
##### [initialize](https://github.com/appium/ruby_lib/blob/
|
|
1053
|
+
##### [initialize](https://github.com/appium/ruby_lib/blob/63a853ea755edb68a3469bd6647f23530c746853/lib/appium_lib/common/helper.rb#L155)
|
|
1054
1054
|
|
|
1055
1055
|
> def initialize
|
|
1056
1056
|
|
|
@@ -1062,7 +1062,7 @@ __Returns:__
|
|
|
1062
1062
|
|
|
1063
1063
|
--
|
|
1064
1064
|
|
|
1065
|
-
##### [reset](https://github.com/appium/ruby_lib/blob/
|
|
1065
|
+
##### [reset](https://github.com/appium/ruby_lib/blob/63a853ea755edb68a3469bd6647f23530c746853/lib/appium_lib/common/helper.rb#L160)
|
|
1066
1066
|
|
|
1067
1067
|
> def reset
|
|
1068
1068
|
|
|
@@ -1070,7 +1070,7 @@ __Returns:__
|
|
|
1070
1070
|
|
|
1071
1071
|
--
|
|
1072
1072
|
|
|
1073
|
-
##### [result](https://github.com/appium/ruby_lib/blob/
|
|
1073
|
+
##### [result](https://github.com/appium/ruby_lib/blob/63a853ea755edb68a3469bd6647f23530c746853/lib/appium_lib/common/helper.rb#L166)
|
|
1074
1074
|
|
|
1075
1075
|
> def result
|
|
1076
1076
|
|
|
@@ -1078,7 +1078,7 @@ __Returns:__
|
|
|
1078
1078
|
|
|
1079
1079
|
--
|
|
1080
1080
|
|
|
1081
|
-
##### [start_element](https://github.com/appium/ruby_lib/blob/
|
|
1081
|
+
##### [start_element](https://github.com/appium/ruby_lib/blob/63a853ea755edb68a3469bd6647f23530c746853/lib/appium_lib/common/helper.rb#L182)
|
|
1082
1082
|
|
|
1083
1083
|
> def start_element(name, attrs = [])
|
|
1084
1084
|
|
|
@@ -1086,7 +1086,7 @@ __Returns:__
|
|
|
1086
1086
|
|
|
1087
1087
|
--
|
|
1088
1088
|
|
|
1089
|
-
##### [end_element](https://github.com/appium/ruby_lib/blob/
|
|
1089
|
+
##### [end_element](https://github.com/appium/ruby_lib/blob/63a853ea755edb68a3469bd6647f23530c746853/lib/appium_lib/common/helper.rb#L191)
|
|
1090
1090
|
|
|
1091
1091
|
> def end_element(name)
|
|
1092
1092
|
|
|
@@ -1094,7 +1094,7 @@ __Returns:__
|
|
|
1094
1094
|
|
|
1095
1095
|
--
|
|
1096
1096
|
|
|
1097
|
-
##### [characters](https://github.com/appium/ruby_lib/blob/
|
|
1097
|
+
##### [characters](https://github.com/appium/ruby_lib/blob/63a853ea755edb68a3469bd6647f23530c746853/lib/appium_lib/common/helper.rb#L197)
|
|
1098
1098
|
|
|
1099
1099
|
> def characters(chars)
|
|
1100
1100
|
|
|
@@ -1102,7 +1102,15 @@ __Returns:__
|
|
|
1102
1102
|
|
|
1103
1103
|
--
|
|
1104
1104
|
|
|
1105
|
-
##### [
|
|
1105
|
+
##### [DEFAULT_HEADERS](https://github.com/appium/ruby_lib/blob/63a853ea755edb68a3469bd6647f23530c746853/lib/appium_lib/common/http_client.rb#L7)
|
|
1106
|
+
|
|
1107
|
+
> DEFAULT_HEADERS = { 'Accept' => CONTENT_TYPE, 'User-Agent' => "appium/ruby_lib/#{::Appium::VERSION}" }.freeze
|
|
1108
|
+
|
|
1109
|
+
|
|
1110
|
+
|
|
1111
|
+
--
|
|
1112
|
+
|
|
1113
|
+
##### [pinch](https://github.com/appium/ruby_lib/blob/63a853ea755edb68a3469bd6647f23530c746853/lib/appium_lib/common/multi_touch.rb#L53)
|
|
1106
1114
|
|
|
1107
1115
|
> def pinch(percentage = 25, auto_perform = true, driver = $driver)
|
|
1108
1116
|
|
|
@@ -1136,7 +1144,7 @@ __Parameters:__
|
|
|
1136
1144
|
|
|
1137
1145
|
--
|
|
1138
1146
|
|
|
1139
|
-
##### [zoom](https://github.com/appium/ruby_lib/blob/
|
|
1147
|
+
##### [zoom](https://github.com/appium/ruby_lib/blob/63a853ea755edb68a3469bd6647f23530c746853/lib/appium_lib/common/multi_touch.rb#L80)
|
|
1140
1148
|
|
|
1141
1149
|
> def zoom(percentage = 200, auto_perform = true, driver = $driver)
|
|
1142
1150
|
|
|
@@ -1170,7 +1178,7 @@ __Parameters:__
|
|
|
1170
1178
|
|
|
1171
1179
|
--
|
|
1172
1180
|
|
|
1173
|
-
##### [initialize](https://github.com/appium/ruby_lib/blob/
|
|
1181
|
+
##### [initialize](https://github.com/appium/ruby_lib/blob/63a853ea755edb68a3469bd6647f23530c746853/lib/appium_lib/common/multi_touch.rb#L85)
|
|
1174
1182
|
|
|
1175
1183
|
> def initialize(driver = $driver)
|
|
1176
1184
|
|
|
@@ -1182,7 +1190,7 @@ __Returns:__
|
|
|
1182
1190
|
|
|
1183
1191
|
--
|
|
1184
1192
|
|
|
1185
|
-
##### [COMPLEX_ACTIONS](https://github.com/appium/ruby_lib/blob/
|
|
1193
|
+
##### [COMPLEX_ACTIONS](https://github.com/appium/ruby_lib/blob/63a853ea755edb68a3469bd6647f23530c746853/lib/appium_lib/common/touch_actions.rb#L30)
|
|
1186
1194
|
|
|
1187
1195
|
> COMPLEX_ACTIONS = ::Appium::Core::TouchAction::COMPLEX_ACTIONS
|
|
1188
1196
|
|
|
@@ -1190,7 +1198,7 @@ __Returns:__
|
|
|
1190
1198
|
|
|
1191
1199
|
--
|
|
1192
1200
|
|
|
1193
|
-
##### [initialize](https://github.com/appium/ruby_lib/blob/
|
|
1201
|
+
##### [initialize](https://github.com/appium/ruby_lib/blob/63a853ea755edb68a3469bd6647f23530c746853/lib/appium_lib/common/touch_actions.rb#L44)
|
|
1194
1202
|
|
|
1195
1203
|
> def initialize(driver = $driver)
|
|
1196
1204
|
|
|
@@ -1202,7 +1210,7 @@ __Returns:__
|
|
|
1202
1210
|
|
|
1203
1211
|
--
|
|
1204
1212
|
|
|
1205
|
-
##### [for](https://github.com/appium/ruby_lib/blob/
|
|
1213
|
+
##### [for](https://github.com/appium/ruby_lib/blob/63a853ea755edb68a3469bd6647f23530c746853/lib/appium_lib/ios/ios.rb#L15) ios
|
|
1206
1214
|
|
|
1207
1215
|
> def self.for(target)
|
|
1208
1216
|
|
|
@@ -1210,7 +1218,7 @@ __Returns:__
|
|
|
1210
1218
|
|
|
1211
1219
|
--
|
|
1212
1220
|
|
|
1213
|
-
##### [UIAStaticText](https://github.com/appium/ruby_lib/blob/
|
|
1221
|
+
##### [UIAStaticText](https://github.com/appium/ruby_lib/blob/63a853ea755edb68a3469bd6647f23530c746853/lib/appium_lib/ios/element/text.rb#L4) ios
|
|
1214
1222
|
|
|
1215
1223
|
> UIAStaticText = 'UIAStaticText'.freeze
|
|
1216
1224
|
|
|
@@ -1218,7 +1226,7 @@ __Returns:__
|
|
|
1218
1226
|
|
|
1219
1227
|
--
|
|
1220
1228
|
|
|
1221
|
-
##### [XCUIElementTypeStaticText](https://github.com/appium/ruby_lib/blob/
|
|
1229
|
+
##### [XCUIElementTypeStaticText](https://github.com/appium/ruby_lib/blob/63a853ea755edb68a3469bd6647f23530c746853/lib/appium_lib/ios/element/text.rb#L5) ios
|
|
1222
1230
|
|
|
1223
1231
|
> XCUIElementTypeStaticText = 'XCUIElementTypeStaticText'.freeze
|
|
1224
1232
|
|
|
@@ -1226,7 +1234,7 @@ __Returns:__
|
|
|
1226
1234
|
|
|
1227
1235
|
--
|
|
1228
1236
|
|
|
1229
|
-
##### [static_text_class](https://github.com/appium/ruby_lib/blob/
|
|
1237
|
+
##### [static_text_class](https://github.com/appium/ruby_lib/blob/63a853ea755edb68a3469bd6647f23530c746853/lib/appium_lib/ios/element/text.rb#L8) ios
|
|
1230
1238
|
|
|
1231
1239
|
> def static_text_class
|
|
1232
1240
|
|
|
@@ -1238,7 +1246,7 @@ __Returns:__
|
|
|
1238
1246
|
|
|
1239
1247
|
--
|
|
1240
1248
|
|
|
1241
|
-
##### [text](https://github.com/appium/ruby_lib/blob/
|
|
1249
|
+
##### [text](https://github.com/appium/ruby_lib/blob/63a853ea755edb68a3469bd6647f23530c746853/lib/appium_lib/ios/element/text.rb#L16) ios
|
|
1242
1250
|
|
|
1243
1251
|
> def text(value)
|
|
1244
1252
|
|
|
@@ -1255,7 +1263,7 @@ __Returns:__
|
|
|
1255
1263
|
|
|
1256
1264
|
--
|
|
1257
1265
|
|
|
1258
|
-
##### [texts](https://github.com/appium/ruby_lib/blob/
|
|
1266
|
+
##### [texts](https://github.com/appium/ruby_lib/blob/63a853ea755edb68a3469bd6647f23530c746853/lib/appium_lib/ios/element/text.rb#L25) ios
|
|
1259
1267
|
|
|
1260
1268
|
> def texts(value = false)
|
|
1261
1269
|
|
|
@@ -1272,7 +1280,7 @@ __Returns:__
|
|
|
1272
1280
|
|
|
1273
1281
|
--
|
|
1274
1282
|
|
|
1275
|
-
##### [first_text](https://github.com/appium/ruby_lib/blob/
|
|
1283
|
+
##### [first_text](https://github.com/appium/ruby_lib/blob/63a853ea755edb68a3469bd6647f23530c746853/lib/appium_lib/ios/element/text.rb#L32) ios
|
|
1276
1284
|
|
|
1277
1285
|
> def first_text
|
|
1278
1286
|
|
|
@@ -1284,7 +1292,7 @@ __Returns:__
|
|
|
1284
1292
|
|
|
1285
1293
|
--
|
|
1286
1294
|
|
|
1287
|
-
##### [last_text](https://github.com/appium/ruby_lib/blob/
|
|
1295
|
+
##### [last_text](https://github.com/appium/ruby_lib/blob/63a853ea755edb68a3469bd6647f23530c746853/lib/appium_lib/ios/element/text.rb#L38) ios
|
|
1288
1296
|
|
|
1289
1297
|
> def last_text
|
|
1290
1298
|
|
|
@@ -1296,7 +1304,7 @@ __Returns:__
|
|
|
1296
1304
|
|
|
1297
1305
|
--
|
|
1298
1306
|
|
|
1299
|
-
##### [text_exact](https://github.com/appium/ruby_lib/blob/
|
|
1307
|
+
##### [text_exact](https://github.com/appium/ruby_lib/blob/63a853ea755edb68a3469bd6647f23530c746853/lib/appium_lib/ios/element/text.rb#L45) ios
|
|
1300
1308
|
|
|
1301
1309
|
> def text_exact(value)
|
|
1302
1310
|
|
|
@@ -1312,7 +1320,7 @@ __Returns:__
|
|
|
1312
1320
|
|
|
1313
1321
|
--
|
|
1314
1322
|
|
|
1315
|
-
##### [texts_exact](https://github.com/appium/ruby_lib/blob/
|
|
1323
|
+
##### [texts_exact](https://github.com/appium/ruby_lib/blob/63a853ea755edb68a3469bd6647f23530c746853/lib/appium_lib/ios/element/text.rb#L52) ios
|
|
1316
1324
|
|
|
1317
1325
|
> def texts_exact(value)
|
|
1318
1326
|
|
|
@@ -1328,7 +1336,7 @@ __Returns:__
|
|
|
1328
1336
|
|
|
1329
1337
|
--
|
|
1330
1338
|
|
|
1331
|
-
##### [filter](https://github.com/appium/ruby_lib/blob/
|
|
1339
|
+
##### [filter](https://github.com/appium/ruby_lib/blob/63a853ea755edb68a3469bd6647f23530c746853/lib/appium_lib/ios/common/helper.rb#L4) ios
|
|
1332
1340
|
|
|
1333
1341
|
> def filter
|
|
1334
1342
|
|
|
@@ -1336,7 +1344,7 @@ Returns the value of attribute filter
|
|
|
1336
1344
|
|
|
1337
1345
|
--
|
|
1338
1346
|
|
|
1339
|
-
##### [filter=](https://github.com/appium/ruby_lib/blob/
|
|
1347
|
+
##### [filter=](https://github.com/appium/ruby_lib/blob/63a853ea755edb68a3469bd6647f23530c746853/lib/appium_lib/ios/common/helper.rb#L4) ios
|
|
1340
1348
|
|
|
1341
1349
|
> def filter=(value)
|
|
1342
1350
|
|
|
@@ -1348,7 +1356,7 @@ __Parameters:__
|
|
|
1348
1356
|
|
|
1349
1357
|
--
|
|
1350
1358
|
|
|
1351
|
-
##### [start_element](https://github.com/appium/ruby_lib/blob/
|
|
1359
|
+
##### [start_element](https://github.com/appium/ruby_lib/blob/63a853ea755edb68a3469bd6647f23530c746853/lib/appium_lib/ios/common/helper.rb#L6) ios
|
|
1352
1360
|
|
|
1353
1361
|
> def start_element(type, attrs = [])
|
|
1354
1362
|
|
|
@@ -1356,7 +1364,7 @@ __Parameters:__
|
|
|
1356
1364
|
|
|
1357
1365
|
--
|
|
1358
1366
|
|
|
1359
|
-
##### [ios_password](https://github.com/appium/ruby_lib/blob/
|
|
1367
|
+
##### [ios_password](https://github.com/appium/ruby_lib/blob/63a853ea755edb68a3469bd6647f23530c746853/lib/appium_lib/ios/common/helper.rb#L43) ios
|
|
1360
1368
|
|
|
1361
1369
|
> def ios_password(length = 1)
|
|
1362
1370
|
|
|
@@ -1374,7 +1382,7 @@ __Returns:__
|
|
|
1374
1382
|
|
|
1375
1383
|
--
|
|
1376
1384
|
|
|
1377
|
-
##### [page](https://github.com/appium/ruby_lib/blob/
|
|
1385
|
+
##### [page](https://github.com/appium/ruby_lib/blob/63a853ea755edb68a3469bd6647f23530c746853/lib/appium_lib/ios/common/helper.rb#L59) ios
|
|
1378
1386
|
|
|
1379
1387
|
> def page(opts = {})
|
|
1380
1388
|
|
|
@@ -1392,7 +1400,7 @@ __Returns:__
|
|
|
1392
1400
|
|
|
1393
1401
|
--
|
|
1394
1402
|
|
|
1395
|
-
##### [source_window](https://github.com/appium/ruby_lib/blob/
|
|
1403
|
+
##### [source_window](https://github.com/appium/ruby_lib/blob/63a853ea755edb68a3469bd6647f23530c746853/lib/appium_lib/ios/common/helper.rb#L83) ios
|
|
1396
1404
|
|
|
1397
1405
|
> def source_window(_window_number = nil)
|
|
1398
1406
|
|
|
@@ -1404,7 +1412,7 @@ __Returns:__
|
|
|
1404
1412
|
|
|
1405
1413
|
--
|
|
1406
1414
|
|
|
1407
|
-
##### [id](https://github.com/appium/ruby_lib/blob/
|
|
1415
|
+
##### [id](https://github.com/appium/ruby_lib/blob/63a853ea755edb68a3469bd6647f23530c746853/lib/appium_lib/ios/common/helper.rb#L91) ios
|
|
1408
1416
|
|
|
1409
1417
|
> def id(id)
|
|
1410
1418
|
|
|
@@ -1420,7 +1428,7 @@ __Returns:__
|
|
|
1420
1428
|
|
|
1421
1429
|
--
|
|
1422
1430
|
|
|
1423
|
-
##### [ele_index](https://github.com/appium/ruby_lib/blob/
|
|
1431
|
+
##### [ele_index](https://github.com/appium/ruby_lib/blob/63a853ea755edb68a3469bd6647f23530c746853/lib/appium_lib/ios/common/helper.rb#L99) ios
|
|
1424
1432
|
|
|
1425
1433
|
> def ele_index(class_name, index)
|
|
1426
1434
|
|
|
@@ -1438,7 +1446,7 @@ __Returns:__
|
|
|
1438
1446
|
|
|
1439
1447
|
--
|
|
1440
1448
|
|
|
1441
|
-
##### [find_ele_by_attr](https://github.com/appium/ruby_lib/blob/
|
|
1449
|
+
##### [find_ele_by_attr](https://github.com/appium/ruby_lib/blob/63a853ea755edb68a3469bd6647f23530c746853/lib/appium_lib/ios/common/helper.rb#L127) ios
|
|
1442
1450
|
|
|
1443
1451
|
> def find_ele_by_attr(class_name, attr, value)
|
|
1444
1452
|
|
|
@@ -1460,7 +1468,7 @@ __Returns:__
|
|
|
1460
1468
|
|
|
1461
1469
|
--
|
|
1462
1470
|
|
|
1463
|
-
##### [find_eles_by_attr](https://github.com/appium/ruby_lib/blob/
|
|
1471
|
+
##### [find_eles_by_attr](https://github.com/appium/ruby_lib/blob/63a853ea755edb68a3469bd6647f23530c746853/lib/appium_lib/ios/common/helper.rb#L138) ios
|
|
1464
1472
|
|
|
1465
1473
|
> def find_eles_by_attr(class_name, attr, value)
|
|
1466
1474
|
|
|
@@ -1482,7 +1490,7 @@ __Returns:__
|
|
|
1482
1490
|
|
|
1483
1491
|
--
|
|
1484
1492
|
|
|
1485
|
-
##### [find_ele_by_predicate](https://github.com/appium/ruby_lib/blob/
|
|
1493
|
+
##### [find_ele_by_predicate](https://github.com/appium/ruby_lib/blob/63a853ea755edb68a3469bd6647f23530c746853/lib/appium_lib/ios/common/helper.rb#L151) ios
|
|
1486
1494
|
|
|
1487
1495
|
> def find_ele_by_predicate(class_name: '*', value:)
|
|
1488
1496
|
|
|
@@ -1499,7 +1507,7 @@ __Returns:__
|
|
|
1499
1507
|
|
|
1500
1508
|
--
|
|
1501
1509
|
|
|
1502
|
-
##### [find_eles_by_predicate](https://github.com/appium/ruby_lib/blob/
|
|
1510
|
+
##### [find_eles_by_predicate](https://github.com/appium/ruby_lib/blob/63a853ea755edb68a3469bd6647f23530c746853/lib/appium_lib/ios/common/helper.rb#L162) ios
|
|
1503
1511
|
|
|
1504
1512
|
> def find_eles_by_predicate(class_name: '*', value:)
|
|
1505
1513
|
|
|
@@ -1518,7 +1526,7 @@ __Returns:__
|
|
|
1518
1526
|
|
|
1519
1527
|
--
|
|
1520
1528
|
|
|
1521
|
-
##### [find_ele_by_attr_include](https://github.com/appium/ruby_lib/blob/
|
|
1529
|
+
##### [find_ele_by_attr_include](https://github.com/appium/ruby_lib/blob/63a853ea755edb68a3469bd6647f23530c746853/lib/appium_lib/ios/common/helper.rb#L178) ios
|
|
1522
1530
|
|
|
1523
1531
|
> def find_ele_by_attr_include(class_name, attr, value)
|
|
1524
1532
|
|
|
@@ -1539,7 +1547,7 @@ __Returns:__
|
|
|
1539
1547
|
|
|
1540
1548
|
--
|
|
1541
1549
|
|
|
1542
|
-
##### [find_eles_by_attr_include](https://github.com/appium/ruby_lib/blob/
|
|
1550
|
+
##### [find_eles_by_attr_include](https://github.com/appium/ruby_lib/blob/63a853ea755edb68a3469bd6647f23530c746853/lib/appium_lib/ios/common/helper.rb#L188) ios
|
|
1543
1551
|
|
|
1544
1552
|
> def find_eles_by_attr_include(class_name, attr, value)
|
|
1545
1553
|
|
|
@@ -1560,7 +1568,7 @@ __Returns:__
|
|
|
1560
1568
|
|
|
1561
1569
|
--
|
|
1562
1570
|
|
|
1563
|
-
##### [find_ele_by_predicate_include](https://github.com/appium/ruby_lib/blob/
|
|
1571
|
+
##### [find_ele_by_predicate_include](https://github.com/appium/ruby_lib/blob/63a853ea755edb68a3469bd6647f23530c746853/lib/appium_lib/ios/common/helper.rb#L196) ios
|
|
1564
1572
|
|
|
1565
1573
|
> def find_ele_by_predicate_include(class_name: '*', value:)
|
|
1566
1574
|
|
|
@@ -1577,7 +1585,7 @@ __Returns:__
|
|
|
1577
1585
|
|
|
1578
1586
|
--
|
|
1579
1587
|
|
|
1580
|
-
##### [find_eles_by_predicate_include](https://github.com/appium/ruby_lib/blob/
|
|
1588
|
+
##### [find_eles_by_predicate_include](https://github.com/appium/ruby_lib/blob/63a853ea755edb68a3469bd6647f23530c746853/lib/appium_lib/ios/common/helper.rb#L207) ios
|
|
1581
1589
|
|
|
1582
1590
|
> def find_eles_by_predicate_include(class_name: '*', value:)
|
|
1583
1591
|
|
|
@@ -1596,7 +1604,7 @@ __Returns:__
|
|
|
1596
1604
|
|
|
1597
1605
|
--
|
|
1598
1606
|
|
|
1599
|
-
##### [first_ele](https://github.com/appium/ruby_lib/blob/
|
|
1607
|
+
##### [first_ele](https://github.com/appium/ruby_lib/blob/63a853ea755edb68a3469bd6647f23530c746853/lib/appium_lib/ios/common/helper.rb#L220) ios
|
|
1600
1608
|
|
|
1601
1609
|
> def first_ele(class_name)
|
|
1602
1610
|
|
|
@@ -1612,7 +1620,7 @@ __Returns:__
|
|
|
1612
1620
|
|
|
1613
1621
|
--
|
|
1614
1622
|
|
|
1615
|
-
##### [last_ele](https://github.com/appium/ruby_lib/blob/
|
|
1623
|
+
##### [last_ele](https://github.com/appium/ruby_lib/blob/63a853ea755edb68a3469bd6647f23530c746853/lib/appium_lib/ios/common/helper.rb#L227) ios
|
|
1616
1624
|
|
|
1617
1625
|
> def last_ele(class_name)
|
|
1618
1626
|
|
|
@@ -1628,7 +1636,7 @@ __Returns:__
|
|
|
1628
1636
|
|
|
1629
1637
|
--
|
|
1630
1638
|
|
|
1631
|
-
##### [tag](https://github.com/appium/ruby_lib/blob/
|
|
1639
|
+
##### [tag](https://github.com/appium/ruby_lib/blob/63a853ea755edb68a3469bd6647f23530c746853/lib/appium_lib/ios/common/helper.rb#L235) ios
|
|
1632
1640
|
|
|
1633
1641
|
> def tag(class_name)
|
|
1634
1642
|
|
|
@@ -1644,7 +1652,7 @@ __Returns:__
|
|
|
1644
1652
|
|
|
1645
1653
|
--
|
|
1646
1654
|
|
|
1647
|
-
##### [tags](https://github.com/appium/ruby_lib/blob/
|
|
1655
|
+
##### [tags](https://github.com/appium/ruby_lib/blob/63a853ea755edb68a3469bd6647f23530c746853/lib/appium_lib/ios/common/helper.rb#L243) ios
|
|
1648
1656
|
|
|
1649
1657
|
> def tags(class_name)
|
|
1650
1658
|
|
|
@@ -1660,7 +1668,7 @@ __Returns:__
|
|
|
1660
1668
|
|
|
1661
1669
|
--
|
|
1662
1670
|
|
|
1663
|
-
##### [tags_include](https://github.com/appium/ruby_lib/blob/
|
|
1671
|
+
##### [tags_include](https://github.com/appium/ruby_lib/blob/63a853ea755edb68a3469bd6647f23530c746853/lib/appium_lib/ios/common/helper.rb#L254) ios
|
|
1664
1672
|
|
|
1665
1673
|
> def tags_include(class_names:, value: nil)
|
|
1666
1674
|
|
|
@@ -1680,7 +1688,7 @@ __Returns:__
|
|
|
1680
1688
|
|
|
1681
1689
|
--
|
|
1682
1690
|
|
|
1683
|
-
##### [tags_exact](https://github.com/appium/ruby_lib/blob/
|
|
1691
|
+
##### [tags_exact](https://github.com/appium/ruby_lib/blob/63a853ea755edb68a3469bd6647f23530c746853/lib/appium_lib/ios/common/helper.rb#L269) ios
|
|
1684
1692
|
|
|
1685
1693
|
> def tags_exact(class_names:, value: nil)
|
|
1686
1694
|
|
|
@@ -1700,7 +1708,7 @@ __Returns:__
|
|
|
1700
1708
|
|
|
1701
1709
|
--
|
|
1702
1710
|
|
|
1703
|
-
##### [ele_by_json_visible_contains](https://github.com/appium/ruby_lib/blob/
|
|
1711
|
+
##### [ele_by_json_visible_contains](https://github.com/appium/ruby_lib/blob/63a853ea755edb68a3469bd6647f23530c746853/lib/appium_lib/ios/common/helper.rb#L306) ios
|
|
1704
1712
|
|
|
1705
1713
|
> def ele_by_json_visible_contains(element, value)
|
|
1706
1714
|
|
|
@@ -1719,7 +1727,7 @@ __Returns:__
|
|
|
1719
1727
|
|
|
1720
1728
|
--
|
|
1721
1729
|
|
|
1722
|
-
##### [eles_by_json_visible_contains](https://github.com/appium/ruby_lib/blob/
|
|
1730
|
+
##### [eles_by_json_visible_contains](https://github.com/appium/ruby_lib/blob/63a853ea755edb68a3469bd6647f23530c746853/lib/appium_lib/ios/common/helper.rb#L315) ios
|
|
1723
1731
|
|
|
1724
1732
|
> def eles_by_json_visible_contains(element, value)
|
|
1725
1733
|
|
|
@@ -1738,7 +1746,7 @@ __Returns:__
|
|
|
1738
1746
|
|
|
1739
1747
|
--
|
|
1740
1748
|
|
|
1741
|
-
##### [ele_by_json_visible_exact](https://github.com/appium/ruby_lib/blob/
|
|
1749
|
+
##### [ele_by_json_visible_exact](https://github.com/appium/ruby_lib/blob/63a853ea755edb68a3469bd6647f23530c746853/lib/appium_lib/ios/common/helper.rb#L345) ios
|
|
1742
1750
|
|
|
1743
1751
|
> def ele_by_json_visible_exact(element, value)
|
|
1744
1752
|
|
|
@@ -1757,7 +1765,7 @@ __Returns:__
|
|
|
1757
1765
|
|
|
1758
1766
|
--
|
|
1759
1767
|
|
|
1760
|
-
##### [eles_by_json_visible_exact](https://github.com/appium/ruby_lib/blob/
|
|
1768
|
+
##### [eles_by_json_visible_exact](https://github.com/appium/ruby_lib/blob/63a853ea755edb68a3469bd6647f23530c746853/lib/appium_lib/ios/common/helper.rb#L354) ios
|
|
1761
1769
|
|
|
1762
1770
|
> def eles_by_json_visible_exact(element, value)
|
|
1763
1771
|
|
|
@@ -1776,7 +1784,7 @@ __Returns:__
|
|
|
1776
1784
|
|
|
1777
1785
|
--
|
|
1778
1786
|
|
|
1779
|
-
##### [_all_pred](https://github.com/appium/ruby_lib/blob/
|
|
1787
|
+
##### [_all_pred](https://github.com/appium/ruby_lib/blob/63a853ea755edb68a3469bd6647f23530c746853/lib/appium_lib/ios/common/helper.rb#L363) ios
|
|
1780
1788
|
|
|
1781
1789
|
> def _all_pred(opts)
|
|
1782
1790
|
|
|
@@ -1786,7 +1794,7 @@ visible - if true, only visible elements are returned. default true
|
|
|
1786
1794
|
|
|
1787
1795
|
--
|
|
1788
1796
|
|
|
1789
|
-
##### [ele_with_pred](https://github.com/appium/ruby_lib/blob/
|
|
1797
|
+
##### [ele_with_pred](https://github.com/appium/ruby_lib/blob/63a853ea755edb68a3469bd6647f23530c746853/lib/appium_lib/ios/common/helper.rb#L376) ios
|
|
1790
1798
|
|
|
1791
1799
|
> def ele_with_pred(opts)
|
|
1792
1800
|
|
|
@@ -1802,7 +1810,7 @@ __Returns:__
|
|
|
1802
1810
|
|
|
1803
1811
|
--
|
|
1804
1812
|
|
|
1805
|
-
##### [eles_with_pred](https://github.com/appium/ruby_lib/blob/
|
|
1813
|
+
##### [eles_with_pred](https://github.com/appium/ruby_lib/blob/63a853ea755edb68a3469bd6647f23530c746853/lib/appium_lib/ios/common/helper.rb#L387) ios
|
|
1806
1814
|
|
|
1807
1815
|
> def eles_with_pred(opts)
|
|
1808
1816
|
|
|
@@ -1818,7 +1826,7 @@ __Returns:__
|
|
|
1818
1826
|
|
|
1819
1827
|
--
|
|
1820
1828
|
|
|
1821
|
-
##### [source](https://github.com/appium/ruby_lib/blob/
|
|
1829
|
+
##### [source](https://github.com/appium/ruby_lib/blob/63a853ea755edb68a3469bd6647f23530c746853/lib/appium_lib/ios/common/helper.rb#L393) ios
|
|
1822
1830
|
|
|
1823
1831
|
> def source
|
|
1824
1832
|
|
|
@@ -1830,7 +1838,7 @@ __Returns:__
|
|
|
1830
1838
|
|
|
1831
1839
|
--
|
|
1832
1840
|
|
|
1833
|
-
##### [_validate_object](https://github.com/appium/ruby_lib/blob/
|
|
1841
|
+
##### [_validate_object](https://github.com/appium/ruby_lib/blob/63a853ea755edb68a3469bd6647f23530c746853/lib/appium_lib/ios/common/helper.rb#L397) ios
|
|
1834
1842
|
|
|
1835
1843
|
> def _validate_object(*objects)
|
|
1836
1844
|
|
|
@@ -1838,7 +1846,7 @@ __Returns:__
|
|
|
1838
1846
|
|
|
1839
1847
|
--
|
|
1840
1848
|
|
|
1841
|
-
##### [_by_json](https://github.com/appium/ruby_lib/blob/
|
|
1849
|
+
##### [_by_json](https://github.com/appium/ruby_lib/blob/63a853ea755edb68a3469bd6647f23530c746853/lib/appium_lib/ios/common/helper.rb#L446) ios
|
|
1842
1850
|
|
|
1843
1851
|
> def _by_json(opts)
|
|
1844
1852
|
|
|
@@ -1873,7 +1881,7 @@ opts = {
|
|
|
1873
1881
|
|
|
1874
1882
|
--
|
|
1875
1883
|
|
|
1876
|
-
##### [eles_by_json](https://github.com/appium/ruby_lib/blob/
|
|
1884
|
+
##### [eles_by_json](https://github.com/appium/ruby_lib/blob/63a853ea755edb68a3469bd6647f23530c746853/lib/appium_lib/ios/common/helper.rb#L496) ios
|
|
1877
1885
|
|
|
1878
1886
|
> def eles_by_json(opts)
|
|
1879
1887
|
|
|
@@ -1892,7 +1900,7 @@ eles_by_json({
|
|
|
1892
1900
|
|
|
1893
1901
|
--
|
|
1894
1902
|
|
|
1895
|
-
##### [ele_by_json](https://github.com/appium/ruby_lib/blob/
|
|
1903
|
+
##### [ele_by_json](https://github.com/appium/ruby_lib/blob/63a853ea755edb68a3469bd6647f23530c746853/lib/appium_lib/ios/common/helper.rb#L502) ios
|
|
1896
1904
|
|
|
1897
1905
|
> def ele_by_json(opts)
|
|
1898
1906
|
|
|
@@ -1900,7 +1908,7 @@ see eles_by_json
|
|
|
1900
1908
|
|
|
1901
1909
|
--
|
|
1902
1910
|
|
|
1903
|
-
##### [get_source](https://github.com/appium/ruby_lib/blob/
|
|
1911
|
+
##### [get_source](https://github.com/appium/ruby_lib/blob/63a853ea755edb68a3469bd6647f23530c746853/lib/appium_lib/ios/common/helper.rb#L512) ios
|
|
1904
1912
|
|
|
1905
1913
|
> def get_source
|
|
1906
1914
|
|
|
@@ -1913,7 +1921,7 @@ __Returns:__
|
|
|
1913
1921
|
|
|
1914
1922
|
--
|
|
1915
1923
|
|
|
1916
|
-
##### [alert_accept](https://github.com/appium/ruby_lib/blob/
|
|
1924
|
+
##### [alert_accept](https://github.com/appium/ruby_lib/blob/63a853ea755edb68a3469bd6647f23530c746853/lib/appium_lib/ios/element/alert.rb#L5) ios
|
|
1917
1925
|
|
|
1918
1926
|
> def alert_accept
|
|
1919
1927
|
|
|
@@ -1925,7 +1933,7 @@ __Returns:__
|
|
|
1925
1933
|
|
|
1926
1934
|
--
|
|
1927
1935
|
|
|
1928
|
-
##### [alert_dismiss](https://github.com/appium/ruby_lib/blob/
|
|
1936
|
+
##### [alert_dismiss](https://github.com/appium/ruby_lib/blob/63a853ea755edb68a3469bd6647f23530c746853/lib/appium_lib/ios/element/alert.rb#L13) ios
|
|
1929
1937
|
|
|
1930
1938
|
> def alert_dismiss
|
|
1931
1939
|
|
|
@@ -1937,7 +1945,7 @@ __Returns:__
|
|
|
1937
1945
|
|
|
1938
1946
|
--
|
|
1939
1947
|
|
|
1940
|
-
##### [UIAButton](https://github.com/appium/ruby_lib/blob/
|
|
1948
|
+
##### [UIAButton](https://github.com/appium/ruby_lib/blob/63a853ea755edb68a3469bd6647f23530c746853/lib/appium_lib/ios/element/button.rb#L4) ios
|
|
1941
1949
|
|
|
1942
1950
|
> UIAButton = 'UIAButton'.freeze
|
|
1943
1951
|
|
|
@@ -1945,7 +1953,7 @@ __Returns:__
|
|
|
1945
1953
|
|
|
1946
1954
|
--
|
|
1947
1955
|
|
|
1948
|
-
##### [XCUIElementTypeButton](https://github.com/appium/ruby_lib/blob/
|
|
1956
|
+
##### [XCUIElementTypeButton](https://github.com/appium/ruby_lib/blob/63a853ea755edb68a3469bd6647f23530c746853/lib/appium_lib/ios/element/button.rb#L5) ios
|
|
1949
1957
|
|
|
1950
1958
|
> XCUIElementTypeButton = 'XCUIElementTypeButton'.freeze
|
|
1951
1959
|
|
|
@@ -1953,7 +1961,7 @@ __Returns:__
|
|
|
1953
1961
|
|
|
1954
1962
|
--
|
|
1955
1963
|
|
|
1956
|
-
##### [button_class](https://github.com/appium/ruby_lib/blob/
|
|
1964
|
+
##### [button_class](https://github.com/appium/ruby_lib/blob/63a853ea755edb68a3469bd6647f23530c746853/lib/appium_lib/ios/element/button.rb#L8) ios
|
|
1957
1965
|
|
|
1958
1966
|
> def button_class
|
|
1959
1967
|
|
|
@@ -1965,7 +1973,7 @@ __Returns:__
|
|
|
1965
1973
|
|
|
1966
1974
|
--
|
|
1967
1975
|
|
|
1968
|
-
##### [button](https://github.com/appium/ruby_lib/blob/
|
|
1976
|
+
##### [button](https://github.com/appium/ruby_lib/blob/63a853ea755edb68a3469bd6647f23530c746853/lib/appium_lib/ios/element/button.rb#L16) ios
|
|
1969
1977
|
|
|
1970
1978
|
> def button(value)
|
|
1971
1979
|
|
|
@@ -1982,7 +1990,7 @@ __Returns:__
|
|
|
1982
1990
|
|
|
1983
1991
|
--
|
|
1984
1992
|
|
|
1985
|
-
##### [buttons](https://github.com/appium/ruby_lib/blob/
|
|
1993
|
+
##### [buttons](https://github.com/appium/ruby_lib/blob/63a853ea755edb68a3469bd6647f23530c746853/lib/appium_lib/ios/element/button.rb#L26) ios
|
|
1986
1994
|
|
|
1987
1995
|
> def buttons(value = false)
|
|
1988
1996
|
|
|
@@ -1999,7 +2007,7 @@ __Returns:__
|
|
|
1999
2007
|
|
|
2000
2008
|
--
|
|
2001
2009
|
|
|
2002
|
-
##### [first_button](https://github.com/appium/ruby_lib/blob/
|
|
2010
|
+
##### [first_button](https://github.com/appium/ruby_lib/blob/63a853ea755edb68a3469bd6647f23530c746853/lib/appium_lib/ios/element/button.rb#L33) ios
|
|
2003
2011
|
|
|
2004
2012
|
> def first_button
|
|
2005
2013
|
|
|
@@ -2011,7 +2019,7 @@ __Returns:__
|
|
|
2011
2019
|
|
|
2012
2020
|
--
|
|
2013
2021
|
|
|
2014
|
-
##### [last_button](https://github.com/appium/ruby_lib/blob/
|
|
2022
|
+
##### [last_button](https://github.com/appium/ruby_lib/blob/63a853ea755edb68a3469bd6647f23530c746853/lib/appium_lib/ios/element/button.rb#L41) ios
|
|
2015
2023
|
|
|
2016
2024
|
> def last_button
|
|
2017
2025
|
|
|
@@ -2025,7 +2033,7 @@ __Returns:__
|
|
|
2025
2033
|
|
|
2026
2034
|
--
|
|
2027
2035
|
|
|
2028
|
-
##### [button_exact](https://github.com/appium/ruby_lib/blob/
|
|
2036
|
+
##### [button_exact](https://github.com/appium/ruby_lib/blob/63a853ea755edb68a3469bd6647f23530c746853/lib/appium_lib/ios/element/button.rb#L48) ios
|
|
2029
2037
|
|
|
2030
2038
|
> def button_exact(value)
|
|
2031
2039
|
|
|
@@ -2041,7 +2049,7 @@ __Returns:__
|
|
|
2041
2049
|
|
|
2042
2050
|
--
|
|
2043
2051
|
|
|
2044
|
-
##### [buttons_exact](https://github.com/appium/ruby_lib/blob/
|
|
2052
|
+
##### [buttons_exact](https://github.com/appium/ruby_lib/blob/63a853ea755edb68a3469bd6647f23530c746853/lib/appium_lib/ios/element/button.rb#L55) ios
|
|
2045
2053
|
|
|
2046
2054
|
> def buttons_exact(value)
|
|
2047
2055
|
|
|
@@ -2057,7 +2065,7 @@ __Returns:__
|
|
|
2057
2065
|
|
|
2058
2066
|
--
|
|
2059
2067
|
|
|
2060
|
-
##### [find](https://github.com/appium/ruby_lib/blob/
|
|
2068
|
+
##### [find](https://github.com/appium/ruby_lib/blob/63a853ea755edb68a3469bd6647f23530c746853/lib/appium_lib/ios/element/generic.rb#L6) ios
|
|
2061
2069
|
|
|
2062
2070
|
> def find(value)
|
|
2063
2071
|
|
|
@@ -2073,7 +2081,7 @@ __Returns:__
|
|
|
2073
2081
|
|
|
2074
2082
|
--
|
|
2075
2083
|
|
|
2076
|
-
##### [finds](https://github.com/appium/ruby_lib/blob/
|
|
2084
|
+
##### [finds](https://github.com/appium/ruby_lib/blob/63a853ea755edb68a3469bd6647f23530c746853/lib/appium_lib/ios/element/generic.rb#L13) ios
|
|
2077
2085
|
|
|
2078
2086
|
> def finds(value)
|
|
2079
2087
|
|
|
@@ -2089,7 +2097,7 @@ __Returns:__
|
|
|
2089
2097
|
|
|
2090
2098
|
--
|
|
2091
2099
|
|
|
2092
|
-
##### [find_exact](https://github.com/appium/ruby_lib/blob/
|
|
2100
|
+
##### [find_exact](https://github.com/appium/ruby_lib/blob/63a853ea755edb68a3469bd6647f23530c746853/lib/appium_lib/ios/element/generic.rb#L20) ios
|
|
2093
2101
|
|
|
2094
2102
|
> def find_exact(value)
|
|
2095
2103
|
|
|
@@ -2105,7 +2113,7 @@ __Returns:__
|
|
|
2105
2113
|
|
|
2106
2114
|
--
|
|
2107
2115
|
|
|
2108
|
-
##### [finds_exact](https://github.com/appium/ruby_lib/blob/
|
|
2116
|
+
##### [finds_exact](https://github.com/appium/ruby_lib/blob/63a853ea755edb68a3469bd6647f23530c746853/lib/appium_lib/ios/element/generic.rb#L27) ios
|
|
2109
2117
|
|
|
2110
2118
|
> def finds_exact(value)
|
|
2111
2119
|
|
|
@@ -2121,7 +2129,7 @@ __Returns:__
|
|
|
2121
2129
|
|
|
2122
2130
|
--
|
|
2123
2131
|
|
|
2124
|
-
##### [raise_error_if_no_element](https://github.com/appium/ruby_lib/blob/
|
|
2132
|
+
##### [raise_error_if_no_element](https://github.com/appium/ruby_lib/blob/63a853ea755edb68a3469bd6647f23530c746853/lib/appium_lib/ios/element/generic.rb#L33) ios
|
|
2125
2133
|
|
|
2126
2134
|
> def raise_error_if_no_element(element)
|
|
2127
2135
|
|
|
@@ -2129,7 +2137,7 @@ __Returns:__
|
|
|
2129
2137
|
|
|
2130
2138
|
--
|
|
2131
2139
|
|
|
2132
|
-
##### [select_visible_elements](https://github.com/appium/ruby_lib/blob/
|
|
2140
|
+
##### [select_visible_elements](https://github.com/appium/ruby_lib/blob/63a853ea755edb68a3469bd6647f23530c746853/lib/appium_lib/ios/element/generic.rb#L40) ios
|
|
2133
2141
|
|
|
2134
2142
|
> def select_visible_elements(elements)
|
|
2135
2143
|
|
|
@@ -2137,7 +2145,7 @@ Return visible elements.
|
|
|
2137
2145
|
|
|
2138
2146
|
--
|
|
2139
2147
|
|
|
2140
|
-
##### [for](https://github.com/appium/ruby_lib/blob/
|
|
2148
|
+
##### [for](https://github.com/appium/ruby_lib/blob/63a853ea755edb68a3469bd6647f23530c746853/lib/appium_lib/ios/xcuitest/bridge.rb#L7) ios
|
|
2141
2149
|
|
|
2142
2150
|
> def self.for(target)
|
|
2143
2151
|
|
|
@@ -2145,7 +2153,7 @@ Return visible elements.
|
|
|
2145
2153
|
|
|
2146
2154
|
--
|
|
2147
2155
|
|
|
2148
|
-
##### [last_ele](https://github.com/appium/ruby_lib/blob/
|
|
2156
|
+
##### [last_ele](https://github.com/appium/ruby_lib/blob/63a853ea755edb68a3469bd6647f23530c746853/lib/appium_lib/ios/xcuitest/helper.rb#L26) ios
|
|
2149
2157
|
|
|
2150
2158
|
> def last_ele(class_name)
|
|
2151
2159
|
|
|
@@ -2161,7 +2169,7 @@ __Returns:__
|
|
|
2161
2169
|
|
|
2162
2170
|
--
|
|
2163
2171
|
|
|
2164
|
-
##### [tag](https://github.com/appium/ruby_lib/blob/
|
|
2172
|
+
##### [tag](https://github.com/appium/ruby_lib/blob/63a853ea755edb68a3469bd6647f23530c746853/lib/appium_lib/ios/xcuitest/helper.rb#L36) ios
|
|
2165
2173
|
|
|
2166
2174
|
> def tag(class_name)
|
|
2167
2175
|
|
|
@@ -2177,7 +2185,7 @@ __Returns:__
|
|
|
2177
2185
|
|
|
2178
2186
|
--
|
|
2179
2187
|
|
|
2180
|
-
##### [tags](https://github.com/appium/ruby_lib/blob/
|
|
2188
|
+
##### [tags](https://github.com/appium/ruby_lib/blob/63a853ea755edb68a3469bd6647f23530c746853/lib/appium_lib/ios/xcuitest/helper.rb#L44) ios
|
|
2181
2189
|
|
|
2182
2190
|
> def tags(class_name)
|
|
2183
2191
|
|
|
@@ -2193,7 +2201,7 @@ __Returns:__
|
|
|
2193
2201
|
|
|
2194
2202
|
--
|
|
2195
2203
|
|
|
2196
|
-
##### [tags_include](https://github.com/appium/ruby_lib/blob/
|
|
2204
|
+
##### [tags_include](https://github.com/appium/ruby_lib/blob/63a853ea755edb68a3469bd6647f23530c746853/lib/appium_lib/ios/xcuitest/helper.rb#L56) ios
|
|
2197
2205
|
|
|
2198
2206
|
> def tags_include(class_names:, value: nil)
|
|
2199
2207
|
|
|
@@ -2213,7 +2221,7 @@ __Returns:__
|
|
|
2213
2221
|
|
|
2214
2222
|
--
|
|
2215
2223
|
|
|
2216
|
-
##### [tags_exact](https://github.com/appium/ruby_lib/blob/
|
|
2224
|
+
##### [tags_exact](https://github.com/appium/ruby_lib/blob/63a853ea755edb68a3469bd6647f23530c746853/lib/appium_lib/ios/xcuitest/helper.rb#L79) ios
|
|
2217
2225
|
|
|
2218
2226
|
> def tags_exact(class_names:, value: nil)
|
|
2219
2227
|
|
|
@@ -2233,7 +2241,7 @@ __Returns:__
|
|
|
2233
2241
|
|
|
2234
2242
|
--
|
|
2235
2243
|
|
|
2236
|
-
##### [UIATextField](https://github.com/appium/ruby_lib/blob/
|
|
2244
|
+
##### [UIATextField](https://github.com/appium/ruby_lib/blob/63a853ea755edb68a3469bd6647f23530c746853/lib/appium_lib/ios/element/textfield.rb#L3) ios
|
|
2237
2245
|
|
|
2238
2246
|
> UIATextField = 'UIATextField'.freeze
|
|
2239
2247
|
|
|
@@ -2241,7 +2249,7 @@ __Returns:__
|
|
|
2241
2249
|
|
|
2242
2250
|
--
|
|
2243
2251
|
|
|
2244
|
-
##### [UIASecureTextField](https://github.com/appium/ruby_lib/blob/
|
|
2252
|
+
##### [UIASecureTextField](https://github.com/appium/ruby_lib/blob/63a853ea755edb68a3469bd6647f23530c746853/lib/appium_lib/ios/element/textfield.rb#L4) ios
|
|
2245
2253
|
|
|
2246
2254
|
> UIASecureTextField = 'UIASecureTextField'.freeze
|
|
2247
2255
|
|
|
@@ -2249,7 +2257,7 @@ __Returns:__
|
|
|
2249
2257
|
|
|
2250
2258
|
--
|
|
2251
2259
|
|
|
2252
|
-
##### [XCUIElementTypeTextField](https://github.com/appium/ruby_lib/blob/
|
|
2260
|
+
##### [XCUIElementTypeTextField](https://github.com/appium/ruby_lib/blob/63a853ea755edb68a3469bd6647f23530c746853/lib/appium_lib/ios/element/textfield.rb#L6) ios
|
|
2253
2261
|
|
|
2254
2262
|
> XCUIElementTypeTextField = 'XCUIElementTypeTextField'.freeze
|
|
2255
2263
|
|
|
@@ -2257,7 +2265,7 @@ __Returns:__
|
|
|
2257
2265
|
|
|
2258
2266
|
--
|
|
2259
2267
|
|
|
2260
|
-
##### [XCUIElementTypeSecureTextField](https://github.com/appium/ruby_lib/blob/
|
|
2268
|
+
##### [XCUIElementTypeSecureTextField](https://github.com/appium/ruby_lib/blob/63a853ea755edb68a3469bd6647f23530c746853/lib/appium_lib/ios/element/textfield.rb#L7) ios
|
|
2261
2269
|
|
|
2262
2270
|
> XCUIElementTypeSecureTextField = 'XCUIElementTypeSecureTextField'.freeze
|
|
2263
2271
|
|
|
@@ -2265,7 +2273,7 @@ __Returns:__
|
|
|
2265
2273
|
|
|
2266
2274
|
--
|
|
2267
2275
|
|
|
2268
|
-
##### [text_field_class](https://github.com/appium/ruby_lib/blob/
|
|
2276
|
+
##### [text_field_class](https://github.com/appium/ruby_lib/blob/63a853ea755edb68a3469bd6647f23530c746853/lib/appium_lib/ios/element/textfield.rb#L10) ios
|
|
2269
2277
|
|
|
2270
2278
|
> def text_field_class
|
|
2271
2279
|
|
|
@@ -2277,7 +2285,7 @@ __Returns:__
|
|
|
2277
2285
|
|
|
2278
2286
|
--
|
|
2279
2287
|
|
|
2280
|
-
##### [secure_text_field_class](https://github.com/appium/ruby_lib/blob/
|
|
2288
|
+
##### [secure_text_field_class](https://github.com/appium/ruby_lib/blob/63a853ea755edb68a3469bd6647f23530c746853/lib/appium_lib/ios/element/textfield.rb#L15) ios
|
|
2281
2289
|
|
|
2282
2290
|
> def secure_text_field_class
|
|
2283
2291
|
|
|
@@ -2289,7 +2297,7 @@ __Returns:__
|
|
|
2289
2297
|
|
|
2290
2298
|
--
|
|
2291
2299
|
|
|
2292
|
-
##### [textfield](https://github.com/appium/ruby_lib/blob/
|
|
2300
|
+
##### [textfield](https://github.com/appium/ruby_lib/blob/63a853ea755edb68a3469bd6647f23530c746853/lib/appium_lib/ios/element/textfield.rb#L24) ios
|
|
2293
2301
|
|
|
2294
2302
|
> def textfield(value)
|
|
2295
2303
|
|
|
@@ -2307,7 +2315,7 @@ __Returns:__
|
|
|
2307
2315
|
|
|
2308
2316
|
--
|
|
2309
2317
|
|
|
2310
|
-
##### [textfields](https://github.com/appium/ruby_lib/blob/
|
|
2318
|
+
##### [textfields](https://github.com/appium/ruby_lib/blob/63a853ea755edb68a3469bd6647f23530c746853/lib/appium_lib/ios/element/textfield.rb#L42) ios
|
|
2311
2319
|
|
|
2312
2320
|
> def textfields(value = false)
|
|
2313
2321
|
|
|
@@ -2324,7 +2332,7 @@ __Returns:__
|
|
|
2324
2332
|
|
|
2325
2333
|
--
|
|
2326
2334
|
|
|
2327
|
-
##### [first_textfield](https://github.com/appium/ruby_lib/blob/
|
|
2335
|
+
##### [first_textfield](https://github.com/appium/ruby_lib/blob/63a853ea755edb68a3469bd6647f23530c746853/lib/appium_lib/ios/element/textfield.rb#L49) ios
|
|
2328
2336
|
|
|
2329
2337
|
> def first_textfield
|
|
2330
2338
|
|
|
@@ -2336,7 +2344,7 @@ __Returns:__
|
|
|
2336
2344
|
|
|
2337
2345
|
--
|
|
2338
2346
|
|
|
2339
|
-
##### [last_textfield](https://github.com/appium/ruby_lib/blob/
|
|
2347
|
+
##### [last_textfield](https://github.com/appium/ruby_lib/blob/63a853ea755edb68a3469bd6647f23530c746853/lib/appium_lib/ios/element/textfield.rb#L55) ios
|
|
2340
2348
|
|
|
2341
2349
|
> def last_textfield
|
|
2342
2350
|
|
|
@@ -2348,7 +2356,7 @@ __Returns:__
|
|
|
2348
2356
|
|
|
2349
2357
|
--
|
|
2350
2358
|
|
|
2351
|
-
##### [textfield_exact](https://github.com/appium/ruby_lib/blob/
|
|
2359
|
+
##### [textfield_exact](https://github.com/appium/ruby_lib/blob/63a853ea755edb68a3469bd6647f23530c746853/lib/appium_lib/ios/element/textfield.rb#L64) ios
|
|
2352
2360
|
|
|
2353
2361
|
> def textfield_exact(value)
|
|
2354
2362
|
|
|
@@ -2364,7 +2372,7 @@ __Returns:__
|
|
|
2364
2372
|
|
|
2365
2373
|
--
|
|
2366
2374
|
|
|
2367
|
-
##### [textfields_exact](https://github.com/appium/ruby_lib/blob/
|
|
2375
|
+
##### [textfields_exact](https://github.com/appium/ruby_lib/blob/63a853ea755edb68a3469bd6647f23530c746853/lib/appium_lib/ios/element/textfield.rb#L71) ios
|
|
2368
2376
|
|
|
2369
2377
|
> def textfields_exact(value)
|
|
2370
2378
|
|
|
@@ -2380,7 +2388,7 @@ __Returns:__
|
|
|
2380
2388
|
|
|
2381
2389
|
--
|
|
2382
2390
|
|
|
2383
|
-
##### [_textfield_visible](https://github.com/appium/ruby_lib/blob/
|
|
2391
|
+
##### [_textfield_visible](https://github.com/appium/ruby_lib/blob/63a853ea755edb68a3469bd6647f23530c746853/lib/appium_lib/ios/element/textfield.rb#L78) ios
|
|
2384
2392
|
|
|
2385
2393
|
> def _textfield_visible
|
|
2386
2394
|
|
|
@@ -2388,7 +2396,7 @@ Appium
|
|
|
2388
2396
|
|
|
2389
2397
|
--
|
|
2390
2398
|
|
|
2391
|
-
##### [_textfield_exact_string](https://github.com/appium/ruby_lib/blob/
|
|
2399
|
+
##### [_textfield_exact_string](https://github.com/appium/ruby_lib/blob/63a853ea755edb68a3469bd6647f23530c746853/lib/appium_lib/ios/element/textfield.rb#L83) ios
|
|
2392
2400
|
|
|
2393
2401
|
> def _textfield_exact_string(value)
|
|
2394
2402
|
|
|
@@ -2396,7 +2404,7 @@ Appium
|
|
|
2396
2404
|
|
|
2397
2405
|
--
|
|
2398
2406
|
|
|
2399
|
-
##### [_textfield_contains_string](https://github.com/appium/ruby_lib/blob/
|
|
2407
|
+
##### [_textfield_contains_string](https://github.com/appium/ruby_lib/blob/63a853ea755edb68a3469bd6647f23530c746853/lib/appium_lib/ios/element/textfield.rb#L90) ios
|
|
2400
2408
|
|
|
2401
2409
|
> def _textfield_contains_string(value)
|
|
2402
2410
|
|
|
@@ -2404,7 +2412,7 @@ Appium
|
|
|
2404
2412
|
|
|
2405
2413
|
--
|
|
2406
2414
|
|
|
2407
|
-
##### [static_text_class](https://github.com/appium/ruby_lib/blob/
|
|
2415
|
+
##### [static_text_class](https://github.com/appium/ruby_lib/blob/63a853ea755edb68a3469bd6647f23530c746853/lib/appium_lib/ios/xcuitest/element/text.rb#L9) ios
|
|
2408
2416
|
|
|
2409
2417
|
> def static_text_class
|
|
2410
2418
|
|
|
@@ -2416,7 +2424,7 @@ __Returns:__
|
|
|
2416
2424
|
|
|
2417
2425
|
--
|
|
2418
2426
|
|
|
2419
|
-
##### [text](https://github.com/appium/ruby_lib/blob/
|
|
2427
|
+
##### [text](https://github.com/appium/ruby_lib/blob/63a853ea755edb68a3469bd6647f23530c746853/lib/appium_lib/ios/xcuitest/element/text.rb#L17) ios
|
|
2420
2428
|
|
|
2421
2429
|
> def text(value)
|
|
2422
2430
|
|
|
@@ -2433,7 +2441,7 @@ __Returns:__
|
|
|
2433
2441
|
|
|
2434
2442
|
--
|
|
2435
2443
|
|
|
2436
|
-
##### [texts](https://github.com/appium/ruby_lib/blob/
|
|
2444
|
+
##### [texts](https://github.com/appium/ruby_lib/blob/63a853ea755edb68a3469bd6647f23530c746853/lib/appium_lib/ios/xcuitest/element/text.rb#L26) ios
|
|
2437
2445
|
|
|
2438
2446
|
> def texts(value = false)
|
|
2439
2447
|
|
|
@@ -2450,7 +2458,7 @@ __Returns:__
|
|
|
2450
2458
|
|
|
2451
2459
|
--
|
|
2452
2460
|
|
|
2453
|
-
##### [first_text](https://github.com/appium/ruby_lib/blob/
|
|
2461
|
+
##### [first_text](https://github.com/appium/ruby_lib/blob/63a853ea755edb68a3469bd6647f23530c746853/lib/appium_lib/ios/xcuitest/element/text.rb#L34) ios
|
|
2454
2462
|
|
|
2455
2463
|
> def first_text
|
|
2456
2464
|
|
|
@@ -2462,7 +2470,7 @@ __Returns:__
|
|
|
2462
2470
|
|
|
2463
2471
|
--
|
|
2464
2472
|
|
|
2465
|
-
##### [last_text](https://github.com/appium/ruby_lib/blob/
|
|
2473
|
+
##### [last_text](https://github.com/appium/ruby_lib/blob/63a853ea755edb68a3469bd6647f23530c746853/lib/appium_lib/ios/xcuitest/element/text.rb#L40) ios
|
|
2466
2474
|
|
|
2467
2475
|
> def last_text
|
|
2468
2476
|
|
|
@@ -2474,7 +2482,7 @@ __Returns:__
|
|
|
2474
2482
|
|
|
2475
2483
|
--
|
|
2476
2484
|
|
|
2477
|
-
##### [text_exact](https://github.com/appium/ruby_lib/blob/
|
|
2485
|
+
##### [text_exact](https://github.com/appium/ruby_lib/blob/63a853ea755edb68a3469bd6647f23530c746853/lib/appium_lib/ios/xcuitest/element/text.rb#L47) ios
|
|
2478
2486
|
|
|
2479
2487
|
> def text_exact(value)
|
|
2480
2488
|
|
|
@@ -2490,7 +2498,7 @@ __Returns:__
|
|
|
2490
2498
|
|
|
2491
2499
|
--
|
|
2492
2500
|
|
|
2493
|
-
##### [texts_exact](https://github.com/appium/ruby_lib/blob/
|
|
2501
|
+
##### [texts_exact](https://github.com/appium/ruby_lib/blob/63a853ea755edb68a3469bd6647f23530c746853/lib/appium_lib/ios/xcuitest/element/text.rb#L54) ios
|
|
2494
2502
|
|
|
2495
2503
|
> def texts_exact(value)
|
|
2496
2504
|
|
|
@@ -2506,7 +2514,7 @@ __Returns:__
|
|
|
2506
2514
|
|
|
2507
2515
|
--
|
|
2508
2516
|
|
|
2509
|
-
##### [button_class](https://github.com/appium/ruby_lib/blob/
|
|
2517
|
+
##### [button_class](https://github.com/appium/ruby_lib/blob/63a853ea755edb68a3469bd6647f23530c746853/lib/appium_lib/ios/xcuitest/element/button.rb#L9) ios
|
|
2510
2518
|
|
|
2511
2519
|
> def button_class
|
|
2512
2520
|
|
|
@@ -2518,7 +2526,7 @@ __Returns:__
|
|
|
2518
2526
|
|
|
2519
2527
|
--
|
|
2520
2528
|
|
|
2521
|
-
##### [button](https://github.com/appium/ruby_lib/blob/
|
|
2529
|
+
##### [button](https://github.com/appium/ruby_lib/blob/63a853ea755edb68a3469bd6647f23530c746853/lib/appium_lib/ios/xcuitest/element/button.rb#L17) ios
|
|
2522
2530
|
|
|
2523
2531
|
> def button(value)
|
|
2524
2532
|
|
|
@@ -2535,7 +2543,7 @@ __Returns:__
|
|
|
2535
2543
|
|
|
2536
2544
|
--
|
|
2537
2545
|
|
|
2538
|
-
##### [buttons](https://github.com/appium/ruby_lib/blob/
|
|
2546
|
+
##### [buttons](https://github.com/appium/ruby_lib/blob/63a853ea755edb68a3469bd6647f23530c746853/lib/appium_lib/ios/xcuitest/element/button.rb#L27) ios
|
|
2539
2547
|
|
|
2540
2548
|
> def buttons(value = false)
|
|
2541
2549
|
|
|
@@ -2552,7 +2560,7 @@ __Returns:__
|
|
|
2552
2560
|
|
|
2553
2561
|
--
|
|
2554
2562
|
|
|
2555
|
-
##### [first_button](https://github.com/appium/ruby_lib/blob/
|
|
2563
|
+
##### [first_button](https://github.com/appium/ruby_lib/blob/63a853ea755edb68a3469bd6647f23530c746853/lib/appium_lib/ios/xcuitest/element/button.rb#L35) ios
|
|
2556
2564
|
|
|
2557
2565
|
> def first_button
|
|
2558
2566
|
|
|
@@ -2564,7 +2572,7 @@ __Returns:__
|
|
|
2564
2572
|
|
|
2565
2573
|
--
|
|
2566
2574
|
|
|
2567
|
-
##### [last_button](https://github.com/appium/ruby_lib/blob/
|
|
2575
|
+
##### [last_button](https://github.com/appium/ruby_lib/blob/63a853ea755edb68a3469bd6647f23530c746853/lib/appium_lib/ios/xcuitest/element/button.rb#L43) ios
|
|
2568
2576
|
|
|
2569
2577
|
> def last_button
|
|
2570
2578
|
|
|
@@ -2578,7 +2586,7 @@ __Returns:__
|
|
|
2578
2586
|
|
|
2579
2587
|
--
|
|
2580
2588
|
|
|
2581
|
-
##### [button_exact](https://github.com/appium/ruby_lib/blob/
|
|
2589
|
+
##### [button_exact](https://github.com/appium/ruby_lib/blob/63a853ea755edb68a3469bd6647f23530c746853/lib/appium_lib/ios/xcuitest/element/button.rb#L50) ios
|
|
2582
2590
|
|
|
2583
2591
|
> def button_exact(value)
|
|
2584
2592
|
|
|
@@ -2594,7 +2602,7 @@ __Returns:__
|
|
|
2594
2602
|
|
|
2595
2603
|
--
|
|
2596
2604
|
|
|
2597
|
-
##### [buttons_exact](https://github.com/appium/ruby_lib/blob/
|
|
2605
|
+
##### [buttons_exact](https://github.com/appium/ruby_lib/blob/63a853ea755edb68a3469bd6647f23530c746853/lib/appium_lib/ios/xcuitest/element/button.rb#L57) ios
|
|
2598
2606
|
|
|
2599
2607
|
> def buttons_exact(value)
|
|
2600
2608
|
|
|
@@ -2610,7 +2618,7 @@ __Returns:__
|
|
|
2610
2618
|
|
|
2611
2619
|
--
|
|
2612
2620
|
|
|
2613
|
-
##### [find](https://github.com/appium/ruby_lib/blob/
|
|
2621
|
+
##### [find](https://github.com/appium/ruby_lib/blob/63a853ea755edb68a3469bd6647f23530c746853/lib/appium_lib/ios/xcuitest/element/generic.rb#L8) ios
|
|
2614
2622
|
|
|
2615
2623
|
> def find(value)
|
|
2616
2624
|
|
|
@@ -2626,7 +2634,7 @@ __Returns:__
|
|
|
2626
2634
|
|
|
2627
2635
|
--
|
|
2628
2636
|
|
|
2629
|
-
##### [finds](https://github.com/appium/ruby_lib/blob/
|
|
2637
|
+
##### [finds](https://github.com/appium/ruby_lib/blob/63a853ea755edb68a3469bd6647f23530c746853/lib/appium_lib/ios/xcuitest/element/generic.rb#L15) ios
|
|
2630
2638
|
|
|
2631
2639
|
> def finds(value)
|
|
2632
2640
|
|
|
@@ -2642,7 +2650,7 @@ __Returns:__
|
|
|
2642
2650
|
|
|
2643
2651
|
--
|
|
2644
2652
|
|
|
2645
|
-
##### [find_exact](https://github.com/appium/ruby_lib/blob/
|
|
2653
|
+
##### [find_exact](https://github.com/appium/ruby_lib/blob/63a853ea755edb68a3469bd6647f23530c746853/lib/appium_lib/ios/xcuitest/element/generic.rb#L23) ios
|
|
2646
2654
|
|
|
2647
2655
|
> def find_exact(value)
|
|
2648
2656
|
|
|
@@ -2658,7 +2666,7 @@ __Returns:__
|
|
|
2658
2666
|
|
|
2659
2667
|
--
|
|
2660
2668
|
|
|
2661
|
-
##### [finds_exact](https://github.com/appium/ruby_lib/blob/
|
|
2669
|
+
##### [finds_exact](https://github.com/appium/ruby_lib/blob/63a853ea755edb68a3469bd6647f23530c746853/lib/appium_lib/ios/xcuitest/element/generic.rb#L30) ios
|
|
2662
2670
|
|
|
2663
2671
|
> def finds_exact(value)
|
|
2664
2672
|
|
|
@@ -2674,7 +2682,7 @@ __Returns:__
|
|
|
2674
2682
|
|
|
2675
2683
|
--
|
|
2676
2684
|
|
|
2677
|
-
##### [raise_error_if_no_element](https://github.com/appium/ruby_lib/blob/
|
|
2685
|
+
##### [raise_error_if_no_element](https://github.com/appium/ruby_lib/blob/63a853ea755edb68a3469bd6647f23530c746853/lib/appium_lib/ios/xcuitest/element/generic.rb#L37) ios
|
|
2678
2686
|
|
|
2679
2687
|
> def raise_error_if_no_element(element)
|
|
2680
2688
|
|
|
@@ -2682,7 +2690,7 @@ __Returns:__
|
|
|
2682
2690
|
|
|
2683
2691
|
--
|
|
2684
2692
|
|
|
2685
|
-
##### [select_visible_elements](https://github.com/appium/ruby_lib/blob/
|
|
2693
|
+
##### [select_visible_elements](https://github.com/appium/ruby_lib/blob/63a853ea755edb68a3469bd6647f23530c746853/lib/appium_lib/ios/xcuitest/element/generic.rb#L44) ios
|
|
2686
2694
|
|
|
2687
2695
|
> def select_visible_elements(elements)
|
|
2688
2696
|
|
|
@@ -2690,7 +2698,7 @@ Return visible elements.
|
|
|
2690
2698
|
|
|
2691
2699
|
--
|
|
2692
2700
|
|
|
2693
|
-
##### [swipe](https://github.com/appium/ruby_lib/blob/
|
|
2701
|
+
##### [swipe](https://github.com/appium/ruby_lib/blob/63a853ea755edb68a3469bd6647f23530c746853/lib/appium_lib/ios/xcuitest/command/gestures.rb#L11) ios
|
|
2694
2702
|
|
|
2695
2703
|
> def swipe(direction:, element: nil)
|
|
2696
2704
|
|
|
@@ -2704,7 +2712,7 @@ __Parameters:__
|
|
|
2704
2712
|
|
|
2705
2713
|
--
|
|
2706
2714
|
|
|
2707
|
-
##### [scroll](https://github.com/appium/ruby_lib/blob/
|
|
2715
|
+
##### [scroll](https://github.com/appium/ruby_lib/blob/63a853ea755edb68a3469bd6647f23530c746853/lib/appium_lib/ios/xcuitest/command/gestures.rb#L29) ios
|
|
2708
2716
|
|
|
2709
2717
|
> def scroll(direction:, name: nil, element: nil, to_visible: nil, predicate_string: nil)
|
|
2710
2718
|
|
|
@@ -2718,7 +2726,7 @@ __Parameters:__
|
|
|
2718
2726
|
|
|
2719
2727
|
--
|
|
2720
2728
|
|
|
2721
|
-
##### [pinch](https://github.com/appium/ruby_lib/blob/
|
|
2729
|
+
##### [pinch](https://github.com/appium/ruby_lib/blob/63a853ea755edb68a3469bd6647f23530c746853/lib/appium_lib/ios/xcuitest/command/gestures.rb#L48) ios
|
|
2722
2730
|
|
|
2723
2731
|
> def pinch(scale:, velocity: 1.0, element: nil)
|
|
2724
2732
|
|
|
@@ -2734,7 +2742,7 @@ __Parameters:__
|
|
|
2734
2742
|
|
|
2735
2743
|
--
|
|
2736
2744
|
|
|
2737
|
-
##### [double_tap](https://github.com/appium/ruby_lib/blob/
|
|
2745
|
+
##### [double_tap](https://github.com/appium/ruby_lib/blob/63a853ea755edb68a3469bd6647f23530c746853/lib/appium_lib/ios/xcuitest/command/gestures.rb#L63) ios
|
|
2738
2746
|
|
|
2739
2747
|
> def double_tap(x: nil, y: nil, element: nil)
|
|
2740
2748
|
|
|
@@ -2750,7 +2758,7 @@ __Parameters:__
|
|
|
2750
2758
|
|
|
2751
2759
|
--
|
|
2752
2760
|
|
|
2753
|
-
##### [touch_and_hold](https://github.com/appium/ruby_lib/blob/
|
|
2761
|
+
##### [touch_and_hold](https://github.com/appium/ruby_lib/blob/63a853ea755edb68a3469bd6647f23530c746853/lib/appium_lib/ios/xcuitest/command/gestures.rb#L80) ios
|
|
2754
2762
|
|
|
2755
2763
|
> def touch_and_hold(x: nil, y: nil, element: nil, duration: 1.0)
|
|
2756
2764
|
|
|
@@ -2768,7 +2776,7 @@ __Parameters:__
|
|
|
2768
2776
|
|
|
2769
2777
|
--
|
|
2770
2778
|
|
|
2771
|
-
##### [two_finger_tap](https://github.com/appium/ruby_lib/blob/
|
|
2779
|
+
##### [two_finger_tap](https://github.com/appium/ruby_lib/blob/63a853ea755edb68a3469bd6647f23530c746853/lib/appium_lib/ios/xcuitest/command/gestures.rb#L93) ios
|
|
2772
2780
|
|
|
2773
2781
|
> def two_finger_tap(element:)
|
|
2774
2782
|
|
|
@@ -2784,7 +2792,7 @@ two_finger_tap element: find_element(:accessibility_id, "some item")
|
|
|
2784
2792
|
|
|
2785
2793
|
--
|
|
2786
2794
|
|
|
2787
|
-
##### [tap](https://github.com/appium/ruby_lib/blob/
|
|
2795
|
+
##### [tap](https://github.com/appium/ruby_lib/blob/63a853ea755edb68a3469bd6647f23530c746853/lib/appium_lib/ios/xcuitest/command/gestures.rb#L108) ios
|
|
2788
2796
|
|
|
2789
2797
|
> def tap(x:, y:, element: nil)
|
|
2790
2798
|
|
|
@@ -2800,7 +2808,7 @@ __Parameters:__
|
|
|
2800
2808
|
|
|
2801
2809
|
--
|
|
2802
2810
|
|
|
2803
|
-
##### [drag_from_to_for_duration](https://github.com/appium/ruby_lib/blob/
|
|
2811
|
+
##### [drag_from_to_for_duration](https://github.com/appium/ruby_lib/blob/63a853ea755edb68a3469bd6647f23530c746853/lib/appium_lib/ios/xcuitest/command/gestures.rb#L128) ios
|
|
2804
2812
|
|
|
2805
2813
|
> def drag_from_to_for_duration(from_x:, from_y:, to_x:, to_y:, duration: 1.0, element: nil)
|
|
2806
2814
|
|
|
@@ -2823,7 +2831,7 @@ drag point should be before to start dragging. Mandatory parameter
|
|
|
2823
2831
|
|
|
2824
2832
|
--
|
|
2825
2833
|
|
|
2826
|
-
##### [select_picker_wheel](https://github.com/appium/ruby_lib/blob/
|
|
2834
|
+
##### [select_picker_wheel](https://github.com/appium/ruby_lib/blob/63a853ea755edb68a3469bd6647f23530c746853/lib/appium_lib/ios/xcuitest/command/gestures.rb#L145) ios
|
|
2827
2835
|
|
|
2828
2836
|
> def select_picker_wheel(element:, order:, offset: nil)
|
|
2829
2837
|
|
|
@@ -2840,7 +2848,7 @@ __Parameters:__
|
|
|
2840
2848
|
|
|
2841
2849
|
--
|
|
2842
2850
|
|
|
2843
|
-
##### [alert](https://github.com/appium/ruby_lib/blob/
|
|
2851
|
+
##### [alert](https://github.com/appium/ruby_lib/blob/63a853ea755edb68a3469bd6647f23530c746853/lib/appium_lib/ios/xcuitest/command/gestures.rb#L163) ios
|
|
2844
2852
|
|
|
2845
2853
|
> def alert(action:, button_label: nil)
|
|
2846
2854
|
|
|
@@ -2855,7 +2863,7 @@ This is an optional parameter and is only valid in combination with accept and d
|
|
|
2855
2863
|
|
|
2856
2864
|
--
|
|
2857
2865
|
|
|
2858
|
-
##### [text_field_class](https://github.com/appium/ruby_lib/blob/
|
|
2866
|
+
##### [text_field_class](https://github.com/appium/ruby_lib/blob/63a853ea755edb68a3469bd6647f23530c746853/lib/appium_lib/ios/xcuitest/element/textfield.rb#L9) ios
|
|
2859
2867
|
|
|
2860
2868
|
> def text_field_class
|
|
2861
2869
|
|
|
@@ -2867,7 +2875,7 @@ __Returns:__
|
|
|
2867
2875
|
|
|
2868
2876
|
--
|
|
2869
2877
|
|
|
2870
|
-
##### [secure_text_field_class](https://github.com/appium/ruby_lib/blob/
|
|
2878
|
+
##### [secure_text_field_class](https://github.com/appium/ruby_lib/blob/63a853ea755edb68a3469bd6647f23530c746853/lib/appium_lib/ios/xcuitest/element/textfield.rb#L14) ios
|
|
2871
2879
|
|
|
2872
2880
|
> def secure_text_field_class
|
|
2873
2881
|
|
|
@@ -2879,7 +2887,7 @@ __Returns:__
|
|
|
2879
2887
|
|
|
2880
2888
|
--
|
|
2881
2889
|
|
|
2882
|
-
##### [textfield](https://github.com/appium/ruby_lib/blob/
|
|
2890
|
+
##### [textfield](https://github.com/appium/ruby_lib/blob/63a853ea755edb68a3469bd6647f23530c746853/lib/appium_lib/ios/xcuitest/element/textfield.rb#L23) ios
|
|
2883
2891
|
|
|
2884
2892
|
> def textfield(value)
|
|
2885
2893
|
|
|
@@ -2897,7 +2905,7 @@ __Returns:__
|
|
|
2897
2905
|
|
|
2898
2906
|
--
|
|
2899
2907
|
|
|
2900
|
-
##### [textfields](https://github.com/appium/ruby_lib/blob/
|
|
2908
|
+
##### [textfields](https://github.com/appium/ruby_lib/blob/63a853ea755edb68a3469bd6647f23530c746853/lib/appium_lib/ios/xcuitest/element/textfield.rb#L41) ios
|
|
2901
2909
|
|
|
2902
2910
|
> def textfields(value = false)
|
|
2903
2911
|
|
|
@@ -2914,7 +2922,7 @@ __Returns:__
|
|
|
2914
2922
|
|
|
2915
2923
|
--
|
|
2916
2924
|
|
|
2917
|
-
##### [first_textfield](https://github.com/appium/ruby_lib/blob/
|
|
2925
|
+
##### [first_textfield](https://github.com/appium/ruby_lib/blob/63a853ea755edb68a3469bd6647f23530c746853/lib/appium_lib/ios/xcuitest/element/textfield.rb#L50) ios
|
|
2918
2926
|
|
|
2919
2927
|
> def first_textfield
|
|
2920
2928
|
|
|
@@ -2926,7 +2934,7 @@ __Returns:__
|
|
|
2926
2934
|
|
|
2927
2935
|
--
|
|
2928
2936
|
|
|
2929
|
-
##### [last_textfield](https://github.com/appium/ruby_lib/blob/
|
|
2937
|
+
##### [last_textfield](https://github.com/appium/ruby_lib/blob/63a853ea755edb68a3469bd6647f23530c746853/lib/appium_lib/ios/xcuitest/element/textfield.rb#L56) ios
|
|
2930
2938
|
|
|
2931
2939
|
> def last_textfield
|
|
2932
2940
|
|
|
@@ -2938,7 +2946,7 @@ __Returns:__
|
|
|
2938
2946
|
|
|
2939
2947
|
--
|
|
2940
2948
|
|
|
2941
|
-
##### [textfield_exact](https://github.com/appium/ruby_lib/blob/
|
|
2949
|
+
##### [textfield_exact](https://github.com/appium/ruby_lib/blob/63a853ea755edb68a3469bd6647f23530c746853/lib/appium_lib/ios/xcuitest/element/textfield.rb#L65) ios
|
|
2942
2950
|
|
|
2943
2951
|
> def textfield_exact(value)
|
|
2944
2952
|
|
|
@@ -2954,7 +2962,7 @@ __Returns:__
|
|
|
2954
2962
|
|
|
2955
2963
|
--
|
|
2956
2964
|
|
|
2957
|
-
##### [textfields_exact](https://github.com/appium/ruby_lib/blob/
|
|
2965
|
+
##### [textfields_exact](https://github.com/appium/ruby_lib/blob/63a853ea755edb68a3469bd6647f23530c746853/lib/appium_lib/ios/xcuitest/element/textfield.rb#L72) ios
|
|
2958
2966
|
|
|
2959
2967
|
> def textfields_exact(value)
|
|
2960
2968
|
|
|
@@ -2970,7 +2978,7 @@ __Returns:__
|
|
|
2970
2978
|
|
|
2971
2979
|
--
|
|
2972
2980
|
|
|
2973
|
-
##### [set_pasteboard](https://github.com/appium/ruby_lib/blob/
|
|
2981
|
+
##### [set_pasteboard](https://github.com/appium/ruby_lib/blob/63a853ea755edb68a3469bd6647f23530c746853/lib/appium_lib/ios/xcuitest/command/pasteboard.rb#L12) ios
|
|
2974
2982
|
|
|
2975
2983
|
> def set_pasteboard(content:, encoding: nil)
|
|
2976
2984
|
|
|
@@ -2985,7 +2993,7 @@ The parameter is mandatory
|
|
|
2985
2993
|
|
|
2986
2994
|
--
|
|
2987
2995
|
|
|
2988
|
-
##### [get_pasteboard](https://github.com/appium/ruby_lib/blob/
|
|
2996
|
+
##### [get_pasteboard](https://github.com/appium/ruby_lib/blob/63a853ea755edb68a3469bd6647f23530c746853/lib/appium_lib/ios/xcuitest/command/pasteboard.rb#L24) ios
|
|
2989
2997
|
|
|
2990
2998
|
> def get_pasteboard(encoding: nil)
|
|
2991
2999
|
|