diff --git a/docs/src/api/class-elementhandle.md b/docs/src/api/class-elementhandle.md index bb44b2c06b..25805e742c 100644 --- a/docs/src/api/class-elementhandle.md +++ b/docs/src/api/class-elementhandle.md @@ -155,7 +155,7 @@ await page.Mouse.ClickAsync(box.X + box.Width / 2, box.Y + box.Height / 2); This method checks the element by performing the following steps: 1. Ensure that element is a checkbox or a radio input. If not, this method throws. If the element is already checked, this method returns immediately. -1. Wait for [actionability](./actionability.md) checks on the element, unless [`option: force`] option is set. +1. Wait for [actionability](../actionability.md) checks on the element, unless [`option: force`] option is set. 1. Scroll the element into view if needed. 1. Use [`property: Page.mouse`] to click in the center of the element. 1. Wait for initiated navigations to either succeed or fail, unless [`option: noWaitAfter`] option is set. @@ -179,7 +179,7 @@ When all steps combined have not finished during the specified [`option: timeout ## async method: ElementHandle.click This method clicks the element by performing the following steps: -1. Wait for [actionability](./actionability.md) checks on the element, unless [`option: force`] option is set. +1. Wait for [actionability](../actionability.md) checks on the element, unless [`option: force`] option is set. 1. Scroll the element into view if needed. 1. Use [`property: Page.mouse`] to click in the center of the element, or the specified [`option: position`]. 1. Wait for initiated navigations to either succeed or fail, unless [`option: noWaitAfter`] option is set. @@ -217,7 +217,7 @@ Returns the content frame for element handles referencing iframe nodes, or `null - alias-csharp: DblClickAsync This method double clicks the element by performing the following steps: -1. Wait for [actionability](./actionability.md) checks on the element, unless [`option: force`] option is set. +1. Wait for [actionability](../actionability.md) checks on the element, unless [`option: force`] option is set. 1. Scroll the element into view if needed. 1. Use [`property: Page.mouse`] to double click in the center of the element, or the specified [`option: position`]. 1. Wait for initiated navigations to either succeed or fail, unless [`option: noWaitAfter`] option is set. Note that @@ -343,7 +343,7 @@ Optional event-specific initialization properties. Returns the return value of [`param: expression`]. The method finds an element matching the specified selector in the `ElementHandle`s subtree and passes it as a first -argument to [`param: expression`]. See [Working with selectors](./selectors.md) for more +argument to [`param: expression`]. See [Working with selectors](../selectors.md) for more details. If no elements match the selector, the method throws an error. If [`param: expression`] returns a [Promise], then [`method: ElementHandle.evalOnSelector`] would wait for the promise to resolve and return its @@ -400,7 +400,7 @@ Returns the return value of [`param: expression`]. The method finds all elements matching the specified selector in the `ElementHandle`'s subtree and passes an array of matched elements as a first argument to [`param: expression`]. See -[Working with selectors](./selectors.md) for more details. +[Working with selectors](../selectors.md) for more details. If [`param: expression`] returns a [Promise], then [`method: ElementHandle.evalOnSelectorAll`] would wait for the promise to resolve and return its value. @@ -450,7 +450,7 @@ Optional argument to pass to [`param: expression`]. ## async method: ElementHandle.fill -This method waits for [actionability](./actionability.md) checks, focuses the element, fills it and triggers an `input` event after filling. Note that you can pass an empty string to clear the input field. +This method waits for [actionability](../actionability.md) checks, focuses the element, fills it and triggers an `input` event after filling. Note that you can pass an empty string to clear the input field. If the target element is not an ``, `