Take Screenshot

Take a screenshot of the currently loaded page in the selected WebDriver, or a specified WebElement. The WebDriver respective WebElement must support taking screenshots, else an error is triggered (e.g. the HtmlUnitDriver does not allow to take screenshot, as it is not running within a GUI). The extent of the resulting screenshot depends on the actual WebDriver (some WebDrivers capture the entire page, or the current window, or the visible frame, or the entire screen).

Quoting from the Selenium API documentation:

For WebDriver […], this makes a best effort depending on the browser to return the following in order of preference:

  • Entire page
  • Current window
  • Visible portion of the current frame

For WebElement […], this makes a best effort depending on the browser to return the following in order of preference:

  • The entire content of the HTML element
  • The visible portion of the HTML element

Options

Input
Input column which provides the WebDriver(s)

Input Ports

Icon
Table with a column providing a WebDriver

Output Ports

Icon
Table with an appended column containing the screenshot as image cell.

Views

This node has no views

Workflows

Links

Developers

You want to see the source code for this node? Click the following button and we’ll use our super-powers to find it for you.