drissionpage-mcp-browser-automation

Automate browser navigation, element interaction, and data extraction through DrissionPage MCP tools.

7|2|Updated May 16, 2026
One-click install
npx skills add https://github.com/reason-machines/mcp-skills --skill drissionpage-mcp-browser-automation-reason-machines
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: drissionpage-mcp-browser-automation
Source: https://github.com/reason-machines/mcp-skills/tree/main/skills/drissionpage-mcp-browser-automation
Command: npx skills add https://github.com/reason-machines/mcp-skills --skill drissionpage-mcp-browser-automation-reason-machines

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires drissionpage-mcp.

What problem does it solve? Manually scripting browser automation with raw Selenium or Playwright requires verbose boilerplate, fragile selectors, and constant maintenance. This Skill exposes 52 structured, LLM-optimized browser control tools via the DrissionPage MCP Server, letting AI agents navigate pages, fill forms, and extract data deterministically. ## Core Features & Use Cases - Element Discovery & Interaction: Find, click, type into, and inspect elements using CSS or XPath selectors, including support for iframes and shadow DOM. - Data Extraction & Page Understanding: Capture structured page snapshots, extract text, attributes, and HTML, and take full-page screenshots for debugging. - Session & State Management: Manage tabs, cookies, localStorage, and JavaScript execution with built-in wait conditions for dynamic content. - Use Case: Scrape product listings from a dynamic e-commerce site by navigating to the URL, waiting for product cards to load, extracting titles and prices with element_find_all, and saving a screenshot for verification. ## Quick Start Install drissionpage-mcp from PyPI, register it as an MCP server in your client config, then ask the agent to navigate to a website and extract the main content.

Frequently Asked Questions about drissionpage-mcp-browser-automation

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automate browser tasks with DrissionPage MCP?▼

Install the drissionpage-mcp package from PyPI and register it as an MCP server in your client configuration. The agent then calls tools like page_navigate, element_click, and element_type to control the browser deterministically.

How to scrape data from a dynamic website using browser automation?▼

Navigate with page_navigate, then use wait_for_element or wait_until with the stable condition for dynamic content to load. Extract results with element_find_all, which returns bounded lists with recommended selectors for each item.

Does DrissionPage MCP work with Claude Desktop and Cursor?▼

Yes, it works with Claude Desktop, Cursor, and Codex by adding a drissionpage entry to the MCP settings JSON. For GUI-launched clients that lack shell PATH, specify the absolute Python path with the drissionpage_mcp.cli module.

Can DrissionPage MCP handle iframes and shadow DOM elements?▼

Yes, it provides frame_list, frame_snapshot, and frame_find for iframe content, plus shadow_find and shadow_find_all for shadow DOM. These tools locate elements inside nested contexts without changing the main frame state.

Why is my browser not starting with DrissionPage MCP?▼

Run drissionpage-mcp doctor to diagnose startup issues. Common causes include a missing Chrome executable, which you can fix by setting the CHROME_PATH environment variable to your Chrome or Chromium binary.

What are the file upload limitations in DrissionPage MCP?▼

File uploads through element_upload_file are restricted to files under the DP_MCP_UPLOAD_ROOT directory as a security boundary. Set this environment variable before starting the server and place upload files inside that directory.