Use Chromium instead of Chrome for Playwright Electron (#5001)

* Use Chromium instead of Chrome for Playwright Electron

* Remove channel
This commit is contained in:
Pierre Jacquier
2025-01-10 18:37:26 +00:00
committed by GitHub
parent 96174f3cf6
commit 2b0ba37ed0

View File

@ -32,10 +32,9 @@ export default defineConfig({
}, },
projects: [ projects: [
{ {
name: 'Google Chrome', name: 'chromium',
use: { use: {
...devices['Desktop Chrome'], ...devices['Desktop Chrome'],
channel: 'chrome',
contextOptions: { contextOptions: {
/* Chromium is the only one with these permission types */ /* Chromium is the only one with these permission types */
permissions: ['clipboard-write', 'clipboard-read'], permissions: ['clipboard-write', 'clipboard-read'],