TEST.takeFullScreenshot

Take a full page screenshot of the current page.

By default screenshots of the current viewport are automatically taken at each step of the test.

If there's infinite scrolling on the page, only what's currently visible will be taken. You'll need to combine this with scrolling commands to take longer screenshots on these kinds of pages.

Supported Browsers

Currently only available for Safari and IE tests

Use sparingly

Note that taking full page screenshots can slow down your tests, use it when you need to.

Usage

TEST.takeFullScreenshot()