Learn about Playwright script nodes and their automation capabilities
Name
Description
- Page Navigation: Use
page.goto()
to navigate to URLs- Element Selection: Use locators like
page.locator()
orpage.getByRole()
- Actions: Implement clicks, form fills, keyboard input, and mouse interactions
- Data Extraction: Extract text, attributes, and structured data from elements
- Return: Anything returned will be converted to a
string
and injected in the state for the ai to analyze.
<<.VARIABLE>>
You will have to supply a description of the variable in the node for the LLM to understand what to insert in the variable.
await page.getByRole(‘textbox’, { name: ‘User Password’ }).fill(“##PASSWORD##“)
async
function for quick buildingComplex Form Automation
Data Scraping