Skip to content

Commit e7234fc

Browse files
committed
Allow custom javascript on Firefox
1 parent d8d3c80 commit e7234fc

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

seleniumbase/core/browser_launcher.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,7 @@ def _create_firefox_profile(downloads_path, proxy_string):
5555
profile.set_preference("network.proxy.ssl_port", int(proxy_port))
5656
profile.set_preference(
5757
"security.mixed_content.block_active_content", False)
58+
profile.set_preference("security.csp.enable", False)
5859
profile.set_preference(
5960
"browser.download.manager.showAlertOnComplete", False)
6061
profile.set_preference("browser.download.panel.shown", False)

0 commit comments

Comments
 (0)