GHunt icon indicating copy to clipboard operation
GHunt copied to clipboard

This version of ChromeDriver only supports Chrome version 83

Open kukurikapu0102 opened this issue 4 years ago • 4 comments

[+] The cookies seems valid ! Traceback (most recent call last): File "/root/GHunt/check_and_gen.py", line 196, in driver = webdriver.Chrome( File "/usr/local/lib/python3.9/dist-packages/seleniumwire/webdriver.py", line 114, in init super().init(*args, **kwargs) File "/usr/lib/python3/dist-packages/selenium/webdriver/chrome/webdriver.py", line 95, in init RemoteWebDriver.init( File "/usr/lib/python3/dist-packages/selenium/webdriver/remote/webdriver.py", line 152, in init self.start_session(capabilities, browser_profile) File "/usr/lib/python3/dist-packages/selenium/webdriver/remote/webdriver.py", line 249, in start_session response = self.execute(Command.NEW_SESSION, parameters) File "/usr/lib/python3/dist-packages/selenium/webdriver/remote/webdriver.py", line 318, in execute self.error_handler.check_response(response) File "/usr/lib/python3/dist-packages/selenium/webdriver/remote/errorhandler.py", line 242, in check_response raise exception_class(message, screen, stacktrace) selenium.common.exceptions.SessionNotCreatedException: Message: session not created: This version of ChromeDriver only supports Chrome version 83

kukurikapu0102 avatar Apr 18 '21 05:04 kukurikapu0102

@kukurikapu0102 You probably have a separate installation of chromedriver installed. Type which chromedriver into terminal and see what your computer is using. If it tells you that it's in /home/$username/bin then you either put it there historically or you have homebrew installed or something else. If it's in /usr/bin or /usr/local/bin it's probably from apt so just do a sudo apt update && sudo apt upgrade and see if it works. If it's from snap, update it with snap. Else, just rename the binary from chromedriver to something else.

@mxrch you should probably just have your script download the chromedriver into docker/the cloned repo and use it regardless of whether it is installed or not. It's a pretty tiny file, after all, and people who have another chromedriver somewhere in their PATH will be sort of screwed because the detection mechanism doesn't look to see if the chromedriver version matches with the currently installed primary version of Chrome.

deltabravozulu avatar Apr 19 '21 06:04 deltabravozulu

Will try bro, Thanks alot!

ghost avatar Apr 19 '21 06:04 ghost

Sure thing!

deltabravozulu avatar Apr 19 '21 06:04 deltabravozulu

Nice

Sachin6752 avatar Apr 24 '21 05:04 Sachin6752