-
Notifications
You must be signed in to change notification settings - Fork 4
Open
Description
In the Webrowser.py by default, the parameter chromeDriverPath=None, and then in the package Webcrawler.py, by default we use chrome, but no path specification possibility of chrome is in the API of Class Crawler. So still chromeDriverPath=None. And in the function initSeleniumDriver(self, retry=True),
if self.chromeDriverPath is not None:
params["executable_path"] = self.chromeDriverPath
self.driver = webdriver.Chrome(**params)With chromeDriverPath=None, we will never get params["executable_path"] = self.chromeDriverPath, so we will always get errror while using chrome with Class Crawler
selenium.common.exceptions.WebDriverException: Message: 'chromedriver' executable needs to be in PATH. Please see https://sites.google.com/a/chromium.org/chromedriver/homeMetadata
Metadata
Assignees
Labels
No labels