Skip to content
Independent guides for QA & test automationRSSEditorial policy
QA Vibes

Topic

Automation

25 articles tagged “automation”.

Playwright "page.goto: net::ERR_ABORTED; maybe frame was detached?": What Aborted the Navigation

Playwright's "page.goto: net::ERR_ABORTED", reproduced nine ways on a one-file local app and run in Chromium, Firefox and WebKit: a 204 response, two navigations at once, a test timeout, a page closed mid-load, route.abort() and a removed iframe. Why a download now says "Download is starting" instead, where the "maybe frame was detached?" suffix comes from, and the fix for each cause.

playwright · automation · tutorial

15 MIN

Cypress "failed because this element is detached from the DOM": The Messages That Replaced It, and the Fixes

"cy.click() failed because this element is detached from the DOM" no longer exists: Cypress 12.0.0 replaced it with two messages about the page updating. We reproduced both in Cypress 16.1.1, on Sauce Demo and on two one-file local pages: chained actions, a wrapped element kept too long, and a button that disappeared while covered. Why the alias the error suggests failed for a button that changed, and why Cypress could click a button replaced every 20 ms.

cypress · automation · tutorial

9 MIN

Element Click Intercepted: "Other element would receive the click" in Selenium, and "intercepts pointer events" in Playwright

One overlay, two tools: Sauce Demo's slide-out menu covers the product images, and clicking one fails in Selenium with ElementClickInterceptedException and in Playwright with a timeout whose call log says "intercepts pointer events". Why elementToBeClickable doesn't help, why closing the menu and clicking at once was flaky in Selenium and not in Playwright, and why force and JavaScript clicks are the wrong fix.

selenium · playwright · automation

12 MIN

Playwright "Element is not attached to the DOM": When Locators Avoid It, and When They Don't

"Element is not attached to the DOM" reproduced on Sauce Demo with element handles, and measured on a local page that replaces its button every 20 to 1,000 ms. Locator clicks never threw it, but timed out when the page re-rendered faster than they could act. locator.screenshot() and scrollIntoViewIfNeeded() threw it even at one re-render a second. What to use instead, measured.

playwright · automation · tutorial

11 MIN

Playwright "Executable doesn't exist": Why the Browser Revision in the Path Changed, and How to Fix It

"browserType.launch: Executable doesn't exist" reproduced by upgrading Playwright from 1.63.0 to 1.64.0 with one browser cache: the path asks for chromium_headless_shell-1248 and the cache holds 1243. Where that revision comes from, what npx playwright install removes, why installing browsers before npm ci gets the wrong revision, and which CI and Docker setups avoid it.

playwright · automation · ci cd

7 MIN

Playwright "Target page, context or browser has been closed": What Closed It, and How to Fix It

Playwright's "Target page, context or browser has been closed", reproduced on a one-file local app: a closed context, a popup that closes itself, a page kept between tests, and a script that closes the browser too early. Why a missing await in Playwright Test shows "Test ended." instead, why an assertion on a closed page says "Received: undefined", and the fixes for each.

playwright · automation · tutorial

12 MIN

Selenium "stale element reference: stale element not found": What Replaced the Element, and How to Fix It

StaleElementReferenceException reproduced on Sauce Demo with Selenium 4.49.0: a Select reused after sorting, and an Add to cart button clicked twice. Why the product names didn't go stale but silently kept the old order, why a catch-and-retry around the same WebElement failed every attempt, what a retry around a fresh lookup actually did, and a Chrome password check that made clicks disappear.

selenium · java · automation

9 MIN

Playwright Strict Mode Violation: Why a Locator Resolved to 2 Elements, and How to Fix It

Playwright's strict mode violation, reproduced four ways on Sauce Demo and this site's practice shop: six identical buttons, two equal prices, a substring match, and a hidden alert added by Next.js. How to read the error, why it fails immediately instead of retrying, how to fix each case, and why .first() is usually the wrong fix.

playwright · automation · tutorial

9 MIN

Playwright Timeout Errors: Which Timeout Fired, and What to Change

Playwright has seven timeouts and they fail with different messages. We triggered each one against a deliberately slow local app: the 5-second expect timeout, the 30-second test timeout and the misleading net::ERR_ABORTED that follows it, actions with no limit of their own, navigation, hooks, the global timeout and the webServer start-up. How to tell from the first line which one fired, and what to change instead of raising every limit.

playwright · automation · tutorial

15 MIN

Page Object Model vs Fixtures in Playwright: One Suite Written Three Ways

Should you use page objects, fixtures, or plain hooks in Playwright? We wrote the same three Sauce Demo tests all three ways, ran them, and measured the differences: how much code each needs, how many places a locator lives, where a failure points when a locator breaks, and what a beforeEach does to a test that doesn't need it.

playwright · automation · tutorial

8 MIN

Accessibility Testing with axe and a Keyboard: What Each One Catches

A hands-on introduction to accessibility testing. Scan a page with axe, read a violation properly, see the same bug in the accessibility tree and in your locators, then find out why a keyboard pass misses it entirely. Includes an exercise with an answer key.

accessibility · playwright · automation

9 MIN

API Testing for Beginners: Postman and Playwright Examples

A hands-on introduction to API testing: explore an API with curl, write a Postman collection and run it with Newman, then write the same checks in Playwright. Uses a public practice API whose real responses include a few surprises.

api testing · postman · rest

10 MIN

Updated

Cypress vs Playwright vs Selenium: The Same Test in All Three, Timed

One test (log in, add a product, check the cart badge) written in Cypress, Playwright, and Selenium against the same public demo shop. How the code differs, how long each run took, what broke during setup, and which framework fits which team.

cypress · playwright · selenium

7 MIN

Updated

How to Run Automated Tests in CI/CD with GitHub Actions: From One Job to Shards

A practical path to tests in CI: the GitHub Actions workflow Playwright generates and what each line does, the additions a real project needs (taken from this site's pipeline), and how to shard a slow suite and merge the results into one report.

ci cd · automation · github actions

9 MIN

Updated

Manual vs Automated Testing: What Each One Caught on the Same Demo Shop

A concrete comparison instead of a debate: which bugs on a deliberately broken demo shop an automated suite caught, which ones a person caught, and a short set of questions for deciding what to automate next.

qa · manual testing · automation

5 MIN

Updated

QA Engineer Skills Roadmap: What to Learn, in What Order, and How to Prove It

Ten skills for testers, in the order they build on each other: test design, bug reporting, exploratory testing, API testing, one UI framework, Git and CI, test data and SQL, debugging failures, accessibility, and working with AI assistants. Each comes with a free project that proves you can do it.

qa career · skills · automation

7 MIN

Updated