Playwright Browser Automation

Playwright Browser Automation

Official
microsoft

Controls web browsers programmatically to navigate pages, interact with elements, and extract content. Provides LLMs with comprehensive browser automation capabilities through Playwright.

28,4497,107 views2,301Local (stdio)

What it does

  • Navigate to URLs and manage browser pages
  • Click elements and type text into forms
  • Extract text content from web elements
  • Take screenshots of pages or specific elements
  • Wait for elements to load before interacting
  • Get full HTML content from web pages

Best for

Web scraping and data extractionAutomated testing of web applicationsForm filling and web task automationContent monitoring and analysis
10 comprehensive browser toolsMulti-page browser session supportBuilt-in screenshot resources

Tools (22)

browser_close

Close the page

browser_resize

Resize the browser window

browser_console_messages

Returns all console messages

browser_handle_dialog

Handle a dialog

browser_evaluate

Evaluate JavaScript expression on page or element

Alternatives