Package dev.galasa.selenium
Interface IFirefoxOptions
public interface IFirefoxOptions
A Options pass through interface for the Selenium Options object
-
Method Summary
Modifier and TypeMethodDescriptionvoidaddArguments(String... arguments) voidaddArguments(List<String> arguments) voidaddPreference(String key, Boolean value) voidaddPreference(String key, Integer value) voidaddPreference(String key, String value) asMap()Optional<org.openqa.selenium.firefox.FirefoxBinary>org.openqa.selenium.firefox.FirefoxOptionsorg.openqa.selenium.Platformorg.openqa.selenium.firefox.FirefoxProfilebooleanbooleanbooleanisLegacy()Deprecated, for removal: This API element is subject to removal in a future version.Removed in Selenium 4.voidsetAcceptInsecureCerts(boolean bool) voidvoidvoidsetCapability(String key, Object value) voidsetHeadless(boolean bool) Deprecated, for removal: This API element is subject to removal in a future version.UseaddArguments(arguments)instead.voidsetLegacy(boolean bool) Deprecated, for removal: This API element is subject to removal in a future version.Removed in Selenium 4.voidsetLogLevel(Level level) voidsetPageLoadStrategy(org.openqa.selenium.PageLoadStrategy strategy) voidsetProfile(org.openqa.selenium.firefox.FirefoxProfile profile) voidsetProxy(org.openqa.selenium.Proxy proxy) voidsetUnhandledPromptBehaviour(org.openqa.selenium.UnexpectedAlertBehaviour behaviour)
-
Method Details
-
addPreference
-
addPreference
-
addPreference
-
getOptions
org.openqa.selenium.firefox.FirefoxOptions getOptions() -
setProfile
void setProfile(org.openqa.selenium.firefox.FirefoxProfile profile) -
setAcceptInsecureCerts
void setAcceptInsecureCerts(boolean bool) -
setHeadless
Deprecated, for removal: This API element is subject to removal in a future version.UseaddArguments(arguments)instead. -
setBinary
-
setBinary
-
addArguments
-
addArguments
-
setCapability
-
setLegacy
Deprecated, for removal: This API element is subject to removal in a future version.Removed in Selenium 4. See https://www.selenium.dev/documentation/webdriver/troubleshooting/upgrade_to_selenium_4/ -
setLogLevel
-
asMap
-
getBinaryOrNull
Optional<org.openqa.selenium.firefox.FirefoxBinary> getBinaryOrNull() -
getBrowserName
String getBrowserName() -
getPlatform
org.openqa.selenium.Platform getPlatform() -
getProfile
org.openqa.selenium.firefox.FirefoxProfile getProfile() -
getVersion
String getVersion() -
is
-
isJavascriptEnabled
boolean isJavascriptEnabled() -
isLegacy
Deprecated, for removal: This API element is subject to removal in a future version.Removed in Selenium 4. See https://www.selenium.dev/documentation/webdriver/troubleshooting/upgrade_to_selenium_4/ -
setPageLoadStrategy
void setPageLoadStrategy(org.openqa.selenium.PageLoadStrategy strategy) -
setProxy
void setProxy(org.openqa.selenium.Proxy proxy) -
setUnhandledPromptBehaviour
void setUnhandledPromptBehaviour(org.openqa.selenium.UnexpectedAlertBehaviour behaviour)
-