![JAR search and dependency download from the Maven repository](/logo.png)
com.jdiai.jswraper.driver.JDIDriver Maven / Gradle / Ivy
package com.jdiai.jswraper.driver;
import com.epam.jdi.tools.map.MapArray;
import org.openqa.selenium.WebDriver;
import java.util.function.Consumer;
import static com.epam.jdi.tools.pairs.Pair.$;
import static com.jdiai.jswraper.driver.DriverTypes.*;
import static com.jdiai.jswraper.driver.RunModes.LOCAL_DOWNLOAD;
public class JDIDriver {
public static RunModes RUN_MODE = LOCAL_DOWNLOAD;
public static Consumer DRIVER_SETUP = driver -> driver.manage().window().maximize();
public static DriverOptions DRIVER_OPTIONS = new DriverOptions();
public static MapArray REMOTE_DRIVER_VERSIONS = new MapArray<>(
$(CHROME, "latest"),
$(FIREFOX, "latest"),
$(IE, "latest"),
$(IE_EDGE, "latest"),
$(SAFARI, "latest"),
$(OPERA, "latest")
);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy