We have a pipeline in azure which runs a set of Playwright tests as part of the process. This have be working well until a few days ago with the following PowerShell script as part of the pipeline.
npm install
npx playwright install
This was the working response
Downloading Chromium 125.0.6422.26 (playwright build v1117)[2m from https://playwright.azureedge.net/builds/chromium/1117/chromium-win64.zip[22m
Now suddenly this has changed to this and we get issues
Downloading Chromium 127.0.6533.17 (playwright build v1124)[2m from https://playwright.azureedge.net/builds/chromium/1124/chromium-win64.zip[22m
And version 126 has been skipped. Azure now fails to run the tests because it does not yet support chrome 127. How do I specify a version number?
Even NuGet in VS is only offering version 126 as a update.
Thanks for any advise
How do I specify a version number?
You can change your PowerShell script to the following one to specify to use the playwright@1.44.1
version.
npm install
npx playwright@1.44.1 install
Then it will download the Chromium 125.0.6422.26
.