microsoft/playwright
Documented errors, page 3 of 4. Back to microsoft/playwright
| Code / Message | Type | Severity | Tags |
|---|---|---|---|
| Connecting over CDP is only supported in Chromium and… | exception | error | cdp, connect, browser-support |
| Connecting to by channel name is not supported on . | exception | error | cdp, connect, chromium, platform, channel |
| The browser context is shared between clients and cannot be… | exception | error | mcp, shared-context, unsupported-operation |
| path: unsupported mime type | validation | error | screenshot, validation, mime-type |
| Invalid : . Valid values are | validation | error | mcp, config, cli, parser, enum, validation |
| Recorder is shown, close it before starting a recording. | exception | error | recorder, codegen, state-conflict, mutual-exclusion |
| Failed to create tab | exception | error | extension, tabs, browser-model, cdp-relay, create-target |
| Root session cannot be closed | exception | error | cdp, session-lifecycle, chromium, internal |
| Failed to launch because executable doesn't exist at | exception | error | launch, executable-path, validation, browser-binary |
| Frame does not yet have a main execution context | exception | warning | frames, execution-context, timing |
| This frame does not have a separate CDP session, it is a… | exception | warning | cdp, frames, chromium, session |
| webkit-wsl is only supported on Windows | exception | error | registry, webkit, wsl, platform, windows-only |
| Must start tracing before stopping | exception | error | tracing, state-machine, lifecycle |
| Navigation to " " is interrupted by another navigation to | exception | error | navigation, race, redirect |
| The trace was created by a newer version of Playwright and… | exception | error | trace, viewer, version-mismatch, compatibility |
| No tab found for sessionId | exception | error | extension, cdp, session, browser-model, routing |
| Could not connect to | exception | error | cdp, connect, chromium, remote-debugging, corrupted-state |
| Invalid resolution format: use | validation | error | mcp, config, cli, parser, viewport, validation |
| localPaths are not allowed when the client is not local | validation | error | file-upload, remote, input-files |
| --data must be in "mime/type=value" format, got | validation | error | cli, input-validation, daemon, drop |
| Tracing has been already started | exception | error | tracing, state-machine |
| Browser is not supported on current platform | exception | error | executable-path, platform, install |
| Browser ' ' is not open. Run playwright-cli ` : ''} open to… | exception | error | session, daemon, connection, cli |
| Invalid timezone ID | exception | error | timezone, context-options, emulation, chromium |
| Cannot start a trace chunk while stopping | exception | error | tracing, state-machine, concurrency, await |
| File access denied: is outside allowed roots. Allowed roots | exception | error | security, filesystem, sandbox, llm-origin, config-gate |
| CDP connections are only supported by Chromium | exception | error | cdp, connect, chromium-only, browser-type |
| Did not find some options | exception | error | dom, select-option, actionability, force |
| "fps" must be a positive number, got | exception | error | screencast, video, validation |
| Recording is already in progress. | exception | error | recorder, codegen, state-conflict, browser-context |
| Unsupported channel | exception | error | launch, channel, browser-binary, chromium |
| WebMCP tool " " is not registered in this frame | exception | error | webmcp, tool-not-found, frame |
| Cannot find .trace file | exception | error | trace, viewer, file-io, validation |
| Ref not found in the current page snapshot. Try capturing… | exception | error | locator, element-resolution, snapshot, mcp-tool, stale-ref |
| Target page, context or browser has been closed | exception | error | webkit, navigation, lifecycle, closed |
| Cannot set input files to detached input element | exception | error | input, lifecycle, dom, chromium |
| WebMCP is not available on this page | exception | error | webmcp, browser, feature-detection |
| Invalid geolocation format, should be "lat,long". For… | exception | error | cli, geolocation, validation, user-input |
| Must stop trace file before stopping tracing | exception | error | tracing, state-machine, lifecycle |
| Route from har is not supported in thin clients | exception | error | har, routing, remote, thin-client |
| Cannot transfer files larger than 50Mb to a browser not… | exception | error | file-upload, size-limit, remote |
| --mobile is not supported with the Firefox browser. | validation | error | mcp, config, cli, device-emulation, firefox, validation |
| Failed after attempt(s) | exception | error | network, retry, econnreset |
| Failed to install WebKit via WSL | exception | error | registry, webkit, wsl, install, powershell, system |
| "recordVideo.fps" must be a positive number, got | exception | error | video, config, validation |
| File paths must be all files or a single directory | validation | error | file-upload, validation, input-files |
| No trace opened. Run 'npx playwright trace open | exception | error | trace, cli, workflow, state, validation |
| " " selector engine has been already registered | exception | error | selectors, registration, duplicate, custom-engine |
| Failed to run 'apt-get install -s' to simulate dependency… | exception | error | install, linux, dependencies, apt, system |
| Browser context was closed before the daemon could start | exception | critical | daemon, lifecycle, race-condition, browser-context |
| More than one device found. Please specify… | exception | error | android, adb, launch-server, validation |
| Path is not available when connecting remotely. Use… | exception | error | artifact, remote, downloads, filesystem |
| Error while parsing selector | exception | error | selector, parsing, regex, invalid-selector |
| Mouse wheel is not supported in mobile WebKit | exception | error | webkit, input, mouse, mobile, emulation |
| WebKit on Windows has a minimal viewport of 250x240. | validation | error | webkit, windows, viewport, headful, emulation |
| Error while parsing selector | exception | error | selector, parsing, validation, user-input |
| Exactly one of payloads, localPaths and streams must be… | validation | error | file-upload, validation, input-files |
| Failed to launch the browser process.\nBrowser logs:\n | exception | critical | launch, browser-binary, system-deps, ci |
| Playwright manages remote debugging connection itself. | validation | error | launch, chromium, args, cdp |
| Frame locators are not allowed inside composite locators… | exception | error | selector, frame-locator, validation |
| Invalid glob pattern | exception | error | glob, url-matching, parsing, validation |
| Tracing is already stopping | exception | error | tracing, state-machine, concurrency |
| Cannot close a directory | exception | error | filesystem, save-as, protocol |
| Invalid input image | exception | error | image, screenshot, scaling, validation, dimensions |
| Could not start the session | exception | error | cli, session, daemon, state |
| Only one of the selectors can capture using * modifier | exception | error | selector, capture, invalid-selector |
| path is not available in the browser | exception | error | browser-bundle, node-stubs, path, environment |
| 'apt-get install -s' exited with code | exception | error | install, linux, dependencies, apt, system |
| Unknown button | exception | error | bidi, input, mouse, types |
| Cannot launch Firefox with relative home directory. Did you… | exception | critical | firefox, launch, environment, ci, docker |
| Failed to install windows dependencies! | exception | error | install, windows, dependencies, powershell, system |
| Either path or content property must be present | exception | error | evaluation, script, validation |
| WebKit via WSL is only supported on Windows | exception | error | registry, webkit, wsl, install, platform, windows-only |
| " " does not match any elements. | exception | error | locator, element-resolution, mcp-tool, snapshot |
| boolean option '-- ' should not be passed with '=value'… | validation | error | cli, args-parsing, input-validation |
| Clock only understands numbers, 'mm:ss' and 'hh:mm:ss' | exception | error | clock, validation |
| key is specified without cert | validation | error | client-certificates, tls, validation |
| Cannot evaluate a string with arguments | exception | error | evaluation, script, validation |
| Frame for this navigation request is not available, because… | exception | error | |
| Option being selected is not enabled | exception | error | dom, select-option, disabled, force |
| At least one of "paths" or "data" must be provided. | validation | error | drag-drop, input-validation, mcp-tool |
| error: too many arguments: expected | validation | error | cli, args-parsing, input-validation, command-schema |
| Invalid date | exception | error | clock, validation, date |
| url parameter should be string, RegExp, URLPattern or… | exception | error | url-matching, types, validation |
| Video recording has already been started. | exception | error | video, state-machine, mcp-tool, playwright-mcp |
| Either time, text or textGone must be provided | validation | error | wait, input-validation, mcp-tool |
| Frame does not yet have the execution context | exception | warning | frames, execution-context, timing |
| Tracing is not started | exception | error | tracing, state-machine, mcp-tool |
| Unexpected WebSocket state | exception | error | extension, websocket, cdp-relay, connection, state |
| Frame was detached | exception | critical | frames, detached, lifecycle |
| Composite locators are not supported with piercing frames… | exception | error | selector, pierce-frames, validation |
| Failed to install | exception | error | chromium-channel, install, windows, powershell, exit-code |
| No recording in progress | exception | error | dashboard, recording, lifecycle, state-management |
| The value of "n" is out of range. It must be a non-negative… | validation | error | event-emitter, validation, configuration |
| Request context disposed. | exception | critical | lifecycle, api-request, context-disposed |
| Device descriptor not found | exception | error | cli, device-descriptors, validation, user-input |
| Invalid time | exception | error | clock, validation |
| Resulting promise was garbage collected. | exception | error | evaluate, promise, gc, chromium |
| mount() requires `baseURL` to point at the component… | exception | error | config, component-testing, baseurl |
| test.step() can only be called from a test | exception | error | playwright-test, test-step, lifecycle, async-context |