appium_lib 9.7.3 → 9.7.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +9 -0
- data/docs/android_docs.md +202 -221
- data/docs/ios_docs.md +254 -274
- data/lib/appium_lib/android/common/helper.rb +0 -12
- data/lib/appium_lib/appium.rb +1 -0
- data/lib/appium_lib/common/device.rb +25 -0
- data/lib/appium_lib/common/helper.rb +13 -0
- data/lib/appium_lib/common/multi_touch.rb +2 -17
- data/lib/appium_lib/core/common/command.rb +1 -0
- data/lib/appium_lib/core/common/device.rb +0 -8
- data/lib/appium_lib/core/core.rb +1 -0
- data/lib/appium_lib/core/device/multi_touch.rb +48 -0
- data/lib/appium_lib/core/driver.rb +2 -2
- data/lib/appium_lib/driver.rb +3 -1
- data/lib/appium_lib/ios/common/helper.rb +0 -13
- data/lib/appium_lib/version.rb +2 -2
- data/release_notes.md +14 -0
- metadata +4 -2
data/docs/ios_docs.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
##### [load_settings](https://github.com/appium/ruby_lib/blob/
|
|
1
|
+
##### [load_settings](https://github.com/appium/ruby_lib/blob/08550ca75f3dad2874f9c7e7c7d1b117c0670009/lib/appium_lib/appium.rb#L46)
|
|
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/08550ca75f3dad2874f9c7e7c7d1b117c0670009/lib/appium_lib/appium.rb#L80)
|
|
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/08550ca75f3dad2874f9c7e7c7d1b117c0670009/lib/appium_lib/appium.rb#L85)
|
|
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/08550ca75f3dad2874f9c7e7c7d1b117c0670009/lib/appium_lib/appium.rb#L127)
|
|
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/08550ca75f3dad2874f9c7e7c7d1b117c0670009/lib/appium_lib/appium.rb#L182)
|
|
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/08550ca75f3dad2874f9c7e7c7d1b117c0670009/lib/appium_lib/driver.rb#L24)
|
|
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/08550ca75f3dad2874f9c7e7c7d1b117c0670009/lib/appium_lib/driver.rb#L24)
|
|
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/08550ca75f3dad2874f9c7e7c7d1b117c0670009/lib/appium_lib/driver.rb#L27)
|
|
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/08550ca75f3dad2874f9c7e7c7d1b117c0670009/lib/appium_lib/driver.rb#L30)
|
|
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/08550ca75f3dad2874f9c7e7c7d1b117c0670009/lib/appium_lib/driver.rb#L33)
|
|
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/08550ca75f3dad2874f9c7e7c7d1b117c0670009/lib/appium_lib/driver.rb#L36)
|
|
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/08550ca75f3dad2874f9c7e7c7d1b117c0670009/lib/appium_lib/driver.rb#L39)
|
|
171
171
|
|
|
172
172
|
> def caps
|
|
173
173
|
|
|
@@ -175,7 +175,7 @@ from Core
|
|
|
175
175
|
|
|
176
176
|
--
|
|
177
177
|
|
|
178
|
-
##### [custom_url](https://github.com/appium/ruby_lib/blob/
|
|
178
|
+
##### [custom_url](https://github.com/appium/ruby_lib/blob/08550ca75f3dad2874f9c7e7c7d1b117c0670009/lib/appium_lib/driver.rb#L40)
|
|
179
179
|
|
|
180
180
|
> def custom_url
|
|
181
181
|
|
|
@@ -183,7 +183,7 @@ Returns the value of attribute custom_url
|
|
|
183
183
|
|
|
184
184
|
--
|
|
185
185
|
|
|
186
|
-
##### [export_session](https://github.com/appium/ruby_lib/blob/
|
|
186
|
+
##### [export_session](https://github.com/appium/ruby_lib/blob/08550ca75f3dad2874f9c7e7c7d1b117c0670009/lib/appium_lib/driver.rb#L41)
|
|
187
187
|
|
|
188
188
|
> def export_session
|
|
189
189
|
|
|
@@ -191,7 +191,7 @@ Returns the value of attribute export_session
|
|
|
191
191
|
|
|
192
192
|
--
|
|
193
193
|
|
|
194
|
-
##### [export_session_path](https://github.com/appium/ruby_lib/blob/
|
|
194
|
+
##### [export_session_path](https://github.com/appium/ruby_lib/blob/08550ca75f3dad2874f9c7e7c7d1b117c0670009/lib/appium_lib/driver.rb#L42)
|
|
195
195
|
|
|
196
196
|
> def export_session_path
|
|
197
197
|
|
|
@@ -199,7 +199,7 @@ Returns the value of attribute export_session_path
|
|
|
199
199
|
|
|
200
200
|
--
|
|
201
201
|
|
|
202
|
-
##### [default_wait](https://github.com/appium/ruby_lib/blob/
|
|
202
|
+
##### [default_wait](https://github.com/appium/ruby_lib/blob/08550ca75f3dad2874f9c7e7c7d1b117c0670009/lib/appium_lib/driver.rb#L43)
|
|
203
203
|
|
|
204
204
|
> def default_wait
|
|
205
205
|
|
|
@@ -207,7 +207,7 @@ Returns the value of attribute default_wait
|
|
|
207
207
|
|
|
208
208
|
--
|
|
209
209
|
|
|
210
|
-
##### [appium_port](https://github.com/appium/ruby_lib/blob/
|
|
210
|
+
##### [appium_port](https://github.com/appium/ruby_lib/blob/08550ca75f3dad2874f9c7e7c7d1b117c0670009/lib/appium_lib/driver.rb#L44)
|
|
211
211
|
|
|
212
212
|
> def appium_port
|
|
213
213
|
|
|
@@ -215,7 +215,7 @@ Returns the value of attribute appium_port
|
|
|
215
215
|
|
|
216
216
|
--
|
|
217
217
|
|
|
218
|
-
##### [appium_device](https://github.com/appium/ruby_lib/blob/
|
|
218
|
+
##### [appium_device](https://github.com/appium/ruby_lib/blob/08550ca75f3dad2874f9c7e7c7d1b117c0670009/lib/appium_lib/driver.rb#L45)
|
|
219
219
|
|
|
220
220
|
> def appium_device
|
|
221
221
|
|
|
@@ -223,7 +223,7 @@ Returns the value of attribute appium_device
|
|
|
223
223
|
|
|
224
224
|
--
|
|
225
225
|
|
|
226
|
-
##### [automation_name](https://github.com/appium/ruby_lib/blob/
|
|
226
|
+
##### [automation_name](https://github.com/appium/ruby_lib/blob/08550ca75f3dad2874f9c7e7c7d1b117c0670009/lib/appium_lib/driver.rb#L46)
|
|
227
227
|
|
|
228
228
|
> def automation_name
|
|
229
229
|
|
|
@@ -231,7 +231,7 @@ Returns the value of attribute automation_name
|
|
|
231
231
|
|
|
232
232
|
--
|
|
233
233
|
|
|
234
|
-
##### [listener](https://github.com/appium/ruby_lib/blob/
|
|
234
|
+
##### [listener](https://github.com/appium/ruby_lib/blob/08550ca75f3dad2874f9c7e7c7d1b117c0670009/lib/appium_lib/driver.rb#L47)
|
|
235
235
|
|
|
236
236
|
> def listener
|
|
237
237
|
|
|
@@ -239,7 +239,7 @@ Returns the value of attribute listener
|
|
|
239
239
|
|
|
240
240
|
--
|
|
241
241
|
|
|
242
|
-
##### [http_client](https://github.com/appium/ruby_lib/blob/
|
|
242
|
+
##### [http_client](https://github.com/appium/ruby_lib/blob/08550ca75f3dad2874f9c7e7c7d1b117c0670009/lib/appium_lib/driver.rb#L48)
|
|
243
243
|
|
|
244
244
|
> def http_client
|
|
245
245
|
|
|
@@ -247,7 +247,7 @@ Returns the value of attribute http_client
|
|
|
247
247
|
|
|
248
248
|
--
|
|
249
249
|
|
|
250
|
-
##### [appium_wait_timeout](https://github.com/appium/ruby_lib/blob/
|
|
250
|
+
##### [appium_wait_timeout](https://github.com/appium/ruby_lib/blob/08550ca75f3dad2874f9c7e7c7d1b117c0670009/lib/appium_lib/driver.rb#L49)
|
|
251
251
|
|
|
252
252
|
> def appium_wait_timeout
|
|
253
253
|
|
|
@@ -255,7 +255,7 @@ Returns the value of attribute appium_wait_timeout
|
|
|
255
255
|
|
|
256
256
|
--
|
|
257
257
|
|
|
258
|
-
##### [appium_wait_interval](https://github.com/appium/ruby_lib/blob/
|
|
258
|
+
##### [appium_wait_interval](https://github.com/appium/ruby_lib/blob/08550ca75f3dad2874f9c7e7c7d1b117c0670009/lib/appium_lib/driver.rb#L50)
|
|
259
259
|
|
|
260
260
|
> def appium_wait_interval
|
|
261
261
|
|
|
@@ -263,7 +263,7 @@ Returns the value of attribute appium_wait_interval
|
|
|
263
263
|
|
|
264
264
|
--
|
|
265
265
|
|
|
266
|
-
##### [appium_server_status](https://github.com/appium/ruby_lib/blob/
|
|
266
|
+
##### [appium_server_status](https://github.com/appium/ruby_lib/blob/08550ca75f3dad2874f9c7e7c7d1b117c0670009/lib/appium_lib/driver.rb#L53)
|
|
267
267
|
|
|
268
268
|
> def appium_server_status
|
|
269
269
|
|
|
@@ -271,7 +271,7 @@ Appium's server version
|
|
|
271
271
|
|
|
272
272
|
--
|
|
273
273
|
|
|
274
|
-
##### [appium_debug](https://github.com/appium/ruby_lib/blob/
|
|
274
|
+
##### [appium_debug](https://github.com/appium/ruby_lib/blob/08550ca75f3dad2874f9c7e7c7d1b117c0670009/lib/appium_lib/driver.rb#L55)
|
|
275
275
|
|
|
276
276
|
> def appium_debug
|
|
277
277
|
|
|
@@ -279,7 +279,7 @@ Boolean debug mode for the Appium Ruby bindings
|
|
|
279
279
|
|
|
280
280
|
--
|
|
281
281
|
|
|
282
|
-
##### [driver](https://github.com/appium/ruby_lib/blob/
|
|
282
|
+
##### [driver](https://github.com/appium/ruby_lib/blob/08550ca75f3dad2874f9c7e7c7d1b117c0670009/lib/appium_lib/driver.rb#L58)
|
|
283
283
|
|
|
284
284
|
> def driver
|
|
285
285
|
|
|
@@ -291,7 +291,7 @@ __Returns:__
|
|
|
291
291
|
|
|
292
292
|
--
|
|
293
293
|
|
|
294
|
-
##### [core](https://github.com/appium/ruby_lib/blob/
|
|
294
|
+
##### [core](https://github.com/appium/ruby_lib/blob/08550ca75f3dad2874f9c7e7c7d1b117c0670009/lib/appium_lib/driver.rb#L60)
|
|
295
295
|
|
|
296
296
|
> def core
|
|
297
297
|
|
|
@@ -299,7 +299,7 @@ Instance of Appium::Core::Driver
|
|
|
299
299
|
|
|
300
300
|
--
|
|
301
301
|
|
|
302
|
-
##### [initialize](https://github.com/appium/ruby_lib/blob/
|
|
302
|
+
##### [initialize](https://github.com/appium/ruby_lib/blob/08550ca75f3dad2874f9c7e7c7d1b117c0670009/lib/appium_lib/driver.rb#L111)
|
|
303
303
|
|
|
304
304
|
> def initialize(opts = {}, global_driver = nil)
|
|
305
305
|
|
|
@@ -318,7 +318,7 @@ __Returns:__
|
|
|
318
318
|
|
|
319
319
|
--
|
|
320
320
|
|
|
321
|
-
##### [driver_attributes](https://github.com/appium/ruby_lib/blob/
|
|
321
|
+
##### [driver_attributes](https://github.com/appium/ruby_lib/blob/08550ca75f3dad2874f9c7e7c7d1b117c0670009/lib/appium_lib/driver.rb#L218)
|
|
322
322
|
|
|
323
323
|
> def driver_attributes
|
|
324
324
|
|
|
@@ -326,7 +326,7 @@ Returns a hash of the driver attributes
|
|
|
326
326
|
|
|
327
327
|
--
|
|
328
328
|
|
|
329
|
-
##### [device_is_android?](https://github.com/appium/ruby_lib/blob/
|
|
329
|
+
##### [device_is_android?](https://github.com/appium/ruby_lib/blob/08550ca75f3dad2874f9c7e7c7d1b117c0670009/lib/appium_lib/driver.rb#L238)
|
|
330
330
|
|
|
331
331
|
> def device_is_android?
|
|
332
332
|
|
|
@@ -338,7 +338,7 @@ __Returns:__
|
|
|
338
338
|
|
|
339
339
|
--
|
|
340
340
|
|
|
341
|
-
##### [device_is_ios?](https://github.com/appium/ruby_lib/blob/
|
|
341
|
+
##### [device_is_ios?](https://github.com/appium/ruby_lib/blob/08550ca75f3dad2874f9c7e7c7d1b117c0670009/lib/appium_lib/driver.rb#L242)
|
|
342
342
|
|
|
343
343
|
> def device_is_ios?
|
|
344
344
|
|
|
@@ -350,7 +350,7 @@ __Returns:__
|
|
|
350
350
|
|
|
351
351
|
--
|
|
352
352
|
|
|
353
|
-
##### [device_is_windows?](https://github.com/appium/ruby_lib/blob/
|
|
353
|
+
##### [device_is_windows?](https://github.com/appium/ruby_lib/blob/08550ca75f3dad2874f9c7e7c7d1b117c0670009/lib/appium_lib/driver.rb#L246)
|
|
354
354
|
|
|
355
355
|
> def device_is_windows?
|
|
356
356
|
|
|
@@ -362,7 +362,7 @@ __Returns:__
|
|
|
362
362
|
|
|
363
363
|
--
|
|
364
364
|
|
|
365
|
-
##### [automation_name_is_uiautomator2?](https://github.com/appium/ruby_lib/blob/
|
|
365
|
+
##### [automation_name_is_uiautomator2?](https://github.com/appium/ruby_lib/blob/08550ca75f3dad2874f9c7e7c7d1b117c0670009/lib/appium_lib/driver.rb#L252)
|
|
366
366
|
|
|
367
367
|
> def automation_name_is_uiautomator2?
|
|
368
368
|
|
|
@@ -374,7 +374,7 @@ __Returns:__
|
|
|
374
374
|
|
|
375
375
|
--
|
|
376
376
|
|
|
377
|
-
##### [automation_name_is_espresso?](https://github.com/appium/ruby_lib/blob/
|
|
377
|
+
##### [automation_name_is_espresso?](https://github.com/appium/ruby_lib/blob/08550ca75f3dad2874f9c7e7c7d1b117c0670009/lib/appium_lib/driver.rb#L258)
|
|
378
378
|
|
|
379
379
|
> def automation_name_is_espresso?
|
|
380
380
|
|
|
@@ -386,7 +386,7 @@ __Returns:__
|
|
|
386
386
|
|
|
387
387
|
--
|
|
388
388
|
|
|
389
|
-
##### [automation_name_is_xcuitest?](https://github.com/appium/ruby_lib/blob/
|
|
389
|
+
##### [automation_name_is_xcuitest?](https://github.com/appium/ruby_lib/blob/08550ca75f3dad2874f9c7e7c7d1b117c0670009/lib/appium_lib/driver.rb#L264)
|
|
390
390
|
|
|
391
391
|
> def automation_name_is_xcuitest?
|
|
392
392
|
|
|
@@ -398,7 +398,7 @@ __Returns:__
|
|
|
398
398
|
|
|
399
399
|
--
|
|
400
400
|
|
|
401
|
-
##### [check_server_version_xcuitest](https://github.com/appium/ruby_lib/blob/
|
|
401
|
+
##### [check_server_version_xcuitest](https://github.com/appium/ruby_lib/blob/08550ca75f3dad2874f9c7e7c7d1b117c0670009/lib/appium_lib/driver.rb#L271)
|
|
402
402
|
|
|
403
403
|
> def check_server_version_xcuitest
|
|
404
404
|
|
|
@@ -411,7 +411,7 @@ __Returns:__
|
|
|
411
411
|
|
|
412
412
|
--
|
|
413
413
|
|
|
414
|
-
##### [appium_server_version](https://github.com/appium/ruby_lib/blob/
|
|
414
|
+
##### [appium_server_version](https://github.com/appium/ruby_lib/blob/08550ca75f3dad2874f9c7e7c7d1b117c0670009/lib/appium_lib/driver.rb#L292)
|
|
415
415
|
|
|
416
416
|
> def appium_server_version
|
|
417
417
|
|
|
@@ -423,7 +423,7 @@ __Returns:__
|
|
|
423
423
|
|
|
424
424
|
--
|
|
425
425
|
|
|
426
|
-
##### [platform_version](https://github.com/appium/ruby_lib/blob/
|
|
426
|
+
##### [platform_version](https://github.com/appium/ruby_lib/blob/08550ca75f3dad2874f9c7e7c7d1b117c0670009/lib/appium_lib/driver.rb#L302)
|
|
427
427
|
|
|
428
428
|
> def platform_version
|
|
429
429
|
|
|
@@ -435,7 +435,7 @@ __Returns:__
|
|
|
435
435
|
|
|
436
436
|
--
|
|
437
437
|
|
|
438
|
-
##### [appium_client_version](https://github.com/appium/ruby_lib/blob/
|
|
438
|
+
##### [appium_client_version](https://github.com/appium/ruby_lib/blob/08550ca75f3dad2874f9c7e7c7d1b117c0670009/lib/appium_lib/driver.rb#L321)
|
|
439
439
|
|
|
440
440
|
> def appium_client_version
|
|
441
441
|
|
|
@@ -447,7 +447,7 @@ __Returns:__
|
|
|
447
447
|
|
|
448
448
|
--
|
|
449
449
|
|
|
450
|
-
##### [absolute_app_path](https://github.com/appium/ruby_lib/blob/
|
|
450
|
+
##### [absolute_app_path](https://github.com/appium/ruby_lib/blob/08550ca75f3dad2874f9c7e7c7d1b117c0670009/lib/appium_lib/driver.rb#L333)
|
|
451
451
|
|
|
452
452
|
> def self.absolute_app_path(opts)
|
|
453
453
|
|
|
@@ -464,7 +464,7 @@ __Returns:__
|
|
|
464
464
|
|
|
465
465
|
--
|
|
466
466
|
|
|
467
|
-
##### [server_url](https://github.com/appium/ruby_lib/blob/
|
|
467
|
+
##### [server_url](https://github.com/appium/ruby_lib/blob/08550ca75f3dad2874f9c7e7c7d1b117c0670009/lib/appium_lib/driver.rb#L366)
|
|
468
468
|
|
|
469
469
|
> def server_url
|
|
470
470
|
|
|
@@ -476,7 +476,7 @@ __Returns:__
|
|
|
476
476
|
|
|
477
477
|
--
|
|
478
478
|
|
|
479
|
-
##### [restart](https://github.com/appium/ruby_lib/blob/
|
|
479
|
+
##### [restart](https://github.com/appium/ruby_lib/blob/08550ca75f3dad2874f9c7e7c7d1b117c0670009/lib/appium_lib/driver.rb#L374)
|
|
480
480
|
|
|
481
481
|
> def restart
|
|
482
482
|
|
|
@@ -488,7 +488,7 @@ __Returns:__
|
|
|
488
488
|
|
|
489
489
|
--
|
|
490
490
|
|
|
491
|
-
##### [screenshot](https://github.com/appium/ruby_lib/blob/
|
|
491
|
+
##### [screenshot](https://github.com/appium/ruby_lib/blob/08550ca75f3dad2874f9c7e7c7d1b117c0670009/lib/appium_lib/driver.rb#L387)
|
|
492
492
|
|
|
493
493
|
> def screenshot(png_save_path)
|
|
494
494
|
|
|
@@ -504,7 +504,7 @@ __Returns:__
|
|
|
504
504
|
|
|
505
505
|
--
|
|
506
506
|
|
|
507
|
-
##### [driver_quit](https://github.com/appium/ruby_lib/blob/
|
|
507
|
+
##### [driver_quit](https://github.com/appium/ruby_lib/blob/08550ca75f3dad2874f9c7e7c7d1b117c0670009/lib/appium_lib/driver.rb#L394)
|
|
508
508
|
|
|
509
509
|
> def driver_quit
|
|
510
510
|
|
|
@@ -516,7 +516,7 @@ __Returns:__
|
|
|
516
516
|
|
|
517
517
|
--
|
|
518
518
|
|
|
519
|
-
##### [quit_driver](https://github.com/appium/ruby_lib/blob/
|
|
519
|
+
##### [quit_driver](https://github.com/appium/ruby_lib/blob/08550ca75f3dad2874f9c7e7c7d1b117c0670009/lib/appium_lib/driver.rb#L397)
|
|
520
520
|
|
|
521
521
|
> def driver_quit
|
|
522
522
|
|
|
@@ -528,7 +528,7 @@ __Returns:__
|
|
|
528
528
|
|
|
529
529
|
--
|
|
530
530
|
|
|
531
|
-
##### [window_size](https://github.com/appium/ruby_lib/blob/
|
|
531
|
+
##### [window_size](https://github.com/appium/ruby_lib/blob/08550ca75f3dad2874f9c7e7c7d1b117c0670009/lib/appium_lib/driver.rb#L408)
|
|
532
532
|
|
|
533
533
|
> def window_size
|
|
534
534
|
|
|
@@ -540,7 +540,7 @@ __Returns:__
|
|
|
540
540
|
|
|
541
541
|
--
|
|
542
542
|
|
|
543
|
-
##### [start_driver](https://github.com/appium/ruby_lib/blob/
|
|
543
|
+
##### [start_driver](https://github.com/appium/ruby_lib/blob/08550ca75f3dad2874f9c7e7c7d1b117c0670009/lib/appium_lib/driver.rb#L437)
|
|
544
544
|
|
|
545
545
|
> def start_driver(http_client_ops =
|
|
546
546
|
|
|
@@ -557,7 +557,7 @@ __Returns:__
|
|
|
557
557
|
|
|
558
558
|
--
|
|
559
559
|
|
|
560
|
-
##### [set_implicit_wait](https://github.com/appium/ruby_lib/blob/
|
|
560
|
+
##### [set_implicit_wait](https://github.com/appium/ruby_lib/blob/08550ca75f3dad2874f9c7e7c7d1b117c0670009/lib/appium_lib/driver.rb#L461)
|
|
561
561
|
|
|
562
562
|
> def set_implicit_wait(wait)
|
|
563
563
|
|
|
@@ -565,7 +565,7 @@ To ignore error for Espresso Driver
|
|
|
565
565
|
|
|
566
566
|
--
|
|
567
567
|
|
|
568
|
-
##### [no_wait](https://github.com/appium/ruby_lib/blob/
|
|
568
|
+
##### [no_wait](https://github.com/appium/ruby_lib/blob/08550ca75f3dad2874f9c7e7c7d1b117c0670009/lib/appium_lib/driver.rb#L471)
|
|
569
569
|
|
|
570
570
|
> def no_wait
|
|
571
571
|
|
|
@@ -573,7 +573,7 @@ Set implicit wait to zero.
|
|
|
573
573
|
|
|
574
574
|
--
|
|
575
575
|
|
|
576
|
-
##### [set_wait](https://github.com/appium/ruby_lib/blob/
|
|
576
|
+
##### [set_wait](https://github.com/appium/ruby_lib/blob/08550ca75f3dad2874f9c7e7c7d1b117c0670009/lib/appium_lib/driver.rb#L485)
|
|
577
577
|
|
|
578
578
|
> def set_wait(timeout = nil)
|
|
579
579
|
|
|
@@ -589,7 +589,7 @@ __Returns:__
|
|
|
589
589
|
|
|
590
590
|
--
|
|
591
591
|
|
|
592
|
-
##### [exists](https://github.com/appium/ruby_lib/blob/
|
|
592
|
+
##### [exists](https://github.com/appium/ruby_lib/blob/08550ca75f3dad2874f9c7e7c7d1b117c0670009/lib/appium_lib/driver.rb#L502)
|
|
593
593
|
|
|
594
594
|
> def exists(pre_check = 0, post_check = @core.default_wait)
|
|
595
595
|
|
|
@@ -613,7 +613,7 @@ __Returns:__
|
|
|
613
613
|
|
|
614
614
|
--
|
|
615
615
|
|
|
616
|
-
##### [execute_script](https://github.com/appium/ruby_lib/blob/
|
|
616
|
+
##### [execute_script](https://github.com/appium/ruby_lib/blob/08550ca75f3dad2874f9c7e7c7d1b117c0670009/lib/appium_lib/driver.rb#L526)
|
|
617
617
|
|
|
618
618
|
> def execute_script(script, *args)
|
|
619
619
|
|
|
@@ -631,7 +631,7 @@ __Returns:__
|
|
|
631
631
|
|
|
632
632
|
--
|
|
633
633
|
|
|
634
|
-
##### [find_elements](https://github.com/appium/ruby_lib/blob/
|
|
634
|
+
##### [find_elements](https://github.com/appium/ruby_lib/blob/08550ca75f3dad2874f9c7e7c7d1b117c0670009/lib/appium_lib/driver.rb#L548)
|
|
635
635
|
|
|
636
636
|
> def find_elements(*args)
|
|
637
637
|
|
|
@@ -651,7 +651,7 @@ __Returns:__
|
|
|
651
651
|
|
|
652
652
|
--
|
|
653
653
|
|
|
654
|
-
##### [find_element](https://github.com/appium/ruby_lib/blob/
|
|
654
|
+
##### [find_element](https://github.com/appium/ruby_lib/blob/08550ca75f3dad2874f9c7e7c7d1b117c0670009/lib/appium_lib/driver.rb#L563)
|
|
655
655
|
|
|
656
656
|
> def find_element(*args)
|
|
657
657
|
|
|
@@ -669,7 +669,7 @@ __Returns:__
|
|
|
669
669
|
|
|
670
670
|
--
|
|
671
671
|
|
|
672
|
-
##### [set_location](https://github.com/appium/ruby_lib/blob/
|
|
672
|
+
##### [set_location](https://github.com/appium/ruby_lib/blob/08550ca75f3dad2874f9c7e7c7d1b117c0670009/lib/appium_lib/driver.rb#L576)
|
|
673
673
|
|
|
674
674
|
> def set_location(opts = {})
|
|
675
675
|
|
|
@@ -685,7 +685,7 @@ __Returns:__
|
|
|
685
685
|
|
|
686
686
|
--
|
|
687
687
|
|
|
688
|
-
##### [x](https://github.com/appium/ruby_lib/blob/
|
|
688
|
+
##### [x](https://github.com/appium/ruby_lib/blob/08550ca75f3dad2874f9c7e7c7d1b117c0670009/lib/appium_lib/driver.rb#L586)
|
|
689
689
|
|
|
690
690
|
> def x
|
|
691
691
|
|
|
@@ -698,7 +698,7 @@ __Returns:__
|
|
|
698
698
|
|
|
699
699
|
--
|
|
700
700
|
|
|
701
|
-
##### [username](https://github.com/appium/ruby_lib/blob/
|
|
701
|
+
##### [username](https://github.com/appium/ruby_lib/blob/08550ca75f3dad2874f9c7e7c7d1b117c0670009/lib/appium_lib/sauce_labs.rb#L4)
|
|
702
702
|
|
|
703
703
|
> def username
|
|
704
704
|
|
|
@@ -706,7 +706,7 @@ Username for use on Sauce Labs. Set `false` to disable Sauce, even when SAUCE_US
|
|
|
706
706
|
|
|
707
707
|
--
|
|
708
708
|
|
|
709
|
-
##### [access_key](https://github.com/appium/ruby_lib/blob/
|
|
709
|
+
##### [access_key](https://github.com/appium/ruby_lib/blob/08550ca75f3dad2874f9c7e7c7d1b117c0670009/lib/appium_lib/sauce_labs.rb#L6)
|
|
710
710
|
|
|
711
711
|
> def access_key
|
|
712
712
|
|
|
@@ -714,7 +714,7 @@ Access Key for use on Sauce Labs. Set `false` to disable Sauce, even when SAUCE_
|
|
|
714
714
|
|
|
715
715
|
--
|
|
716
716
|
|
|
717
|
-
##### [endpoint](https://github.com/appium/ruby_lib/blob/
|
|
717
|
+
##### [endpoint](https://github.com/appium/ruby_lib/blob/08550ca75f3dad2874f9c7e7c7d1b117c0670009/lib/appium_lib/sauce_labs.rb#L8)
|
|
718
718
|
|
|
719
719
|
> def endpoint
|
|
720
720
|
|
|
@@ -722,7 +722,7 @@ Override the Sauce Appium endpoint to allow e.g. TestObject tests. Default is 'o
|
|
|
722
722
|
|
|
723
723
|
--
|
|
724
724
|
|
|
725
|
-
##### [initialize](https://github.com/appium/ruby_lib/blob/
|
|
725
|
+
##### [initialize](https://github.com/appium/ruby_lib/blob/08550ca75f3dad2874f9c7e7c7d1b117c0670009/lib/appium_lib/sauce_labs.rb#L33)
|
|
726
726
|
|
|
727
727
|
> def initialize(appium_lib_opts)
|
|
728
728
|
|
|
@@ -738,7 +738,7 @@ __Returns:__
|
|
|
738
738
|
|
|
739
739
|
--
|
|
740
740
|
|
|
741
|
-
##### [sauce_server_url?](https://github.com/appium/ruby_lib/blob/
|
|
741
|
+
##### [sauce_server_url?](https://github.com/appium/ruby_lib/blob/08550ca75f3dad2874f9c7e7c7d1b117c0670009/lib/appium_lib/sauce_labs.rb#L53)
|
|
742
742
|
|
|
743
743
|
> def sauce_server_url?
|
|
744
744
|
|
|
@@ -750,7 +750,7 @@ __Returns:__
|
|
|
750
750
|
|
|
751
751
|
--
|
|
752
752
|
|
|
753
|
-
##### [server_url](https://github.com/appium/ruby_lib/blob/
|
|
753
|
+
##### [server_url](https://github.com/appium/ruby_lib/blob/08550ca75f3dad2874f9c7e7c7d1b117c0670009/lib/appium_lib/sauce_labs.rb#L66)
|
|
754
754
|
|
|
755
755
|
> def server_url
|
|
756
756
|
|
|
@@ -762,7 +762,7 @@ __Returns:__
|
|
|
762
762
|
|
|
763
763
|
--
|
|
764
764
|
|
|
765
|
-
##### [get_log](https://github.com/appium/ruby_lib/blob/
|
|
765
|
+
##### [get_log](https://github.com/appium/ruby_lib/blob/08550ca75f3dad2874f9c7e7c7d1b117c0670009/lib/appium_lib/common/log.rb#L11)
|
|
766
766
|
|
|
767
767
|
> def get_log(type)
|
|
768
768
|
|
|
@@ -778,7 +778,7 @@ __Returns:__
|
|
|
778
778
|
|
|
779
779
|
--
|
|
780
780
|
|
|
781
|
-
##### [get_available_log_types](https://github.com/appium/ruby_lib/blob/
|
|
781
|
+
##### [get_available_log_types](https://github.com/appium/ruby_lib/blob/08550ca75f3dad2874f9c7e7c7d1b117c0670009/lib/appium_lib/common/log.rb#L23)
|
|
782
782
|
|
|
783
783
|
> def get_available_log_types
|
|
784
784
|
|
|
@@ -790,7 +790,7 @@ __Returns:__
|
|
|
790
790
|
|
|
791
791
|
--
|
|
792
792
|
|
|
793
|
-
##### [initialize](https://github.com/appium/ruby_lib/blob/
|
|
793
|
+
##### [initialize](https://github.com/appium/ruby_lib/blob/08550ca75f3dad2874f9c7e7c7d1b117c0670009/lib/appium_lib/common/wait.rb#L6)
|
|
794
794
|
|
|
795
795
|
> def initialize(opts = {})
|
|
796
796
|
|
|
@@ -802,7 +802,7 @@ __Returns:__
|
|
|
802
802
|
|
|
803
803
|
--
|
|
804
804
|
|
|
805
|
-
##### [wait_true](https://github.com/appium/ruby_lib/blob/
|
|
805
|
+
##### [wait_true](https://github.com/appium/ruby_lib/blob/08550ca75f3dad2874f9c7e7c7d1b117c0670009/lib/appium_lib/common/wait.rb#L26)
|
|
806
806
|
|
|
807
807
|
> def wait_true(opts = {})
|
|
808
808
|
|
|
@@ -822,7 +822,7 @@ __Parameters:__
|
|
|
822
822
|
|
|
823
823
|
--
|
|
824
824
|
|
|
825
|
-
##### [wait](https://github.com/appium/ruby_lib/blob/
|
|
825
|
+
##### [wait](https://github.com/appium/ruby_lib/blob/08550ca75f3dad2874f9c7e7c7d1b117c0670009/lib/appium_lib/common/wait.rb#L43)
|
|
826
826
|
|
|
827
827
|
> def wait(opts = {})
|
|
828
828
|
|
|
@@ -840,7 +840,15 @@ __Parameters:__
|
|
|
840
840
|
|
|
841
841
|
--
|
|
842
842
|
|
|
843
|
-
##### [
|
|
843
|
+
##### [add_touch_actions](https://github.com/appium/ruby_lib/blob/08550ca75f3dad2874f9c7e7c7d1b117c0670009/lib/appium_lib/common/device.rb#L12)
|
|
844
|
+
|
|
845
|
+
> def add_touch_actions
|
|
846
|
+
|
|
847
|
+
|
|
848
|
+
|
|
849
|
+
--
|
|
850
|
+
|
|
851
|
+
##### [ignore](https://github.com/appium/ruby_lib/blob/08550ca75f3dad2874f9c7e7c7d1b117c0670009/lib/appium_lib/common/helper.rb#L16)
|
|
844
852
|
|
|
845
853
|
> def ignore
|
|
846
854
|
|
|
@@ -848,7 +856,7 @@ Return yield and ignore any exceptions.
|
|
|
848
856
|
|
|
849
857
|
--
|
|
850
858
|
|
|
851
|
-
##### [back](https://github.com/appium/ruby_lib/blob/
|
|
859
|
+
##### [back](https://github.com/appium/ruby_lib/blob/08550ca75f3dad2874f9c7e7c7d1b117c0670009/lib/appium_lib/common/helper.rb#L23)
|
|
852
860
|
|
|
853
861
|
> def back
|
|
854
862
|
|
|
@@ -860,7 +868,7 @@ __Returns:__
|
|
|
860
868
|
|
|
861
869
|
--
|
|
862
870
|
|
|
863
|
-
##### [session_id](https://github.com/appium/ruby_lib/blob/
|
|
871
|
+
##### [session_id](https://github.com/appium/ruby_lib/blob/08550ca75f3dad2874f9c7e7c7d1b117c0670009/lib/appium_lib/common/helper.rb#L34)
|
|
864
872
|
|
|
865
873
|
> def session_id
|
|
866
874
|
|
|
@@ -872,7 +880,7 @@ __Returns:__
|
|
|
872
880
|
|
|
873
881
|
--
|
|
874
882
|
|
|
875
|
-
##### [xpath](https://github.com/appium/ruby_lib/blob/
|
|
883
|
+
##### [xpath](https://github.com/appium/ruby_lib/blob/08550ca75f3dad2874f9c7e7c7d1b117c0670009/lib/appium_lib/common/helper.rb#L42)
|
|
876
884
|
|
|
877
885
|
> def xpath(xpath_str)
|
|
878
886
|
|
|
@@ -888,7 +896,7 @@ __Returns:__
|
|
|
888
896
|
|
|
889
897
|
--
|
|
890
898
|
|
|
891
|
-
##### [xpaths](https://github.com/appium/ruby_lib/blob/
|
|
899
|
+
##### [xpaths](https://github.com/appium/ruby_lib/blob/08550ca75f3dad2874f9c7e7c7d1b117c0670009/lib/appium_lib/common/helper.rb#L50)
|
|
892
900
|
|
|
893
901
|
> def xpaths(xpath_str)
|
|
894
902
|
|
|
@@ -904,7 +912,7 @@ __Returns:__
|
|
|
904
912
|
|
|
905
913
|
--
|
|
906
914
|
|
|
907
|
-
##### [result](https://github.com/appium/ruby_lib/blob/
|
|
915
|
+
##### [result](https://github.com/appium/ruby_lib/blob/08550ca75f3dad2874f9c7e7c7d1b117c0670009/lib/appium_lib/common/helper.rb#L61)
|
|
908
916
|
|
|
909
917
|
> def result
|
|
910
918
|
|
|
@@ -912,7 +920,7 @@ Returns the value of attribute result
|
|
|
912
920
|
|
|
913
921
|
--
|
|
914
922
|
|
|
915
|
-
##### [initialize](https://github.com/appium/ruby_lib/blob/
|
|
923
|
+
##### [initialize](https://github.com/appium/ruby_lib/blob/08550ca75f3dad2874f9c7e7c7d1b117c0670009/lib/appium_lib/common/helper.rb#L63)
|
|
916
924
|
|
|
917
925
|
> def initialize
|
|
918
926
|
|
|
@@ -924,7 +932,7 @@ __Returns:__
|
|
|
924
932
|
|
|
925
933
|
--
|
|
926
934
|
|
|
927
|
-
##### [reset](https://github.com/appium/ruby_lib/blob/
|
|
935
|
+
##### [reset](https://github.com/appium/ruby_lib/blob/08550ca75f3dad2874f9c7e7c7d1b117c0670009/lib/appium_lib/common/helper.rb#L67)
|
|
928
936
|
|
|
929
937
|
> def reset
|
|
930
938
|
|
|
@@ -932,7 +940,7 @@ __Returns:__
|
|
|
932
940
|
|
|
933
941
|
--
|
|
934
942
|
|
|
935
|
-
##### [start_element](https://github.com/appium/ruby_lib/blob/
|
|
943
|
+
##### [start_element](https://github.com/appium/ruby_lib/blob/08550ca75f3dad2874f9c7e7c7d1b117c0670009/lib/appium_lib/common/helper.rb#L72)
|
|
936
944
|
|
|
937
945
|
> def start_element(name, attrs = [], driver = $driver)
|
|
938
946
|
|
|
@@ -940,7 +948,7 @@ http://nokogiri.org/Nokogiri/XML/SAX/Document.html
|
|
|
940
948
|
|
|
941
949
|
--
|
|
942
950
|
|
|
943
|
-
##### [formatted_result](https://github.com/appium/ruby_lib/blob/
|
|
951
|
+
##### [formatted_result](https://github.com/appium/ruby_lib/blob/08550ca75f3dad2874f9c7e7c7d1b117c0670009/lib/appium_lib/common/helper.rb#L78)
|
|
944
952
|
|
|
945
953
|
> def formatted_result
|
|
946
954
|
|
|
@@ -948,7 +956,7 @@ http://nokogiri.org/Nokogiri/XML/SAX/Document.html
|
|
|
948
956
|
|
|
949
957
|
--
|
|
950
958
|
|
|
951
|
-
##### [get_page_class](https://github.com/appium/ruby_lib/blob/
|
|
959
|
+
##### [get_page_class](https://github.com/appium/ruby_lib/blob/08550ca75f3dad2874f9c7e7c7d1b117c0670009/lib/appium_lib/common/helper.rb#L97)
|
|
952
960
|
|
|
953
961
|
> def get_page_class
|
|
954
962
|
|
|
@@ -960,7 +968,7 @@ __Returns:__
|
|
|
960
968
|
|
|
961
969
|
--
|
|
962
970
|
|
|
963
|
-
##### [page_class](https://github.com/appium/ruby_lib/blob/
|
|
971
|
+
##### [page_class](https://github.com/appium/ruby_lib/blob/08550ca75f3dad2874f9c7e7c7d1b117c0670009/lib/appium_lib/common/helper.rb#L122)
|
|
964
972
|
|
|
965
973
|
> def page_class
|
|
966
974
|
|
|
@@ -973,7 +981,32 @@ __Returns:__
|
|
|
973
981
|
|
|
974
982
|
--
|
|
975
983
|
|
|
976
|
-
##### [
|
|
984
|
+
##### [source](https://github.com/appium/ruby_lib/blob/08550ca75f3dad2874f9c7e7c7d1b117c0670009/lib/appium_lib/common/helper.rb#L129)
|
|
985
|
+
|
|
986
|
+
> def source
|
|
987
|
+
|
|
988
|
+
Prints xml of the current page
|
|
989
|
+
|
|
990
|
+
__Returns:__
|
|
991
|
+
|
|
992
|
+
[void]
|
|
993
|
+
|
|
994
|
+
--
|
|
995
|
+
|
|
996
|
+
##### [get_source](https://github.com/appium/ruby_lib/blob/08550ca75f3dad2874f9c7e7c7d1b117c0670009/lib/appium_lib/common/helper.rb#L136)
|
|
997
|
+
|
|
998
|
+
> def get_source
|
|
999
|
+
|
|
1000
|
+
Returns XML string for the current page
|
|
1001
|
+
Same as driver.page_source
|
|
1002
|
+
|
|
1003
|
+
__Returns:__
|
|
1004
|
+
|
|
1005
|
+
[String]
|
|
1006
|
+
|
|
1007
|
+
--
|
|
1008
|
+
|
|
1009
|
+
##### [px_to_window_rel](https://github.com/appium/ruby_lib/blob/08550ca75f3dad2874f9c7e7c7d1b117c0670009/lib/appium_lib/common/helper.rb#L146)
|
|
977
1010
|
|
|
978
1011
|
> def px_to_window_rel(opts = {}, driver = $driver)
|
|
979
1012
|
|
|
@@ -981,7 +1014,7 @@ Converts pixel values to window relative values
|
|
|
981
1014
|
|
|
982
1015
|
--
|
|
983
1016
|
|
|
984
|
-
##### [xml_keys](https://github.com/appium/ruby_lib/blob/
|
|
1017
|
+
##### [xml_keys](https://github.com/appium/ruby_lib/blob/08550ca75f3dad2874f9c7e7c7d1b117c0670009/lib/appium_lib/common/helper.rb#L165)
|
|
985
1018
|
|
|
986
1019
|
> def xml_keys(target)
|
|
987
1020
|
|
|
@@ -997,7 +1030,7 @@ __Returns:__
|
|
|
997
1030
|
|
|
998
1031
|
--
|
|
999
1032
|
|
|
1000
|
-
##### [xml_values](https://github.com/appium/ruby_lib/blob/
|
|
1033
|
+
##### [xml_values](https://github.com/appium/ruby_lib/blob/08550ca75f3dad2874f9c7e7c7d1b117c0670009/lib/appium_lib/common/helper.rb#L173)
|
|
1001
1034
|
|
|
1002
1035
|
> def xml_values(target)
|
|
1003
1036
|
|
|
@@ -1013,7 +1046,7 @@ __Returns:__
|
|
|
1013
1046
|
|
|
1014
1047
|
--
|
|
1015
1048
|
|
|
1016
|
-
##### [resolve_id](https://github.com/appium/ruby_lib/blob/
|
|
1049
|
+
##### [resolve_id](https://github.com/appium/ruby_lib/blob/08550ca75f3dad2874f9c7e7c7d1b117c0670009/lib/appium_lib/common/helper.rb#L181)
|
|
1017
1050
|
|
|
1018
1051
|
> def resolve_id(id)
|
|
1019
1052
|
|
|
@@ -1029,7 +1062,7 @@ __Returns:__
|
|
|
1029
1062
|
|
|
1030
1063
|
--
|
|
1031
1064
|
|
|
1032
|
-
##### [filter](https://github.com/appium/ruby_lib/blob/
|
|
1065
|
+
##### [filter](https://github.com/appium/ruby_lib/blob/08550ca75f3dad2874f9c7e7c7d1b117c0670009/lib/appium_lib/common/helper.rb#L188)
|
|
1033
1066
|
|
|
1034
1067
|
> def filter
|
|
1035
1068
|
|
|
@@ -1037,7 +1070,7 @@ Returns the value of attribute filter
|
|
|
1037
1070
|
|
|
1038
1071
|
--
|
|
1039
1072
|
|
|
1040
|
-
##### [filter=](https://github.com/appium/ruby_lib/blob/
|
|
1073
|
+
##### [filter=](https://github.com/appium/ruby_lib/blob/08550ca75f3dad2874f9c7e7c7d1b117c0670009/lib/appium_lib/common/helper.rb#L191)
|
|
1041
1074
|
|
|
1042
1075
|
> def filter=(value)
|
|
1043
1076
|
|
|
@@ -1045,7 +1078,7 @@ convert to string to support symbols
|
|
|
1045
1078
|
|
|
1046
1079
|
--
|
|
1047
1080
|
|
|
1048
|
-
##### [initialize](https://github.com/appium/ruby_lib/blob/
|
|
1081
|
+
##### [initialize](https://github.com/appium/ruby_lib/blob/08550ca75f3dad2874f9c7e7c7d1b117c0670009/lib/appium_lib/common/helper.rb#L197)
|
|
1049
1082
|
|
|
1050
1083
|
> def initialize
|
|
1051
1084
|
|
|
@@ -1057,7 +1090,7 @@ __Returns:__
|
|
|
1057
1090
|
|
|
1058
1091
|
--
|
|
1059
1092
|
|
|
1060
|
-
##### [reset](https://github.com/appium/ruby_lib/blob/
|
|
1093
|
+
##### [reset](https://github.com/appium/ruby_lib/blob/08550ca75f3dad2874f9c7e7c7d1b117c0670009/lib/appium_lib/common/helper.rb#L202)
|
|
1061
1094
|
|
|
1062
1095
|
> def reset
|
|
1063
1096
|
|
|
@@ -1065,7 +1098,7 @@ __Returns:__
|
|
|
1065
1098
|
|
|
1066
1099
|
--
|
|
1067
1100
|
|
|
1068
|
-
##### [result](https://github.com/appium/ruby_lib/blob/
|
|
1101
|
+
##### [result](https://github.com/appium/ruby_lib/blob/08550ca75f3dad2874f9c7e7c7d1b117c0670009/lib/appium_lib/common/helper.rb#L208)
|
|
1069
1102
|
|
|
1070
1103
|
> def result
|
|
1071
1104
|
|
|
@@ -1073,7 +1106,7 @@ __Returns:__
|
|
|
1073
1106
|
|
|
1074
1107
|
--
|
|
1075
1108
|
|
|
1076
|
-
##### [start_element](https://github.com/appium/ruby_lib/blob/
|
|
1109
|
+
##### [start_element](https://github.com/appium/ruby_lib/blob/08550ca75f3dad2874f9c7e7c7d1b117c0670009/lib/appium_lib/common/helper.rb#L224)
|
|
1077
1110
|
|
|
1078
1111
|
> def start_element(name, attrs = [])
|
|
1079
1112
|
|
|
@@ -1081,7 +1114,7 @@ __Returns:__
|
|
|
1081
1114
|
|
|
1082
1115
|
--
|
|
1083
1116
|
|
|
1084
|
-
##### [end_element](https://github.com/appium/ruby_lib/blob/
|
|
1117
|
+
##### [end_element](https://github.com/appium/ruby_lib/blob/08550ca75f3dad2874f9c7e7c7d1b117c0670009/lib/appium_lib/common/helper.rb#L233)
|
|
1085
1118
|
|
|
1086
1119
|
> def end_element(name)
|
|
1087
1120
|
|
|
@@ -1089,7 +1122,7 @@ __Returns:__
|
|
|
1089
1122
|
|
|
1090
1123
|
--
|
|
1091
1124
|
|
|
1092
|
-
##### [characters](https://github.com/appium/ruby_lib/blob/
|
|
1125
|
+
##### [characters](https://github.com/appium/ruby_lib/blob/08550ca75f3dad2874f9c7e7c7d1b117c0670009/lib/appium_lib/common/helper.rb#L239)
|
|
1093
1126
|
|
|
1094
1127
|
> def characters(chars)
|
|
1095
1128
|
|
|
@@ -1097,7 +1130,7 @@ __Returns:__
|
|
|
1097
1130
|
|
|
1098
1131
|
--
|
|
1099
1132
|
|
|
1100
|
-
##### [DEFAULT_HEADERS](https://github.com/appium/ruby_lib/blob/
|
|
1133
|
+
##### [DEFAULT_HEADERS](https://github.com/appium/ruby_lib/blob/08550ca75f3dad2874f9c7e7c7d1b117c0670009/lib/appium_lib/common/http_client.rb#L8)
|
|
1101
1134
|
|
|
1102
1135
|
> DEFAULT_HEADERS = { 'Accept' => CONTENT_TYPE, 'User-Agent' => "appium/ruby_lib/#{::Appium::VERSION}" }.freeze
|
|
1103
1136
|
|
|
@@ -1105,7 +1138,7 @@ Default HTTP client inherit Appium::Core::Base::Http::Default, but has different
|
|
|
1105
1138
|
|
|
1106
1139
|
--
|
|
1107
1140
|
|
|
1108
|
-
##### [pinch](https://github.com/appium/ruby_lib/blob/
|
|
1141
|
+
##### [pinch](https://github.com/appium/ruby_lib/blob/08550ca75f3dad2874f9c7e7c7d1b117c0670009/lib/appium_lib/common/multi_touch.rb#L51)
|
|
1109
1142
|
|
|
1110
1143
|
> def pinch(percentage = 25, auto_perform = true, driver = $driver)
|
|
1111
1144
|
|
|
@@ -1125,7 +1158,7 @@ __Parameters:__
|
|
|
1125
1158
|
|
|
1126
1159
|
--
|
|
1127
1160
|
|
|
1128
|
-
##### [zoom](https://github.com/appium/ruby_lib/blob/
|
|
1161
|
+
##### [zoom](https://github.com/appium/ruby_lib/blob/08550ca75f3dad2874f9c7e7c7d1b117c0670009/lib/appium_lib/common/multi_touch.rb#L95)
|
|
1129
1162
|
|
|
1130
1163
|
> def zoom(percentage = 200, auto_perform = true, driver = $driver)
|
|
1131
1164
|
|
|
@@ -1145,19 +1178,11 @@ __Parameters:__
|
|
|
1145
1178
|
|
|
1146
1179
|
--
|
|
1147
1180
|
|
|
1148
|
-
##### [
|
|
1149
|
-
|
|
1150
|
-
> def driver
|
|
1151
|
-
|
|
1152
|
-
self
|
|
1153
|
-
|
|
1154
|
-
--
|
|
1155
|
-
|
|
1156
|
-
##### [initialize](https://github.com/appium/ruby_lib/blob/07ebd5767f3e9fafdfb597ec186b0e7f5384a839/lib/appium_lib/common/multi_touch.rb#L218)
|
|
1181
|
+
##### [initialize](https://github.com/appium/ruby_lib/blob/08550ca75f3dad2874f9c7e7c7d1b117c0670009/lib/appium_lib/common/multi_touch.rb#L216)
|
|
1157
1182
|
|
|
1158
1183
|
> def initialize(driver = $driver)
|
|
1159
1184
|
|
|
1160
|
-
|
|
1185
|
+
self
|
|
1161
1186
|
|
|
1162
1187
|
__Returns:__
|
|
1163
1188
|
|
|
@@ -1165,27 +1190,7 @@ __Returns:__
|
|
|
1165
1190
|
|
|
1166
1191
|
--
|
|
1167
1192
|
|
|
1168
|
-
##### [
|
|
1169
|
-
|
|
1170
|
-
> def add(chain)
|
|
1171
|
-
|
|
1172
|
-
Add a touch_action to be performed
|
|
1173
|
-
|
|
1174
|
-
__Parameters:__
|
|
1175
|
-
|
|
1176
|
-
[TouchAction] chain - The action to add to the chain
|
|
1177
|
-
|
|
1178
|
-
--
|
|
1179
|
-
|
|
1180
|
-
##### [perform](https://github.com/appium/ruby_lib/blob/07ebd5767f3e9fafdfb597ec186b0e7f5384a839/lib/appium_lib/common/multi_touch.rb#L230)
|
|
1181
|
-
|
|
1182
|
-
> def perform
|
|
1183
|
-
|
|
1184
|
-
Ask Appium to perform the actions
|
|
1185
|
-
|
|
1186
|
-
--
|
|
1187
|
-
|
|
1188
|
-
##### [COMPLEX_ACTIONS](https://github.com/appium/ruby_lib/blob/07ebd5767f3e9fafdfb597ec186b0e7f5384a839/lib/appium_lib/common/touch_actions.rb#L33)
|
|
1193
|
+
##### [COMPLEX_ACTIONS](https://github.com/appium/ruby_lib/blob/08550ca75f3dad2874f9c7e7c7d1b117c0670009/lib/appium_lib/common/touch_actions.rb#L33)
|
|
1189
1194
|
|
|
1190
1195
|
> COMPLEX_ACTIONS = ::Appium::Core::TouchAction::COMPLEX_ACTIONS
|
|
1191
1196
|
|
|
@@ -1193,7 +1198,7 @@ Ask Appium to perform the actions
|
|
|
1193
1198
|
|
|
1194
1199
|
--
|
|
1195
1200
|
|
|
1196
|
-
##### [initialize](https://github.com/appium/ruby_lib/blob/
|
|
1201
|
+
##### [initialize](https://github.com/appium/ruby_lib/blob/08550ca75f3dad2874f9c7e7c7d1b117c0670009/lib/appium_lib/common/touch_actions.rb#L47)
|
|
1197
1202
|
|
|
1198
1203
|
> def initialize(driver = $driver)
|
|
1199
1204
|
|
|
@@ -1205,7 +1210,7 @@ __Returns:__
|
|
|
1205
1210
|
|
|
1206
1211
|
--
|
|
1207
1212
|
|
|
1208
|
-
##### [swipe](https://github.com/appium/ruby_lib/blob/
|
|
1213
|
+
##### [swipe](https://github.com/appium/ruby_lib/blob/08550ca75f3dad2874f9c7e7c7d1b117c0670009/lib/appium_lib/common/touch_actions.rb#L51)
|
|
1209
1214
|
|
|
1210
1215
|
> def swipe(opts, ele = nil)
|
|
1211
1216
|
|
|
@@ -1213,7 +1218,7 @@ __Returns:__
|
|
|
1213
1218
|
|
|
1214
1219
|
--
|
|
1215
1220
|
|
|
1216
|
-
##### [for](https://github.com/appium/ruby_lib/blob/
|
|
1221
|
+
##### [for](https://github.com/appium/ruby_lib/blob/08550ca75f3dad2874f9c7e7c7d1b117c0670009/lib/appium_lib/ios/ios.rb#L15) ios
|
|
1217
1222
|
|
|
1218
1223
|
> def self.for(target)
|
|
1219
1224
|
|
|
@@ -1221,7 +1226,7 @@ __Returns:__
|
|
|
1221
1226
|
|
|
1222
1227
|
--
|
|
1223
1228
|
|
|
1224
|
-
##### [UIAStaticText](https://github.com/appium/ruby_lib/blob/
|
|
1229
|
+
##### [UIAStaticText](https://github.com/appium/ruby_lib/blob/08550ca75f3dad2874f9c7e7c7d1b117c0670009/lib/appium_lib/ios/element/text.rb#L4) ios
|
|
1225
1230
|
|
|
1226
1231
|
> UIAStaticText = 'UIAStaticText'.freeze
|
|
1227
1232
|
|
|
@@ -1229,7 +1234,7 @@ __Returns:__
|
|
|
1229
1234
|
|
|
1230
1235
|
--
|
|
1231
1236
|
|
|
1232
|
-
##### [XCUIElementTypeStaticText](https://github.com/appium/ruby_lib/blob/
|
|
1237
|
+
##### [XCUIElementTypeStaticText](https://github.com/appium/ruby_lib/blob/08550ca75f3dad2874f9c7e7c7d1b117c0670009/lib/appium_lib/ios/element/text.rb#L5) ios
|
|
1233
1238
|
|
|
1234
1239
|
> XCUIElementTypeStaticText = 'XCUIElementTypeStaticText'.freeze
|
|
1235
1240
|
|
|
@@ -1237,7 +1242,7 @@ __Returns:__
|
|
|
1237
1242
|
|
|
1238
1243
|
--
|
|
1239
1244
|
|
|
1240
|
-
##### [static_text_class](https://github.com/appium/ruby_lib/blob/
|
|
1245
|
+
##### [static_text_class](https://github.com/appium/ruby_lib/blob/08550ca75f3dad2874f9c7e7c7d1b117c0670009/lib/appium_lib/ios/element/text.rb#L8) ios
|
|
1241
1246
|
|
|
1242
1247
|
> def static_text_class
|
|
1243
1248
|
|
|
@@ -1249,7 +1254,7 @@ __Returns:__
|
|
|
1249
1254
|
|
|
1250
1255
|
--
|
|
1251
1256
|
|
|
1252
|
-
##### [text](https://github.com/appium/ruby_lib/blob/
|
|
1257
|
+
##### [text](https://github.com/appium/ruby_lib/blob/08550ca75f3dad2874f9c7e7c7d1b117c0670009/lib/appium_lib/ios/element/text.rb#L16) ios
|
|
1253
1258
|
|
|
1254
1259
|
> def text(value)
|
|
1255
1260
|
|
|
@@ -1266,7 +1271,7 @@ __Returns:__
|
|
|
1266
1271
|
|
|
1267
1272
|
--
|
|
1268
1273
|
|
|
1269
|
-
##### [texts](https://github.com/appium/ruby_lib/blob/
|
|
1274
|
+
##### [texts](https://github.com/appium/ruby_lib/blob/08550ca75f3dad2874f9c7e7c7d1b117c0670009/lib/appium_lib/ios/element/text.rb#L25) ios
|
|
1270
1275
|
|
|
1271
1276
|
> def texts(value = false)
|
|
1272
1277
|
|
|
@@ -1283,7 +1288,7 @@ __Returns:__
|
|
|
1283
1288
|
|
|
1284
1289
|
--
|
|
1285
1290
|
|
|
1286
|
-
##### [first_text](https://github.com/appium/ruby_lib/blob/
|
|
1291
|
+
##### [first_text](https://github.com/appium/ruby_lib/blob/08550ca75f3dad2874f9c7e7c7d1b117c0670009/lib/appium_lib/ios/element/text.rb#L32) ios
|
|
1287
1292
|
|
|
1288
1293
|
> def first_text
|
|
1289
1294
|
|
|
@@ -1295,7 +1300,7 @@ __Returns:__
|
|
|
1295
1300
|
|
|
1296
1301
|
--
|
|
1297
1302
|
|
|
1298
|
-
##### [last_text](https://github.com/appium/ruby_lib/blob/
|
|
1303
|
+
##### [last_text](https://github.com/appium/ruby_lib/blob/08550ca75f3dad2874f9c7e7c7d1b117c0670009/lib/appium_lib/ios/element/text.rb#L38) ios
|
|
1299
1304
|
|
|
1300
1305
|
> def last_text
|
|
1301
1306
|
|
|
@@ -1307,7 +1312,7 @@ __Returns:__
|
|
|
1307
1312
|
|
|
1308
1313
|
--
|
|
1309
1314
|
|
|
1310
|
-
##### [text_exact](https://github.com/appium/ruby_lib/blob/
|
|
1315
|
+
##### [text_exact](https://github.com/appium/ruby_lib/blob/08550ca75f3dad2874f9c7e7c7d1b117c0670009/lib/appium_lib/ios/element/text.rb#L45) ios
|
|
1311
1316
|
|
|
1312
1317
|
> def text_exact(value)
|
|
1313
1318
|
|
|
@@ -1323,7 +1328,7 @@ __Returns:__
|
|
|
1323
1328
|
|
|
1324
1329
|
--
|
|
1325
1330
|
|
|
1326
|
-
##### [texts_exact](https://github.com/appium/ruby_lib/blob/
|
|
1331
|
+
##### [texts_exact](https://github.com/appium/ruby_lib/blob/08550ca75f3dad2874f9c7e7c7d1b117c0670009/lib/appium_lib/ios/element/text.rb#L52) ios
|
|
1327
1332
|
|
|
1328
1333
|
> def texts_exact(value)
|
|
1329
1334
|
|
|
@@ -1339,7 +1344,7 @@ __Returns:__
|
|
|
1339
1344
|
|
|
1340
1345
|
--
|
|
1341
1346
|
|
|
1342
|
-
##### [filter](https://github.com/appium/ruby_lib/blob/
|
|
1347
|
+
##### [filter](https://github.com/appium/ruby_lib/blob/08550ca75f3dad2874f9c7e7c7d1b117c0670009/lib/appium_lib/ios/common/helper.rb#L5) ios
|
|
1343
1348
|
|
|
1344
1349
|
> def filter
|
|
1345
1350
|
|
|
@@ -1347,7 +1352,7 @@ Returns the value of attribute filter
|
|
|
1347
1352
|
|
|
1348
1353
|
--
|
|
1349
1354
|
|
|
1350
|
-
##### [filter=](https://github.com/appium/ruby_lib/blob/
|
|
1355
|
+
##### [filter=](https://github.com/appium/ruby_lib/blob/08550ca75f3dad2874f9c7e7c7d1b117c0670009/lib/appium_lib/ios/common/helper.rb#L5) ios
|
|
1351
1356
|
|
|
1352
1357
|
> def filter=(value)
|
|
1353
1358
|
|
|
@@ -1359,7 +1364,7 @@ __Parameters:__
|
|
|
1359
1364
|
|
|
1360
1365
|
--
|
|
1361
1366
|
|
|
1362
|
-
##### [start_element](https://github.com/appium/ruby_lib/blob/
|
|
1367
|
+
##### [start_element](https://github.com/appium/ruby_lib/blob/08550ca75f3dad2874f9c7e7c7d1b117c0670009/lib/appium_lib/ios/common/helper.rb#L7) ios
|
|
1363
1368
|
|
|
1364
1369
|
> def start_element(type, attrs = [])
|
|
1365
1370
|
|
|
@@ -1367,7 +1372,7 @@ __Parameters:__
|
|
|
1367
1372
|
|
|
1368
1373
|
--
|
|
1369
1374
|
|
|
1370
|
-
##### [ios_password](https://github.com/appium/ruby_lib/blob/
|
|
1375
|
+
##### [ios_password](https://github.com/appium/ruby_lib/blob/08550ca75f3dad2874f9c7e7c7d1b117c0670009/lib/appium_lib/ios/common/helper.rb#L44) ios
|
|
1371
1376
|
|
|
1372
1377
|
> def ios_password(length = 1)
|
|
1373
1378
|
|
|
@@ -1385,7 +1390,7 @@ __Returns:__
|
|
|
1385
1390
|
|
|
1386
1391
|
--
|
|
1387
1392
|
|
|
1388
|
-
##### [page](https://github.com/appium/ruby_lib/blob/
|
|
1393
|
+
##### [page](https://github.com/appium/ruby_lib/blob/08550ca75f3dad2874f9c7e7c7d1b117c0670009/lib/appium_lib/ios/common/helper.rb#L60) ios
|
|
1389
1394
|
|
|
1390
1395
|
> def page(opts = {})
|
|
1391
1396
|
|
|
@@ -1403,7 +1408,7 @@ __Returns:__
|
|
|
1403
1408
|
|
|
1404
1409
|
--
|
|
1405
1410
|
|
|
1406
|
-
##### [source_window](https://github.com/appium/ruby_lib/blob/
|
|
1411
|
+
##### [source_window](https://github.com/appium/ruby_lib/blob/08550ca75f3dad2874f9c7e7c7d1b117c0670009/lib/appium_lib/ios/common/helper.rb#L84) ios
|
|
1407
1412
|
|
|
1408
1413
|
> def source_window(_window_number = nil)
|
|
1409
1414
|
|
|
@@ -1415,7 +1420,7 @@ __Returns:__
|
|
|
1415
1420
|
|
|
1416
1421
|
--
|
|
1417
1422
|
|
|
1418
|
-
##### [id](https://github.com/appium/ruby_lib/blob/
|
|
1423
|
+
##### [id](https://github.com/appium/ruby_lib/blob/08550ca75f3dad2874f9c7e7c7d1b117c0670009/lib/appium_lib/ios/common/helper.rb#L92) ios
|
|
1419
1424
|
|
|
1420
1425
|
> def id(id)
|
|
1421
1426
|
|
|
@@ -1431,7 +1436,7 @@ __Returns:__
|
|
|
1431
1436
|
|
|
1432
1437
|
--
|
|
1433
1438
|
|
|
1434
|
-
##### [ele_index](https://github.com/appium/ruby_lib/blob/
|
|
1439
|
+
##### [ele_index](https://github.com/appium/ruby_lib/blob/08550ca75f3dad2874f9c7e7c7d1b117c0670009/lib/appium_lib/ios/common/helper.rb#L100) ios
|
|
1435
1440
|
|
|
1436
1441
|
> def ele_index(class_name, index)
|
|
1437
1442
|
|
|
@@ -1449,7 +1454,7 @@ __Returns:__
|
|
|
1449
1454
|
|
|
1450
1455
|
--
|
|
1451
1456
|
|
|
1452
|
-
##### [find_ele_by_attr](https://github.com/appium/ruby_lib/blob/
|
|
1457
|
+
##### [find_ele_by_attr](https://github.com/appium/ruby_lib/blob/08550ca75f3dad2874f9c7e7c7d1b117c0670009/lib/appium_lib/ios/common/helper.rb#L128) ios
|
|
1453
1458
|
|
|
1454
1459
|
> def find_ele_by_attr(class_name, attr, value)
|
|
1455
1460
|
|
|
@@ -1471,7 +1476,7 @@ __Returns:__
|
|
|
1471
1476
|
|
|
1472
1477
|
--
|
|
1473
1478
|
|
|
1474
|
-
##### [find_eles_by_attr](https://github.com/appium/ruby_lib/blob/
|
|
1479
|
+
##### [find_eles_by_attr](https://github.com/appium/ruby_lib/blob/08550ca75f3dad2874f9c7e7c7d1b117c0670009/lib/appium_lib/ios/common/helper.rb#L139) ios
|
|
1475
1480
|
|
|
1476
1481
|
> def find_eles_by_attr(class_name, attr, value)
|
|
1477
1482
|
|
|
@@ -1493,7 +1498,7 @@ __Returns:__
|
|
|
1493
1498
|
|
|
1494
1499
|
--
|
|
1495
1500
|
|
|
1496
|
-
##### [find_ele_by_predicate](https://github.com/appium/ruby_lib/blob/
|
|
1501
|
+
##### [find_ele_by_predicate](https://github.com/appium/ruby_lib/blob/08550ca75f3dad2874f9c7e7c7d1b117c0670009/lib/appium_lib/ios/common/helper.rb#L152) ios
|
|
1497
1502
|
|
|
1498
1503
|
> def find_ele_by_predicate(class_name: '*', value:)
|
|
1499
1504
|
|
|
@@ -1510,7 +1515,7 @@ __Returns:__
|
|
|
1510
1515
|
|
|
1511
1516
|
--
|
|
1512
1517
|
|
|
1513
|
-
##### [find_eles_by_predicate](https://github.com/appium/ruby_lib/blob/
|
|
1518
|
+
##### [find_eles_by_predicate](https://github.com/appium/ruby_lib/blob/08550ca75f3dad2874f9c7e7c7d1b117c0670009/lib/appium_lib/ios/common/helper.rb#L163) ios
|
|
1514
1519
|
|
|
1515
1520
|
> def find_eles_by_predicate(class_name: '*', value:)
|
|
1516
1521
|
|
|
@@ -1529,7 +1534,7 @@ __Returns:__
|
|
|
1529
1534
|
|
|
1530
1535
|
--
|
|
1531
1536
|
|
|
1532
|
-
##### [find_ele_by_attr_include](https://github.com/appium/ruby_lib/blob/
|
|
1537
|
+
##### [find_ele_by_attr_include](https://github.com/appium/ruby_lib/blob/08550ca75f3dad2874f9c7e7c7d1b117c0670009/lib/appium_lib/ios/common/helper.rb#L179) ios
|
|
1533
1538
|
|
|
1534
1539
|
> def find_ele_by_attr_include(class_name, attr, value)
|
|
1535
1540
|
|
|
@@ -1550,7 +1555,7 @@ __Returns:__
|
|
|
1550
1555
|
|
|
1551
1556
|
--
|
|
1552
1557
|
|
|
1553
|
-
##### [find_eles_by_attr_include](https://github.com/appium/ruby_lib/blob/
|
|
1558
|
+
##### [find_eles_by_attr_include](https://github.com/appium/ruby_lib/blob/08550ca75f3dad2874f9c7e7c7d1b117c0670009/lib/appium_lib/ios/common/helper.rb#L189) ios
|
|
1554
1559
|
|
|
1555
1560
|
> def find_eles_by_attr_include(class_name, attr, value)
|
|
1556
1561
|
|
|
@@ -1571,7 +1576,7 @@ __Returns:__
|
|
|
1571
1576
|
|
|
1572
1577
|
--
|
|
1573
1578
|
|
|
1574
|
-
##### [find_ele_by_predicate_include](https://github.com/appium/ruby_lib/blob/
|
|
1579
|
+
##### [find_ele_by_predicate_include](https://github.com/appium/ruby_lib/blob/08550ca75f3dad2874f9c7e7c7d1b117c0670009/lib/appium_lib/ios/common/helper.rb#L197) ios
|
|
1575
1580
|
|
|
1576
1581
|
> def find_ele_by_predicate_include(class_name: '*', value:)
|
|
1577
1582
|
|
|
@@ -1588,7 +1593,7 @@ __Returns:__
|
|
|
1588
1593
|
|
|
1589
1594
|
--
|
|
1590
1595
|
|
|
1591
|
-
##### [find_eles_by_predicate_include](https://github.com/appium/ruby_lib/blob/
|
|
1596
|
+
##### [find_eles_by_predicate_include](https://github.com/appium/ruby_lib/blob/08550ca75f3dad2874f9c7e7c7d1b117c0670009/lib/appium_lib/ios/common/helper.rb#L208) ios
|
|
1592
1597
|
|
|
1593
1598
|
> def find_eles_by_predicate_include(class_name: '*', value:)
|
|
1594
1599
|
|
|
@@ -1607,7 +1612,7 @@ __Returns:__
|
|
|
1607
1612
|
|
|
1608
1613
|
--
|
|
1609
1614
|
|
|
1610
|
-
##### [first_ele](https://github.com/appium/ruby_lib/blob/
|
|
1615
|
+
##### [first_ele](https://github.com/appium/ruby_lib/blob/08550ca75f3dad2874f9c7e7c7d1b117c0670009/lib/appium_lib/ios/common/helper.rb#L221) ios
|
|
1611
1616
|
|
|
1612
1617
|
> def first_ele(class_name)
|
|
1613
1618
|
|
|
@@ -1623,7 +1628,7 @@ __Returns:__
|
|
|
1623
1628
|
|
|
1624
1629
|
--
|
|
1625
1630
|
|
|
1626
|
-
##### [last_ele](https://github.com/appium/ruby_lib/blob/
|
|
1631
|
+
##### [last_ele](https://github.com/appium/ruby_lib/blob/08550ca75f3dad2874f9c7e7c7d1b117c0670009/lib/appium_lib/ios/common/helper.rb#L228) ios
|
|
1627
1632
|
|
|
1628
1633
|
> def last_ele(class_name)
|
|
1629
1634
|
|
|
@@ -1639,7 +1644,7 @@ __Returns:__
|
|
|
1639
1644
|
|
|
1640
1645
|
--
|
|
1641
1646
|
|
|
1642
|
-
##### [tag](https://github.com/appium/ruby_lib/blob/
|
|
1647
|
+
##### [tag](https://github.com/appium/ruby_lib/blob/08550ca75f3dad2874f9c7e7c7d1b117c0670009/lib/appium_lib/ios/common/helper.rb#L236) ios
|
|
1643
1648
|
|
|
1644
1649
|
> def tag(class_name)
|
|
1645
1650
|
|
|
@@ -1655,7 +1660,7 @@ __Returns:__
|
|
|
1655
1660
|
|
|
1656
1661
|
--
|
|
1657
1662
|
|
|
1658
|
-
##### [tags](https://github.com/appium/ruby_lib/blob/
|
|
1663
|
+
##### [tags](https://github.com/appium/ruby_lib/blob/08550ca75f3dad2874f9c7e7c7d1b117c0670009/lib/appium_lib/ios/common/helper.rb#L244) ios
|
|
1659
1664
|
|
|
1660
1665
|
> def tags(class_name)
|
|
1661
1666
|
|
|
@@ -1671,7 +1676,7 @@ __Returns:__
|
|
|
1671
1676
|
|
|
1672
1677
|
--
|
|
1673
1678
|
|
|
1674
|
-
##### [tags_include](https://github.com/appium/ruby_lib/blob/
|
|
1679
|
+
##### [tags_include](https://github.com/appium/ruby_lib/blob/08550ca75f3dad2874f9c7e7c7d1b117c0670009/lib/appium_lib/ios/common/helper.rb#L255) ios
|
|
1675
1680
|
|
|
1676
1681
|
> def tags_include(class_names:, value: nil)
|
|
1677
1682
|
|
|
@@ -1691,7 +1696,7 @@ __Returns:__
|
|
|
1691
1696
|
|
|
1692
1697
|
--
|
|
1693
1698
|
|
|
1694
|
-
##### [tags_exact](https://github.com/appium/ruby_lib/blob/
|
|
1699
|
+
##### [tags_exact](https://github.com/appium/ruby_lib/blob/08550ca75f3dad2874f9c7e7c7d1b117c0670009/lib/appium_lib/ios/common/helper.rb#L270) ios
|
|
1695
1700
|
|
|
1696
1701
|
> def tags_exact(class_names:, value: nil)
|
|
1697
1702
|
|
|
@@ -1711,7 +1716,7 @@ __Returns:__
|
|
|
1711
1716
|
|
|
1712
1717
|
--
|
|
1713
1718
|
|
|
1714
|
-
##### [ele_by_json_visible_contains](https://github.com/appium/ruby_lib/blob/
|
|
1719
|
+
##### [ele_by_json_visible_contains](https://github.com/appium/ruby_lib/blob/08550ca75f3dad2874f9c7e7c7d1b117c0670009/lib/appium_lib/ios/common/helper.rb#L307) ios
|
|
1715
1720
|
|
|
1716
1721
|
> def ele_by_json_visible_contains(element, value)
|
|
1717
1722
|
|
|
@@ -1730,7 +1735,7 @@ __Returns:__
|
|
|
1730
1735
|
|
|
1731
1736
|
--
|
|
1732
1737
|
|
|
1733
|
-
##### [eles_by_json_visible_contains](https://github.com/appium/ruby_lib/blob/
|
|
1738
|
+
##### [eles_by_json_visible_contains](https://github.com/appium/ruby_lib/blob/08550ca75f3dad2874f9c7e7c7d1b117c0670009/lib/appium_lib/ios/common/helper.rb#L316) ios
|
|
1734
1739
|
|
|
1735
1740
|
> def eles_by_json_visible_contains(element, value)
|
|
1736
1741
|
|
|
@@ -1749,7 +1754,7 @@ __Returns:__
|
|
|
1749
1754
|
|
|
1750
1755
|
--
|
|
1751
1756
|
|
|
1752
|
-
##### [ele_by_json_visible_exact](https://github.com/appium/ruby_lib/blob/
|
|
1757
|
+
##### [ele_by_json_visible_exact](https://github.com/appium/ruby_lib/blob/08550ca75f3dad2874f9c7e7c7d1b117c0670009/lib/appium_lib/ios/common/helper.rb#L346) ios
|
|
1753
1758
|
|
|
1754
1759
|
> def ele_by_json_visible_exact(element, value)
|
|
1755
1760
|
|
|
@@ -1768,7 +1773,7 @@ __Returns:__
|
|
|
1768
1773
|
|
|
1769
1774
|
--
|
|
1770
1775
|
|
|
1771
|
-
##### [eles_by_json_visible_exact](https://github.com/appium/ruby_lib/blob/
|
|
1776
|
+
##### [eles_by_json_visible_exact](https://github.com/appium/ruby_lib/blob/08550ca75f3dad2874f9c7e7c7d1b117c0670009/lib/appium_lib/ios/common/helper.rb#L355) ios
|
|
1772
1777
|
|
|
1773
1778
|
> def eles_by_json_visible_exact(element, value)
|
|
1774
1779
|
|
|
@@ -1787,7 +1792,7 @@ __Returns:__
|
|
|
1787
1792
|
|
|
1788
1793
|
--
|
|
1789
1794
|
|
|
1790
|
-
##### [_all_pred](https://github.com/appium/ruby_lib/blob/
|
|
1795
|
+
##### [_all_pred](https://github.com/appium/ruby_lib/blob/08550ca75f3dad2874f9c7e7c7d1b117c0670009/lib/appium_lib/ios/common/helper.rb#L364) ios
|
|
1791
1796
|
|
|
1792
1797
|
> def _all_pred(opts)
|
|
1793
1798
|
|
|
@@ -1797,7 +1802,7 @@ visible - if true, only visible elements are returned. default true
|
|
|
1797
1802
|
|
|
1798
1803
|
--
|
|
1799
1804
|
|
|
1800
|
-
##### [ele_with_pred](https://github.com/appium/ruby_lib/blob/
|
|
1805
|
+
##### [ele_with_pred](https://github.com/appium/ruby_lib/blob/08550ca75f3dad2874f9c7e7c7d1b117c0670009/lib/appium_lib/ios/common/helper.rb#L377) ios
|
|
1801
1806
|
|
|
1802
1807
|
> def ele_with_pred(opts)
|
|
1803
1808
|
|
|
@@ -1813,7 +1818,7 @@ __Returns:__
|
|
|
1813
1818
|
|
|
1814
1819
|
--
|
|
1815
1820
|
|
|
1816
|
-
##### [eles_with_pred](https://github.com/appium/ruby_lib/blob/
|
|
1821
|
+
##### [eles_with_pred](https://github.com/appium/ruby_lib/blob/08550ca75f3dad2874f9c7e7c7d1b117c0670009/lib/appium_lib/ios/common/helper.rb#L388) ios
|
|
1817
1822
|
|
|
1818
1823
|
> def eles_with_pred(opts)
|
|
1819
1824
|
|
|
@@ -1829,19 +1834,7 @@ __Returns:__
|
|
|
1829
1834
|
|
|
1830
1835
|
--
|
|
1831
1836
|
|
|
1832
|
-
##### [
|
|
1833
|
-
|
|
1834
|
-
> def source
|
|
1835
|
-
|
|
1836
|
-
Prints xml of the current page
|
|
1837
|
-
|
|
1838
|
-
__Returns:__
|
|
1839
|
-
|
|
1840
|
-
[void]
|
|
1841
|
-
|
|
1842
|
-
--
|
|
1843
|
-
|
|
1844
|
-
##### [_validate_object](https://github.com/appium/ruby_lib/blob/07ebd5767f3e9fafdfb597ec186b0e7f5384a839/lib/appium_lib/ios/common/helper.rb#L398) ios
|
|
1837
|
+
##### [_validate_object](https://github.com/appium/ruby_lib/blob/08550ca75f3dad2874f9c7e7c7d1b117c0670009/lib/appium_lib/ios/common/helper.rb#L392) ios
|
|
1845
1838
|
|
|
1846
1839
|
> def _validate_object(*objects)
|
|
1847
1840
|
|
|
@@ -1849,7 +1842,7 @@ __Returns:__
|
|
|
1849
1842
|
|
|
1850
1843
|
--
|
|
1851
1844
|
|
|
1852
|
-
##### [_by_json](https://github.com/appium/ruby_lib/blob/
|
|
1845
|
+
##### [_by_json](https://github.com/appium/ruby_lib/blob/08550ca75f3dad2874f9c7e7c7d1b117c0670009/lib/appium_lib/ios/common/helper.rb#L441) ios
|
|
1853
1846
|
|
|
1854
1847
|
> def _by_json(opts)
|
|
1855
1848
|
|
|
@@ -1884,7 +1877,7 @@ opts = {
|
|
|
1884
1877
|
|
|
1885
1878
|
--
|
|
1886
1879
|
|
|
1887
|
-
##### [eles_by_json](https://github.com/appium/ruby_lib/blob/
|
|
1880
|
+
##### [eles_by_json](https://github.com/appium/ruby_lib/blob/08550ca75f3dad2874f9c7e7c7d1b117c0670009/lib/appium_lib/ios/common/helper.rb#L491) ios
|
|
1888
1881
|
|
|
1889
1882
|
> def eles_by_json(opts)
|
|
1890
1883
|
|
|
@@ -1903,7 +1896,7 @@ eles_by_json({
|
|
|
1903
1896
|
|
|
1904
1897
|
--
|
|
1905
1898
|
|
|
1906
|
-
##### [ele_by_json](https://github.com/appium/ruby_lib/blob/
|
|
1899
|
+
##### [ele_by_json](https://github.com/appium/ruby_lib/blob/08550ca75f3dad2874f9c7e7c7d1b117c0670009/lib/appium_lib/ios/common/helper.rb#L497) ios
|
|
1907
1900
|
|
|
1908
1901
|
> def ele_by_json(opts)
|
|
1909
1902
|
|
|
@@ -1911,20 +1904,7 @@ see eles_by_json
|
|
|
1911
1904
|
|
|
1912
1905
|
--
|
|
1913
1906
|
|
|
1914
|
-
##### [
|
|
1915
|
-
|
|
1916
|
-
> def get_source
|
|
1917
|
-
|
|
1918
|
-
Returns XML string for the current page
|
|
1919
|
-
Same as driver.page_source
|
|
1920
|
-
|
|
1921
|
-
__Returns:__
|
|
1922
|
-
|
|
1923
|
-
[String]
|
|
1924
|
-
|
|
1925
|
-
--
|
|
1926
|
-
|
|
1927
|
-
##### [alert_accept](https://github.com/appium/ruby_lib/blob/07ebd5767f3e9fafdfb597ec186b0e7f5384a839/lib/appium_lib/ios/element/alert.rb#L5) ios
|
|
1907
|
+
##### [alert_accept](https://github.com/appium/ruby_lib/blob/08550ca75f3dad2874f9c7e7c7d1b117c0670009/lib/appium_lib/ios/element/alert.rb#L5) ios
|
|
1928
1908
|
|
|
1929
1909
|
> def alert_accept
|
|
1930
1910
|
|
|
@@ -1936,7 +1916,7 @@ __Returns:__
|
|
|
1936
1916
|
|
|
1937
1917
|
--
|
|
1938
1918
|
|
|
1939
|
-
##### [alert_dismiss](https://github.com/appium/ruby_lib/blob/
|
|
1919
|
+
##### [alert_dismiss](https://github.com/appium/ruby_lib/blob/08550ca75f3dad2874f9c7e7c7d1b117c0670009/lib/appium_lib/ios/element/alert.rb#L13) ios
|
|
1940
1920
|
|
|
1941
1921
|
> def alert_dismiss
|
|
1942
1922
|
|
|
@@ -1948,7 +1928,7 @@ __Returns:__
|
|
|
1948
1928
|
|
|
1949
1929
|
--
|
|
1950
1930
|
|
|
1951
|
-
##### [UIAButton](https://github.com/appium/ruby_lib/blob/
|
|
1931
|
+
##### [UIAButton](https://github.com/appium/ruby_lib/blob/08550ca75f3dad2874f9c7e7c7d1b117c0670009/lib/appium_lib/ios/element/button.rb#L4) ios
|
|
1952
1932
|
|
|
1953
1933
|
> UIAButton = 'UIAButton'.freeze
|
|
1954
1934
|
|
|
@@ -1956,7 +1936,7 @@ __Returns:__
|
|
|
1956
1936
|
|
|
1957
1937
|
--
|
|
1958
1938
|
|
|
1959
|
-
##### [XCUIElementTypeButton](https://github.com/appium/ruby_lib/blob/
|
|
1939
|
+
##### [XCUIElementTypeButton](https://github.com/appium/ruby_lib/blob/08550ca75f3dad2874f9c7e7c7d1b117c0670009/lib/appium_lib/ios/element/button.rb#L5) ios
|
|
1960
1940
|
|
|
1961
1941
|
> XCUIElementTypeButton = 'XCUIElementTypeButton'.freeze
|
|
1962
1942
|
|
|
@@ -1964,7 +1944,7 @@ __Returns:__
|
|
|
1964
1944
|
|
|
1965
1945
|
--
|
|
1966
1946
|
|
|
1967
|
-
##### [button_class](https://github.com/appium/ruby_lib/blob/
|
|
1947
|
+
##### [button_class](https://github.com/appium/ruby_lib/blob/08550ca75f3dad2874f9c7e7c7d1b117c0670009/lib/appium_lib/ios/element/button.rb#L8) ios
|
|
1968
1948
|
|
|
1969
1949
|
> def button_class
|
|
1970
1950
|
|
|
@@ -1976,7 +1956,7 @@ __Returns:__
|
|
|
1976
1956
|
|
|
1977
1957
|
--
|
|
1978
1958
|
|
|
1979
|
-
##### [button](https://github.com/appium/ruby_lib/blob/
|
|
1959
|
+
##### [button](https://github.com/appium/ruby_lib/blob/08550ca75f3dad2874f9c7e7c7d1b117c0670009/lib/appium_lib/ios/element/button.rb#L16) ios
|
|
1980
1960
|
|
|
1981
1961
|
> def button(value)
|
|
1982
1962
|
|
|
@@ -1993,7 +1973,7 @@ __Returns:__
|
|
|
1993
1973
|
|
|
1994
1974
|
--
|
|
1995
1975
|
|
|
1996
|
-
##### [buttons](https://github.com/appium/ruby_lib/blob/
|
|
1976
|
+
##### [buttons](https://github.com/appium/ruby_lib/blob/08550ca75f3dad2874f9c7e7c7d1b117c0670009/lib/appium_lib/ios/element/button.rb#L26) ios
|
|
1997
1977
|
|
|
1998
1978
|
> def buttons(value = false)
|
|
1999
1979
|
|
|
@@ -2010,7 +1990,7 @@ __Returns:__
|
|
|
2010
1990
|
|
|
2011
1991
|
--
|
|
2012
1992
|
|
|
2013
|
-
##### [first_button](https://github.com/appium/ruby_lib/blob/
|
|
1993
|
+
##### [first_button](https://github.com/appium/ruby_lib/blob/08550ca75f3dad2874f9c7e7c7d1b117c0670009/lib/appium_lib/ios/element/button.rb#L33) ios
|
|
2014
1994
|
|
|
2015
1995
|
> def first_button
|
|
2016
1996
|
|
|
@@ -2022,7 +2002,7 @@ __Returns:__
|
|
|
2022
2002
|
|
|
2023
2003
|
--
|
|
2024
2004
|
|
|
2025
|
-
##### [last_button](https://github.com/appium/ruby_lib/blob/
|
|
2005
|
+
##### [last_button](https://github.com/appium/ruby_lib/blob/08550ca75f3dad2874f9c7e7c7d1b117c0670009/lib/appium_lib/ios/element/button.rb#L41) ios
|
|
2026
2006
|
|
|
2027
2007
|
> def last_button
|
|
2028
2008
|
|
|
@@ -2036,7 +2016,7 @@ __Returns:__
|
|
|
2036
2016
|
|
|
2037
2017
|
--
|
|
2038
2018
|
|
|
2039
|
-
##### [button_exact](https://github.com/appium/ruby_lib/blob/
|
|
2019
|
+
##### [button_exact](https://github.com/appium/ruby_lib/blob/08550ca75f3dad2874f9c7e7c7d1b117c0670009/lib/appium_lib/ios/element/button.rb#L48) ios
|
|
2040
2020
|
|
|
2041
2021
|
> def button_exact(value)
|
|
2042
2022
|
|
|
@@ -2052,7 +2032,7 @@ __Returns:__
|
|
|
2052
2032
|
|
|
2053
2033
|
--
|
|
2054
2034
|
|
|
2055
|
-
##### [buttons_exact](https://github.com/appium/ruby_lib/blob/
|
|
2035
|
+
##### [buttons_exact](https://github.com/appium/ruby_lib/blob/08550ca75f3dad2874f9c7e7c7d1b117c0670009/lib/appium_lib/ios/element/button.rb#L55) ios
|
|
2056
2036
|
|
|
2057
2037
|
> def buttons_exact(value)
|
|
2058
2038
|
|
|
@@ -2068,7 +2048,7 @@ __Returns:__
|
|
|
2068
2048
|
|
|
2069
2049
|
--
|
|
2070
2050
|
|
|
2071
|
-
##### [find](https://github.com/appium/ruby_lib/blob/
|
|
2051
|
+
##### [find](https://github.com/appium/ruby_lib/blob/08550ca75f3dad2874f9c7e7c7d1b117c0670009/lib/appium_lib/ios/element/generic.rb#L6) ios
|
|
2072
2052
|
|
|
2073
2053
|
> def find(value)
|
|
2074
2054
|
|
|
@@ -2084,7 +2064,7 @@ __Returns:__
|
|
|
2084
2064
|
|
|
2085
2065
|
--
|
|
2086
2066
|
|
|
2087
|
-
##### [finds](https://github.com/appium/ruby_lib/blob/
|
|
2067
|
+
##### [finds](https://github.com/appium/ruby_lib/blob/08550ca75f3dad2874f9c7e7c7d1b117c0670009/lib/appium_lib/ios/element/generic.rb#L13) ios
|
|
2088
2068
|
|
|
2089
2069
|
> def finds(value)
|
|
2090
2070
|
|
|
@@ -2100,7 +2080,7 @@ __Returns:__
|
|
|
2100
2080
|
|
|
2101
2081
|
--
|
|
2102
2082
|
|
|
2103
|
-
##### [find_exact](https://github.com/appium/ruby_lib/blob/
|
|
2083
|
+
##### [find_exact](https://github.com/appium/ruby_lib/blob/08550ca75f3dad2874f9c7e7c7d1b117c0670009/lib/appium_lib/ios/element/generic.rb#L20) ios
|
|
2104
2084
|
|
|
2105
2085
|
> def find_exact(value)
|
|
2106
2086
|
|
|
@@ -2116,7 +2096,7 @@ __Returns:__
|
|
|
2116
2096
|
|
|
2117
2097
|
--
|
|
2118
2098
|
|
|
2119
|
-
##### [finds_exact](https://github.com/appium/ruby_lib/blob/
|
|
2099
|
+
##### [finds_exact](https://github.com/appium/ruby_lib/blob/08550ca75f3dad2874f9c7e7c7d1b117c0670009/lib/appium_lib/ios/element/generic.rb#L27) ios
|
|
2120
2100
|
|
|
2121
2101
|
> def finds_exact(value)
|
|
2122
2102
|
|
|
@@ -2132,7 +2112,7 @@ __Returns:__
|
|
|
2132
2112
|
|
|
2133
2113
|
--
|
|
2134
2114
|
|
|
2135
|
-
##### [raise_error_if_no_element](https://github.com/appium/ruby_lib/blob/
|
|
2115
|
+
##### [raise_error_if_no_element](https://github.com/appium/ruby_lib/blob/08550ca75f3dad2874f9c7e7c7d1b117c0670009/lib/appium_lib/ios/element/generic.rb#L33) ios
|
|
2136
2116
|
|
|
2137
2117
|
> def raise_error_if_no_element(element)
|
|
2138
2118
|
|
|
@@ -2140,7 +2120,7 @@ __Returns:__
|
|
|
2140
2120
|
|
|
2141
2121
|
--
|
|
2142
2122
|
|
|
2143
|
-
##### [select_visible_elements](https://github.com/appium/ruby_lib/blob/
|
|
2123
|
+
##### [select_visible_elements](https://github.com/appium/ruby_lib/blob/08550ca75f3dad2874f9c7e7c7d1b117c0670009/lib/appium_lib/ios/element/generic.rb#L40) ios
|
|
2144
2124
|
|
|
2145
2125
|
> def select_visible_elements(elements)
|
|
2146
2126
|
|
|
@@ -2148,7 +2128,7 @@ Return visible elements.
|
|
|
2148
2128
|
|
|
2149
2129
|
--
|
|
2150
2130
|
|
|
2151
|
-
##### [for](https://github.com/appium/ruby_lib/blob/
|
|
2131
|
+
##### [for](https://github.com/appium/ruby_lib/blob/08550ca75f3dad2874f9c7e7c7d1b117c0670009/lib/appium_lib/ios/xcuitest/bridge.rb#L7) ios
|
|
2152
2132
|
|
|
2153
2133
|
> def self.for(target)
|
|
2154
2134
|
|
|
@@ -2156,7 +2136,7 @@ Return visible elements.
|
|
|
2156
2136
|
|
|
2157
2137
|
--
|
|
2158
2138
|
|
|
2159
|
-
##### [last_ele](https://github.com/appium/ruby_lib/blob/
|
|
2139
|
+
##### [last_ele](https://github.com/appium/ruby_lib/blob/08550ca75f3dad2874f9c7e7c7d1b117c0670009/lib/appium_lib/ios/xcuitest/helper.rb#L26) ios
|
|
2160
2140
|
|
|
2161
2141
|
> def last_ele(class_name)
|
|
2162
2142
|
|
|
@@ -2172,7 +2152,7 @@ __Returns:__
|
|
|
2172
2152
|
|
|
2173
2153
|
--
|
|
2174
2154
|
|
|
2175
|
-
##### [tag](https://github.com/appium/ruby_lib/blob/
|
|
2155
|
+
##### [tag](https://github.com/appium/ruby_lib/blob/08550ca75f3dad2874f9c7e7c7d1b117c0670009/lib/appium_lib/ios/xcuitest/helper.rb#L36) ios
|
|
2176
2156
|
|
|
2177
2157
|
> def tag(class_name)
|
|
2178
2158
|
|
|
@@ -2188,7 +2168,7 @@ __Returns:__
|
|
|
2188
2168
|
|
|
2189
2169
|
--
|
|
2190
2170
|
|
|
2191
|
-
##### [tags](https://github.com/appium/ruby_lib/blob/
|
|
2171
|
+
##### [tags](https://github.com/appium/ruby_lib/blob/08550ca75f3dad2874f9c7e7c7d1b117c0670009/lib/appium_lib/ios/xcuitest/helper.rb#L44) ios
|
|
2192
2172
|
|
|
2193
2173
|
> def tags(class_name)
|
|
2194
2174
|
|
|
@@ -2204,7 +2184,7 @@ __Returns:__
|
|
|
2204
2184
|
|
|
2205
2185
|
--
|
|
2206
2186
|
|
|
2207
|
-
##### [tags_include](https://github.com/appium/ruby_lib/blob/
|
|
2187
|
+
##### [tags_include](https://github.com/appium/ruby_lib/blob/08550ca75f3dad2874f9c7e7c7d1b117c0670009/lib/appium_lib/ios/xcuitest/helper.rb#L56) ios
|
|
2208
2188
|
|
|
2209
2189
|
> def tags_include(class_names:, value: nil)
|
|
2210
2190
|
|
|
@@ -2224,7 +2204,7 @@ __Returns:__
|
|
|
2224
2204
|
|
|
2225
2205
|
--
|
|
2226
2206
|
|
|
2227
|
-
##### [tags_exact](https://github.com/appium/ruby_lib/blob/
|
|
2207
|
+
##### [tags_exact](https://github.com/appium/ruby_lib/blob/08550ca75f3dad2874f9c7e7c7d1b117c0670009/lib/appium_lib/ios/xcuitest/helper.rb#L79) ios
|
|
2228
2208
|
|
|
2229
2209
|
> def tags_exact(class_names:, value: nil)
|
|
2230
2210
|
|
|
@@ -2244,7 +2224,7 @@ __Returns:__
|
|
|
2244
2224
|
|
|
2245
2225
|
--
|
|
2246
2226
|
|
|
2247
|
-
##### [UIATextField](https://github.com/appium/ruby_lib/blob/
|
|
2227
|
+
##### [UIATextField](https://github.com/appium/ruby_lib/blob/08550ca75f3dad2874f9c7e7c7d1b117c0670009/lib/appium_lib/ios/element/textfield.rb#L3) ios
|
|
2248
2228
|
|
|
2249
2229
|
> UIATextField = 'UIATextField'.freeze
|
|
2250
2230
|
|
|
@@ -2252,7 +2232,7 @@ __Returns:__
|
|
|
2252
2232
|
|
|
2253
2233
|
--
|
|
2254
2234
|
|
|
2255
|
-
##### [UIASecureTextField](https://github.com/appium/ruby_lib/blob/
|
|
2235
|
+
##### [UIASecureTextField](https://github.com/appium/ruby_lib/blob/08550ca75f3dad2874f9c7e7c7d1b117c0670009/lib/appium_lib/ios/element/textfield.rb#L4) ios
|
|
2256
2236
|
|
|
2257
2237
|
> UIASecureTextField = 'UIASecureTextField'.freeze
|
|
2258
2238
|
|
|
@@ -2260,7 +2240,7 @@ __Returns:__
|
|
|
2260
2240
|
|
|
2261
2241
|
--
|
|
2262
2242
|
|
|
2263
|
-
##### [XCUIElementTypeTextField](https://github.com/appium/ruby_lib/blob/
|
|
2243
|
+
##### [XCUIElementTypeTextField](https://github.com/appium/ruby_lib/blob/08550ca75f3dad2874f9c7e7c7d1b117c0670009/lib/appium_lib/ios/element/textfield.rb#L6) ios
|
|
2264
2244
|
|
|
2265
2245
|
> XCUIElementTypeTextField = 'XCUIElementTypeTextField'.freeze
|
|
2266
2246
|
|
|
@@ -2268,7 +2248,7 @@ __Returns:__
|
|
|
2268
2248
|
|
|
2269
2249
|
--
|
|
2270
2250
|
|
|
2271
|
-
##### [XCUIElementTypeSecureTextField](https://github.com/appium/ruby_lib/blob/
|
|
2251
|
+
##### [XCUIElementTypeSecureTextField](https://github.com/appium/ruby_lib/blob/08550ca75f3dad2874f9c7e7c7d1b117c0670009/lib/appium_lib/ios/element/textfield.rb#L7) ios
|
|
2272
2252
|
|
|
2273
2253
|
> XCUIElementTypeSecureTextField = 'XCUIElementTypeSecureTextField'.freeze
|
|
2274
2254
|
|
|
@@ -2276,7 +2256,7 @@ __Returns:__
|
|
|
2276
2256
|
|
|
2277
2257
|
--
|
|
2278
2258
|
|
|
2279
|
-
##### [text_field_class](https://github.com/appium/ruby_lib/blob/
|
|
2259
|
+
##### [text_field_class](https://github.com/appium/ruby_lib/blob/08550ca75f3dad2874f9c7e7c7d1b117c0670009/lib/appium_lib/ios/element/textfield.rb#L10) ios
|
|
2280
2260
|
|
|
2281
2261
|
> def text_field_class
|
|
2282
2262
|
|
|
@@ -2288,7 +2268,7 @@ __Returns:__
|
|
|
2288
2268
|
|
|
2289
2269
|
--
|
|
2290
2270
|
|
|
2291
|
-
##### [secure_text_field_class](https://github.com/appium/ruby_lib/blob/
|
|
2271
|
+
##### [secure_text_field_class](https://github.com/appium/ruby_lib/blob/08550ca75f3dad2874f9c7e7c7d1b117c0670009/lib/appium_lib/ios/element/textfield.rb#L15) ios
|
|
2292
2272
|
|
|
2293
2273
|
> def secure_text_field_class
|
|
2294
2274
|
|
|
@@ -2300,7 +2280,7 @@ __Returns:__
|
|
|
2300
2280
|
|
|
2301
2281
|
--
|
|
2302
2282
|
|
|
2303
|
-
##### [textfield](https://github.com/appium/ruby_lib/blob/
|
|
2283
|
+
##### [textfield](https://github.com/appium/ruby_lib/blob/08550ca75f3dad2874f9c7e7c7d1b117c0670009/lib/appium_lib/ios/element/textfield.rb#L24) ios
|
|
2304
2284
|
|
|
2305
2285
|
> def textfield(value)
|
|
2306
2286
|
|
|
@@ -2318,7 +2298,7 @@ __Returns:__
|
|
|
2318
2298
|
|
|
2319
2299
|
--
|
|
2320
2300
|
|
|
2321
|
-
##### [textfields](https://github.com/appium/ruby_lib/blob/
|
|
2301
|
+
##### [textfields](https://github.com/appium/ruby_lib/blob/08550ca75f3dad2874f9c7e7c7d1b117c0670009/lib/appium_lib/ios/element/textfield.rb#L42) ios
|
|
2322
2302
|
|
|
2323
2303
|
> def textfields(value = false)
|
|
2324
2304
|
|
|
@@ -2335,7 +2315,7 @@ __Returns:__
|
|
|
2335
2315
|
|
|
2336
2316
|
--
|
|
2337
2317
|
|
|
2338
|
-
##### [first_textfield](https://github.com/appium/ruby_lib/blob/
|
|
2318
|
+
##### [first_textfield](https://github.com/appium/ruby_lib/blob/08550ca75f3dad2874f9c7e7c7d1b117c0670009/lib/appium_lib/ios/element/textfield.rb#L49) ios
|
|
2339
2319
|
|
|
2340
2320
|
> def first_textfield
|
|
2341
2321
|
|
|
@@ -2347,7 +2327,7 @@ __Returns:__
|
|
|
2347
2327
|
|
|
2348
2328
|
--
|
|
2349
2329
|
|
|
2350
|
-
##### [last_textfield](https://github.com/appium/ruby_lib/blob/
|
|
2330
|
+
##### [last_textfield](https://github.com/appium/ruby_lib/blob/08550ca75f3dad2874f9c7e7c7d1b117c0670009/lib/appium_lib/ios/element/textfield.rb#L55) ios
|
|
2351
2331
|
|
|
2352
2332
|
> def last_textfield
|
|
2353
2333
|
|
|
@@ -2359,7 +2339,7 @@ __Returns:__
|
|
|
2359
2339
|
|
|
2360
2340
|
--
|
|
2361
2341
|
|
|
2362
|
-
##### [textfield_exact](https://github.com/appium/ruby_lib/blob/
|
|
2342
|
+
##### [textfield_exact](https://github.com/appium/ruby_lib/blob/08550ca75f3dad2874f9c7e7c7d1b117c0670009/lib/appium_lib/ios/element/textfield.rb#L64) ios
|
|
2363
2343
|
|
|
2364
2344
|
> def textfield_exact(value)
|
|
2365
2345
|
|
|
@@ -2375,7 +2355,7 @@ __Returns:__
|
|
|
2375
2355
|
|
|
2376
2356
|
--
|
|
2377
2357
|
|
|
2378
|
-
##### [textfields_exact](https://github.com/appium/ruby_lib/blob/
|
|
2358
|
+
##### [textfields_exact](https://github.com/appium/ruby_lib/blob/08550ca75f3dad2874f9c7e7c7d1b117c0670009/lib/appium_lib/ios/element/textfield.rb#L71) ios
|
|
2379
2359
|
|
|
2380
2360
|
> def textfields_exact(value)
|
|
2381
2361
|
|
|
@@ -2391,7 +2371,7 @@ __Returns:__
|
|
|
2391
2371
|
|
|
2392
2372
|
--
|
|
2393
2373
|
|
|
2394
|
-
##### [_textfield_visible](https://github.com/appium/ruby_lib/blob/
|
|
2374
|
+
##### [_textfield_visible](https://github.com/appium/ruby_lib/blob/08550ca75f3dad2874f9c7e7c7d1b117c0670009/lib/appium_lib/ios/element/textfield.rb#L78) ios
|
|
2395
2375
|
|
|
2396
2376
|
> def _textfield_visible
|
|
2397
2377
|
|
|
@@ -2399,7 +2379,7 @@ Appium
|
|
|
2399
2379
|
|
|
2400
2380
|
--
|
|
2401
2381
|
|
|
2402
|
-
##### [_textfield_exact_string](https://github.com/appium/ruby_lib/blob/
|
|
2382
|
+
##### [_textfield_exact_string](https://github.com/appium/ruby_lib/blob/08550ca75f3dad2874f9c7e7c7d1b117c0670009/lib/appium_lib/ios/element/textfield.rb#L83) ios
|
|
2403
2383
|
|
|
2404
2384
|
> def _textfield_exact_string(value)
|
|
2405
2385
|
|
|
@@ -2407,7 +2387,7 @@ Appium
|
|
|
2407
2387
|
|
|
2408
2388
|
--
|
|
2409
2389
|
|
|
2410
|
-
##### [_textfield_contains_string](https://github.com/appium/ruby_lib/blob/
|
|
2390
|
+
##### [_textfield_contains_string](https://github.com/appium/ruby_lib/blob/08550ca75f3dad2874f9c7e7c7d1b117c0670009/lib/appium_lib/ios/element/textfield.rb#L90) ios
|
|
2411
2391
|
|
|
2412
2392
|
> def _textfield_contains_string(value)
|
|
2413
2393
|
|
|
@@ -2415,7 +2395,7 @@ Appium
|
|
|
2415
2395
|
|
|
2416
2396
|
--
|
|
2417
2397
|
|
|
2418
|
-
##### [static_text_class](https://github.com/appium/ruby_lib/blob/
|
|
2398
|
+
##### [static_text_class](https://github.com/appium/ruby_lib/blob/08550ca75f3dad2874f9c7e7c7d1b117c0670009/lib/appium_lib/ios/xcuitest/element/text.rb#L9) ios
|
|
2419
2399
|
|
|
2420
2400
|
> def static_text_class
|
|
2421
2401
|
|
|
@@ -2427,7 +2407,7 @@ __Returns:__
|
|
|
2427
2407
|
|
|
2428
2408
|
--
|
|
2429
2409
|
|
|
2430
|
-
##### [text](https://github.com/appium/ruby_lib/blob/
|
|
2410
|
+
##### [text](https://github.com/appium/ruby_lib/blob/08550ca75f3dad2874f9c7e7c7d1b117c0670009/lib/appium_lib/ios/xcuitest/element/text.rb#L17) ios
|
|
2431
2411
|
|
|
2432
2412
|
> def text(value)
|
|
2433
2413
|
|
|
@@ -2444,7 +2424,7 @@ __Returns:__
|
|
|
2444
2424
|
|
|
2445
2425
|
--
|
|
2446
2426
|
|
|
2447
|
-
##### [texts](https://github.com/appium/ruby_lib/blob/
|
|
2427
|
+
##### [texts](https://github.com/appium/ruby_lib/blob/08550ca75f3dad2874f9c7e7c7d1b117c0670009/lib/appium_lib/ios/xcuitest/element/text.rb#L26) ios
|
|
2448
2428
|
|
|
2449
2429
|
> def texts(value = false)
|
|
2450
2430
|
|
|
@@ -2461,7 +2441,7 @@ __Returns:__
|
|
|
2461
2441
|
|
|
2462
2442
|
--
|
|
2463
2443
|
|
|
2464
|
-
##### [first_text](https://github.com/appium/ruby_lib/blob/
|
|
2444
|
+
##### [first_text](https://github.com/appium/ruby_lib/blob/08550ca75f3dad2874f9c7e7c7d1b117c0670009/lib/appium_lib/ios/xcuitest/element/text.rb#L34) ios
|
|
2465
2445
|
|
|
2466
2446
|
> def first_text
|
|
2467
2447
|
|
|
@@ -2473,7 +2453,7 @@ __Returns:__
|
|
|
2473
2453
|
|
|
2474
2454
|
--
|
|
2475
2455
|
|
|
2476
|
-
##### [last_text](https://github.com/appium/ruby_lib/blob/
|
|
2456
|
+
##### [last_text](https://github.com/appium/ruby_lib/blob/08550ca75f3dad2874f9c7e7c7d1b117c0670009/lib/appium_lib/ios/xcuitest/element/text.rb#L40) ios
|
|
2477
2457
|
|
|
2478
2458
|
> def last_text
|
|
2479
2459
|
|
|
@@ -2485,7 +2465,7 @@ __Returns:__
|
|
|
2485
2465
|
|
|
2486
2466
|
--
|
|
2487
2467
|
|
|
2488
|
-
##### [text_exact](https://github.com/appium/ruby_lib/blob/
|
|
2468
|
+
##### [text_exact](https://github.com/appium/ruby_lib/blob/08550ca75f3dad2874f9c7e7c7d1b117c0670009/lib/appium_lib/ios/xcuitest/element/text.rb#L47) ios
|
|
2489
2469
|
|
|
2490
2470
|
> def text_exact(value)
|
|
2491
2471
|
|
|
@@ -2501,7 +2481,7 @@ __Returns:__
|
|
|
2501
2481
|
|
|
2502
2482
|
--
|
|
2503
2483
|
|
|
2504
|
-
##### [texts_exact](https://github.com/appium/ruby_lib/blob/
|
|
2484
|
+
##### [texts_exact](https://github.com/appium/ruby_lib/blob/08550ca75f3dad2874f9c7e7c7d1b117c0670009/lib/appium_lib/ios/xcuitest/element/text.rb#L54) ios
|
|
2505
2485
|
|
|
2506
2486
|
> def texts_exact(value)
|
|
2507
2487
|
|
|
@@ -2517,7 +2497,7 @@ __Returns:__
|
|
|
2517
2497
|
|
|
2518
2498
|
--
|
|
2519
2499
|
|
|
2520
|
-
##### [xcuitest_source](https://github.com/appium/ruby_lib/blob/
|
|
2500
|
+
##### [xcuitest_source](https://github.com/appium/ruby_lib/blob/08550ca75f3dad2874f9c7e7c7d1b117c0670009/lib/appium_lib/ios/xcuitest/command/source.rb#L11) ios
|
|
2521
2501
|
|
|
2522
2502
|
> def xcuitest_source(format: :xml)
|
|
2523
2503
|
|
|
@@ -2531,7 +2511,7 @@ __Parameters:__
|
|
|
2531
2511
|
|
|
2532
2512
|
--
|
|
2533
2513
|
|
|
2534
|
-
##### [button_class](https://github.com/appium/ruby_lib/blob/
|
|
2514
|
+
##### [button_class](https://github.com/appium/ruby_lib/blob/08550ca75f3dad2874f9c7e7c7d1b117c0670009/lib/appium_lib/ios/xcuitest/element/button.rb#L9) ios
|
|
2535
2515
|
|
|
2536
2516
|
> def button_class
|
|
2537
2517
|
|
|
@@ -2543,7 +2523,7 @@ __Returns:__
|
|
|
2543
2523
|
|
|
2544
2524
|
--
|
|
2545
2525
|
|
|
2546
|
-
##### [button](https://github.com/appium/ruby_lib/blob/
|
|
2526
|
+
##### [button](https://github.com/appium/ruby_lib/blob/08550ca75f3dad2874f9c7e7c7d1b117c0670009/lib/appium_lib/ios/xcuitest/element/button.rb#L17) ios
|
|
2547
2527
|
|
|
2548
2528
|
> def button(value)
|
|
2549
2529
|
|
|
@@ -2560,7 +2540,7 @@ __Returns:__
|
|
|
2560
2540
|
|
|
2561
2541
|
--
|
|
2562
2542
|
|
|
2563
|
-
##### [buttons](https://github.com/appium/ruby_lib/blob/
|
|
2543
|
+
##### [buttons](https://github.com/appium/ruby_lib/blob/08550ca75f3dad2874f9c7e7c7d1b117c0670009/lib/appium_lib/ios/xcuitest/element/button.rb#L27) ios
|
|
2564
2544
|
|
|
2565
2545
|
> def buttons(value = false)
|
|
2566
2546
|
|
|
@@ -2577,7 +2557,7 @@ __Returns:__
|
|
|
2577
2557
|
|
|
2578
2558
|
--
|
|
2579
2559
|
|
|
2580
|
-
##### [first_button](https://github.com/appium/ruby_lib/blob/
|
|
2560
|
+
##### [first_button](https://github.com/appium/ruby_lib/blob/08550ca75f3dad2874f9c7e7c7d1b117c0670009/lib/appium_lib/ios/xcuitest/element/button.rb#L35) ios
|
|
2581
2561
|
|
|
2582
2562
|
> def first_button
|
|
2583
2563
|
|
|
@@ -2589,7 +2569,7 @@ __Returns:__
|
|
|
2589
2569
|
|
|
2590
2570
|
--
|
|
2591
2571
|
|
|
2592
|
-
##### [last_button](https://github.com/appium/ruby_lib/blob/
|
|
2572
|
+
##### [last_button](https://github.com/appium/ruby_lib/blob/08550ca75f3dad2874f9c7e7c7d1b117c0670009/lib/appium_lib/ios/xcuitest/element/button.rb#L43) ios
|
|
2593
2573
|
|
|
2594
2574
|
> def last_button
|
|
2595
2575
|
|
|
@@ -2603,7 +2583,7 @@ __Returns:__
|
|
|
2603
2583
|
|
|
2604
2584
|
--
|
|
2605
2585
|
|
|
2606
|
-
##### [button_exact](https://github.com/appium/ruby_lib/blob/
|
|
2586
|
+
##### [button_exact](https://github.com/appium/ruby_lib/blob/08550ca75f3dad2874f9c7e7c7d1b117c0670009/lib/appium_lib/ios/xcuitest/element/button.rb#L50) ios
|
|
2607
2587
|
|
|
2608
2588
|
> def button_exact(value)
|
|
2609
2589
|
|
|
@@ -2619,7 +2599,7 @@ __Returns:__
|
|
|
2619
2599
|
|
|
2620
2600
|
--
|
|
2621
2601
|
|
|
2622
|
-
##### [buttons_exact](https://github.com/appium/ruby_lib/blob/
|
|
2602
|
+
##### [buttons_exact](https://github.com/appium/ruby_lib/blob/08550ca75f3dad2874f9c7e7c7d1b117c0670009/lib/appium_lib/ios/xcuitest/element/button.rb#L57) ios
|
|
2623
2603
|
|
|
2624
2604
|
> def buttons_exact(value)
|
|
2625
2605
|
|
|
@@ -2635,7 +2615,7 @@ __Returns:__
|
|
|
2635
2615
|
|
|
2636
2616
|
--
|
|
2637
2617
|
|
|
2638
|
-
##### [find](https://github.com/appium/ruby_lib/blob/
|
|
2618
|
+
##### [find](https://github.com/appium/ruby_lib/blob/08550ca75f3dad2874f9c7e7c7d1b117c0670009/lib/appium_lib/ios/xcuitest/element/generic.rb#L8) ios
|
|
2639
2619
|
|
|
2640
2620
|
> def find(value)
|
|
2641
2621
|
|
|
@@ -2651,7 +2631,7 @@ __Returns:__
|
|
|
2651
2631
|
|
|
2652
2632
|
--
|
|
2653
2633
|
|
|
2654
|
-
##### [finds](https://github.com/appium/ruby_lib/blob/
|
|
2634
|
+
##### [finds](https://github.com/appium/ruby_lib/blob/08550ca75f3dad2874f9c7e7c7d1b117c0670009/lib/appium_lib/ios/xcuitest/element/generic.rb#L15) ios
|
|
2655
2635
|
|
|
2656
2636
|
> def finds(value)
|
|
2657
2637
|
|
|
@@ -2667,7 +2647,7 @@ __Returns:__
|
|
|
2667
2647
|
|
|
2668
2648
|
--
|
|
2669
2649
|
|
|
2670
|
-
##### [find_exact](https://github.com/appium/ruby_lib/blob/
|
|
2650
|
+
##### [find_exact](https://github.com/appium/ruby_lib/blob/08550ca75f3dad2874f9c7e7c7d1b117c0670009/lib/appium_lib/ios/xcuitest/element/generic.rb#L23) ios
|
|
2671
2651
|
|
|
2672
2652
|
> def find_exact(value)
|
|
2673
2653
|
|
|
@@ -2683,7 +2663,7 @@ __Returns:__
|
|
|
2683
2663
|
|
|
2684
2664
|
--
|
|
2685
2665
|
|
|
2686
|
-
##### [finds_exact](https://github.com/appium/ruby_lib/blob/
|
|
2666
|
+
##### [finds_exact](https://github.com/appium/ruby_lib/blob/08550ca75f3dad2874f9c7e7c7d1b117c0670009/lib/appium_lib/ios/xcuitest/element/generic.rb#L30) ios
|
|
2687
2667
|
|
|
2688
2668
|
> def finds_exact(value)
|
|
2689
2669
|
|
|
@@ -2699,7 +2679,7 @@ __Returns:__
|
|
|
2699
2679
|
|
|
2700
2680
|
--
|
|
2701
2681
|
|
|
2702
|
-
##### [raise_error_if_no_element](https://github.com/appium/ruby_lib/blob/
|
|
2682
|
+
##### [raise_error_if_no_element](https://github.com/appium/ruby_lib/blob/08550ca75f3dad2874f9c7e7c7d1b117c0670009/lib/appium_lib/ios/xcuitest/element/generic.rb#L37) ios
|
|
2703
2683
|
|
|
2704
2684
|
> def raise_error_if_no_element(element)
|
|
2705
2685
|
|
|
@@ -2707,7 +2687,7 @@ __Returns:__
|
|
|
2707
2687
|
|
|
2708
2688
|
--
|
|
2709
2689
|
|
|
2710
|
-
##### [select_visible_elements](https://github.com/appium/ruby_lib/blob/
|
|
2690
|
+
##### [select_visible_elements](https://github.com/appium/ruby_lib/blob/08550ca75f3dad2874f9c7e7c7d1b117c0670009/lib/appium_lib/ios/xcuitest/element/generic.rb#L44) ios
|
|
2711
2691
|
|
|
2712
2692
|
> def select_visible_elements(elements)
|
|
2713
2693
|
|
|
@@ -2715,7 +2695,7 @@ Return visible elements.
|
|
|
2715
2695
|
|
|
2716
2696
|
--
|
|
2717
2697
|
|
|
2718
|
-
##### [swipe](https://github.com/appium/ruby_lib/blob/
|
|
2698
|
+
##### [swipe](https://github.com/appium/ruby_lib/blob/08550ca75f3dad2874f9c7e7c7d1b117c0670009/lib/appium_lib/ios/xcuitest/command/gestures.rb#L11) ios
|
|
2719
2699
|
|
|
2720
2700
|
> def swipe(direction:, element: nil)
|
|
2721
2701
|
|
|
@@ -2729,7 +2709,7 @@ __Parameters:__
|
|
|
2729
2709
|
|
|
2730
2710
|
--
|
|
2731
2711
|
|
|
2732
|
-
##### [scroll](https://github.com/appium/ruby_lib/blob/
|
|
2712
|
+
##### [scroll](https://github.com/appium/ruby_lib/blob/08550ca75f3dad2874f9c7e7c7d1b117c0670009/lib/appium_lib/ios/xcuitest/command/gestures.rb#L29) ios
|
|
2733
2713
|
|
|
2734
2714
|
> def scroll(direction:, name: nil, element: nil, to_visible: nil, predicate_string: nil)
|
|
2735
2715
|
|
|
@@ -2743,7 +2723,7 @@ __Parameters:__
|
|
|
2743
2723
|
|
|
2744
2724
|
--
|
|
2745
2725
|
|
|
2746
|
-
##### [pinch](https://github.com/appium/ruby_lib/blob/
|
|
2726
|
+
##### [pinch](https://github.com/appium/ruby_lib/blob/08550ca75f3dad2874f9c7e7c7d1b117c0670009/lib/appium_lib/ios/xcuitest/command/gestures.rb#L48) ios
|
|
2747
2727
|
|
|
2748
2728
|
> def pinch(scale:, velocity: 1.0, element: nil)
|
|
2749
2729
|
|
|
@@ -2759,7 +2739,7 @@ __Parameters:__
|
|
|
2759
2739
|
|
|
2760
2740
|
--
|
|
2761
2741
|
|
|
2762
|
-
##### [double_tap](https://github.com/appium/ruby_lib/blob/
|
|
2742
|
+
##### [double_tap](https://github.com/appium/ruby_lib/blob/08550ca75f3dad2874f9c7e7c7d1b117c0670009/lib/appium_lib/ios/xcuitest/command/gestures.rb#L63) ios
|
|
2763
2743
|
|
|
2764
2744
|
> def double_tap(x: nil, y: nil, element: nil)
|
|
2765
2745
|
|
|
@@ -2775,7 +2755,7 @@ __Parameters:__
|
|
|
2775
2755
|
|
|
2776
2756
|
--
|
|
2777
2757
|
|
|
2778
|
-
##### [touch_and_hold](https://github.com/appium/ruby_lib/blob/
|
|
2758
|
+
##### [touch_and_hold](https://github.com/appium/ruby_lib/blob/08550ca75f3dad2874f9c7e7c7d1b117c0670009/lib/appium_lib/ios/xcuitest/command/gestures.rb#L80) ios
|
|
2779
2759
|
|
|
2780
2760
|
> def touch_and_hold(x: nil, y: nil, element: nil, duration: 1.0)
|
|
2781
2761
|
|
|
@@ -2793,7 +2773,7 @@ __Parameters:__
|
|
|
2793
2773
|
|
|
2794
2774
|
--
|
|
2795
2775
|
|
|
2796
|
-
##### [two_finger_tap](https://github.com/appium/ruby_lib/blob/
|
|
2776
|
+
##### [two_finger_tap](https://github.com/appium/ruby_lib/blob/08550ca75f3dad2874f9c7e7c7d1b117c0670009/lib/appium_lib/ios/xcuitest/command/gestures.rb#L93) ios
|
|
2797
2777
|
|
|
2798
2778
|
> def two_finger_tap(element:)
|
|
2799
2779
|
|
|
@@ -2809,7 +2789,7 @@ two_finger_tap element: find_element(:accessibility_id, "some item")
|
|
|
2809
2789
|
|
|
2810
2790
|
--
|
|
2811
2791
|
|
|
2812
|
-
##### [tap](https://github.com/appium/ruby_lib/blob/
|
|
2792
|
+
##### [tap](https://github.com/appium/ruby_lib/blob/08550ca75f3dad2874f9c7e7c7d1b117c0670009/lib/appium_lib/ios/xcuitest/command/gestures.rb#L108) ios
|
|
2813
2793
|
|
|
2814
2794
|
> def tap(x:, y:, element: nil)
|
|
2815
2795
|
|
|
@@ -2825,7 +2805,7 @@ __Parameters:__
|
|
|
2825
2805
|
|
|
2826
2806
|
--
|
|
2827
2807
|
|
|
2828
|
-
##### [drag_from_to_for_duration](https://github.com/appium/ruby_lib/blob/
|
|
2808
|
+
##### [drag_from_to_for_duration](https://github.com/appium/ruby_lib/blob/08550ca75f3dad2874f9c7e7c7d1b117c0670009/lib/appium_lib/ios/xcuitest/command/gestures.rb#L128) ios
|
|
2829
2809
|
|
|
2830
2810
|
> def drag_from_to_for_duration(from_x:, from_y:, to_x:, to_y:, duration: 1.0, element: nil)
|
|
2831
2811
|
|
|
@@ -2848,7 +2828,7 @@ drag point should be before to start dragging. Mandatory parameter
|
|
|
2848
2828
|
|
|
2849
2829
|
--
|
|
2850
2830
|
|
|
2851
|
-
##### [select_picker_wheel](https://github.com/appium/ruby_lib/blob/
|
|
2831
|
+
##### [select_picker_wheel](https://github.com/appium/ruby_lib/blob/08550ca75f3dad2874f9c7e7c7d1b117c0670009/lib/appium_lib/ios/xcuitest/command/gestures.rb#L145) ios
|
|
2852
2832
|
|
|
2853
2833
|
> def select_picker_wheel(element:, order:, offset: nil)
|
|
2854
2834
|
|
|
@@ -2865,7 +2845,7 @@ __Parameters:__
|
|
|
2865
2845
|
|
|
2866
2846
|
--
|
|
2867
2847
|
|
|
2868
|
-
##### [alert](https://github.com/appium/ruby_lib/blob/
|
|
2848
|
+
##### [alert](https://github.com/appium/ruby_lib/blob/08550ca75f3dad2874f9c7e7c7d1b117c0670009/lib/appium_lib/ios/xcuitest/command/gestures.rb#L163) ios
|
|
2869
2849
|
|
|
2870
2850
|
> def alert(action:, button_label: nil)
|
|
2871
2851
|
|
|
@@ -2880,7 +2860,7 @@ This is an optional parameter and is only valid in combination with accept and d
|
|
|
2880
2860
|
|
|
2881
2861
|
--
|
|
2882
2862
|
|
|
2883
|
-
##### [text_field_class](https://github.com/appium/ruby_lib/blob/
|
|
2863
|
+
##### [text_field_class](https://github.com/appium/ruby_lib/blob/08550ca75f3dad2874f9c7e7c7d1b117c0670009/lib/appium_lib/ios/xcuitest/element/textfield.rb#L9) ios
|
|
2884
2864
|
|
|
2885
2865
|
> def text_field_class
|
|
2886
2866
|
|
|
@@ -2892,7 +2872,7 @@ __Returns:__
|
|
|
2892
2872
|
|
|
2893
2873
|
--
|
|
2894
2874
|
|
|
2895
|
-
##### [secure_text_field_class](https://github.com/appium/ruby_lib/blob/
|
|
2875
|
+
##### [secure_text_field_class](https://github.com/appium/ruby_lib/blob/08550ca75f3dad2874f9c7e7c7d1b117c0670009/lib/appium_lib/ios/xcuitest/element/textfield.rb#L14) ios
|
|
2896
2876
|
|
|
2897
2877
|
> def secure_text_field_class
|
|
2898
2878
|
|
|
@@ -2904,7 +2884,7 @@ __Returns:__
|
|
|
2904
2884
|
|
|
2905
2885
|
--
|
|
2906
2886
|
|
|
2907
|
-
##### [textfield](https://github.com/appium/ruby_lib/blob/
|
|
2887
|
+
##### [textfield](https://github.com/appium/ruby_lib/blob/08550ca75f3dad2874f9c7e7c7d1b117c0670009/lib/appium_lib/ios/xcuitest/element/textfield.rb#L23) ios
|
|
2908
2888
|
|
|
2909
2889
|
> def textfield(value)
|
|
2910
2890
|
|
|
@@ -2922,7 +2902,7 @@ __Returns:__
|
|
|
2922
2902
|
|
|
2923
2903
|
--
|
|
2924
2904
|
|
|
2925
|
-
##### [textfields](https://github.com/appium/ruby_lib/blob/
|
|
2905
|
+
##### [textfields](https://github.com/appium/ruby_lib/blob/08550ca75f3dad2874f9c7e7c7d1b117c0670009/lib/appium_lib/ios/xcuitest/element/textfield.rb#L41) ios
|
|
2926
2906
|
|
|
2927
2907
|
> def textfields(value = false)
|
|
2928
2908
|
|
|
@@ -2939,7 +2919,7 @@ __Returns:__
|
|
|
2939
2919
|
|
|
2940
2920
|
--
|
|
2941
2921
|
|
|
2942
|
-
##### [first_textfield](https://github.com/appium/ruby_lib/blob/
|
|
2922
|
+
##### [first_textfield](https://github.com/appium/ruby_lib/blob/08550ca75f3dad2874f9c7e7c7d1b117c0670009/lib/appium_lib/ios/xcuitest/element/textfield.rb#L50) ios
|
|
2943
2923
|
|
|
2944
2924
|
> def first_textfield
|
|
2945
2925
|
|
|
@@ -2951,7 +2931,7 @@ __Returns:__
|
|
|
2951
2931
|
|
|
2952
2932
|
--
|
|
2953
2933
|
|
|
2954
|
-
##### [last_textfield](https://github.com/appium/ruby_lib/blob/
|
|
2934
|
+
##### [last_textfield](https://github.com/appium/ruby_lib/blob/08550ca75f3dad2874f9c7e7c7d1b117c0670009/lib/appium_lib/ios/xcuitest/element/textfield.rb#L56) ios
|
|
2955
2935
|
|
|
2956
2936
|
> def last_textfield
|
|
2957
2937
|
|
|
@@ -2963,7 +2943,7 @@ __Returns:__
|
|
|
2963
2943
|
|
|
2964
2944
|
--
|
|
2965
2945
|
|
|
2966
|
-
##### [textfield_exact](https://github.com/appium/ruby_lib/blob/
|
|
2946
|
+
##### [textfield_exact](https://github.com/appium/ruby_lib/blob/08550ca75f3dad2874f9c7e7c7d1b117c0670009/lib/appium_lib/ios/xcuitest/element/textfield.rb#L65) ios
|
|
2967
2947
|
|
|
2968
2948
|
> def textfield_exact(value)
|
|
2969
2949
|
|
|
@@ -2979,7 +2959,7 @@ __Returns:__
|
|
|
2979
2959
|
|
|
2980
2960
|
--
|
|
2981
2961
|
|
|
2982
|
-
##### [textfields_exact](https://github.com/appium/ruby_lib/blob/
|
|
2962
|
+
##### [textfields_exact](https://github.com/appium/ruby_lib/blob/08550ca75f3dad2874f9c7e7c7d1b117c0670009/lib/appium_lib/ios/xcuitest/element/textfield.rb#L72) ios
|
|
2983
2963
|
|
|
2984
2964
|
> def textfields_exact(value)
|
|
2985
2965
|
|
|
@@ -2995,7 +2975,7 @@ __Returns:__
|
|
|
2995
2975
|
|
|
2996
2976
|
--
|
|
2997
2977
|
|
|
2998
|
-
##### [set_pasteboard](https://github.com/appium/ruby_lib/blob/
|
|
2978
|
+
##### [set_pasteboard](https://github.com/appium/ruby_lib/blob/08550ca75f3dad2874f9c7e7c7d1b117c0670009/lib/appium_lib/ios/xcuitest/command/pasteboard.rb#L12) ios
|
|
2999
2979
|
|
|
3000
2980
|
> def set_pasteboard(content:, encoding: nil)
|
|
3001
2981
|
|
|
@@ -3010,7 +2990,7 @@ The parameter is mandatory
|
|
|
3010
2990
|
|
|
3011
2991
|
--
|
|
3012
2992
|
|
|
3013
|
-
##### [get_pasteboard](https://github.com/appium/ruby_lib/blob/
|
|
2993
|
+
##### [get_pasteboard](https://github.com/appium/ruby_lib/blob/08550ca75f3dad2874f9c7e7c7d1b117c0670009/lib/appium_lib/ios/xcuitest/command/pasteboard.rb#L24) ios
|
|
3014
2994
|
|
|
3015
2995
|
> def get_pasteboard(encoding: nil)
|
|
3016
2996
|
|