-
Notifications
You must be signed in to change notification settings - Fork 3.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BUG] UnhandledPromiseRejectionWarning: browserType.launch: Timeout 30000ms exceeded. #5749
Comments
Thanks for the report, could you run the test with |
I just ran your snippet on ubuntu 20.04 and wsl2 with no issues. The only difference is that I ran in headless mode. Does the problem persist if you remove |
Update: I managed to launch it in headed mode too, the x-server I used is VcXsrv which I configured following instructions from this post. I was running under normal user (not root) which might matter. Does chrome launch for you if you try |
Closing this since there's no feedback 🤷♂️ Feel free to re-submit with new details if you still experience this! |
Context:
Code Snippet
Describe the bug
DEBUG=pw:api node index.js
pw:api => browserType.launch started +0ms
pw:api <= browserType.launch failed +30s
(node:14082) UnhandledPromiseRejectionWarning: browserType.launch: Timeout 30000ms exceeded.
DEBUG=pw:browser* node index.js
pw:browser /root/.cache/ms-playwright/chromium-854489/chrome-linux/chrome --disable-background-networking --enable-features=NetworkService,NetworkServiceInProcess --disable-background-timer-throttling --disable-backgrounding-occluded-windows --disable-breakpad --disable-client-side-phishing-detection --disable-component-extensions-with-background-pages --disable-default-apps --disable-dev-shm-usage --disable-extensions --disable-features=TranslateUI,BlinkGenPropertyTrees,ImprovedCookieControls,SameSiteByDefaultCookies,LazyFrameLoading --disable-hang-monitor --disable-ipc-flooding-protection --disable-popup-blocking --disable-prompt-on-repost --disable-renderer-backgrounding --disable-sync --force-color-profile=srgb --metrics-recording-only --no-first-run --enable-automation --password-store=basic --use-mock-keychain --user-data-dir=/tmp/playwright_chromiumdev_profile-cnjjtR --remote-debugging-pipe --no-sandbox --no-sandbox --disable-setuid-sandbox --disable-dev-shm-usage --enable-logging --no-startup-window +0ms
pw:browser pid=14250 +1ms
pw:browser +30s
pw:browser +12ms
pw:browser +4ms
pw:browser +3ms
(node:14173) UnhandledPromiseRejectionWarning: browserType.launch: Timeout 30000ms exceeded.
The text was updated successfully, but these errors were encountered: