2013-07-11 81 views
1

我見過很多問題,但無法實現任何答案。如何打開當前會話Java Selenium?

System.setProperty "webdriver.chrome.driver","chromedriverchromedriver.exe"); 

driver = new ChromeDriver(); 

// Then what exactly do I do? 
//I want to open my regular Chrome window with all plugins and cookies 
+0

您無法連接到一個現有瀏覽器實例。您必須創建新的實例並允許WebDriver從那裏控制它們。 – Arran

回答