Screenshot Tab

Take a screenshot/capture the visible area of the active tab

by @pixiebrix

How to Use

The screenshot tab brick outputs the contents of the tab as an image in a base64 encoded data URL (in the @screenshot.data variable by default). This can be useful for sending the image to APIs, or putting that image in HTML or Markdown in a panel or sidebar. In other cases, it’s useful to pair this with the Parse Data URL brick to get just the data from the base64 encoded data URL.

Examples


Inputs

Name Required Type Description
This brick does not take any inputs.

Outputs

Name Required Type Description
data string The PNG screenshot as a data URI

Related Tags