Pyinstaller generated app does not link to the specified binary (chromedriver) Pyinstaller generated app does not link to the specified binary (chromedriver) selenium selenium

Pyinstaller generated app does not link to the specified binary (chromedriver)


Yes, that was Windows path. In Unix, use ./selenium/webdriver instead. It tells where to place the chromedriver binary in the bundle, so after pyinstall, chromedriver will be in /path/to/bundle/dist/selenium/webdriver.
Then in the code you should use something like this to reach it (it's a remote example):

dir = os.path.dirname(__file__)chrome_path = os.path.join(dir, selenium','webdriver','chromedriver.exe')service = service.Service(chrome_path) ...