The default action timeout (30 seconds) was exceeded before the operation could complete. This commonly occurs during navigation, element waits, or network-dependent operations.
await page.goto(url, { timeout: 60000 });Doubles the default timeout for this navigation. Use when the page legitimately takes longer to load.
export default defineConfig({
timeout: 60000,
expect: { timeout: 10000 },
});Increases the default timeout for all actions across the entire test suite.
await page.waitForSelector('#content', { state: 'visible' });
await page.waitForLoadState('networkidle');More reliable than fixed timeouts — waits for the actual condition to be met.
ObserveOne auto-detects timeout patterns and suggests optimal wait strategies based on real-world performance data.
Start Monitoring FreeNavigation to the target URL did not complete within the timeout period. The page either failed to respond or took too long to reach the 'load' event.
Playwright waited for an element matching the given selector but it did not appear within the timeout. The element may not exist, may be hidden, or may appear under a different selector.
The browser page crashed during execution. This is typically caused by out-of-memory conditions or browser bugs.
A locator matched more than one element, but the action requires exactly one. Playwright's strict mode (enabled by default) prevents ambiguous interactions.
The target element exists in the DOM but is not visible. Playwright requires elements to be visible before interacting with them (clicking, typing, etc.).