docs(assertions): fix wrong link (#17733)
This commit is contained in:
parent
5b57789c6d
commit
ce2ded1f7e
|
|
@ -702,7 +702,7 @@ await Expect(locator).ToBeHiddenAsync();
|
||||||
* langs:
|
* langs:
|
||||||
- alias-java: isVisible
|
- alias-java: isVisible
|
||||||
|
|
||||||
Ensures that [Locator] points to an [attached](./actionability.md#visible) and [visible](./actionability.md#visible) DOM node.
|
Ensures that [Locator] points to an [attached](./actionability.md#attached) and [visible](./actionability.md#visible) DOM node.
|
||||||
|
|
||||||
```js
|
```js
|
||||||
const locator = page.locator('.my-element');
|
const locator = page.locator('.my-element');
|
||||||
|
|
|
||||||
4
packages/playwright-test/types/test.d.ts
vendored
4
packages/playwright-test/types/test.d.ts
vendored
|
|
@ -3403,8 +3403,8 @@ interface LocatorAssertions {
|
||||||
}): Promise<void>;
|
}): Promise<void>;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Ensures that [Locator] points to an [attached](https://playwright.dev/docs/api/actionability#visible) and [visible](https://playwright.dev/docs/api/actionability#visible) DOM
|
* Ensures that [Locator] points to an [attached](https://playwright.dev/docs/api/actionability#attached) and [visible](https://playwright.dev/docs/api/actionability#visible)
|
||||||
* node.
|
* DOM node.
|
||||||
*
|
*
|
||||||
* ```js
|
* ```js
|
||||||
* const locator = page.locator('.my-element');
|
* const locator = page.locator('.my-element');
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue