Back to Home
karthikm15 icon

playwright-mcp-rl

Verified Safe

by karthikm15

Overview

Train and evaluate AI agents (Reinforcement Learning policies) to automate browser-based form filling tasks via a Playwright-based environment.

Installation

Run Command
python scripts/run_policy.py data/tasks/example_single_field.json models/checkpoints/bc_policy_compositional.pt --policy-type bc --no-headless

Security Notes

The system uses Playwright to interact with web pages, which inherently carries a risk if it navigates to untrusted or malicious URLs (defined in `task_config`). The `torch.load` function for model checkpoints can also be a deserialization vulnerability if model files are sourced from untrusted locations. However, the provided source code itself does not contain obvious malicious patterns, direct `eval` of untrusted input, or hardcoded sensitive credentials. Running with trusted inputs is generally safe.

Similar Servers

Stats

Interest Score0
Security Score8
Cost ClassHigh
Avg Tokens2000
Stars0
Forks0
Last Update2025-12-10

Tags

PlaywrightReinforcement LearningBrowser AutomationDeep LearningForm Filling