Browse Source

docs: fix release notes docs (#11407)

pull/11415/head
Andrey Lushnikov 2 weeks ago
committed by GitHub
parent
commit
0b040e5abd
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 7
      docs/src/release-notes-js.md

7
docs/src/release-notes-js.md

@ -11,7 +11,12 @@ title: "Release notes"
- [`method: Locator.dragTo`]
- [`expect(locator).toBeChecked({ checked })`](./api/class-locatorassertions#locator-assertions-to-be-checked)
- Each locator can now be optionally filtered by the text it contains: [`locator('button', { hasText: 'Submit' })`](./api/class-locator#locator-locator-option-has-text)
- Each locator can now be optionally filtered by the text it contains:
```js
await page.locator('li', { hasText: 'my item' }).locator('button').click();
```
Read more in [locator documentation](./api/class-locator#locator-locator-option-has-text)
### Testing API improvements

Loading…
Cancel
Save