Package org.openqa.selenium.remote
Class AbstractDriverOptions<DO extends AbstractDriverOptions>
java.lang.Object
org.openqa.selenium.MutableCapabilities
org.openqa.selenium.remote.AbstractDriverOptions<DO>
- All Implemented Interfaces:
Serializable
,Capabilities
- Direct Known Subclasses:
ChromiumOptions
,FirefoxOptions
,InternetExplorerOptions
,SafariOptions
public abstract class AbstractDriverOptions<DO extends AbstractDriverOptions>
extends MutableCapabilities
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionasMap()
getCapability
(String capabilityName) protected abstract Object
getExtraCapability
(String capabilityName) setAcceptInsecureCerts
(boolean acceptInsecureCerts) setBrowserVersion
(String browserVersion) setEnableDownloads
(boolean enableDownloads) setImplicitWaitTimeout
(Duration timeout) setPageLoadStrategy
(PageLoadStrategy strategy) setPageLoadTimeout
(Duration timeout) setPlatformName
(String platformName) setScriptTimeout
(Duration timeout) setStrictFileInteractability
(boolean strictFileInteractability) Methods inherited from class org.openqa.selenium.MutableCapabilities
equals, hashCode, merge, setCapability, setCapability, setCapability, setCapability, toJson, toString
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface org.openqa.selenium.Capabilities
getBrowserName, getBrowserVersion, getPlatformName, is
-
Constructor Details
-
AbstractDriverOptions
public AbstractDriverOptions()
-
-
Method Details
-
setBrowserVersion
-
setPlatformName
-
setImplicitWaitTimeout
-
setPageLoadTimeout
-
setScriptTimeout
-
setPageLoadStrategy
-
setUnhandledPromptBehaviour
-
setAcceptInsecureCerts
-
setStrictFileInteractability
-
setProxy
-
setEnableDownloads
-
getCapabilityNames
- Specified by:
getCapabilityNames
in interfaceCapabilities
- Overrides:
getCapabilityNames
in classMutableCapabilities
-
getExtraCapabilityNames
-
getCapability
- Specified by:
getCapability
in interfaceCapabilities
- Overrides:
getCapability
in classMutableCapabilities
- Parameters:
capabilityName
- The capability to return.- Returns:
- The value, or null if not set.
- See Also:
-
getExtraCapability
-
asMap
- Specified by:
asMap
in interfaceCapabilities
- Overrides:
asMap
in classMutableCapabilities
- Returns:
- The capabilities as a Map.
-