diff --git a/README.md b/README.md index b24022c4..43d6f57c 100644 --- a/README.md +++ b/README.md @@ -11,9 +11,9 @@ Playwright is a Java library to automate [Chromium](https://www.chromium.org/Hom | | Linux | macOS | Windows | | :--- | :---: | :---: | :---: | -| Chromium 111.0.5563.64 | :white_check_mark: | :white_check_mark: | :white_check_mark: | +| Chromium 112.0.5615.29 | :white_check_mark: | :white_check_mark: | :white_check_mark: | | WebKit 16.4 | ✅ | ✅ | ✅ | -| Firefox 109.0 | :white_check_mark: | :white_check_mark: | :white_check_mark: | +| Firefox 111.0 | :white_check_mark: | :white_check_mark: | :white_check_mark: | Headless execution is supported for all the browsers on all platforms. Check out [system requirements](https://playwright.dev/java/docs/next/intro/#system-requirements) for details. diff --git a/playwright/src/main/java/com/microsoft/playwright/BrowserContext.java b/playwright/src/main/java/com/microsoft/playwright/BrowserContext.java index 2c544569..2079e376 100644 --- a/playwright/src/main/java/com/microsoft/playwright/BrowserContext.java +++ b/playwright/src/main/java/com/microsoft/playwright/BrowserContext.java @@ -20,6 +20,7 @@ import com.microsoft.playwright.options.*; import java.nio.file.Path; import java.util.*; import java.util.function.Consumer; +import java.util.function.BooleanSupplier; import java.util.function.Predicate; import java.util.regex.Pattern; @@ -175,18 +176,6 @@ public interface BrowserContext extends AutoCloseable { } } class RouteFromHAROptions { - /** - * Optional setting to control resource content management. If {@code omit} is specified, content is not persisted. If - * {@code attach} is specified, resources are persisted as separate files or entries in the ZIP archive. If {@code embed} - * is specified, content is stored inline the HAR file - */ - public HarContentPolicy content; - /** - * When set to {@code minimal}, only record information necessary for routing from HAR. This omits sizes, timing, page, - * cookies, security and other types of HAR information that are not used when replaying from HAR. Defaults to {@code - * minimal}. - */ - public HarMode mode; /** *