You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
By default, only the current viewport is captured when `.VisualCheck` is used. You can opt in to capturing the entire page by using the `FullPage` option. It will capture everything by scrolling and stitching multiple screenshots together.
342
+
Additionally, you have the option to configure full page settings using the `FullPageConfig` option.
343
+
344
+
:::note
345
+
It's recommended to use the `HideAfterFirstScroll` option for fixed or sticky position elements such as sticky headers or consent banners.
346
+
:::
347
+
348
+
Options:
349
+
350
+
-`DelayAfterScrollMs`: Delay in ms after scrolling and before taking screenshots (helps with lazy loading content)
351
+
-`HideAfterFirstScroll`: Hide elements on the page after first scroll (uses css selectors)
352
+
353
+
354
+
Examples:
355
+
356
+
```csharp
357
+
awaitVisualClient.VisualCheck("C# full page",
358
+
newVisualCheckOptions()
359
+
{
360
+
FullPage=true,
361
+
});
362
+
```
363
+
364
+
```csharp
365
+
awaitVisualClient.VisualCheck("C# full page config",
0 commit comments