← Back to Discord Forum

--with-deps chromium not working for us


For some unknown reason, the devs only want the tests run against chromium for the moment, so in our CI pipeline we have the following step:

- script: pnpx playwright@1.37.0 install --with-deps chromium
  displayName: 'Install playwright deps'

That executes OK but continues to install all browsers when I was expecting it to only install chromium.

What am I doing wrong here? Anyone else installing only a certain browser?

Note that it does appear to install chromium only if using npx but we are using pnpx in our CI pipeline...

This thread is trying to answer question "Why is the command 'pnpx playwright@1.37.0 install --with-deps chromium' installing all browsers instead of just Chromium, and how can this be fixed?"

0 replies

Related Discord Threads

AboutQuestionsDiscord ForumBrowser ExtensionTagsQA Jobs

Rayrun is a community for QA engineers. I am constantly looking for new ways to add value to people learning Playwright and other browser automation frameworks. If you have feedback, email luc@ray.run.