我们可以来写个脚本试一下
启动chrome访问百度并搜索Python
chrome驱动下载地址:http://chromedriver.storage.proxy.ustclug.org/index.html
发布者:全栈程序员-站长,转载请注明出处:https://javaforall.net/173838.html原文链接:https://javaforall.net
pycharm中导入selenium网上有不少用 pip 方式安装 selenium 的 其实 selenium 本质就是第三方库 我们可以采用 pycharm 自带方式来安装通过菜单栏 File gt gt Settings 进入配置界面 如下图所示 点击加号之后 在搜索界面搜索 selenium 点击安装安装成功
我们可以来写个脚本试一下
chrome驱动下载地址:http://chromedriver.storage.proxy.ustclug.org/index.html
发布者:全栈程序员-站长,转载请注明出处:https://javaforall.net/173838.html原文链接:https://javaforall.net