We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c0c05fe commit b39a35cCopy full SHA for b39a35c
src/main/java/io/github/bonigarcia/seljup/SeleniumJupiter.java
@@ -25,7 +25,6 @@
25
import static java.util.Arrays.asList;
26
import static java.util.Arrays.stream;
27
import static java.util.Collections.singletonList;
28
-import static java.util.stream.Collectors.toList;
29
import static org.junit.platform.commons.util.AnnotationUtils.findAnnotation;
30
import static org.slf4j.LoggerFactory.getLogger;
31
@@ -508,7 +507,7 @@ public boolean supportsTestTemplate(ExtensionContext context) {
508
507
.map(s -> s.equals(WebDriver.class)
509
|| s.equals(RemoteWebDriver.class)
510
|| selenideHandler.isSelenide(s))
511
- .collect(toList()).contains(false);
+ .toList().contains(false);
512
}
513
return allWebDriver;
514
0 commit comments