feat: roll driver, implement context tracing and network APIs (#444)
This commit is contained in:
@@ -867,7 +867,7 @@ class Interface extends TypeDefinition {
|
||||
if ("Download".equals(jsonName)) {
|
||||
output.add("import java.io.InputStream;");
|
||||
}
|
||||
if (asList("Page", "Frame", "ElementHandle", "FileChooser", "Browser", "BrowserContext", "BrowserType", "Download", "Route", "Selectors", "Video").contains(jsonName)) {
|
||||
if (asList("Page", "Frame", "ElementHandle", "FileChooser", "Browser", "BrowserContext", "BrowserType", "Download", "Route", "Selectors", "Tracing", "Video").contains(jsonName)) {
|
||||
output.add("import java.nio.file.Path;");
|
||||
}
|
||||
output.add("import java.util.*;");
|
||||
@@ -1016,6 +1016,10 @@ class Enum extends TypeDefinition {
|
||||
}
|
||||
enumValues.add(value.substring(1, value.length() - 1).replace("-", "_").toUpperCase());
|
||||
}
|
||||
if ("BrowserChannel".equals(jsonName)) {
|
||||
// Firefox stable 'channel' was removed in 1.12.0
|
||||
enumValues.add("@Deprecated FIREFOX_STABLE");
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
Reference in New Issue
Block a user