标签:style blog color io ar div sp log on
ChromeOptions options=new ChromeOptions(); //options.addExtensions(new File("C:\\Agent.crx")); //加载扩展 //options.addArguments("user-data- dir=C:\\Users\\Sychopian\\AppData\\Local\\Google\\Chrome\\User Data"); //带参数启动,具体参数可google chrome带参数启动 driver = new EventFiringWebDriver(new ChromeDriver(options)).register(new LogEventListener()); //加入chromeOptions,并配置监听类
selenium webdriver ChromeOptions
标签:style blog color io ar div sp log on
原文地址:http://www.cnblogs.com/zhangminjie/p/3959763.html