About Playwright Framework
Playwright Framework is an MCP server in the Browser category: a Playwright automation framework using AI and Playwright MCP.
Install
git clone https://github.com/rakeshsh2893/mcp_Playwright_frameworkThis server has no ConduID identity, so agent calls to it are not receipted. Pin the version you install and review the source before granting it credentials.
Tools (30)
assert_element_exists(selector, by)Assert element in DOM
Parameters not published.
assert_element_text(selector, expected, by, exact)Assert element text
Parameters not published.
assert_page_contains_text(text)Assert text on page
Parameters not published.
assert_url_contains(partial_url)Assert URL substring
Parameters not published.
check_mcp_connection()Health check
Parameters not published.
close_browser()Close browser and stop Playwright
Parameters not published.
drag_and_drop(source, target, by)Drag and drop
Parameters not published.
ensure_browser_open(browser, headless)Start Playwright browser session
Parameters not published.
execute_javascript(script)Run JS via `page.evaluate()`
Parameters not published.
exit_iframe()Return to main content
Parameters not published.
Show all 30 tools
fill_form(field_map)Fill multiple fields at once
Parameters not published.
find_and_click(selector, by, wait_timeout)Click an element
Parameters not published.
find_and_type(selector, text, by, clear_first)Type into an input
Parameters not published.
get_all_links()List all href values on page
Parameters not published.
get_current_url()Get current page URL
Parameters not published.
get_element_text(selector, by)Get element text content
Parameters not published.
get_page_source()Full page HTML
Parameters not published.
get_page_title()Get page `<title>`
Parameters not published.
handle_alert(action)Register dialog handler (accept/dismiss/text)
Parameters not published.
hover_over_element(selector, by)Mouse hover
Parameters not published.
navigate_to_url(url, wait_for_load)Go to a URL
Parameters not published.
open_new_tab(url)Open new browser tab
Parameters not published.
refresh_page()Reload current page
Parameters not published.
scroll_page(direction, amount)Scroll by pixels
Parameters not published.
scroll_to_element(selector, by)Scroll element into view
Parameters not published.
select_dropdown_option(selector, option_text, option_value, by)Select `<select>` option
Parameters not published.
switch_iframe(frame_selector, by)Enter iframe
Parameters not published.
switch_tab(index)Switch to tab by index
Parameters not published.
take_screenshot(filename)Save screenshot → `screenshots/`
Parameters not published.
wait_for_element(selector, by, timeout, condition)Explicit wait
Parameters not published.
Ask AI
Ask AI about Playwright Framework
Powered by Claude · Grounded in docs
Security checks
6 checks have not been run yet.