Skip to content
Snippets Groups Projects
Commit b3a03d45 authored by Reiter, Christoph's avatar Reiter, Christoph :snake:
Browse files

Update playwright-core

And adjust for the import changes
parent 8cb65ce4
No related branches found
No related tags found
No related merge requests found
module.exports = async function(config) { module.exports = async function(config) {
const { installBrowsersForNpmInstall, registry } = require('playwright-core/lib/utils/registry'); const { installBrowsersForNpmInstall, registry } = require('playwright-core/lib/server');
await installBrowsersForNpmInstall(["firefox", "chromium"]); await installBrowsersForNpmInstall(["firefox", "chromium"]);
process.env.FIREFOX_BIN = registry.findExecutable("firefox").executablePath(); process.env.FIREFOX_BIN = registry.findExecutable("firefox").executablePath();
process.env.CHROME_BIN = registry.findExecutable("chromium").executablePath(); process.env.CHROME_BIN = registry.findExecutable("chromium").executablePath();
......
...@@ -26,6 +26,5 @@ ...@@ -26,6 +26,5 @@
"devDependencies": { "devDependencies": {
"lerna": "^4.0.0" "lerna": "^4.0.0"
}, },
"dependencies": { "dependencies": {}
}
} }
...@@ -6938,9 +6938,9 @@ pkg-dir@^4.1.0, pkg-dir@^4.2.0: ...@@ -6938,9 +6938,9 @@ pkg-dir@^4.1.0, pkg-dir@^4.2.0:
find-up "^4.0.0" find-up "^4.0.0"
playwright-core@^1.20.2: playwright-core@^1.20.2:
version "1.20.2" version "1.21.0"
resolved "https://registry.yarnpkg.com/playwright-core/-/playwright-core-1.20.2.tgz#02336afd9a631d59a666f11f3492550201c6c31b" resolved "https://registry.yarnpkg.com/playwright-core/-/playwright-core-1.21.0.tgz#1b68e87f4fd2fc5653def1e61ccdef6845c604a6"
integrity sha512-iV6+HftSPalynkq0CYJala1vaTOq7+gU9BRfKCdM9bAxNq/lFLrwbluug2Wt5OoUwbMABcnTThIEm3/qUhCdJQ== integrity sha512-yDGVs9qaaW6WiefgR7wH1CGt9D6D/X4U3jNpIzH0FjjrrWLCOYQo78Tu3SkW8X+/kWlBpj49iWf3QNSxhYc12Q==
dependencies: dependencies:
colors "1.4.0" colors "1.4.0"
commander "8.3.0" commander "8.3.0"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment