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

chore: roll driver to 1.45.0 beta, implement new features (#1600)

This commit is contained in:
Yury Semikhatsky
2024-06-18 17:08:45 -07:00
committed by GitHub
parent 226d075355
commit 4cc3fa3012
34 changed files with 1491 additions and 124 deletions
@@ -978,6 +978,9 @@ class Interface extends TypeDefinition {
if (asList("Page", "Frame", "ElementHandle", "Locator", "FormData", "APIRequest", "APIRequestContext", "FileChooser", "Browser", "BrowserContext", "BrowserType", "Download", "Route", "Selectors", "Tracing", "Video").contains(jsonName)) {
output.add("import java.nio.file.Path;");
}
if ("Clock".equals(jsonName)) {
output.add("import java.util.Date;");
}
if (asList("Page", "Frame", "ElementHandle", "Locator", "APIRequest", "Browser", "BrowserContext", "BrowserType", "Route", "Request", "Response", "JSHandle", "ConsoleMessage", "APIResponse", "Playwright").contains(jsonName)) {
output.add("import java.util.*;");
}