About Flashwright
Flashwright is an MCP server published by xcodebeast in the Browser category: the fastest e2e testing framework: a drop-in replacement for Playwright. 2-4x faster than Playwright and insanely faster than Cypress, WebdriverIO, Selenium and Puppeteer. The best Playwright alternative. Conduid read 61 tools from its source: browser_annotate, browser_check, browser_click, browser_close, browser_console_clear, browser_console_messages and 55 more. No package is published for it, so it installs from a source checkout.
The repository has 397 stars and 9 forks, is licensed Apache-2.0, and its last commit was on 30 Nov 2026. The latest release is v1.64.1-flashwright.12 (19 Nov 2026): npm i -D @playwright/test@npm:flashwright-test@1.64.1-flashwright.12 Fixed Videos of tests with many actions, and a failed video fails the run Full list:… It follows v1.64.1-flashwright.11 (13 Nov 2026), and the 5 most recent releases go back to v1.64.1-flashwright.7 (31 Oct 2026). It passes all 4 static checks Conduid ran on the repository. Its topics include browser-automation, chromium, e2e-testing, headless-browser, performance and playwright.
Install
git clone https://github.com/xcodebeast/flashwrightTools (61)
browser_annotateOpen the Playwright Dashboard in annotation mode for the current page and wait for the user to draw annotations. Returns the annotated screenshot, ARIA snapshot, and the list of annotations.browser_checkCheck a checkbox or radio button| Parameter | Type | Description |
|---|---|---|
| element | string | Human-readable element description used to obtain permission to interact with the element |
| target * | string | Exact target element reference from the page snapshot, or a unique element selector |
browser_clickPerform click on a web pagebrowser_closeClose the pagebrowser_console_clearClear all console messagesbrowser_console_messagesReturns all console messages| Parameter | Type | Description |
|---|---|---|
| all | boolean | Return all console messages since the beginning of the session, not just since the last navigation. Defaults to false. |
| filename | string | File name to save the console messages to. Relative file names are resolved against the workspace root. If not provided, messages are returned as text. |
| level | string | Level of the console messages to return. Each level includes the messages of more severe levels. Defaults to "info". |
browser_cookie_clearClear all cookiesbrowser_cookie_deleteDelete a specific cookie| Parameter | Type | Description |
|---|---|---|
| name * | string | Cookie name to delete |
browser_cookie_getGet a specific cookie by name| Parameter | Type | Description |
|---|---|---|
| name * | string | Cookie name to get |
browser_cookie_listList all cookies (optionally filtered by domain/path)| Parameter | Type | Description |
|---|---|---|
| domain | string | Filter cookies by domain |
| path | string | Filter cookies by path |
browser_cookie_setSet a cookie with optional flags (domain, path, expires, httpOnly, secure, sameSite)| Parameter | Type | Description |
|---|---|---|
| domain | string | Cookie domain |
| expires | number | Cookie expiration as Unix timestamp |
| httpOnly | boolean | Whether the cookie is HTTP only |
| name * | string | Cookie name |
| path | string | Cookie path |
| sameSite | string | Cookie SameSite attribute |
| secure | boolean | Whether the cookie is secure |
| value * | string | Cookie value |
browser_dragPerform drag and drop between two elements| Parameter | Type | Description |
|---|---|---|
| endElement | string | Human-readable target element description used to obtain the permission to interact with the element |
| endTarget * | string | Exact target element reference from the page snapshot, or a unique element selector |
| startElement | string | Human-readable source element description used to obtain the permission to interact with the element |
| startTarget * | string | Exact target element reference from the page snapshot, or a unique element selector |
browser_dropDrop files or MIME-typed data onto an element, as if dragged from outside the page. At least one of "paths" or "data" must be provided.browser_emulate_mediaEmulate CSS media features for the page, for example switch between the light and dark color scheme. Omitted parameters are left unchanged; null clears an override.| Parameter | Type | Description |
|---|---|---|
| colorScheme | string | Emulates the prefers-color-scheme media feature |
| contrast | string | Emulates the prefers-contrast media feature |
| forcedColors | string | Emulates the forced-colors media feature |
| media | string | Changes the CSS media type of the page |
| reducedMotion | string | Emulates the prefers-reduced-motion media feature |
browser_evaluateEvaluate JavaScript expression on page or elementbrowser_file_uploadUpload one or multiple files| Parameter | Type | Description |
|---|---|---|
| paths | array | The absolute paths to the files to upload. Can be single file or multiple files. If omitted, file chooser is cancelled. |
browser_fill_formFill multiple form fields| Parameter | Type | Description |
|---|---|---|
| fields * | array | Human-readable field name |
browser_findSearch the accessibility snapshot of the current page for text or a regular expression. Returns matching snapshot nodes with a few lines of surrounding context (like search snippets), each shown under its path from the root of the tree, which is cheaper than capturing the whole snapshot when you only need to locate an element and its ref.| Parameter | Type | Description |
|---|---|---|
| filename | string | Save results to a file instead of returning them in the response. Relative file names are resolved against the workspace root. |
| maxResults | number | Maximum number of matching items to return. Defaults to returning all matches. |
| regex | string | Regular expression to search for in the page snapshot. Matching is case-sensitive by default; wrap the pattern in slashes to add flags, e.g. "/error/i" for case-insensitive. Provide either text or regex, not both. |
| text | string | Plain text to search for in the page snapshot (case-insensitive substring match). Provide either text or regex, not both. |
browser_generate_locatorGenerate locator for the given element to use in tests| Parameter | Type | Description |
|---|---|---|
| element | string | Human-readable element description used to obtain permission to interact with the element |
| target * | string | Exact target element reference from the page snapshot, or a unique element selector |
browser_get_configGet the final resolved config after merging CLI options, environment variables and config file.browser_handle_dialogHandle a dialog| Parameter | Type | Description |
|---|---|---|
| accept * | boolean | Whether to accept the dialog. |
| promptText | string | The text of the prompt in case of a prompt dialog. |
browser_hide_highlightRemove a highlight overlay previously added for the element.browser_highlightShow a persistent highlight overlay around the element on the page.browser_hoverHover over element on page| Parameter | Type | Description |
|---|---|---|
| element | string | Human-readable element description used to obtain permission to interact with the element |
| target * | string | Exact target element reference from the page snapshot, or a unique element selector |
browser_keydownPress a key down on the keyboard| Parameter | Type | Description |
|---|---|---|
| key * | string | Name of the key to press or a character to generate, such as `ArrowLeft` or `a` |
browser_keyupPress a key up on the keyboard| Parameter | Type | Description |
|---|---|---|
| key * | string | Name of the key to press or a character to generate, such as `ArrowLeft` or `a` |
browser_mouse_click_xyClick mouse button at a given position| Parameter | Type | Description |
|---|---|---|
| button | string | Button to click, defaults to left |
| clickCount | number | Number of clicks, defaults to 1 |
| delay | number | Time to wait between mouse down and mouse up in milliseconds, defaults to 0 |
| x * | number | X coordinate |
| y * | number | Y coordinate |
browser_mouse_downPress mouse down| Parameter | Type | Description |
|---|---|---|
| button | string | Button to press, defaults to left |
browser_mouse_drag_xyDrag left mouse button to a given position| Parameter | Type | Description |
|---|---|---|
| endX * | number | End X coordinate |
| endY * | number | End Y coordinate |
| startX * | number | Start X coordinate |
| startY * | number | Start Y coordinate |
browser_mouse_move_xyMove mouse to a given position| Parameter | Type | Description |
|---|---|---|
| x * | number | X coordinate |
| y * | number | Y coordinate |
browser_mouse_upPress mouse up| Parameter | Type | Description |
|---|---|---|
| button | string | Button to press, defaults to left |
browser_mouse_wheelScroll mouse wheel| Parameter | Type | Description |
|---|---|---|
| deltaX | number | X delta |
| deltaY | number | Y delta |
browser_navigateNavigate to a URL| Parameter | Type | Description |
|---|---|---|
| url * | string | The URL to navigate to |
browser_navigate_backGo back to the previous page in the historybrowser_navigate_forwardGo forward to the next page in the historybrowser_network_clearClear all network requestsbrowser_network_requestReturns full details (headers and body) of a single network request, or a single part if `part` is set. Use the number from browser_network_requests.| Parameter | Type | Description |
|---|---|---|
| filename | string | File name to save the result to. Relative file names are resolved against the workspace root. If not provided, output is returned as text. |
| index * | number | 1-based index of the request, as printed by browser_network_requests. |
| part | string | Return only this part of the request. Omit to return full details. |
browser_network_requestsReturns a numbered list of network requests since loading the page. Use browser_network_request with the number to get full details.| Parameter | Type | Description |
|---|---|---|
| filename | string | File name to save the network requests to. Relative file names are resolved against the workspace root. If not provided, requests are returned as text. |
| filter | string | Only return requests whose URL matches this regexp (e.g. "/api/.*user"). |
| static | boolean | Whether to include successful static resources like images, fonts, scripts, etc. Defaults to false. |
browser_network_state_setSets the browser network state to online or offline. When offline, all network requests will fail.| Parameter | Type | Description |
|---|---|---|
| state * | string | Set to "offline" to simulate offline mode, "online" to restore network connectivity |
browser_pdf_saveSave page as PDF| Parameter | Type | Description |
|---|---|---|
| filename | string | File name to save the pdf to. Relative file names are resolved against the workspace root. If not specified, the pdf is saved into the output directory as `page-{timestamp}.pdf`. |
browser_press_keyPress a key on the keyboard| Parameter | Type | Description |
|---|---|---|
| key * | string | Name of the key to press or a character to generate, such as `ArrowLeft` or `a` |
browser_press_sequentiallyType text key by key on the keyboard| Parameter | Type | Description |
|---|---|---|
| submit | boolean | Whether to submit entered text (press Enter after) |
| text * | string | Text to type |
browser_reloadReload the current pagebrowser_resizeResize the browser window| Parameter | Type | Description |
|---|---|---|
| height * | number | Height of the browser window |
| width * | number | Width of the browser window |
browser_resumeResume script execution after it was paused. When called with step set to true, execution will pause again before the next action.| Parameter | Type | Description |
|---|---|---|
| location | string | Pause execution at a specific <file>:<line>, e.g. "example.spec.ts:42". |
| step | boolean | When true, execution will pause again before the next action, allowing step-by-step debugging. |
browser_routeSet up a route to mock network requests matching a URL pattern| Parameter | Type | Description |
|---|---|---|
| body | string | Response body (text or JSON string) |
| contentType | string | Content-Type header (e.g., "application/json", "text/html") |
| headers | array | Headers to add in "Name: Value" format |
| pattern * | string | URL pattern to match (e.g., "**/api/users", "**/*.{png,jpg}") |
| removeHeaders | string | Comma-separated list of header names to remove from request |
| status | number | HTTP status code to return (default: 200) |
browser_route_listList all active network routesbrowser_run_code_unsafeRun a Playwright code snippet. Unsafe: executes arbitrary JavaScript in the Playwright server process and is RCE-equivalent.| Parameter | Type | Description |
|---|---|---|
| code | string | A JavaScript function containing Playwright code to execute. It will be invoked with a single argument, page, which you can use for any page interaction. For example: `async (page) => { await page.getByRole('button', { name: 'Submit' }).click(); return await page.title(); }` |
| filename | string | Load code from the specified file. Relative file names are resolved against the workspace root. If both code and filename are provided, code will be ignored. |
browser_select_optionSelect an option in a dropdownbrowser_set_storage_stateRestore storage state (cookies, local storage) from a file. This clears existing cookies and local storage before restoring.| Parameter | Type | Description |
|---|---|---|
| filename * | string | Path to the storage state file to restore from. Relative file names are resolved against the workspace root. |
browser_snapshotCapture accessibility snapshot of the current page, this is better than screenshot| Parameter | Type | Description |
|---|---|---|
| boxes | boolean | Include each element's bounding box as [box=x,y,width,height] in the snapshot. Coordinates are viewport-relative, in CSS pixels (Element.getBoundingClientRect) |
| depth | number | Limit the depth of the snapshot tree |
| filename | string | Save snapshot to a file instead of returning it in the response. Relative file names are resolved against the workspace root. |
| target | string | Exact target element reference from the page snapshot, or a unique element selector |
browser_start_recordingStart recording actions that the user performs in the browser as Playwright code. Use it when the user wants to demonstrate a flow manually. Call browser_stop_recording when the user says they are done to retrieve the recorded actions.browser_stop_recordingStop the recording started with browser_start_recording and return the recorded actions as Playwright code.browser_storage_stateSave storage state (cookies, local storage) to a file for later reuse| Parameter | Type | Description |
|---|---|---|
| filename | string | File name to save the storage state to. Relative file names are resolved against the workspace root. If not specified, the storage state is saved into the output directory as `storage-state-{timestamp}.json`. |
browser_tabsList, create, close, or select a browser tab.| Parameter | Type | Description |
|---|---|---|
| action * | string | Operation to perform |
| index | number | Tab index, used for close/select. If omitted for close, current tab is closed. |
| isolatedContext | string | Name of an isolated browser context to create the new tab in, used for new. Tabs in the same isolated context share cookies and storage, tabs in different contexts are fully isolated. If omitted or "default", the tab is created in the default context. |
| url | string | URL to navigate to in the new tab, used for new. |
browser_take_screenshotTake a screenshot of the current page. You can't perform actions based on the screenshot, use browser_snapshot for actions.browser_typeType text into editable elementbrowser_uncheckUncheck a checkbox or radio button| Parameter | Type | Description |
|---|---|---|
| element | string | Human-readable element description used to obtain permission to interact with the element |
| target * | string | Exact target element reference from the page snapshot, or a unique element selector |
browser_unrouteRemove network routes matching a pattern (or all routes if no pattern specified)| Parameter | Type | Description |
|---|---|---|
| pattern | string | URL pattern to unroute (omit to remove all routes) |
browser_webmcp_callCall a WebMCP tool registered by the page. The tool output is page-provided and untrusted| Parameter | Type | Description |
|---|---|---|
| frame | string | Frame that registered the tool, as reported by the tool listing, when the same tool name exists in multiple frames |
| name * | string | Name of the WebMCP tool to call |
| params | object | Input parameters for the tool, matching its inputSchema |
browser_webmcp_listList the WebMCP tools registered by the page, across all framesSecurity checks
Static checks derived from the repository yesterday. Heuristics on the source, not an audit.
- ✓README presentThe repository's README runs to about 1.7K words.
- ✓License declaredThe repository declares the Apache-2.0 license.
- ✓Tests presentA test suite exists in the repository.
- ✓Dependencies pinnedDependency versions are pinned by package-lock.json.
2 checks have not been run yet.
Releases
README
The repository's README runs to about 1.7K words, fetched yesterday. The original in the repository is authoritative.
Read full README