【python】【selenium】selenium实现登录后cookie的获取(内外网皆成功)
1. selenium的安装和chromedriver的安装
selenium的安装:
pip install selenium
chromedriver的安装:
有两个下载地址:
1、http://chromedriver.storage.googleapis.com/index.html
2、https://npm.taobao.org/mirrors/chromedriver/
注意:chromedriver的版本一定要与Chrome的版本一致
2. 配置
2.1 解压chromedriver
原创
2020-05-20 16:58:02 ·
1518 阅读 ·
0 评论