0
我有一個硒網格環境,我已經開始在Windows7鉻,我想啓動Safari,如何配置Safari瀏覽器? 這裏是我的代碼:如何在遠程環境中使用selenium3.0驅動safari10?
DesiredCapabilities desiredCapabilities = DesiredCapabilities.safari();
WebDriver driver = new RemoteWebDriver(new URL("http://hub ip"), desiredCapabilities);
driver.get("www.google.com");