page.getByRole(AriaRole.BUTTON, new Page.GetByRoleOptions().setName("Submit"))
2. page.getByLabel("Email Address")
3. page.getByPlaceholder("Enter your password")
4. page.getByText("Welcome back")
5. page.getByTestId("checkout-btn")import com.microsoft.playwright.*;
import com.microsoft.playwright.options.AriaRole;Locator submitBtn = page.getByRole(AriaRole.BUTTON,
new Page.GetByRoleOptions().setName("Confirm Payment"));