org.jboss.arquillian.drone.webdriver.htmlunit.DroneHtmlUnitDriver Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of arquillian-drone-webdriver Show documentation
Show all versions of arquillian-drone-webdriver Show documentation
Extension for functional testing based on web view layer (Ajocado, Selenium, WebDriver)
package org.jboss.arquillian.drone.webdriver.htmlunit;
import com.gargoylesoftware.htmlunit.WebClient;
import org.openqa.selenium.Capabilities;
import org.openqa.selenium.htmlunit.HtmlUnitDriver;
public class DroneHtmlUnitDriver extends HtmlUnitDriver {
public DroneHtmlUnitDriver(Capabilities capabilities) {
super(capabilities);
}
@Override
public WebClient modifyWebClient(WebClient client) {
// set multiple options for webclient here as per requirement in future.
return client;
}
@Override
public WebClient getWebClient() {
return super.getWebClient();
}
}