📸 ScreenshotsMCP

browser_get_text

Extract all visible text content from the current page or a specific element.

Parameters

ParameterTypeRequiredDescription
sessionIdstringYesSession ID from browser_navigate
selectorstringNoCSS selector to extract text from. Omit for entire page.

Example

Get the text content of the main article on the page

Notes

  • Returns cleaned visible text (no HTML tags)
  • Useful for verifying content, checking copy, or extracting data
  • When no selector is provided, returns all visible text on the page

On this page