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 36e0213 commit 0c154f2Copy full SHA for 0c154f2
1 file changed
java/test/org/openqa/selenium/chromium/LoggingTest.java
@@ -58,7 +58,7 @@ void demonstrateLoggingWorks() throws InterruptedException {
58
((JavascriptExecutor) driver).executeScript("console.log('I like cheese');");
59
60
assertThat(latch.await(10, SECONDS)).isTrue();
61
- assertThat(seen.get().toString()).contains("I like cheese");
+ assertThat(seen.get().getMessages()).contains("I like cheese");
62
}
63
64
@Test
0 commit comments