mirror of
https://github.com/Second-Hand-Friends/kleinanzeigen-bot.git
synced 2026-03-13 02:51:49 +01:00
Ensure configured binary location is correct
This commit is contained in:
@@ -108,6 +108,7 @@ class SeleniumMixin:
|
|||||||
else:
|
else:
|
||||||
# determine browser major version
|
# determine browser major version
|
||||||
if self.browser_config.binary_location:
|
if self.browser_config.binary_location:
|
||||||
|
ensure(os.path.exists(self.browser_config.binary_location), f"Specified browser binary [{self.browser_config.binary_location}] does not exist.")
|
||||||
chrome_type, chrome_version = self.get_browser_version(self.browser_config.binary_location)
|
chrome_type, chrome_version = self.get_browser_version(self.browser_config.binary_location)
|
||||||
else:
|
else:
|
||||||
browser_info = self.find_compatible_browser()
|
browser_info = self.find_compatible_browser()
|
||||||
|
|||||||
Reference in New Issue
Block a user