Skip to content

Commit 7e51752

Browse files
update docs to latest changes
1 parent eab6d7c commit 7e51752

File tree

2 files changed

+8
-4
lines changed

2 files changed

+8
-4
lines changed

docs/visual-testing/integrations/nightwatch.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -325,16 +325,18 @@ It's recommended to use the `hideAfterFirstScroll` option for elements like stic
325325

326326
Options:
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

332331
Example:
333332

334333
```ts
334+
await browser.sauceVisualCheck('Long content page', {
335+
fullPage: true,
336+
});
337+
335338
await browser.sauceVisualCheck('Long content page', {
336339
fullPage: {
337-
enable: true,
338340
delayAfterScroll: 500,
339341
hideAfterFirstScroll: ["#header"],
340342
},

docs/visual-testing/integrations/webdriverio.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -233,16 +233,18 @@ It's recommended to use the `hideAfterFirstScroll` option for elements like stic
233233

234234
Options:
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

240239
Example:
241240

242241
```ts
242+
await browser.sauceVisualCheck('Long content page', {
243+
fullPage: true,
244+
});
245+
243246
await browser.sauceVisualCheck('Long content page', {
244247
fullPage: {
245-
enable: true,
246248
delayAfterScroll: 500,
247249
hideAfterFirstScroll: ["#header"],
248250
},

0 commit comments

Comments
 (0)