appium_lib 5.0.1 → 6.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/docs/android_docs.md +194 -186
- data/docs/index_paths.md +24 -0
- data/docs/ios_docs.md +189 -181
- data/lib/appium_lib/common/patch.rb +5 -5
- data/lib/appium_lib/common/version.rb +2 -2
- data/lib/appium_lib/driver.rb +11 -11
- data/lib/appium_lib/logger.rb +15 -3
- data/readme.md +8 -0
- data/release_notes.md +9 -0
- metadata +3 -2
data/docs/index_paths.md
ADDED
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
# Index Paths on iOS
|
|
2
|
+
|
|
3
|
+
Elements on iOS have an [index path attribute](https://github.com/appium/appium-uiauto/blob/2cf1e30801263dfc01627ded28a1be5af1083bc5/uiauto/lib/element-patch/tree-patch.js#L9)
|
|
4
|
+
that appium calculates when the page source is requested. Note this is not the same as xpath.
|
|
5
|
+
|
|
6
|
+
> <UIAStaticText name="Alerts" label="Alerts" value="Alerts" dom="" enabled="true" valid="true" visible="true" hint="" path="/0/1/1/10/0" x="17.578125" y="596" width="53.90625" height="25.78125">
|
|
7
|
+
|
|
8
|
+
The index path can be used by calling [getElementByIndexPath]( https://github.com/appium/appium-uiauto/blob/af1befa8208074686cd38b845ddefabc057106fc/uiauto/lib/mechanic-ext/xpath-ext.js#L239):
|
|
9
|
+
|
|
10
|
+
```ruby
|
|
11
|
+
# ruby example
|
|
12
|
+
execute_script('$.getElementByIndexPath("/0/1/1/10/0")').text # Alerts
|
|
13
|
+
```
|
|
14
|
+
|
|
15
|
+
Internally what happens is `/0/1/1/10/0` is transformed into `1/1/10/0` and executed as follows:
|
|
16
|
+
|
|
17
|
+
```ruby
|
|
18
|
+
# ruby example
|
|
19
|
+
execute_script('$.mainApp().elements()[1].elements()[1].elements()[10].elements()[0]').text # Alerts
|
|
20
|
+
```
|
|
21
|
+
|
|
22
|
+
The initial 0 refers to the context so that's [discarded](https://github.com/appium/appium-uiauto/blob/af1befa8208074686cd38b845ddefabc057106fc/uiauto/lib/mechanic-ext/xpath-ext.js#L218).
|
|
23
|
+
|
|
24
|
+
In summary, you shouldn't try and convert the index path to an xpath. It's meant to be used via the built in helper method.
|
data/docs/ios_docs.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
##### [load_appium_txt](https://github.com/appium/ruby_lib/blob/
|
|
1
|
+
##### [load_appium_txt](https://github.com/appium/ruby_lib/blob/ea11190b9ab36e34226d988f85fe612af6f769de/lib/appium_lib/driver.rb#L69)
|
|
2
2
|
|
|
3
3
|
> def self.load_appium_txt opts={}
|
|
4
4
|
|
|
@@ -27,7 +27,7 @@ __Returns:__
|
|
|
27
27
|
|
|
28
28
|
--
|
|
29
29
|
|
|
30
|
-
##### [symbolize_keys](https://github.com/appium/ruby_lib/blob/
|
|
30
|
+
##### [symbolize_keys](https://github.com/appium/ruby_lib/blob/ea11190b9ab36e34226d988f85fe612af6f769de/lib/appium_lib/driver.rb#L139)
|
|
31
31
|
|
|
32
32
|
> def self.symbolize_keys hash
|
|
33
33
|
|
|
@@ -38,7 +38,7 @@ https://github.com/rails/docrails/blob/a3b1105ada3da64acfa3843b164b14b734456a50/
|
|
|
38
38
|
|
|
39
39
|
--
|
|
40
40
|
|
|
41
|
-
##### [promote_singleton_appium_methods](https://github.com/appium/ruby_lib/blob/
|
|
41
|
+
##### [promote_singleton_appium_methods](https://github.com/appium/ruby_lib/blob/ea11190b9ab36e34226d988f85fe612af6f769de/lib/appium_lib/driver.rb#L152)
|
|
42
42
|
|
|
43
43
|
> def self.promote_singleton_appium_methods modules
|
|
44
44
|
|
|
@@ -48,7 +48,7 @@ otherwise, the array of modules will be used as the promotion target.
|
|
|
48
48
|
|
|
49
49
|
--
|
|
50
50
|
|
|
51
|
-
##### [promote_appium_methods](https://github.com/appium/ruby_lib/blob/
|
|
51
|
+
##### [promote_appium_methods](https://github.com/appium/ruby_lib/blob/ea11190b9ab36e34226d988f85fe612af6f769de/lib/appium_lib/driver.rb#L192)
|
|
52
52
|
|
|
53
53
|
> def self.promote_appium_methods class_array
|
|
54
54
|
|
|
@@ -66,7 +66,7 @@ __Parameters:__
|
|
|
66
66
|
|
|
67
67
|
--
|
|
68
68
|
|
|
69
|
-
##### [global_webdriver_http_sleep](https://github.com/appium/ruby_lib/blob/
|
|
69
|
+
##### [global_webdriver_http_sleep](https://github.com/appium/ruby_lib/blob/ea11190b9ab36e34226d988f85fe612af6f769de/lib/appium_lib/driver.rb#L228)
|
|
70
70
|
|
|
71
71
|
> def global_webdriver_http_sleep
|
|
72
72
|
|
|
@@ -74,7 +74,7 @@ The amount to sleep in seconds before every webdriver http call.
|
|
|
74
74
|
|
|
75
75
|
--
|
|
76
76
|
|
|
77
|
-
##### [global_webdriver_http_sleep=](https://github.com/appium/ruby_lib/blob/
|
|
77
|
+
##### [global_webdriver_http_sleep=](https://github.com/appium/ruby_lib/blob/ea11190b9ab36e34226d988f85fe612af6f769de/lib/appium_lib/driver.rb#L228)
|
|
78
78
|
|
|
79
79
|
> def global_webdriver_http_sleep=(value)
|
|
80
80
|
|
|
@@ -82,7 +82,7 @@ The amount to sleep in seconds before every webdriver http call.
|
|
|
82
82
|
|
|
83
83
|
--
|
|
84
84
|
|
|
85
|
-
##### [caps](https://github.com/appium/ruby_lib/blob/
|
|
85
|
+
##### [caps](https://github.com/appium/ruby_lib/blob/ea11190b9ab36e34226d988f85fe612af6f769de/lib/appium_lib/driver.rb#L230)
|
|
86
86
|
|
|
87
87
|
> def caps
|
|
88
88
|
|
|
@@ -90,7 +90,7 @@ Selenium webdriver capabilities
|
|
|
90
90
|
|
|
91
91
|
--
|
|
92
92
|
|
|
93
|
-
##### [caps=](https://github.com/appium/ruby_lib/blob/
|
|
93
|
+
##### [caps=](https://github.com/appium/ruby_lib/blob/ea11190b9ab36e34226d988f85fe612af6f769de/lib/appium_lib/driver.rb#L230)
|
|
94
94
|
|
|
95
95
|
> def caps=(value)
|
|
96
96
|
|
|
@@ -98,7 +98,7 @@ Selenium webdriver capabilities
|
|
|
98
98
|
|
|
99
99
|
--
|
|
100
100
|
|
|
101
|
-
##### [custom_url](https://github.com/appium/ruby_lib/blob/
|
|
101
|
+
##### [custom_url](https://github.com/appium/ruby_lib/blob/ea11190b9ab36e34226d988f85fe612af6f769de/lib/appium_lib/driver.rb#L232)
|
|
102
102
|
|
|
103
103
|
> def custom_url
|
|
104
104
|
|
|
@@ -106,7 +106,7 @@ Custom URL for the selenium server
|
|
|
106
106
|
|
|
107
107
|
--
|
|
108
108
|
|
|
109
|
-
##### [custom_url=](https://github.com/appium/ruby_lib/blob/
|
|
109
|
+
##### [custom_url=](https://github.com/appium/ruby_lib/blob/ea11190b9ab36e34226d988f85fe612af6f769de/lib/appium_lib/driver.rb#L232)
|
|
110
110
|
|
|
111
111
|
> def custom_url=(value)
|
|
112
112
|
|
|
@@ -114,7 +114,7 @@ Custom URL for the selenium server
|
|
|
114
114
|
|
|
115
115
|
--
|
|
116
116
|
|
|
117
|
-
##### [export_session](https://github.com/appium/ruby_lib/blob/
|
|
117
|
+
##### [export_session](https://github.com/appium/ruby_lib/blob/ea11190b9ab36e34226d988f85fe612af6f769de/lib/appium_lib/driver.rb#L234)
|
|
118
118
|
|
|
119
119
|
> def export_session
|
|
120
120
|
|
|
@@ -122,7 +122,7 @@ Export session id to textfile in /tmp for 3rd party tools
|
|
|
122
122
|
|
|
123
123
|
--
|
|
124
124
|
|
|
125
|
-
##### [export_session=](https://github.com/appium/ruby_lib/blob/
|
|
125
|
+
##### [export_session=](https://github.com/appium/ruby_lib/blob/ea11190b9ab36e34226d988f85fe612af6f769de/lib/appium_lib/driver.rb#L234)
|
|
126
126
|
|
|
127
127
|
> def export_session=(value)
|
|
128
128
|
|
|
@@ -130,7 +130,7 @@ Export session id to textfile in /tmp for 3rd party tools
|
|
|
130
130
|
|
|
131
131
|
--
|
|
132
132
|
|
|
133
|
-
##### [default_wait](https://github.com/appium/ruby_lib/blob/
|
|
133
|
+
##### [default_wait](https://github.com/appium/ruby_lib/blob/ea11190b9ab36e34226d988f85fe612af6f769de/lib/appium_lib/driver.rb#L236)
|
|
134
134
|
|
|
135
135
|
> def default_wait
|
|
136
136
|
|
|
@@ -143,7 +143,7 @@ __Returns:__
|
|
|
143
143
|
|
|
144
144
|
--
|
|
145
145
|
|
|
146
|
-
##### [default_wait=](https://github.com/appium/ruby_lib/blob/
|
|
146
|
+
##### [default_wait=](https://github.com/appium/ruby_lib/blob/ea11190b9ab36e34226d988f85fe612af6f769de/lib/appium_lib/driver.rb#L236)
|
|
147
147
|
|
|
148
148
|
> def default_wait=(value)
|
|
149
149
|
|
|
@@ -151,7 +151,7 @@ Default wait time for elements to appear
|
|
|
151
151
|
|
|
152
152
|
--
|
|
153
153
|
|
|
154
|
-
##### [last_waits](https://github.com/appium/ruby_lib/blob/
|
|
154
|
+
##### [last_waits](https://github.com/appium/ruby_lib/blob/ea11190b9ab36e34226d988f85fe612af6f769de/lib/appium_lib/driver.rb#L238)
|
|
155
155
|
|
|
156
156
|
> def last_waits
|
|
157
157
|
|
|
@@ -159,7 +159,7 @@ Array of previous wait time values
|
|
|
159
159
|
|
|
160
160
|
--
|
|
161
161
|
|
|
162
|
-
##### [last_waits=](https://github.com/appium/ruby_lib/blob/
|
|
162
|
+
##### [last_waits=](https://github.com/appium/ruby_lib/blob/ea11190b9ab36e34226d988f85fe612af6f769de/lib/appium_lib/driver.rb#L238)
|
|
163
163
|
|
|
164
164
|
> def last_waits=(value)
|
|
165
165
|
|
|
@@ -167,7 +167,7 @@ Array of previous wait time values
|
|
|
167
167
|
|
|
168
168
|
--
|
|
169
169
|
|
|
170
|
-
##### [sauce_username](https://github.com/appium/ruby_lib/blob/
|
|
170
|
+
##### [sauce_username](https://github.com/appium/ruby_lib/blob/ea11190b9ab36e34226d988f85fe612af6f769de/lib/appium_lib/driver.rb#L240)
|
|
171
171
|
|
|
172
172
|
> def sauce_username
|
|
173
173
|
|
|
@@ -175,7 +175,7 @@ Username for use on Sauce Labs
|
|
|
175
175
|
|
|
176
176
|
--
|
|
177
177
|
|
|
178
|
-
##### [sauce_username=](https://github.com/appium/ruby_lib/blob/
|
|
178
|
+
##### [sauce_username=](https://github.com/appium/ruby_lib/blob/ea11190b9ab36e34226d988f85fe612af6f769de/lib/appium_lib/driver.rb#L240)
|
|
179
179
|
|
|
180
180
|
> def sauce_username=(value)
|
|
181
181
|
|
|
@@ -183,7 +183,7 @@ Username for use on Sauce Labs
|
|
|
183
183
|
|
|
184
184
|
--
|
|
185
185
|
|
|
186
|
-
##### [sauce_access_key](https://github.com/appium/ruby_lib/blob/
|
|
186
|
+
##### [sauce_access_key](https://github.com/appium/ruby_lib/blob/ea11190b9ab36e34226d988f85fe612af6f769de/lib/appium_lib/driver.rb#L242)
|
|
187
187
|
|
|
188
188
|
> def sauce_access_key
|
|
189
189
|
|
|
@@ -191,7 +191,7 @@ Access Key for use on Sauce Labs
|
|
|
191
191
|
|
|
192
192
|
--
|
|
193
193
|
|
|
194
|
-
##### [sauce_access_key=](https://github.com/appium/ruby_lib/blob/
|
|
194
|
+
##### [sauce_access_key=](https://github.com/appium/ruby_lib/blob/ea11190b9ab36e34226d988f85fe612af6f769de/lib/appium_lib/driver.rb#L242)
|
|
195
195
|
|
|
196
196
|
> def sauce_access_key=(value)
|
|
197
197
|
|
|
@@ -199,7 +199,7 @@ Access Key for use on Sauce Labs
|
|
|
199
199
|
|
|
200
200
|
--
|
|
201
201
|
|
|
202
|
-
##### [appium_port](https://github.com/appium/ruby_lib/blob/
|
|
202
|
+
##### [appium_port](https://github.com/appium/ruby_lib/blob/ea11190b9ab36e34226d988f85fe612af6f769de/lib/appium_lib/driver.rb#L244)
|
|
203
203
|
|
|
204
204
|
> def appium_port
|
|
205
205
|
|
|
@@ -207,7 +207,7 @@ Appium's server port
|
|
|
207
207
|
|
|
208
208
|
--
|
|
209
209
|
|
|
210
|
-
##### [appium_port=](https://github.com/appium/ruby_lib/blob/
|
|
210
|
+
##### [appium_port=](https://github.com/appium/ruby_lib/blob/ea11190b9ab36e34226d988f85fe612af6f769de/lib/appium_lib/driver.rb#L244)
|
|
211
211
|
|
|
212
212
|
> def appium_port=(value)
|
|
213
213
|
|
|
@@ -215,7 +215,7 @@ Appium's server port
|
|
|
215
215
|
|
|
216
216
|
--
|
|
217
217
|
|
|
218
|
-
##### [appium_device](https://github.com/appium/ruby_lib/blob/
|
|
218
|
+
##### [appium_device](https://github.com/appium/ruby_lib/blob/ea11190b9ab36e34226d988f85fe612af6f769de/lib/appium_lib/driver.rb#L246)
|
|
219
219
|
|
|
220
220
|
> def appium_device
|
|
221
221
|
|
|
@@ -223,7 +223,7 @@ Device type to request from the appium server
|
|
|
223
223
|
|
|
224
224
|
--
|
|
225
225
|
|
|
226
|
-
##### [appium_device=](https://github.com/appium/ruby_lib/blob/
|
|
226
|
+
##### [appium_device=](https://github.com/appium/ruby_lib/blob/ea11190b9ab36e34226d988f85fe612af6f769de/lib/appium_lib/driver.rb#L246)
|
|
227
227
|
|
|
228
228
|
> def appium_device=(value)
|
|
229
229
|
|
|
@@ -231,7 +231,7 @@ Device type to request from the appium server
|
|
|
231
231
|
|
|
232
232
|
--
|
|
233
233
|
|
|
234
|
-
##### [appium_debug](https://github.com/appium/ruby_lib/blob/
|
|
234
|
+
##### [appium_debug](https://github.com/appium/ruby_lib/blob/ea11190b9ab36e34226d988f85fe612af6f769de/lib/appium_lib/driver.rb#L248)
|
|
235
235
|
|
|
236
236
|
> def appium_debug
|
|
237
237
|
|
|
@@ -239,7 +239,7 @@ Boolean debug mode for the Appium Ruby bindings
|
|
|
239
239
|
|
|
240
240
|
--
|
|
241
241
|
|
|
242
|
-
##### [appium_debug=](https://github.com/appium/ruby_lib/blob/
|
|
242
|
+
##### [appium_debug=](https://github.com/appium/ruby_lib/blob/ea11190b9ab36e34226d988f85fe612af6f769de/lib/appium_lib/driver.rb#L248)
|
|
243
243
|
|
|
244
244
|
> def appium_debug=(value)
|
|
245
245
|
|
|
@@ -247,7 +247,7 @@ Boolean debug mode for the Appium Ruby bindings
|
|
|
247
247
|
|
|
248
248
|
--
|
|
249
249
|
|
|
250
|
-
##### [initialize](https://github.com/appium/ruby_lib/blob/
|
|
250
|
+
##### [initialize](https://github.com/appium/ruby_lib/blob/ea11190b9ab36e34226d988f85fe612af6f769de/lib/appium_lib/driver.rb#L269)
|
|
251
251
|
|
|
252
252
|
> def initialize opts={}
|
|
253
253
|
|
|
@@ -278,7 +278,7 @@ __Returns:__
|
|
|
278
278
|
|
|
279
279
|
--
|
|
280
280
|
|
|
281
|
-
##### [driver_attributes](https://github.com/appium/ruby_lib/blob/
|
|
281
|
+
##### [driver_attributes](https://github.com/appium/ruby_lib/blob/ea11190b9ab36e34226d988f85fe612af6f769de/lib/appium_lib/driver.rb#L344)
|
|
282
282
|
|
|
283
283
|
> def driver_attributes
|
|
284
284
|
|
|
@@ -286,7 +286,7 @@ Returns a hash of the driver attributes
|
|
|
286
286
|
|
|
287
287
|
--
|
|
288
288
|
|
|
289
|
-
##### [device_is_android?](https://github.com/appium/ruby_lib/blob/
|
|
289
|
+
##### [device_is_android?](https://github.com/appium/ruby_lib/blob/ea11190b9ab36e34226d988f85fe612af6f769de/lib/appium_lib/driver.rb#L364)
|
|
290
290
|
|
|
291
291
|
> def device_is_android?
|
|
292
292
|
|
|
@@ -298,7 +298,7 @@ __Returns:__
|
|
|
298
298
|
|
|
299
299
|
--
|
|
300
300
|
|
|
301
|
-
##### [appium_server_version](https://github.com/appium/ruby_lib/blob/
|
|
301
|
+
##### [appium_server_version](https://github.com/appium/ruby_lib/blob/ea11190b9ab36e34226d988f85fe612af6f769de/lib/appium_lib/driver.rb#L380)
|
|
302
302
|
|
|
303
303
|
> def appium_server_version
|
|
304
304
|
|
|
@@ -319,7 +319,7 @@ __Returns:__
|
|
|
319
319
|
|
|
320
320
|
--
|
|
321
321
|
|
|
322
|
-
##### [absolute_app_path](https://github.com/appium/ruby_lib/blob/
|
|
322
|
+
##### [absolute_app_path](https://github.com/appium/ruby_lib/blob/ea11190b9ab36e34226d988f85fe612af6f769de/lib/appium_lib/driver.rb#L392)
|
|
323
323
|
|
|
324
324
|
> def self.absolute_app_path opts
|
|
325
325
|
|
|
@@ -336,7 +336,7 @@ __Returns:__
|
|
|
336
336
|
|
|
337
337
|
--
|
|
338
338
|
|
|
339
|
-
##### [server_url](https://github.com/appium/ruby_lib/blob/
|
|
339
|
+
##### [server_url](https://github.com/appium/ruby_lib/blob/ea11190b9ab36e34226d988f85fe612af6f769de/lib/appium_lib/driver.rb#L425)
|
|
340
340
|
|
|
341
341
|
> def server_url
|
|
342
342
|
|
|
@@ -348,7 +348,7 @@ __Returns:__
|
|
|
348
348
|
|
|
349
349
|
--
|
|
350
350
|
|
|
351
|
-
##### [restart](https://github.com/appium/ruby_lib/blob/
|
|
351
|
+
##### [restart](https://github.com/appium/ruby_lib/blob/ea11190b9ab36e34226d988f85fe612af6f769de/lib/appium_lib/driver.rb#L436)
|
|
352
352
|
|
|
353
353
|
> def restart
|
|
354
354
|
|
|
@@ -360,7 +360,7 @@ __Returns:__
|
|
|
360
360
|
|
|
361
361
|
--
|
|
362
362
|
|
|
363
|
-
##### [driver](https://github.com/appium/ruby_lib/blob/
|
|
363
|
+
##### [driver](https://github.com/appium/ruby_lib/blob/ea11190b9ab36e34226d988f85fe612af6f769de/lib/appium_lib/driver.rb#L443)
|
|
364
364
|
|
|
365
365
|
> def driver
|
|
366
366
|
|
|
@@ -372,7 +372,7 @@ __Returns:__
|
|
|
372
372
|
|
|
373
373
|
--
|
|
374
374
|
|
|
375
|
-
##### [screenshot](https://github.com/appium/ruby_lib/blob/
|
|
375
|
+
##### [screenshot](https://github.com/appium/ruby_lib/blob/ea11190b9ab36e34226d988f85fe612af6f769de/lib/appium_lib/driver.rb#L453)
|
|
376
376
|
|
|
377
377
|
> def screenshot png_save_path
|
|
378
378
|
|
|
@@ -390,7 +390,7 @@ __Returns:__
|
|
|
390
390
|
|
|
391
391
|
--
|
|
392
392
|
|
|
393
|
-
##### [driver_quit](https://github.com/appium/ruby_lib/blob/
|
|
393
|
+
##### [driver_quit](https://github.com/appium/ruby_lib/blob/ea11190b9ab36e34226d988f85fe612af6f769de/lib/appium_lib/driver.rb#L460)
|
|
394
394
|
|
|
395
395
|
> def driver_quit
|
|
396
396
|
|
|
@@ -402,7 +402,7 @@ __Returns:__
|
|
|
402
402
|
|
|
403
403
|
--
|
|
404
404
|
|
|
405
|
-
##### [start_driver](https://github.com/appium/ruby_lib/blob/
|
|
405
|
+
##### [start_driver](https://github.com/appium/ruby_lib/blob/ea11190b9ab36e34226d988f85fe612af6f769de/lib/appium_lib/driver.rb#L468)
|
|
406
406
|
|
|
407
407
|
> def start_driver
|
|
408
408
|
|
|
@@ -414,7 +414,7 @@ __Returns:__
|
|
|
414
414
|
|
|
415
415
|
--
|
|
416
416
|
|
|
417
|
-
##### [no_wait](https://github.com/appium/ruby_lib/blob/
|
|
417
|
+
##### [no_wait](https://github.com/appium/ruby_lib/blob/ea11190b9ab36e34226d988f85fe612af6f769de/lib/appium_lib/driver.rb#L494)
|
|
418
418
|
|
|
419
419
|
> def no_wait
|
|
420
420
|
|
|
@@ -422,7 +422,7 @@ Set implicit wait and default_wait to zero.
|
|
|
422
422
|
|
|
423
423
|
--
|
|
424
424
|
|
|
425
|
-
##### [set_wait](https://github.com/appium/ruby_lib/blob/
|
|
425
|
+
##### [set_wait](https://github.com/appium/ruby_lib/blob/ea11190b9ab36e34226d988f85fe612af6f769de/lib/appium_lib/driver.rb#L513)
|
|
426
426
|
|
|
427
427
|
> def set_wait timeout=nil
|
|
428
428
|
|
|
@@ -447,7 +447,7 @@ __Returns:__
|
|
|
447
447
|
|
|
448
448
|
--
|
|
449
449
|
|
|
450
|
-
##### [exists](https://github.com/appium/ruby_lib/blob/
|
|
450
|
+
##### [exists](https://github.com/appium/ruby_lib/blob/ea11190b9ab36e34226d988f85fe612af6f769de/lib/appium_lib/driver.rb#L547)
|
|
451
451
|
|
|
452
452
|
> def exists pre_check=0, post_check=@default_wait, &search_block
|
|
453
453
|
|
|
@@ -473,7 +473,7 @@ __Returns:__
|
|
|
473
473
|
|
|
474
474
|
--
|
|
475
475
|
|
|
476
|
-
##### [execute_script](https://github.com/appium/ruby_lib/blob/
|
|
476
|
+
##### [execute_script](https://github.com/appium/ruby_lib/blob/ea11190b9ab36e34226d988f85fe612af6f769de/lib/appium_lib/driver.rb#L571)
|
|
477
477
|
|
|
478
478
|
> def execute_script script, *args
|
|
479
479
|
|
|
@@ -491,7 +491,7 @@ __Returns:__
|
|
|
491
491
|
|
|
492
492
|
--
|
|
493
493
|
|
|
494
|
-
##### [find_elements](https://github.com/appium/ruby_lib/blob/
|
|
494
|
+
##### [find_elements](https://github.com/appium/ruby_lib/blob/ea11190b9ab36e34226d988f85fe612af6f769de/lib/appium_lib/driver.rb#L579)
|
|
495
495
|
|
|
496
496
|
> def find_elements *args
|
|
497
497
|
|
|
@@ -507,7 +507,7 @@ __Returns:__
|
|
|
507
507
|
|
|
508
508
|
--
|
|
509
509
|
|
|
510
|
-
##### [find_element](https://github.com/appium/ruby_lib/blob/
|
|
510
|
+
##### [find_element](https://github.com/appium/ruby_lib/blob/ea11190b9ab36e34226d988f85fe612af6f769de/lib/appium_lib/driver.rb#L587)
|
|
511
511
|
|
|
512
512
|
> def find_element *args
|
|
513
513
|
|
|
@@ -523,7 +523,7 @@ __Returns:__
|
|
|
523
523
|
|
|
524
524
|
--
|
|
525
525
|
|
|
526
|
-
##### [x](https://github.com/appium/ruby_lib/blob/
|
|
526
|
+
##### [x](https://github.com/appium/ruby_lib/blob/ea11190b9ab36e34226d988f85fe612af6f769de/lib/appium_lib/driver.rb#L594)
|
|
527
527
|
|
|
528
528
|
> def x
|
|
529
529
|
|
|
@@ -536,7 +536,15 @@ __Returns:__
|
|
|
536
536
|
|
|
537
537
|
--
|
|
538
538
|
|
|
539
|
-
##### [
|
|
539
|
+
##### [logger](https://github.com/appium/ruby_lib/blob/ea11190b9ab36e34226d988f85fe612af6f769de/lib/appium_lib/logger.rb#L15)
|
|
540
|
+
|
|
541
|
+
> def logger
|
|
542
|
+
|
|
543
|
+
|
|
544
|
+
|
|
545
|
+
--
|
|
546
|
+
|
|
547
|
+
##### [NoArgMethods](https://github.com/appium/ruby_lib/blob/ea11190b9ab36e34226d988f85fe612af6f769de/lib/appium_lib/device/device.rb#L7)
|
|
540
548
|
|
|
541
549
|
> NoArgMethods = {
|
|
542
550
|
|
|
@@ -544,7 +552,7 @@ __Returns:__
|
|
|
544
552
|
|
|
545
553
|
--
|
|
546
554
|
|
|
547
|
-
##### [app_strings](https://github.com/appium/ruby_lib/blob/
|
|
555
|
+
##### [app_strings](https://github.com/appium/ruby_lib/blob/ea11190b9ab36e34226d988f85fe612af6f769de/lib/appium_lib/device/device.rb#L23)
|
|
548
556
|
|
|
549
557
|
> def app_strings
|
|
550
558
|
|
|
@@ -555,7 +563,7 @@ app_strings #=> "TransitionsTitle"=>"Transitions", "WebTitle"=>"Web"
|
|
|
555
563
|
|
|
556
564
|
--
|
|
557
565
|
|
|
558
|
-
##### [background_app](https://github.com/appium/ruby_lib/blob/
|
|
566
|
+
##### [background_app](https://github.com/appium/ruby_lib/blob/ea11190b9ab36e34226d988f85fe612af6f769de/lib/appium_lib/device/device.rb#L29)
|
|
559
567
|
|
|
560
568
|
> def background_app
|
|
561
569
|
|
|
@@ -564,7 +572,7 @@ This is a blocking application
|
|
|
564
572
|
|
|
565
573
|
--
|
|
566
574
|
|
|
567
|
-
##### [current_activity](https://github.com/appium/ruby_lib/blob/
|
|
575
|
+
##### [current_activity](https://github.com/appium/ruby_lib/blob/ea11190b9ab36e34226d988f85fe612af6f769de/lib/appium_lib/device/device.rb#L34)
|
|
568
576
|
|
|
569
577
|
> def current_activity
|
|
570
578
|
|
|
@@ -572,7 +580,7 @@ This is a blocking application
|
|
|
572
580
|
|
|
573
581
|
--
|
|
574
582
|
|
|
575
|
-
##### [launch_app](https://github.com/appium/ruby_lib/blob/
|
|
583
|
+
##### [launch_app](https://github.com/appium/ruby_lib/blob/ea11190b9ab36e34226d988f85fe612af6f769de/lib/appium_lib/device/device.rb#L36)
|
|
576
584
|
|
|
577
585
|
> def launch_app
|
|
578
586
|
|
|
@@ -580,7 +588,7 @@ Start the simulator and applicaton configured with desired capabilities
|
|
|
580
588
|
|
|
581
589
|
--
|
|
582
590
|
|
|
583
|
-
##### [reset](https://github.com/appium/ruby_lib/blob/
|
|
591
|
+
##### [reset](https://github.com/appium/ruby_lib/blob/ea11190b9ab36e34226d988f85fe612af6f769de/lib/appium_lib/device/device.rb#L39)
|
|
584
592
|
|
|
585
593
|
> def reset
|
|
586
594
|
|
|
@@ -588,7 +596,7 @@ Reset the device, relaunching the application.
|
|
|
588
596
|
|
|
589
597
|
--
|
|
590
598
|
|
|
591
|
-
##### [shake](https://github.com/appium/ruby_lib/blob/
|
|
599
|
+
##### [shake](https://github.com/appium/ruby_lib/blob/ea11190b9ab36e34226d988f85fe612af6f769de/lib/appium_lib/device/device.rb#L42)
|
|
592
600
|
|
|
593
601
|
> def shake
|
|
594
602
|
|
|
@@ -596,7 +604,7 @@ Cause the device to shake
|
|
|
596
604
|
|
|
597
605
|
--
|
|
598
606
|
|
|
599
|
-
##### [toggle_flight_mode](https://github.com/appium/ruby_lib/blob/
|
|
607
|
+
##### [toggle_flight_mode](https://github.com/appium/ruby_lib/blob/ea11190b9ab36e34226d988f85fe612af6f769de/lib/appium_lib/device/device.rb#L45)
|
|
600
608
|
|
|
601
609
|
> def toggle_flight_mode
|
|
602
610
|
|
|
@@ -604,7 +612,7 @@ toggle flight mode on or off
|
|
|
604
612
|
|
|
605
613
|
--
|
|
606
614
|
|
|
607
|
-
##### [hide_keyboard](https://github.com/appium/ruby_lib/blob/
|
|
615
|
+
##### [hide_keyboard](https://github.com/appium/ruby_lib/blob/ea11190b9ab36e34226d988f85fe612af6f769de/lib/appium_lib/device/device.rb#L48)
|
|
608
616
|
|
|
609
617
|
> def hide_keyboard
|
|
610
618
|
|
|
@@ -617,7 +625,7 @@ Defaults to 'Done'.
|
|
|
617
625
|
|
|
618
626
|
--
|
|
619
627
|
|
|
620
|
-
##### [press_keycode](https://github.com/appium/ruby_lib/blob/
|
|
628
|
+
##### [press_keycode](https://github.com/appium/ruby_lib/blob/ea11190b9ab36e34226d988f85fe612af6f769de/lib/appium_lib/device/device.rb#L57)
|
|
621
629
|
|
|
622
630
|
> def press_keycode
|
|
623
631
|
|
|
@@ -632,7 +640,7 @@ __Parameters:__
|
|
|
632
640
|
|
|
633
641
|
--
|
|
634
642
|
|
|
635
|
-
##### [long_press_keycode](https://github.com/appium/ruby_lib/blob/
|
|
643
|
+
##### [long_press_keycode](https://github.com/appium/ruby_lib/blob/ea11190b9ab36e34226d988f85fe612af6f769de/lib/appium_lib/device/device.rb#L63)
|
|
636
644
|
|
|
637
645
|
> def long_press_keycode
|
|
638
646
|
|
|
@@ -647,7 +655,7 @@ __Parameters:__
|
|
|
647
655
|
|
|
648
656
|
--
|
|
649
657
|
|
|
650
|
-
##### [push_file](https://github.com/appium/ruby_lib/blob/
|
|
658
|
+
##### [push_file](https://github.com/appium/ruby_lib/blob/ea11190b9ab36e34226d988f85fe612af6f769de/lib/appium_lib/device/device.rb#L69)
|
|
651
659
|
|
|
652
660
|
> def push_file
|
|
653
661
|
|
|
@@ -661,7 +669,7 @@ __Parameters:__
|
|
|
661
669
|
|
|
662
670
|
--
|
|
663
671
|
|
|
664
|
-
##### [pull_file](https://github.com/appium/ruby_lib/blob/
|
|
672
|
+
##### [pull_file](https://github.com/appium/ruby_lib/blob/ea11190b9ab36e34226d988f85fe612af6f769de/lib/appium_lib/device/device.rb#L74)
|
|
665
673
|
|
|
666
674
|
> def pull_file
|
|
667
675
|
|
|
@@ -678,7 +686,7 @@ __Parameters:__
|
|
|
678
686
|
|
|
679
687
|
--
|
|
680
688
|
|
|
681
|
-
##### [pull_folder](https://github.com/appium/ruby_lib/blob/
|
|
689
|
+
##### [pull_folder](https://github.com/appium/ruby_lib/blob/ea11190b9ab36e34226d988f85fe612af6f769de/lib/appium_lib/device/device.rb#L84)
|
|
682
690
|
|
|
683
691
|
> def pull_folder
|
|
684
692
|
|
|
@@ -693,7 +701,7 @@ __Parameters:__
|
|
|
693
701
|
|
|
694
702
|
--
|
|
695
703
|
|
|
696
|
-
##### [end_coverage](https://github.com/appium/ruby_lib/blob/
|
|
704
|
+
##### [end_coverage](https://github.com/appium/ruby_lib/blob/ea11190b9ab36e34226d988f85fe612af6f769de/lib/appium_lib/device/device.rb#L92)
|
|
697
705
|
|
|
698
706
|
> def end_coverage
|
|
699
707
|
|
|
@@ -707,7 +715,7 @@ __Parameters:__
|
|
|
707
715
|
|
|
708
716
|
--
|
|
709
717
|
|
|
710
|
-
##### [get_settings](https://github.com/appium/ruby_lib/blob/
|
|
718
|
+
##### [get_settings](https://github.com/appium/ruby_lib/blob/ea11190b9ab36e34226d988f85fe612af6f769de/lib/appium_lib/device/device.rb#L97)
|
|
711
719
|
|
|
712
720
|
> def get_settings
|
|
713
721
|
|
|
@@ -715,7 +723,7 @@ Get appium Settings for current test session
|
|
|
715
723
|
|
|
716
724
|
--
|
|
717
725
|
|
|
718
|
-
##### [extend_search_contexts](https://github.com/appium/ruby_lib/blob/
|
|
726
|
+
##### [extend_search_contexts](https://github.com/appium/ruby_lib/blob/ea11190b9ab36e34226d988f85fe612af6f769de/lib/appium_lib/device/device.rb#L345)
|
|
719
727
|
|
|
720
728
|
> def extend_search_contexts
|
|
721
729
|
|
|
@@ -723,7 +731,7 @@ Get appium Settings for current test session
|
|
|
723
731
|
|
|
724
732
|
--
|
|
725
733
|
|
|
726
|
-
##### [accessiblity_id_find](https://github.com/appium/ruby_lib/blob/
|
|
734
|
+
##### [accessiblity_id_find](https://github.com/appium/ruby_lib/blob/ea11190b9ab36e34226d988f85fe612af6f769de/lib/appium_lib/device/device.rb#L345)
|
|
727
735
|
|
|
728
736
|
> def accessiblity_id_find
|
|
729
737
|
|
|
@@ -735,7 +743,7 @@ find_element/s with their accessibility_id
|
|
|
735
743
|
|
|
736
744
|
--
|
|
737
745
|
|
|
738
|
-
##### [add_touch_actions](https://github.com/appium/ruby_lib/blob/
|
|
746
|
+
##### [add_touch_actions](https://github.com/appium/ruby_lib/blob/ea11190b9ab36e34226d988f85fe612af6f769de/lib/appium_lib/device/device.rb#L351)
|
|
739
747
|
|
|
740
748
|
> def add_touch_actions
|
|
741
749
|
|
|
@@ -743,7 +751,7 @@ find_element/s with their accessibility_id
|
|
|
743
751
|
|
|
744
752
|
--
|
|
745
753
|
|
|
746
|
-
##### [set_context](https://github.com/appium/ruby_lib/blob/
|
|
754
|
+
##### [set_context](https://github.com/appium/ruby_lib/blob/ea11190b9ab36e34226d988f85fe612af6f769de/lib/appium_lib/device/device.rb#L375)
|
|
747
755
|
|
|
748
756
|
> def set_context
|
|
749
757
|
|
|
@@ -758,7 +766,7 @@ __Parameters:__
|
|
|
758
766
|
|
|
759
767
|
--
|
|
760
768
|
|
|
761
|
-
##### [current_context](https://github.com/appium/ruby_lib/blob/
|
|
769
|
+
##### [current_context](https://github.com/appium/ruby_lib/blob/ea11190b9ab36e34226d988f85fe612af6f769de/lib/appium_lib/device/device.rb#L383)
|
|
762
770
|
|
|
763
771
|
> def current_context
|
|
764
772
|
|
|
@@ -770,7 +778,7 @@ __Returns:__
|
|
|
770
778
|
|
|
771
779
|
--
|
|
772
780
|
|
|
773
|
-
##### [available_contexts](https://github.com/appium/ruby_lib/blob/
|
|
781
|
+
##### [available_contexts](https://github.com/appium/ruby_lib/blob/ea11190b9ab36e34226d988f85fe612af6f769de/lib/appium_lib/device/device.rb#L386)
|
|
774
782
|
|
|
775
783
|
> def available_contexts
|
|
776
784
|
|
|
@@ -782,7 +790,7 @@ __Returns:__
|
|
|
782
790
|
|
|
783
791
|
--
|
|
784
792
|
|
|
785
|
-
##### [within_context](https://github.com/appium/ruby_lib/blob/
|
|
793
|
+
##### [within_context](https://github.com/appium/ruby_lib/blob/ea11190b9ab36e34226d988f85fe612af6f769de/lib/appium_lib/device/device.rb#L396)
|
|
786
794
|
|
|
787
795
|
> def within_context(context)
|
|
788
796
|
|
|
@@ -798,7 +806,7 @@ __Parameters:__
|
|
|
798
806
|
|
|
799
807
|
--
|
|
800
808
|
|
|
801
|
-
##### [switch_to_default_context](https://github.com/appium/ruby_lib/blob/
|
|
809
|
+
##### [switch_to_default_context](https://github.com/appium/ruby_lib/blob/ea11190b9ab36e34226d988f85fe612af6f769de/lib/appium_lib/device/device.rb#L404)
|
|
802
810
|
|
|
803
811
|
> def switch_to_default_context
|
|
804
812
|
|
|
@@ -806,7 +814,7 @@ Change to the default context. This is equivalent to `set_context nil`.
|
|
|
806
814
|
|
|
807
815
|
--
|
|
808
816
|
|
|
809
|
-
##### [pinch](https://github.com/appium/ruby_lib/blob/
|
|
817
|
+
##### [pinch](https://github.com/appium/ruby_lib/blob/ea11190b9ab36e34226d988f85fe612af6f769de/lib/appium_lib/device/multi_touch.rb#L30)
|
|
810
818
|
|
|
811
819
|
> def pinch(percentage=25, auto_perform=true)
|
|
812
820
|
|
|
@@ -825,7 +833,7 @@ __Parameters:__
|
|
|
825
833
|
|
|
826
834
|
--
|
|
827
835
|
|
|
828
|
-
##### [zoom](https://github.com/appium/ruby_lib/blob/
|
|
836
|
+
##### [zoom](https://github.com/appium/ruby_lib/blob/ea11190b9ab36e34226d988f85fe612af6f769de/lib/appium_lib/device/multi_touch.rb#L58)
|
|
829
837
|
|
|
830
838
|
> def zoom(percentage=200, auto_perform=true)
|
|
831
839
|
|
|
@@ -844,7 +852,7 @@ __Parameters:__
|
|
|
844
852
|
|
|
845
853
|
--
|
|
846
854
|
|
|
847
|
-
##### [initialize](https://github.com/appium/ruby_lib/blob/
|
|
855
|
+
##### [initialize](https://github.com/appium/ruby_lib/blob/ea11190b9ab36e34226d988f85fe612af6f769de/lib/appium_lib/device/multi_touch.rb#L79)
|
|
848
856
|
|
|
849
857
|
> def initialize
|
|
850
858
|
|
|
@@ -856,7 +864,7 @@ __Returns:__
|
|
|
856
864
|
|
|
857
865
|
--
|
|
858
866
|
|
|
859
|
-
##### [add](https://github.com/appium/ruby_lib/blob/
|
|
867
|
+
##### [add](https://github.com/appium/ruby_lib/blob/ea11190b9ab36e34226d988f85fe612af6f769de/lib/appium_lib/device/multi_touch.rb#L85)
|
|
860
868
|
|
|
861
869
|
> def add(chain)
|
|
862
870
|
|
|
@@ -868,7 +876,7 @@ __Parameters:__
|
|
|
868
876
|
|
|
869
877
|
--
|
|
870
878
|
|
|
871
|
-
##### [perform](https://github.com/appium/ruby_lib/blob/
|
|
879
|
+
##### [perform](https://github.com/appium/ruby_lib/blob/ea11190b9ab36e34226d988f85fe612af6f769de/lib/appium_lib/device/multi_touch.rb#L90)
|
|
872
880
|
|
|
873
881
|
> def perform
|
|
874
882
|
|
|
@@ -876,7 +884,7 @@ Ask Appium to perform the actions
|
|
|
876
884
|
|
|
877
885
|
--
|
|
878
886
|
|
|
879
|
-
##### [ACTIONS](https://github.com/appium/ruby_lib/blob/
|
|
887
|
+
##### [ACTIONS](https://github.com/appium/ruby_lib/blob/ea11190b9ab36e34226d988f85fe612af6f769de/lib/appium_lib/device/touch_actions.rb#L12)
|
|
880
888
|
|
|
881
889
|
> ACTIONS = [:move_to, :long_press, :press, :release, :tap, :wait, :perform]
|
|
882
890
|
|
|
@@ -884,7 +892,7 @@ Ask Appium to perform the actions
|
|
|
884
892
|
|
|
885
893
|
--
|
|
886
894
|
|
|
887
|
-
##### [COMPLEX_ACTIONS](https://github.com/appium/ruby_lib/blob/
|
|
895
|
+
##### [COMPLEX_ACTIONS](https://github.com/appium/ruby_lib/blob/ea11190b9ab36e34226d988f85fe612af6f769de/lib/appium_lib/device/touch_actions.rb#L13)
|
|
888
896
|
|
|
889
897
|
> COMPLEX_ACTIONS = [:swipe]
|
|
890
898
|
|
|
@@ -892,7 +900,7 @@ Ask Appium to perform the actions
|
|
|
892
900
|
|
|
893
901
|
--
|
|
894
902
|
|
|
895
|
-
##### [actions](https://github.com/appium/ruby_lib/blob/
|
|
903
|
+
##### [actions](https://github.com/appium/ruby_lib/blob/ea11190b9ab36e34226d988f85fe612af6f769de/lib/appium_lib/device/touch_actions.rb#L27)
|
|
896
904
|
|
|
897
905
|
> def actions
|
|
898
906
|
|
|
@@ -900,7 +908,7 @@ Returns the value of attribute actions
|
|
|
900
908
|
|
|
901
909
|
--
|
|
902
910
|
|
|
903
|
-
##### [initialize](https://github.com/appium/ruby_lib/blob/
|
|
911
|
+
##### [initialize](https://github.com/appium/ruby_lib/blob/ea11190b9ab36e34226d988f85fe612af6f769de/lib/appium_lib/device/touch_actions.rb#L29)
|
|
904
912
|
|
|
905
913
|
> def initialize
|
|
906
914
|
|
|
@@ -912,7 +920,7 @@ __Returns:__
|
|
|
912
920
|
|
|
913
921
|
--
|
|
914
922
|
|
|
915
|
-
##### [move_to](https://github.com/appium/ruby_lib/blob/
|
|
923
|
+
##### [move_to](https://github.com/appium/ruby_lib/blob/ea11190b9ab36e34226d988f85fe612af6f769de/lib/appium_lib/device/touch_actions.rb#L37)
|
|
916
924
|
|
|
917
925
|
> def move_to(opts)
|
|
918
926
|
|
|
@@ -924,7 +932,7 @@ __Parameters:__
|
|
|
924
932
|
|
|
925
933
|
--
|
|
926
934
|
|
|
927
|
-
##### [long_press](https://github.com/appium/ruby_lib/blob/
|
|
935
|
+
##### [long_press](https://github.com/appium/ruby_lib/blob/ea11190b9ab36e34226d988f85fe612af6f769de/lib/appium_lib/device/touch_actions.rb#L47)
|
|
928
936
|
|
|
929
937
|
> def long_press(opts)
|
|
930
938
|
|
|
@@ -942,7 +950,7 @@ __Parameters:__
|
|
|
942
950
|
|
|
943
951
|
--
|
|
944
952
|
|
|
945
|
-
##### [press](https://github.com/appium/ruby_lib/blob/
|
|
953
|
+
##### [press](https://github.com/appium/ruby_lib/blob/ea11190b9ab36e34226d988f85fe612af6f769de/lib/appium_lib/device/touch_actions.rb#L59)
|
|
946
954
|
|
|
947
955
|
> def press(opts)
|
|
948
956
|
|
|
@@ -955,7 +963,7 @@ __Parameters:__
|
|
|
955
963
|
|
|
956
964
|
--
|
|
957
965
|
|
|
958
|
-
##### [release](https://github.com/appium/ruby_lib/blob/
|
|
966
|
+
##### [release](https://github.com/appium/ruby_lib/blob/ea11190b9ab36e34226d988f85fe612af6f769de/lib/appium_lib/device/touch_actions.rb#L70)
|
|
959
967
|
|
|
960
968
|
> def release(opts=nil)
|
|
961
969
|
|
|
@@ -967,7 +975,7 @@ __Parameters:__
|
|
|
967
975
|
|
|
968
976
|
--
|
|
969
977
|
|
|
970
|
-
##### [tap](https://github.com/appium/ruby_lib/blob/
|
|
978
|
+
##### [tap](https://github.com/appium/ruby_lib/blob/ea11190b9ab36e34226d988f85fe612af6f769de/lib/appium_lib/device/touch_actions.rb#L81)
|
|
971
979
|
|
|
972
980
|
> def tap(opts)
|
|
973
981
|
|
|
@@ -979,7 +987,7 @@ __Parameters:__
|
|
|
979
987
|
|
|
980
988
|
--
|
|
981
989
|
|
|
982
|
-
##### [wait](https://github.com/appium/ruby_lib/blob/
|
|
990
|
+
##### [wait](https://github.com/appium/ruby_lib/blob/ea11190b9ab36e34226d988f85fe612af6f769de/lib/appium_lib/device/touch_actions.rb#L90)
|
|
983
991
|
|
|
984
992
|
> def wait(milliseconds)
|
|
985
993
|
|
|
@@ -991,7 +999,7 @@ __Parameters:__
|
|
|
991
999
|
|
|
992
1000
|
--
|
|
993
1001
|
|
|
994
|
-
##### [swipe](https://github.com/appium/ruby_lib/blob/
|
|
1002
|
+
##### [swipe](https://github.com/appium/ruby_lib/blob/ea11190b9ab36e34226d988f85fe612af6f769de/lib/appium_lib/device/touch_actions.rb#L104)
|
|
995
1003
|
|
|
996
1004
|
> def swipe(opts)
|
|
997
1005
|
|
|
@@ -1005,7 +1013,7 @@ __Parameters:__
|
|
|
1005
1013
|
|
|
1006
1014
|
--
|
|
1007
1015
|
|
|
1008
|
-
##### [perform](https://github.com/appium/ruby_lib/blob/
|
|
1016
|
+
##### [perform](https://github.com/appium/ruby_lib/blob/ea11190b9ab36e34226d988f85fe612af6f769de/lib/appium_lib/device/touch_actions.rb#L119)
|
|
1009
1017
|
|
|
1010
1018
|
> def perform
|
|
1011
1019
|
|
|
@@ -1013,7 +1021,7 @@ Ask the driver to perform all actions in this action chain.
|
|
|
1013
1021
|
|
|
1014
1022
|
--
|
|
1015
1023
|
|
|
1016
|
-
##### [cancel](https://github.com/appium/ruby_lib/blob/
|
|
1024
|
+
##### [cancel](https://github.com/appium/ruby_lib/blob/ea11190b9ab36e34226d988f85fe612af6f769de/lib/appium_lib/device/touch_actions.rb#L125)
|
|
1017
1025
|
|
|
1018
1026
|
> def cancel
|
|
1019
1027
|
|
|
@@ -1021,7 +1029,7 @@ Does nothing, currently.
|
|
|
1021
1029
|
|
|
1022
1030
|
--
|
|
1023
1031
|
|
|
1024
|
-
##### [chain_method](https://github.com/appium/ruby_lib/blob/
|
|
1032
|
+
##### [chain_method](https://github.com/appium/ruby_lib/blob/ea11190b9ab36e34226d988f85fe612af6f769de/lib/appium_lib/device/touch_actions.rb#L133)
|
|
1025
1033
|
|
|
1026
1034
|
> def chain_method(method, args=nil)
|
|
1027
1035
|
|
|
@@ -1029,7 +1037,7 @@ Does nothing, currently.
|
|
|
1029
1037
|
|
|
1030
1038
|
--
|
|
1031
1039
|
|
|
1032
|
-
##### [args_with_ele_ref](https://github.com/appium/ruby_lib/blob/
|
|
1040
|
+
##### [args_with_ele_ref](https://github.com/appium/ruby_lib/blob/ea11190b9ab36e34226d988f85fe612af6f769de/lib/appium_lib/device/touch_actions.rb#L142)
|
|
1033
1041
|
|
|
1034
1042
|
> def args_with_ele_ref(args)
|
|
1035
1043
|
|
|
@@ -1037,7 +1045,7 @@ Does nothing, currently.
|
|
|
1037
1045
|
|
|
1038
1046
|
--
|
|
1039
1047
|
|
|
1040
|
-
##### [_generic_wait](https://github.com/appium/ruby_lib/blob/
|
|
1048
|
+
##### [_generic_wait](https://github.com/appium/ruby_lib/blob/ea11190b9ab36e34226d988f85fe612af6f769de/lib/appium_lib/common/wait.rb#L10)
|
|
1041
1049
|
|
|
1042
1050
|
> def _generic_wait opts={}, &block
|
|
1043
1051
|
|
|
@@ -1046,7 +1054,7 @@ https://github.com/SeleniumHQ/selenium/blob/cf501dda3f0ed12233de51ce8170c0e8090f
|
|
|
1046
1054
|
|
|
1047
1055
|
--
|
|
1048
1056
|
|
|
1049
|
-
##### [_process_wait_opts](https://github.com/appium/ruby_lib/blob/
|
|
1057
|
+
##### [_process_wait_opts](https://github.com/appium/ruby_lib/blob/ea11190b9ab36e34226d988f85fe612af6f769de/lib/appium_lib/common/wait.rb#L55)
|
|
1050
1058
|
|
|
1051
1059
|
> def _process_wait_opts opts
|
|
1052
1060
|
|
|
@@ -1054,7 +1062,7 @@ process opts before calling _generic_wait
|
|
|
1054
1062
|
|
|
1055
1063
|
--
|
|
1056
1064
|
|
|
1057
|
-
##### [wait_true](https://github.com/appium/ruby_lib/blob/
|
|
1065
|
+
##### [wait_true](https://github.com/appium/ruby_lib/blob/ea11190b9ab36e34226d988f85fe612af6f769de/lib/appium_lib/common/wait.rb#L76)
|
|
1058
1066
|
|
|
1059
1067
|
> def wait_true opts={}, &block
|
|
1060
1068
|
|
|
@@ -1074,7 +1082,7 @@ __Parameters:__
|
|
|
1074
1082
|
|
|
1075
1083
|
--
|
|
1076
1084
|
|
|
1077
|
-
##### [wait](https://github.com/appium/ruby_lib/blob/
|
|
1085
|
+
##### [wait](https://github.com/appium/ruby_lib/blob/ea11190b9ab36e34226d988f85fe612af6f769de/lib/appium_lib/common/wait.rb#L94)
|
|
1078
1086
|
|
|
1079
1087
|
> def wait opts={}, &block
|
|
1080
1088
|
|
|
@@ -1092,7 +1100,7 @@ __Parameters:__
|
|
|
1092
1100
|
|
|
1093
1101
|
--
|
|
1094
1102
|
|
|
1095
|
-
##### [ignore](https://github.com/appium/ruby_lib/blob/
|
|
1103
|
+
##### [ignore](https://github.com/appium/ruby_lib/blob/ea11190b9ab36e34226d988f85fe612af6f769de/lib/appium_lib/common/helper.rb#L24)
|
|
1096
1104
|
|
|
1097
1105
|
> def ignore &block
|
|
1098
1106
|
|
|
@@ -1100,7 +1108,7 @@ Return block.call and ignore any exceptions.
|
|
|
1100
1108
|
|
|
1101
1109
|
--
|
|
1102
1110
|
|
|
1103
|
-
##### [back](https://github.com/appium/ruby_lib/blob/
|
|
1111
|
+
##### [back](https://github.com/appium/ruby_lib/blob/ea11190b9ab36e34226d988f85fe612af6f769de/lib/appium_lib/common/helper.rb#L33)
|
|
1104
1112
|
|
|
1105
1113
|
> def back
|
|
1106
1114
|
|
|
@@ -1112,7 +1120,7 @@ __Returns:__
|
|
|
1112
1120
|
|
|
1113
1121
|
--
|
|
1114
1122
|
|
|
1115
|
-
##### [session_id](https://github.com/appium/ruby_lib/blob/
|
|
1123
|
+
##### [session_id](https://github.com/appium/ruby_lib/blob/ea11190b9ab36e34226d988f85fe612af6f769de/lib/appium_lib/common/helper.rb#L38)
|
|
1116
1124
|
|
|
1117
1125
|
> def session_id
|
|
1118
1126
|
|
|
@@ -1120,7 +1128,7 @@ For Sauce Labs reporting. Returns the current session id.
|
|
|
1120
1128
|
|
|
1121
1129
|
--
|
|
1122
1130
|
|
|
1123
|
-
##### [xpath](https://github.com/appium/ruby_lib/blob/
|
|
1131
|
+
##### [xpath](https://github.com/appium/ruby_lib/blob/ea11190b9ab36e34226d988f85fe612af6f769de/lib/appium_lib/common/helper.rb#L46)
|
|
1124
1132
|
|
|
1125
1133
|
> def xpath xpath_str
|
|
1126
1134
|
|
|
@@ -1136,7 +1144,7 @@ __Returns:__
|
|
|
1136
1144
|
|
|
1137
1145
|
--
|
|
1138
1146
|
|
|
1139
|
-
##### [xpaths](https://github.com/appium/ruby_lib/blob/
|
|
1147
|
+
##### [xpaths](https://github.com/appium/ruby_lib/blob/ea11190b9ab36e34226d988f85fe612af6f769de/lib/appium_lib/common/helper.rb#L54)
|
|
1140
1148
|
|
|
1141
1149
|
> def xpaths xpath_str
|
|
1142
1150
|
|
|
@@ -1152,7 +1160,7 @@ __Returns:__
|
|
|
1152
1160
|
|
|
1153
1161
|
--
|
|
1154
1162
|
|
|
1155
|
-
##### [_print_source](https://github.com/appium/ruby_lib/blob/
|
|
1163
|
+
##### [_print_source](https://github.com/appium/ruby_lib/blob/ea11190b9ab36e34226d988f85fe612af6f769de/lib/appium_lib/common/helper.rb#L58)
|
|
1156
1164
|
|
|
1157
1165
|
> def _print_source source
|
|
1158
1166
|
|
|
@@ -1160,7 +1168,7 @@ __Returns:__
|
|
|
1160
1168
|
|
|
1161
1169
|
--
|
|
1162
1170
|
|
|
1163
|
-
##### [result](https://github.com/appium/ruby_lib/blob/
|
|
1171
|
+
##### [result](https://github.com/appium/ruby_lib/blob/ea11190b9ab36e34226d988f85fe612af6f769de/lib/appium_lib/common/helper.rb#L71)
|
|
1164
1172
|
|
|
1165
1173
|
> def result
|
|
1166
1174
|
|
|
@@ -1168,7 +1176,7 @@ Returns the value of attribute result
|
|
|
1168
1176
|
|
|
1169
1177
|
--
|
|
1170
1178
|
|
|
1171
|
-
##### [initialize](https://github.com/appium/ruby_lib/blob/
|
|
1179
|
+
##### [initialize](https://github.com/appium/ruby_lib/blob/ea11190b9ab36e34226d988f85fe612af6f769de/lib/appium_lib/common/helper.rb#L73)
|
|
1172
1180
|
|
|
1173
1181
|
> def initialize
|
|
1174
1182
|
|
|
@@ -1180,7 +1188,7 @@ __Returns:__
|
|
|
1180
1188
|
|
|
1181
1189
|
--
|
|
1182
1190
|
|
|
1183
|
-
##### [reset](https://github.com/appium/ruby_lib/blob/
|
|
1191
|
+
##### [reset](https://github.com/appium/ruby_lib/blob/ea11190b9ab36e34226d988f85fe612af6f769de/lib/appium_lib/common/helper.rb#L77)
|
|
1184
1192
|
|
|
1185
1193
|
> def reset
|
|
1186
1194
|
|
|
@@ -1188,7 +1196,7 @@ __Returns:__
|
|
|
1188
1196
|
|
|
1189
1197
|
--
|
|
1190
1198
|
|
|
1191
|
-
##### [start_element](https://github.com/appium/ruby_lib/blob/
|
|
1199
|
+
##### [start_element](https://github.com/appium/ruby_lib/blob/ea11190b9ab36e34226d988f85fe612af6f769de/lib/appium_lib/common/helper.rb#L82)
|
|
1192
1200
|
|
|
1193
1201
|
> def start_element name, attrs = []
|
|
1194
1202
|
|
|
@@ -1196,7 +1204,7 @@ http://nokogiri.org/Nokogiri/XML/SAX/Document.html
|
|
|
1196
1204
|
|
|
1197
1205
|
--
|
|
1198
1206
|
|
|
1199
|
-
##### [formatted_result](https://github.com/appium/ruby_lib/blob/
|
|
1207
|
+
##### [formatted_result](https://github.com/appium/ruby_lib/blob/ea11190b9ab36e34226d988f85fe612af6f769de/lib/appium_lib/common/helper.rb#L88)
|
|
1200
1208
|
|
|
1201
1209
|
> def formatted_result
|
|
1202
1210
|
|
|
@@ -1204,7 +1212,7 @@ http://nokogiri.org/Nokogiri/XML/SAX/Document.html
|
|
|
1204
1212
|
|
|
1205
1213
|
--
|
|
1206
1214
|
|
|
1207
|
-
##### [get_page_class](https://github.com/appium/ruby_lib/blob/
|
|
1215
|
+
##### [get_page_class](https://github.com/appium/ruby_lib/blob/ea11190b9ab36e34226d988f85fe612af6f769de/lib/appium_lib/common/helper.rb#L99)
|
|
1208
1216
|
|
|
1209
1217
|
> def get_page_class
|
|
1210
1218
|
|
|
@@ -1212,7 +1220,7 @@ Returns a string of class counts of visible elements.
|
|
|
1212
1220
|
|
|
1213
1221
|
--
|
|
1214
1222
|
|
|
1215
|
-
##### [page_class](https://github.com/appium/ruby_lib/blob/
|
|
1223
|
+
##### [page_class](https://github.com/appium/ruby_lib/blob/ea11190b9ab36e34226d988f85fe612af6f769de/lib/appium_lib/common/helper.rb#L110)
|
|
1216
1224
|
|
|
1217
1225
|
> def page_class
|
|
1218
1226
|
|
|
@@ -1221,7 +1229,7 @@ Useful for appium_console.
|
|
|
1221
1229
|
|
|
1222
1230
|
--
|
|
1223
1231
|
|
|
1224
|
-
##### [px_to_window_rel](https://github.com/appium/ruby_lib/blob/
|
|
1232
|
+
##### [px_to_window_rel](https://github.com/appium/ruby_lib/blob/ea11190b9ab36e34226d988f85fe612af6f769de/lib/appium_lib/common/helper.rb#L120)
|
|
1225
1233
|
|
|
1226
1234
|
> def px_to_window_rel opts={}
|
|
1227
1235
|
|
|
@@ -1233,7 +1241,7 @@ px_to_window_rel x: 50, y: 150
|
|
|
1233
1241
|
|
|
1234
1242
|
--
|
|
1235
1243
|
|
|
1236
|
-
##### [xml_keys](https://github.com/appium/ruby_lib/blob/
|
|
1244
|
+
##### [xml_keys](https://github.com/appium/ruby_lib/blob/ea11190b9ab36e34226d988f85fe612af6f769de/lib/appium_lib/common/helper.rb#L139)
|
|
1237
1245
|
|
|
1238
1246
|
> def xml_keys target
|
|
1239
1247
|
|
|
@@ -1249,7 +1257,7 @@ __Returns:__
|
|
|
1249
1257
|
|
|
1250
1258
|
--
|
|
1251
1259
|
|
|
1252
|
-
##### [xml_values](https://github.com/appium/ruby_lib/blob/
|
|
1260
|
+
##### [xml_values](https://github.com/appium/ruby_lib/blob/ea11190b9ab36e34226d988f85fe612af6f769de/lib/appium_lib/common/helper.rb#L147)
|
|
1253
1261
|
|
|
1254
1262
|
> def xml_values target
|
|
1255
1263
|
|
|
@@ -1265,7 +1273,7 @@ __Returns:__
|
|
|
1265
1273
|
|
|
1266
1274
|
--
|
|
1267
1275
|
|
|
1268
|
-
##### [resolve_id](https://github.com/appium/ruby_lib/blob/
|
|
1276
|
+
##### [resolve_id](https://github.com/appium/ruby_lib/blob/ea11190b9ab36e34226d988f85fe612af6f769de/lib/appium_lib/common/helper.rb#L155)
|
|
1269
1277
|
|
|
1270
1278
|
> def resolve_id id
|
|
1271
1279
|
|
|
@@ -1281,7 +1289,7 @@ __Returns:__
|
|
|
1281
1289
|
|
|
1282
1290
|
--
|
|
1283
1291
|
|
|
1284
|
-
##### [filter](https://github.com/appium/ruby_lib/blob/
|
|
1292
|
+
##### [filter](https://github.com/appium/ruby_lib/blob/ea11190b9ab36e34226d988f85fe612af6f769de/lib/appium_lib/common/helper.rb#L161)
|
|
1285
1293
|
|
|
1286
1294
|
> def filter
|
|
1287
1295
|
|
|
@@ -1289,7 +1297,7 @@ __Returns:__
|
|
|
1289
1297
|
|
|
1290
1298
|
--
|
|
1291
1299
|
|
|
1292
|
-
##### [filter=](https://github.com/appium/ruby_lib/blob/
|
|
1300
|
+
##### [filter=](https://github.com/appium/ruby_lib/blob/ea11190b9ab36e34226d988f85fe612af6f769de/lib/appium_lib/common/helper.rb#L166)
|
|
1293
1301
|
|
|
1294
1302
|
> def filter= value
|
|
1295
1303
|
|
|
@@ -1297,7 +1305,7 @@ convert to string to support symbols
|
|
|
1297
1305
|
|
|
1298
1306
|
--
|
|
1299
1307
|
|
|
1300
|
-
##### [initialize](https://github.com/appium/ruby_lib/blob/
|
|
1308
|
+
##### [initialize](https://github.com/appium/ruby_lib/blob/ea11190b9ab36e34226d988f85fe612af6f769de/lib/appium_lib/common/helper.rb#L172)
|
|
1301
1309
|
|
|
1302
1310
|
> def initialize
|
|
1303
1311
|
|
|
@@ -1309,7 +1317,7 @@ __Returns:__
|
|
|
1309
1317
|
|
|
1310
1318
|
--
|
|
1311
1319
|
|
|
1312
|
-
##### [reset](https://github.com/appium/ruby_lib/blob/
|
|
1320
|
+
##### [reset](https://github.com/appium/ruby_lib/blob/ea11190b9ab36e34226d988f85fe612af6f769de/lib/appium_lib/common/helper.rb#L177)
|
|
1313
1321
|
|
|
1314
1322
|
> def reset
|
|
1315
1323
|
|
|
@@ -1317,7 +1325,7 @@ __Returns:__
|
|
|
1317
1325
|
|
|
1318
1326
|
--
|
|
1319
1327
|
|
|
1320
|
-
##### [result](https://github.com/appium/ruby_lib/blob/
|
|
1328
|
+
##### [result](https://github.com/appium/ruby_lib/blob/ea11190b9ab36e34226d988f85fe612af6f769de/lib/appium_lib/common/helper.rb#L183)
|
|
1321
1329
|
|
|
1322
1330
|
> def result
|
|
1323
1331
|
|
|
@@ -1325,7 +1333,7 @@ __Returns:__
|
|
|
1325
1333
|
|
|
1326
1334
|
--
|
|
1327
1335
|
|
|
1328
|
-
##### [start_element](https://github.com/appium/ruby_lib/blob/
|
|
1336
|
+
##### [start_element](https://github.com/appium/ruby_lib/blob/ea11190b9ab36e34226d988f85fe612af6f769de/lib/appium_lib/common/helper.rb#L199)
|
|
1329
1337
|
|
|
1330
1338
|
> def start_element name, attrs = []
|
|
1331
1339
|
|
|
@@ -1333,7 +1341,7 @@ __Returns:__
|
|
|
1333
1341
|
|
|
1334
1342
|
--
|
|
1335
1343
|
|
|
1336
|
-
##### [end_element](https://github.com/appium/ruby_lib/blob/
|
|
1344
|
+
##### [end_element](https://github.com/appium/ruby_lib/blob/ea11190b9ab36e34226d988f85fe612af6f769de/lib/appium_lib/common/helper.rb#L209)
|
|
1337
1345
|
|
|
1338
1346
|
> def end_element name
|
|
1339
1347
|
|
|
@@ -1341,7 +1349,7 @@ __Returns:__
|
|
|
1341
1349
|
|
|
1342
1350
|
--
|
|
1343
1351
|
|
|
1344
|
-
##### [characters](https://github.com/appium/ruby_lib/blob/
|
|
1352
|
+
##### [characters](https://github.com/appium/ruby_lib/blob/ea11190b9ab36e34226d988f85fe612af6f769de/lib/appium_lib/common/helper.rb#L215)
|
|
1345
1353
|
|
|
1346
1354
|
> def characters(chars)
|
|
1347
1355
|
|
|
@@ -1349,7 +1357,7 @@ __Returns:__
|
|
|
1349
1357
|
|
|
1350
1358
|
--
|
|
1351
1359
|
|
|
1352
|
-
##### [_no_such_element](https://github.com/appium/ruby_lib/blob/
|
|
1360
|
+
##### [_no_such_element](https://github.com/appium/ruby_lib/blob/ea11190b9ab36e34226d988f85fe612af6f769de/lib/appium_lib/common/helper.rb#L223)
|
|
1353
1361
|
|
|
1354
1362
|
> def _no_such_element
|
|
1355
1363
|
|
|
@@ -1357,7 +1365,7 @@ __Returns:__
|
|
|
1357
1365
|
|
|
1358
1366
|
--
|
|
1359
1367
|
|
|
1360
|
-
##### [window_size](https://github.com/appium/ruby_lib/blob/
|
|
1368
|
+
##### [window_size](https://github.com/appium/ruby_lib/blob/ea11190b9ab36e34226d988f85fe612af6f769de/lib/appium_lib/common/element/window.rb#L5)
|
|
1361
1369
|
|
|
1362
1370
|
> def window_size
|
|
1363
1371
|
|
|
@@ -1365,7 +1373,7 @@ Get the window's size
|
|
|
1365
1373
|
|
|
1366
1374
|
--
|
|
1367
1375
|
|
|
1368
|
-
##### [ios_password](https://github.com/appium/ruby_lib/blob/
|
|
1376
|
+
##### [ios_password](https://github.com/appium/ruby_lib/blob/ea11190b9ab36e34226d988f85fe612af6f769de/lib/appium_lib/ios/helper.rb#L8) ios
|
|
1369
1377
|
|
|
1370
1378
|
> def ios_password length=1
|
|
1371
1379
|
|
|
@@ -1383,7 +1391,7 @@ __Returns:__
|
|
|
1383
1391
|
|
|
1384
1392
|
--
|
|
1385
1393
|
|
|
1386
|
-
##### [get_page](https://github.com/appium/ruby_lib/blob/
|
|
1394
|
+
##### [get_page](https://github.com/appium/ruby_lib/blob/ea11190b9ab36e34226d988f85fe612af6f769de/lib/appium_lib/ios/helper.rb#L20) ios
|
|
1387
1395
|
|
|
1388
1396
|
> def get_page element=source_window(0), class_name=nil
|
|
1389
1397
|
|
|
@@ -1404,7 +1412,7 @@ __Returns:__
|
|
|
1404
1412
|
|
|
1405
1413
|
--
|
|
1406
1414
|
|
|
1407
|
-
##### [page](https://github.com/appium/ruby_lib/blob/
|
|
1415
|
+
##### [page](https://github.com/appium/ruby_lib/blob/ea11190b9ab36e34226d988f85fe612af6f769de/lib/appium_lib/ios/helper.rb#L125) ios
|
|
1408
1416
|
|
|
1409
1417
|
> def page opts={}
|
|
1410
1418
|
|
|
@@ -1430,7 +1438,7 @@ __Returns:__
|
|
|
1430
1438
|
|
|
1431
1439
|
--
|
|
1432
1440
|
|
|
1433
|
-
##### [source_window](https://github.com/appium/ruby_lib/blob/
|
|
1441
|
+
##### [source_window](https://github.com/appium/ruby_lib/blob/ea11190b9ab36e34226d988f85fe612af6f769de/lib/appium_lib/ios/helper.rb#L157) ios
|
|
1434
1442
|
|
|
1435
1443
|
> def source_window window_number=0
|
|
1436
1444
|
|
|
@@ -1446,7 +1454,7 @@ __Returns:__
|
|
|
1446
1454
|
|
|
1447
1455
|
--
|
|
1448
1456
|
|
|
1449
|
-
##### [page_window](https://github.com/appium/ruby_lib/blob/
|
|
1457
|
+
##### [page_window](https://github.com/appium/ruby_lib/blob/ea11190b9ab36e34226d988f85fe612af6f769de/lib/appium_lib/ios/helper.rb#L171) ios
|
|
1450
1458
|
|
|
1451
1459
|
> def page_window window_number=0
|
|
1452
1460
|
|
|
@@ -1464,7 +1472,7 @@ __Returns:__
|
|
|
1464
1472
|
|
|
1465
1473
|
--
|
|
1466
1474
|
|
|
1467
|
-
##### [id](https://github.com/appium/ruby_lib/blob/
|
|
1475
|
+
##### [id](https://github.com/appium/ruby_lib/blob/ea11190b9ab36e34226d988f85fe612af6f769de/lib/appium_lib/ios/helper.rb#L179) ios
|
|
1468
1476
|
|
|
1469
1477
|
> def id id
|
|
1470
1478
|
|
|
@@ -1480,7 +1488,7 @@ __Returns:__
|
|
|
1480
1488
|
|
|
1481
1489
|
--
|
|
1482
1490
|
|
|
1483
|
-
##### [ios_version](https://github.com/appium/ruby_lib/blob/
|
|
1491
|
+
##### [ios_version](https://github.com/appium/ruby_lib/blob/ea11190b9ab36e34226d988f85fe612af6f769de/lib/appium_lib/ios/helper.rb#L185) ios
|
|
1484
1492
|
|
|
1485
1493
|
> def ios_version
|
|
1486
1494
|
|
|
@@ -1492,7 +1500,7 @@ __Returns:__
|
|
|
1492
1500
|
|
|
1493
1501
|
--
|
|
1494
1502
|
|
|
1495
|
-
##### [ele_index](https://github.com/appium/ruby_lib/blob/
|
|
1503
|
+
##### [ele_index](https://github.com/appium/ruby_lib/blob/ea11190b9ab36e34226d988f85fe612af6f769de/lib/appium_lib/ios/helper.rb#L194) ios
|
|
1496
1504
|
|
|
1497
1505
|
> def ele_index class_name, index
|
|
1498
1506
|
|
|
@@ -1510,7 +1518,7 @@ __Returns:__
|
|
|
1510
1518
|
|
|
1511
1519
|
--
|
|
1512
1520
|
|
|
1513
|
-
##### [find_ele_by_attr](https://github.com/appium/ruby_lib/blob/
|
|
1521
|
+
##### [find_ele_by_attr](https://github.com/appium/ruby_lib/blob/ea11190b9ab36e34226d988f85fe612af6f769de/lib/appium_lib/ios/helper.rb#L221) ios
|
|
1514
1522
|
|
|
1515
1523
|
> def find_ele_by_attr class_name, attr, value
|
|
1516
1524
|
|
|
@@ -1531,7 +1539,7 @@ __Returns:__
|
|
|
1531
1539
|
|
|
1532
1540
|
--
|
|
1533
1541
|
|
|
1534
|
-
##### [find_eles_by_attr](https://github.com/appium/ruby_lib/blob/
|
|
1542
|
+
##### [find_eles_by_attr](https://github.com/appium/ruby_lib/blob/ea11190b9ab36e34226d988f85fe612af6f769de/lib/appium_lib/ios/helper.rb#L231) ios
|
|
1535
1543
|
|
|
1536
1544
|
> def find_eles_by_attr class_name, attr, value
|
|
1537
1545
|
|
|
@@ -1552,7 +1560,7 @@ __Returns:__
|
|
|
1552
1560
|
|
|
1553
1561
|
--
|
|
1554
1562
|
|
|
1555
|
-
##### [find_ele_by_attr_include](https://github.com/appium/ruby_lib/blob/
|
|
1563
|
+
##### [find_ele_by_attr_include](https://github.com/appium/ruby_lib/blob/ea11190b9ab36e34226d988f85fe612af6f769de/lib/appium_lib/ios/helper.rb#L246) ios
|
|
1556
1564
|
|
|
1557
1565
|
> def find_ele_by_attr_include class_name, attr, value
|
|
1558
1566
|
|
|
@@ -1573,7 +1581,7 @@ __Returns:__
|
|
|
1573
1581
|
|
|
1574
1582
|
--
|
|
1575
1583
|
|
|
1576
|
-
##### [find_eles_by_attr_include](https://github.com/appium/ruby_lib/blob/
|
|
1584
|
+
##### [find_eles_by_attr_include](https://github.com/appium/ruby_lib/blob/ea11190b9ab36e34226d988f85fe612af6f769de/lib/appium_lib/ios/helper.rb#L256) ios
|
|
1577
1585
|
|
|
1578
1586
|
> def find_eles_by_attr_include class_name, attr, value
|
|
1579
1587
|
|
|
@@ -1594,7 +1602,7 @@ __Returns:__
|
|
|
1594
1602
|
|
|
1595
1603
|
--
|
|
1596
1604
|
|
|
1597
|
-
##### [first_ele](https://github.com/appium/ruby_lib/blob/
|
|
1605
|
+
##### [first_ele](https://github.com/appium/ruby_lib/blob/ea11190b9ab36e34226d988f85fe612af6f769de/lib/appium_lib/ios/helper.rb#L263) ios
|
|
1598
1606
|
|
|
1599
1607
|
> def first_ele class_name
|
|
1600
1608
|
|
|
@@ -1610,7 +1618,7 @@ __Returns:__
|
|
|
1610
1618
|
|
|
1611
1619
|
--
|
|
1612
1620
|
|
|
1613
|
-
##### [last_ele](https://github.com/appium/ruby_lib/blob/
|
|
1621
|
+
##### [last_ele](https://github.com/appium/ruby_lib/blob/ea11190b9ab36e34226d988f85fe612af6f769de/lib/appium_lib/ios/helper.rb#L271) ios
|
|
1614
1622
|
|
|
1615
1623
|
> def last_ele class_name
|
|
1616
1624
|
|
|
@@ -1626,7 +1634,7 @@ __Returns:__
|
|
|
1626
1634
|
|
|
1627
1635
|
--
|
|
1628
1636
|
|
|
1629
|
-
##### [tag](https://github.com/appium/ruby_lib/blob/
|
|
1637
|
+
##### [tag](https://github.com/appium/ruby_lib/blob/ea11190b9ab36e34226d988f85fe612af6f769de/lib/appium_lib/ios/helper.rb#L279) ios
|
|
1630
1638
|
|
|
1631
1639
|
> def tag class_name
|
|
1632
1640
|
|
|
@@ -1642,7 +1650,7 @@ __Returns:__
|
|
|
1642
1650
|
|
|
1643
1651
|
--
|
|
1644
1652
|
|
|
1645
|
-
##### [tags](https://github.com/appium/ruby_lib/blob/
|
|
1653
|
+
##### [tags](https://github.com/appium/ruby_lib/blob/ea11190b9ab36e34226d988f85fe612af6f769de/lib/appium_lib/ios/helper.rb#L290) ios
|
|
1646
1654
|
|
|
1647
1655
|
> def tags class_name
|
|
1648
1656
|
|
|
@@ -1658,7 +1666,7 @@ __Returns:__
|
|
|
1658
1666
|
|
|
1659
1667
|
--
|
|
1660
1668
|
|
|
1661
|
-
##### [ele_by_json_visible_contains](https://github.com/appium/ruby_lib/blob/
|
|
1669
|
+
##### [ele_by_json_visible_contains](https://github.com/appium/ruby_lib/blob/ea11190b9ab36e34226d988f85fe612af6f769de/lib/appium_lib/ios/helper.rb#L325) ios
|
|
1662
1670
|
|
|
1663
1671
|
> def ele_by_json_visible_contains element, value
|
|
1664
1672
|
|
|
@@ -1676,7 +1684,7 @@ __Returns:__
|
|
|
1676
1684
|
|
|
1677
1685
|
--
|
|
1678
1686
|
|
|
1679
|
-
##### [eles_by_json_visible_contains](https://github.com/appium/ruby_lib/blob/
|
|
1687
|
+
##### [eles_by_json_visible_contains](https://github.com/appium/ruby_lib/blob/ea11190b9ab36e34226d988f85fe612af6f769de/lib/appium_lib/ios/helper.rb#L333) ios
|
|
1680
1688
|
|
|
1681
1689
|
> def eles_by_json_visible_contains element, value
|
|
1682
1690
|
|
|
@@ -1694,7 +1702,7 @@ __Returns:__
|
|
|
1694
1702
|
|
|
1695
1703
|
--
|
|
1696
1704
|
|
|
1697
|
-
##### [ele_by_json_visible_exact](https://github.com/appium/ruby_lib/blob/
|
|
1705
|
+
##### [ele_by_json_visible_exact](https://github.com/appium/ruby_lib/blob/ea11190b9ab36e34226d988f85fe612af6f769de/lib/appium_lib/ios/helper.rb#L362) ios
|
|
1698
1706
|
|
|
1699
1707
|
> def ele_by_json_visible_exact element, value
|
|
1700
1708
|
|
|
@@ -1712,7 +1720,7 @@ __Returns:__
|
|
|
1712
1720
|
|
|
1713
1721
|
--
|
|
1714
1722
|
|
|
1715
|
-
##### [eles_by_json_visible_exact](https://github.com/appium/ruby_lib/blob/
|
|
1723
|
+
##### [eles_by_json_visible_exact](https://github.com/appium/ruby_lib/blob/ea11190b9ab36e34226d988f85fe612af6f769de/lib/appium_lib/ios/helper.rb#L370) ios
|
|
1716
1724
|
|
|
1717
1725
|
> def eles_by_json_visible_exact element, value
|
|
1718
1726
|
|
|
@@ -1730,7 +1738,7 @@ __Returns:__
|
|
|
1730
1738
|
|
|
1731
1739
|
--
|
|
1732
1740
|
|
|
1733
|
-
##### [_all_pred](https://github.com/appium/ruby_lib/blob/
|
|
1741
|
+
##### [_all_pred](https://github.com/appium/ruby_lib/blob/ea11190b9ab36e34226d988f85fe612af6f769de/lib/appium_lib/ios/helper.rb#L434) ios
|
|
1734
1742
|
|
|
1735
1743
|
> def _all_pred opts
|
|
1736
1744
|
|
|
@@ -1740,7 +1748,7 @@ visible - if true, only visible elements are returned. default true
|
|
|
1740
1748
|
|
|
1741
1749
|
--
|
|
1742
1750
|
|
|
1743
|
-
##### [ele_with_pred](https://github.com/appium/ruby_lib/blob/
|
|
1751
|
+
##### [ele_with_pred](https://github.com/appium/ruby_lib/blob/ea11190b9ab36e34226d988f85fe612af6f769de/lib/appium_lib/ios/helper.rb#L447) ios
|
|
1744
1752
|
|
|
1745
1753
|
> def ele_with_pred opts
|
|
1746
1754
|
|
|
@@ -1756,7 +1764,7 @@ __Returns:__
|
|
|
1756
1764
|
|
|
1757
1765
|
--
|
|
1758
1766
|
|
|
1759
|
-
##### [eles_with_pred](https://github.com/appium/ruby_lib/blob/
|
|
1767
|
+
##### [eles_with_pred](https://github.com/appium/ruby_lib/blob/ea11190b9ab36e34226d988f85fe612af6f769de/lib/appium_lib/ios/helper.rb#L458) ios
|
|
1760
1768
|
|
|
1761
1769
|
> def eles_with_pred opts
|
|
1762
1770
|
|
|
@@ -1772,7 +1780,7 @@ __Returns:__
|
|
|
1772
1780
|
|
|
1773
1781
|
--
|
|
1774
1782
|
|
|
1775
|
-
##### [source](https://github.com/appium/ruby_lib/blob/
|
|
1783
|
+
##### [source](https://github.com/appium/ruby_lib/blob/ea11190b9ab36e34226d988f85fe612af6f769de/lib/appium_lib/ios/helper.rb#L464) ios
|
|
1776
1784
|
|
|
1777
1785
|
> def source
|
|
1778
1786
|
|
|
@@ -1784,7 +1792,7 @@ __Returns:__
|
|
|
1784
1792
|
|
|
1785
1793
|
--
|
|
1786
1794
|
|
|
1787
|
-
##### [_validate_object](https://github.com/appium/ruby_lib/blob/
|
|
1795
|
+
##### [_validate_object](https://github.com/appium/ruby_lib/blob/ea11190b9ab36e34226d988f85fe612af6f769de/lib/appium_lib/ios/helper.rb#L468) ios
|
|
1788
1796
|
|
|
1789
1797
|
> def _validate_object *objects
|
|
1790
1798
|
|
|
@@ -1792,7 +1800,7 @@ __Returns:__
|
|
|
1792
1800
|
|
|
1793
1801
|
--
|
|
1794
1802
|
|
|
1795
|
-
##### [_by_json](https://github.com/appium/ruby_lib/blob/
|
|
1803
|
+
##### [_by_json](https://github.com/appium/ruby_lib/blob/ea11190b9ab36e34226d988f85fe612af6f769de/lib/appium_lib/ios/helper.rb#L516) ios
|
|
1796
1804
|
|
|
1797
1805
|
> def _by_json opts
|
|
1798
1806
|
|
|
@@ -1826,7 +1834,7 @@ opts = {
|
|
|
1826
1834
|
|
|
1827
1835
|
--
|
|
1828
1836
|
|
|
1829
|
-
##### [eles_by_json](https://github.com/appium/ruby_lib/blob/
|
|
1837
|
+
##### [eles_by_json](https://github.com/appium/ruby_lib/blob/ea11190b9ab36e34226d988f85fe612af6f769de/lib/appium_lib/ios/helper.rb#L556) ios
|
|
1830
1838
|
|
|
1831
1839
|
> def eles_by_json opts
|
|
1832
1840
|
|
|
@@ -1844,7 +1852,7 @@ eles_by_json({
|
|
|
1844
1852
|
|
|
1845
1853
|
--
|
|
1846
1854
|
|
|
1847
|
-
##### [ele_by_json](https://github.com/appium/ruby_lib/blob/
|
|
1855
|
+
##### [ele_by_json](https://github.com/appium/ruby_lib/blob/ea11190b9ab36e34226d988f85fe612af6f769de/lib/appium_lib/ios/helper.rb#L562) ios
|
|
1848
1856
|
|
|
1849
1857
|
> def ele_by_json opts
|
|
1850
1858
|
|
|
@@ -1852,7 +1860,7 @@ see eles_by_json
|
|
|
1852
1860
|
|
|
1853
1861
|
--
|
|
1854
1862
|
|
|
1855
|
-
##### [get_source](https://github.com/appium/ruby_lib/blob/
|
|
1863
|
+
##### [get_source](https://github.com/appium/ruby_lib/blob/ea11190b9ab36e34226d988f85fe612af6f769de/lib/appium_lib/ios/helper.rb#L572) ios
|
|
1856
1864
|
|
|
1857
1865
|
> def get_source
|
|
1858
1866
|
|
|
@@ -1865,7 +1873,7 @@ __Returns:__
|
|
|
1865
1873
|
|
|
1866
1874
|
--
|
|
1867
1875
|
|
|
1868
|
-
##### [UIAStaticText](https://github.com/appium/ruby_lib/blob/
|
|
1876
|
+
##### [UIAStaticText](https://github.com/appium/ruby_lib/blob/ea11190b9ab36e34226d988f85fe612af6f769de/lib/appium_lib/ios/element/text.rb#L4) ios
|
|
1869
1877
|
|
|
1870
1878
|
> UIAStaticText = 'UIAStaticText'
|
|
1871
1879
|
|
|
@@ -1873,7 +1881,7 @@ __Returns:__
|
|
|
1873
1881
|
|
|
1874
1882
|
--
|
|
1875
1883
|
|
|
1876
|
-
##### [text](https://github.com/appium/ruby_lib/blob/
|
|
1884
|
+
##### [text](https://github.com/appium/ruby_lib/blob/ea11190b9ab36e34226d988f85fe612af6f769de/lib/appium_lib/ios/element/text.rb#L10) ios
|
|
1877
1885
|
|
|
1878
1886
|
> def text value
|
|
1879
1887
|
|
|
@@ -1890,7 +1898,7 @@ __Returns:__
|
|
|
1890
1898
|
|
|
1891
1899
|
--
|
|
1892
1900
|
|
|
1893
|
-
##### [texts](https://github.com/appium/ruby_lib/blob/
|
|
1901
|
+
##### [texts](https://github.com/appium/ruby_lib/blob/ea11190b9ab36e34226d988f85fe612af6f769de/lib/appium_lib/ios/element/text.rb#L19) ios
|
|
1894
1902
|
|
|
1895
1903
|
> def texts value=false
|
|
1896
1904
|
|
|
@@ -1907,7 +1915,7 @@ __Returns:__
|
|
|
1907
1915
|
|
|
1908
1916
|
--
|
|
1909
1917
|
|
|
1910
|
-
##### [first_text](https://github.com/appium/ruby_lib/blob/
|
|
1918
|
+
##### [first_text](https://github.com/appium/ruby_lib/blob/ea11190b9ab36e34226d988f85fe612af6f769de/lib/appium_lib/ios/element/text.rb#L26) ios
|
|
1911
1919
|
|
|
1912
1920
|
> def first_text
|
|
1913
1921
|
|
|
@@ -1919,7 +1927,7 @@ __Returns:__
|
|
|
1919
1927
|
|
|
1920
1928
|
--
|
|
1921
1929
|
|
|
1922
|
-
##### [last_text](https://github.com/appium/ruby_lib/blob/
|
|
1930
|
+
##### [last_text](https://github.com/appium/ruby_lib/blob/ea11190b9ab36e34226d988f85fe612af6f769de/lib/appium_lib/ios/element/text.rb#L32) ios
|
|
1923
1931
|
|
|
1924
1932
|
> def last_text
|
|
1925
1933
|
|
|
@@ -1931,7 +1939,7 @@ __Returns:__
|
|
|
1931
1939
|
|
|
1932
1940
|
--
|
|
1933
1941
|
|
|
1934
|
-
##### [text_exact](https://github.com/appium/ruby_lib/blob/
|
|
1942
|
+
##### [text_exact](https://github.com/appium/ruby_lib/blob/ea11190b9ab36e34226d988f85fe612af6f769de/lib/appium_lib/ios/element/text.rb#L39) ios
|
|
1935
1943
|
|
|
1936
1944
|
> def text_exact value
|
|
1937
1945
|
|
|
@@ -1947,7 +1955,7 @@ __Returns:__
|
|
|
1947
1955
|
|
|
1948
1956
|
--
|
|
1949
1957
|
|
|
1950
|
-
##### [texts_exact](https://github.com/appium/ruby_lib/blob/
|
|
1958
|
+
##### [texts_exact](https://github.com/appium/ruby_lib/blob/ea11190b9ab36e34226d988f85fe612af6f769de/lib/appium_lib/ios/element/text.rb#L46) ios
|
|
1951
1959
|
|
|
1952
1960
|
> def texts_exact value
|
|
1953
1961
|
|
|
@@ -1963,7 +1971,7 @@ __Returns:__
|
|
|
1963
1971
|
|
|
1964
1972
|
--
|
|
1965
1973
|
|
|
1966
|
-
##### [alert_accept](https://github.com/appium/ruby_lib/blob/
|
|
1974
|
+
##### [alert_accept](https://github.com/appium/ruby_lib/blob/ea11190b9ab36e34226d988f85fe612af6f769de/lib/appium_lib/ios/element/alert.rb#L5) ios
|
|
1967
1975
|
|
|
1968
1976
|
> def alert_accept
|
|
1969
1977
|
|
|
@@ -1975,7 +1983,7 @@ __Returns:__
|
|
|
1975
1983
|
|
|
1976
1984
|
--
|
|
1977
1985
|
|
|
1978
|
-
##### [alert_dismiss](https://github.com/appium/ruby_lib/blob/
|
|
1986
|
+
##### [alert_dismiss](https://github.com/appium/ruby_lib/blob/ea11190b9ab36e34226d988f85fe612af6f769de/lib/appium_lib/ios/element/alert.rb#L13) ios
|
|
1979
1987
|
|
|
1980
1988
|
> def alert_dismiss
|
|
1981
1989
|
|
|
@@ -1987,7 +1995,7 @@ __Returns:__
|
|
|
1987
1995
|
|
|
1988
1996
|
--
|
|
1989
1997
|
|
|
1990
|
-
##### [uiautomation_find](https://github.com/appium/ruby_lib/blob/
|
|
1998
|
+
##### [uiautomation_find](https://github.com/appium/ruby_lib/blob/ea11190b9ab36e34226d988f85fe612af6f769de/lib/appium_lib/ios/mobile_methods.rb#L10) ios
|
|
1991
1999
|
|
|
1992
2000
|
> def uiautomation_find
|
|
1993
2001
|
|
|
@@ -1999,7 +2007,7 @@ find_element/s can be used with a [UIAutomation command](https://developer.apple
|
|
|
1999
2007
|
|
|
2000
2008
|
--
|
|
2001
2009
|
|
|
2002
|
-
##### [UIAButton](https://github.com/appium/ruby_lib/blob/
|
|
2010
|
+
##### [UIAButton](https://github.com/appium/ruby_lib/blob/ea11190b9ab36e34226d988f85fe612af6f769de/lib/appium_lib/ios/element/button.rb#L4) ios
|
|
2003
2011
|
|
|
2004
2012
|
> UIAButton = 'UIAButton'
|
|
2005
2013
|
|
|
@@ -2007,7 +2015,7 @@ find_element/s can be used with a [UIAutomation command](https://developer.apple
|
|
|
2007
2015
|
|
|
2008
2016
|
--
|
|
2009
2017
|
|
|
2010
|
-
##### [button](https://github.com/appium/ruby_lib/blob/
|
|
2018
|
+
##### [button](https://github.com/appium/ruby_lib/blob/ea11190b9ab36e34226d988f85fe612af6f769de/lib/appium_lib/ios/element/button.rb#L10) ios
|
|
2011
2019
|
|
|
2012
2020
|
> def button value
|
|
2013
2021
|
|
|
@@ -2024,7 +2032,7 @@ __Returns:__
|
|
|
2024
2032
|
|
|
2025
2033
|
--
|
|
2026
2034
|
|
|
2027
|
-
##### [buttons](https://github.com/appium/ruby_lib/blob/
|
|
2035
|
+
##### [buttons](https://github.com/appium/ruby_lib/blob/ea11190b9ab36e34226d988f85fe612af6f769de/lib/appium_lib/ios/element/button.rb#L20) ios
|
|
2028
2036
|
|
|
2029
2037
|
> def buttons value=false
|
|
2030
2038
|
|
|
@@ -2041,7 +2049,7 @@ __Returns:__
|
|
|
2041
2049
|
|
|
2042
2050
|
--
|
|
2043
2051
|
|
|
2044
|
-
##### [first_button](https://github.com/appium/ruby_lib/blob/
|
|
2052
|
+
##### [first_button](https://github.com/appium/ruby_lib/blob/ea11190b9ab36e34226d988f85fe612af6f769de/lib/appium_lib/ios/element/button.rb#L27) ios
|
|
2045
2053
|
|
|
2046
2054
|
> def first_button
|
|
2047
2055
|
|
|
@@ -2053,7 +2061,7 @@ __Returns:__
|
|
|
2053
2061
|
|
|
2054
2062
|
--
|
|
2055
2063
|
|
|
2056
|
-
##### [last_button](https://github.com/appium/ruby_lib/blob/
|
|
2064
|
+
##### [last_button](https://github.com/appium/ruby_lib/blob/ea11190b9ab36e34226d988f85fe612af6f769de/lib/appium_lib/ios/element/button.rb#L33) ios
|
|
2057
2065
|
|
|
2058
2066
|
> def last_button
|
|
2059
2067
|
|
|
@@ -2065,7 +2073,7 @@ __Returns:__
|
|
|
2065
2073
|
|
|
2066
2074
|
--
|
|
2067
2075
|
|
|
2068
|
-
##### [button_exact](https://github.com/appium/ruby_lib/blob/
|
|
2076
|
+
##### [button_exact](https://github.com/appium/ruby_lib/blob/ea11190b9ab36e34226d988f85fe612af6f769de/lib/appium_lib/ios/element/button.rb#L40) ios
|
|
2069
2077
|
|
|
2070
2078
|
> def button_exact value
|
|
2071
2079
|
|
|
@@ -2081,7 +2089,7 @@ __Returns:__
|
|
|
2081
2089
|
|
|
2082
2090
|
--
|
|
2083
2091
|
|
|
2084
|
-
##### [buttons_exact](https://github.com/appium/ruby_lib/blob/
|
|
2092
|
+
##### [buttons_exact](https://github.com/appium/ruby_lib/blob/ea11190b9ab36e34226d988f85fe612af6f769de/lib/appium_lib/ios/element/button.rb#L47) ios
|
|
2085
2093
|
|
|
2086
2094
|
> def buttons_exact value
|
|
2087
2095
|
|
|
@@ -2097,7 +2105,7 @@ __Returns:__
|
|
|
2097
2105
|
|
|
2098
2106
|
--
|
|
2099
2107
|
|
|
2100
|
-
##### [find](https://github.com/appium/ruby_lib/blob/
|
|
2108
|
+
##### [find](https://github.com/appium/ruby_lib/blob/ea11190b9ab36e34226d988f85fe612af6f769de/lib/appium_lib/ios/element/generic.rb#L7) ios
|
|
2101
2109
|
|
|
2102
2110
|
> def find value
|
|
2103
2111
|
|
|
@@ -2113,7 +2121,7 @@ __Returns:__
|
|
|
2113
2121
|
|
|
2114
2122
|
--
|
|
2115
2123
|
|
|
2116
|
-
##### [finds](https://github.com/appium/ruby_lib/blob/
|
|
2124
|
+
##### [finds](https://github.com/appium/ruby_lib/blob/ea11190b9ab36e34226d988f85fe612af6f769de/lib/appium_lib/ios/element/generic.rb#L14) ios
|
|
2117
2125
|
|
|
2118
2126
|
> def finds value
|
|
2119
2127
|
|
|
@@ -2129,7 +2137,7 @@ __Returns:__
|
|
|
2129
2137
|
|
|
2130
2138
|
--
|
|
2131
2139
|
|
|
2132
|
-
##### [find_exact](https://github.com/appium/ruby_lib/blob/
|
|
2140
|
+
##### [find_exact](https://github.com/appium/ruby_lib/blob/ea11190b9ab36e34226d988f85fe612af6f769de/lib/appium_lib/ios/element/generic.rb#L21) ios
|
|
2133
2141
|
|
|
2134
2142
|
> def find_exact value
|
|
2135
2143
|
|
|
@@ -2145,7 +2153,7 @@ __Returns:__
|
|
|
2145
2153
|
|
|
2146
2154
|
--
|
|
2147
2155
|
|
|
2148
|
-
##### [finds_exact](https://github.com/appium/ruby_lib/blob/
|
|
2156
|
+
##### [finds_exact](https://github.com/appium/ruby_lib/blob/ea11190b9ab36e34226d988f85fe612af6f769de/lib/appium_lib/ios/element/generic.rb#L28) ios
|
|
2149
2157
|
|
|
2150
2158
|
> def finds_exact value
|
|
2151
2159
|
|
|
@@ -2161,7 +2169,7 @@ __Returns:__
|
|
|
2161
2169
|
|
|
2162
2170
|
--
|
|
2163
2171
|
|
|
2164
|
-
##### [UIATextField](https://github.com/appium/ruby_lib/blob/
|
|
2172
|
+
##### [UIATextField](https://github.com/appium/ruby_lib/blob/ea11190b9ab36e34226d988f85fe612af6f769de/lib/appium_lib/ios/element/textfield.rb#L3) ios
|
|
2165
2173
|
|
|
2166
2174
|
> UIATextField = 'UIATextField'
|
|
2167
2175
|
|
|
@@ -2169,7 +2177,7 @@ __Returns:__
|
|
|
2169
2177
|
|
|
2170
2178
|
--
|
|
2171
2179
|
|
|
2172
|
-
##### [UIASecureTextField](https://github.com/appium/ruby_lib/blob/
|
|
2180
|
+
##### [UIASecureTextField](https://github.com/appium/ruby_lib/blob/ea11190b9ab36e34226d988f85fe612af6f769de/lib/appium_lib/ios/element/textfield.rb#L4) ios
|
|
2173
2181
|
|
|
2174
2182
|
> UIASecureTextField = 'UIASecureTextField'
|
|
2175
2183
|
|
|
@@ -2177,7 +2185,7 @@ __Returns:__
|
|
|
2177
2185
|
|
|
2178
2186
|
--
|
|
2179
2187
|
|
|
2180
|
-
##### [textfield](https://github.com/appium/ruby_lib/blob/
|
|
2188
|
+
##### [textfield](https://github.com/appium/ruby_lib/blob/ea11190b9ab36e34226d988f85fe612af6f769de/lib/appium_lib/ios/element/textfield.rb#L52) ios
|
|
2181
2189
|
|
|
2182
2190
|
> def textfield value
|
|
2183
2191
|
|
|
@@ -2194,7 +2202,7 @@ __Returns:__
|
|
|
2194
2202
|
|
|
2195
2203
|
--
|
|
2196
2204
|
|
|
2197
|
-
##### [textfields](https://github.com/appium/ruby_lib/blob/
|
|
2205
|
+
##### [textfields](https://github.com/appium/ruby_lib/blob/ea11190b9ab36e34226d988f85fe612af6f769de/lib/appium_lib/ios/element/textfield.rb#L72) ios
|
|
2198
2206
|
|
|
2199
2207
|
> def textfields value=false
|
|
2200
2208
|
|
|
@@ -2211,7 +2219,7 @@ __Returns:__
|
|
|
2211
2219
|
|
|
2212
2220
|
--
|
|
2213
2221
|
|
|
2214
|
-
##### [first_textfield](https://github.com/appium/ruby_lib/blob/
|
|
2222
|
+
##### [first_textfield](https://github.com/appium/ruby_lib/blob/ea11190b9ab36e34226d988f85fe612af6f769de/lib/appium_lib/ios/element/textfield.rb#L79) ios
|
|
2215
2223
|
|
|
2216
2224
|
> def first_textfield
|
|
2217
2225
|
|
|
@@ -2223,7 +2231,7 @@ __Returns:__
|
|
|
2223
2231
|
|
|
2224
2232
|
--
|
|
2225
2233
|
|
|
2226
|
-
##### [last_textfield](https://github.com/appium/ruby_lib/blob/
|
|
2234
|
+
##### [last_textfield](https://github.com/appium/ruby_lib/blob/ea11190b9ab36e34226d988f85fe612af6f769de/lib/appium_lib/ios/element/textfield.rb#L85) ios
|
|
2227
2235
|
|
|
2228
2236
|
> def last_textfield
|
|
2229
2237
|
|
|
@@ -2235,7 +2243,7 @@ __Returns:__
|
|
|
2235
2243
|
|
|
2236
2244
|
--
|
|
2237
2245
|
|
|
2238
|
-
##### [textfield_exact](https://github.com/appium/ruby_lib/blob/
|
|
2246
|
+
##### [textfield_exact](https://github.com/appium/ruby_lib/blob/ea11190b9ab36e34226d988f85fe612af6f769de/lib/appium_lib/ios/element/textfield.rb#L94) ios
|
|
2239
2247
|
|
|
2240
2248
|
> def textfield_exact value
|
|
2241
2249
|
|
|
@@ -2251,7 +2259,7 @@ __Returns:__
|
|
|
2251
2259
|
|
|
2252
2260
|
--
|
|
2253
2261
|
|
|
2254
|
-
##### [textfields_exact](https://github.com/appium/ruby_lib/blob/
|
|
2262
|
+
##### [textfields_exact](https://github.com/appium/ruby_lib/blob/ea11190b9ab36e34226d988f85fe612af6f769de/lib/appium_lib/ios/element/textfield.rb#L101) ios
|
|
2255
2263
|
|
|
2256
2264
|
> def textfields_exact value
|
|
2257
2265
|
|
|
@@ -2267,7 +2275,7 @@ __Returns:__
|
|
|
2267
2275
|
|
|
2268
2276
|
--
|
|
2269
2277
|
|
|
2270
|
-
##### [value](https://github.com/appium/ruby_lib/blob/
|
|
2278
|
+
##### [value](https://github.com/appium/ruby_lib/blob/ea11190b9ab36e34226d988f85fe612af6f769de/lib/appium_lib/common/patch.rb#L12)
|
|
2271
2279
|
|
|
2272
2280
|
> def value
|
|
2273
2281
|
|
|
@@ -2277,7 +2285,7 @@ Fixes NoMethodError: undefined method `value' for Selenium::WebDriver::Element
|
|
|
2277
2285
|
|
|
2278
2286
|
--
|
|
2279
2287
|
|
|
2280
|
-
##### [name](https://github.com/appium/ruby_lib/blob/
|
|
2288
|
+
##### [name](https://github.com/appium/ruby_lib/blob/ea11190b9ab36e34226d988f85fe612af6f769de/lib/appium_lib/common/patch.rb#L19)
|
|
2281
2289
|
|
|
2282
2290
|
> def name
|
|
2283
2291
|
|
|
@@ -2287,7 +2295,7 @@ Fixes NoMethodError: undefined method `name' for Selenium::WebDriver::Element
|
|
|
2287
2295
|
|
|
2288
2296
|
--
|
|
2289
2297
|
|
|
2290
|
-
##### [location_rel](https://github.com/appium/ruby_lib/blob/
|
|
2298
|
+
##### [location_rel](https://github.com/appium/ruby_lib/blob/ea11190b9ab36e34226d988f85fe612af6f769de/lib/appium_lib/common/patch.rb#L31)
|
|
2291
2299
|
|
|
2292
2300
|
> def location_rel
|
|
2293
2301
|
|
|
@@ -2305,7 +2313,7 @@ __Returns:__
|
|
|
2305
2313
|
|
|
2306
2314
|
--
|
|
2307
2315
|
|
|
2308
|
-
##### [DEFAULT_HEADERS](https://github.com/appium/ruby_lib/blob/
|
|
2316
|
+
##### [DEFAULT_HEADERS](https://github.com/appium/ruby_lib/blob/ea11190b9ab36e34226d988f85fe612af6f769de/lib/appium_lib/common/patch.rb#L145)
|
|
2309
2317
|
|
|
2310
2318
|
> DEFAULT_HEADERS = { 'Accept' => CONTENT_TYPE, 'User-Agent' => "appium/ruby_lib/#{::Appium::VERSION}" }
|
|
2311
2319
|
|