Package org.openqa.selenium
Class PersistentCapabilities
java.lang.Object
org.openqa.selenium.PersistentCapabilities
- All Implemented Interfaces:
 Serializable,Capabilities
- See Also:
 
- 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionasMap()boolean@Nullable ObjectgetCapability(String capabilityName) inthashCode()merge(Capabilities other) Merge twoCapabilitiestogether and return the union of the two as a newCapabilitiesinstance.setCapability(String name, Object value) toString()Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface org.openqa.selenium.Capabilities
getBrowserName, getBrowserVersion, getPlatformName, is 
- 
Constructor Details
- 
PersistentCapabilities
public PersistentCapabilities() - 
PersistentCapabilities
 
 - 
 - 
Method Details
- 
setCapability
 - 
asMap
- Specified by:
 asMapin interfaceCapabilities- Returns:
 - The capabilities as a Map.
 
 - 
getCapability
- Specified by:
 getCapabilityin interfaceCapabilities- Parameters:
 capabilityName- The capability to return.- Returns:
 - The value, or null if not set.
 - See Also:
 
 - 
merge
Description copied from interface:CapabilitiesMerge twoCapabilitiestogether and return the union of the two as a newCapabilitiesinstance. Capabilities fromotherwill override those inthis.- Specified by:
 mergein interfaceCapabilities
 - 
getCapabilityNames
- Specified by:
 getCapabilityNamesin interfaceCapabilities
 - 
toString
 - 
hashCode
public int hashCode() - 
equals
 
 -