私はMozilla 51.0.1とEclipse Lunar 3.0.1を使用しています。コードを実行しようとしているときに、ブラウザでURLを取得できません。ただ開くだけです。selenium webdriverでmozillaでURLを取得できません
package SessionPack;
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.firefox.FirefoxDriver;
public class SessionCalss {
public static void main(String arg[])
{
System.out.println("String");
WebDriver driver;
System.setProperty("webdriver.gecko.driver", "C:\\New folder\\geckodriver.exe");
driver=new FirefoxDriver();
driver.get("www.gooogle.com");
}
}
コンソールには何がありますか? –
あなたが使用しているSeleniumとGeckoのバージョンは何ですか?そして、あなたが得ているエラーメッセージは何ですか? –