如何用Python3 Selenium自动化实现QQ群接龙功能?
- 内容介绍
- 文章标签
- 相关推荐
本文共计761个文字,预计阅读时间需要4分钟。
一、环境配置安装selenium模块的Python3环境,并配置浏览器对应的driver。
二、安装selenium若未安装selenium,可在控制台执行以下命令:pip3 install selenium
三、下载浏览器driver以下为不同浏览器的driver下载地址:- Chrome:[https://sites.google.com/a/chromium.org/chromedriver/downloads](https://sites.google.com/a/chromium.org/chromedriver/downloads)- Firefox:[https://github.com/mozilla/geckodriver/releases](https://github.com/mozilla/geckodriver/releases)
四、配置环境变量将下载的driver放置在系统环境变量Path中,以便在命令行中直接调用。
本文共计761个文字,预计阅读时间需要4分钟。
一、环境配置安装selenium模块的Python3环境,并配置浏览器对应的driver。
二、安装selenium若未安装selenium,可在控制台执行以下命令:pip3 install selenium
三、下载浏览器driver以下为不同浏览器的driver下载地址:- Chrome:[https://sites.google.com/a/chromium.org/chromedriver/downloads](https://sites.google.com/a/chromium.org/chromedriver/downloads)- Firefox:[https://github.com/mozilla/geckodriver/releases](https://github.com/mozilla/geckodriver/releases)
四、配置环境变量将下载的driver放置在系统环境变量Path中,以便在命令行中直接调用。

