I have written my selenium webdriver scripts in java and want to run them in IE but without opening a Browser. Is there any options to do that
Asked
Active
Viewed 411 times
0
-
http://stackoverflow.com/questions/6263142/why-am-i-not-able-to-show-or-hide-in-internet-explorer-8-and-how-i-can-fix-the – CodeIsLife Feb 29 '16 at 20:54
-
Need how to test a selenium webdriver in Java without opening a browser in IE – Archana Feb 29 '16 at 21:09
1 Answers
1
Use this:
HtmlUnitDriver driver = new HtmlUnitDriver(BrowserVersion.INTERNET_EXPLORER_11);
Reference: http://seleniumhq.github.io/selenium/docs/api/java/org/openqa/selenium/htmlunit/HtmlUnitDriver.html

Abir Khan
- 119
- 8