Log Web Screenshot | Leapwork Docs

Log Web Screenshot

The Log Web Screenshot building block captures a screenshot of the browser canvas and logs it during runtime. This block only works with browser windows that were previously opened using the Start Web Browser block.

Fully expanded, the Log Web Screenshot block shows the following properties:

Note: The screenshot on this page uses the Elegance Design, introduced in 2025.3. If you are using an earlier version, your layout may look different.

Quick-start

  1. Drag Log Web Screenshot onto the canvas.
  2. Connect the block in the flow and optionally specify the basic parameters required for this block to operate, in one line: Browser window, Message, Default timeout, Timeout (sec), Await DOM change, Await Requests. For a minimal setup, just connect its input and output and run the flow.
  3. Run the flow when it’s ready.

Building block parameters

Parameters

Available from 2025.3.0 onward.

To use the value of an added field, right-click inside the Message text box (or any other field that supports tokens), select Insert token, then choose the name of the field you want to insert.

Fields can be renamed by double-clicking on them, and the corresponding tokens will automatically update their names and visual appearance accordingly.

Resources

Topic Description
Flows FAQ Common questions about creating, running, and managing flows in Leapwork.
Flows Troubleshooting Guidelines and solutions for identifying and fixing issues that occur when building or running flows in Leapwork.