Locators
摘要
This part is a deep-dive into one of the great features of Playwright. Locators are a crucial part of Playwright Test and Playwright Library as they are an API to access the Document Object Model of a web page. More precisely, they represent a way to find an Element. You can think of it as a pointer to an HTML element, that will be resolved when we use an action or an assertion.