install browsers #92
Annotations
5 errors
src/tools/browser/browser-manager.test.ts > BrowserManager > createSession > should create a new browser session:
src/tools/browser/BrowserManager.ts#L45
BrowserError: Failed to create browser session
❯ BrowserManager.createSession src/tools/browser/BrowserManager.ts:45:13
❯ src/tools/browser/browser-manager.test.ts:18:23
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { code: 'LAUNCH_FAILED' }
Caused by: Caused by: Error: browserType.launch: Target page, context or browser has been closed
Browser logs:
╔════════════════════════════════════════════════════════════════════════════════════════════════╗
║ Looks like you launched a headed browser without having a XServer running. ║
║ Set either 'headless: true' or use 'xvfb-run <your-playwright-app>' before running Playwright. ║
║ ║
║ <3 Playwright Team ║
╚════════════════════════════════════════════════════════════════════════════════════════════════╝
Call log:
- <launching> /home/runner/.cache/ms-playwright/chromium-1155/chrome-linux/chrome --disable-field-trial-config --disable-background-networking --disable-background-timer-throttling --disable-backgrounding-occluded-windows --disable-back-forward-cache --disable-breakpad --disable-client-side-phishing-detection --disable-component-extensions-with-background-pages --disable-component-update --no-default-browser-check --disable-default-apps --disable-dev-shm-usage --disable-extensions --disable-features=ImprovedCookieControls,LazyFrameLoading,GlobalMediaControls,DestroyProfileOnBrowserClose,MediaRouter,DialMediaRouteProvider,AcceptCHFrame,AutoExpandDetailsElement,CertificateTransparencyComponentUpdater,AvoidUnnecessaryBeforeUnloadCheckSync,Translate,HttpsUpgrades,PaintHolding,ThirdPartyStoragePartitioning,LensOverlay,PlzDedicatedWorker --allow-pre-commit-input --disable-hang-monitor --disable-ipc-flooding-protection --disable-popup-blocking --disable-prompt-on-repost --disable-renderer-backgrounding --force-color-profile=srgb --metrics-recording-only --no-first-run --enable-automation --password-store=basic --use-mock-keychain --no-service-autorun --export-tagged-pdf --disable-search-engine-choice-screen --unsafely-disable-devtools-self-xss-warnings --no-sandbox --user-data-dir=/tmp/playwright_chromiumdev_profile-Wj5Sz9 --remote-debugging-pipe --no-startup-window
- <launched> pid=3380
- [pid=3380][err] [3380:3380:0212/192647.910627:ERROR:ozone_platform_x11.cc(245)] Missing X server or $DISPLAY
- [pid=3380][err] [3380:3380:0212/192647.910666:ERROR:env.cc(257)] The platform failed to initialize. Exiting.
❯ BrowserManager.createSession src/tools/browser/BrowserManager.ts:20:38
❯ src/tools/browser/browser-manager.test.ts:18:44
|
src/tools/browser/browser-manager.test.ts > BrowserManager > createSession > should apply custom timeout when specified:
src/tools/browser/BrowserManager.ts#L45
BrowserError: Failed to create browser session
❯ BrowserManager.createSession src/tools/browser/BrowserManager.ts:45:13
❯ src/tools/browser/browser-manager.test.ts:31:23
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { code: 'LAUNCH_FAILED' }
Caused by: Caused by: Error: browserType.launch: Target page, context or browser has been closed
Browser logs:
╔════════════════════════════════════════════════════════════════════════════════════════════════╗
║ Looks like you launched a headed browser without having a XServer running. ║
║ Set either 'headless: true' or use 'xvfb-run <your-playwright-app>' before running Playwright. ║
║ ║
║ <3 Playwright Team ║
╚════════════════════════════════════════════════════════════════════════════════════════════════╝
Call log:
- <launching> /home/runner/.cache/ms-playwright/chromium-1155/chrome-linux/chrome --disable-field-trial-config --disable-background-networking --disable-background-timer-throttling --disable-backgrounding-occluded-windows --disable-back-forward-cache --disable-breakpad --disable-client-side-phishing-detection --disable-component-extensions-with-background-pages --disable-component-update --no-default-browser-check --disable-default-apps --disable-dev-shm-usage --disable-extensions --disable-features=ImprovedCookieControls,LazyFrameLoading,GlobalMediaControls,DestroyProfileOnBrowserClose,MediaRouter,DialMediaRouteProvider,AcceptCHFrame,AutoExpandDetailsElement,CertificateTransparencyComponentUpdater,AvoidUnnecessaryBeforeUnloadCheckSync,Translate,HttpsUpgrades,PaintHolding,ThirdPartyStoragePartitioning,LensOverlay,PlzDedicatedWorker --allow-pre-commit-input --disable-hang-monitor --disable-ipc-flooding-protection --disable-popup-blocking --disable-prompt-on-repost --disable-renderer-backgrounding --force-color-profile=srgb --metrics-recording-only --no-first-run --enable-automation --password-store=basic --use-mock-keychain --no-service-autorun --export-tagged-pdf --disable-search-engine-choice-screen --unsafely-disable-devtools-self-xss-warnings --no-sandbox --user-data-dir=/tmp/playwright_chromiumdev_profile-4G0vpU --remote-debugging-pipe --no-startup-window
- <launched> pid=3450
- [pid=3450][err] [3450:3450:0212/192648.185259:ERROR:ozone_platform_x11.cc(245)] Missing X server or $DISPLAY
- [pid=3450][err] [3450:3450:0212/192648.185298:ERROR:env.cc(257)] The platform failed to initialize. Exiting.
❯ BrowserManager.createSession src/tools/browser/BrowserManager.ts:20:38
❯ src/tools/browser/browser-manager.test.ts:31:44
|
src/tools/browser/browser-manager.test.ts > BrowserManager > closeSession > should close an existing session:
src/tools/browser/BrowserManager.ts#L45
BrowserError: Failed to create browser session
❯ BrowserManager.createSession src/tools/browser/BrowserManager.ts:45:13
❯ src/tools/browser/browser-manager.test.ts:48:23
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { code: 'LAUNCH_FAILED' }
Caused by: Caused by: Error: browserType.launch: Target page, context or browser has been closed
Browser logs:
╔════════════════════════════════════════════════════════════════════════════════════════════════╗
║ Looks like you launched a headed browser without having a XServer running. ║
║ Set either 'headless: true' or use 'xvfb-run <your-playwright-app>' before running Playwright. ║
║ ║
║ <3 Playwright Team ║
╚════════════════════════════════════════════════════════════════════════════════════════════════╝
Call log:
- <launching> /home/runner/.cache/ms-playwright/chromium-1155/chrome-linux/chrome --disable-field-trial-config --disable-background-networking --disable-background-timer-throttling --disable-backgrounding-occluded-windows --disable-back-forward-cache --disable-breakpad --disable-client-side-phishing-detection --disable-component-extensions-with-background-pages --disable-component-update --no-default-browser-check --disable-default-apps --disable-dev-shm-usage --disable-extensions --disable-features=ImprovedCookieControls,LazyFrameLoading,GlobalMediaControls,DestroyProfileOnBrowserClose,MediaRouter,DialMediaRouteProvider,AcceptCHFrame,AutoExpandDetailsElement,CertificateTransparencyComponentUpdater,AvoidUnnecessaryBeforeUnloadCheckSync,Translate,HttpsUpgrades,PaintHolding,ThirdPartyStoragePartitioning,LensOverlay,PlzDedicatedWorker --allow-pre-commit-input --disable-hang-monitor --disable-ipc-flooding-protection --disable-popup-blocking --disable-prompt-on-repost --disable-renderer-backgrounding --force-color-profile=srgb --metrics-recording-only --no-first-run --enable-automation --password-store=basic --use-mock-keychain --no-service-autorun --export-tagged-pdf --disable-search-engine-choice-screen --unsafely-disable-devtools-self-xss-warnings --no-sandbox --user-data-dir=/tmp/playwright_chromiumdev_profile-vB7ckm --remote-debugging-pipe --no-startup-window
- <launched> pid=3470
- [pid=3470][err] [3470:3470:0212/192648.295281:ERROR:ozone_platform_x11.cc(245)] Missing X server or $DISPLAY
- [pid=3470][err] [3470:3470:0212/192648.295322:ERROR:env.cc(257)] The platform failed to initialize. Exiting.
❯ BrowserManager.createSession src/tools/browser/BrowserManager.ts:20:38
❯ src/tools/browser/browser-manager.test.ts:48:44
|
src/tools/browser/browser-manager.test.ts > BrowserManager > getSession > should return existing session:
src/tools/browser/BrowserManager.ts#L45
BrowserError: Failed to create browser session
❯ BrowserManager.createSession src/tools/browser/BrowserManager.ts:45:13
❯ src/tools/browser/browser-manager.test.ts:65:23
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { code: 'LAUNCH_FAILED' }
Caused by: Caused by: Error: browserType.launch: Target page, context or browser has been closed
Browser logs:
╔════════════════════════════════════════════════════════════════════════════════════════════════╗
║ Looks like you launched a headed browser without having a XServer running. ║
║ Set either 'headless: true' or use 'xvfb-run <your-playwright-app>' before running Playwright. ║
║ ║
║ <3 Playwright Team ║
╚════════════════════════════════════════════════════════════════════════════════════════════════╝
Call log:
- <launching> /home/runner/.cache/ms-playwright/chromium-1155/chrome-linux/chrome --disable-field-trial-config --disable-background-networking --disable-background-timer-throttling --disable-backgrounding-occluded-windows --disable-back-forward-cache --disable-breakpad --disable-client-side-phishing-detection --disable-component-extensions-with-background-pages --disable-component-update --no-default-browser-check --disable-default-apps --disable-dev-shm-usage --disable-extensions --disable-features=ImprovedCookieControls,LazyFrameLoading,GlobalMediaControls,DestroyProfileOnBrowserClose,MediaRouter,DialMediaRouteProvider,AcceptCHFrame,AutoExpandDetailsElement,CertificateTransparencyComponentUpdater,AvoidUnnecessaryBeforeUnloadCheckSync,Translate,HttpsUpgrades,PaintHolding,ThirdPartyStoragePartitioning,LensOverlay,PlzDedicatedWorker --allow-pre-commit-input --disable-hang-monitor --disable-ipc-flooding-protection --disable-popup-blocking --disable-prompt-on-repost --disable-renderer-backgrounding --force-color-profile=srgb --metrics-recording-only --no-first-run --enable-automation --password-store=basic --use-mock-keychain --no-service-autorun --export-tagged-pdf --disable-search-engine-choice-screen --unsafely-disable-devtools-self-xss-warnings --no-sandbox --user-data-dir=/tmp/playwright_chromiumdev_profile-ky8kzF --remote-debugging-pipe --no-startup-window
- <launched> pid=3490
- [pid=3490][err] [3490:3490:0212/192648.407044:ERROR:ozone_platform_x11.cc(245)] Missing X server or $DISPLAY
- [pid=3490][err] [3490:3490:0212/192648.407086:ERROR:env.cc(257)] The platform failed to initialize. Exiting.
❯ BrowserManager.createSession src/tools/browser/BrowserManager.ts:20:38
❯ src/tools/browser/browser-manager.test.ts:65:44
|
ci
Process completed with exit code 1.
|