1
0
mirror of synced 2026-05-22 18:53:15 +00:00

feat: roll 1.32 driver, implement waitForCondition (#1237)

* Rolled recent driver
* Implemented waitForCondition in Page and BrowserContext

https://github.com/microsoft/playwright-java/issues/1208
Fixes https://github.com/microsoft/playwright-java/issues/1228
This commit is contained in:
Yury Semikhatsky
2023-03-20 10:27:29 -07:00
committed by GitHub
parent b260125389
commit 470df42b36
28 changed files with 953 additions and 562 deletions
@@ -967,6 +967,10 @@ class Interface extends TypeDefinition {
if (asList("Page", "Browser", "BrowserContext", "WebSocket", "Worker").contains(jsonName)) {
output.add("import java.util.function.Consumer;");
}
if (asList("Page", "BrowserContext").contains(jsonName)) {
output.add("import java.util.function.BooleanSupplier;");
}
if (asList("Page", "Frame", "BrowserContext", "WebSocket").contains(jsonName)) {
output.add("import java.util.function.Predicate;");
}