|
@@ -23,6 +23,7 @@ def restart_browser():
|
|
|
#options.add_argument("user-agent=%s" % rua())
|
|
|
options.add_argument('--headless')
|
|
|
options.add_argument('--incognito')
|
|
|
+ options.add_argument('--no-sandbox')
|
|
|
driver=webdriver.Chrome(options=options)
|
|
|
driver.set_window_size(950, 20000)
|
|
|
return driver
|