You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
However, the Chrome will be launched every time I run the spider.
BTW, with only Selenium, headless mode was working correctly:
options = Options()
options.add_argument("--headless")
driver = webdriver.Chrome(service = Service(ChromeDriverManager().install()), options = options)
Does anyone face the same problem? Need some help.
The text was updated successfully, but these errors were encountered:
I followed the instruction to edit settings.py as :
SELENIUM_DRIVER_NAME = 'chrome'
SELENIUM_DRIVER_EXECUTABLE_PATH = '/Users/****/chromedriver'
SELENIUM_DRIVER_ARGUMENTS=['--headless']
However, the Chrome will be launched every time I run the spider.
BTW, with only Selenium, headless mode was working correctly:
options = Options()
options.add_argument("--headless")
driver = webdriver.Chrome(service = Service(ChromeDriverManager().install()), options = options)
Does anyone face the same problem? Need some help.
The text was updated successfully, but these errors were encountered: