static FirefoxDriver driver;
public static void main(String[] args) {
System.setProperty("webdriver.firefox.bin","D:/huohulow/firefox.exe");//指定浏览器路径
driver = new FirefoxDriver();
driver.get("http://wt.qq.com/cp/a20161209cgnew/p1_mrfl.shtml");
driver.manage().window().maximize();
// showTimer();
TimerTask task = new TimerTask() {
public void run() {
System.out.println("ssss");
public static void main(String[] args) {
System.setProperty("webdriver.firefox.bin","D:/huohulow/firefox.exe");//指定浏览器路径
driver = new FirefoxDriver();
driver.get("http://wt.qq.com/cp/a20161209cgnew/p1_mrfl.shtml");
driver.manage().window().maximize();
// showTimer();
TimerTask task = new TimerTask() {
public void run() {
System.out.println("ssss");