You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
pid=1821
[err] [1821:1821:0305/180801.614709:ERROR:browser_main_loop.cc(1386)] Unable to open X display.
pid=1821
[err] [1821:1821:0305/180801.614709:ERROR:browser_main_loop.cc(1386)] Unable to open X display.
(node:1744) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag --unhandled-rejections=strict (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 2)
(node:1744) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
The text was updated successfully, but these errors were encountered:
You are running in in a headed mode (headless: false), but your WSL system does not have X display, because it is headless. you should either run Playwright on your host Windows, without WSL, or enable GUI in your WSL2.
Context:
Code Snippet
Describe the bug
(node:1744) UnhandledPromiseRejectionWarning: browserType.launch: Protocol error (Browser.getVersion): Browser closed.
pid=1821
[err] [1821:1821:0305/180801.614709:ERROR:browser_main_loop.cc(1386)] Unable to open X display.
pid=1821
[err] [1821:1821:0305/180801.614709:ERROR:browser_main_loop.cc(1386)] Unable to open X display.
(node:1744) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag
--unhandled-rejections=strict
(see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 2)(node:1744) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
The text was updated successfully, but these errors were encountered: