diff --git a/README.md b/README.md index 8df5008d..b24022c4 100644 --- a/README.md +++ b/README.md @@ -11,7 +11,7 @@ Playwright is a Java library to automate [Chromium](https://www.chromium.org/Hom | | Linux | macOS | Windows | | :--- | :---: | :---: | :---: | -| Chromium 111.0.5563.19 | :white_check_mark: | :white_check_mark: | :white_check_mark: | +| Chromium 111.0.5563.64 | :white_check_mark: | :white_check_mark: | :white_check_mark: | | WebKit 16.4 | ✅ | ✅ | ✅ | | Firefox 109.0 | :white_check_mark: | :white_check_mark: | :white_check_mark: | diff --git a/playwright/src/main/java/com/microsoft/playwright/BrowserContext.java b/playwright/src/main/java/com/microsoft/playwright/BrowserContext.java index 675b2236..2c544569 100644 --- a/playwright/src/main/java/com/microsoft/playwright/BrowserContext.java +++ b/playwright/src/main/java/com/microsoft/playwright/BrowserContext.java @@ -175,6 +175,18 @@ 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; /** *