代码:
import java.util.concurrent.TimeUnit;
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.firefox.FirefoxDriver;
public class webdriver {
public static void main(String[] args) {
// TODO Auto-generated method stub
WebDriver driver = new FirefoxDriver();
driver.manage().timeouts().implicitlyWait(10, TimeUnit.SECONDS);
driver.navigate().to("http://www.calculator.net");
}
}
Firefox:47.0 Selenium WebDriver:2.53.1
请指导如何继续。
答案 0 :(得分:0)
希望以下几点对您有帮助。: