Playwright Locators
Playwright Locators
Learning Objective:
Understand how to efficiently select and interact with elements on a web page using different
locator strategies (Playwright getBys, CSS, XPath)
Assignment Details:
Create a test script that navigates to a CRM application, logs in, finds a specific lead by name or
ID, edits details of the lead (such as name, email, or status), and verifies that the changes have
been successfully saved.
Precondition:
- Use a fixture to setup and teardown
Test Steps:
Expected Outcome:
Understand the use of Playwright locators to find web elements to validate web page content.