Package dev.galasa.selenium
Interface IFirefoxOptions
public interface IFirefoxOptions
A Options pass through interface for the Selenium Options object
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addArguments
(String... arguments) void
addArguments
(List<String> arguments) void
addPreference
(String key, Boolean value) void
addPreference
(String key, Integer value) void
addPreference
(String key, String value) asMap()
Optional<org.openqa.selenium.firefox.FirefoxBinary>
org.openqa.selenium.firefox.FirefoxOptions
org.openqa.selenium.Platform
org.openqa.selenium.firefox.FirefoxProfile
boolean
boolean
boolean
isLegacy()
Deprecated, for removal: This API element is subject to removal in a future version.Removed in Selenium 4.void
setAcceptInsecureCerts
(boolean bool) void
void
void
setCapability
(String key, Object value) void
setHeadless
(boolean bool) Deprecated, for removal: This API element is subject to removal in a future version.UseaddArguments(arguments)
instead.void
setLegacy
(boolean bool) Deprecated, for removal: This API element is subject to removal in a future version.Removed in Selenium 4.void
setLogLevel
(Level level) void
setPageLoadStrategy
(org.openqa.selenium.PageLoadStrategy strategy) void
setProfile
(org.openqa.selenium.firefox.FirefoxProfile profile) void
setProxy
(org.openqa.selenium.Proxy proxy) void
setUnhandledPromptBehaviour
(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)
-