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:
java.io.Serializable
,org.openqa.selenium.Capabilities
public class AbstractDriverOptions<DO extends AbstractDriverOptions> extends org.openqa.selenium.MutableCapabilities
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description AbstractDriverOptions()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected int
amendHashCode()
java.util.Map<java.lang.String,java.lang.Object>
asMap()
boolean
equals(java.lang.Object arg0)
java.lang.Object
getCapability(java.lang.String arg0)
java.util.Set<java.lang.String>
getCapabilityNames()
org.openqa.selenium.Platform
getPlatform()
int
hashCode()
DO
setAcceptInsecureCerts(boolean acceptInsecureCerts)
DO
setPageLoadStrategy(org.openqa.selenium.PageLoadStrategy strategy)
DO
setProxy(org.openqa.selenium.Proxy proxy)
DO
setStrictFileInteractability(boolean strictFileInteractability)
DO
setUnhandledPromptBehaviour(org.openqa.selenium.UnexpectedAlertBehaviour behaviour)
java.util.Map<java.lang.String,java.lang.Object>
toJson()
java.lang.String
toString()
-
Methods inherited from class org.openqa.selenium.MutableCapabilities
merge, setCapability, setCapability, setCapability, setCapability
-
-
-
-
Method Detail
-
setPageLoadStrategy
public DO setPageLoadStrategy(org.openqa.selenium.PageLoadStrategy strategy)
-
setUnhandledPromptBehaviour
public DO setUnhandledPromptBehaviour(org.openqa.selenium.UnexpectedAlertBehaviour behaviour)
-
setAcceptInsecureCerts
public DO setAcceptInsecureCerts(boolean acceptInsecureCerts)
-
setStrictFileInteractability
public DO setStrictFileInteractability(boolean strictFileInteractability)
-
setProxy
public DO setProxy(org.openqa.selenium.Proxy proxy)
-
getPlatform
public org.openqa.selenium.Platform getPlatform()
- Specified by:
getPlatform
in interfaceorg.openqa.selenium.Capabilities
-
getCapability
public java.lang.Object getCapability(java.lang.String arg0)
- Specified by:
getCapability
in interfaceorg.openqa.selenium.Capabilities
-
getCapabilityNames
public java.util.Set<java.lang.String> getCapabilityNames()
- Specified by:
getCapabilityNames
in interfaceorg.openqa.selenium.Capabilities
-
asMap
public java.util.Map<java.lang.String,java.lang.Object> asMap()
- Specified by:
asMap
in interfaceorg.openqa.selenium.Capabilities
-
toJson
public java.util.Map<java.lang.String,java.lang.Object> toJson()
-
amendHashCode
protected int amendHashCode()
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
equals
public boolean equals(java.lang.Object arg0)
- Overrides:
equals
in classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-