|
@@ -52,7 +52,7 @@ def init_webdriver():
|
|
|
options = webdriver.ChromeOptions()
|
|
|
options.add_argument('--ignore-certificate-errors')
|
|
|
options.add_argument("--no-sandbox")
|
|
|
-# options.add_argument("--headless")h
|
|
|
+ options.add_argument("--headless")
|
|
|
options.add_argument("--disable-gpu")
|
|
|
options.add_argument("--disable-dev-shm-usage")
|
|
|
driver = webdriver.Chrome(
|