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

com.github.nscuro.wdm.factory.WebDriverFactory Maven / Gradle / Ivy

There is a newer version: 0.3.0
Show newest version
package com.github.nscuro.wdm.factory;

import org.openqa.selenium.Capabilities;
import org.openqa.selenium.WebDriver;

import javax.annotation.Nonnull;

public interface WebDriverFactory {

    /**
     * Get a {@link WebDriver} instance based on the provided {@link Capabilities}.
     *
     * @param capabilities The desired capabilities
     * @return A {@link WebDriver} instance
     */
    @Nonnull
    WebDriver createWebDriver(final Capabilities capabilities);

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy