appium_lib 12.0.0.rc2 → 12.0.0
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 +32 -3
- data/appium_lib.gemspec +2 -2
- data/docs/android_docs.md +207 -229
- data/docs/ios_docs.md +245 -267
- data/lib/appium_lib/driver.rb +3 -1
- data/lib/appium_lib/version.rb +2 -2
- data/readme.md +1 -0
- data/release_notes.md +28 -0
- metadata +10 -12
- data/docs/index_paths.md +0 -26
- data/docs/travis.sample.yml +0 -24
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/3060ef3bf06c19a79731a49985efa75c3337dd27/lib/appium_lib/appium.rb#L60) common
|
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/3060ef3bf06c19a79731a49985efa75c3337dd27/lib/appium_lib/appium.rb#L95) common
|
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/3060ef3bf06c19a79731a49985efa75c3337dd27/lib/appium_lib/appium.rb#L100) common
|
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/3060ef3bf06c19a79731a49985efa75c3337dd27/lib/appium_lib/appium.rb#L142) common
|
78
78
|
|
79
79
|
> def promote_singleton_appium_methods(modules, driver = $driver)
|
80
80
|
|
@@ -98,7 +98,7 @@ __Parameters:__
|
|
98
98
|
|
99
99
|
--
|
100
100
|
|
101
|
-
##### [promote_appium_methods](https://github.com/appium/ruby_lib/blob/
|
101
|
+
##### [promote_appium_methods](https://github.com/appium/ruby_lib/blob/3060ef3bf06c19a79731a49985efa75c3337dd27/lib/appium_lib/appium.rb#L196) common
|
102
102
|
|
103
103
|
> def promote_appium_methods(class_array, driver = $driver)
|
104
104
|
|
@@ -116,7 +116,7 @@ __Parameters:__
|
|
116
116
|
|
117
117
|
--
|
118
118
|
|
119
|
-
##### [global_webdriver_http_sleep](https://github.com/appium/ruby_lib/blob/
|
119
|
+
##### [global_webdriver_http_sleep](https://github.com/appium/ruby_lib/blob/3060ef3bf06c19a79731a49985efa75c3337dd27/lib/appium_lib/driver.rb#L49) common
|
120
120
|
|
121
121
|
> def global_webdriver_http_sleep
|
122
122
|
|
@@ -124,7 +124,7 @@ The amount to sleep in seconds before every webdriver http call.
|
|
124
124
|
|
125
125
|
--
|
126
126
|
|
127
|
-
##### [global_webdriver_http_sleep=](https://github.com/appium/ruby_lib/blob/
|
127
|
+
##### [global_webdriver_http_sleep=](https://github.com/appium/ruby_lib/blob/3060ef3bf06c19a79731a49985efa75c3337dd27/lib/appium_lib/driver.rb#L49) common
|
128
128
|
|
129
129
|
> def global_webdriver_http_sleep=(value)
|
130
130
|
|
@@ -132,7 +132,7 @@ The amount to sleep in seconds before every webdriver http call.
|
|
132
132
|
|
133
133
|
--
|
134
134
|
|
135
|
-
##### [sauce](https://github.com/appium/ruby_lib/blob/
|
135
|
+
##### [sauce](https://github.com/appium/ruby_lib/blob/3060ef3bf06c19a79731a49985efa75c3337dd27/lib/appium_lib/driver.rb#L52) common
|
136
136
|
|
137
137
|
> def sauce
|
138
138
|
|
@@ -140,7 +140,7 @@ SauceLab's settings
|
|
140
140
|
|
141
141
|
--
|
142
142
|
|
143
|
-
##### [sauce_username](https://github.com/appium/ruby_lib/blob/
|
143
|
+
##### [sauce_username](https://github.com/appium/ruby_lib/blob/3060ef3bf06c19a79731a49985efa75c3337dd27/lib/appium_lib/driver.rb#L55) common
|
144
144
|
|
145
145
|
> def sauce_username
|
146
146
|
|
@@ -149,7 +149,7 @@ same as @sauce.username
|
|
149
149
|
|
150
150
|
--
|
151
151
|
|
152
|
-
##### [sauce_access_key](https://github.com/appium/ruby_lib/blob/
|
152
|
+
##### [sauce_access_key](https://github.com/appium/ruby_lib/blob/3060ef3bf06c19a79731a49985efa75c3337dd27/lib/appium_lib/driver.rb#L58) common
|
153
153
|
|
154
154
|
> def sauce_access_key
|
155
155
|
|
@@ -158,7 +158,7 @@ same as @sauce.access_key
|
|
158
158
|
|
159
159
|
--
|
160
160
|
|
161
|
-
##### [sauce_endpoint](https://github.com/appium/ruby_lib/blob/
|
161
|
+
##### [sauce_endpoint](https://github.com/appium/ruby_lib/blob/3060ef3bf06c19a79731a49985efa75c3337dd27/lib/appium_lib/driver.rb#L61) common
|
162
162
|
|
163
163
|
> def sauce_endpoint
|
164
164
|
|
@@ -167,7 +167,7 @@ same as @sauce.endpoint
|
|
167
167
|
|
168
168
|
--
|
169
169
|
|
170
|
-
##### [caps](https://github.com/appium/ruby_lib/blob/
|
170
|
+
##### [caps](https://github.com/appium/ruby_lib/blob/3060ef3bf06c19a79731a49985efa75c3337dd27/lib/appium_lib/driver.rb#L65) common
|
171
171
|
|
172
172
|
> def caps
|
173
173
|
|
@@ -176,7 +176,7 @@ read http://www.rubydoc.info/github/appium/ruby_lib_core/Appium/Core/Driver
|
|
176
176
|
|
177
177
|
--
|
178
178
|
|
179
|
-
##### [custom_url](https://github.com/appium/ruby_lib/blob/
|
179
|
+
##### [custom_url](https://github.com/appium/ruby_lib/blob/3060ef3bf06c19a79731a49985efa75c3337dd27/lib/appium_lib/driver.rb#L66) common
|
180
180
|
|
181
181
|
> def custom_url
|
182
182
|
|
@@ -184,7 +184,7 @@ Returns the value of attribute custom_url.
|
|
184
184
|
|
185
185
|
--
|
186
186
|
|
187
|
-
##### [export_session](https://github.com/appium/ruby_lib/blob/
|
187
|
+
##### [export_session](https://github.com/appium/ruby_lib/blob/3060ef3bf06c19a79731a49985efa75c3337dd27/lib/appium_lib/driver.rb#L67) common
|
188
188
|
|
189
189
|
> def export_session
|
190
190
|
|
@@ -192,7 +192,7 @@ Returns the value of attribute export_session.
|
|
192
192
|
|
193
193
|
--
|
194
194
|
|
195
|
-
##### [export_session_path](https://github.com/appium/ruby_lib/blob/
|
195
|
+
##### [export_session_path](https://github.com/appium/ruby_lib/blob/3060ef3bf06c19a79731a49985efa75c3337dd27/lib/appium_lib/driver.rb#L68) common
|
196
196
|
|
197
197
|
> def export_session_path
|
198
198
|
|
@@ -200,7 +200,7 @@ Returns the value of attribute export_session_path.
|
|
200
200
|
|
201
201
|
--
|
202
202
|
|
203
|
-
##### [default_wait](https://github.com/appium/ruby_lib/blob/
|
203
|
+
##### [default_wait](https://github.com/appium/ruby_lib/blob/3060ef3bf06c19a79731a49985efa75c3337dd27/lib/appium_lib/driver.rb#L69) common
|
204
204
|
|
205
205
|
> def default_wait
|
206
206
|
|
@@ -208,7 +208,7 @@ Returns the value of attribute default_wait.
|
|
208
208
|
|
209
209
|
--
|
210
210
|
|
211
|
-
##### [appium_port](https://github.com/appium/ruby_lib/blob/
|
211
|
+
##### [appium_port](https://github.com/appium/ruby_lib/blob/3060ef3bf06c19a79731a49985efa75c3337dd27/lib/appium_lib/driver.rb#L70) common
|
212
212
|
|
213
213
|
> def appium_port
|
214
214
|
|
@@ -216,7 +216,7 @@ Returns the value of attribute appium_port.
|
|
216
216
|
|
217
217
|
--
|
218
218
|
|
219
|
-
##### [appium_device](https://github.com/appium/ruby_lib/blob/
|
219
|
+
##### [appium_device](https://github.com/appium/ruby_lib/blob/3060ef3bf06c19a79731a49985efa75c3337dd27/lib/appium_lib/driver.rb#L71) common
|
220
220
|
|
221
221
|
> def appium_device
|
222
222
|
|
@@ -224,7 +224,7 @@ Returns the value of attribute appium_device.
|
|
224
224
|
|
225
225
|
--
|
226
226
|
|
227
|
-
##### [automation_name](https://github.com/appium/ruby_lib/blob/
|
227
|
+
##### [automation_name](https://github.com/appium/ruby_lib/blob/3060ef3bf06c19a79731a49985efa75c3337dd27/lib/appium_lib/driver.rb#L72) common
|
228
228
|
|
229
229
|
> def automation_name
|
230
230
|
|
@@ -232,7 +232,7 @@ Returns the value of attribute automation_name.
|
|
232
232
|
|
233
233
|
--
|
234
234
|
|
235
|
-
##### [listener](https://github.com/appium/ruby_lib/blob/
|
235
|
+
##### [listener](https://github.com/appium/ruby_lib/blob/3060ef3bf06c19a79731a49985efa75c3337dd27/lib/appium_lib/driver.rb#L73) common
|
236
236
|
|
237
237
|
> def listener
|
238
238
|
|
@@ -240,7 +240,7 @@ Returns the value of attribute listener.
|
|
240
240
|
|
241
241
|
--
|
242
242
|
|
243
|
-
##### [http_client](https://github.com/appium/ruby_lib/blob/
|
243
|
+
##### [http_client](https://github.com/appium/ruby_lib/blob/3060ef3bf06c19a79731a49985efa75c3337dd27/lib/appium_lib/driver.rb#L74) common
|
244
244
|
|
245
245
|
> def http_client
|
246
246
|
|
@@ -248,7 +248,7 @@ Returns the value of attribute http_client.
|
|
248
248
|
|
249
249
|
--
|
250
250
|
|
251
|
-
##### [appium_wait_timeout](https://github.com/appium/ruby_lib/blob/
|
251
|
+
##### [appium_wait_timeout](https://github.com/appium/ruby_lib/blob/3060ef3bf06c19a79731a49985efa75c3337dd27/lib/appium_lib/driver.rb#L75) common
|
252
252
|
|
253
253
|
> def appium_wait_timeout
|
254
254
|
|
@@ -256,7 +256,7 @@ Returns the value of attribute appium_wait_timeout.
|
|
256
256
|
|
257
257
|
--
|
258
258
|
|
259
|
-
##### [appium_wait_interval](https://github.com/appium/ruby_lib/blob/
|
259
|
+
##### [appium_wait_interval](https://github.com/appium/ruby_lib/blob/3060ef3bf06c19a79731a49985efa75c3337dd27/lib/appium_lib/driver.rb#L76) common
|
260
260
|
|
261
261
|
> def appium_wait_interval
|
262
262
|
|
@@ -264,7 +264,7 @@ Returns the value of attribute appium_wait_interval.
|
|
264
264
|
|
265
265
|
--
|
266
266
|
|
267
|
-
##### [appium_server_status](https://github.com/appium/ruby_lib/blob/
|
267
|
+
##### [appium_server_status](https://github.com/appium/ruby_lib/blob/3060ef3bf06c19a79731a49985efa75c3337dd27/lib/appium_lib/driver.rb#L79) common
|
268
268
|
|
269
269
|
> def appium_server_status
|
270
270
|
|
@@ -272,7 +272,7 @@ Appium's server version
|
|
272
272
|
|
273
273
|
--
|
274
274
|
|
275
|
-
##### [appium_debug](https://github.com/appium/ruby_lib/blob/
|
275
|
+
##### [appium_debug](https://github.com/appium/ruby_lib/blob/3060ef3bf06c19a79731a49985efa75c3337dd27/lib/appium_lib/driver.rb#L81) common
|
276
276
|
|
277
277
|
> def appium_debug
|
278
278
|
|
@@ -280,7 +280,7 @@ Boolean debug mode for the Appium Ruby bindings
|
|
280
280
|
|
281
281
|
--
|
282
282
|
|
283
|
-
##### [driver](https://github.com/appium/ruby_lib/blob/
|
283
|
+
##### [driver](https://github.com/appium/ruby_lib/blob/3060ef3bf06c19a79731a49985efa75c3337dd27/lib/appium_lib/driver.rb#L84) common
|
284
284
|
|
285
285
|
> def driver
|
286
286
|
|
@@ -292,7 +292,7 @@ __Returns:__
|
|
292
292
|
|
293
293
|
--
|
294
294
|
|
295
|
-
##### [core](https://github.com/appium/ruby_lib/blob/
|
295
|
+
##### [core](https://github.com/appium/ruby_lib/blob/3060ef3bf06c19a79731a49985efa75c3337dd27/lib/appium_lib/driver.rb#L86) common
|
296
296
|
|
297
297
|
> def core
|
298
298
|
|
@@ -300,9 +300,9 @@ Instance of Appium::Core::Driver
|
|
300
300
|
|
301
301
|
--
|
302
302
|
|
303
|
-
##### [initialize](https://github.com/appium/ruby_lib/blob/
|
303
|
+
##### [initialize](https://github.com/appium/ruby_lib/blob/3060ef3bf06c19a79731a49985efa75c3337dd27/lib/appium_lib/driver.rb#L154) common
|
304
304
|
|
305
|
-
> def initialize(opts = {}, global_driver =
|
305
|
+
> def initialize(opts = {}, global_driver = false)
|
306
306
|
|
307
307
|
Creates a new driver. The driver is defined as global scope by default.
|
308
308
|
We can avoid defining global driver.
|
@@ -319,7 +319,7 @@ __Returns:__
|
|
319
319
|
|
320
320
|
--
|
321
321
|
|
322
|
-
##### [driver_attributes](https://github.com/appium/ruby_lib/blob/
|
322
|
+
##### [driver_attributes](https://github.com/appium/ruby_lib/blob/3060ef3bf06c19a79731a49985efa75c3337dd27/lib/appium_lib/driver.rb#L270) common
|
323
323
|
|
324
324
|
> def driver_attributes
|
325
325
|
|
@@ -327,7 +327,7 @@ Returns a hash of the driver attributes
|
|
327
327
|
|
328
328
|
--
|
329
329
|
|
330
|
-
##### [device_is_android?](https://github.com/appium/ruby_lib/blob/
|
330
|
+
##### [device_is_android?](https://github.com/appium/ruby_lib/blob/3060ef3bf06c19a79731a49985efa75c3337dd27/lib/appium_lib/driver.rb#L290) common
|
331
331
|
|
332
332
|
> def device_is_android?
|
333
333
|
|
@@ -339,7 +339,7 @@ __Returns:__
|
|
339
339
|
|
340
340
|
--
|
341
341
|
|
342
|
-
##### [device_is_ios?](https://github.com/appium/ruby_lib/blob/
|
342
|
+
##### [device_is_ios?](https://github.com/appium/ruby_lib/blob/3060ef3bf06c19a79731a49985efa75c3337dd27/lib/appium_lib/driver.rb#L294) common
|
343
343
|
|
344
344
|
> def device_is_ios?
|
345
345
|
|
@@ -351,7 +351,7 @@ __Returns:__
|
|
351
351
|
|
352
352
|
--
|
353
353
|
|
354
|
-
##### [device_is_windows?](https://github.com/appium/ruby_lib/blob/
|
354
|
+
##### [device_is_windows?](https://github.com/appium/ruby_lib/blob/3060ef3bf06c19a79731a49985efa75c3337dd27/lib/appium_lib/driver.rb#L298) common
|
355
355
|
|
356
356
|
> def device_is_windows?
|
357
357
|
|
@@ -363,7 +363,7 @@ __Returns:__
|
|
363
363
|
|
364
364
|
--
|
365
365
|
|
366
|
-
##### [automation_name_is_uiautomator2?](https://github.com/appium/ruby_lib/blob/
|
366
|
+
##### [automation_name_is_uiautomator2?](https://github.com/appium/ruby_lib/blob/3060ef3bf06c19a79731a49985efa75c3337dd27/lib/appium_lib/driver.rb#L304) common
|
367
367
|
|
368
368
|
> def automation_name_is_uiautomator2?
|
369
369
|
|
@@ -375,7 +375,7 @@ __Returns:__
|
|
375
375
|
|
376
376
|
--
|
377
377
|
|
378
|
-
##### [automation_name_is_espresso?](https://github.com/appium/ruby_lib/blob/
|
378
|
+
##### [automation_name_is_espresso?](https://github.com/appium/ruby_lib/blob/3060ef3bf06c19a79731a49985efa75c3337dd27/lib/appium_lib/driver.rb#L310) common
|
379
379
|
|
380
380
|
> def automation_name_is_espresso?
|
381
381
|
|
@@ -387,7 +387,7 @@ __Returns:__
|
|
387
387
|
|
388
388
|
--
|
389
389
|
|
390
|
-
##### [automation_name_is_xcuitest?](https://github.com/appium/ruby_lib/blob/
|
390
|
+
##### [automation_name_is_xcuitest?](https://github.com/appium/ruby_lib/blob/3060ef3bf06c19a79731a49985efa75c3337dd27/lib/appium_lib/driver.rb#L316) common
|
391
391
|
|
392
392
|
> def automation_name_is_xcuitest?
|
393
393
|
|
@@ -399,33 +399,11 @@ __Returns:__
|
|
399
399
|
|
400
400
|
--
|
401
401
|
|
402
|
-
##### [
|
403
|
-
|
404
|
-
> def dialect
|
405
|
-
|
406
|
-
Get the dialect value whether current driver is OSS or W3C
|
407
|
-
|
408
|
-
__Returns:__
|
409
|
-
|
410
|
-
[:oss | :w3c] @example
|
411
|
-
|
412
|
-
if dialect == :w3c
|
413
|
-
driver.action
|
414
|
-
.move_to_location(500, 500).pointer_down(:left)
|
415
|
-
.move_to_location(0, 700)
|
416
|
-
.release.perform
|
417
|
-
else
|
418
|
-
action = TouchAction.new(driver).press(x: 500, y: 500).move_to(500, 700).release
|
419
|
-
action.perform
|
420
|
-
end
|
421
|
-
|
422
|
-
--
|
423
|
-
|
424
|
-
##### [action](https://github.com/appium/ruby_lib/blob/06f2e54b4b55df25e624272b5a2cd7b23a000298/lib/appium_lib/driver.rb#L358) common
|
402
|
+
##### [action](https://github.com/appium/ruby_lib/blob/3060ef3bf06c19a79731a49985efa75c3337dd27/lib/appium_lib/driver.rb#L330) common
|
425
403
|
|
426
404
|
> def action
|
427
405
|
|
428
|
-
An entry point to chain W3C actions
|
406
|
+
An entry point to chain W3C actions
|
429
407
|
Read https://www.rubydoc.info/github/appium/ruby_lib_core/Appium/Core/Base/Bridge/W3C#action-instance_method
|
430
408
|
|
431
409
|
__Returns:__
|
@@ -434,7 +412,7 @@ __Returns:__
|
|
434
412
|
|
435
413
|
--
|
436
414
|
|
437
|
-
##### [appium_server_version](https://github.com/appium/ruby_lib/blob/
|
415
|
+
##### [appium_server_version](https://github.com/appium/ruby_lib/blob/3060ef3bf06c19a79731a49985efa75c3337dd27/lib/appium_lib/driver.rb#L345) common
|
438
416
|
|
439
417
|
> def appium_server_version
|
440
418
|
|
@@ -446,7 +424,7 @@ __Returns:__
|
|
446
424
|
|
447
425
|
--
|
448
426
|
|
449
|
-
##### [remote_status](https://github.com/appium/ruby_lib/blob/
|
427
|
+
##### [remote_status](https://github.com/appium/ruby_lib/blob/3060ef3bf06c19a79731a49985efa75c3337dd27/lib/appium_lib/driver.rb#L353) common
|
450
428
|
|
451
429
|
> def appium_server_version
|
452
430
|
|
@@ -458,7 +436,7 @@ __Returns:__
|
|
458
436
|
|
459
437
|
--
|
460
438
|
|
461
|
-
##### [platform_version](https://github.com/appium/ruby_lib/blob/
|
439
|
+
##### [platform_version](https://github.com/appium/ruby_lib/blob/3060ef3bf06c19a79731a49985efa75c3337dd27/lib/appium_lib/driver.rb#L357) common
|
462
440
|
|
463
441
|
> def platform_version
|
464
442
|
|
@@ -470,7 +448,7 @@ __Returns:__
|
|
470
448
|
|
471
449
|
--
|
472
450
|
|
473
|
-
##### [appium_client_version](https://github.com/appium/ruby_lib/blob/
|
451
|
+
##### [appium_client_version](https://github.com/appium/ruby_lib/blob/3060ef3bf06c19a79731a49985efa75c3337dd27/lib/appium_lib/driver.rb#L370) common
|
474
452
|
|
475
453
|
> def appium_client_version
|
476
454
|
|
@@ -482,7 +460,7 @@ __Returns:__
|
|
482
460
|
|
483
461
|
--
|
484
462
|
|
485
|
-
##### [absolute_app_path](https://github.com/appium/ruby_lib/blob/
|
463
|
+
##### [absolute_app_path](https://github.com/appium/ruby_lib/blob/3060ef3bf06c19a79731a49985efa75c3337dd27/lib/appium_lib/driver.rb#L382) common
|
486
464
|
|
487
465
|
> def absolute_app_path(opts)
|
488
466
|
|
@@ -499,7 +477,7 @@ __Returns:__
|
|
499
477
|
|
500
478
|
--
|
501
479
|
|
502
|
-
##### [server_url](https://github.com/appium/ruby_lib/blob/
|
480
|
+
##### [server_url](https://github.com/appium/ruby_lib/blob/3060ef3bf06c19a79731a49985efa75c3337dd27/lib/appium_lib/driver.rb#L403) common
|
503
481
|
|
504
482
|
> def server_url
|
505
483
|
|
@@ -511,7 +489,7 @@ __Returns:__
|
|
511
489
|
|
512
490
|
--
|
513
491
|
|
514
|
-
##### [restart](https://github.com/appium/ruby_lib/blob/
|
492
|
+
##### [restart](https://github.com/appium/ruby_lib/blob/3060ef3bf06c19a79731a49985efa75c3337dd27/lib/appium_lib/driver.rb#L412) common
|
515
493
|
|
516
494
|
> def restart
|
517
495
|
|
@@ -523,7 +501,7 @@ __Returns:__
|
|
523
501
|
|
524
502
|
--
|
525
503
|
|
526
|
-
##### [screenshot](https://github.com/appium/ruby_lib/blob/
|
504
|
+
##### [screenshot](https://github.com/appium/ruby_lib/blob/3060ef3bf06c19a79731a49985efa75c3337dd27/lib/appium_lib/driver.rb#L425) common
|
527
505
|
|
528
506
|
> def screenshot(png_save_path)
|
529
507
|
|
@@ -539,7 +517,7 @@ __Returns:__
|
|
539
517
|
|
540
518
|
--
|
541
519
|
|
542
|
-
##### [element_screenshot](https://github.com/appium/ruby_lib/blob/
|
520
|
+
##### [element_screenshot](https://github.com/appium/ruby_lib/blob/3060ef3bf06c19a79731a49985efa75c3337dd27/lib/appium_lib/driver.rb#L439) common
|
543
521
|
|
544
522
|
> def element_screenshot(element, png_save_path)
|
545
523
|
|
@@ -557,7 +535,7 @@ __Returns:__
|
|
557
535
|
|
558
536
|
--
|
559
537
|
|
560
|
-
##### [driver_quit](https://github.com/appium/ruby_lib/blob/
|
538
|
+
##### [driver_quit](https://github.com/appium/ruby_lib/blob/3060ef3bf06c19a79731a49985efa75c3337dd27/lib/appium_lib/driver.rb#L446) common
|
561
539
|
|
562
540
|
> def driver_quit
|
563
541
|
|
@@ -569,7 +547,7 @@ __Returns:__
|
|
569
547
|
|
570
548
|
--
|
571
549
|
|
572
|
-
##### [quit_driver](https://github.com/appium/ruby_lib/blob/
|
550
|
+
##### [quit_driver](https://github.com/appium/ruby_lib/blob/3060ef3bf06c19a79731a49985efa75c3337dd27/lib/appium_lib/driver.rb#L449) common
|
573
551
|
|
574
552
|
> def driver_quit
|
575
553
|
|
@@ -581,7 +559,7 @@ __Returns:__
|
|
581
559
|
|
582
560
|
--
|
583
561
|
|
584
|
-
##### [window_size](https://github.com/appium/ruby_lib/blob/
|
562
|
+
##### [window_size](https://github.com/appium/ruby_lib/blob/3060ef3bf06c19a79731a49985efa75c3337dd27/lib/appium_lib/driver.rb#L460) common
|
585
563
|
|
586
564
|
> def window_size
|
587
565
|
|
@@ -593,7 +571,7 @@ __Returns:__
|
|
593
571
|
|
594
572
|
--
|
595
573
|
|
596
|
-
##### [window_rect](https://github.com/appium/ruby_lib/blob/
|
574
|
+
##### [window_rect](https://github.com/appium/ruby_lib/blob/3060ef3bf06c19a79731a49985efa75c3337dd27/lib/appium_lib/driver.rb#L475) common
|
597
575
|
|
598
576
|
> def window_rect
|
599
577
|
|
@@ -605,7 +583,7 @@ __Returns:__
|
|
605
583
|
|
606
584
|
--
|
607
585
|
|
608
|
-
##### [start_driver](https://github.com/appium/ruby_lib/blob/
|
586
|
+
##### [start_driver](https://github.com/appium/ruby_lib/blob/3060ef3bf06c19a79731a49985efa75c3337dd27/lib/appium_lib/driver.rb#L508) common
|
609
587
|
|
610
588
|
> def start_driver(http_client_ops = { http_client: ::Appium::Http::Default.new, open_timeout: 999_999, read_timeout: 999_999 })
|
611
589
|
|
@@ -625,7 +603,7 @@ __Returns:__
|
|
625
603
|
|
626
604
|
--
|
627
605
|
|
628
|
-
##### [set_implicit_wait](https://github.com/appium/ruby_lib/blob/
|
606
|
+
##### [set_implicit_wait](https://github.com/appium/ruby_lib/blob/3060ef3bf06c19a79731a49985efa75c3337dd27/lib/appium_lib/driver.rb#L529) common
|
629
607
|
|
630
608
|
> def set_implicit_wait(wait)
|
631
609
|
|
@@ -633,7 +611,7 @@ To ignore error for Espresso Driver
|
|
633
611
|
|
634
612
|
--
|
635
613
|
|
636
|
-
##### [no_wait](https://github.com/appium/ruby_lib/blob/
|
614
|
+
##### [no_wait](https://github.com/appium/ruby_lib/blob/3060ef3bf06c19a79731a49985efa75c3337dd27/lib/appium_lib/driver.rb#L540) common
|
637
615
|
|
638
616
|
> def no_wait
|
639
617
|
|
@@ -641,7 +619,7 @@ Set implicit wait to zero.
|
|
641
619
|
|
642
620
|
--
|
643
621
|
|
644
|
-
##### [set_wait](https://github.com/appium/ruby_lib/blob/
|
622
|
+
##### [set_wait](https://github.com/appium/ruby_lib/blob/3060ef3bf06c19a79731a49985efa75c3337dd27/lib/appium_lib/driver.rb#L554) common
|
645
623
|
|
646
624
|
> def set_wait(timeout = nil)
|
647
625
|
|
@@ -657,7 +635,7 @@ __Returns:__
|
|
657
635
|
|
658
636
|
--
|
659
637
|
|
660
|
-
##### [exists](https://github.com/appium/ruby_lib/blob/
|
638
|
+
##### [exists](https://github.com/appium/ruby_lib/blob/3060ef3bf06c19a79731a49985efa75c3337dd27/lib/appium_lib/driver.rb#L571) common
|
661
639
|
|
662
640
|
> def exists(pre_check = 0, post_check = @core.default_wait)
|
663
641
|
|
@@ -681,7 +659,7 @@ __Returns:__
|
|
681
659
|
|
682
660
|
--
|
683
661
|
|
684
|
-
##### [execute_script](https://github.com/appium/ruby_lib/blob/
|
662
|
+
##### [execute_script](https://github.com/appium/ruby_lib/blob/3060ef3bf06c19a79731a49985efa75c3337dd27/lib/appium_lib/driver.rb#L595) common
|
685
663
|
|
686
664
|
> def execute_script(script, *args)
|
687
665
|
|
@@ -699,7 +677,7 @@ __Returns:__
|
|
699
677
|
|
700
678
|
--
|
701
679
|
|
702
|
-
##### [execute_async_script](https://github.com/appium/ruby_lib/blob/
|
680
|
+
##### [execute_async_script](https://github.com/appium/ruby_lib/blob/3060ef3bf06c19a79731a49985efa75c3337dd27/lib/appium_lib/driver.rb#L603) common
|
703
681
|
|
704
682
|
> def execute_async_script(script, *args)
|
705
683
|
|
@@ -709,7 +687,7 @@ Get the window handles of open browser windows
|
|
709
687
|
|
710
688
|
--
|
711
689
|
|
712
|
-
##### [execute_driver](https://github.com/appium/ruby_lib/blob/
|
690
|
+
##### [execute_driver](https://github.com/appium/ruby_lib/blob/3060ef3bf06c19a79731a49985efa75c3337dd27/lib/appium_lib/driver.rb#L635) common
|
713
691
|
|
714
692
|
> def execute_driver(script: '', type: 'webdriverio', timeout_ms: nil)
|
715
693
|
|
@@ -735,7 +713,7 @@ Appium::Core::Base::Device::ExecuteDriver::Result.
|
|
735
713
|
|
736
714
|
--
|
737
715
|
|
738
|
-
##### [window_handles](https://github.com/appium/ruby_lib/blob/
|
716
|
+
##### [window_handles](https://github.com/appium/ruby_lib/blob/3060ef3bf06c19a79731a49985efa75c3337dd27/lib/appium_lib/driver.rb#L639) common
|
739
717
|
|
740
718
|
> def window_handles
|
741
719
|
|
@@ -743,7 +721,7 @@ Appium::Core::Base::Device::ExecuteDriver::Result.
|
|
743
721
|
|
744
722
|
--
|
745
723
|
|
746
|
-
##### [window_handle](https://github.com/appium/ruby_lib/blob/
|
724
|
+
##### [window_handle](https://github.com/appium/ruby_lib/blob/3060ef3bf06c19a79731a49985efa75c3337dd27/lib/appium_lib/driver.rb#L644) common
|
747
725
|
|
748
726
|
> def window_handle
|
749
727
|
|
@@ -751,7 +729,7 @@ Get the current window handle
|
|
751
729
|
|
752
730
|
--
|
753
731
|
|
754
|
-
##### [navigate](https://github.com/appium/ruby_lib/blob/
|
732
|
+
##### [navigate](https://github.com/appium/ruby_lib/blob/3060ef3bf06c19a79731a49985efa75c3337dd27/lib/appium_lib/driver.rb#L648) common
|
755
733
|
|
756
734
|
> def navigate
|
757
735
|
|
@@ -759,7 +737,7 @@ Get the current window handle
|
|
759
737
|
|
760
738
|
--
|
761
739
|
|
762
|
-
##### [manage](https://github.com/appium/ruby_lib/blob/
|
740
|
+
##### [manage](https://github.com/appium/ruby_lib/blob/3060ef3bf06c19a79731a49985efa75c3337dd27/lib/appium_lib/driver.rb#L652) common
|
763
741
|
|
764
742
|
> def manage
|
765
743
|
|
@@ -767,7 +745,7 @@ Get the current window handle
|
|
767
745
|
|
768
746
|
--
|
769
747
|
|
770
|
-
##### [get](https://github.com/appium/ruby_lib/blob/
|
748
|
+
##### [get](https://github.com/appium/ruby_lib/blob/3060ef3bf06c19a79731a49985efa75c3337dd27/lib/appium_lib/driver.rb#L656) common
|
771
749
|
|
772
750
|
> def get(url)
|
773
751
|
|
@@ -775,7 +753,7 @@ Get the current window handle
|
|
775
753
|
|
776
754
|
--
|
777
755
|
|
778
|
-
##### [current_url](https://github.com/appium/ruby_lib/blob/
|
756
|
+
##### [current_url](https://github.com/appium/ruby_lib/blob/3060ef3bf06c19a79731a49985efa75c3337dd27/lib/appium_lib/driver.rb#L660) common
|
779
757
|
|
780
758
|
> def current_url
|
781
759
|
|
@@ -783,7 +761,7 @@ Get the current window handle
|
|
783
761
|
|
784
762
|
--
|
785
763
|
|
786
|
-
##### [title](https://github.com/appium/ruby_lib/blob/
|
764
|
+
##### [title](https://github.com/appium/ruby_lib/blob/3060ef3bf06c19a79731a49985efa75c3337dd27/lib/appium_lib/driver.rb#L664) common
|
787
765
|
|
788
766
|
> def title
|
789
767
|
|
@@ -791,7 +769,7 @@ Get the current window handle
|
|
791
769
|
|
792
770
|
--
|
793
771
|
|
794
|
-
##### [switch_to](https://github.com/appium/ruby_lib/blob/
|
772
|
+
##### [switch_to](https://github.com/appium/ruby_lib/blob/3060ef3bf06c19a79731a49985efa75c3337dd27/lib/appium_lib/driver.rb#L670) common
|
795
773
|
|
796
774
|
> def switch_to
|
797
775
|
|
@@ -803,7 +781,7 @@ __Returns:__
|
|
803
781
|
|
804
782
|
--
|
805
783
|
|
806
|
-
##### [find_elements](https://github.com/appium/ruby_lib/blob/
|
784
|
+
##### [find_elements](https://github.com/appium/ruby_lib/blob/3060ef3bf06c19a79731a49985efa75c3337dd27/lib/appium_lib/driver.rb#L697) common
|
807
785
|
|
808
786
|
> def find_elements(*args)
|
809
787
|
|
@@ -823,7 +801,7 @@ __Returns:__
|
|
823
801
|
|
824
802
|
--
|
825
803
|
|
826
|
-
##### [find_element](https://github.com/appium/ruby_lib/blob/
|
804
|
+
##### [find_element](https://github.com/appium/ruby_lib/blob/3060ef3bf06c19a79731a49985efa75c3337dd27/lib/appium_lib/driver.rb#L713) common
|
827
805
|
|
828
806
|
> def find_element(*args)
|
829
807
|
|
@@ -841,7 +819,7 @@ __Returns:__
|
|
841
819
|
|
842
820
|
--
|
843
821
|
|
844
|
-
##### [find_element_by_image](https://github.com/appium/ruby_lib/blob/
|
822
|
+
##### [find_element_by_image](https://github.com/appium/ruby_lib/blob/3060ef3bf06c19a79731a49985efa75c3337dd27/lib/appium_lib/driver.rb#L728) common
|
845
823
|
|
846
824
|
> def find_element_by_image(png_img_path)
|
847
825
|
|
@@ -857,7 +835,7 @@ __Returns:__
|
|
857
835
|
|
858
836
|
--
|
859
837
|
|
860
|
-
##### [find_elements_by_image](https://github.com/appium/ruby_lib/blob/
|
838
|
+
##### [find_elements_by_image](https://github.com/appium/ruby_lib/blob/3060ef3bf06c19a79731a49985efa75c3337dd27/lib/appium_lib/driver.rb#L743) common
|
861
839
|
|
862
840
|
> def find_elements_by_image(png_img_paths)
|
863
841
|
|
@@ -873,7 +851,7 @@ __Returns:__
|
|
873
851
|
|
874
852
|
--
|
875
853
|
|
876
|
-
##### [set_location](https://github.com/appium/ruby_lib/blob/
|
854
|
+
##### [set_location](https://github.com/appium/ruby_lib/blob/3060ef3bf06c19a79731a49985efa75c3337dd27/lib/appium_lib/driver.rb#L756) common
|
877
855
|
|
878
856
|
> def set_location(opts = {})
|
879
857
|
|
@@ -889,7 +867,7 @@ __Returns:__
|
|
889
867
|
|
890
868
|
--
|
891
869
|
|
892
|
-
##### [log_event](https://github.com/appium/ruby_lib/blob/
|
870
|
+
##### [log_event](https://github.com/appium/ruby_lib/blob/3060ef3bf06c19a79731a49985efa75c3337dd27/lib/appium_lib/driver.rb#L780) common
|
893
871
|
|
894
872
|
> def log_event(vendor:, event:)
|
895
873
|
|
@@ -908,7 +886,7 @@ __Returns:__
|
|
908
886
|
|
909
887
|
--
|
910
888
|
|
911
|
-
##### [log_event=](https://github.com/appium/ruby_lib/blob/
|
889
|
+
##### [log_event=](https://github.com/appium/ruby_lib/blob/3060ef3bf06c19a79731a49985efa75c3337dd27/lib/appium_lib/driver.rb#L784) common
|
912
890
|
|
913
891
|
> def log_event=(log_event)
|
914
892
|
|
@@ -916,7 +894,7 @@ __Returns:__
|
|
916
894
|
|
917
895
|
--
|
918
896
|
|
919
|
-
##### [log_events](https://github.com/appium/ruby_lib/blob/
|
897
|
+
##### [log_events](https://github.com/appium/ruby_lib/blob/3060ef3bf06c19a79731a49985efa75c3337dd27/lib/appium_lib/driver.rb#L803) common
|
920
898
|
|
921
899
|
> def log_events(type = nil)
|
922
900
|
|
@@ -932,7 +910,7 @@ __Returns:__
|
|
932
910
|
|
933
911
|
--
|
934
912
|
|
935
|
-
##### [x](https://github.com/appium/ruby_lib/blob/
|
913
|
+
##### [x](https://github.com/appium/ruby_lib/blob/3060ef3bf06c19a79731a49985efa75c3337dd27/lib/appium_lib/driver.rb#L810) common
|
936
914
|
|
937
915
|
> def x
|
938
916
|
|
@@ -945,7 +923,7 @@ __Returns:__
|
|
945
923
|
|
946
924
|
--
|
947
925
|
|
948
|
-
##### [username](https://github.com/appium/ruby_lib/blob/
|
926
|
+
##### [username](https://github.com/appium/ruby_lib/blob/3060ef3bf06c19a79731a49985efa75c3337dd27/lib/appium_lib/sauce_labs.rb#L18) common
|
949
927
|
|
950
928
|
> def username
|
951
929
|
|
@@ -953,7 +931,7 @@ Username for use on Sauce Labs. Set `false` to disable Sauce, even when SAUCE_US
|
|
953
931
|
|
954
932
|
--
|
955
933
|
|
956
|
-
##### [access_key](https://github.com/appium/ruby_lib/blob/
|
934
|
+
##### [access_key](https://github.com/appium/ruby_lib/blob/3060ef3bf06c19a79731a49985efa75c3337dd27/lib/appium_lib/sauce_labs.rb#L20) common
|
957
935
|
|
958
936
|
> def access_key
|
959
937
|
|
@@ -961,7 +939,7 @@ Access Key for use on Sauce Labs. Set `false` to disable Sauce, even when SAUCE_
|
|
961
939
|
|
962
940
|
--
|
963
941
|
|
964
|
-
##### [endpoint](https://github.com/appium/ruby_lib/blob/
|
942
|
+
##### [endpoint](https://github.com/appium/ruby_lib/blob/3060ef3bf06c19a79731a49985efa75c3337dd27/lib/appium_lib/sauce_labs.rb#L22) common
|
965
943
|
|
966
944
|
> def endpoint
|
967
945
|
|
@@ -969,7 +947,7 @@ Override the Sauce Appium endpoint to allow e.g. TestObject tests. Default is 'o
|
|
969
947
|
|
970
948
|
--
|
971
949
|
|
972
|
-
##### [initialize](https://github.com/appium/ruby_lib/blob/
|
950
|
+
##### [initialize](https://github.com/appium/ruby_lib/blob/3060ef3bf06c19a79731a49985efa75c3337dd27/lib/appium_lib/sauce_labs.rb#L47) common
|
973
951
|
|
974
952
|
> def initialize(appium_lib_opts)
|
975
953
|
|
@@ -985,7 +963,7 @@ __Returns:__
|
|
985
963
|
|
986
964
|
--
|
987
965
|
|
988
|
-
##### [sauce_server_url?](https://github.com/appium/ruby_lib/blob/
|
966
|
+
##### [sauce_server_url?](https://github.com/appium/ruby_lib/blob/3060ef3bf06c19a79731a49985efa75c3337dd27/lib/appium_lib/sauce_labs.rb#L67) common
|
989
967
|
|
990
968
|
> def sauce_server_url?
|
991
969
|
|
@@ -997,7 +975,7 @@ __Returns:__
|
|
997
975
|
|
998
976
|
--
|
999
977
|
|
1000
|
-
##### [server_url](https://github.com/appium/ruby_lib/blob/
|
978
|
+
##### [server_url](https://github.com/appium/ruby_lib/blob/3060ef3bf06c19a79731a49985efa75c3337dd27/lib/appium_lib/sauce_labs.rb#L80) common
|
1001
979
|
|
1002
980
|
> def server_url
|
1003
981
|
|
@@ -1009,7 +987,7 @@ __Returns:__
|
|
1009
987
|
|
1010
988
|
--
|
1011
989
|
|
1012
|
-
##### [get_log](https://github.com/appium/ruby_lib/blob/
|
990
|
+
##### [get_log](https://github.com/appium/ruby_lib/blob/3060ef3bf06c19a79731a49985efa75c3337dd27/lib/appium_lib/common/log.rb#L25) common
|
1013
991
|
|
1014
992
|
> def get_log(type)
|
1015
993
|
|
@@ -1025,7 +1003,7 @@ __Returns:__
|
|
1025
1003
|
|
1026
1004
|
--
|
1027
1005
|
|
1028
|
-
##### [get_available_log_types](https://github.com/appium/ruby_lib/blob/
|
1006
|
+
##### [get_available_log_types](https://github.com/appium/ruby_lib/blob/3060ef3bf06c19a79731a49985efa75c3337dd27/lib/appium_lib/common/log.rb#L37) common
|
1029
1007
|
|
1030
1008
|
> def get_available_log_types
|
1031
1009
|
|
@@ -1037,7 +1015,7 @@ __Returns:__
|
|
1037
1015
|
|
1038
1016
|
--
|
1039
1017
|
|
1040
|
-
##### [wait_true](https://github.com/appium/ruby_lib/blob/
|
1018
|
+
##### [wait_true](https://github.com/appium/ruby_lib/blob/3060ef3bf06c19a79731a49985efa75c3337dd27/lib/appium_lib/common/wait.rb#L44) common
|
1041
1019
|
|
1042
1020
|
> def wait_true(opts = {})
|
1043
1021
|
|
@@ -1057,7 +1035,7 @@ __Parameters:__
|
|
1057
1035
|
|
1058
1036
|
--
|
1059
1037
|
|
1060
|
-
##### [wait](https://github.com/appium/ruby_lib/blob/
|
1038
|
+
##### [wait](https://github.com/appium/ruby_lib/blob/3060ef3bf06c19a79731a49985efa75c3337dd27/lib/appium_lib/common/wait.rb#L73) common
|
1061
1039
|
|
1062
1040
|
> def wait(opts = {})
|
1063
1041
|
|
@@ -1075,7 +1053,7 @@ __Parameters:__
|
|
1075
1053
|
|
1076
1054
|
--
|
1077
1055
|
|
1078
|
-
##### [add_touch_actions](https://github.com/appium/ruby_lib/blob/
|
1056
|
+
##### [add_touch_actions](https://github.com/appium/ruby_lib/blob/3060ef3bf06c19a79731a49985efa75c3337dd27/lib/appium_lib/common/device.rb#L26) common
|
1079
1057
|
|
1080
1058
|
> def add_touch_actions
|
1081
1059
|
|
@@ -1083,7 +1061,7 @@ __Parameters:__
|
|
1083
1061
|
|
1084
1062
|
--
|
1085
1063
|
|
1086
|
-
##### [delegate_from_appium_driver](https://github.com/appium/ruby_lib/blob/
|
1064
|
+
##### [delegate_from_appium_driver](https://github.com/appium/ruby_lib/blob/3060ef3bf06c19a79731a49985efa75c3337dd27/lib/appium_lib/common/device.rb#L38) common
|
1087
1065
|
|
1088
1066
|
> def delegate_from_appium_driver(method, delegation_target)
|
1089
1067
|
|
@@ -1091,7 +1069,7 @@ __Parameters:__
|
|
1091
1069
|
|
1092
1070
|
--
|
1093
1071
|
|
1094
|
-
##### [ignore](https://github.com/appium/ruby_lib/blob/
|
1072
|
+
##### [ignore](https://github.com/appium/ruby_lib/blob/3060ef3bf06c19a79731a49985efa75c3337dd27/lib/appium_lib/common/helper.rb#L30) common
|
1095
1073
|
|
1096
1074
|
> def ignore
|
1097
1075
|
|
@@ -1099,7 +1077,7 @@ Return yield and ignore any exceptions.
|
|
1099
1077
|
|
1100
1078
|
--
|
1101
1079
|
|
1102
|
-
##### [back](https://github.com/appium/ruby_lib/blob/
|
1080
|
+
##### [back](https://github.com/appium/ruby_lib/blob/3060ef3bf06c19a79731a49985efa75c3337dd27/lib/appium_lib/common/helper.rb#L38) common
|
1103
1081
|
|
1104
1082
|
> def back
|
1105
1083
|
|
@@ -1111,7 +1089,7 @@ __Returns:__
|
|
1111
1089
|
|
1112
1090
|
--
|
1113
1091
|
|
1114
|
-
##### [session_id](https://github.com/appium/ruby_lib/blob/
|
1092
|
+
##### [session_id](https://github.com/appium/ruby_lib/blob/3060ef3bf06c19a79731a49985efa75c3337dd27/lib/appium_lib/common/helper.rb#L49) common
|
1115
1093
|
|
1116
1094
|
> def session_id
|
1117
1095
|
|
@@ -1123,7 +1101,7 @@ __Returns:__
|
|
1123
1101
|
|
1124
1102
|
--
|
1125
1103
|
|
1126
|
-
##### [xpath](https://github.com/appium/ruby_lib/blob/
|
1104
|
+
##### [xpath](https://github.com/appium/ruby_lib/blob/3060ef3bf06c19a79731a49985efa75c3337dd27/lib/appium_lib/common/helper.rb#L57) common
|
1127
1105
|
|
1128
1106
|
> def xpath(xpath_str)
|
1129
1107
|
|
@@ -1139,7 +1117,7 @@ __Returns:__
|
|
1139
1117
|
|
1140
1118
|
--
|
1141
1119
|
|
1142
|
-
##### [xpaths](https://github.com/appium/ruby_lib/blob/
|
1120
|
+
##### [xpaths](https://github.com/appium/ruby_lib/blob/3060ef3bf06c19a79731a49985efa75c3337dd27/lib/appium_lib/common/helper.rb#L65) common
|
1143
1121
|
|
1144
1122
|
> def xpaths(xpath_str)
|
1145
1123
|
|
@@ -1155,7 +1133,7 @@ __Returns:__
|
|
1155
1133
|
|
1156
1134
|
--
|
1157
1135
|
|
1158
|
-
##### [result](https://github.com/appium/ruby_lib/blob/
|
1136
|
+
##### [result](https://github.com/appium/ruby_lib/blob/3060ef3bf06c19a79731a49985efa75c3337dd27/lib/appium_lib/common/helper.rb#L75) common
|
1159
1137
|
|
1160
1138
|
> def result
|
1161
1139
|
|
@@ -1163,7 +1141,7 @@ Returns the value of attribute result.
|
|
1163
1141
|
|
1164
1142
|
--
|
1165
1143
|
|
1166
|
-
##### [initialize](https://github.com/appium/ruby_lib/blob/
|
1144
|
+
##### [initialize](https://github.com/appium/ruby_lib/blob/3060ef3bf06c19a79731a49985efa75c3337dd27/lib/appium_lib/common/helper.rb#L77) common
|
1167
1145
|
|
1168
1146
|
> def initialize(platform)
|
1169
1147
|
|
@@ -1175,7 +1153,7 @@ __Returns:__
|
|
1175
1153
|
|
1176
1154
|
--
|
1177
1155
|
|
1178
|
-
##### [reset](https://github.com/appium/ruby_lib/blob/
|
1156
|
+
##### [reset](https://github.com/appium/ruby_lib/blob/3060ef3bf06c19a79731a49985efa75c3337dd27/lib/appium_lib/common/helper.rb#L82) common
|
1179
1157
|
|
1180
1158
|
> def reset
|
1181
1159
|
|
@@ -1183,7 +1161,7 @@ __Returns:__
|
|
1183
1161
|
|
1184
1162
|
--
|
1185
1163
|
|
1186
|
-
##### [start_element](https://github.com/appium/ruby_lib/blob/
|
1164
|
+
##### [start_element](https://github.com/appium/ruby_lib/blob/3060ef3bf06c19a79731a49985efa75c3337dd27/lib/appium_lib/common/helper.rb#L87) common
|
1187
1165
|
|
1188
1166
|
> def start_element(name, attrs = [])
|
1189
1167
|
|
@@ -1191,7 +1169,7 @@ http://nokogiri.org/Nokogiri/XML/SAX/Document.html
|
|
1191
1169
|
|
1192
1170
|
--
|
1193
1171
|
|
1194
|
-
##### [formatted_result](https://github.com/appium/ruby_lib/blob/
|
1172
|
+
##### [formatted_result](https://github.com/appium/ruby_lib/blob/3060ef3bf06c19a79731a49985efa75c3337dd27/lib/appium_lib/common/helper.rb#L98) common
|
1195
1173
|
|
1196
1174
|
> def formatted_result
|
1197
1175
|
|
@@ -1199,7 +1177,7 @@ http://nokogiri.org/Nokogiri/XML/SAX/Document.html
|
|
1199
1177
|
|
1200
1178
|
--
|
1201
1179
|
|
1202
|
-
##### [get_page_class](https://github.com/appium/ruby_lib/blob/
|
1180
|
+
##### [get_page_class](https://github.com/appium/ruby_lib/blob/3060ef3bf06c19a79731a49985efa75c3337dd27/lib/appium_lib/common/helper.rb#L116) common
|
1203
1181
|
|
1204
1182
|
> def get_page_class
|
1205
1183
|
|
@@ -1211,7 +1189,7 @@ __Returns:__
|
|
1211
1189
|
|
1212
1190
|
--
|
1213
1191
|
|
1214
|
-
##### [page_class](https://github.com/appium/ruby_lib/blob/
|
1192
|
+
##### [page_class](https://github.com/appium/ruby_lib/blob/3060ef3bf06c19a79731a49985efa75c3337dd27/lib/appium_lib/common/helper.rb#L141) common
|
1215
1193
|
|
1216
1194
|
> def page_class
|
1217
1195
|
|
@@ -1224,7 +1202,7 @@ __Returns:__
|
|
1224
1202
|
|
1225
1203
|
--
|
1226
1204
|
|
1227
|
-
##### [source](https://github.com/appium/ruby_lib/blob/
|
1205
|
+
##### [source](https://github.com/appium/ruby_lib/blob/3060ef3bf06c19a79731a49985efa75c3337dd27/lib/appium_lib/common/helper.rb#L148) common
|
1228
1206
|
|
1229
1207
|
> def source
|
1230
1208
|
|
@@ -1236,7 +1214,7 @@ __Returns:__
|
|
1236
1214
|
|
1237
1215
|
--
|
1238
1216
|
|
1239
|
-
##### [get_source](https://github.com/appium/ruby_lib/blob/
|
1217
|
+
##### [get_source](https://github.com/appium/ruby_lib/blob/3060ef3bf06c19a79731a49985efa75c3337dd27/lib/appium_lib/common/helper.rb#L155) common
|
1240
1218
|
|
1241
1219
|
> def get_source
|
1242
1220
|
|
@@ -1249,7 +1227,7 @@ __Returns:__
|
|
1249
1227
|
|
1250
1228
|
--
|
1251
1229
|
|
1252
|
-
##### [px_to_window_rel](https://github.com/appium/ruby_lib/blob/
|
1230
|
+
##### [px_to_window_rel](https://github.com/appium/ruby_lib/blob/3060ef3bf06c19a79731a49985efa75c3337dd27/lib/appium_lib/common/helper.rb#L165) common
|
1253
1231
|
|
1254
1232
|
> def px_to_window_rel(opts = {}, driver = $driver)
|
1255
1233
|
|
@@ -1257,7 +1235,7 @@ Converts pixel values to window relative values
|
|
1257
1235
|
|
1258
1236
|
--
|
1259
1237
|
|
1260
|
-
##### [xml_keys](https://github.com/appium/ruby_lib/blob/
|
1238
|
+
##### [xml_keys](https://github.com/appium/ruby_lib/blob/3060ef3bf06c19a79731a49985efa75c3337dd27/lib/appium_lib/common/helper.rb#L184) common
|
1261
1239
|
|
1262
1240
|
> def xml_keys(target)
|
1263
1241
|
|
@@ -1273,7 +1251,7 @@ __Returns:__
|
|
1273
1251
|
|
1274
1252
|
--
|
1275
1253
|
|
1276
|
-
##### [xml_values](https://github.com/appium/ruby_lib/blob/
|
1254
|
+
##### [xml_values](https://github.com/appium/ruby_lib/blob/3060ef3bf06c19a79731a49985efa75c3337dd27/lib/appium_lib/common/helper.rb#L192) common
|
1277
1255
|
|
1278
1256
|
> def xml_values(target)
|
1279
1257
|
|
@@ -1289,7 +1267,7 @@ __Returns:__
|
|
1289
1267
|
|
1290
1268
|
--
|
1291
1269
|
|
1292
|
-
##### [resolve_id](https://github.com/appium/ruby_lib/blob/
|
1270
|
+
##### [resolve_id](https://github.com/appium/ruby_lib/blob/3060ef3bf06c19a79731a49985efa75c3337dd27/lib/appium_lib/common/helper.rb#L200) common
|
1293
1271
|
|
1294
1272
|
> def resolve_id(id)
|
1295
1273
|
|
@@ -1305,7 +1283,7 @@ __Returns:__
|
|
1305
1283
|
|
1306
1284
|
--
|
1307
1285
|
|
1308
|
-
##### [filter](https://github.com/appium/ruby_lib/blob/
|
1286
|
+
##### [filter](https://github.com/appium/ruby_lib/blob/3060ef3bf06c19a79731a49985efa75c3337dd27/lib/appium_lib/common/helper.rb#L207) common
|
1309
1287
|
|
1310
1288
|
> def filter
|
1311
1289
|
|
@@ -1313,7 +1291,7 @@ Returns the value of attribute filter.
|
|
1313
1291
|
|
1314
1292
|
--
|
1315
1293
|
|
1316
|
-
##### [filter=](https://github.com/appium/ruby_lib/blob/
|
1294
|
+
##### [filter=](https://github.com/appium/ruby_lib/blob/3060ef3bf06c19a79731a49985efa75c3337dd27/lib/appium_lib/common/helper.rb#L210) common
|
1317
1295
|
|
1318
1296
|
> def filter=(value)
|
1319
1297
|
|
@@ -1321,7 +1299,7 @@ convert to string to support symbols
|
|
1321
1299
|
|
1322
1300
|
--
|
1323
1301
|
|
1324
|
-
##### [initialize](https://github.com/appium/ruby_lib/blob/
|
1302
|
+
##### [initialize](https://github.com/appium/ruby_lib/blob/3060ef3bf06c19a79731a49985efa75c3337dd27/lib/appium_lib/common/helper.rb#L217) common
|
1325
1303
|
|
1326
1304
|
> def initialize
|
1327
1305
|
|
@@ -1333,7 +1311,7 @@ __Returns:__
|
|
1333
1311
|
|
1334
1312
|
--
|
1335
1313
|
|
1336
|
-
##### [reset](https://github.com/appium/ruby_lib/blob/
|
1314
|
+
##### [reset](https://github.com/appium/ruby_lib/blob/3060ef3bf06c19a79731a49985efa75c3337dd27/lib/appium_lib/common/helper.rb#L222) common
|
1337
1315
|
|
1338
1316
|
> def reset
|
1339
1317
|
|
@@ -1341,7 +1319,7 @@ __Returns:__
|
|
1341
1319
|
|
1342
1320
|
--
|
1343
1321
|
|
1344
|
-
##### [result](https://github.com/appium/ruby_lib/blob/
|
1322
|
+
##### [result](https://github.com/appium/ruby_lib/blob/3060ef3bf06c19a79731a49985efa75c3337dd27/lib/appium_lib/common/helper.rb#L228) common
|
1345
1323
|
|
1346
1324
|
> def result
|
1347
1325
|
|
@@ -1349,7 +1327,7 @@ __Returns:__
|
|
1349
1327
|
|
1350
1328
|
--
|
1351
1329
|
|
1352
|
-
##### [start_element](https://github.com/appium/ruby_lib/blob/
|
1330
|
+
##### [start_element](https://github.com/appium/ruby_lib/blob/3060ef3bf06c19a79731a49985efa75c3337dd27/lib/appium_lib/common/helper.rb#L242) common
|
1353
1331
|
|
1354
1332
|
> def start_element(name, attrs = [])
|
1355
1333
|
|
@@ -1357,7 +1335,7 @@ __Returns:__
|
|
1357
1335
|
|
1358
1336
|
--
|
1359
1337
|
|
1360
|
-
##### [end_element](https://github.com/appium/ruby_lib/blob/
|
1338
|
+
##### [end_element](https://github.com/appium/ruby_lib/blob/3060ef3bf06c19a79731a49985efa75c3337dd27/lib/appium_lib/common/helper.rb#L252) common
|
1361
1339
|
|
1362
1340
|
> def end_element(name)
|
1363
1341
|
|
@@ -1365,7 +1343,7 @@ __Returns:__
|
|
1365
1343
|
|
1366
1344
|
--
|
1367
1345
|
|
1368
|
-
##### [characters](https://github.com/appium/ruby_lib/blob/
|
1346
|
+
##### [characters](https://github.com/appium/ruby_lib/blob/3060ef3bf06c19a79731a49985efa75c3337dd27/lib/appium_lib/common/helper.rb#L259) common
|
1369
1347
|
|
1370
1348
|
> def characters(chars)
|
1371
1349
|
|
@@ -1373,7 +1351,7 @@ __Returns:__
|
|
1373
1351
|
|
1374
1352
|
--
|
1375
1353
|
|
1376
|
-
##### [pinch](https://github.com/appium/ruby_lib/blob/
|
1354
|
+
##### [pinch](https://github.com/appium/ruby_lib/blob/3060ef3bf06c19a79731a49985efa75c3337dd27/lib/appium_lib/common/multi_touch.rb#L65) common
|
1377
1355
|
|
1378
1356
|
> def pinch(percentage = 25, auto_perform = true, driver = $driver)
|
1379
1357
|
|
@@ -1393,7 +1371,7 @@ __Parameters:__
|
|
1393
1371
|
|
1394
1372
|
--
|
1395
1373
|
|
1396
|
-
##### [zoom](https://github.com/appium/ruby_lib/blob/
|
1374
|
+
##### [zoom](https://github.com/appium/ruby_lib/blob/3060ef3bf06c19a79731a49985efa75c3337dd27/lib/appium_lib/common/multi_touch.rb#L108) common
|
1397
1375
|
|
1398
1376
|
> def zoom(percentage = 200, auto_perform = true, driver = $driver)
|
1399
1377
|
|
@@ -1413,7 +1391,7 @@ __Parameters:__
|
|
1413
1391
|
|
1414
1392
|
--
|
1415
1393
|
|
1416
|
-
##### [initialize](https://github.com/appium/ruby_lib/blob/
|
1394
|
+
##### [initialize](https://github.com/appium/ruby_lib/blob/3060ef3bf06c19a79731a49985efa75c3337dd27/lib/appium_lib/common/multi_touch.rb#L194) common
|
1417
1395
|
|
1418
1396
|
> def initialize(driver = $driver)
|
1419
1397
|
|
@@ -1425,7 +1403,7 @@ __Returns:__
|
|
1425
1403
|
|
1426
1404
|
--
|
1427
1405
|
|
1428
|
-
##### [initialize](https://github.com/appium/ruby_lib/blob/
|
1406
|
+
##### [initialize](https://github.com/appium/ruby_lib/blob/3060ef3bf06c19a79731a49985efa75c3337dd27/lib/appium_lib/common/touch_actions.rb#L62) common
|
1429
1407
|
|
1430
1408
|
> def initialize(driver = $driver)
|
1431
1409
|
|
@@ -1437,7 +1415,7 @@ __Returns:__
|
|
1437
1415
|
|
1438
1416
|
--
|
1439
1417
|
|
1440
|
-
##### [swipe](https://github.com/appium/ruby_lib/blob/
|
1418
|
+
##### [swipe](https://github.com/appium/ruby_lib/blob/3060ef3bf06c19a79731a49985efa75c3337dd27/lib/appium_lib/common/touch_actions.rb#L66) common
|
1441
1419
|
|
1442
1420
|
> def swipe(opts)
|
1443
1421
|
|
@@ -1445,7 +1423,7 @@ __Returns:__
|
|
1445
1423
|
|
1446
1424
|
--
|
1447
1425
|
|
1448
|
-
##### [initialize](https://github.com/appium/ruby_lib/blob/
|
1426
|
+
##### [initialize](https://github.com/appium/ruby_lib/blob/3060ef3bf06c19a79731a49985efa75c3337dd27/lib/appium_lib/common/command/ws_logcat.rb#L19) common
|
1449
1427
|
|
1450
1428
|
> def initialize(url:, output_file: 'logcat.log')
|
1451
1429
|
|
@@ -1457,7 +1435,7 @@ __Returns:__
|
|
1457
1435
|
|
1458
1436
|
--
|
1459
1437
|
|
1460
|
-
##### [handle_message_data](https://github.com/appium/ruby_lib/blob/
|
1438
|
+
##### [handle_message_data](https://github.com/appium/ruby_lib/blob/3060ef3bf06c19a79731a49985efa75c3337dd27/lib/appium_lib/common/command/ws_logcat.rb#L24) common
|
1461
1439
|
|
1462
1440
|
> def handle_message_data(data)
|
1463
1441
|
|
@@ -1465,7 +1443,7 @@ __Returns:__
|
|
1465
1443
|
|
1466
1444
|
--
|
1467
1445
|
|
1468
|
-
##### [for](https://github.com/appium/ruby_lib/blob/
|
1446
|
+
##### [for](https://github.com/appium/ruby_lib/blob/3060ef3bf06c19a79731a49985efa75c3337dd27/lib/appium_lib/ios/ios.rb#L29) ios
|
1469
1447
|
|
1470
1448
|
> def for(target)
|
1471
1449
|
|
@@ -1473,7 +1451,7 @@ __Returns:__
|
|
1473
1451
|
|
1474
1452
|
--
|
1475
1453
|
|
1476
|
-
##### [static_text_class](https://github.com/appium/ruby_lib/blob/
|
1454
|
+
##### [static_text_class](https://github.com/appium/ruby_lib/blob/3060ef3bf06c19a79731a49985efa75c3337dd27/lib/appium_lib/ios/element/text.rb#L25) ios
|
1477
1455
|
|
1478
1456
|
> def static_text_class
|
1479
1457
|
|
@@ -1485,7 +1463,7 @@ __Returns:__
|
|
1485
1463
|
|
1486
1464
|
--
|
1487
1465
|
|
1488
|
-
##### [text](https://github.com/appium/ruby_lib/blob/
|
1466
|
+
##### [text](https://github.com/appium/ruby_lib/blob/3060ef3bf06c19a79731a49985efa75c3337dd27/lib/appium_lib/ios/element/text.rb#L33) ios
|
1489
1467
|
|
1490
1468
|
> def text(value)
|
1491
1469
|
|
@@ -1502,7 +1480,7 @@ __Returns:__
|
|
1502
1480
|
|
1503
1481
|
--
|
1504
1482
|
|
1505
|
-
##### [texts](https://github.com/appium/ruby_lib/blob/
|
1483
|
+
##### [texts](https://github.com/appium/ruby_lib/blob/3060ef3bf06c19a79731a49985efa75c3337dd27/lib/appium_lib/ios/element/text.rb#L43) ios
|
1506
1484
|
|
1507
1485
|
> def texts(value = false)
|
1508
1486
|
|
@@ -1519,7 +1497,7 @@ __Returns:__
|
|
1519
1497
|
|
1520
1498
|
--
|
1521
1499
|
|
1522
|
-
##### [first_text](https://github.com/appium/ruby_lib/blob/
|
1500
|
+
##### [first_text](https://github.com/appium/ruby_lib/blob/3060ef3bf06c19a79731a49985efa75c3337dd27/lib/appium_lib/ios/element/text.rb#L51) ios
|
1523
1501
|
|
1524
1502
|
> def first_text
|
1525
1503
|
|
@@ -1531,7 +1509,7 @@ __Returns:__
|
|
1531
1509
|
|
1532
1510
|
--
|
1533
1511
|
|
1534
|
-
##### [last_text](https://github.com/appium/ruby_lib/blob/
|
1512
|
+
##### [last_text](https://github.com/appium/ruby_lib/blob/3060ef3bf06c19a79731a49985efa75c3337dd27/lib/appium_lib/ios/element/text.rb#L57) ios
|
1535
1513
|
|
1536
1514
|
> def last_text
|
1537
1515
|
|
@@ -1543,7 +1521,7 @@ __Returns:__
|
|
1543
1521
|
|
1544
1522
|
--
|
1545
1523
|
|
1546
|
-
##### [text_exact](https://github.com/appium/ruby_lib/blob/
|
1524
|
+
##### [text_exact](https://github.com/appium/ruby_lib/blob/3060ef3bf06c19a79731a49985efa75c3337dd27/lib/appium_lib/ios/element/text.rb#L64) ios
|
1547
1525
|
|
1548
1526
|
> def text_exact(value)
|
1549
1527
|
|
@@ -1559,7 +1537,7 @@ __Returns:__
|
|
1559
1537
|
|
1560
1538
|
--
|
1561
1539
|
|
1562
|
-
##### [texts_exact](https://github.com/appium/ruby_lib/blob/
|
1540
|
+
##### [texts_exact](https://github.com/appium/ruby_lib/blob/3060ef3bf06c19a79731a49985efa75c3337dd27/lib/appium_lib/ios/element/text.rb#L71) ios
|
1563
1541
|
|
1564
1542
|
> def texts_exact(value)
|
1565
1543
|
|
@@ -1575,7 +1553,7 @@ __Returns:__
|
|
1575
1553
|
|
1576
1554
|
--
|
1577
1555
|
|
1578
|
-
##### [filter](https://github.com/appium/ruby_lib/blob/
|
1556
|
+
##### [filter](https://github.com/appium/ruby_lib/blob/3060ef3bf06c19a79731a49985efa75c3337dd27/lib/appium_lib/ios/common/helper.rb#L19) ios
|
1579
1557
|
|
1580
1558
|
> def filter
|
1581
1559
|
|
@@ -1583,7 +1561,7 @@ Returns the value of attribute filter.
|
|
1583
1561
|
|
1584
1562
|
--
|
1585
1563
|
|
1586
|
-
##### [filter=](https://github.com/appium/ruby_lib/blob/
|
1564
|
+
##### [filter=](https://github.com/appium/ruby_lib/blob/3060ef3bf06c19a79731a49985efa75c3337dd27/lib/appium_lib/ios/common/helper.rb#L19) ios
|
1587
1565
|
|
1588
1566
|
> def filter=(value)
|
1589
1567
|
|
@@ -1595,7 +1573,7 @@ __Parameters:__
|
|
1595
1573
|
|
1596
1574
|
--
|
1597
1575
|
|
1598
|
-
##### [start_element](https://github.com/appium/ruby_lib/blob/
|
1576
|
+
##### [start_element](https://github.com/appium/ruby_lib/blob/3060ef3bf06c19a79731a49985efa75c3337dd27/lib/appium_lib/ios/common/helper.rb#L21) ios
|
1599
1577
|
|
1600
1578
|
> def start_element(type, attrs = [])
|
1601
1579
|
|
@@ -1603,7 +1581,7 @@ __Parameters:__
|
|
1603
1581
|
|
1604
1582
|
--
|
1605
1583
|
|
1606
|
-
##### [ios_password](https://github.com/appium/ruby_lib/blob/
|
1584
|
+
##### [ios_password](https://github.com/appium/ruby_lib/blob/3060ef3bf06c19a79731a49985efa75c3337dd27/lib/appium_lib/ios/common/helper.rb#L58) ios
|
1607
1585
|
|
1608
1586
|
> def ios_password(length = 1)
|
1609
1587
|
|
@@ -1621,7 +1599,7 @@ __Returns:__
|
|
1621
1599
|
|
1622
1600
|
--
|
1623
1601
|
|
1624
|
-
##### [page](https://github.com/appium/ruby_lib/blob/
|
1602
|
+
##### [page](https://github.com/appium/ruby_lib/blob/3060ef3bf06c19a79731a49985efa75c3337dd27/lib/appium_lib/ios/common/helper.rb#L74) ios
|
1625
1603
|
|
1626
1604
|
> def page(opts = {})
|
1627
1605
|
|
@@ -1639,7 +1617,7 @@ __Returns:__
|
|
1639
1617
|
|
1640
1618
|
--
|
1641
1619
|
|
1642
|
-
##### [id](https://github.com/appium/ruby_lib/blob/
|
1620
|
+
##### [id](https://github.com/appium/ruby_lib/blob/3060ef3bf06c19a79731a49985efa75c3337dd27/lib/appium_lib/ios/common/helper.rb#L101) ios
|
1643
1621
|
|
1644
1622
|
> def id(id)
|
1645
1623
|
|
@@ -1655,7 +1633,7 @@ __Returns:__
|
|
1655
1633
|
|
1656
1634
|
--
|
1657
1635
|
|
1658
|
-
##### [ele_index](https://github.com/appium/ruby_lib/blob/
|
1636
|
+
##### [ele_index](https://github.com/appium/ruby_lib/blob/3060ef3bf06c19a79731a49985efa75c3337dd27/lib/appium_lib/ios/common/helper.rb#L109) ios
|
1659
1637
|
|
1660
1638
|
> def ele_index(class_name, index)
|
1661
1639
|
|
@@ -1673,7 +1651,7 @@ __Returns:__
|
|
1673
1651
|
|
1674
1652
|
--
|
1675
1653
|
|
1676
|
-
##### [find_ele_by_attr](https://github.com/appium/ruby_lib/blob/
|
1654
|
+
##### [find_ele_by_attr](https://github.com/appium/ruby_lib/blob/3060ef3bf06c19a79731a49985efa75c3337dd27/lib/appium_lib/ios/common/helper.rb#L139) ios
|
1677
1655
|
|
1678
1656
|
> def find_ele_by_attr(class_name, attr, value)
|
1679
1657
|
|
@@ -1695,7 +1673,7 @@ __Returns:__
|
|
1695
1673
|
|
1696
1674
|
--
|
1697
1675
|
|
1698
|
-
##### [find_eles_by_attr](https://github.com/appium/ruby_lib/blob/
|
1676
|
+
##### [find_eles_by_attr](https://github.com/appium/ruby_lib/blob/3060ef3bf06c19a79731a49985efa75c3337dd27/lib/appium_lib/ios/common/helper.rb#L150) ios
|
1699
1677
|
|
1700
1678
|
> def find_eles_by_attr(class_name, attr, value)
|
1701
1679
|
|
@@ -1717,7 +1695,7 @@ __Returns:__
|
|
1717
1695
|
|
1718
1696
|
--
|
1719
1697
|
|
1720
|
-
##### [find_ele_by_predicate](https://github.com/appium/ruby_lib/blob/
|
1698
|
+
##### [find_ele_by_predicate](https://github.com/appium/ruby_lib/blob/3060ef3bf06c19a79731a49985efa75c3337dd27/lib/appium_lib/ios/common/helper.rb#L163) ios
|
1721
1699
|
|
1722
1700
|
> def find_ele_by_predicate(class_name: '*', value:)
|
1723
1701
|
|
@@ -1734,7 +1712,7 @@ __Returns:__
|
|
1734
1712
|
|
1735
1713
|
--
|
1736
1714
|
|
1737
|
-
##### [find_eles_by_predicate](https://github.com/appium/ruby_lib/blob/
|
1715
|
+
##### [find_eles_by_predicate](https://github.com/appium/ruby_lib/blob/3060ef3bf06c19a79731a49985efa75c3337dd27/lib/appium_lib/ios/common/helper.rb#L175) ios
|
1738
1716
|
|
1739
1717
|
> def find_eles_by_predicate(class_name: '*', value:)
|
1740
1718
|
|
@@ -1753,7 +1731,7 @@ __Returns:__
|
|
1753
1731
|
|
1754
1732
|
--
|
1755
1733
|
|
1756
|
-
##### [find_ele_by_attr_include](https://github.com/appium/ruby_lib/blob/
|
1734
|
+
##### [find_ele_by_attr_include](https://github.com/appium/ruby_lib/blob/3060ef3bf06c19a79731a49985efa75c3337dd27/lib/appium_lib/ios/common/helper.rb#L191) ios
|
1757
1735
|
|
1758
1736
|
> def find_ele_by_attr_include(class_name, attr, value)
|
1759
1737
|
|
@@ -1774,7 +1752,7 @@ __Returns:__
|
|
1774
1752
|
|
1775
1753
|
--
|
1776
1754
|
|
1777
|
-
##### [find_eles_by_attr_include](https://github.com/appium/ruby_lib/blob/
|
1755
|
+
##### [find_eles_by_attr_include](https://github.com/appium/ruby_lib/blob/3060ef3bf06c19a79731a49985efa75c3337dd27/lib/appium_lib/ios/common/helper.rb#L201) ios
|
1778
1756
|
|
1779
1757
|
> def find_eles_by_attr_include(class_name, attr, value)
|
1780
1758
|
|
@@ -1795,7 +1773,7 @@ __Returns:__
|
|
1795
1773
|
|
1796
1774
|
--
|
1797
1775
|
|
1798
|
-
##### [find_ele_by_predicate_include](https://github.com/appium/ruby_lib/blob/
|
1776
|
+
##### [find_ele_by_predicate_include](https://github.com/appium/ruby_lib/blob/3060ef3bf06c19a79731a49985efa75c3337dd27/lib/appium_lib/ios/common/helper.rb#L209) ios
|
1799
1777
|
|
1800
1778
|
> def find_ele_by_predicate_include(class_name: '*', value:)
|
1801
1779
|
|
@@ -1812,7 +1790,7 @@ __Returns:__
|
|
1812
1790
|
|
1813
1791
|
--
|
1814
1792
|
|
1815
|
-
##### [find_eles_by_predicate_include](https://github.com/appium/ruby_lib/blob/
|
1793
|
+
##### [find_eles_by_predicate_include](https://github.com/appium/ruby_lib/blob/3060ef3bf06c19a79731a49985efa75c3337dd27/lib/appium_lib/ios/common/helper.rb#L221) ios
|
1816
1794
|
|
1817
1795
|
> def find_eles_by_predicate_include(class_name: '*', value:)
|
1818
1796
|
|
@@ -1831,7 +1809,7 @@ __Returns:__
|
|
1831
1809
|
|
1832
1810
|
--
|
1833
1811
|
|
1834
|
-
##### [first_ele](https://github.com/appium/ruby_lib/blob/
|
1812
|
+
##### [first_ele](https://github.com/appium/ruby_lib/blob/3060ef3bf06c19a79731a49985efa75c3337dd27/lib/appium_lib/ios/common/helper.rb#L234) ios
|
1835
1813
|
|
1836
1814
|
> def first_ele(class_name)
|
1837
1815
|
|
@@ -1847,7 +1825,7 @@ __Returns:__
|
|
1847
1825
|
|
1848
1826
|
--
|
1849
1827
|
|
1850
|
-
##### [last_ele](https://github.com/appium/ruby_lib/blob/
|
1828
|
+
##### [last_ele](https://github.com/appium/ruby_lib/blob/3060ef3bf06c19a79731a49985efa75c3337dd27/lib/appium_lib/ios/common/helper.rb#L241) ios
|
1851
1829
|
|
1852
1830
|
> def last_ele(class_name)
|
1853
1831
|
|
@@ -1863,7 +1841,7 @@ __Returns:__
|
|
1863
1841
|
|
1864
1842
|
--
|
1865
1843
|
|
1866
|
-
##### [tag](https://github.com/appium/ruby_lib/blob/
|
1844
|
+
##### [tag](https://github.com/appium/ruby_lib/blob/3060ef3bf06c19a79731a49985efa75c3337dd27/lib/appium_lib/ios/common/helper.rb#L249) ios
|
1867
1845
|
|
1868
1846
|
> def tag(class_name)
|
1869
1847
|
|
@@ -1879,7 +1857,7 @@ __Returns:__
|
|
1879
1857
|
|
1880
1858
|
--
|
1881
1859
|
|
1882
|
-
##### [tags](https://github.com/appium/ruby_lib/blob/
|
1860
|
+
##### [tags](https://github.com/appium/ruby_lib/blob/3060ef3bf06c19a79731a49985efa75c3337dd27/lib/appium_lib/ios/common/helper.rb#L257) ios
|
1883
1861
|
|
1884
1862
|
> def tags(class_name)
|
1885
1863
|
|
@@ -1895,7 +1873,7 @@ __Returns:__
|
|
1895
1873
|
|
1896
1874
|
--
|
1897
1875
|
|
1898
|
-
##### [tags_include](https://github.com/appium/ruby_lib/blob/
|
1876
|
+
##### [tags_include](https://github.com/appium/ruby_lib/blob/3060ef3bf06c19a79731a49985efa75c3337dd27/lib/appium_lib/ios/common/helper.rb#L268) ios
|
1899
1877
|
|
1900
1878
|
> def tags_include(class_names:, value: nil)
|
1901
1879
|
|
@@ -1915,7 +1893,7 @@ __Returns:__
|
|
1915
1893
|
|
1916
1894
|
--
|
1917
1895
|
|
1918
|
-
##### [tags_exact](https://github.com/appium/ruby_lib/blob/
|
1896
|
+
##### [tags_exact](https://github.com/appium/ruby_lib/blob/3060ef3bf06c19a79731a49985efa75c3337dd27/lib/appium_lib/ios/common/helper.rb#L283) ios
|
1919
1897
|
|
1920
1898
|
> def tags_exact(class_names:, value: nil)
|
1921
1899
|
|
@@ -1935,7 +1913,7 @@ __Returns:__
|
|
1935
1913
|
|
1936
1914
|
--
|
1937
1915
|
|
1938
|
-
##### [ele_by_json_visible_contains](https://github.com/appium/ruby_lib/blob/
|
1916
|
+
##### [ele_by_json_visible_contains](https://github.com/appium/ruby_lib/blob/3060ef3bf06c19a79731a49985efa75c3337dd27/lib/appium_lib/ios/common/helper.rb#L320) ios
|
1939
1917
|
|
1940
1918
|
> def ele_by_json_visible_contains(element, value)
|
1941
1919
|
|
@@ -1954,7 +1932,7 @@ __Returns:__
|
|
1954
1932
|
|
1955
1933
|
--
|
1956
1934
|
|
1957
|
-
##### [eles_by_json_visible_contains](https://github.com/appium/ruby_lib/blob/
|
1935
|
+
##### [eles_by_json_visible_contains](https://github.com/appium/ruby_lib/blob/3060ef3bf06c19a79731a49985efa75c3337dd27/lib/appium_lib/ios/common/helper.rb#L329) ios
|
1958
1936
|
|
1959
1937
|
> def eles_by_json_visible_contains(element, value)
|
1960
1938
|
|
@@ -1973,7 +1951,7 @@ __Returns:__
|
|
1973
1951
|
|
1974
1952
|
--
|
1975
1953
|
|
1976
|
-
##### [ele_by_json_visible_exact](https://github.com/appium/ruby_lib/blob/
|
1954
|
+
##### [ele_by_json_visible_exact](https://github.com/appium/ruby_lib/blob/3060ef3bf06c19a79731a49985efa75c3337dd27/lib/appium_lib/ios/common/helper.rb#L359) ios
|
1977
1955
|
|
1978
1956
|
> def ele_by_json_visible_exact(element, value)
|
1979
1957
|
|
@@ -1992,7 +1970,7 @@ __Returns:__
|
|
1992
1970
|
|
1993
1971
|
--
|
1994
1972
|
|
1995
|
-
##### [eles_by_json_visible_exact](https://github.com/appium/ruby_lib/blob/
|
1973
|
+
##### [eles_by_json_visible_exact](https://github.com/appium/ruby_lib/blob/3060ef3bf06c19a79731a49985efa75c3337dd27/lib/appium_lib/ios/common/helper.rb#L368) ios
|
1996
1974
|
|
1997
1975
|
> def eles_by_json_visible_exact(element, value)
|
1998
1976
|
|
@@ -2011,7 +1989,7 @@ __Returns:__
|
|
2011
1989
|
|
2012
1990
|
--
|
2013
1991
|
|
2014
|
-
##### [_all_pred](https://github.com/appium/ruby_lib/blob/
|
1992
|
+
##### [_all_pred](https://github.com/appium/ruby_lib/blob/3060ef3bf06c19a79731a49985efa75c3337dd27/lib/appium_lib/ios/common/helper.rb#L377) ios
|
2015
1993
|
|
2016
1994
|
> def _all_pred(opts)
|
2017
1995
|
|
@@ -2021,7 +1999,7 @@ visible - if true, only visible elements are returned. default true
|
|
2021
1999
|
|
2022
2000
|
--
|
2023
2001
|
|
2024
|
-
##### [ele_with_pred](https://github.com/appium/ruby_lib/blob/
|
2002
|
+
##### [ele_with_pred](https://github.com/appium/ruby_lib/blob/3060ef3bf06c19a79731a49985efa75c3337dd27/lib/appium_lib/ios/common/helper.rb#L391) ios
|
2025
2003
|
|
2026
2004
|
> def ele_with_pred(opts)
|
2027
2005
|
|
@@ -2037,7 +2015,7 @@ __Returns:__
|
|
2037
2015
|
|
2038
2016
|
--
|
2039
2017
|
|
2040
|
-
##### [eles_with_pred](https://github.com/appium/ruby_lib/blob/
|
2018
|
+
##### [eles_with_pred](https://github.com/appium/ruby_lib/blob/3060ef3bf06c19a79731a49985efa75c3337dd27/lib/appium_lib/ios/common/helper.rb#L402) ios
|
2041
2019
|
|
2042
2020
|
> def eles_with_pred(opts)
|
2043
2021
|
|
@@ -2053,7 +2031,7 @@ __Returns:__
|
|
2053
2031
|
|
2054
2032
|
--
|
2055
2033
|
|
2056
|
-
##### [_validate_object](https://github.com/appium/ruby_lib/blob/
|
2034
|
+
##### [_validate_object](https://github.com/appium/ruby_lib/blob/3060ef3bf06c19a79731a49985efa75c3337dd27/lib/appium_lib/ios/common/helper.rb#L406) ios
|
2057
2035
|
|
2058
2036
|
> def _validate_object(*objects)
|
2059
2037
|
|
@@ -2061,7 +2039,7 @@ __Returns:__
|
|
2061
2039
|
|
2062
2040
|
--
|
2063
2041
|
|
2064
|
-
##### [_by_json](https://github.com/appium/ruby_lib/blob/
|
2042
|
+
##### [_by_json](https://github.com/appium/ruby_lib/blob/3060ef3bf06c19a79731a49985efa75c3337dd27/lib/appium_lib/ios/common/helper.rb#L456) ios
|
2065
2043
|
|
2066
2044
|
> def _by_json(opts)
|
2067
2045
|
|
@@ -2096,7 +2074,7 @@ opts = {
|
|
2096
2074
|
|
2097
2075
|
--
|
2098
2076
|
|
2099
|
-
##### [eles_by_json](https://github.com/appium/ruby_lib/blob/
|
2077
|
+
##### [eles_by_json](https://github.com/appium/ruby_lib/blob/3060ef3bf06c19a79731a49985efa75c3337dd27/lib/appium_lib/ios/common/helper.rb#L506) ios
|
2100
2078
|
|
2101
2079
|
> def eles_by_json(opts)
|
2102
2080
|
|
@@ -2115,7 +2093,7 @@ eles_by_json({
|
|
2115
2093
|
|
2116
2094
|
--
|
2117
2095
|
|
2118
|
-
##### [ele_by_json](https://github.com/appium/ruby_lib/blob/
|
2096
|
+
##### [ele_by_json](https://github.com/appium/ruby_lib/blob/3060ef3bf06c19a79731a49985efa75c3337dd27/lib/appium_lib/ios/common/helper.rb#L512) ios
|
2119
2097
|
|
2120
2098
|
> def ele_by_json(opts)
|
2121
2099
|
|
@@ -2123,7 +2101,7 @@ see eles_by_json
|
|
2123
2101
|
|
2124
2102
|
--
|
2125
2103
|
|
2126
|
-
##### [alert_accept](https://github.com/appium/ruby_lib/blob/
|
2104
|
+
##### [alert_accept](https://github.com/appium/ruby_lib/blob/3060ef3bf06c19a79731a49985efa75c3337dd27/lib/appium_lib/ios/element/alert.rb#L19) ios
|
2127
2105
|
|
2128
2106
|
> def alert_accept
|
2129
2107
|
|
@@ -2135,7 +2113,7 @@ __Returns:__
|
|
2135
2113
|
|
2136
2114
|
--
|
2137
2115
|
|
2138
|
-
##### [alert_dismiss](https://github.com/appium/ruby_lib/blob/
|
2116
|
+
##### [alert_dismiss](https://github.com/appium/ruby_lib/blob/3060ef3bf06c19a79731a49985efa75c3337dd27/lib/appium_lib/ios/element/alert.rb#L27) ios
|
2139
2117
|
|
2140
2118
|
> def alert_dismiss
|
2141
2119
|
|
@@ -2147,7 +2125,7 @@ __Returns:__
|
|
2147
2125
|
|
2148
2126
|
--
|
2149
2127
|
|
2150
|
-
##### [button_class](https://github.com/appium/ruby_lib/blob/
|
2128
|
+
##### [button_class](https://github.com/appium/ruby_lib/blob/3060ef3bf06c19a79731a49985efa75c3337dd27/lib/appium_lib/ios/element/button.rb#L25) ios
|
2151
2129
|
|
2152
2130
|
> def button_class
|
2153
2131
|
|
@@ -2159,7 +2137,7 @@ __Returns:__
|
|
2159
2137
|
|
2160
2138
|
--
|
2161
2139
|
|
2162
|
-
##### [button](https://github.com/appium/ruby_lib/blob/
|
2140
|
+
##### [button](https://github.com/appium/ruby_lib/blob/3060ef3bf06c19a79731a49985efa75c3337dd27/lib/appium_lib/ios/element/button.rb#L33) ios
|
2163
2141
|
|
2164
2142
|
> def button(value)
|
2165
2143
|
|
@@ -2176,7 +2154,7 @@ __Returns:__
|
|
2176
2154
|
|
2177
2155
|
--
|
2178
2156
|
|
2179
|
-
##### [buttons](https://github.com/appium/ruby_lib/blob/
|
2157
|
+
##### [buttons](https://github.com/appium/ruby_lib/blob/3060ef3bf06c19a79731a49985efa75c3337dd27/lib/appium_lib/ios/element/button.rb#L44) ios
|
2180
2158
|
|
2181
2159
|
> def buttons(value = false)
|
2182
2160
|
|
@@ -2193,7 +2171,7 @@ __Returns:__
|
|
2193
2171
|
|
2194
2172
|
--
|
2195
2173
|
|
2196
|
-
##### [first_button](https://github.com/appium/ruby_lib/blob/
|
2174
|
+
##### [first_button](https://github.com/appium/ruby_lib/blob/3060ef3bf06c19a79731a49985efa75c3337dd27/lib/appium_lib/ios/element/button.rb#L52) ios
|
2197
2175
|
|
2198
2176
|
> def first_button
|
2199
2177
|
|
@@ -2205,7 +2183,7 @@ __Returns:__
|
|
2205
2183
|
|
2206
2184
|
--
|
2207
2185
|
|
2208
|
-
##### [last_button](https://github.com/appium/ruby_lib/blob/
|
2186
|
+
##### [last_button](https://github.com/appium/ruby_lib/blob/3060ef3bf06c19a79731a49985efa75c3337dd27/lib/appium_lib/ios/element/button.rb#L60) ios
|
2209
2187
|
|
2210
2188
|
> def last_button
|
2211
2189
|
|
@@ -2219,7 +2197,7 @@ __Returns:__
|
|
2219
2197
|
|
2220
2198
|
--
|
2221
2199
|
|
2222
|
-
##### [button_exact](https://github.com/appium/ruby_lib/blob/
|
2200
|
+
##### [button_exact](https://github.com/appium/ruby_lib/blob/3060ef3bf06c19a79731a49985efa75c3337dd27/lib/appium_lib/ios/element/button.rb#L67) ios
|
2223
2201
|
|
2224
2202
|
> def button_exact(value)
|
2225
2203
|
|
@@ -2235,7 +2213,7 @@ __Returns:__
|
|
2235
2213
|
|
2236
2214
|
--
|
2237
2215
|
|
2238
|
-
##### [buttons_exact](https://github.com/appium/ruby_lib/blob/
|
2216
|
+
##### [buttons_exact](https://github.com/appium/ruby_lib/blob/3060ef3bf06c19a79731a49985efa75c3337dd27/lib/appium_lib/ios/element/button.rb#L74) ios
|
2239
2217
|
|
2240
2218
|
> def buttons_exact(value)
|
2241
2219
|
|
@@ -2251,7 +2229,7 @@ __Returns:__
|
|
2251
2229
|
|
2252
2230
|
--
|
2253
2231
|
|
2254
|
-
##### [find](https://github.com/appium/ruby_lib/blob/
|
2232
|
+
##### [find](https://github.com/appium/ruby_lib/blob/3060ef3bf06c19a79731a49985efa75c3337dd27/lib/appium_lib/ios/element/generic.rb#L20) ios
|
2255
2233
|
|
2256
2234
|
> def find(value)
|
2257
2235
|
|
@@ -2267,7 +2245,7 @@ __Returns:__
|
|
2267
2245
|
|
2268
2246
|
--
|
2269
2247
|
|
2270
|
-
##### [finds](https://github.com/appium/ruby_lib/blob/
|
2248
|
+
##### [finds](https://github.com/appium/ruby_lib/blob/3060ef3bf06c19a79731a49985efa75c3337dd27/lib/appium_lib/ios/element/generic.rb#L27) ios
|
2271
2249
|
|
2272
2250
|
> def finds(value)
|
2273
2251
|
|
@@ -2283,7 +2261,7 @@ __Returns:__
|
|
2283
2261
|
|
2284
2262
|
--
|
2285
2263
|
|
2286
|
-
##### [find_exact](https://github.com/appium/ruby_lib/blob/
|
2264
|
+
##### [find_exact](https://github.com/appium/ruby_lib/blob/3060ef3bf06c19a79731a49985efa75c3337dd27/lib/appium_lib/ios/element/generic.rb#L34) ios
|
2287
2265
|
|
2288
2266
|
> def find_exact(value)
|
2289
2267
|
|
@@ -2299,7 +2277,7 @@ __Returns:__
|
|
2299
2277
|
|
2300
2278
|
--
|
2301
2279
|
|
2302
|
-
##### [finds_exact](https://github.com/appium/ruby_lib/blob/
|
2280
|
+
##### [finds_exact](https://github.com/appium/ruby_lib/blob/3060ef3bf06c19a79731a49985efa75c3337dd27/lib/appium_lib/ios/element/generic.rb#L41) ios
|
2303
2281
|
|
2304
2282
|
> def finds_exact(value)
|
2305
2283
|
|
@@ -2315,7 +2293,7 @@ __Returns:__
|
|
2315
2293
|
|
2316
2294
|
--
|
2317
2295
|
|
2318
|
-
##### [raise_error_if_no_element](https://github.com/appium/ruby_lib/blob/
|
2296
|
+
##### [raise_error_if_no_element](https://github.com/appium/ruby_lib/blob/3060ef3bf06c19a79731a49985efa75c3337dd27/lib/appium_lib/ios/element/generic.rb#L47) ios
|
2319
2297
|
|
2320
2298
|
> def raise_error_if_no_element(element)
|
2321
2299
|
|
@@ -2323,7 +2301,7 @@ __Returns:__
|
|
2323
2301
|
|
2324
2302
|
--
|
2325
2303
|
|
2326
|
-
##### [select_visible_elements](https://github.com/appium/ruby_lib/blob/
|
2304
|
+
##### [select_visible_elements](https://github.com/appium/ruby_lib/blob/3060ef3bf06c19a79731a49985efa75c3337dd27/lib/appium_lib/ios/element/generic.rb#L55) ios
|
2327
2305
|
|
2328
2306
|
> def select_visible_elements(elements)
|
2329
2307
|
|
@@ -2331,7 +2309,7 @@ Return visible elements.
|
|
2331
2309
|
|
2332
2310
|
--
|
2333
2311
|
|
2334
|
-
##### [for](https://github.com/appium/ruby_lib/blob/
|
2312
|
+
##### [for](https://github.com/appium/ruby_lib/blob/3060ef3bf06c19a79731a49985efa75c3337dd27/lib/appium_lib/ios/xcuitest/bridge.rb#L21) ios
|
2335
2313
|
|
2336
2314
|
> def for(target)
|
2337
2315
|
|
@@ -2339,7 +2317,7 @@ Return visible elements.
|
|
2339
2317
|
|
2340
2318
|
--
|
2341
2319
|
|
2342
|
-
##### [last_ele](https://github.com/appium/ruby_lib/blob/
|
2320
|
+
##### [last_ele](https://github.com/appium/ruby_lib/blob/3060ef3bf06c19a79731a49985efa75c3337dd27/lib/appium_lib/ios/xcuitest/helper.rb#L40) ios
|
2343
2321
|
|
2344
2322
|
> def last_ele(class_name)
|
2345
2323
|
|
@@ -2355,7 +2333,7 @@ __Returns:__
|
|
2355
2333
|
|
2356
2334
|
--
|
2357
2335
|
|
2358
|
-
##### [tag](https://github.com/appium/ruby_lib/blob/
|
2336
|
+
##### [tag](https://github.com/appium/ruby_lib/blob/3060ef3bf06c19a79731a49985efa75c3337dd27/lib/appium_lib/ios/xcuitest/helper.rb#L51) ios
|
2359
2337
|
|
2360
2338
|
> def tag(class_name)
|
2361
2339
|
|
@@ -2371,7 +2349,7 @@ __Returns:__
|
|
2371
2349
|
|
2372
2350
|
--
|
2373
2351
|
|
2374
|
-
##### [tags](https://github.com/appium/ruby_lib/blob/
|
2352
|
+
##### [tags](https://github.com/appium/ruby_lib/blob/3060ef3bf06c19a79731a49985efa75c3337dd27/lib/appium_lib/ios/xcuitest/helper.rb#L59) ios
|
2375
2353
|
|
2376
2354
|
> def tags(class_name)
|
2377
2355
|
|
@@ -2387,7 +2365,7 @@ __Returns:__
|
|
2387
2365
|
|
2388
2366
|
--
|
2389
2367
|
|
2390
|
-
##### [tags_include](https://github.com/appium/ruby_lib/blob/
|
2368
|
+
##### [tags_include](https://github.com/appium/ruby_lib/blob/3060ef3bf06c19a79731a49985efa75c3337dd27/lib/appium_lib/ios/xcuitest/helper.rb#L71) ios
|
2391
2369
|
|
2392
2370
|
> def tags_include(class_names:, value: nil)
|
2393
2371
|
|
@@ -2407,7 +2385,7 @@ __Returns:__
|
|
2407
2385
|
|
2408
2386
|
--
|
2409
2387
|
|
2410
|
-
##### [tags_exact](https://github.com/appium/ruby_lib/blob/
|
2388
|
+
##### [tags_exact](https://github.com/appium/ruby_lib/blob/3060ef3bf06c19a79731a49985efa75c3337dd27/lib/appium_lib/ios/xcuitest/helper.rb#L93) ios
|
2411
2389
|
|
2412
2390
|
> def tags_exact(class_names:, value: nil)
|
2413
2391
|
|
@@ -2427,7 +2405,7 @@ __Returns:__
|
|
2427
2405
|
|
2428
2406
|
--
|
2429
2407
|
|
2430
|
-
##### [start_logs_broadcast](https://github.com/appium/ruby_lib/blob/
|
2408
|
+
##### [start_logs_broadcast](https://github.com/appium/ruby_lib/blob/3060ef3bf06c19a79731a49985efa75c3337dd27/lib/appium_lib/ios/xcuitest/command.rb#L33) ios
|
2431
2409
|
|
2432
2410
|
> def start_logs_broadcast(syslog_file = 'syslog.log')
|
2433
2411
|
|
@@ -2439,7 +2417,7 @@ __Parameters:__
|
|
2439
2417
|
|
2440
2418
|
--
|
2441
2419
|
|
2442
|
-
##### [stop_logs_broadcast](https://github.com/appium/ruby_lib/blob/
|
2420
|
+
##### [stop_logs_broadcast](https://github.com/appium/ruby_lib/blob/3060ef3bf06c19a79731a49985efa75c3337dd27/lib/appium_lib/ios/xcuitest/command.rb#L46) ios
|
2443
2421
|
|
2444
2422
|
> def stop_logs_broadcast
|
2445
2423
|
|
@@ -2447,7 +2425,7 @@ Stop iOS syslog broadcast websocket
|
|
2447
2425
|
|
2448
2426
|
--
|
2449
2427
|
|
2450
|
-
##### [text_field_class](https://github.com/appium/ruby_lib/blob/
|
2428
|
+
##### [text_field_class](https://github.com/appium/ruby_lib/blob/3060ef3bf06c19a79731a49985efa75c3337dd27/lib/appium_lib/ios/element/textfield.rb#L28) ios
|
2451
2429
|
|
2452
2430
|
> def text_field_class
|
2453
2431
|
|
@@ -2459,7 +2437,7 @@ __Returns:__
|
|
2459
2437
|
|
2460
2438
|
--
|
2461
2439
|
|
2462
|
-
##### [secure_text_field_class](https://github.com/appium/ruby_lib/blob/
|
2440
|
+
##### [secure_text_field_class](https://github.com/appium/ruby_lib/blob/3060ef3bf06c19a79731a49985efa75c3337dd27/lib/appium_lib/ios/element/textfield.rb#L33) ios
|
2463
2441
|
|
2464
2442
|
> def secure_text_field_class
|
2465
2443
|
|
@@ -2471,7 +2449,7 @@ __Returns:__
|
|
2471
2449
|
|
2472
2450
|
--
|
2473
2451
|
|
2474
|
-
##### [textfield](https://github.com/appium/ruby_lib/blob/
|
2452
|
+
##### [textfield](https://github.com/appium/ruby_lib/blob/3060ef3bf06c19a79731a49985efa75c3337dd27/lib/appium_lib/ios/element/textfield.rb#L42) ios
|
2475
2453
|
|
2476
2454
|
> def textfield(value)
|
2477
2455
|
|
@@ -2489,7 +2467,7 @@ __Returns:__
|
|
2489
2467
|
|
2490
2468
|
--
|
2491
2469
|
|
2492
|
-
##### [textfields](https://github.com/appium/ruby_lib/blob/
|
2470
|
+
##### [textfields](https://github.com/appium/ruby_lib/blob/3060ef3bf06c19a79731a49985efa75c3337dd27/lib/appium_lib/ios/element/textfield.rb#L61) ios
|
2493
2471
|
|
2494
2472
|
> def textfields(value = false)
|
2495
2473
|
|
@@ -2506,7 +2484,7 @@ __Returns:__
|
|
2506
2484
|
|
2507
2485
|
--
|
2508
2486
|
|
2509
|
-
##### [first_textfield](https://github.com/appium/ruby_lib/blob/
|
2487
|
+
##### [first_textfield](https://github.com/appium/ruby_lib/blob/3060ef3bf06c19a79731a49985efa75c3337dd27/lib/appium_lib/ios/element/textfield.rb#L69) ios
|
2510
2488
|
|
2511
2489
|
> def first_textfield
|
2512
2490
|
|
@@ -2518,7 +2496,7 @@ __Returns:__
|
|
2518
2496
|
|
2519
2497
|
--
|
2520
2498
|
|
2521
|
-
##### [last_textfield](https://github.com/appium/ruby_lib/blob/
|
2499
|
+
##### [last_textfield](https://github.com/appium/ruby_lib/blob/3060ef3bf06c19a79731a49985efa75c3337dd27/lib/appium_lib/ios/element/textfield.rb#L75) ios
|
2522
2500
|
|
2523
2501
|
> def last_textfield
|
2524
2502
|
|
@@ -2530,7 +2508,7 @@ __Returns:__
|
|
2530
2508
|
|
2531
2509
|
--
|
2532
2510
|
|
2533
|
-
##### [textfield_exact](https://github.com/appium/ruby_lib/blob/
|
2511
|
+
##### [textfield_exact](https://github.com/appium/ruby_lib/blob/3060ef3bf06c19a79731a49985efa75c3337dd27/lib/appium_lib/ios/element/textfield.rb#L85) ios
|
2534
2512
|
|
2535
2513
|
> def textfield_exact(value)
|
2536
2514
|
|
@@ -2546,7 +2524,7 @@ __Returns:__
|
|
2546
2524
|
|
2547
2525
|
--
|
2548
2526
|
|
2549
|
-
##### [textfields_exact](https://github.com/appium/ruby_lib/blob/
|
2527
|
+
##### [textfields_exact](https://github.com/appium/ruby_lib/blob/3060ef3bf06c19a79731a49985efa75c3337dd27/lib/appium_lib/ios/element/textfield.rb#L92) ios
|
2550
2528
|
|
2551
2529
|
> def textfields_exact(value)
|
2552
2530
|
|
@@ -2562,7 +2540,7 @@ __Returns:__
|
|
2562
2540
|
|
2563
2541
|
--
|
2564
2542
|
|
2565
|
-
##### [_textfield_visible](https://github.com/appium/ruby_lib/blob/
|
2543
|
+
##### [_textfield_visible](https://github.com/appium/ruby_lib/blob/3060ef3bf06c19a79731a49985efa75c3337dd27/lib/appium_lib/ios/element/textfield.rb#L99) ios
|
2566
2544
|
|
2567
2545
|
> def _textfield_visible
|
2568
2546
|
|
@@ -2570,7 +2548,7 @@ Appium
|
|
2570
2548
|
|
2571
2549
|
--
|
2572
2550
|
|
2573
|
-
##### [_textfield_exact_string](https://github.com/appium/ruby_lib/blob/
|
2551
|
+
##### [_textfield_exact_string](https://github.com/appium/ruby_lib/blob/3060ef3bf06c19a79731a49985efa75c3337dd27/lib/appium_lib/ios/element/textfield.rb#L104) ios
|
2574
2552
|
|
2575
2553
|
> def _textfield_exact_string(value)
|
2576
2554
|
|
@@ -2578,7 +2556,7 @@ Appium
|
|
2578
2556
|
|
2579
2557
|
--
|
2580
2558
|
|
2581
|
-
##### [_textfield_contains_string](https://github.com/appium/ruby_lib/blob/
|
2559
|
+
##### [_textfield_contains_string](https://github.com/appium/ruby_lib/blob/3060ef3bf06c19a79731a49985efa75c3337dd27/lib/appium_lib/ios/element/textfield.rb#L111) ios
|
2582
2560
|
|
2583
2561
|
> def _textfield_contains_string(value)
|
2584
2562
|
|
@@ -2586,7 +2564,7 @@ Appium
|
|
2586
2564
|
|
2587
2565
|
--
|
2588
2566
|
|
2589
|
-
##### [static_text_class](https://github.com/appium/ruby_lib/blob/
|
2567
|
+
##### [static_text_class](https://github.com/appium/ruby_lib/blob/3060ef3bf06c19a79731a49985efa75c3337dd27/lib/appium_lib/ios/xcuitest/element/text.rb#L23) ios
|
2590
2568
|
|
2591
2569
|
> def static_text_class
|
2592
2570
|
|
@@ -2598,7 +2576,7 @@ __Returns:__
|
|
2598
2576
|
|
2599
2577
|
--
|
2600
2578
|
|
2601
|
-
##### [text](https://github.com/appium/ruby_lib/blob/
|
2579
|
+
##### [text](https://github.com/appium/ruby_lib/blob/3060ef3bf06c19a79731a49985efa75c3337dd27/lib/appium_lib/ios/xcuitest/element/text.rb#L31) ios
|
2602
2580
|
|
2603
2581
|
> def text(value)
|
2604
2582
|
|
@@ -2615,7 +2593,7 @@ __Returns:__
|
|
2615
2593
|
|
2616
2594
|
--
|
2617
2595
|
|
2618
|
-
##### [texts](https://github.com/appium/ruby_lib/blob/
|
2596
|
+
##### [texts](https://github.com/appium/ruby_lib/blob/3060ef3bf06c19a79731a49985efa75c3337dd27/lib/appium_lib/ios/xcuitest/element/text.rb#L41) ios
|
2619
2597
|
|
2620
2598
|
> def texts(value = false)
|
2621
2599
|
|
@@ -2632,7 +2610,7 @@ __Returns:__
|
|
2632
2610
|
|
2633
2611
|
--
|
2634
2612
|
|
2635
|
-
##### [first_text](https://github.com/appium/ruby_lib/blob/
|
2613
|
+
##### [first_text](https://github.com/appium/ruby_lib/blob/3060ef3bf06c19a79731a49985efa75c3337dd27/lib/appium_lib/ios/xcuitest/element/text.rb#L50) ios
|
2636
2614
|
|
2637
2615
|
> def first_text
|
2638
2616
|
|
@@ -2644,7 +2622,7 @@ __Returns:__
|
|
2644
2622
|
|
2645
2623
|
--
|
2646
2624
|
|
2647
|
-
##### [last_text](https://github.com/appium/ruby_lib/blob/
|
2625
|
+
##### [last_text](https://github.com/appium/ruby_lib/blob/3060ef3bf06c19a79731a49985efa75c3337dd27/lib/appium_lib/ios/xcuitest/element/text.rb#L56) ios
|
2648
2626
|
|
2649
2627
|
> def last_text
|
2650
2628
|
|
@@ -2656,7 +2634,7 @@ __Returns:__
|
|
2656
2634
|
|
2657
2635
|
--
|
2658
2636
|
|
2659
|
-
##### [text_exact](https://github.com/appium/ruby_lib/blob/
|
2637
|
+
##### [text_exact](https://github.com/appium/ruby_lib/blob/3060ef3bf06c19a79731a49985efa75c3337dd27/lib/appium_lib/ios/xcuitest/element/text.rb#L63) ios
|
2660
2638
|
|
2661
2639
|
> def text_exact(value)
|
2662
2640
|
|
@@ -2672,7 +2650,7 @@ __Returns:__
|
|
2672
2650
|
|
2673
2651
|
--
|
2674
2652
|
|
2675
|
-
##### [texts_exact](https://github.com/appium/ruby_lib/blob/
|
2653
|
+
##### [texts_exact](https://github.com/appium/ruby_lib/blob/3060ef3bf06c19a79731a49985efa75c3337dd27/lib/appium_lib/ios/xcuitest/element/text.rb#L70) ios
|
2676
2654
|
|
2677
2655
|
> def texts_exact(value)
|
2678
2656
|
|
@@ -2688,7 +2666,7 @@ __Returns:__
|
|
2688
2666
|
|
2689
2667
|
--
|
2690
2668
|
|
2691
|
-
##### [xcuitest_source](https://github.com/appium/ruby_lib/blob/
|
2669
|
+
##### [xcuitest_source](https://github.com/appium/ruby_lib/blob/3060ef3bf06c19a79731a49985efa75c3337dd27/lib/appium_lib/ios/xcuitest/command/source.rb#L25) ios
|
2692
2670
|
|
2693
2671
|
> def xcuitest_source(format: :xml)
|
2694
2672
|
|
@@ -2704,7 +2682,7 @@ xcuitest_source format: :json
|
|
2704
2682
|
|
2705
2683
|
--
|
2706
2684
|
|
2707
|
-
##### [button_class](https://github.com/appium/ruby_lib/blob/
|
2685
|
+
##### [button_class](https://github.com/appium/ruby_lib/blob/3060ef3bf06c19a79731a49985efa75c3337dd27/lib/appium_lib/ios/xcuitest/element/button.rb#L23) ios
|
2708
2686
|
|
2709
2687
|
> def button_class
|
2710
2688
|
|
@@ -2716,7 +2694,7 @@ __Returns:__
|
|
2716
2694
|
|
2717
2695
|
--
|
2718
2696
|
|
2719
|
-
##### [button](https://github.com/appium/ruby_lib/blob/
|
2697
|
+
##### [button](https://github.com/appium/ruby_lib/blob/3060ef3bf06c19a79731a49985efa75c3337dd27/lib/appium_lib/ios/xcuitest/element/button.rb#L31) ios
|
2720
2698
|
|
2721
2699
|
> def button(value)
|
2722
2700
|
|
@@ -2733,7 +2711,7 @@ __Returns:__
|
|
2733
2711
|
|
2734
2712
|
--
|
2735
2713
|
|
2736
|
-
##### [buttons](https://github.com/appium/ruby_lib/blob/
|
2714
|
+
##### [buttons](https://github.com/appium/ruby_lib/blob/3060ef3bf06c19a79731a49985efa75c3337dd27/lib/appium_lib/ios/xcuitest/element/button.rb#L42) ios
|
2737
2715
|
|
2738
2716
|
> def buttons(value = false)
|
2739
2717
|
|
@@ -2750,7 +2728,7 @@ __Returns:__
|
|
2750
2728
|
|
2751
2729
|
--
|
2752
2730
|
|
2753
|
-
##### [first_button](https://github.com/appium/ruby_lib/blob/
|
2731
|
+
##### [first_button](https://github.com/appium/ruby_lib/blob/3060ef3bf06c19a79731a49985efa75c3337dd27/lib/appium_lib/ios/xcuitest/element/button.rb#L51) ios
|
2754
2732
|
|
2755
2733
|
> def first_button
|
2756
2734
|
|
@@ -2762,7 +2740,7 @@ __Returns:__
|
|
2762
2740
|
|
2763
2741
|
--
|
2764
2742
|
|
2765
|
-
##### [last_button](https://github.com/appium/ruby_lib/blob/
|
2743
|
+
##### [last_button](https://github.com/appium/ruby_lib/blob/3060ef3bf06c19a79731a49985efa75c3337dd27/lib/appium_lib/ios/xcuitest/element/button.rb#L59) ios
|
2766
2744
|
|
2767
2745
|
> def last_button
|
2768
2746
|
|
@@ -2776,7 +2754,7 @@ __Returns:__
|
|
2776
2754
|
|
2777
2755
|
--
|
2778
2756
|
|
2779
|
-
##### [button_exact](https://github.com/appium/ruby_lib/blob/
|
2757
|
+
##### [button_exact](https://github.com/appium/ruby_lib/blob/3060ef3bf06c19a79731a49985efa75c3337dd27/lib/appium_lib/ios/xcuitest/element/button.rb#L66) ios
|
2780
2758
|
|
2781
2759
|
> def button_exact(value)
|
2782
2760
|
|
@@ -2792,7 +2770,7 @@ __Returns:__
|
|
2792
2770
|
|
2793
2771
|
--
|
2794
2772
|
|
2795
|
-
##### [buttons_exact](https://github.com/appium/ruby_lib/blob/
|
2773
|
+
##### [buttons_exact](https://github.com/appium/ruby_lib/blob/3060ef3bf06c19a79731a49985efa75c3337dd27/lib/appium_lib/ios/xcuitest/element/button.rb#L73) ios
|
2796
2774
|
|
2797
2775
|
> def buttons_exact(value)
|
2798
2776
|
|
@@ -2808,7 +2786,7 @@ __Returns:__
|
|
2808
2786
|
|
2809
2787
|
--
|
2810
2788
|
|
2811
|
-
##### [find](https://github.com/appium/ruby_lib/blob/
|
2789
|
+
##### [find](https://github.com/appium/ruby_lib/blob/3060ef3bf06c19a79731a49985efa75c3337dd27/lib/appium_lib/ios/xcuitest/element/generic.rb#L22) ios
|
2812
2790
|
|
2813
2791
|
> def find(value)
|
2814
2792
|
|
@@ -2824,7 +2802,7 @@ __Returns:__
|
|
2824
2802
|
|
2825
2803
|
--
|
2826
2804
|
|
2827
|
-
##### [finds](https://github.com/appium/ruby_lib/blob/
|
2805
|
+
##### [finds](https://github.com/appium/ruby_lib/blob/3060ef3bf06c19a79731a49985efa75c3337dd27/lib/appium_lib/ios/xcuitest/element/generic.rb#L29) ios
|
2828
2806
|
|
2829
2807
|
> def finds(value)
|
2830
2808
|
|
@@ -2840,7 +2818,7 @@ __Returns:__
|
|
2840
2818
|
|
2841
2819
|
--
|
2842
2820
|
|
2843
|
-
##### [find_exact](https://github.com/appium/ruby_lib/blob/
|
2821
|
+
##### [find_exact](https://github.com/appium/ruby_lib/blob/3060ef3bf06c19a79731a49985efa75c3337dd27/lib/appium_lib/ios/xcuitest/element/generic.rb#L37) ios
|
2844
2822
|
|
2845
2823
|
> def find_exact(value)
|
2846
2824
|
|
@@ -2856,7 +2834,7 @@ __Returns:__
|
|
2856
2834
|
|
2857
2835
|
--
|
2858
2836
|
|
2859
|
-
##### [finds_exact](https://github.com/appium/ruby_lib/blob/
|
2837
|
+
##### [finds_exact](https://github.com/appium/ruby_lib/blob/3060ef3bf06c19a79731a49985efa75c3337dd27/lib/appium_lib/ios/xcuitest/element/generic.rb#L44) ios
|
2860
2838
|
|
2861
2839
|
> def finds_exact(value)
|
2862
2840
|
|
@@ -2872,7 +2850,7 @@ __Returns:__
|
|
2872
2850
|
|
2873
2851
|
--
|
2874
2852
|
|
2875
|
-
##### [raise_error_if_no_element](https://github.com/appium/ruby_lib/blob/
|
2853
|
+
##### [raise_error_if_no_element](https://github.com/appium/ruby_lib/blob/3060ef3bf06c19a79731a49985efa75c3337dd27/lib/appium_lib/ios/xcuitest/element/generic.rb#L51) ios
|
2876
2854
|
|
2877
2855
|
> def raise_error_if_no_element(element)
|
2878
2856
|
|
@@ -2880,7 +2858,7 @@ __Returns:__
|
|
2880
2858
|
|
2881
2859
|
--
|
2882
2860
|
|
2883
|
-
##### [select_visible_elements](https://github.com/appium/ruby_lib/blob/
|
2861
|
+
##### [select_visible_elements](https://github.com/appium/ruby_lib/blob/3060ef3bf06c19a79731a49985efa75c3337dd27/lib/appium_lib/ios/xcuitest/element/generic.rb#L59) ios
|
2884
2862
|
|
2885
2863
|
> def select_visible_elements(elements)
|
2886
2864
|
|
@@ -2888,7 +2866,7 @@ Return visible elements.
|
|
2888
2866
|
|
2889
2867
|
--
|
2890
2868
|
|
2891
|
-
##### [swipe](https://github.com/appium/ruby_lib/blob/
|
2869
|
+
##### [swipe](https://github.com/appium/ruby_lib/blob/3060ef3bf06c19a79731a49985efa75c3337dd27/lib/appium_lib/ios/xcuitest/command/gestures.rb#L25) ios
|
2892
2870
|
|
2893
2871
|
> def swipe(direction:, element: nil)
|
2894
2872
|
|
@@ -2902,7 +2880,7 @@ __Parameters:__
|
|
2902
2880
|
|
2903
2881
|
--
|
2904
2882
|
|
2905
|
-
##### [scroll](https://github.com/appium/ruby_lib/blob/
|
2883
|
+
##### [scroll](https://github.com/appium/ruby_lib/blob/3060ef3bf06c19a79731a49985efa75c3337dd27/lib/appium_lib/ios/xcuitest/command/gestures.rb#L46) ios
|
2906
2884
|
|
2907
2885
|
> def scroll(direction:, distance: nil, name: nil, element: nil, to_visible: nil, predicate_string: nil)
|
2908
2886
|
|
@@ -2916,7 +2894,7 @@ __Parameters:__
|
|
2916
2894
|
|
2917
2895
|
--
|
2918
2896
|
|
2919
|
-
##### [pinch](https://github.com/appium/ruby_lib/blob/
|
2897
|
+
##### [pinch](https://github.com/appium/ruby_lib/blob/3060ef3bf06c19a79731a49985efa75c3337dd27/lib/appium_lib/ios/xcuitest/command/gestures.rb#L67) ios
|
2920
2898
|
|
2921
2899
|
> def pinch(scale:, velocity: 1.0, element: nil)
|
2922
2900
|
|
@@ -2932,7 +2910,7 @@ __Parameters:__
|
|
2932
2910
|
|
2933
2911
|
--
|
2934
2912
|
|
2935
|
-
##### [double_tap](https://github.com/appium/ruby_lib/blob/
|
2913
|
+
##### [double_tap](https://github.com/appium/ruby_lib/blob/3060ef3bf06c19a79731a49985efa75c3337dd27/lib/appium_lib/ios/xcuitest/command/gestures.rb#L82) ios
|
2936
2914
|
|
2937
2915
|
> def double_tap(x: nil, y: nil, element: nil)
|
2938
2916
|
|
@@ -2948,7 +2926,7 @@ __Parameters:__
|
|
2948
2926
|
|
2949
2927
|
--
|
2950
2928
|
|
2951
|
-
##### [touch_and_hold](https://github.com/appium/ruby_lib/blob/
|
2929
|
+
##### [touch_and_hold](https://github.com/appium/ruby_lib/blob/3060ef3bf06c19a79731a49985efa75c3337dd27/lib/appium_lib/ios/xcuitest/command/gestures.rb#L99) ios
|
2952
2930
|
|
2953
2931
|
> def touch_and_hold(x: nil, y: nil, element: nil, duration: 1.0)
|
2954
2932
|
|
@@ -2966,7 +2944,7 @@ __Parameters:__
|
|
2966
2944
|
|
2967
2945
|
--
|
2968
2946
|
|
2969
|
-
##### [two_finger_tap](https://github.com/appium/ruby_lib/blob/
|
2947
|
+
##### [two_finger_tap](https://github.com/appium/ruby_lib/blob/3060ef3bf06c19a79731a49985efa75c3337dd27/lib/appium_lib/ios/xcuitest/command/gestures.rb#L112) ios
|
2970
2948
|
|
2971
2949
|
> def two_finger_tap(element:)
|
2972
2950
|
|
@@ -2982,7 +2960,7 @@ two_finger_tap element: find_element(:accessibility_id, "some item")
|
|
2982
2960
|
|
2983
2961
|
--
|
2984
2962
|
|
2985
|
-
##### [one_finger_tap](https://github.com/appium/ruby_lib/blob/
|
2963
|
+
##### [one_finger_tap](https://github.com/appium/ruby_lib/blob/3060ef3bf06c19a79731a49985efa75c3337dd27/lib/appium_lib/ios/xcuitest/command/gestures.rb#L127) ios
|
2986
2964
|
|
2987
2965
|
> def one_finger_tap(x:, y:, element: nil)
|
2988
2966
|
|
@@ -2998,7 +2976,7 @@ __Parameters:__
|
|
2998
2976
|
|
2999
2977
|
--
|
3000
2978
|
|
3001
|
-
##### [drag_from_to_for_duration](https://github.com/appium/ruby_lib/blob/
|
2979
|
+
##### [drag_from_to_for_duration](https://github.com/appium/ruby_lib/blob/3060ef3bf06c19a79731a49985efa75c3337dd27/lib/appium_lib/ios/xcuitest/command/gestures.rb#L147) ios
|
3002
2980
|
|
3003
2981
|
> def drag_from_to_for_duration(from_x:, from_y:, to_x:, to_y:, duration: 1.0, element: nil)
|
3004
2982
|
|
@@ -3021,7 +2999,7 @@ drag point should be before to start dragging. Mandatory parameter
|
|
3021
2999
|
|
3022
3000
|
--
|
3023
3001
|
|
3024
|
-
##### [select_picker_wheel](https://github.com/appium/ruby_lib/blob/
|
3002
|
+
##### [select_picker_wheel](https://github.com/appium/ruby_lib/blob/3060ef3bf06c19a79731a49985efa75c3337dd27/lib/appium_lib/ios/xcuitest/command/gestures.rb#L164) ios
|
3025
3003
|
|
3026
3004
|
> def select_picker_wheel(element:, order:, offset: nil)
|
3027
3005
|
|
@@ -3038,7 +3016,7 @@ __Parameters:__
|
|
3038
3016
|
|
3039
3017
|
--
|
3040
3018
|
|
3041
|
-
##### [alert](https://github.com/appium/ruby_lib/blob/
|
3019
|
+
##### [alert](https://github.com/appium/ruby_lib/blob/3060ef3bf06c19a79731a49985efa75c3337dd27/lib/appium_lib/ios/xcuitest/command/gestures.rb#L182) ios
|
3042
3020
|
|
3043
3021
|
> def alert(action:, button_label: nil)
|
3044
3022
|
|
@@ -3063,7 +3041,7 @@ alert action: "dismiss"
|
|
3063
3041
|
|
3064
3042
|
--
|
3065
3043
|
|
3066
|
-
##### [text_field_class](https://github.com/appium/ruby_lib/blob/
|
3044
|
+
##### [text_field_class](https://github.com/appium/ruby_lib/blob/3060ef3bf06c19a79731a49985efa75c3337dd27/lib/appium_lib/ios/xcuitest/element/textfield.rb#L23) ios
|
3067
3045
|
|
3068
3046
|
> def text_field_class
|
3069
3047
|
|
@@ -3075,7 +3053,7 @@ __Returns:__
|
|
3075
3053
|
|
3076
3054
|
--
|
3077
3055
|
|
3078
|
-
##### [secure_text_field_class](https://github.com/appium/ruby_lib/blob/
|
3056
|
+
##### [secure_text_field_class](https://github.com/appium/ruby_lib/blob/3060ef3bf06c19a79731a49985efa75c3337dd27/lib/appium_lib/ios/xcuitest/element/textfield.rb#L28) ios
|
3079
3057
|
|
3080
3058
|
> def secure_text_field_class
|
3081
3059
|
|
@@ -3087,7 +3065,7 @@ __Returns:__
|
|
3087
3065
|
|
3088
3066
|
--
|
3089
3067
|
|
3090
|
-
##### [textfield](https://github.com/appium/ruby_lib/blob/
|
3068
|
+
##### [textfield](https://github.com/appium/ruby_lib/blob/3060ef3bf06c19a79731a49985efa75c3337dd27/lib/appium_lib/ios/xcuitest/element/textfield.rb#L37) ios
|
3091
3069
|
|
3092
3070
|
> def textfield(value)
|
3093
3071
|
|
@@ -3105,7 +3083,7 @@ __Returns:__
|
|
3105
3083
|
|
3106
3084
|
--
|
3107
3085
|
|
3108
|
-
##### [textfields](https://github.com/appium/ruby_lib/blob/
|
3086
|
+
##### [textfields](https://github.com/appium/ruby_lib/blob/3060ef3bf06c19a79731a49985efa75c3337dd27/lib/appium_lib/ios/xcuitest/element/textfield.rb#L57) ios
|
3109
3087
|
|
3110
3088
|
> def textfields(value = false)
|
3111
3089
|
|
@@ -3122,7 +3100,7 @@ __Returns:__
|
|
3122
3100
|
|
3123
3101
|
--
|
3124
3102
|
|
3125
|
-
##### [first_textfield](https://github.com/appium/ruby_lib/blob/
|
3103
|
+
##### [first_textfield](https://github.com/appium/ruby_lib/blob/3060ef3bf06c19a79731a49985efa75c3337dd27/lib/appium_lib/ios/xcuitest/element/textfield.rb#L66) ios
|
3126
3104
|
|
3127
3105
|
> def first_textfield
|
3128
3106
|
|
@@ -3134,7 +3112,7 @@ __Returns:__
|
|
3134
3112
|
|
3135
3113
|
--
|
3136
3114
|
|
3137
|
-
##### [last_textfield](https://github.com/appium/ruby_lib/blob/
|
3115
|
+
##### [last_textfield](https://github.com/appium/ruby_lib/blob/3060ef3bf06c19a79731a49985efa75c3337dd27/lib/appium_lib/ios/xcuitest/element/textfield.rb#L72) ios
|
3138
3116
|
|
3139
3117
|
> def last_textfield
|
3140
3118
|
|
@@ -3146,7 +3124,7 @@ __Returns:__
|
|
3146
3124
|
|
3147
3125
|
--
|
3148
3126
|
|
3149
|
-
##### [textfield_exact](https://github.com/appium/ruby_lib/blob/
|
3127
|
+
##### [textfield_exact](https://github.com/appium/ruby_lib/blob/3060ef3bf06c19a79731a49985efa75c3337dd27/lib/appium_lib/ios/xcuitest/element/textfield.rb#L82) ios
|
3150
3128
|
|
3151
3129
|
> def textfield_exact(value)
|
3152
3130
|
|
@@ -3162,7 +3140,7 @@ __Returns:__
|
|
3162
3140
|
|
3163
3141
|
--
|
3164
3142
|
|
3165
|
-
##### [textfields_exact](https://github.com/appium/ruby_lib/blob/
|
3143
|
+
##### [textfields_exact](https://github.com/appium/ruby_lib/blob/3060ef3bf06c19a79731a49985efa75c3337dd27/lib/appium_lib/ios/xcuitest/element/textfield.rb#L89) ios
|
3166
3144
|
|
3167
3145
|
> def textfields_exact(value)
|
3168
3146
|
|
@@ -3178,7 +3156,7 @@ __Returns:__
|
|
3178
3156
|
|
3179
3157
|
--
|
3180
3158
|
|
3181
|
-
##### [set_pasteboard](https://github.com/appium/ruby_lib/blob/
|
3159
|
+
##### [set_pasteboard](https://github.com/appium/ruby_lib/blob/3060ef3bf06c19a79731a49985efa75c3337dd27/lib/appium_lib/ios/xcuitest/command/pasteboard.rb#L26) ios
|
3182
3160
|
|
3183
3161
|
> def set_pasteboard(content:, encoding: nil)
|
3184
3162
|
|
@@ -3193,7 +3171,7 @@ The parameter is mandatory
|
|
3193
3171
|
|
3194
3172
|
--
|
3195
3173
|
|
3196
|
-
##### [get_pasteboard](https://github.com/appium/ruby_lib/blob/
|
3174
|
+
##### [get_pasteboard](https://github.com/appium/ruby_lib/blob/3060ef3bf06c19a79731a49985efa75c3337dd27/lib/appium_lib/ios/xcuitest/command/pasteboard.rb#L38) ios
|
3197
3175
|
|
3198
3176
|
> def get_pasteboard(encoding: nil)
|
3199
3177
|
|
@@ -3205,7 +3183,7 @@ __Parameters:__
|
|
3205
3183
|
|
3206
3184
|
--
|
3207
3185
|
|
3208
|
-
##### [install_certificate](https://github.com/appium/ruby_lib/blob/
|
3186
|
+
##### [install_certificate](https://github.com/appium/ruby_lib/blob/3060ef3bf06c19a79731a49985efa75c3337dd27/lib/appium_lib/ios/xcuitest/command/certificate.rb#L32) ios
|
3209
3187
|
|
3210
3188
|
> def install_certificate(cer_file:)
|
3211
3189
|
|
@@ -3220,7 +3198,7 @@ __Parameters:__
|
|
3220
3198
|
|
3221
3199
|
--
|
3222
3200
|
|
3223
|
-
##### [xcuitest_get_contexts](https://github.com/appium/ruby_lib/blob/
|
3201
|
+
##### [xcuitest_get_contexts](https://github.com/appium/ruby_lib/blob/3060ef3bf06c19a79731a49985efa75c3337dd27/lib/appium_lib/ios/xcuitest/command/get_context.rb#L28) ios
|
3224
3202
|
|
3225
3203
|
> def xcuitest_get_contexts
|
3226
3204
|
|
@@ -3228,7 +3206,7 @@ Get contexts
|
|
3228
3206
|
|
3229
3207
|
--
|
3230
3208
|
|
3231
|
-
##### [xcuitest_install_app](https://github.com/appium/ruby_lib/blob/
|
3209
|
+
##### [xcuitest_install_app](https://github.com/appium/ruby_lib/blob/3060ef3bf06c19a79731a49985efa75c3337dd27/lib/appium_lib/ios/xcuitest/command/multi_app_handler.rb#L35) ios
|
3232
3210
|
|
3233
3211
|
> def xcuitest_install_app(app:)
|
3234
3212
|
|
@@ -3248,7 +3226,7 @@ __Returns:__
|
|
3248
3226
|
|
3249
3227
|
--
|
3250
3228
|
|
3251
|
-
##### [xcuitest_app_installed?](https://github.com/appium/ruby_lib/blob/
|
3229
|
+
##### [xcuitest_app_installed?](https://github.com/appium/ruby_lib/blob/3060ef3bf06c19a79731a49985efa75c3337dd27/lib/appium_lib/ios/xcuitest/command/multi_app_handler.rb#L48) ios
|
3252
3230
|
|
3253
3231
|
> def xcuitest_app_installed?(bundle_id:)
|
3254
3232
|
|
@@ -3264,7 +3242,7 @@ __Returns:__
|
|
3264
3242
|
|
3265
3243
|
--
|
3266
3244
|
|
3267
|
-
##### [xcuitest_remove_app](https://github.com/appium/ruby_lib/blob/
|
3245
|
+
##### [xcuitest_remove_app](https://github.com/appium/ruby_lib/blob/3060ef3bf06c19a79731a49985efa75c3337dd27/lib/appium_lib/ios/xcuitest/command/multi_app_handler.rb#L62) ios
|
3268
3246
|
|
3269
3247
|
> def xcuitest_remove_app(bundle_id:)
|
3270
3248
|
|
@@ -3281,7 +3259,7 @@ __Returns:__
|
|
3281
3259
|
|
3282
3260
|
--
|
3283
3261
|
|
3284
|
-
##### [xcuitest_launch_app](https://github.com/appium/ruby_lib/blob/
|
3262
|
+
##### [xcuitest_launch_app](https://github.com/appium/ruby_lib/blob/3060ef3bf06c19a79731a49985efa75c3337dd27/lib/appium_lib/ios/xcuitest/command/multi_app_handler.rb#L76) ios
|
3285
3263
|
|
3286
3264
|
> def xcuitest_launch_app(bundle_id:)
|
3287
3265
|
|
@@ -3298,7 +3276,7 @@ __Returns:__
|
|
3298
3276
|
|
3299
3277
|
--
|
3300
3278
|
|
3301
|
-
##### [xcuitest_terminate_app](https://github.com/appium/ruby_lib/blob/
|
3279
|
+
##### [xcuitest_terminate_app](https://github.com/appium/ruby_lib/blob/3060ef3bf06c19a79731a49985efa75c3337dd27/lib/appium_lib/ios/xcuitest/command/multi_app_handler.rb#L91) ios
|
3302
3280
|
|
3303
3281
|
> def xcuitest_terminate_app(bundle_id:)
|
3304
3282
|
|
@@ -3315,7 +3293,7 @@ __Returns:__
|
|
3315
3293
|
|
3316
3294
|
--
|
3317
3295
|
|
3318
|
-
##### [xcuitest_query_app_status](https://github.com/appium/ruby_lib/blob/
|
3296
|
+
##### [xcuitest_query_app_status](https://github.com/appium/ruby_lib/blob/3060ef3bf06c19a79731a49985efa75c3337dd27/lib/appium_lib/ios/xcuitest/command/multi_app_handler.rb#L112) ios
|
3319
3297
|
|
3320
3298
|
> def xcuitest_query_app_status(bundle_id:)
|
3321
3299
|
|
@@ -3339,7 +3317,7 @@ __Returns:__
|
|
3339
3317
|
|
3340
3318
|
--
|
3341
3319
|
|
3342
|
-
##### [xcuitest_activate_app](https://github.com/appium/ruby_lib/blob/
|
3320
|
+
##### [xcuitest_activate_app](https://github.com/appium/ruby_lib/blob/3060ef3bf06c19a79731a49985efa75c3337dd27/lib/appium_lib/ios/xcuitest/command/multi_app_handler.rb#L127) ios
|
3343
3321
|
|
3344
3322
|
> def xcuitest_activate_app(bundle_id:)
|
3345
3323
|
|