Closed ralghamdi closed 2 years ago
me 2
Same
Same
Change line 214 and 215 from lib/utils.py
driverpath_with_version = chromedrivermanager_silent.driver_cache.find_driver(driver.browser_version, driver.get_name(), driver.get_os_type(), driver.get_version())
driverpath_without_version = chromedrivermanager_silent.driver_cache.find_driver("", driver.get_name(), driver.get_os_type(), "")
to
driverpath_with_version = chromedrivermanager_silent.driver_cache.find_driver(driver)
driverpath_without_version = chromedrivermanager_silent.driver_cache.find_driver(driver)
and make sure you have chrome browser compatible with the driver.
Fixed in 1e4098aa215761feb08a6132eadb074f4cd823d5 :) you can git pull.
I was trying to run GHunt from a kali machine with this command "python3 check_and_gen.py" and it shows the below error:
Traceback (most recent call last): File "/home/user/ghunt/check_and_gen.py", line 220, in
driverpath = get_driverpath()
File "/home/user/ghunt/lib/utils.py", line 214, in get_driverpath
driverpath_with_version = chromedrivermanager_silent.driver_cache.find_driver(driver.browser_version, driver.get_name(), driver.get_os_type(), driver.get_version())
TypeError: find_driver() takes 2 positional arguments but 5 were given