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

BecomeQA: Learn QA Automation with Playwright