Skip to content

Commit

Permalink
fix: removed security disable
Browse files Browse the repository at this point in the history
  • Loading branch information
felixindrawan committed Aug 28, 2024
1 parent f87e88d commit 3c39e03
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions playwright.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38,12 +38,7 @@ export default defineConfig({
use: {
...devices["Desktop Chrome"],
launchOptions: {
args: [
"--disable-web-security",
"--enable-web-rtc",
"--use-fake-ui-for-media-stream",
"--use-fake-device-for-media-stream",
],
args: ["--enable-web-rtc", "--use-fake-ui-for-media-stream", "--use-fake-device-for-media-stream"],
},
contextOptions: {
/* Camera permission */
Expand All @@ -70,7 +65,7 @@ export default defineConfig({
use: {
...devices["Desktop Safari"],
launchOptions: {
args: ["--disable-web-security", "--enable-web-rtc"],
args: ["--enable-web-rtc"],
},
},
},
Expand Down

0 comments on commit 3c39e03

Please sign in to comment.