webdriver调用chrome浏览器

时间:2014-09-24 21:36:18   收藏:0   阅读:335

System.setProperty("webdriver.chrome.driver", "D:/webDriver/chromedriver.exe");
System.setProperty("webdriver.chrome.bin", "C:/Program Files (x86)/Google/Chrome/Application/chrome.exe");

driver =new ChromeDriver();

原文:http://www.cnblogs.com/fatfatdachao/p/3991487.html

评论(0
© 2014 bubuko.com 版权所有 - 联系我们:wmxa8@hotmail.com
打开技术之扣,分享程序人生!