使用最新的Chromedriver可执行文件运行Selenium-Webdriver 的说明性示例时发生错误.Chrome已正确启动,但控制台中出现错误.
我使用的是Windows 10.
run>>regedit>>Chrome.
Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Google\Chrome ::
我只能得到这条道路.
HKLM\SOFTWARE\Policies\Google\Chrome:: 这条路是不可用的.
2212:9152:0703/185315.194:ERROR:install_util.cc(589)] Unable to create registry key HKLM\SOFTWARE\Policies\Google\Chrome for reading result=2 [2212:196:0703/185315.598:ERROR:cache_util_win.cc(20)] Unable to move the cache: 5 [2212:196:0703/185315.598:ERROR:cache_util.cc(134)] Unable to move cache folder C:\Users\Anchal\AppData\Local\Google\Chrome\User Data\ShaderCache\GPUCache to C:\Users\Anchal\AppData\Local\Google\Chrome\User Data\ShaderCache\old_GPUCache_000 [2212:196:0703/185315.598:ERROR:disk_cache.cc(169)] Unable to create cache
Run Code Online (Sandbox Code Playgroud)