Skip to content

Commit

Permalink
fix(playwright): bypass csp rules
Browse files Browse the repository at this point in the history
  • Loading branch information
idiotWu committed May 22, 2024
1 parent 8864151 commit 2a63df7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions npi/core/playwright_context.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ async def start(self):

self.context = await self.browser.new_context(
locale='en-US',
bypass_csp=True,
**self.playwright.devices['Desktop Edge'],
)
# self.context.set_default_timeout(3000)
Expand Down

0 comments on commit 2a63df7

Please sign in to comment.