Patch for heroku
This commit is contained in:
@@ -16,10 +16,13 @@ class Signer:
|
||||
|
||||
def __init__(self):
|
||||
options = Options()
|
||||
path = getenv('GOOGLE_CHROME_BIN', '')
|
||||
path = getenv('GOOGLE_CHROME_SHIM', '')
|
||||
options._binary_location = path
|
||||
options.add_argument("start-maximized")
|
||||
options.add_argument("--headless")
|
||||
options.add_argument("--disable-gpu")
|
||||
options.add_argument("--no-sandbox")
|
||||
options.add_argument("--remote-debugging-port=9222")
|
||||
options.add_experimental_option("excludeSwitches", ["enable-automation"])
|
||||
options.add_experimental_option('useAutomationExtension', False)
|
||||
options.add_argument('--disable-blink-features=AutomationControlled')
|
||||
|
||||
Reference in New Issue
Block a user