Creating a new styleshot

A styleshot is a snapshot of the content and styling behind an app or webpage at a particular state and time.

This can be generated manually through the web browser, or programmatically through the API.

Creating manually through browser

When you click the bookmarklet link, a UI will appear that allows you to select the page you’d like to use for the fixture.

You can also create a fixture based on a specific element on the page by holding down the CTRL key and clicking on its area. The next screen will allow you to choose a unique query selector if it was not detected automatically.

HTML

JavaScript
Styleshots based on a specific element require an existing styleshot of the entire page.