microsoft/playwright
Documented errors, page 2 of 4. Back to microsoft/playwright
| Code / Message | Type | Severity | Tags |
|---|---|---|---|
| serialize: expected an array of (Map|Set) | exception | error | serialization, evaluate, validation |
| Access to "file:" protocol is blocked. Attempted URL | exception | error | security, navigation, file-protocol, config-gate |
| Cannot use --mobile together with --device, pick one. | validation | error | mcp, config, cli, device-emulation, validation |
| Could not connect to | exception | error | cdp, connect, chromium, remote-debugging |
| Firefox distribution | exception | error | firefox, bidi, platform, executable-path |
| Cannot find object to | exception | error | protocol, race-condition, lifecycle, internal |
| Must start tracing before starting a new chunk | exception | error | tracing, state-machine, lifecycle |
| ERROR: Playwright does not support installing | exception | error | install, executable, registry, validation |
| Response body is unavailable | exception | error | network, route, response, chromium |
| Unknown command | exception | error | trace, cli, snapshot, command, validation |
| Arguments can not specify page to be opened | exception | error | webkit, launch, args, validation |
| Provide an object with a `url`, `path` or `content` property | validation | error | addscripttag, validation, frame, script-injection |
| Failed to launch webkit because executable doesn't exist at | exception | critical | webkit, wsl, launch, executable, windows |
| JSHandle is not a DOM node handle | exception | error | bidi, firefox, jshandle, internal |
| An active lockfile is found at | exception | error | install, lockfile, concurrency, registry, ci |
| Cannot find command to respond | exception | error | protocol, internal, transport, race-condition |
| Not supported | exception | error | webview, ios, safari, capability, not-supported |
| Unknown target | exception | error | webkit, protocol, targets, frames, race |
| ERROR: Playwright does not support | exception | error | download, platform, architecture, registry, unsupported |
| Cannot find Firefox installation for channel | exception | error | firefox, bidi, browser-not-found, executable-path |
| Missing system dependencies required to run browser | exception | critical | browser-launch, linux, system-dependencies, shared-libraries, install |
| Executable doesn't exist at | exception | error | registry, executable, install, browsers, docker |
| No attached tab to forward browser-level command | exception | error | extension, cdp, browser-model, tabs, attach |
| Screencast is already running | exception | error | screencast, video, resource-conflict |
| HAR zip entry ' ' escapes output directory | exception | error | har, zip, path-traversal, security, harunzip, localutils |
| " " selector cannot be first | exception | error | selector, nested-selector, ordering, invalid-selector |
| Please use browser.newContext() | exception | error | browser-context, new-page, ownership |
| Cannot find parent object | exception | error | protocol, race-condition, lifecycle, internal |
| File must have .webm extension | exception | error | video, ffmpeg, validation, internal |
| Host system is missing dependencies!\n\n | exception | error | install, windows, dependencies, missing-libraries, system |
| No chromium-based browser found on the system. Please run… | exception | error | chromium, ui-mode, trace-viewer, launch-app, browser-not-found |
| No open pages available. | exception | error | mcp, tools, tabs, lifecycle, backend |
| Cannot navigate to " ": this page is not available in an… | exception | error | navigation, chromium, webui, persistent-context |
| Found redirect cycle for | exception | error | har, redirect, routefromhar, infinite-loop, harbackend |
| The gallery page does not define window.mount(). | exception | error | component-testing, gallery, browser |
| Cannot install | exception | error | install, npm-postinstall, registry, browsers-json |
| Failed to download , caused by | exception | error | download, network, timeout, registry, cdn |
| Timeout ms exceeded | exception | error | network, timeout, connection |
| Client is v , session ' ' is v . Run playwright-cli ` : ''}… | exception | error | session, versioning, daemon, cli |
| Only one of --no-shell and --only-shell can be specified | exception | error | cli, install, flag-conflict |
| ${response.status} ${response.statusText}${responseText} | http | error | network, api-request, http-status |
| Unknown new child | exception | error | protocol, race-condition, lifecycle, internal |
| Cannot take screenshot larger than 32767 pixels on any… | validation | error | webkit, screenshot, cairo, linux, windows, device-scale-factor |
| HAR entry _file escapes base directory | exception | error | har, path-traversal, security, harbackend, routefromhar |
| Unknown modifier | validation | error | keyboard, modifier, input, validation |
| Another client is already routing WebSockets | exception | error | websocket, routing, multi-client |
| Could not connect to | exception | error | cdp, connect, chromium, remote-debugging |
| Extension not connected | exception | error | extension, cdp-relay, connection, websocket, ordering |
| : expected one of (load|domcontentloaded|networkidle|commit) | validation | error | lifecycle, waituntil, validation, navigation, frame |
| Only one of --dry-run and --list can be specified | exception | error | cli, install, flag-conflict |
| clientCertificates for origin | validation | error | client-certificates, tls, socks, config-validation |
| hasTouch must be enabled on the browser context before… | validation | error | touchscreen, touch, hastouch, context-options, input |
| Unsupported platform | exception | error | platform, registry, cache, environment |
| Cannot uncheck radio button. Radio buttons can only be… | exception | error | form, radio, checkbox, api-misuse |
| Function " " has been already registered in the browser… | validation | error | bindings, expose-function, browser-context, duplicate-name |
| Invalid installation targets | exception | error | install, cli, validation, registry |
| Only element handles can be evaluated in the | exception | error | evaluate, world, jshandle, unsupported-operation |
| Selector cannot start with entering frame, select the… | exception | error | selector, frames, iframe, ordering, invalid-selector |
| Trace file not found | exception | error | trace, cli, filesystem, validation |
| Unsupported channel | exception | critical | extension, cdp-relay, channel, registry, browser-launch |
| At least one of "files" or "data" must be provided. | validation | error | drop, drag-and-drop, validation, frame, files |
closed Target page, context or browser has been closed | exception | error | webkit, connection, closed, protocol, lifecycle |
| Execution context was destroyed, most likely because of a… | exception | error | evaluate, navigation, race, chromium |
| " " executable not found. Make sure it is installed at a… | exception | critical | extension, cdp-relay, executable, channel, install |
| Unknown engine " " while parsing selector | exception | error | selectors, parse, invalid-selector, custom-engine |
| Unknown method | exception | error | daemon, protocol, input-validation |
| Recording is in progress, stop it before showing the… | exception | error | recorder, codegen, state-conflict |
| Recording requires a newer version of Playwright, please… | exception | error | version-mismatch, playwright-core, recording, mcp |
| No element matching | exception | error | selector, resolveselector, element-not-found, frame |
| error: '--params' option: expected a JSON object, received | exception | error | cli, json, argument-parsing |
| Error while parsing selector | exception | error | selector, parsing, regex, invalid-selector |
| Passing a ConnectionTransport to connectOverCDP is not… | exception | error | cdp, connect, thin-client, transport |
| Failed to load init page | exception | error | tab-init, config, init-script, cause-wrapped |
| Cannot serialize result: object reference chain is too long. | exception | error | webkit, evaluate, serialization, execution-context |
| Browser does not support socks5 proxy authentication | validation | error | proxy, socks, network, validation |
| Browser userDataDir is not supported in isolated mode. | validation | error | config, isolated-mode, persistent-profile, validation, mutually-exclusive |
| Failed to parse response | exception | error | recorder, chat, llm, json-parse, experimental |
| File paths cannot be mixed with buffers | validation | error | file-upload, validation, input-files |
| The page has closed | exception | error | screenshot, tohavescreenshot, page-closed, race-condition, lifecycle |
| Cannot fulfill with redirect status | validation | error | webkit, network, route, fulfill, redirect |
| Error: unable to connect to a browser that does not have… | exception | critical | cli, browser-context, remote, cdp, isolated-mode |
| Launching server is not supported | exception | error | android, launch-server, unsupported |
| Socks4 proxy protocol does not support authentication | validation | error | proxy, socks, network, validation |
| Selector cannot be empty when piercing frames, while… | exception | error | selector, frames, pierce, empty, invalid-selector |
| Trace file does not exist! | exception | error | trace-viewer, filesystem, cli |
| Unknown stream | exception | error | dashboard, stream, lifecycle, recording |
| Can not capture the selector before diving into the frame… | exception | error | selector, frames, capture, invalid-selector |
| Cannot disconnect from this worker | exception | error | worker, disconnect, internal, lifecycle |
| Unable to open X… | exception | error | electron, linux, display, environment, xvfb |
| --output-dir cannot point to a system directory | validation | error | config, output-dir, validation, filesystem, safety |
| The page does not support tap. Use hasTouch context option… | validation | error | tap, touch, hastouch, context-options, frame |
| Invalid frame in aria-ref selector | exception | error | selector, aria-ref, frames |
| Pipe has been closed | exception | error | transport, pipe, browser-crash, lifecycle, protocol |
| Session already detached. Most likely the page has been… | exception | warning | cdp, session-lifecycle, cleanup, chromium |
| Element is not | exception | error | dom, actionability, state, force |
| fs is not available in the browser | exception | error | browser-bundle, node-stubs, fs, environment |
| Invalid viewport size format: use "width,height", for… | exception | error | cli, viewport, validation, user-input |
| options.visibility is not supported, did you mean… | validation | error | selector, api-migration, validation |
| PDF generation is only supported for Headless Chromium | exception | error | pdf, chromium-only, browser-compat |
| Multiple directories are not supported | exception | error | file-upload, validation, input-files |