Playwright Automation icon

Playwright Automation

Playwright Automation for n8n

Page → Get Text

AI-generated

Summary

Extract element text content

Inputs

  • sessionId (required) — ID of the browser session to operate on
  • selector (required) — CSS or XPath selector for the target element
  • errorHandling — Hidden parameter for error handling configuration
  • screenshotOnFail — Whether to take a screenshot if the operation fails and attach it to the error

Output shape

object

The node returns the raw result object as JSON data, paired with the input item index.

Links

Discussion