"‘chromedriver’ executable needs to be in PATH" despite me setting the path to it explicitly

Hi guys,

i have a problem with chromedriver path

the path of chromedriver in my repo is /veles_website/env/chromedriver and my test file is:
def setUp(self):
self.selenium = webdriver.Chrome("/veles_website/env/chromedriver")

So I don’t know why I have this problem “selenium.common.exceptions.WebDriverException: Message: ‘chromedriver’ executable needs to be in PATH.”

This error means that the executable is not found.
Check if the path is correct and if the file is there (you are using an absolute path outside /home which is probably not what you want).

Can’t say anything else without seeing the build.

/Users/macbookair/Documents/GitHub/veleos_website/env/chromedriver

this is my path on my laptop we work when I launch my command on my terminal

Imprint