← Play
1/15
Playwright API
Which line correctly gets the 3rd item in a list?
// Items: ["Apple", "Banana", "Cherry", "Date"]
const items = page.locator('ul li');Select an answer to continue
// Items: ["Apple", "Banana", "Cherry", "Date"]
const items = page.locator('ul li');Select an answer to continue