Uses of Interface
org.openqa.selenium.Capabilities
Package
Description
-
Uses of Capabilities in org.openqa.selenium
Modifier and TypeClassDescriptionclass
class
class
Modifier and TypeMethodDescriptionWebDriverInfo.getCanonicalCapabilities()
Describes the smallest set ofCapabilities
that could be used to create an instance of thisWebDriver
implementation.HasCapabilities.getCapabilities()
default Capabilities
Capabilities.merge
(Capabilities other) Merge twoCapabilities
together and return the union of the two as a newCapabilities
instance.PersistentCapabilities.merge
(Capabilities other) Modifier and TypeMethodDescriptionstatic ImmutableCapabilities
ImmutableCapabilities.copyOf
(Capabilities capabilities) WebDriverInfo.createDriver
(Capabilities capabilities) Creates a new instance of theWebDriver
implementation.static Proxy
Proxy.extractFrom
(Capabilities capabilities) boolean
WebDriverInfo.isSupporting
(Capabilities capabilities) default Capabilities
Capabilities.merge
(Capabilities other) Merge twoCapabilities
together and return the union of the two as a newCapabilities
instance.MutableCapabilities.merge
(Capabilities other) Merge twoCapabilities
together and return the union of the two as a newCapabilities
instance.PersistentCapabilities.merge
(Capabilities other) default void
HasDownloads.requireDownloadsEnabled
(Capabilities capabilities) Requires downloads to be enabled.ModifierConstructorDescriptionMutableCapabilities
(Capabilities other) PersistentCapabilities
(Capabilities source) -
Uses of Capabilities in org.openqa.selenium.bidi
Modifier and TypeMethodDescriptionBiDiProvider.getImplementation
(Capabilities caps, ExecuteMethod executeMethod) -
Uses of Capabilities in org.openqa.selenium.chrome
Modifier and TypeMethodDescriptionChromeDriverInfo.getCanonicalCapabilities()
ChromeDriverService.getDefaultDriverOptions()
Modifier and TypeMethodDescriptionChromeDriverInfo.createDriver
(Capabilities capabilities) boolean
ChromeDriverInfo.isSupporting
(Capabilities capabilities) ChromeOptions.merge
(Capabilities extraCapabilities) int
ChromeDriverService.Builder.score
(Capabilities capabilities) -
Uses of Capabilities in org.openqa.selenium.chromium
Modifier and TypeClassDescriptionclass
ChromiumOptions<T extends ChromiumOptions<?>>
Class to manage options specific toChromiumDriver
.Modifier and TypeMethodDescriptionabstract Predicate<Capabilities>
AddHasCasting.isApplicable()
AddHasCdp.isApplicable()
AddHasLaunchApp.isApplicable()
AddHasNetworkConditions.isApplicable()
AddHasPermissions.isApplicable()
Modifier and TypeMethodDescriptionAddHasCasting.getImplementation
(Capabilities capabilities, ExecuteMethod executeMethod) AddHasCdp.getImplementation
(Capabilities capabilities, ExecuteMethod executeMethod) AddHasLaunchApp.getImplementation
(Capabilities capabilities, ExecuteMethod executeMethod) AddHasNetworkConditions.getImplementation
(Capabilities capabilities, ExecuteMethod executeMethod) AddHasPermissions.getImplementation
(Capabilities capabilities, ExecuteMethod executeMethod) protected void
ChromiumOptions.mergeInOptionsFromCaps
(String capabilityName, Capabilities capabilities) protected void
ChromiumOptions.mergeInPlace
(Capabilities capabilities) ModifierConstructorDescriptionprotected
ChromiumDriver
(CommandExecutor commandExecutor, Capabilities capabilities, String capabilityKey) -
Uses of Capabilities in org.openqa.selenium.devtools
Modifier and TypeMethodDescriptionstatic Optional<Connection>
SeleniumCdpConnection.create
(Capabilities capabilities) static Optional<Connection>
SeleniumCdpConnection.create
(HttpClient.Factory clientFactory, Capabilities capabilities) DevToolsProvider.getImplementation
(Capabilities caps, ExecuteMethod executeMethod) CdpEndpointFinder.getReportedUri
(String capabilityKey, Capabilities caps) CdpEndpointFinder.getReportedUri
(Capabilities caps) -
Uses of Capabilities in org.openqa.selenium.edge
Modifier and TypeMethodDescriptionEdgeDriverInfo.getCanonicalCapabilities()
EdgeDriverService.getDefaultDriverOptions()
Modifier and TypeMethodDescriptionEdgeDriverInfo.createDriver
(Capabilities capabilities) boolean
EdgeDriverInfo.isSupporting
(Capabilities capabilities) EdgeOptions.merge
(Capabilities extraCapabilities) int
EdgeDriverService.Builder.score
(Capabilities capabilities) -
Uses of Capabilities in org.openqa.selenium.firefox
Modifier and TypeClassDescriptionclass
Manage firefox specific settings in a way that geckodriver can understand.Modifier and TypeMethodDescriptionGeckoDriverInfo.getCanonicalCapabilities()
FirefoxDriver.getCapabilities()
GeckoDriverService.getDefaultDriverOptions()
Modifier and TypeMethodDescriptionAddHasContext.isApplicable()
AddHasExtensions.isApplicable()
AddHasFullPageScreenshot.isApplicable()
Modifier and TypeMethodDescriptionGeckoDriverInfo.createDriver
(Capabilities capabilities) AddHasContext.getImplementation
(Capabilities capabilities, ExecuteMethod executeMethod) AddHasExtensions.getImplementation
(Capabilities capabilities, ExecuteMethod executeMethod) AddHasFullPageScreenshot.getImplementation
(Capabilities capabilities, ExecuteMethod executeMethod) boolean
GeckoDriverInfo.isSupporting
(Capabilities capabilities) FirefoxOptions.merge
(Capabilities capabilities) int
GeckoDriverService.Builder.score
(Capabilities capabilities) -
Uses of Capabilities in org.openqa.selenium.grid.data
Modifier and TypeMethodDescriptionSession.getCapabilities()
CreateSessionRequest.getDesiredCapabilities()
Session.getStereotype()
Slot.getStereotype()
Modifier and TypeMethodDescriptionCapabilityCount.getCounts()
SessionRequest.getDesiredCapabilities()
SessionRequestCapability.getDesiredCapabilities()
Modifier and TypeMethodDescriptionboolean
NodeStatus.hasCapability
(Capabilities caps, SlotMatcher slotMatcher) boolean
NodeStatus.hasCapacity
(Capabilities caps, SlotMatcher slotMatcher) boolean
Slot.isSupporting
(Capabilities caps, SlotMatcher slotMatcher) boolean
DefaultSlotMatcher.matches
(Capabilities stereotype, Capabilities capabilities) boolean
SlotMatcher.matches
(Capabilities stereotype, Capabilities capabilities) ModifierConstructorDescriptionCreateSessionRequest
(Set<Dialect> downstreamDialects, Capabilities capabilities, Map<String, Object> metadata) Session
(SessionId id, URI uri, Capabilities stereotype, Capabilities capabilities, Instant startTime) Slot
(SlotId id, Capabilities stereotype, Instant lastStarted, Session session) ModifierConstructorDescriptionCapabilityCount
(Map<Capabilities, Integer> counts) SessionRequestCapability
(RequestId requestId, Set<Capabilities> desiredCapabilities) -
Uses of Capabilities in org.openqa.selenium.grid.distributor.selector
Modifier and TypeMethodDescriptionDefaultSlotSelector.selectSlot
(Capabilities capabilities, Set<NodeStatus> nodes, SlotMatcher slotMatcher) SlotSelector.selectSlot
(Capabilities capabilities, Set<NodeStatus> nodes, SlotMatcher slotMatcher) -
Uses of Capabilities in org.openqa.selenium.grid.graphql
-
Uses of Capabilities in org.openqa.selenium.grid.node
Modifier and TypeMethodDescriptionActiveSession.getCapabilities()
BaseActiveSession.getCapabilities()
ActiveSession.getStereotype()
BaseActiveSession.getStereotype()
SessionFactory.getStereotype()
ModifierConstructorDescriptionprotected
BaseActiveSession
(SessionId id, URL url, Dialect downstream, Dialect upstream, Capabilities stereotype, Capabilities capabilities, Instant startTime) protected
DefaultActiveSession
(Tracer tracer, HttpClient client, SessionId id, URL url, Dialect downstream, Dialect upstream, Capabilities stereotype, Capabilities capabilities, Instant startTime) -
Uses of Capabilities in org.openqa.selenium.grid.node.config
Modifier and TypeMethodDescriptionSessionCapabilitiesMutator.apply
(Capabilities capabilities) NodeOptions.enhanceStereotype
(Capabilities capabilities) DriverServiceSessionFactory.getStereotype()
Modifier and TypeMethodDescriptionNodeOptions.getSessionFactories
(Function<ImmutableCapabilities, Collection<SessionFactory>> factoryFactory) Modifier and TypeMethodDescriptionSessionCapabilitiesMutator.apply
(Capabilities capabilities) NodeOptions.enhanceStereotype
(Capabilities capabilities) boolean
DriverServiceSessionFactory.test
(Capabilities capabilities) ModifierConstructorDescriptionDriverServiceSessionFactory
(Tracer tracer, HttpClient.Factory clientFactory, Duration sessionTimeout, Capabilities stereotype, Predicate<Capabilities> predicate, DriverService.Builder<?, ?> builder) SessionCapabilitiesMutator
(Capabilities slotStereotype) ModifierConstructorDescriptionDriverServiceSessionFactory
(Tracer tracer, HttpClient.Factory clientFactory, Duration sessionTimeout, Capabilities stereotype, Predicate<Capabilities> predicate, DriverService.Builder<?, ?> builder) -
Uses of Capabilities in org.openqa.selenium.grid.node.docker
Modifier and TypeMethodDescriptionDockerOptions.getDockerSessionFactories
(Tracer tracer, HttpClient.Factory clientFactory, NodeOptions options) ModifierConstructorDescriptionDockerSessionFactory
(Tracer tracer, HttpClient.Factory clientFactory, Duration sessionTimeout, Docker docker, URI dockerUri, Image browserImage, Capabilities stereotype, List<Device> devices, Image videoImage, DockerAssetsPath assetsPath, String networkName, boolean runningInDocker, Predicate<Capabilities> predicate, Map<String, Object> hostConfig, List<String> hostConfigKeys) ModifierConstructorDescriptionDockerSessionFactory
(Tracer tracer, HttpClient.Factory clientFactory, Duration sessionTimeout, Docker docker, URI dockerUri, Image browserImage, Capabilities stereotype, List<Device> devices, Image videoImage, DockerAssetsPath assetsPath, String networkName, boolean runningInDocker, Predicate<Capabilities> predicate, Map<String, Object> hostConfig, List<String> hostConfigKeys) -
Uses of Capabilities in org.openqa.selenium.grid.node.local
Modifier and TypeMethodDescriptionLocalNode.Builder.add
(Capabilities stereotype, SessionFactory factory) boolean
LocalNode.isSupporting
(Capabilities capabilities) boolean
SessionSlot.test
(Capabilities capabilities) ModifierConstructorDescriptionSessionSlot
(EventBus bus, Capabilities stereotype, SessionFactory factory) -
Uses of Capabilities in org.openqa.selenium.grid.node.relay
Modifier and TypeMethodDescriptionRelayOptions.getSessionFactories
(Tracer tracer, HttpClient.Factory clientFactory, Duration sessionTimeout) ModifierConstructorDescriptionRelaySessionFactory
(Tracer tracer, HttpClient.Factory clientFactory, Duration sessionTimeout, URI serviceUri, URI serviceStatusUri, String serviceProtocolVersion, Capabilities stereotype) -
Uses of Capabilities in org.openqa.selenium.grid.node.remote
ModifierConstructorDescriptionRemoteNode
(Tracer tracer, HttpClient.Factory clientFactory, NodeId id, URI externalUri, Secret registrationSecret, Duration sessionTimeout, Collection<Capabilities> capabilities) -
Uses of Capabilities in org.openqa.selenium.grid.sessionqueue
Modifier and TypeMethodDescriptionabstract List<SessionRequest>
NewSessionQueue.getNextAvailable
(Map<Capabilities, Long> stereotypes) -
Uses of Capabilities in org.openqa.selenium.grid.sessionqueue.local
Modifier and TypeMethodDescriptionLocalNewSessionQueue.getNextAvailable
(Map<Capabilities, Long> stereotypes) -
Uses of Capabilities in org.openqa.selenium.grid.sessionqueue.remote
Modifier and TypeMethodDescriptionRemoteNewSessionQueue.getNextAvailable
(Map<Capabilities, Long> stereotypes) -
Uses of Capabilities in org.openqa.selenium.ie
Modifier and TypeClassDescriptionclass
Options for configuring the use of IE.Modifier and TypeMethodDescriptionInternetExplorerDriverInfo.getCanonicalCapabilities()
InternetExplorerDriverService.getDefaultDriverOptions()
Modifier and TypeMethodDescriptionInternetExplorerDriverInfo.createDriver
(Capabilities capabilities) boolean
InternetExplorerDriverInfo.isSupporting
(Capabilities capabilities) InternetExplorerOptions.merge
(Capabilities extraCapabilities) int
InternetExplorerDriverService.Builder.score
(Capabilities capabilities) -
Uses of Capabilities in org.openqa.selenium.remote
Modifier and TypeClassDescriptionclass
AbstractDriverOptions<DO extends AbstractDriverOptions>
class
Modifier and TypeFieldDescriptionstatic final BiConsumer<Span,
Capabilities> RemoteTags.CAPABILITIES
static final BiConsumer<AttributeMap,
Capabilities> RemoteTags.CAPABILITIES_EVENT
Modifier and TypeMethodDescriptionAddHasAuthentication.isApplicable()
AddHasLogEvents.isApplicable()
AugmenterProvider.isApplicable()
NewSessionPayload.stream()
Stream theCapabilities
encoded in the payload used to create this instance.Modifier and TypeMethodDescriptionRemoteWebDriverBuilder.addAlternative
(Capabilities options) Add to the list of possible configurations that might be asked for.static NewSessionPayload
NewSessionPayload.create
(Capabilities caps) AddHasAuthentication.getImplementation
(Capabilities capabilities, ExecuteMethod executeMethod) AddHasLogEvents.getImplementation
(Capabilities capabilities, ExecuteMethod executeMethod) AugmenterProvider.getImplementation
(Capabilities capabilities, ExecuteMethod executeMethod) For the interface that this provider describes, return an implementation.default boolean
Browser.is
(Capabilities caps) DesiredCapabilities.merge
(Capabilities extraCapabilities) Merges the extra capabilities provided into this DesiredCapabilities instance.static CommandPayload
DriverCommand.NEW_SESSION
(Capabilities capabilities) RemoteWebDriverBuilder.oneOf
(Capabilities maybeThis, Capabilities... orOneOfThese) Clears the current set of alternative browsers and instead sets the list of possible choices to the arguments given to this method.protected void
RemoteWebDriver.startSession
(Capabilities capabilities) Modifier and TypeMethodDescription<X> Augmenter
Augmenter.addDriverAugmentation
(String capabilityName, Class<X> implementThis, BiFunction<Capabilities, ExecuteMethod, X> usingThis) <X> Augmenter
Augmenter.addDriverAugmentation
(Predicate<Capabilities> whenThisMatches, Class<X> implementThis, BiFunction<Capabilities, ExecuteMethod, X> usingThis) <X> Augmenter
Augmenter.addDriverAugmentation
(Predicate<Capabilities> whenThisMatches, Class<X> implementThis, BiFunction<Capabilities, ExecuteMethod, X> usingThis) static NewSessionPayload
NewSessionPayload.create
(Collection<Capabilities> caps) static CommandPayload
DriverCommand.NEW_SESSION
(Collection<Capabilities> capabilities) ModifierConstructorDescriptionDesiredCapabilities
(Capabilities other) DesiredCapabilities
(Capabilities... others) RemoteWebDriver
(URL remoteAddress, Capabilities capabilities) RemoteWebDriver
(URL remoteAddress, Capabilities capabilities, boolean enableTracing) RemoteWebDriver
(Capabilities capabilities) RemoteWebDriver
(Capabilities capabilities, boolean enableTracing) RemoteWebDriver
(CommandExecutor executor, Capabilities capabilities) -
Uses of Capabilities in org.openqa.selenium.remote.html5
Modifier and TypeMethodDescriptionAddWebStorage.getImplementation
(Capabilities capabilities, ExecuteMethod executeMethod) Deprecated. -
Uses of Capabilities in org.openqa.selenium.remote.service
Modifier and TypeMethodDescriptionabstract int
DriverService.Builder.score
(Capabilities capabilities) Provides a measure of how strongly thisDriverService
supports the givencapabilities
. -
Uses of Capabilities in org.openqa.selenium.safari
Modifier and TypeMethodDescriptionSafariDriverInfo.getCanonicalCapabilities()
SafariTechPreviewDriverInfo.getCanonicalCapabilities()
protected Capabilities
SafariDriverService.getDefaultDriverOptions()
SafariTechPreviewDriverService.getDefaultDriverOptions()
Modifier and TypeMethodDescriptionSafariDriverInfo.createDriver
(Capabilities capabilities) SafariTechPreviewDriverInfo.createDriver
(Capabilities capabilities) static SafariOptions
SafariOptions.fromCapabilities
(Capabilities capabilities) Construct aSafariOptions
instance from given capabilities.AddHasDebugger.getImplementation
(Capabilities capabilities, ExecuteMethod executeMethod) AddHasPermissions.getImplementation
(Capabilities capabilities, ExecuteMethod executeMethod) boolean
SafariDriverInfo.isSupporting
(Capabilities capabilities) boolean
SafariTechPreviewDriverInfo.isSupporting
(Capabilities capabilities) SafariOptions.merge
(Capabilities extraCapabilities) int
SafariDriverService.Builder.score
(Capabilities capabilities) int
SafariTechPreviewDriverService.Builder.score
(Capabilities capabilities)