From 4049952751857f4f9f425dc972ab07a0be963879 Mon Sep 17 00:00:00 2001 From: Yury Semikhatsky Date: Thu, 6 May 2021 18:37:26 +0000 Subject: [PATCH] chore: roll driver to 1.11.0-1620262237000 (#428) --- .../microsoft/playwright/ConsoleMessage.java | 6 + .../microsoft/playwright/ElementHandle.java | 182 ++++++++++----- .../java/com/microsoft/playwright/Frame.java | 188 ++++++++++----- .../java/com/microsoft/playwright/Page.java | 218 ++++++++++++------ .../playwright/options/BrowserChannel.java | 3 +- scripts/CLI_VERSION | 2 +- 6 files changed, 414 insertions(+), 185 deletions(-) diff --git a/playwright/src/main/java/com/microsoft/playwright/ConsoleMessage.java b/playwright/src/main/java/com/microsoft/playwright/ConsoleMessage.java index 7d206d4b..39d13631 100644 --- a/playwright/src/main/java/com/microsoft/playwright/ConsoleMessage.java +++ b/playwright/src/main/java/com/microsoft/playwright/ConsoleMessage.java @@ -22,11 +22,17 @@ import java.util.*; * {@code ConsoleMessage} objects are dispatched by page via the {@link Page#onConsole Page.onConsole()} event. */ public interface ConsoleMessage { + /** + * List of arguments passed to a {@code console} function call. See also {@link Page#onConsole Page.onConsole()}. + */ List args(); /** * URL of the resource followed by 0-based line and column numbers in the resource formatted as {@code URL:line:column}. */ String location(); + /** + * The text of the console message. + */ String text(); /** * One of the following values: {@code "log"}, {@code "debug"}, {@code "info"}, {@code "error"}, {@code "warning"}, {@code "dir"}, {@code "dirxml"}, {@code "table"}, diff --git a/playwright/src/main/java/com/microsoft/playwright/ElementHandle.java b/playwright/src/main/java/com/microsoft/playwright/ElementHandle.java index 160d922b..e973c3dd 100644 --- a/playwright/src/main/java/com/microsoft/playwright/ElementHandle.java +++ b/playwright/src/main/java/com/microsoft/playwright/ElementHandle.java @@ -997,10 +997,15 @@ public interface ElementHandle extends JSHandle { Object evalOnSelectorAll(String selector, String expression, Object arg); /** * This method waits for actionability checks, focuses the - * element, fills it and triggers an {@code input} event after filling. If the element is inside the {@code