MCPcopy Create free account
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
add_commandsMethod · 0.65
callMethod · 0.65
common_headersMethod · 0.65
command_listMethod · 0.65
command_listMethod · 0.65
command_listMethod · 0.65
findersMethod · 0.65
send_cmdMethod · 0.65
as_jsonMethod · 0.65
encodeMethod · 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 8

a_stack_frameMethod · 0.52
print_envMethod · 0.52
issue15991Method · 0.52
getMethod · 0.52