We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
/googlemaps-scraper/googlemaps.py", line 314, in __get_driver input_driver = webdriver.Chrome(executable_path=ChromeDriverManager(log_level=0).install(), options=options) TypeError: init() got an unexpected keyword argument 'log_level'
The text was updated successfully, but these errors were encountered:
Did you resolve this issue?
Sorry, something went wrong.
Hi @MitunTalapatra , I cannot reproduce the error: are you sure to have the correct library versions installed?
replace __get_driver function in googlemaps.py , with this:
def __get_driver(self, debug=False): options = Options() if not self.debug: options.add_argument("--headless") else: options.add_argument("--window-size=1366,768") options.add_argument("--disable-notifications") options.add_argument("--lang=en-GB") options.binary_location = "pathtochrome/Chrome/Application/chrome.exe" input_driver = webdriver.Chrome(executable_path="pathtochromedrive/chromedriver.exe", options=options) # click on google agree button so we can continue (not needed anymore) # EC.element_to_be_clickable((By.XPATH, '//span[contains(text(), "I agree")]'))) input_driver.get(GM_WEBPAGE) return input_driver
gaspa93
No branches or pull requests
/googlemaps-scraper/googlemaps.py", line 314, in __get_driver
input_driver = webdriver.Chrome(executable_path=ChromeDriverManager(log_level=0).install(), options=options)
TypeError: init() got an unexpected keyword argument 'log_level'
The text was updated successfully, but these errors were encountered: