Package org.openqa.selenium
Interface Capabilities
- All Superinterfaces:
 Serializable
- All Known Implementing Classes:
 ImmutableCapabilities,MutableCapabilities,PersistentCapabilities
Describes a series of key/value pairs that encapsulate aspects of a browser.
- 
Method Summary
Modifier and TypeMethodDescriptionasMap()default Stringdefault String@Nullable ObjectgetCapability(String capabilityName) default @Nullable Platformdefault booleandefault Capabilitiesmerge(Capabilities other) Merge twoCapabilitiestogether and return the union of the two as a newCapabilitiesinstance. 
- 
Method Details
- 
getBrowserName
 - 
getPlatformName
 - 
getBrowserVersion
 - 
asMap
- Returns:
 - The capabilities as a Map.
 
 - 
getCapability
- Parameters:
 capabilityName- The capability to return.- Returns:
 - The value, or null if not set.
 - See Also:
 
 - 
is
- Parameters:
 capabilityName- The capability to check.- Returns:
 - Whether the value is not null and not false.
 - See Also:
 
 - 
merge
Merge twoCapabilitiestogether and return the union of the two as a newCapabilitiesinstance. Capabilities fromotherwill override those inthis. - 
getCapabilityNames
 
 -