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