安装selenium不少人使用pip命令来安装selenium,辛辛苦苦安装完之后,还是不能使用。所以我们可以是直接使用编译器,pycharm直接安装selenium扩展包。
file中点击settings
在Settings中点击Project Interpreter,点击加号就可以安装各种需要的扩展包
直接搜索selenium,选择selenium,点击Install Package,等selenium安装好就可以使用selenium了。
在安装谷歌驱动,查看自己电脑上的谷歌版本
访问http://chromedriver.storage.googleapis.com/index.html,下载对应的谷歌驱动.
下载完成之后,把谷歌驱动放到项目的文件夹中
打开浏览器,访问百度
这就是selenium安装使用了。
接口测试工具可以使用国产的接口测试工具:https://console.apipost.cn/register?utm_source=10009
Apipost官方链接:https://console.apipost.cn/register?utm_source=10009
本文系转载,前往查看
如有侵权,请联系 cloudcommunity@tencent.com 删除。
本文系转载,前往查看
如有侵权,请联系 cloudcommunity@tencent.com 删除。
扫码关注腾讯云开发者
领取腾讯云代金券
Copyright © 2013 - 2025 Tencent Cloud. All Rights Reserved. 腾讯云 版权所有
深圳市腾讯计算机系统有限公司 ICP备案/许可证号:粤B2-20090059 深公网安备号 44030502008569
腾讯云计算(北京)有限责任公司 京ICP证150476号 | 京ICP备11018762号 | 京公网安备号11010802020287
Copyright © 2013 - 2025 Tencent Cloud.
All Rights Reserved. 腾讯云 版权所有