1、在chrome浏览器设置中-点击帮助--再点击Google chrome;
2、在路径中输入:chrome://version/ 回车即可;如下图:
3、python 脚本中使用代码:
# 读取本地缓存,实现一个有缓存的浏览器,这个指令执行前必须关闭所有本地的chrome浏览器
options.add_argument(r'--user-data-dir=C:\Users\zhx\AppData\Local\Google\Chrome\User Data')
1、在chrome浏览器设置中-点击帮助--再点击Google chrome;
2、在路径中输入:chrome://version/ 回车即可;如下图:
3、python 脚本中使用代码:
# 读取本地缓存,实现一个有缓存的浏览器,这个指令执行前必须关闭所有本地的chrome浏览器
options.add_argument(r'--user-data-dir=C:\Users\zhx\AppData\Local\Google\Chrome\User Data')
本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。