Skip to content

BaranziniLab/PlaywrightAgent

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Playwright Agent

A BioRouter extension (.brxt) that delivers Microsoft's official @playwright/mcp browser-automation MCP server as a one-click install.

Playwright Agent lets BioRouter drive a real browser — navigating sites, clicking elements, filling forms, extracting structured data, and automating web research — using accessibility snapshots rather than screenshots, so no vision model is required.

What's inside

This extension is a thin Python wrapper that delegates to Microsoft's published @playwright/mcp package at runtime via npx. It exists so the MCP server can be installed through BioRouter's standard .brxt flow alongside other extensions like CDW Agent, UCSF OMOP Agent, and SPOKE Agent.

Prerequisites

  • Node.js 18+ (download) — required because the underlying MCP server is a Node package.
  • BioRouter v1.20.0 or later.

BioRouter Extension

Download playwrightagent.brxt

Drag the .brxt file into BioRouter's Extensions → Add extension dialog. BioRouter will install the virtual environment automatically — no credentials required. Then toggle the extension on and its tools are available in every session.

Usage

Ask BioRouter to perform web tasks in natural language, for example:

  • "Open arxiv.org and find papers on retrieval-augmented generation from the last week."
  • "Go to ClinicalTrials.gov, search for 'multiple sclerosis remyelination', and summarize the first ten active trials."
  • "Fill out the contact form on example.com with name X and email Y."

The full tool surface mirrors @playwright/mcp upstream — see microsoft/playwright-mcp for the latest tool list and configuration options.

Updating the underlying server

This wrapper pins to @playwright/mcp@latest, so each invocation fetches the most recent release. To pin a specific version, edit src/playwrightagent/__main__.py and replace @latest with a version tag.

License

Apache 2.0. The bundled @playwright/mcp package is © Microsoft and distributed under its own license.

About

BioRouter extension (.brxt) wrapping Microsoft's @playwright/mcp browser-automation MCP server.

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages