MCPVault

element

MCP tool from Playwright MCP by cloudflare

(string): Human-readable element description used to obtain permission to interact with the element

How to use it

element is exposed by the Playwright MCP MCP server. Add the server to your MCP client (Claude Desktop, Cursor, Windsurf and others), and the element tool becomes available to the model automatically. See the full listing for setup details and every tool this server provides.

Install Playwright MCP

$npx wrangler deploy
FULL PLAYWRIGHT MCP LISTING

Other tools in Playwright MCP (39)

accept

(boolean): Whether to accept the dialog.

browser_click
browser_close
browser_console_messages
browser_drag
browser_file_upload
browser_handle_dialog
browser_hover
browser_install
browser_navigate
browser_navigate_back
browser_navigate_forward
browser_network_requests
browser_pdf_save
browser_press_key
browser_resize
browser_select_option
browser_snapshot
browser_take_screenshot
browser_type
browser_wait_for
doubleClick

(boolean, optional): Whether to perform a double click instead of a single click

endElement

(string): Human-readable target element description used to obtain the permission to interact with the element

endRef

(string): Exact target element reference from the page snapshot

filename

(string, optional): File name to save the screenshot to. Defaults to page-{timestamp}.{pngjpeg} if not specified.

key

(string): Name of the key to press or a character to generate, such as ArrowLeft or a

paths

(array): The absolute paths to the files to upload. Can be a single file or multiple files.

promptText

(string, optional): The text of the prompt in case of a prompt dialog.

raw

(boolean, optional): Whether to return without compression (in PNG format). Default is false, which returns a JPEG image.

ref

(string): Exact target element reference from the page snapshot

slowly

(boolean, optional): Whether to type one character at a time. Useful for triggering key handlers in the page. By default entire text is filled in at once.

startElement

(string): Human-readable source element description used to obtain the permission to interact with the element

startRef

(string): Exact source element reference from the page snapshot

submit

(boolean, optional): Whether to submit entered text (press Enter after)

text

(string): Text to type into the element

textGone

(string, optional): The text to wait for to disappear

time

(number, optional): The time to wait in seconds

url

(string): The URL to navigate to

values

(array): Array of values to select in the dropdown. This can be a single value or multiple values.