mirror of
https://github.com/internetarchive/brozzler.git
synced 2025-04-20 23:56:34 -04:00
test extra headers
This commit is contained in:
parent
6a23ab9f7a
commit
49e38f608a
@ -154,6 +154,7 @@ class Browser:
|
||||
"exception writing cookie file at %s",
|
||||
cookie_location, exc_info=True)
|
||||
|
||||
'''
|
||||
local_state = {'browser':{'enabled_labs_experiments':['enable-brotli@2']}}
|
||||
local_state_location = os.path.join(data_dir, 'Local State')
|
||||
try:
|
||||
@ -163,6 +164,7 @@ class Browser:
|
||||
self.logger.error(
|
||||
"exception writing local state file at %s",
|
||||
local_state_location, exc_info=True)
|
||||
'''
|
||||
|
||||
self._chrome_instance = Chrome(
|
||||
port=self.chrome_port, executable=self.chrome_exe,
|
||||
@ -613,8 +615,7 @@ class Chrome:
|
||||
"--homepage=about:blank", "--disable-direct-npapi-requests",
|
||||
"--disable-web-security", "--disable-notifications",
|
||||
"--disable-extensions",
|
||||
"--disable-save-password-bubble",
|
||||
"--enable-sdch=0"]
|
||||
"--disable-save-password-bubble"]
|
||||
if self.ignore_cert_errors:
|
||||
chrome_args.append("--ignore-certificate-errors")
|
||||
if self.proxy:
|
||||
|
Loading…
x
Reference in New Issue
Block a user