Skip to content

Latest commit

 

History

History
26 lines (17 loc) · 1.02 KB

taking-screenshots.md

File metadata and controls

26 lines (17 loc) · 1.02 KB
description
Learn how to take screenshots in your UIlicious test. If you haven't already noticed, screenshots are automatically taken for every command. The screenshots taken are usually of what's visible in the viewport - meaning what you as a user would see on you

Taking Screenshots

Theses commands are for you to take full page screenshots.

TEST.takeFullScreenshot

Currently only available for Safari and IE tests.

Take a full page screenshot of the current page

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

Additionally, 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.

Usage

TEST.takeFullScreenshot()