Skip to content

[Bug]: chromium Error: browserType.launch: spawn EPERM #30058

@aniketicloud

Description

@aniketicloud

Version

1.42.1

Steps to reproduce

Node 20.9.0

  1. run this in terminal->npm create vite@latest --template react-swc-ts
  2. run this in terminal-> npm init playwright@latest
  3. select all default options like install browsers location etc
  4. npx playwright test

Expected behavior

I expect to run test on chromium with default instructions

Actual behavior

  1. [chromium] › example.spec.ts:3:1 › has title ──────────────────────────────────────────────────

    Error: browserType.launch: spawn EPERM
    Call log:

    • C:\Users\aniket.pandharabale\AppData\Local\ms-playwright\chromium-1105\chrome-win\chrome.exe
      --disable-field-trial-config --disable-background-networking --enable-features=NetworkService,NetworkServiceInProcess --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 --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 --headless --hide-scrollbars --mute-audio --blink-settings=primaryHoverType=2,availableHoverTypes=2,primaryPointerType=4,availablePointerTypes=4 --no-sandbox --user-data-dir=C:\Users\ANIKET~1.PAN\AppData\Local\Temp\playwright_chromiumdev_profile-Z2TfjL --remote-debugging-pipe --no-startup-window
Screenshot 2024-03-22 222112

Additional context

No response

Environment

System:
    OS: Windows 10 10.0.19045
    CPU: (8) x64 Intel(R) Core(TM) i5-8265U CPU @ 1.60GHz
    Memory: 4.65 GB / 15.75 GB
  Binaries:
    Node: 20.9.0 - C:\Program Files\nodejs\node.EXE
    npm: 10.1.0 - C:\Program Files\nodejs\npm.CMD
  IDEs:
    VSCode: 1.87.2 - C:\Users\aniket.pandharabale\AppData\Local\Programs\Microsoft VS Code\bin\code.CMD
  Languages:
    Bash: 5.2.15 - C:\Users\aniket.pandharabale\AppData\Local\Programs\Git\usr\bin\bash.EXE
  npmPackages:
    @playwright/test: ^1.42.1 => 1.42.1

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions