{"id":23052,"library":"chromedriver-binary","title":"chromedriver-binary","description":"Installs the chromedriver binary for Selenium/Playwright automation. Version 149.0.7818.0.0 corresponds to ChromeDriver matching Chrome 149. Released irregularly alongside ChromeDriver updates.","status":"active","version":"149.0.7818.0.0","language":"python","source_language":"en","source_url":"https://github.com/danielkaiser/python-chromedriver-binary","tags":["selenium","chromedriver","webdriver","automation","testing"],"install":[{"cmd":"pip install chromedriver-binary","lang":"bash","label":"PyPI"}],"dependencies":[],"imports":[{"note":"Function renamed in v80+; old name removed.","wrong":"from chromedriver_binary import chromedriver_path","symbol":"chromedriver_filename","correct":"from chromedriver_binary import chromedriver_filename"},{"note":"Side-effect import adds chromedriver to PATH.","symbol":"add_chromedriver_to_path","correct":"import chromedriver_binary"}],"quickstart":{"code":"import chromedriver_binary\nfrom selenium import webdriver\ndriver = webdriver.Chrome()\ndriver.get('https://example.com')\ndriver.quit()","lang":"python","description":"Import chromedriver_binary to automatically add chromedriver to PATH, then instantiate Selenium Chrome driver."},"warnings":[{"fix":"Replace `chromedriver_path` with `chromedriver_filename` or rely on the side-effect import.","message":"chromedriver_binary.chromedriver_path was removed in version 80+. Use chromedriver_binary.chromedriver_filename or just import the module.","severity":"breaking","affected_versions":">=80.0.0"},{"fix":"Use platform-specific Docker base images or install chromedriver via system package manager in CI.","message":"The package auto-downloads a chromedriver binary on install, but only for the host platform. Cross-platform builds (e.g., Docker multi-arch) may fail if the wrong binary is installed.","severity":"gotcha","affected_versions":"all"},{"fix":"Use `import chromedriver_binary` or `from chromedriver_binary import chromedriver_filename`.","message":"Legacy import `from chromedriver_binary import *` is discouraged; instead import the module itself or use `chromedriver_filename`.","severity":"deprecated","affected_versions":"<80.0.0"}],"env_vars":null,"search_vec":"'149':18 '149.0.7818.0.0':12 'alongsid':21 'autom':10,27 'binari':3,7 'chrome':17 'chromedriv':2,6,15,22,25 'chromedriver-binari':1 'correspond':13 'instal':4 'irregular':20 'match':16 'releas':19 'selenium':24 'selenium/playwright':9 'test':28 'updat':23 'version':11 'webdriv':26","created_at":"2026-05-01T06:02:11.030031+00:00","updated_at":"2026-05-01T06:02:11.030031+00:00","problems":[{"fix":"Run `pip install chromedriver-binary` — note the hyphen in the package name.","cause":"Package not installed or installed with wrong name (e.g., `chromedriver-binary` vs `chromedriver_binary`).","error":"ModuleNotFoundError: No module named 'chromedriver_binary'"},{"fix":"Replace with `chromedriver_filename` or simply `import chromedriver_binary` without referencing the attribute.","cause":"Using deprecated attribute removed in v80+.","error":"AttributeError: module 'chromedriver_binary' has no attribute 'chromedriver_path'"},{"fix":"Ensure `import chromedriver_binary` is executed before any WebDriver instantiation. It performs PATH modification on import.","cause":"chromedriver_binary was imported too late or not at all; PATH not updated.","error":"selenium.common.exceptions.WebDriverException: Message: 'chromedriver' executable needs to be in PATH"}],"ecosystem":"pypi","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":"151.0.7897.3.0","cli_name":"chromedriver","cli_version":"sh: 1: chromedriver: not found","type":"library","homepage":null,"github":"https://github.com/danielkaiser/python-chromedriver-binary","docs":null,"changelog":null,"pypi":"https://pypi.org/project/chromedriver-binary/","npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["testing","http-networking","web-framework"],"base_url":null,"auth_type":null,"provenance":{"verified_status":"passing","verified_at":"2026-06-29","last_verified":"2026-06-29","next_check":"2026-07-29","install_tag":null}}