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
325325
326326Options:
327327
328- - ` enable ` : Enable taking full page screenshot (limited to desktop devices only)
329328- ` delayAfterScrollMs ` : Delay in ms after scrolling and before taking screenshots (helps with lazy loading content)
330329- ` hideAfterFirstScroll ` : Hide elements on the page after first scroll (uses css selectors)
331330
332331Example:
333332
334333``` ts
334+ await browser .sauceVisualCheck (' Long content page' , {
335+ fullPage: true ,
336+ });
337+
335338await browser .sauceVisualCheck (' Long content page' , {
336339 fullPage: {
337- enable: true ,
338340 delayAfterScroll: 500 ,
339341 hideAfterFirstScroll: [" #header" ],
340342 },
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
233233
234234Options:
235235
236- - ` enable ` : Enable taking full page screenshot (limited to desktop devices only)
237236- ` delayAfterScrollMs ` : Delay in ms after scrolling and before taking screenshots (helps with lazy loading content)
238237- ` hideAfterFirstScroll ` : Hide elements on the page after first scroll (uses css selectors)
239238
240239Example:
241240
242241``` ts
242+ await browser .sauceVisualCheck (' Long content page' , {
243+ fullPage: true ,
244+ });
245+
243246await browser .sauceVisualCheck (' Long content page' , {
244247 fullPage: {
245- enable: true ,
246248 delayAfterScroll: 500 ,
247249 hideAfterFirstScroll: [" #header" ],
248250 },
You can’t perform that action at this time.
0 commit comments