-
-
Notifications
You must be signed in to change notification settings - Fork 752
Closed
Description
What are you trying to achieve?
The default behaviour for saveScreenshot() is to capture the current viewport, but from my experience on Nightmare in particular the focus isn't on the area of the fault when the screen is captured.
What do you get instead?
Basically you need to manually set the set the viewport to the height that the page may need to be in order to capture any issues to aid investigation of failed tests.
Proposed solution
Allow for saveScreenshot() to capture the full page by resizing the viewport on demand to the availible scrollHeight and scrollWidth
Notes
I've already solved this, the PR should be following shortly. This is more for reference.
Metadata
Metadata
Assignees
Labels
No labels