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

com.jdiai.jswraper.driver.JDIDriver Maven / Gradle / Ivy

There is a newer version: 1.1.8
Show newest version
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