HtmlUnitDriver does not load javascript when navigating a page from an url
问题 Here is my problem, I'm trying to load my website page for testing it but when i look at the html I get from the HtmlUnitDriver, elements displayed with javascript are not present. I am using selenium-java 3.141.59 and htmlunit-driver 2.33.3 Here is my code HtmlUnitDriver driver = new HtmlUnitDriver(); driver.manage().timeouts().implicitlyWait(5, TimeUnit.SECONDS); driver.setJavascriptEnabled(true); driver.get("https://stackoverflow.com/questions/7926246/why-doesnt-htmlunitdriver-execute