Playwright
Resources
RESOURCE
console://logsResource at console://logs (text/plain)
Tools
TOOL
browser_navigateNavigate to a URL
Arguments
- Name
url
- Type
- object
- Required
- Required
TOOL
browser_screenshotTake a screenshot of the current page or a specific element
Arguments
- Name
name
- Type
- object
- Required
- Required
- Description
- Name for the screenshot
- Name
fullPage
- Type
- object
- Required
- Optional
- Description
- Take a full page screenshot (default: false)
- Name
selector
- Type
- object
- Required
- Optional
- Description
- CSS selector for element to screenshot
TOOL
browser_clickClick an element on the page using CSS selector
Arguments
- Name
selector
- Type
- object
- Required
- Required
- Description
- CSS selector for element to click
TOOL
browser_click_textClick an element on the page by its text content
Arguments
- Name
text
- Type
- object
- Required
- Required
- Description
- Text content of the element to click
TOOL
browser_fillFill out an input field
Arguments
- Name
value
- Type
- object
- Required
- Required
- Description
- Value to fill
- Name
selector
- Type
- object
- Required
- Required
- Description
- CSS selector for input field
TOOL
browser_selectSelect an element on the page with Select tag using CSS selector
Arguments
- Name
value
- Type
- object
- Required
- Required
- Description
- Value to select
- Name
selector
- Type
- object
- Required
- Required
- Description
- CSS selector for element to select
TOOL
browser_select_textSelect an element on the page with Select tag by its text content
Arguments
- Name
text
- Type
- object
- Required
- Required
- Description
- Text content of the element to select
- Name
value
- Type
- object
- Required
- Required
- Description
- Value to select
TOOL
browser_hoverHover an element on the page using CSS selector
Arguments
- Name
selector
- Type
- object
- Required
- Required
- Description
- CSS selector for element to hover
TOOL
browser_hover_textHover an element on the page by its text content
Arguments
- Name
text
- Type
- object
- Required
- Required
- Description
- Text content of the element to hover
TOOL
browser_evaluateExecute JavaScript in the browser console
Arguments
- Name
script
- Type
- object
- Required
- Required
- Description
- JavaScript code to execute