Skip to content

Commit

Permalink
Use Chromium instead of Chrome for Playwright Electron (#5001)
Browse files Browse the repository at this point in the history
* Use Chromium instead of Chrome for Playwright Electron

* Remove channel
  • Loading branch information
pierremtb authored Jan 10, 2025
1 parent 96174f3 commit 2b0ba37
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions playwright.electron.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,10 +32,9 @@ export default defineConfig({
},
projects: [
{
name: 'Google Chrome',
name: 'chromium',
use: {
...devices['Desktop Chrome'],
channel: 'chrome',
contextOptions: {
/* Chromium is the only one with these permission types */
permissions: ['clipboard-write', 'clipboard-read'],
Expand Down

0 comments on commit 2b0ba37

Please sign in to comment.