diff --git a/README.md b/README.md index f5e76596..afb42a98 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 117.0.5938.35 | :white_check_mark: | :white_check_mark: | :white_check_mark: | +| Chromium 117.0.5938.48 | :white_check_mark: | :white_check_mark: | :white_check_mark: | | WebKit 17.0 | ✅ | ✅ | ✅ | -| Firefox 115.0 | :white_check_mark: | :white_check_mark: | :white_check_mark: | +| Firefox 117.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 6eb2f8da..a6360042 100644 --- a/playwright/src/main/java/com/microsoft/playwright/BrowserContext.java +++ b/playwright/src/main/java/com/microsoft/playwright/BrowserContext.java @@ -128,14 +128,14 @@ public interface BrowserContext extends AutoCloseable { void offPage(Consumer handler); /** - * Emitted when unhandled exceptions occur on any pages created through this context. To only listen for {@code pageError} - * events from a particular page, use {@link Page#onPageError Page.onPageError()}. + * Emitted when exception is unhandled in any of the pages in this context. To listen for errors from a particular page, + * use {@link Page#onPageError Page.onPageError()} instead. */ - void onPageError(Consumer handler); + void onWebError(Consumer handler); /** - * Removes handler that was previously added with {@link #onPageError onPageError(handler)}. + * Removes handler that was previously added with {@link #onWebError onWebError(handler)}. */ - void offPageError(Consumer handler); + void offWebError(Consumer handler); /** * Emitted when a request is issued from any pages created through this context. The [request] object is read-only. To only diff --git a/playwright/src/main/java/com/microsoft/playwright/ElementHandle.java b/playwright/src/main/java/com/microsoft/playwright/ElementHandle.java index eb6828b7..f046e8f4 100644 --- a/playwright/src/main/java/com/microsoft/playwright/ElementHandle.java +++ b/playwright/src/main/java/com/microsoft/playwright/ElementHandle.java @@ -1582,7 +1582,7 @@ public interface ElementHandle extends JSHandle { * href="https://developer.mozilla.org/en-US/docs/Web/API/HTMLLabelElement/control">control, the control will be filled * instead. * - *

To send fine-grained keyboard events, use {@link Keyboard#type Keyboard.type()}. + *

To send fine-grained keyboard events, use {@link Locator#pressSequentially Locator.pressSequentially()}. * * @param value Value to set for the {@code }, {@code