“Unable to move the cache” error in selenium webdriver

前端 未结 4 1523
星月不相逢
星月不相逢 2021-01-01 18:54

While running the selenium webdriver script for chrome browser, I am getting the below error:

[2144:7568:0519/130434:ERROR:cache_util_win.cc(20)] Unable to m         


        
4条回答
  •  离开以前
    2021-01-01 19:09

    I assume you're starting your chrome driver attaching your default profile.

    It's not the problem of your chrome driver, It's because you are running another chrome instance while you are starting your selenium webdriver, so some of the files in the profile is locked so that your selenium webdriver can not move it.

    I encountered the same problem and shut down all chrome instances before starting my selenium webdriver solved the problem.

提交回复
热议问题