MCPcopy Index your code
hub / github.com/SeleniumHQ/selenium / merge

Method merge

java/src/org/openqa/selenium/Capabilities.java:102–102  ·  view source on GitHub ↗

Merge two Capabilities together and return the union of the two as a new Capabilities instance. Capabilities from other will override those in this.

(Capabilities other)

Source from the content-addressed store, hash-verified

100 * Capabilities} instance. Capabilities from {@code other} will override those in {@code this}.
101 */
102 default Capabilities merge(Capabilities other) {
103 return new ImmutableCapabilities(new MutableCapabilities(this).merge(other));
104 }
105

Callers 15

newSessionMethod · 0.95
applyMethod · 0.95
jquery.min.jsFile · 0.65
builderMethod · 0.65
session.jsFile · 0.65
capabilities.jsFile · 0.65
issue15991Method · 0.65
getMethod · 0.65

Implementers 3

ImmutableCapabilitiesjava/src/org/openqa/selenium/Immutable
PersistentCapabilitiesjava/src/org/openqa/selenium/Persisten
MutableCapabilitiesjava/src/org/openqa/selenium/MutableCa

Calls

no outgoing calls

Tested by 6

issue15991Method · 0.52
getMethod · 0.52