Test Automation Blog

Tools, Tips and Thoughts for Playwright, Selenium UI and API automated testing

Playwright

Better Playwright data-testid options for getByTestId()

Many test automation frameworks like Playwright support the use of a data-testid attribute (or similar) as a method for locating elements on a web page. For example we can locate this element: and populate it with some text using this Playwright code: Although data-testid is the most common name for this attribute – which is […]

Struggling to Inspect Hidden Dropdowns in DevTools? Try This Fix

Test automation engineers frequently inspect web elements using the “Elements” tab of a browser’s Dev Tools like Chrome DevTools to discover the ID or other attributes needed to locate them in their test scripts. However many modern frameworks like React can make this difficult because the elements can disappear when the mouse moves into the […]

Advantages and Disadvantages of Playwright

Playwright has become the test automation framework of choice for many software development teams for good reason. In this article we’ll look at the main advantages – and disadvantages – of using Playwright in the real world. Advantages of Playwright 1) Automatic Waits One of the biggest problems with test automation is flaky tests, and […]

Scroll to top