Explore Playwright weekly tips

Curated by top BlinqIO engineers

Category

Enhancing Table Interactions in Playwright Using locator.filter

Playwright’s locator.filter method provides a robust solution by allowing testers to narrow down locators based on specific criteria, such as text content within cells.
Full name
11 Jan 2022
5 min read
Category

Handling Unexpected Popups with addLocatorHandler in Playwright

Playwright’s addLocatorHandler streamlines test automation by automatically managing unexpected popups like cookie dialogs, ensuring smoother and more reliable workflows.
Full name
11 Jan 2022
5 min read
Category

Mastering waitForLoadState in Playwright

In Playwright, ensuring that a page has fully loaded before interacting with its elements is crucial for test reliability. The waitForLoadState method allows you to wait for specific loading states, enhancing the stability of your scripts.
Full name
11 Jan 2022
5 min read
Category

Enhance Your Testing with Playwright’s Aria Snapshots

Playwright’s Aria Snapshots offer a powerful method to capture and compare the accessibility tree of your web application. This feature is invaluable for ensuring accessibility compliance and serves as a stable alternative to traditional visual testing methods.
Full name
11 Jan 2022
5 min read
Category

Mastering Context Clicks in Playwright: Handling Repeated Elements

You may encounter repeated elements such as buttons, links, or icons when testing web applications. These are commonly found in rows of tables or on product cards on shopping websites. A classic example is an “Add to Cart” button on every product card or a “Delete” button on each table row.
Full name
11 Jan 2022
5 min read
Category

Using waitForResponse in Playwright for Advanced Synchronization

Playwright’s built-in synchronization mechanisms cover most scenarios, but there are times when you need finer control over network requests. This is where waitForResponse shines.
Full name
11 Jan 2022
5 min read

Invite the visitor to try your product or service

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Suspendisse varius enim in eros elementum tristique.