test extra headers

This commit is contained in:
Barbara Miller 2016-09-30 12:34:05 -07:00
parent 6a23ab9f7a
commit 49e38f608a

View File

@ -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: