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 540808b commit 9edc5f3Copy full SHA for 9edc5f3
playwright/src/test/java/com/microsoft/playwright/TestDownload.java
@@ -94,7 +94,9 @@ void shouldReportDownloadWhenNavigationTurnsIntoDownload() throws IOException {
94
byte[] bytes = readAllBytes(path);
95
assertEquals("Hello world", new String(bytes, UTF_8));
96
assertNotNull(error[0]);
97
- assertTrue(error[0].getMessage().contains("Download is starting"));
+ if (!chromiumVersionLessThan(browser.version(), "140.0.0.0")) {
98
+ assertTrue(error[0].getMessage().contains("Download is starting"));
99
+ }
100
if (!isFirefox())
101
assertEquals("about:blank", page.url());
102
page.close();
0 commit comments