{"id":25002097,"url":"https://github.com/stasvinokur/selenium_driver_updater","last_synced_at":"2025-08-18T01:37:20.723Z","repository":{"id":57465367,"uuid":"359206923","full_name":"stasvinokur/selenium_driver_updater","owner":"stasvinokur","description":"Download or update your Selenium driver binaries and their browsers automatically with this package","archived":false,"fork":false,"pushed_at":"2025-02-04T08:35:48.000Z","size":368331,"stargazers_count":11,"open_issues_count":0,"forks_count":2,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-07-29T19:46:30.129Z","etag":null,"topics":["chrome","chrome-browser","chromedriver","chromedriver-binary","downloader","edgedriver","geckodriver","geckodriver-binary","linux","macos","operadriver","python","python-library","python3","selenium","selenium-driver-updater","selenium-python","selenium-webdriver","windows"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/stasvinokur.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-04-18T17:13:41.000Z","updated_at":"2025-02-04T08:35:15.000Z","dependencies_parsed_at":"2025-02-04T21:31:11.179Z","dependency_job_id":null,"html_url":"https://github.com/stasvinokur/selenium_driver_updater","commit_stats":{"total_commits":149,"total_committers":2,"mean_commits":74.5,"dds":0.08724832214765099,"last_synced_commit":"9afab4aac47781f1aaa393b306cf9a20b03ed097"},"previous_names":["stasvinokur/selenium_driver_updater","svinokur/selenium_driver_updater"],"tags_count":116,"template":false,"template_full_name":null,"purl":"pkg:github/stasvinokur/selenium_driver_updater","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stasvinokur%2Fselenium_driver_updater","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stasvinokur%2Fselenium_driver_updater/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stasvinokur%2Fselenium_driver_updater/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stasvinokur%2Fselenium_driver_updater/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/stasvinokur","download_url":"https://codeload.github.com/stasvinokur/selenium_driver_updater/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stasvinokur%2Fselenium_driver_updater/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":270932579,"owners_count":24670241,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-08-17T02:00:09.016Z","response_time":129,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["chrome","chrome-browser","chromedriver","chromedriver-binary","downloader","edgedriver","geckodriver","geckodriver-binary","linux","macos","operadriver","python","python-library","python3","selenium","selenium-driver-updater","selenium-python","selenium-webdriver","windows"],"created_at":"2025-02-04T21:23:49.748Z","updated_at":"2025-08-18T01:37:20.695Z","avatar_url":"https://github.com/stasvinokur.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# selenium_driver_updater\n\n[![PyPI version](https://badge.fury.io/py/selenium-driver-updater.svg)](https://badge.fury.io/py/selenium-driver-updater)\n[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)\n[![Downloads](https://static.pepy.tech/badge/selenium-driver-updater)](https://pepy.tech/project/selenium-driver-updater)\n[![Downloads](https://static.pepy.tech/badge/selenium-driver-updater/month)](https://pepy.tech/project/selenium-driver-updater)\n[![Downloads](https://static.pepy.tech/badge/selenium-driver-updater/week)](https://pepy.tech/project/selenium-driver-updater)\n\n[![Build](https://github.com/stasvinokur/selenium_driver_updater/actions/workflows/build.yml/badge.svg)](https://github.com/stasvinokur/selenium_driver_updater/actions/workflows/build.yml)\n\nIt is a fast and convenience package that can automatically download or update Selenium webdriver binaries and their browsers for different OS.\n\n## Installation\n\nUse the package manager [pip](https://pip.pypa.io/en/stable/) to install selenium_driver_updater.\n\n```\npip install selenium-driver-updater\n```\n\n## Usage in code\nThis example shows how you can use this library to download chromedriver binary and use it immediately. The chromedriver will be downloaded to base directory.\n```python\nfrom selenium_driver_updater import DriverUpdater\nfrom selenium import webdriver\n\nfilename = DriverUpdater.install(DriverUpdater.chromedriver)\n\ndriver = webdriver.Chrome(filename)\ndriver.get('https://google.com')\n\n```\n\nOr you can specify a path where you want to download a chromedriver to\n```python\nfrom selenium_driver_updater import DriverUpdater\nfrom selenium import webdriver\nimport os\n\nbase_dir = os.path.dirname(os.path.abspath(__file__))\n\nfilename = DriverUpdater.install(path=base_dir, driver_name=DriverUpdater.chromedriver)\n\ndriver = webdriver.Chrome(filename)\ndriver.get('https://google.com')\n\n```\n\nYou can also specify the version type (beta, dev, canary) you want to download.\n```python\nfrom selenium_driver_updater import DriverUpdater\nfrom selenium import webdriver\n\nfilename = DriverUpdater.install(driver_name=DriverUpdater.chromedriver, version=DriverUpdater.chromedriver_beta)\n\ndriver = webdriver.Chrome(filename)\ndriver.get('https://google.com')\n\n```\n\nYou can also use library to download and update chromedriver and geckodriver binaries at the same time.\n```python\nfrom selenium_driver_updater import DriverUpdater\nfrom selenium import webdriver\nimport os\n\nbase_dir = os.path.dirname(os.path.abspath(__file__))\nlist_drivers = [DriverUpdater.chromedriver, DriverUpdater.geckodriver]\n\nfilenames = DriverUpdater.install(path=base_dir, driver_name=list_drivers)\nprint(filenames)\n\ndriver_chrome = webdriver.Chrome(filename[0])\ndriver_chrome.get('https://google.com')\n\ndriver_firefox = webdriver.Firefox(filename[1])\ndriver_firefox.get('https://google.com')\n\n```\n\n## Usage with help of command line\nUse \n```bash\nselenium-driver-updater --help\n```\nTo see all available arguments and commands\n\nOr you can use alias\n```bash\nselupd --help\n```\nfor easier use\n\nThis example shows how you can use this console updater to download chromedriver to current dir \n```bash\nselenium-driver-updater -d chromedriver\n```\n\nOr you can use console updater to download chromedriver and geckodriver at the same time\n```bash\nselenium-driver-updater -d chromedriver,geckodriver\n```\n\n# Supported Selenium Binaries\n\n### ``Chromedriver`` \n#### ``DriverUpdater.chromedriver``\n\nFor installing or updating [chromedriver binary](https://developer.chrome.com/docs/chromedriver/)\n\nAll supported OS for this driver are:\n\n- Windows\n- Linux\n- MacOS\n- MacOS on M-based processors\n\n### ``Geckodriver`` \n#### ``DriverUpdater.geckodriver``\n\nFor installing or updating [geckodriver binary](https://github.com/mozilla/geckodriver/releases)\n\nAll supported OS's for this driver are:\n\n- Windows\n- Windows ARM\n- Linux\n- Linux ARM\n- MacOS\n- MacOS on M-based processors\n\n### ``Operadriver`` \n#### ``DriverUpdater.operadriver``\n\nFor installing or updating [operadriver binary](https://github.com/operasoftware/operachromiumdriver)\n\nAll supported OS's for this driver are:\n\n- Windows\n- Linux\n- MacOS\n\n### ``Edgedriver`` \n#### ``DriverUpdater.edgedriver``\n\nFor installing or updating [edgedriver binary](https://developer.microsoft.com/ru-ru/microsoft-edge/tools/webdriver/)\n\nAll supported OS's for this driver are:\n\n- Windows\n- Windows ARM\n- MacOS\n- MacOS on M-based processors\n- Linux\n\n### ``SafariDriver`` \n#### ``DriverUpdater.safaridriver``\n\nFor installing or updating [safaridriver binary](https://developer.apple.com/documentation/webkit/testing_with_webdriver_in_safari)\n\nAll supported OS's for this driver are:\n\n- MacOS\n\n# Supported browsers for checking version\n\n### ``Chrome Browser``\n\nFor checking version [chrome browser](https://www.google.com/chrome/)\n\n### ``Firefox Browser``\n\nFor checking version [firefox browser](https://www.mozilla.org/en-US/firefox/)\n\n### ``Opera Browser``\n\nFor checking version [opera browser](https://www.opera.com)\n\n### ``Edge Browser``\n\nFor checking version [edge browser](https://www.microsoft.com/en-us/edge)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstasvinokur%2Fselenium_driver_updater","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fstasvinokur%2Fselenium_driver_updater","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstasvinokur%2Fselenium_driver_updater/lists"}