|
@@ -70,7 +70,7 @@ def getDriver():
|
|
|
options = webdriver.ChromeOptions()
|
|
|
#print(ua)
|
|
|
#options.add_argument("user-agent="+ua)
|
|
|
- #options.add_argument('--headless')
|
|
|
+ options.add_argument('--headless')
|
|
|
options.add_argument('--incognito')
|
|
|
options.add_argument('--no-sandbox')
|
|
|
driver=webdriver.Chrome(options=options)
|