【Selenium】IE浏览器启动问题

DesiredCapabilities ieCapabilities = DesiredCapabilities.internetExplorer();
ieCapabilities.setCapability(InternetExplorerDriver.INTRODUCE_FLAKINESS_BY_IGNORING_SECURITY_DOMAINS, true);
driver=new InternetExplorerDriver(ieCapabilities);
posted @ 2017-07-26 23:30  baoyu7yi  阅读(229)  评论(0编辑  收藏  举报