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 intamendHashCode()java.util.Map<java.lang.String,java.lang.Object>asMap()booleanequals(java.lang.Object arg0)java.lang.ObjectgetCapability(java.lang.String arg0)java.util.Set<java.lang.String>getCapabilityNames()org.openqa.selenium.PlatformgetPlatform()inthashCode()DOsetAcceptInsecureCerts(boolean acceptInsecureCerts)DOsetPageLoadStrategy(org.openqa.selenium.PageLoadStrategy strategy)DOsetProxy(org.openqa.selenium.Proxy proxy)DOsetStrictFileInteractability(boolean strictFileInteractability)DOsetUnhandledPromptBehaviour(org.openqa.selenium.UnexpectedAlertBehaviour behaviour)java.util.Map<java.lang.String,java.lang.Object>toJson()java.lang.StringtoString()-
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:
getPlatformin interfaceorg.openqa.selenium.Capabilities
-
getCapability
public java.lang.Object getCapability(java.lang.String arg0)
- Specified by:
getCapabilityin interfaceorg.openqa.selenium.Capabilities
-
getCapabilityNames
public java.util.Set<java.lang.String> getCapabilityNames()
- Specified by:
getCapabilityNamesin interfaceorg.openqa.selenium.Capabilities
-
asMap
public java.util.Map<java.lang.String,java.lang.Object> asMap()
- Specified by:
asMapin 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:
hashCodein classjava.lang.Object
-
equals
public boolean equals(java.lang.Object arg0)
- Overrides:
equalsin classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-