File tree Expand file tree Collapse file tree 2 files changed +8
-4
lines changed
docs/visual-testing/integrations Expand file tree Collapse file tree 2 files changed +8
-4
lines changed Original file line number Diff line number Diff line change @@ -325,16 +325,18 @@ It's recommended to use the `hideAfterFirstScroll` option for elements like stic
325
325
326
326
Options:
327
327
328
- - ` enable ` : Enable taking full page screenshot (limited to desktop devices only)
329
328
- ` delayAfterScrollMs ` : Delay in ms after scrolling and before taking screenshots (helps with lazy loading content)
330
329
- ` hideAfterFirstScroll ` : Hide elements on the page after first scroll (uses css selectors)
331
330
332
331
Example:
333
332
334
333
``` ts
334
+ await browser .sauceVisualCheck (' Long content page' , {
335
+ fullPage: true ,
336
+ });
337
+
335
338
await browser .sauceVisualCheck (' Long content page' , {
336
339
fullPage: {
337
- enable: true ,
338
340
delayAfterScroll: 500 ,
339
341
hideAfterFirstScroll: [" #header" ],
340
342
},
Original file line number Diff line number Diff line change @@ -233,16 +233,18 @@ It's recommended to use the `hideAfterFirstScroll` option for elements like stic
233
233
234
234
Options:
235
235
236
- - ` enable ` : Enable taking full page screenshot (limited to desktop devices only)
237
236
- ` delayAfterScrollMs ` : Delay in ms after scrolling and before taking screenshots (helps with lazy loading content)
238
237
- ` hideAfterFirstScroll ` : Hide elements on the page after first scroll (uses css selectors)
239
238
240
239
Example:
241
240
242
241
``` ts
242
+ await browser .sauceVisualCheck (' Long content page' , {
243
+ fullPage: true ,
244
+ });
245
+
243
246
await browser .sauceVisualCheck (' Long content page' , {
244
247
fullPage: {
245
- enable: true ,
246
248
delayAfterScroll: 500 ,
247
249
hideAfterFirstScroll: [" #header" ],
248
250
},
You can’t perform that action at this time.
0 commit comments