From 5ee8f23380353230b7de443c2dbf215806bafb08 Mon Sep 17 00:00:00 2001 From: Yury Semikhatsky Date: Thu, 17 Feb 2022 15:26:10 -0800 Subject: [PATCH] fix(docs): drop trailing slash from link path (#818) --- .../com/microsoft/playwright/BrowserType.java | 12 +- .../microsoft/playwright/ElementHandle.java | 240 +++++++------ .../java/com/microsoft/playwright/Frame.java | 328 ++++++++--------- .../microsoft/playwright/FrameLocator.java | 6 +- .../com/microsoft/playwright/Locator.java | 196 +++++------ .../java/com/microsoft/playwright/Page.java | 332 +++++++++--------- .../com/microsoft/playwright/Playwright.java | 2 +- .../com/microsoft/playwright/Selectors.java | 2 +- .../com/microsoft/playwright/Tracing.java | 2 +- .../assertions/LocatorAssertions.java | 10 +- .../playwright/tools/ApiGenerator.java | 2 +- 11 files changed, 564 insertions(+), 568 deletions(-) diff --git a/playwright/src/main/java/com/microsoft/playwright/BrowserType.java b/playwright/src/main/java/com/microsoft/playwright/BrowserType.java index c8f1bfe6..c576d09a 100644 --- a/playwright/src/main/java/com/microsoft/playwright/BrowserType.java +++ b/playwright/src/main/java/com/microsoft/playwright/BrowserType.java @@ -130,7 +130,7 @@ public interface BrowserType { /** * Browser distribution channel. Supported values are "chrome", "chrome-beta", "chrome-dev", "chrome-canary", "msedge", * "msedge-beta", "msedge-dev", "msedge-canary". Read more about using Google Chrome and Microsoft Edge. + * href="https://playwright.dev/java/docs/browsers#google-chrome--microsoft-edge">Google Chrome and Microsoft Edge. */ public Object channel; /** @@ -222,7 +222,7 @@ public interface BrowserType { /** * Browser distribution channel. Supported values are "chrome", "chrome-beta", "chrome-dev", "chrome-canary", "msedge", * "msedge-beta", "msedge-dev", "msedge-canary". Read more about using Google Chrome and Microsoft Edge. + * href="https://playwright.dev/java/docs/browsers#google-chrome--microsoft-edge">Google Chrome and Microsoft Edge. */ public LaunchOptions setChannel(BrowserChannel channel) { this.channel = channel; @@ -231,7 +231,7 @@ public interface BrowserType { /** * Browser distribution channel. Supported values are "chrome", "chrome-beta", "chrome-dev", "chrome-canary", "msedge", * "msedge-beta", "msedge-dev", "msedge-canary". Read more about using Google Chrome and Microsoft Edge. + * href="https://playwright.dev/java/docs/browsers#google-chrome--microsoft-edge">Google Chrome and Microsoft Edge. */ public LaunchOptions setChannel(String channel) { this.channel = channel; @@ -399,7 +399,7 @@ public interface BrowserType { /** * Browser distribution channel. Supported values are "chrome", "chrome-beta", "chrome-dev", "chrome-canary", "msedge", * "msedge-beta", "msedge-dev", "msedge-canary". Read more about using Google Chrome and Microsoft Edge. + * href="https://playwright.dev/java/docs/browsers#google-chrome--microsoft-edge">Google Chrome and Microsoft Edge. */ public Object channel; /** @@ -625,7 +625,7 @@ public interface BrowserType { /** * Browser distribution channel. Supported values are "chrome", "chrome-beta", "chrome-dev", "chrome-canary", "msedge", * "msedge-beta", "msedge-dev", "msedge-canary". Read more about using Google Chrome and Microsoft Edge. + * href="https://playwright.dev/java/docs/browsers#google-chrome--microsoft-edge">Google Chrome and Microsoft Edge. */ public LaunchPersistentContextOptions setChannel(BrowserChannel channel) { this.channel = channel; @@ -634,7 +634,7 @@ public interface BrowserType { /** * Browser distribution channel. Supported values are "chrome", "chrome-beta", "chrome-dev", "chrome-canary", "msedge", * "msedge-beta", "msedge-dev", "msedge-canary". Read more about using Google Chrome and Microsoft Edge. + * href="https://playwright.dev/java/docs/browsers#google-chrome--microsoft-edge">Google Chrome and Microsoft Edge. */ public LaunchPersistentContextOptions setChannel(String channel) { this.channel = channel; diff --git a/playwright/src/main/java/com/microsoft/playwright/ElementHandle.java b/playwright/src/main/java/com/microsoft/playwright/ElementHandle.java index c20b13fd..4926d627 100644 --- a/playwright/src/main/java/com/microsoft/playwright/ElementHandle.java +++ b/playwright/src/main/java/com/microsoft/playwright/ElementHandle.java @@ -59,7 +59,7 @@ import java.util.*; public interface ElementHandle extends JSHandle { class CheckOptions { /** - * Whether to bypass the actionability checks. Defaults to + * Whether to bypass the actionability checks. Defaults to * {@code false}. */ public Boolean force; @@ -81,14 +81,14 @@ public interface ElementHandle extends JSHandle { */ public Double timeout; /** - * When set, this method only performs the actionability + * When set, this method only performs the actionability * checks and skips the action. Defaults to {@code false}. Useful to wait until the element is ready for the action without * performing it. */ public Boolean trial; /** - * Whether to bypass the actionability checks. Defaults to + * Whether to bypass the actionability checks. Defaults to * {@code false}. */ public CheckOptions setForce(boolean force) { @@ -129,7 +129,7 @@ public interface ElementHandle extends JSHandle { return this; } /** - * When set, this method only performs the actionability + * When set, this method only performs the actionability * checks and skips the action. Defaults to {@code false}. Useful to wait until the element is ready for the action without * performing it. */ @@ -152,7 +152,7 @@ public interface ElementHandle extends JSHandle { */ public Double delay; /** - * Whether to bypass the actionability checks. Defaults to + * Whether to bypass the actionability checks. Defaults to * {@code false}. */ public Boolean force; @@ -179,7 +179,7 @@ public interface ElementHandle extends JSHandle { */ public Double timeout; /** - * When set, this method only performs the actionability + * When set, this method only performs the actionability * checks and skips the action. Defaults to {@code false}. Useful to wait until the element is ready for the action without * performing it. */ @@ -207,7 +207,7 @@ public interface ElementHandle extends JSHandle { return this; } /** - * Whether to bypass the actionability checks. Defaults to + * Whether to bypass the actionability checks. Defaults to * {@code false}. */ public ClickOptions setForce(boolean force) { @@ -256,7 +256,7 @@ public interface ElementHandle extends JSHandle { return this; } /** - * When set, this method only performs the actionability + * When set, this method only performs the actionability * checks and skips the action. Defaults to {@code false}. Useful to wait until the element is ready for the action without * performing it. */ @@ -275,7 +275,7 @@ public interface ElementHandle extends JSHandle { */ public Double delay; /** - * Whether to bypass the actionability checks. Defaults to + * Whether to bypass the actionability checks. Defaults to * {@code false}. */ public Boolean force; @@ -302,7 +302,7 @@ public interface ElementHandle extends JSHandle { */ public Double timeout; /** - * When set, this method only performs the actionability + * When set, this method only performs the actionability * checks and skips the action. Defaults to {@code false}. Useful to wait until the element is ready for the action without * performing it. */ @@ -323,7 +323,7 @@ public interface ElementHandle extends JSHandle { return this; } /** - * Whether to bypass the actionability checks. Defaults to + * Whether to bypass the actionability checks. Defaults to * {@code false}. */ public DblclickOptions setForce(boolean force) { @@ -372,7 +372,7 @@ public interface ElementHandle extends JSHandle { return this; } /** - * When set, this method only performs the actionability + * When set, this method only performs the actionability * checks and skips the action. Defaults to {@code false}. Useful to wait until the element is ready for the action without * performing it. */ @@ -383,7 +383,7 @@ public interface ElementHandle extends JSHandle { } class FillOptions { /** - * Whether to bypass the actionability checks. Defaults to + * Whether to bypass the actionability checks. Defaults to * {@code false}. */ public Boolean force; @@ -401,7 +401,7 @@ public interface ElementHandle extends JSHandle { public Double timeout; /** - * Whether to bypass the actionability checks. Defaults to + * Whether to bypass the actionability checks. Defaults to * {@code false}. */ public FillOptions setForce(boolean force) { @@ -429,7 +429,7 @@ public interface ElementHandle extends JSHandle { } class HoverOptions { /** - * Whether to bypass the actionability checks. Defaults to + * Whether to bypass the actionability checks. Defaults to * {@code false}. */ public Boolean force; @@ -450,14 +450,14 @@ public interface ElementHandle extends JSHandle { */ public Double timeout; /** - * When set, this method only performs the actionability + * When set, this method only performs the actionability * checks and skips the action. Defaults to {@code false}. Useful to wait until the element is ready for the action without * performing it. */ public Boolean trial; /** - * Whether to bypass the actionability checks. Defaults to + * Whether to bypass the actionability checks. Defaults to * {@code false}. */ public HoverOptions setForce(boolean force) { @@ -497,7 +497,7 @@ public interface ElementHandle extends JSHandle { return this; } /** - * When set, this method only performs the actionability + * When set, this method only performs the actionability * checks and skips the action. Defaults to {@code false}. Useful to wait until the element is ready for the action without * performing it. */ @@ -656,7 +656,7 @@ public interface ElementHandle extends JSHandle { } class SelectOptionOptions { /** - * Whether to bypass the actionability checks. Defaults to + * Whether to bypass the actionability checks. Defaults to * {@code false}. */ public Boolean force; @@ -674,7 +674,7 @@ public interface ElementHandle extends JSHandle { public Double timeout; /** - * Whether to bypass the actionability checks. Defaults to + * Whether to bypass the actionability checks. Defaults to * {@code false}. */ public SelectOptionOptions setForce(boolean force) { @@ -702,7 +702,7 @@ public interface ElementHandle extends JSHandle { } class SelectTextOptions { /** - * Whether to bypass the actionability checks. Defaults to + * Whether to bypass the actionability checks. Defaults to * {@code false}. */ public Boolean force; @@ -714,7 +714,7 @@ public interface ElementHandle extends JSHandle { public Double timeout; /** - * Whether to bypass the actionability checks. Defaults to + * Whether to bypass the actionability checks. Defaults to * {@code false}. */ public SelectTextOptions setForce(boolean force) { @@ -733,7 +733,7 @@ public interface ElementHandle extends JSHandle { } class SetCheckedOptions { /** - * Whether to bypass the actionability checks. Defaults to + * Whether to bypass the actionability checks. Defaults to * {@code false}. */ public Boolean force; @@ -755,14 +755,14 @@ public interface ElementHandle extends JSHandle { */ public Double timeout; /** - * When set, this method only performs the actionability + * When set, this method only performs the actionability * checks and skips the action. Defaults to {@code false}. Useful to wait until the element is ready for the action without * performing it. */ public Boolean trial; /** - * Whether to bypass the actionability checks. Defaults to + * Whether to bypass the actionability checks. Defaults to * {@code false}. */ public SetCheckedOptions setForce(boolean force) { @@ -803,7 +803,7 @@ public interface ElementHandle extends JSHandle { return this; } /** - * When set, this method only performs the actionability + * When set, this method only performs the actionability * checks and skips the action. Defaults to {@code false}. Useful to wait until the element is ready for the action without * performing it. */ @@ -847,7 +847,7 @@ public interface ElementHandle extends JSHandle { } class TapOptions { /** - * Whether to bypass the actionability checks. Defaults to + * Whether to bypass the actionability checks. Defaults to * {@code false}. */ public Boolean force; @@ -874,14 +874,14 @@ public interface ElementHandle extends JSHandle { */ public Double timeout; /** - * When set, this method only performs the actionability + * When set, this method only performs the actionability * checks and skips the action. Defaults to {@code false}. Useful to wait until the element is ready for the action without * performing it. */ public Boolean trial; /** - * Whether to bypass the actionability checks. Defaults to + * Whether to bypass the actionability checks. Defaults to * {@code false}. */ public TapOptions setForce(boolean force) { @@ -930,7 +930,7 @@ public interface ElementHandle extends JSHandle { return this; } /** - * When set, this method only performs the actionability + * When set, this method only performs the actionability * checks and skips the action. Defaults to {@code false}. Useful to wait until the element is ready for the action without * performing it. */ @@ -985,7 +985,7 @@ public interface ElementHandle extends JSHandle { } class UncheckOptions { /** - * Whether to bypass the actionability checks. Defaults to + * Whether to bypass the actionability checks. Defaults to * {@code false}. */ public Boolean force; @@ -1007,14 +1007,14 @@ public interface ElementHandle extends JSHandle { */ public Double timeout; /** - * When set, this method only performs the actionability + * When set, this method only performs the actionability * checks and skips the action. Defaults to {@code false}. Useful to wait until the element is ready for the action without * performing it. */ public Boolean trial; /** - * Whether to bypass the actionability checks. Defaults to + * Whether to bypass the actionability checks. Defaults to * {@code false}. */ public UncheckOptions setForce(boolean force) { @@ -1055,7 +1055,7 @@ public interface ElementHandle extends JSHandle { return this; } /** - * When set, this method only performs the actionability + * When set, this method only performs the actionability * checks and skips the action. Defaults to {@code false}. Useful to wait until the element is ready for the action without * performing it. */ @@ -1164,7 +1164,7 @@ public interface ElementHandle extends JSHandle { *
    *
  1. Ensure that element is a checkbox or a radio input. If not, this method throws. If the element is already checked, this * method returns immediately.
  2. - *
  3. Wait for actionability checks on the element, unless + *
  4. Wait for actionability checks on the element, unless * {@code force} option is set.
  5. *
  6. Scroll the element into view if needed.
  7. *
  8. Use {@link Page#mouse Page.mouse()} to click in the center of the element.
  9. @@ -1185,7 +1185,7 @@ public interface ElementHandle extends JSHandle { *
      *
    1. Ensure that element is a checkbox or a radio input. If not, this method throws. If the element is already checked, this * method returns immediately.
    2. - *
    3. Wait for actionability checks on the element, unless + *
    4. Wait for actionability checks on the element, unless * {@code force} option is set.
    5. *
    6. Scroll the element into view if needed.
    7. *
    8. Use {@link Page#mouse Page.mouse()} to click in the center of the element.
    9. @@ -1202,7 +1202,7 @@ public interface ElementHandle extends JSHandle { /** * This method clicks the element by performing the following steps: *
        - *
      1. Wait for actionability checks on the element, unless + *
      2. Wait for actionability checks on the element, unless * {@code force} option is set.
      3. *
      4. Scroll the element into view if needed.
      5. *
      6. Use {@link Page#mouse Page.mouse()} to click in the center of the element, or the specified {@code position}.
      7. @@ -1220,7 +1220,7 @@ public interface ElementHandle extends JSHandle { /** * This method clicks the element by performing the following steps: *
          - *
        1. Wait for actionability checks on the element, unless + *
        2. Wait for actionability checks on the element, unless * {@code force} option is set.
        3. *
        4. Scroll the element into view if needed.
        5. *
        6. Use {@link Page#mouse Page.mouse()} to click in the center of the element, or the specified {@code position}.
        7. @@ -1240,7 +1240,7 @@ public interface ElementHandle extends JSHandle { /** * This method double clicks the element by performing the following steps: *
            - *
          1. Wait for actionability checks on the element, unless + *
          2. Wait for actionability checks on the element, unless * {@code force} option is set.
          3. *
          4. Scroll the element into view if needed.
          5. *
          6. Use {@link Page#mouse Page.mouse()} to double click in the center of the element, or the specified {@code position}.
          7. @@ -1261,7 +1261,7 @@ public interface ElementHandle extends JSHandle { /** * This method double clicks the element by performing the following steps: *
              - *
            1. Wait for actionability checks on the element, unless + *
            2. Wait for actionability checks on the element, unless * {@code force} option is set.
            3. *
            4. Scroll the element into view if needed.
            5. *
            6. Use {@link Page#mouse Page.mouse()} to double click in the center of the element, or the specified {@code position}.
            7. @@ -1352,7 +1352,7 @@ public interface ElementHandle extends JSHandle { * Returns the return value of {@code expression}. * *

              The method finds an element matching the specified selector in the {@code ElementHandle}s subtree and passes it as a first - * argument to {@code expression}. See Working with selectors for more + * argument to {@code expression}. See Working with selectors for more * details. If no elements match the selector, the method throws an error. * *

              If {@code expression} returns a node.innerText")); * } * - * @param selector A selector to query for. See working with selectors for more + * @param selector A selector to query for. See working with selectors for more * details. * @param expression JavaScript expression to be evaluated in the browser context. If it looks like a function declaration, it is interpreted * as a function. Otherwise, evaluated as an expression. @@ -1378,7 +1378,7 @@ public interface ElementHandle extends JSHandle { * Returns the return value of {@code expression}. * *

              The method finds an element matching the specified selector in the {@code ElementHandle}s subtree and passes it as a first - * argument to {@code expression}. See Working with selectors for more + * argument to {@code expression}. See Working with selectors for more * details. If no elements match the selector, the method throws an error. * *

              If {@code expression} returns a node.innerText")); * } * - * @param selector A selector to query for. See working with selectors for more + * @param selector A selector to query for. See working with selectors for more * details. * @param expression JavaScript expression to be evaluated in the browser context. If it looks like a function declaration, it is interpreted * as a function. Otherwise, evaluated as an expression. @@ -1403,7 +1403,7 @@ public interface ElementHandle extends JSHandle { * Returns the return value of {@code expression}. * *

              The method finds all elements matching the specified selector in the {@code ElementHandle}'s subtree and passes an array of - * matched elements as a first argument to {@code expression}. See Working + * matched elements as a first argument to {@code expression}. See Working * with selectors for more details. * *

              If {@code expression} returns a nodes.map(n => n.innerText)")); * } * - * @param selector A selector to query for. See working with selectors for more + * @param selector A selector to query for. See working with selectors for more * details. * @param expression JavaScript expression to be evaluated in the browser context. If it looks like a function declaration, it is interpreted * as a function. Otherwise, evaluated as an expression. @@ -1429,7 +1429,7 @@ public interface ElementHandle extends JSHandle { * Returns the return value of {@code expression}. * *

              The method finds all elements matching the specified selector in the {@code ElementHandle}'s subtree and passes an array of - * matched elements as a first argument to {@code expression}. See Working + * matched elements as a first argument to {@code expression}. See Working * with selectors for more details. * *

              If {@code expression} returns a nodes.map(n => n.innerText)")); * } * - * @param selector A selector to query for. See working with selectors for more + * @param selector A selector to query for. See working with selectors for more * details. * @param expression JavaScript expression to be evaluated in the browser context. If it looks like a function declaration, it is interpreted * as a function. Otherwise, evaluated as an expression. @@ -1451,7 +1451,7 @@ public interface ElementHandle extends JSHandle { */ Object evalOnSelectorAll(String selector, String expression, Object arg); /** - * This method waits for actionability checks, focuses the + * This method waits for actionability checks, focuses the * element, fills it and triggers an {@code input} event after filling. Note that you can pass an empty string to clear the input * field. * @@ -1468,7 +1468,7 @@ public interface ElementHandle extends JSHandle { fill(value, null); } /** - * This method waits for actionability checks, focuses the + * This method waits for actionability checks, focuses the * element, fills it and triggers an {@code input} event after filling. Note that you can pass an empty string to clear the input * field. * @@ -1495,7 +1495,7 @@ public interface ElementHandle extends JSHandle { /** * This method hovers over the element by performing the following steps: *

                - *
              1. Wait for actionability checks on the element, unless + *
              2. Wait for actionability checks on the element, unless * {@code force} option is set.
              3. *
              4. Scroll the element into view if needed.
              5. *
              6. Use {@link Page#mouse Page.mouse()} to hover over the center of the element, or the specified {@code position}.
              7. @@ -1513,7 +1513,7 @@ public interface ElementHandle extends JSHandle { /** * This method hovers over the element by performing the following steps: *
                  - *
                1. Wait for actionability checks on the element, unless + *
                2. Wait for actionability checks on the element, unless * {@code force} option is set.
                3. *
                4. Scroll the element into view if needed.
                5. *
                6. Use {@link Page#mouse Page.mouse()} to hover over the center of the element, or the specified {@code position}.
                7. @@ -1550,24 +1550,24 @@ public interface ElementHandle extends JSHandle { boolean isChecked(); /** * Returns whether the element is disabled, the opposite of enabled. + * href="https://playwright.dev/java/docs/actionability#enabled">enabled. */ boolean isDisabled(); /** - * Returns whether the element is editable. + * Returns whether the element is editable. */ boolean isEditable(); /** - * Returns whether the element is enabled. + * Returns whether the element is enabled. */ boolean isEnabled(); /** * Returns whether the element is hidden, the opposite of visible. + * href="https://playwright.dev/java/docs/actionability#visible">visible. */ boolean isHidden(); /** - * Returns whether the element is visible. + * Returns whether the element is visible. */ boolean isVisible(); /** @@ -1626,26 +1626,26 @@ public interface ElementHandle extends JSHandle { void press(String key, PressOptions options); /** * The method finds an element matching the specified selector in the {@code ElementHandle}'s subtree. See Working with selectors for more details. If no elements match the + * href="https://playwright.dev/java/docs/selectors">Working with selectors for more details. If no elements match the * selector, returns {@code null}. * - * @param selector A selector to query for. See working with selectors for more + * @param selector A selector to query for. See working with selectors for more * details. */ ElementHandle querySelector(String selector); /** * The method finds all elements matching the specified selector in the {@code ElementHandle}s subtree. See Working with selectors for more details. If no elements match the + * href="https://playwright.dev/java/docs/selectors">Working with selectors for more details. If no elements match the * selector, returns empty array. * - * @param selector A selector to query for. See working with selectors for more + * @param selector A selector to query for. See working with selectors for more * details. */ List querySelectorAll(String selector); /** * Returns the buffer with the captured screenshot. * - *

                  This method waits for the actionability checks, then + *

                  This method waits for the actionability checks, then * scrolls element into view before taking a screenshot. If the element is detached from DOM, the method throws an error. */ default byte[] screenshot() { @@ -1654,12 +1654,12 @@ public interface ElementHandle extends JSHandle { /** * Returns the buffer with the captured screenshot. * - *

                  This method waits for the actionability checks, then + *

                  This method waits for the actionability checks, then * scrolls element into view before taking a screenshot. If the element is detached from DOM, the method throws an error. */ byte[] screenshot(ScreenshotOptions options); /** - * This method waits for actionability checks, then tries to + * This method waits for actionability checks, then tries to * scroll element into view, unless it is completely visible as defined by IntersectionObserver's {@code ratio}. * @@ -1670,7 +1670,7 @@ public interface ElementHandle extends JSHandle { scrollIntoViewIfNeeded(null); } /** - * This method waits for actionability checks, then tries to + * This method waits for actionability checks, then tries to * scroll element into view, unless it is completely visible as defined by IntersectionObserver's {@code ratio}. * @@ -1679,8 +1679,8 @@ public interface ElementHandle extends JSHandle { */ void scrollIntoViewIfNeeded(ScrollIntoViewIfNeededOptions options); /** - * This method waits for actionability checks, waits until - * all specified options are present in the {@code } element and selects these options. * *

                  If the target element is not a {@code } element and selects these options. + * This method waits for actionability checks, waits until all + * specified options are present in the {@code } element, this method throws an error. However, if the element is inside the * {@code

                  If the target element is not a {@code } element and selects these options. + * This method waits for actionability checks, waits until all + * specified options are present in the {@code } element, this method throws an error. However, if the element is inside the * {@code

                  If the target element is not a {@code } element and selects these options. + * This method waits for actionability checks, waits until all + * specified options are present in the {@code } element, this method throws an error. However, if the element is inside the * {@code

                  If the target element is not a {@code } element and selects these options. + * This method waits for actionability checks, waits until all + * specified options are present in the {@code } element, this method throws an error. However, if the element is inside the * {@code

                  If the target element is not a {@code } element and selects these options. + * This method waits for actionability checks, waits until all + * specified options are present in the {@code } element, this method throws an error. However, if the element is inside the * {@code

                  If the target element is not a {@code } element and selects these options. + * This method waits for actionability checks, waits until all + * specified options are present in the {@code } element, this method throws an error. However, if the element is inside the * {@code

                    *
                  1. Ensure that element is a checkbox or a radio input. If not, this method throws.
                  2. *
                  3. If the element already has the right checked state, this method returns immediately.
                  4. - *
                  5. Wait for actionability checks on the matched element, + *
                  6. Wait for actionability checks on the matched element, * unless {@code force} option is set. If the element is detached during the checks, the whole action is retried.
                  7. *
                  8. Scroll the element into view if needed.
                  9. *
                  10. Use {@link Page#mouse Page.mouse()} to click in the center of the element.
                  11. @@ -2040,7 +2040,7 @@ public interface ElementHandle extends JSHandle { *
                      *
                    1. Ensure that element is a checkbox or a radio input. If not, this method throws.
                    2. *
                    3. If the element already has the right checked state, this method returns immediately.
                    4. - *
                    5. Wait for actionability checks on the matched element, + *
                    6. Wait for actionability checks on the matched element, * unless {@code force} option is set. If the element is detached during the checks, the whole action is retried.
                    7. *
                    8. Scroll the element into view if needed.
                    9. *
                    10. Use {@link Page#mouse Page.mouse()} to click in the center of the element.
                    11. @@ -2129,7 +2129,7 @@ public interface ElementHandle extends JSHandle { /** * This method taps the element by performing the following steps: *
                        - *
                      1. Wait for actionability checks on the element, unless + *
                      2. Wait for actionability checks on the element, unless * {@code force} option is set.
                      3. *
                      4. Scroll the element into view if needed.
                      5. *
                      6. Use {@link Page#touchscreen Page.touchscreen()} to tap the center of the element, or the specified {@code position}.
                      7. @@ -2149,7 +2149,7 @@ public interface ElementHandle extends JSHandle { /** * This method taps the element by performing the following steps: *
                          - *
                        1. Wait for actionability checks on the element, unless + *
                        2. Wait for actionability checks on the element, unless * {@code force} option is set.
                        3. *
                        4. Scroll the element into view if needed.
                        5. *
                        6. Use {@link Page#touchscreen Page.touchscreen()} to tap the center of the element, or the specified {@code position}.
                        7. @@ -2213,7 +2213,7 @@ public interface ElementHandle extends JSHandle { *
                            *
                          1. Ensure that element is a checkbox or a radio input. If not, this method throws. If the element is already unchecked, * this method returns immediately.
                          2. - *
                          3. Wait for actionability checks on the element, unless + *
                          4. Wait for actionability checks on the element, unless * {@code force} option is set.
                          5. *
                          6. Scroll the element into view if needed.
                          7. *
                          8. Use {@link Page#mouse Page.mouse()} to click in the center of the element.
                          9. @@ -2234,7 +2234,7 @@ public interface ElementHandle extends JSHandle { *
                              *
                            1. Ensure that element is a checkbox or a radio input. If not, this method throws. If the element is already unchecked, * this method returns immediately.
                            2. - *
                            3. Wait for actionability checks on the element, unless + *
                            4. Wait for actionability checks on the element, unless * {@code force} option is set.
                            5. *
                            6. Scroll the element into view if needed.
                            7. *
                            8. Use {@link Page#mouse Page.mouse()} to click in the center of the element.
                            9. @@ -2252,19 +2252,18 @@ public interface ElementHandle extends JSHandle { * Returns when the element satisfies the {@code state}. * *

                              Depending on the {@code state} parameter, this method waits for one of the actionability checks to pass. This method throws when the + * href="https://playwright.dev/java/docs/actionability">actionability checks to pass. This method throws when the * element is detached while waiting, unless waiting for the {@code "hidden"} state. *

                                - *
                              • {@code "visible"} Wait until the element is visible.
                              • - *
                              • {@code "hidden"} Wait until the element is not visible - * or not attached. Note that waiting for hidden - * does not throw when the element detaches.
                              • - *
                              • {@code "stable"} Wait until the element is both visible - * and stable.
                              • - *
                              • {@code "enabled"} Wait until the element is enabled.
                              • - *
                              • {@code "disabled"} Wait until the element is not - * enabled.
                              • - *
                              • {@code "editable"} Wait until the element is editable.
                              • + *
                              • {@code "visible"} Wait until the element is visible.
                              • + *
                              • {@code "hidden"} Wait until the element is not visible or + * not attached. Note that waiting for hidden does + * not throw when the element detaches.
                              • + *
                              • {@code "stable"} Wait until the element is both visible + * and stable.
                              • + *
                              • {@code "enabled"} Wait until the element is enabled.
                              • + *
                              • {@code "disabled"} Wait until the element is not enabled.
                              • + *
                              • {@code "editable"} Wait until the element is editable.
                              • *
                              * *

                              If the element does not satisfy the condition for the {@code timeout} milliseconds, this method will throw. @@ -2278,19 +2277,18 @@ public interface ElementHandle extends JSHandle { * Returns when the element satisfies the {@code state}. * *

                              Depending on the {@code state} parameter, this method waits for one of the actionability checks to pass. This method throws when the + * href="https://playwright.dev/java/docs/actionability">actionability checks to pass. This method throws when the * element is detached while waiting, unless waiting for the {@code "hidden"} state. *

                                - *
                              • {@code "visible"} Wait until the element is visible.
                              • - *
                              • {@code "hidden"} Wait until the element is not visible - * or not attached. Note that waiting for hidden - * does not throw when the element detaches.
                              • - *
                              • {@code "stable"} Wait until the element is both visible - * and stable.
                              • - *
                              • {@code "enabled"} Wait until the element is enabled.
                              • - *
                              • {@code "disabled"} Wait until the element is not - * enabled.
                              • - *
                              • {@code "editable"} Wait until the element is editable.
                              • + *
                              • {@code "visible"} Wait until the element is visible.
                              • + *
                              • {@code "hidden"} Wait until the element is not visible or + * not attached. Note that waiting for hidden does + * not throw when the element detaches.
                              • + *
                              • {@code "stable"} Wait until the element is both visible + * and stable.
                              • + *
                              • {@code "enabled"} Wait until the element is enabled.
                              • + *
                              • {@code "disabled"} Wait until the element is not enabled.
                              • + *
                              • {@code "editable"} Wait until the element is editable.
                              • *
                              * *

                              If the element does not satisfy the condition for the {@code timeout} milliseconds, this method will throw. @@ -2316,7 +2314,7 @@ public interface ElementHandle extends JSHandle { * *

                              NOTE: This method does not work across navigations, use {@link Page#waitForSelector Page.waitForSelector()} instead. * - * @param selector A selector to query for. See working with selectors for more + * @param selector A selector to query for. See working with selectors for more * details. */ default ElementHandle waitForSelector(String selector) { @@ -2340,7 +2338,7 @@ public interface ElementHandle extends JSHandle { * *

                              NOTE: This method does not work across navigations, use {@link Page#waitForSelector Page.waitForSelector()} instead. * - * @param selector A selector to query for. See working with selectors for more + * @param selector A selector to query for. See working with selectors for more * details. */ ElementHandle waitForSelector(String selector, WaitForSelectorOptions options); diff --git a/playwright/src/main/java/com/microsoft/playwright/Frame.java b/playwright/src/main/java/com/microsoft/playwright/Frame.java index 8134bdc8..f9f57fe5 100644 --- a/playwright/src/main/java/com/microsoft/playwright/Frame.java +++ b/playwright/src/main/java/com/microsoft/playwright/Frame.java @@ -151,7 +151,7 @@ public interface Frame { } class CheckOptions { /** - * Whether to bypass the actionability checks. Defaults to + * Whether to bypass the actionability checks. Defaults to * {@code false}. */ public Boolean force; @@ -178,14 +178,14 @@ public interface Frame { */ public Double timeout; /** - * When set, this method only performs the actionability + * When set, this method only performs the actionability * checks and skips the action. Defaults to {@code false}. Useful to wait until the element is ready for the action without * performing it. */ public Boolean trial; /** - * Whether to bypass the actionability checks. Defaults to + * Whether to bypass the actionability checks. Defaults to * {@code false}. */ public CheckOptions setForce(boolean force) { @@ -234,7 +234,7 @@ public interface Frame { return this; } /** - * When set, this method only performs the actionability + * When set, this method only performs the actionability * checks and skips the action. Defaults to {@code false}. Useful to wait until the element is ready for the action without * performing it. */ @@ -257,7 +257,7 @@ public interface Frame { */ public Double delay; /** - * Whether to bypass the actionability checks. Defaults to + * Whether to bypass the actionability checks. Defaults to * {@code false}. */ public Boolean force; @@ -289,7 +289,7 @@ public interface Frame { */ public Double timeout; /** - * When set, this method only performs the actionability + * When set, this method only performs the actionability * checks and skips the action. Defaults to {@code false}. Useful to wait until the element is ready for the action without * performing it. */ @@ -317,7 +317,7 @@ public interface Frame { return this; } /** - * Whether to bypass the actionability checks. Defaults to + * Whether to bypass the actionability checks. Defaults to * {@code false}. */ public ClickOptions setForce(boolean force) { @@ -374,7 +374,7 @@ public interface Frame { return this; } /** - * When set, this method only performs the actionability + * When set, this method only performs the actionability * checks and skips the action. Defaults to {@code false}. Useful to wait until the element is ready for the action without * performing it. */ @@ -393,7 +393,7 @@ public interface Frame { */ public Double delay; /** - * Whether to bypass the actionability checks. Defaults to + * Whether to bypass the actionability checks. Defaults to * {@code false}. */ public Boolean force; @@ -425,7 +425,7 @@ public interface Frame { */ public Double timeout; /** - * When set, this method only performs the actionability + * When set, this method only performs the actionability * checks and skips the action. Defaults to {@code false}. Useful to wait until the element is ready for the action without * performing it. */ @@ -446,7 +446,7 @@ public interface Frame { return this; } /** - * Whether to bypass the actionability checks. Defaults to + * Whether to bypass the actionability checks. Defaults to * {@code false}. */ public DblclickOptions setForce(boolean force) { @@ -503,7 +503,7 @@ public interface Frame { return this; } /** - * When set, this method only performs the actionability + * When set, this method only performs the actionability * checks and skips the action. Defaults to {@code false}. Useful to wait until the element is ready for the action without * performing it. */ @@ -545,7 +545,7 @@ public interface Frame { } class DragAndDropOptions { /** - * Whether to bypass the actionability checks. Defaults to + * Whether to bypass the actionability checks. Defaults to * {@code false}. */ public Boolean force; @@ -577,14 +577,14 @@ public interface Frame { */ public Double timeout; /** - * When set, this method only performs the actionability + * When set, this method only performs the actionability * checks and skips the action. Defaults to {@code false}. Useful to wait until the element is ready for the action without * performing it. */ public Boolean trial; /** - * Whether to bypass the actionability checks. Defaults to + * Whether to bypass the actionability checks. Defaults to * {@code false}. */ public DragAndDropOptions setForce(boolean force) { @@ -648,7 +648,7 @@ public interface Frame { return this; } /** - * When set, this method only performs the actionability + * When set, this method only performs the actionability * checks and skips the action. Defaults to {@code false}. Useful to wait until the element is ready for the action without * performing it. */ @@ -675,7 +675,7 @@ public interface Frame { } class FillOptions { /** - * Whether to bypass the actionability checks. Defaults to + * Whether to bypass the actionability checks. Defaults to * {@code false}. */ public Boolean force; @@ -698,7 +698,7 @@ public interface Frame { public Double timeout; /** - * Whether to bypass the actionability checks. Defaults to + * Whether to bypass the actionability checks. Defaults to * {@code false}. */ public FillOptions setForce(boolean force) { @@ -852,7 +852,7 @@ public interface Frame { } class HoverOptions { /** - * Whether to bypass the actionability checks. Defaults to + * Whether to bypass the actionability checks. Defaults to * {@code false}. */ public Boolean force; @@ -878,14 +878,14 @@ public interface Frame { */ public Double timeout; /** - * When set, this method only performs the actionability + * When set, this method only performs the actionability * checks and skips the action. Defaults to {@code false}. Useful to wait until the element is ready for the action without * performing it. */ public Boolean trial; /** - * Whether to bypass the actionability checks. Defaults to + * Whether to bypass the actionability checks. Defaults to * {@code false}. */ public HoverOptions setForce(boolean force) { @@ -933,7 +933,7 @@ public interface Frame { return this; } /** - * When set, this method only performs the actionability + * When set, this method only performs the actionability * checks and skips the action. Defaults to {@code false}. Useful to wait until the element is ready for the action without * performing it. */ @@ -1333,7 +1333,7 @@ public interface Frame { } class SelectOptionOptions { /** - * Whether to bypass the actionability checks. Defaults to + * Whether to bypass the actionability checks. Defaults to * {@code false}. */ public Boolean force; @@ -1356,7 +1356,7 @@ public interface Frame { public Double timeout; /** - * Whether to bypass the actionability checks. Defaults to + * Whether to bypass the actionability checks. Defaults to * {@code false}. */ public SelectOptionOptions setForce(boolean force) { @@ -1392,7 +1392,7 @@ public interface Frame { } class SetCheckedOptions { /** - * Whether to bypass the actionability checks. Defaults to + * Whether to bypass the actionability checks. Defaults to * {@code false}. */ public Boolean force; @@ -1419,14 +1419,14 @@ public interface Frame { */ public Double timeout; /** - * When set, this method only performs the actionability + * When set, this method only performs the actionability * checks and skips the action. Defaults to {@code false}. Useful to wait until the element is ready for the action without * performing it. */ public Boolean trial; /** - * Whether to bypass the actionability checks. Defaults to + * Whether to bypass the actionability checks. Defaults to * {@code false}. */ public SetCheckedOptions setForce(boolean force) { @@ -1475,7 +1475,7 @@ public interface Frame { return this; } /** - * When set, this method only performs the actionability + * When set, this method only performs the actionability * checks and skips the action. Defaults to {@code false}. Useful to wait until the element is ready for the action without * performing it. */ @@ -1575,7 +1575,7 @@ public interface Frame { } class TapOptions { /** - * Whether to bypass the actionability checks. Defaults to + * Whether to bypass the actionability checks. Defaults to * {@code false}. */ public Boolean force; @@ -1607,14 +1607,14 @@ public interface Frame { */ public Double timeout; /** - * When set, this method only performs the actionability + * When set, this method only performs the actionability * checks and skips the action. Defaults to {@code false}. Useful to wait until the element is ready for the action without * performing it. */ public Boolean trial; /** - * Whether to bypass the actionability checks. Defaults to + * Whether to bypass the actionability checks. Defaults to * {@code false}. */ public TapOptions setForce(boolean force) { @@ -1671,7 +1671,7 @@ public interface Frame { return this; } /** - * When set, this method only performs the actionability + * When set, this method only performs the actionability * checks and skips the action. Defaults to {@code false}. Useful to wait until the element is ready for the action without * performing it. */ @@ -1770,7 +1770,7 @@ public interface Frame { } class UncheckOptions { /** - * Whether to bypass the actionability checks. Defaults to + * Whether to bypass the actionability checks. Defaults to * {@code false}. */ public Boolean force; @@ -1797,14 +1797,14 @@ public interface Frame { */ public Double timeout; /** - * When set, this method only performs the actionability + * When set, this method only performs the actionability * checks and skips the action. Defaults to {@code false}. Useful to wait until the element is ready for the action without * performing it. */ public Boolean trial; /** - * Whether to bypass the actionability checks. Defaults to + * Whether to bypass the actionability checks. Defaults to * {@code false}. */ public UncheckOptions setForce(boolean force) { @@ -1853,7 +1853,7 @@ public interface Frame { return this; } /** - * When set, this method only performs the actionability + * When set, this method only performs the actionability * checks and skips the action. Defaults to {@code false}. Useful to wait until the element is ready for the action without * performing it. */ @@ -2124,7 +2124,7 @@ public interface Frame { *

                            10. Find an element matching {@code selector}. If there is none, wait until a matching element is attached to the DOM.
                            11. *
                            12. Ensure that matched element is a checkbox or a radio input. If not, this method throws. If the element is already * checked, this method returns immediately.
                            13. - *
                            14. Wait for actionability checks on the matched element, + *
                            15. Wait for actionability checks on the matched element, * unless {@code force} option is set. If the element is detached during the checks, the whole action is retried.
                            16. *
                            17. Scroll the element into view if needed.
                            18. *
                            19. Use {@link Page#mouse Page.mouse()} to click in the center of the element.
                            20. @@ -2136,7 +2136,7 @@ public interface Frame { * zero timeout disables this. * * @param selector A selector to search for an element. If there are multiple elements satisfying the selector, the first will be used. See - * working with selectors for more details. + * working with selectors for more details. */ default void check(String selector) { check(selector, null); @@ -2147,7 +2147,7 @@ public interface Frame { *
                            21. Find an element matching {@code selector}. If there is none, wait until a matching element is attached to the DOM.
                            22. *
                            23. Ensure that matched element is a checkbox or a radio input. If not, this method throws. If the element is already * checked, this method returns immediately.
                            24. - *
                            25. Wait for actionability checks on the matched element, + *
                            26. Wait for actionability checks on the matched element, * unless {@code force} option is set. If the element is detached during the checks, the whole action is retried.
                            27. *
                            28. Scroll the element into view if needed.
                            29. *
                            30. Use {@link Page#mouse Page.mouse()} to click in the center of the element.
                            31. @@ -2159,7 +2159,7 @@ public interface Frame { * zero timeout disables this. * * @param selector A selector to search for an element. If there are multiple elements satisfying the selector, the first will be used. See - * working with selectors for more details. + * working with selectors for more details. */ void check(String selector, CheckOptions options); List childFrames(); @@ -2167,7 +2167,7 @@ public interface Frame { * This method clicks an element matching {@code selector} by performing the following steps: *
                                *
                              1. Find an element matching {@code selector}. If there is none, wait until a matching element is attached to the DOM.
                              2. - *
                              3. Wait for actionability checks on the matched element, + *
                              4. Wait for actionability checks on the matched element, * unless {@code force} option is set. If the element is detached during the checks, the whole action is retried.
                              5. *
                              6. Scroll the element into view if needed.
                              7. *
                              8. Use {@link Page#mouse Page.mouse()} to click in the center of the element, or the specified {@code position}.
                              9. @@ -2178,7 +2178,7 @@ public interface Frame { * zero timeout disables this. * * @param selector A selector to search for an element. If there are multiple elements satisfying the selector, the first will be used. See - * working with selectors for more details. + * working with selectors for more details. */ default void click(String selector) { click(selector, null); @@ -2187,7 +2187,7 @@ public interface Frame { * This method clicks an element matching {@code selector} by performing the following steps: *
                                  *
                                1. Find an element matching {@code selector}. If there is none, wait until a matching element is attached to the DOM.
                                2. - *
                                3. Wait for actionability checks on the matched element, + *
                                4. Wait for actionability checks on the matched element, * unless {@code force} option is set. If the element is detached during the checks, the whole action is retried.
                                5. *
                                6. Scroll the element into view if needed.
                                7. *
                                8. Use {@link Page#mouse Page.mouse()} to click in the center of the element, or the specified {@code position}.
                                9. @@ -2198,7 +2198,7 @@ public interface Frame { * zero timeout disables this. * * @param selector A selector to search for an element. If there are multiple elements satisfying the selector, the first will be used. See - * working with selectors for more details. + * working with selectors for more details. */ void click(String selector, ClickOptions options); /** @@ -2209,7 +2209,7 @@ public interface Frame { * This method double clicks an element matching {@code selector} by performing the following steps: *
                                    *
                                  1. Find an element matching {@code selector}. If there is none, wait until a matching element is attached to the DOM.
                                  2. - *
                                  3. Wait for actionability checks on the matched element, + *
                                  4. Wait for actionability checks on the matched element, * unless {@code force} option is set. If the element is detached during the checks, the whole action is retried.
                                  5. *
                                  6. Scroll the element into view if needed.
                                  7. *
                                  8. Use {@link Page#mouse Page.mouse()} to double click in the center of the element, or the specified {@code position}.
                                  9. @@ -2223,7 +2223,7 @@ public interface Frame { *

                                    NOTE: {@code frame.dblclick()} dispatches two {@code click} events and a single {@code dblclick} event. * * @param selector A selector to search for an element. If there are multiple elements satisfying the selector, the first will be used. See - * working with selectors for more details. + * working with selectors for more details. */ default void dblclick(String selector) { dblclick(selector, null); @@ -2232,7 +2232,7 @@ public interface Frame { * This method double clicks an element matching {@code selector} by performing the following steps: *

                                      *
                                    1. Find an element matching {@code selector}. If there is none, wait until a matching element is attached to the DOM.
                                    2. - *
                                    3. Wait for actionability checks on the matched element, + *
                                    4. Wait for actionability checks on the matched element, * unless {@code force} option is set. If the element is detached during the checks, the whole action is retried.
                                    5. *
                                    6. Scroll the element into view if needed.
                                    7. *
                                    8. Use {@link Page#mouse Page.mouse()} to double click in the center of the element, or the specified {@code position}.
                                    9. @@ -2246,7 +2246,7 @@ public interface Frame { *

                                      NOTE: {@code frame.dblclick()} dispatches two {@code click} events and a single {@code dblclick} event. * * @param selector A selector to search for an element. If there are multiple elements satisfying the selector, the first will be used. See - * working with selectors for more details. + * working with selectors for more details. */ void dblclick(String selector, DblclickOptions options); /** @@ -2281,7 +2281,7 @@ public interface Frame { * } * * @param selector A selector to search for an element. If there are multiple elements satisfying the selector, the first will be used. See - * working with selectors for more details. + * working with selectors for more details. * @param type DOM event type: {@code "click"}, {@code "dragstart"}, etc. * @param eventInit Optional event-specific initialization properties. */ @@ -2320,7 +2320,7 @@ public interface Frame { * } * * @param selector A selector to search for an element. If there are multiple elements satisfying the selector, the first will be used. See - * working with selectors for more details. + * working with selectors for more details. * @param type DOM event type: {@code "click"}, {@code "dragstart"}, etc. */ default void dispatchEvent(String selector, String type) { @@ -2358,7 +2358,7 @@ public interface Frame { * } * * @param selector A selector to search for an element. If there are multiple elements satisfying the selector, the first will be used. See - * working with selectors for more details. + * working with selectors for more details. * @param type DOM event type: {@code "click"}, {@code "dragstart"}, etc. * @param eventInit Optional event-specific initialization properties. */ @@ -2374,7 +2374,7 @@ public interface Frame { * {@link Locator#evaluate Locator.evaluate()}, other {@code Locator} helper methods or web-first assertions instead. * *

                                      The method finds an element matching the specified selector within the frame and passes it as a first argument to - * {@code expression}. See Working with selectors for more details. If + * {@code expression}. See Working with selectors for more details. If * no elements match the selector, the method throws an error. * *

                                      If {@code expression} returns a e.outerHTML + suffix", "hello"); * } * - * @param selector A selector to query for. See working with selectors for more + * @param selector A selector to query for. See working with selectors for more * details. * @param expression JavaScript expression to be evaluated in the browser context. If it looks like a function declaration, it is interpreted * as a function. Otherwise, evaluated as an expression. @@ -2404,7 +2404,7 @@ public interface Frame { * {@link Locator#evaluate Locator.evaluate()}, other {@code Locator} helper methods or web-first assertions instead. * *

                                      The method finds an element matching the specified selector within the frame and passes it as a first argument to - * {@code expression}. See Working with selectors for more details. If + * {@code expression}. See Working with selectors for more details. If * no elements match the selector, the method throws an error. * *

                                      If {@code expression} returns a e.outerHTML + suffix", "hello"); * } * - * @param selector A selector to query for. See working with selectors for more + * @param selector A selector to query for. See working with selectors for more * details. * @param expression JavaScript expression to be evaluated in the browser context. If it looks like a function declaration, it is interpreted * as a function. Otherwise, evaluated as an expression. @@ -2433,7 +2433,7 @@ public interface Frame { * {@link Locator#evaluate Locator.evaluate()}, other {@code Locator} helper methods or web-first assertions instead. * *

                                      The method finds an element matching the specified selector within the frame and passes it as a first argument to - * {@code expression}. See Working with selectors for more details. If + * {@code expression}. See Working with selectors for more details. If * no elements match the selector, the method throws an error. * *

                                      If {@code expression} returns a e.outerHTML + suffix", "hello"); * } * - * @param selector A selector to query for. See working with selectors for more + * @param selector A selector to query for. See working with selectors for more * details. * @param expression JavaScript expression to be evaluated in the browser context. If it looks like a function declaration, it is interpreted * as a function. Otherwise, evaluated as an expression. @@ -2461,8 +2461,8 @@ public interface Frame { * assertions do a better job. * *

                                      The method finds all elements matching the specified selector within the frame and passes an array of matched elements - * as a first argument to {@code expression}. See Working with - * selectors for more details. + * as a first argument to {@code expression}. See Working with selectors + * for more details. * *

                                      If {@code expression} returns a Promise, then {@link @@ -2473,7 +2473,7 @@ public interface Frame { * boolean divsCounts = (boolean) page.evalOnSelectorAll("div", "(divs, min) => divs.length >= min", 10); * } * - * @param selector A selector to query for. See working with selectors for more + * @param selector A selector to query for. See working with selectors for more * details. * @param expression JavaScript expression to be evaluated in the browser context. If it looks like a function declaration, it is interpreted * as a function. Otherwise, evaluated as an expression. @@ -2488,8 +2488,8 @@ public interface Frame { * assertions do a better job. * *

                                      The method finds all elements matching the specified selector within the frame and passes an array of matched elements - * as a first argument to {@code expression}. See Working with - * selectors for more details. + * as a first argument to {@code expression}. See Working with selectors + * for more details. * *

                                      If {@code expression} returns a Promise, then {@link @@ -2500,7 +2500,7 @@ public interface Frame { * boolean divsCounts = (boolean) page.evalOnSelectorAll("div", "(divs, min) => divs.length >= min", 10); * } * - * @param selector A selector to query for. See working with selectors for more + * @param selector A selector to query for. See working with selectors for more * details. * @param expression JavaScript expression to be evaluated in the browser context. If it looks like a function declaration, it is interpreted * as a function. Otherwise, evaluated as an expression. @@ -2643,7 +2643,7 @@ public interface Frame { JSHandle evaluateHandle(String expression, Object arg); /** * This method waits for an element matching {@code selector}, waits for actionability checks, focuses the element, fills it and + * href="https://playwright.dev/java/docs/actionability">actionability checks, focuses the element, fills it and * triggers an {@code input} event after filling. Note that you can pass an empty string to clear the input field. * *

                                      If the target element is not an {@code }, {@code