Playwright Web Browser
Summary
Playwright-MCP-Server provides web browsing capabilities for AI assistants through Playwright automation. It offers tools for navigating websites, extracting visible content, identifying interactive elements, and performing mouse actions. The server is containerized with Docker for easy deployment and uses the Model Context Protocol SDK to expose browser functionality as tools and resources. This implementation is particularly valuable for workflows requiring web scraping, content extraction, and automated browser interactions without leaving the conversation interface.
Available Actions(9)
navigate
Navigate to a specified URL. Arguments: { url: string }. Returns: Navigation result.
get_all_content
Retrieve content from the entire page. Arguments: None. Returns: All text content from the page.
get_visible_content
Retrieve currently visible content. Arguments: { minVisiblePercentage?: number }. Returns: Visible text content.
get_interactive_elements
Get position information of interactive elements (buttons, links, etc.) on the page. Arguments: None. Returns: Coordinates and boundary information of interactive elements.
move_mouse
Move mouse cursor to specified coordinates. Arguments: { x: number, y: number }. Returns: Operation result.
mouse_click
Execute mouse click at specified coordinates. Arguments: { x: number, y: number, button?: 'left' | 'right' | 'middle', clickCount?: number }. Returns: Click operation result.
mouse_wheel
Execute mouse wheel scrolling. Arguments: { deltaY: number, deltaX?: number }. Returns: Scroll operation result.
drag_and_drop
Execute drag and drop operation. Arguments: { sourceX: number, sourceY: number, targetX: number, targetY: number }. Returns: Drag and drop operation result.
echo
Echo tool for testing. Arguments: { message: string }. Returns: Sent message.
커뮤니티 리뷰
아직 리뷰가 없습니다. 첫 번째 리뷰를 작성해 보세요!
대화에 참여하려면 로그인하세요