https://seleniumhq.github.io/selenium/docs/api/java/index.html
HtmlUnit Driver
This is currently the fastest and most lightweight implementation of WebDriver. As the name suggests, this is based on HtmlUnit. HtmlUnit is a java based implementation of a WebBrowser without a GUI. For any language binding (other than java) the Selenium Server is required to use this driver.
WebDriver driver = new HtmlUnitDriver();
试了一下,没有gui界面,但是可以正常测试,不过会有css警告。
其他的Driver不做概述,FirefoxDriver(),ChromeDriver(),InternetExplorerDriver()等等有界面,都是打开对应的browser。
iosDriver 和android的Driver
参考网址:
http://ios-driver.github.io/ios-driver/
http://selendroid.io/