Playwright

Resources

RESOURCE
console://logs
Resource at console://logs (text/plain)

Tools

TOOL
browser_navigate
Navigate to a URL

Arguments

  • Name
    url
    Type
    object
    Required
    Required
TOOL
browser_screenshot
Take 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_click
Click 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_text
Click 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_fill
Fill 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_select
Select 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_text
Select 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_hover
Hover 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_text
Hover 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_evaluate
Execute JavaScript in the browser console

Arguments

  • Name
    script
    Type
    object
    Required
    Required
    Description
    JavaScript code to execute