fix(docs): drop trailing slash from link path (#818)
This commit is contained in:
@@ -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 <a
|
||||
* href="https://playwright.dev/java/docs/browsers/#google-chrome--microsoft-edge">Google Chrome and Microsoft Edge</a>.
|
||||
* href="https://playwright.dev/java/docs/browsers#google-chrome--microsoft-edge">Google Chrome and Microsoft Edge</a>.
|
||||
*/
|
||||
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 <a
|
||||
* href="https://playwright.dev/java/docs/browsers/#google-chrome--microsoft-edge">Google Chrome and Microsoft Edge</a>.
|
||||
* href="https://playwright.dev/java/docs/browsers#google-chrome--microsoft-edge">Google Chrome and Microsoft Edge</a>.
|
||||
*/
|
||||
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 <a
|
||||
* href="https://playwright.dev/java/docs/browsers/#google-chrome--microsoft-edge">Google Chrome and Microsoft Edge</a>.
|
||||
* href="https://playwright.dev/java/docs/browsers#google-chrome--microsoft-edge">Google Chrome and Microsoft Edge</a>.
|
||||
*/
|
||||
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 <a
|
||||
* href="https://playwright.dev/java/docs/browsers/#google-chrome--microsoft-edge">Google Chrome and Microsoft Edge</a>.
|
||||
* href="https://playwright.dev/java/docs/browsers#google-chrome--microsoft-edge">Google Chrome and Microsoft Edge</a>.
|
||||
*/
|
||||
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 <a
|
||||
* href="https://playwright.dev/java/docs/browsers/#google-chrome--microsoft-edge">Google Chrome and Microsoft Edge</a>.
|
||||
* href="https://playwright.dev/java/docs/browsers#google-chrome--microsoft-edge">Google Chrome and Microsoft Edge</a>.
|
||||
*/
|
||||
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 <a
|
||||
* href="https://playwright.dev/java/docs/browsers/#google-chrome--microsoft-edge">Google Chrome and Microsoft Edge</a>.
|
||||
* href="https://playwright.dev/java/docs/browsers#google-chrome--microsoft-edge">Google Chrome and Microsoft Edge</a>.
|
||||
*/
|
||||
public LaunchPersistentContextOptions setChannel(String channel) {
|
||||
this.channel = channel;
|
||||
|
||||
@@ -59,7 +59,7 @@ import java.util.*;
|
||||
public interface ElementHandle extends JSHandle {
|
||||
class CheckOptions {
|
||||
/**
|
||||
* Whether to bypass the <a href="https://playwright.dev/java/docs/actionability/">actionability</a> checks. Defaults to
|
||||
* Whether to bypass the <a href="https://playwright.dev/java/docs/actionability">actionability</a> 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 <a href="https://playwright.dev/java/docs/actionability/">actionability</a>
|
||||
* When set, this method only performs the <a href="https://playwright.dev/java/docs/actionability">actionability</a>
|
||||
* 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 <a href="https://playwright.dev/java/docs/actionability/">actionability</a> checks. Defaults to
|
||||
* Whether to bypass the <a href="https://playwright.dev/java/docs/actionability">actionability</a> 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 <a href="https://playwright.dev/java/docs/actionability/">actionability</a>
|
||||
* When set, this method only performs the <a href="https://playwright.dev/java/docs/actionability">actionability</a>
|
||||
* 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 <a href="https://playwright.dev/java/docs/actionability/">actionability</a> checks. Defaults to
|
||||
* Whether to bypass the <a href="https://playwright.dev/java/docs/actionability">actionability</a> 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 <a href="https://playwright.dev/java/docs/actionability/">actionability</a>
|
||||
* When set, this method only performs the <a href="https://playwright.dev/java/docs/actionability">actionability</a>
|
||||
* 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 <a href="https://playwright.dev/java/docs/actionability/">actionability</a> checks. Defaults to
|
||||
* Whether to bypass the <a href="https://playwright.dev/java/docs/actionability">actionability</a> 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 <a href="https://playwright.dev/java/docs/actionability/">actionability</a>
|
||||
* When set, this method only performs the <a href="https://playwright.dev/java/docs/actionability">actionability</a>
|
||||
* 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 <a href="https://playwright.dev/java/docs/actionability/">actionability</a> checks. Defaults to
|
||||
* Whether to bypass the <a href="https://playwright.dev/java/docs/actionability">actionability</a> 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 <a href="https://playwright.dev/java/docs/actionability/">actionability</a>
|
||||
* When set, this method only performs the <a href="https://playwright.dev/java/docs/actionability">actionability</a>
|
||||
* 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 <a href="https://playwright.dev/java/docs/actionability/">actionability</a> checks. Defaults to
|
||||
* Whether to bypass the <a href="https://playwright.dev/java/docs/actionability">actionability</a> 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 <a href="https://playwright.dev/java/docs/actionability/">actionability</a>
|
||||
* When set, this method only performs the <a href="https://playwright.dev/java/docs/actionability">actionability</a>
|
||||
* 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 <a href="https://playwright.dev/java/docs/actionability/">actionability</a> checks. Defaults to
|
||||
* Whether to bypass the <a href="https://playwright.dev/java/docs/actionability">actionability</a> checks. Defaults to
|
||||
* {@code false}.
|
||||
*/
|
||||
public Boolean force;
|
||||
@@ -401,7 +401,7 @@ public interface ElementHandle extends JSHandle {
|
||||
public Double timeout;
|
||||
|
||||
/**
|
||||
* Whether to bypass the <a href="https://playwright.dev/java/docs/actionability/">actionability</a> checks. Defaults to
|
||||
* Whether to bypass the <a href="https://playwright.dev/java/docs/actionability">actionability</a> 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 <a href="https://playwright.dev/java/docs/actionability/">actionability</a> checks. Defaults to
|
||||
* Whether to bypass the <a href="https://playwright.dev/java/docs/actionability">actionability</a> 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 <a href="https://playwright.dev/java/docs/actionability/">actionability</a>
|
||||
* When set, this method only performs the <a href="https://playwright.dev/java/docs/actionability">actionability</a>
|
||||
* 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 <a href="https://playwright.dev/java/docs/actionability/">actionability</a> checks. Defaults to
|
||||
* Whether to bypass the <a href="https://playwright.dev/java/docs/actionability">actionability</a> 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 <a href="https://playwright.dev/java/docs/actionability/">actionability</a>
|
||||
* When set, this method only performs the <a href="https://playwright.dev/java/docs/actionability">actionability</a>
|
||||
* 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 <a href="https://playwright.dev/java/docs/actionability/">actionability</a> checks. Defaults to
|
||||
* Whether to bypass the <a href="https://playwright.dev/java/docs/actionability">actionability</a> checks. Defaults to
|
||||
* {@code false}.
|
||||
*/
|
||||
public Boolean force;
|
||||
@@ -674,7 +674,7 @@ public interface ElementHandle extends JSHandle {
|
||||
public Double timeout;
|
||||
|
||||
/**
|
||||
* Whether to bypass the <a href="https://playwright.dev/java/docs/actionability/">actionability</a> checks. Defaults to
|
||||
* Whether to bypass the <a href="https://playwright.dev/java/docs/actionability">actionability</a> 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 <a href="https://playwright.dev/java/docs/actionability/">actionability</a> checks. Defaults to
|
||||
* Whether to bypass the <a href="https://playwright.dev/java/docs/actionability">actionability</a> checks. Defaults to
|
||||
* {@code false}.
|
||||
*/
|
||||
public Boolean force;
|
||||
@@ -714,7 +714,7 @@ public interface ElementHandle extends JSHandle {
|
||||
public Double timeout;
|
||||
|
||||
/**
|
||||
* Whether to bypass the <a href="https://playwright.dev/java/docs/actionability/">actionability</a> checks. Defaults to
|
||||
* Whether to bypass the <a href="https://playwright.dev/java/docs/actionability">actionability</a> 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 <a href="https://playwright.dev/java/docs/actionability/">actionability</a> checks. Defaults to
|
||||
* Whether to bypass the <a href="https://playwright.dev/java/docs/actionability">actionability</a> 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 <a href="https://playwright.dev/java/docs/actionability/">actionability</a>
|
||||
* When set, this method only performs the <a href="https://playwright.dev/java/docs/actionability">actionability</a>
|
||||
* 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 <a href="https://playwright.dev/java/docs/actionability/">actionability</a> checks. Defaults to
|
||||
* Whether to bypass the <a href="https://playwright.dev/java/docs/actionability">actionability</a> 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 <a href="https://playwright.dev/java/docs/actionability/">actionability</a>
|
||||
* When set, this method only performs the <a href="https://playwright.dev/java/docs/actionability">actionability</a>
|
||||
* 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 <a href="https://playwright.dev/java/docs/actionability/">actionability</a> checks. Defaults to
|
||||
* Whether to bypass the <a href="https://playwright.dev/java/docs/actionability">actionability</a> 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 <a href="https://playwright.dev/java/docs/actionability/">actionability</a>
|
||||
* When set, this method only performs the <a href="https://playwright.dev/java/docs/actionability">actionability</a>
|
||||
* 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 <a href="https://playwright.dev/java/docs/actionability/">actionability</a> checks. Defaults to
|
||||
* Whether to bypass the <a href="https://playwright.dev/java/docs/actionability">actionability</a> 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 <a href="https://playwright.dev/java/docs/actionability/">actionability</a>
|
||||
* When set, this method only performs the <a href="https://playwright.dev/java/docs/actionability">actionability</a>
|
||||
* 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 <a href="https://playwright.dev/java/docs/actionability/">actionability</a> checks. Defaults to
|
||||
* Whether to bypass the <a href="https://playwright.dev/java/docs/actionability">actionability</a> 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 <a href="https://playwright.dev/java/docs/actionability/">actionability</a>
|
||||
* When set, this method only performs the <a href="https://playwright.dev/java/docs/actionability">actionability</a>
|
||||
* 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 <a href="https://playwright.dev/java/docs/actionability/">actionability</a> checks. Defaults to
|
||||
* Whether to bypass the <a href="https://playwright.dev/java/docs/actionability">actionability</a> 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 <a href="https://playwright.dev/java/docs/actionability/">actionability</a>
|
||||
* When set, this method only performs the <a href="https://playwright.dev/java/docs/actionability">actionability</a>
|
||||
* 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 {
|
||||
* <ol>
|
||||
* <li> 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.</li>
|
||||
* <li> Wait for <a href="https://playwright.dev/java/docs/actionability/">actionability</a> checks on the element, unless
|
||||
* <li> Wait for <a href="https://playwright.dev/java/docs/actionability">actionability</a> checks on the element, unless
|
||||
* {@code force} option is set.</li>
|
||||
* <li> Scroll the element into view if needed.</li>
|
||||
* <li> Use {@link Page#mouse Page.mouse()} to click in the center of the element.</li>
|
||||
@@ -1185,7 +1185,7 @@ public interface ElementHandle extends JSHandle {
|
||||
* <ol>
|
||||
* <li> 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.</li>
|
||||
* <li> Wait for <a href="https://playwright.dev/java/docs/actionability/">actionability</a> checks on the element, unless
|
||||
* <li> Wait for <a href="https://playwright.dev/java/docs/actionability">actionability</a> checks on the element, unless
|
||||
* {@code force} option is set.</li>
|
||||
* <li> Scroll the element into view if needed.</li>
|
||||
* <li> Use {@link Page#mouse Page.mouse()} to click in the center of the element.</li>
|
||||
@@ -1202,7 +1202,7 @@ public interface ElementHandle extends JSHandle {
|
||||
/**
|
||||
* This method clicks the element by performing the following steps:
|
||||
* <ol>
|
||||
* <li> Wait for <a href="https://playwright.dev/java/docs/actionability/">actionability</a> checks on the element, unless
|
||||
* <li> Wait for <a href="https://playwright.dev/java/docs/actionability">actionability</a> checks on the element, unless
|
||||
* {@code force} option is set.</li>
|
||||
* <li> Scroll the element into view if needed.</li>
|
||||
* <li> Use {@link Page#mouse Page.mouse()} to click in the center of the element, or the specified {@code position}.</li>
|
||||
@@ -1220,7 +1220,7 @@ public interface ElementHandle extends JSHandle {
|
||||
/**
|
||||
* This method clicks the element by performing the following steps:
|
||||
* <ol>
|
||||
* <li> Wait for <a href="https://playwright.dev/java/docs/actionability/">actionability</a> checks on the element, unless
|
||||
* <li> Wait for <a href="https://playwright.dev/java/docs/actionability">actionability</a> checks on the element, unless
|
||||
* {@code force} option is set.</li>
|
||||
* <li> Scroll the element into view if needed.</li>
|
||||
* <li> Use {@link Page#mouse Page.mouse()} to click in the center of the element, or the specified {@code position}.</li>
|
||||
@@ -1240,7 +1240,7 @@ public interface ElementHandle extends JSHandle {
|
||||
/**
|
||||
* This method double clicks the element by performing the following steps:
|
||||
* <ol>
|
||||
* <li> Wait for <a href="https://playwright.dev/java/docs/actionability/">actionability</a> checks on the element, unless
|
||||
* <li> Wait for <a href="https://playwright.dev/java/docs/actionability">actionability</a> checks on the element, unless
|
||||
* {@code force} option is set.</li>
|
||||
* <li> Scroll the element into view if needed.</li>
|
||||
* <li> Use {@link Page#mouse Page.mouse()} to double click in the center of the element, or the specified {@code position}.</li>
|
||||
@@ -1261,7 +1261,7 @@ public interface ElementHandle extends JSHandle {
|
||||
/**
|
||||
* This method double clicks the element by performing the following steps:
|
||||
* <ol>
|
||||
* <li> Wait for <a href="https://playwright.dev/java/docs/actionability/">actionability</a> checks on the element, unless
|
||||
* <li> Wait for <a href="https://playwright.dev/java/docs/actionability">actionability</a> checks on the element, unless
|
||||
* {@code force} option is set.</li>
|
||||
* <li> Scroll the element into view if needed.</li>
|
||||
* <li> Use {@link Page#mouse Page.mouse()} to double click in the center of the element, or the specified {@code position}.</li>
|
||||
@@ -1352,7 +1352,7 @@ public interface ElementHandle extends JSHandle {
|
||||
* Returns the return value of {@code expression}.
|
||||
*
|
||||
* <p> 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 <a href="https://playwright.dev/java/docs/selectors/">Working with selectors</a> for more
|
||||
* argument to {@code expression}. See <a href="https://playwright.dev/java/docs/selectors">Working with selectors</a> for more
|
||||
* details. If no elements match the selector, the method throws an error.
|
||||
*
|
||||
* <p> If {@code expression} returns a <a
|
||||
@@ -1366,7 +1366,7 @@ public interface ElementHandle extends JSHandle {
|
||||
* assertEquals("10", tweetHandle.evalOnSelector(".retweets", "node => node.innerText"));
|
||||
* }</pre>
|
||||
*
|
||||
* @param selector A selector to query for. See <a href="https://playwright.dev/java/docs/selectors/">working with selectors</a> for more
|
||||
* @param selector A selector to query for. See <a href="https://playwright.dev/java/docs/selectors">working with selectors</a> 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}.
|
||||
*
|
||||
* <p> 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 <a href="https://playwright.dev/java/docs/selectors/">Working with selectors</a> for more
|
||||
* argument to {@code expression}. See <a href="https://playwright.dev/java/docs/selectors">Working with selectors</a> for more
|
||||
* details. If no elements match the selector, the method throws an error.
|
||||
*
|
||||
* <p> If {@code expression} returns a <a
|
||||
@@ -1392,7 +1392,7 @@ public interface ElementHandle extends JSHandle {
|
||||
* assertEquals("10", tweetHandle.evalOnSelector(".retweets", "node => node.innerText"));
|
||||
* }</pre>
|
||||
*
|
||||
* @param selector A selector to query for. See <a href="https://playwright.dev/java/docs/selectors/">working with selectors</a> for more
|
||||
* @param selector A selector to query for. See <a href="https://playwright.dev/java/docs/selectors">working with selectors</a> 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}.
|
||||
*
|
||||
* <p> 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 <a href="https://playwright.dev/java/docs/selectors/">Working
|
||||
* matched elements as a first argument to {@code expression}. See <a href="https://playwright.dev/java/docs/selectors">Working
|
||||
* with selectors</a> for more details.
|
||||
*
|
||||
* <p> If {@code expression} returns a <a
|
||||
@@ -1417,7 +1417,7 @@ public interface ElementHandle extends JSHandle {
|
||||
* assertEquals(Arrays.asList("Hello!", "Hi!"), feedHandle.evalOnSelectorAll(".tweet", "nodes => nodes.map(n => n.innerText)"));
|
||||
* }</pre>
|
||||
*
|
||||
* @param selector A selector to query for. See <a href="https://playwright.dev/java/docs/selectors/">working with selectors</a> for more
|
||||
* @param selector A selector to query for. See <a href="https://playwright.dev/java/docs/selectors">working with selectors</a> 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}.
|
||||
*
|
||||
* <p> 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 <a href="https://playwright.dev/java/docs/selectors/">Working
|
||||
* matched elements as a first argument to {@code expression}. See <a href="https://playwright.dev/java/docs/selectors">Working
|
||||
* with selectors</a> for more details.
|
||||
*
|
||||
* <p> If {@code expression} returns a <a
|
||||
@@ -1443,7 +1443,7 @@ public interface ElementHandle extends JSHandle {
|
||||
* assertEquals(Arrays.asList("Hello!", "Hi!"), feedHandle.evalOnSelectorAll(".tweet", "nodes => nodes.map(n => n.innerText)"));
|
||||
* }</pre>
|
||||
*
|
||||
* @param selector A selector to query for. See <a href="https://playwright.dev/java/docs/selectors/">working with selectors</a> for more
|
||||
* @param selector A selector to query for. See <a href="https://playwright.dev/java/docs/selectors">working with selectors</a> 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 <a href="https://playwright.dev/java/docs/actionability/">actionability</a> checks, focuses the
|
||||
* This method waits for <a href="https://playwright.dev/java/docs/actionability">actionability</a> 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 <a href="https://playwright.dev/java/docs/actionability/">actionability</a> checks, focuses the
|
||||
* This method waits for <a href="https://playwright.dev/java/docs/actionability">actionability</a> 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:
|
||||
* <ol>
|
||||
* <li> Wait for <a href="https://playwright.dev/java/docs/actionability/">actionability</a> checks on the element, unless
|
||||
* <li> Wait for <a href="https://playwright.dev/java/docs/actionability">actionability</a> checks on the element, unless
|
||||
* {@code force} option is set.</li>
|
||||
* <li> Scroll the element into view if needed.</li>
|
||||
* <li> Use {@link Page#mouse Page.mouse()} to hover over the center of the element, or the specified {@code position}.</li>
|
||||
@@ -1513,7 +1513,7 @@ public interface ElementHandle extends JSHandle {
|
||||
/**
|
||||
* This method hovers over the element by performing the following steps:
|
||||
* <ol>
|
||||
* <li> Wait for <a href="https://playwright.dev/java/docs/actionability/">actionability</a> checks on the element, unless
|
||||
* <li> Wait for <a href="https://playwright.dev/java/docs/actionability">actionability</a> checks on the element, unless
|
||||
* {@code force} option is set.</li>
|
||||
* <li> Scroll the element into view if needed.</li>
|
||||
* <li> Use {@link Page#mouse Page.mouse()} to hover over the center of the element, or the specified {@code position}.</li>
|
||||
@@ -1550,24 +1550,24 @@ public interface ElementHandle extends JSHandle {
|
||||
boolean isChecked();
|
||||
/**
|
||||
* Returns whether the element is disabled, the opposite of <a
|
||||
* href="https://playwright.dev/java/docs/actionability/#enabled">enabled</a>.
|
||||
* href="https://playwright.dev/java/docs/actionability#enabled">enabled</a>.
|
||||
*/
|
||||
boolean isDisabled();
|
||||
/**
|
||||
* Returns whether the element is <a href="https://playwright.dev/java/docs/actionability/#editable">editable</a>.
|
||||
* Returns whether the element is <a href="https://playwright.dev/java/docs/actionability#editable">editable</a>.
|
||||
*/
|
||||
boolean isEditable();
|
||||
/**
|
||||
* Returns whether the element is <a href="https://playwright.dev/java/docs/actionability/#enabled">enabled</a>.
|
||||
* Returns whether the element is <a href="https://playwright.dev/java/docs/actionability#enabled">enabled</a>.
|
||||
*/
|
||||
boolean isEnabled();
|
||||
/**
|
||||
* Returns whether the element is hidden, the opposite of <a
|
||||
* href="https://playwright.dev/java/docs/actionability/#visible">visible</a>.
|
||||
* href="https://playwright.dev/java/docs/actionability#visible">visible</a>.
|
||||
*/
|
||||
boolean isHidden();
|
||||
/**
|
||||
* Returns whether the element is <a href="https://playwright.dev/java/docs/actionability/#visible">visible</a>.
|
||||
* Returns whether the element is <a href="https://playwright.dev/java/docs/actionability#visible">visible</a>.
|
||||
*/
|
||||
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 <a
|
||||
* href="https://playwright.dev/java/docs/selectors/">Working with selectors</a> for more details. If no elements match the
|
||||
* href="https://playwright.dev/java/docs/selectors">Working with selectors</a> for more details. If no elements match the
|
||||
* selector, returns {@code null}.
|
||||
*
|
||||
* @param selector A selector to query for. See <a href="https://playwright.dev/java/docs/selectors/">working with selectors</a> for more
|
||||
* @param selector A selector to query for. See <a href="https://playwright.dev/java/docs/selectors">working with selectors</a> for more
|
||||
* details.
|
||||
*/
|
||||
ElementHandle querySelector(String selector);
|
||||
/**
|
||||
* The method finds all elements matching the specified selector in the {@code ElementHandle}s subtree. See <a
|
||||
* href="https://playwright.dev/java/docs/selectors/">Working with selectors</a> for more details. If no elements match the
|
||||
* href="https://playwright.dev/java/docs/selectors">Working with selectors</a> for more details. If no elements match the
|
||||
* selector, returns empty array.
|
||||
*
|
||||
* @param selector A selector to query for. See <a href="https://playwright.dev/java/docs/selectors/">working with selectors</a> for more
|
||||
* @param selector A selector to query for. See <a href="https://playwright.dev/java/docs/selectors">working with selectors</a> for more
|
||||
* details.
|
||||
*/
|
||||
List<ElementHandle> querySelectorAll(String selector);
|
||||
/**
|
||||
* Returns the buffer with the captured screenshot.
|
||||
*
|
||||
* <p> This method waits for the <a href="https://playwright.dev/java/docs/actionability/">actionability</a> checks, then
|
||||
* <p> This method waits for the <a href="https://playwright.dev/java/docs/actionability">actionability</a> 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.
|
||||
*
|
||||
* <p> This method waits for the <a href="https://playwright.dev/java/docs/actionability/">actionability</a> checks, then
|
||||
* <p> This method waits for the <a href="https://playwright.dev/java/docs/actionability">actionability</a> 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 <a href="https://playwright.dev/java/docs/actionability/">actionability</a> checks, then tries to
|
||||
* This method waits for <a href="https://playwright.dev/java/docs/actionability">actionability</a> checks, then tries to
|
||||
* scroll element into view, unless it is completely visible as defined by <a
|
||||
* href="https://developer.mozilla.org/en-US/docs/Web/API/Intersection_Observer_API">IntersectionObserver</a>'s {@code ratio}.
|
||||
*
|
||||
@@ -1670,7 +1670,7 @@ public interface ElementHandle extends JSHandle {
|
||||
scrollIntoViewIfNeeded(null);
|
||||
}
|
||||
/**
|
||||
* This method waits for <a href="https://playwright.dev/java/docs/actionability/">actionability</a> checks, then tries to
|
||||
* This method waits for <a href="https://playwright.dev/java/docs/actionability">actionability</a> checks, then tries to
|
||||
* scroll element into view, unless it is completely visible as defined by <a
|
||||
* href="https://developer.mozilla.org/en-US/docs/Web/API/Intersection_Observer_API">IntersectionObserver</a>'s {@code ratio}.
|
||||
*
|
||||
@@ -1679,8 +1679,8 @@ public interface ElementHandle extends JSHandle {
|
||||
*/
|
||||
void scrollIntoViewIfNeeded(ScrollIntoViewIfNeededOptions options);
|
||||
/**
|
||||
* This method waits for <a href="https://playwright.dev/java/docs/actionability/">actionability</a> checks, waits until
|
||||
* all specified options are present in the {@code <select>} element and selects these options.
|
||||
* This method waits for <a href="https://playwright.dev/java/docs/actionability">actionability</a> checks, waits until all
|
||||
* specified options are present in the {@code <select>} element and selects these options.
|
||||
*
|
||||
* <p> If the target element is not a {@code <select>} element, this method throws an error. However, if the element is inside the
|
||||
* {@code <label>} element that has an associated <a
|
||||
@@ -1707,8 +1707,8 @@ public interface ElementHandle extends JSHandle {
|
||||
return selectOption(values, null);
|
||||
}
|
||||
/**
|
||||
* This method waits for <a href="https://playwright.dev/java/docs/actionability/">actionability</a> checks, waits until
|
||||
* all specified options are present in the {@code <select>} element and selects these options.
|
||||
* This method waits for <a href="https://playwright.dev/java/docs/actionability">actionability</a> checks, waits until all
|
||||
* specified options are present in the {@code <select>} element and selects these options.
|
||||
*
|
||||
* <p> If the target element is not a {@code <select>} element, this method throws an error. However, if the element is inside the
|
||||
* {@code <label>} element that has an associated <a
|
||||
@@ -1733,8 +1733,8 @@ public interface ElementHandle extends JSHandle {
|
||||
*/
|
||||
List<String> selectOption(String values, SelectOptionOptions options);
|
||||
/**
|
||||
* This method waits for <a href="https://playwright.dev/java/docs/actionability/">actionability</a> checks, waits until
|
||||
* all specified options are present in the {@code <select>} element and selects these options.
|
||||
* This method waits for <a href="https://playwright.dev/java/docs/actionability">actionability</a> checks, waits until all
|
||||
* specified options are present in the {@code <select>} element and selects these options.
|
||||
*
|
||||
* <p> If the target element is not a {@code <select>} element, this method throws an error. However, if the element is inside the
|
||||
* {@code <label>} element that has an associated <a
|
||||
@@ -1761,8 +1761,8 @@ public interface ElementHandle extends JSHandle {
|
||||
return selectOption(values, null);
|
||||
}
|
||||
/**
|
||||
* This method waits for <a href="https://playwright.dev/java/docs/actionability/">actionability</a> checks, waits until
|
||||
* all specified options are present in the {@code <select>} element and selects these options.
|
||||
* This method waits for <a href="https://playwright.dev/java/docs/actionability">actionability</a> checks, waits until all
|
||||
* specified options are present in the {@code <select>} element and selects these options.
|
||||
*
|
||||
* <p> If the target element is not a {@code <select>} element, this method throws an error. However, if the element is inside the
|
||||
* {@code <label>} element that has an associated <a
|
||||
@@ -1787,8 +1787,8 @@ public interface ElementHandle extends JSHandle {
|
||||
*/
|
||||
List<String> selectOption(ElementHandle values, SelectOptionOptions options);
|
||||
/**
|
||||
* This method waits for <a href="https://playwright.dev/java/docs/actionability/">actionability</a> checks, waits until
|
||||
* all specified options are present in the {@code <select>} element and selects these options.
|
||||
* This method waits for <a href="https://playwright.dev/java/docs/actionability">actionability</a> checks, waits until all
|
||||
* specified options are present in the {@code <select>} element and selects these options.
|
||||
*
|
||||
* <p> If the target element is not a {@code <select>} element, this method throws an error. However, if the element is inside the
|
||||
* {@code <label>} element that has an associated <a
|
||||
@@ -1815,8 +1815,8 @@ public interface ElementHandle extends JSHandle {
|
||||
return selectOption(values, null);
|
||||
}
|
||||
/**
|
||||
* This method waits for <a href="https://playwright.dev/java/docs/actionability/">actionability</a> checks, waits until
|
||||
* all specified options are present in the {@code <select>} element and selects these options.
|
||||
* This method waits for <a href="https://playwright.dev/java/docs/actionability">actionability</a> checks, waits until all
|
||||
* specified options are present in the {@code <select>} element and selects these options.
|
||||
*
|
||||
* <p> If the target element is not a {@code <select>} element, this method throws an error. However, if the element is inside the
|
||||
* {@code <label>} element that has an associated <a
|
||||
@@ -1841,8 +1841,8 @@ public interface ElementHandle extends JSHandle {
|
||||
*/
|
||||
List<String> selectOption(String[] values, SelectOptionOptions options);
|
||||
/**
|
||||
* This method waits for <a href="https://playwright.dev/java/docs/actionability/">actionability</a> checks, waits until
|
||||
* all specified options are present in the {@code <select>} element and selects these options.
|
||||
* This method waits for <a href="https://playwright.dev/java/docs/actionability">actionability</a> checks, waits until all
|
||||
* specified options are present in the {@code <select>} element and selects these options.
|
||||
*
|
||||
* <p> If the target element is not a {@code <select>} element, this method throws an error. However, if the element is inside the
|
||||
* {@code <label>} element that has an associated <a
|
||||
@@ -1869,8 +1869,8 @@ public interface ElementHandle extends JSHandle {
|
||||
return selectOption(values, null);
|
||||
}
|
||||
/**
|
||||
* This method waits for <a href="https://playwright.dev/java/docs/actionability/">actionability</a> checks, waits until
|
||||
* all specified options are present in the {@code <select>} element and selects these options.
|
||||
* This method waits for <a href="https://playwright.dev/java/docs/actionability">actionability</a> checks, waits until all
|
||||
* specified options are present in the {@code <select>} element and selects these options.
|
||||
*
|
||||
* <p> If the target element is not a {@code <select>} element, this method throws an error. However, if the element is inside the
|
||||
* {@code <label>} element that has an associated <a
|
||||
@@ -1895,8 +1895,8 @@ public interface ElementHandle extends JSHandle {
|
||||
*/
|
||||
List<String> selectOption(SelectOption values, SelectOptionOptions options);
|
||||
/**
|
||||
* This method waits for <a href="https://playwright.dev/java/docs/actionability/">actionability</a> checks, waits until
|
||||
* all specified options are present in the {@code <select>} element and selects these options.
|
||||
* This method waits for <a href="https://playwright.dev/java/docs/actionability">actionability</a> checks, waits until all
|
||||
* specified options are present in the {@code <select>} element and selects these options.
|
||||
*
|
||||
* <p> If the target element is not a {@code <select>} element, this method throws an error. However, if the element is inside the
|
||||
* {@code <label>} element that has an associated <a
|
||||
@@ -1923,8 +1923,8 @@ public interface ElementHandle extends JSHandle {
|
||||
return selectOption(values, null);
|
||||
}
|
||||
/**
|
||||
* This method waits for <a href="https://playwright.dev/java/docs/actionability/">actionability</a> checks, waits until
|
||||
* all specified options are present in the {@code <select>} element and selects these options.
|
||||
* This method waits for <a href="https://playwright.dev/java/docs/actionability">actionability</a> checks, waits until all
|
||||
* specified options are present in the {@code <select>} element and selects these options.
|
||||
*
|
||||
* <p> If the target element is not a {@code <select>} element, this method throws an error. However, if the element is inside the
|
||||
* {@code <label>} element that has an associated <a
|
||||
@@ -1949,8 +1949,8 @@ public interface ElementHandle extends JSHandle {
|
||||
*/
|
||||
List<String> selectOption(ElementHandle[] values, SelectOptionOptions options);
|
||||
/**
|
||||
* This method waits for <a href="https://playwright.dev/java/docs/actionability/">actionability</a> checks, waits until
|
||||
* all specified options are present in the {@code <select>} element and selects these options.
|
||||
* This method waits for <a href="https://playwright.dev/java/docs/actionability">actionability</a> checks, waits until all
|
||||
* specified options are present in the {@code <select>} element and selects these options.
|
||||
*
|
||||
* <p> If the target element is not a {@code <select>} element, this method throws an error. However, if the element is inside the
|
||||
* {@code <label>} element that has an associated <a
|
||||
@@ -1977,8 +1977,8 @@ public interface ElementHandle extends JSHandle {
|
||||
return selectOption(values, null);
|
||||
}
|
||||
/**
|
||||
* This method waits for <a href="https://playwright.dev/java/docs/actionability/">actionability</a> checks, waits until
|
||||
* all specified options are present in the {@code <select>} element and selects these options.
|
||||
* This method waits for <a href="https://playwright.dev/java/docs/actionability">actionability</a> checks, waits until all
|
||||
* specified options are present in the {@code <select>} element and selects these options.
|
||||
*
|
||||
* <p> If the target element is not a {@code <select>} element, this method throws an error. However, if the element is inside the
|
||||
* {@code <label>} element that has an associated <a
|
||||
@@ -2003,14 +2003,14 @@ public interface ElementHandle extends JSHandle {
|
||||
*/
|
||||
List<String> selectOption(SelectOption[] values, SelectOptionOptions options);
|
||||
/**
|
||||
* This method waits for <a href="https://playwright.dev/java/docs/actionability/">actionability</a> checks, then focuses
|
||||
* This method waits for <a href="https://playwright.dev/java/docs/actionability">actionability</a> checks, then focuses
|
||||
* the element and selects all its text content.
|
||||
*/
|
||||
default void selectText() {
|
||||
selectText(null);
|
||||
}
|
||||
/**
|
||||
* This method waits for <a href="https://playwright.dev/java/docs/actionability/">actionability</a> checks, then focuses
|
||||
* This method waits for <a href="https://playwright.dev/java/docs/actionability">actionability</a> checks, then focuses
|
||||
* the element and selects all its text content.
|
||||
*/
|
||||
void selectText(SelectTextOptions options);
|
||||
@@ -2019,7 +2019,7 @@ public interface ElementHandle extends JSHandle {
|
||||
* <ol>
|
||||
* <li> Ensure that element is a checkbox or a radio input. If not, this method throws.</li>
|
||||
* <li> If the element already has the right checked state, this method returns immediately.</li>
|
||||
* <li> Wait for <a href="https://playwright.dev/java/docs/actionability/">actionability</a> checks on the matched element,
|
||||
* <li> Wait for <a href="https://playwright.dev/java/docs/actionability">actionability</a> checks on the matched element,
|
||||
* unless {@code force} option is set. If the element is detached during the checks, the whole action is retried.</li>
|
||||
* <li> Scroll the element into view if needed.</li>
|
||||
* <li> Use {@link Page#mouse Page.mouse()} to click in the center of the element.</li>
|
||||
@@ -2040,7 +2040,7 @@ public interface ElementHandle extends JSHandle {
|
||||
* <ol>
|
||||
* <li> Ensure that element is a checkbox or a radio input. If not, this method throws.</li>
|
||||
* <li> If the element already has the right checked state, this method returns immediately.</li>
|
||||
* <li> Wait for <a href="https://playwright.dev/java/docs/actionability/">actionability</a> checks on the matched element,
|
||||
* <li> Wait for <a href="https://playwright.dev/java/docs/actionability">actionability</a> checks on the matched element,
|
||||
* unless {@code force} option is set. If the element is detached during the checks, the whole action is retried.</li>
|
||||
* <li> Scroll the element into view if needed.</li>
|
||||
* <li> Use {@link Page#mouse Page.mouse()} to click in the center of the element.</li>
|
||||
@@ -2129,7 +2129,7 @@ public interface ElementHandle extends JSHandle {
|
||||
/**
|
||||
* This method taps the element by performing the following steps:
|
||||
* <ol>
|
||||
* <li> Wait for <a href="https://playwright.dev/java/docs/actionability/">actionability</a> checks on the element, unless
|
||||
* <li> Wait for <a href="https://playwright.dev/java/docs/actionability">actionability</a> checks on the element, unless
|
||||
* {@code force} option is set.</li>
|
||||
* <li> Scroll the element into view if needed.</li>
|
||||
* <li> Use {@link Page#touchscreen Page.touchscreen()} to tap the center of the element, or the specified {@code position}.</li>
|
||||
@@ -2149,7 +2149,7 @@ public interface ElementHandle extends JSHandle {
|
||||
/**
|
||||
* This method taps the element by performing the following steps:
|
||||
* <ol>
|
||||
* <li> Wait for <a href="https://playwright.dev/java/docs/actionability/">actionability</a> checks on the element, unless
|
||||
* <li> Wait for <a href="https://playwright.dev/java/docs/actionability">actionability</a> checks on the element, unless
|
||||
* {@code force} option is set.</li>
|
||||
* <li> Scroll the element into view if needed.</li>
|
||||
* <li> Use {@link Page#touchscreen Page.touchscreen()} to tap the center of the element, or the specified {@code position}.</li>
|
||||
@@ -2213,7 +2213,7 @@ public interface ElementHandle extends JSHandle {
|
||||
* <ol>
|
||||
* <li> 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.</li>
|
||||
* <li> Wait for <a href="https://playwright.dev/java/docs/actionability/">actionability</a> checks on the element, unless
|
||||
* <li> Wait for <a href="https://playwright.dev/java/docs/actionability">actionability</a> checks on the element, unless
|
||||
* {@code force} option is set.</li>
|
||||
* <li> Scroll the element into view if needed.</li>
|
||||
* <li> Use {@link Page#mouse Page.mouse()} to click in the center of the element.</li>
|
||||
@@ -2234,7 +2234,7 @@ public interface ElementHandle extends JSHandle {
|
||||
* <ol>
|
||||
* <li> 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.</li>
|
||||
* <li> Wait for <a href="https://playwright.dev/java/docs/actionability/">actionability</a> checks on the element, unless
|
||||
* <li> Wait for <a href="https://playwright.dev/java/docs/actionability">actionability</a> checks on the element, unless
|
||||
* {@code force} option is set.</li>
|
||||
* <li> Scroll the element into view if needed.</li>
|
||||
* <li> Use {@link Page#mouse Page.mouse()} to click in the center of the element.</li>
|
||||
@@ -2252,19 +2252,18 @@ public interface ElementHandle extends JSHandle {
|
||||
* Returns when the element satisfies the {@code state}.
|
||||
*
|
||||
* <p> Depending on the {@code state} parameter, this method waits for one of the <a
|
||||
* href="https://playwright.dev/java/docs/actionability/">actionability</a> checks to pass. This method throws when the
|
||||
* href="https://playwright.dev/java/docs/actionability">actionability</a> checks to pass. This method throws when the
|
||||
* element is detached while waiting, unless waiting for the {@code "hidden"} state.
|
||||
* <ul>
|
||||
* <li> {@code "visible"} Wait until the element is <a href="https://playwright.dev/java/docs/actionability/#visible">visible</a>.</li>
|
||||
* <li> {@code "hidden"} Wait until the element is <a href="https://playwright.dev/java/docs/actionability/#visible">not visible</a>
|
||||
* or <a href="https://playwright.dev/java/docs/actionability/#attached">not attached</a>. Note that waiting for hidden
|
||||
* does not throw when the element detaches.</li>
|
||||
* <li> {@code "stable"} Wait until the element is both <a href="https://playwright.dev/java/docs/actionability/#visible">visible</a>
|
||||
* and <a href="https://playwright.dev/java/docs/actionability/#stable">stable</a>.</li>
|
||||
* <li> {@code "enabled"} Wait until the element is <a href="https://playwright.dev/java/docs/actionability/#enabled">enabled</a>.</li>
|
||||
* <li> {@code "disabled"} Wait until the element is <a href="https://playwright.dev/java/docs/actionability/#enabled">not
|
||||
* enabled</a>.</li>
|
||||
* <li> {@code "editable"} Wait until the element is <a href="https://playwright.dev/java/docs/actionability/#editable">editable</a>.</li>
|
||||
* <li> {@code "visible"} Wait until the element is <a href="https://playwright.dev/java/docs/actionability#visible">visible</a>.</li>
|
||||
* <li> {@code "hidden"} Wait until the element is <a href="https://playwright.dev/java/docs/actionability#visible">not visible</a> or
|
||||
* <a href="https://playwright.dev/java/docs/actionability#attached">not attached</a>. Note that waiting for hidden does
|
||||
* not throw when the element detaches.</li>
|
||||
* <li> {@code "stable"} Wait until the element is both <a href="https://playwright.dev/java/docs/actionability#visible">visible</a>
|
||||
* and <a href="https://playwright.dev/java/docs/actionability#stable">stable</a>.</li>
|
||||
* <li> {@code "enabled"} Wait until the element is <a href="https://playwright.dev/java/docs/actionability#enabled">enabled</a>.</li>
|
||||
* <li> {@code "disabled"} Wait until the element is <a href="https://playwright.dev/java/docs/actionability#enabled">not enabled</a>.</li>
|
||||
* <li> {@code "editable"} Wait until the element is <a href="https://playwright.dev/java/docs/actionability#editable">editable</a>.</li>
|
||||
* </ul>
|
||||
*
|
||||
* <p> 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}.
|
||||
*
|
||||
* <p> Depending on the {@code state} parameter, this method waits for one of the <a
|
||||
* href="https://playwright.dev/java/docs/actionability/">actionability</a> checks to pass. This method throws when the
|
||||
* href="https://playwright.dev/java/docs/actionability">actionability</a> checks to pass. This method throws when the
|
||||
* element is detached while waiting, unless waiting for the {@code "hidden"} state.
|
||||
* <ul>
|
||||
* <li> {@code "visible"} Wait until the element is <a href="https://playwright.dev/java/docs/actionability/#visible">visible</a>.</li>
|
||||
* <li> {@code "hidden"} Wait until the element is <a href="https://playwright.dev/java/docs/actionability/#visible">not visible</a>
|
||||
* or <a href="https://playwright.dev/java/docs/actionability/#attached">not attached</a>. Note that waiting for hidden
|
||||
* does not throw when the element detaches.</li>
|
||||
* <li> {@code "stable"} Wait until the element is both <a href="https://playwright.dev/java/docs/actionability/#visible">visible</a>
|
||||
* and <a href="https://playwright.dev/java/docs/actionability/#stable">stable</a>.</li>
|
||||
* <li> {@code "enabled"} Wait until the element is <a href="https://playwright.dev/java/docs/actionability/#enabled">enabled</a>.</li>
|
||||
* <li> {@code "disabled"} Wait until the element is <a href="https://playwright.dev/java/docs/actionability/#enabled">not
|
||||
* enabled</a>.</li>
|
||||
* <li> {@code "editable"} Wait until the element is <a href="https://playwright.dev/java/docs/actionability/#editable">editable</a>.</li>
|
||||
* <li> {@code "visible"} Wait until the element is <a href="https://playwright.dev/java/docs/actionability#visible">visible</a>.</li>
|
||||
* <li> {@code "hidden"} Wait until the element is <a href="https://playwright.dev/java/docs/actionability#visible">not visible</a> or
|
||||
* <a href="https://playwright.dev/java/docs/actionability#attached">not attached</a>. Note that waiting for hidden does
|
||||
* not throw when the element detaches.</li>
|
||||
* <li> {@code "stable"} Wait until the element is both <a href="https://playwright.dev/java/docs/actionability#visible">visible</a>
|
||||
* and <a href="https://playwright.dev/java/docs/actionability#stable">stable</a>.</li>
|
||||
* <li> {@code "enabled"} Wait until the element is <a href="https://playwright.dev/java/docs/actionability#enabled">enabled</a>.</li>
|
||||
* <li> {@code "disabled"} Wait until the element is <a href="https://playwright.dev/java/docs/actionability#enabled">not enabled</a>.</li>
|
||||
* <li> {@code "editable"} Wait until the element is <a href="https://playwright.dev/java/docs/actionability#editable">editable</a>.</li>
|
||||
* </ul>
|
||||
*
|
||||
* <p> 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 {
|
||||
*
|
||||
* <p> <strong>NOTE:</strong> This method does not work across navigations, use {@link Page#waitForSelector Page.waitForSelector()} instead.
|
||||
*
|
||||
* @param selector A selector to query for. See <a href="https://playwright.dev/java/docs/selectors/">working with selectors</a> for more
|
||||
* @param selector A selector to query for. See <a href="https://playwright.dev/java/docs/selectors">working with selectors</a> for more
|
||||
* details.
|
||||
*/
|
||||
default ElementHandle waitForSelector(String selector) {
|
||||
@@ -2340,7 +2338,7 @@ public interface ElementHandle extends JSHandle {
|
||||
*
|
||||
* <p> <strong>NOTE:</strong> This method does not work across navigations, use {@link Page#waitForSelector Page.waitForSelector()} instead.
|
||||
*
|
||||
* @param selector A selector to query for. See <a href="https://playwright.dev/java/docs/selectors/">working with selectors</a> for more
|
||||
* @param selector A selector to query for. See <a href="https://playwright.dev/java/docs/selectors">working with selectors</a> for more
|
||||
* details.
|
||||
*/
|
||||
ElementHandle waitForSelector(String selector, WaitForSelectorOptions options);
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@@ -97,7 +97,7 @@ public interface FrameLocator {
|
||||
* When working with iframes, you can create a frame locator that will enter the iframe and allow selecting elements in
|
||||
* that iframe.
|
||||
*
|
||||
* @param selector A selector to use when resolving DOM element. See <a href="https://playwright.dev/java/docs/selectors/">working with
|
||||
* @param selector A selector to use when resolving DOM element. See <a href="https://playwright.dev/java/docs/selectors">working with
|
||||
* selectors</a> for more details.
|
||||
*/
|
||||
FrameLocator frameLocator(String selector);
|
||||
@@ -108,7 +108,7 @@ public interface FrameLocator {
|
||||
/**
|
||||
* The method finds an element matching the specified selector in the FrameLocator's subtree.
|
||||
*
|
||||
* @param selector A selector to use when resolving DOM element. See <a href="https://playwright.dev/java/docs/selectors/">working with
|
||||
* @param selector A selector to use when resolving DOM element. See <a href="https://playwright.dev/java/docs/selectors">working with
|
||||
* selectors</a> for more details.
|
||||
*/
|
||||
default Locator locator(String selector) {
|
||||
@@ -117,7 +117,7 @@ public interface FrameLocator {
|
||||
/**
|
||||
* The method finds an element matching the specified selector in the FrameLocator's subtree.
|
||||
*
|
||||
* @param selector A selector to use when resolving DOM element. See <a href="https://playwright.dev/java/docs/selectors/">working with
|
||||
* @param selector A selector to use when resolving DOM element. See <a href="https://playwright.dev/java/docs/selectors">working with
|
||||
* selectors</a> for more details.
|
||||
*/
|
||||
Locator locator(String selector, LocatorOptions options);
|
||||
|
||||
@@ -26,7 +26,7 @@ import java.util.regex.Pattern;
|
||||
* to find element(s) on the page at any moment. Locator can be created with the {@link Page#locator Page.locator()}
|
||||
* method.
|
||||
*
|
||||
* <p> <a href="https://playwright.dev/java/docs/locators/">Learn more about locators</a>.
|
||||
* <p> <a href="https://playwright.dev/java/docs/locators">Learn more about locators</a>.
|
||||
*/
|
||||
public interface Locator {
|
||||
class BoundingBoxOptions {
|
||||
@@ -49,7 +49,7 @@ public interface Locator {
|
||||
}
|
||||
class CheckOptions {
|
||||
/**
|
||||
* Whether to bypass the <a href="https://playwright.dev/java/docs/actionability/">actionability</a> checks. Defaults to
|
||||
* Whether to bypass the <a href="https://playwright.dev/java/docs/actionability">actionability</a> checks. Defaults to
|
||||
* {@code false}.
|
||||
*/
|
||||
public Boolean force;
|
||||
@@ -71,14 +71,14 @@ public interface Locator {
|
||||
*/
|
||||
public Double timeout;
|
||||
/**
|
||||
* When set, this method only performs the <a href="https://playwright.dev/java/docs/actionability/">actionability</a>
|
||||
* When set, this method only performs the <a href="https://playwright.dev/java/docs/actionability">actionability</a>
|
||||
* 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 <a href="https://playwright.dev/java/docs/actionability/">actionability</a> checks. Defaults to
|
||||
* Whether to bypass the <a href="https://playwright.dev/java/docs/actionability">actionability</a> checks. Defaults to
|
||||
* {@code false}.
|
||||
*/
|
||||
public CheckOptions setForce(boolean force) {
|
||||
@@ -119,7 +119,7 @@ public interface Locator {
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* When set, this method only performs the <a href="https://playwright.dev/java/docs/actionability/">actionability</a>
|
||||
* When set, this method only performs the <a href="https://playwright.dev/java/docs/actionability">actionability</a>
|
||||
* checks and skips the action. Defaults to {@code false}. Useful to wait until the element is ready for the action without
|
||||
* performing it.
|
||||
*/
|
||||
@@ -142,7 +142,7 @@ public interface Locator {
|
||||
*/
|
||||
public Double delay;
|
||||
/**
|
||||
* Whether to bypass the <a href="https://playwright.dev/java/docs/actionability/">actionability</a> checks. Defaults to
|
||||
* Whether to bypass the <a href="https://playwright.dev/java/docs/actionability">actionability</a> checks. Defaults to
|
||||
* {@code false}.
|
||||
*/
|
||||
public Boolean force;
|
||||
@@ -169,7 +169,7 @@ public interface Locator {
|
||||
*/
|
||||
public Double timeout;
|
||||
/**
|
||||
* When set, this method only performs the <a href="https://playwright.dev/java/docs/actionability/">actionability</a>
|
||||
* When set, this method only performs the <a href="https://playwright.dev/java/docs/actionability">actionability</a>
|
||||
* checks and skips the action. Defaults to {@code false}. Useful to wait until the element is ready for the action without
|
||||
* performing it.
|
||||
*/
|
||||
@@ -197,7 +197,7 @@ public interface Locator {
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* Whether to bypass the <a href="https://playwright.dev/java/docs/actionability/">actionability</a> checks. Defaults to
|
||||
* Whether to bypass the <a href="https://playwright.dev/java/docs/actionability">actionability</a> checks. Defaults to
|
||||
* {@code false}.
|
||||
*/
|
||||
public ClickOptions setForce(boolean force) {
|
||||
@@ -246,7 +246,7 @@ public interface Locator {
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* When set, this method only performs the <a href="https://playwright.dev/java/docs/actionability/">actionability</a>
|
||||
* When set, this method only performs the <a href="https://playwright.dev/java/docs/actionability">actionability</a>
|
||||
* checks and skips the action. Defaults to {@code false}. Useful to wait until the element is ready for the action without
|
||||
* performing it.
|
||||
*/
|
||||
@@ -265,7 +265,7 @@ public interface Locator {
|
||||
*/
|
||||
public Double delay;
|
||||
/**
|
||||
* Whether to bypass the <a href="https://playwright.dev/java/docs/actionability/">actionability</a> checks. Defaults to
|
||||
* Whether to bypass the <a href="https://playwright.dev/java/docs/actionability">actionability</a> checks. Defaults to
|
||||
* {@code false}.
|
||||
*/
|
||||
public Boolean force;
|
||||
@@ -292,7 +292,7 @@ public interface Locator {
|
||||
*/
|
||||
public Double timeout;
|
||||
/**
|
||||
* When set, this method only performs the <a href="https://playwright.dev/java/docs/actionability/">actionability</a>
|
||||
* When set, this method only performs the <a href="https://playwright.dev/java/docs/actionability">actionability</a>
|
||||
* checks and skips the action. Defaults to {@code false}. Useful to wait until the element is ready for the action without
|
||||
* performing it.
|
||||
*/
|
||||
@@ -313,7 +313,7 @@ public interface Locator {
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* Whether to bypass the <a href="https://playwright.dev/java/docs/actionability/">actionability</a> checks. Defaults to
|
||||
* Whether to bypass the <a href="https://playwright.dev/java/docs/actionability">actionability</a> checks. Defaults to
|
||||
* {@code false}.
|
||||
*/
|
||||
public DblclickOptions setForce(boolean force) {
|
||||
@@ -362,7 +362,7 @@ public interface Locator {
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* When set, this method only performs the <a href="https://playwright.dev/java/docs/actionability/">actionability</a>
|
||||
* When set, this method only performs the <a href="https://playwright.dev/java/docs/actionability">actionability</a>
|
||||
* checks and skips the action. Defaults to {@code false}. Useful to wait until the element is ready for the action without
|
||||
* performing it.
|
||||
*/
|
||||
@@ -391,7 +391,7 @@ public interface Locator {
|
||||
}
|
||||
class DragToOptions {
|
||||
/**
|
||||
* Whether to bypass the <a href="https://playwright.dev/java/docs/actionability/">actionability</a> checks. Defaults to
|
||||
* Whether to bypass the <a href="https://playwright.dev/java/docs/actionability">actionability</a> checks. Defaults to
|
||||
* {@code false}.
|
||||
*/
|
||||
public Boolean force;
|
||||
@@ -418,14 +418,14 @@ public interface Locator {
|
||||
*/
|
||||
public Double timeout;
|
||||
/**
|
||||
* When set, this method only performs the <a href="https://playwright.dev/java/docs/actionability/">actionability</a>
|
||||
* When set, this method only performs the <a href="https://playwright.dev/java/docs/actionability">actionability</a>
|
||||
* 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 <a href="https://playwright.dev/java/docs/actionability/">actionability</a> checks. Defaults to
|
||||
* Whether to bypass the <a href="https://playwright.dev/java/docs/actionability">actionability</a> checks. Defaults to
|
||||
* {@code false}.
|
||||
*/
|
||||
public DragToOptions setForce(boolean force) {
|
||||
@@ -481,7 +481,7 @@ public interface Locator {
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* When set, this method only performs the <a href="https://playwright.dev/java/docs/actionability/">actionability</a>
|
||||
* When set, this method only performs the <a href="https://playwright.dev/java/docs/actionability">actionability</a>
|
||||
* checks and skips the action. Defaults to {@code false}. Useful to wait until the element is ready for the action without
|
||||
* performing it.
|
||||
*/
|
||||
@@ -546,7 +546,7 @@ public interface Locator {
|
||||
}
|
||||
class FillOptions {
|
||||
/**
|
||||
* Whether to bypass the <a href="https://playwright.dev/java/docs/actionability/">actionability</a> checks. Defaults to
|
||||
* Whether to bypass the <a href="https://playwright.dev/java/docs/actionability">actionability</a> checks. Defaults to
|
||||
* {@code false}.
|
||||
*/
|
||||
public Boolean force;
|
||||
@@ -564,7 +564,7 @@ public interface Locator {
|
||||
public Double timeout;
|
||||
|
||||
/**
|
||||
* Whether to bypass the <a href="https://playwright.dev/java/docs/actionability/">actionability</a> checks. Defaults to
|
||||
* Whether to bypass the <a href="https://playwright.dev/java/docs/actionability">actionability</a> checks. Defaults to
|
||||
* {@code false}.
|
||||
*/
|
||||
public FillOptions setForce(boolean force) {
|
||||
@@ -628,7 +628,7 @@ public interface Locator {
|
||||
}
|
||||
class HoverOptions {
|
||||
/**
|
||||
* Whether to bypass the <a href="https://playwright.dev/java/docs/actionability/">actionability</a> checks. Defaults to
|
||||
* Whether to bypass the <a href="https://playwright.dev/java/docs/actionability">actionability</a> checks. Defaults to
|
||||
* {@code false}.
|
||||
*/
|
||||
public Boolean force;
|
||||
@@ -649,14 +649,14 @@ public interface Locator {
|
||||
*/
|
||||
public Double timeout;
|
||||
/**
|
||||
* When set, this method only performs the <a href="https://playwright.dev/java/docs/actionability/">actionability</a>
|
||||
* When set, this method only performs the <a href="https://playwright.dev/java/docs/actionability">actionability</a>
|
||||
* 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 <a href="https://playwright.dev/java/docs/actionability/">actionability</a> checks. Defaults to
|
||||
* Whether to bypass the <a href="https://playwright.dev/java/docs/actionability">actionability</a> checks. Defaults to
|
||||
* {@code false}.
|
||||
*/
|
||||
public HoverOptions setForce(boolean force) {
|
||||
@@ -696,7 +696,7 @@ public interface Locator {
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* When set, this method only performs the <a href="https://playwright.dev/java/docs/actionability/">actionability</a>
|
||||
* When set, this method only performs the <a href="https://playwright.dev/java/docs/actionability">actionability</a>
|
||||
* checks and skips the action. Defaults to {@code false}. Useful to wait until the element is ready for the action without
|
||||
* performing it.
|
||||
*/
|
||||
@@ -1036,7 +1036,7 @@ public interface Locator {
|
||||
}
|
||||
class SelectOptionOptions {
|
||||
/**
|
||||
* Whether to bypass the <a href="https://playwright.dev/java/docs/actionability/">actionability</a> checks. Defaults to
|
||||
* Whether to bypass the <a href="https://playwright.dev/java/docs/actionability">actionability</a> checks. Defaults to
|
||||
* {@code false}.
|
||||
*/
|
||||
public Boolean force;
|
||||
@@ -1054,7 +1054,7 @@ public interface Locator {
|
||||
public Double timeout;
|
||||
|
||||
/**
|
||||
* Whether to bypass the <a href="https://playwright.dev/java/docs/actionability/">actionability</a> checks. Defaults to
|
||||
* Whether to bypass the <a href="https://playwright.dev/java/docs/actionability">actionability</a> checks. Defaults to
|
||||
* {@code false}.
|
||||
*/
|
||||
public SelectOptionOptions setForce(boolean force) {
|
||||
@@ -1082,7 +1082,7 @@ public interface Locator {
|
||||
}
|
||||
class SelectTextOptions {
|
||||
/**
|
||||
* Whether to bypass the <a href="https://playwright.dev/java/docs/actionability/">actionability</a> checks. Defaults to
|
||||
* Whether to bypass the <a href="https://playwright.dev/java/docs/actionability">actionability</a> checks. Defaults to
|
||||
* {@code false}.
|
||||
*/
|
||||
public Boolean force;
|
||||
@@ -1094,7 +1094,7 @@ public interface Locator {
|
||||
public Double timeout;
|
||||
|
||||
/**
|
||||
* Whether to bypass the <a href="https://playwright.dev/java/docs/actionability/">actionability</a> checks. Defaults to
|
||||
* Whether to bypass the <a href="https://playwright.dev/java/docs/actionability">actionability</a> checks. Defaults to
|
||||
* {@code false}.
|
||||
*/
|
||||
public SelectTextOptions setForce(boolean force) {
|
||||
@@ -1113,7 +1113,7 @@ public interface Locator {
|
||||
}
|
||||
class SetCheckedOptions {
|
||||
/**
|
||||
* Whether to bypass the <a href="https://playwright.dev/java/docs/actionability/">actionability</a> checks. Defaults to
|
||||
* Whether to bypass the <a href="https://playwright.dev/java/docs/actionability">actionability</a> checks. Defaults to
|
||||
* {@code false}.
|
||||
*/
|
||||
public Boolean force;
|
||||
@@ -1135,14 +1135,14 @@ public interface Locator {
|
||||
*/
|
||||
public Double timeout;
|
||||
/**
|
||||
* When set, this method only performs the <a href="https://playwright.dev/java/docs/actionability/">actionability</a>
|
||||
* When set, this method only performs the <a href="https://playwright.dev/java/docs/actionability">actionability</a>
|
||||
* 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 <a href="https://playwright.dev/java/docs/actionability/">actionability</a> checks. Defaults to
|
||||
* Whether to bypass the <a href="https://playwright.dev/java/docs/actionability">actionability</a> checks. Defaults to
|
||||
* {@code false}.
|
||||
*/
|
||||
public SetCheckedOptions setForce(boolean force) {
|
||||
@@ -1183,7 +1183,7 @@ public interface Locator {
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* When set, this method only performs the <a href="https://playwright.dev/java/docs/actionability/">actionability</a>
|
||||
* When set, this method only performs the <a href="https://playwright.dev/java/docs/actionability">actionability</a>
|
||||
* checks and skips the action. Defaults to {@code false}. Useful to wait until the element is ready for the action without
|
||||
* performing it.
|
||||
*/
|
||||
@@ -1227,7 +1227,7 @@ public interface Locator {
|
||||
}
|
||||
class TapOptions {
|
||||
/**
|
||||
* Whether to bypass the <a href="https://playwright.dev/java/docs/actionability/">actionability</a> checks. Defaults to
|
||||
* Whether to bypass the <a href="https://playwright.dev/java/docs/actionability">actionability</a> checks. Defaults to
|
||||
* {@code false}.
|
||||
*/
|
||||
public Boolean force;
|
||||
@@ -1254,14 +1254,14 @@ public interface Locator {
|
||||
*/
|
||||
public Double timeout;
|
||||
/**
|
||||
* When set, this method only performs the <a href="https://playwright.dev/java/docs/actionability/">actionability</a>
|
||||
* When set, this method only performs the <a href="https://playwright.dev/java/docs/actionability">actionability</a>
|
||||
* 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 <a href="https://playwright.dev/java/docs/actionability/">actionability</a> checks. Defaults to
|
||||
* Whether to bypass the <a href="https://playwright.dev/java/docs/actionability">actionability</a> checks. Defaults to
|
||||
* {@code false}.
|
||||
*/
|
||||
public TapOptions setForce(boolean force) {
|
||||
@@ -1310,7 +1310,7 @@ public interface Locator {
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* When set, this method only performs the <a href="https://playwright.dev/java/docs/actionability/">actionability</a>
|
||||
* When set, this method only performs the <a href="https://playwright.dev/java/docs/actionability">actionability</a>
|
||||
* checks and skips the action. Defaults to {@code false}. Useful to wait until the element is ready for the action without
|
||||
* performing it.
|
||||
*/
|
||||
@@ -1383,7 +1383,7 @@ public interface Locator {
|
||||
}
|
||||
class UncheckOptions {
|
||||
/**
|
||||
* Whether to bypass the <a href="https://playwright.dev/java/docs/actionability/">actionability</a> checks. Defaults to
|
||||
* Whether to bypass the <a href="https://playwright.dev/java/docs/actionability">actionability</a> checks. Defaults to
|
||||
* {@code false}.
|
||||
*/
|
||||
public Boolean force;
|
||||
@@ -1405,14 +1405,14 @@ public interface Locator {
|
||||
*/
|
||||
public Double timeout;
|
||||
/**
|
||||
* When set, this method only performs the <a href="https://playwright.dev/java/docs/actionability/">actionability</a>
|
||||
* When set, this method only performs the <a href="https://playwright.dev/java/docs/actionability">actionability</a>
|
||||
* 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 <a href="https://playwright.dev/java/docs/actionability/">actionability</a> checks. Defaults to
|
||||
* Whether to bypass the <a href="https://playwright.dev/java/docs/actionability">actionability</a> checks. Defaults to
|
||||
* {@code false}.
|
||||
*/
|
||||
public UncheckOptions setForce(boolean force) {
|
||||
@@ -1453,7 +1453,7 @@ public interface Locator {
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* When set, this method only performs the <a href="https://playwright.dev/java/docs/actionability/">actionability</a>
|
||||
* When set, this method only performs the <a href="https://playwright.dev/java/docs/actionability">actionability</a>
|
||||
* checks and skips the action. Defaults to {@code false}. Useful to wait until the element is ready for the action without
|
||||
* performing it.
|
||||
*/
|
||||
@@ -1560,7 +1560,7 @@ public interface Locator {
|
||||
* <ol>
|
||||
* <li> 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.</li>
|
||||
* <li> Wait for <a href="https://playwright.dev/java/docs/actionability/">actionability</a> checks on the element, unless
|
||||
* <li> Wait for <a href="https://playwright.dev/java/docs/actionability">actionability</a> checks on the element, unless
|
||||
* {@code force} option is set.</li>
|
||||
* <li> Scroll the element into view if needed.</li>
|
||||
* <li> Use {@link Page#mouse Page.mouse()} to click in the center of the element.</li>
|
||||
@@ -1581,7 +1581,7 @@ public interface Locator {
|
||||
* <ol>
|
||||
* <li> 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.</li>
|
||||
* <li> Wait for <a href="https://playwright.dev/java/docs/actionability/">actionability</a> checks on the element, unless
|
||||
* <li> Wait for <a href="https://playwright.dev/java/docs/actionability">actionability</a> checks on the element, unless
|
||||
* {@code force} option is set.</li>
|
||||
* <li> Scroll the element into view if needed.</li>
|
||||
* <li> Use {@link Page#mouse Page.mouse()} to click in the center of the element.</li>
|
||||
@@ -1598,7 +1598,7 @@ public interface Locator {
|
||||
/**
|
||||
* This method clicks the element by performing the following steps:
|
||||
* <ol>
|
||||
* <li> Wait for <a href="https://playwright.dev/java/docs/actionability/">actionability</a> checks on the element, unless
|
||||
* <li> Wait for <a href="https://playwright.dev/java/docs/actionability">actionability</a> checks on the element, unless
|
||||
* {@code force} option is set.</li>
|
||||
* <li> Scroll the element into view if needed.</li>
|
||||
* <li> Use {@link Page#mouse Page.mouse()} to click in the center of the element, or the specified {@code position}.</li>
|
||||
@@ -1616,7 +1616,7 @@ public interface Locator {
|
||||
/**
|
||||
* This method clicks the element by performing the following steps:
|
||||
* <ol>
|
||||
* <li> Wait for <a href="https://playwright.dev/java/docs/actionability/">actionability</a> checks on the element, unless
|
||||
* <li> Wait for <a href="https://playwright.dev/java/docs/actionability">actionability</a> checks on the element, unless
|
||||
* {@code force} option is set.</li>
|
||||
* <li> Scroll the element into view if needed.</li>
|
||||
* <li> Use {@link Page#mouse Page.mouse()} to click in the center of the element, or the specified {@code position}.</li>
|
||||
@@ -1636,7 +1636,7 @@ public interface Locator {
|
||||
/**
|
||||
* This method double clicks the element by performing the following steps:
|
||||
* <ol>
|
||||
* <li> Wait for <a href="https://playwright.dev/java/docs/actionability/">actionability</a> checks on the element, unless
|
||||
* <li> Wait for <a href="https://playwright.dev/java/docs/actionability">actionability</a> checks on the element, unless
|
||||
* {@code force} option is set.</li>
|
||||
* <li> Scroll the element into view if needed.</li>
|
||||
* <li> Use {@link Page#mouse Page.mouse()} to double click in the center of the element, or the specified {@code position}.</li>
|
||||
@@ -1657,7 +1657,7 @@ public interface Locator {
|
||||
/**
|
||||
* This method double clicks the element by performing the following steps:
|
||||
* <ol>
|
||||
* <li> Wait for <a href="https://playwright.dev/java/docs/actionability/">actionability</a> checks on the element, unless
|
||||
* <li> Wait for <a href="https://playwright.dev/java/docs/actionability">actionability</a> checks on the element, unless
|
||||
* {@code force} option is set.</li>
|
||||
* <li> Scroll the element into view if needed.</li>
|
||||
* <li> Use {@link Page#mouse Page.mouse()} to double click in the center of the element, or the specified {@code position}.</li>
|
||||
@@ -1974,7 +1974,7 @@ public interface Locator {
|
||||
*/
|
||||
JSHandle evaluateHandle(String expression, Object arg, EvaluateHandleOptions options);
|
||||
/**
|
||||
* This method waits for <a href="https://playwright.dev/java/docs/actionability/">actionability</a> checks, focuses the
|
||||
* This method waits for <a href="https://playwright.dev/java/docs/actionability">actionability</a> 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.
|
||||
*
|
||||
@@ -1991,7 +1991,7 @@ public interface Locator {
|
||||
fill(value, null);
|
||||
}
|
||||
/**
|
||||
* This method waits for <a href="https://playwright.dev/java/docs/actionability/">actionability</a> checks, focuses the
|
||||
* This method waits for <a href="https://playwright.dev/java/docs/actionability">actionability</a> 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.
|
||||
*
|
||||
@@ -2027,7 +2027,7 @@ public interface Locator {
|
||||
* locator.click();
|
||||
* }</pre>
|
||||
*
|
||||
* @param selector A selector to use when resolving DOM element. See <a href="https://playwright.dev/java/docs/selectors/">working with
|
||||
* @param selector A selector to use when resolving DOM element. See <a href="https://playwright.dev/java/docs/selectors">working with
|
||||
* selectors</a> for more details.
|
||||
*/
|
||||
FrameLocator frameLocator(String selector);
|
||||
@@ -2048,7 +2048,7 @@ public interface Locator {
|
||||
/**
|
||||
* This method hovers over the element by performing the following steps:
|
||||
* <ol>
|
||||
* <li> Wait for <a href="https://playwright.dev/java/docs/actionability/">actionability</a> checks on the element, unless
|
||||
* <li> Wait for <a href="https://playwright.dev/java/docs/actionability">actionability</a> checks on the element, unless
|
||||
* {@code force} option is set.</li>
|
||||
* <li> Scroll the element into view if needed.</li>
|
||||
* <li> Use {@link Page#mouse Page.mouse()} to hover over the center of the element, or the specified {@code position}.</li>
|
||||
@@ -2066,7 +2066,7 @@ public interface Locator {
|
||||
/**
|
||||
* This method hovers over the element by performing the following steps:
|
||||
* <ol>
|
||||
* <li> Wait for <a href="https://playwright.dev/java/docs/actionability/">actionability</a> checks on the element, unless
|
||||
* <li> Wait for <a href="https://playwright.dev/java/docs/actionability">actionability</a> checks on the element, unless
|
||||
* {@code force} option is set.</li>
|
||||
* <li> Scroll the element into view if needed.</li>
|
||||
* <li> Use {@link Page#mouse Page.mouse()} to hover over the center of the element, or the specified {@code position}.</li>
|
||||
@@ -2121,56 +2121,56 @@ public interface Locator {
|
||||
boolean isChecked(IsCheckedOptions options);
|
||||
/**
|
||||
* Returns whether the element is disabled, the opposite of <a
|
||||
* href="https://playwright.dev/java/docs/actionability/#enabled">enabled</a>.
|
||||
* href="https://playwright.dev/java/docs/actionability#enabled">enabled</a>.
|
||||
*/
|
||||
default boolean isDisabled() {
|
||||
return isDisabled(null);
|
||||
}
|
||||
/**
|
||||
* Returns whether the element is disabled, the opposite of <a
|
||||
* href="https://playwright.dev/java/docs/actionability/#enabled">enabled</a>.
|
||||
* href="https://playwright.dev/java/docs/actionability#enabled">enabled</a>.
|
||||
*/
|
||||
boolean isDisabled(IsDisabledOptions options);
|
||||
/**
|
||||
* Returns whether the element is <a href="https://playwright.dev/java/docs/actionability/#editable">editable</a>.
|
||||
* Returns whether the element is <a href="https://playwright.dev/java/docs/actionability#editable">editable</a>.
|
||||
*/
|
||||
default boolean isEditable() {
|
||||
return isEditable(null);
|
||||
}
|
||||
/**
|
||||
* Returns whether the element is <a href="https://playwright.dev/java/docs/actionability/#editable">editable</a>.
|
||||
* Returns whether the element is <a href="https://playwright.dev/java/docs/actionability#editable">editable</a>.
|
||||
*/
|
||||
boolean isEditable(IsEditableOptions options);
|
||||
/**
|
||||
* Returns whether the element is <a href="https://playwright.dev/java/docs/actionability/#enabled">enabled</a>.
|
||||
* Returns whether the element is <a href="https://playwright.dev/java/docs/actionability#enabled">enabled</a>.
|
||||
*/
|
||||
default boolean isEnabled() {
|
||||
return isEnabled(null);
|
||||
}
|
||||
/**
|
||||
* Returns whether the element is <a href="https://playwright.dev/java/docs/actionability/#enabled">enabled</a>.
|
||||
* Returns whether the element is <a href="https://playwright.dev/java/docs/actionability#enabled">enabled</a>.
|
||||
*/
|
||||
boolean isEnabled(IsEnabledOptions options);
|
||||
/**
|
||||
* Returns whether the element is hidden, the opposite of <a
|
||||
* href="https://playwright.dev/java/docs/actionability/#visible">visible</a>.
|
||||
* href="https://playwright.dev/java/docs/actionability#visible">visible</a>.
|
||||
*/
|
||||
default boolean isHidden() {
|
||||
return isHidden(null);
|
||||
}
|
||||
/**
|
||||
* Returns whether the element is hidden, the opposite of <a
|
||||
* href="https://playwright.dev/java/docs/actionability/#visible">visible</a>.
|
||||
* href="https://playwright.dev/java/docs/actionability#visible">visible</a>.
|
||||
*/
|
||||
boolean isHidden(IsHiddenOptions options);
|
||||
/**
|
||||
* Returns whether the element is <a href="https://playwright.dev/java/docs/actionability/#visible">visible</a>.
|
||||
* Returns whether the element is <a href="https://playwright.dev/java/docs/actionability#visible">visible</a>.
|
||||
*/
|
||||
default boolean isVisible() {
|
||||
return isVisible(null);
|
||||
}
|
||||
/**
|
||||
* Returns whether the element is <a href="https://playwright.dev/java/docs/actionability/#visible">visible</a>.
|
||||
* Returns whether the element is <a href="https://playwright.dev/java/docs/actionability#visible">visible</a>.
|
||||
*/
|
||||
boolean isVisible(IsVisibleOptions options);
|
||||
/**
|
||||
@@ -2180,7 +2180,7 @@ public interface Locator {
|
||||
/**
|
||||
* The method finds an element matching the specified selector in the {@code Locator}'s subtree.
|
||||
*
|
||||
* @param selector A selector to use when resolving DOM element. See <a href="https://playwright.dev/java/docs/selectors/">working with
|
||||
* @param selector A selector to use when resolving DOM element. See <a href="https://playwright.dev/java/docs/selectors">working with
|
||||
* selectors</a> for more details.
|
||||
*/
|
||||
default Locator locator(String selector) {
|
||||
@@ -2189,7 +2189,7 @@ public interface Locator {
|
||||
/**
|
||||
* The method finds an element matching the specified selector in the {@code Locator}'s subtree.
|
||||
*
|
||||
* @param selector A selector to use when resolving DOM element. See <a href="https://playwright.dev/java/docs/selectors/">working with
|
||||
* @param selector A selector to use when resolving DOM element. See <a href="https://playwright.dev/java/docs/selectors">working with
|
||||
* selectors</a> for more details.
|
||||
*/
|
||||
Locator locator(String selector, LocatorOptions options);
|
||||
@@ -2254,7 +2254,7 @@ public interface Locator {
|
||||
/**
|
||||
* Returns the buffer with the captured screenshot.
|
||||
*
|
||||
* <p> This method waits for the <a href="https://playwright.dev/java/docs/actionability/">actionability</a> checks, then
|
||||
* <p> This method waits for the <a href="https://playwright.dev/java/docs/actionability">actionability</a> 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() {
|
||||
@@ -2263,12 +2263,12 @@ public interface Locator {
|
||||
/**
|
||||
* Returns the buffer with the captured screenshot.
|
||||
*
|
||||
* <p> This method waits for the <a href="https://playwright.dev/java/docs/actionability/">actionability</a> checks, then
|
||||
* <p> This method waits for the <a href="https://playwright.dev/java/docs/actionability">actionability</a> 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 <a href="https://playwright.dev/java/docs/actionability/">actionability</a> checks, then tries to
|
||||
* This method waits for <a href="https://playwright.dev/java/docs/actionability">actionability</a> checks, then tries to
|
||||
* scroll element into view, unless it is completely visible as defined by <a
|
||||
* href="https://developer.mozilla.org/en-US/docs/Web/API/Intersection_Observer_API">IntersectionObserver</a>'s {@code ratio}.
|
||||
*/
|
||||
@@ -2276,14 +2276,14 @@ public interface Locator {
|
||||
scrollIntoViewIfNeeded(null);
|
||||
}
|
||||
/**
|
||||
* This method waits for <a href="https://playwright.dev/java/docs/actionability/">actionability</a> checks, then tries to
|
||||
* This method waits for <a href="https://playwright.dev/java/docs/actionability">actionability</a> checks, then tries to
|
||||
* scroll element into view, unless it is completely visible as defined by <a
|
||||
* href="https://developer.mozilla.org/en-US/docs/Web/API/Intersection_Observer_API">IntersectionObserver</a>'s {@code ratio}.
|
||||
*/
|
||||
void scrollIntoViewIfNeeded(ScrollIntoViewIfNeededOptions options);
|
||||
/**
|
||||
* This method waits for <a href="https://playwright.dev/java/docs/actionability/">actionability</a> checks, waits until
|
||||
* all specified options are present in the {@code <select>} element and selects these options.
|
||||
* This method waits for <a href="https://playwright.dev/java/docs/actionability">actionability</a> checks, waits until all
|
||||
* specified options are present in the {@code <select>} element and selects these options.
|
||||
*
|
||||
* <p> If the target element is not a {@code <select>} element, this method throws an error. However, if the element is inside the
|
||||
* {@code <label>} element that has an associated <a
|
||||
@@ -2310,8 +2310,8 @@ public interface Locator {
|
||||
return selectOption(values, null);
|
||||
}
|
||||
/**
|
||||
* This method waits for <a href="https://playwright.dev/java/docs/actionability/">actionability</a> checks, waits until
|
||||
* all specified options are present in the {@code <select>} element and selects these options.
|
||||
* This method waits for <a href="https://playwright.dev/java/docs/actionability">actionability</a> checks, waits until all
|
||||
* specified options are present in the {@code <select>} element and selects these options.
|
||||
*
|
||||
* <p> If the target element is not a {@code <select>} element, this method throws an error. However, if the element is inside the
|
||||
* {@code <label>} element that has an associated <a
|
||||
@@ -2336,8 +2336,8 @@ public interface Locator {
|
||||
*/
|
||||
List<String> selectOption(String values, SelectOptionOptions options);
|
||||
/**
|
||||
* This method waits for <a href="https://playwright.dev/java/docs/actionability/">actionability</a> checks, waits until
|
||||
* all specified options are present in the {@code <select>} element and selects these options.
|
||||
* This method waits for <a href="https://playwright.dev/java/docs/actionability">actionability</a> checks, waits until all
|
||||
* specified options are present in the {@code <select>} element and selects these options.
|
||||
*
|
||||
* <p> If the target element is not a {@code <select>} element, this method throws an error. However, if the element is inside the
|
||||
* {@code <label>} element that has an associated <a
|
||||
@@ -2364,8 +2364,8 @@ public interface Locator {
|
||||
return selectOption(values, null);
|
||||
}
|
||||
/**
|
||||
* This method waits for <a href="https://playwright.dev/java/docs/actionability/">actionability</a> checks, waits until
|
||||
* all specified options are present in the {@code <select>} element and selects these options.
|
||||
* This method waits for <a href="https://playwright.dev/java/docs/actionability">actionability</a> checks, waits until all
|
||||
* specified options are present in the {@code <select>} element and selects these options.
|
||||
*
|
||||
* <p> If the target element is not a {@code <select>} element, this method throws an error. However, if the element is inside the
|
||||
* {@code <label>} element that has an associated <a
|
||||
@@ -2390,8 +2390,8 @@ public interface Locator {
|
||||
*/
|
||||
List<String> selectOption(ElementHandle values, SelectOptionOptions options);
|
||||
/**
|
||||
* This method waits for <a href="https://playwright.dev/java/docs/actionability/">actionability</a> checks, waits until
|
||||
* all specified options are present in the {@code <select>} element and selects these options.
|
||||
* This method waits for <a href="https://playwright.dev/java/docs/actionability">actionability</a> checks, waits until all
|
||||
* specified options are present in the {@code <select>} element and selects these options.
|
||||
*
|
||||
* <p> If the target element is not a {@code <select>} element, this method throws an error. However, if the element is inside the
|
||||
* {@code <label>} element that has an associated <a
|
||||
@@ -2418,8 +2418,8 @@ public interface Locator {
|
||||
return selectOption(values, null);
|
||||
}
|
||||
/**
|
||||
* This method waits for <a href="https://playwright.dev/java/docs/actionability/">actionability</a> checks, waits until
|
||||
* all specified options are present in the {@code <select>} element and selects these options.
|
||||
* This method waits for <a href="https://playwright.dev/java/docs/actionability">actionability</a> checks, waits until all
|
||||
* specified options are present in the {@code <select>} element and selects these options.
|
||||
*
|
||||
* <p> If the target element is not a {@code <select>} element, this method throws an error. However, if the element is inside the
|
||||
* {@code <label>} element that has an associated <a
|
||||
@@ -2444,8 +2444,8 @@ public interface Locator {
|
||||
*/
|
||||
List<String> selectOption(String[] values, SelectOptionOptions options);
|
||||
/**
|
||||
* This method waits for <a href="https://playwright.dev/java/docs/actionability/">actionability</a> checks, waits until
|
||||
* all specified options are present in the {@code <select>} element and selects these options.
|
||||
* This method waits for <a href="https://playwright.dev/java/docs/actionability">actionability</a> checks, waits until all
|
||||
* specified options are present in the {@code <select>} element and selects these options.
|
||||
*
|
||||
* <p> If the target element is not a {@code <select>} element, this method throws an error. However, if the element is inside the
|
||||
* {@code <label>} element that has an associated <a
|
||||
@@ -2472,8 +2472,8 @@ public interface Locator {
|
||||
return selectOption(values, null);
|
||||
}
|
||||
/**
|
||||
* This method waits for <a href="https://playwright.dev/java/docs/actionability/">actionability</a> checks, waits until
|
||||
* all specified options are present in the {@code <select>} element and selects these options.
|
||||
* This method waits for <a href="https://playwright.dev/java/docs/actionability">actionability</a> checks, waits until all
|
||||
* specified options are present in the {@code <select>} element and selects these options.
|
||||
*
|
||||
* <p> If the target element is not a {@code <select>} element, this method throws an error. However, if the element is inside the
|
||||
* {@code <label>} element that has an associated <a
|
||||
@@ -2498,8 +2498,8 @@ public interface Locator {
|
||||
*/
|
||||
List<String> selectOption(SelectOption values, SelectOptionOptions options);
|
||||
/**
|
||||
* This method waits for <a href="https://playwright.dev/java/docs/actionability/">actionability</a> checks, waits until
|
||||
* all specified options are present in the {@code <select>} element and selects these options.
|
||||
* This method waits for <a href="https://playwright.dev/java/docs/actionability">actionability</a> checks, waits until all
|
||||
* specified options are present in the {@code <select>} element and selects these options.
|
||||
*
|
||||
* <p> If the target element is not a {@code <select>} element, this method throws an error. However, if the element is inside the
|
||||
* {@code <label>} element that has an associated <a
|
||||
@@ -2526,8 +2526,8 @@ public interface Locator {
|
||||
return selectOption(values, null);
|
||||
}
|
||||
/**
|
||||
* This method waits for <a href="https://playwright.dev/java/docs/actionability/">actionability</a> checks, waits until
|
||||
* all specified options are present in the {@code <select>} element and selects these options.
|
||||
* This method waits for <a href="https://playwright.dev/java/docs/actionability">actionability</a> checks, waits until all
|
||||
* specified options are present in the {@code <select>} element and selects these options.
|
||||
*
|
||||
* <p> If the target element is not a {@code <select>} element, this method throws an error. However, if the element is inside the
|
||||
* {@code <label>} element that has an associated <a
|
||||
@@ -2552,8 +2552,8 @@ public interface Locator {
|
||||
*/
|
||||
List<String> selectOption(ElementHandle[] values, SelectOptionOptions options);
|
||||
/**
|
||||
* This method waits for <a href="https://playwright.dev/java/docs/actionability/">actionability</a> checks, waits until
|
||||
* all specified options are present in the {@code <select>} element and selects these options.
|
||||
* This method waits for <a href="https://playwright.dev/java/docs/actionability">actionability</a> checks, waits until all
|
||||
* specified options are present in the {@code <select>} element and selects these options.
|
||||
*
|
||||
* <p> If the target element is not a {@code <select>} element, this method throws an error. However, if the element is inside the
|
||||
* {@code <label>} element that has an associated <a
|
||||
@@ -2580,8 +2580,8 @@ public interface Locator {
|
||||
return selectOption(values, null);
|
||||
}
|
||||
/**
|
||||
* This method waits for <a href="https://playwright.dev/java/docs/actionability/">actionability</a> checks, waits until
|
||||
* all specified options are present in the {@code <select>} element and selects these options.
|
||||
* This method waits for <a href="https://playwright.dev/java/docs/actionability">actionability</a> checks, waits until all
|
||||
* specified options are present in the {@code <select>} element and selects these options.
|
||||
*
|
||||
* <p> If the target element is not a {@code <select>} element, this method throws an error. However, if the element is inside the
|
||||
* {@code <label>} element that has an associated <a
|
||||
@@ -2606,14 +2606,14 @@ public interface Locator {
|
||||
*/
|
||||
List<String> selectOption(SelectOption[] values, SelectOptionOptions options);
|
||||
/**
|
||||
* This method waits for <a href="https://playwright.dev/java/docs/actionability/">actionability</a> checks, then focuses
|
||||
* This method waits for <a href="https://playwright.dev/java/docs/actionability">actionability</a> checks, then focuses
|
||||
* the element and selects all its text content.
|
||||
*/
|
||||
default void selectText() {
|
||||
selectText(null);
|
||||
}
|
||||
/**
|
||||
* This method waits for <a href="https://playwright.dev/java/docs/actionability/">actionability</a> checks, then focuses
|
||||
* This method waits for <a href="https://playwright.dev/java/docs/actionability">actionability</a> checks, then focuses
|
||||
* the element and selects all its text content.
|
||||
*/
|
||||
void selectText(SelectTextOptions options);
|
||||
@@ -2622,7 +2622,7 @@ public interface Locator {
|
||||
* <ol>
|
||||
* <li> Ensure that matched element is a checkbox or a radio input. If not, this method throws.</li>
|
||||
* <li> If the element already has the right checked state, this method returns immediately.</li>
|
||||
* <li> Wait for <a href="https://playwright.dev/java/docs/actionability/">actionability</a> checks on the matched element,
|
||||
* <li> Wait for <a href="https://playwright.dev/java/docs/actionability">actionability</a> checks on the matched element,
|
||||
* unless {@code force} option is set. If the element is detached during the checks, the whole action is retried.</li>
|
||||
* <li> Scroll the element into view if needed.</li>
|
||||
* <li> Use {@link Page#mouse Page.mouse()} to click in the center of the element.</li>
|
||||
@@ -2643,7 +2643,7 @@ public interface Locator {
|
||||
* <ol>
|
||||
* <li> Ensure that matched element is a checkbox or a radio input. If not, this method throws.</li>
|
||||
* <li> If the element already has the right checked state, this method returns immediately.</li>
|
||||
* <li> Wait for <a href="https://playwright.dev/java/docs/actionability/">actionability</a> checks on the matched element,
|
||||
* <li> Wait for <a href="https://playwright.dev/java/docs/actionability">actionability</a> checks on the matched element,
|
||||
* unless {@code force} option is set. If the element is detached during the checks, the whole action is retried.</li>
|
||||
* <li> Scroll the element into view if needed.</li>
|
||||
* <li> Use {@link Page#mouse Page.mouse()} to click in the center of the element.</li>
|
||||
@@ -2732,7 +2732,7 @@ public interface Locator {
|
||||
/**
|
||||
* This method taps the element by performing the following steps:
|
||||
* <ol>
|
||||
* <li> Wait for <a href="https://playwright.dev/java/docs/actionability/">actionability</a> checks on the element, unless
|
||||
* <li> Wait for <a href="https://playwright.dev/java/docs/actionability">actionability</a> checks on the element, unless
|
||||
* {@code force} option is set.</li>
|
||||
* <li> Scroll the element into view if needed.</li>
|
||||
* <li> Use {@link Page#touchscreen Page.touchscreen()} to tap the center of the element, or the specified {@code position}.</li>
|
||||
@@ -2752,7 +2752,7 @@ public interface Locator {
|
||||
/**
|
||||
* This method taps the element by performing the following steps:
|
||||
* <ol>
|
||||
* <li> Wait for <a href="https://playwright.dev/java/docs/actionability/">actionability</a> checks on the element, unless
|
||||
* <li> Wait for <a href="https://playwright.dev/java/docs/actionability">actionability</a> checks on the element, unless
|
||||
* {@code force} option is set.</li>
|
||||
* <li> Scroll the element into view if needed.</li>
|
||||
* <li> Use {@link Page#touchscreen Page.touchscreen()} to tap the center of the element, or the specified {@code position}.</li>
|
||||
@@ -2822,7 +2822,7 @@ public interface Locator {
|
||||
* <ol>
|
||||
* <li> 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.</li>
|
||||
* <li> Wait for <a href="https://playwright.dev/java/docs/actionability/">actionability</a> checks on the element, unless
|
||||
* <li> Wait for <a href="https://playwright.dev/java/docs/actionability">actionability</a> checks on the element, unless
|
||||
* {@code force} option is set.</li>
|
||||
* <li> Scroll the element into view if needed.</li>
|
||||
* <li> Use {@link Page#mouse Page.mouse()} to click in the center of the element.</li>
|
||||
@@ -2843,7 +2843,7 @@ public interface Locator {
|
||||
* <ol>
|
||||
* <li> 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.</li>
|
||||
* <li> Wait for <a href="https://playwright.dev/java/docs/actionability/">actionability</a> checks on the element, unless
|
||||
* <li> Wait for <a href="https://playwright.dev/java/docs/actionability">actionability</a> checks on the element, unless
|
||||
* {@code force} option is set.</li>
|
||||
* <li> Scroll the element into view if needed.</li>
|
||||
* <li> Use {@link Page#mouse Page.mouse()} to click in the center of the element.</li>
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@@ -70,7 +70,7 @@ public interface Playwright extends AutoCloseable {
|
||||
APIRequest request();
|
||||
/**
|
||||
* Selectors can be used to install custom selector engines. See <a
|
||||
* href="https://playwright.dev/java/docs/selectors/">Working with selectors</a> for more information.
|
||||
* href="https://playwright.dev/java/docs/selectors">Working with selectors</a> for more information.
|
||||
*/
|
||||
Selectors selectors();
|
||||
/**
|
||||
|
||||
@@ -20,7 +20,7 @@ import java.nio.file.Path;
|
||||
|
||||
/**
|
||||
* Selectors can be used to install custom selector engines. See <a
|
||||
* href="https://playwright.dev/java/docs/selectors/">Working with selectors</a> for more information.
|
||||
* href="https://playwright.dev/java/docs/selectors">Working with selectors</a> for more information.
|
||||
*/
|
||||
public interface Selectors {
|
||||
class RegisterOptions {
|
||||
|
||||
@@ -20,7 +20,7 @@ import java.nio.file.Path;
|
||||
|
||||
/**
|
||||
* API for collecting and saving Playwright traces. Playwright traces can be opened in <a
|
||||
* href="https://playwright.dev/java/docs/trace-viewer/">Trace Viewer</a> after Playwright script runs.
|
||||
* href="https://playwright.dev/java/docs/trace-viewer">Trace Viewer</a> after Playwright script runs.
|
||||
*
|
||||
* <p> Start recording a trace before performing actions. At the end, stop tracing and save it to a file.
|
||||
* <pre>{@code
|
||||
|
||||
@@ -409,7 +409,7 @@ public interface LocatorAssertions {
|
||||
void isFocused(IsFocusedOptions options);
|
||||
/**
|
||||
* Ensures the {@code Locator} points to a hidden DOM node, which is the opposite of <a
|
||||
* href="https://playwright.dev/java/docs/actionability/#visible">visible</a>.
|
||||
* href="https://playwright.dev/java/docs/actionability#visible">visible</a>.
|
||||
* <pre>{@code
|
||||
* assertThat(page.locator(".my-element")).isHidden();
|
||||
* }</pre>
|
||||
@@ -419,15 +419,14 @@ public interface LocatorAssertions {
|
||||
}
|
||||
/**
|
||||
* Ensures the {@code Locator} points to a hidden DOM node, which is the opposite of <a
|
||||
* href="https://playwright.dev/java/docs/actionability/#visible">visible</a>.
|
||||
* href="https://playwright.dev/java/docs/actionability#visible">visible</a>.
|
||||
* <pre>{@code
|
||||
* assertThat(page.locator(".my-element")).isHidden();
|
||||
* }</pre>
|
||||
*/
|
||||
void isHidden(IsHiddenOptions options);
|
||||
/**
|
||||
* Ensures the {@code Locator} points to a <a href="https://playwright.dev/java/docs/actionability/#visible">visible</a> DOM
|
||||
* node.
|
||||
* Ensures the {@code Locator} points to a <a href="https://playwright.dev/java/docs/actionability#visible">visible</a> DOM node.
|
||||
* <pre>{@code
|
||||
* assertThat(page.locator(".my-element")).toBeVisible();
|
||||
* }</pre>
|
||||
@@ -436,8 +435,7 @@ public interface LocatorAssertions {
|
||||
isVisible(null);
|
||||
}
|
||||
/**
|
||||
* Ensures the {@code Locator} points to a <a href="https://playwright.dev/java/docs/actionability/#visible">visible</a> DOM
|
||||
* node.
|
||||
* Ensures the {@code Locator} points to a <a href="https://playwright.dev/java/docs/actionability#visible">visible</a> DOM node.
|
||||
* <pre>{@code
|
||||
* assertThat(page.locator(".my-element")).toBeVisible();
|
||||
* }</pre>
|
||||
|
||||
@@ -183,7 +183,7 @@ abstract class Element {
|
||||
String url = matcher.group(2);
|
||||
if (url.startsWith("./")) {
|
||||
// ./actionability.md#editable => https://playwright.dev/java/docs/actionability/#editable
|
||||
url = url.replace(".md", "/");
|
||||
url = url.replace(".md", "");
|
||||
url = url.replace("./", "https://playwright.dev/java/docs/");
|
||||
}
|
||||
String link = "<a href=\"" + url + "\">" + matcher.group(1) + "</a>";
|
||||
|
||||
Reference in New Issue
Block a user