diff --git a/java/test/org/openqa/selenium/grid/node/NodeTest.java b/java/test/org/openqa/selenium/grid/node/NodeTest.java index fc5d0feeb6e22..d083372b7135c 100644 --- a/java/test/org/openqa/selenium/grid/node/NodeTest.java +++ b/java/test/org/openqa/selenium/grid/node/NodeTest.java @@ -190,6 +190,11 @@ void shouldCreateASessionIfTheCorrectCapabilitiesArePassedToIt() { void shouldRetryIfNoMatchingSlotIsAvailable() { Node local = LocalNode.builder(tracer, bus, uri, uri, registrationSecret) .add(caps, new SessionFactory() { + @Override + public Capabilities getStereotype() { + return null; + } + @Override public Either apply( CreateSessionRequest createSessionRequest) {