appium_lib 9.7.1 → 9.7.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +12 -0
- data/docs/android_docs.md +199 -240
- data/docs/ios_docs.md +251 -292
- data/lib/appium_lib/appium.rb +20 -14
- data/lib/appium_lib/common/helper.rb +34 -5
- data/lib/appium_lib/common/http_client.rb +1 -0
- data/lib/appium_lib/common/log.rb +3 -0
- data/lib/appium_lib/common/multi_touch.rb +38 -39
- data/lib/appium_lib/common/touch_actions.rb +20 -17
- data/lib/appium_lib/core/common/error.rb +5 -0
- data/lib/appium_lib/core/core.rb +28 -0
- data/lib/appium_lib/core/driver.rb +99 -32
- data/lib/appium_lib/core/ios/uiautomation/bridge.rb +2 -1
- data/lib/appium_lib/core/ios/uiautomation/patch.rb +2 -2
- data/lib/appium_lib/driver.rb +78 -92
- data/lib/appium_lib/ios/common/helper.rb +1 -0
- data/lib/appium_lib/sauce_labs.rb +42 -1
- data/lib/appium_lib/version.rb +2 -2
- data/release_notes.md +6 -0
- metadata +2 -2
data/docs/ios_docs.md
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
##### [load_settings](https://github.com/appium/ruby_lib/blob/
|
1
|
+
##### [load_settings](https://github.com/appium/ruby_lib/blob/b9b8784697d9fbe73d3883cf42d260f19138d8f5/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/b9b8784697d9fbe73d3883cf42d260f19138d8f5/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/b9b8784697d9fbe73d3883cf42d260f19138d8f5/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/b9b8784697d9fbe73d3883cf42d260f19138d8f5/lib/appium_lib/appium.rb#L126)
|
78
78
|
|
79
79
|
> def promote_singleton_appium_methods(modules, driver = $driver)
|
80
80
|
|
@@ -90,9 +90,15 @@ if modules is a module instead of an array, then the constants of
|
|
90
90
|
that module are promoted on.
|
91
91
|
otherwise, the array of modules will be used as the promotion target.
|
92
92
|
|
93
|
+
__Parameters:__
|
94
|
+
|
95
|
+
[Array<Module>] modules - An array of modules
|
96
|
+
|
97
|
+
[Driver] driver - A driver to extend for
|
98
|
+
|
93
99
|
--
|
94
100
|
|
95
|
-
##### [promote_appium_methods](https://github.com/appium/ruby_lib/blob/
|
101
|
+
##### [promote_appium_methods](https://github.com/appium/ruby_lib/blob/b9b8784697d9fbe73d3883cf42d260f19138d8f5/lib/appium_lib/appium.rb#L181)
|
96
102
|
|
97
103
|
> def promote_appium_methods(class_array, driver = $driver)
|
98
104
|
|
@@ -100,29 +106,17 @@ Promote appium methods to class instance methods
|
|
100
106
|
|
101
107
|
To promote methods to all classes:
|
102
108
|
|
103
|
-
```ruby
|
104
|
-
Appium.promote_appium_methods Object
|
105
|
-
```
|
106
|
-
|
107
109
|
It's better to promote on specific classes instead of Object
|
108
110
|
|
109
|
-
```ruby
|
110
|
-
# promote on rspec
|
111
|
-
Appium.promote_appium_methods RSpec::Core::ExampleGroup
|
112
|
-
```
|
113
|
-
|
114
|
-
```ruby
|
115
|
-
# promote on minispec
|
116
|
-
Appium.promote_appium_methods Minitest::Spec
|
117
|
-
```
|
118
|
-
|
119
111
|
__Parameters:__
|
120
112
|
|
121
113
|
[Array<Class>] class_array - An array of classes
|
122
114
|
|
115
|
+
[Driver] driver - A driver to extend for
|
116
|
+
|
123
117
|
--
|
124
118
|
|
125
|
-
##### [global_webdriver_http_sleep](https://github.com/appium/ruby_lib/blob/
|
119
|
+
##### [global_webdriver_http_sleep](https://github.com/appium/ruby_lib/blob/b9b8784697d9fbe73d3883cf42d260f19138d8f5/lib/appium_lib/driver.rb#L24)
|
126
120
|
|
127
121
|
> def global_webdriver_http_sleep
|
128
122
|
|
@@ -130,7 +124,7 @@ The amount to sleep in seconds before every webdriver http call.
|
|
130
124
|
|
131
125
|
--
|
132
126
|
|
133
|
-
##### [global_webdriver_http_sleep=](https://github.com/appium/ruby_lib/blob/
|
127
|
+
##### [global_webdriver_http_sleep=](https://github.com/appium/ruby_lib/blob/b9b8784697d9fbe73d3883cf42d260f19138d8f5/lib/appium_lib/driver.rb#L24)
|
134
128
|
|
135
129
|
> def global_webdriver_http_sleep=(value)
|
136
130
|
|
@@ -138,7 +132,7 @@ The amount to sleep in seconds before every webdriver http call.
|
|
138
132
|
|
139
133
|
--
|
140
134
|
|
141
|
-
##### [sauce](https://github.com/appium/ruby_lib/blob/
|
135
|
+
##### [sauce](https://github.com/appium/ruby_lib/blob/b9b8784697d9fbe73d3883cf42d260f19138d8f5/lib/appium_lib/driver.rb#L27)
|
142
136
|
|
143
137
|
> def sauce
|
144
138
|
|
@@ -146,7 +140,7 @@ SauceLab's settings
|
|
146
140
|
|
147
141
|
--
|
148
142
|
|
149
|
-
##### [sauce_username](https://github.com/appium/ruby_lib/blob/
|
143
|
+
##### [sauce_username](https://github.com/appium/ruby_lib/blob/b9b8784697d9fbe73d3883cf42d260f19138d8f5/lib/appium_lib/driver.rb#L30)
|
150
144
|
|
151
145
|
> def sauce_username
|
152
146
|
|
@@ -155,7 +149,7 @@ same as @sauce.username
|
|
155
149
|
|
156
150
|
--
|
157
151
|
|
158
|
-
##### [sauce_access_key](https://github.com/appium/ruby_lib/blob/
|
152
|
+
##### [sauce_access_key](https://github.com/appium/ruby_lib/blob/b9b8784697d9fbe73d3883cf42d260f19138d8f5/lib/appium_lib/driver.rb#L33)
|
159
153
|
|
160
154
|
> def sauce_access_key
|
161
155
|
|
@@ -164,7 +158,7 @@ same as @sauce.access_key
|
|
164
158
|
|
165
159
|
--
|
166
160
|
|
167
|
-
##### [sauce_endpoint](https://github.com/appium/ruby_lib/blob/
|
161
|
+
##### [sauce_endpoint](https://github.com/appium/ruby_lib/blob/b9b8784697d9fbe73d3883cf42d260f19138d8f5/lib/appium_lib/driver.rb#L36)
|
168
162
|
|
169
163
|
> def sauce_endpoint
|
170
164
|
|
@@ -173,7 +167,7 @@ same as @sauce.endpoint
|
|
173
167
|
|
174
168
|
--
|
175
169
|
|
176
|
-
##### [caps](https://github.com/appium/ruby_lib/blob/
|
170
|
+
##### [caps](https://github.com/appium/ruby_lib/blob/b9b8784697d9fbe73d3883cf42d260f19138d8f5/lib/appium_lib/driver.rb#L39)
|
177
171
|
|
178
172
|
> def caps
|
179
173
|
|
@@ -181,7 +175,7 @@ from Core
|
|
181
175
|
|
182
176
|
--
|
183
177
|
|
184
|
-
##### [custom_url](https://github.com/appium/ruby_lib/blob/
|
178
|
+
##### [custom_url](https://github.com/appium/ruby_lib/blob/b9b8784697d9fbe73d3883cf42d260f19138d8f5/lib/appium_lib/driver.rb#L40)
|
185
179
|
|
186
180
|
> def custom_url
|
187
181
|
|
@@ -189,7 +183,7 @@ Returns the value of attribute custom_url
|
|
189
183
|
|
190
184
|
--
|
191
185
|
|
192
|
-
##### [export_session](https://github.com/appium/ruby_lib/blob/
|
186
|
+
##### [export_session](https://github.com/appium/ruby_lib/blob/b9b8784697d9fbe73d3883cf42d260f19138d8f5/lib/appium_lib/driver.rb#L41)
|
193
187
|
|
194
188
|
> def export_session
|
195
189
|
|
@@ -197,7 +191,7 @@ Returns the value of attribute export_session
|
|
197
191
|
|
198
192
|
--
|
199
193
|
|
200
|
-
##### [default_wait](https://github.com/appium/ruby_lib/blob/
|
194
|
+
##### [default_wait](https://github.com/appium/ruby_lib/blob/b9b8784697d9fbe73d3883cf42d260f19138d8f5/lib/appium_lib/driver.rb#L42)
|
201
195
|
|
202
196
|
> def default_wait
|
203
197
|
|
@@ -205,7 +199,7 @@ Returns the value of attribute default_wait
|
|
205
199
|
|
206
200
|
--
|
207
201
|
|
208
|
-
##### [appium_port](https://github.com/appium/ruby_lib/blob/
|
202
|
+
##### [appium_port](https://github.com/appium/ruby_lib/blob/b9b8784697d9fbe73d3883cf42d260f19138d8f5/lib/appium_lib/driver.rb#L43)
|
209
203
|
|
210
204
|
> def appium_port
|
211
205
|
|
@@ -213,7 +207,7 @@ Returns the value of attribute appium_port
|
|
213
207
|
|
214
208
|
--
|
215
209
|
|
216
|
-
##### [appium_device](https://github.com/appium/ruby_lib/blob/
|
210
|
+
##### [appium_device](https://github.com/appium/ruby_lib/blob/b9b8784697d9fbe73d3883cf42d260f19138d8f5/lib/appium_lib/driver.rb#L44)
|
217
211
|
|
218
212
|
> def appium_device
|
219
213
|
|
@@ -221,7 +215,7 @@ Returns the value of attribute appium_device
|
|
221
215
|
|
222
216
|
--
|
223
217
|
|
224
|
-
##### [automation_name](https://github.com/appium/ruby_lib/blob/
|
218
|
+
##### [automation_name](https://github.com/appium/ruby_lib/blob/b9b8784697d9fbe73d3883cf42d260f19138d8f5/lib/appium_lib/driver.rb#L45)
|
225
219
|
|
226
220
|
> def automation_name
|
227
221
|
|
@@ -229,7 +223,7 @@ Returns the value of attribute automation_name
|
|
229
223
|
|
230
224
|
--
|
231
225
|
|
232
|
-
##### [listener](https://github.com/appium/ruby_lib/blob/
|
226
|
+
##### [listener](https://github.com/appium/ruby_lib/blob/b9b8784697d9fbe73d3883cf42d260f19138d8f5/lib/appium_lib/driver.rb#L46)
|
233
227
|
|
234
228
|
> def listener
|
235
229
|
|
@@ -237,7 +231,7 @@ Returns the value of attribute listener
|
|
237
231
|
|
238
232
|
--
|
239
233
|
|
240
|
-
##### [http_client](https://github.com/appium/ruby_lib/blob/
|
234
|
+
##### [http_client](https://github.com/appium/ruby_lib/blob/b9b8784697d9fbe73d3883cf42d260f19138d8f5/lib/appium_lib/driver.rb#L47)
|
241
235
|
|
242
236
|
> def http_client
|
243
237
|
|
@@ -245,7 +239,7 @@ Returns the value of attribute http_client
|
|
245
239
|
|
246
240
|
--
|
247
241
|
|
248
|
-
##### [appium_wait_timeout](https://github.com/appium/ruby_lib/blob/
|
242
|
+
##### [appium_wait_timeout](https://github.com/appium/ruby_lib/blob/b9b8784697d9fbe73d3883cf42d260f19138d8f5/lib/appium_lib/driver.rb#L48)
|
249
243
|
|
250
244
|
> def appium_wait_timeout
|
251
245
|
|
@@ -253,7 +247,7 @@ Returns the value of attribute appium_wait_timeout
|
|
253
247
|
|
254
248
|
--
|
255
249
|
|
256
|
-
##### [appium_wait_interval](https://github.com/appium/ruby_lib/blob/
|
250
|
+
##### [appium_wait_interval](https://github.com/appium/ruby_lib/blob/b9b8784697d9fbe73d3883cf42d260f19138d8f5/lib/appium_lib/driver.rb#L49)
|
257
251
|
|
258
252
|
> def appium_wait_interval
|
259
253
|
|
@@ -261,7 +255,7 @@ Returns the value of attribute appium_wait_interval
|
|
261
255
|
|
262
256
|
--
|
263
257
|
|
264
|
-
##### [appium_server_status](https://github.com/appium/ruby_lib/blob/
|
258
|
+
##### [appium_server_status](https://github.com/appium/ruby_lib/blob/b9b8784697d9fbe73d3883cf42d260f19138d8f5/lib/appium_lib/driver.rb#L52)
|
265
259
|
|
266
260
|
> def appium_server_status
|
267
261
|
|
@@ -269,7 +263,7 @@ Appium's server version
|
|
269
263
|
|
270
264
|
--
|
271
265
|
|
272
|
-
##### [appium_debug](https://github.com/appium/ruby_lib/blob/
|
266
|
+
##### [appium_debug](https://github.com/appium/ruby_lib/blob/b9b8784697d9fbe73d3883cf42d260f19138d8f5/lib/appium_lib/driver.rb#L54)
|
273
267
|
|
274
268
|
> def appium_debug
|
275
269
|
|
@@ -277,7 +271,7 @@ Boolean debug mode for the Appium Ruby bindings
|
|
277
271
|
|
278
272
|
--
|
279
273
|
|
280
|
-
##### [driver](https://github.com/appium/ruby_lib/blob/
|
274
|
+
##### [driver](https://github.com/appium/ruby_lib/blob/b9b8784697d9fbe73d3883cf42d260f19138d8f5/lib/appium_lib/driver.rb#L57)
|
281
275
|
|
282
276
|
> def driver
|
283
277
|
|
@@ -289,7 +283,7 @@ __Returns:__
|
|
289
283
|
|
290
284
|
--
|
291
285
|
|
292
|
-
##### [core](https://github.com/appium/ruby_lib/blob/
|
286
|
+
##### [core](https://github.com/appium/ruby_lib/blob/b9b8784697d9fbe73d3883cf42d260f19138d8f5/lib/appium_lib/driver.rb#L59)
|
293
287
|
|
294
288
|
> def core
|
295
289
|
|
@@ -297,7 +291,7 @@ Instance of Appium::Core::Driver
|
|
297
291
|
|
298
292
|
--
|
299
293
|
|
300
|
-
##### [initialize](https://github.com/appium/ruby_lib/blob/
|
294
|
+
##### [initialize](https://github.com/appium/ruby_lib/blob/b9b8784697d9fbe73d3883cf42d260f19138d8f5/lib/appium_lib/driver.rb#L110)
|
301
295
|
|
302
296
|
> def initialize(opts = {}, global_driver = nil)
|
303
297
|
|
@@ -316,7 +310,7 @@ __Returns:__
|
|
316
310
|
|
317
311
|
--
|
318
312
|
|
319
|
-
##### [driver_attributes](https://github.com/appium/ruby_lib/blob/
|
313
|
+
##### [driver_attributes](https://github.com/appium/ruby_lib/blob/b9b8784697d9fbe73d3883cf42d260f19138d8f5/lib/appium_lib/driver.rb#L215)
|
320
314
|
|
321
315
|
> def driver_attributes
|
322
316
|
|
@@ -324,7 +318,7 @@ Returns a hash of the driver attributes
|
|
324
318
|
|
325
319
|
--
|
326
320
|
|
327
|
-
##### [device_is_android?](https://github.com/appium/ruby_lib/blob/
|
321
|
+
##### [device_is_android?](https://github.com/appium/ruby_lib/blob/b9b8784697d9fbe73d3883cf42d260f19138d8f5/lib/appium_lib/driver.rb#L234)
|
328
322
|
|
329
323
|
> def device_is_android?
|
330
324
|
|
@@ -336,7 +330,7 @@ __Returns:__
|
|
336
330
|
|
337
331
|
--
|
338
332
|
|
339
|
-
##### [device_is_ios?](https://github.com/appium/ruby_lib/blob/
|
333
|
+
##### [device_is_ios?](https://github.com/appium/ruby_lib/blob/b9b8784697d9fbe73d3883cf42d260f19138d8f5/lib/appium_lib/driver.rb#L238)
|
340
334
|
|
341
335
|
> def device_is_ios?
|
342
336
|
|
@@ -348,7 +342,7 @@ __Returns:__
|
|
348
342
|
|
349
343
|
--
|
350
344
|
|
351
|
-
##### [device_is_windows?](https://github.com/appium/ruby_lib/blob/
|
345
|
+
##### [device_is_windows?](https://github.com/appium/ruby_lib/blob/b9b8784697d9fbe73d3883cf42d260f19138d8f5/lib/appium_lib/driver.rb#L242)
|
352
346
|
|
353
347
|
> def device_is_windows?
|
354
348
|
|
@@ -360,7 +354,7 @@ __Returns:__
|
|
360
354
|
|
361
355
|
--
|
362
356
|
|
363
|
-
##### [automation_name_is_uiautomator2?](https://github.com/appium/ruby_lib/blob/
|
357
|
+
##### [automation_name_is_uiautomator2?](https://github.com/appium/ruby_lib/blob/b9b8784697d9fbe73d3883cf42d260f19138d8f5/lib/appium_lib/driver.rb#L248)
|
364
358
|
|
365
359
|
> def automation_name_is_uiautomator2?
|
366
360
|
|
@@ -372,7 +366,7 @@ __Returns:__
|
|
372
366
|
|
373
367
|
--
|
374
368
|
|
375
|
-
##### [automation_name_is_espresso?](https://github.com/appium/ruby_lib/blob/
|
369
|
+
##### [automation_name_is_espresso?](https://github.com/appium/ruby_lib/blob/b9b8784697d9fbe73d3883cf42d260f19138d8f5/lib/appium_lib/driver.rb#L254)
|
376
370
|
|
377
371
|
> def automation_name_is_espresso?
|
378
372
|
|
@@ -384,7 +378,7 @@ __Returns:__
|
|
384
378
|
|
385
379
|
--
|
386
380
|
|
387
|
-
##### [automation_name_is_xcuitest?](https://github.com/appium/ruby_lib/blob/
|
381
|
+
##### [automation_name_is_xcuitest?](https://github.com/appium/ruby_lib/blob/b9b8784697d9fbe73d3883cf42d260f19138d8f5/lib/appium_lib/driver.rb#L260)
|
388
382
|
|
389
383
|
> def automation_name_is_xcuitest?
|
390
384
|
|
@@ -396,7 +390,7 @@ __Returns:__
|
|
396
390
|
|
397
391
|
--
|
398
392
|
|
399
|
-
##### [check_server_version_xcuitest](https://github.com/appium/ruby_lib/blob/
|
393
|
+
##### [check_server_version_xcuitest](https://github.com/appium/ruby_lib/blob/b9b8784697d9fbe73d3883cf42d260f19138d8f5/lib/appium_lib/driver.rb#L267)
|
400
394
|
|
401
395
|
> def check_server_version_xcuitest
|
402
396
|
|
@@ -409,28 +403,19 @@ __Returns:__
|
|
409
403
|
|
410
404
|
--
|
411
405
|
|
412
|
-
##### [appium_server_version](https://github.com/appium/ruby_lib/blob/
|
406
|
+
##### [appium_server_version](https://github.com/appium/ruby_lib/blob/b9b8784697d9fbe73d3883cf42d260f19138d8f5/lib/appium_lib/driver.rb#L288)
|
413
407
|
|
414
408
|
> def appium_server_version
|
415
409
|
|
416
410
|
Returns the server's version info
|
417
411
|
|
418
|
-
```ruby
|
419
|
-
{
|
420
|
-
"build" => {
|
421
|
-
"version" => "0.18.1",
|
422
|
-
"revision" => "d242ebcfd92046a974347ccc3a28f0e898595198"
|
423
|
-
}
|
424
|
-
}
|
425
|
-
```
|
426
|
-
|
427
412
|
__Returns:__
|
428
413
|
|
429
414
|
[Hash]
|
430
415
|
|
431
416
|
--
|
432
417
|
|
433
|
-
##### [platform_version](https://github.com/appium/ruby_lib/blob/
|
418
|
+
##### [platform_version](https://github.com/appium/ruby_lib/blob/b9b8784697d9fbe73d3883cf42d260f19138d8f5/lib/appium_lib/driver.rb#L298)
|
434
419
|
|
435
420
|
> def platform_version
|
436
421
|
|
@@ -442,25 +427,19 @@ __Returns:__
|
|
442
427
|
|
443
428
|
--
|
444
429
|
|
445
|
-
##### [appium_client_version](https://github.com/appium/ruby_lib/blob/
|
430
|
+
##### [appium_client_version](https://github.com/appium/ruby_lib/blob/b9b8784697d9fbe73d3883cf42d260f19138d8f5/lib/appium_lib/driver.rb#L317)
|
446
431
|
|
447
432
|
> def appium_client_version
|
448
433
|
|
449
434
|
Returns the client's version info
|
450
435
|
|
451
|
-
```ruby
|
452
|
-
{
|
453
|
-
"version" => "9.1.1"
|
454
|
-
}
|
455
|
-
```
|
456
|
-
|
457
436
|
__Returns:__
|
458
437
|
|
459
438
|
[Hash]
|
460
439
|
|
461
440
|
--
|
462
441
|
|
463
|
-
##### [absolute_app_path](https://github.com/appium/ruby_lib/blob/
|
442
|
+
##### [absolute_app_path](https://github.com/appium/ruby_lib/blob/b9b8784697d9fbe73d3883cf42d260f19138d8f5/lib/appium_lib/driver.rb#L329)
|
464
443
|
|
465
444
|
> def self.absolute_app_path(opts)
|
466
445
|
|
@@ -477,7 +456,7 @@ __Returns:__
|
|
477
456
|
|
478
457
|
--
|
479
458
|
|
480
|
-
##### [server_url](https://github.com/appium/ruby_lib/blob/
|
459
|
+
##### [server_url](https://github.com/appium/ruby_lib/blob/b9b8784697d9fbe73d3883cf42d260f19138d8f5/lib/appium_lib/driver.rb#L362)
|
481
460
|
|
482
461
|
> def server_url
|
483
462
|
|
@@ -489,7 +468,7 @@ __Returns:__
|
|
489
468
|
|
490
469
|
--
|
491
470
|
|
492
|
-
##### [restart](https://github.com/appium/ruby_lib/blob/
|
471
|
+
##### [restart](https://github.com/appium/ruby_lib/blob/b9b8784697d9fbe73d3883cf42d260f19138d8f5/lib/appium_lib/driver.rb#L370)
|
493
472
|
|
494
473
|
> def restart
|
495
474
|
|
@@ -501,14 +480,12 @@ __Returns:__
|
|
501
480
|
|
502
481
|
--
|
503
482
|
|
504
|
-
##### [screenshot](https://github.com/appium/ruby_lib/blob/
|
483
|
+
##### [screenshot](https://github.com/appium/ruby_lib/blob/b9b8784697d9fbe73d3883cf42d260f19138d8f5/lib/appium_lib/driver.rb#L383)
|
505
484
|
|
506
485
|
> def screenshot(png_save_path)
|
507
486
|
|
508
487
|
Takes a png screenshot and saves to the target path.
|
509
488
|
|
510
|
-
Example: screenshot '/tmp/hi.png'
|
511
|
-
|
512
489
|
__Parameters:__
|
513
490
|
|
514
491
|
[String] png_save_path - the full path to save the png
|
@@ -519,7 +496,7 @@ __Returns:__
|
|
519
496
|
|
520
497
|
--
|
521
498
|
|
522
|
-
##### [driver_quit](https://github.com/appium/ruby_lib/blob/
|
499
|
+
##### [driver_quit](https://github.com/appium/ruby_lib/blob/b9b8784697d9fbe73d3883cf42d260f19138d8f5/lib/appium_lib/driver.rb#L389)
|
523
500
|
|
524
501
|
> def driver_quit
|
525
502
|
|
@@ -531,7 +508,7 @@ __Returns:__
|
|
531
508
|
|
532
509
|
--
|
533
510
|
|
534
|
-
##### [quit_driver](https://github.com/appium/ruby_lib/blob/
|
511
|
+
##### [quit_driver](https://github.com/appium/ruby_lib/blob/b9b8784697d9fbe73d3883cf42d260f19138d8f5/lib/appium_lib/driver.rb#L392)
|
535
512
|
|
536
513
|
> def driver_quit
|
537
514
|
|
@@ -543,7 +520,7 @@ __Returns:__
|
|
543
520
|
|
544
521
|
--
|
545
522
|
|
546
|
-
##### [window_size](https://github.com/appium/ruby_lib/blob/
|
523
|
+
##### [window_size](https://github.com/appium/ruby_lib/blob/b9b8784697d9fbe73d3883cf42d260f19138d8f5/lib/appium_lib/driver.rb#L403)
|
547
524
|
|
548
525
|
> def window_size
|
549
526
|
|
@@ -555,7 +532,7 @@ __Returns:__
|
|
555
532
|
|
556
533
|
--
|
557
534
|
|
558
|
-
##### [start_driver](https://github.com/appium/ruby_lib/blob/
|
535
|
+
##### [start_driver](https://github.com/appium/ruby_lib/blob/b9b8784697d9fbe73d3883cf42d260f19138d8f5/lib/appium_lib/driver.rb#L432)
|
559
536
|
|
560
537
|
> def start_driver(http_client_ops =
|
561
538
|
|
@@ -572,7 +549,7 @@ __Returns:__
|
|
572
549
|
|
573
550
|
--
|
574
551
|
|
575
|
-
##### [set_implicit_wait](https://github.com/appium/ruby_lib/blob/
|
552
|
+
##### [set_implicit_wait](https://github.com/appium/ruby_lib/blob/b9b8784697d9fbe73d3883cf42d260f19138d8f5/lib/appium_lib/driver.rb#L456)
|
576
553
|
|
577
554
|
> def set_implicit_wait(wait)
|
578
555
|
|
@@ -580,7 +557,7 @@ To ignore error for Espresso Driver
|
|
580
557
|
|
581
558
|
--
|
582
559
|
|
583
|
-
##### [no_wait](https://github.com/appium/ruby_lib/blob/
|
560
|
+
##### [no_wait](https://github.com/appium/ruby_lib/blob/b9b8784697d9fbe73d3883cf42d260f19138d8f5/lib/appium_lib/driver.rb#L466)
|
584
561
|
|
585
562
|
> def no_wait
|
586
563
|
|
@@ -588,18 +565,12 @@ Set implicit wait to zero.
|
|
588
565
|
|
589
566
|
--
|
590
567
|
|
591
|
-
##### [set_wait](https://github.com/appium/ruby_lib/blob/
|
568
|
+
##### [set_wait](https://github.com/appium/ruby_lib/blob/b9b8784697d9fbe73d3883cf42d260f19138d8f5/lib/appium_lib/driver.rb#L480)
|
592
569
|
|
593
570
|
> def set_wait(timeout = nil)
|
594
571
|
|
595
572
|
Set implicit wait. Default to @core.default_wait.
|
596
573
|
|
597
|
-
```ruby
|
598
|
-
set_wait 2
|
599
|
-
set_wait # @core.default_wait
|
600
|
-
|
601
|
-
```
|
602
|
-
|
603
574
|
__Parameters:__
|
604
575
|
|
605
576
|
[Integer] timeout - the timeout in seconds
|
@@ -610,7 +581,7 @@ __Returns:__
|
|
610
581
|
|
611
582
|
--
|
612
583
|
|
613
|
-
##### [exists](https://github.com/appium/ruby_lib/blob/
|
584
|
+
##### [exists](https://github.com/appium/ruby_lib/blob/b9b8784697d9fbe73d3883cf42d260f19138d8f5/lib/appium_lib/driver.rb#L497)
|
614
585
|
|
615
586
|
> def exists(pre_check = 0, post_check = @core.default_wait)
|
616
587
|
|
@@ -634,7 +605,7 @@ __Returns:__
|
|
634
605
|
|
635
606
|
--
|
636
607
|
|
637
|
-
##### [execute_script](https://github.com/appium/ruby_lib/blob/
|
608
|
+
##### [execute_script](https://github.com/appium/ruby_lib/blob/b9b8784697d9fbe73d3883cf42d260f19138d8f5/lib/appium_lib/driver.rb#L521)
|
638
609
|
|
639
610
|
> def execute_script(script, *args)
|
640
611
|
|
@@ -652,7 +623,7 @@ __Returns:__
|
|
652
623
|
|
653
624
|
--
|
654
625
|
|
655
|
-
##### [find_elements](https://github.com/appium/ruby_lib/blob/
|
626
|
+
##### [find_elements](https://github.com/appium/ruby_lib/blob/b9b8784697d9fbe73d3883cf42d260f19138d8f5/lib/appium_lib/driver.rb#L543)
|
656
627
|
|
657
628
|
> def find_elements(*args)
|
658
629
|
|
@@ -672,7 +643,7 @@ __Returns:__
|
|
672
643
|
|
673
644
|
--
|
674
645
|
|
675
|
-
##### [find_element](https://github.com/appium/ruby_lib/blob/
|
646
|
+
##### [find_element](https://github.com/appium/ruby_lib/blob/b9b8784697d9fbe73d3883cf42d260f19138d8f5/lib/appium_lib/driver.rb#L558)
|
676
647
|
|
677
648
|
> def find_element(*args)
|
678
649
|
|
@@ -690,7 +661,7 @@ __Returns:__
|
|
690
661
|
|
691
662
|
--
|
692
663
|
|
693
|
-
##### [set_location](https://github.com/appium/ruby_lib/blob/
|
664
|
+
##### [set_location](https://github.com/appium/ruby_lib/blob/b9b8784697d9fbe73d3883cf42d260f19138d8f5/lib/appium_lib/driver.rb#L571)
|
694
665
|
|
695
666
|
> def set_location(opts = {})
|
696
667
|
|
@@ -706,7 +677,7 @@ __Returns:__
|
|
706
677
|
|
707
678
|
--
|
708
679
|
|
709
|
-
##### [x](https://github.com/appium/ruby_lib/blob/
|
680
|
+
##### [x](https://github.com/appium/ruby_lib/blob/b9b8784697d9fbe73d3883cf42d260f19138d8f5/lib/appium_lib/driver.rb#L581)
|
710
681
|
|
711
682
|
> def x
|
712
683
|
|
@@ -719,7 +690,7 @@ __Returns:__
|
|
719
690
|
|
720
691
|
--
|
721
692
|
|
722
|
-
##### [username](https://github.com/appium/ruby_lib/blob/
|
693
|
+
##### [username](https://github.com/appium/ruby_lib/blob/b9b8784697d9fbe73d3883cf42d260f19138d8f5/lib/appium_lib/sauce_labs.rb#L4)
|
723
694
|
|
724
695
|
> def username
|
725
696
|
|
@@ -727,7 +698,7 @@ Username for use on Sauce Labs. Set `false` to disable Sauce, even when SAUCE_US
|
|
727
698
|
|
728
699
|
--
|
729
700
|
|
730
|
-
##### [access_key](https://github.com/appium/ruby_lib/blob/
|
701
|
+
##### [access_key](https://github.com/appium/ruby_lib/blob/b9b8784697d9fbe73d3883cf42d260f19138d8f5/lib/appium_lib/sauce_labs.rb#L6)
|
731
702
|
|
732
703
|
> def access_key
|
733
704
|
|
@@ -735,31 +706,35 @@ Access Key for use on Sauce Labs. Set `false` to disable Sauce, even when SAUCE_
|
|
735
706
|
|
736
707
|
--
|
737
708
|
|
738
|
-
##### [endpoint](https://github.com/appium/ruby_lib/blob/
|
709
|
+
##### [endpoint](https://github.com/appium/ruby_lib/blob/b9b8784697d9fbe73d3883cf42d260f19138d8f5/lib/appium_lib/sauce_labs.rb#L8)
|
739
710
|
|
740
711
|
> def endpoint
|
741
712
|
|
742
|
-
Override the Sauce Appium endpoint to allow e.g. TestObject tests
|
713
|
+
Override the Sauce Appium endpoint to allow e.g. TestObject tests. Default is 'ondemand.saucelabs.com:443/wd/hub'.
|
743
714
|
|
744
715
|
--
|
745
716
|
|
746
|
-
##### [initialize](https://github.com/appium/ruby_lib/blob/
|
717
|
+
##### [initialize](https://github.com/appium/ruby_lib/blob/b9b8784697d9fbe73d3883cf42d260f19138d8f5/lib/appium_lib/sauce_labs.rb#L33)
|
747
718
|
|
748
719
|
> def initialize(appium_lib_opts)
|
749
720
|
|
721
|
+
Create a SauceLabs instance to manage sauce labs related attributes.
|
722
|
+
|
723
|
+
__Parameters:__
|
750
724
|
|
725
|
+
[Hash] appium_lib_opts - Appium library parameter
|
751
726
|
|
752
727
|
__Returns:__
|
753
728
|
|
754
|
-
[SauceLabs]
|
729
|
+
[Appium::SauceLabs]
|
755
730
|
|
756
731
|
--
|
757
732
|
|
758
|
-
##### [sauce_server_url?](https://github.com/appium/ruby_lib/blob/
|
733
|
+
##### [sauce_server_url?](https://github.com/appium/ruby_lib/blob/b9b8784697d9fbe73d3883cf42d260f19138d8f5/lib/appium_lib/sauce_labs.rb#L53)
|
759
734
|
|
760
735
|
> def sauce_server_url?
|
761
736
|
|
762
|
-
|
737
|
+
Return true if an instance of Appium::SauceLabs has sauce_username and sauce_access_key.
|
763
738
|
|
764
739
|
__Returns:__
|
765
740
|
|
@@ -767,15 +742,19 @@ __Returns:__
|
|
767
742
|
|
768
743
|
--
|
769
744
|
|
770
|
-
##### [server_url](https://github.com/appium/ruby_lib/blob/
|
745
|
+
##### [server_url](https://github.com/appium/ruby_lib/blob/b9b8784697d9fbe73d3883cf42d260f19138d8f5/lib/appium_lib/sauce_labs.rb#L66)
|
771
746
|
|
772
747
|
> def server_url
|
773
748
|
|
749
|
+
Return a particular server url to access to. Default is the local address.
|
750
|
+
|
751
|
+
__Returns:__
|
774
752
|
|
753
|
+
[String]
|
775
754
|
|
776
755
|
--
|
777
756
|
|
778
|
-
##### [get_log](https://github.com/appium/ruby_lib/blob/
|
757
|
+
##### [get_log](https://github.com/appium/ruby_lib/blob/b9b8784697d9fbe73d3883cf42d260f19138d8f5/lib/appium_lib/common/log.rb#L11)
|
779
758
|
|
780
759
|
> def get_log(type)
|
781
760
|
|
@@ -791,7 +770,7 @@ __Returns:__
|
|
791
770
|
|
792
771
|
--
|
793
772
|
|
794
|
-
##### [get_available_log_types](https://github.com/appium/ruby_lib/blob/
|
773
|
+
##### [get_available_log_types](https://github.com/appium/ruby_lib/blob/b9b8784697d9fbe73d3883cf42d260f19138d8f5/lib/appium_lib/common/log.rb#L23)
|
795
774
|
|
796
775
|
> def get_available_log_types
|
797
776
|
|
@@ -803,7 +782,7 @@ __Returns:__
|
|
803
782
|
|
804
783
|
--
|
805
784
|
|
806
|
-
##### [initialize](https://github.com/appium/ruby_lib/blob/
|
785
|
+
##### [initialize](https://github.com/appium/ruby_lib/blob/b9b8784697d9fbe73d3883cf42d260f19138d8f5/lib/appium_lib/common/wait.rb#L6)
|
807
786
|
|
808
787
|
> def initialize(opts = {})
|
809
788
|
|
@@ -815,7 +794,7 @@ __Returns:__
|
|
815
794
|
|
816
795
|
--
|
817
796
|
|
818
|
-
##### [wait_true](https://github.com/appium/ruby_lib/blob/
|
797
|
+
##### [wait_true](https://github.com/appium/ruby_lib/blob/b9b8784697d9fbe73d3883cf42d260f19138d8f5/lib/appium_lib/common/wait.rb#L34)
|
819
798
|
|
820
799
|
> def wait_true(opts = {})
|
821
800
|
|
@@ -835,7 +814,7 @@ __Parameters:__
|
|
835
814
|
|
836
815
|
--
|
837
816
|
|
838
|
-
##### [wait](https://github.com/appium/ruby_lib/blob/
|
817
|
+
##### [wait](https://github.com/appium/ruby_lib/blob/b9b8784697d9fbe73d3883cf42d260f19138d8f5/lib/appium_lib/common/wait.rb#L57)
|
839
818
|
|
840
819
|
> def wait(opts = {})
|
841
820
|
|
@@ -853,7 +832,7 @@ __Parameters:__
|
|
853
832
|
|
854
833
|
--
|
855
834
|
|
856
|
-
##### [ignore](https://github.com/appium/ruby_lib/blob/
|
835
|
+
##### [ignore](https://github.com/appium/ruby_lib/blob/b9b8784697d9fbe73d3883cf42d260f19138d8f5/lib/appium_lib/common/helper.rb#L16)
|
857
836
|
|
858
837
|
> def ignore
|
859
838
|
|
@@ -861,7 +840,7 @@ Return yield and ignore any exceptions.
|
|
861
840
|
|
862
841
|
--
|
863
842
|
|
864
|
-
##### [back](https://github.com/appium/ruby_lib/blob/
|
843
|
+
##### [back](https://github.com/appium/ruby_lib/blob/b9b8784697d9fbe73d3883cf42d260f19138d8f5/lib/appium_lib/common/helper.rb#L23)
|
865
844
|
|
866
845
|
> def back
|
867
846
|
|
@@ -873,15 +852,19 @@ __Returns:__
|
|
873
852
|
|
874
853
|
--
|
875
854
|
|
876
|
-
##### [session_id](https://github.com/appium/ruby_lib/blob/
|
855
|
+
##### [session_id](https://github.com/appium/ruby_lib/blob/b9b8784697d9fbe73d3883cf42d260f19138d8f5/lib/appium_lib/common/helper.rb#L34)
|
877
856
|
|
878
857
|
> def session_id
|
879
858
|
|
880
859
|
For Sauce Labs reporting. Returns the current session id.
|
881
860
|
|
861
|
+
__Returns:__
|
862
|
+
|
863
|
+
[String]
|
864
|
+
|
882
865
|
--
|
883
866
|
|
884
|
-
##### [xpath](https://github.com/appium/ruby_lib/blob/
|
867
|
+
##### [xpath](https://github.com/appium/ruby_lib/blob/b9b8784697d9fbe73d3883cf42d260f19138d8f5/lib/appium_lib/common/helper.rb#L42)
|
885
868
|
|
886
869
|
> def xpath(xpath_str)
|
887
870
|
|
@@ -897,7 +880,7 @@ __Returns:__
|
|
897
880
|
|
898
881
|
--
|
899
882
|
|
900
|
-
##### [xpaths](https://github.com/appium/ruby_lib/blob/
|
883
|
+
##### [xpaths](https://github.com/appium/ruby_lib/blob/b9b8784697d9fbe73d3883cf42d260f19138d8f5/lib/appium_lib/common/helper.rb#L50)
|
901
884
|
|
902
885
|
> def xpaths(xpath_str)
|
903
886
|
|
@@ -913,7 +896,7 @@ __Returns:__
|
|
913
896
|
|
914
897
|
--
|
915
898
|
|
916
|
-
##### [result](https://github.com/appium/ruby_lib/blob/
|
899
|
+
##### [result](https://github.com/appium/ruby_lib/blob/b9b8784697d9fbe73d3883cf42d260f19138d8f5/lib/appium_lib/common/helper.rb#L61)
|
917
900
|
|
918
901
|
> def result
|
919
902
|
|
@@ -921,7 +904,7 @@ Returns the value of attribute result
|
|
921
904
|
|
922
905
|
--
|
923
906
|
|
924
|
-
##### [initialize](https://github.com/appium/ruby_lib/blob/
|
907
|
+
##### [initialize](https://github.com/appium/ruby_lib/blob/b9b8784697d9fbe73d3883cf42d260f19138d8f5/lib/appium_lib/common/helper.rb#L63)
|
925
908
|
|
926
909
|
> def initialize
|
927
910
|
|
@@ -933,7 +916,7 @@ __Returns:__
|
|
933
916
|
|
934
917
|
--
|
935
918
|
|
936
|
-
##### [reset](https://github.com/appium/ruby_lib/blob/
|
919
|
+
##### [reset](https://github.com/appium/ruby_lib/blob/b9b8784697d9fbe73d3883cf42d260f19138d8f5/lib/appium_lib/common/helper.rb#L67)
|
937
920
|
|
938
921
|
> def reset
|
939
922
|
|
@@ -941,7 +924,7 @@ __Returns:__
|
|
941
924
|
|
942
925
|
--
|
943
926
|
|
944
|
-
##### [start_element](https://github.com/appium/ruby_lib/blob/
|
927
|
+
##### [start_element](https://github.com/appium/ruby_lib/blob/b9b8784697d9fbe73d3883cf42d260f19138d8f5/lib/appium_lib/common/helper.rb#L72)
|
945
928
|
|
946
929
|
> def start_element(name, attrs = [], driver = $driver)
|
947
930
|
|
@@ -949,7 +932,7 @@ http://nokogiri.org/Nokogiri/XML/SAX/Document.html
|
|
949
932
|
|
950
933
|
--
|
951
934
|
|
952
|
-
##### [formatted_result](https://github.com/appium/ruby_lib/blob/
|
935
|
+
##### [formatted_result](https://github.com/appium/ruby_lib/blob/b9b8784697d9fbe73d3883cf42d260f19138d8f5/lib/appium_lib/common/helper.rb#L78)
|
953
936
|
|
954
937
|
> def formatted_result
|
955
938
|
|
@@ -957,36 +940,40 @@ http://nokogiri.org/Nokogiri/XML/SAX/Document.html
|
|
957
940
|
|
958
941
|
--
|
959
942
|
|
960
|
-
##### [get_page_class](https://github.com/appium/ruby_lib/blob/
|
943
|
+
##### [get_page_class](https://github.com/appium/ruby_lib/blob/b9b8784697d9fbe73d3883cf42d260f19138d8f5/lib/appium_lib/common/helper.rb#L97)
|
961
944
|
|
962
945
|
> def get_page_class
|
963
946
|
|
964
947
|
Returns a string of class counts of visible elements.
|
965
948
|
|
949
|
+
__Returns:__
|
950
|
+
|
951
|
+
[String]
|
952
|
+
|
966
953
|
--
|
967
954
|
|
968
|
-
##### [page_class](https://github.com/appium/ruby_lib/blob/
|
955
|
+
##### [page_class](https://github.com/appium/ruby_lib/blob/b9b8784697d9fbe73d3883cf42d260f19138d8f5/lib/appium_lib/common/helper.rb#L122)
|
969
956
|
|
970
957
|
> def page_class
|
971
958
|
|
972
959
|
Count all classes on screen and print to stdout.
|
973
960
|
Useful for appium_console.
|
974
961
|
|
962
|
+
__Returns:__
|
963
|
+
|
964
|
+
[nil]
|
965
|
+
|
975
966
|
--
|
976
967
|
|
977
|
-
##### [px_to_window_rel](https://github.com/appium/ruby_lib/blob/
|
968
|
+
##### [px_to_window_rel](https://github.com/appium/ruby_lib/blob/b9b8784697d9fbe73d3883cf42d260f19138d8f5/lib/appium_lib/common/helper.rb#L133)
|
978
969
|
|
979
970
|
> def px_to_window_rel(opts = {}, driver = $driver)
|
980
971
|
|
981
972
|
Converts pixel values to window relative values
|
982
973
|
|
983
|
-
```ruby
|
984
|
-
px_to_window_rel x: 50, y: 150
|
985
|
-
```
|
986
|
-
|
987
974
|
--
|
988
975
|
|
989
|
-
##### [xml_keys](https://github.com/appium/ruby_lib/blob/
|
976
|
+
##### [xml_keys](https://github.com/appium/ruby_lib/blob/b9b8784697d9fbe73d3883cf42d260f19138d8f5/lib/appium_lib/common/helper.rb#L152)
|
990
977
|
|
991
978
|
> def xml_keys(target)
|
992
979
|
|
@@ -1002,7 +989,7 @@ __Returns:__
|
|
1002
989
|
|
1003
990
|
--
|
1004
991
|
|
1005
|
-
##### [xml_values](https://github.com/appium/ruby_lib/blob/
|
992
|
+
##### [xml_values](https://github.com/appium/ruby_lib/blob/b9b8784697d9fbe73d3883cf42d260f19138d8f5/lib/appium_lib/common/helper.rb#L160)
|
1006
993
|
|
1007
994
|
> def xml_values(target)
|
1008
995
|
|
@@ -1018,7 +1005,7 @@ __Returns:__
|
|
1018
1005
|
|
1019
1006
|
--
|
1020
1007
|
|
1021
|
-
##### [resolve_id](https://github.com/appium/ruby_lib/blob/
|
1008
|
+
##### [resolve_id](https://github.com/appium/ruby_lib/blob/b9b8784697d9fbe73d3883cf42d260f19138d8f5/lib/appium_lib/common/helper.rb#L168)
|
1022
1009
|
|
1023
1010
|
> def resolve_id(id)
|
1024
1011
|
|
@@ -1034,7 +1021,7 @@ __Returns:__
|
|
1034
1021
|
|
1035
1022
|
--
|
1036
1023
|
|
1037
|
-
##### [filter](https://github.com/appium/ruby_lib/blob/
|
1024
|
+
##### [filter](https://github.com/appium/ruby_lib/blob/b9b8784697d9fbe73d3883cf42d260f19138d8f5/lib/appium_lib/common/helper.rb#L175)
|
1038
1025
|
|
1039
1026
|
> def filter
|
1040
1027
|
|
@@ -1042,7 +1029,7 @@ Returns the value of attribute filter
|
|
1042
1029
|
|
1043
1030
|
--
|
1044
1031
|
|
1045
|
-
##### [filter=](https://github.com/appium/ruby_lib/blob/
|
1032
|
+
##### [filter=](https://github.com/appium/ruby_lib/blob/b9b8784697d9fbe73d3883cf42d260f19138d8f5/lib/appium_lib/common/helper.rb#L178)
|
1046
1033
|
|
1047
1034
|
> def filter=(value)
|
1048
1035
|
|
@@ -1050,7 +1037,7 @@ convert to string to support symbols
|
|
1050
1037
|
|
1051
1038
|
--
|
1052
1039
|
|
1053
|
-
##### [initialize](https://github.com/appium/ruby_lib/blob/
|
1040
|
+
##### [initialize](https://github.com/appium/ruby_lib/blob/b9b8784697d9fbe73d3883cf42d260f19138d8f5/lib/appium_lib/common/helper.rb#L184)
|
1054
1041
|
|
1055
1042
|
> def initialize
|
1056
1043
|
|
@@ -1062,7 +1049,7 @@ __Returns:__
|
|
1062
1049
|
|
1063
1050
|
--
|
1064
1051
|
|
1065
|
-
##### [reset](https://github.com/appium/ruby_lib/blob/
|
1052
|
+
##### [reset](https://github.com/appium/ruby_lib/blob/b9b8784697d9fbe73d3883cf42d260f19138d8f5/lib/appium_lib/common/helper.rb#L189)
|
1066
1053
|
|
1067
1054
|
> def reset
|
1068
1055
|
|
@@ -1070,7 +1057,7 @@ __Returns:__
|
|
1070
1057
|
|
1071
1058
|
--
|
1072
1059
|
|
1073
|
-
##### [result](https://github.com/appium/ruby_lib/blob/
|
1060
|
+
##### [result](https://github.com/appium/ruby_lib/blob/b9b8784697d9fbe73d3883cf42d260f19138d8f5/lib/appium_lib/common/helper.rb#L195)
|
1074
1061
|
|
1075
1062
|
> def result
|
1076
1063
|
|
@@ -1078,7 +1065,7 @@ __Returns:__
|
|
1078
1065
|
|
1079
1066
|
--
|
1080
1067
|
|
1081
|
-
##### [start_element](https://github.com/appium/ruby_lib/blob/
|
1068
|
+
##### [start_element](https://github.com/appium/ruby_lib/blob/b9b8784697d9fbe73d3883cf42d260f19138d8f5/lib/appium_lib/common/helper.rb#L211)
|
1082
1069
|
|
1083
1070
|
> def start_element(name, attrs = [])
|
1084
1071
|
|
@@ -1086,7 +1073,7 @@ __Returns:__
|
|
1086
1073
|
|
1087
1074
|
--
|
1088
1075
|
|
1089
|
-
##### [end_element](https://github.com/appium/ruby_lib/blob/
|
1076
|
+
##### [end_element](https://github.com/appium/ruby_lib/blob/b9b8784697d9fbe73d3883cf42d260f19138d8f5/lib/appium_lib/common/helper.rb#L220)
|
1090
1077
|
|
1091
1078
|
> def end_element(name)
|
1092
1079
|
|
@@ -1094,7 +1081,7 @@ __Returns:__
|
|
1094
1081
|
|
1095
1082
|
--
|
1096
1083
|
|
1097
|
-
##### [characters](https://github.com/appium/ruby_lib/blob/
|
1084
|
+
##### [characters](https://github.com/appium/ruby_lib/blob/b9b8784697d9fbe73d3883cf42d260f19138d8f5/lib/appium_lib/common/helper.rb#L226)
|
1098
1085
|
|
1099
1086
|
> def characters(chars)
|
1100
1087
|
|
@@ -1102,38 +1089,24 @@ __Returns:__
|
|
1102
1089
|
|
1103
1090
|
--
|
1104
1091
|
|
1105
|
-
##### [DEFAULT_HEADERS](https://github.com/appium/ruby_lib/blob/
|
1092
|
+
##### [DEFAULT_HEADERS](https://github.com/appium/ruby_lib/blob/b9b8784697d9fbe73d3883cf42d260f19138d8f5/lib/appium_lib/common/http_client.rb#L8)
|
1106
1093
|
|
1107
1094
|
> DEFAULT_HEADERS = { 'Accept' => CONTENT_TYPE, 'User-Agent' => "appium/ruby_lib/#{::Appium::VERSION}" }.freeze
|
1108
1095
|
|
1109
|
-
|
1096
|
+
Default HTTP client inherit Appium::Core::Base::Http::Default, but has different DEFAULT_HEADERS
|
1110
1097
|
|
1111
1098
|
--
|
1112
1099
|
|
1113
|
-
##### [pinch](https://github.com/appium/ruby_lib/blob/
|
1100
|
+
##### [pinch](https://github.com/appium/ruby_lib/blob/b9b8784697d9fbe73d3883cf42d260f19138d8f5/lib/appium_lib/common/multi_touch.rb#L51)
|
1114
1101
|
|
1115
1102
|
> def pinch(percentage = 25, auto_perform = true, driver = $driver)
|
1116
1103
|
|
1117
1104
|
Convenience method for pinching the screen.
|
1118
1105
|
Places two fingers at the edges of the screen and brings them together.
|
1119
|
-
```ruby
|
1120
|
-
pinch 75 #=> Pinch the screen from the top right and bottom left corners
|
1121
|
-
```
|
1122
|
-
|
1123
1106
|
Without auto_perform
|
1124
1107
|
|
1125
|
-
```ruby
|
1126
|
-
action = pinch 75, false #=> Pinch the screen from the top right and bottom left corners
|
1127
|
-
action.perform #=> to 25% of its size.
|
1128
|
-
```
|
1129
|
-
|
1130
1108
|
With driver
|
1131
1109
|
|
1132
|
-
```ruby
|
1133
|
-
driver = Appium::Driver.new(opts, false).start_driver
|
1134
|
-
pinch 75, true, driver #=> Pinch the screen from the top right and bottom left corners
|
1135
|
-
```
|
1136
|
-
|
1137
1110
|
__Parameters:__
|
1138
1111
|
|
1139
1112
|
[int] percentage - The percent size by which to shrink the screen when pinched.
|
@@ -1144,30 +1117,16 @@ __Parameters:__
|
|
1144
1117
|
|
1145
1118
|
--
|
1146
1119
|
|
1147
|
-
##### [zoom](https://github.com/appium/ruby_lib/blob/
|
1120
|
+
##### [zoom](https://github.com/appium/ruby_lib/blob/b9b8784697d9fbe73d3883cf42d260f19138d8f5/lib/appium_lib/common/multi_touch.rb#L79)
|
1148
1121
|
|
1149
1122
|
> def zoom(percentage = 200, auto_perform = true, driver = $driver)
|
1150
1123
|
|
1151
1124
|
Convenience method for zooming the screen.
|
1152
1125
|
Places two fingers at the edges of the screen and brings them together.
|
1153
|
-
```ruby
|
1154
|
-
action = zoom 200 #=> Zoom in the screen from the center until it doubles in size.
|
1155
|
-
```
|
1156
|
-
|
1157
1126
|
Without auto_perform
|
1158
1127
|
|
1159
|
-
```ruby
|
1160
|
-
action = zoom 200, false #=> Zoom in the screen from the center until it doubles in size.
|
1161
|
-
action.perform #=> to 25% of its size.
|
1162
|
-
```
|
1163
|
-
|
1164
1128
|
With driver
|
1165
1129
|
|
1166
|
-
```ruby
|
1167
|
-
driver = Appium::Driver.new(opts, false).start_driver
|
1168
|
-
pinch 200, true, driver #=> Zoom in the screen from the center until it doubles in size.
|
1169
|
-
```
|
1170
|
-
|
1171
1130
|
__Parameters:__
|
1172
1131
|
|
1173
1132
|
[int] percentage - The percent size by which to shrink the screen when pinched.
|
@@ -1178,7 +1137,7 @@ __Parameters:__
|
|
1178
1137
|
|
1179
1138
|
--
|
1180
1139
|
|
1181
|
-
##### [initialize](https://github.com/appium/ruby_lib/blob/
|
1140
|
+
##### [initialize](https://github.com/appium/ruby_lib/blob/b9b8784697d9fbe73d3883cf42d260f19138d8f5/lib/appium_lib/common/multi_touch.rb#L84)
|
1182
1141
|
|
1183
1142
|
> def initialize(driver = $driver)
|
1184
1143
|
|
@@ -1190,7 +1149,7 @@ __Returns:__
|
|
1190
1149
|
|
1191
1150
|
--
|
1192
1151
|
|
1193
|
-
##### [COMPLEX_ACTIONS](https://github.com/appium/ruby_lib/blob/
|
1152
|
+
##### [COMPLEX_ACTIONS](https://github.com/appium/ruby_lib/blob/b9b8784697d9fbe73d3883cf42d260f19138d8f5/lib/appium_lib/common/touch_actions.rb#L33)
|
1194
1153
|
|
1195
1154
|
> COMPLEX_ACTIONS = ::Appium::Core::TouchAction::COMPLEX_ACTIONS
|
1196
1155
|
|
@@ -1198,7 +1157,7 @@ __Returns:__
|
|
1198
1157
|
|
1199
1158
|
--
|
1200
1159
|
|
1201
|
-
##### [initialize](https://github.com/appium/ruby_lib/blob/
|
1160
|
+
##### [initialize](https://github.com/appium/ruby_lib/blob/b9b8784697d9fbe73d3883cf42d260f19138d8f5/lib/appium_lib/common/touch_actions.rb#L47)
|
1202
1161
|
|
1203
1162
|
> def initialize(driver = $driver)
|
1204
1163
|
|
@@ -1210,7 +1169,7 @@ __Returns:__
|
|
1210
1169
|
|
1211
1170
|
--
|
1212
1171
|
|
1213
|
-
##### [for](https://github.com/appium/ruby_lib/blob/
|
1172
|
+
##### [for](https://github.com/appium/ruby_lib/blob/b9b8784697d9fbe73d3883cf42d260f19138d8f5/lib/appium_lib/ios/ios.rb#L15) ios
|
1214
1173
|
|
1215
1174
|
> def self.for(target)
|
1216
1175
|
|
@@ -1218,7 +1177,7 @@ __Returns:__
|
|
1218
1177
|
|
1219
1178
|
--
|
1220
1179
|
|
1221
|
-
##### [UIAStaticText](https://github.com/appium/ruby_lib/blob/
|
1180
|
+
##### [UIAStaticText](https://github.com/appium/ruby_lib/blob/b9b8784697d9fbe73d3883cf42d260f19138d8f5/lib/appium_lib/ios/element/text.rb#L4) ios
|
1222
1181
|
|
1223
1182
|
> UIAStaticText = 'UIAStaticText'.freeze
|
1224
1183
|
|
@@ -1226,7 +1185,7 @@ __Returns:__
|
|
1226
1185
|
|
1227
1186
|
--
|
1228
1187
|
|
1229
|
-
##### [XCUIElementTypeStaticText](https://github.com/appium/ruby_lib/blob/
|
1188
|
+
##### [XCUIElementTypeStaticText](https://github.com/appium/ruby_lib/blob/b9b8784697d9fbe73d3883cf42d260f19138d8f5/lib/appium_lib/ios/element/text.rb#L5) ios
|
1230
1189
|
|
1231
1190
|
> XCUIElementTypeStaticText = 'XCUIElementTypeStaticText'.freeze
|
1232
1191
|
|
@@ -1234,7 +1193,7 @@ __Returns:__
|
|
1234
1193
|
|
1235
1194
|
--
|
1236
1195
|
|
1237
|
-
##### [static_text_class](https://github.com/appium/ruby_lib/blob/
|
1196
|
+
##### [static_text_class](https://github.com/appium/ruby_lib/blob/b9b8784697d9fbe73d3883cf42d260f19138d8f5/lib/appium_lib/ios/element/text.rb#L8) ios
|
1238
1197
|
|
1239
1198
|
> def static_text_class
|
1240
1199
|
|
@@ -1246,7 +1205,7 @@ __Returns:__
|
|
1246
1205
|
|
1247
1206
|
--
|
1248
1207
|
|
1249
|
-
##### [text](https://github.com/appium/ruby_lib/blob/
|
1208
|
+
##### [text](https://github.com/appium/ruby_lib/blob/b9b8784697d9fbe73d3883cf42d260f19138d8f5/lib/appium_lib/ios/element/text.rb#L16) ios
|
1250
1209
|
|
1251
1210
|
> def text(value)
|
1252
1211
|
|
@@ -1263,7 +1222,7 @@ __Returns:__
|
|
1263
1222
|
|
1264
1223
|
--
|
1265
1224
|
|
1266
|
-
##### [texts](https://github.com/appium/ruby_lib/blob/
|
1225
|
+
##### [texts](https://github.com/appium/ruby_lib/blob/b9b8784697d9fbe73d3883cf42d260f19138d8f5/lib/appium_lib/ios/element/text.rb#L25) ios
|
1267
1226
|
|
1268
1227
|
> def texts(value = false)
|
1269
1228
|
|
@@ -1280,7 +1239,7 @@ __Returns:__
|
|
1280
1239
|
|
1281
1240
|
--
|
1282
1241
|
|
1283
|
-
##### [first_text](https://github.com/appium/ruby_lib/blob/
|
1242
|
+
##### [first_text](https://github.com/appium/ruby_lib/blob/b9b8784697d9fbe73d3883cf42d260f19138d8f5/lib/appium_lib/ios/element/text.rb#L32) ios
|
1284
1243
|
|
1285
1244
|
> def first_text
|
1286
1245
|
|
@@ -1292,7 +1251,7 @@ __Returns:__
|
|
1292
1251
|
|
1293
1252
|
--
|
1294
1253
|
|
1295
|
-
##### [last_text](https://github.com/appium/ruby_lib/blob/
|
1254
|
+
##### [last_text](https://github.com/appium/ruby_lib/blob/b9b8784697d9fbe73d3883cf42d260f19138d8f5/lib/appium_lib/ios/element/text.rb#L38) ios
|
1296
1255
|
|
1297
1256
|
> def last_text
|
1298
1257
|
|
@@ -1304,7 +1263,7 @@ __Returns:__
|
|
1304
1263
|
|
1305
1264
|
--
|
1306
1265
|
|
1307
|
-
##### [text_exact](https://github.com/appium/ruby_lib/blob/
|
1266
|
+
##### [text_exact](https://github.com/appium/ruby_lib/blob/b9b8784697d9fbe73d3883cf42d260f19138d8f5/lib/appium_lib/ios/element/text.rb#L45) ios
|
1308
1267
|
|
1309
1268
|
> def text_exact(value)
|
1310
1269
|
|
@@ -1320,7 +1279,7 @@ __Returns:__
|
|
1320
1279
|
|
1321
1280
|
--
|
1322
1281
|
|
1323
|
-
##### [texts_exact](https://github.com/appium/ruby_lib/blob/
|
1282
|
+
##### [texts_exact](https://github.com/appium/ruby_lib/blob/b9b8784697d9fbe73d3883cf42d260f19138d8f5/lib/appium_lib/ios/element/text.rb#L52) ios
|
1324
1283
|
|
1325
1284
|
> def texts_exact(value)
|
1326
1285
|
|
@@ -1336,7 +1295,7 @@ __Returns:__
|
|
1336
1295
|
|
1337
1296
|
--
|
1338
1297
|
|
1339
|
-
##### [filter](https://github.com/appium/ruby_lib/blob/
|
1298
|
+
##### [filter](https://github.com/appium/ruby_lib/blob/b9b8784697d9fbe73d3883cf42d260f19138d8f5/lib/appium_lib/ios/common/helper.rb#L5) ios
|
1340
1299
|
|
1341
1300
|
> def filter
|
1342
1301
|
|
@@ -1344,7 +1303,7 @@ Returns the value of attribute filter
|
|
1344
1303
|
|
1345
1304
|
--
|
1346
1305
|
|
1347
|
-
##### [filter=](https://github.com/appium/ruby_lib/blob/
|
1306
|
+
##### [filter=](https://github.com/appium/ruby_lib/blob/b9b8784697d9fbe73d3883cf42d260f19138d8f5/lib/appium_lib/ios/common/helper.rb#L5) ios
|
1348
1307
|
|
1349
1308
|
> def filter=(value)
|
1350
1309
|
|
@@ -1356,7 +1315,7 @@ __Parameters:__
|
|
1356
1315
|
|
1357
1316
|
--
|
1358
1317
|
|
1359
|
-
##### [start_element](https://github.com/appium/ruby_lib/blob/
|
1318
|
+
##### [start_element](https://github.com/appium/ruby_lib/blob/b9b8784697d9fbe73d3883cf42d260f19138d8f5/lib/appium_lib/ios/common/helper.rb#L7) ios
|
1360
1319
|
|
1361
1320
|
> def start_element(type, attrs = [])
|
1362
1321
|
|
@@ -1364,7 +1323,7 @@ __Parameters:__
|
|
1364
1323
|
|
1365
1324
|
--
|
1366
1325
|
|
1367
|
-
##### [ios_password](https://github.com/appium/ruby_lib/blob/
|
1326
|
+
##### [ios_password](https://github.com/appium/ruby_lib/blob/b9b8784697d9fbe73d3883cf42d260f19138d8f5/lib/appium_lib/ios/common/helper.rb#L44) ios
|
1368
1327
|
|
1369
1328
|
> def ios_password(length = 1)
|
1370
1329
|
|
@@ -1382,7 +1341,7 @@ __Returns:__
|
|
1382
1341
|
|
1383
1342
|
--
|
1384
1343
|
|
1385
|
-
##### [page](https://github.com/appium/ruby_lib/blob/
|
1344
|
+
##### [page](https://github.com/appium/ruby_lib/blob/b9b8784697d9fbe73d3883cf42d260f19138d8f5/lib/appium_lib/ios/common/helper.rb#L60) ios
|
1386
1345
|
|
1387
1346
|
> def page(opts = {})
|
1388
1347
|
|
@@ -1400,7 +1359,7 @@ __Returns:__
|
|
1400
1359
|
|
1401
1360
|
--
|
1402
1361
|
|
1403
|
-
##### [source_window](https://github.com/appium/ruby_lib/blob/
|
1362
|
+
##### [source_window](https://github.com/appium/ruby_lib/blob/b9b8784697d9fbe73d3883cf42d260f19138d8f5/lib/appium_lib/ios/common/helper.rb#L84) ios
|
1404
1363
|
|
1405
1364
|
> def source_window(_window_number = nil)
|
1406
1365
|
|
@@ -1412,7 +1371,7 @@ __Returns:__
|
|
1412
1371
|
|
1413
1372
|
--
|
1414
1373
|
|
1415
|
-
##### [id](https://github.com/appium/ruby_lib/blob/
|
1374
|
+
##### [id](https://github.com/appium/ruby_lib/blob/b9b8784697d9fbe73d3883cf42d260f19138d8f5/lib/appium_lib/ios/common/helper.rb#L92) ios
|
1416
1375
|
|
1417
1376
|
> def id(id)
|
1418
1377
|
|
@@ -1428,7 +1387,7 @@ __Returns:__
|
|
1428
1387
|
|
1429
1388
|
--
|
1430
1389
|
|
1431
|
-
##### [ele_index](https://github.com/appium/ruby_lib/blob/
|
1390
|
+
##### [ele_index](https://github.com/appium/ruby_lib/blob/b9b8784697d9fbe73d3883cf42d260f19138d8f5/lib/appium_lib/ios/common/helper.rb#L100) ios
|
1432
1391
|
|
1433
1392
|
> def ele_index(class_name, index)
|
1434
1393
|
|
@@ -1446,7 +1405,7 @@ __Returns:__
|
|
1446
1405
|
|
1447
1406
|
--
|
1448
1407
|
|
1449
|
-
##### [find_ele_by_attr](https://github.com/appium/ruby_lib/blob/
|
1408
|
+
##### [find_ele_by_attr](https://github.com/appium/ruby_lib/blob/b9b8784697d9fbe73d3883cf42d260f19138d8f5/lib/appium_lib/ios/common/helper.rb#L128) ios
|
1450
1409
|
|
1451
1410
|
> def find_ele_by_attr(class_name, attr, value)
|
1452
1411
|
|
@@ -1468,7 +1427,7 @@ __Returns:__
|
|
1468
1427
|
|
1469
1428
|
--
|
1470
1429
|
|
1471
|
-
##### [find_eles_by_attr](https://github.com/appium/ruby_lib/blob/
|
1430
|
+
##### [find_eles_by_attr](https://github.com/appium/ruby_lib/blob/b9b8784697d9fbe73d3883cf42d260f19138d8f5/lib/appium_lib/ios/common/helper.rb#L139) ios
|
1472
1431
|
|
1473
1432
|
> def find_eles_by_attr(class_name, attr, value)
|
1474
1433
|
|
@@ -1490,7 +1449,7 @@ __Returns:__
|
|
1490
1449
|
|
1491
1450
|
--
|
1492
1451
|
|
1493
|
-
##### [find_ele_by_predicate](https://github.com/appium/ruby_lib/blob/
|
1452
|
+
##### [find_ele_by_predicate](https://github.com/appium/ruby_lib/blob/b9b8784697d9fbe73d3883cf42d260f19138d8f5/lib/appium_lib/ios/common/helper.rb#L152) ios
|
1494
1453
|
|
1495
1454
|
> def find_ele_by_predicate(class_name: '*', value:)
|
1496
1455
|
|
@@ -1507,7 +1466,7 @@ __Returns:__
|
|
1507
1466
|
|
1508
1467
|
--
|
1509
1468
|
|
1510
|
-
##### [find_eles_by_predicate](https://github.com/appium/ruby_lib/blob/
|
1469
|
+
##### [find_eles_by_predicate](https://github.com/appium/ruby_lib/blob/b9b8784697d9fbe73d3883cf42d260f19138d8f5/lib/appium_lib/ios/common/helper.rb#L163) ios
|
1511
1470
|
|
1512
1471
|
> def find_eles_by_predicate(class_name: '*', value:)
|
1513
1472
|
|
@@ -1526,7 +1485,7 @@ __Returns:__
|
|
1526
1485
|
|
1527
1486
|
--
|
1528
1487
|
|
1529
|
-
##### [find_ele_by_attr_include](https://github.com/appium/ruby_lib/blob/
|
1488
|
+
##### [find_ele_by_attr_include](https://github.com/appium/ruby_lib/blob/b9b8784697d9fbe73d3883cf42d260f19138d8f5/lib/appium_lib/ios/common/helper.rb#L179) ios
|
1530
1489
|
|
1531
1490
|
> def find_ele_by_attr_include(class_name, attr, value)
|
1532
1491
|
|
@@ -1547,7 +1506,7 @@ __Returns:__
|
|
1547
1506
|
|
1548
1507
|
--
|
1549
1508
|
|
1550
|
-
##### [find_eles_by_attr_include](https://github.com/appium/ruby_lib/blob/
|
1509
|
+
##### [find_eles_by_attr_include](https://github.com/appium/ruby_lib/blob/b9b8784697d9fbe73d3883cf42d260f19138d8f5/lib/appium_lib/ios/common/helper.rb#L189) ios
|
1551
1510
|
|
1552
1511
|
> def find_eles_by_attr_include(class_name, attr, value)
|
1553
1512
|
|
@@ -1568,7 +1527,7 @@ __Returns:__
|
|
1568
1527
|
|
1569
1528
|
--
|
1570
1529
|
|
1571
|
-
##### [find_ele_by_predicate_include](https://github.com/appium/ruby_lib/blob/
|
1530
|
+
##### [find_ele_by_predicate_include](https://github.com/appium/ruby_lib/blob/b9b8784697d9fbe73d3883cf42d260f19138d8f5/lib/appium_lib/ios/common/helper.rb#L197) ios
|
1572
1531
|
|
1573
1532
|
> def find_ele_by_predicate_include(class_name: '*', value:)
|
1574
1533
|
|
@@ -1585,7 +1544,7 @@ __Returns:__
|
|
1585
1544
|
|
1586
1545
|
--
|
1587
1546
|
|
1588
|
-
##### [find_eles_by_predicate_include](https://github.com/appium/ruby_lib/blob/
|
1547
|
+
##### [find_eles_by_predicate_include](https://github.com/appium/ruby_lib/blob/b9b8784697d9fbe73d3883cf42d260f19138d8f5/lib/appium_lib/ios/common/helper.rb#L208) ios
|
1589
1548
|
|
1590
1549
|
> def find_eles_by_predicate_include(class_name: '*', value:)
|
1591
1550
|
|
@@ -1604,7 +1563,7 @@ __Returns:__
|
|
1604
1563
|
|
1605
1564
|
--
|
1606
1565
|
|
1607
|
-
##### [first_ele](https://github.com/appium/ruby_lib/blob/
|
1566
|
+
##### [first_ele](https://github.com/appium/ruby_lib/blob/b9b8784697d9fbe73d3883cf42d260f19138d8f5/lib/appium_lib/ios/common/helper.rb#L221) ios
|
1608
1567
|
|
1609
1568
|
> def first_ele(class_name)
|
1610
1569
|
|
@@ -1620,7 +1579,7 @@ __Returns:__
|
|
1620
1579
|
|
1621
1580
|
--
|
1622
1581
|
|
1623
|
-
##### [last_ele](https://github.com/appium/ruby_lib/blob/
|
1582
|
+
##### [last_ele](https://github.com/appium/ruby_lib/blob/b9b8784697d9fbe73d3883cf42d260f19138d8f5/lib/appium_lib/ios/common/helper.rb#L228) ios
|
1624
1583
|
|
1625
1584
|
> def last_ele(class_name)
|
1626
1585
|
|
@@ -1636,7 +1595,7 @@ __Returns:__
|
|
1636
1595
|
|
1637
1596
|
--
|
1638
1597
|
|
1639
|
-
##### [tag](https://github.com/appium/ruby_lib/blob/
|
1598
|
+
##### [tag](https://github.com/appium/ruby_lib/blob/b9b8784697d9fbe73d3883cf42d260f19138d8f5/lib/appium_lib/ios/common/helper.rb#L236) ios
|
1640
1599
|
|
1641
1600
|
> def tag(class_name)
|
1642
1601
|
|
@@ -1652,7 +1611,7 @@ __Returns:__
|
|
1652
1611
|
|
1653
1612
|
--
|
1654
1613
|
|
1655
|
-
##### [tags](https://github.com/appium/ruby_lib/blob/
|
1614
|
+
##### [tags](https://github.com/appium/ruby_lib/blob/b9b8784697d9fbe73d3883cf42d260f19138d8f5/lib/appium_lib/ios/common/helper.rb#L244) ios
|
1656
1615
|
|
1657
1616
|
> def tags(class_name)
|
1658
1617
|
|
@@ -1668,7 +1627,7 @@ __Returns:__
|
|
1668
1627
|
|
1669
1628
|
--
|
1670
1629
|
|
1671
|
-
##### [tags_include](https://github.com/appium/ruby_lib/blob/
|
1630
|
+
##### [tags_include](https://github.com/appium/ruby_lib/blob/b9b8784697d9fbe73d3883cf42d260f19138d8f5/lib/appium_lib/ios/common/helper.rb#L255) ios
|
1672
1631
|
|
1673
1632
|
> def tags_include(class_names:, value: nil)
|
1674
1633
|
|
@@ -1688,7 +1647,7 @@ __Returns:__
|
|
1688
1647
|
|
1689
1648
|
--
|
1690
1649
|
|
1691
|
-
##### [tags_exact](https://github.com/appium/ruby_lib/blob/
|
1650
|
+
##### [tags_exact](https://github.com/appium/ruby_lib/blob/b9b8784697d9fbe73d3883cf42d260f19138d8f5/lib/appium_lib/ios/common/helper.rb#L270) ios
|
1692
1651
|
|
1693
1652
|
> def tags_exact(class_names:, value: nil)
|
1694
1653
|
|
@@ -1708,7 +1667,7 @@ __Returns:__
|
|
1708
1667
|
|
1709
1668
|
--
|
1710
1669
|
|
1711
|
-
##### [ele_by_json_visible_contains](https://github.com/appium/ruby_lib/blob/
|
1670
|
+
##### [ele_by_json_visible_contains](https://github.com/appium/ruby_lib/blob/b9b8784697d9fbe73d3883cf42d260f19138d8f5/lib/appium_lib/ios/common/helper.rb#L307) ios
|
1712
1671
|
|
1713
1672
|
> def ele_by_json_visible_contains(element, value)
|
1714
1673
|
|
@@ -1727,7 +1686,7 @@ __Returns:__
|
|
1727
1686
|
|
1728
1687
|
--
|
1729
1688
|
|
1730
|
-
##### [eles_by_json_visible_contains](https://github.com/appium/ruby_lib/blob/
|
1689
|
+
##### [eles_by_json_visible_contains](https://github.com/appium/ruby_lib/blob/b9b8784697d9fbe73d3883cf42d260f19138d8f5/lib/appium_lib/ios/common/helper.rb#L316) ios
|
1731
1690
|
|
1732
1691
|
> def eles_by_json_visible_contains(element, value)
|
1733
1692
|
|
@@ -1746,7 +1705,7 @@ __Returns:__
|
|
1746
1705
|
|
1747
1706
|
--
|
1748
1707
|
|
1749
|
-
##### [ele_by_json_visible_exact](https://github.com/appium/ruby_lib/blob/
|
1708
|
+
##### [ele_by_json_visible_exact](https://github.com/appium/ruby_lib/blob/b9b8784697d9fbe73d3883cf42d260f19138d8f5/lib/appium_lib/ios/common/helper.rb#L346) ios
|
1750
1709
|
|
1751
1710
|
> def ele_by_json_visible_exact(element, value)
|
1752
1711
|
|
@@ -1765,7 +1724,7 @@ __Returns:__
|
|
1765
1724
|
|
1766
1725
|
--
|
1767
1726
|
|
1768
|
-
##### [eles_by_json_visible_exact](https://github.com/appium/ruby_lib/blob/
|
1727
|
+
##### [eles_by_json_visible_exact](https://github.com/appium/ruby_lib/blob/b9b8784697d9fbe73d3883cf42d260f19138d8f5/lib/appium_lib/ios/common/helper.rb#L355) ios
|
1769
1728
|
|
1770
1729
|
> def eles_by_json_visible_exact(element, value)
|
1771
1730
|
|
@@ -1784,7 +1743,7 @@ __Returns:__
|
|
1784
1743
|
|
1785
1744
|
--
|
1786
1745
|
|
1787
|
-
##### [_all_pred](https://github.com/appium/ruby_lib/blob/
|
1746
|
+
##### [_all_pred](https://github.com/appium/ruby_lib/blob/b9b8784697d9fbe73d3883cf42d260f19138d8f5/lib/appium_lib/ios/common/helper.rb#L364) ios
|
1788
1747
|
|
1789
1748
|
> def _all_pred(opts)
|
1790
1749
|
|
@@ -1794,7 +1753,7 @@ visible - if true, only visible elements are returned. default true
|
|
1794
1753
|
|
1795
1754
|
--
|
1796
1755
|
|
1797
|
-
##### [ele_with_pred](https://github.com/appium/ruby_lib/blob/
|
1756
|
+
##### [ele_with_pred](https://github.com/appium/ruby_lib/blob/b9b8784697d9fbe73d3883cf42d260f19138d8f5/lib/appium_lib/ios/common/helper.rb#L377) ios
|
1798
1757
|
|
1799
1758
|
> def ele_with_pred(opts)
|
1800
1759
|
|
@@ -1810,7 +1769,7 @@ __Returns:__
|
|
1810
1769
|
|
1811
1770
|
--
|
1812
1771
|
|
1813
|
-
##### [eles_with_pred](https://github.com/appium/ruby_lib/blob/
|
1772
|
+
##### [eles_with_pred](https://github.com/appium/ruby_lib/blob/b9b8784697d9fbe73d3883cf42d260f19138d8f5/lib/appium_lib/ios/common/helper.rb#L388) ios
|
1814
1773
|
|
1815
1774
|
> def eles_with_pred(opts)
|
1816
1775
|
|
@@ -1826,7 +1785,7 @@ __Returns:__
|
|
1826
1785
|
|
1827
1786
|
--
|
1828
1787
|
|
1829
|
-
##### [source](https://github.com/appium/ruby_lib/blob/
|
1788
|
+
##### [source](https://github.com/appium/ruby_lib/blob/b9b8784697d9fbe73d3883cf42d260f19138d8f5/lib/appium_lib/ios/common/helper.rb#L394) ios
|
1830
1789
|
|
1831
1790
|
> def source
|
1832
1791
|
|
@@ -1838,7 +1797,7 @@ __Returns:__
|
|
1838
1797
|
|
1839
1798
|
--
|
1840
1799
|
|
1841
|
-
##### [_validate_object](https://github.com/appium/ruby_lib/blob/
|
1800
|
+
##### [_validate_object](https://github.com/appium/ruby_lib/blob/b9b8784697d9fbe73d3883cf42d260f19138d8f5/lib/appium_lib/ios/common/helper.rb#L398) ios
|
1842
1801
|
|
1843
1802
|
> def _validate_object(*objects)
|
1844
1803
|
|
@@ -1846,7 +1805,7 @@ __Returns:__
|
|
1846
1805
|
|
1847
1806
|
--
|
1848
1807
|
|
1849
|
-
##### [_by_json](https://github.com/appium/ruby_lib/blob/
|
1808
|
+
##### [_by_json](https://github.com/appium/ruby_lib/blob/b9b8784697d9fbe73d3883cf42d260f19138d8f5/lib/appium_lib/ios/common/helper.rb#L447) ios
|
1850
1809
|
|
1851
1810
|
> def _by_json(opts)
|
1852
1811
|
|
@@ -1881,7 +1840,7 @@ opts = {
|
|
1881
1840
|
|
1882
1841
|
--
|
1883
1842
|
|
1884
|
-
##### [eles_by_json](https://github.com/appium/ruby_lib/blob/
|
1843
|
+
##### [eles_by_json](https://github.com/appium/ruby_lib/blob/b9b8784697d9fbe73d3883cf42d260f19138d8f5/lib/appium_lib/ios/common/helper.rb#L497) ios
|
1885
1844
|
|
1886
1845
|
> def eles_by_json(opts)
|
1887
1846
|
|
@@ -1900,7 +1859,7 @@ eles_by_json({
|
|
1900
1859
|
|
1901
1860
|
--
|
1902
1861
|
|
1903
|
-
##### [ele_by_json](https://github.com/appium/ruby_lib/blob/
|
1862
|
+
##### [ele_by_json](https://github.com/appium/ruby_lib/blob/b9b8784697d9fbe73d3883cf42d260f19138d8f5/lib/appium_lib/ios/common/helper.rb#L503) ios
|
1904
1863
|
|
1905
1864
|
> def ele_by_json(opts)
|
1906
1865
|
|
@@ -1908,7 +1867,7 @@ see eles_by_json
|
|
1908
1867
|
|
1909
1868
|
--
|
1910
1869
|
|
1911
|
-
##### [get_source](https://github.com/appium/ruby_lib/blob/
|
1870
|
+
##### [get_source](https://github.com/appium/ruby_lib/blob/b9b8784697d9fbe73d3883cf42d260f19138d8f5/lib/appium_lib/ios/common/helper.rb#L513) ios
|
1912
1871
|
|
1913
1872
|
> def get_source
|
1914
1873
|
|
@@ -1921,7 +1880,7 @@ __Returns:__
|
|
1921
1880
|
|
1922
1881
|
--
|
1923
1882
|
|
1924
|
-
##### [alert_accept](https://github.com/appium/ruby_lib/blob/
|
1883
|
+
##### [alert_accept](https://github.com/appium/ruby_lib/blob/b9b8784697d9fbe73d3883cf42d260f19138d8f5/lib/appium_lib/ios/element/alert.rb#L5) ios
|
1925
1884
|
|
1926
1885
|
> def alert_accept
|
1927
1886
|
|
@@ -1933,7 +1892,7 @@ __Returns:__
|
|
1933
1892
|
|
1934
1893
|
--
|
1935
1894
|
|
1936
|
-
##### [alert_dismiss](https://github.com/appium/ruby_lib/blob/
|
1895
|
+
##### [alert_dismiss](https://github.com/appium/ruby_lib/blob/b9b8784697d9fbe73d3883cf42d260f19138d8f5/lib/appium_lib/ios/element/alert.rb#L13) ios
|
1937
1896
|
|
1938
1897
|
> def alert_dismiss
|
1939
1898
|
|
@@ -1945,7 +1904,7 @@ __Returns:__
|
|
1945
1904
|
|
1946
1905
|
--
|
1947
1906
|
|
1948
|
-
##### [UIAButton](https://github.com/appium/ruby_lib/blob/
|
1907
|
+
##### [UIAButton](https://github.com/appium/ruby_lib/blob/b9b8784697d9fbe73d3883cf42d260f19138d8f5/lib/appium_lib/ios/element/button.rb#L4) ios
|
1949
1908
|
|
1950
1909
|
> UIAButton = 'UIAButton'.freeze
|
1951
1910
|
|
@@ -1953,7 +1912,7 @@ __Returns:__
|
|
1953
1912
|
|
1954
1913
|
--
|
1955
1914
|
|
1956
|
-
##### [XCUIElementTypeButton](https://github.com/appium/ruby_lib/blob/
|
1915
|
+
##### [XCUIElementTypeButton](https://github.com/appium/ruby_lib/blob/b9b8784697d9fbe73d3883cf42d260f19138d8f5/lib/appium_lib/ios/element/button.rb#L5) ios
|
1957
1916
|
|
1958
1917
|
> XCUIElementTypeButton = 'XCUIElementTypeButton'.freeze
|
1959
1918
|
|
@@ -1961,7 +1920,7 @@ __Returns:__
|
|
1961
1920
|
|
1962
1921
|
--
|
1963
1922
|
|
1964
|
-
##### [button_class](https://github.com/appium/ruby_lib/blob/
|
1923
|
+
##### [button_class](https://github.com/appium/ruby_lib/blob/b9b8784697d9fbe73d3883cf42d260f19138d8f5/lib/appium_lib/ios/element/button.rb#L8) ios
|
1965
1924
|
|
1966
1925
|
> def button_class
|
1967
1926
|
|
@@ -1973,7 +1932,7 @@ __Returns:__
|
|
1973
1932
|
|
1974
1933
|
--
|
1975
1934
|
|
1976
|
-
##### [button](https://github.com/appium/ruby_lib/blob/
|
1935
|
+
##### [button](https://github.com/appium/ruby_lib/blob/b9b8784697d9fbe73d3883cf42d260f19138d8f5/lib/appium_lib/ios/element/button.rb#L16) ios
|
1977
1936
|
|
1978
1937
|
> def button(value)
|
1979
1938
|
|
@@ -1990,7 +1949,7 @@ __Returns:__
|
|
1990
1949
|
|
1991
1950
|
--
|
1992
1951
|
|
1993
|
-
##### [buttons](https://github.com/appium/ruby_lib/blob/
|
1952
|
+
##### [buttons](https://github.com/appium/ruby_lib/blob/b9b8784697d9fbe73d3883cf42d260f19138d8f5/lib/appium_lib/ios/element/button.rb#L26) ios
|
1994
1953
|
|
1995
1954
|
> def buttons(value = false)
|
1996
1955
|
|
@@ -2007,7 +1966,7 @@ __Returns:__
|
|
2007
1966
|
|
2008
1967
|
--
|
2009
1968
|
|
2010
|
-
##### [first_button](https://github.com/appium/ruby_lib/blob/
|
1969
|
+
##### [first_button](https://github.com/appium/ruby_lib/blob/b9b8784697d9fbe73d3883cf42d260f19138d8f5/lib/appium_lib/ios/element/button.rb#L33) ios
|
2011
1970
|
|
2012
1971
|
> def first_button
|
2013
1972
|
|
@@ -2019,7 +1978,7 @@ __Returns:__
|
|
2019
1978
|
|
2020
1979
|
--
|
2021
1980
|
|
2022
|
-
##### [last_button](https://github.com/appium/ruby_lib/blob/
|
1981
|
+
##### [last_button](https://github.com/appium/ruby_lib/blob/b9b8784697d9fbe73d3883cf42d260f19138d8f5/lib/appium_lib/ios/element/button.rb#L41) ios
|
2023
1982
|
|
2024
1983
|
> def last_button
|
2025
1984
|
|
@@ -2033,7 +1992,7 @@ __Returns:__
|
|
2033
1992
|
|
2034
1993
|
--
|
2035
1994
|
|
2036
|
-
##### [button_exact](https://github.com/appium/ruby_lib/blob/
|
1995
|
+
##### [button_exact](https://github.com/appium/ruby_lib/blob/b9b8784697d9fbe73d3883cf42d260f19138d8f5/lib/appium_lib/ios/element/button.rb#L48) ios
|
2037
1996
|
|
2038
1997
|
> def button_exact(value)
|
2039
1998
|
|
@@ -2049,7 +2008,7 @@ __Returns:__
|
|
2049
2008
|
|
2050
2009
|
--
|
2051
2010
|
|
2052
|
-
##### [buttons_exact](https://github.com/appium/ruby_lib/blob/
|
2011
|
+
##### [buttons_exact](https://github.com/appium/ruby_lib/blob/b9b8784697d9fbe73d3883cf42d260f19138d8f5/lib/appium_lib/ios/element/button.rb#L55) ios
|
2053
2012
|
|
2054
2013
|
> def buttons_exact(value)
|
2055
2014
|
|
@@ -2065,7 +2024,7 @@ __Returns:__
|
|
2065
2024
|
|
2066
2025
|
--
|
2067
2026
|
|
2068
|
-
##### [find](https://github.com/appium/ruby_lib/blob/
|
2027
|
+
##### [find](https://github.com/appium/ruby_lib/blob/b9b8784697d9fbe73d3883cf42d260f19138d8f5/lib/appium_lib/ios/element/generic.rb#L6) ios
|
2069
2028
|
|
2070
2029
|
> def find(value)
|
2071
2030
|
|
@@ -2081,7 +2040,7 @@ __Returns:__
|
|
2081
2040
|
|
2082
2041
|
--
|
2083
2042
|
|
2084
|
-
##### [finds](https://github.com/appium/ruby_lib/blob/
|
2043
|
+
##### [finds](https://github.com/appium/ruby_lib/blob/b9b8784697d9fbe73d3883cf42d260f19138d8f5/lib/appium_lib/ios/element/generic.rb#L13) ios
|
2085
2044
|
|
2086
2045
|
> def finds(value)
|
2087
2046
|
|
@@ -2097,7 +2056,7 @@ __Returns:__
|
|
2097
2056
|
|
2098
2057
|
--
|
2099
2058
|
|
2100
|
-
##### [find_exact](https://github.com/appium/ruby_lib/blob/
|
2059
|
+
##### [find_exact](https://github.com/appium/ruby_lib/blob/b9b8784697d9fbe73d3883cf42d260f19138d8f5/lib/appium_lib/ios/element/generic.rb#L20) ios
|
2101
2060
|
|
2102
2061
|
> def find_exact(value)
|
2103
2062
|
|
@@ -2113,7 +2072,7 @@ __Returns:__
|
|
2113
2072
|
|
2114
2073
|
--
|
2115
2074
|
|
2116
|
-
##### [finds_exact](https://github.com/appium/ruby_lib/blob/
|
2075
|
+
##### [finds_exact](https://github.com/appium/ruby_lib/blob/b9b8784697d9fbe73d3883cf42d260f19138d8f5/lib/appium_lib/ios/element/generic.rb#L27) ios
|
2117
2076
|
|
2118
2077
|
> def finds_exact(value)
|
2119
2078
|
|
@@ -2129,7 +2088,7 @@ __Returns:__
|
|
2129
2088
|
|
2130
2089
|
--
|
2131
2090
|
|
2132
|
-
##### [raise_error_if_no_element](https://github.com/appium/ruby_lib/blob/
|
2091
|
+
##### [raise_error_if_no_element](https://github.com/appium/ruby_lib/blob/b9b8784697d9fbe73d3883cf42d260f19138d8f5/lib/appium_lib/ios/element/generic.rb#L33) ios
|
2133
2092
|
|
2134
2093
|
> def raise_error_if_no_element(element)
|
2135
2094
|
|
@@ -2137,7 +2096,7 @@ __Returns:__
|
|
2137
2096
|
|
2138
2097
|
--
|
2139
2098
|
|
2140
|
-
##### [select_visible_elements](https://github.com/appium/ruby_lib/blob/
|
2099
|
+
##### [select_visible_elements](https://github.com/appium/ruby_lib/blob/b9b8784697d9fbe73d3883cf42d260f19138d8f5/lib/appium_lib/ios/element/generic.rb#L40) ios
|
2141
2100
|
|
2142
2101
|
> def select_visible_elements(elements)
|
2143
2102
|
|
@@ -2145,7 +2104,7 @@ Return visible elements.
|
|
2145
2104
|
|
2146
2105
|
--
|
2147
2106
|
|
2148
|
-
##### [for](https://github.com/appium/ruby_lib/blob/
|
2107
|
+
##### [for](https://github.com/appium/ruby_lib/blob/b9b8784697d9fbe73d3883cf42d260f19138d8f5/lib/appium_lib/ios/xcuitest/bridge.rb#L7) ios
|
2149
2108
|
|
2150
2109
|
> def self.for(target)
|
2151
2110
|
|
@@ -2153,7 +2112,7 @@ Return visible elements.
|
|
2153
2112
|
|
2154
2113
|
--
|
2155
2114
|
|
2156
|
-
##### [last_ele](https://github.com/appium/ruby_lib/blob/
|
2115
|
+
##### [last_ele](https://github.com/appium/ruby_lib/blob/b9b8784697d9fbe73d3883cf42d260f19138d8f5/lib/appium_lib/ios/xcuitest/helper.rb#L26) ios
|
2157
2116
|
|
2158
2117
|
> def last_ele(class_name)
|
2159
2118
|
|
@@ -2169,7 +2128,7 @@ __Returns:__
|
|
2169
2128
|
|
2170
2129
|
--
|
2171
2130
|
|
2172
|
-
##### [tag](https://github.com/appium/ruby_lib/blob/
|
2131
|
+
##### [tag](https://github.com/appium/ruby_lib/blob/b9b8784697d9fbe73d3883cf42d260f19138d8f5/lib/appium_lib/ios/xcuitest/helper.rb#L36) ios
|
2173
2132
|
|
2174
2133
|
> def tag(class_name)
|
2175
2134
|
|
@@ -2185,7 +2144,7 @@ __Returns:__
|
|
2185
2144
|
|
2186
2145
|
--
|
2187
2146
|
|
2188
|
-
##### [tags](https://github.com/appium/ruby_lib/blob/
|
2147
|
+
##### [tags](https://github.com/appium/ruby_lib/blob/b9b8784697d9fbe73d3883cf42d260f19138d8f5/lib/appium_lib/ios/xcuitest/helper.rb#L44) ios
|
2189
2148
|
|
2190
2149
|
> def tags(class_name)
|
2191
2150
|
|
@@ -2201,7 +2160,7 @@ __Returns:__
|
|
2201
2160
|
|
2202
2161
|
--
|
2203
2162
|
|
2204
|
-
##### [tags_include](https://github.com/appium/ruby_lib/blob/
|
2163
|
+
##### [tags_include](https://github.com/appium/ruby_lib/blob/b9b8784697d9fbe73d3883cf42d260f19138d8f5/lib/appium_lib/ios/xcuitest/helper.rb#L56) ios
|
2205
2164
|
|
2206
2165
|
> def tags_include(class_names:, value: nil)
|
2207
2166
|
|
@@ -2221,7 +2180,7 @@ __Returns:__
|
|
2221
2180
|
|
2222
2181
|
--
|
2223
2182
|
|
2224
|
-
##### [tags_exact](https://github.com/appium/ruby_lib/blob/
|
2183
|
+
##### [tags_exact](https://github.com/appium/ruby_lib/blob/b9b8784697d9fbe73d3883cf42d260f19138d8f5/lib/appium_lib/ios/xcuitest/helper.rb#L79) ios
|
2225
2184
|
|
2226
2185
|
> def tags_exact(class_names:, value: nil)
|
2227
2186
|
|
@@ -2241,7 +2200,7 @@ __Returns:__
|
|
2241
2200
|
|
2242
2201
|
--
|
2243
2202
|
|
2244
|
-
##### [UIATextField](https://github.com/appium/ruby_lib/blob/
|
2203
|
+
##### [UIATextField](https://github.com/appium/ruby_lib/blob/b9b8784697d9fbe73d3883cf42d260f19138d8f5/lib/appium_lib/ios/element/textfield.rb#L3) ios
|
2245
2204
|
|
2246
2205
|
> UIATextField = 'UIATextField'.freeze
|
2247
2206
|
|
@@ -2249,7 +2208,7 @@ __Returns:__
|
|
2249
2208
|
|
2250
2209
|
--
|
2251
2210
|
|
2252
|
-
##### [UIASecureTextField](https://github.com/appium/ruby_lib/blob/
|
2211
|
+
##### [UIASecureTextField](https://github.com/appium/ruby_lib/blob/b9b8784697d9fbe73d3883cf42d260f19138d8f5/lib/appium_lib/ios/element/textfield.rb#L4) ios
|
2253
2212
|
|
2254
2213
|
> UIASecureTextField = 'UIASecureTextField'.freeze
|
2255
2214
|
|
@@ -2257,7 +2216,7 @@ __Returns:__
|
|
2257
2216
|
|
2258
2217
|
--
|
2259
2218
|
|
2260
|
-
##### [XCUIElementTypeTextField](https://github.com/appium/ruby_lib/blob/
|
2219
|
+
##### [XCUIElementTypeTextField](https://github.com/appium/ruby_lib/blob/b9b8784697d9fbe73d3883cf42d260f19138d8f5/lib/appium_lib/ios/element/textfield.rb#L6) ios
|
2261
2220
|
|
2262
2221
|
> XCUIElementTypeTextField = 'XCUIElementTypeTextField'.freeze
|
2263
2222
|
|
@@ -2265,7 +2224,7 @@ __Returns:__
|
|
2265
2224
|
|
2266
2225
|
--
|
2267
2226
|
|
2268
|
-
##### [XCUIElementTypeSecureTextField](https://github.com/appium/ruby_lib/blob/
|
2227
|
+
##### [XCUIElementTypeSecureTextField](https://github.com/appium/ruby_lib/blob/b9b8784697d9fbe73d3883cf42d260f19138d8f5/lib/appium_lib/ios/element/textfield.rb#L7) ios
|
2269
2228
|
|
2270
2229
|
> XCUIElementTypeSecureTextField = 'XCUIElementTypeSecureTextField'.freeze
|
2271
2230
|
|
@@ -2273,7 +2232,7 @@ __Returns:__
|
|
2273
2232
|
|
2274
2233
|
--
|
2275
2234
|
|
2276
|
-
##### [text_field_class](https://github.com/appium/ruby_lib/blob/
|
2235
|
+
##### [text_field_class](https://github.com/appium/ruby_lib/blob/b9b8784697d9fbe73d3883cf42d260f19138d8f5/lib/appium_lib/ios/element/textfield.rb#L10) ios
|
2277
2236
|
|
2278
2237
|
> def text_field_class
|
2279
2238
|
|
@@ -2285,7 +2244,7 @@ __Returns:__
|
|
2285
2244
|
|
2286
2245
|
--
|
2287
2246
|
|
2288
|
-
##### [secure_text_field_class](https://github.com/appium/ruby_lib/blob/
|
2247
|
+
##### [secure_text_field_class](https://github.com/appium/ruby_lib/blob/b9b8784697d9fbe73d3883cf42d260f19138d8f5/lib/appium_lib/ios/element/textfield.rb#L15) ios
|
2289
2248
|
|
2290
2249
|
> def secure_text_field_class
|
2291
2250
|
|
@@ -2297,7 +2256,7 @@ __Returns:__
|
|
2297
2256
|
|
2298
2257
|
--
|
2299
2258
|
|
2300
|
-
##### [textfield](https://github.com/appium/ruby_lib/blob/
|
2259
|
+
##### [textfield](https://github.com/appium/ruby_lib/blob/b9b8784697d9fbe73d3883cf42d260f19138d8f5/lib/appium_lib/ios/element/textfield.rb#L24) ios
|
2301
2260
|
|
2302
2261
|
> def textfield(value)
|
2303
2262
|
|
@@ -2315,7 +2274,7 @@ __Returns:__
|
|
2315
2274
|
|
2316
2275
|
--
|
2317
2276
|
|
2318
|
-
##### [textfields](https://github.com/appium/ruby_lib/blob/
|
2277
|
+
##### [textfields](https://github.com/appium/ruby_lib/blob/b9b8784697d9fbe73d3883cf42d260f19138d8f5/lib/appium_lib/ios/element/textfield.rb#L42) ios
|
2319
2278
|
|
2320
2279
|
> def textfields(value = false)
|
2321
2280
|
|
@@ -2332,7 +2291,7 @@ __Returns:__
|
|
2332
2291
|
|
2333
2292
|
--
|
2334
2293
|
|
2335
|
-
##### [first_textfield](https://github.com/appium/ruby_lib/blob/
|
2294
|
+
##### [first_textfield](https://github.com/appium/ruby_lib/blob/b9b8784697d9fbe73d3883cf42d260f19138d8f5/lib/appium_lib/ios/element/textfield.rb#L49) ios
|
2336
2295
|
|
2337
2296
|
> def first_textfield
|
2338
2297
|
|
@@ -2344,7 +2303,7 @@ __Returns:__
|
|
2344
2303
|
|
2345
2304
|
--
|
2346
2305
|
|
2347
|
-
##### [last_textfield](https://github.com/appium/ruby_lib/blob/
|
2306
|
+
##### [last_textfield](https://github.com/appium/ruby_lib/blob/b9b8784697d9fbe73d3883cf42d260f19138d8f5/lib/appium_lib/ios/element/textfield.rb#L55) ios
|
2348
2307
|
|
2349
2308
|
> def last_textfield
|
2350
2309
|
|
@@ -2356,7 +2315,7 @@ __Returns:__
|
|
2356
2315
|
|
2357
2316
|
--
|
2358
2317
|
|
2359
|
-
##### [textfield_exact](https://github.com/appium/ruby_lib/blob/
|
2318
|
+
##### [textfield_exact](https://github.com/appium/ruby_lib/blob/b9b8784697d9fbe73d3883cf42d260f19138d8f5/lib/appium_lib/ios/element/textfield.rb#L64) ios
|
2360
2319
|
|
2361
2320
|
> def textfield_exact(value)
|
2362
2321
|
|
@@ -2372,7 +2331,7 @@ __Returns:__
|
|
2372
2331
|
|
2373
2332
|
--
|
2374
2333
|
|
2375
|
-
##### [textfields_exact](https://github.com/appium/ruby_lib/blob/
|
2334
|
+
##### [textfields_exact](https://github.com/appium/ruby_lib/blob/b9b8784697d9fbe73d3883cf42d260f19138d8f5/lib/appium_lib/ios/element/textfield.rb#L71) ios
|
2376
2335
|
|
2377
2336
|
> def textfields_exact(value)
|
2378
2337
|
|
@@ -2388,7 +2347,7 @@ __Returns:__
|
|
2388
2347
|
|
2389
2348
|
--
|
2390
2349
|
|
2391
|
-
##### [_textfield_visible](https://github.com/appium/ruby_lib/blob/
|
2350
|
+
##### [_textfield_visible](https://github.com/appium/ruby_lib/blob/b9b8784697d9fbe73d3883cf42d260f19138d8f5/lib/appium_lib/ios/element/textfield.rb#L78) ios
|
2392
2351
|
|
2393
2352
|
> def _textfield_visible
|
2394
2353
|
|
@@ -2396,7 +2355,7 @@ Appium
|
|
2396
2355
|
|
2397
2356
|
--
|
2398
2357
|
|
2399
|
-
##### [_textfield_exact_string](https://github.com/appium/ruby_lib/blob/
|
2358
|
+
##### [_textfield_exact_string](https://github.com/appium/ruby_lib/blob/b9b8784697d9fbe73d3883cf42d260f19138d8f5/lib/appium_lib/ios/element/textfield.rb#L83) ios
|
2400
2359
|
|
2401
2360
|
> def _textfield_exact_string(value)
|
2402
2361
|
|
@@ -2404,7 +2363,7 @@ Appium
|
|
2404
2363
|
|
2405
2364
|
--
|
2406
2365
|
|
2407
|
-
##### [_textfield_contains_string](https://github.com/appium/ruby_lib/blob/
|
2366
|
+
##### [_textfield_contains_string](https://github.com/appium/ruby_lib/blob/b9b8784697d9fbe73d3883cf42d260f19138d8f5/lib/appium_lib/ios/element/textfield.rb#L90) ios
|
2408
2367
|
|
2409
2368
|
> def _textfield_contains_string(value)
|
2410
2369
|
|
@@ -2412,7 +2371,7 @@ Appium
|
|
2412
2371
|
|
2413
2372
|
--
|
2414
2373
|
|
2415
|
-
##### [static_text_class](https://github.com/appium/ruby_lib/blob/
|
2374
|
+
##### [static_text_class](https://github.com/appium/ruby_lib/blob/b9b8784697d9fbe73d3883cf42d260f19138d8f5/lib/appium_lib/ios/xcuitest/element/text.rb#L9) ios
|
2416
2375
|
|
2417
2376
|
> def static_text_class
|
2418
2377
|
|
@@ -2424,7 +2383,7 @@ __Returns:__
|
|
2424
2383
|
|
2425
2384
|
--
|
2426
2385
|
|
2427
|
-
##### [text](https://github.com/appium/ruby_lib/blob/
|
2386
|
+
##### [text](https://github.com/appium/ruby_lib/blob/b9b8784697d9fbe73d3883cf42d260f19138d8f5/lib/appium_lib/ios/xcuitest/element/text.rb#L17) ios
|
2428
2387
|
|
2429
2388
|
> def text(value)
|
2430
2389
|
|
@@ -2441,7 +2400,7 @@ __Returns:__
|
|
2441
2400
|
|
2442
2401
|
--
|
2443
2402
|
|
2444
|
-
##### [texts](https://github.com/appium/ruby_lib/blob/
|
2403
|
+
##### [texts](https://github.com/appium/ruby_lib/blob/b9b8784697d9fbe73d3883cf42d260f19138d8f5/lib/appium_lib/ios/xcuitest/element/text.rb#L26) ios
|
2445
2404
|
|
2446
2405
|
> def texts(value = false)
|
2447
2406
|
|
@@ -2458,7 +2417,7 @@ __Returns:__
|
|
2458
2417
|
|
2459
2418
|
--
|
2460
2419
|
|
2461
|
-
##### [first_text](https://github.com/appium/ruby_lib/blob/
|
2420
|
+
##### [first_text](https://github.com/appium/ruby_lib/blob/b9b8784697d9fbe73d3883cf42d260f19138d8f5/lib/appium_lib/ios/xcuitest/element/text.rb#L34) ios
|
2462
2421
|
|
2463
2422
|
> def first_text
|
2464
2423
|
|
@@ -2470,7 +2429,7 @@ __Returns:__
|
|
2470
2429
|
|
2471
2430
|
--
|
2472
2431
|
|
2473
|
-
##### [last_text](https://github.com/appium/ruby_lib/blob/
|
2432
|
+
##### [last_text](https://github.com/appium/ruby_lib/blob/b9b8784697d9fbe73d3883cf42d260f19138d8f5/lib/appium_lib/ios/xcuitest/element/text.rb#L40) ios
|
2474
2433
|
|
2475
2434
|
> def last_text
|
2476
2435
|
|
@@ -2482,7 +2441,7 @@ __Returns:__
|
|
2482
2441
|
|
2483
2442
|
--
|
2484
2443
|
|
2485
|
-
##### [text_exact](https://github.com/appium/ruby_lib/blob/
|
2444
|
+
##### [text_exact](https://github.com/appium/ruby_lib/blob/b9b8784697d9fbe73d3883cf42d260f19138d8f5/lib/appium_lib/ios/xcuitest/element/text.rb#L47) ios
|
2486
2445
|
|
2487
2446
|
> def text_exact(value)
|
2488
2447
|
|
@@ -2498,7 +2457,7 @@ __Returns:__
|
|
2498
2457
|
|
2499
2458
|
--
|
2500
2459
|
|
2501
|
-
##### [texts_exact](https://github.com/appium/ruby_lib/blob/
|
2460
|
+
##### [texts_exact](https://github.com/appium/ruby_lib/blob/b9b8784697d9fbe73d3883cf42d260f19138d8f5/lib/appium_lib/ios/xcuitest/element/text.rb#L54) ios
|
2502
2461
|
|
2503
2462
|
> def texts_exact(value)
|
2504
2463
|
|
@@ -2514,7 +2473,7 @@ __Returns:__
|
|
2514
2473
|
|
2515
2474
|
--
|
2516
2475
|
|
2517
|
-
##### [button_class](https://github.com/appium/ruby_lib/blob/
|
2476
|
+
##### [button_class](https://github.com/appium/ruby_lib/blob/b9b8784697d9fbe73d3883cf42d260f19138d8f5/lib/appium_lib/ios/xcuitest/element/button.rb#L9) ios
|
2518
2477
|
|
2519
2478
|
> def button_class
|
2520
2479
|
|
@@ -2526,7 +2485,7 @@ __Returns:__
|
|
2526
2485
|
|
2527
2486
|
--
|
2528
2487
|
|
2529
|
-
##### [button](https://github.com/appium/ruby_lib/blob/
|
2488
|
+
##### [button](https://github.com/appium/ruby_lib/blob/b9b8784697d9fbe73d3883cf42d260f19138d8f5/lib/appium_lib/ios/xcuitest/element/button.rb#L17) ios
|
2530
2489
|
|
2531
2490
|
> def button(value)
|
2532
2491
|
|
@@ -2543,7 +2502,7 @@ __Returns:__
|
|
2543
2502
|
|
2544
2503
|
--
|
2545
2504
|
|
2546
|
-
##### [buttons](https://github.com/appium/ruby_lib/blob/
|
2505
|
+
##### [buttons](https://github.com/appium/ruby_lib/blob/b9b8784697d9fbe73d3883cf42d260f19138d8f5/lib/appium_lib/ios/xcuitest/element/button.rb#L27) ios
|
2547
2506
|
|
2548
2507
|
> def buttons(value = false)
|
2549
2508
|
|
@@ -2560,7 +2519,7 @@ __Returns:__
|
|
2560
2519
|
|
2561
2520
|
--
|
2562
2521
|
|
2563
|
-
##### [first_button](https://github.com/appium/ruby_lib/blob/
|
2522
|
+
##### [first_button](https://github.com/appium/ruby_lib/blob/b9b8784697d9fbe73d3883cf42d260f19138d8f5/lib/appium_lib/ios/xcuitest/element/button.rb#L35) ios
|
2564
2523
|
|
2565
2524
|
> def first_button
|
2566
2525
|
|
@@ -2572,7 +2531,7 @@ __Returns:__
|
|
2572
2531
|
|
2573
2532
|
--
|
2574
2533
|
|
2575
|
-
##### [last_button](https://github.com/appium/ruby_lib/blob/
|
2534
|
+
##### [last_button](https://github.com/appium/ruby_lib/blob/b9b8784697d9fbe73d3883cf42d260f19138d8f5/lib/appium_lib/ios/xcuitest/element/button.rb#L43) ios
|
2576
2535
|
|
2577
2536
|
> def last_button
|
2578
2537
|
|
@@ -2586,7 +2545,7 @@ __Returns:__
|
|
2586
2545
|
|
2587
2546
|
--
|
2588
2547
|
|
2589
|
-
##### [button_exact](https://github.com/appium/ruby_lib/blob/
|
2548
|
+
##### [button_exact](https://github.com/appium/ruby_lib/blob/b9b8784697d9fbe73d3883cf42d260f19138d8f5/lib/appium_lib/ios/xcuitest/element/button.rb#L50) ios
|
2590
2549
|
|
2591
2550
|
> def button_exact(value)
|
2592
2551
|
|
@@ -2602,7 +2561,7 @@ __Returns:__
|
|
2602
2561
|
|
2603
2562
|
--
|
2604
2563
|
|
2605
|
-
##### [buttons_exact](https://github.com/appium/ruby_lib/blob/
|
2564
|
+
##### [buttons_exact](https://github.com/appium/ruby_lib/blob/b9b8784697d9fbe73d3883cf42d260f19138d8f5/lib/appium_lib/ios/xcuitest/element/button.rb#L57) ios
|
2606
2565
|
|
2607
2566
|
> def buttons_exact(value)
|
2608
2567
|
|
@@ -2618,7 +2577,7 @@ __Returns:__
|
|
2618
2577
|
|
2619
2578
|
--
|
2620
2579
|
|
2621
|
-
##### [find](https://github.com/appium/ruby_lib/blob/
|
2580
|
+
##### [find](https://github.com/appium/ruby_lib/blob/b9b8784697d9fbe73d3883cf42d260f19138d8f5/lib/appium_lib/ios/xcuitest/element/generic.rb#L8) ios
|
2622
2581
|
|
2623
2582
|
> def find(value)
|
2624
2583
|
|
@@ -2634,7 +2593,7 @@ __Returns:__
|
|
2634
2593
|
|
2635
2594
|
--
|
2636
2595
|
|
2637
|
-
##### [finds](https://github.com/appium/ruby_lib/blob/
|
2596
|
+
##### [finds](https://github.com/appium/ruby_lib/blob/b9b8784697d9fbe73d3883cf42d260f19138d8f5/lib/appium_lib/ios/xcuitest/element/generic.rb#L15) ios
|
2638
2597
|
|
2639
2598
|
> def finds(value)
|
2640
2599
|
|
@@ -2650,7 +2609,7 @@ __Returns:__
|
|
2650
2609
|
|
2651
2610
|
--
|
2652
2611
|
|
2653
|
-
##### [find_exact](https://github.com/appium/ruby_lib/blob/
|
2612
|
+
##### [find_exact](https://github.com/appium/ruby_lib/blob/b9b8784697d9fbe73d3883cf42d260f19138d8f5/lib/appium_lib/ios/xcuitest/element/generic.rb#L23) ios
|
2654
2613
|
|
2655
2614
|
> def find_exact(value)
|
2656
2615
|
|
@@ -2666,7 +2625,7 @@ __Returns:__
|
|
2666
2625
|
|
2667
2626
|
--
|
2668
2627
|
|
2669
|
-
##### [finds_exact](https://github.com/appium/ruby_lib/blob/
|
2628
|
+
##### [finds_exact](https://github.com/appium/ruby_lib/blob/b9b8784697d9fbe73d3883cf42d260f19138d8f5/lib/appium_lib/ios/xcuitest/element/generic.rb#L30) ios
|
2670
2629
|
|
2671
2630
|
> def finds_exact(value)
|
2672
2631
|
|
@@ -2682,7 +2641,7 @@ __Returns:__
|
|
2682
2641
|
|
2683
2642
|
--
|
2684
2643
|
|
2685
|
-
##### [raise_error_if_no_element](https://github.com/appium/ruby_lib/blob/
|
2644
|
+
##### [raise_error_if_no_element](https://github.com/appium/ruby_lib/blob/b9b8784697d9fbe73d3883cf42d260f19138d8f5/lib/appium_lib/ios/xcuitest/element/generic.rb#L37) ios
|
2686
2645
|
|
2687
2646
|
> def raise_error_if_no_element(element)
|
2688
2647
|
|
@@ -2690,7 +2649,7 @@ __Returns:__
|
|
2690
2649
|
|
2691
2650
|
--
|
2692
2651
|
|
2693
|
-
##### [select_visible_elements](https://github.com/appium/ruby_lib/blob/
|
2652
|
+
##### [select_visible_elements](https://github.com/appium/ruby_lib/blob/b9b8784697d9fbe73d3883cf42d260f19138d8f5/lib/appium_lib/ios/xcuitest/element/generic.rb#L44) ios
|
2694
2653
|
|
2695
2654
|
> def select_visible_elements(elements)
|
2696
2655
|
|
@@ -2698,7 +2657,7 @@ Return visible elements.
|
|
2698
2657
|
|
2699
2658
|
--
|
2700
2659
|
|
2701
|
-
##### [swipe](https://github.com/appium/ruby_lib/blob/
|
2660
|
+
##### [swipe](https://github.com/appium/ruby_lib/blob/b9b8784697d9fbe73d3883cf42d260f19138d8f5/lib/appium_lib/ios/xcuitest/command/gestures.rb#L11) ios
|
2702
2661
|
|
2703
2662
|
> def swipe(direction:, element: nil)
|
2704
2663
|
|
@@ -2712,7 +2671,7 @@ __Parameters:__
|
|
2712
2671
|
|
2713
2672
|
--
|
2714
2673
|
|
2715
|
-
##### [scroll](https://github.com/appium/ruby_lib/blob/
|
2674
|
+
##### [scroll](https://github.com/appium/ruby_lib/blob/b9b8784697d9fbe73d3883cf42d260f19138d8f5/lib/appium_lib/ios/xcuitest/command/gestures.rb#L29) ios
|
2716
2675
|
|
2717
2676
|
> def scroll(direction:, name: nil, element: nil, to_visible: nil, predicate_string: nil)
|
2718
2677
|
|
@@ -2726,7 +2685,7 @@ __Parameters:__
|
|
2726
2685
|
|
2727
2686
|
--
|
2728
2687
|
|
2729
|
-
##### [pinch](https://github.com/appium/ruby_lib/blob/
|
2688
|
+
##### [pinch](https://github.com/appium/ruby_lib/blob/b9b8784697d9fbe73d3883cf42d260f19138d8f5/lib/appium_lib/ios/xcuitest/command/gestures.rb#L48) ios
|
2730
2689
|
|
2731
2690
|
> def pinch(scale:, velocity: 1.0, element: nil)
|
2732
2691
|
|
@@ -2742,7 +2701,7 @@ __Parameters:__
|
|
2742
2701
|
|
2743
2702
|
--
|
2744
2703
|
|
2745
|
-
##### [double_tap](https://github.com/appium/ruby_lib/blob/
|
2704
|
+
##### [double_tap](https://github.com/appium/ruby_lib/blob/b9b8784697d9fbe73d3883cf42d260f19138d8f5/lib/appium_lib/ios/xcuitest/command/gestures.rb#L63) ios
|
2746
2705
|
|
2747
2706
|
> def double_tap(x: nil, y: nil, element: nil)
|
2748
2707
|
|
@@ -2758,7 +2717,7 @@ __Parameters:__
|
|
2758
2717
|
|
2759
2718
|
--
|
2760
2719
|
|
2761
|
-
##### [touch_and_hold](https://github.com/appium/ruby_lib/blob/
|
2720
|
+
##### [touch_and_hold](https://github.com/appium/ruby_lib/blob/b9b8784697d9fbe73d3883cf42d260f19138d8f5/lib/appium_lib/ios/xcuitest/command/gestures.rb#L80) ios
|
2762
2721
|
|
2763
2722
|
> def touch_and_hold(x: nil, y: nil, element: nil, duration: 1.0)
|
2764
2723
|
|
@@ -2776,7 +2735,7 @@ __Parameters:__
|
|
2776
2735
|
|
2777
2736
|
--
|
2778
2737
|
|
2779
|
-
##### [two_finger_tap](https://github.com/appium/ruby_lib/blob/
|
2738
|
+
##### [two_finger_tap](https://github.com/appium/ruby_lib/blob/b9b8784697d9fbe73d3883cf42d260f19138d8f5/lib/appium_lib/ios/xcuitest/command/gestures.rb#L93) ios
|
2780
2739
|
|
2781
2740
|
> def two_finger_tap(element:)
|
2782
2741
|
|
@@ -2792,7 +2751,7 @@ two_finger_tap element: find_element(:accessibility_id, "some item")
|
|
2792
2751
|
|
2793
2752
|
--
|
2794
2753
|
|
2795
|
-
##### [tap](https://github.com/appium/ruby_lib/blob/
|
2754
|
+
##### [tap](https://github.com/appium/ruby_lib/blob/b9b8784697d9fbe73d3883cf42d260f19138d8f5/lib/appium_lib/ios/xcuitest/command/gestures.rb#L108) ios
|
2796
2755
|
|
2797
2756
|
> def tap(x:, y:, element: nil)
|
2798
2757
|
|
@@ -2808,7 +2767,7 @@ __Parameters:__
|
|
2808
2767
|
|
2809
2768
|
--
|
2810
2769
|
|
2811
|
-
##### [drag_from_to_for_duration](https://github.com/appium/ruby_lib/blob/
|
2770
|
+
##### [drag_from_to_for_duration](https://github.com/appium/ruby_lib/blob/b9b8784697d9fbe73d3883cf42d260f19138d8f5/lib/appium_lib/ios/xcuitest/command/gestures.rb#L128) ios
|
2812
2771
|
|
2813
2772
|
> def drag_from_to_for_duration(from_x:, from_y:, to_x:, to_y:, duration: 1.0, element: nil)
|
2814
2773
|
|
@@ -2831,7 +2790,7 @@ drag point should be before to start dragging. Mandatory parameter
|
|
2831
2790
|
|
2832
2791
|
--
|
2833
2792
|
|
2834
|
-
##### [select_picker_wheel](https://github.com/appium/ruby_lib/blob/
|
2793
|
+
##### [select_picker_wheel](https://github.com/appium/ruby_lib/blob/b9b8784697d9fbe73d3883cf42d260f19138d8f5/lib/appium_lib/ios/xcuitest/command/gestures.rb#L145) ios
|
2835
2794
|
|
2836
2795
|
> def select_picker_wheel(element:, order:, offset: nil)
|
2837
2796
|
|
@@ -2848,7 +2807,7 @@ __Parameters:__
|
|
2848
2807
|
|
2849
2808
|
--
|
2850
2809
|
|
2851
|
-
##### [alert](https://github.com/appium/ruby_lib/blob/
|
2810
|
+
##### [alert](https://github.com/appium/ruby_lib/blob/b9b8784697d9fbe73d3883cf42d260f19138d8f5/lib/appium_lib/ios/xcuitest/command/gestures.rb#L163) ios
|
2852
2811
|
|
2853
2812
|
> def alert(action:, button_label: nil)
|
2854
2813
|
|
@@ -2863,7 +2822,7 @@ This is an optional parameter and is only valid in combination with accept and d
|
|
2863
2822
|
|
2864
2823
|
--
|
2865
2824
|
|
2866
|
-
##### [text_field_class](https://github.com/appium/ruby_lib/blob/
|
2825
|
+
##### [text_field_class](https://github.com/appium/ruby_lib/blob/b9b8784697d9fbe73d3883cf42d260f19138d8f5/lib/appium_lib/ios/xcuitest/element/textfield.rb#L9) ios
|
2867
2826
|
|
2868
2827
|
> def text_field_class
|
2869
2828
|
|
@@ -2875,7 +2834,7 @@ __Returns:__
|
|
2875
2834
|
|
2876
2835
|
--
|
2877
2836
|
|
2878
|
-
##### [secure_text_field_class](https://github.com/appium/ruby_lib/blob/
|
2837
|
+
##### [secure_text_field_class](https://github.com/appium/ruby_lib/blob/b9b8784697d9fbe73d3883cf42d260f19138d8f5/lib/appium_lib/ios/xcuitest/element/textfield.rb#L14) ios
|
2879
2838
|
|
2880
2839
|
> def secure_text_field_class
|
2881
2840
|
|
@@ -2887,7 +2846,7 @@ __Returns:__
|
|
2887
2846
|
|
2888
2847
|
--
|
2889
2848
|
|
2890
|
-
##### [textfield](https://github.com/appium/ruby_lib/blob/
|
2849
|
+
##### [textfield](https://github.com/appium/ruby_lib/blob/b9b8784697d9fbe73d3883cf42d260f19138d8f5/lib/appium_lib/ios/xcuitest/element/textfield.rb#L23) ios
|
2891
2850
|
|
2892
2851
|
> def textfield(value)
|
2893
2852
|
|
@@ -2905,7 +2864,7 @@ __Returns:__
|
|
2905
2864
|
|
2906
2865
|
--
|
2907
2866
|
|
2908
|
-
##### [textfields](https://github.com/appium/ruby_lib/blob/
|
2867
|
+
##### [textfields](https://github.com/appium/ruby_lib/blob/b9b8784697d9fbe73d3883cf42d260f19138d8f5/lib/appium_lib/ios/xcuitest/element/textfield.rb#L41) ios
|
2909
2868
|
|
2910
2869
|
> def textfields(value = false)
|
2911
2870
|
|
@@ -2922,7 +2881,7 @@ __Returns:__
|
|
2922
2881
|
|
2923
2882
|
--
|
2924
2883
|
|
2925
|
-
##### [first_textfield](https://github.com/appium/ruby_lib/blob/
|
2884
|
+
##### [first_textfield](https://github.com/appium/ruby_lib/blob/b9b8784697d9fbe73d3883cf42d260f19138d8f5/lib/appium_lib/ios/xcuitest/element/textfield.rb#L50) ios
|
2926
2885
|
|
2927
2886
|
> def first_textfield
|
2928
2887
|
|
@@ -2934,7 +2893,7 @@ __Returns:__
|
|
2934
2893
|
|
2935
2894
|
--
|
2936
2895
|
|
2937
|
-
##### [last_textfield](https://github.com/appium/ruby_lib/blob/
|
2896
|
+
##### [last_textfield](https://github.com/appium/ruby_lib/blob/b9b8784697d9fbe73d3883cf42d260f19138d8f5/lib/appium_lib/ios/xcuitest/element/textfield.rb#L56) ios
|
2938
2897
|
|
2939
2898
|
> def last_textfield
|
2940
2899
|
|
@@ -2946,7 +2905,7 @@ __Returns:__
|
|
2946
2905
|
|
2947
2906
|
--
|
2948
2907
|
|
2949
|
-
##### [textfield_exact](https://github.com/appium/ruby_lib/blob/
|
2908
|
+
##### [textfield_exact](https://github.com/appium/ruby_lib/blob/b9b8784697d9fbe73d3883cf42d260f19138d8f5/lib/appium_lib/ios/xcuitest/element/textfield.rb#L65) ios
|
2950
2909
|
|
2951
2910
|
> def textfield_exact(value)
|
2952
2911
|
|
@@ -2962,7 +2921,7 @@ __Returns:__
|
|
2962
2921
|
|
2963
2922
|
--
|
2964
2923
|
|
2965
|
-
##### [textfields_exact](https://github.com/appium/ruby_lib/blob/
|
2924
|
+
##### [textfields_exact](https://github.com/appium/ruby_lib/blob/b9b8784697d9fbe73d3883cf42d260f19138d8f5/lib/appium_lib/ios/xcuitest/element/textfield.rb#L72) ios
|
2966
2925
|
|
2967
2926
|
> def textfields_exact(value)
|
2968
2927
|
|
@@ -2978,7 +2937,7 @@ __Returns:__
|
|
2978
2937
|
|
2979
2938
|
--
|
2980
2939
|
|
2981
|
-
##### [set_pasteboard](https://github.com/appium/ruby_lib/blob/
|
2940
|
+
##### [set_pasteboard](https://github.com/appium/ruby_lib/blob/b9b8784697d9fbe73d3883cf42d260f19138d8f5/lib/appium_lib/ios/xcuitest/command/pasteboard.rb#L12) ios
|
2982
2941
|
|
2983
2942
|
> def set_pasteboard(content:, encoding: nil)
|
2984
2943
|
|
@@ -2993,7 +2952,7 @@ The parameter is mandatory
|
|
2993
2952
|
|
2994
2953
|
--
|
2995
2954
|
|
2996
|
-
##### [get_pasteboard](https://github.com/appium/ruby_lib/blob/
|
2955
|
+
##### [get_pasteboard](https://github.com/appium/ruby_lib/blob/b9b8784697d9fbe73d3883cf42d260f19138d8f5/lib/appium_lib/ios/xcuitest/command/pasteboard.rb#L24) ios
|
2997
2956
|
|
2998
2957
|
> def get_pasteboard(encoding: nil)
|
2999
2958
|
|