Skip to content

Extract

  • Type browser.extract
  • Group Browser
  • Role action
  • Risk reads only
  • Side effect safe to repeat
  • Runs once per item
  • Needs browser

Reads text, an attribute, HTML or a count from elements

Also available to AI agents and over MCP as a tool.

selector

Selector · string · required

A CSS selector, text=… or a Playwright locator. Use Pick element to take it from the live page.

what

What · string · required · default text · one of text, attribute, html, value, count

attribute

Attribute · string · optional

Shown when what is attribute.

target

Target · string · optional · default one · one of one, all

into

Into field · string · optional · default value

  • main

← All nodes