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')

posted on 2022-03-20 18:06  zhx-  阅读(927)  评论(0编辑  收藏  举报