Script not working in HtmlUnitDriver
问题 My purpose to execute headless browsing for test-automation. I am using selenium webdriver with Java. Now, issue is script is working fine in Firefox browser,but not in HtmlUnitDriver. Please guide me where I did mistake. public class Headless { public static void main(String[] args) throws InterruptedException { WebDriver driver = new HtmlUnitDriver(); //WebDriver driver=new FirefoxDriver(); // Navigate to Google driver.get("https://www.google.co.in/?gfe_rd=cr&ei=k36cVsa6OubI8Aec14bICQ&gws