mirror of
https://github.com/internetarchive/brozzler.git
synced 2025-08-09 23:13:07 -04:00
initial update chrome.py
This commit is contained in:
parent
a97bd3826a
commit
cde49e2a10
1 changed files with 10 additions and 5 deletions
|
@ -74,6 +74,11 @@ class Chrome:
|
||||||
ignore_cert_errors: configure chrome to accept all certs (default
|
ignore_cert_errors: configure chrome to accept all certs (default
|
||||||
False)
|
False)
|
||||||
'''
|
'''
|
||||||
|
if chrome_exe == 'browserless':
|
||||||
|
# init browserless here maybe
|
||||||
|
pass
|
||||||
|
else:
|
||||||
|
# use a local browser
|
||||||
self.port = port
|
self.port = port
|
||||||
self.chrome_exe = chrome_exe
|
self.chrome_exe = chrome_exe
|
||||||
self.ignore_cert_errors = ignore_cert_errors
|
self.ignore_cert_errors = ignore_cert_errors
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue