Skip to content

ChromeDriver 一键安装、更新工具 - One-click installation and update tool for ChromeDriver

License

Notifications You must be signed in to change notification settings

x1ao4/chromedriver-manager

Repository files navigation

ChromeDriver Manager

Switch to English

ChromeDriver Manager(下文简称 CDM)是一个自动下载和安装 ChromeDriver 的工具,它会从 ChromeDriver 的官方网站下载最新版本的 ChromeDriver,并将其移动到 /usr/local/bin 目录中,从而完成 ChromeDriver 的安装和更新工作。

运行条件

  • 安装了 Python 3.0 或更高版本。
  • 使用命令 pip3 install -r requirements.txt 安装了必要的第三方库。
  • 安装了 Google Chrome 浏览器。

使用方法

  1. 通过 Releases 下载最新版本的压缩包并解压到本地目录中。
  2. 打开终端或命令行工具,使用 cd 命令切换到脚本所在的目录。
  3. 使用命令 python3 chromedriver-manager.py 启动 CDM。
  4. CDM 将自动下载最新版本的 ChromeDriver 进行安装,并在控制台显示版本信息。

快速启动

通过双击 chromedriver-manager.command 脚本可以快速启动 CDM。

注意事项

  • 请确保你的网络可以正常访问 ChromeDriver 的官方网站。
  • 请确保你拥有足够的权限向 /usr/local/bin 写入文件。
  • CDM 仅适用于 macOS。

赞赏

如果你觉得这个项目对你有用,可以请我喝杯咖啡。如果你喜欢这个项目,可以给我一个⭐️。谢谢你的支持!

赞赏

回到顶部


ChromeDriver Manager

切换至中文

ChromeDriver Manager (hereinafter referred to as CDM) is a tool for automatically downloading and installing ChromeDriver. It fetches the latest version of ChromeDriver from the official website and moves it to the /usr/local/bin directory, completing the installation and update process of ChromeDriver.

Requirements

  • Python 3.0 or higher installed.
  • Necessary third-party libraries installed using the command pip3 install -r requirements.txt.
  • Google Chrome browser installed.

Usage

  1. Download the latest release package from Releases and extract it to a local directory.
  2. Open a terminal or command line tool, use the cd command to switch to the directory where the script is located.
  3. Start CDM by running the command python3 chromedriver-manager.py.
  4. CDM will automatically download and install the latest version of ChromeDriver, displaying version information in the console.

Quick Start

Double-click the chromedriver-manager.command script to quickly launch CDM.

Notes

  • Ensure your network can access the ChromeDriver official website.
  • Ensure you have sufficient permissions to write to the /usr/local/bin directory.
  • CDM is only applicable to macOS.

Support

If you found this helpful, consider buying me a coffee or giving it a ⭐️. Thanks for your support!

Support

Back to Top