htmlunit-driver
htmlunit-driver copied to clipboard
WebDriver compatible driver for HtmlUnit headless browser.
In order to run tests using `HtmlUnitDriver`, I added latest maven dependency in `pom.xml` org.seleniumhq.selenium htmlunit-driver 2.36.0 and has following code - @Test public void test() { WebDriver driver =...
Dear developer. I'm trying to extract text from Google Translate. `public static void main(String[] args) {` ` WebDriver driver = new HtmlUnitDriver(BrowserVersion.FIREFOX_60);` ` ((HtmlUnitDriver) driver).setJavascriptEnabled(true);` ` driver.get("https://translate.google.com/#view=home&op=translate&sl=en&tl=ru");` ` System.out.println(driver.getTitle());` ` ...
There's a longstanding convention of naming the uber JAR files for Selenium server releases as "selenium-server-standalone-<version>.jar". Initially, this project followed this convention, which enabled parameterized handling of access to these...
@lklonowski commented on [Mon Nov 27 2017](https://github.com/SeleniumHQ/selenium/issues/5124) ## Meta - OS: Windows 7 Selenium Version: 3.7.1 Browser: HtmlUnit Browser Version: 2.28.2 ## Expected Behavior - when wrapping an `HtmlUnitDriver` inside...
@NaukhaizAhmad commented on [Thu Jul 20 2017](https://github.com/SeleniumHQ/selenium/issues/4346) OS: Windows 7 64-bit Selenium Version: Selenium web driver 3.4.0 Browser: HtmlUnitDriver (htmlunit-driver-2.26.jar) ## Expected Behavior - Sample test script should work fine...
I am using the snapshot version of HtmlUnit and noticed that when I am closing or quitting all drivers and then re-initializing during the same application run I get a...
https://github.com/SeleniumHQ/htmlunit-driver/blob/3fc6ca6b4eca6c45e393a41ca9785842b0816ed4/src/main/java/org/openqa/selenium/htmlunit/HtmlUnitDriver.java#L352 When running the driver, I was able to deadlock it by calling driver.get(url) while the runAsyncRunning_ was already set to true. The driver ended up in an endless loop...
So after some debugging on a project, i found out that the driver doesn't implement ``HasAuthentication``, which means that using basic authentication with selenide does not work - and might...