cherry-pick(#27067): docs: fix line wrapping in release notes

This commit is contained in:
Andrey Lushnikov 2023-09-13 15:55:31 -07:00 committed by Andrey Lushnikov
parent 94b6fe1bdb
commit da997ee8c0

View file

@ -23,14 +23,13 @@ import LiteYouTube from '@site/src/components/LiteYouTube';
### Deprecations
* The following methods were deprecated: [`method: Page.type`], [`method:
Frame.type`], [`method: Locator.type`] and [`method: ElementHandle.type`].
* The following methods were deprecated: [`method: Page.type`], [`method: Frame.type`],
[`method: Locator.type`] and [`method: ElementHandle.type`].
Please use [`method: Locator.fill`] instead which is much faster. Use
[`method: Locator.pressSequentially`] only if there is a special keyboard
handling on the page, and you need to press keys one-by-one.
* The method [`method: SnapshotAssertions.toMatchSnapshot#1`] is deprecated in
favor of [`method: PageAssertions.toHaveScreenshot#1`] and [`method:
LocatorAssertions.toHaveScreenshot#1`].
favor of [`method: PageAssertions.toHaveScreenshot#1`] and [`method: LocatorAssertions.toHaveScreenshot#1`].
### Breaking Changes: Playwright no longer downloads browsers automatically