Skip to content

Unable to --disable-csp #1588

Closed
Closed
@KolyStudio

Description

@KolyStudio

Hello, when I try to use self.activate_jquery(), I get the error for blocking csp, even if I switch to test --disable-csp

Exception: Unable to load jQuery on "https://web.snapchat.com/" due to a violation of the website's Content Security Policy directive. To override this policy, add "--disable-csp" on the command-line when running your tests.

I tried pytest xx.py --disable-csp

Metadata

Metadata

Assignees

Labels

SeleniumBase 4SeleniumBase 4UC Mode / CDP ModeUndetected Chromedriver Mode / CDP ModebugUh oh... Something needs to be fixed

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions