复制代码

为懒人提供无限可能,生命不息,code不止

人类感性的情绪,让我们知难行难
我思故我在
日拱一卒,功不唐捐
  • 首页
  • 前端
  • 后台
  • 数据库
  • 运维
  • 资源下载
  • 实用工具
  • 接口文档工具
  • 登录
  • 注册

系统测试

【原创】selenium webdriver 提示 Unable to move the cache: 5

作者: whooyun发表于: 2017-05-05 16:21

最近在学习selenium-java,记录下学习过程中碰到的错误。
发现设置了chrome的驱动后,控制台还是提示:
[1056:3504:0504/143320.465:ERROR:cache_util_win.cc(20)] Unable to move the cache: 5
[1056:3504:0504/143320.465:ERROR:cache_util.cc(134)] Unable to move cache folder C:\Users\..00\AppData\Local\Google\Chrome\User Data\ShaderCache\GPUCache to C:\Users\..00\AppData\Local\Google\Chrome\User Data\ShaderCache\old_GPUCache_000
[1056:3504:0504/143320.465:ERROR:disk_cache.cc(132)] Unable to create cache
[1056:3504:0504/143320.465:ERROR:shader_disk_cache.cc(593)] Shader Cache Creation failed: -2
这个是因为存在chrome浏览器窗口没有关闭,所以提示这个错误,关闭掉所有的chrome窗口就好了。