appium_lib 9.7.5 → 9.8.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +25 -0
- data/appium_lib.gemspec +1 -3
- data/contributing.md +2 -0
- data/docs/android_docs.md +186 -180
- data/docs/ios_docs.md +238 -234
- data/docs/ios_xcuitest.md +1 -1
- data/lib/appium_lib/android/common/helper.rb +0 -30
- data/lib/appium_lib/appium.rb +3 -4
- data/lib/appium_lib/common/helper.rb +0 -1
- data/lib/appium_lib/common/http_client.rb +1 -1
- data/lib/appium_lib/common/touch_actions.rb +4 -4
- data/lib/appium_lib/common/wait.rb +1 -1
- data/lib/appium_lib/driver.rb +7 -8
- data/lib/appium_lib/ios/common/helper.rb +1 -8
- data/lib/appium_lib/version.rb +2 -2
- data/readme.md +29 -8
- data/release_notes.md +6 -0
- metadata +5 -77
- data/lib/appium_lib/core/android.rb +0 -5
- data/lib/appium_lib/core/android/device.rb +0 -142
- data/lib/appium_lib/core/android/espresso/bridge.rb +0 -18
- data/lib/appium_lib/core/android/search_context.rb +0 -17
- data/lib/appium_lib/core/android/touch.rb +0 -15
- data/lib/appium_lib/core/android/uiautomator1/bridge.rb +0 -18
- data/lib/appium_lib/core/android/uiautomator2/bridge.rb +0 -18
- data/lib/appium_lib/core/android_espresso.rb +0 -5
- data/lib/appium_lib/core/android_uiautomator2.rb +0 -5
- data/lib/appium_lib/core/common.rb +0 -6
- data/lib/appium_lib/core/common/base.rb +0 -8
- data/lib/appium_lib/core/common/base/bridge.rb +0 -47
- data/lib/appium_lib/core/common/base/capabilities.rb +0 -16
- data/lib/appium_lib/core/common/base/command.rb +0 -10
- data/lib/appium_lib/core/common/base/driver.rb +0 -40
- data/lib/appium_lib/core/common/base/http_default.rb +0 -12
- data/lib/appium_lib/core/common/base/search_context.rb +0 -89
- data/lib/appium_lib/core/common/base/wait.rb +0 -56
- data/lib/appium_lib/core/common/command.rb +0 -75
- data/lib/appium_lib/core/common/device.rb +0 -462
- data/lib/appium_lib/core/common/error.rb +0 -18
- data/lib/appium_lib/core/common/log.rb +0 -30
- data/lib/appium_lib/core/common/logger.rb +0 -35
- data/lib/appium_lib/core/core.rb +0 -67
- data/lib/appium_lib/core/device/multi_touch.rb +0 -48
- data/lib/appium_lib/core/device/touch_actions.rb +0 -191
- data/lib/appium_lib/core/driver.rb +0 -417
- data/lib/appium_lib/core/ios.rb +0 -7
- data/lib/appium_lib/core/ios/device.rb +0 -44
- data/lib/appium_lib/core/ios/search_context.rb +0 -27
- data/lib/appium_lib/core/ios/touch.rb +0 -16
- data/lib/appium_lib/core/ios/uiautomation/bridge.rb +0 -20
- data/lib/appium_lib/core/ios/uiautomation/patch.rb +0 -20
- data/lib/appium_lib/core/ios/xcuitest/bridge.rb +0 -20
- data/lib/appium_lib/core/ios/xcuitest/device.rb +0 -59
- data/lib/appium_lib/core/ios/xcuitest/search_context.rb +0 -40
- data/lib/appium_lib/core/ios_xcuitest.rb +0 -8
- data/lib/appium_lib/core/patch.rb +0 -56
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/5588ca7d9e97759888dca3bf4f2f273c2131fc08/lib/appium_lib/appium.rb#L45)
|
2
2
|
|
3
3
|
> def load_settings(opts = {})
|
4
4
|
|
@@ -27,7 +27,7 @@ __Returns:__
|
|
27
27
|
|
28
28
|
--
|
29
29
|
|
30
|
-
##### [load_appium_txt](https://github.com/appium/ruby_lib/blob/
|
30
|
+
##### [load_appium_txt](https://github.com/appium/ruby_lib/blob/5588ca7d9e97759888dca3bf4f2f273c2131fc08/lib/appium_lib/appium.rb#L79)
|
31
31
|
|
32
32
|
> def load_settings(opts = {})
|
33
33
|
|
@@ -56,7 +56,7 @@ __Returns:__
|
|
56
56
|
|
57
57
|
--
|
58
58
|
|
59
|
-
##### [expand_required_files](https://github.com/appium/ruby_lib/blob/
|
59
|
+
##### [expand_required_files](https://github.com/appium/ruby_lib/blob/5588ca7d9e97759888dca3bf4f2f273c2131fc08/lib/appium_lib/appium.rb#L84)
|
60
60
|
|
61
61
|
> def expand_required_files(base_dir, file_paths)
|
62
62
|
|
@@ -74,7 +74,7 @@ __Returns:__
|
|
74
74
|
|
75
75
|
--
|
76
76
|
|
77
|
-
##### [promote_singleton_appium_methods](https://github.com/appium/ruby_lib/blob/
|
77
|
+
##### [promote_singleton_appium_methods](https://github.com/appium/ruby_lib/blob/5588ca7d9e97759888dca3bf4f2f273c2131fc08/lib/appium_lib/appium.rb#L126)
|
78
78
|
|
79
79
|
> def promote_singleton_appium_methods(modules, driver = $driver)
|
80
80
|
|
@@ -98,7 +98,7 @@ __Parameters:__
|
|
98
98
|
|
99
99
|
--
|
100
100
|
|
101
|
-
##### [promote_appium_methods](https://github.com/appium/ruby_lib/blob/
|
101
|
+
##### [promote_appium_methods](https://github.com/appium/ruby_lib/blob/5588ca7d9e97759888dca3bf4f2f273c2131fc08/lib/appium_lib/appium.rb#L181)
|
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/5588ca7d9e97759888dca3bf4f2f273c2131fc08/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/5588ca7d9e97759888dca3bf4f2f273c2131fc08/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/5588ca7d9e97759888dca3bf4f2f273c2131fc08/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/5588ca7d9e97759888dca3bf4f2f273c2131fc08/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/5588ca7d9e97759888dca3bf4f2f273c2131fc08/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/5588ca7d9e97759888dca3bf4f2f273c2131fc08/lib/appium_lib/driver.rb#L36)
|
162
162
|
|
163
163
|
> def sauce_endpoint
|
164
164
|
|
@@ -167,15 +167,16 @@ 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/5588ca7d9e97759888dca3bf4f2f273c2131fc08/lib/appium_lib/driver.rb#L40)
|
171
171
|
|
172
172
|
> def caps
|
173
173
|
|
174
174
|
from Core
|
175
|
+
read http://www.rubydoc.info/github/appium/ruby_lib_core/Appium/Core/Driver
|
175
176
|
|
176
177
|
--
|
177
178
|
|
178
|
-
##### [custom_url](https://github.com/appium/ruby_lib/blob/
|
179
|
+
##### [custom_url](https://github.com/appium/ruby_lib/blob/5588ca7d9e97759888dca3bf4f2f273c2131fc08/lib/appium_lib/driver.rb#L41)
|
179
180
|
|
180
181
|
> def custom_url
|
181
182
|
|
@@ -183,7 +184,7 @@ Returns the value of attribute custom_url
|
|
183
184
|
|
184
185
|
--
|
185
186
|
|
186
|
-
##### [export_session](https://github.com/appium/ruby_lib/blob/
|
187
|
+
##### [export_session](https://github.com/appium/ruby_lib/blob/5588ca7d9e97759888dca3bf4f2f273c2131fc08/lib/appium_lib/driver.rb#L42)
|
187
188
|
|
188
189
|
> def export_session
|
189
190
|
|
@@ -191,7 +192,7 @@ Returns the value of attribute export_session
|
|
191
192
|
|
192
193
|
--
|
193
194
|
|
194
|
-
##### [export_session_path](https://github.com/appium/ruby_lib/blob/
|
195
|
+
##### [export_session_path](https://github.com/appium/ruby_lib/blob/5588ca7d9e97759888dca3bf4f2f273c2131fc08/lib/appium_lib/driver.rb#L43)
|
195
196
|
|
196
197
|
> def export_session_path
|
197
198
|
|
@@ -199,7 +200,7 @@ Returns the value of attribute export_session_path
|
|
199
200
|
|
200
201
|
--
|
201
202
|
|
202
|
-
##### [default_wait](https://github.com/appium/ruby_lib/blob/
|
203
|
+
##### [default_wait](https://github.com/appium/ruby_lib/blob/5588ca7d9e97759888dca3bf4f2f273c2131fc08/lib/appium_lib/driver.rb#L44)
|
203
204
|
|
204
205
|
> def default_wait
|
205
206
|
|
@@ -207,7 +208,7 @@ Returns the value of attribute default_wait
|
|
207
208
|
|
208
209
|
--
|
209
210
|
|
210
|
-
##### [appium_port](https://github.com/appium/ruby_lib/blob/
|
211
|
+
##### [appium_port](https://github.com/appium/ruby_lib/blob/5588ca7d9e97759888dca3bf4f2f273c2131fc08/lib/appium_lib/driver.rb#L45)
|
211
212
|
|
212
213
|
> def appium_port
|
213
214
|
|
@@ -215,7 +216,7 @@ Returns the value of attribute appium_port
|
|
215
216
|
|
216
217
|
--
|
217
218
|
|
218
|
-
##### [appium_device](https://github.com/appium/ruby_lib/blob/
|
219
|
+
##### [appium_device](https://github.com/appium/ruby_lib/blob/5588ca7d9e97759888dca3bf4f2f273c2131fc08/lib/appium_lib/driver.rb#L46)
|
219
220
|
|
220
221
|
> def appium_device
|
221
222
|
|
@@ -223,7 +224,7 @@ Returns the value of attribute appium_device
|
|
223
224
|
|
224
225
|
--
|
225
226
|
|
226
|
-
##### [automation_name](https://github.com/appium/ruby_lib/blob/
|
227
|
+
##### [automation_name](https://github.com/appium/ruby_lib/blob/5588ca7d9e97759888dca3bf4f2f273c2131fc08/lib/appium_lib/driver.rb#L47)
|
227
228
|
|
228
229
|
> def automation_name
|
229
230
|
|
@@ -231,7 +232,7 @@ Returns the value of attribute automation_name
|
|
231
232
|
|
232
233
|
--
|
233
234
|
|
234
|
-
##### [listener](https://github.com/appium/ruby_lib/blob/
|
235
|
+
##### [listener](https://github.com/appium/ruby_lib/blob/5588ca7d9e97759888dca3bf4f2f273c2131fc08/lib/appium_lib/driver.rb#L48)
|
235
236
|
|
236
237
|
> def listener
|
237
238
|
|
@@ -239,7 +240,7 @@ Returns the value of attribute listener
|
|
239
240
|
|
240
241
|
--
|
241
242
|
|
242
|
-
##### [http_client](https://github.com/appium/ruby_lib/blob/
|
243
|
+
##### [http_client](https://github.com/appium/ruby_lib/blob/5588ca7d9e97759888dca3bf4f2f273c2131fc08/lib/appium_lib/driver.rb#L49)
|
243
244
|
|
244
245
|
> def http_client
|
245
246
|
|
@@ -247,7 +248,7 @@ Returns the value of attribute http_client
|
|
247
248
|
|
248
249
|
--
|
249
250
|
|
250
|
-
##### [appium_wait_timeout](https://github.com/appium/ruby_lib/blob/
|
251
|
+
##### [appium_wait_timeout](https://github.com/appium/ruby_lib/blob/5588ca7d9e97759888dca3bf4f2f273c2131fc08/lib/appium_lib/driver.rb#L50)
|
251
252
|
|
252
253
|
> def appium_wait_timeout
|
253
254
|
|
@@ -255,7 +256,7 @@ Returns the value of attribute appium_wait_timeout
|
|
255
256
|
|
256
257
|
--
|
257
258
|
|
258
|
-
##### [appium_wait_interval](https://github.com/appium/ruby_lib/blob/
|
259
|
+
##### [appium_wait_interval](https://github.com/appium/ruby_lib/blob/5588ca7d9e97759888dca3bf4f2f273c2131fc08/lib/appium_lib/driver.rb#L51)
|
259
260
|
|
260
261
|
> def appium_wait_interval
|
261
262
|
|
@@ -263,7 +264,7 @@ Returns the value of attribute appium_wait_interval
|
|
263
264
|
|
264
265
|
--
|
265
266
|
|
266
|
-
##### [appium_server_status](https://github.com/appium/ruby_lib/blob/
|
267
|
+
##### [appium_server_status](https://github.com/appium/ruby_lib/blob/5588ca7d9e97759888dca3bf4f2f273c2131fc08/lib/appium_lib/driver.rb#L54)
|
267
268
|
|
268
269
|
> def appium_server_status
|
269
270
|
|
@@ -271,7 +272,7 @@ Appium's server version
|
|
271
272
|
|
272
273
|
--
|
273
274
|
|
274
|
-
##### [appium_debug](https://github.com/appium/ruby_lib/blob/
|
275
|
+
##### [appium_debug](https://github.com/appium/ruby_lib/blob/5588ca7d9e97759888dca3bf4f2f273c2131fc08/lib/appium_lib/driver.rb#L56)
|
275
276
|
|
276
277
|
> def appium_debug
|
277
278
|
|
@@ -279,7 +280,7 @@ Boolean debug mode for the Appium Ruby bindings
|
|
279
280
|
|
280
281
|
--
|
281
282
|
|
282
|
-
##### [driver](https://github.com/appium/ruby_lib/blob/
|
283
|
+
##### [driver](https://github.com/appium/ruby_lib/blob/5588ca7d9e97759888dca3bf4f2f273c2131fc08/lib/appium_lib/driver.rb#L59)
|
283
284
|
|
284
285
|
> def driver
|
285
286
|
|
@@ -291,7 +292,7 @@ __Returns:__
|
|
291
292
|
|
292
293
|
--
|
293
294
|
|
294
|
-
##### [core](https://github.com/appium/ruby_lib/blob/
|
295
|
+
##### [core](https://github.com/appium/ruby_lib/blob/5588ca7d9e97759888dca3bf4f2f273c2131fc08/lib/appium_lib/driver.rb#L61)
|
295
296
|
|
296
297
|
> def core
|
297
298
|
|
@@ -299,7 +300,7 @@ Instance of Appium::Core::Driver
|
|
299
300
|
|
300
301
|
--
|
301
302
|
|
302
|
-
##### [initialize](https://github.com/appium/ruby_lib/blob/
|
303
|
+
##### [initialize](https://github.com/appium/ruby_lib/blob/5588ca7d9e97759888dca3bf4f2f273c2131fc08/lib/appium_lib/driver.rb#L125)
|
303
304
|
|
304
305
|
> def initialize(opts = {}, global_driver = nil)
|
305
306
|
|
@@ -318,7 +319,7 @@ __Returns:__
|
|
318
319
|
|
319
320
|
--
|
320
321
|
|
321
|
-
##### [driver_attributes](https://github.com/appium/ruby_lib/blob/
|
322
|
+
##### [driver_attributes](https://github.com/appium/ruby_lib/blob/5588ca7d9e97759888dca3bf4f2f273c2131fc08/lib/appium_lib/driver.rb#L235)
|
322
323
|
|
323
324
|
> def driver_attributes
|
324
325
|
|
@@ -326,7 +327,7 @@ Returns a hash of the driver attributes
|
|
326
327
|
|
327
328
|
--
|
328
329
|
|
329
|
-
##### [device_is_android?](https://github.com/appium/ruby_lib/blob/
|
330
|
+
##### [device_is_android?](https://github.com/appium/ruby_lib/blob/5588ca7d9e97759888dca3bf4f2f273c2131fc08/lib/appium_lib/driver.rb#L255)
|
330
331
|
|
331
332
|
> def device_is_android?
|
332
333
|
|
@@ -338,7 +339,7 @@ __Returns:__
|
|
338
339
|
|
339
340
|
--
|
340
341
|
|
341
|
-
##### [device_is_ios?](https://github.com/appium/ruby_lib/blob/
|
342
|
+
##### [device_is_ios?](https://github.com/appium/ruby_lib/blob/5588ca7d9e97759888dca3bf4f2f273c2131fc08/lib/appium_lib/driver.rb#L259)
|
342
343
|
|
343
344
|
> def device_is_ios?
|
344
345
|
|
@@ -350,7 +351,7 @@ __Returns:__
|
|
350
351
|
|
351
352
|
--
|
352
353
|
|
353
|
-
##### [device_is_windows?](https://github.com/appium/ruby_lib/blob/
|
354
|
+
##### [device_is_windows?](https://github.com/appium/ruby_lib/blob/5588ca7d9e97759888dca3bf4f2f273c2131fc08/lib/appium_lib/driver.rb#L263)
|
354
355
|
|
355
356
|
> def device_is_windows?
|
356
357
|
|
@@ -362,7 +363,7 @@ __Returns:__
|
|
362
363
|
|
363
364
|
--
|
364
365
|
|
365
|
-
##### [automation_name_is_uiautomator2?](https://github.com/appium/ruby_lib/blob/
|
366
|
+
##### [automation_name_is_uiautomator2?](https://github.com/appium/ruby_lib/blob/5588ca7d9e97759888dca3bf4f2f273c2131fc08/lib/appium_lib/driver.rb#L269)
|
366
367
|
|
367
368
|
> def automation_name_is_uiautomator2?
|
368
369
|
|
@@ -374,7 +375,7 @@ __Returns:__
|
|
374
375
|
|
375
376
|
--
|
376
377
|
|
377
|
-
##### [automation_name_is_espresso?](https://github.com/appium/ruby_lib/blob/
|
378
|
+
##### [automation_name_is_espresso?](https://github.com/appium/ruby_lib/blob/5588ca7d9e97759888dca3bf4f2f273c2131fc08/lib/appium_lib/driver.rb#L275)
|
378
379
|
|
379
380
|
> def automation_name_is_espresso?
|
380
381
|
|
@@ -386,7 +387,7 @@ __Returns:__
|
|
386
387
|
|
387
388
|
--
|
388
389
|
|
389
|
-
##### [automation_name_is_xcuitest?](https://github.com/appium/ruby_lib/blob/
|
390
|
+
##### [automation_name_is_xcuitest?](https://github.com/appium/ruby_lib/blob/5588ca7d9e97759888dca3bf4f2f273c2131fc08/lib/appium_lib/driver.rb#L281)
|
390
391
|
|
391
392
|
> def automation_name_is_xcuitest?
|
392
393
|
|
@@ -398,7 +399,7 @@ __Returns:__
|
|
398
399
|
|
399
400
|
--
|
400
401
|
|
401
|
-
##### [check_server_version_xcuitest](https://github.com/appium/ruby_lib/blob/
|
402
|
+
##### [check_server_version_xcuitest](https://github.com/appium/ruby_lib/blob/5588ca7d9e97759888dca3bf4f2f273c2131fc08/lib/appium_lib/driver.rb#L288)
|
402
403
|
|
403
404
|
> def check_server_version_xcuitest
|
404
405
|
|
@@ -411,7 +412,7 @@ __Returns:__
|
|
411
412
|
|
412
413
|
--
|
413
414
|
|
414
|
-
##### [appium_server_version](https://github.com/appium/ruby_lib/blob/
|
415
|
+
##### [appium_server_version](https://github.com/appium/ruby_lib/blob/5588ca7d9e97759888dca3bf4f2f273c2131fc08/lib/appium_lib/driver.rb#L309)
|
415
416
|
|
416
417
|
> def appium_server_version
|
417
418
|
|
@@ -423,7 +424,19 @@ __Returns:__
|
|
423
424
|
|
424
425
|
--
|
425
426
|
|
426
|
-
##### [
|
427
|
+
##### [remote_status](https://github.com/appium/ruby_lib/blob/5588ca7d9e97759888dca3bf4f2f273c2131fc08/lib/appium_lib/driver.rb#L316)
|
428
|
+
|
429
|
+
> def appium_server_version
|
430
|
+
|
431
|
+
Returns the server's version info
|
432
|
+
|
433
|
+
__Returns:__
|
434
|
+
|
435
|
+
[Hash]
|
436
|
+
|
437
|
+
--
|
438
|
+
|
439
|
+
##### [platform_version](https://github.com/appium/ruby_lib/blob/5588ca7d9e97759888dca3bf4f2f273c2131fc08/lib/appium_lib/driver.rb#L320)
|
427
440
|
|
428
441
|
> def platform_version
|
429
442
|
|
@@ -435,7 +448,7 @@ __Returns:__
|
|
435
448
|
|
436
449
|
--
|
437
450
|
|
438
|
-
##### [appium_client_version](https://github.com/appium/ruby_lib/blob/
|
451
|
+
##### [appium_client_version](https://github.com/appium/ruby_lib/blob/5588ca7d9e97759888dca3bf4f2f273c2131fc08/lib/appium_lib/driver.rb#L333)
|
439
452
|
|
440
453
|
> def appium_client_version
|
441
454
|
|
@@ -447,7 +460,7 @@ __Returns:__
|
|
447
460
|
|
448
461
|
--
|
449
462
|
|
450
|
-
##### [absolute_app_path](https://github.com/appium/ruby_lib/blob/
|
463
|
+
##### [absolute_app_path](https://github.com/appium/ruby_lib/blob/5588ca7d9e97759888dca3bf4f2f273c2131fc08/lib/appium_lib/driver.rb#L345)
|
451
464
|
|
452
465
|
> def self.absolute_app_path(opts)
|
453
466
|
|
@@ -464,7 +477,7 @@ __Returns:__
|
|
464
477
|
|
465
478
|
--
|
466
479
|
|
467
|
-
##### [server_url](https://github.com/appium/ruby_lib/blob/
|
480
|
+
##### [server_url](https://github.com/appium/ruby_lib/blob/5588ca7d9e97759888dca3bf4f2f273c2131fc08/lib/appium_lib/driver.rb#L378)
|
468
481
|
|
469
482
|
> def server_url
|
470
483
|
|
@@ -476,7 +489,7 @@ __Returns:__
|
|
476
489
|
|
477
490
|
--
|
478
491
|
|
479
|
-
##### [restart](https://github.com/appium/ruby_lib/blob/
|
492
|
+
##### [restart](https://github.com/appium/ruby_lib/blob/5588ca7d9e97759888dca3bf4f2f273c2131fc08/lib/appium_lib/driver.rb#L386)
|
480
493
|
|
481
494
|
> def restart
|
482
495
|
|
@@ -488,7 +501,7 @@ __Returns:__
|
|
488
501
|
|
489
502
|
--
|
490
503
|
|
491
|
-
##### [screenshot](https://github.com/appium/ruby_lib/blob/
|
504
|
+
##### [screenshot](https://github.com/appium/ruby_lib/blob/5588ca7d9e97759888dca3bf4f2f273c2131fc08/lib/appium_lib/driver.rb#L399)
|
492
505
|
|
493
506
|
> def screenshot(png_save_path)
|
494
507
|
|
@@ -504,7 +517,7 @@ __Returns:__
|
|
504
517
|
|
505
518
|
--
|
506
519
|
|
507
|
-
##### [driver_quit](https://github.com/appium/ruby_lib/blob/
|
520
|
+
##### [driver_quit](https://github.com/appium/ruby_lib/blob/5588ca7d9e97759888dca3bf4f2f273c2131fc08/lib/appium_lib/driver.rb#L406)
|
508
521
|
|
509
522
|
> def driver_quit
|
510
523
|
|
@@ -516,7 +529,7 @@ __Returns:__
|
|
516
529
|
|
517
530
|
--
|
518
531
|
|
519
|
-
##### [quit_driver](https://github.com/appium/ruby_lib/blob/
|
532
|
+
##### [quit_driver](https://github.com/appium/ruby_lib/blob/5588ca7d9e97759888dca3bf4f2f273c2131fc08/lib/appium_lib/driver.rb#L409)
|
520
533
|
|
521
534
|
> def driver_quit
|
522
535
|
|
@@ -528,7 +541,7 @@ __Returns:__
|
|
528
541
|
|
529
542
|
--
|
530
543
|
|
531
|
-
##### [window_size](https://github.com/appium/ruby_lib/blob/
|
544
|
+
##### [window_size](https://github.com/appium/ruby_lib/blob/5588ca7d9e97759888dca3bf4f2f273c2131fc08/lib/appium_lib/driver.rb#L420)
|
532
545
|
|
533
546
|
> def window_size
|
534
547
|
|
@@ -540,13 +553,16 @@ __Returns:__
|
|
540
553
|
|
541
554
|
--
|
542
555
|
|
543
|
-
##### [start_driver](https://github.com/appium/ruby_lib/blob/
|
556
|
+
##### [start_driver](https://github.com/appium/ruby_lib/blob/5588ca7d9e97759888dca3bf4f2f273c2131fc08/lib/appium_lib/driver.rb#L452)
|
544
557
|
|
545
558
|
> def start_driver(http_client_ops =
|
546
559
|
|
547
560
|
Creates a new global driver and quits the old one if it exists.
|
548
561
|
You can customise http_client as the following
|
549
562
|
|
563
|
+
Read http://www.rubydoc.info/github/appium/ruby_lib_core/Appium/Core/Device to understand more what the driver
|
564
|
+
can call instance methods.
|
565
|
+
|
550
566
|
__Parameters:__
|
551
567
|
|
552
568
|
[Hash] http_client_ops - a customizable set of options
|
@@ -557,7 +573,7 @@ __Returns:__
|
|
557
573
|
|
558
574
|
--
|
559
575
|
|
560
|
-
##### [set_implicit_wait](https://github.com/appium/ruby_lib/blob/
|
576
|
+
##### [set_implicit_wait](https://github.com/appium/ruby_lib/blob/5588ca7d9e97759888dca3bf4f2f273c2131fc08/lib/appium_lib/driver.rb#L476)
|
561
577
|
|
562
578
|
> def set_implicit_wait(wait)
|
563
579
|
|
@@ -565,7 +581,7 @@ To ignore error for Espresso Driver
|
|
565
581
|
|
566
582
|
--
|
567
583
|
|
568
|
-
##### [no_wait](https://github.com/appium/ruby_lib/blob/
|
584
|
+
##### [no_wait](https://github.com/appium/ruby_lib/blob/5588ca7d9e97759888dca3bf4f2f273c2131fc08/lib/appium_lib/driver.rb#L486)
|
569
585
|
|
570
586
|
> def no_wait
|
571
587
|
|
@@ -573,7 +589,7 @@ Set implicit wait to zero.
|
|
573
589
|
|
574
590
|
--
|
575
591
|
|
576
|
-
##### [set_wait](https://github.com/appium/ruby_lib/blob/
|
592
|
+
##### [set_wait](https://github.com/appium/ruby_lib/blob/5588ca7d9e97759888dca3bf4f2f273c2131fc08/lib/appium_lib/driver.rb#L500)
|
577
593
|
|
578
594
|
> def set_wait(timeout = nil)
|
579
595
|
|
@@ -589,7 +605,7 @@ __Returns:__
|
|
589
605
|
|
590
606
|
--
|
591
607
|
|
592
|
-
##### [exists](https://github.com/appium/ruby_lib/blob/
|
608
|
+
##### [exists](https://github.com/appium/ruby_lib/blob/5588ca7d9e97759888dca3bf4f2f273c2131fc08/lib/appium_lib/driver.rb#L517)
|
593
609
|
|
594
610
|
> def exists(pre_check = 0, post_check = @core.default_wait)
|
595
611
|
|
@@ -613,7 +629,7 @@ __Returns:__
|
|
613
629
|
|
614
630
|
--
|
615
631
|
|
616
|
-
##### [execute_script](https://github.com/appium/ruby_lib/blob/
|
632
|
+
##### [execute_script](https://github.com/appium/ruby_lib/blob/5588ca7d9e97759888dca3bf4f2f273c2131fc08/lib/appium_lib/driver.rb#L541)
|
617
633
|
|
618
634
|
> def execute_script(script, *args)
|
619
635
|
|
@@ -631,7 +647,7 @@ __Returns:__
|
|
631
647
|
|
632
648
|
--
|
633
649
|
|
634
|
-
##### [find_elements](https://github.com/appium/ruby_lib/blob/
|
650
|
+
##### [find_elements](https://github.com/appium/ruby_lib/blob/5588ca7d9e97759888dca3bf4f2f273c2131fc08/lib/appium_lib/driver.rb#L563)
|
635
651
|
|
636
652
|
> def find_elements(*args)
|
637
653
|
|
@@ -651,7 +667,7 @@ __Returns:__
|
|
651
667
|
|
652
668
|
--
|
653
669
|
|
654
|
-
##### [find_element](https://github.com/appium/ruby_lib/blob/
|
670
|
+
##### [find_element](https://github.com/appium/ruby_lib/blob/5588ca7d9e97759888dca3bf4f2f273c2131fc08/lib/appium_lib/driver.rb#L578)
|
655
671
|
|
656
672
|
> def find_element(*args)
|
657
673
|
|
@@ -669,7 +685,7 @@ __Returns:__
|
|
669
685
|
|
670
686
|
--
|
671
687
|
|
672
|
-
##### [set_location](https://github.com/appium/ruby_lib/blob/
|
688
|
+
##### [set_location](https://github.com/appium/ruby_lib/blob/5588ca7d9e97759888dca3bf4f2f273c2131fc08/lib/appium_lib/driver.rb#L591)
|
673
689
|
|
674
690
|
> def set_location(opts = {})
|
675
691
|
|
@@ -685,7 +701,7 @@ __Returns:__
|
|
685
701
|
|
686
702
|
--
|
687
703
|
|
688
|
-
##### [x](https://github.com/appium/ruby_lib/blob/
|
704
|
+
##### [x](https://github.com/appium/ruby_lib/blob/5588ca7d9e97759888dca3bf4f2f273c2131fc08/lib/appium_lib/driver.rb#L601)
|
689
705
|
|
690
706
|
> def x
|
691
707
|
|
@@ -698,7 +714,7 @@ __Returns:__
|
|
698
714
|
|
699
715
|
--
|
700
716
|
|
701
|
-
##### [username](https://github.com/appium/ruby_lib/blob/
|
717
|
+
##### [username](https://github.com/appium/ruby_lib/blob/5588ca7d9e97759888dca3bf4f2f273c2131fc08/lib/appium_lib/sauce_labs.rb#L4)
|
702
718
|
|
703
719
|
> def username
|
704
720
|
|
@@ -706,7 +722,7 @@ Username for use on Sauce Labs. Set `false` to disable Sauce, even when SAUCE_US
|
|
706
722
|
|
707
723
|
--
|
708
724
|
|
709
|
-
##### [access_key](https://github.com/appium/ruby_lib/blob/
|
725
|
+
##### [access_key](https://github.com/appium/ruby_lib/blob/5588ca7d9e97759888dca3bf4f2f273c2131fc08/lib/appium_lib/sauce_labs.rb#L6)
|
710
726
|
|
711
727
|
> def access_key
|
712
728
|
|
@@ -714,7 +730,7 @@ Access Key for use on Sauce Labs. Set `false` to disable Sauce, even when SAUCE_
|
|
714
730
|
|
715
731
|
--
|
716
732
|
|
717
|
-
##### [endpoint](https://github.com/appium/ruby_lib/blob/
|
733
|
+
##### [endpoint](https://github.com/appium/ruby_lib/blob/5588ca7d9e97759888dca3bf4f2f273c2131fc08/lib/appium_lib/sauce_labs.rb#L8)
|
718
734
|
|
719
735
|
> def endpoint
|
720
736
|
|
@@ -722,7 +738,7 @@ Override the Sauce Appium endpoint to allow e.g. TestObject tests. Default is 'o
|
|
722
738
|
|
723
739
|
--
|
724
740
|
|
725
|
-
##### [initialize](https://github.com/appium/ruby_lib/blob/
|
741
|
+
##### [initialize](https://github.com/appium/ruby_lib/blob/5588ca7d9e97759888dca3bf4f2f273c2131fc08/lib/appium_lib/sauce_labs.rb#L33)
|
726
742
|
|
727
743
|
> def initialize(appium_lib_opts)
|
728
744
|
|
@@ -738,7 +754,7 @@ __Returns:__
|
|
738
754
|
|
739
755
|
--
|
740
756
|
|
741
|
-
##### [sauce_server_url?](https://github.com/appium/ruby_lib/blob/
|
757
|
+
##### [sauce_server_url?](https://github.com/appium/ruby_lib/blob/5588ca7d9e97759888dca3bf4f2f273c2131fc08/lib/appium_lib/sauce_labs.rb#L53)
|
742
758
|
|
743
759
|
> def sauce_server_url?
|
744
760
|
|
@@ -750,7 +766,7 @@ __Returns:__
|
|
750
766
|
|
751
767
|
--
|
752
768
|
|
753
|
-
##### [server_url](https://github.com/appium/ruby_lib/blob/
|
769
|
+
##### [server_url](https://github.com/appium/ruby_lib/blob/5588ca7d9e97759888dca3bf4f2f273c2131fc08/lib/appium_lib/sauce_labs.rb#L66)
|
754
770
|
|
755
771
|
> def server_url
|
756
772
|
|
@@ -762,7 +778,7 @@ __Returns:__
|
|
762
778
|
|
763
779
|
--
|
764
780
|
|
765
|
-
##### [get_log](https://github.com/appium/ruby_lib/blob/
|
781
|
+
##### [get_log](https://github.com/appium/ruby_lib/blob/5588ca7d9e97759888dca3bf4f2f273c2131fc08/lib/appium_lib/common/log.rb#L11)
|
766
782
|
|
767
783
|
> def get_log(type)
|
768
784
|
|
@@ -778,7 +794,7 @@ __Returns:__
|
|
778
794
|
|
779
795
|
--
|
780
796
|
|
781
|
-
##### [get_available_log_types](https://github.com/appium/ruby_lib/blob/
|
797
|
+
##### [get_available_log_types](https://github.com/appium/ruby_lib/blob/5588ca7d9e97759888dca3bf4f2f273c2131fc08/lib/appium_lib/common/log.rb#L23)
|
782
798
|
|
783
799
|
> def get_available_log_types
|
784
800
|
|
@@ -790,7 +806,7 @@ __Returns:__
|
|
790
806
|
|
791
807
|
--
|
792
808
|
|
793
|
-
##### [initialize](https://github.com/appium/ruby_lib/blob/
|
809
|
+
##### [initialize](https://github.com/appium/ruby_lib/blob/5588ca7d9e97759888dca3bf4f2f273c2131fc08/lib/appium_lib/common/wait.rb#L6)
|
794
810
|
|
795
811
|
> def initialize(opts = {})
|
796
812
|
|
@@ -802,7 +818,7 @@ __Returns:__
|
|
802
818
|
|
803
819
|
--
|
804
820
|
|
805
|
-
##### [wait_true](https://github.com/appium/ruby_lib/blob/
|
821
|
+
##### [wait_true](https://github.com/appium/ruby_lib/blob/5588ca7d9e97759888dca3bf4f2f273c2131fc08/lib/appium_lib/common/wait.rb#L26)
|
806
822
|
|
807
823
|
> def wait_true(opts = {})
|
808
824
|
|
@@ -822,7 +838,7 @@ __Parameters:__
|
|
822
838
|
|
823
839
|
--
|
824
840
|
|
825
|
-
##### [wait](https://github.com/appium/ruby_lib/blob/
|
841
|
+
##### [wait](https://github.com/appium/ruby_lib/blob/5588ca7d9e97759888dca3bf4f2f273c2131fc08/lib/appium_lib/common/wait.rb#L43)
|
826
842
|
|
827
843
|
> def wait(opts = {})
|
828
844
|
|
@@ -840,7 +856,7 @@ __Parameters:__
|
|
840
856
|
|
841
857
|
--
|
842
858
|
|
843
|
-
##### [add_touch_actions](https://github.com/appium/ruby_lib/blob/
|
859
|
+
##### [add_touch_actions](https://github.com/appium/ruby_lib/blob/5588ca7d9e97759888dca3bf4f2f273c2131fc08/lib/appium_lib/common/device.rb#L12)
|
844
860
|
|
845
861
|
> def add_touch_actions
|
846
862
|
|
@@ -848,7 +864,7 @@ __Parameters:__
|
|
848
864
|
|
849
865
|
--
|
850
866
|
|
851
|
-
##### [ignore](https://github.com/appium/ruby_lib/blob/
|
867
|
+
##### [ignore](https://github.com/appium/ruby_lib/blob/5588ca7d9e97759888dca3bf4f2f273c2131fc08/lib/appium_lib/common/helper.rb#L16)
|
852
868
|
|
853
869
|
> def ignore
|
854
870
|
|
@@ -856,7 +872,7 @@ Return yield and ignore any exceptions.
|
|
856
872
|
|
857
873
|
--
|
858
874
|
|
859
|
-
##### [back](https://github.com/appium/ruby_lib/blob/
|
875
|
+
##### [back](https://github.com/appium/ruby_lib/blob/5588ca7d9e97759888dca3bf4f2f273c2131fc08/lib/appium_lib/common/helper.rb#L23)
|
860
876
|
|
861
877
|
> def back
|
862
878
|
|
@@ -868,7 +884,7 @@ __Returns:__
|
|
868
884
|
|
869
885
|
--
|
870
886
|
|
871
|
-
##### [session_id](https://github.com/appium/ruby_lib/blob/
|
887
|
+
##### [session_id](https://github.com/appium/ruby_lib/blob/5588ca7d9e97759888dca3bf4f2f273c2131fc08/lib/appium_lib/common/helper.rb#L34)
|
872
888
|
|
873
889
|
> def session_id
|
874
890
|
|
@@ -880,7 +896,7 @@ __Returns:__
|
|
880
896
|
|
881
897
|
--
|
882
898
|
|
883
|
-
##### [xpath](https://github.com/appium/ruby_lib/blob/
|
899
|
+
##### [xpath](https://github.com/appium/ruby_lib/blob/5588ca7d9e97759888dca3bf4f2f273c2131fc08/lib/appium_lib/common/helper.rb#L42)
|
884
900
|
|
885
901
|
> def xpath(xpath_str)
|
886
902
|
|
@@ -896,7 +912,7 @@ __Returns:__
|
|
896
912
|
|
897
913
|
--
|
898
914
|
|
899
|
-
##### [xpaths](https://github.com/appium/ruby_lib/blob/
|
915
|
+
##### [xpaths](https://github.com/appium/ruby_lib/blob/5588ca7d9e97759888dca3bf4f2f273c2131fc08/lib/appium_lib/common/helper.rb#L50)
|
900
916
|
|
901
917
|
> def xpaths(xpath_str)
|
902
918
|
|
@@ -912,7 +928,7 @@ __Returns:__
|
|
912
928
|
|
913
929
|
--
|
914
930
|
|
915
|
-
##### [result](https://github.com/appium/ruby_lib/blob/
|
931
|
+
##### [result](https://github.com/appium/ruby_lib/blob/5588ca7d9e97759888dca3bf4f2f273c2131fc08/lib/appium_lib/common/helper.rb#L60)
|
916
932
|
|
917
933
|
> def result
|
918
934
|
|
@@ -920,7 +936,7 @@ Returns the value of attribute result
|
|
920
936
|
|
921
937
|
--
|
922
938
|
|
923
|
-
##### [initialize](https://github.com/appium/ruby_lib/blob/
|
939
|
+
##### [initialize](https://github.com/appium/ruby_lib/blob/5588ca7d9e97759888dca3bf4f2f273c2131fc08/lib/appium_lib/common/helper.rb#L62)
|
924
940
|
|
925
941
|
> def initialize
|
926
942
|
|
@@ -932,7 +948,7 @@ __Returns:__
|
|
932
948
|
|
933
949
|
--
|
934
950
|
|
935
|
-
##### [reset](https://github.com/appium/ruby_lib/blob/
|
951
|
+
##### [reset](https://github.com/appium/ruby_lib/blob/5588ca7d9e97759888dca3bf4f2f273c2131fc08/lib/appium_lib/common/helper.rb#L66)
|
936
952
|
|
937
953
|
> def reset
|
938
954
|
|
@@ -940,7 +956,7 @@ __Returns:__
|
|
940
956
|
|
941
957
|
--
|
942
958
|
|
943
|
-
##### [start_element](https://github.com/appium/ruby_lib/blob/
|
959
|
+
##### [start_element](https://github.com/appium/ruby_lib/blob/5588ca7d9e97759888dca3bf4f2f273c2131fc08/lib/appium_lib/common/helper.rb#L71)
|
944
960
|
|
945
961
|
> def start_element(name, attrs = [], driver = $driver)
|
946
962
|
|
@@ -948,7 +964,7 @@ http://nokogiri.org/Nokogiri/XML/SAX/Document.html
|
|
948
964
|
|
949
965
|
--
|
950
966
|
|
951
|
-
##### [formatted_result](https://github.com/appium/ruby_lib/blob/
|
967
|
+
##### [formatted_result](https://github.com/appium/ruby_lib/blob/5588ca7d9e97759888dca3bf4f2f273c2131fc08/lib/appium_lib/common/helper.rb#L77)
|
952
968
|
|
953
969
|
> def formatted_result
|
954
970
|
|
@@ -956,7 +972,7 @@ http://nokogiri.org/Nokogiri/XML/SAX/Document.html
|
|
956
972
|
|
957
973
|
--
|
958
974
|
|
959
|
-
##### [get_page_class](https://github.com/appium/ruby_lib/blob/
|
975
|
+
##### [get_page_class](https://github.com/appium/ruby_lib/blob/5588ca7d9e97759888dca3bf4f2f273c2131fc08/lib/appium_lib/common/helper.rb#L96)
|
960
976
|
|
961
977
|
> def get_page_class
|
962
978
|
|
@@ -968,7 +984,7 @@ __Returns:__
|
|
968
984
|
|
969
985
|
--
|
970
986
|
|
971
|
-
##### [page_class](https://github.com/appium/ruby_lib/blob/
|
987
|
+
##### [page_class](https://github.com/appium/ruby_lib/blob/5588ca7d9e97759888dca3bf4f2f273c2131fc08/lib/appium_lib/common/helper.rb#L121)
|
972
988
|
|
973
989
|
> def page_class
|
974
990
|
|
@@ -981,7 +997,7 @@ __Returns:__
|
|
981
997
|
|
982
998
|
--
|
983
999
|
|
984
|
-
##### [source](https://github.com/appium/ruby_lib/blob/
|
1000
|
+
##### [source](https://github.com/appium/ruby_lib/blob/5588ca7d9e97759888dca3bf4f2f273c2131fc08/lib/appium_lib/common/helper.rb#L128)
|
985
1001
|
|
986
1002
|
> def source
|
987
1003
|
|
@@ -993,7 +1009,7 @@ __Returns:__
|
|
993
1009
|
|
994
1010
|
--
|
995
1011
|
|
996
|
-
##### [get_source](https://github.com/appium/ruby_lib/blob/
|
1012
|
+
##### [get_source](https://github.com/appium/ruby_lib/blob/5588ca7d9e97759888dca3bf4f2f273c2131fc08/lib/appium_lib/common/helper.rb#L135)
|
997
1013
|
|
998
1014
|
> def get_source
|
999
1015
|
|
@@ -1006,7 +1022,7 @@ __Returns:__
|
|
1006
1022
|
|
1007
1023
|
--
|
1008
1024
|
|
1009
|
-
##### [px_to_window_rel](https://github.com/appium/ruby_lib/blob/
|
1025
|
+
##### [px_to_window_rel](https://github.com/appium/ruby_lib/blob/5588ca7d9e97759888dca3bf4f2f273c2131fc08/lib/appium_lib/common/helper.rb#L145)
|
1010
1026
|
|
1011
1027
|
> def px_to_window_rel(opts = {}, driver = $driver)
|
1012
1028
|
|
@@ -1014,7 +1030,7 @@ Converts pixel values to window relative values
|
|
1014
1030
|
|
1015
1031
|
--
|
1016
1032
|
|
1017
|
-
##### [xml_keys](https://github.com/appium/ruby_lib/blob/
|
1033
|
+
##### [xml_keys](https://github.com/appium/ruby_lib/blob/5588ca7d9e97759888dca3bf4f2f273c2131fc08/lib/appium_lib/common/helper.rb#L164)
|
1018
1034
|
|
1019
1035
|
> def xml_keys(target)
|
1020
1036
|
|
@@ -1030,7 +1046,7 @@ __Returns:__
|
|
1030
1046
|
|
1031
1047
|
--
|
1032
1048
|
|
1033
|
-
##### [xml_values](https://github.com/appium/ruby_lib/blob/
|
1049
|
+
##### [xml_values](https://github.com/appium/ruby_lib/blob/5588ca7d9e97759888dca3bf4f2f273c2131fc08/lib/appium_lib/common/helper.rb#L172)
|
1034
1050
|
|
1035
1051
|
> def xml_values(target)
|
1036
1052
|
|
@@ -1046,7 +1062,7 @@ __Returns:__
|
|
1046
1062
|
|
1047
1063
|
--
|
1048
1064
|
|
1049
|
-
##### [resolve_id](https://github.com/appium/ruby_lib/blob/
|
1065
|
+
##### [resolve_id](https://github.com/appium/ruby_lib/blob/5588ca7d9e97759888dca3bf4f2f273c2131fc08/lib/appium_lib/common/helper.rb#L180)
|
1050
1066
|
|
1051
1067
|
> def resolve_id(id)
|
1052
1068
|
|
@@ -1062,7 +1078,7 @@ __Returns:__
|
|
1062
1078
|
|
1063
1079
|
--
|
1064
1080
|
|
1065
|
-
##### [filter](https://github.com/appium/ruby_lib/blob/
|
1081
|
+
##### [filter](https://github.com/appium/ruby_lib/blob/5588ca7d9e97759888dca3bf4f2f273c2131fc08/lib/appium_lib/common/helper.rb#L187)
|
1066
1082
|
|
1067
1083
|
> def filter
|
1068
1084
|
|
@@ -1070,7 +1086,7 @@ Returns the value of attribute filter
|
|
1070
1086
|
|
1071
1087
|
--
|
1072
1088
|
|
1073
|
-
##### [filter=](https://github.com/appium/ruby_lib/blob/
|
1089
|
+
##### [filter=](https://github.com/appium/ruby_lib/blob/5588ca7d9e97759888dca3bf4f2f273c2131fc08/lib/appium_lib/common/helper.rb#L190)
|
1074
1090
|
|
1075
1091
|
> def filter=(value)
|
1076
1092
|
|
@@ -1078,7 +1094,7 @@ convert to string to support symbols
|
|
1078
1094
|
|
1079
1095
|
--
|
1080
1096
|
|
1081
|
-
##### [initialize](https://github.com/appium/ruby_lib/blob/
|
1097
|
+
##### [initialize](https://github.com/appium/ruby_lib/blob/5588ca7d9e97759888dca3bf4f2f273c2131fc08/lib/appium_lib/common/helper.rb#L196)
|
1082
1098
|
|
1083
1099
|
> def initialize
|
1084
1100
|
|
@@ -1090,7 +1106,7 @@ __Returns:__
|
|
1090
1106
|
|
1091
1107
|
--
|
1092
1108
|
|
1093
|
-
##### [reset](https://github.com/appium/ruby_lib/blob/
|
1109
|
+
##### [reset](https://github.com/appium/ruby_lib/blob/5588ca7d9e97759888dca3bf4f2f273c2131fc08/lib/appium_lib/common/helper.rb#L201)
|
1094
1110
|
|
1095
1111
|
> def reset
|
1096
1112
|
|
@@ -1098,7 +1114,7 @@ __Returns:__
|
|
1098
1114
|
|
1099
1115
|
--
|
1100
1116
|
|
1101
|
-
##### [result](https://github.com/appium/ruby_lib/blob/
|
1117
|
+
##### [result](https://github.com/appium/ruby_lib/blob/5588ca7d9e97759888dca3bf4f2f273c2131fc08/lib/appium_lib/common/helper.rb#L207)
|
1102
1118
|
|
1103
1119
|
> def result
|
1104
1120
|
|
@@ -1106,7 +1122,7 @@ __Returns:__
|
|
1106
1122
|
|
1107
1123
|
--
|
1108
1124
|
|
1109
|
-
##### [start_element](https://github.com/appium/ruby_lib/blob/
|
1125
|
+
##### [start_element](https://github.com/appium/ruby_lib/blob/5588ca7d9e97759888dca3bf4f2f273c2131fc08/lib/appium_lib/common/helper.rb#L223)
|
1110
1126
|
|
1111
1127
|
> def start_element(name, attrs = [])
|
1112
1128
|
|
@@ -1114,7 +1130,7 @@ __Returns:__
|
|
1114
1130
|
|
1115
1131
|
--
|
1116
1132
|
|
1117
|
-
##### [end_element](https://github.com/appium/ruby_lib/blob/
|
1133
|
+
##### [end_element](https://github.com/appium/ruby_lib/blob/5588ca7d9e97759888dca3bf4f2f273c2131fc08/lib/appium_lib/common/helper.rb#L232)
|
1118
1134
|
|
1119
1135
|
> def end_element(name)
|
1120
1136
|
|
@@ -1122,7 +1138,7 @@ __Returns:__
|
|
1122
1138
|
|
1123
1139
|
--
|
1124
1140
|
|
1125
|
-
##### [characters](https://github.com/appium/ruby_lib/blob/
|
1141
|
+
##### [characters](https://github.com/appium/ruby_lib/blob/5588ca7d9e97759888dca3bf4f2f273c2131fc08/lib/appium_lib/common/helper.rb#L238)
|
1126
1142
|
|
1127
1143
|
> def characters(chars)
|
1128
1144
|
|
@@ -1130,7 +1146,7 @@ __Returns:__
|
|
1130
1146
|
|
1131
1147
|
--
|
1132
1148
|
|
1133
|
-
##### [DEFAULT_HEADERS](https://github.com/appium/ruby_lib/blob/
|
1149
|
+
##### [DEFAULT_HEADERS](https://github.com/appium/ruby_lib/blob/5588ca7d9e97759888dca3bf4f2f273c2131fc08/lib/appium_lib/common/http_client.rb#L8)
|
1134
1150
|
|
1135
1151
|
> DEFAULT_HEADERS = { 'Accept' => CONTENT_TYPE, 'User-Agent' => "appium/ruby_lib/#{::Appium::VERSION}" }.freeze
|
1136
1152
|
|
@@ -1138,7 +1154,7 @@ Default HTTP client inherit Appium::Core::Base::Http::Default, but has different
|
|
1138
1154
|
|
1139
1155
|
--
|
1140
1156
|
|
1141
|
-
##### [pinch](https://github.com/appium/ruby_lib/blob/
|
1157
|
+
##### [pinch](https://github.com/appium/ruby_lib/blob/5588ca7d9e97759888dca3bf4f2f273c2131fc08/lib/appium_lib/common/multi_touch.rb#L51)
|
1142
1158
|
|
1143
1159
|
> def pinch(percentage = 25, auto_perform = true, driver = $driver)
|
1144
1160
|
|
@@ -1158,7 +1174,7 @@ __Parameters:__
|
|
1158
1174
|
|
1159
1175
|
--
|
1160
1176
|
|
1161
|
-
##### [zoom](https://github.com/appium/ruby_lib/blob/
|
1177
|
+
##### [zoom](https://github.com/appium/ruby_lib/blob/5588ca7d9e97759888dca3bf4f2f273c2131fc08/lib/appium_lib/common/multi_touch.rb#L95)
|
1162
1178
|
|
1163
1179
|
> def zoom(percentage = 200, auto_perform = true, driver = $driver)
|
1164
1180
|
|
@@ -1178,7 +1194,7 @@ __Parameters:__
|
|
1178
1194
|
|
1179
1195
|
--
|
1180
1196
|
|
1181
|
-
##### [initialize](https://github.com/appium/ruby_lib/blob/
|
1197
|
+
##### [initialize](https://github.com/appium/ruby_lib/blob/5588ca7d9e97759888dca3bf4f2f273c2131fc08/lib/appium_lib/common/multi_touch.rb#L216)
|
1182
1198
|
|
1183
1199
|
> def initialize(driver = $driver)
|
1184
1200
|
|
@@ -1190,7 +1206,7 @@ __Returns:__
|
|
1190
1206
|
|
1191
1207
|
--
|
1192
1208
|
|
1193
|
-
##### [COMPLEX_ACTIONS](https://github.com/appium/ruby_lib/blob/
|
1209
|
+
##### [COMPLEX_ACTIONS](https://github.com/appium/ruby_lib/blob/5588ca7d9e97759888dca3bf4f2f273c2131fc08/lib/appium_lib/common/touch_actions.rb#L33)
|
1194
1210
|
|
1195
1211
|
> COMPLEX_ACTIONS = ::Appium::Core::TouchAction::COMPLEX_ACTIONS
|
1196
1212
|
|
@@ -1198,7 +1214,7 @@ __Returns:__
|
|
1198
1214
|
|
1199
1215
|
--
|
1200
1216
|
|
1201
|
-
##### [initialize](https://github.com/appium/ruby_lib/blob/
|
1217
|
+
##### [initialize](https://github.com/appium/ruby_lib/blob/5588ca7d9e97759888dca3bf4f2f273c2131fc08/lib/appium_lib/common/touch_actions.rb#L47)
|
1202
1218
|
|
1203
1219
|
> def initialize(driver = $driver)
|
1204
1220
|
|
@@ -1210,7 +1226,7 @@ __Returns:__
|
|
1210
1226
|
|
1211
1227
|
--
|
1212
1228
|
|
1213
|
-
##### [swipe](https://github.com/appium/ruby_lib/blob/
|
1229
|
+
##### [swipe](https://github.com/appium/ruby_lib/blob/5588ca7d9e97759888dca3bf4f2f273c2131fc08/lib/appium_lib/common/touch_actions.rb#L51)
|
1214
1230
|
|
1215
1231
|
> def swipe(opts, ele = nil)
|
1216
1232
|
|
@@ -1218,7 +1234,7 @@ __Returns:__
|
|
1218
1234
|
|
1219
1235
|
--
|
1220
1236
|
|
1221
|
-
##### [for](https://github.com/appium/ruby_lib/blob/
|
1237
|
+
##### [for](https://github.com/appium/ruby_lib/blob/5588ca7d9e97759888dca3bf4f2f273c2131fc08/lib/appium_lib/ios/ios.rb#L15) ios
|
1222
1238
|
|
1223
1239
|
> def self.for(target)
|
1224
1240
|
|
@@ -1226,7 +1242,7 @@ __Returns:__
|
|
1226
1242
|
|
1227
1243
|
--
|
1228
1244
|
|
1229
|
-
##### [UIAStaticText](https://github.com/appium/ruby_lib/blob/
|
1245
|
+
##### [UIAStaticText](https://github.com/appium/ruby_lib/blob/5588ca7d9e97759888dca3bf4f2f273c2131fc08/lib/appium_lib/ios/element/text.rb#L4) ios
|
1230
1246
|
|
1231
1247
|
> UIAStaticText = 'UIAStaticText'.freeze
|
1232
1248
|
|
@@ -1234,7 +1250,7 @@ __Returns:__
|
|
1234
1250
|
|
1235
1251
|
--
|
1236
1252
|
|
1237
|
-
##### [XCUIElementTypeStaticText](https://github.com/appium/ruby_lib/blob/
|
1253
|
+
##### [XCUIElementTypeStaticText](https://github.com/appium/ruby_lib/blob/5588ca7d9e97759888dca3bf4f2f273c2131fc08/lib/appium_lib/ios/element/text.rb#L5) ios
|
1238
1254
|
|
1239
1255
|
> XCUIElementTypeStaticText = 'XCUIElementTypeStaticText'.freeze
|
1240
1256
|
|
@@ -1242,7 +1258,7 @@ __Returns:__
|
|
1242
1258
|
|
1243
1259
|
--
|
1244
1260
|
|
1245
|
-
##### [static_text_class](https://github.com/appium/ruby_lib/blob/
|
1261
|
+
##### [static_text_class](https://github.com/appium/ruby_lib/blob/5588ca7d9e97759888dca3bf4f2f273c2131fc08/lib/appium_lib/ios/element/text.rb#L8) ios
|
1246
1262
|
|
1247
1263
|
> def static_text_class
|
1248
1264
|
|
@@ -1254,7 +1270,7 @@ __Returns:__
|
|
1254
1270
|
|
1255
1271
|
--
|
1256
1272
|
|
1257
|
-
##### [text](https://github.com/appium/ruby_lib/blob/
|
1273
|
+
##### [text](https://github.com/appium/ruby_lib/blob/5588ca7d9e97759888dca3bf4f2f273c2131fc08/lib/appium_lib/ios/element/text.rb#L16) ios
|
1258
1274
|
|
1259
1275
|
> def text(value)
|
1260
1276
|
|
@@ -1271,7 +1287,7 @@ __Returns:__
|
|
1271
1287
|
|
1272
1288
|
--
|
1273
1289
|
|
1274
|
-
##### [texts](https://github.com/appium/ruby_lib/blob/
|
1290
|
+
##### [texts](https://github.com/appium/ruby_lib/blob/5588ca7d9e97759888dca3bf4f2f273c2131fc08/lib/appium_lib/ios/element/text.rb#L25) ios
|
1275
1291
|
|
1276
1292
|
> def texts(value = false)
|
1277
1293
|
|
@@ -1288,7 +1304,7 @@ __Returns:__
|
|
1288
1304
|
|
1289
1305
|
--
|
1290
1306
|
|
1291
|
-
##### [first_text](https://github.com/appium/ruby_lib/blob/
|
1307
|
+
##### [first_text](https://github.com/appium/ruby_lib/blob/5588ca7d9e97759888dca3bf4f2f273c2131fc08/lib/appium_lib/ios/element/text.rb#L32) ios
|
1292
1308
|
|
1293
1309
|
> def first_text
|
1294
1310
|
|
@@ -1300,7 +1316,7 @@ __Returns:__
|
|
1300
1316
|
|
1301
1317
|
--
|
1302
1318
|
|
1303
|
-
##### [last_text](https://github.com/appium/ruby_lib/blob/
|
1319
|
+
##### [last_text](https://github.com/appium/ruby_lib/blob/5588ca7d9e97759888dca3bf4f2f273c2131fc08/lib/appium_lib/ios/element/text.rb#L38) ios
|
1304
1320
|
|
1305
1321
|
> def last_text
|
1306
1322
|
|
@@ -1312,7 +1328,7 @@ __Returns:__
|
|
1312
1328
|
|
1313
1329
|
--
|
1314
1330
|
|
1315
|
-
##### [text_exact](https://github.com/appium/ruby_lib/blob/
|
1331
|
+
##### [text_exact](https://github.com/appium/ruby_lib/blob/5588ca7d9e97759888dca3bf4f2f273c2131fc08/lib/appium_lib/ios/element/text.rb#L45) ios
|
1316
1332
|
|
1317
1333
|
> def text_exact(value)
|
1318
1334
|
|
@@ -1328,7 +1344,7 @@ __Returns:__
|
|
1328
1344
|
|
1329
1345
|
--
|
1330
1346
|
|
1331
|
-
##### [texts_exact](https://github.com/appium/ruby_lib/blob/
|
1347
|
+
##### [texts_exact](https://github.com/appium/ruby_lib/blob/5588ca7d9e97759888dca3bf4f2f273c2131fc08/lib/appium_lib/ios/element/text.rb#L52) ios
|
1332
1348
|
|
1333
1349
|
> def texts_exact(value)
|
1334
1350
|
|
@@ -1344,7 +1360,7 @@ __Returns:__
|
|
1344
1360
|
|
1345
1361
|
--
|
1346
1362
|
|
1347
|
-
##### [filter](https://github.com/appium/ruby_lib/blob/
|
1363
|
+
##### [filter](https://github.com/appium/ruby_lib/blob/5588ca7d9e97759888dca3bf4f2f273c2131fc08/lib/appium_lib/ios/common/helper.rb#L5) ios
|
1348
1364
|
|
1349
1365
|
> def filter
|
1350
1366
|
|
@@ -1352,7 +1368,7 @@ Returns the value of attribute filter
|
|
1352
1368
|
|
1353
1369
|
--
|
1354
1370
|
|
1355
|
-
##### [filter=](https://github.com/appium/ruby_lib/blob/
|
1371
|
+
##### [filter=](https://github.com/appium/ruby_lib/blob/5588ca7d9e97759888dca3bf4f2f273c2131fc08/lib/appium_lib/ios/common/helper.rb#L5) ios
|
1356
1372
|
|
1357
1373
|
> def filter=(value)
|
1358
1374
|
|
@@ -1364,7 +1380,7 @@ __Parameters:__
|
|
1364
1380
|
|
1365
1381
|
--
|
1366
1382
|
|
1367
|
-
##### [start_element](https://github.com/appium/ruby_lib/blob/
|
1383
|
+
##### [start_element](https://github.com/appium/ruby_lib/blob/5588ca7d9e97759888dca3bf4f2f273c2131fc08/lib/appium_lib/ios/common/helper.rb#L7) ios
|
1368
1384
|
|
1369
1385
|
> def start_element(type, attrs = [])
|
1370
1386
|
|
@@ -1372,7 +1388,7 @@ __Parameters:__
|
|
1372
1388
|
|
1373
1389
|
--
|
1374
1390
|
|
1375
|
-
##### [ios_password](https://github.com/appium/ruby_lib/blob/
|
1391
|
+
##### [ios_password](https://github.com/appium/ruby_lib/blob/5588ca7d9e97759888dca3bf4f2f273c2131fc08/lib/appium_lib/ios/common/helper.rb#L44) ios
|
1376
1392
|
|
1377
1393
|
> def ios_password(length = 1)
|
1378
1394
|
|
@@ -1390,7 +1406,7 @@ __Returns:__
|
|
1390
1406
|
|
1391
1407
|
--
|
1392
1408
|
|
1393
|
-
##### [page](https://github.com/appium/ruby_lib/blob/
|
1409
|
+
##### [page](https://github.com/appium/ruby_lib/blob/5588ca7d9e97759888dca3bf4f2f273c2131fc08/lib/appium_lib/ios/common/helper.rb#L60) ios
|
1394
1410
|
|
1395
1411
|
> def page(opts = {})
|
1396
1412
|
|
@@ -1408,19 +1424,7 @@ __Returns:__
|
|
1408
1424
|
|
1409
1425
|
--
|
1410
1426
|
|
1411
|
-
##### [
|
1412
|
-
|
1413
|
-
> def source_window(_window_number = nil)
|
1414
|
-
|
1415
|
-
Gets the JSON source of window number
|
1416
|
-
|
1417
|
-
__Returns:__
|
1418
|
-
|
1419
|
-
[JSON]
|
1420
|
-
|
1421
|
-
--
|
1422
|
-
|
1423
|
-
##### [id](https://github.com/appium/ruby_lib/blob/0628c614e6620c606265883a8232dd021d03965d/lib/appium_lib/ios/common/helper.rb#L92) ios
|
1427
|
+
##### [id](https://github.com/appium/ruby_lib/blob/5588ca7d9e97759888dca3bf4f2f273c2131fc08/lib/appium_lib/ios/common/helper.rb#L85) ios
|
1424
1428
|
|
1425
1429
|
> def id(id)
|
1426
1430
|
|
@@ -1436,7 +1440,7 @@ __Returns:__
|
|
1436
1440
|
|
1437
1441
|
--
|
1438
1442
|
|
1439
|
-
##### [ele_index](https://github.com/appium/ruby_lib/blob/
|
1443
|
+
##### [ele_index](https://github.com/appium/ruby_lib/blob/5588ca7d9e97759888dca3bf4f2f273c2131fc08/lib/appium_lib/ios/common/helper.rb#L93) ios
|
1440
1444
|
|
1441
1445
|
> def ele_index(class_name, index)
|
1442
1446
|
|
@@ -1454,7 +1458,7 @@ __Returns:__
|
|
1454
1458
|
|
1455
1459
|
--
|
1456
1460
|
|
1457
|
-
##### [find_ele_by_attr](https://github.com/appium/ruby_lib/blob/
|
1461
|
+
##### [find_ele_by_attr](https://github.com/appium/ruby_lib/blob/5588ca7d9e97759888dca3bf4f2f273c2131fc08/lib/appium_lib/ios/common/helper.rb#L121) ios
|
1458
1462
|
|
1459
1463
|
> def find_ele_by_attr(class_name, attr, value)
|
1460
1464
|
|
@@ -1476,7 +1480,7 @@ __Returns:__
|
|
1476
1480
|
|
1477
1481
|
--
|
1478
1482
|
|
1479
|
-
##### [find_eles_by_attr](https://github.com/appium/ruby_lib/blob/
|
1483
|
+
##### [find_eles_by_attr](https://github.com/appium/ruby_lib/blob/5588ca7d9e97759888dca3bf4f2f273c2131fc08/lib/appium_lib/ios/common/helper.rb#L132) ios
|
1480
1484
|
|
1481
1485
|
> def find_eles_by_attr(class_name, attr, value)
|
1482
1486
|
|
@@ -1498,7 +1502,7 @@ __Returns:__
|
|
1498
1502
|
|
1499
1503
|
--
|
1500
1504
|
|
1501
|
-
##### [find_ele_by_predicate](https://github.com/appium/ruby_lib/blob/
|
1505
|
+
##### [find_ele_by_predicate](https://github.com/appium/ruby_lib/blob/5588ca7d9e97759888dca3bf4f2f273c2131fc08/lib/appium_lib/ios/common/helper.rb#L145) ios
|
1502
1506
|
|
1503
1507
|
> def find_ele_by_predicate(class_name: '*', value:)
|
1504
1508
|
|
@@ -1515,7 +1519,7 @@ __Returns:__
|
|
1515
1519
|
|
1516
1520
|
--
|
1517
1521
|
|
1518
|
-
##### [find_eles_by_predicate](https://github.com/appium/ruby_lib/blob/
|
1522
|
+
##### [find_eles_by_predicate](https://github.com/appium/ruby_lib/blob/5588ca7d9e97759888dca3bf4f2f273c2131fc08/lib/appium_lib/ios/common/helper.rb#L156) ios
|
1519
1523
|
|
1520
1524
|
> def find_eles_by_predicate(class_name: '*', value:)
|
1521
1525
|
|
@@ -1534,7 +1538,7 @@ __Returns:__
|
|
1534
1538
|
|
1535
1539
|
--
|
1536
1540
|
|
1537
|
-
##### [find_ele_by_attr_include](https://github.com/appium/ruby_lib/blob/
|
1541
|
+
##### [find_ele_by_attr_include](https://github.com/appium/ruby_lib/blob/5588ca7d9e97759888dca3bf4f2f273c2131fc08/lib/appium_lib/ios/common/helper.rb#L172) ios
|
1538
1542
|
|
1539
1543
|
> def find_ele_by_attr_include(class_name, attr, value)
|
1540
1544
|
|
@@ -1555,7 +1559,7 @@ __Returns:__
|
|
1555
1559
|
|
1556
1560
|
--
|
1557
1561
|
|
1558
|
-
##### [find_eles_by_attr_include](https://github.com/appium/ruby_lib/blob/
|
1562
|
+
##### [find_eles_by_attr_include](https://github.com/appium/ruby_lib/blob/5588ca7d9e97759888dca3bf4f2f273c2131fc08/lib/appium_lib/ios/common/helper.rb#L182) ios
|
1559
1563
|
|
1560
1564
|
> def find_eles_by_attr_include(class_name, attr, value)
|
1561
1565
|
|
@@ -1576,7 +1580,7 @@ __Returns:__
|
|
1576
1580
|
|
1577
1581
|
--
|
1578
1582
|
|
1579
|
-
##### [find_ele_by_predicate_include](https://github.com/appium/ruby_lib/blob/
|
1583
|
+
##### [find_ele_by_predicate_include](https://github.com/appium/ruby_lib/blob/5588ca7d9e97759888dca3bf4f2f273c2131fc08/lib/appium_lib/ios/common/helper.rb#L190) ios
|
1580
1584
|
|
1581
1585
|
> def find_ele_by_predicate_include(class_name: '*', value:)
|
1582
1586
|
|
@@ -1593,7 +1597,7 @@ __Returns:__
|
|
1593
1597
|
|
1594
1598
|
--
|
1595
1599
|
|
1596
|
-
##### [find_eles_by_predicate_include](https://github.com/appium/ruby_lib/blob/
|
1600
|
+
##### [find_eles_by_predicate_include](https://github.com/appium/ruby_lib/blob/5588ca7d9e97759888dca3bf4f2f273c2131fc08/lib/appium_lib/ios/common/helper.rb#L201) ios
|
1597
1601
|
|
1598
1602
|
> def find_eles_by_predicate_include(class_name: '*', value:)
|
1599
1603
|
|
@@ -1612,7 +1616,7 @@ __Returns:__
|
|
1612
1616
|
|
1613
1617
|
--
|
1614
1618
|
|
1615
|
-
##### [first_ele](https://github.com/appium/ruby_lib/blob/
|
1619
|
+
##### [first_ele](https://github.com/appium/ruby_lib/blob/5588ca7d9e97759888dca3bf4f2f273c2131fc08/lib/appium_lib/ios/common/helper.rb#L214) ios
|
1616
1620
|
|
1617
1621
|
> def first_ele(class_name)
|
1618
1622
|
|
@@ -1628,7 +1632,7 @@ __Returns:__
|
|
1628
1632
|
|
1629
1633
|
--
|
1630
1634
|
|
1631
|
-
##### [last_ele](https://github.com/appium/ruby_lib/blob/
|
1635
|
+
##### [last_ele](https://github.com/appium/ruby_lib/blob/5588ca7d9e97759888dca3bf4f2f273c2131fc08/lib/appium_lib/ios/common/helper.rb#L221) ios
|
1632
1636
|
|
1633
1637
|
> def last_ele(class_name)
|
1634
1638
|
|
@@ -1644,7 +1648,7 @@ __Returns:__
|
|
1644
1648
|
|
1645
1649
|
--
|
1646
1650
|
|
1647
|
-
##### [tag](https://github.com/appium/ruby_lib/blob/
|
1651
|
+
##### [tag](https://github.com/appium/ruby_lib/blob/5588ca7d9e97759888dca3bf4f2f273c2131fc08/lib/appium_lib/ios/common/helper.rb#L229) ios
|
1648
1652
|
|
1649
1653
|
> def tag(class_name)
|
1650
1654
|
|
@@ -1660,7 +1664,7 @@ __Returns:__
|
|
1660
1664
|
|
1661
1665
|
--
|
1662
1666
|
|
1663
|
-
##### [tags](https://github.com/appium/ruby_lib/blob/
|
1667
|
+
##### [tags](https://github.com/appium/ruby_lib/blob/5588ca7d9e97759888dca3bf4f2f273c2131fc08/lib/appium_lib/ios/common/helper.rb#L237) ios
|
1664
1668
|
|
1665
1669
|
> def tags(class_name)
|
1666
1670
|
|
@@ -1676,7 +1680,7 @@ __Returns:__
|
|
1676
1680
|
|
1677
1681
|
--
|
1678
1682
|
|
1679
|
-
##### [tags_include](https://github.com/appium/ruby_lib/blob/
|
1683
|
+
##### [tags_include](https://github.com/appium/ruby_lib/blob/5588ca7d9e97759888dca3bf4f2f273c2131fc08/lib/appium_lib/ios/common/helper.rb#L248) ios
|
1680
1684
|
|
1681
1685
|
> def tags_include(class_names:, value: nil)
|
1682
1686
|
|
@@ -1696,7 +1700,7 @@ __Returns:__
|
|
1696
1700
|
|
1697
1701
|
--
|
1698
1702
|
|
1699
|
-
##### [tags_exact](https://github.com/appium/ruby_lib/blob/
|
1703
|
+
##### [tags_exact](https://github.com/appium/ruby_lib/blob/5588ca7d9e97759888dca3bf4f2f273c2131fc08/lib/appium_lib/ios/common/helper.rb#L263) ios
|
1700
1704
|
|
1701
1705
|
> def tags_exact(class_names:, value: nil)
|
1702
1706
|
|
@@ -1716,7 +1720,7 @@ __Returns:__
|
|
1716
1720
|
|
1717
1721
|
--
|
1718
1722
|
|
1719
|
-
##### [ele_by_json_visible_contains](https://github.com/appium/ruby_lib/blob/
|
1723
|
+
##### [ele_by_json_visible_contains](https://github.com/appium/ruby_lib/blob/5588ca7d9e97759888dca3bf4f2f273c2131fc08/lib/appium_lib/ios/common/helper.rb#L300) ios
|
1720
1724
|
|
1721
1725
|
> def ele_by_json_visible_contains(element, value)
|
1722
1726
|
|
@@ -1735,7 +1739,7 @@ __Returns:__
|
|
1735
1739
|
|
1736
1740
|
--
|
1737
1741
|
|
1738
|
-
##### [eles_by_json_visible_contains](https://github.com/appium/ruby_lib/blob/
|
1742
|
+
##### [eles_by_json_visible_contains](https://github.com/appium/ruby_lib/blob/5588ca7d9e97759888dca3bf4f2f273c2131fc08/lib/appium_lib/ios/common/helper.rb#L309) ios
|
1739
1743
|
|
1740
1744
|
> def eles_by_json_visible_contains(element, value)
|
1741
1745
|
|
@@ -1754,7 +1758,7 @@ __Returns:__
|
|
1754
1758
|
|
1755
1759
|
--
|
1756
1760
|
|
1757
|
-
##### [ele_by_json_visible_exact](https://github.com/appium/ruby_lib/blob/
|
1761
|
+
##### [ele_by_json_visible_exact](https://github.com/appium/ruby_lib/blob/5588ca7d9e97759888dca3bf4f2f273c2131fc08/lib/appium_lib/ios/common/helper.rb#L339) ios
|
1758
1762
|
|
1759
1763
|
> def ele_by_json_visible_exact(element, value)
|
1760
1764
|
|
@@ -1773,7 +1777,7 @@ __Returns:__
|
|
1773
1777
|
|
1774
1778
|
--
|
1775
1779
|
|
1776
|
-
##### [eles_by_json_visible_exact](https://github.com/appium/ruby_lib/blob/
|
1780
|
+
##### [eles_by_json_visible_exact](https://github.com/appium/ruby_lib/blob/5588ca7d9e97759888dca3bf4f2f273c2131fc08/lib/appium_lib/ios/common/helper.rb#L348) ios
|
1777
1781
|
|
1778
1782
|
> def eles_by_json_visible_exact(element, value)
|
1779
1783
|
|
@@ -1792,7 +1796,7 @@ __Returns:__
|
|
1792
1796
|
|
1793
1797
|
--
|
1794
1798
|
|
1795
|
-
##### [_all_pred](https://github.com/appium/ruby_lib/blob/
|
1799
|
+
##### [_all_pred](https://github.com/appium/ruby_lib/blob/5588ca7d9e97759888dca3bf4f2f273c2131fc08/lib/appium_lib/ios/common/helper.rb#L357) ios
|
1796
1800
|
|
1797
1801
|
> def _all_pred(opts)
|
1798
1802
|
|
@@ -1802,7 +1806,7 @@ visible - if true, only visible elements are returned. default true
|
|
1802
1806
|
|
1803
1807
|
--
|
1804
1808
|
|
1805
|
-
##### [ele_with_pred](https://github.com/appium/ruby_lib/blob/
|
1809
|
+
##### [ele_with_pred](https://github.com/appium/ruby_lib/blob/5588ca7d9e97759888dca3bf4f2f273c2131fc08/lib/appium_lib/ios/common/helper.rb#L370) ios
|
1806
1810
|
|
1807
1811
|
> def ele_with_pred(opts)
|
1808
1812
|
|
@@ -1818,7 +1822,7 @@ __Returns:__
|
|
1818
1822
|
|
1819
1823
|
--
|
1820
1824
|
|
1821
|
-
##### [eles_with_pred](https://github.com/appium/ruby_lib/blob/
|
1825
|
+
##### [eles_with_pred](https://github.com/appium/ruby_lib/blob/5588ca7d9e97759888dca3bf4f2f273c2131fc08/lib/appium_lib/ios/common/helper.rb#L381) ios
|
1822
1826
|
|
1823
1827
|
> def eles_with_pred(opts)
|
1824
1828
|
|
@@ -1834,7 +1838,7 @@ __Returns:__
|
|
1834
1838
|
|
1835
1839
|
--
|
1836
1840
|
|
1837
|
-
##### [_validate_object](https://github.com/appium/ruby_lib/blob/
|
1841
|
+
##### [_validate_object](https://github.com/appium/ruby_lib/blob/5588ca7d9e97759888dca3bf4f2f273c2131fc08/lib/appium_lib/ios/common/helper.rb#L385) ios
|
1838
1842
|
|
1839
1843
|
> def _validate_object(*objects)
|
1840
1844
|
|
@@ -1842,7 +1846,7 @@ __Returns:__
|
|
1842
1846
|
|
1843
1847
|
--
|
1844
1848
|
|
1845
|
-
##### [_by_json](https://github.com/appium/ruby_lib/blob/
|
1849
|
+
##### [_by_json](https://github.com/appium/ruby_lib/blob/5588ca7d9e97759888dca3bf4f2f273c2131fc08/lib/appium_lib/ios/common/helper.rb#L434) ios
|
1846
1850
|
|
1847
1851
|
> def _by_json(opts)
|
1848
1852
|
|
@@ -1877,7 +1881,7 @@ opts = {
|
|
1877
1881
|
|
1878
1882
|
--
|
1879
1883
|
|
1880
|
-
##### [eles_by_json](https://github.com/appium/ruby_lib/blob/
|
1884
|
+
##### [eles_by_json](https://github.com/appium/ruby_lib/blob/5588ca7d9e97759888dca3bf4f2f273c2131fc08/lib/appium_lib/ios/common/helper.rb#L484) ios
|
1881
1885
|
|
1882
1886
|
> def eles_by_json(opts)
|
1883
1887
|
|
@@ -1896,7 +1900,7 @@ eles_by_json({
|
|
1896
1900
|
|
1897
1901
|
--
|
1898
1902
|
|
1899
|
-
##### [ele_by_json](https://github.com/appium/ruby_lib/blob/
|
1903
|
+
##### [ele_by_json](https://github.com/appium/ruby_lib/blob/5588ca7d9e97759888dca3bf4f2f273c2131fc08/lib/appium_lib/ios/common/helper.rb#L490) ios
|
1900
1904
|
|
1901
1905
|
> def ele_by_json(opts)
|
1902
1906
|
|
@@ -1904,7 +1908,7 @@ see eles_by_json
|
|
1904
1908
|
|
1905
1909
|
--
|
1906
1910
|
|
1907
|
-
##### [alert_accept](https://github.com/appium/ruby_lib/blob/
|
1911
|
+
##### [alert_accept](https://github.com/appium/ruby_lib/blob/5588ca7d9e97759888dca3bf4f2f273c2131fc08/lib/appium_lib/ios/element/alert.rb#L5) ios
|
1908
1912
|
|
1909
1913
|
> def alert_accept
|
1910
1914
|
|
@@ -1916,7 +1920,7 @@ __Returns:__
|
|
1916
1920
|
|
1917
1921
|
--
|
1918
1922
|
|
1919
|
-
##### [alert_dismiss](https://github.com/appium/ruby_lib/blob/
|
1923
|
+
##### [alert_dismiss](https://github.com/appium/ruby_lib/blob/5588ca7d9e97759888dca3bf4f2f273c2131fc08/lib/appium_lib/ios/element/alert.rb#L13) ios
|
1920
1924
|
|
1921
1925
|
> def alert_dismiss
|
1922
1926
|
|
@@ -1928,7 +1932,7 @@ __Returns:__
|
|
1928
1932
|
|
1929
1933
|
--
|
1930
1934
|
|
1931
|
-
##### [UIAButton](https://github.com/appium/ruby_lib/blob/
|
1935
|
+
##### [UIAButton](https://github.com/appium/ruby_lib/blob/5588ca7d9e97759888dca3bf4f2f273c2131fc08/lib/appium_lib/ios/element/button.rb#L4) ios
|
1932
1936
|
|
1933
1937
|
> UIAButton = 'UIAButton'.freeze
|
1934
1938
|
|
@@ -1936,7 +1940,7 @@ __Returns:__
|
|
1936
1940
|
|
1937
1941
|
--
|
1938
1942
|
|
1939
|
-
##### [XCUIElementTypeButton](https://github.com/appium/ruby_lib/blob/
|
1943
|
+
##### [XCUIElementTypeButton](https://github.com/appium/ruby_lib/blob/5588ca7d9e97759888dca3bf4f2f273c2131fc08/lib/appium_lib/ios/element/button.rb#L5) ios
|
1940
1944
|
|
1941
1945
|
> XCUIElementTypeButton = 'XCUIElementTypeButton'.freeze
|
1942
1946
|
|
@@ -1944,7 +1948,7 @@ __Returns:__
|
|
1944
1948
|
|
1945
1949
|
--
|
1946
1950
|
|
1947
|
-
##### [button_class](https://github.com/appium/ruby_lib/blob/
|
1951
|
+
##### [button_class](https://github.com/appium/ruby_lib/blob/5588ca7d9e97759888dca3bf4f2f273c2131fc08/lib/appium_lib/ios/element/button.rb#L8) ios
|
1948
1952
|
|
1949
1953
|
> def button_class
|
1950
1954
|
|
@@ -1956,7 +1960,7 @@ __Returns:__
|
|
1956
1960
|
|
1957
1961
|
--
|
1958
1962
|
|
1959
|
-
##### [button](https://github.com/appium/ruby_lib/blob/
|
1963
|
+
##### [button](https://github.com/appium/ruby_lib/blob/5588ca7d9e97759888dca3bf4f2f273c2131fc08/lib/appium_lib/ios/element/button.rb#L16) ios
|
1960
1964
|
|
1961
1965
|
> def button(value)
|
1962
1966
|
|
@@ -1973,7 +1977,7 @@ __Returns:__
|
|
1973
1977
|
|
1974
1978
|
--
|
1975
1979
|
|
1976
|
-
##### [buttons](https://github.com/appium/ruby_lib/blob/
|
1980
|
+
##### [buttons](https://github.com/appium/ruby_lib/blob/5588ca7d9e97759888dca3bf4f2f273c2131fc08/lib/appium_lib/ios/element/button.rb#L26) ios
|
1977
1981
|
|
1978
1982
|
> def buttons(value = false)
|
1979
1983
|
|
@@ -1990,7 +1994,7 @@ __Returns:__
|
|
1990
1994
|
|
1991
1995
|
--
|
1992
1996
|
|
1993
|
-
##### [first_button](https://github.com/appium/ruby_lib/blob/
|
1997
|
+
##### [first_button](https://github.com/appium/ruby_lib/blob/5588ca7d9e97759888dca3bf4f2f273c2131fc08/lib/appium_lib/ios/element/button.rb#L33) ios
|
1994
1998
|
|
1995
1999
|
> def first_button
|
1996
2000
|
|
@@ -2002,7 +2006,7 @@ __Returns:__
|
|
2002
2006
|
|
2003
2007
|
--
|
2004
2008
|
|
2005
|
-
##### [last_button](https://github.com/appium/ruby_lib/blob/
|
2009
|
+
##### [last_button](https://github.com/appium/ruby_lib/blob/5588ca7d9e97759888dca3bf4f2f273c2131fc08/lib/appium_lib/ios/element/button.rb#L41) ios
|
2006
2010
|
|
2007
2011
|
> def last_button
|
2008
2012
|
|
@@ -2016,7 +2020,7 @@ __Returns:__
|
|
2016
2020
|
|
2017
2021
|
--
|
2018
2022
|
|
2019
|
-
##### [button_exact](https://github.com/appium/ruby_lib/blob/
|
2023
|
+
##### [button_exact](https://github.com/appium/ruby_lib/blob/5588ca7d9e97759888dca3bf4f2f273c2131fc08/lib/appium_lib/ios/element/button.rb#L48) ios
|
2020
2024
|
|
2021
2025
|
> def button_exact(value)
|
2022
2026
|
|
@@ -2032,7 +2036,7 @@ __Returns:__
|
|
2032
2036
|
|
2033
2037
|
--
|
2034
2038
|
|
2035
|
-
##### [buttons_exact](https://github.com/appium/ruby_lib/blob/
|
2039
|
+
##### [buttons_exact](https://github.com/appium/ruby_lib/blob/5588ca7d9e97759888dca3bf4f2f273c2131fc08/lib/appium_lib/ios/element/button.rb#L55) ios
|
2036
2040
|
|
2037
2041
|
> def buttons_exact(value)
|
2038
2042
|
|
@@ -2048,7 +2052,7 @@ __Returns:__
|
|
2048
2052
|
|
2049
2053
|
--
|
2050
2054
|
|
2051
|
-
##### [find](https://github.com/appium/ruby_lib/blob/
|
2055
|
+
##### [find](https://github.com/appium/ruby_lib/blob/5588ca7d9e97759888dca3bf4f2f273c2131fc08/lib/appium_lib/ios/element/generic.rb#L6) ios
|
2052
2056
|
|
2053
2057
|
> def find(value)
|
2054
2058
|
|
@@ -2064,7 +2068,7 @@ __Returns:__
|
|
2064
2068
|
|
2065
2069
|
--
|
2066
2070
|
|
2067
|
-
##### [finds](https://github.com/appium/ruby_lib/blob/
|
2071
|
+
##### [finds](https://github.com/appium/ruby_lib/blob/5588ca7d9e97759888dca3bf4f2f273c2131fc08/lib/appium_lib/ios/element/generic.rb#L13) ios
|
2068
2072
|
|
2069
2073
|
> def finds(value)
|
2070
2074
|
|
@@ -2080,7 +2084,7 @@ __Returns:__
|
|
2080
2084
|
|
2081
2085
|
--
|
2082
2086
|
|
2083
|
-
##### [find_exact](https://github.com/appium/ruby_lib/blob/
|
2087
|
+
##### [find_exact](https://github.com/appium/ruby_lib/blob/5588ca7d9e97759888dca3bf4f2f273c2131fc08/lib/appium_lib/ios/element/generic.rb#L20) ios
|
2084
2088
|
|
2085
2089
|
> def find_exact(value)
|
2086
2090
|
|
@@ -2096,7 +2100,7 @@ __Returns:__
|
|
2096
2100
|
|
2097
2101
|
--
|
2098
2102
|
|
2099
|
-
##### [finds_exact](https://github.com/appium/ruby_lib/blob/
|
2103
|
+
##### [finds_exact](https://github.com/appium/ruby_lib/blob/5588ca7d9e97759888dca3bf4f2f273c2131fc08/lib/appium_lib/ios/element/generic.rb#L27) ios
|
2100
2104
|
|
2101
2105
|
> def finds_exact(value)
|
2102
2106
|
|
@@ -2112,7 +2116,7 @@ __Returns:__
|
|
2112
2116
|
|
2113
2117
|
--
|
2114
2118
|
|
2115
|
-
##### [raise_error_if_no_element](https://github.com/appium/ruby_lib/blob/
|
2119
|
+
##### [raise_error_if_no_element](https://github.com/appium/ruby_lib/blob/5588ca7d9e97759888dca3bf4f2f273c2131fc08/lib/appium_lib/ios/element/generic.rb#L33) ios
|
2116
2120
|
|
2117
2121
|
> def raise_error_if_no_element(element)
|
2118
2122
|
|
@@ -2120,7 +2124,7 @@ __Returns:__
|
|
2120
2124
|
|
2121
2125
|
--
|
2122
2126
|
|
2123
|
-
##### [select_visible_elements](https://github.com/appium/ruby_lib/blob/
|
2127
|
+
##### [select_visible_elements](https://github.com/appium/ruby_lib/blob/5588ca7d9e97759888dca3bf4f2f273c2131fc08/lib/appium_lib/ios/element/generic.rb#L40) ios
|
2124
2128
|
|
2125
2129
|
> def select_visible_elements(elements)
|
2126
2130
|
|
@@ -2128,7 +2132,7 @@ Return visible elements.
|
|
2128
2132
|
|
2129
2133
|
--
|
2130
2134
|
|
2131
|
-
##### [for](https://github.com/appium/ruby_lib/blob/
|
2135
|
+
##### [for](https://github.com/appium/ruby_lib/blob/5588ca7d9e97759888dca3bf4f2f273c2131fc08/lib/appium_lib/ios/xcuitest/bridge.rb#L7) ios
|
2132
2136
|
|
2133
2137
|
> def self.for(target)
|
2134
2138
|
|
@@ -2136,7 +2140,7 @@ Return visible elements.
|
|
2136
2140
|
|
2137
2141
|
--
|
2138
2142
|
|
2139
|
-
##### [last_ele](https://github.com/appium/ruby_lib/blob/
|
2143
|
+
##### [last_ele](https://github.com/appium/ruby_lib/blob/5588ca7d9e97759888dca3bf4f2f273c2131fc08/lib/appium_lib/ios/xcuitest/helper.rb#L26) ios
|
2140
2144
|
|
2141
2145
|
> def last_ele(class_name)
|
2142
2146
|
|
@@ -2152,7 +2156,7 @@ __Returns:__
|
|
2152
2156
|
|
2153
2157
|
--
|
2154
2158
|
|
2155
|
-
##### [tag](https://github.com/appium/ruby_lib/blob/
|
2159
|
+
##### [tag](https://github.com/appium/ruby_lib/blob/5588ca7d9e97759888dca3bf4f2f273c2131fc08/lib/appium_lib/ios/xcuitest/helper.rb#L36) ios
|
2156
2160
|
|
2157
2161
|
> def tag(class_name)
|
2158
2162
|
|
@@ -2168,7 +2172,7 @@ __Returns:__
|
|
2168
2172
|
|
2169
2173
|
--
|
2170
2174
|
|
2171
|
-
##### [tags](https://github.com/appium/ruby_lib/blob/
|
2175
|
+
##### [tags](https://github.com/appium/ruby_lib/blob/5588ca7d9e97759888dca3bf4f2f273c2131fc08/lib/appium_lib/ios/xcuitest/helper.rb#L44) ios
|
2172
2176
|
|
2173
2177
|
> def tags(class_name)
|
2174
2178
|
|
@@ -2184,7 +2188,7 @@ __Returns:__
|
|
2184
2188
|
|
2185
2189
|
--
|
2186
2190
|
|
2187
|
-
##### [tags_include](https://github.com/appium/ruby_lib/blob/
|
2191
|
+
##### [tags_include](https://github.com/appium/ruby_lib/blob/5588ca7d9e97759888dca3bf4f2f273c2131fc08/lib/appium_lib/ios/xcuitest/helper.rb#L56) ios
|
2188
2192
|
|
2189
2193
|
> def tags_include(class_names:, value: nil)
|
2190
2194
|
|
@@ -2204,7 +2208,7 @@ __Returns:__
|
|
2204
2208
|
|
2205
2209
|
--
|
2206
2210
|
|
2207
|
-
##### [tags_exact](https://github.com/appium/ruby_lib/blob/
|
2211
|
+
##### [tags_exact](https://github.com/appium/ruby_lib/blob/5588ca7d9e97759888dca3bf4f2f273c2131fc08/lib/appium_lib/ios/xcuitest/helper.rb#L79) ios
|
2208
2212
|
|
2209
2213
|
> def tags_exact(class_names:, value: nil)
|
2210
2214
|
|
@@ -2224,7 +2228,7 @@ __Returns:__
|
|
2224
2228
|
|
2225
2229
|
--
|
2226
2230
|
|
2227
|
-
##### [UIATextField](https://github.com/appium/ruby_lib/blob/
|
2231
|
+
##### [UIATextField](https://github.com/appium/ruby_lib/blob/5588ca7d9e97759888dca3bf4f2f273c2131fc08/lib/appium_lib/ios/element/textfield.rb#L3) ios
|
2228
2232
|
|
2229
2233
|
> UIATextField = 'UIATextField'.freeze
|
2230
2234
|
|
@@ -2232,7 +2236,7 @@ __Returns:__
|
|
2232
2236
|
|
2233
2237
|
--
|
2234
2238
|
|
2235
|
-
##### [UIASecureTextField](https://github.com/appium/ruby_lib/blob/
|
2239
|
+
##### [UIASecureTextField](https://github.com/appium/ruby_lib/blob/5588ca7d9e97759888dca3bf4f2f273c2131fc08/lib/appium_lib/ios/element/textfield.rb#L4) ios
|
2236
2240
|
|
2237
2241
|
> UIASecureTextField = 'UIASecureTextField'.freeze
|
2238
2242
|
|
@@ -2240,7 +2244,7 @@ __Returns:__
|
|
2240
2244
|
|
2241
2245
|
--
|
2242
2246
|
|
2243
|
-
##### [XCUIElementTypeTextField](https://github.com/appium/ruby_lib/blob/
|
2247
|
+
##### [XCUIElementTypeTextField](https://github.com/appium/ruby_lib/blob/5588ca7d9e97759888dca3bf4f2f273c2131fc08/lib/appium_lib/ios/element/textfield.rb#L6) ios
|
2244
2248
|
|
2245
2249
|
> XCUIElementTypeTextField = 'XCUIElementTypeTextField'.freeze
|
2246
2250
|
|
@@ -2248,7 +2252,7 @@ __Returns:__
|
|
2248
2252
|
|
2249
2253
|
--
|
2250
2254
|
|
2251
|
-
##### [XCUIElementTypeSecureTextField](https://github.com/appium/ruby_lib/blob/
|
2255
|
+
##### [XCUIElementTypeSecureTextField](https://github.com/appium/ruby_lib/blob/5588ca7d9e97759888dca3bf4f2f273c2131fc08/lib/appium_lib/ios/element/textfield.rb#L7) ios
|
2252
2256
|
|
2253
2257
|
> XCUIElementTypeSecureTextField = 'XCUIElementTypeSecureTextField'.freeze
|
2254
2258
|
|
@@ -2256,7 +2260,7 @@ __Returns:__
|
|
2256
2260
|
|
2257
2261
|
--
|
2258
2262
|
|
2259
|
-
##### [text_field_class](https://github.com/appium/ruby_lib/blob/
|
2263
|
+
##### [text_field_class](https://github.com/appium/ruby_lib/blob/5588ca7d9e97759888dca3bf4f2f273c2131fc08/lib/appium_lib/ios/element/textfield.rb#L10) ios
|
2260
2264
|
|
2261
2265
|
> def text_field_class
|
2262
2266
|
|
@@ -2268,7 +2272,7 @@ __Returns:__
|
|
2268
2272
|
|
2269
2273
|
--
|
2270
2274
|
|
2271
|
-
##### [secure_text_field_class](https://github.com/appium/ruby_lib/blob/
|
2275
|
+
##### [secure_text_field_class](https://github.com/appium/ruby_lib/blob/5588ca7d9e97759888dca3bf4f2f273c2131fc08/lib/appium_lib/ios/element/textfield.rb#L15) ios
|
2272
2276
|
|
2273
2277
|
> def secure_text_field_class
|
2274
2278
|
|
@@ -2280,7 +2284,7 @@ __Returns:__
|
|
2280
2284
|
|
2281
2285
|
--
|
2282
2286
|
|
2283
|
-
##### [textfield](https://github.com/appium/ruby_lib/blob/
|
2287
|
+
##### [textfield](https://github.com/appium/ruby_lib/blob/5588ca7d9e97759888dca3bf4f2f273c2131fc08/lib/appium_lib/ios/element/textfield.rb#L24) ios
|
2284
2288
|
|
2285
2289
|
> def textfield(value)
|
2286
2290
|
|
@@ -2298,7 +2302,7 @@ __Returns:__
|
|
2298
2302
|
|
2299
2303
|
--
|
2300
2304
|
|
2301
|
-
##### [textfields](https://github.com/appium/ruby_lib/blob/
|
2305
|
+
##### [textfields](https://github.com/appium/ruby_lib/blob/5588ca7d9e97759888dca3bf4f2f273c2131fc08/lib/appium_lib/ios/element/textfield.rb#L42) ios
|
2302
2306
|
|
2303
2307
|
> def textfields(value = false)
|
2304
2308
|
|
@@ -2315,7 +2319,7 @@ __Returns:__
|
|
2315
2319
|
|
2316
2320
|
--
|
2317
2321
|
|
2318
|
-
##### [first_textfield](https://github.com/appium/ruby_lib/blob/
|
2322
|
+
##### [first_textfield](https://github.com/appium/ruby_lib/blob/5588ca7d9e97759888dca3bf4f2f273c2131fc08/lib/appium_lib/ios/element/textfield.rb#L49) ios
|
2319
2323
|
|
2320
2324
|
> def first_textfield
|
2321
2325
|
|
@@ -2327,7 +2331,7 @@ __Returns:__
|
|
2327
2331
|
|
2328
2332
|
--
|
2329
2333
|
|
2330
|
-
##### [last_textfield](https://github.com/appium/ruby_lib/blob/
|
2334
|
+
##### [last_textfield](https://github.com/appium/ruby_lib/blob/5588ca7d9e97759888dca3bf4f2f273c2131fc08/lib/appium_lib/ios/element/textfield.rb#L55) ios
|
2331
2335
|
|
2332
2336
|
> def last_textfield
|
2333
2337
|
|
@@ -2339,7 +2343,7 @@ __Returns:__
|
|
2339
2343
|
|
2340
2344
|
--
|
2341
2345
|
|
2342
|
-
##### [textfield_exact](https://github.com/appium/ruby_lib/blob/
|
2346
|
+
##### [textfield_exact](https://github.com/appium/ruby_lib/blob/5588ca7d9e97759888dca3bf4f2f273c2131fc08/lib/appium_lib/ios/element/textfield.rb#L64) ios
|
2343
2347
|
|
2344
2348
|
> def textfield_exact(value)
|
2345
2349
|
|
@@ -2355,7 +2359,7 @@ __Returns:__
|
|
2355
2359
|
|
2356
2360
|
--
|
2357
2361
|
|
2358
|
-
##### [textfields_exact](https://github.com/appium/ruby_lib/blob/
|
2362
|
+
##### [textfields_exact](https://github.com/appium/ruby_lib/blob/5588ca7d9e97759888dca3bf4f2f273c2131fc08/lib/appium_lib/ios/element/textfield.rb#L71) ios
|
2359
2363
|
|
2360
2364
|
> def textfields_exact(value)
|
2361
2365
|
|
@@ -2371,7 +2375,7 @@ __Returns:__
|
|
2371
2375
|
|
2372
2376
|
--
|
2373
2377
|
|
2374
|
-
##### [_textfield_visible](https://github.com/appium/ruby_lib/blob/
|
2378
|
+
##### [_textfield_visible](https://github.com/appium/ruby_lib/blob/5588ca7d9e97759888dca3bf4f2f273c2131fc08/lib/appium_lib/ios/element/textfield.rb#L78) ios
|
2375
2379
|
|
2376
2380
|
> def _textfield_visible
|
2377
2381
|
|
@@ -2379,7 +2383,7 @@ Appium
|
|
2379
2383
|
|
2380
2384
|
--
|
2381
2385
|
|
2382
|
-
##### [_textfield_exact_string](https://github.com/appium/ruby_lib/blob/
|
2386
|
+
##### [_textfield_exact_string](https://github.com/appium/ruby_lib/blob/5588ca7d9e97759888dca3bf4f2f273c2131fc08/lib/appium_lib/ios/element/textfield.rb#L83) ios
|
2383
2387
|
|
2384
2388
|
> def _textfield_exact_string(value)
|
2385
2389
|
|
@@ -2387,7 +2391,7 @@ Appium
|
|
2387
2391
|
|
2388
2392
|
--
|
2389
2393
|
|
2390
|
-
##### [_textfield_contains_string](https://github.com/appium/ruby_lib/blob/
|
2394
|
+
##### [_textfield_contains_string](https://github.com/appium/ruby_lib/blob/5588ca7d9e97759888dca3bf4f2f273c2131fc08/lib/appium_lib/ios/element/textfield.rb#L90) ios
|
2391
2395
|
|
2392
2396
|
> def _textfield_contains_string(value)
|
2393
2397
|
|
@@ -2395,7 +2399,7 @@ Appium
|
|
2395
2399
|
|
2396
2400
|
--
|
2397
2401
|
|
2398
|
-
##### [static_text_class](https://github.com/appium/ruby_lib/blob/
|
2402
|
+
##### [static_text_class](https://github.com/appium/ruby_lib/blob/5588ca7d9e97759888dca3bf4f2f273c2131fc08/lib/appium_lib/ios/xcuitest/element/text.rb#L9) ios
|
2399
2403
|
|
2400
2404
|
> def static_text_class
|
2401
2405
|
|
@@ -2407,7 +2411,7 @@ __Returns:__
|
|
2407
2411
|
|
2408
2412
|
--
|
2409
2413
|
|
2410
|
-
##### [text](https://github.com/appium/ruby_lib/blob/
|
2414
|
+
##### [text](https://github.com/appium/ruby_lib/blob/5588ca7d9e97759888dca3bf4f2f273c2131fc08/lib/appium_lib/ios/xcuitest/element/text.rb#L17) ios
|
2411
2415
|
|
2412
2416
|
> def text(value)
|
2413
2417
|
|
@@ -2424,7 +2428,7 @@ __Returns:__
|
|
2424
2428
|
|
2425
2429
|
--
|
2426
2430
|
|
2427
|
-
##### [texts](https://github.com/appium/ruby_lib/blob/
|
2431
|
+
##### [texts](https://github.com/appium/ruby_lib/blob/5588ca7d9e97759888dca3bf4f2f273c2131fc08/lib/appium_lib/ios/xcuitest/element/text.rb#L26) ios
|
2428
2432
|
|
2429
2433
|
> def texts(value = false)
|
2430
2434
|
|
@@ -2441,7 +2445,7 @@ __Returns:__
|
|
2441
2445
|
|
2442
2446
|
--
|
2443
2447
|
|
2444
|
-
##### [first_text](https://github.com/appium/ruby_lib/blob/
|
2448
|
+
##### [first_text](https://github.com/appium/ruby_lib/blob/5588ca7d9e97759888dca3bf4f2f273c2131fc08/lib/appium_lib/ios/xcuitest/element/text.rb#L34) ios
|
2445
2449
|
|
2446
2450
|
> def first_text
|
2447
2451
|
|
@@ -2453,7 +2457,7 @@ __Returns:__
|
|
2453
2457
|
|
2454
2458
|
--
|
2455
2459
|
|
2456
|
-
##### [last_text](https://github.com/appium/ruby_lib/blob/
|
2460
|
+
##### [last_text](https://github.com/appium/ruby_lib/blob/5588ca7d9e97759888dca3bf4f2f273c2131fc08/lib/appium_lib/ios/xcuitest/element/text.rb#L40) ios
|
2457
2461
|
|
2458
2462
|
> def last_text
|
2459
2463
|
|
@@ -2465,7 +2469,7 @@ __Returns:__
|
|
2465
2469
|
|
2466
2470
|
--
|
2467
2471
|
|
2468
|
-
##### [text_exact](https://github.com/appium/ruby_lib/blob/
|
2472
|
+
##### [text_exact](https://github.com/appium/ruby_lib/blob/5588ca7d9e97759888dca3bf4f2f273c2131fc08/lib/appium_lib/ios/xcuitest/element/text.rb#L47) ios
|
2469
2473
|
|
2470
2474
|
> def text_exact(value)
|
2471
2475
|
|
@@ -2481,7 +2485,7 @@ __Returns:__
|
|
2481
2485
|
|
2482
2486
|
--
|
2483
2487
|
|
2484
|
-
##### [texts_exact](https://github.com/appium/ruby_lib/blob/
|
2488
|
+
##### [texts_exact](https://github.com/appium/ruby_lib/blob/5588ca7d9e97759888dca3bf4f2f273c2131fc08/lib/appium_lib/ios/xcuitest/element/text.rb#L54) ios
|
2485
2489
|
|
2486
2490
|
> def texts_exact(value)
|
2487
2491
|
|
@@ -2497,7 +2501,7 @@ __Returns:__
|
|
2497
2501
|
|
2498
2502
|
--
|
2499
2503
|
|
2500
|
-
##### [xcuitest_source](https://github.com/appium/ruby_lib/blob/
|
2504
|
+
##### [xcuitest_source](https://github.com/appium/ruby_lib/blob/5588ca7d9e97759888dca3bf4f2f273c2131fc08/lib/appium_lib/ios/xcuitest/command/source.rb#L11) ios
|
2501
2505
|
|
2502
2506
|
> def xcuitest_source(format: :xml)
|
2503
2507
|
|
@@ -2511,7 +2515,7 @@ __Parameters:__
|
|
2511
2515
|
|
2512
2516
|
--
|
2513
2517
|
|
2514
|
-
##### [button_class](https://github.com/appium/ruby_lib/blob/
|
2518
|
+
##### [button_class](https://github.com/appium/ruby_lib/blob/5588ca7d9e97759888dca3bf4f2f273c2131fc08/lib/appium_lib/ios/xcuitest/element/button.rb#L9) ios
|
2515
2519
|
|
2516
2520
|
> def button_class
|
2517
2521
|
|
@@ -2523,7 +2527,7 @@ __Returns:__
|
|
2523
2527
|
|
2524
2528
|
--
|
2525
2529
|
|
2526
|
-
##### [button](https://github.com/appium/ruby_lib/blob/
|
2530
|
+
##### [button](https://github.com/appium/ruby_lib/blob/5588ca7d9e97759888dca3bf4f2f273c2131fc08/lib/appium_lib/ios/xcuitest/element/button.rb#L17) ios
|
2527
2531
|
|
2528
2532
|
> def button(value)
|
2529
2533
|
|
@@ -2540,7 +2544,7 @@ __Returns:__
|
|
2540
2544
|
|
2541
2545
|
--
|
2542
2546
|
|
2543
|
-
##### [buttons](https://github.com/appium/ruby_lib/blob/
|
2547
|
+
##### [buttons](https://github.com/appium/ruby_lib/blob/5588ca7d9e97759888dca3bf4f2f273c2131fc08/lib/appium_lib/ios/xcuitest/element/button.rb#L27) ios
|
2544
2548
|
|
2545
2549
|
> def buttons(value = false)
|
2546
2550
|
|
@@ -2557,7 +2561,7 @@ __Returns:__
|
|
2557
2561
|
|
2558
2562
|
--
|
2559
2563
|
|
2560
|
-
##### [first_button](https://github.com/appium/ruby_lib/blob/
|
2564
|
+
##### [first_button](https://github.com/appium/ruby_lib/blob/5588ca7d9e97759888dca3bf4f2f273c2131fc08/lib/appium_lib/ios/xcuitest/element/button.rb#L35) ios
|
2561
2565
|
|
2562
2566
|
> def first_button
|
2563
2567
|
|
@@ -2569,7 +2573,7 @@ __Returns:__
|
|
2569
2573
|
|
2570
2574
|
--
|
2571
2575
|
|
2572
|
-
##### [last_button](https://github.com/appium/ruby_lib/blob/
|
2576
|
+
##### [last_button](https://github.com/appium/ruby_lib/blob/5588ca7d9e97759888dca3bf4f2f273c2131fc08/lib/appium_lib/ios/xcuitest/element/button.rb#L43) ios
|
2573
2577
|
|
2574
2578
|
> def last_button
|
2575
2579
|
|
@@ -2583,7 +2587,7 @@ __Returns:__
|
|
2583
2587
|
|
2584
2588
|
--
|
2585
2589
|
|
2586
|
-
##### [button_exact](https://github.com/appium/ruby_lib/blob/
|
2590
|
+
##### [button_exact](https://github.com/appium/ruby_lib/blob/5588ca7d9e97759888dca3bf4f2f273c2131fc08/lib/appium_lib/ios/xcuitest/element/button.rb#L50) ios
|
2587
2591
|
|
2588
2592
|
> def button_exact(value)
|
2589
2593
|
|
@@ -2599,7 +2603,7 @@ __Returns:__
|
|
2599
2603
|
|
2600
2604
|
--
|
2601
2605
|
|
2602
|
-
##### [buttons_exact](https://github.com/appium/ruby_lib/blob/
|
2606
|
+
##### [buttons_exact](https://github.com/appium/ruby_lib/blob/5588ca7d9e97759888dca3bf4f2f273c2131fc08/lib/appium_lib/ios/xcuitest/element/button.rb#L57) ios
|
2603
2607
|
|
2604
2608
|
> def buttons_exact(value)
|
2605
2609
|
|
@@ -2615,7 +2619,7 @@ __Returns:__
|
|
2615
2619
|
|
2616
2620
|
--
|
2617
2621
|
|
2618
|
-
##### [find](https://github.com/appium/ruby_lib/blob/
|
2622
|
+
##### [find](https://github.com/appium/ruby_lib/blob/5588ca7d9e97759888dca3bf4f2f273c2131fc08/lib/appium_lib/ios/xcuitest/element/generic.rb#L8) ios
|
2619
2623
|
|
2620
2624
|
> def find(value)
|
2621
2625
|
|
@@ -2631,7 +2635,7 @@ __Returns:__
|
|
2631
2635
|
|
2632
2636
|
--
|
2633
2637
|
|
2634
|
-
##### [finds](https://github.com/appium/ruby_lib/blob/
|
2638
|
+
##### [finds](https://github.com/appium/ruby_lib/blob/5588ca7d9e97759888dca3bf4f2f273c2131fc08/lib/appium_lib/ios/xcuitest/element/generic.rb#L15) ios
|
2635
2639
|
|
2636
2640
|
> def finds(value)
|
2637
2641
|
|
@@ -2647,7 +2651,7 @@ __Returns:__
|
|
2647
2651
|
|
2648
2652
|
--
|
2649
2653
|
|
2650
|
-
##### [find_exact](https://github.com/appium/ruby_lib/blob/
|
2654
|
+
##### [find_exact](https://github.com/appium/ruby_lib/blob/5588ca7d9e97759888dca3bf4f2f273c2131fc08/lib/appium_lib/ios/xcuitest/element/generic.rb#L23) ios
|
2651
2655
|
|
2652
2656
|
> def find_exact(value)
|
2653
2657
|
|
@@ -2663,7 +2667,7 @@ __Returns:__
|
|
2663
2667
|
|
2664
2668
|
--
|
2665
2669
|
|
2666
|
-
##### [finds_exact](https://github.com/appium/ruby_lib/blob/
|
2670
|
+
##### [finds_exact](https://github.com/appium/ruby_lib/blob/5588ca7d9e97759888dca3bf4f2f273c2131fc08/lib/appium_lib/ios/xcuitest/element/generic.rb#L30) ios
|
2667
2671
|
|
2668
2672
|
> def finds_exact(value)
|
2669
2673
|
|
@@ -2679,7 +2683,7 @@ __Returns:__
|
|
2679
2683
|
|
2680
2684
|
--
|
2681
2685
|
|
2682
|
-
##### [raise_error_if_no_element](https://github.com/appium/ruby_lib/blob/
|
2686
|
+
##### [raise_error_if_no_element](https://github.com/appium/ruby_lib/blob/5588ca7d9e97759888dca3bf4f2f273c2131fc08/lib/appium_lib/ios/xcuitest/element/generic.rb#L37) ios
|
2683
2687
|
|
2684
2688
|
> def raise_error_if_no_element(element)
|
2685
2689
|
|
@@ -2687,7 +2691,7 @@ __Returns:__
|
|
2687
2691
|
|
2688
2692
|
--
|
2689
2693
|
|
2690
|
-
##### [select_visible_elements](https://github.com/appium/ruby_lib/blob/
|
2694
|
+
##### [select_visible_elements](https://github.com/appium/ruby_lib/blob/5588ca7d9e97759888dca3bf4f2f273c2131fc08/lib/appium_lib/ios/xcuitest/element/generic.rb#L44) ios
|
2691
2695
|
|
2692
2696
|
> def select_visible_elements(elements)
|
2693
2697
|
|
@@ -2695,7 +2699,7 @@ Return visible elements.
|
|
2695
2699
|
|
2696
2700
|
--
|
2697
2701
|
|
2698
|
-
##### [swipe](https://github.com/appium/ruby_lib/blob/
|
2702
|
+
##### [swipe](https://github.com/appium/ruby_lib/blob/5588ca7d9e97759888dca3bf4f2f273c2131fc08/lib/appium_lib/ios/xcuitest/command/gestures.rb#L11) ios
|
2699
2703
|
|
2700
2704
|
> def swipe(direction:, element: nil)
|
2701
2705
|
|
@@ -2709,7 +2713,7 @@ __Parameters:__
|
|
2709
2713
|
|
2710
2714
|
--
|
2711
2715
|
|
2712
|
-
##### [scroll](https://github.com/appium/ruby_lib/blob/
|
2716
|
+
##### [scroll](https://github.com/appium/ruby_lib/blob/5588ca7d9e97759888dca3bf4f2f273c2131fc08/lib/appium_lib/ios/xcuitest/command/gestures.rb#L29) ios
|
2713
2717
|
|
2714
2718
|
> def scroll(direction:, name: nil, element: nil, to_visible: nil, predicate_string: nil)
|
2715
2719
|
|
@@ -2723,7 +2727,7 @@ __Parameters:__
|
|
2723
2727
|
|
2724
2728
|
--
|
2725
2729
|
|
2726
|
-
##### [pinch](https://github.com/appium/ruby_lib/blob/
|
2730
|
+
##### [pinch](https://github.com/appium/ruby_lib/blob/5588ca7d9e97759888dca3bf4f2f273c2131fc08/lib/appium_lib/ios/xcuitest/command/gestures.rb#L48) ios
|
2727
2731
|
|
2728
2732
|
> def pinch(scale:, velocity: 1.0, element: nil)
|
2729
2733
|
|
@@ -2739,7 +2743,7 @@ __Parameters:__
|
|
2739
2743
|
|
2740
2744
|
--
|
2741
2745
|
|
2742
|
-
##### [double_tap](https://github.com/appium/ruby_lib/blob/
|
2746
|
+
##### [double_tap](https://github.com/appium/ruby_lib/blob/5588ca7d9e97759888dca3bf4f2f273c2131fc08/lib/appium_lib/ios/xcuitest/command/gestures.rb#L63) ios
|
2743
2747
|
|
2744
2748
|
> def double_tap(x: nil, y: nil, element: nil)
|
2745
2749
|
|
@@ -2755,7 +2759,7 @@ __Parameters:__
|
|
2755
2759
|
|
2756
2760
|
--
|
2757
2761
|
|
2758
|
-
##### [touch_and_hold](https://github.com/appium/ruby_lib/blob/
|
2762
|
+
##### [touch_and_hold](https://github.com/appium/ruby_lib/blob/5588ca7d9e97759888dca3bf4f2f273c2131fc08/lib/appium_lib/ios/xcuitest/command/gestures.rb#L80) ios
|
2759
2763
|
|
2760
2764
|
> def touch_and_hold(x: nil, y: nil, element: nil, duration: 1.0)
|
2761
2765
|
|
@@ -2773,7 +2777,7 @@ __Parameters:__
|
|
2773
2777
|
|
2774
2778
|
--
|
2775
2779
|
|
2776
|
-
##### [two_finger_tap](https://github.com/appium/ruby_lib/blob/
|
2780
|
+
##### [two_finger_tap](https://github.com/appium/ruby_lib/blob/5588ca7d9e97759888dca3bf4f2f273c2131fc08/lib/appium_lib/ios/xcuitest/command/gestures.rb#L93) ios
|
2777
2781
|
|
2778
2782
|
> def two_finger_tap(element:)
|
2779
2783
|
|
@@ -2789,7 +2793,7 @@ two_finger_tap element: find_element(:accessibility_id, "some item")
|
|
2789
2793
|
|
2790
2794
|
--
|
2791
2795
|
|
2792
|
-
##### [tap](https://github.com/appium/ruby_lib/blob/
|
2796
|
+
##### [tap](https://github.com/appium/ruby_lib/blob/5588ca7d9e97759888dca3bf4f2f273c2131fc08/lib/appium_lib/ios/xcuitest/command/gestures.rb#L108) ios
|
2793
2797
|
|
2794
2798
|
> def tap(x:, y:, element: nil)
|
2795
2799
|
|
@@ -2805,7 +2809,7 @@ __Parameters:__
|
|
2805
2809
|
|
2806
2810
|
--
|
2807
2811
|
|
2808
|
-
##### [drag_from_to_for_duration](https://github.com/appium/ruby_lib/blob/
|
2812
|
+
##### [drag_from_to_for_duration](https://github.com/appium/ruby_lib/blob/5588ca7d9e97759888dca3bf4f2f273c2131fc08/lib/appium_lib/ios/xcuitest/command/gestures.rb#L128) ios
|
2809
2813
|
|
2810
2814
|
> def drag_from_to_for_duration(from_x:, from_y:, to_x:, to_y:, duration: 1.0, element: nil)
|
2811
2815
|
|
@@ -2828,7 +2832,7 @@ drag point should be before to start dragging. Mandatory parameter
|
|
2828
2832
|
|
2829
2833
|
--
|
2830
2834
|
|
2831
|
-
##### [select_picker_wheel](https://github.com/appium/ruby_lib/blob/
|
2835
|
+
##### [select_picker_wheel](https://github.com/appium/ruby_lib/blob/5588ca7d9e97759888dca3bf4f2f273c2131fc08/lib/appium_lib/ios/xcuitest/command/gestures.rb#L145) ios
|
2832
2836
|
|
2833
2837
|
> def select_picker_wheel(element:, order:, offset: nil)
|
2834
2838
|
|
@@ -2845,7 +2849,7 @@ __Parameters:__
|
|
2845
2849
|
|
2846
2850
|
--
|
2847
2851
|
|
2848
|
-
##### [alert](https://github.com/appium/ruby_lib/blob/
|
2852
|
+
##### [alert](https://github.com/appium/ruby_lib/blob/5588ca7d9e97759888dca3bf4f2f273c2131fc08/lib/appium_lib/ios/xcuitest/command/gestures.rb#L163) ios
|
2849
2853
|
|
2850
2854
|
> def alert(action:, button_label: nil)
|
2851
2855
|
|
@@ -2860,7 +2864,7 @@ This is an optional parameter and is only valid in combination with accept and d
|
|
2860
2864
|
|
2861
2865
|
--
|
2862
2866
|
|
2863
|
-
##### [text_field_class](https://github.com/appium/ruby_lib/blob/
|
2867
|
+
##### [text_field_class](https://github.com/appium/ruby_lib/blob/5588ca7d9e97759888dca3bf4f2f273c2131fc08/lib/appium_lib/ios/xcuitest/element/textfield.rb#L9) ios
|
2864
2868
|
|
2865
2869
|
> def text_field_class
|
2866
2870
|
|
@@ -2872,7 +2876,7 @@ __Returns:__
|
|
2872
2876
|
|
2873
2877
|
--
|
2874
2878
|
|
2875
|
-
##### [secure_text_field_class](https://github.com/appium/ruby_lib/blob/
|
2879
|
+
##### [secure_text_field_class](https://github.com/appium/ruby_lib/blob/5588ca7d9e97759888dca3bf4f2f273c2131fc08/lib/appium_lib/ios/xcuitest/element/textfield.rb#L14) ios
|
2876
2880
|
|
2877
2881
|
> def secure_text_field_class
|
2878
2882
|
|
@@ -2884,7 +2888,7 @@ __Returns:__
|
|
2884
2888
|
|
2885
2889
|
--
|
2886
2890
|
|
2887
|
-
##### [textfield](https://github.com/appium/ruby_lib/blob/
|
2891
|
+
##### [textfield](https://github.com/appium/ruby_lib/blob/5588ca7d9e97759888dca3bf4f2f273c2131fc08/lib/appium_lib/ios/xcuitest/element/textfield.rb#L23) ios
|
2888
2892
|
|
2889
2893
|
> def textfield(value)
|
2890
2894
|
|
@@ -2902,7 +2906,7 @@ __Returns:__
|
|
2902
2906
|
|
2903
2907
|
--
|
2904
2908
|
|
2905
|
-
##### [textfields](https://github.com/appium/ruby_lib/blob/
|
2909
|
+
##### [textfields](https://github.com/appium/ruby_lib/blob/5588ca7d9e97759888dca3bf4f2f273c2131fc08/lib/appium_lib/ios/xcuitest/element/textfield.rb#L41) ios
|
2906
2910
|
|
2907
2911
|
> def textfields(value = false)
|
2908
2912
|
|
@@ -2919,7 +2923,7 @@ __Returns:__
|
|
2919
2923
|
|
2920
2924
|
--
|
2921
2925
|
|
2922
|
-
##### [first_textfield](https://github.com/appium/ruby_lib/blob/
|
2926
|
+
##### [first_textfield](https://github.com/appium/ruby_lib/blob/5588ca7d9e97759888dca3bf4f2f273c2131fc08/lib/appium_lib/ios/xcuitest/element/textfield.rb#L50) ios
|
2923
2927
|
|
2924
2928
|
> def first_textfield
|
2925
2929
|
|
@@ -2931,7 +2935,7 @@ __Returns:__
|
|
2931
2935
|
|
2932
2936
|
--
|
2933
2937
|
|
2934
|
-
##### [last_textfield](https://github.com/appium/ruby_lib/blob/
|
2938
|
+
##### [last_textfield](https://github.com/appium/ruby_lib/blob/5588ca7d9e97759888dca3bf4f2f273c2131fc08/lib/appium_lib/ios/xcuitest/element/textfield.rb#L56) ios
|
2935
2939
|
|
2936
2940
|
> def last_textfield
|
2937
2941
|
|
@@ -2943,7 +2947,7 @@ __Returns:__
|
|
2943
2947
|
|
2944
2948
|
--
|
2945
2949
|
|
2946
|
-
##### [textfield_exact](https://github.com/appium/ruby_lib/blob/
|
2950
|
+
##### [textfield_exact](https://github.com/appium/ruby_lib/blob/5588ca7d9e97759888dca3bf4f2f273c2131fc08/lib/appium_lib/ios/xcuitest/element/textfield.rb#L65) ios
|
2947
2951
|
|
2948
2952
|
> def textfield_exact(value)
|
2949
2953
|
|
@@ -2959,7 +2963,7 @@ __Returns:__
|
|
2959
2963
|
|
2960
2964
|
--
|
2961
2965
|
|
2962
|
-
##### [textfields_exact](https://github.com/appium/ruby_lib/blob/
|
2966
|
+
##### [textfields_exact](https://github.com/appium/ruby_lib/blob/5588ca7d9e97759888dca3bf4f2f273c2131fc08/lib/appium_lib/ios/xcuitest/element/textfield.rb#L72) ios
|
2963
2967
|
|
2964
2968
|
> def textfields_exact(value)
|
2965
2969
|
|
@@ -2975,7 +2979,7 @@ __Returns:__
|
|
2975
2979
|
|
2976
2980
|
--
|
2977
2981
|
|
2978
|
-
##### [set_pasteboard](https://github.com/appium/ruby_lib/blob/
|
2982
|
+
##### [set_pasteboard](https://github.com/appium/ruby_lib/blob/5588ca7d9e97759888dca3bf4f2f273c2131fc08/lib/appium_lib/ios/xcuitest/command/pasteboard.rb#L12) ios
|
2979
2983
|
|
2980
2984
|
> def set_pasteboard(content:, encoding: nil)
|
2981
2985
|
|
@@ -2990,7 +2994,7 @@ The parameter is mandatory
|
|
2990
2994
|
|
2991
2995
|
--
|
2992
2996
|
|
2993
|
-
##### [get_pasteboard](https://github.com/appium/ruby_lib/blob/
|
2997
|
+
##### [get_pasteboard](https://github.com/appium/ruby_lib/blob/5588ca7d9e97759888dca3bf4f2f273c2131fc08/lib/appium_lib/ios/xcuitest/command/pasteboard.rb#L24) ios
|
2994
2998
|
|
2995
2999
|
> def get_pasteboard(encoding: nil)
|
2996
3000
|
|