appium_lib 9.10.0 → 9.11.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +16 -0
- data/Rakefile +2 -3
- data/appium_lib.gemspec +1 -1
- data/contributing.md +0 -13
- data/docs/android_docs.md +214 -174
- data/docs/docs.md +14 -77
- data/docs/ios_docs.md +232 -232
- data/lib/appium_lib/android/common/command/command.rb +29 -0
- data/lib/appium_lib/android/common/command/ws_logcat.rb +16 -0
- data/lib/appium_lib/common/multi_touch.rb +1 -1
- data/lib/appium_lib/common/touch_actions.rb +1 -1
- data/lib/appium_lib/driver.rb +13 -5
- data/lib/appium_lib/version.rb +2 -2
- data/release_notes.md +118 -0
- metadata +5 -5
- data/docs/api_19_webview.md +0 -49
data/docs/docs.md
CHANGED
@@ -1,30 +1,27 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
-
|
4
|
-
-
|
1
|
+
# Documentation
|
2
|
+
## API Doc of Ruby Client
|
3
|
+
- This library: http://www.rubydoc.info/github/appium/ruby_lib
|
4
|
+
- Core: http://www.rubydoc.info/github/appium/ruby_lib_core
|
5
|
+
- [Ruby selenium-webdriver](https://github.com/SeleniumHQ/selenium/wiki/Ruby-Bindings)
|
5
6
|
|
6
|
-
|
7
|
-
##### General
|
7
|
+
### General
|
8
8
|
- [Appium](https://github.com/appium/appium/blob/master/README.md)
|
9
|
-
- [
|
9
|
+
- [Supported platforms](https://github.com/appium/appium/blob/master/docs/en/about-appium/platform-support.md)
|
10
10
|
- [All methods supported by Appium](https://github.com/appium/appium-base-driver/blob/master/docs/mjsonwp/protocol-methods.md)
|
11
|
+
- Fundamental Commands: http://appium.io/docs/en/commands/status/ etc
|
11
12
|
- [MiniTest Expectations](http://docs.seattlerb.org/minitest/Minitest/Expectations.html)
|
12
13
|
|
13
|
-
|
14
|
-
- [platform-support](https://github.com/appium/appium/blob/master/docs/en/about-appium/platform-support.md)
|
15
|
-
|
16
|
-
--
|
17
|
-
|
18
|
-
Driver types.
|
14
|
+
### Driver types in Ruby Client
|
19
15
|
|
20
16
|
```ruby
|
21
|
-
#
|
17
|
+
# Appium specific driver with helpers available extending Standard Appium Driver.
|
22
18
|
@appium_driver = Appium::Driver.new @options, false
|
23
|
-
|
19
|
+
|
20
|
+
# Standard Appium Driver extends Selenium WebDriver.
|
24
21
|
@selenium_driver = @appium_driver.start_driver
|
25
22
|
```
|
26
23
|
|
27
|
-
|
24
|
+
### Example
|
28
25
|
|
29
26
|
Example of automating the built in Android settings.
|
30
27
|
|
@@ -40,15 +37,8 @@ apk = {
|
|
40
37
|
Appium::Driver.new({caps: apk}, false).start_driver
|
41
38
|
```
|
42
39
|
|
43
|
-
--
|
44
|
-
|
45
40
|
Example use of Appium's mobile gesture.
|
46
41
|
|
47
|
-
> @driver.find_element()
|
48
|
-
|
49
|
-
`console.rb` uses some code from [simple_test.rb](
|
50
|
-
https://github.com/appium/sample-code/blob/master/sample-code/examples/ruby/simple_test.rb) and is released under the [same license](https://github.com/appium/appium/blob/c58eeb66f2d6fa3b9a89d188a2e657cca7cb300f/LICENSE) as Appium.
|
51
|
-
The Accessibility Inspector is helpful for discovering button names and textfield values.
|
52
42
|
|
53
43
|
Long click on an ImageView in Android.
|
54
44
|
|
@@ -67,61 +57,8 @@ driver.rotate :portrait
|
|
67
57
|
- `appium_server_version` Discover the Appium rev running on the server.
|
68
58
|
- `element.send_keys "msg"` Sends keys to currently active element
|
69
59
|
|
70
|
-
#### generic
|
71
|
-
|
72
|
-
- `source` Prints a JSON view of the current page.
|
73
|
-
- `page` Prints the content descriptions and text values on the current page.
|
74
|
-
- `page_class` Prints the classes found on the current page.
|
75
|
-
- `(Element) find(value)` Returns the first element that contains value.
|
76
|
-
- `(Element) finds(value)` Returns all elements containing value (iOS only for now).
|
77
|
-
- `(Element) name(name)` Returns the first element containing name. Android name is the content description.
|
78
|
-
iOS uses accessibility label with a fallback to text.
|
79
|
-
- `(Array<Element>) names(name)` Returns all elements containing name.
|
80
|
-
- `(Element) text(text)` Returns the first element containing text.
|
81
|
-
- `(Array<Element>) texts(text)` Returns all elements containing text.
|
82
|
-
- `current_app` Returns information about the current app. Android only.
|
83
60
|
|
84
|
-
|
85
|
-
|
86
|
-
#### alert
|
87
|
-
0. `(void) alert_accept` Accept the alert.
|
88
|
-
0. `(String) alert_accept_text` Get the text of the alert's accept button.
|
89
|
-
0. `(void) alert_click(value)` iOS only Tap the alert button identified by value.
|
90
|
-
0. `(void) alert_dismiss` Dismiss the alert.
|
91
|
-
0. `(String) alert_dismiss_text` Get the text of the alert's dismiss button.
|
92
|
-
0. `(String) alert_text` Get the alert message text.
|
93
|
-
|
94
|
-
#### button
|
95
|
-
0. `(Button) button(index)` Find a button by index.
|
96
|
-
0. `(Button) button(text)` Get the first button that includes text.
|
97
|
-
0. `(Array<String>, Array<Buttons>) buttons(text = nil)` Get an array of button texts or button elements if text is provided.
|
98
|
-
0. `(Array<Button>) buttons(text)` Get all buttons that include text.
|
99
|
-
0. `(Button) first_button` Get the first button element.
|
100
|
-
0. `(Button) last_button` Get the last button element.
|
101
|
-
|
102
|
-
#### textfield
|
103
|
-
0. `(Textfield) textfield(index)` Find a textfield by index.
|
104
|
-
0. `(Array<Textfield>) textfields` Get an array of textfield elements.
|
105
|
-
0. `(Textfield) first_textfield` Get the first textfield element.
|
106
|
-
0. `(Textfield) last_textfield` Get the last textfield element.
|
107
|
-
0. `(Textfield) textfield_exact(text)` Get the first textfield that matches text.
|
108
|
-
0. `(Textfield) textfield(text)` Get the first textfield that includes text.
|
109
|
-
|
110
|
-
#### text
|
111
|
-
|
112
|
-
The Static Text methods have been prefixed with `s_` to avoid conflicting with the generic text methods.
|
113
|
-
|
114
|
-
0. `(Text) text(index)` Find a text by index.
|
115
|
-
0. `(Array<Text>) texts` Get an array of text elements.
|
116
|
-
0. `(Text) first_text` Get the first text element.
|
117
|
-
0. `(Text) last_text` Get the last text element.
|
118
|
-
0. `(Text) text_exact(text)` Get the first element that matches text.
|
119
|
-
0. `(Text) text(text)` Get the first textfield that includes text.
|
120
|
-
|
121
|
-
#### window
|
122
|
-
0. `(Object) window_size` Get the window's size.
|
123
|
-
|
124
|
-
--
|
61
|
+
### APIs
|
125
62
|
|
126
63
|
```ruby
|
127
64
|
e.name # button, text
|
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/e8b0362ffcad51b85243b129e14f8cde3f9f562f/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/e8b0362ffcad51b85243b129e14f8cde3f9f562f/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/e8b0362ffcad51b85243b129e14f8cde3f9f562f/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/e8b0362ffcad51b85243b129e14f8cde3f9f562f/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/e8b0362ffcad51b85243b129e14f8cde3f9f562f/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/e8b0362ffcad51b85243b129e14f8cde3f9f562f/lib/appium_lib/driver.rb#L36)
|
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/e8b0362ffcad51b85243b129e14f8cde3f9f562f/lib/appium_lib/driver.rb#L36)
|
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/e8b0362ffcad51b85243b129e14f8cde3f9f562f/lib/appium_lib/driver.rb#L39)
|
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/e8b0362ffcad51b85243b129e14f8cde3f9f562f/lib/appium_lib/driver.rb#L42)
|
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/e8b0362ffcad51b85243b129e14f8cde3f9f562f/lib/appium_lib/driver.rb#L45)
|
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/e8b0362ffcad51b85243b129e14f8cde3f9f562f/lib/appium_lib/driver.rb#L48)
|
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/e8b0362ffcad51b85243b129e14f8cde3f9f562f/lib/appium_lib/driver.rb#L52)
|
171
171
|
|
172
172
|
> def caps
|
173
173
|
|
@@ -176,7 +176,7 @@ read http://www.rubydoc.info/github/appium/ruby_lib_core/Appium/Core/Driver
|
|
176
176
|
|
177
177
|
--
|
178
178
|
|
179
|
-
##### [custom_url](https://github.com/appium/ruby_lib/blob/
|
179
|
+
##### [custom_url](https://github.com/appium/ruby_lib/blob/e8b0362ffcad51b85243b129e14f8cde3f9f562f/lib/appium_lib/driver.rb#L53)
|
180
180
|
|
181
181
|
> def custom_url
|
182
182
|
|
@@ -184,7 +184,7 @@ Returns the value of attribute custom_url
|
|
184
184
|
|
185
185
|
--
|
186
186
|
|
187
|
-
##### [export_session](https://github.com/appium/ruby_lib/blob/
|
187
|
+
##### [export_session](https://github.com/appium/ruby_lib/blob/e8b0362ffcad51b85243b129e14f8cde3f9f562f/lib/appium_lib/driver.rb#L54)
|
188
188
|
|
189
189
|
> def export_session
|
190
190
|
|
@@ -192,7 +192,7 @@ Returns the value of attribute export_session
|
|
192
192
|
|
193
193
|
--
|
194
194
|
|
195
|
-
##### [export_session_path](https://github.com/appium/ruby_lib/blob/
|
195
|
+
##### [export_session_path](https://github.com/appium/ruby_lib/blob/e8b0362ffcad51b85243b129e14f8cde3f9f562f/lib/appium_lib/driver.rb#L55)
|
196
196
|
|
197
197
|
> def export_session_path
|
198
198
|
|
@@ -200,7 +200,7 @@ Returns the value of attribute export_session_path
|
|
200
200
|
|
201
201
|
--
|
202
202
|
|
203
|
-
##### [default_wait](https://github.com/appium/ruby_lib/blob/
|
203
|
+
##### [default_wait](https://github.com/appium/ruby_lib/blob/e8b0362ffcad51b85243b129e14f8cde3f9f562f/lib/appium_lib/driver.rb#L56)
|
204
204
|
|
205
205
|
> def default_wait
|
206
206
|
|
@@ -208,7 +208,7 @@ Returns the value of attribute default_wait
|
|
208
208
|
|
209
209
|
--
|
210
210
|
|
211
|
-
##### [appium_port](https://github.com/appium/ruby_lib/blob/
|
211
|
+
##### [appium_port](https://github.com/appium/ruby_lib/blob/e8b0362ffcad51b85243b129e14f8cde3f9f562f/lib/appium_lib/driver.rb#L57)
|
212
212
|
|
213
213
|
> def appium_port
|
214
214
|
|
@@ -216,7 +216,7 @@ Returns the value of attribute appium_port
|
|
216
216
|
|
217
217
|
--
|
218
218
|
|
219
|
-
##### [appium_device](https://github.com/appium/ruby_lib/blob/
|
219
|
+
##### [appium_device](https://github.com/appium/ruby_lib/blob/e8b0362ffcad51b85243b129e14f8cde3f9f562f/lib/appium_lib/driver.rb#L58)
|
220
220
|
|
221
221
|
> def appium_device
|
222
222
|
|
@@ -224,7 +224,7 @@ Returns the value of attribute appium_device
|
|
224
224
|
|
225
225
|
--
|
226
226
|
|
227
|
-
##### [automation_name](https://github.com/appium/ruby_lib/blob/
|
227
|
+
##### [automation_name](https://github.com/appium/ruby_lib/blob/e8b0362ffcad51b85243b129e14f8cde3f9f562f/lib/appium_lib/driver.rb#L59)
|
228
228
|
|
229
229
|
> def automation_name
|
230
230
|
|
@@ -232,7 +232,7 @@ Returns the value of attribute automation_name
|
|
232
232
|
|
233
233
|
--
|
234
234
|
|
235
|
-
##### [listener](https://github.com/appium/ruby_lib/blob/
|
235
|
+
##### [listener](https://github.com/appium/ruby_lib/blob/e8b0362ffcad51b85243b129e14f8cde3f9f562f/lib/appium_lib/driver.rb#L60)
|
236
236
|
|
237
237
|
> def listener
|
238
238
|
|
@@ -240,7 +240,7 @@ Returns the value of attribute listener
|
|
240
240
|
|
241
241
|
--
|
242
242
|
|
243
|
-
##### [http_client](https://github.com/appium/ruby_lib/blob/
|
243
|
+
##### [http_client](https://github.com/appium/ruby_lib/blob/e8b0362ffcad51b85243b129e14f8cde3f9f562f/lib/appium_lib/driver.rb#L61)
|
244
244
|
|
245
245
|
> def http_client
|
246
246
|
|
@@ -248,7 +248,7 @@ Returns the value of attribute http_client
|
|
248
248
|
|
249
249
|
--
|
250
250
|
|
251
|
-
##### [appium_wait_timeout](https://github.com/appium/ruby_lib/blob/
|
251
|
+
##### [appium_wait_timeout](https://github.com/appium/ruby_lib/blob/e8b0362ffcad51b85243b129e14f8cde3f9f562f/lib/appium_lib/driver.rb#L62)
|
252
252
|
|
253
253
|
> def appium_wait_timeout
|
254
254
|
|
@@ -256,7 +256,7 @@ Returns the value of attribute appium_wait_timeout
|
|
256
256
|
|
257
257
|
--
|
258
258
|
|
259
|
-
##### [appium_wait_interval](https://github.com/appium/ruby_lib/blob/
|
259
|
+
##### [appium_wait_interval](https://github.com/appium/ruby_lib/blob/e8b0362ffcad51b85243b129e14f8cde3f9f562f/lib/appium_lib/driver.rb#L63)
|
260
260
|
|
261
261
|
> def appium_wait_interval
|
262
262
|
|
@@ -264,7 +264,7 @@ Returns the value of attribute appium_wait_interval
|
|
264
264
|
|
265
265
|
--
|
266
266
|
|
267
|
-
##### [appium_server_status](https://github.com/appium/ruby_lib/blob/
|
267
|
+
##### [appium_server_status](https://github.com/appium/ruby_lib/blob/e8b0362ffcad51b85243b129e14f8cde3f9f562f/lib/appium_lib/driver.rb#L66)
|
268
268
|
|
269
269
|
> def appium_server_status
|
270
270
|
|
@@ -272,7 +272,7 @@ Appium's server version
|
|
272
272
|
|
273
273
|
--
|
274
274
|
|
275
|
-
##### [appium_debug](https://github.com/appium/ruby_lib/blob/
|
275
|
+
##### [appium_debug](https://github.com/appium/ruby_lib/blob/e8b0362ffcad51b85243b129e14f8cde3f9f562f/lib/appium_lib/driver.rb#L68)
|
276
276
|
|
277
277
|
> def appium_debug
|
278
278
|
|
@@ -280,7 +280,7 @@ Boolean debug mode for the Appium Ruby bindings
|
|
280
280
|
|
281
281
|
--
|
282
282
|
|
283
|
-
##### [driver](https://github.com/appium/ruby_lib/blob/
|
283
|
+
##### [driver](https://github.com/appium/ruby_lib/blob/e8b0362ffcad51b85243b129e14f8cde3f9f562f/lib/appium_lib/driver.rb#L71)
|
284
284
|
|
285
285
|
> def driver
|
286
286
|
|
@@ -292,7 +292,7 @@ __Returns:__
|
|
292
292
|
|
293
293
|
--
|
294
294
|
|
295
|
-
##### [core](https://github.com/appium/ruby_lib/blob/
|
295
|
+
##### [core](https://github.com/appium/ruby_lib/blob/e8b0362ffcad51b85243b129e14f8cde3f9f562f/lib/appium_lib/driver.rb#L73)
|
296
296
|
|
297
297
|
> def core
|
298
298
|
|
@@ -300,7 +300,7 @@ Instance of Appium::Core::Driver
|
|
300
300
|
|
301
301
|
--
|
302
302
|
|
303
|
-
##### [initialize](https://github.com/appium/ruby_lib/blob/
|
303
|
+
##### [initialize](https://github.com/appium/ruby_lib/blob/e8b0362ffcad51b85243b129e14f8cde3f9f562f/lib/appium_lib/driver.rb#L141)
|
304
304
|
|
305
305
|
> def initialize(opts = {}, global_driver = nil)
|
306
306
|
|
@@ -319,7 +319,7 @@ __Returns:__
|
|
319
319
|
|
320
320
|
--
|
321
321
|
|
322
|
-
##### [driver_attributes](https://github.com/appium/ruby_lib/blob/
|
322
|
+
##### [driver_attributes](https://github.com/appium/ruby_lib/blob/e8b0362ffcad51b85243b129e14f8cde3f9f562f/lib/appium_lib/driver.rb#L251)
|
323
323
|
|
324
324
|
> def driver_attributes
|
325
325
|
|
@@ -327,7 +327,7 @@ Returns a hash of the driver attributes
|
|
327
327
|
|
328
328
|
--
|
329
329
|
|
330
|
-
##### [device_is_android?](https://github.com/appium/ruby_lib/blob/
|
330
|
+
##### [device_is_android?](https://github.com/appium/ruby_lib/blob/e8b0362ffcad51b85243b129e14f8cde3f9f562f/lib/appium_lib/driver.rb#L271)
|
331
331
|
|
332
332
|
> def device_is_android?
|
333
333
|
|
@@ -339,7 +339,7 @@ __Returns:__
|
|
339
339
|
|
340
340
|
--
|
341
341
|
|
342
|
-
##### [device_is_ios?](https://github.com/appium/ruby_lib/blob/
|
342
|
+
##### [device_is_ios?](https://github.com/appium/ruby_lib/blob/e8b0362ffcad51b85243b129e14f8cde3f9f562f/lib/appium_lib/driver.rb#L275)
|
343
343
|
|
344
344
|
> def device_is_ios?
|
345
345
|
|
@@ -351,7 +351,7 @@ __Returns:__
|
|
351
351
|
|
352
352
|
--
|
353
353
|
|
354
|
-
##### [device_is_windows?](https://github.com/appium/ruby_lib/blob/
|
354
|
+
##### [device_is_windows?](https://github.com/appium/ruby_lib/blob/e8b0362ffcad51b85243b129e14f8cde3f9f562f/lib/appium_lib/driver.rb#L279)
|
355
355
|
|
356
356
|
> def device_is_windows?
|
357
357
|
|
@@ -363,7 +363,7 @@ __Returns:__
|
|
363
363
|
|
364
364
|
--
|
365
365
|
|
366
|
-
##### [automation_name_is_uiautomator2?](https://github.com/appium/ruby_lib/blob/
|
366
|
+
##### [automation_name_is_uiautomator2?](https://github.com/appium/ruby_lib/blob/e8b0362ffcad51b85243b129e14f8cde3f9f562f/lib/appium_lib/driver.rb#L285)
|
367
367
|
|
368
368
|
> def automation_name_is_uiautomator2?
|
369
369
|
|
@@ -375,7 +375,7 @@ __Returns:__
|
|
375
375
|
|
376
376
|
--
|
377
377
|
|
378
|
-
##### [automation_name_is_espresso?](https://github.com/appium/ruby_lib/blob/
|
378
|
+
##### [automation_name_is_espresso?](https://github.com/appium/ruby_lib/blob/e8b0362ffcad51b85243b129e14f8cde3f9f562f/lib/appium_lib/driver.rb#L291)
|
379
379
|
|
380
380
|
> def automation_name_is_espresso?
|
381
381
|
|
@@ -387,7 +387,7 @@ __Returns:__
|
|
387
387
|
|
388
388
|
--
|
389
389
|
|
390
|
-
##### [automation_name_is_xcuitest?](https://github.com/appium/ruby_lib/blob/
|
390
|
+
##### [automation_name_is_xcuitest?](https://github.com/appium/ruby_lib/blob/e8b0362ffcad51b85243b129e14f8cde3f9f562f/lib/appium_lib/driver.rb#L297)
|
391
391
|
|
392
392
|
> def automation_name_is_xcuitest?
|
393
393
|
|
@@ -399,7 +399,7 @@ __Returns:__
|
|
399
399
|
|
400
400
|
--
|
401
401
|
|
402
|
-
##### [dialect](https://github.com/appium/ruby_lib/blob/
|
402
|
+
##### [dialect](https://github.com/appium/ruby_lib/blob/e8b0362ffcad51b85243b129e14f8cde3f9f562f/lib/appium_lib/driver.rb#L317)
|
403
403
|
|
404
404
|
> def dialect
|
405
405
|
|
@@ -421,7 +421,7 @@ __Returns:__
|
|
421
421
|
|
422
422
|
--
|
423
423
|
|
424
|
-
##### [check_server_version_xcuitest](https://github.com/appium/ruby_lib/blob/
|
424
|
+
##### [check_server_version_xcuitest](https://github.com/appium/ruby_lib/blob/e8b0362ffcad51b85243b129e14f8cde3f9f562f/lib/appium_lib/driver.rb#L324)
|
425
425
|
|
426
426
|
> def check_server_version_xcuitest
|
427
427
|
|
@@ -434,7 +434,7 @@ __Returns:__
|
|
434
434
|
|
435
435
|
--
|
436
436
|
|
437
|
-
##### [appium_server_version](https://github.com/appium/ruby_lib/blob/
|
437
|
+
##### [appium_server_version](https://github.com/appium/ruby_lib/blob/e8b0362ffcad51b85243b129e14f8cde3f9f562f/lib/appium_lib/driver.rb#L345)
|
438
438
|
|
439
439
|
> def appium_server_version
|
440
440
|
|
@@ -446,7 +446,7 @@ __Returns:__
|
|
446
446
|
|
447
447
|
--
|
448
448
|
|
449
|
-
##### [remote_status](https://github.com/appium/ruby_lib/blob/
|
449
|
+
##### [remote_status](https://github.com/appium/ruby_lib/blob/e8b0362ffcad51b85243b129e14f8cde3f9f562f/lib/appium_lib/driver.rb#L352)
|
450
450
|
|
451
451
|
> def appium_server_version
|
452
452
|
|
@@ -458,7 +458,7 @@ __Returns:__
|
|
458
458
|
|
459
459
|
--
|
460
460
|
|
461
|
-
##### [platform_version](https://github.com/appium/ruby_lib/blob/
|
461
|
+
##### [platform_version](https://github.com/appium/ruby_lib/blob/e8b0362ffcad51b85243b129e14f8cde3f9f562f/lib/appium_lib/driver.rb#L356)
|
462
462
|
|
463
463
|
> def platform_version
|
464
464
|
|
@@ -470,7 +470,7 @@ __Returns:__
|
|
470
470
|
|
471
471
|
--
|
472
472
|
|
473
|
-
##### [appium_client_version](https://github.com/appium/ruby_lib/blob/
|
473
|
+
##### [appium_client_version](https://github.com/appium/ruby_lib/blob/e8b0362ffcad51b85243b129e14f8cde3f9f562f/lib/appium_lib/driver.rb#L369)
|
474
474
|
|
475
475
|
> def appium_client_version
|
476
476
|
|
@@ -482,7 +482,7 @@ __Returns:__
|
|
482
482
|
|
483
483
|
--
|
484
484
|
|
485
|
-
##### [absolute_app_path](https://github.com/appium/ruby_lib/blob/
|
485
|
+
##### [absolute_app_path](https://github.com/appium/ruby_lib/blob/e8b0362ffcad51b85243b129e14f8cde3f9f562f/lib/appium_lib/driver.rb#L381)
|
486
486
|
|
487
487
|
> def self.absolute_app_path(opts)
|
488
488
|
|
@@ -499,7 +499,7 @@ __Returns:__
|
|
499
499
|
|
500
500
|
--
|
501
501
|
|
502
|
-
##### [server_url](https://github.com/appium/ruby_lib/blob/
|
502
|
+
##### [server_url](https://github.com/appium/ruby_lib/blob/e8b0362ffcad51b85243b129e14f8cde3f9f562f/lib/appium_lib/driver.rb#L414)
|
503
503
|
|
504
504
|
> def server_url
|
505
505
|
|
@@ -511,7 +511,7 @@ __Returns:__
|
|
511
511
|
|
512
512
|
--
|
513
513
|
|
514
|
-
##### [restart](https://github.com/appium/ruby_lib/blob/
|
514
|
+
##### [restart](https://github.com/appium/ruby_lib/blob/e8b0362ffcad51b85243b129e14f8cde3f9f562f/lib/appium_lib/driver.rb#L422)
|
515
515
|
|
516
516
|
> def restart
|
517
517
|
|
@@ -523,7 +523,7 @@ __Returns:__
|
|
523
523
|
|
524
524
|
--
|
525
525
|
|
526
|
-
##### [screenshot](https://github.com/appium/ruby_lib/blob/
|
526
|
+
##### [screenshot](https://github.com/appium/ruby_lib/blob/e8b0362ffcad51b85243b129e14f8cde3f9f562f/lib/appium_lib/driver.rb#L435)
|
527
527
|
|
528
528
|
> def screenshot(png_save_path)
|
529
529
|
|
@@ -539,7 +539,7 @@ __Returns:__
|
|
539
539
|
|
540
540
|
--
|
541
541
|
|
542
|
-
##### [element_screenshot](https://github.com/appium/ruby_lib/blob/
|
542
|
+
##### [element_screenshot](https://github.com/appium/ruby_lib/blob/e8b0362ffcad51b85243b129e14f8cde3f9f562f/lib/appium_lib/driver.rb#L449)
|
543
543
|
|
544
544
|
> def element_screenshot(element, png_save_path)
|
545
545
|
|
@@ -557,7 +557,7 @@ __Returns:__
|
|
557
557
|
|
558
558
|
--
|
559
559
|
|
560
|
-
##### [driver_quit](https://github.com/appium/ruby_lib/blob/
|
560
|
+
##### [driver_quit](https://github.com/appium/ruby_lib/blob/e8b0362ffcad51b85243b129e14f8cde3f9f562f/lib/appium_lib/driver.rb#L456)
|
561
561
|
|
562
562
|
> def driver_quit
|
563
563
|
|
@@ -569,7 +569,7 @@ __Returns:__
|
|
569
569
|
|
570
570
|
--
|
571
571
|
|
572
|
-
##### [quit_driver](https://github.com/appium/ruby_lib/blob/
|
572
|
+
##### [quit_driver](https://github.com/appium/ruby_lib/blob/e8b0362ffcad51b85243b129e14f8cde3f9f562f/lib/appium_lib/driver.rb#L459)
|
573
573
|
|
574
574
|
> def driver_quit
|
575
575
|
|
@@ -581,7 +581,7 @@ __Returns:__
|
|
581
581
|
|
582
582
|
--
|
583
583
|
|
584
|
-
##### [window_size](https://github.com/appium/ruby_lib/blob/
|
584
|
+
##### [window_size](https://github.com/appium/ruby_lib/blob/e8b0362ffcad51b85243b129e14f8cde3f9f562f/lib/appium_lib/driver.rb#L470)
|
585
585
|
|
586
586
|
> def window_size
|
587
587
|
|
@@ -593,7 +593,7 @@ __Returns:__
|
|
593
593
|
|
594
594
|
--
|
595
595
|
|
596
|
-
##### [start_driver](https://github.com/appium/ruby_lib/blob/
|
596
|
+
##### [start_driver](https://github.com/appium/ruby_lib/blob/e8b0362ffcad51b85243b129e14f8cde3f9f562f/lib/appium_lib/driver.rb#L503)
|
597
597
|
|
598
598
|
> def start_driver(http_client_ops =
|
599
599
|
|
@@ -613,7 +613,7 @@ __Returns:__
|
|
613
613
|
|
614
614
|
--
|
615
615
|
|
616
|
-
##### [set_implicit_wait](https://github.com/appium/ruby_lib/blob/
|
616
|
+
##### [set_implicit_wait](https://github.com/appium/ruby_lib/blob/e8b0362ffcad51b85243b129e14f8cde3f9f562f/lib/appium_lib/driver.rb#L525)
|
617
617
|
|
618
618
|
> def set_implicit_wait(wait)
|
619
619
|
|
@@ -621,7 +621,7 @@ To ignore error for Espresso Driver
|
|
621
621
|
|
622
622
|
--
|
623
623
|
|
624
|
-
##### [no_wait](https://github.com/appium/ruby_lib/blob/
|
624
|
+
##### [no_wait](https://github.com/appium/ruby_lib/blob/e8b0362ffcad51b85243b129e14f8cde3f9f562f/lib/appium_lib/driver.rb#L535)
|
625
625
|
|
626
626
|
> def no_wait
|
627
627
|
|
@@ -629,7 +629,7 @@ Set implicit wait to zero.
|
|
629
629
|
|
630
630
|
--
|
631
631
|
|
632
|
-
##### [set_wait](https://github.com/appium/ruby_lib/blob/
|
632
|
+
##### [set_wait](https://github.com/appium/ruby_lib/blob/e8b0362ffcad51b85243b129e14f8cde3f9f562f/lib/appium_lib/driver.rb#L549)
|
633
633
|
|
634
634
|
> def set_wait(timeout = nil)
|
635
635
|
|
@@ -645,7 +645,7 @@ __Returns:__
|
|
645
645
|
|
646
646
|
--
|
647
647
|
|
648
|
-
##### [exists](https://github.com/appium/ruby_lib/blob/
|
648
|
+
##### [exists](https://github.com/appium/ruby_lib/blob/e8b0362ffcad51b85243b129e14f8cde3f9f562f/lib/appium_lib/driver.rb#L566)
|
649
649
|
|
650
650
|
> def exists(pre_check = 0, post_check = @core.default_wait)
|
651
651
|
|
@@ -669,7 +669,7 @@ __Returns:__
|
|
669
669
|
|
670
670
|
--
|
671
671
|
|
672
|
-
##### [execute_script](https://github.com/appium/ruby_lib/blob/
|
672
|
+
##### [execute_script](https://github.com/appium/ruby_lib/blob/e8b0362ffcad51b85243b129e14f8cde3f9f562f/lib/appium_lib/driver.rb#L590)
|
673
673
|
|
674
674
|
> def execute_script(script, *args)
|
675
675
|
|
@@ -687,7 +687,7 @@ __Returns:__
|
|
687
687
|
|
688
688
|
--
|
689
689
|
|
690
|
-
##### [find_elements](https://github.com/appium/ruby_lib/blob/
|
690
|
+
##### [find_elements](https://github.com/appium/ruby_lib/blob/e8b0362ffcad51b85243b129e14f8cde3f9f562f/lib/appium_lib/driver.rb#L614)
|
691
691
|
|
692
692
|
> def find_elements(*args)
|
693
693
|
|
@@ -707,7 +707,7 @@ __Returns:__
|
|
707
707
|
|
708
708
|
--
|
709
709
|
|
710
|
-
##### [find_element](https://github.com/appium/ruby_lib/blob/
|
710
|
+
##### [find_element](https://github.com/appium/ruby_lib/blob/e8b0362ffcad51b85243b129e14f8cde3f9f562f/lib/appium_lib/driver.rb#L630)
|
711
711
|
|
712
712
|
> def find_element(*args)
|
713
713
|
|
@@ -725,7 +725,7 @@ __Returns:__
|
|
725
725
|
|
726
726
|
--
|
727
727
|
|
728
|
-
##### [set_location](https://github.com/appium/ruby_lib/blob/
|
728
|
+
##### [set_location](https://github.com/appium/ruby_lib/blob/e8b0362ffcad51b85243b129e14f8cde3f9f562f/lib/appium_lib/driver.rb#L643)
|
729
729
|
|
730
730
|
> def set_location(opts = {})
|
731
731
|
|
@@ -741,7 +741,7 @@ __Returns:__
|
|
741
741
|
|
742
742
|
--
|
743
743
|
|
744
|
-
##### [x](https://github.com/appium/ruby_lib/blob/
|
744
|
+
##### [x](https://github.com/appium/ruby_lib/blob/e8b0362ffcad51b85243b129e14f8cde3f9f562f/lib/appium_lib/driver.rb#L653)
|
745
745
|
|
746
746
|
> def x
|
747
747
|
|
@@ -754,7 +754,7 @@ __Returns:__
|
|
754
754
|
|
755
755
|
--
|
756
756
|
|
757
|
-
##### [username](https://github.com/appium/ruby_lib/blob/
|
757
|
+
##### [username](https://github.com/appium/ruby_lib/blob/e8b0362ffcad51b85243b129e14f8cde3f9f562f/lib/appium_lib/sauce_labs.rb#L4)
|
758
758
|
|
759
759
|
> def username
|
760
760
|
|
@@ -762,7 +762,7 @@ Username for use on Sauce Labs. Set `false` to disable Sauce, even when SAUCE_US
|
|
762
762
|
|
763
763
|
--
|
764
764
|
|
765
|
-
##### [access_key](https://github.com/appium/ruby_lib/blob/
|
765
|
+
##### [access_key](https://github.com/appium/ruby_lib/blob/e8b0362ffcad51b85243b129e14f8cde3f9f562f/lib/appium_lib/sauce_labs.rb#L6)
|
766
766
|
|
767
767
|
> def access_key
|
768
768
|
|
@@ -770,7 +770,7 @@ Access Key for use on Sauce Labs. Set `false` to disable Sauce, even when SAUCE_
|
|
770
770
|
|
771
771
|
--
|
772
772
|
|
773
|
-
##### [endpoint](https://github.com/appium/ruby_lib/blob/
|
773
|
+
##### [endpoint](https://github.com/appium/ruby_lib/blob/e8b0362ffcad51b85243b129e14f8cde3f9f562f/lib/appium_lib/sauce_labs.rb#L8)
|
774
774
|
|
775
775
|
> def endpoint
|
776
776
|
|
@@ -778,7 +778,7 @@ Override the Sauce Appium endpoint to allow e.g. TestObject tests. Default is 'o
|
|
778
778
|
|
779
779
|
--
|
780
780
|
|
781
|
-
##### [initialize](https://github.com/appium/ruby_lib/blob/
|
781
|
+
##### [initialize](https://github.com/appium/ruby_lib/blob/e8b0362ffcad51b85243b129e14f8cde3f9f562f/lib/appium_lib/sauce_labs.rb#L33)
|
782
782
|
|
783
783
|
> def initialize(appium_lib_opts)
|
784
784
|
|
@@ -794,7 +794,7 @@ __Returns:__
|
|
794
794
|
|
795
795
|
--
|
796
796
|
|
797
|
-
##### [sauce_server_url?](https://github.com/appium/ruby_lib/blob/
|
797
|
+
##### [sauce_server_url?](https://github.com/appium/ruby_lib/blob/e8b0362ffcad51b85243b129e14f8cde3f9f562f/lib/appium_lib/sauce_labs.rb#L53)
|
798
798
|
|
799
799
|
> def sauce_server_url?
|
800
800
|
|
@@ -806,7 +806,7 @@ __Returns:__
|
|
806
806
|
|
807
807
|
--
|
808
808
|
|
809
|
-
##### [server_url](https://github.com/appium/ruby_lib/blob/
|
809
|
+
##### [server_url](https://github.com/appium/ruby_lib/blob/e8b0362ffcad51b85243b129e14f8cde3f9f562f/lib/appium_lib/sauce_labs.rb#L66)
|
810
810
|
|
811
811
|
> def server_url
|
812
812
|
|
@@ -818,7 +818,7 @@ __Returns:__
|
|
818
818
|
|
819
819
|
--
|
820
820
|
|
821
|
-
##### [get_log](https://github.com/appium/ruby_lib/blob/
|
821
|
+
##### [get_log](https://github.com/appium/ruby_lib/blob/e8b0362ffcad51b85243b129e14f8cde3f9f562f/lib/appium_lib/common/log.rb#L11)
|
822
822
|
|
823
823
|
> def get_log(type)
|
824
824
|
|
@@ -834,7 +834,7 @@ __Returns:__
|
|
834
834
|
|
835
835
|
--
|
836
836
|
|
837
|
-
##### [get_available_log_types](https://github.com/appium/ruby_lib/blob/
|
837
|
+
##### [get_available_log_types](https://github.com/appium/ruby_lib/blob/e8b0362ffcad51b85243b129e14f8cde3f9f562f/lib/appium_lib/common/log.rb#L23)
|
838
838
|
|
839
839
|
> def get_available_log_types
|
840
840
|
|
@@ -846,7 +846,7 @@ __Returns:__
|
|
846
846
|
|
847
847
|
--
|
848
848
|
|
849
|
-
##### [initialize](https://github.com/appium/ruby_lib/blob/
|
849
|
+
##### [initialize](https://github.com/appium/ruby_lib/blob/e8b0362ffcad51b85243b129e14f8cde3f9f562f/lib/appium_lib/common/wait.rb#L6)
|
850
850
|
|
851
851
|
> def initialize(opts = {})
|
852
852
|
|
@@ -858,7 +858,7 @@ __Returns:__
|
|
858
858
|
|
859
859
|
--
|
860
860
|
|
861
|
-
##### [wait_true](https://github.com/appium/ruby_lib/blob/
|
861
|
+
##### [wait_true](https://github.com/appium/ruby_lib/blob/e8b0362ffcad51b85243b129e14f8cde3f9f562f/lib/appium_lib/common/wait.rb#L26)
|
862
862
|
|
863
863
|
> def wait_true(opts = {})
|
864
864
|
|
@@ -878,7 +878,7 @@ __Parameters:__
|
|
878
878
|
|
879
879
|
--
|
880
880
|
|
881
|
-
##### [wait](https://github.com/appium/ruby_lib/blob/
|
881
|
+
##### [wait](https://github.com/appium/ruby_lib/blob/e8b0362ffcad51b85243b129e14f8cde3f9f562f/lib/appium_lib/common/wait.rb#L43)
|
882
882
|
|
883
883
|
> def wait(opts = {})
|
884
884
|
|
@@ -896,7 +896,7 @@ __Parameters:__
|
|
896
896
|
|
897
897
|
--
|
898
898
|
|
899
|
-
##### [add_touch_actions](https://github.com/appium/ruby_lib/blob/
|
899
|
+
##### [add_touch_actions](https://github.com/appium/ruby_lib/blob/e8b0362ffcad51b85243b129e14f8cde3f9f562f/lib/appium_lib/common/device.rb#L12)
|
900
900
|
|
901
901
|
> def add_touch_actions
|
902
902
|
|
@@ -904,7 +904,7 @@ __Parameters:__
|
|
904
904
|
|
905
905
|
--
|
906
906
|
|
907
|
-
##### [ignore](https://github.com/appium/ruby_lib/blob/
|
907
|
+
##### [ignore](https://github.com/appium/ruby_lib/blob/e8b0362ffcad51b85243b129e14f8cde3f9f562f/lib/appium_lib/common/helper.rb#L16)
|
908
908
|
|
909
909
|
> def ignore
|
910
910
|
|
@@ -912,7 +912,7 @@ Return yield and ignore any exceptions.
|
|
912
912
|
|
913
913
|
--
|
914
914
|
|
915
|
-
##### [back](https://github.com/appium/ruby_lib/blob/
|
915
|
+
##### [back](https://github.com/appium/ruby_lib/blob/e8b0362ffcad51b85243b129e14f8cde3f9f562f/lib/appium_lib/common/helper.rb#L23)
|
916
916
|
|
917
917
|
> def back
|
918
918
|
|
@@ -924,7 +924,7 @@ __Returns:__
|
|
924
924
|
|
925
925
|
--
|
926
926
|
|
927
|
-
##### [session_id](https://github.com/appium/ruby_lib/blob/
|
927
|
+
##### [session_id](https://github.com/appium/ruby_lib/blob/e8b0362ffcad51b85243b129e14f8cde3f9f562f/lib/appium_lib/common/helper.rb#L34)
|
928
928
|
|
929
929
|
> def session_id
|
930
930
|
|
@@ -936,7 +936,7 @@ __Returns:__
|
|
936
936
|
|
937
937
|
--
|
938
938
|
|
939
|
-
##### [xpath](https://github.com/appium/ruby_lib/blob/
|
939
|
+
##### [xpath](https://github.com/appium/ruby_lib/blob/e8b0362ffcad51b85243b129e14f8cde3f9f562f/lib/appium_lib/common/helper.rb#L42)
|
940
940
|
|
941
941
|
> def xpath(xpath_str)
|
942
942
|
|
@@ -952,7 +952,7 @@ __Returns:__
|
|
952
952
|
|
953
953
|
--
|
954
954
|
|
955
|
-
##### [xpaths](https://github.com/appium/ruby_lib/blob/
|
955
|
+
##### [xpaths](https://github.com/appium/ruby_lib/blob/e8b0362ffcad51b85243b129e14f8cde3f9f562f/lib/appium_lib/common/helper.rb#L50)
|
956
956
|
|
957
957
|
> def xpaths(xpath_str)
|
958
958
|
|
@@ -968,7 +968,7 @@ __Returns:__
|
|
968
968
|
|
969
969
|
--
|
970
970
|
|
971
|
-
##### [result](https://github.com/appium/ruby_lib/blob/
|
971
|
+
##### [result](https://github.com/appium/ruby_lib/blob/e8b0362ffcad51b85243b129e14f8cde3f9f562f/lib/appium_lib/common/helper.rb#L60)
|
972
972
|
|
973
973
|
> def result
|
974
974
|
|
@@ -976,7 +976,7 @@ Returns the value of attribute result
|
|
976
976
|
|
977
977
|
--
|
978
978
|
|
979
|
-
##### [initialize](https://github.com/appium/ruby_lib/blob/
|
979
|
+
##### [initialize](https://github.com/appium/ruby_lib/blob/e8b0362ffcad51b85243b129e14f8cde3f9f562f/lib/appium_lib/common/helper.rb#L62)
|
980
980
|
|
981
981
|
> def initialize
|
982
982
|
|
@@ -988,7 +988,7 @@ __Returns:__
|
|
988
988
|
|
989
989
|
--
|
990
990
|
|
991
|
-
##### [reset](https://github.com/appium/ruby_lib/blob/
|
991
|
+
##### [reset](https://github.com/appium/ruby_lib/blob/e8b0362ffcad51b85243b129e14f8cde3f9f562f/lib/appium_lib/common/helper.rb#L66)
|
992
992
|
|
993
993
|
> def reset
|
994
994
|
|
@@ -996,7 +996,7 @@ __Returns:__
|
|
996
996
|
|
997
997
|
--
|
998
998
|
|
999
|
-
##### [start_element](https://github.com/appium/ruby_lib/blob/
|
999
|
+
##### [start_element](https://github.com/appium/ruby_lib/blob/e8b0362ffcad51b85243b129e14f8cde3f9f562f/lib/appium_lib/common/helper.rb#L71)
|
1000
1000
|
|
1001
1001
|
> def start_element(name, attrs = [], driver = $driver)
|
1002
1002
|
|
@@ -1004,7 +1004,7 @@ http://nokogiri.org/Nokogiri/XML/SAX/Document.html
|
|
1004
1004
|
|
1005
1005
|
--
|
1006
1006
|
|
1007
|
-
##### [formatted_result](https://github.com/appium/ruby_lib/blob/
|
1007
|
+
##### [formatted_result](https://github.com/appium/ruby_lib/blob/e8b0362ffcad51b85243b129e14f8cde3f9f562f/lib/appium_lib/common/helper.rb#L77)
|
1008
1008
|
|
1009
1009
|
> def formatted_result
|
1010
1010
|
|
@@ -1012,7 +1012,7 @@ http://nokogiri.org/Nokogiri/XML/SAX/Document.html
|
|
1012
1012
|
|
1013
1013
|
--
|
1014
1014
|
|
1015
|
-
##### [get_page_class](https://github.com/appium/ruby_lib/blob/
|
1015
|
+
##### [get_page_class](https://github.com/appium/ruby_lib/blob/e8b0362ffcad51b85243b129e14f8cde3f9f562f/lib/appium_lib/common/helper.rb#L96)
|
1016
1016
|
|
1017
1017
|
> def get_page_class
|
1018
1018
|
|
@@ -1024,7 +1024,7 @@ __Returns:__
|
|
1024
1024
|
|
1025
1025
|
--
|
1026
1026
|
|
1027
|
-
##### [page_class](https://github.com/appium/ruby_lib/blob/
|
1027
|
+
##### [page_class](https://github.com/appium/ruby_lib/blob/e8b0362ffcad51b85243b129e14f8cde3f9f562f/lib/appium_lib/common/helper.rb#L121)
|
1028
1028
|
|
1029
1029
|
> def page_class
|
1030
1030
|
|
@@ -1037,7 +1037,7 @@ __Returns:__
|
|
1037
1037
|
|
1038
1038
|
--
|
1039
1039
|
|
1040
|
-
##### [source](https://github.com/appium/ruby_lib/blob/
|
1040
|
+
##### [source](https://github.com/appium/ruby_lib/blob/e8b0362ffcad51b85243b129e14f8cde3f9f562f/lib/appium_lib/common/helper.rb#L128)
|
1041
1041
|
|
1042
1042
|
> def source
|
1043
1043
|
|
@@ -1049,7 +1049,7 @@ __Returns:__
|
|
1049
1049
|
|
1050
1050
|
--
|
1051
1051
|
|
1052
|
-
##### [get_source](https://github.com/appium/ruby_lib/blob/
|
1052
|
+
##### [get_source](https://github.com/appium/ruby_lib/blob/e8b0362ffcad51b85243b129e14f8cde3f9f562f/lib/appium_lib/common/helper.rb#L135)
|
1053
1053
|
|
1054
1054
|
> def get_source
|
1055
1055
|
|
@@ -1062,7 +1062,7 @@ __Returns:__
|
|
1062
1062
|
|
1063
1063
|
--
|
1064
1064
|
|
1065
|
-
##### [px_to_window_rel](https://github.com/appium/ruby_lib/blob/
|
1065
|
+
##### [px_to_window_rel](https://github.com/appium/ruby_lib/blob/e8b0362ffcad51b85243b129e14f8cde3f9f562f/lib/appium_lib/common/helper.rb#L145)
|
1066
1066
|
|
1067
1067
|
> def px_to_window_rel(opts = {}, driver = $driver)
|
1068
1068
|
|
@@ -1070,7 +1070,7 @@ Converts pixel values to window relative values
|
|
1070
1070
|
|
1071
1071
|
--
|
1072
1072
|
|
1073
|
-
##### [xml_keys](https://github.com/appium/ruby_lib/blob/
|
1073
|
+
##### [xml_keys](https://github.com/appium/ruby_lib/blob/e8b0362ffcad51b85243b129e14f8cde3f9f562f/lib/appium_lib/common/helper.rb#L164)
|
1074
1074
|
|
1075
1075
|
> def xml_keys(target)
|
1076
1076
|
|
@@ -1086,7 +1086,7 @@ __Returns:__
|
|
1086
1086
|
|
1087
1087
|
--
|
1088
1088
|
|
1089
|
-
##### [xml_values](https://github.com/appium/ruby_lib/blob/
|
1089
|
+
##### [xml_values](https://github.com/appium/ruby_lib/blob/e8b0362ffcad51b85243b129e14f8cde3f9f562f/lib/appium_lib/common/helper.rb#L172)
|
1090
1090
|
|
1091
1091
|
> def xml_values(target)
|
1092
1092
|
|
@@ -1102,7 +1102,7 @@ __Returns:__
|
|
1102
1102
|
|
1103
1103
|
--
|
1104
1104
|
|
1105
|
-
##### [resolve_id](https://github.com/appium/ruby_lib/blob/
|
1105
|
+
##### [resolve_id](https://github.com/appium/ruby_lib/blob/e8b0362ffcad51b85243b129e14f8cde3f9f562f/lib/appium_lib/common/helper.rb#L180)
|
1106
1106
|
|
1107
1107
|
> def resolve_id(id)
|
1108
1108
|
|
@@ -1118,7 +1118,7 @@ __Returns:__
|
|
1118
1118
|
|
1119
1119
|
--
|
1120
1120
|
|
1121
|
-
##### [filter](https://github.com/appium/ruby_lib/blob/
|
1121
|
+
##### [filter](https://github.com/appium/ruby_lib/blob/e8b0362ffcad51b85243b129e14f8cde3f9f562f/lib/appium_lib/common/helper.rb#L187)
|
1122
1122
|
|
1123
1123
|
> def filter
|
1124
1124
|
|
@@ -1126,7 +1126,7 @@ Returns the value of attribute filter
|
|
1126
1126
|
|
1127
1127
|
--
|
1128
1128
|
|
1129
|
-
##### [filter=](https://github.com/appium/ruby_lib/blob/
|
1129
|
+
##### [filter=](https://github.com/appium/ruby_lib/blob/e8b0362ffcad51b85243b129e14f8cde3f9f562f/lib/appium_lib/common/helper.rb#L190)
|
1130
1130
|
|
1131
1131
|
> def filter=(value)
|
1132
1132
|
|
@@ -1134,7 +1134,7 @@ convert to string to support symbols
|
|
1134
1134
|
|
1135
1135
|
--
|
1136
1136
|
|
1137
|
-
##### [initialize](https://github.com/appium/ruby_lib/blob/
|
1137
|
+
##### [initialize](https://github.com/appium/ruby_lib/blob/e8b0362ffcad51b85243b129e14f8cde3f9f562f/lib/appium_lib/common/helper.rb#L196)
|
1138
1138
|
|
1139
1139
|
> def initialize
|
1140
1140
|
|
@@ -1146,7 +1146,7 @@ __Returns:__
|
|
1146
1146
|
|
1147
1147
|
--
|
1148
1148
|
|
1149
|
-
##### [reset](https://github.com/appium/ruby_lib/blob/
|
1149
|
+
##### [reset](https://github.com/appium/ruby_lib/blob/e8b0362ffcad51b85243b129e14f8cde3f9f562f/lib/appium_lib/common/helper.rb#L201)
|
1150
1150
|
|
1151
1151
|
> def reset
|
1152
1152
|
|
@@ -1154,7 +1154,7 @@ __Returns:__
|
|
1154
1154
|
|
1155
1155
|
--
|
1156
1156
|
|
1157
|
-
##### [result](https://github.com/appium/ruby_lib/blob/
|
1157
|
+
##### [result](https://github.com/appium/ruby_lib/blob/e8b0362ffcad51b85243b129e14f8cde3f9f562f/lib/appium_lib/common/helper.rb#L207)
|
1158
1158
|
|
1159
1159
|
> def result
|
1160
1160
|
|
@@ -1162,7 +1162,7 @@ __Returns:__
|
|
1162
1162
|
|
1163
1163
|
--
|
1164
1164
|
|
1165
|
-
##### [start_element](https://github.com/appium/ruby_lib/blob/
|
1165
|
+
##### [start_element](https://github.com/appium/ruby_lib/blob/e8b0362ffcad51b85243b129e14f8cde3f9f562f/lib/appium_lib/common/helper.rb#L223)
|
1166
1166
|
|
1167
1167
|
> def start_element(name, attrs = [])
|
1168
1168
|
|
@@ -1170,7 +1170,7 @@ __Returns:__
|
|
1170
1170
|
|
1171
1171
|
--
|
1172
1172
|
|
1173
|
-
##### [end_element](https://github.com/appium/ruby_lib/blob/
|
1173
|
+
##### [end_element](https://github.com/appium/ruby_lib/blob/e8b0362ffcad51b85243b129e14f8cde3f9f562f/lib/appium_lib/common/helper.rb#L232)
|
1174
1174
|
|
1175
1175
|
> def end_element(name)
|
1176
1176
|
|
@@ -1178,7 +1178,7 @@ __Returns:__
|
|
1178
1178
|
|
1179
1179
|
--
|
1180
1180
|
|
1181
|
-
##### [characters](https://github.com/appium/ruby_lib/blob/
|
1181
|
+
##### [characters](https://github.com/appium/ruby_lib/blob/e8b0362ffcad51b85243b129e14f8cde3f9f562f/lib/appium_lib/common/helper.rb#L238)
|
1182
1182
|
|
1183
1183
|
> def characters(chars)
|
1184
1184
|
|
@@ -1186,7 +1186,7 @@ __Returns:__
|
|
1186
1186
|
|
1187
1187
|
--
|
1188
1188
|
|
1189
|
-
##### [DEFAULT_HEADERS](https://github.com/appium/ruby_lib/blob/
|
1189
|
+
##### [DEFAULT_HEADERS](https://github.com/appium/ruby_lib/blob/e8b0362ffcad51b85243b129e14f8cde3f9f562f/lib/appium_lib/common/http_client.rb#L8)
|
1190
1190
|
|
1191
1191
|
> DEFAULT_HEADERS = { 'Accept' => CONTENT_TYPE, 'User-Agent' => "appium/ruby_lib/#{::Appium::VERSION}" }.freeze
|
1192
1192
|
|
@@ -1194,7 +1194,7 @@ Default HTTP client inherit Appium::Core::Base::Http::Default, but has different
|
|
1194
1194
|
|
1195
1195
|
--
|
1196
1196
|
|
1197
|
-
##### [pinch](https://github.com/appium/ruby_lib/blob/
|
1197
|
+
##### [pinch](https://github.com/appium/ruby_lib/blob/e8b0362ffcad51b85243b129e14f8cde3f9f562f/lib/appium_lib/common/multi_touch.rb#L51)
|
1198
1198
|
|
1199
1199
|
> def pinch(percentage = 25, auto_perform = true, driver = $driver)
|
1200
1200
|
|
@@ -1214,7 +1214,7 @@ __Parameters:__
|
|
1214
1214
|
|
1215
1215
|
--
|
1216
1216
|
|
1217
|
-
##### [zoom](https://github.com/appium/ruby_lib/blob/
|
1217
|
+
##### [zoom](https://github.com/appium/ruby_lib/blob/e8b0362ffcad51b85243b129e14f8cde3f9f562f/lib/appium_lib/common/multi_touch.rb#L95)
|
1218
1218
|
|
1219
1219
|
> def zoom(percentage = 200, auto_perform = true, driver = $driver)
|
1220
1220
|
|
@@ -1234,7 +1234,7 @@ __Parameters:__
|
|
1234
1234
|
|
1235
1235
|
--
|
1236
1236
|
|
1237
|
-
##### [initialize](https://github.com/appium/ruby_lib/blob/
|
1237
|
+
##### [initialize](https://github.com/appium/ruby_lib/blob/e8b0362ffcad51b85243b129e14f8cde3f9f562f/lib/appium_lib/common/multi_touch.rb#L216)
|
1238
1238
|
|
1239
1239
|
> def initialize(driver = $driver)
|
1240
1240
|
|
@@ -1246,7 +1246,7 @@ __Returns:__
|
|
1246
1246
|
|
1247
1247
|
--
|
1248
1248
|
|
1249
|
-
##### [COMPLEX_ACTIONS](https://github.com/appium/ruby_lib/blob/
|
1249
|
+
##### [COMPLEX_ACTIONS](https://github.com/appium/ruby_lib/blob/e8b0362ffcad51b85243b129e14f8cde3f9f562f/lib/appium_lib/common/touch_actions.rb#L33)
|
1250
1250
|
|
1251
1251
|
> COMPLEX_ACTIONS = ::Appium::Core::TouchAction::COMPLEX_ACTIONS
|
1252
1252
|
|
@@ -1254,7 +1254,7 @@ __Returns:__
|
|
1254
1254
|
|
1255
1255
|
--
|
1256
1256
|
|
1257
|
-
##### [initialize](https://github.com/appium/ruby_lib/blob/
|
1257
|
+
##### [initialize](https://github.com/appium/ruby_lib/blob/e8b0362ffcad51b85243b129e14f8cde3f9f562f/lib/appium_lib/common/touch_actions.rb#L47)
|
1258
1258
|
|
1259
1259
|
> def initialize(driver = $driver)
|
1260
1260
|
|
@@ -1266,7 +1266,7 @@ __Returns:__
|
|
1266
1266
|
|
1267
1267
|
--
|
1268
1268
|
|
1269
|
-
##### [swipe](https://github.com/appium/ruby_lib/blob/
|
1269
|
+
##### [swipe](https://github.com/appium/ruby_lib/blob/e8b0362ffcad51b85243b129e14f8cde3f9f562f/lib/appium_lib/common/touch_actions.rb#L51)
|
1270
1270
|
|
1271
1271
|
> def swipe(opts, ele = nil)
|
1272
1272
|
|
@@ -1274,7 +1274,7 @@ __Returns:__
|
|
1274
1274
|
|
1275
1275
|
--
|
1276
1276
|
|
1277
|
-
##### [for](https://github.com/appium/ruby_lib/blob/
|
1277
|
+
##### [for](https://github.com/appium/ruby_lib/blob/e8b0362ffcad51b85243b129e14f8cde3f9f562f/lib/appium_lib/ios/ios.rb#L15) ios
|
1278
1278
|
|
1279
1279
|
> def self.for(target)
|
1280
1280
|
|
@@ -1282,7 +1282,7 @@ __Returns:__
|
|
1282
1282
|
|
1283
1283
|
--
|
1284
1284
|
|
1285
|
-
##### [UIAStaticText](https://github.com/appium/ruby_lib/blob/
|
1285
|
+
##### [UIAStaticText](https://github.com/appium/ruby_lib/blob/e8b0362ffcad51b85243b129e14f8cde3f9f562f/lib/appium_lib/ios/element/text.rb#L4) ios
|
1286
1286
|
|
1287
1287
|
> UIAStaticText = 'UIAStaticText'.freeze
|
1288
1288
|
|
@@ -1290,7 +1290,7 @@ __Returns:__
|
|
1290
1290
|
|
1291
1291
|
--
|
1292
1292
|
|
1293
|
-
##### [XCUIElementTypeStaticText](https://github.com/appium/ruby_lib/blob/
|
1293
|
+
##### [XCUIElementTypeStaticText](https://github.com/appium/ruby_lib/blob/e8b0362ffcad51b85243b129e14f8cde3f9f562f/lib/appium_lib/ios/element/text.rb#L5) ios
|
1294
1294
|
|
1295
1295
|
> XCUIElementTypeStaticText = 'XCUIElementTypeStaticText'.freeze
|
1296
1296
|
|
@@ -1298,7 +1298,7 @@ __Returns:__
|
|
1298
1298
|
|
1299
1299
|
--
|
1300
1300
|
|
1301
|
-
##### [static_text_class](https://github.com/appium/ruby_lib/blob/
|
1301
|
+
##### [static_text_class](https://github.com/appium/ruby_lib/blob/e8b0362ffcad51b85243b129e14f8cde3f9f562f/lib/appium_lib/ios/element/text.rb#L8) ios
|
1302
1302
|
|
1303
1303
|
> def static_text_class
|
1304
1304
|
|
@@ -1310,7 +1310,7 @@ __Returns:__
|
|
1310
1310
|
|
1311
1311
|
--
|
1312
1312
|
|
1313
|
-
##### [text](https://github.com/appium/ruby_lib/blob/
|
1313
|
+
##### [text](https://github.com/appium/ruby_lib/blob/e8b0362ffcad51b85243b129e14f8cde3f9f562f/lib/appium_lib/ios/element/text.rb#L16) ios
|
1314
1314
|
|
1315
1315
|
> def text(value)
|
1316
1316
|
|
@@ -1327,7 +1327,7 @@ __Returns:__
|
|
1327
1327
|
|
1328
1328
|
--
|
1329
1329
|
|
1330
|
-
##### [texts](https://github.com/appium/ruby_lib/blob/
|
1330
|
+
##### [texts](https://github.com/appium/ruby_lib/blob/e8b0362ffcad51b85243b129e14f8cde3f9f562f/lib/appium_lib/ios/element/text.rb#L25) ios
|
1331
1331
|
|
1332
1332
|
> def texts(value = false)
|
1333
1333
|
|
@@ -1344,7 +1344,7 @@ __Returns:__
|
|
1344
1344
|
|
1345
1345
|
--
|
1346
1346
|
|
1347
|
-
##### [first_text](https://github.com/appium/ruby_lib/blob/
|
1347
|
+
##### [first_text](https://github.com/appium/ruby_lib/blob/e8b0362ffcad51b85243b129e14f8cde3f9f562f/lib/appium_lib/ios/element/text.rb#L32) ios
|
1348
1348
|
|
1349
1349
|
> def first_text
|
1350
1350
|
|
@@ -1356,7 +1356,7 @@ __Returns:__
|
|
1356
1356
|
|
1357
1357
|
--
|
1358
1358
|
|
1359
|
-
##### [last_text](https://github.com/appium/ruby_lib/blob/
|
1359
|
+
##### [last_text](https://github.com/appium/ruby_lib/blob/e8b0362ffcad51b85243b129e14f8cde3f9f562f/lib/appium_lib/ios/element/text.rb#L38) ios
|
1360
1360
|
|
1361
1361
|
> def last_text
|
1362
1362
|
|
@@ -1368,7 +1368,7 @@ __Returns:__
|
|
1368
1368
|
|
1369
1369
|
--
|
1370
1370
|
|
1371
|
-
##### [text_exact](https://github.com/appium/ruby_lib/blob/
|
1371
|
+
##### [text_exact](https://github.com/appium/ruby_lib/blob/e8b0362ffcad51b85243b129e14f8cde3f9f562f/lib/appium_lib/ios/element/text.rb#L45) ios
|
1372
1372
|
|
1373
1373
|
> def text_exact(value)
|
1374
1374
|
|
@@ -1384,7 +1384,7 @@ __Returns:__
|
|
1384
1384
|
|
1385
1385
|
--
|
1386
1386
|
|
1387
|
-
##### [texts_exact](https://github.com/appium/ruby_lib/blob/
|
1387
|
+
##### [texts_exact](https://github.com/appium/ruby_lib/blob/e8b0362ffcad51b85243b129e14f8cde3f9f562f/lib/appium_lib/ios/element/text.rb#L52) ios
|
1388
1388
|
|
1389
1389
|
> def texts_exact(value)
|
1390
1390
|
|
@@ -1400,7 +1400,7 @@ __Returns:__
|
|
1400
1400
|
|
1401
1401
|
--
|
1402
1402
|
|
1403
|
-
##### [filter](https://github.com/appium/ruby_lib/blob/
|
1403
|
+
##### [filter](https://github.com/appium/ruby_lib/blob/e8b0362ffcad51b85243b129e14f8cde3f9f562f/lib/appium_lib/ios/common/helper.rb#L5) ios
|
1404
1404
|
|
1405
1405
|
> def filter
|
1406
1406
|
|
@@ -1408,7 +1408,7 @@ Returns the value of attribute filter
|
|
1408
1408
|
|
1409
1409
|
--
|
1410
1410
|
|
1411
|
-
##### [filter=](https://github.com/appium/ruby_lib/blob/
|
1411
|
+
##### [filter=](https://github.com/appium/ruby_lib/blob/e8b0362ffcad51b85243b129e14f8cde3f9f562f/lib/appium_lib/ios/common/helper.rb#L5) ios
|
1412
1412
|
|
1413
1413
|
> def filter=(value)
|
1414
1414
|
|
@@ -1420,7 +1420,7 @@ __Parameters:__
|
|
1420
1420
|
|
1421
1421
|
--
|
1422
1422
|
|
1423
|
-
##### [start_element](https://github.com/appium/ruby_lib/blob/
|
1423
|
+
##### [start_element](https://github.com/appium/ruby_lib/blob/e8b0362ffcad51b85243b129e14f8cde3f9f562f/lib/appium_lib/ios/common/helper.rb#L7) ios
|
1424
1424
|
|
1425
1425
|
> def start_element(type, attrs = [])
|
1426
1426
|
|
@@ -1428,7 +1428,7 @@ __Parameters:__
|
|
1428
1428
|
|
1429
1429
|
--
|
1430
1430
|
|
1431
|
-
##### [ios_password](https://github.com/appium/ruby_lib/blob/
|
1431
|
+
##### [ios_password](https://github.com/appium/ruby_lib/blob/e8b0362ffcad51b85243b129e14f8cde3f9f562f/lib/appium_lib/ios/common/helper.rb#L44) ios
|
1432
1432
|
|
1433
1433
|
> def ios_password(length = 1)
|
1434
1434
|
|
@@ -1446,7 +1446,7 @@ __Returns:__
|
|
1446
1446
|
|
1447
1447
|
--
|
1448
1448
|
|
1449
|
-
##### [page](https://github.com/appium/ruby_lib/blob/
|
1449
|
+
##### [page](https://github.com/appium/ruby_lib/blob/e8b0362ffcad51b85243b129e14f8cde3f9f562f/lib/appium_lib/ios/common/helper.rb#L60) ios
|
1450
1450
|
|
1451
1451
|
> def page(opts = {})
|
1452
1452
|
|
@@ -1464,7 +1464,7 @@ __Returns:__
|
|
1464
1464
|
|
1465
1465
|
--
|
1466
1466
|
|
1467
|
-
##### [id](https://github.com/appium/ruby_lib/blob/
|
1467
|
+
##### [id](https://github.com/appium/ruby_lib/blob/e8b0362ffcad51b85243b129e14f8cde3f9f562f/lib/appium_lib/ios/common/helper.rb#L85) ios
|
1468
1468
|
|
1469
1469
|
> def id(id)
|
1470
1470
|
|
@@ -1480,7 +1480,7 @@ __Returns:__
|
|
1480
1480
|
|
1481
1481
|
--
|
1482
1482
|
|
1483
|
-
##### [ele_index](https://github.com/appium/ruby_lib/blob/
|
1483
|
+
##### [ele_index](https://github.com/appium/ruby_lib/blob/e8b0362ffcad51b85243b129e14f8cde3f9f562f/lib/appium_lib/ios/common/helper.rb#L93) ios
|
1484
1484
|
|
1485
1485
|
> def ele_index(class_name, index)
|
1486
1486
|
|
@@ -1498,7 +1498,7 @@ __Returns:__
|
|
1498
1498
|
|
1499
1499
|
--
|
1500
1500
|
|
1501
|
-
##### [find_ele_by_attr](https://github.com/appium/ruby_lib/blob/
|
1501
|
+
##### [find_ele_by_attr](https://github.com/appium/ruby_lib/blob/e8b0362ffcad51b85243b129e14f8cde3f9f562f/lib/appium_lib/ios/common/helper.rb#L121) ios
|
1502
1502
|
|
1503
1503
|
> def find_ele_by_attr(class_name, attr, value)
|
1504
1504
|
|
@@ -1520,7 +1520,7 @@ __Returns:__
|
|
1520
1520
|
|
1521
1521
|
--
|
1522
1522
|
|
1523
|
-
##### [find_eles_by_attr](https://github.com/appium/ruby_lib/blob/
|
1523
|
+
##### [find_eles_by_attr](https://github.com/appium/ruby_lib/blob/e8b0362ffcad51b85243b129e14f8cde3f9f562f/lib/appium_lib/ios/common/helper.rb#L132) ios
|
1524
1524
|
|
1525
1525
|
> def find_eles_by_attr(class_name, attr, value)
|
1526
1526
|
|
@@ -1542,7 +1542,7 @@ __Returns:__
|
|
1542
1542
|
|
1543
1543
|
--
|
1544
1544
|
|
1545
|
-
##### [find_ele_by_predicate](https://github.com/appium/ruby_lib/blob/
|
1545
|
+
##### [find_ele_by_predicate](https://github.com/appium/ruby_lib/blob/e8b0362ffcad51b85243b129e14f8cde3f9f562f/lib/appium_lib/ios/common/helper.rb#L145) ios
|
1546
1546
|
|
1547
1547
|
> def find_ele_by_predicate(class_name: '*', value:)
|
1548
1548
|
|
@@ -1559,7 +1559,7 @@ __Returns:__
|
|
1559
1559
|
|
1560
1560
|
--
|
1561
1561
|
|
1562
|
-
##### [find_eles_by_predicate](https://github.com/appium/ruby_lib/blob/
|
1562
|
+
##### [find_eles_by_predicate](https://github.com/appium/ruby_lib/blob/e8b0362ffcad51b85243b129e14f8cde3f9f562f/lib/appium_lib/ios/common/helper.rb#L156) ios
|
1563
1563
|
|
1564
1564
|
> def find_eles_by_predicate(class_name: '*', value:)
|
1565
1565
|
|
@@ -1578,7 +1578,7 @@ __Returns:__
|
|
1578
1578
|
|
1579
1579
|
--
|
1580
1580
|
|
1581
|
-
##### [find_ele_by_attr_include](https://github.com/appium/ruby_lib/blob/
|
1581
|
+
##### [find_ele_by_attr_include](https://github.com/appium/ruby_lib/blob/e8b0362ffcad51b85243b129e14f8cde3f9f562f/lib/appium_lib/ios/common/helper.rb#L172) ios
|
1582
1582
|
|
1583
1583
|
> def find_ele_by_attr_include(class_name, attr, value)
|
1584
1584
|
|
@@ -1599,7 +1599,7 @@ __Returns:__
|
|
1599
1599
|
|
1600
1600
|
--
|
1601
1601
|
|
1602
|
-
##### [find_eles_by_attr_include](https://github.com/appium/ruby_lib/blob/
|
1602
|
+
##### [find_eles_by_attr_include](https://github.com/appium/ruby_lib/blob/e8b0362ffcad51b85243b129e14f8cde3f9f562f/lib/appium_lib/ios/common/helper.rb#L182) ios
|
1603
1603
|
|
1604
1604
|
> def find_eles_by_attr_include(class_name, attr, value)
|
1605
1605
|
|
@@ -1620,7 +1620,7 @@ __Returns:__
|
|
1620
1620
|
|
1621
1621
|
--
|
1622
1622
|
|
1623
|
-
##### [find_ele_by_predicate_include](https://github.com/appium/ruby_lib/blob/
|
1623
|
+
##### [find_ele_by_predicate_include](https://github.com/appium/ruby_lib/blob/e8b0362ffcad51b85243b129e14f8cde3f9f562f/lib/appium_lib/ios/common/helper.rb#L190) ios
|
1624
1624
|
|
1625
1625
|
> def find_ele_by_predicate_include(class_name: '*', value:)
|
1626
1626
|
|
@@ -1637,7 +1637,7 @@ __Returns:__
|
|
1637
1637
|
|
1638
1638
|
--
|
1639
1639
|
|
1640
|
-
##### [find_eles_by_predicate_include](https://github.com/appium/ruby_lib/blob/
|
1640
|
+
##### [find_eles_by_predicate_include](https://github.com/appium/ruby_lib/blob/e8b0362ffcad51b85243b129e14f8cde3f9f562f/lib/appium_lib/ios/common/helper.rb#L201) ios
|
1641
1641
|
|
1642
1642
|
> def find_eles_by_predicate_include(class_name: '*', value:)
|
1643
1643
|
|
@@ -1656,7 +1656,7 @@ __Returns:__
|
|
1656
1656
|
|
1657
1657
|
--
|
1658
1658
|
|
1659
|
-
##### [first_ele](https://github.com/appium/ruby_lib/blob/
|
1659
|
+
##### [first_ele](https://github.com/appium/ruby_lib/blob/e8b0362ffcad51b85243b129e14f8cde3f9f562f/lib/appium_lib/ios/common/helper.rb#L214) ios
|
1660
1660
|
|
1661
1661
|
> def first_ele(class_name)
|
1662
1662
|
|
@@ -1672,7 +1672,7 @@ __Returns:__
|
|
1672
1672
|
|
1673
1673
|
--
|
1674
1674
|
|
1675
|
-
##### [last_ele](https://github.com/appium/ruby_lib/blob/
|
1675
|
+
##### [last_ele](https://github.com/appium/ruby_lib/blob/e8b0362ffcad51b85243b129e14f8cde3f9f562f/lib/appium_lib/ios/common/helper.rb#L221) ios
|
1676
1676
|
|
1677
1677
|
> def last_ele(class_name)
|
1678
1678
|
|
@@ -1688,7 +1688,7 @@ __Returns:__
|
|
1688
1688
|
|
1689
1689
|
--
|
1690
1690
|
|
1691
|
-
##### [tag](https://github.com/appium/ruby_lib/blob/
|
1691
|
+
##### [tag](https://github.com/appium/ruby_lib/blob/e8b0362ffcad51b85243b129e14f8cde3f9f562f/lib/appium_lib/ios/common/helper.rb#L229) ios
|
1692
1692
|
|
1693
1693
|
> def tag(class_name)
|
1694
1694
|
|
@@ -1704,7 +1704,7 @@ __Returns:__
|
|
1704
1704
|
|
1705
1705
|
--
|
1706
1706
|
|
1707
|
-
##### [tags](https://github.com/appium/ruby_lib/blob/
|
1707
|
+
##### [tags](https://github.com/appium/ruby_lib/blob/e8b0362ffcad51b85243b129e14f8cde3f9f562f/lib/appium_lib/ios/common/helper.rb#L237) ios
|
1708
1708
|
|
1709
1709
|
> def tags(class_name)
|
1710
1710
|
|
@@ -1720,7 +1720,7 @@ __Returns:__
|
|
1720
1720
|
|
1721
1721
|
--
|
1722
1722
|
|
1723
|
-
##### [tags_include](https://github.com/appium/ruby_lib/blob/
|
1723
|
+
##### [tags_include](https://github.com/appium/ruby_lib/blob/e8b0362ffcad51b85243b129e14f8cde3f9f562f/lib/appium_lib/ios/common/helper.rb#L248) ios
|
1724
1724
|
|
1725
1725
|
> def tags_include(class_names:, value: nil)
|
1726
1726
|
|
@@ -1740,7 +1740,7 @@ __Returns:__
|
|
1740
1740
|
|
1741
1741
|
--
|
1742
1742
|
|
1743
|
-
##### [tags_exact](https://github.com/appium/ruby_lib/blob/
|
1743
|
+
##### [tags_exact](https://github.com/appium/ruby_lib/blob/e8b0362ffcad51b85243b129e14f8cde3f9f562f/lib/appium_lib/ios/common/helper.rb#L263) ios
|
1744
1744
|
|
1745
1745
|
> def tags_exact(class_names:, value: nil)
|
1746
1746
|
|
@@ -1760,7 +1760,7 @@ __Returns:__
|
|
1760
1760
|
|
1761
1761
|
--
|
1762
1762
|
|
1763
|
-
##### [ele_by_json_visible_contains](https://github.com/appium/ruby_lib/blob/
|
1763
|
+
##### [ele_by_json_visible_contains](https://github.com/appium/ruby_lib/blob/e8b0362ffcad51b85243b129e14f8cde3f9f562f/lib/appium_lib/ios/common/helper.rb#L300) ios
|
1764
1764
|
|
1765
1765
|
> def ele_by_json_visible_contains(element, value)
|
1766
1766
|
|
@@ -1779,7 +1779,7 @@ __Returns:__
|
|
1779
1779
|
|
1780
1780
|
--
|
1781
1781
|
|
1782
|
-
##### [eles_by_json_visible_contains](https://github.com/appium/ruby_lib/blob/
|
1782
|
+
##### [eles_by_json_visible_contains](https://github.com/appium/ruby_lib/blob/e8b0362ffcad51b85243b129e14f8cde3f9f562f/lib/appium_lib/ios/common/helper.rb#L309) ios
|
1783
1783
|
|
1784
1784
|
> def eles_by_json_visible_contains(element, value)
|
1785
1785
|
|
@@ -1798,7 +1798,7 @@ __Returns:__
|
|
1798
1798
|
|
1799
1799
|
--
|
1800
1800
|
|
1801
|
-
##### [ele_by_json_visible_exact](https://github.com/appium/ruby_lib/blob/
|
1801
|
+
##### [ele_by_json_visible_exact](https://github.com/appium/ruby_lib/blob/e8b0362ffcad51b85243b129e14f8cde3f9f562f/lib/appium_lib/ios/common/helper.rb#L339) ios
|
1802
1802
|
|
1803
1803
|
> def ele_by_json_visible_exact(element, value)
|
1804
1804
|
|
@@ -1817,7 +1817,7 @@ __Returns:__
|
|
1817
1817
|
|
1818
1818
|
--
|
1819
1819
|
|
1820
|
-
##### [eles_by_json_visible_exact](https://github.com/appium/ruby_lib/blob/
|
1820
|
+
##### [eles_by_json_visible_exact](https://github.com/appium/ruby_lib/blob/e8b0362ffcad51b85243b129e14f8cde3f9f562f/lib/appium_lib/ios/common/helper.rb#L348) ios
|
1821
1821
|
|
1822
1822
|
> def eles_by_json_visible_exact(element, value)
|
1823
1823
|
|
@@ -1836,7 +1836,7 @@ __Returns:__
|
|
1836
1836
|
|
1837
1837
|
--
|
1838
1838
|
|
1839
|
-
##### [_all_pred](https://github.com/appium/ruby_lib/blob/
|
1839
|
+
##### [_all_pred](https://github.com/appium/ruby_lib/blob/e8b0362ffcad51b85243b129e14f8cde3f9f562f/lib/appium_lib/ios/common/helper.rb#L357) ios
|
1840
1840
|
|
1841
1841
|
> def _all_pred(opts)
|
1842
1842
|
|
@@ -1846,7 +1846,7 @@ visible - if true, only visible elements are returned. default true
|
|
1846
1846
|
|
1847
1847
|
--
|
1848
1848
|
|
1849
|
-
##### [ele_with_pred](https://github.com/appium/ruby_lib/blob/
|
1849
|
+
##### [ele_with_pred](https://github.com/appium/ruby_lib/blob/e8b0362ffcad51b85243b129e14f8cde3f9f562f/lib/appium_lib/ios/common/helper.rb#L370) ios
|
1850
1850
|
|
1851
1851
|
> def ele_with_pred(opts)
|
1852
1852
|
|
@@ -1862,7 +1862,7 @@ __Returns:__
|
|
1862
1862
|
|
1863
1863
|
--
|
1864
1864
|
|
1865
|
-
##### [eles_with_pred](https://github.com/appium/ruby_lib/blob/
|
1865
|
+
##### [eles_with_pred](https://github.com/appium/ruby_lib/blob/e8b0362ffcad51b85243b129e14f8cde3f9f562f/lib/appium_lib/ios/common/helper.rb#L381) ios
|
1866
1866
|
|
1867
1867
|
> def eles_with_pred(opts)
|
1868
1868
|
|
@@ -1878,7 +1878,7 @@ __Returns:__
|
|
1878
1878
|
|
1879
1879
|
--
|
1880
1880
|
|
1881
|
-
##### [_validate_object](https://github.com/appium/ruby_lib/blob/
|
1881
|
+
##### [_validate_object](https://github.com/appium/ruby_lib/blob/e8b0362ffcad51b85243b129e14f8cde3f9f562f/lib/appium_lib/ios/common/helper.rb#L385) ios
|
1882
1882
|
|
1883
1883
|
> def _validate_object(*objects)
|
1884
1884
|
|
@@ -1886,7 +1886,7 @@ __Returns:__
|
|
1886
1886
|
|
1887
1887
|
--
|
1888
1888
|
|
1889
|
-
##### [_by_json](https://github.com/appium/ruby_lib/blob/
|
1889
|
+
##### [_by_json](https://github.com/appium/ruby_lib/blob/e8b0362ffcad51b85243b129e14f8cde3f9f562f/lib/appium_lib/ios/common/helper.rb#L434) ios
|
1890
1890
|
|
1891
1891
|
> def _by_json(opts)
|
1892
1892
|
|
@@ -1921,7 +1921,7 @@ opts = {
|
|
1921
1921
|
|
1922
1922
|
--
|
1923
1923
|
|
1924
|
-
##### [eles_by_json](https://github.com/appium/ruby_lib/blob/
|
1924
|
+
##### [eles_by_json](https://github.com/appium/ruby_lib/blob/e8b0362ffcad51b85243b129e14f8cde3f9f562f/lib/appium_lib/ios/common/helper.rb#L484) ios
|
1925
1925
|
|
1926
1926
|
> def eles_by_json(opts)
|
1927
1927
|
|
@@ -1940,7 +1940,7 @@ eles_by_json({
|
|
1940
1940
|
|
1941
1941
|
--
|
1942
1942
|
|
1943
|
-
##### [ele_by_json](https://github.com/appium/ruby_lib/blob/
|
1943
|
+
##### [ele_by_json](https://github.com/appium/ruby_lib/blob/e8b0362ffcad51b85243b129e14f8cde3f9f562f/lib/appium_lib/ios/common/helper.rb#L490) ios
|
1944
1944
|
|
1945
1945
|
> def ele_by_json(opts)
|
1946
1946
|
|
@@ -1948,7 +1948,7 @@ see eles_by_json
|
|
1948
1948
|
|
1949
1949
|
--
|
1950
1950
|
|
1951
|
-
##### [alert_accept](https://github.com/appium/ruby_lib/blob/
|
1951
|
+
##### [alert_accept](https://github.com/appium/ruby_lib/blob/e8b0362ffcad51b85243b129e14f8cde3f9f562f/lib/appium_lib/ios/element/alert.rb#L5) ios
|
1952
1952
|
|
1953
1953
|
> def alert_accept
|
1954
1954
|
|
@@ -1960,7 +1960,7 @@ __Returns:__
|
|
1960
1960
|
|
1961
1961
|
--
|
1962
1962
|
|
1963
|
-
##### [alert_dismiss](https://github.com/appium/ruby_lib/blob/
|
1963
|
+
##### [alert_dismiss](https://github.com/appium/ruby_lib/blob/e8b0362ffcad51b85243b129e14f8cde3f9f562f/lib/appium_lib/ios/element/alert.rb#L13) ios
|
1964
1964
|
|
1965
1965
|
> def alert_dismiss
|
1966
1966
|
|
@@ -1972,7 +1972,7 @@ __Returns:__
|
|
1972
1972
|
|
1973
1973
|
--
|
1974
1974
|
|
1975
|
-
##### [UIAButton](https://github.com/appium/ruby_lib/blob/
|
1975
|
+
##### [UIAButton](https://github.com/appium/ruby_lib/blob/e8b0362ffcad51b85243b129e14f8cde3f9f562f/lib/appium_lib/ios/element/button.rb#L4) ios
|
1976
1976
|
|
1977
1977
|
> UIAButton = 'UIAButton'.freeze
|
1978
1978
|
|
@@ -1980,7 +1980,7 @@ __Returns:__
|
|
1980
1980
|
|
1981
1981
|
--
|
1982
1982
|
|
1983
|
-
##### [XCUIElementTypeButton](https://github.com/appium/ruby_lib/blob/
|
1983
|
+
##### [XCUIElementTypeButton](https://github.com/appium/ruby_lib/blob/e8b0362ffcad51b85243b129e14f8cde3f9f562f/lib/appium_lib/ios/element/button.rb#L5) ios
|
1984
1984
|
|
1985
1985
|
> XCUIElementTypeButton = 'XCUIElementTypeButton'.freeze
|
1986
1986
|
|
@@ -1988,7 +1988,7 @@ __Returns:__
|
|
1988
1988
|
|
1989
1989
|
--
|
1990
1990
|
|
1991
|
-
##### [button_class](https://github.com/appium/ruby_lib/blob/
|
1991
|
+
##### [button_class](https://github.com/appium/ruby_lib/blob/e8b0362ffcad51b85243b129e14f8cde3f9f562f/lib/appium_lib/ios/element/button.rb#L8) ios
|
1992
1992
|
|
1993
1993
|
> def button_class
|
1994
1994
|
|
@@ -2000,7 +2000,7 @@ __Returns:__
|
|
2000
2000
|
|
2001
2001
|
--
|
2002
2002
|
|
2003
|
-
##### [button](https://github.com/appium/ruby_lib/blob/
|
2003
|
+
##### [button](https://github.com/appium/ruby_lib/blob/e8b0362ffcad51b85243b129e14f8cde3f9f562f/lib/appium_lib/ios/element/button.rb#L16) ios
|
2004
2004
|
|
2005
2005
|
> def button(value)
|
2006
2006
|
|
@@ -2017,7 +2017,7 @@ __Returns:__
|
|
2017
2017
|
|
2018
2018
|
--
|
2019
2019
|
|
2020
|
-
##### [buttons](https://github.com/appium/ruby_lib/blob/
|
2020
|
+
##### [buttons](https://github.com/appium/ruby_lib/blob/e8b0362ffcad51b85243b129e14f8cde3f9f562f/lib/appium_lib/ios/element/button.rb#L26) ios
|
2021
2021
|
|
2022
2022
|
> def buttons(value = false)
|
2023
2023
|
|
@@ -2034,7 +2034,7 @@ __Returns:__
|
|
2034
2034
|
|
2035
2035
|
--
|
2036
2036
|
|
2037
|
-
##### [first_button](https://github.com/appium/ruby_lib/blob/
|
2037
|
+
##### [first_button](https://github.com/appium/ruby_lib/blob/e8b0362ffcad51b85243b129e14f8cde3f9f562f/lib/appium_lib/ios/element/button.rb#L33) ios
|
2038
2038
|
|
2039
2039
|
> def first_button
|
2040
2040
|
|
@@ -2046,7 +2046,7 @@ __Returns:__
|
|
2046
2046
|
|
2047
2047
|
--
|
2048
2048
|
|
2049
|
-
##### [last_button](https://github.com/appium/ruby_lib/blob/
|
2049
|
+
##### [last_button](https://github.com/appium/ruby_lib/blob/e8b0362ffcad51b85243b129e14f8cde3f9f562f/lib/appium_lib/ios/element/button.rb#L41) ios
|
2050
2050
|
|
2051
2051
|
> def last_button
|
2052
2052
|
|
@@ -2060,7 +2060,7 @@ __Returns:__
|
|
2060
2060
|
|
2061
2061
|
--
|
2062
2062
|
|
2063
|
-
##### [button_exact](https://github.com/appium/ruby_lib/blob/
|
2063
|
+
##### [button_exact](https://github.com/appium/ruby_lib/blob/e8b0362ffcad51b85243b129e14f8cde3f9f562f/lib/appium_lib/ios/element/button.rb#L48) ios
|
2064
2064
|
|
2065
2065
|
> def button_exact(value)
|
2066
2066
|
|
@@ -2076,7 +2076,7 @@ __Returns:__
|
|
2076
2076
|
|
2077
2077
|
--
|
2078
2078
|
|
2079
|
-
##### [buttons_exact](https://github.com/appium/ruby_lib/blob/
|
2079
|
+
##### [buttons_exact](https://github.com/appium/ruby_lib/blob/e8b0362ffcad51b85243b129e14f8cde3f9f562f/lib/appium_lib/ios/element/button.rb#L55) ios
|
2080
2080
|
|
2081
2081
|
> def buttons_exact(value)
|
2082
2082
|
|
@@ -2092,7 +2092,7 @@ __Returns:__
|
|
2092
2092
|
|
2093
2093
|
--
|
2094
2094
|
|
2095
|
-
##### [find](https://github.com/appium/ruby_lib/blob/
|
2095
|
+
##### [find](https://github.com/appium/ruby_lib/blob/e8b0362ffcad51b85243b129e14f8cde3f9f562f/lib/appium_lib/ios/element/generic.rb#L6) ios
|
2096
2096
|
|
2097
2097
|
> def find(value)
|
2098
2098
|
|
@@ -2108,7 +2108,7 @@ __Returns:__
|
|
2108
2108
|
|
2109
2109
|
--
|
2110
2110
|
|
2111
|
-
##### [finds](https://github.com/appium/ruby_lib/blob/
|
2111
|
+
##### [finds](https://github.com/appium/ruby_lib/blob/e8b0362ffcad51b85243b129e14f8cde3f9f562f/lib/appium_lib/ios/element/generic.rb#L13) ios
|
2112
2112
|
|
2113
2113
|
> def finds(value)
|
2114
2114
|
|
@@ -2124,7 +2124,7 @@ __Returns:__
|
|
2124
2124
|
|
2125
2125
|
--
|
2126
2126
|
|
2127
|
-
##### [find_exact](https://github.com/appium/ruby_lib/blob/
|
2127
|
+
##### [find_exact](https://github.com/appium/ruby_lib/blob/e8b0362ffcad51b85243b129e14f8cde3f9f562f/lib/appium_lib/ios/element/generic.rb#L20) ios
|
2128
2128
|
|
2129
2129
|
> def find_exact(value)
|
2130
2130
|
|
@@ -2140,7 +2140,7 @@ __Returns:__
|
|
2140
2140
|
|
2141
2141
|
--
|
2142
2142
|
|
2143
|
-
##### [finds_exact](https://github.com/appium/ruby_lib/blob/
|
2143
|
+
##### [finds_exact](https://github.com/appium/ruby_lib/blob/e8b0362ffcad51b85243b129e14f8cde3f9f562f/lib/appium_lib/ios/element/generic.rb#L27) ios
|
2144
2144
|
|
2145
2145
|
> def finds_exact(value)
|
2146
2146
|
|
@@ -2156,7 +2156,7 @@ __Returns:__
|
|
2156
2156
|
|
2157
2157
|
--
|
2158
2158
|
|
2159
|
-
##### [raise_error_if_no_element](https://github.com/appium/ruby_lib/blob/
|
2159
|
+
##### [raise_error_if_no_element](https://github.com/appium/ruby_lib/blob/e8b0362ffcad51b85243b129e14f8cde3f9f562f/lib/appium_lib/ios/element/generic.rb#L33) ios
|
2160
2160
|
|
2161
2161
|
> def raise_error_if_no_element(element)
|
2162
2162
|
|
@@ -2164,7 +2164,7 @@ __Returns:__
|
|
2164
2164
|
|
2165
2165
|
--
|
2166
2166
|
|
2167
|
-
##### [select_visible_elements](https://github.com/appium/ruby_lib/blob/
|
2167
|
+
##### [select_visible_elements](https://github.com/appium/ruby_lib/blob/e8b0362ffcad51b85243b129e14f8cde3f9f562f/lib/appium_lib/ios/element/generic.rb#L40) ios
|
2168
2168
|
|
2169
2169
|
> def select_visible_elements(elements)
|
2170
2170
|
|
@@ -2172,7 +2172,7 @@ Return visible elements.
|
|
2172
2172
|
|
2173
2173
|
--
|
2174
2174
|
|
2175
|
-
##### [for](https://github.com/appium/ruby_lib/blob/
|
2175
|
+
##### [for](https://github.com/appium/ruby_lib/blob/e8b0362ffcad51b85243b129e14f8cde3f9f562f/lib/appium_lib/ios/xcuitest/bridge.rb#L7) ios
|
2176
2176
|
|
2177
2177
|
> def self.for(target)
|
2178
2178
|
|
@@ -2180,7 +2180,7 @@ Return visible elements.
|
|
2180
2180
|
|
2181
2181
|
--
|
2182
2182
|
|
2183
|
-
##### [last_ele](https://github.com/appium/ruby_lib/blob/
|
2183
|
+
##### [last_ele](https://github.com/appium/ruby_lib/blob/e8b0362ffcad51b85243b129e14f8cde3f9f562f/lib/appium_lib/ios/xcuitest/helper.rb#L26) ios
|
2184
2184
|
|
2185
2185
|
> def last_ele(class_name)
|
2186
2186
|
|
@@ -2196,7 +2196,7 @@ __Returns:__
|
|
2196
2196
|
|
2197
2197
|
--
|
2198
2198
|
|
2199
|
-
##### [tag](https://github.com/appium/ruby_lib/blob/
|
2199
|
+
##### [tag](https://github.com/appium/ruby_lib/blob/e8b0362ffcad51b85243b129e14f8cde3f9f562f/lib/appium_lib/ios/xcuitest/helper.rb#L36) ios
|
2200
2200
|
|
2201
2201
|
> def tag(class_name)
|
2202
2202
|
|
@@ -2212,7 +2212,7 @@ __Returns:__
|
|
2212
2212
|
|
2213
2213
|
--
|
2214
2214
|
|
2215
|
-
##### [tags](https://github.com/appium/ruby_lib/blob/
|
2215
|
+
##### [tags](https://github.com/appium/ruby_lib/blob/e8b0362ffcad51b85243b129e14f8cde3f9f562f/lib/appium_lib/ios/xcuitest/helper.rb#L44) ios
|
2216
2216
|
|
2217
2217
|
> def tags(class_name)
|
2218
2218
|
|
@@ -2228,7 +2228,7 @@ __Returns:__
|
|
2228
2228
|
|
2229
2229
|
--
|
2230
2230
|
|
2231
|
-
##### [tags_include](https://github.com/appium/ruby_lib/blob/
|
2231
|
+
##### [tags_include](https://github.com/appium/ruby_lib/blob/e8b0362ffcad51b85243b129e14f8cde3f9f562f/lib/appium_lib/ios/xcuitest/helper.rb#L56) ios
|
2232
2232
|
|
2233
2233
|
> def tags_include(class_names:, value: nil)
|
2234
2234
|
|
@@ -2248,7 +2248,7 @@ __Returns:__
|
|
2248
2248
|
|
2249
2249
|
--
|
2250
2250
|
|
2251
|
-
##### [tags_exact](https://github.com/appium/ruby_lib/blob/
|
2251
|
+
##### [tags_exact](https://github.com/appium/ruby_lib/blob/e8b0362ffcad51b85243b129e14f8cde3f9f562f/lib/appium_lib/ios/xcuitest/helper.rb#L79) ios
|
2252
2252
|
|
2253
2253
|
> def tags_exact(class_names:, value: nil)
|
2254
2254
|
|
@@ -2268,7 +2268,7 @@ __Returns:__
|
|
2268
2268
|
|
2269
2269
|
--
|
2270
2270
|
|
2271
|
-
##### [UIATextField](https://github.com/appium/ruby_lib/blob/
|
2271
|
+
##### [UIATextField](https://github.com/appium/ruby_lib/blob/e8b0362ffcad51b85243b129e14f8cde3f9f562f/lib/appium_lib/ios/element/textfield.rb#L3) ios
|
2272
2272
|
|
2273
2273
|
> UIATextField = 'UIATextField'.freeze
|
2274
2274
|
|
@@ -2276,7 +2276,7 @@ __Returns:__
|
|
2276
2276
|
|
2277
2277
|
--
|
2278
2278
|
|
2279
|
-
##### [UIASecureTextField](https://github.com/appium/ruby_lib/blob/
|
2279
|
+
##### [UIASecureTextField](https://github.com/appium/ruby_lib/blob/e8b0362ffcad51b85243b129e14f8cde3f9f562f/lib/appium_lib/ios/element/textfield.rb#L4) ios
|
2280
2280
|
|
2281
2281
|
> UIASecureTextField = 'UIASecureTextField'.freeze
|
2282
2282
|
|
@@ -2284,7 +2284,7 @@ __Returns:__
|
|
2284
2284
|
|
2285
2285
|
--
|
2286
2286
|
|
2287
|
-
##### [XCUIElementTypeTextField](https://github.com/appium/ruby_lib/blob/
|
2287
|
+
##### [XCUIElementTypeTextField](https://github.com/appium/ruby_lib/blob/e8b0362ffcad51b85243b129e14f8cde3f9f562f/lib/appium_lib/ios/element/textfield.rb#L6) ios
|
2288
2288
|
|
2289
2289
|
> XCUIElementTypeTextField = 'XCUIElementTypeTextField'.freeze
|
2290
2290
|
|
@@ -2292,7 +2292,7 @@ __Returns:__
|
|
2292
2292
|
|
2293
2293
|
--
|
2294
2294
|
|
2295
|
-
##### [XCUIElementTypeSecureTextField](https://github.com/appium/ruby_lib/blob/
|
2295
|
+
##### [XCUIElementTypeSecureTextField](https://github.com/appium/ruby_lib/blob/e8b0362ffcad51b85243b129e14f8cde3f9f562f/lib/appium_lib/ios/element/textfield.rb#L7) ios
|
2296
2296
|
|
2297
2297
|
> XCUIElementTypeSecureTextField = 'XCUIElementTypeSecureTextField'.freeze
|
2298
2298
|
|
@@ -2300,7 +2300,7 @@ __Returns:__
|
|
2300
2300
|
|
2301
2301
|
--
|
2302
2302
|
|
2303
|
-
##### [text_field_class](https://github.com/appium/ruby_lib/blob/
|
2303
|
+
##### [text_field_class](https://github.com/appium/ruby_lib/blob/e8b0362ffcad51b85243b129e14f8cde3f9f562f/lib/appium_lib/ios/element/textfield.rb#L10) ios
|
2304
2304
|
|
2305
2305
|
> def text_field_class
|
2306
2306
|
|
@@ -2312,7 +2312,7 @@ __Returns:__
|
|
2312
2312
|
|
2313
2313
|
--
|
2314
2314
|
|
2315
|
-
##### [secure_text_field_class](https://github.com/appium/ruby_lib/blob/
|
2315
|
+
##### [secure_text_field_class](https://github.com/appium/ruby_lib/blob/e8b0362ffcad51b85243b129e14f8cde3f9f562f/lib/appium_lib/ios/element/textfield.rb#L15) ios
|
2316
2316
|
|
2317
2317
|
> def secure_text_field_class
|
2318
2318
|
|
@@ -2324,7 +2324,7 @@ __Returns:__
|
|
2324
2324
|
|
2325
2325
|
--
|
2326
2326
|
|
2327
|
-
##### [textfield](https://github.com/appium/ruby_lib/blob/
|
2327
|
+
##### [textfield](https://github.com/appium/ruby_lib/blob/e8b0362ffcad51b85243b129e14f8cde3f9f562f/lib/appium_lib/ios/element/textfield.rb#L24) ios
|
2328
2328
|
|
2329
2329
|
> def textfield(value)
|
2330
2330
|
|
@@ -2342,7 +2342,7 @@ __Returns:__
|
|
2342
2342
|
|
2343
2343
|
--
|
2344
2344
|
|
2345
|
-
##### [textfields](https://github.com/appium/ruby_lib/blob/
|
2345
|
+
##### [textfields](https://github.com/appium/ruby_lib/blob/e8b0362ffcad51b85243b129e14f8cde3f9f562f/lib/appium_lib/ios/element/textfield.rb#L42) ios
|
2346
2346
|
|
2347
2347
|
> def textfields(value = false)
|
2348
2348
|
|
@@ -2359,7 +2359,7 @@ __Returns:__
|
|
2359
2359
|
|
2360
2360
|
--
|
2361
2361
|
|
2362
|
-
##### [first_textfield](https://github.com/appium/ruby_lib/blob/
|
2362
|
+
##### [first_textfield](https://github.com/appium/ruby_lib/blob/e8b0362ffcad51b85243b129e14f8cde3f9f562f/lib/appium_lib/ios/element/textfield.rb#L49) ios
|
2363
2363
|
|
2364
2364
|
> def first_textfield
|
2365
2365
|
|
@@ -2371,7 +2371,7 @@ __Returns:__
|
|
2371
2371
|
|
2372
2372
|
--
|
2373
2373
|
|
2374
|
-
##### [last_textfield](https://github.com/appium/ruby_lib/blob/
|
2374
|
+
##### [last_textfield](https://github.com/appium/ruby_lib/blob/e8b0362ffcad51b85243b129e14f8cde3f9f562f/lib/appium_lib/ios/element/textfield.rb#L55) ios
|
2375
2375
|
|
2376
2376
|
> def last_textfield
|
2377
2377
|
|
@@ -2383,7 +2383,7 @@ __Returns:__
|
|
2383
2383
|
|
2384
2384
|
--
|
2385
2385
|
|
2386
|
-
##### [textfield_exact](https://github.com/appium/ruby_lib/blob/
|
2386
|
+
##### [textfield_exact](https://github.com/appium/ruby_lib/blob/e8b0362ffcad51b85243b129e14f8cde3f9f562f/lib/appium_lib/ios/element/textfield.rb#L64) ios
|
2387
2387
|
|
2388
2388
|
> def textfield_exact(value)
|
2389
2389
|
|
@@ -2399,7 +2399,7 @@ __Returns:__
|
|
2399
2399
|
|
2400
2400
|
--
|
2401
2401
|
|
2402
|
-
##### [textfields_exact](https://github.com/appium/ruby_lib/blob/
|
2402
|
+
##### [textfields_exact](https://github.com/appium/ruby_lib/blob/e8b0362ffcad51b85243b129e14f8cde3f9f562f/lib/appium_lib/ios/element/textfield.rb#L71) ios
|
2403
2403
|
|
2404
2404
|
> def textfields_exact(value)
|
2405
2405
|
|
@@ -2415,7 +2415,7 @@ __Returns:__
|
|
2415
2415
|
|
2416
2416
|
--
|
2417
2417
|
|
2418
|
-
##### [_textfield_visible](https://github.com/appium/ruby_lib/blob/
|
2418
|
+
##### [_textfield_visible](https://github.com/appium/ruby_lib/blob/e8b0362ffcad51b85243b129e14f8cde3f9f562f/lib/appium_lib/ios/element/textfield.rb#L78) ios
|
2419
2419
|
|
2420
2420
|
> def _textfield_visible
|
2421
2421
|
|
@@ -2423,7 +2423,7 @@ Appium
|
|
2423
2423
|
|
2424
2424
|
--
|
2425
2425
|
|
2426
|
-
##### [_textfield_exact_string](https://github.com/appium/ruby_lib/blob/
|
2426
|
+
##### [_textfield_exact_string](https://github.com/appium/ruby_lib/blob/e8b0362ffcad51b85243b129e14f8cde3f9f562f/lib/appium_lib/ios/element/textfield.rb#L83) ios
|
2427
2427
|
|
2428
2428
|
> def _textfield_exact_string(value)
|
2429
2429
|
|
@@ -2431,7 +2431,7 @@ Appium
|
|
2431
2431
|
|
2432
2432
|
--
|
2433
2433
|
|
2434
|
-
##### [_textfield_contains_string](https://github.com/appium/ruby_lib/blob/
|
2434
|
+
##### [_textfield_contains_string](https://github.com/appium/ruby_lib/blob/e8b0362ffcad51b85243b129e14f8cde3f9f562f/lib/appium_lib/ios/element/textfield.rb#L90) ios
|
2435
2435
|
|
2436
2436
|
> def _textfield_contains_string(value)
|
2437
2437
|
|
@@ -2439,7 +2439,7 @@ Appium
|
|
2439
2439
|
|
2440
2440
|
--
|
2441
2441
|
|
2442
|
-
##### [static_text_class](https://github.com/appium/ruby_lib/blob/
|
2442
|
+
##### [static_text_class](https://github.com/appium/ruby_lib/blob/e8b0362ffcad51b85243b129e14f8cde3f9f562f/lib/appium_lib/ios/xcuitest/element/text.rb#L9) ios
|
2443
2443
|
|
2444
2444
|
> def static_text_class
|
2445
2445
|
|
@@ -2451,7 +2451,7 @@ __Returns:__
|
|
2451
2451
|
|
2452
2452
|
--
|
2453
2453
|
|
2454
|
-
##### [text](https://github.com/appium/ruby_lib/blob/
|
2454
|
+
##### [text](https://github.com/appium/ruby_lib/blob/e8b0362ffcad51b85243b129e14f8cde3f9f562f/lib/appium_lib/ios/xcuitest/element/text.rb#L17) ios
|
2455
2455
|
|
2456
2456
|
> def text(value)
|
2457
2457
|
|
@@ -2468,7 +2468,7 @@ __Returns:__
|
|
2468
2468
|
|
2469
2469
|
--
|
2470
2470
|
|
2471
|
-
##### [texts](https://github.com/appium/ruby_lib/blob/
|
2471
|
+
##### [texts](https://github.com/appium/ruby_lib/blob/e8b0362ffcad51b85243b129e14f8cde3f9f562f/lib/appium_lib/ios/xcuitest/element/text.rb#L26) ios
|
2472
2472
|
|
2473
2473
|
> def texts(value = false)
|
2474
2474
|
|
@@ -2485,7 +2485,7 @@ __Returns:__
|
|
2485
2485
|
|
2486
2486
|
--
|
2487
2487
|
|
2488
|
-
##### [first_text](https://github.com/appium/ruby_lib/blob/
|
2488
|
+
##### [first_text](https://github.com/appium/ruby_lib/blob/e8b0362ffcad51b85243b129e14f8cde3f9f562f/lib/appium_lib/ios/xcuitest/element/text.rb#L34) ios
|
2489
2489
|
|
2490
2490
|
> def first_text
|
2491
2491
|
|
@@ -2497,7 +2497,7 @@ __Returns:__
|
|
2497
2497
|
|
2498
2498
|
--
|
2499
2499
|
|
2500
|
-
##### [last_text](https://github.com/appium/ruby_lib/blob/
|
2500
|
+
##### [last_text](https://github.com/appium/ruby_lib/blob/e8b0362ffcad51b85243b129e14f8cde3f9f562f/lib/appium_lib/ios/xcuitest/element/text.rb#L40) ios
|
2501
2501
|
|
2502
2502
|
> def last_text
|
2503
2503
|
|
@@ -2509,7 +2509,7 @@ __Returns:__
|
|
2509
2509
|
|
2510
2510
|
--
|
2511
2511
|
|
2512
|
-
##### [text_exact](https://github.com/appium/ruby_lib/blob/
|
2512
|
+
##### [text_exact](https://github.com/appium/ruby_lib/blob/e8b0362ffcad51b85243b129e14f8cde3f9f562f/lib/appium_lib/ios/xcuitest/element/text.rb#L47) ios
|
2513
2513
|
|
2514
2514
|
> def text_exact(value)
|
2515
2515
|
|
@@ -2525,7 +2525,7 @@ __Returns:__
|
|
2525
2525
|
|
2526
2526
|
--
|
2527
2527
|
|
2528
|
-
##### [texts_exact](https://github.com/appium/ruby_lib/blob/
|
2528
|
+
##### [texts_exact](https://github.com/appium/ruby_lib/blob/e8b0362ffcad51b85243b129e14f8cde3f9f562f/lib/appium_lib/ios/xcuitest/element/text.rb#L54) ios
|
2529
2529
|
|
2530
2530
|
> def texts_exact(value)
|
2531
2531
|
|
@@ -2541,7 +2541,7 @@ __Returns:__
|
|
2541
2541
|
|
2542
2542
|
--
|
2543
2543
|
|
2544
|
-
##### [xcuitest_source](https://github.com/appium/ruby_lib/blob/
|
2544
|
+
##### [xcuitest_source](https://github.com/appium/ruby_lib/blob/e8b0362ffcad51b85243b129e14f8cde3f9f562f/lib/appium_lib/ios/xcuitest/command/source.rb#L12) ios
|
2545
2545
|
|
2546
2546
|
> def xcuitest_source(format: :xml)
|
2547
2547
|
|
@@ -2555,7 +2555,7 @@ __Parameters:__
|
|
2555
2555
|
|
2556
2556
|
--
|
2557
2557
|
|
2558
|
-
##### [button_class](https://github.com/appium/ruby_lib/blob/
|
2558
|
+
##### [button_class](https://github.com/appium/ruby_lib/blob/e8b0362ffcad51b85243b129e14f8cde3f9f562f/lib/appium_lib/ios/xcuitest/element/button.rb#L9) ios
|
2559
2559
|
|
2560
2560
|
> def button_class
|
2561
2561
|
|
@@ -2567,7 +2567,7 @@ __Returns:__
|
|
2567
2567
|
|
2568
2568
|
--
|
2569
2569
|
|
2570
|
-
##### [button](https://github.com/appium/ruby_lib/blob/
|
2570
|
+
##### [button](https://github.com/appium/ruby_lib/blob/e8b0362ffcad51b85243b129e14f8cde3f9f562f/lib/appium_lib/ios/xcuitest/element/button.rb#L17) ios
|
2571
2571
|
|
2572
2572
|
> def button(value)
|
2573
2573
|
|
@@ -2584,7 +2584,7 @@ __Returns:__
|
|
2584
2584
|
|
2585
2585
|
--
|
2586
2586
|
|
2587
|
-
##### [buttons](https://github.com/appium/ruby_lib/blob/
|
2587
|
+
##### [buttons](https://github.com/appium/ruby_lib/blob/e8b0362ffcad51b85243b129e14f8cde3f9f562f/lib/appium_lib/ios/xcuitest/element/button.rb#L27) ios
|
2588
2588
|
|
2589
2589
|
> def buttons(value = false)
|
2590
2590
|
|
@@ -2601,7 +2601,7 @@ __Returns:__
|
|
2601
2601
|
|
2602
2602
|
--
|
2603
2603
|
|
2604
|
-
##### [first_button](https://github.com/appium/ruby_lib/blob/
|
2604
|
+
##### [first_button](https://github.com/appium/ruby_lib/blob/e8b0362ffcad51b85243b129e14f8cde3f9f562f/lib/appium_lib/ios/xcuitest/element/button.rb#L35) ios
|
2605
2605
|
|
2606
2606
|
> def first_button
|
2607
2607
|
|
@@ -2613,7 +2613,7 @@ __Returns:__
|
|
2613
2613
|
|
2614
2614
|
--
|
2615
2615
|
|
2616
|
-
##### [last_button](https://github.com/appium/ruby_lib/blob/
|
2616
|
+
##### [last_button](https://github.com/appium/ruby_lib/blob/e8b0362ffcad51b85243b129e14f8cde3f9f562f/lib/appium_lib/ios/xcuitest/element/button.rb#L43) ios
|
2617
2617
|
|
2618
2618
|
> def last_button
|
2619
2619
|
|
@@ -2627,7 +2627,7 @@ __Returns:__
|
|
2627
2627
|
|
2628
2628
|
--
|
2629
2629
|
|
2630
|
-
##### [button_exact](https://github.com/appium/ruby_lib/blob/
|
2630
|
+
##### [button_exact](https://github.com/appium/ruby_lib/blob/e8b0362ffcad51b85243b129e14f8cde3f9f562f/lib/appium_lib/ios/xcuitest/element/button.rb#L50) ios
|
2631
2631
|
|
2632
2632
|
> def button_exact(value)
|
2633
2633
|
|
@@ -2643,7 +2643,7 @@ __Returns:__
|
|
2643
2643
|
|
2644
2644
|
--
|
2645
2645
|
|
2646
|
-
##### [buttons_exact](https://github.com/appium/ruby_lib/blob/
|
2646
|
+
##### [buttons_exact](https://github.com/appium/ruby_lib/blob/e8b0362ffcad51b85243b129e14f8cde3f9f562f/lib/appium_lib/ios/xcuitest/element/button.rb#L57) ios
|
2647
2647
|
|
2648
2648
|
> def buttons_exact(value)
|
2649
2649
|
|
@@ -2659,7 +2659,7 @@ __Returns:__
|
|
2659
2659
|
|
2660
2660
|
--
|
2661
2661
|
|
2662
|
-
##### [find](https://github.com/appium/ruby_lib/blob/
|
2662
|
+
##### [find](https://github.com/appium/ruby_lib/blob/e8b0362ffcad51b85243b129e14f8cde3f9f562f/lib/appium_lib/ios/xcuitest/element/generic.rb#L8) ios
|
2663
2663
|
|
2664
2664
|
> def find(value)
|
2665
2665
|
|
@@ -2675,7 +2675,7 @@ __Returns:__
|
|
2675
2675
|
|
2676
2676
|
--
|
2677
2677
|
|
2678
|
-
##### [finds](https://github.com/appium/ruby_lib/blob/
|
2678
|
+
##### [finds](https://github.com/appium/ruby_lib/blob/e8b0362ffcad51b85243b129e14f8cde3f9f562f/lib/appium_lib/ios/xcuitest/element/generic.rb#L15) ios
|
2679
2679
|
|
2680
2680
|
> def finds(value)
|
2681
2681
|
|
@@ -2691,7 +2691,7 @@ __Returns:__
|
|
2691
2691
|
|
2692
2692
|
--
|
2693
2693
|
|
2694
|
-
##### [find_exact](https://github.com/appium/ruby_lib/blob/
|
2694
|
+
##### [find_exact](https://github.com/appium/ruby_lib/blob/e8b0362ffcad51b85243b129e14f8cde3f9f562f/lib/appium_lib/ios/xcuitest/element/generic.rb#L23) ios
|
2695
2695
|
|
2696
2696
|
> def find_exact(value)
|
2697
2697
|
|
@@ -2707,7 +2707,7 @@ __Returns:__
|
|
2707
2707
|
|
2708
2708
|
--
|
2709
2709
|
|
2710
|
-
##### [finds_exact](https://github.com/appium/ruby_lib/blob/
|
2710
|
+
##### [finds_exact](https://github.com/appium/ruby_lib/blob/e8b0362ffcad51b85243b129e14f8cde3f9f562f/lib/appium_lib/ios/xcuitest/element/generic.rb#L30) ios
|
2711
2711
|
|
2712
2712
|
> def finds_exact(value)
|
2713
2713
|
|
@@ -2723,7 +2723,7 @@ __Returns:__
|
|
2723
2723
|
|
2724
2724
|
--
|
2725
2725
|
|
2726
|
-
##### [raise_error_if_no_element](https://github.com/appium/ruby_lib/blob/
|
2726
|
+
##### [raise_error_if_no_element](https://github.com/appium/ruby_lib/blob/e8b0362ffcad51b85243b129e14f8cde3f9f562f/lib/appium_lib/ios/xcuitest/element/generic.rb#L37) ios
|
2727
2727
|
|
2728
2728
|
> def raise_error_if_no_element(element)
|
2729
2729
|
|
@@ -2731,7 +2731,7 @@ __Returns:__
|
|
2731
2731
|
|
2732
2732
|
--
|
2733
2733
|
|
2734
|
-
##### [select_visible_elements](https://github.com/appium/ruby_lib/blob/
|
2734
|
+
##### [select_visible_elements](https://github.com/appium/ruby_lib/blob/e8b0362ffcad51b85243b129e14f8cde3f9f562f/lib/appium_lib/ios/xcuitest/element/generic.rb#L44) ios
|
2735
2735
|
|
2736
2736
|
> def select_visible_elements(elements)
|
2737
2737
|
|
@@ -2739,7 +2739,7 @@ Return visible elements.
|
|
2739
2739
|
|
2740
2740
|
--
|
2741
2741
|
|
2742
|
-
##### [swipe](https://github.com/appium/ruby_lib/blob/
|
2742
|
+
##### [swipe](https://github.com/appium/ruby_lib/blob/e8b0362ffcad51b85243b129e14f8cde3f9f562f/lib/appium_lib/ios/xcuitest/command/gestures.rb#L11) ios
|
2743
2743
|
|
2744
2744
|
> def swipe(direction:, element: nil)
|
2745
2745
|
|
@@ -2753,7 +2753,7 @@ __Parameters:__
|
|
2753
2753
|
|
2754
2754
|
--
|
2755
2755
|
|
2756
|
-
##### [scroll](https://github.com/appium/ruby_lib/blob/
|
2756
|
+
##### [scroll](https://github.com/appium/ruby_lib/blob/e8b0362ffcad51b85243b129e14f8cde3f9f562f/lib/appium_lib/ios/xcuitest/command/gestures.rb#L29) ios
|
2757
2757
|
|
2758
2758
|
> def scroll(direction:, name: nil, element: nil, to_visible: nil, predicate_string: nil)
|
2759
2759
|
|
@@ -2767,7 +2767,7 @@ __Parameters:__
|
|
2767
2767
|
|
2768
2768
|
--
|
2769
2769
|
|
2770
|
-
##### [pinch](https://github.com/appium/ruby_lib/blob/
|
2770
|
+
##### [pinch](https://github.com/appium/ruby_lib/blob/e8b0362ffcad51b85243b129e14f8cde3f9f562f/lib/appium_lib/ios/xcuitest/command/gestures.rb#L48) ios
|
2771
2771
|
|
2772
2772
|
> def pinch(scale:, velocity: 1.0, element: nil)
|
2773
2773
|
|
@@ -2783,7 +2783,7 @@ __Parameters:__
|
|
2783
2783
|
|
2784
2784
|
--
|
2785
2785
|
|
2786
|
-
##### [double_tap](https://github.com/appium/ruby_lib/blob/
|
2786
|
+
##### [double_tap](https://github.com/appium/ruby_lib/blob/e8b0362ffcad51b85243b129e14f8cde3f9f562f/lib/appium_lib/ios/xcuitest/command/gestures.rb#L63) ios
|
2787
2787
|
|
2788
2788
|
> def double_tap(x: nil, y: nil, element: nil)
|
2789
2789
|
|
@@ -2799,7 +2799,7 @@ __Parameters:__
|
|
2799
2799
|
|
2800
2800
|
--
|
2801
2801
|
|
2802
|
-
##### [touch_and_hold](https://github.com/appium/ruby_lib/blob/
|
2802
|
+
##### [touch_and_hold](https://github.com/appium/ruby_lib/blob/e8b0362ffcad51b85243b129e14f8cde3f9f562f/lib/appium_lib/ios/xcuitest/command/gestures.rb#L80) ios
|
2803
2803
|
|
2804
2804
|
> def touch_and_hold(x: nil, y: nil, element: nil, duration: 1.0)
|
2805
2805
|
|
@@ -2817,7 +2817,7 @@ __Parameters:__
|
|
2817
2817
|
|
2818
2818
|
--
|
2819
2819
|
|
2820
|
-
##### [two_finger_tap](https://github.com/appium/ruby_lib/blob/
|
2820
|
+
##### [two_finger_tap](https://github.com/appium/ruby_lib/blob/e8b0362ffcad51b85243b129e14f8cde3f9f562f/lib/appium_lib/ios/xcuitest/command/gestures.rb#L93) ios
|
2821
2821
|
|
2822
2822
|
> def two_finger_tap(element:)
|
2823
2823
|
|
@@ -2833,7 +2833,7 @@ two_finger_tap element: find_element(:accessibility_id, "some item")
|
|
2833
2833
|
|
2834
2834
|
--
|
2835
2835
|
|
2836
|
-
##### [tap](https://github.com/appium/ruby_lib/blob/
|
2836
|
+
##### [tap](https://github.com/appium/ruby_lib/blob/e8b0362ffcad51b85243b129e14f8cde3f9f562f/lib/appium_lib/ios/xcuitest/command/gestures.rb#L108) ios
|
2837
2837
|
|
2838
2838
|
> def tap(x:, y:, element: nil)
|
2839
2839
|
|
@@ -2849,7 +2849,7 @@ __Parameters:__
|
|
2849
2849
|
|
2850
2850
|
--
|
2851
2851
|
|
2852
|
-
##### [drag_from_to_for_duration](https://github.com/appium/ruby_lib/blob/
|
2852
|
+
##### [drag_from_to_for_duration](https://github.com/appium/ruby_lib/blob/e8b0362ffcad51b85243b129e14f8cde3f9f562f/lib/appium_lib/ios/xcuitest/command/gestures.rb#L128) ios
|
2853
2853
|
|
2854
2854
|
> def drag_from_to_for_duration(from_x:, from_y:, to_x:, to_y:, duration: 1.0, element: nil)
|
2855
2855
|
|
@@ -2872,7 +2872,7 @@ drag point should be before to start dragging. Mandatory parameter
|
|
2872
2872
|
|
2873
2873
|
--
|
2874
2874
|
|
2875
|
-
##### [select_picker_wheel](https://github.com/appium/ruby_lib/blob/
|
2875
|
+
##### [select_picker_wheel](https://github.com/appium/ruby_lib/blob/e8b0362ffcad51b85243b129e14f8cde3f9f562f/lib/appium_lib/ios/xcuitest/command/gestures.rb#L145) ios
|
2876
2876
|
|
2877
2877
|
> def select_picker_wheel(element:, order:, offset: nil)
|
2878
2878
|
|
@@ -2889,7 +2889,7 @@ __Parameters:__
|
|
2889
2889
|
|
2890
2890
|
--
|
2891
2891
|
|
2892
|
-
##### [alert](https://github.com/appium/ruby_lib/blob/
|
2892
|
+
##### [alert](https://github.com/appium/ruby_lib/blob/e8b0362ffcad51b85243b129e14f8cde3f9f562f/lib/appium_lib/ios/xcuitest/command/gestures.rb#L163) ios
|
2893
2893
|
|
2894
2894
|
> def alert(action:, button_label: nil)
|
2895
2895
|
|
@@ -2904,7 +2904,7 @@ This is an optional parameter and is only valid in combination with accept and d
|
|
2904
2904
|
|
2905
2905
|
--
|
2906
2906
|
|
2907
|
-
##### [text_field_class](https://github.com/appium/ruby_lib/blob/
|
2907
|
+
##### [text_field_class](https://github.com/appium/ruby_lib/blob/e8b0362ffcad51b85243b129e14f8cde3f9f562f/lib/appium_lib/ios/xcuitest/element/textfield.rb#L9) ios
|
2908
2908
|
|
2909
2909
|
> def text_field_class
|
2910
2910
|
|
@@ -2916,7 +2916,7 @@ __Returns:__
|
|
2916
2916
|
|
2917
2917
|
--
|
2918
2918
|
|
2919
|
-
##### [secure_text_field_class](https://github.com/appium/ruby_lib/blob/
|
2919
|
+
##### [secure_text_field_class](https://github.com/appium/ruby_lib/blob/e8b0362ffcad51b85243b129e14f8cde3f9f562f/lib/appium_lib/ios/xcuitest/element/textfield.rb#L14) ios
|
2920
2920
|
|
2921
2921
|
> def secure_text_field_class
|
2922
2922
|
|
@@ -2928,7 +2928,7 @@ __Returns:__
|
|
2928
2928
|
|
2929
2929
|
--
|
2930
2930
|
|
2931
|
-
##### [textfield](https://github.com/appium/ruby_lib/blob/
|
2931
|
+
##### [textfield](https://github.com/appium/ruby_lib/blob/e8b0362ffcad51b85243b129e14f8cde3f9f562f/lib/appium_lib/ios/xcuitest/element/textfield.rb#L23) ios
|
2932
2932
|
|
2933
2933
|
> def textfield(value)
|
2934
2934
|
|
@@ -2946,7 +2946,7 @@ __Returns:__
|
|
2946
2946
|
|
2947
2947
|
--
|
2948
2948
|
|
2949
|
-
##### [textfields](https://github.com/appium/ruby_lib/blob/
|
2949
|
+
##### [textfields](https://github.com/appium/ruby_lib/blob/e8b0362ffcad51b85243b129e14f8cde3f9f562f/lib/appium_lib/ios/xcuitest/element/textfield.rb#L41) ios
|
2950
2950
|
|
2951
2951
|
> def textfields(value = false)
|
2952
2952
|
|
@@ -2963,7 +2963,7 @@ __Returns:__
|
|
2963
2963
|
|
2964
2964
|
--
|
2965
2965
|
|
2966
|
-
##### [first_textfield](https://github.com/appium/ruby_lib/blob/
|
2966
|
+
##### [first_textfield](https://github.com/appium/ruby_lib/blob/e8b0362ffcad51b85243b129e14f8cde3f9f562f/lib/appium_lib/ios/xcuitest/element/textfield.rb#L50) ios
|
2967
2967
|
|
2968
2968
|
> def first_textfield
|
2969
2969
|
|
@@ -2975,7 +2975,7 @@ __Returns:__
|
|
2975
2975
|
|
2976
2976
|
--
|
2977
2977
|
|
2978
|
-
##### [last_textfield](https://github.com/appium/ruby_lib/blob/
|
2978
|
+
##### [last_textfield](https://github.com/appium/ruby_lib/blob/e8b0362ffcad51b85243b129e14f8cde3f9f562f/lib/appium_lib/ios/xcuitest/element/textfield.rb#L56) ios
|
2979
2979
|
|
2980
2980
|
> def last_textfield
|
2981
2981
|
|
@@ -2987,7 +2987,7 @@ __Returns:__
|
|
2987
2987
|
|
2988
2988
|
--
|
2989
2989
|
|
2990
|
-
##### [textfield_exact](https://github.com/appium/ruby_lib/blob/
|
2990
|
+
##### [textfield_exact](https://github.com/appium/ruby_lib/blob/e8b0362ffcad51b85243b129e14f8cde3f9f562f/lib/appium_lib/ios/xcuitest/element/textfield.rb#L65) ios
|
2991
2991
|
|
2992
2992
|
> def textfield_exact(value)
|
2993
2993
|
|
@@ -3003,7 +3003,7 @@ __Returns:__
|
|
3003
3003
|
|
3004
3004
|
--
|
3005
3005
|
|
3006
|
-
##### [textfields_exact](https://github.com/appium/ruby_lib/blob/
|
3006
|
+
##### [textfields_exact](https://github.com/appium/ruby_lib/blob/e8b0362ffcad51b85243b129e14f8cde3f9f562f/lib/appium_lib/ios/xcuitest/element/textfield.rb#L72) ios
|
3007
3007
|
|
3008
3008
|
> def textfields_exact(value)
|
3009
3009
|
|
@@ -3019,7 +3019,7 @@ __Returns:__
|
|
3019
3019
|
|
3020
3020
|
--
|
3021
3021
|
|
3022
|
-
##### [set_pasteboard](https://github.com/appium/ruby_lib/blob/
|
3022
|
+
##### [set_pasteboard](https://github.com/appium/ruby_lib/blob/e8b0362ffcad51b85243b129e14f8cde3f9f562f/lib/appium_lib/ios/xcuitest/command/pasteboard.rb#L12) ios
|
3023
3023
|
|
3024
3024
|
> def set_pasteboard(content:, encoding: nil)
|
3025
3025
|
|
@@ -3034,7 +3034,7 @@ The parameter is mandatory
|
|
3034
3034
|
|
3035
3035
|
--
|
3036
3036
|
|
3037
|
-
##### [get_pasteboard](https://github.com/appium/ruby_lib/blob/
|
3037
|
+
##### [get_pasteboard](https://github.com/appium/ruby_lib/blob/e8b0362ffcad51b85243b129e14f8cde3f9f562f/lib/appium_lib/ios/xcuitest/command/pasteboard.rb#L24) ios
|
3038
3038
|
|
3039
3039
|
> def get_pasteboard(encoding: nil)
|
3040
3040
|
|
@@ -3046,7 +3046,7 @@ __Parameters:__
|
|
3046
3046
|
|
3047
3047
|
--
|
3048
3048
|
|
3049
|
-
##### [xcuitest_install_app](https://github.com/appium/ruby_lib/blob/
|
3049
|
+
##### [xcuitest_install_app](https://github.com/appium/ruby_lib/blob/e8b0362ffcad51b85243b129e14f8cde3f9f562f/lib/appium_lib/ios/xcuitest/command/multi_app_handler.rb#L21) ios
|
3050
3050
|
|
3051
3051
|
> def xcuitest_install_app(app:)
|
3052
3052
|
|
@@ -3062,7 +3062,7 @@ or an URL pointing to a remote .ipa/.zip file. Mandatory argument.
|
|
3062
3062
|
|
3063
3063
|
--
|
3064
3064
|
|
3065
|
-
##### [xcuitest_app_installed?](https://github.com/appium/ruby_lib/blob/
|
3065
|
+
##### [xcuitest_app_installed?](https://github.com/appium/ruby_lib/blob/e8b0362ffcad51b85243b129e14f8cde3f9f562f/lib/appium_lib/ios/xcuitest/command/multi_app_handler.rb#L35) ios
|
3066
3066
|
|
3067
3067
|
> def xcuitest_app_installed?(bundle_id:)
|
3068
3068
|
|
@@ -3078,7 +3078,7 @@ __Returns:__
|
|
3078
3078
|
|
3079
3079
|
--
|
3080
3080
|
|
3081
|
-
##### [xcuitest_remove_app](https://github.com/appium/ruby_lib/blob/
|
3081
|
+
##### [xcuitest_remove_app](https://github.com/appium/ruby_lib/blob/e8b0362ffcad51b85243b129e14f8cde3f9f562f/lib/appium_lib/ios/xcuitest/command/multi_app_handler.rb#L50) ios
|
3082
3082
|
|
3083
3083
|
> def xcuitest_remove_app(bundle_id:)
|
3084
3084
|
|
@@ -3091,7 +3091,7 @@ __Parameters:__
|
|
3091
3091
|
|
3092
3092
|
--
|
3093
3093
|
|
3094
|
-
##### [xcuitest_launch_app](https://github.com/appium/ruby_lib/blob/
|
3094
|
+
##### [xcuitest_launch_app](https://github.com/appium/ruby_lib/blob/e8b0362ffcad51b85243b129e14f8cde3f9f562f/lib/appium_lib/ios/xcuitest/command/multi_app_handler.rb#L65) ios
|
3095
3095
|
|
3096
3096
|
> def xcuitest_launch_app(bundle_id:)
|
3097
3097
|
|
@@ -3104,7 +3104,7 @@ __Parameters:__
|
|
3104
3104
|
|
3105
3105
|
--
|
3106
3106
|
|
3107
|
-
##### [xcuitest_terminate_app](https://github.com/appium/ruby_lib/blob/
|
3107
|
+
##### [xcuitest_terminate_app](https://github.com/appium/ruby_lib/blob/e8b0362ffcad51b85243b129e14f8cde3f9f562f/lib/appium_lib/ios/xcuitest/command/multi_app_handler.rb#L80) ios
|
3108
3108
|
|
3109
3109
|
> def xcuitest_terminate_app(bundle_id:)
|
3110
3110
|
|
@@ -3117,7 +3117,7 @@ __Parameters:__
|
|
3117
3117
|
|
3118
3118
|
--
|
3119
3119
|
|
3120
|
-
##### [xcuitest_query_app_status](https://github.com/appium/ruby_lib/blob/
|
3120
|
+
##### [xcuitest_query_app_status](https://github.com/appium/ruby_lib/blob/e8b0362ffcad51b85243b129e14f8cde3f9f562f/lib/appium_lib/ios/xcuitest/command/multi_app_handler.rb#L102) ios
|
3121
3121
|
|
3122
3122
|
> def xcuitest_query_app_status(bundle_id:)
|
3123
3123
|
|
@@ -3141,7 +3141,7 @@ __Returns:__
|
|
3141
3141
|
|
3142
3142
|
--
|
3143
3143
|
|
3144
|
-
##### [xcuitest_activate_app](https://github.com/appium/ruby_lib/blob/
|
3144
|
+
##### [xcuitest_activate_app](https://github.com/appium/ruby_lib/blob/e8b0362ffcad51b85243b129e14f8cde3f9f562f/lib/appium_lib/ios/xcuitest/command/multi_app_handler.rb#L118) ios
|
3145
3145
|
|
3146
3146
|
> def xcuitest_activate_app(bundle_id:)
|
3147
3147
|
|