chemlab-library-the-internet 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/lib/component/flash.rb +12 -0
- data/lib/page/index.rb +57 -0
- data/lib/page/index.stub.rb +1223 -0
- data/lib/page/login.rb +14 -0
- data/lib/page/login.stub.rb +107 -0
- data/lib/page/secure.rb +13 -0
- data/lib/page/secure.stub.rb +62 -0
- data/lib/the_internet.rb +16 -0
- metadata +121 -0
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: d5bcd77a266e258144fc9f364e9c1b915ce75dc09c45b4455f046f5d79a938b4
|
4
|
+
data.tar.gz: cfb15c471e68821a708497acf74d2bd4642d05d8c2530b17d462636bbf5d3f0d
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: '0558f97e28bf08bb0f7fe01602d619b9be6ba935db476866b3f5af9867af73c0088b87e9324313e2eb93d72e03e41272ab3d0984603f45fa7310b6fe83d9386e'
|
7
|
+
data.tar.gz: 4087803f70807977b83b997b46bedf6a788f108052cfccf5dff13ff5c11f666878beb60c79687fa3edfcf2609baed7b8dbe03103764942368bfde6331e3917a4
|
data/lib/page/index.rb
ADDED
@@ -0,0 +1,57 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
module TheInternet
|
4
|
+
module Page
|
5
|
+
# Index page at https://the-internet.herokuapp.com/
|
6
|
+
class Index < Chemlab::Page
|
7
|
+
path '/'
|
8
|
+
|
9
|
+
h1 :heading, class: 'heading'
|
10
|
+
|
11
|
+
link :a_b_testing, href: '/abtest'
|
12
|
+
link :add_remove_elements, href: '/add_remove_elements/'
|
13
|
+
link :basic_auth, href: '/basic_auth'
|
14
|
+
link :broken_images, href: '/broken_images'
|
15
|
+
link :challenging_dom, href: '/challenging_dom'
|
16
|
+
link :checkboxes, href: '/checkboxes'
|
17
|
+
link :context_menu, href: '/context_menu'
|
18
|
+
link :digest_authentication, href: '/digest_auth'
|
19
|
+
link :disappearing_elements, href: '/disappearing_elements'
|
20
|
+
link :drag_and_drop, href: '/drag_and_drop'
|
21
|
+
link :dropdown, href: '/dropdown'
|
22
|
+
link :dynamic_content, href: '/dynamic_content'
|
23
|
+
link :dynamic_controls, href: '/dynamic_controls'
|
24
|
+
link :dynamic_loading, href: '/dynamic_loading'
|
25
|
+
link :entry_ad, href: '/entry_ad'
|
26
|
+
link :exit_intent, href: '/exit_intent'
|
27
|
+
link :file_download, href: '/download'
|
28
|
+
link :file_upload, href: '/upload'
|
29
|
+
link :floating_menu, href: '/floating_menu'
|
30
|
+
link :forgot_password, href: '/forgot_password'
|
31
|
+
link :form_authentication, href: '/login'
|
32
|
+
link :frames, href: '/frames'
|
33
|
+
link :geolocation, href: '/geolocation'
|
34
|
+
link :horizontal_slider, href: '/horizontal_slider'
|
35
|
+
link :hovers, href: '/hovers'
|
36
|
+
link :infinite_scroll, href: '/infinite_scroll'
|
37
|
+
link :inputs, href: '/inputs'
|
38
|
+
link :jquery_ui_menus, href: '/jqueryui/menu'
|
39
|
+
link :javascript_alerts, href: '/javascript_alerts'
|
40
|
+
link :javascript_onload_event_error, href: '/javascript_error'
|
41
|
+
link :key_presses, href: '/key_presses'
|
42
|
+
link :large_and_deep_dom, href: '/large'
|
43
|
+
link :multiple_windows, href: '/windows'
|
44
|
+
link :nested_frames, href: '/nested_frames'
|
45
|
+
link :notification_messages, href: '/notification_message'
|
46
|
+
link :redirect_link, href: '/redirector'
|
47
|
+
link :secure_file_download, href: '/download_secure'
|
48
|
+
link :shadow_dom, href: '/shadowdom'
|
49
|
+
link :shifting_content, href: '/shifting_content'
|
50
|
+
link :slow_resources, href: '/slow'
|
51
|
+
link :sortable_data_tables, href: '/tables'
|
52
|
+
link :status_codes, href: '/status_codes'
|
53
|
+
link :typos, href: '/typos'
|
54
|
+
link :wysiwyg_editor, href: '/tinymce'
|
55
|
+
end
|
56
|
+
end
|
57
|
+
end
|
@@ -0,0 +1,1223 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
module TheInternet
|
4
|
+
module Page
|
5
|
+
module Index
|
6
|
+
|
7
|
+
# @note Defined as +h1 :heading+
|
8
|
+
# @return [String] The text content or value of +heading+
|
9
|
+
def heading
|
10
|
+
# This is a stub, used for indexing
|
11
|
+
end
|
12
|
+
|
13
|
+
|
14
|
+
|
15
|
+
# @example
|
16
|
+
# TheInternet::Page::Index.perform do |index|
|
17
|
+
# expect(index.heading_element).to exist
|
18
|
+
# end
|
19
|
+
# @return [Watir::H1] The raw +H1+ element
|
20
|
+
def heading_element
|
21
|
+
# This is a stub, used for indexing
|
22
|
+
end
|
23
|
+
|
24
|
+
# @example
|
25
|
+
# TheInternet::Page::Index.perform do |index|
|
26
|
+
# expect(index).to be_heading
|
27
|
+
# end
|
28
|
+
# @return [Boolean] true if the +heading+ element is present on the page
|
29
|
+
def heading?
|
30
|
+
# This is a stub, used for indexing
|
31
|
+
end
|
32
|
+
|
33
|
+
|
34
|
+
# @note Defined as +link :a_b_testing+
|
35
|
+
# Clicks +a_b_testing+
|
36
|
+
def a_b_testing
|
37
|
+
# This is a stub, used for indexing
|
38
|
+
end
|
39
|
+
|
40
|
+
|
41
|
+
|
42
|
+
# @example
|
43
|
+
# TheInternet::Page::Index.perform do |index|
|
44
|
+
# expect(index.a_b_testing_element).to exist
|
45
|
+
# end
|
46
|
+
# @return [Watir::Link] The raw +Link+ element
|
47
|
+
def a_b_testing_element
|
48
|
+
# This is a stub, used for indexing
|
49
|
+
end
|
50
|
+
|
51
|
+
# @example
|
52
|
+
# TheInternet::Page::Index.perform do |index|
|
53
|
+
# expect(index).to be_a_b_testing
|
54
|
+
# end
|
55
|
+
# @return [Boolean] true if the +a_b_testing+ element is present on the page
|
56
|
+
def a_b_testing?
|
57
|
+
# This is a stub, used for indexing
|
58
|
+
end
|
59
|
+
|
60
|
+
|
61
|
+
# @note Defined as +link :add_remove_elements+
|
62
|
+
# Clicks +add_remove_elements+
|
63
|
+
def add_remove_elements
|
64
|
+
# This is a stub, used for indexing
|
65
|
+
end
|
66
|
+
|
67
|
+
|
68
|
+
|
69
|
+
# @example
|
70
|
+
# TheInternet::Page::Index.perform do |index|
|
71
|
+
# expect(index.add_remove_elements_element).to exist
|
72
|
+
# end
|
73
|
+
# @return [Watir::Link] The raw +Link+ element
|
74
|
+
def add_remove_elements_element
|
75
|
+
# This is a stub, used for indexing
|
76
|
+
end
|
77
|
+
|
78
|
+
# @example
|
79
|
+
# TheInternet::Page::Index.perform do |index|
|
80
|
+
# expect(index).to be_add_remove_elements
|
81
|
+
# end
|
82
|
+
# @return [Boolean] true if the +add_remove_elements+ element is present on the page
|
83
|
+
def add_remove_elements?
|
84
|
+
# This is a stub, used for indexing
|
85
|
+
end
|
86
|
+
|
87
|
+
|
88
|
+
# @note Defined as +link :basic_auth+
|
89
|
+
# Clicks +basic_auth+
|
90
|
+
def basic_auth
|
91
|
+
# This is a stub, used for indexing
|
92
|
+
end
|
93
|
+
|
94
|
+
|
95
|
+
|
96
|
+
# @example
|
97
|
+
# TheInternet::Page::Index.perform do |index|
|
98
|
+
# expect(index.basic_auth_element).to exist
|
99
|
+
# end
|
100
|
+
# @return [Watir::Link] The raw +Link+ element
|
101
|
+
def basic_auth_element
|
102
|
+
# This is a stub, used for indexing
|
103
|
+
end
|
104
|
+
|
105
|
+
# @example
|
106
|
+
# TheInternet::Page::Index.perform do |index|
|
107
|
+
# expect(index).to be_basic_auth
|
108
|
+
# end
|
109
|
+
# @return [Boolean] true if the +basic_auth+ element is present on the page
|
110
|
+
def basic_auth?
|
111
|
+
# This is a stub, used for indexing
|
112
|
+
end
|
113
|
+
|
114
|
+
|
115
|
+
# @note Defined as +link :broken_images+
|
116
|
+
# Clicks +broken_images+
|
117
|
+
def broken_images
|
118
|
+
# This is a stub, used for indexing
|
119
|
+
end
|
120
|
+
|
121
|
+
|
122
|
+
|
123
|
+
# @example
|
124
|
+
# TheInternet::Page::Index.perform do |index|
|
125
|
+
# expect(index.broken_images_element).to exist
|
126
|
+
# end
|
127
|
+
# @return [Watir::Link] The raw +Link+ element
|
128
|
+
def broken_images_element
|
129
|
+
# This is a stub, used for indexing
|
130
|
+
end
|
131
|
+
|
132
|
+
# @example
|
133
|
+
# TheInternet::Page::Index.perform do |index|
|
134
|
+
# expect(index).to be_broken_images
|
135
|
+
# end
|
136
|
+
# @return [Boolean] true if the +broken_images+ element is present on the page
|
137
|
+
def broken_images?
|
138
|
+
# This is a stub, used for indexing
|
139
|
+
end
|
140
|
+
|
141
|
+
|
142
|
+
# @note Defined as +link :challenging_dom+
|
143
|
+
# Clicks +challenging_dom+
|
144
|
+
def challenging_dom
|
145
|
+
# This is a stub, used for indexing
|
146
|
+
end
|
147
|
+
|
148
|
+
|
149
|
+
|
150
|
+
# @example
|
151
|
+
# TheInternet::Page::Index.perform do |index|
|
152
|
+
# expect(index.challenging_dom_element).to exist
|
153
|
+
# end
|
154
|
+
# @return [Watir::Link] The raw +Link+ element
|
155
|
+
def challenging_dom_element
|
156
|
+
# This is a stub, used for indexing
|
157
|
+
end
|
158
|
+
|
159
|
+
# @example
|
160
|
+
# TheInternet::Page::Index.perform do |index|
|
161
|
+
# expect(index).to be_challenging_dom
|
162
|
+
# end
|
163
|
+
# @return [Boolean] true if the +challenging_dom+ element is present on the page
|
164
|
+
def challenging_dom?
|
165
|
+
# This is a stub, used for indexing
|
166
|
+
end
|
167
|
+
|
168
|
+
|
169
|
+
# @note Defined as +link :checkboxes+
|
170
|
+
# Clicks +checkboxes+
|
171
|
+
def checkboxes
|
172
|
+
# This is a stub, used for indexing
|
173
|
+
end
|
174
|
+
|
175
|
+
|
176
|
+
|
177
|
+
# @example
|
178
|
+
# TheInternet::Page::Index.perform do |index|
|
179
|
+
# expect(index.checkboxes_element).to exist
|
180
|
+
# end
|
181
|
+
# @return [Watir::Link] The raw +Link+ element
|
182
|
+
def checkboxes_element
|
183
|
+
# This is a stub, used for indexing
|
184
|
+
end
|
185
|
+
|
186
|
+
# @example
|
187
|
+
# TheInternet::Page::Index.perform do |index|
|
188
|
+
# expect(index).to be_checkboxes
|
189
|
+
# end
|
190
|
+
# @return [Boolean] true if the +checkboxes+ element is present on the page
|
191
|
+
def checkboxes?
|
192
|
+
# This is a stub, used for indexing
|
193
|
+
end
|
194
|
+
|
195
|
+
|
196
|
+
# @note Defined as +link :context_menu+
|
197
|
+
# Clicks +context_menu+
|
198
|
+
def context_menu
|
199
|
+
# This is a stub, used for indexing
|
200
|
+
end
|
201
|
+
|
202
|
+
|
203
|
+
|
204
|
+
# @example
|
205
|
+
# TheInternet::Page::Index.perform do |index|
|
206
|
+
# expect(index.context_menu_element).to exist
|
207
|
+
# end
|
208
|
+
# @return [Watir::Link] The raw +Link+ element
|
209
|
+
def context_menu_element
|
210
|
+
# This is a stub, used for indexing
|
211
|
+
end
|
212
|
+
|
213
|
+
# @example
|
214
|
+
# TheInternet::Page::Index.perform do |index|
|
215
|
+
# expect(index).to be_context_menu
|
216
|
+
# end
|
217
|
+
# @return [Boolean] true if the +context_menu+ element is present on the page
|
218
|
+
def context_menu?
|
219
|
+
# This is a stub, used for indexing
|
220
|
+
end
|
221
|
+
|
222
|
+
|
223
|
+
# @note Defined as +link :digest_authentication+
|
224
|
+
# Clicks +digest_authentication+
|
225
|
+
def digest_authentication
|
226
|
+
# This is a stub, used for indexing
|
227
|
+
end
|
228
|
+
|
229
|
+
|
230
|
+
|
231
|
+
# @example
|
232
|
+
# TheInternet::Page::Index.perform do |index|
|
233
|
+
# expect(index.digest_authentication_element).to exist
|
234
|
+
# end
|
235
|
+
# @return [Watir::Link] The raw +Link+ element
|
236
|
+
def digest_authentication_element
|
237
|
+
# This is a stub, used for indexing
|
238
|
+
end
|
239
|
+
|
240
|
+
# @example
|
241
|
+
# TheInternet::Page::Index.perform do |index|
|
242
|
+
# expect(index).to be_digest_authentication
|
243
|
+
# end
|
244
|
+
# @return [Boolean] true if the +digest_authentication+ element is present on the page
|
245
|
+
def digest_authentication?
|
246
|
+
# This is a stub, used for indexing
|
247
|
+
end
|
248
|
+
|
249
|
+
|
250
|
+
# @note Defined as +link :disappearing_elements+
|
251
|
+
# Clicks +disappearing_elements+
|
252
|
+
def disappearing_elements
|
253
|
+
# This is a stub, used for indexing
|
254
|
+
end
|
255
|
+
|
256
|
+
|
257
|
+
|
258
|
+
# @example
|
259
|
+
# TheInternet::Page::Index.perform do |index|
|
260
|
+
# expect(index.disappearing_elements_element).to exist
|
261
|
+
# end
|
262
|
+
# @return [Watir::Link] The raw +Link+ element
|
263
|
+
def disappearing_elements_element
|
264
|
+
# This is a stub, used for indexing
|
265
|
+
end
|
266
|
+
|
267
|
+
# @example
|
268
|
+
# TheInternet::Page::Index.perform do |index|
|
269
|
+
# expect(index).to be_disappearing_elements
|
270
|
+
# end
|
271
|
+
# @return [Boolean] true if the +disappearing_elements+ element is present on the page
|
272
|
+
def disappearing_elements?
|
273
|
+
# This is a stub, used for indexing
|
274
|
+
end
|
275
|
+
|
276
|
+
|
277
|
+
# @note Defined as +link :drag_and_drop+
|
278
|
+
# Clicks +drag_and_drop+
|
279
|
+
def drag_and_drop
|
280
|
+
# This is a stub, used for indexing
|
281
|
+
end
|
282
|
+
|
283
|
+
|
284
|
+
|
285
|
+
# @example
|
286
|
+
# TheInternet::Page::Index.perform do |index|
|
287
|
+
# expect(index.drag_and_drop_element).to exist
|
288
|
+
# end
|
289
|
+
# @return [Watir::Link] The raw +Link+ element
|
290
|
+
def drag_and_drop_element
|
291
|
+
# This is a stub, used for indexing
|
292
|
+
end
|
293
|
+
|
294
|
+
# @example
|
295
|
+
# TheInternet::Page::Index.perform do |index|
|
296
|
+
# expect(index).to be_drag_and_drop
|
297
|
+
# end
|
298
|
+
# @return [Boolean] true if the +drag_and_drop+ element is present on the page
|
299
|
+
def drag_and_drop?
|
300
|
+
# This is a stub, used for indexing
|
301
|
+
end
|
302
|
+
|
303
|
+
|
304
|
+
# @note Defined as +link :dropdown+
|
305
|
+
# Clicks +dropdown+
|
306
|
+
def dropdown
|
307
|
+
# This is a stub, used for indexing
|
308
|
+
end
|
309
|
+
|
310
|
+
|
311
|
+
|
312
|
+
# @example
|
313
|
+
# TheInternet::Page::Index.perform do |index|
|
314
|
+
# expect(index.dropdown_element).to exist
|
315
|
+
# end
|
316
|
+
# @return [Watir::Link] The raw +Link+ element
|
317
|
+
def dropdown_element
|
318
|
+
# This is a stub, used for indexing
|
319
|
+
end
|
320
|
+
|
321
|
+
# @example
|
322
|
+
# TheInternet::Page::Index.perform do |index|
|
323
|
+
# expect(index).to be_dropdown
|
324
|
+
# end
|
325
|
+
# @return [Boolean] true if the +dropdown+ element is present on the page
|
326
|
+
def dropdown?
|
327
|
+
# This is a stub, used for indexing
|
328
|
+
end
|
329
|
+
|
330
|
+
|
331
|
+
# @note Defined as +link :dynamic_content+
|
332
|
+
# Clicks +dynamic_content+
|
333
|
+
def dynamic_content
|
334
|
+
# This is a stub, used for indexing
|
335
|
+
end
|
336
|
+
|
337
|
+
|
338
|
+
|
339
|
+
# @example
|
340
|
+
# TheInternet::Page::Index.perform do |index|
|
341
|
+
# expect(index.dynamic_content_element).to exist
|
342
|
+
# end
|
343
|
+
# @return [Watir::Link] The raw +Link+ element
|
344
|
+
def dynamic_content_element
|
345
|
+
# This is a stub, used for indexing
|
346
|
+
end
|
347
|
+
|
348
|
+
# @example
|
349
|
+
# TheInternet::Page::Index.perform do |index|
|
350
|
+
# expect(index).to be_dynamic_content
|
351
|
+
# end
|
352
|
+
# @return [Boolean] true if the +dynamic_content+ element is present on the page
|
353
|
+
def dynamic_content?
|
354
|
+
# This is a stub, used for indexing
|
355
|
+
end
|
356
|
+
|
357
|
+
|
358
|
+
# @note Defined as +link :dynamic_controls+
|
359
|
+
# Clicks +dynamic_controls+
|
360
|
+
def dynamic_controls
|
361
|
+
# This is a stub, used for indexing
|
362
|
+
end
|
363
|
+
|
364
|
+
|
365
|
+
|
366
|
+
# @example
|
367
|
+
# TheInternet::Page::Index.perform do |index|
|
368
|
+
# expect(index.dynamic_controls_element).to exist
|
369
|
+
# end
|
370
|
+
# @return [Watir::Link] The raw +Link+ element
|
371
|
+
def dynamic_controls_element
|
372
|
+
# This is a stub, used for indexing
|
373
|
+
end
|
374
|
+
|
375
|
+
# @example
|
376
|
+
# TheInternet::Page::Index.perform do |index|
|
377
|
+
# expect(index).to be_dynamic_controls
|
378
|
+
# end
|
379
|
+
# @return [Boolean] true if the +dynamic_controls+ element is present on the page
|
380
|
+
def dynamic_controls?
|
381
|
+
# This is a stub, used for indexing
|
382
|
+
end
|
383
|
+
|
384
|
+
|
385
|
+
# @note Defined as +link :dynamic_loading+
|
386
|
+
# Clicks +dynamic_loading+
|
387
|
+
def dynamic_loading
|
388
|
+
# This is a stub, used for indexing
|
389
|
+
end
|
390
|
+
|
391
|
+
|
392
|
+
|
393
|
+
# @example
|
394
|
+
# TheInternet::Page::Index.perform do |index|
|
395
|
+
# expect(index.dynamic_loading_element).to exist
|
396
|
+
# end
|
397
|
+
# @return [Watir::Link] The raw +Link+ element
|
398
|
+
def dynamic_loading_element
|
399
|
+
# This is a stub, used for indexing
|
400
|
+
end
|
401
|
+
|
402
|
+
# @example
|
403
|
+
# TheInternet::Page::Index.perform do |index|
|
404
|
+
# expect(index).to be_dynamic_loading
|
405
|
+
# end
|
406
|
+
# @return [Boolean] true if the +dynamic_loading+ element is present on the page
|
407
|
+
def dynamic_loading?
|
408
|
+
# This is a stub, used for indexing
|
409
|
+
end
|
410
|
+
|
411
|
+
|
412
|
+
# @note Defined as +link :entry_ad+
|
413
|
+
# Clicks +entry_ad+
|
414
|
+
def entry_ad
|
415
|
+
# This is a stub, used for indexing
|
416
|
+
end
|
417
|
+
|
418
|
+
|
419
|
+
|
420
|
+
# @example
|
421
|
+
# TheInternet::Page::Index.perform do |index|
|
422
|
+
# expect(index.entry_ad_element).to exist
|
423
|
+
# end
|
424
|
+
# @return [Watir::Link] The raw +Link+ element
|
425
|
+
def entry_ad_element
|
426
|
+
# This is a stub, used for indexing
|
427
|
+
end
|
428
|
+
|
429
|
+
# @example
|
430
|
+
# TheInternet::Page::Index.perform do |index|
|
431
|
+
# expect(index).to be_entry_ad
|
432
|
+
# end
|
433
|
+
# @return [Boolean] true if the +entry_ad+ element is present on the page
|
434
|
+
def entry_ad?
|
435
|
+
# This is a stub, used for indexing
|
436
|
+
end
|
437
|
+
|
438
|
+
|
439
|
+
# @note Defined as +link :exit_intent+
|
440
|
+
# Clicks +exit_intent+
|
441
|
+
def exit_intent
|
442
|
+
# This is a stub, used for indexing
|
443
|
+
end
|
444
|
+
|
445
|
+
|
446
|
+
|
447
|
+
# @example
|
448
|
+
# TheInternet::Page::Index.perform do |index|
|
449
|
+
# expect(index.exit_intent_element).to exist
|
450
|
+
# end
|
451
|
+
# @return [Watir::Link] The raw +Link+ element
|
452
|
+
def exit_intent_element
|
453
|
+
# This is a stub, used for indexing
|
454
|
+
end
|
455
|
+
|
456
|
+
# @example
|
457
|
+
# TheInternet::Page::Index.perform do |index|
|
458
|
+
# expect(index).to be_exit_intent
|
459
|
+
# end
|
460
|
+
# @return [Boolean] true if the +exit_intent+ element is present on the page
|
461
|
+
def exit_intent?
|
462
|
+
# This is a stub, used for indexing
|
463
|
+
end
|
464
|
+
|
465
|
+
|
466
|
+
# @note Defined as +link :file_download+
|
467
|
+
# Clicks +file_download+
|
468
|
+
def file_download
|
469
|
+
# This is a stub, used for indexing
|
470
|
+
end
|
471
|
+
|
472
|
+
|
473
|
+
|
474
|
+
# @example
|
475
|
+
# TheInternet::Page::Index.perform do |index|
|
476
|
+
# expect(index.file_download_element).to exist
|
477
|
+
# end
|
478
|
+
# @return [Watir::Link] The raw +Link+ element
|
479
|
+
def file_download_element
|
480
|
+
# This is a stub, used for indexing
|
481
|
+
end
|
482
|
+
|
483
|
+
# @example
|
484
|
+
# TheInternet::Page::Index.perform do |index|
|
485
|
+
# expect(index).to be_file_download
|
486
|
+
# end
|
487
|
+
# @return [Boolean] true if the +file_download+ element is present on the page
|
488
|
+
def file_download?
|
489
|
+
# This is a stub, used for indexing
|
490
|
+
end
|
491
|
+
|
492
|
+
|
493
|
+
# @note Defined as +link :file_upload+
|
494
|
+
# Clicks +file_upload+
|
495
|
+
def file_upload
|
496
|
+
# This is a stub, used for indexing
|
497
|
+
end
|
498
|
+
|
499
|
+
|
500
|
+
|
501
|
+
# @example
|
502
|
+
# TheInternet::Page::Index.perform do |index|
|
503
|
+
# expect(index.file_upload_element).to exist
|
504
|
+
# end
|
505
|
+
# @return [Watir::Link] The raw +Link+ element
|
506
|
+
def file_upload_element
|
507
|
+
# This is a stub, used for indexing
|
508
|
+
end
|
509
|
+
|
510
|
+
# @example
|
511
|
+
# TheInternet::Page::Index.perform do |index|
|
512
|
+
# expect(index).to be_file_upload
|
513
|
+
# end
|
514
|
+
# @return [Boolean] true if the +file_upload+ element is present on the page
|
515
|
+
def file_upload?
|
516
|
+
# This is a stub, used for indexing
|
517
|
+
end
|
518
|
+
|
519
|
+
|
520
|
+
# @note Defined as +link :floating_menu+
|
521
|
+
# Clicks +floating_menu+
|
522
|
+
def floating_menu
|
523
|
+
# This is a stub, used for indexing
|
524
|
+
end
|
525
|
+
|
526
|
+
|
527
|
+
|
528
|
+
# @example
|
529
|
+
# TheInternet::Page::Index.perform do |index|
|
530
|
+
# expect(index.floating_menu_element).to exist
|
531
|
+
# end
|
532
|
+
# @return [Watir::Link] The raw +Link+ element
|
533
|
+
def floating_menu_element
|
534
|
+
# This is a stub, used for indexing
|
535
|
+
end
|
536
|
+
|
537
|
+
# @example
|
538
|
+
# TheInternet::Page::Index.perform do |index|
|
539
|
+
# expect(index).to be_floating_menu
|
540
|
+
# end
|
541
|
+
# @return [Boolean] true if the +floating_menu+ element is present on the page
|
542
|
+
def floating_menu?
|
543
|
+
# This is a stub, used for indexing
|
544
|
+
end
|
545
|
+
|
546
|
+
|
547
|
+
# @note Defined as +link :forgot_password+
|
548
|
+
# Clicks +forgot_password+
|
549
|
+
def forgot_password
|
550
|
+
# This is a stub, used for indexing
|
551
|
+
end
|
552
|
+
|
553
|
+
|
554
|
+
|
555
|
+
# @example
|
556
|
+
# TheInternet::Page::Index.perform do |index|
|
557
|
+
# expect(index.forgot_password_element).to exist
|
558
|
+
# end
|
559
|
+
# @return [Watir::Link] The raw +Link+ element
|
560
|
+
def forgot_password_element
|
561
|
+
# This is a stub, used for indexing
|
562
|
+
end
|
563
|
+
|
564
|
+
# @example
|
565
|
+
# TheInternet::Page::Index.perform do |index|
|
566
|
+
# expect(index).to be_forgot_password
|
567
|
+
# end
|
568
|
+
# @return [Boolean] true if the +forgot_password+ element is present on the page
|
569
|
+
def forgot_password?
|
570
|
+
# This is a stub, used for indexing
|
571
|
+
end
|
572
|
+
|
573
|
+
|
574
|
+
# @note Defined as +link :form_authentication+
|
575
|
+
# Clicks +form_authentication+
|
576
|
+
def form_authentication
|
577
|
+
# This is a stub, used for indexing
|
578
|
+
end
|
579
|
+
|
580
|
+
|
581
|
+
|
582
|
+
# @example
|
583
|
+
# TheInternet::Page::Index.perform do |index|
|
584
|
+
# expect(index.form_authentication_element).to exist
|
585
|
+
# end
|
586
|
+
# @return [Watir::Link] The raw +Link+ element
|
587
|
+
def form_authentication_element
|
588
|
+
# This is a stub, used for indexing
|
589
|
+
end
|
590
|
+
|
591
|
+
# @example
|
592
|
+
# TheInternet::Page::Index.perform do |index|
|
593
|
+
# expect(index).to be_form_authentication
|
594
|
+
# end
|
595
|
+
# @return [Boolean] true if the +form_authentication+ element is present on the page
|
596
|
+
def form_authentication?
|
597
|
+
# This is a stub, used for indexing
|
598
|
+
end
|
599
|
+
|
600
|
+
|
601
|
+
# @note Defined as +link :frames+
|
602
|
+
# Clicks +frames+
|
603
|
+
def frames
|
604
|
+
# This is a stub, used for indexing
|
605
|
+
end
|
606
|
+
|
607
|
+
|
608
|
+
|
609
|
+
# @example
|
610
|
+
# TheInternet::Page::Index.perform do |index|
|
611
|
+
# expect(index.frames_element).to exist
|
612
|
+
# end
|
613
|
+
# @return [Watir::Link] The raw +Link+ element
|
614
|
+
def frames_element
|
615
|
+
# This is a stub, used for indexing
|
616
|
+
end
|
617
|
+
|
618
|
+
# @example
|
619
|
+
# TheInternet::Page::Index.perform do |index|
|
620
|
+
# expect(index).to be_frames
|
621
|
+
# end
|
622
|
+
# @return [Boolean] true if the +frames+ element is present on the page
|
623
|
+
def frames?
|
624
|
+
# This is a stub, used for indexing
|
625
|
+
end
|
626
|
+
|
627
|
+
|
628
|
+
# @note Defined as +link :geolocation+
|
629
|
+
# Clicks +geolocation+
|
630
|
+
def geolocation
|
631
|
+
# This is a stub, used for indexing
|
632
|
+
end
|
633
|
+
|
634
|
+
|
635
|
+
|
636
|
+
# @example
|
637
|
+
# TheInternet::Page::Index.perform do |index|
|
638
|
+
# expect(index.geolocation_element).to exist
|
639
|
+
# end
|
640
|
+
# @return [Watir::Link] The raw +Link+ element
|
641
|
+
def geolocation_element
|
642
|
+
# This is a stub, used for indexing
|
643
|
+
end
|
644
|
+
|
645
|
+
# @example
|
646
|
+
# TheInternet::Page::Index.perform do |index|
|
647
|
+
# expect(index).to be_geolocation
|
648
|
+
# end
|
649
|
+
# @return [Boolean] true if the +geolocation+ element is present on the page
|
650
|
+
def geolocation?
|
651
|
+
# This is a stub, used for indexing
|
652
|
+
end
|
653
|
+
|
654
|
+
|
655
|
+
# @note Defined as +link :horizontal_slider+
|
656
|
+
# Clicks +horizontal_slider+
|
657
|
+
def horizontal_slider
|
658
|
+
# This is a stub, used for indexing
|
659
|
+
end
|
660
|
+
|
661
|
+
|
662
|
+
|
663
|
+
# @example
|
664
|
+
# TheInternet::Page::Index.perform do |index|
|
665
|
+
# expect(index.horizontal_slider_element).to exist
|
666
|
+
# end
|
667
|
+
# @return [Watir::Link] The raw +Link+ element
|
668
|
+
def horizontal_slider_element
|
669
|
+
# This is a stub, used for indexing
|
670
|
+
end
|
671
|
+
|
672
|
+
# @example
|
673
|
+
# TheInternet::Page::Index.perform do |index|
|
674
|
+
# expect(index).to be_horizontal_slider
|
675
|
+
# end
|
676
|
+
# @return [Boolean] true if the +horizontal_slider+ element is present on the page
|
677
|
+
def horizontal_slider?
|
678
|
+
# This is a stub, used for indexing
|
679
|
+
end
|
680
|
+
|
681
|
+
|
682
|
+
# @note Defined as +link :hovers+
|
683
|
+
# Clicks +hovers+
|
684
|
+
def hovers
|
685
|
+
# This is a stub, used for indexing
|
686
|
+
end
|
687
|
+
|
688
|
+
|
689
|
+
|
690
|
+
# @example
|
691
|
+
# TheInternet::Page::Index.perform do |index|
|
692
|
+
# expect(index.hovers_element).to exist
|
693
|
+
# end
|
694
|
+
# @return [Watir::Link] The raw +Link+ element
|
695
|
+
def hovers_element
|
696
|
+
# This is a stub, used for indexing
|
697
|
+
end
|
698
|
+
|
699
|
+
# @example
|
700
|
+
# TheInternet::Page::Index.perform do |index|
|
701
|
+
# expect(index).to be_hovers
|
702
|
+
# end
|
703
|
+
# @return [Boolean] true if the +hovers+ element is present on the page
|
704
|
+
def hovers?
|
705
|
+
# This is a stub, used for indexing
|
706
|
+
end
|
707
|
+
|
708
|
+
|
709
|
+
# @note Defined as +link :infinite_scroll+
|
710
|
+
# Clicks +infinite_scroll+
|
711
|
+
def infinite_scroll
|
712
|
+
# This is a stub, used for indexing
|
713
|
+
end
|
714
|
+
|
715
|
+
|
716
|
+
|
717
|
+
# @example
|
718
|
+
# TheInternet::Page::Index.perform do |index|
|
719
|
+
# expect(index.infinite_scroll_element).to exist
|
720
|
+
# end
|
721
|
+
# @return [Watir::Link] The raw +Link+ element
|
722
|
+
def infinite_scroll_element
|
723
|
+
# This is a stub, used for indexing
|
724
|
+
end
|
725
|
+
|
726
|
+
# @example
|
727
|
+
# TheInternet::Page::Index.perform do |index|
|
728
|
+
# expect(index).to be_infinite_scroll
|
729
|
+
# end
|
730
|
+
# @return [Boolean] true if the +infinite_scroll+ element is present on the page
|
731
|
+
def infinite_scroll?
|
732
|
+
# This is a stub, used for indexing
|
733
|
+
end
|
734
|
+
|
735
|
+
|
736
|
+
# @note Defined as +link :inputs+
|
737
|
+
# Clicks +inputs+
|
738
|
+
def inputs
|
739
|
+
# This is a stub, used for indexing
|
740
|
+
end
|
741
|
+
|
742
|
+
|
743
|
+
|
744
|
+
# @example
|
745
|
+
# TheInternet::Page::Index.perform do |index|
|
746
|
+
# expect(index.inputs_element).to exist
|
747
|
+
# end
|
748
|
+
# @return [Watir::Link] The raw +Link+ element
|
749
|
+
def inputs_element
|
750
|
+
# This is a stub, used for indexing
|
751
|
+
end
|
752
|
+
|
753
|
+
# @example
|
754
|
+
# TheInternet::Page::Index.perform do |index|
|
755
|
+
# expect(index).to be_inputs
|
756
|
+
# end
|
757
|
+
# @return [Boolean] true if the +inputs+ element is present on the page
|
758
|
+
def inputs?
|
759
|
+
# This is a stub, used for indexing
|
760
|
+
end
|
761
|
+
|
762
|
+
|
763
|
+
# @note Defined as +link :jquery_ui_menus+
|
764
|
+
# Clicks +jquery_ui_menus+
|
765
|
+
def jquery_ui_menus
|
766
|
+
# This is a stub, used for indexing
|
767
|
+
end
|
768
|
+
|
769
|
+
|
770
|
+
|
771
|
+
# @example
|
772
|
+
# TheInternet::Page::Index.perform do |index|
|
773
|
+
# expect(index.jquery_ui_menus_element).to exist
|
774
|
+
# end
|
775
|
+
# @return [Watir::Link] The raw +Link+ element
|
776
|
+
def jquery_ui_menus_element
|
777
|
+
# This is a stub, used for indexing
|
778
|
+
end
|
779
|
+
|
780
|
+
# @example
|
781
|
+
# TheInternet::Page::Index.perform do |index|
|
782
|
+
# expect(index).to be_jquery_ui_menus
|
783
|
+
# end
|
784
|
+
# @return [Boolean] true if the +jquery_ui_menus+ element is present on the page
|
785
|
+
def jquery_ui_menus?
|
786
|
+
# This is a stub, used for indexing
|
787
|
+
end
|
788
|
+
|
789
|
+
|
790
|
+
# @note Defined as +link :javascript_alerts+
|
791
|
+
# Clicks +javascript_alerts+
|
792
|
+
def javascript_alerts
|
793
|
+
# This is a stub, used for indexing
|
794
|
+
end
|
795
|
+
|
796
|
+
|
797
|
+
|
798
|
+
# @example
|
799
|
+
# TheInternet::Page::Index.perform do |index|
|
800
|
+
# expect(index.javascript_alerts_element).to exist
|
801
|
+
# end
|
802
|
+
# @return [Watir::Link] The raw +Link+ element
|
803
|
+
def javascript_alerts_element
|
804
|
+
# This is a stub, used for indexing
|
805
|
+
end
|
806
|
+
|
807
|
+
# @example
|
808
|
+
# TheInternet::Page::Index.perform do |index|
|
809
|
+
# expect(index).to be_javascript_alerts
|
810
|
+
# end
|
811
|
+
# @return [Boolean] true if the +javascript_alerts+ element is present on the page
|
812
|
+
def javascript_alerts?
|
813
|
+
# This is a stub, used for indexing
|
814
|
+
end
|
815
|
+
|
816
|
+
|
817
|
+
# @note Defined as +link :javascript_onload_event_error+
|
818
|
+
# Clicks +javascript_onload_event_error+
|
819
|
+
def javascript_onload_event_error
|
820
|
+
# This is a stub, used for indexing
|
821
|
+
end
|
822
|
+
|
823
|
+
|
824
|
+
|
825
|
+
# @example
|
826
|
+
# TheInternet::Page::Index.perform do |index|
|
827
|
+
# expect(index.javascript_onload_event_error_element).to exist
|
828
|
+
# end
|
829
|
+
# @return [Watir::Link] The raw +Link+ element
|
830
|
+
def javascript_onload_event_error_element
|
831
|
+
# This is a stub, used for indexing
|
832
|
+
end
|
833
|
+
|
834
|
+
# @example
|
835
|
+
# TheInternet::Page::Index.perform do |index|
|
836
|
+
# expect(index).to be_javascript_onload_event_error
|
837
|
+
# end
|
838
|
+
# @return [Boolean] true if the +javascript_onload_event_error+ element is present on the page
|
839
|
+
def javascript_onload_event_error?
|
840
|
+
# This is a stub, used for indexing
|
841
|
+
end
|
842
|
+
|
843
|
+
|
844
|
+
# @note Defined as +link :key_presses+
|
845
|
+
# Clicks +key_presses+
|
846
|
+
def key_presses
|
847
|
+
# This is a stub, used for indexing
|
848
|
+
end
|
849
|
+
|
850
|
+
|
851
|
+
|
852
|
+
# @example
|
853
|
+
# TheInternet::Page::Index.perform do |index|
|
854
|
+
# expect(index.key_presses_element).to exist
|
855
|
+
# end
|
856
|
+
# @return [Watir::Link] The raw +Link+ element
|
857
|
+
def key_presses_element
|
858
|
+
# This is a stub, used for indexing
|
859
|
+
end
|
860
|
+
|
861
|
+
# @example
|
862
|
+
# TheInternet::Page::Index.perform do |index|
|
863
|
+
# expect(index).to be_key_presses
|
864
|
+
# end
|
865
|
+
# @return [Boolean] true if the +key_presses+ element is present on the page
|
866
|
+
def key_presses?
|
867
|
+
# This is a stub, used for indexing
|
868
|
+
end
|
869
|
+
|
870
|
+
|
871
|
+
# @note Defined as +link :large_and_deep_dom+
|
872
|
+
# Clicks +large_and_deep_dom+
|
873
|
+
def large_and_deep_dom
|
874
|
+
# This is a stub, used for indexing
|
875
|
+
end
|
876
|
+
|
877
|
+
|
878
|
+
|
879
|
+
# @example
|
880
|
+
# TheInternet::Page::Index.perform do |index|
|
881
|
+
# expect(index.large_and_deep_dom_element).to exist
|
882
|
+
# end
|
883
|
+
# @return [Watir::Link] The raw +Link+ element
|
884
|
+
def large_and_deep_dom_element
|
885
|
+
# This is a stub, used for indexing
|
886
|
+
end
|
887
|
+
|
888
|
+
# @example
|
889
|
+
# TheInternet::Page::Index.perform do |index|
|
890
|
+
# expect(index).to be_large_and_deep_dom
|
891
|
+
# end
|
892
|
+
# @return [Boolean] true if the +large_and_deep_dom+ element is present on the page
|
893
|
+
def large_and_deep_dom?
|
894
|
+
# This is a stub, used for indexing
|
895
|
+
end
|
896
|
+
|
897
|
+
|
898
|
+
# @note Defined as +link :multiple_windows+
|
899
|
+
# Clicks +multiple_windows+
|
900
|
+
def multiple_windows
|
901
|
+
# This is a stub, used for indexing
|
902
|
+
end
|
903
|
+
|
904
|
+
|
905
|
+
|
906
|
+
# @example
|
907
|
+
# TheInternet::Page::Index.perform do |index|
|
908
|
+
# expect(index.multiple_windows_element).to exist
|
909
|
+
# end
|
910
|
+
# @return [Watir::Link] The raw +Link+ element
|
911
|
+
def multiple_windows_element
|
912
|
+
# This is a stub, used for indexing
|
913
|
+
end
|
914
|
+
|
915
|
+
# @example
|
916
|
+
# TheInternet::Page::Index.perform do |index|
|
917
|
+
# expect(index).to be_multiple_windows
|
918
|
+
# end
|
919
|
+
# @return [Boolean] true if the +multiple_windows+ element is present on the page
|
920
|
+
def multiple_windows?
|
921
|
+
# This is a stub, used for indexing
|
922
|
+
end
|
923
|
+
|
924
|
+
|
925
|
+
# @note Defined as +link :nested_frames+
|
926
|
+
# Clicks +nested_frames+
|
927
|
+
def nested_frames
|
928
|
+
# This is a stub, used for indexing
|
929
|
+
end
|
930
|
+
|
931
|
+
|
932
|
+
|
933
|
+
# @example
|
934
|
+
# TheInternet::Page::Index.perform do |index|
|
935
|
+
# expect(index.nested_frames_element).to exist
|
936
|
+
# end
|
937
|
+
# @return [Watir::Link] The raw +Link+ element
|
938
|
+
def nested_frames_element
|
939
|
+
# This is a stub, used for indexing
|
940
|
+
end
|
941
|
+
|
942
|
+
# @example
|
943
|
+
# TheInternet::Page::Index.perform do |index|
|
944
|
+
# expect(index).to be_nested_frames
|
945
|
+
# end
|
946
|
+
# @return [Boolean] true if the +nested_frames+ element is present on the page
|
947
|
+
def nested_frames?
|
948
|
+
# This is a stub, used for indexing
|
949
|
+
end
|
950
|
+
|
951
|
+
|
952
|
+
# @note Defined as +link :notification_messages+
|
953
|
+
# Clicks +notification_messages+
|
954
|
+
def notification_messages
|
955
|
+
# This is a stub, used for indexing
|
956
|
+
end
|
957
|
+
|
958
|
+
|
959
|
+
|
960
|
+
# @example
|
961
|
+
# TheInternet::Page::Index.perform do |index|
|
962
|
+
# expect(index.notification_messages_element).to exist
|
963
|
+
# end
|
964
|
+
# @return [Watir::Link] The raw +Link+ element
|
965
|
+
def notification_messages_element
|
966
|
+
# This is a stub, used for indexing
|
967
|
+
end
|
968
|
+
|
969
|
+
# @example
|
970
|
+
# TheInternet::Page::Index.perform do |index|
|
971
|
+
# expect(index).to be_notification_messages
|
972
|
+
# end
|
973
|
+
# @return [Boolean] true if the +notification_messages+ element is present on the page
|
974
|
+
def notification_messages?
|
975
|
+
# This is a stub, used for indexing
|
976
|
+
end
|
977
|
+
|
978
|
+
|
979
|
+
# @note Defined as +link :redirect_link+
|
980
|
+
# Clicks +redirect_link+
|
981
|
+
def redirect_link
|
982
|
+
# This is a stub, used for indexing
|
983
|
+
end
|
984
|
+
|
985
|
+
|
986
|
+
|
987
|
+
# @example
|
988
|
+
# TheInternet::Page::Index.perform do |index|
|
989
|
+
# expect(index.redirect_link_element).to exist
|
990
|
+
# end
|
991
|
+
# @return [Watir::Link] The raw +Link+ element
|
992
|
+
def redirect_link_element
|
993
|
+
# This is a stub, used for indexing
|
994
|
+
end
|
995
|
+
|
996
|
+
# @example
|
997
|
+
# TheInternet::Page::Index.perform do |index|
|
998
|
+
# expect(index).to be_redirect_link
|
999
|
+
# end
|
1000
|
+
# @return [Boolean] true if the +redirect_link+ element is present on the page
|
1001
|
+
def redirect_link?
|
1002
|
+
# This is a stub, used for indexing
|
1003
|
+
end
|
1004
|
+
|
1005
|
+
|
1006
|
+
# @note Defined as +link :secure_file_download+
|
1007
|
+
# Clicks +secure_file_download+
|
1008
|
+
def secure_file_download
|
1009
|
+
# This is a stub, used for indexing
|
1010
|
+
end
|
1011
|
+
|
1012
|
+
|
1013
|
+
|
1014
|
+
# @example
|
1015
|
+
# TheInternet::Page::Index.perform do |index|
|
1016
|
+
# expect(index.secure_file_download_element).to exist
|
1017
|
+
# end
|
1018
|
+
# @return [Watir::Link] The raw +Link+ element
|
1019
|
+
def secure_file_download_element
|
1020
|
+
# This is a stub, used for indexing
|
1021
|
+
end
|
1022
|
+
|
1023
|
+
# @example
|
1024
|
+
# TheInternet::Page::Index.perform do |index|
|
1025
|
+
# expect(index).to be_secure_file_download
|
1026
|
+
# end
|
1027
|
+
# @return [Boolean] true if the +secure_file_download+ element is present on the page
|
1028
|
+
def secure_file_download?
|
1029
|
+
# This is a stub, used for indexing
|
1030
|
+
end
|
1031
|
+
|
1032
|
+
|
1033
|
+
# @note Defined as +link :shadow_dom+
|
1034
|
+
# Clicks +shadow_dom+
|
1035
|
+
def shadow_dom
|
1036
|
+
# This is a stub, used for indexing
|
1037
|
+
end
|
1038
|
+
|
1039
|
+
|
1040
|
+
|
1041
|
+
# @example
|
1042
|
+
# TheInternet::Page::Index.perform do |index|
|
1043
|
+
# expect(index.shadow_dom_element).to exist
|
1044
|
+
# end
|
1045
|
+
# @return [Watir::Link] The raw +Link+ element
|
1046
|
+
def shadow_dom_element
|
1047
|
+
# This is a stub, used for indexing
|
1048
|
+
end
|
1049
|
+
|
1050
|
+
# @example
|
1051
|
+
# TheInternet::Page::Index.perform do |index|
|
1052
|
+
# expect(index).to be_shadow_dom
|
1053
|
+
# end
|
1054
|
+
# @return [Boolean] true if the +shadow_dom+ element is present on the page
|
1055
|
+
def shadow_dom?
|
1056
|
+
# This is a stub, used for indexing
|
1057
|
+
end
|
1058
|
+
|
1059
|
+
|
1060
|
+
# @note Defined as +link :shifting_content+
|
1061
|
+
# Clicks +shifting_content+
|
1062
|
+
def shifting_content
|
1063
|
+
# This is a stub, used for indexing
|
1064
|
+
end
|
1065
|
+
|
1066
|
+
|
1067
|
+
|
1068
|
+
# @example
|
1069
|
+
# TheInternet::Page::Index.perform do |index|
|
1070
|
+
# expect(index.shifting_content_element).to exist
|
1071
|
+
# end
|
1072
|
+
# @return [Watir::Link] The raw +Link+ element
|
1073
|
+
def shifting_content_element
|
1074
|
+
# This is a stub, used for indexing
|
1075
|
+
end
|
1076
|
+
|
1077
|
+
# @example
|
1078
|
+
# TheInternet::Page::Index.perform do |index|
|
1079
|
+
# expect(index).to be_shifting_content
|
1080
|
+
# end
|
1081
|
+
# @return [Boolean] true if the +shifting_content+ element is present on the page
|
1082
|
+
def shifting_content?
|
1083
|
+
# This is a stub, used for indexing
|
1084
|
+
end
|
1085
|
+
|
1086
|
+
|
1087
|
+
# @note Defined as +link :slow_resources+
|
1088
|
+
# Clicks +slow_resources+
|
1089
|
+
def slow_resources
|
1090
|
+
# This is a stub, used for indexing
|
1091
|
+
end
|
1092
|
+
|
1093
|
+
|
1094
|
+
|
1095
|
+
# @example
|
1096
|
+
# TheInternet::Page::Index.perform do |index|
|
1097
|
+
# expect(index.slow_resources_element).to exist
|
1098
|
+
# end
|
1099
|
+
# @return [Watir::Link] The raw +Link+ element
|
1100
|
+
def slow_resources_element
|
1101
|
+
# This is a stub, used for indexing
|
1102
|
+
end
|
1103
|
+
|
1104
|
+
# @example
|
1105
|
+
# TheInternet::Page::Index.perform do |index|
|
1106
|
+
# expect(index).to be_slow_resources
|
1107
|
+
# end
|
1108
|
+
# @return [Boolean] true if the +slow_resources+ element is present on the page
|
1109
|
+
def slow_resources?
|
1110
|
+
# This is a stub, used for indexing
|
1111
|
+
end
|
1112
|
+
|
1113
|
+
|
1114
|
+
# @note Defined as +link :sortable_data_tables+
|
1115
|
+
# Clicks +sortable_data_tables+
|
1116
|
+
def sortable_data_tables
|
1117
|
+
# This is a stub, used for indexing
|
1118
|
+
end
|
1119
|
+
|
1120
|
+
|
1121
|
+
|
1122
|
+
# @example
|
1123
|
+
# TheInternet::Page::Index.perform do |index|
|
1124
|
+
# expect(index.sortable_data_tables_element).to exist
|
1125
|
+
# end
|
1126
|
+
# @return [Watir::Link] The raw +Link+ element
|
1127
|
+
def sortable_data_tables_element
|
1128
|
+
# This is a stub, used for indexing
|
1129
|
+
end
|
1130
|
+
|
1131
|
+
# @example
|
1132
|
+
# TheInternet::Page::Index.perform do |index|
|
1133
|
+
# expect(index).to be_sortable_data_tables
|
1134
|
+
# end
|
1135
|
+
# @return [Boolean] true if the +sortable_data_tables+ element is present on the page
|
1136
|
+
def sortable_data_tables?
|
1137
|
+
# This is a stub, used for indexing
|
1138
|
+
end
|
1139
|
+
|
1140
|
+
|
1141
|
+
# @note Defined as +link :status_codes+
|
1142
|
+
# Clicks +status_codes+
|
1143
|
+
def status_codes
|
1144
|
+
# This is a stub, used for indexing
|
1145
|
+
end
|
1146
|
+
|
1147
|
+
|
1148
|
+
|
1149
|
+
# @example
|
1150
|
+
# TheInternet::Page::Index.perform do |index|
|
1151
|
+
# expect(index.status_codes_element).to exist
|
1152
|
+
# end
|
1153
|
+
# @return [Watir::Link] The raw +Link+ element
|
1154
|
+
def status_codes_element
|
1155
|
+
# This is a stub, used for indexing
|
1156
|
+
end
|
1157
|
+
|
1158
|
+
# @example
|
1159
|
+
# TheInternet::Page::Index.perform do |index|
|
1160
|
+
# expect(index).to be_status_codes
|
1161
|
+
# end
|
1162
|
+
# @return [Boolean] true if the +status_codes+ element is present on the page
|
1163
|
+
def status_codes?
|
1164
|
+
# This is a stub, used for indexing
|
1165
|
+
end
|
1166
|
+
|
1167
|
+
|
1168
|
+
# @note Defined as +link :typos+
|
1169
|
+
# Clicks +typos+
|
1170
|
+
def typos
|
1171
|
+
# This is a stub, used for indexing
|
1172
|
+
end
|
1173
|
+
|
1174
|
+
|
1175
|
+
|
1176
|
+
# @example
|
1177
|
+
# TheInternet::Page::Index.perform do |index|
|
1178
|
+
# expect(index.typos_element).to exist
|
1179
|
+
# end
|
1180
|
+
# @return [Watir::Link] The raw +Link+ element
|
1181
|
+
def typos_element
|
1182
|
+
# This is a stub, used for indexing
|
1183
|
+
end
|
1184
|
+
|
1185
|
+
# @example
|
1186
|
+
# TheInternet::Page::Index.perform do |index|
|
1187
|
+
# expect(index).to be_typos
|
1188
|
+
# end
|
1189
|
+
# @return [Boolean] true if the +typos+ element is present on the page
|
1190
|
+
def typos?
|
1191
|
+
# This is a stub, used for indexing
|
1192
|
+
end
|
1193
|
+
|
1194
|
+
|
1195
|
+
# @note Defined as +link :wysiwyg_editor+
|
1196
|
+
# Clicks +wysiwyg_editor+
|
1197
|
+
def wysiwyg_editor
|
1198
|
+
# This is a stub, used for indexing
|
1199
|
+
end
|
1200
|
+
|
1201
|
+
|
1202
|
+
|
1203
|
+
# @example
|
1204
|
+
# TheInternet::Page::Index.perform do |index|
|
1205
|
+
# expect(index.wysiwyg_editor_element).to exist
|
1206
|
+
# end
|
1207
|
+
# @return [Watir::Link] The raw +Link+ element
|
1208
|
+
def wysiwyg_editor_element
|
1209
|
+
# This is a stub, used for indexing
|
1210
|
+
end
|
1211
|
+
|
1212
|
+
# @example
|
1213
|
+
# TheInternet::Page::Index.perform do |index|
|
1214
|
+
# expect(index).to be_wysiwyg_editor
|
1215
|
+
# end
|
1216
|
+
# @return [Boolean] true if the +wysiwyg_editor+ element is present on the page
|
1217
|
+
def wysiwyg_editor?
|
1218
|
+
# This is a stub, used for indexing
|
1219
|
+
end
|
1220
|
+
|
1221
|
+
end
|
1222
|
+
end
|
1223
|
+
end
|