All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.jboss.arquillian.drone.webdriver.htmlunit.DroneHtmlUnitDriver Maven / Gradle / Ivy

Go to download

Extension for functional testing based on web view layer (Ajocado, Selenium, WebDriver)

There is a newer version: 3.0.0-alpha.8
Show newest version
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();
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy