“Unable to move the cache” error in selenium webdriver

前端 未结 4 1516
星月不相逢
星月不相逢 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:06

    This problem occurs due to the chormedriver api is not integrated with your project.

    JUST DO THESE STEPS:

    1. Configure your chormedriver api in your build path ( download from here http://chromedriver.storage.googleapis.com/index.html)

    2.Go to the project right click ->>> go to build path ---> conf build path --> libraries --> add jar (add chromedriver jar file)

    1. now add this code before the chormdriver object call. System.setProperty("webdriver.chrome.driver", "path for your chormedriver api ");

提交回复
热议问题