Puppeteer 20 AbortSignal: aborted navigations reject with generic Error instead of TimeoutError
Context Since Puppeteer 20.0.0, page.goto , page.waitForNavigation , page.waitForSelector , and page.waitForXPath accept an AbortSignal as the first argument, so in-flight work can be cancelled with an AbortController . This is a change from 19.x, where cancellation required racing promises manually. The discrepancy When a timeout (for example via page.setDe