でエラーで私は上記のコード/以下の助けを借りて、Chromeブラウザの空のウィンドウを起動することができていますが、私が使用している場合、私はセレンChromeブラウザを立ち上げつつあるが、コンソール
[3676:2080:0621/180047:ERROR:cache_util_win.cc(20)] Unable to move the cache: 0
[3676:2080:0621/180047:ERROR:cache_util.cc(134)] Unable to move cache folder C:\Users\Dhillon's\AppData\Local\Google\Chrome\User Data\ShaderCache\GPUCache to C:\Users\Dhillon's\AppData\Local\Google\Chrome\User Data\ShaderCache\old_GPUCache_000
[3676:2080:0621/180047:ERROR:cache_creator.cc(129)] Unable to create cache
[3676:2080:0621/180047:ERROR:shader_disk_cache.cc(589)] Shader Cache Creation failed: -2
を取得していますいくつかのエラーが自分でありますdriver.get();この行で
package LearnStart;
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.chrome.ChromeDriver;
public class SeleniumStart {
public static void main(String[] args) throws InterruptedException {
// TODO Auto-generated method stub
System.setProperty("webdriver.chrome.driver",
"C:\\Program Files (x86)\\Google\\Chrome\\Application\\chrome.exe");
WebDriver driver = new ChromeDriver();
// driver.close();
// driver.get("http://www.google.com");
}
}
あなたはこの投稿を参照できます[http://stackoverflow.com/questions/13724778/how-to-run-selenium-webdriver-test-cases-in-chrome](http://stackoverflow.com/question/13724778/how-to-run-selenium-webdriver-test-cases-in-chrome) –