at.willhaben.willtest.junit5.OptionModifier Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of core Show documentation
Show all versions of core Show documentation
Core classes with as few dependencies as possible
package at.willhaben.willtest.junit5;
import at.willhaben.willtest.util.AndroidOptions;
import at.willhaben.willtest.util.IOsOptions;
import org.openqa.selenium.MutableCapabilities;
import org.openqa.selenium.chrome.ChromeOptions;
import org.openqa.selenium.edge.EdgeOptions;
import org.openqa.selenium.firefox.FirefoxOptions;
import org.openqa.selenium.ie.InternetExplorerOptions;
public interface OptionModifier extends BrowserUtilExtension {
default FirefoxOptions modifyFirefoxOptions(FirefoxOptions options) {
return options;
}
default ChromeOptions modifyChromeOptions(ChromeOptions options) {
return options;
}
default EdgeOptions modifyEdgeOptions(EdgeOptions options) {
return options;
}
default InternetExplorerOptions modifyInternetExplorerOptions(InternetExplorerOptions options) {
return options;
}
default AndroidOptions modifyAndroidOptions(AndroidOptions options) {
return options;
}
default IOsOptions modifyIOsOptions(IOsOptions options) {
return options;
}
default T modifyAllBrowsers(T options) { return options; }
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy