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 { *
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: *
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