appium_lib 9.7.2 → 9.7.3
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 +13 -0
- data/docs/android_docs.md +220 -168
- data/docs/docs.md +13 -37
- data/docs/ios_docs.md +278 -220
- data/docs/ios_xcuitest.md +0 -4
- data/docs/parallel.md +8 -0
- data/lib/appium_lib/android/android.rb +3 -0
- data/lib/appium_lib/android/common/helper.rb +3 -0
- data/lib/appium_lib/android/espresso.rb +9 -0
- data/lib/appium_lib/android/espresso/bridge.rb +14 -0
- data/lib/appium_lib/common/multi_touch.rb +151 -4
- data/lib/appium_lib/common/touch_actions.rb +21 -0
- data/lib/appium_lib/common/wait.rb +2 -22
- data/lib/appium_lib/core/android.rb +1 -0
- data/lib/appium_lib/core/android/espresso/bridge.rb +18 -0
- data/lib/appium_lib/core/android/touch.rb +15 -0
- data/lib/appium_lib/core/android/uiautomator1/bridge.rb +3 -1
- data/lib/appium_lib/core/android/uiautomator2/bridge.rb +3 -1
- data/lib/appium_lib/core/android_espresso.rb +5 -0
- data/lib/appium_lib/core/android_uiautomator2.rb +1 -0
- data/lib/appium_lib/core/core.rb +1 -1
- data/lib/appium_lib/core/device/touch_actions.rb +8 -23
- data/lib/appium_lib/core/driver.rb +93 -17
- data/lib/appium_lib/core/ios.rb +1 -0
- data/lib/appium_lib/core/ios/touch.rb +16 -0
- data/lib/appium_lib/core/ios/uiautomation/bridge.rb +2 -0
- data/lib/appium_lib/core/ios/xcuitest/bridge.rb +2 -0
- data/lib/appium_lib/core/ios/xcuitest/search_context.rb +23 -12
- data/lib/appium_lib/core/ios_xcuitest.rb +1 -0
- data/lib/appium_lib/driver.rb +18 -15
- data/lib/appium_lib/ios/xcuitest/bridge.rb +1 -0
- data/lib/appium_lib/ios/xcuitest/command.rb +1 -0
- data/lib/appium_lib/ios/xcuitest/command/source.rb +20 -0
- data/lib/appium_lib/version.rb +2 -2
- data/readme.md +14 -29
- data/release_notes.md +8 -0
- metadata +10 -3
- data/lib/appium_lib/core/device/multi_touch.rb +0 -213
data/docs/docs.md
CHANGED
@@ -64,7 +64,7 @@ driver.rotate :landscape
|
|
64
64
|
driver.rotate :portrait
|
65
65
|
```
|
66
66
|
|
67
|
-
- `
|
67
|
+
- `appium_server_version` Discover the Appium rev running on the server.
|
68
68
|
- `element.send_keys "msg"` Sends keys to currently active element
|
69
69
|
|
70
70
|
#### generic
|
@@ -132,17 +132,16 @@ e.tag_name # calls .type (patch.rb)
|
|
132
132
|
e.text
|
133
133
|
e.size
|
134
134
|
e.location
|
135
|
-
e.
|
135
|
+
e.location_rel
|
136
136
|
e.click
|
137
137
|
e.send_keys 'keys to send'
|
138
|
-
e.set_value 'value to set' # ruby_console specific
|
139
138
|
e.displayed? # true or false depending if the element is visible
|
140
139
|
e.selected? # is the tab selected?
|
141
140
|
e.attribute('checked') # is the checkbox checked?
|
142
141
|
|
143
142
|
|
144
143
|
# alert example without helper methods
|
145
|
-
alert =
|
144
|
+
alert = @driver.switch_to.alert
|
146
145
|
alert.text
|
147
146
|
alert.accept
|
148
147
|
alert.dismiss
|
@@ -160,25 +159,16 @@ s.value == ios_password('hello'.length)
|
|
160
159
|
--
|
161
160
|
|
162
161
|
#### Driver
|
163
|
-
|
164
|
-
`
|
165
|
-
|
166
|
-
`
|
167
|
-
|
168
|
-
`
|
169
|
-
|
170
|
-
`
|
171
|
-
|
172
|
-
`
|
173
|
-
|
174
|
-
`no_wait` will set implicit wait to 0. `$driver.manage.timeouts.implicit_wait = 0`
|
175
|
-
|
176
|
-
`set_wait` will set implicit wait to default seconds. `$driver.manage.timeouts.implicit_wait = default`
|
177
|
-
|
178
|
-
`set_wait(timeout_seconds)` will set implicit wait to desired timeout. `$driver.manage.timeouts.implicit_wait = timeout`
|
179
|
-
|
180
|
-
.click to tap an element.
|
181
|
-
.send_keys to type on an element.
|
162
|
+
- `start_driver` will restart the driver.
|
163
|
+
- `x` will quit the driver and exit Pry.
|
164
|
+
- `execute_script` calls `@driver.execute_script`
|
165
|
+
- `find_element` calls `@driver.find_element`
|
166
|
+
- `find_elements` calls `@driver.find_elements`
|
167
|
+
- `no_wait` will set implicit wait to 0. `@driver.manage.timeouts.implicit_wait = 0`
|
168
|
+
- `set_wait` will set implicit wait to default seconds. `@driver.manage.timeouts.implicit_wait = default`
|
169
|
+
- `set_wait(timeout_seconds)` will set implicit wait to desired timeout. `@driver.manage.timeouts.implicit_wait = timeout`
|
170
|
+
- `.click` to tap an element.
|
171
|
+
- `.send_keys` or `.type` to type on an element.
|
182
172
|
|
183
173
|
#### Cucumber Sauce Integration
|
184
174
|
|
@@ -201,17 +191,3 @@ After do |scenario|
|
|
201
191
|
end
|
202
192
|
end
|
203
193
|
```
|
204
|
-
|
205
|
-
#### Android notes
|
206
|
-
|
207
|
-
list all ids on API 18
|
208
|
-
|
209
|
-
`get_source.to_s.scan(/id\/([^\"]*)\"/)`
|
210
|
-
|
211
|
-
#### iOS notes
|
212
|
-
|
213
|
-
Accept an alert if it exists.
|
214
|
-
|
215
|
-
```ruby
|
216
|
-
alert_accept if exists { alert_text }
|
217
|
-
```
|
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/07ebd5767f3e9fafdfb597ec186b0e7f5384a839/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/07ebd5767f3e9fafdfb597ec186b0e7f5384a839/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/07ebd5767f3e9fafdfb597ec186b0e7f5384a839/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/07ebd5767f3e9fafdfb597ec186b0e7f5384a839/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/07ebd5767f3e9fafdfb597ec186b0e7f5384a839/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/07ebd5767f3e9fafdfb597ec186b0e7f5384a839/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/07ebd5767f3e9fafdfb597ec186b0e7f5384a839/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/07ebd5767f3e9fafdfb597ec186b0e7f5384a839/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/07ebd5767f3e9fafdfb597ec186b0e7f5384a839/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/07ebd5767f3e9fafdfb597ec186b0e7f5384a839/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/07ebd5767f3e9fafdfb597ec186b0e7f5384a839/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/07ebd5767f3e9fafdfb597ec186b0e7f5384a839/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/07ebd5767f3e9fafdfb597ec186b0e7f5384a839/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/07ebd5767f3e9fafdfb597ec186b0e7f5384a839/lib/appium_lib/driver.rb#L41)
|
187
187
|
|
188
188
|
> def export_session
|
189
189
|
|
@@ -191,7 +191,15 @@ Returns the value of attribute export_session
|
|
191
191
|
|
192
192
|
--
|
193
193
|
|
194
|
-
##### [
|
194
|
+
##### [export_session_path](https://github.com/appium/ruby_lib/blob/07ebd5767f3e9fafdfb597ec186b0e7f5384a839/lib/appium_lib/driver.rb#L42)
|
195
|
+
|
196
|
+
> def export_session_path
|
197
|
+
|
198
|
+
Returns the value of attribute export_session_path
|
199
|
+
|
200
|
+
--
|
201
|
+
|
202
|
+
##### [default_wait](https://github.com/appium/ruby_lib/blob/07ebd5767f3e9fafdfb597ec186b0e7f5384a839/lib/appium_lib/driver.rb#L43)
|
195
203
|
|
196
204
|
> def default_wait
|
197
205
|
|
@@ -199,7 +207,7 @@ Returns the value of attribute default_wait
|
|
199
207
|
|
200
208
|
--
|
201
209
|
|
202
|
-
##### [appium_port](https://github.com/appium/ruby_lib/blob/
|
210
|
+
##### [appium_port](https://github.com/appium/ruby_lib/blob/07ebd5767f3e9fafdfb597ec186b0e7f5384a839/lib/appium_lib/driver.rb#L44)
|
203
211
|
|
204
212
|
> def appium_port
|
205
213
|
|
@@ -207,7 +215,7 @@ Returns the value of attribute appium_port
|
|
207
215
|
|
208
216
|
--
|
209
217
|
|
210
|
-
##### [appium_device](https://github.com/appium/ruby_lib/blob/
|
218
|
+
##### [appium_device](https://github.com/appium/ruby_lib/blob/07ebd5767f3e9fafdfb597ec186b0e7f5384a839/lib/appium_lib/driver.rb#L45)
|
211
219
|
|
212
220
|
> def appium_device
|
213
221
|
|
@@ -215,7 +223,7 @@ Returns the value of attribute appium_device
|
|
215
223
|
|
216
224
|
--
|
217
225
|
|
218
|
-
##### [automation_name](https://github.com/appium/ruby_lib/blob/
|
226
|
+
##### [automation_name](https://github.com/appium/ruby_lib/blob/07ebd5767f3e9fafdfb597ec186b0e7f5384a839/lib/appium_lib/driver.rb#L46)
|
219
227
|
|
220
228
|
> def automation_name
|
221
229
|
|
@@ -223,7 +231,7 @@ Returns the value of attribute automation_name
|
|
223
231
|
|
224
232
|
--
|
225
233
|
|
226
|
-
##### [listener](https://github.com/appium/ruby_lib/blob/
|
234
|
+
##### [listener](https://github.com/appium/ruby_lib/blob/07ebd5767f3e9fafdfb597ec186b0e7f5384a839/lib/appium_lib/driver.rb#L47)
|
227
235
|
|
228
236
|
> def listener
|
229
237
|
|
@@ -231,7 +239,7 @@ Returns the value of attribute listener
|
|
231
239
|
|
232
240
|
--
|
233
241
|
|
234
|
-
##### [http_client](https://github.com/appium/ruby_lib/blob/
|
242
|
+
##### [http_client](https://github.com/appium/ruby_lib/blob/07ebd5767f3e9fafdfb597ec186b0e7f5384a839/lib/appium_lib/driver.rb#L48)
|
235
243
|
|
236
244
|
> def http_client
|
237
245
|
|
@@ -239,7 +247,7 @@ Returns the value of attribute http_client
|
|
239
247
|
|
240
248
|
--
|
241
249
|
|
242
|
-
##### [appium_wait_timeout](https://github.com/appium/ruby_lib/blob/
|
250
|
+
##### [appium_wait_timeout](https://github.com/appium/ruby_lib/blob/07ebd5767f3e9fafdfb597ec186b0e7f5384a839/lib/appium_lib/driver.rb#L49)
|
243
251
|
|
244
252
|
> def appium_wait_timeout
|
245
253
|
|
@@ -247,7 +255,7 @@ Returns the value of attribute appium_wait_timeout
|
|
247
255
|
|
248
256
|
--
|
249
257
|
|
250
|
-
##### [appium_wait_interval](https://github.com/appium/ruby_lib/blob/
|
258
|
+
##### [appium_wait_interval](https://github.com/appium/ruby_lib/blob/07ebd5767f3e9fafdfb597ec186b0e7f5384a839/lib/appium_lib/driver.rb#L50)
|
251
259
|
|
252
260
|
> def appium_wait_interval
|
253
261
|
|
@@ -255,7 +263,7 @@ Returns the value of attribute appium_wait_interval
|
|
255
263
|
|
256
264
|
--
|
257
265
|
|
258
|
-
##### [appium_server_status](https://github.com/appium/ruby_lib/blob/
|
266
|
+
##### [appium_server_status](https://github.com/appium/ruby_lib/blob/07ebd5767f3e9fafdfb597ec186b0e7f5384a839/lib/appium_lib/driver.rb#L53)
|
259
267
|
|
260
268
|
> def appium_server_status
|
261
269
|
|
@@ -263,7 +271,7 @@ Appium's server version
|
|
263
271
|
|
264
272
|
--
|
265
273
|
|
266
|
-
##### [appium_debug](https://github.com/appium/ruby_lib/blob/
|
274
|
+
##### [appium_debug](https://github.com/appium/ruby_lib/blob/07ebd5767f3e9fafdfb597ec186b0e7f5384a839/lib/appium_lib/driver.rb#L55)
|
267
275
|
|
268
276
|
> def appium_debug
|
269
277
|
|
@@ -271,7 +279,7 @@ Boolean debug mode for the Appium Ruby bindings
|
|
271
279
|
|
272
280
|
--
|
273
281
|
|
274
|
-
##### [driver](https://github.com/appium/ruby_lib/blob/
|
282
|
+
##### [driver](https://github.com/appium/ruby_lib/blob/07ebd5767f3e9fafdfb597ec186b0e7f5384a839/lib/appium_lib/driver.rb#L58)
|
275
283
|
|
276
284
|
> def driver
|
277
285
|
|
@@ -283,7 +291,7 @@ __Returns:__
|
|
283
291
|
|
284
292
|
--
|
285
293
|
|
286
|
-
##### [core](https://github.com/appium/ruby_lib/blob/
|
294
|
+
##### [core](https://github.com/appium/ruby_lib/blob/07ebd5767f3e9fafdfb597ec186b0e7f5384a839/lib/appium_lib/driver.rb#L60)
|
287
295
|
|
288
296
|
> def core
|
289
297
|
|
@@ -291,7 +299,7 @@ Instance of Appium::Core::Driver
|
|
291
299
|
|
292
300
|
--
|
293
301
|
|
294
|
-
##### [initialize](https://github.com/appium/ruby_lib/blob/
|
302
|
+
##### [initialize](https://github.com/appium/ruby_lib/blob/07ebd5767f3e9fafdfb597ec186b0e7f5384a839/lib/appium_lib/driver.rb#L111)
|
295
303
|
|
296
304
|
> def initialize(opts = {}, global_driver = nil)
|
297
305
|
|
@@ -310,7 +318,7 @@ __Returns:__
|
|
310
318
|
|
311
319
|
--
|
312
320
|
|
313
|
-
##### [driver_attributes](https://github.com/appium/ruby_lib/blob/
|
321
|
+
##### [driver_attributes](https://github.com/appium/ruby_lib/blob/07ebd5767f3e9fafdfb597ec186b0e7f5384a839/lib/appium_lib/driver.rb#L217)
|
314
322
|
|
315
323
|
> def driver_attributes
|
316
324
|
|
@@ -318,7 +326,7 @@ Returns a hash of the driver attributes
|
|
318
326
|
|
319
327
|
--
|
320
328
|
|
321
|
-
##### [device_is_android?](https://github.com/appium/ruby_lib/blob/
|
329
|
+
##### [device_is_android?](https://github.com/appium/ruby_lib/blob/07ebd5767f3e9fafdfb597ec186b0e7f5384a839/lib/appium_lib/driver.rb#L237)
|
322
330
|
|
323
331
|
> def device_is_android?
|
324
332
|
|
@@ -330,7 +338,7 @@ __Returns:__
|
|
330
338
|
|
331
339
|
--
|
332
340
|
|
333
|
-
##### [device_is_ios?](https://github.com/appium/ruby_lib/blob/
|
341
|
+
##### [device_is_ios?](https://github.com/appium/ruby_lib/blob/07ebd5767f3e9fafdfb597ec186b0e7f5384a839/lib/appium_lib/driver.rb#L241)
|
334
342
|
|
335
343
|
> def device_is_ios?
|
336
344
|
|
@@ -342,7 +350,7 @@ __Returns:__
|
|
342
350
|
|
343
351
|
--
|
344
352
|
|
345
|
-
##### [device_is_windows?](https://github.com/appium/ruby_lib/blob/
|
353
|
+
##### [device_is_windows?](https://github.com/appium/ruby_lib/blob/07ebd5767f3e9fafdfb597ec186b0e7f5384a839/lib/appium_lib/driver.rb#L245)
|
346
354
|
|
347
355
|
> def device_is_windows?
|
348
356
|
|
@@ -354,7 +362,7 @@ __Returns:__
|
|
354
362
|
|
355
363
|
--
|
356
364
|
|
357
|
-
##### [automation_name_is_uiautomator2?](https://github.com/appium/ruby_lib/blob/
|
365
|
+
##### [automation_name_is_uiautomator2?](https://github.com/appium/ruby_lib/blob/07ebd5767f3e9fafdfb597ec186b0e7f5384a839/lib/appium_lib/driver.rb#L251)
|
358
366
|
|
359
367
|
> def automation_name_is_uiautomator2?
|
360
368
|
|
@@ -366,7 +374,7 @@ __Returns:__
|
|
366
374
|
|
367
375
|
--
|
368
376
|
|
369
|
-
##### [automation_name_is_espresso?](https://github.com/appium/ruby_lib/blob/
|
377
|
+
##### [automation_name_is_espresso?](https://github.com/appium/ruby_lib/blob/07ebd5767f3e9fafdfb597ec186b0e7f5384a839/lib/appium_lib/driver.rb#L257)
|
370
378
|
|
371
379
|
> def automation_name_is_espresso?
|
372
380
|
|
@@ -378,7 +386,7 @@ __Returns:__
|
|
378
386
|
|
379
387
|
--
|
380
388
|
|
381
|
-
##### [automation_name_is_xcuitest?](https://github.com/appium/ruby_lib/blob/
|
389
|
+
##### [automation_name_is_xcuitest?](https://github.com/appium/ruby_lib/blob/07ebd5767f3e9fafdfb597ec186b0e7f5384a839/lib/appium_lib/driver.rb#L263)
|
382
390
|
|
383
391
|
> def automation_name_is_xcuitest?
|
384
392
|
|
@@ -390,7 +398,7 @@ __Returns:__
|
|
390
398
|
|
391
399
|
--
|
392
400
|
|
393
|
-
##### [check_server_version_xcuitest](https://github.com/appium/ruby_lib/blob/
|
401
|
+
##### [check_server_version_xcuitest](https://github.com/appium/ruby_lib/blob/07ebd5767f3e9fafdfb597ec186b0e7f5384a839/lib/appium_lib/driver.rb#L270)
|
394
402
|
|
395
403
|
> def check_server_version_xcuitest
|
396
404
|
|
@@ -403,7 +411,7 @@ __Returns:__
|
|
403
411
|
|
404
412
|
--
|
405
413
|
|
406
|
-
##### [appium_server_version](https://github.com/appium/ruby_lib/blob/
|
414
|
+
##### [appium_server_version](https://github.com/appium/ruby_lib/blob/07ebd5767f3e9fafdfb597ec186b0e7f5384a839/lib/appium_lib/driver.rb#L291)
|
407
415
|
|
408
416
|
> def appium_server_version
|
409
417
|
|
@@ -415,7 +423,7 @@ __Returns:__
|
|
415
423
|
|
416
424
|
--
|
417
425
|
|
418
|
-
##### [platform_version](https://github.com/appium/ruby_lib/blob/
|
426
|
+
##### [platform_version](https://github.com/appium/ruby_lib/blob/07ebd5767f3e9fafdfb597ec186b0e7f5384a839/lib/appium_lib/driver.rb#L301)
|
419
427
|
|
420
428
|
> def platform_version
|
421
429
|
|
@@ -427,7 +435,7 @@ __Returns:__
|
|
427
435
|
|
428
436
|
--
|
429
437
|
|
430
|
-
##### [appium_client_version](https://github.com/appium/ruby_lib/blob/
|
438
|
+
##### [appium_client_version](https://github.com/appium/ruby_lib/blob/07ebd5767f3e9fafdfb597ec186b0e7f5384a839/lib/appium_lib/driver.rb#L320)
|
431
439
|
|
432
440
|
> def appium_client_version
|
433
441
|
|
@@ -439,7 +447,7 @@ __Returns:__
|
|
439
447
|
|
440
448
|
--
|
441
449
|
|
442
|
-
##### [absolute_app_path](https://github.com/appium/ruby_lib/blob/
|
450
|
+
##### [absolute_app_path](https://github.com/appium/ruby_lib/blob/07ebd5767f3e9fafdfb597ec186b0e7f5384a839/lib/appium_lib/driver.rb#L332)
|
443
451
|
|
444
452
|
> def self.absolute_app_path(opts)
|
445
453
|
|
@@ -456,7 +464,7 @@ __Returns:__
|
|
456
464
|
|
457
465
|
--
|
458
466
|
|
459
|
-
##### [server_url](https://github.com/appium/ruby_lib/blob/
|
467
|
+
##### [server_url](https://github.com/appium/ruby_lib/blob/07ebd5767f3e9fafdfb597ec186b0e7f5384a839/lib/appium_lib/driver.rb#L365)
|
460
468
|
|
461
469
|
> def server_url
|
462
470
|
|
@@ -468,7 +476,7 @@ __Returns:__
|
|
468
476
|
|
469
477
|
--
|
470
478
|
|
471
|
-
##### [restart](https://github.com/appium/ruby_lib/blob/
|
479
|
+
##### [restart](https://github.com/appium/ruby_lib/blob/07ebd5767f3e9fafdfb597ec186b0e7f5384a839/lib/appium_lib/driver.rb#L373)
|
472
480
|
|
473
481
|
> def restart
|
474
482
|
|
@@ -480,7 +488,7 @@ __Returns:__
|
|
480
488
|
|
481
489
|
--
|
482
490
|
|
483
|
-
##### [screenshot](https://github.com/appium/ruby_lib/blob/
|
491
|
+
##### [screenshot](https://github.com/appium/ruby_lib/blob/07ebd5767f3e9fafdfb597ec186b0e7f5384a839/lib/appium_lib/driver.rb#L386)
|
484
492
|
|
485
493
|
> def screenshot(png_save_path)
|
486
494
|
|
@@ -496,7 +504,7 @@ __Returns:__
|
|
496
504
|
|
497
505
|
--
|
498
506
|
|
499
|
-
##### [driver_quit](https://github.com/appium/ruby_lib/blob/
|
507
|
+
##### [driver_quit](https://github.com/appium/ruby_lib/blob/07ebd5767f3e9fafdfb597ec186b0e7f5384a839/lib/appium_lib/driver.rb#L392)
|
500
508
|
|
501
509
|
> def driver_quit
|
502
510
|
|
@@ -508,7 +516,7 @@ __Returns:__
|
|
508
516
|
|
509
517
|
--
|
510
518
|
|
511
|
-
##### [quit_driver](https://github.com/appium/ruby_lib/blob/
|
519
|
+
##### [quit_driver](https://github.com/appium/ruby_lib/blob/07ebd5767f3e9fafdfb597ec186b0e7f5384a839/lib/appium_lib/driver.rb#L395)
|
512
520
|
|
513
521
|
> def driver_quit
|
514
522
|
|
@@ -520,7 +528,7 @@ __Returns:__
|
|
520
528
|
|
521
529
|
--
|
522
530
|
|
523
|
-
##### [window_size](https://github.com/appium/ruby_lib/blob/
|
531
|
+
##### [window_size](https://github.com/appium/ruby_lib/blob/07ebd5767f3e9fafdfb597ec186b0e7f5384a839/lib/appium_lib/driver.rb#L406)
|
524
532
|
|
525
533
|
> def window_size
|
526
534
|
|
@@ -532,7 +540,7 @@ __Returns:__
|
|
532
540
|
|
533
541
|
--
|
534
542
|
|
535
|
-
##### [start_driver](https://github.com/appium/ruby_lib/blob/
|
543
|
+
##### [start_driver](https://github.com/appium/ruby_lib/blob/07ebd5767f3e9fafdfb597ec186b0e7f5384a839/lib/appium_lib/driver.rb#L435)
|
536
544
|
|
537
545
|
> def start_driver(http_client_ops =
|
538
546
|
|
@@ -549,7 +557,7 @@ __Returns:__
|
|
549
557
|
|
550
558
|
--
|
551
559
|
|
552
|
-
##### [set_implicit_wait](https://github.com/appium/ruby_lib/blob/
|
560
|
+
##### [set_implicit_wait](https://github.com/appium/ruby_lib/blob/07ebd5767f3e9fafdfb597ec186b0e7f5384a839/lib/appium_lib/driver.rb#L459)
|
553
561
|
|
554
562
|
> def set_implicit_wait(wait)
|
555
563
|
|
@@ -557,7 +565,7 @@ To ignore error for Espresso Driver
|
|
557
565
|
|
558
566
|
--
|
559
567
|
|
560
|
-
##### [no_wait](https://github.com/appium/ruby_lib/blob/
|
568
|
+
##### [no_wait](https://github.com/appium/ruby_lib/blob/07ebd5767f3e9fafdfb597ec186b0e7f5384a839/lib/appium_lib/driver.rb#L469)
|
561
569
|
|
562
570
|
> def no_wait
|
563
571
|
|
@@ -565,7 +573,7 @@ Set implicit wait to zero.
|
|
565
573
|
|
566
574
|
--
|
567
575
|
|
568
|
-
##### [set_wait](https://github.com/appium/ruby_lib/blob/
|
576
|
+
##### [set_wait](https://github.com/appium/ruby_lib/blob/07ebd5767f3e9fafdfb597ec186b0e7f5384a839/lib/appium_lib/driver.rb#L483)
|
569
577
|
|
570
578
|
> def set_wait(timeout = nil)
|
571
579
|
|
@@ -581,7 +589,7 @@ __Returns:__
|
|
581
589
|
|
582
590
|
--
|
583
591
|
|
584
|
-
##### [exists](https://github.com/appium/ruby_lib/blob/
|
592
|
+
##### [exists](https://github.com/appium/ruby_lib/blob/07ebd5767f3e9fafdfb597ec186b0e7f5384a839/lib/appium_lib/driver.rb#L500)
|
585
593
|
|
586
594
|
> def exists(pre_check = 0, post_check = @core.default_wait)
|
587
595
|
|
@@ -605,7 +613,7 @@ __Returns:__
|
|
605
613
|
|
606
614
|
--
|
607
615
|
|
608
|
-
##### [execute_script](https://github.com/appium/ruby_lib/blob/
|
616
|
+
##### [execute_script](https://github.com/appium/ruby_lib/blob/07ebd5767f3e9fafdfb597ec186b0e7f5384a839/lib/appium_lib/driver.rb#L524)
|
609
617
|
|
610
618
|
> def execute_script(script, *args)
|
611
619
|
|
@@ -623,7 +631,7 @@ __Returns:__
|
|
623
631
|
|
624
632
|
--
|
625
633
|
|
626
|
-
##### [find_elements](https://github.com/appium/ruby_lib/blob/
|
634
|
+
##### [find_elements](https://github.com/appium/ruby_lib/blob/07ebd5767f3e9fafdfb597ec186b0e7f5384a839/lib/appium_lib/driver.rb#L546)
|
627
635
|
|
628
636
|
> def find_elements(*args)
|
629
637
|
|
@@ -643,7 +651,7 @@ __Returns:__
|
|
643
651
|
|
644
652
|
--
|
645
653
|
|
646
|
-
##### [find_element](https://github.com/appium/ruby_lib/blob/
|
654
|
+
##### [find_element](https://github.com/appium/ruby_lib/blob/07ebd5767f3e9fafdfb597ec186b0e7f5384a839/lib/appium_lib/driver.rb#L561)
|
647
655
|
|
648
656
|
> def find_element(*args)
|
649
657
|
|
@@ -661,7 +669,7 @@ __Returns:__
|
|
661
669
|
|
662
670
|
--
|
663
671
|
|
664
|
-
##### [set_location](https://github.com/appium/ruby_lib/blob/
|
672
|
+
##### [set_location](https://github.com/appium/ruby_lib/blob/07ebd5767f3e9fafdfb597ec186b0e7f5384a839/lib/appium_lib/driver.rb#L574)
|
665
673
|
|
666
674
|
> def set_location(opts = {})
|
667
675
|
|
@@ -677,7 +685,7 @@ __Returns:__
|
|
677
685
|
|
678
686
|
--
|
679
687
|
|
680
|
-
##### [x](https://github.com/appium/ruby_lib/blob/
|
688
|
+
##### [x](https://github.com/appium/ruby_lib/blob/07ebd5767f3e9fafdfb597ec186b0e7f5384a839/lib/appium_lib/driver.rb#L584)
|
681
689
|
|
682
690
|
> def x
|
683
691
|
|
@@ -690,7 +698,7 @@ __Returns:__
|
|
690
698
|
|
691
699
|
--
|
692
700
|
|
693
|
-
##### [username](https://github.com/appium/ruby_lib/blob/
|
701
|
+
##### [username](https://github.com/appium/ruby_lib/blob/07ebd5767f3e9fafdfb597ec186b0e7f5384a839/lib/appium_lib/sauce_labs.rb#L4)
|
694
702
|
|
695
703
|
> def username
|
696
704
|
|
@@ -698,7 +706,7 @@ Username for use on Sauce Labs. Set `false` to disable Sauce, even when SAUCE_US
|
|
698
706
|
|
699
707
|
--
|
700
708
|
|
701
|
-
##### [access_key](https://github.com/appium/ruby_lib/blob/
|
709
|
+
##### [access_key](https://github.com/appium/ruby_lib/blob/07ebd5767f3e9fafdfb597ec186b0e7f5384a839/lib/appium_lib/sauce_labs.rb#L6)
|
702
710
|
|
703
711
|
> def access_key
|
704
712
|
|
@@ -706,7 +714,7 @@ Access Key for use on Sauce Labs. Set `false` to disable Sauce, even when SAUCE_
|
|
706
714
|
|
707
715
|
--
|
708
716
|
|
709
|
-
##### [endpoint](https://github.com/appium/ruby_lib/blob/
|
717
|
+
##### [endpoint](https://github.com/appium/ruby_lib/blob/07ebd5767f3e9fafdfb597ec186b0e7f5384a839/lib/appium_lib/sauce_labs.rb#L8)
|
710
718
|
|
711
719
|
> def endpoint
|
712
720
|
|
@@ -714,7 +722,7 @@ Override the Sauce Appium endpoint to allow e.g. TestObject tests. Default is 'o
|
|
714
722
|
|
715
723
|
--
|
716
724
|
|
717
|
-
##### [initialize](https://github.com/appium/ruby_lib/blob/
|
725
|
+
##### [initialize](https://github.com/appium/ruby_lib/blob/07ebd5767f3e9fafdfb597ec186b0e7f5384a839/lib/appium_lib/sauce_labs.rb#L33)
|
718
726
|
|
719
727
|
> def initialize(appium_lib_opts)
|
720
728
|
|
@@ -730,7 +738,7 @@ __Returns:__
|
|
730
738
|
|
731
739
|
--
|
732
740
|
|
733
|
-
##### [sauce_server_url?](https://github.com/appium/ruby_lib/blob/
|
741
|
+
##### [sauce_server_url?](https://github.com/appium/ruby_lib/blob/07ebd5767f3e9fafdfb597ec186b0e7f5384a839/lib/appium_lib/sauce_labs.rb#L53)
|
734
742
|
|
735
743
|
> def sauce_server_url?
|
736
744
|
|
@@ -742,7 +750,7 @@ __Returns:__
|
|
742
750
|
|
743
751
|
--
|
744
752
|
|
745
|
-
##### [server_url](https://github.com/appium/ruby_lib/blob/
|
753
|
+
##### [server_url](https://github.com/appium/ruby_lib/blob/07ebd5767f3e9fafdfb597ec186b0e7f5384a839/lib/appium_lib/sauce_labs.rb#L66)
|
746
754
|
|
747
755
|
> def server_url
|
748
756
|
|
@@ -754,7 +762,7 @@ __Returns:__
|
|
754
762
|
|
755
763
|
--
|
756
764
|
|
757
|
-
##### [get_log](https://github.com/appium/ruby_lib/blob/
|
765
|
+
##### [get_log](https://github.com/appium/ruby_lib/blob/07ebd5767f3e9fafdfb597ec186b0e7f5384a839/lib/appium_lib/common/log.rb#L11)
|
758
766
|
|
759
767
|
> def get_log(type)
|
760
768
|
|
@@ -770,7 +778,7 @@ __Returns:__
|
|
770
778
|
|
771
779
|
--
|
772
780
|
|
773
|
-
##### [get_available_log_types](https://github.com/appium/ruby_lib/blob/
|
781
|
+
##### [get_available_log_types](https://github.com/appium/ruby_lib/blob/07ebd5767f3e9fafdfb597ec186b0e7f5384a839/lib/appium_lib/common/log.rb#L23)
|
774
782
|
|
775
783
|
> def get_available_log_types
|
776
784
|
|
@@ -782,7 +790,7 @@ __Returns:__
|
|
782
790
|
|
783
791
|
--
|
784
792
|
|
785
|
-
##### [initialize](https://github.com/appium/ruby_lib/blob/
|
793
|
+
##### [initialize](https://github.com/appium/ruby_lib/blob/07ebd5767f3e9fafdfb597ec186b0e7f5384a839/lib/appium_lib/common/wait.rb#L6)
|
786
794
|
|
787
795
|
> def initialize(opts = {})
|
788
796
|
|
@@ -794,7 +802,7 @@ __Returns:__
|
|
794
802
|
|
795
803
|
--
|
796
804
|
|
797
|
-
##### [wait_true](https://github.com/appium/ruby_lib/blob/
|
805
|
+
##### [wait_true](https://github.com/appium/ruby_lib/blob/07ebd5767f3e9fafdfb597ec186b0e7f5384a839/lib/appium_lib/common/wait.rb#L26)
|
798
806
|
|
799
807
|
> def wait_true(opts = {})
|
800
808
|
|
@@ -814,7 +822,7 @@ __Parameters:__
|
|
814
822
|
|
815
823
|
--
|
816
824
|
|
817
|
-
##### [wait](https://github.com/appium/ruby_lib/blob/
|
825
|
+
##### [wait](https://github.com/appium/ruby_lib/blob/07ebd5767f3e9fafdfb597ec186b0e7f5384a839/lib/appium_lib/common/wait.rb#L43)
|
818
826
|
|
819
827
|
> def wait(opts = {})
|
820
828
|
|
@@ -832,7 +840,7 @@ __Parameters:__
|
|
832
840
|
|
833
841
|
--
|
834
842
|
|
835
|
-
##### [ignore](https://github.com/appium/ruby_lib/blob/
|
843
|
+
##### [ignore](https://github.com/appium/ruby_lib/blob/07ebd5767f3e9fafdfb597ec186b0e7f5384a839/lib/appium_lib/common/helper.rb#L16)
|
836
844
|
|
837
845
|
> def ignore
|
838
846
|
|
@@ -840,7 +848,7 @@ Return yield and ignore any exceptions.
|
|
840
848
|
|
841
849
|
--
|
842
850
|
|
843
|
-
##### [back](https://github.com/appium/ruby_lib/blob/
|
851
|
+
##### [back](https://github.com/appium/ruby_lib/blob/07ebd5767f3e9fafdfb597ec186b0e7f5384a839/lib/appium_lib/common/helper.rb#L23)
|
844
852
|
|
845
853
|
> def back
|
846
854
|
|
@@ -852,7 +860,7 @@ __Returns:__
|
|
852
860
|
|
853
861
|
--
|
854
862
|
|
855
|
-
##### [session_id](https://github.com/appium/ruby_lib/blob/
|
863
|
+
##### [session_id](https://github.com/appium/ruby_lib/blob/07ebd5767f3e9fafdfb597ec186b0e7f5384a839/lib/appium_lib/common/helper.rb#L34)
|
856
864
|
|
857
865
|
> def session_id
|
858
866
|
|
@@ -864,7 +872,7 @@ __Returns:__
|
|
864
872
|
|
865
873
|
--
|
866
874
|
|
867
|
-
##### [xpath](https://github.com/appium/ruby_lib/blob/
|
875
|
+
##### [xpath](https://github.com/appium/ruby_lib/blob/07ebd5767f3e9fafdfb597ec186b0e7f5384a839/lib/appium_lib/common/helper.rb#L42)
|
868
876
|
|
869
877
|
> def xpath(xpath_str)
|
870
878
|
|
@@ -880,7 +888,7 @@ __Returns:__
|
|
880
888
|
|
881
889
|
--
|
882
890
|
|
883
|
-
##### [xpaths](https://github.com/appium/ruby_lib/blob/
|
891
|
+
##### [xpaths](https://github.com/appium/ruby_lib/blob/07ebd5767f3e9fafdfb597ec186b0e7f5384a839/lib/appium_lib/common/helper.rb#L50)
|
884
892
|
|
885
893
|
> def xpaths(xpath_str)
|
886
894
|
|
@@ -896,7 +904,7 @@ __Returns:__
|
|
896
904
|
|
897
905
|
--
|
898
906
|
|
899
|
-
##### [result](https://github.com/appium/ruby_lib/blob/
|
907
|
+
##### [result](https://github.com/appium/ruby_lib/blob/07ebd5767f3e9fafdfb597ec186b0e7f5384a839/lib/appium_lib/common/helper.rb#L61)
|
900
908
|
|
901
909
|
> def result
|
902
910
|
|
@@ -904,7 +912,7 @@ Returns the value of attribute result
|
|
904
912
|
|
905
913
|
--
|
906
914
|
|
907
|
-
##### [initialize](https://github.com/appium/ruby_lib/blob/
|
915
|
+
##### [initialize](https://github.com/appium/ruby_lib/blob/07ebd5767f3e9fafdfb597ec186b0e7f5384a839/lib/appium_lib/common/helper.rb#L63)
|
908
916
|
|
909
917
|
> def initialize
|
910
918
|
|
@@ -916,7 +924,7 @@ __Returns:__
|
|
916
924
|
|
917
925
|
--
|
918
926
|
|
919
|
-
##### [reset](https://github.com/appium/ruby_lib/blob/
|
927
|
+
##### [reset](https://github.com/appium/ruby_lib/blob/07ebd5767f3e9fafdfb597ec186b0e7f5384a839/lib/appium_lib/common/helper.rb#L67)
|
920
928
|
|
921
929
|
> def reset
|
922
930
|
|
@@ -924,7 +932,7 @@ __Returns:__
|
|
924
932
|
|
925
933
|
--
|
926
934
|
|
927
|
-
##### [start_element](https://github.com/appium/ruby_lib/blob/
|
935
|
+
##### [start_element](https://github.com/appium/ruby_lib/blob/07ebd5767f3e9fafdfb597ec186b0e7f5384a839/lib/appium_lib/common/helper.rb#L72)
|
928
936
|
|
929
937
|
> def start_element(name, attrs = [], driver = $driver)
|
930
938
|
|
@@ -932,7 +940,7 @@ http://nokogiri.org/Nokogiri/XML/SAX/Document.html
|
|
932
940
|
|
933
941
|
--
|
934
942
|
|
935
|
-
##### [formatted_result](https://github.com/appium/ruby_lib/blob/
|
943
|
+
##### [formatted_result](https://github.com/appium/ruby_lib/blob/07ebd5767f3e9fafdfb597ec186b0e7f5384a839/lib/appium_lib/common/helper.rb#L78)
|
936
944
|
|
937
945
|
> def formatted_result
|
938
946
|
|
@@ -940,7 +948,7 @@ http://nokogiri.org/Nokogiri/XML/SAX/Document.html
|
|
940
948
|
|
941
949
|
--
|
942
950
|
|
943
|
-
##### [get_page_class](https://github.com/appium/ruby_lib/blob/
|
951
|
+
##### [get_page_class](https://github.com/appium/ruby_lib/blob/07ebd5767f3e9fafdfb597ec186b0e7f5384a839/lib/appium_lib/common/helper.rb#L97)
|
944
952
|
|
945
953
|
> def get_page_class
|
946
954
|
|
@@ -952,7 +960,7 @@ __Returns:__
|
|
952
960
|
|
953
961
|
--
|
954
962
|
|
955
|
-
##### [page_class](https://github.com/appium/ruby_lib/blob/
|
963
|
+
##### [page_class](https://github.com/appium/ruby_lib/blob/07ebd5767f3e9fafdfb597ec186b0e7f5384a839/lib/appium_lib/common/helper.rb#L122)
|
956
964
|
|
957
965
|
> def page_class
|
958
966
|
|
@@ -965,7 +973,7 @@ __Returns:__
|
|
965
973
|
|
966
974
|
--
|
967
975
|
|
968
|
-
##### [px_to_window_rel](https://github.com/appium/ruby_lib/blob/
|
976
|
+
##### [px_to_window_rel](https://github.com/appium/ruby_lib/blob/07ebd5767f3e9fafdfb597ec186b0e7f5384a839/lib/appium_lib/common/helper.rb#L133)
|
969
977
|
|
970
978
|
> def px_to_window_rel(opts = {}, driver = $driver)
|
971
979
|
|
@@ -973,7 +981,7 @@ Converts pixel values to window relative values
|
|
973
981
|
|
974
982
|
--
|
975
983
|
|
976
|
-
##### [xml_keys](https://github.com/appium/ruby_lib/blob/
|
984
|
+
##### [xml_keys](https://github.com/appium/ruby_lib/blob/07ebd5767f3e9fafdfb597ec186b0e7f5384a839/lib/appium_lib/common/helper.rb#L152)
|
977
985
|
|
978
986
|
> def xml_keys(target)
|
979
987
|
|
@@ -989,7 +997,7 @@ __Returns:__
|
|
989
997
|
|
990
998
|
--
|
991
999
|
|
992
|
-
##### [xml_values](https://github.com/appium/ruby_lib/blob/
|
1000
|
+
##### [xml_values](https://github.com/appium/ruby_lib/blob/07ebd5767f3e9fafdfb597ec186b0e7f5384a839/lib/appium_lib/common/helper.rb#L160)
|
993
1001
|
|
994
1002
|
> def xml_values(target)
|
995
1003
|
|
@@ -1005,7 +1013,7 @@ __Returns:__
|
|
1005
1013
|
|
1006
1014
|
--
|
1007
1015
|
|
1008
|
-
##### [resolve_id](https://github.com/appium/ruby_lib/blob/
|
1016
|
+
##### [resolve_id](https://github.com/appium/ruby_lib/blob/07ebd5767f3e9fafdfb597ec186b0e7f5384a839/lib/appium_lib/common/helper.rb#L168)
|
1009
1017
|
|
1010
1018
|
> def resolve_id(id)
|
1011
1019
|
|
@@ -1021,7 +1029,7 @@ __Returns:__
|
|
1021
1029
|
|
1022
1030
|
--
|
1023
1031
|
|
1024
|
-
##### [filter](https://github.com/appium/ruby_lib/blob/
|
1032
|
+
##### [filter](https://github.com/appium/ruby_lib/blob/07ebd5767f3e9fafdfb597ec186b0e7f5384a839/lib/appium_lib/common/helper.rb#L175)
|
1025
1033
|
|
1026
1034
|
> def filter
|
1027
1035
|
|
@@ -1029,7 +1037,7 @@ Returns the value of attribute filter
|
|
1029
1037
|
|
1030
1038
|
--
|
1031
1039
|
|
1032
|
-
##### [filter=](https://github.com/appium/ruby_lib/blob/
|
1040
|
+
##### [filter=](https://github.com/appium/ruby_lib/blob/07ebd5767f3e9fafdfb597ec186b0e7f5384a839/lib/appium_lib/common/helper.rb#L178)
|
1033
1041
|
|
1034
1042
|
> def filter=(value)
|
1035
1043
|
|
@@ -1037,7 +1045,7 @@ convert to string to support symbols
|
|
1037
1045
|
|
1038
1046
|
--
|
1039
1047
|
|
1040
|
-
##### [initialize](https://github.com/appium/ruby_lib/blob/
|
1048
|
+
##### [initialize](https://github.com/appium/ruby_lib/blob/07ebd5767f3e9fafdfb597ec186b0e7f5384a839/lib/appium_lib/common/helper.rb#L184)
|
1041
1049
|
|
1042
1050
|
> def initialize
|
1043
1051
|
|
@@ -1049,7 +1057,7 @@ __Returns:__
|
|
1049
1057
|
|
1050
1058
|
--
|
1051
1059
|
|
1052
|
-
##### [reset](https://github.com/appium/ruby_lib/blob/
|
1060
|
+
##### [reset](https://github.com/appium/ruby_lib/blob/07ebd5767f3e9fafdfb597ec186b0e7f5384a839/lib/appium_lib/common/helper.rb#L189)
|
1053
1061
|
|
1054
1062
|
> def reset
|
1055
1063
|
|
@@ -1057,7 +1065,7 @@ __Returns:__
|
|
1057
1065
|
|
1058
1066
|
--
|
1059
1067
|
|
1060
|
-
##### [result](https://github.com/appium/ruby_lib/blob/
|
1068
|
+
##### [result](https://github.com/appium/ruby_lib/blob/07ebd5767f3e9fafdfb597ec186b0e7f5384a839/lib/appium_lib/common/helper.rb#L195)
|
1061
1069
|
|
1062
1070
|
> def result
|
1063
1071
|
|
@@ -1065,7 +1073,7 @@ __Returns:__
|
|
1065
1073
|
|
1066
1074
|
--
|
1067
1075
|
|
1068
|
-
##### [start_element](https://github.com/appium/ruby_lib/blob/
|
1076
|
+
##### [start_element](https://github.com/appium/ruby_lib/blob/07ebd5767f3e9fafdfb597ec186b0e7f5384a839/lib/appium_lib/common/helper.rb#L211)
|
1069
1077
|
|
1070
1078
|
> def start_element(name, attrs = [])
|
1071
1079
|
|
@@ -1073,7 +1081,7 @@ __Returns:__
|
|
1073
1081
|
|
1074
1082
|
--
|
1075
1083
|
|
1076
|
-
##### [end_element](https://github.com/appium/ruby_lib/blob/
|
1084
|
+
##### [end_element](https://github.com/appium/ruby_lib/blob/07ebd5767f3e9fafdfb597ec186b0e7f5384a839/lib/appium_lib/common/helper.rb#L220)
|
1077
1085
|
|
1078
1086
|
> def end_element(name)
|
1079
1087
|
|
@@ -1081,7 +1089,7 @@ __Returns:__
|
|
1081
1089
|
|
1082
1090
|
--
|
1083
1091
|
|
1084
|
-
##### [characters](https://github.com/appium/ruby_lib/blob/
|
1092
|
+
##### [characters](https://github.com/appium/ruby_lib/blob/07ebd5767f3e9fafdfb597ec186b0e7f5384a839/lib/appium_lib/common/helper.rb#L226)
|
1085
1093
|
|
1086
1094
|
> def characters(chars)
|
1087
1095
|
|
@@ -1089,7 +1097,7 @@ __Returns:__
|
|
1089
1097
|
|
1090
1098
|
--
|
1091
1099
|
|
1092
|
-
##### [DEFAULT_HEADERS](https://github.com/appium/ruby_lib/blob/
|
1100
|
+
##### [DEFAULT_HEADERS](https://github.com/appium/ruby_lib/blob/07ebd5767f3e9fafdfb597ec186b0e7f5384a839/lib/appium_lib/common/http_client.rb#L8)
|
1093
1101
|
|
1094
1102
|
> DEFAULT_HEADERS = { 'Accept' => CONTENT_TYPE, 'User-Agent' => "appium/ruby_lib/#{::Appium::VERSION}" }.freeze
|
1095
1103
|
|
@@ -1097,7 +1105,7 @@ Default HTTP client inherit Appium::Core::Base::Http::Default, but has different
|
|
1097
1105
|
|
1098
1106
|
--
|
1099
1107
|
|
1100
|
-
##### [pinch](https://github.com/appium/ruby_lib/blob/
|
1108
|
+
##### [pinch](https://github.com/appium/ruby_lib/blob/07ebd5767f3e9fafdfb597ec186b0e7f5384a839/lib/appium_lib/common/multi_touch.rb#L51)
|
1101
1109
|
|
1102
1110
|
> def pinch(percentage = 25, auto_perform = true, driver = $driver)
|
1103
1111
|
|
@@ -1117,7 +1125,7 @@ __Parameters:__
|
|
1117
1125
|
|
1118
1126
|
--
|
1119
1127
|
|
1120
|
-
##### [zoom](https://github.com/appium/ruby_lib/blob/
|
1128
|
+
##### [zoom](https://github.com/appium/ruby_lib/blob/07ebd5767f3e9fafdfb597ec186b0e7f5384a839/lib/appium_lib/common/multi_touch.rb#L95)
|
1121
1129
|
|
1122
1130
|
> def zoom(percentage = 200, auto_perform = true, driver = $driver)
|
1123
1131
|
|
@@ -1137,19 +1145,47 @@ __Parameters:__
|
|
1137
1145
|
|
1138
1146
|
--
|
1139
1147
|
|
1140
|
-
##### [
|
1148
|
+
##### [driver](https://github.com/appium/ruby_lib/blob/07ebd5767f3e9fafdfb597ec186b0e7f5384a839/lib/appium_lib/common/multi_touch.rb#L216)
|
1141
1149
|
|
1142
|
-
> def
|
1150
|
+
> def driver
|
1143
1151
|
|
1144
1152
|
self
|
1145
1153
|
|
1154
|
+
--
|
1155
|
+
|
1156
|
+
##### [initialize](https://github.com/appium/ruby_lib/blob/07ebd5767f3e9fafdfb597ec186b0e7f5384a839/lib/appium_lib/common/multi_touch.rb#L218)
|
1157
|
+
|
1158
|
+
> def initialize(driver = $driver)
|
1159
|
+
|
1160
|
+
|
1161
|
+
|
1146
1162
|
__Returns:__
|
1147
1163
|
|
1148
1164
|
[MultiTouch] a new instance of MultiTouch
|
1149
1165
|
|
1150
1166
|
--
|
1151
1167
|
|
1152
|
-
##### [
|
1168
|
+
##### [add](https://github.com/appium/ruby_lib/blob/07ebd5767f3e9fafdfb597ec186b0e7f5384a839/lib/appium_lib/common/multi_touch.rb#L225)
|
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)
|
1153
1189
|
|
1154
1190
|
> COMPLEX_ACTIONS = ::Appium::Core::TouchAction::COMPLEX_ACTIONS
|
1155
1191
|
|
@@ -1157,7 +1193,7 @@ __Returns:__
|
|
1157
1193
|
|
1158
1194
|
--
|
1159
1195
|
|
1160
|
-
##### [initialize](https://github.com/appium/ruby_lib/blob/
|
1196
|
+
##### [initialize](https://github.com/appium/ruby_lib/blob/07ebd5767f3e9fafdfb597ec186b0e7f5384a839/lib/appium_lib/common/touch_actions.rb#L47)
|
1161
1197
|
|
1162
1198
|
> def initialize(driver = $driver)
|
1163
1199
|
|
@@ -1169,7 +1205,15 @@ __Returns:__
|
|
1169
1205
|
|
1170
1206
|
--
|
1171
1207
|
|
1172
|
-
##### [
|
1208
|
+
##### [swipe](https://github.com/appium/ruby_lib/blob/07ebd5767f3e9fafdfb597ec186b0e7f5384a839/lib/appium_lib/common/touch_actions.rb#L51)
|
1209
|
+
|
1210
|
+
> def swipe(opts, ele = nil)
|
1211
|
+
|
1212
|
+
|
1213
|
+
|
1214
|
+
--
|
1215
|
+
|
1216
|
+
##### [for](https://github.com/appium/ruby_lib/blob/07ebd5767f3e9fafdfb597ec186b0e7f5384a839/lib/appium_lib/ios/ios.rb#L15) ios
|
1173
1217
|
|
1174
1218
|
> def self.for(target)
|
1175
1219
|
|
@@ -1177,7 +1221,7 @@ __Returns:__
|
|
1177
1221
|
|
1178
1222
|
--
|
1179
1223
|
|
1180
|
-
##### [UIAStaticText](https://github.com/appium/ruby_lib/blob/
|
1224
|
+
##### [UIAStaticText](https://github.com/appium/ruby_lib/blob/07ebd5767f3e9fafdfb597ec186b0e7f5384a839/lib/appium_lib/ios/element/text.rb#L4) ios
|
1181
1225
|
|
1182
1226
|
> UIAStaticText = 'UIAStaticText'.freeze
|
1183
1227
|
|
@@ -1185,7 +1229,7 @@ __Returns:__
|
|
1185
1229
|
|
1186
1230
|
--
|
1187
1231
|
|
1188
|
-
##### [XCUIElementTypeStaticText](https://github.com/appium/ruby_lib/blob/
|
1232
|
+
##### [XCUIElementTypeStaticText](https://github.com/appium/ruby_lib/blob/07ebd5767f3e9fafdfb597ec186b0e7f5384a839/lib/appium_lib/ios/element/text.rb#L5) ios
|
1189
1233
|
|
1190
1234
|
> XCUIElementTypeStaticText = 'XCUIElementTypeStaticText'.freeze
|
1191
1235
|
|
@@ -1193,7 +1237,7 @@ __Returns:__
|
|
1193
1237
|
|
1194
1238
|
--
|
1195
1239
|
|
1196
|
-
##### [static_text_class](https://github.com/appium/ruby_lib/blob/
|
1240
|
+
##### [static_text_class](https://github.com/appium/ruby_lib/blob/07ebd5767f3e9fafdfb597ec186b0e7f5384a839/lib/appium_lib/ios/element/text.rb#L8) ios
|
1197
1241
|
|
1198
1242
|
> def static_text_class
|
1199
1243
|
|
@@ -1205,7 +1249,7 @@ __Returns:__
|
|
1205
1249
|
|
1206
1250
|
--
|
1207
1251
|
|
1208
|
-
##### [text](https://github.com/appium/ruby_lib/blob/
|
1252
|
+
##### [text](https://github.com/appium/ruby_lib/blob/07ebd5767f3e9fafdfb597ec186b0e7f5384a839/lib/appium_lib/ios/element/text.rb#L16) ios
|
1209
1253
|
|
1210
1254
|
> def text(value)
|
1211
1255
|
|
@@ -1222,7 +1266,7 @@ __Returns:__
|
|
1222
1266
|
|
1223
1267
|
--
|
1224
1268
|
|
1225
|
-
##### [texts](https://github.com/appium/ruby_lib/blob/
|
1269
|
+
##### [texts](https://github.com/appium/ruby_lib/blob/07ebd5767f3e9fafdfb597ec186b0e7f5384a839/lib/appium_lib/ios/element/text.rb#L25) ios
|
1226
1270
|
|
1227
1271
|
> def texts(value = false)
|
1228
1272
|
|
@@ -1239,7 +1283,7 @@ __Returns:__
|
|
1239
1283
|
|
1240
1284
|
--
|
1241
1285
|
|
1242
|
-
##### [first_text](https://github.com/appium/ruby_lib/blob/
|
1286
|
+
##### [first_text](https://github.com/appium/ruby_lib/blob/07ebd5767f3e9fafdfb597ec186b0e7f5384a839/lib/appium_lib/ios/element/text.rb#L32) ios
|
1243
1287
|
|
1244
1288
|
> def first_text
|
1245
1289
|
|
@@ -1251,7 +1295,7 @@ __Returns:__
|
|
1251
1295
|
|
1252
1296
|
--
|
1253
1297
|
|
1254
|
-
##### [last_text](https://github.com/appium/ruby_lib/blob/
|
1298
|
+
##### [last_text](https://github.com/appium/ruby_lib/blob/07ebd5767f3e9fafdfb597ec186b0e7f5384a839/lib/appium_lib/ios/element/text.rb#L38) ios
|
1255
1299
|
|
1256
1300
|
> def last_text
|
1257
1301
|
|
@@ -1263,7 +1307,7 @@ __Returns:__
|
|
1263
1307
|
|
1264
1308
|
--
|
1265
1309
|
|
1266
|
-
##### [text_exact](https://github.com/appium/ruby_lib/blob/
|
1310
|
+
##### [text_exact](https://github.com/appium/ruby_lib/blob/07ebd5767f3e9fafdfb597ec186b0e7f5384a839/lib/appium_lib/ios/element/text.rb#L45) ios
|
1267
1311
|
|
1268
1312
|
> def text_exact(value)
|
1269
1313
|
|
@@ -1279,7 +1323,7 @@ __Returns:__
|
|
1279
1323
|
|
1280
1324
|
--
|
1281
1325
|
|
1282
|
-
##### [texts_exact](https://github.com/appium/ruby_lib/blob/
|
1326
|
+
##### [texts_exact](https://github.com/appium/ruby_lib/blob/07ebd5767f3e9fafdfb597ec186b0e7f5384a839/lib/appium_lib/ios/element/text.rb#L52) ios
|
1283
1327
|
|
1284
1328
|
> def texts_exact(value)
|
1285
1329
|
|
@@ -1295,7 +1339,7 @@ __Returns:__
|
|
1295
1339
|
|
1296
1340
|
--
|
1297
1341
|
|
1298
|
-
##### [filter](https://github.com/appium/ruby_lib/blob/
|
1342
|
+
##### [filter](https://github.com/appium/ruby_lib/blob/07ebd5767f3e9fafdfb597ec186b0e7f5384a839/lib/appium_lib/ios/common/helper.rb#L5) ios
|
1299
1343
|
|
1300
1344
|
> def filter
|
1301
1345
|
|
@@ -1303,7 +1347,7 @@ Returns the value of attribute filter
|
|
1303
1347
|
|
1304
1348
|
--
|
1305
1349
|
|
1306
|
-
##### [filter=](https://github.com/appium/ruby_lib/blob/
|
1350
|
+
##### [filter=](https://github.com/appium/ruby_lib/blob/07ebd5767f3e9fafdfb597ec186b0e7f5384a839/lib/appium_lib/ios/common/helper.rb#L5) ios
|
1307
1351
|
|
1308
1352
|
> def filter=(value)
|
1309
1353
|
|
@@ -1315,7 +1359,7 @@ __Parameters:__
|
|
1315
1359
|
|
1316
1360
|
--
|
1317
1361
|
|
1318
|
-
##### [start_element](https://github.com/appium/ruby_lib/blob/
|
1362
|
+
##### [start_element](https://github.com/appium/ruby_lib/blob/07ebd5767f3e9fafdfb597ec186b0e7f5384a839/lib/appium_lib/ios/common/helper.rb#L7) ios
|
1319
1363
|
|
1320
1364
|
> def start_element(type, attrs = [])
|
1321
1365
|
|
@@ -1323,7 +1367,7 @@ __Parameters:__
|
|
1323
1367
|
|
1324
1368
|
--
|
1325
1369
|
|
1326
|
-
##### [ios_password](https://github.com/appium/ruby_lib/blob/
|
1370
|
+
##### [ios_password](https://github.com/appium/ruby_lib/blob/07ebd5767f3e9fafdfb597ec186b0e7f5384a839/lib/appium_lib/ios/common/helper.rb#L44) ios
|
1327
1371
|
|
1328
1372
|
> def ios_password(length = 1)
|
1329
1373
|
|
@@ -1341,7 +1385,7 @@ __Returns:__
|
|
1341
1385
|
|
1342
1386
|
--
|
1343
1387
|
|
1344
|
-
##### [page](https://github.com/appium/ruby_lib/blob/
|
1388
|
+
##### [page](https://github.com/appium/ruby_lib/blob/07ebd5767f3e9fafdfb597ec186b0e7f5384a839/lib/appium_lib/ios/common/helper.rb#L60) ios
|
1345
1389
|
|
1346
1390
|
> def page(opts = {})
|
1347
1391
|
|
@@ -1359,7 +1403,7 @@ __Returns:__
|
|
1359
1403
|
|
1360
1404
|
--
|
1361
1405
|
|
1362
|
-
##### [source_window](https://github.com/appium/ruby_lib/blob/
|
1406
|
+
##### [source_window](https://github.com/appium/ruby_lib/blob/07ebd5767f3e9fafdfb597ec186b0e7f5384a839/lib/appium_lib/ios/common/helper.rb#L84) ios
|
1363
1407
|
|
1364
1408
|
> def source_window(_window_number = nil)
|
1365
1409
|
|
@@ -1371,7 +1415,7 @@ __Returns:__
|
|
1371
1415
|
|
1372
1416
|
--
|
1373
1417
|
|
1374
|
-
##### [id](https://github.com/appium/ruby_lib/blob/
|
1418
|
+
##### [id](https://github.com/appium/ruby_lib/blob/07ebd5767f3e9fafdfb597ec186b0e7f5384a839/lib/appium_lib/ios/common/helper.rb#L92) ios
|
1375
1419
|
|
1376
1420
|
> def id(id)
|
1377
1421
|
|
@@ -1387,7 +1431,7 @@ __Returns:__
|
|
1387
1431
|
|
1388
1432
|
--
|
1389
1433
|
|
1390
|
-
##### [ele_index](https://github.com/appium/ruby_lib/blob/
|
1434
|
+
##### [ele_index](https://github.com/appium/ruby_lib/blob/07ebd5767f3e9fafdfb597ec186b0e7f5384a839/lib/appium_lib/ios/common/helper.rb#L100) ios
|
1391
1435
|
|
1392
1436
|
> def ele_index(class_name, index)
|
1393
1437
|
|
@@ -1405,7 +1449,7 @@ __Returns:__
|
|
1405
1449
|
|
1406
1450
|
--
|
1407
1451
|
|
1408
|
-
##### [find_ele_by_attr](https://github.com/appium/ruby_lib/blob/
|
1452
|
+
##### [find_ele_by_attr](https://github.com/appium/ruby_lib/blob/07ebd5767f3e9fafdfb597ec186b0e7f5384a839/lib/appium_lib/ios/common/helper.rb#L128) ios
|
1409
1453
|
|
1410
1454
|
> def find_ele_by_attr(class_name, attr, value)
|
1411
1455
|
|
@@ -1427,7 +1471,7 @@ __Returns:__
|
|
1427
1471
|
|
1428
1472
|
--
|
1429
1473
|
|
1430
|
-
##### [find_eles_by_attr](https://github.com/appium/ruby_lib/blob/
|
1474
|
+
##### [find_eles_by_attr](https://github.com/appium/ruby_lib/blob/07ebd5767f3e9fafdfb597ec186b0e7f5384a839/lib/appium_lib/ios/common/helper.rb#L139) ios
|
1431
1475
|
|
1432
1476
|
> def find_eles_by_attr(class_name, attr, value)
|
1433
1477
|
|
@@ -1449,7 +1493,7 @@ __Returns:__
|
|
1449
1493
|
|
1450
1494
|
--
|
1451
1495
|
|
1452
|
-
##### [find_ele_by_predicate](https://github.com/appium/ruby_lib/blob/
|
1496
|
+
##### [find_ele_by_predicate](https://github.com/appium/ruby_lib/blob/07ebd5767f3e9fafdfb597ec186b0e7f5384a839/lib/appium_lib/ios/common/helper.rb#L152) ios
|
1453
1497
|
|
1454
1498
|
> def find_ele_by_predicate(class_name: '*', value:)
|
1455
1499
|
|
@@ -1466,7 +1510,7 @@ __Returns:__
|
|
1466
1510
|
|
1467
1511
|
--
|
1468
1512
|
|
1469
|
-
##### [find_eles_by_predicate](https://github.com/appium/ruby_lib/blob/
|
1513
|
+
##### [find_eles_by_predicate](https://github.com/appium/ruby_lib/blob/07ebd5767f3e9fafdfb597ec186b0e7f5384a839/lib/appium_lib/ios/common/helper.rb#L163) ios
|
1470
1514
|
|
1471
1515
|
> def find_eles_by_predicate(class_name: '*', value:)
|
1472
1516
|
|
@@ -1485,7 +1529,7 @@ __Returns:__
|
|
1485
1529
|
|
1486
1530
|
--
|
1487
1531
|
|
1488
|
-
##### [find_ele_by_attr_include](https://github.com/appium/ruby_lib/blob/
|
1532
|
+
##### [find_ele_by_attr_include](https://github.com/appium/ruby_lib/blob/07ebd5767f3e9fafdfb597ec186b0e7f5384a839/lib/appium_lib/ios/common/helper.rb#L179) ios
|
1489
1533
|
|
1490
1534
|
> def find_ele_by_attr_include(class_name, attr, value)
|
1491
1535
|
|
@@ -1506,7 +1550,7 @@ __Returns:__
|
|
1506
1550
|
|
1507
1551
|
--
|
1508
1552
|
|
1509
|
-
##### [find_eles_by_attr_include](https://github.com/appium/ruby_lib/blob/
|
1553
|
+
##### [find_eles_by_attr_include](https://github.com/appium/ruby_lib/blob/07ebd5767f3e9fafdfb597ec186b0e7f5384a839/lib/appium_lib/ios/common/helper.rb#L189) ios
|
1510
1554
|
|
1511
1555
|
> def find_eles_by_attr_include(class_name, attr, value)
|
1512
1556
|
|
@@ -1527,7 +1571,7 @@ __Returns:__
|
|
1527
1571
|
|
1528
1572
|
--
|
1529
1573
|
|
1530
|
-
##### [find_ele_by_predicate_include](https://github.com/appium/ruby_lib/blob/
|
1574
|
+
##### [find_ele_by_predicate_include](https://github.com/appium/ruby_lib/blob/07ebd5767f3e9fafdfb597ec186b0e7f5384a839/lib/appium_lib/ios/common/helper.rb#L197) ios
|
1531
1575
|
|
1532
1576
|
> def find_ele_by_predicate_include(class_name: '*', value:)
|
1533
1577
|
|
@@ -1544,7 +1588,7 @@ __Returns:__
|
|
1544
1588
|
|
1545
1589
|
--
|
1546
1590
|
|
1547
|
-
##### [find_eles_by_predicate_include](https://github.com/appium/ruby_lib/blob/
|
1591
|
+
##### [find_eles_by_predicate_include](https://github.com/appium/ruby_lib/blob/07ebd5767f3e9fafdfb597ec186b0e7f5384a839/lib/appium_lib/ios/common/helper.rb#L208) ios
|
1548
1592
|
|
1549
1593
|
> def find_eles_by_predicate_include(class_name: '*', value:)
|
1550
1594
|
|
@@ -1563,7 +1607,7 @@ __Returns:__
|
|
1563
1607
|
|
1564
1608
|
--
|
1565
1609
|
|
1566
|
-
##### [first_ele](https://github.com/appium/ruby_lib/blob/
|
1610
|
+
##### [first_ele](https://github.com/appium/ruby_lib/blob/07ebd5767f3e9fafdfb597ec186b0e7f5384a839/lib/appium_lib/ios/common/helper.rb#L221) ios
|
1567
1611
|
|
1568
1612
|
> def first_ele(class_name)
|
1569
1613
|
|
@@ -1579,7 +1623,7 @@ __Returns:__
|
|
1579
1623
|
|
1580
1624
|
--
|
1581
1625
|
|
1582
|
-
##### [last_ele](https://github.com/appium/ruby_lib/blob/
|
1626
|
+
##### [last_ele](https://github.com/appium/ruby_lib/blob/07ebd5767f3e9fafdfb597ec186b0e7f5384a839/lib/appium_lib/ios/common/helper.rb#L228) ios
|
1583
1627
|
|
1584
1628
|
> def last_ele(class_name)
|
1585
1629
|
|
@@ -1595,7 +1639,7 @@ __Returns:__
|
|
1595
1639
|
|
1596
1640
|
--
|
1597
1641
|
|
1598
|
-
##### [tag](https://github.com/appium/ruby_lib/blob/
|
1642
|
+
##### [tag](https://github.com/appium/ruby_lib/blob/07ebd5767f3e9fafdfb597ec186b0e7f5384a839/lib/appium_lib/ios/common/helper.rb#L236) ios
|
1599
1643
|
|
1600
1644
|
> def tag(class_name)
|
1601
1645
|
|
@@ -1611,7 +1655,7 @@ __Returns:__
|
|
1611
1655
|
|
1612
1656
|
--
|
1613
1657
|
|
1614
|
-
##### [tags](https://github.com/appium/ruby_lib/blob/
|
1658
|
+
##### [tags](https://github.com/appium/ruby_lib/blob/07ebd5767f3e9fafdfb597ec186b0e7f5384a839/lib/appium_lib/ios/common/helper.rb#L244) ios
|
1615
1659
|
|
1616
1660
|
> def tags(class_name)
|
1617
1661
|
|
@@ -1627,7 +1671,7 @@ __Returns:__
|
|
1627
1671
|
|
1628
1672
|
--
|
1629
1673
|
|
1630
|
-
##### [tags_include](https://github.com/appium/ruby_lib/blob/
|
1674
|
+
##### [tags_include](https://github.com/appium/ruby_lib/blob/07ebd5767f3e9fafdfb597ec186b0e7f5384a839/lib/appium_lib/ios/common/helper.rb#L255) ios
|
1631
1675
|
|
1632
1676
|
> def tags_include(class_names:, value: nil)
|
1633
1677
|
|
@@ -1647,7 +1691,7 @@ __Returns:__
|
|
1647
1691
|
|
1648
1692
|
--
|
1649
1693
|
|
1650
|
-
##### [tags_exact](https://github.com/appium/ruby_lib/blob/
|
1694
|
+
##### [tags_exact](https://github.com/appium/ruby_lib/blob/07ebd5767f3e9fafdfb597ec186b0e7f5384a839/lib/appium_lib/ios/common/helper.rb#L270) ios
|
1651
1695
|
|
1652
1696
|
> def tags_exact(class_names:, value: nil)
|
1653
1697
|
|
@@ -1667,7 +1711,7 @@ __Returns:__
|
|
1667
1711
|
|
1668
1712
|
--
|
1669
1713
|
|
1670
|
-
##### [ele_by_json_visible_contains](https://github.com/appium/ruby_lib/blob/
|
1714
|
+
##### [ele_by_json_visible_contains](https://github.com/appium/ruby_lib/blob/07ebd5767f3e9fafdfb597ec186b0e7f5384a839/lib/appium_lib/ios/common/helper.rb#L307) ios
|
1671
1715
|
|
1672
1716
|
> def ele_by_json_visible_contains(element, value)
|
1673
1717
|
|
@@ -1686,7 +1730,7 @@ __Returns:__
|
|
1686
1730
|
|
1687
1731
|
--
|
1688
1732
|
|
1689
|
-
##### [eles_by_json_visible_contains](https://github.com/appium/ruby_lib/blob/
|
1733
|
+
##### [eles_by_json_visible_contains](https://github.com/appium/ruby_lib/blob/07ebd5767f3e9fafdfb597ec186b0e7f5384a839/lib/appium_lib/ios/common/helper.rb#L316) ios
|
1690
1734
|
|
1691
1735
|
> def eles_by_json_visible_contains(element, value)
|
1692
1736
|
|
@@ -1705,7 +1749,7 @@ __Returns:__
|
|
1705
1749
|
|
1706
1750
|
--
|
1707
1751
|
|
1708
|
-
##### [ele_by_json_visible_exact](https://github.com/appium/ruby_lib/blob/
|
1752
|
+
##### [ele_by_json_visible_exact](https://github.com/appium/ruby_lib/blob/07ebd5767f3e9fafdfb597ec186b0e7f5384a839/lib/appium_lib/ios/common/helper.rb#L346) ios
|
1709
1753
|
|
1710
1754
|
> def ele_by_json_visible_exact(element, value)
|
1711
1755
|
|
@@ -1724,7 +1768,7 @@ __Returns:__
|
|
1724
1768
|
|
1725
1769
|
--
|
1726
1770
|
|
1727
|
-
##### [eles_by_json_visible_exact](https://github.com/appium/ruby_lib/blob/
|
1771
|
+
##### [eles_by_json_visible_exact](https://github.com/appium/ruby_lib/blob/07ebd5767f3e9fafdfb597ec186b0e7f5384a839/lib/appium_lib/ios/common/helper.rb#L355) ios
|
1728
1772
|
|
1729
1773
|
> def eles_by_json_visible_exact(element, value)
|
1730
1774
|
|
@@ -1743,7 +1787,7 @@ __Returns:__
|
|
1743
1787
|
|
1744
1788
|
--
|
1745
1789
|
|
1746
|
-
##### [_all_pred](https://github.com/appium/ruby_lib/blob/
|
1790
|
+
##### [_all_pred](https://github.com/appium/ruby_lib/blob/07ebd5767f3e9fafdfb597ec186b0e7f5384a839/lib/appium_lib/ios/common/helper.rb#L364) ios
|
1747
1791
|
|
1748
1792
|
> def _all_pred(opts)
|
1749
1793
|
|
@@ -1753,7 +1797,7 @@ visible - if true, only visible elements are returned. default true
|
|
1753
1797
|
|
1754
1798
|
--
|
1755
1799
|
|
1756
|
-
##### [ele_with_pred](https://github.com/appium/ruby_lib/blob/
|
1800
|
+
##### [ele_with_pred](https://github.com/appium/ruby_lib/blob/07ebd5767f3e9fafdfb597ec186b0e7f5384a839/lib/appium_lib/ios/common/helper.rb#L377) ios
|
1757
1801
|
|
1758
1802
|
> def ele_with_pred(opts)
|
1759
1803
|
|
@@ -1769,7 +1813,7 @@ __Returns:__
|
|
1769
1813
|
|
1770
1814
|
--
|
1771
1815
|
|
1772
|
-
##### [eles_with_pred](https://github.com/appium/ruby_lib/blob/
|
1816
|
+
##### [eles_with_pred](https://github.com/appium/ruby_lib/blob/07ebd5767f3e9fafdfb597ec186b0e7f5384a839/lib/appium_lib/ios/common/helper.rb#L388) ios
|
1773
1817
|
|
1774
1818
|
> def eles_with_pred(opts)
|
1775
1819
|
|
@@ -1785,7 +1829,7 @@ __Returns:__
|
|
1785
1829
|
|
1786
1830
|
--
|
1787
1831
|
|
1788
|
-
##### [source](https://github.com/appium/ruby_lib/blob/
|
1832
|
+
##### [source](https://github.com/appium/ruby_lib/blob/07ebd5767f3e9fafdfb597ec186b0e7f5384a839/lib/appium_lib/ios/common/helper.rb#L394) ios
|
1789
1833
|
|
1790
1834
|
> def source
|
1791
1835
|
|
@@ -1797,7 +1841,7 @@ __Returns:__
|
|
1797
1841
|
|
1798
1842
|
--
|
1799
1843
|
|
1800
|
-
##### [_validate_object](https://github.com/appium/ruby_lib/blob/
|
1844
|
+
##### [_validate_object](https://github.com/appium/ruby_lib/blob/07ebd5767f3e9fafdfb597ec186b0e7f5384a839/lib/appium_lib/ios/common/helper.rb#L398) ios
|
1801
1845
|
|
1802
1846
|
> def _validate_object(*objects)
|
1803
1847
|
|
@@ -1805,7 +1849,7 @@ __Returns:__
|
|
1805
1849
|
|
1806
1850
|
--
|
1807
1851
|
|
1808
|
-
##### [_by_json](https://github.com/appium/ruby_lib/blob/
|
1852
|
+
##### [_by_json](https://github.com/appium/ruby_lib/blob/07ebd5767f3e9fafdfb597ec186b0e7f5384a839/lib/appium_lib/ios/common/helper.rb#L447) ios
|
1809
1853
|
|
1810
1854
|
> def _by_json(opts)
|
1811
1855
|
|
@@ -1840,7 +1884,7 @@ opts = {
|
|
1840
1884
|
|
1841
1885
|
--
|
1842
1886
|
|
1843
|
-
##### [eles_by_json](https://github.com/appium/ruby_lib/blob/
|
1887
|
+
##### [eles_by_json](https://github.com/appium/ruby_lib/blob/07ebd5767f3e9fafdfb597ec186b0e7f5384a839/lib/appium_lib/ios/common/helper.rb#L497) ios
|
1844
1888
|
|
1845
1889
|
> def eles_by_json(opts)
|
1846
1890
|
|
@@ -1859,7 +1903,7 @@ eles_by_json({
|
|
1859
1903
|
|
1860
1904
|
--
|
1861
1905
|
|
1862
|
-
##### [ele_by_json](https://github.com/appium/ruby_lib/blob/
|
1906
|
+
##### [ele_by_json](https://github.com/appium/ruby_lib/blob/07ebd5767f3e9fafdfb597ec186b0e7f5384a839/lib/appium_lib/ios/common/helper.rb#L503) ios
|
1863
1907
|
|
1864
1908
|
> def ele_by_json(opts)
|
1865
1909
|
|
@@ -1867,7 +1911,7 @@ see eles_by_json
|
|
1867
1911
|
|
1868
1912
|
--
|
1869
1913
|
|
1870
|
-
##### [get_source](https://github.com/appium/ruby_lib/blob/
|
1914
|
+
##### [get_source](https://github.com/appium/ruby_lib/blob/07ebd5767f3e9fafdfb597ec186b0e7f5384a839/lib/appium_lib/ios/common/helper.rb#L513) ios
|
1871
1915
|
|
1872
1916
|
> def get_source
|
1873
1917
|
|
@@ -1880,7 +1924,7 @@ __Returns:__
|
|
1880
1924
|
|
1881
1925
|
--
|
1882
1926
|
|
1883
|
-
##### [alert_accept](https://github.com/appium/ruby_lib/blob/
|
1927
|
+
##### [alert_accept](https://github.com/appium/ruby_lib/blob/07ebd5767f3e9fafdfb597ec186b0e7f5384a839/lib/appium_lib/ios/element/alert.rb#L5) ios
|
1884
1928
|
|
1885
1929
|
> def alert_accept
|
1886
1930
|
|
@@ -1892,7 +1936,7 @@ __Returns:__
|
|
1892
1936
|
|
1893
1937
|
--
|
1894
1938
|
|
1895
|
-
##### [alert_dismiss](https://github.com/appium/ruby_lib/blob/
|
1939
|
+
##### [alert_dismiss](https://github.com/appium/ruby_lib/blob/07ebd5767f3e9fafdfb597ec186b0e7f5384a839/lib/appium_lib/ios/element/alert.rb#L13) ios
|
1896
1940
|
|
1897
1941
|
> def alert_dismiss
|
1898
1942
|
|
@@ -1904,7 +1948,7 @@ __Returns:__
|
|
1904
1948
|
|
1905
1949
|
--
|
1906
1950
|
|
1907
|
-
##### [UIAButton](https://github.com/appium/ruby_lib/blob/
|
1951
|
+
##### [UIAButton](https://github.com/appium/ruby_lib/blob/07ebd5767f3e9fafdfb597ec186b0e7f5384a839/lib/appium_lib/ios/element/button.rb#L4) ios
|
1908
1952
|
|
1909
1953
|
> UIAButton = 'UIAButton'.freeze
|
1910
1954
|
|
@@ -1912,7 +1956,7 @@ __Returns:__
|
|
1912
1956
|
|
1913
1957
|
--
|
1914
1958
|
|
1915
|
-
##### [XCUIElementTypeButton](https://github.com/appium/ruby_lib/blob/
|
1959
|
+
##### [XCUIElementTypeButton](https://github.com/appium/ruby_lib/blob/07ebd5767f3e9fafdfb597ec186b0e7f5384a839/lib/appium_lib/ios/element/button.rb#L5) ios
|
1916
1960
|
|
1917
1961
|
> XCUIElementTypeButton = 'XCUIElementTypeButton'.freeze
|
1918
1962
|
|
@@ -1920,7 +1964,7 @@ __Returns:__
|
|
1920
1964
|
|
1921
1965
|
--
|
1922
1966
|
|
1923
|
-
##### [button_class](https://github.com/appium/ruby_lib/blob/
|
1967
|
+
##### [button_class](https://github.com/appium/ruby_lib/blob/07ebd5767f3e9fafdfb597ec186b0e7f5384a839/lib/appium_lib/ios/element/button.rb#L8) ios
|
1924
1968
|
|
1925
1969
|
> def button_class
|
1926
1970
|
|
@@ -1932,7 +1976,7 @@ __Returns:__
|
|
1932
1976
|
|
1933
1977
|
--
|
1934
1978
|
|
1935
|
-
##### [button](https://github.com/appium/ruby_lib/blob/
|
1979
|
+
##### [button](https://github.com/appium/ruby_lib/blob/07ebd5767f3e9fafdfb597ec186b0e7f5384a839/lib/appium_lib/ios/element/button.rb#L16) ios
|
1936
1980
|
|
1937
1981
|
> def button(value)
|
1938
1982
|
|
@@ -1949,7 +1993,7 @@ __Returns:__
|
|
1949
1993
|
|
1950
1994
|
--
|
1951
1995
|
|
1952
|
-
##### [buttons](https://github.com/appium/ruby_lib/blob/
|
1996
|
+
##### [buttons](https://github.com/appium/ruby_lib/blob/07ebd5767f3e9fafdfb597ec186b0e7f5384a839/lib/appium_lib/ios/element/button.rb#L26) ios
|
1953
1997
|
|
1954
1998
|
> def buttons(value = false)
|
1955
1999
|
|
@@ -1966,7 +2010,7 @@ __Returns:__
|
|
1966
2010
|
|
1967
2011
|
--
|
1968
2012
|
|
1969
|
-
##### [first_button](https://github.com/appium/ruby_lib/blob/
|
2013
|
+
##### [first_button](https://github.com/appium/ruby_lib/blob/07ebd5767f3e9fafdfb597ec186b0e7f5384a839/lib/appium_lib/ios/element/button.rb#L33) ios
|
1970
2014
|
|
1971
2015
|
> def first_button
|
1972
2016
|
|
@@ -1978,7 +2022,7 @@ __Returns:__
|
|
1978
2022
|
|
1979
2023
|
--
|
1980
2024
|
|
1981
|
-
##### [last_button](https://github.com/appium/ruby_lib/blob/
|
2025
|
+
##### [last_button](https://github.com/appium/ruby_lib/blob/07ebd5767f3e9fafdfb597ec186b0e7f5384a839/lib/appium_lib/ios/element/button.rb#L41) ios
|
1982
2026
|
|
1983
2027
|
> def last_button
|
1984
2028
|
|
@@ -1992,7 +2036,7 @@ __Returns:__
|
|
1992
2036
|
|
1993
2037
|
--
|
1994
2038
|
|
1995
|
-
##### [button_exact](https://github.com/appium/ruby_lib/blob/
|
2039
|
+
##### [button_exact](https://github.com/appium/ruby_lib/blob/07ebd5767f3e9fafdfb597ec186b0e7f5384a839/lib/appium_lib/ios/element/button.rb#L48) ios
|
1996
2040
|
|
1997
2041
|
> def button_exact(value)
|
1998
2042
|
|
@@ -2008,7 +2052,7 @@ __Returns:__
|
|
2008
2052
|
|
2009
2053
|
--
|
2010
2054
|
|
2011
|
-
##### [buttons_exact](https://github.com/appium/ruby_lib/blob/
|
2055
|
+
##### [buttons_exact](https://github.com/appium/ruby_lib/blob/07ebd5767f3e9fafdfb597ec186b0e7f5384a839/lib/appium_lib/ios/element/button.rb#L55) ios
|
2012
2056
|
|
2013
2057
|
> def buttons_exact(value)
|
2014
2058
|
|
@@ -2024,7 +2068,7 @@ __Returns:__
|
|
2024
2068
|
|
2025
2069
|
--
|
2026
2070
|
|
2027
|
-
##### [find](https://github.com/appium/ruby_lib/blob/
|
2071
|
+
##### [find](https://github.com/appium/ruby_lib/blob/07ebd5767f3e9fafdfb597ec186b0e7f5384a839/lib/appium_lib/ios/element/generic.rb#L6) ios
|
2028
2072
|
|
2029
2073
|
> def find(value)
|
2030
2074
|
|
@@ -2040,7 +2084,7 @@ __Returns:__
|
|
2040
2084
|
|
2041
2085
|
--
|
2042
2086
|
|
2043
|
-
##### [finds](https://github.com/appium/ruby_lib/blob/
|
2087
|
+
##### [finds](https://github.com/appium/ruby_lib/blob/07ebd5767f3e9fafdfb597ec186b0e7f5384a839/lib/appium_lib/ios/element/generic.rb#L13) ios
|
2044
2088
|
|
2045
2089
|
> def finds(value)
|
2046
2090
|
|
@@ -2056,7 +2100,7 @@ __Returns:__
|
|
2056
2100
|
|
2057
2101
|
--
|
2058
2102
|
|
2059
|
-
##### [find_exact](https://github.com/appium/ruby_lib/blob/
|
2103
|
+
##### [find_exact](https://github.com/appium/ruby_lib/blob/07ebd5767f3e9fafdfb597ec186b0e7f5384a839/lib/appium_lib/ios/element/generic.rb#L20) ios
|
2060
2104
|
|
2061
2105
|
> def find_exact(value)
|
2062
2106
|
|
@@ -2072,7 +2116,7 @@ __Returns:__
|
|
2072
2116
|
|
2073
2117
|
--
|
2074
2118
|
|
2075
|
-
##### [finds_exact](https://github.com/appium/ruby_lib/blob/
|
2119
|
+
##### [finds_exact](https://github.com/appium/ruby_lib/blob/07ebd5767f3e9fafdfb597ec186b0e7f5384a839/lib/appium_lib/ios/element/generic.rb#L27) ios
|
2076
2120
|
|
2077
2121
|
> def finds_exact(value)
|
2078
2122
|
|
@@ -2088,7 +2132,7 @@ __Returns:__
|
|
2088
2132
|
|
2089
2133
|
--
|
2090
2134
|
|
2091
|
-
##### [raise_error_if_no_element](https://github.com/appium/ruby_lib/blob/
|
2135
|
+
##### [raise_error_if_no_element](https://github.com/appium/ruby_lib/blob/07ebd5767f3e9fafdfb597ec186b0e7f5384a839/lib/appium_lib/ios/element/generic.rb#L33) ios
|
2092
2136
|
|
2093
2137
|
> def raise_error_if_no_element(element)
|
2094
2138
|
|
@@ -2096,7 +2140,7 @@ __Returns:__
|
|
2096
2140
|
|
2097
2141
|
--
|
2098
2142
|
|
2099
|
-
##### [select_visible_elements](https://github.com/appium/ruby_lib/blob/
|
2143
|
+
##### [select_visible_elements](https://github.com/appium/ruby_lib/blob/07ebd5767f3e9fafdfb597ec186b0e7f5384a839/lib/appium_lib/ios/element/generic.rb#L40) ios
|
2100
2144
|
|
2101
2145
|
> def select_visible_elements(elements)
|
2102
2146
|
|
@@ -2104,7 +2148,7 @@ Return visible elements.
|
|
2104
2148
|
|
2105
2149
|
--
|
2106
2150
|
|
2107
|
-
##### [for](https://github.com/appium/ruby_lib/blob/
|
2151
|
+
##### [for](https://github.com/appium/ruby_lib/blob/07ebd5767f3e9fafdfb597ec186b0e7f5384a839/lib/appium_lib/ios/xcuitest/bridge.rb#L7) ios
|
2108
2152
|
|
2109
2153
|
> def self.for(target)
|
2110
2154
|
|
@@ -2112,7 +2156,7 @@ Return visible elements.
|
|
2112
2156
|
|
2113
2157
|
--
|
2114
2158
|
|
2115
|
-
##### [last_ele](https://github.com/appium/ruby_lib/blob/
|
2159
|
+
##### [last_ele](https://github.com/appium/ruby_lib/blob/07ebd5767f3e9fafdfb597ec186b0e7f5384a839/lib/appium_lib/ios/xcuitest/helper.rb#L26) ios
|
2116
2160
|
|
2117
2161
|
> def last_ele(class_name)
|
2118
2162
|
|
@@ -2128,7 +2172,7 @@ __Returns:__
|
|
2128
2172
|
|
2129
2173
|
--
|
2130
2174
|
|
2131
|
-
##### [tag](https://github.com/appium/ruby_lib/blob/
|
2175
|
+
##### [tag](https://github.com/appium/ruby_lib/blob/07ebd5767f3e9fafdfb597ec186b0e7f5384a839/lib/appium_lib/ios/xcuitest/helper.rb#L36) ios
|
2132
2176
|
|
2133
2177
|
> def tag(class_name)
|
2134
2178
|
|
@@ -2144,7 +2188,7 @@ __Returns:__
|
|
2144
2188
|
|
2145
2189
|
--
|
2146
2190
|
|
2147
|
-
##### [tags](https://github.com/appium/ruby_lib/blob/
|
2191
|
+
##### [tags](https://github.com/appium/ruby_lib/blob/07ebd5767f3e9fafdfb597ec186b0e7f5384a839/lib/appium_lib/ios/xcuitest/helper.rb#L44) ios
|
2148
2192
|
|
2149
2193
|
> def tags(class_name)
|
2150
2194
|
|
@@ -2160,7 +2204,7 @@ __Returns:__
|
|
2160
2204
|
|
2161
2205
|
--
|
2162
2206
|
|
2163
|
-
##### [tags_include](https://github.com/appium/ruby_lib/blob/
|
2207
|
+
##### [tags_include](https://github.com/appium/ruby_lib/blob/07ebd5767f3e9fafdfb597ec186b0e7f5384a839/lib/appium_lib/ios/xcuitest/helper.rb#L56) ios
|
2164
2208
|
|
2165
2209
|
> def tags_include(class_names:, value: nil)
|
2166
2210
|
|
@@ -2180,7 +2224,7 @@ __Returns:__
|
|
2180
2224
|
|
2181
2225
|
--
|
2182
2226
|
|
2183
|
-
##### [tags_exact](https://github.com/appium/ruby_lib/blob/
|
2227
|
+
##### [tags_exact](https://github.com/appium/ruby_lib/blob/07ebd5767f3e9fafdfb597ec186b0e7f5384a839/lib/appium_lib/ios/xcuitest/helper.rb#L79) ios
|
2184
2228
|
|
2185
2229
|
> def tags_exact(class_names:, value: nil)
|
2186
2230
|
|
@@ -2200,7 +2244,7 @@ __Returns:__
|
|
2200
2244
|
|
2201
2245
|
--
|
2202
2246
|
|
2203
|
-
##### [UIATextField](https://github.com/appium/ruby_lib/blob/
|
2247
|
+
##### [UIATextField](https://github.com/appium/ruby_lib/blob/07ebd5767f3e9fafdfb597ec186b0e7f5384a839/lib/appium_lib/ios/element/textfield.rb#L3) ios
|
2204
2248
|
|
2205
2249
|
> UIATextField = 'UIATextField'.freeze
|
2206
2250
|
|
@@ -2208,7 +2252,7 @@ __Returns:__
|
|
2208
2252
|
|
2209
2253
|
--
|
2210
2254
|
|
2211
|
-
##### [UIASecureTextField](https://github.com/appium/ruby_lib/blob/
|
2255
|
+
##### [UIASecureTextField](https://github.com/appium/ruby_lib/blob/07ebd5767f3e9fafdfb597ec186b0e7f5384a839/lib/appium_lib/ios/element/textfield.rb#L4) ios
|
2212
2256
|
|
2213
2257
|
> UIASecureTextField = 'UIASecureTextField'.freeze
|
2214
2258
|
|
@@ -2216,7 +2260,7 @@ __Returns:__
|
|
2216
2260
|
|
2217
2261
|
--
|
2218
2262
|
|
2219
|
-
##### [XCUIElementTypeTextField](https://github.com/appium/ruby_lib/blob/
|
2263
|
+
##### [XCUIElementTypeTextField](https://github.com/appium/ruby_lib/blob/07ebd5767f3e9fafdfb597ec186b0e7f5384a839/lib/appium_lib/ios/element/textfield.rb#L6) ios
|
2220
2264
|
|
2221
2265
|
> XCUIElementTypeTextField = 'XCUIElementTypeTextField'.freeze
|
2222
2266
|
|
@@ -2224,7 +2268,7 @@ __Returns:__
|
|
2224
2268
|
|
2225
2269
|
--
|
2226
2270
|
|
2227
|
-
##### [XCUIElementTypeSecureTextField](https://github.com/appium/ruby_lib/blob/
|
2271
|
+
##### [XCUIElementTypeSecureTextField](https://github.com/appium/ruby_lib/blob/07ebd5767f3e9fafdfb597ec186b0e7f5384a839/lib/appium_lib/ios/element/textfield.rb#L7) ios
|
2228
2272
|
|
2229
2273
|
> XCUIElementTypeSecureTextField = 'XCUIElementTypeSecureTextField'.freeze
|
2230
2274
|
|
@@ -2232,7 +2276,7 @@ __Returns:__
|
|
2232
2276
|
|
2233
2277
|
--
|
2234
2278
|
|
2235
|
-
##### [text_field_class](https://github.com/appium/ruby_lib/blob/
|
2279
|
+
##### [text_field_class](https://github.com/appium/ruby_lib/blob/07ebd5767f3e9fafdfb597ec186b0e7f5384a839/lib/appium_lib/ios/element/textfield.rb#L10) ios
|
2236
2280
|
|
2237
2281
|
> def text_field_class
|
2238
2282
|
|
@@ -2244,7 +2288,7 @@ __Returns:__
|
|
2244
2288
|
|
2245
2289
|
--
|
2246
2290
|
|
2247
|
-
##### [secure_text_field_class](https://github.com/appium/ruby_lib/blob/
|
2291
|
+
##### [secure_text_field_class](https://github.com/appium/ruby_lib/blob/07ebd5767f3e9fafdfb597ec186b0e7f5384a839/lib/appium_lib/ios/element/textfield.rb#L15) ios
|
2248
2292
|
|
2249
2293
|
> def secure_text_field_class
|
2250
2294
|
|
@@ -2256,7 +2300,7 @@ __Returns:__
|
|
2256
2300
|
|
2257
2301
|
--
|
2258
2302
|
|
2259
|
-
##### [textfield](https://github.com/appium/ruby_lib/blob/
|
2303
|
+
##### [textfield](https://github.com/appium/ruby_lib/blob/07ebd5767f3e9fafdfb597ec186b0e7f5384a839/lib/appium_lib/ios/element/textfield.rb#L24) ios
|
2260
2304
|
|
2261
2305
|
> def textfield(value)
|
2262
2306
|
|
@@ -2274,7 +2318,7 @@ __Returns:__
|
|
2274
2318
|
|
2275
2319
|
--
|
2276
2320
|
|
2277
|
-
##### [textfields](https://github.com/appium/ruby_lib/blob/
|
2321
|
+
##### [textfields](https://github.com/appium/ruby_lib/blob/07ebd5767f3e9fafdfb597ec186b0e7f5384a839/lib/appium_lib/ios/element/textfield.rb#L42) ios
|
2278
2322
|
|
2279
2323
|
> def textfields(value = false)
|
2280
2324
|
|
@@ -2291,7 +2335,7 @@ __Returns:__
|
|
2291
2335
|
|
2292
2336
|
--
|
2293
2337
|
|
2294
|
-
##### [first_textfield](https://github.com/appium/ruby_lib/blob/
|
2338
|
+
##### [first_textfield](https://github.com/appium/ruby_lib/blob/07ebd5767f3e9fafdfb597ec186b0e7f5384a839/lib/appium_lib/ios/element/textfield.rb#L49) ios
|
2295
2339
|
|
2296
2340
|
> def first_textfield
|
2297
2341
|
|
@@ -2303,7 +2347,7 @@ __Returns:__
|
|
2303
2347
|
|
2304
2348
|
--
|
2305
2349
|
|
2306
|
-
##### [last_textfield](https://github.com/appium/ruby_lib/blob/
|
2350
|
+
##### [last_textfield](https://github.com/appium/ruby_lib/blob/07ebd5767f3e9fafdfb597ec186b0e7f5384a839/lib/appium_lib/ios/element/textfield.rb#L55) ios
|
2307
2351
|
|
2308
2352
|
> def last_textfield
|
2309
2353
|
|
@@ -2315,7 +2359,7 @@ __Returns:__
|
|
2315
2359
|
|
2316
2360
|
--
|
2317
2361
|
|
2318
|
-
##### [textfield_exact](https://github.com/appium/ruby_lib/blob/
|
2362
|
+
##### [textfield_exact](https://github.com/appium/ruby_lib/blob/07ebd5767f3e9fafdfb597ec186b0e7f5384a839/lib/appium_lib/ios/element/textfield.rb#L64) ios
|
2319
2363
|
|
2320
2364
|
> def textfield_exact(value)
|
2321
2365
|
|
@@ -2331,7 +2375,7 @@ __Returns:__
|
|
2331
2375
|
|
2332
2376
|
--
|
2333
2377
|
|
2334
|
-
##### [textfields_exact](https://github.com/appium/ruby_lib/blob/
|
2378
|
+
##### [textfields_exact](https://github.com/appium/ruby_lib/blob/07ebd5767f3e9fafdfb597ec186b0e7f5384a839/lib/appium_lib/ios/element/textfield.rb#L71) ios
|
2335
2379
|
|
2336
2380
|
> def textfields_exact(value)
|
2337
2381
|
|
@@ -2347,7 +2391,7 @@ __Returns:__
|
|
2347
2391
|
|
2348
2392
|
--
|
2349
2393
|
|
2350
|
-
##### [_textfield_visible](https://github.com/appium/ruby_lib/blob/
|
2394
|
+
##### [_textfield_visible](https://github.com/appium/ruby_lib/blob/07ebd5767f3e9fafdfb597ec186b0e7f5384a839/lib/appium_lib/ios/element/textfield.rb#L78) ios
|
2351
2395
|
|
2352
2396
|
> def _textfield_visible
|
2353
2397
|
|
@@ -2355,7 +2399,7 @@ Appium
|
|
2355
2399
|
|
2356
2400
|
--
|
2357
2401
|
|
2358
|
-
##### [_textfield_exact_string](https://github.com/appium/ruby_lib/blob/
|
2402
|
+
##### [_textfield_exact_string](https://github.com/appium/ruby_lib/blob/07ebd5767f3e9fafdfb597ec186b0e7f5384a839/lib/appium_lib/ios/element/textfield.rb#L83) ios
|
2359
2403
|
|
2360
2404
|
> def _textfield_exact_string(value)
|
2361
2405
|
|
@@ -2363,7 +2407,7 @@ Appium
|
|
2363
2407
|
|
2364
2408
|
--
|
2365
2409
|
|
2366
|
-
##### [_textfield_contains_string](https://github.com/appium/ruby_lib/blob/
|
2410
|
+
##### [_textfield_contains_string](https://github.com/appium/ruby_lib/blob/07ebd5767f3e9fafdfb597ec186b0e7f5384a839/lib/appium_lib/ios/element/textfield.rb#L90) ios
|
2367
2411
|
|
2368
2412
|
> def _textfield_contains_string(value)
|
2369
2413
|
|
@@ -2371,7 +2415,7 @@ Appium
|
|
2371
2415
|
|
2372
2416
|
--
|
2373
2417
|
|
2374
|
-
##### [static_text_class](https://github.com/appium/ruby_lib/blob/
|
2418
|
+
##### [static_text_class](https://github.com/appium/ruby_lib/blob/07ebd5767f3e9fafdfb597ec186b0e7f5384a839/lib/appium_lib/ios/xcuitest/element/text.rb#L9) ios
|
2375
2419
|
|
2376
2420
|
> def static_text_class
|
2377
2421
|
|
@@ -2383,7 +2427,7 @@ __Returns:__
|
|
2383
2427
|
|
2384
2428
|
--
|
2385
2429
|
|
2386
|
-
##### [text](https://github.com/appium/ruby_lib/blob/
|
2430
|
+
##### [text](https://github.com/appium/ruby_lib/blob/07ebd5767f3e9fafdfb597ec186b0e7f5384a839/lib/appium_lib/ios/xcuitest/element/text.rb#L17) ios
|
2387
2431
|
|
2388
2432
|
> def text(value)
|
2389
2433
|
|
@@ -2400,7 +2444,7 @@ __Returns:__
|
|
2400
2444
|
|
2401
2445
|
--
|
2402
2446
|
|
2403
|
-
##### [texts](https://github.com/appium/ruby_lib/blob/
|
2447
|
+
##### [texts](https://github.com/appium/ruby_lib/blob/07ebd5767f3e9fafdfb597ec186b0e7f5384a839/lib/appium_lib/ios/xcuitest/element/text.rb#L26) ios
|
2404
2448
|
|
2405
2449
|
> def texts(value = false)
|
2406
2450
|
|
@@ -2417,7 +2461,7 @@ __Returns:__
|
|
2417
2461
|
|
2418
2462
|
--
|
2419
2463
|
|
2420
|
-
##### [first_text](https://github.com/appium/ruby_lib/blob/
|
2464
|
+
##### [first_text](https://github.com/appium/ruby_lib/blob/07ebd5767f3e9fafdfb597ec186b0e7f5384a839/lib/appium_lib/ios/xcuitest/element/text.rb#L34) ios
|
2421
2465
|
|
2422
2466
|
> def first_text
|
2423
2467
|
|
@@ -2429,7 +2473,7 @@ __Returns:__
|
|
2429
2473
|
|
2430
2474
|
--
|
2431
2475
|
|
2432
|
-
##### [last_text](https://github.com/appium/ruby_lib/blob/
|
2476
|
+
##### [last_text](https://github.com/appium/ruby_lib/blob/07ebd5767f3e9fafdfb597ec186b0e7f5384a839/lib/appium_lib/ios/xcuitest/element/text.rb#L40) ios
|
2433
2477
|
|
2434
2478
|
> def last_text
|
2435
2479
|
|
@@ -2441,7 +2485,7 @@ __Returns:__
|
|
2441
2485
|
|
2442
2486
|
--
|
2443
2487
|
|
2444
|
-
##### [text_exact](https://github.com/appium/ruby_lib/blob/
|
2488
|
+
##### [text_exact](https://github.com/appium/ruby_lib/blob/07ebd5767f3e9fafdfb597ec186b0e7f5384a839/lib/appium_lib/ios/xcuitest/element/text.rb#L47) ios
|
2445
2489
|
|
2446
2490
|
> def text_exact(value)
|
2447
2491
|
|
@@ -2457,7 +2501,7 @@ __Returns:__
|
|
2457
2501
|
|
2458
2502
|
--
|
2459
2503
|
|
2460
|
-
##### [texts_exact](https://github.com/appium/ruby_lib/blob/
|
2504
|
+
##### [texts_exact](https://github.com/appium/ruby_lib/blob/07ebd5767f3e9fafdfb597ec186b0e7f5384a839/lib/appium_lib/ios/xcuitest/element/text.rb#L54) ios
|
2461
2505
|
|
2462
2506
|
> def texts_exact(value)
|
2463
2507
|
|
@@ -2473,7 +2517,21 @@ __Returns:__
|
|
2473
2517
|
|
2474
2518
|
--
|
2475
2519
|
|
2476
|
-
##### [
|
2520
|
+
##### [xcuitest_source](https://github.com/appium/ruby_lib/blob/07ebd5767f3e9fafdfb597ec186b0e7f5384a839/lib/appium_lib/ios/xcuitest/command/source.rb#L11) ios
|
2521
|
+
|
2522
|
+
> def xcuitest_source(format: :xml)
|
2523
|
+
|
2524
|
+
|
2525
|
+
|
2526
|
+
__Parameters:__
|
2527
|
+
|
2528
|
+
[String|Symbol] format - :xml or :json. :xml is by default.
|
2529
|
+
|
2530
|
+
[Hash] opts - a customizable set of options
|
2531
|
+
|
2532
|
+
--
|
2533
|
+
|
2534
|
+
##### [button_class](https://github.com/appium/ruby_lib/blob/07ebd5767f3e9fafdfb597ec186b0e7f5384a839/lib/appium_lib/ios/xcuitest/element/button.rb#L9) ios
|
2477
2535
|
|
2478
2536
|
> def button_class
|
2479
2537
|
|
@@ -2485,7 +2543,7 @@ __Returns:__
|
|
2485
2543
|
|
2486
2544
|
--
|
2487
2545
|
|
2488
|
-
##### [button](https://github.com/appium/ruby_lib/blob/
|
2546
|
+
##### [button](https://github.com/appium/ruby_lib/blob/07ebd5767f3e9fafdfb597ec186b0e7f5384a839/lib/appium_lib/ios/xcuitest/element/button.rb#L17) ios
|
2489
2547
|
|
2490
2548
|
> def button(value)
|
2491
2549
|
|
@@ -2502,7 +2560,7 @@ __Returns:__
|
|
2502
2560
|
|
2503
2561
|
--
|
2504
2562
|
|
2505
|
-
##### [buttons](https://github.com/appium/ruby_lib/blob/
|
2563
|
+
##### [buttons](https://github.com/appium/ruby_lib/blob/07ebd5767f3e9fafdfb597ec186b0e7f5384a839/lib/appium_lib/ios/xcuitest/element/button.rb#L27) ios
|
2506
2564
|
|
2507
2565
|
> def buttons(value = false)
|
2508
2566
|
|
@@ -2519,7 +2577,7 @@ __Returns:__
|
|
2519
2577
|
|
2520
2578
|
--
|
2521
2579
|
|
2522
|
-
##### [first_button](https://github.com/appium/ruby_lib/blob/
|
2580
|
+
##### [first_button](https://github.com/appium/ruby_lib/blob/07ebd5767f3e9fafdfb597ec186b0e7f5384a839/lib/appium_lib/ios/xcuitest/element/button.rb#L35) ios
|
2523
2581
|
|
2524
2582
|
> def first_button
|
2525
2583
|
|
@@ -2531,7 +2589,7 @@ __Returns:__
|
|
2531
2589
|
|
2532
2590
|
--
|
2533
2591
|
|
2534
|
-
##### [last_button](https://github.com/appium/ruby_lib/blob/
|
2592
|
+
##### [last_button](https://github.com/appium/ruby_lib/blob/07ebd5767f3e9fafdfb597ec186b0e7f5384a839/lib/appium_lib/ios/xcuitest/element/button.rb#L43) ios
|
2535
2593
|
|
2536
2594
|
> def last_button
|
2537
2595
|
|
@@ -2545,7 +2603,7 @@ __Returns:__
|
|
2545
2603
|
|
2546
2604
|
--
|
2547
2605
|
|
2548
|
-
##### [button_exact](https://github.com/appium/ruby_lib/blob/
|
2606
|
+
##### [button_exact](https://github.com/appium/ruby_lib/blob/07ebd5767f3e9fafdfb597ec186b0e7f5384a839/lib/appium_lib/ios/xcuitest/element/button.rb#L50) ios
|
2549
2607
|
|
2550
2608
|
> def button_exact(value)
|
2551
2609
|
|
@@ -2561,7 +2619,7 @@ __Returns:__
|
|
2561
2619
|
|
2562
2620
|
--
|
2563
2621
|
|
2564
|
-
##### [buttons_exact](https://github.com/appium/ruby_lib/blob/
|
2622
|
+
##### [buttons_exact](https://github.com/appium/ruby_lib/blob/07ebd5767f3e9fafdfb597ec186b0e7f5384a839/lib/appium_lib/ios/xcuitest/element/button.rb#L57) ios
|
2565
2623
|
|
2566
2624
|
> def buttons_exact(value)
|
2567
2625
|
|
@@ -2577,7 +2635,7 @@ __Returns:__
|
|
2577
2635
|
|
2578
2636
|
--
|
2579
2637
|
|
2580
|
-
##### [find](https://github.com/appium/ruby_lib/blob/
|
2638
|
+
##### [find](https://github.com/appium/ruby_lib/blob/07ebd5767f3e9fafdfb597ec186b0e7f5384a839/lib/appium_lib/ios/xcuitest/element/generic.rb#L8) ios
|
2581
2639
|
|
2582
2640
|
> def find(value)
|
2583
2641
|
|
@@ -2593,7 +2651,7 @@ __Returns:__
|
|
2593
2651
|
|
2594
2652
|
--
|
2595
2653
|
|
2596
|
-
##### [finds](https://github.com/appium/ruby_lib/blob/
|
2654
|
+
##### [finds](https://github.com/appium/ruby_lib/blob/07ebd5767f3e9fafdfb597ec186b0e7f5384a839/lib/appium_lib/ios/xcuitest/element/generic.rb#L15) ios
|
2597
2655
|
|
2598
2656
|
> def finds(value)
|
2599
2657
|
|
@@ -2609,7 +2667,7 @@ __Returns:__
|
|
2609
2667
|
|
2610
2668
|
--
|
2611
2669
|
|
2612
|
-
##### [find_exact](https://github.com/appium/ruby_lib/blob/
|
2670
|
+
##### [find_exact](https://github.com/appium/ruby_lib/blob/07ebd5767f3e9fafdfb597ec186b0e7f5384a839/lib/appium_lib/ios/xcuitest/element/generic.rb#L23) ios
|
2613
2671
|
|
2614
2672
|
> def find_exact(value)
|
2615
2673
|
|
@@ -2625,7 +2683,7 @@ __Returns:__
|
|
2625
2683
|
|
2626
2684
|
--
|
2627
2685
|
|
2628
|
-
##### [finds_exact](https://github.com/appium/ruby_lib/blob/
|
2686
|
+
##### [finds_exact](https://github.com/appium/ruby_lib/blob/07ebd5767f3e9fafdfb597ec186b0e7f5384a839/lib/appium_lib/ios/xcuitest/element/generic.rb#L30) ios
|
2629
2687
|
|
2630
2688
|
> def finds_exact(value)
|
2631
2689
|
|
@@ -2641,7 +2699,7 @@ __Returns:__
|
|
2641
2699
|
|
2642
2700
|
--
|
2643
2701
|
|
2644
|
-
##### [raise_error_if_no_element](https://github.com/appium/ruby_lib/blob/
|
2702
|
+
##### [raise_error_if_no_element](https://github.com/appium/ruby_lib/blob/07ebd5767f3e9fafdfb597ec186b0e7f5384a839/lib/appium_lib/ios/xcuitest/element/generic.rb#L37) ios
|
2645
2703
|
|
2646
2704
|
> def raise_error_if_no_element(element)
|
2647
2705
|
|
@@ -2649,7 +2707,7 @@ __Returns:__
|
|
2649
2707
|
|
2650
2708
|
--
|
2651
2709
|
|
2652
|
-
##### [select_visible_elements](https://github.com/appium/ruby_lib/blob/
|
2710
|
+
##### [select_visible_elements](https://github.com/appium/ruby_lib/blob/07ebd5767f3e9fafdfb597ec186b0e7f5384a839/lib/appium_lib/ios/xcuitest/element/generic.rb#L44) ios
|
2653
2711
|
|
2654
2712
|
> def select_visible_elements(elements)
|
2655
2713
|
|
@@ -2657,7 +2715,7 @@ Return visible elements.
|
|
2657
2715
|
|
2658
2716
|
--
|
2659
2717
|
|
2660
|
-
##### [swipe](https://github.com/appium/ruby_lib/blob/
|
2718
|
+
##### [swipe](https://github.com/appium/ruby_lib/blob/07ebd5767f3e9fafdfb597ec186b0e7f5384a839/lib/appium_lib/ios/xcuitest/command/gestures.rb#L11) ios
|
2661
2719
|
|
2662
2720
|
> def swipe(direction:, element: nil)
|
2663
2721
|
|
@@ -2671,7 +2729,7 @@ __Parameters:__
|
|
2671
2729
|
|
2672
2730
|
--
|
2673
2731
|
|
2674
|
-
##### [scroll](https://github.com/appium/ruby_lib/blob/
|
2732
|
+
##### [scroll](https://github.com/appium/ruby_lib/blob/07ebd5767f3e9fafdfb597ec186b0e7f5384a839/lib/appium_lib/ios/xcuitest/command/gestures.rb#L29) ios
|
2675
2733
|
|
2676
2734
|
> def scroll(direction:, name: nil, element: nil, to_visible: nil, predicate_string: nil)
|
2677
2735
|
|
@@ -2685,7 +2743,7 @@ __Parameters:__
|
|
2685
2743
|
|
2686
2744
|
--
|
2687
2745
|
|
2688
|
-
##### [pinch](https://github.com/appium/ruby_lib/blob/
|
2746
|
+
##### [pinch](https://github.com/appium/ruby_lib/blob/07ebd5767f3e9fafdfb597ec186b0e7f5384a839/lib/appium_lib/ios/xcuitest/command/gestures.rb#L48) ios
|
2689
2747
|
|
2690
2748
|
> def pinch(scale:, velocity: 1.0, element: nil)
|
2691
2749
|
|
@@ -2701,7 +2759,7 @@ __Parameters:__
|
|
2701
2759
|
|
2702
2760
|
--
|
2703
2761
|
|
2704
|
-
##### [double_tap](https://github.com/appium/ruby_lib/blob/
|
2762
|
+
##### [double_tap](https://github.com/appium/ruby_lib/blob/07ebd5767f3e9fafdfb597ec186b0e7f5384a839/lib/appium_lib/ios/xcuitest/command/gestures.rb#L63) ios
|
2705
2763
|
|
2706
2764
|
> def double_tap(x: nil, y: nil, element: nil)
|
2707
2765
|
|
@@ -2717,7 +2775,7 @@ __Parameters:__
|
|
2717
2775
|
|
2718
2776
|
--
|
2719
2777
|
|
2720
|
-
##### [touch_and_hold](https://github.com/appium/ruby_lib/blob/
|
2778
|
+
##### [touch_and_hold](https://github.com/appium/ruby_lib/blob/07ebd5767f3e9fafdfb597ec186b0e7f5384a839/lib/appium_lib/ios/xcuitest/command/gestures.rb#L80) ios
|
2721
2779
|
|
2722
2780
|
> def touch_and_hold(x: nil, y: nil, element: nil, duration: 1.0)
|
2723
2781
|
|
@@ -2735,7 +2793,7 @@ __Parameters:__
|
|
2735
2793
|
|
2736
2794
|
--
|
2737
2795
|
|
2738
|
-
##### [two_finger_tap](https://github.com/appium/ruby_lib/blob/
|
2796
|
+
##### [two_finger_tap](https://github.com/appium/ruby_lib/blob/07ebd5767f3e9fafdfb597ec186b0e7f5384a839/lib/appium_lib/ios/xcuitest/command/gestures.rb#L93) ios
|
2739
2797
|
|
2740
2798
|
> def two_finger_tap(element:)
|
2741
2799
|
|
@@ -2751,7 +2809,7 @@ two_finger_tap element: find_element(:accessibility_id, "some item")
|
|
2751
2809
|
|
2752
2810
|
--
|
2753
2811
|
|
2754
|
-
##### [tap](https://github.com/appium/ruby_lib/blob/
|
2812
|
+
##### [tap](https://github.com/appium/ruby_lib/blob/07ebd5767f3e9fafdfb597ec186b0e7f5384a839/lib/appium_lib/ios/xcuitest/command/gestures.rb#L108) ios
|
2755
2813
|
|
2756
2814
|
> def tap(x:, y:, element: nil)
|
2757
2815
|
|
@@ -2767,7 +2825,7 @@ __Parameters:__
|
|
2767
2825
|
|
2768
2826
|
--
|
2769
2827
|
|
2770
|
-
##### [drag_from_to_for_duration](https://github.com/appium/ruby_lib/blob/
|
2828
|
+
##### [drag_from_to_for_duration](https://github.com/appium/ruby_lib/blob/07ebd5767f3e9fafdfb597ec186b0e7f5384a839/lib/appium_lib/ios/xcuitest/command/gestures.rb#L128) ios
|
2771
2829
|
|
2772
2830
|
> def drag_from_to_for_duration(from_x:, from_y:, to_x:, to_y:, duration: 1.0, element: nil)
|
2773
2831
|
|
@@ -2790,7 +2848,7 @@ drag point should be before to start dragging. Mandatory parameter
|
|
2790
2848
|
|
2791
2849
|
--
|
2792
2850
|
|
2793
|
-
##### [select_picker_wheel](https://github.com/appium/ruby_lib/blob/
|
2851
|
+
##### [select_picker_wheel](https://github.com/appium/ruby_lib/blob/07ebd5767f3e9fafdfb597ec186b0e7f5384a839/lib/appium_lib/ios/xcuitest/command/gestures.rb#L145) ios
|
2794
2852
|
|
2795
2853
|
> def select_picker_wheel(element:, order:, offset: nil)
|
2796
2854
|
|
@@ -2807,7 +2865,7 @@ __Parameters:__
|
|
2807
2865
|
|
2808
2866
|
--
|
2809
2867
|
|
2810
|
-
##### [alert](https://github.com/appium/ruby_lib/blob/
|
2868
|
+
##### [alert](https://github.com/appium/ruby_lib/blob/07ebd5767f3e9fafdfb597ec186b0e7f5384a839/lib/appium_lib/ios/xcuitest/command/gestures.rb#L163) ios
|
2811
2869
|
|
2812
2870
|
> def alert(action:, button_label: nil)
|
2813
2871
|
|
@@ -2822,7 +2880,7 @@ This is an optional parameter and is only valid in combination with accept and d
|
|
2822
2880
|
|
2823
2881
|
--
|
2824
2882
|
|
2825
|
-
##### [text_field_class](https://github.com/appium/ruby_lib/blob/
|
2883
|
+
##### [text_field_class](https://github.com/appium/ruby_lib/blob/07ebd5767f3e9fafdfb597ec186b0e7f5384a839/lib/appium_lib/ios/xcuitest/element/textfield.rb#L9) ios
|
2826
2884
|
|
2827
2885
|
> def text_field_class
|
2828
2886
|
|
@@ -2834,7 +2892,7 @@ __Returns:__
|
|
2834
2892
|
|
2835
2893
|
--
|
2836
2894
|
|
2837
|
-
##### [secure_text_field_class](https://github.com/appium/ruby_lib/blob/
|
2895
|
+
##### [secure_text_field_class](https://github.com/appium/ruby_lib/blob/07ebd5767f3e9fafdfb597ec186b0e7f5384a839/lib/appium_lib/ios/xcuitest/element/textfield.rb#L14) ios
|
2838
2896
|
|
2839
2897
|
> def secure_text_field_class
|
2840
2898
|
|
@@ -2846,7 +2904,7 @@ __Returns:__
|
|
2846
2904
|
|
2847
2905
|
--
|
2848
2906
|
|
2849
|
-
##### [textfield](https://github.com/appium/ruby_lib/blob/
|
2907
|
+
##### [textfield](https://github.com/appium/ruby_lib/blob/07ebd5767f3e9fafdfb597ec186b0e7f5384a839/lib/appium_lib/ios/xcuitest/element/textfield.rb#L23) ios
|
2850
2908
|
|
2851
2909
|
> def textfield(value)
|
2852
2910
|
|
@@ -2864,7 +2922,7 @@ __Returns:__
|
|
2864
2922
|
|
2865
2923
|
--
|
2866
2924
|
|
2867
|
-
##### [textfields](https://github.com/appium/ruby_lib/blob/
|
2925
|
+
##### [textfields](https://github.com/appium/ruby_lib/blob/07ebd5767f3e9fafdfb597ec186b0e7f5384a839/lib/appium_lib/ios/xcuitest/element/textfield.rb#L41) ios
|
2868
2926
|
|
2869
2927
|
> def textfields(value = false)
|
2870
2928
|
|
@@ -2881,7 +2939,7 @@ __Returns:__
|
|
2881
2939
|
|
2882
2940
|
--
|
2883
2941
|
|
2884
|
-
##### [first_textfield](https://github.com/appium/ruby_lib/blob/
|
2942
|
+
##### [first_textfield](https://github.com/appium/ruby_lib/blob/07ebd5767f3e9fafdfb597ec186b0e7f5384a839/lib/appium_lib/ios/xcuitest/element/textfield.rb#L50) ios
|
2885
2943
|
|
2886
2944
|
> def first_textfield
|
2887
2945
|
|
@@ -2893,7 +2951,7 @@ __Returns:__
|
|
2893
2951
|
|
2894
2952
|
--
|
2895
2953
|
|
2896
|
-
##### [last_textfield](https://github.com/appium/ruby_lib/blob/
|
2954
|
+
##### [last_textfield](https://github.com/appium/ruby_lib/blob/07ebd5767f3e9fafdfb597ec186b0e7f5384a839/lib/appium_lib/ios/xcuitest/element/textfield.rb#L56) ios
|
2897
2955
|
|
2898
2956
|
> def last_textfield
|
2899
2957
|
|
@@ -2905,7 +2963,7 @@ __Returns:__
|
|
2905
2963
|
|
2906
2964
|
--
|
2907
2965
|
|
2908
|
-
##### [textfield_exact](https://github.com/appium/ruby_lib/blob/
|
2966
|
+
##### [textfield_exact](https://github.com/appium/ruby_lib/blob/07ebd5767f3e9fafdfb597ec186b0e7f5384a839/lib/appium_lib/ios/xcuitest/element/textfield.rb#L65) ios
|
2909
2967
|
|
2910
2968
|
> def textfield_exact(value)
|
2911
2969
|
|
@@ -2921,7 +2979,7 @@ __Returns:__
|
|
2921
2979
|
|
2922
2980
|
--
|
2923
2981
|
|
2924
|
-
##### [textfields_exact](https://github.com/appium/ruby_lib/blob/
|
2982
|
+
##### [textfields_exact](https://github.com/appium/ruby_lib/blob/07ebd5767f3e9fafdfb597ec186b0e7f5384a839/lib/appium_lib/ios/xcuitest/element/textfield.rb#L72) ios
|
2925
2983
|
|
2926
2984
|
> def textfields_exact(value)
|
2927
2985
|
|
@@ -2937,7 +2995,7 @@ __Returns:__
|
|
2937
2995
|
|
2938
2996
|
--
|
2939
2997
|
|
2940
|
-
##### [set_pasteboard](https://github.com/appium/ruby_lib/blob/
|
2998
|
+
##### [set_pasteboard](https://github.com/appium/ruby_lib/blob/07ebd5767f3e9fafdfb597ec186b0e7f5384a839/lib/appium_lib/ios/xcuitest/command/pasteboard.rb#L12) ios
|
2941
2999
|
|
2942
3000
|
> def set_pasteboard(content:, encoding: nil)
|
2943
3001
|
|
@@ -2952,7 +3010,7 @@ The parameter is mandatory
|
|
2952
3010
|
|
2953
3011
|
--
|
2954
3012
|
|
2955
|
-
##### [get_pasteboard](https://github.com/appium/ruby_lib/blob/
|
3013
|
+
##### [get_pasteboard](https://github.com/appium/ruby_lib/blob/07ebd5767f3e9fafdfb597ec186b0e7f5384a839/lib/appium_lib/ios/xcuitest/command/pasteboard.rb#L24) ios
|
2956
3014
|
|
2957
3015
|
> def get_pasteboard(encoding: nil)
|
2958
3016
|
|