Overview of Playwright Ruby Locators
Locators are the central mechanism for auto-waiting and retry-ability in Playwright. They represent a way to find one or more elements on a page at any given moment. Locators are typically created using the
Page#locator method.