diff --git a/java/test/org/openqa/selenium/bidi/browsingcontext/BrowsingContextTest.java b/java/test/org/openqa/selenium/bidi/browsingcontext/BrowsingContextTest.java index ca00a2fc39e1a..0c56211c8fb90 100644 --- a/java/test/org/openqa/selenium/bidi/browsingcontext/BrowsingContextTest.java +++ b/java/test/org/openqa/selenium/bidi/browsingcontext/BrowsingContextTest.java @@ -344,7 +344,8 @@ void canDismissUserPromptWithUserText() { } // The resulting screenshot should be checked for expected image. - // Since, sending wrong command parameters (for viewport or element screenshot), defaults to capture screenshot functionality. + // Since, sending wrong command parameters (for viewport or element screenshot), defaults to + // capture screenshot functionality. // So it can lead to a false positive if underlying implementation is not doing the right thing. // However, comparing images is a hard problem. Especially when they are different sizes. // TODO: A potential solution can be replicating classic WebDriver screenshot tests.