From da997ee8c07176b13d0c388c54320ea7ace3a9bd Mon Sep 17 00:00:00 2001 From: Andrey Lushnikov Date: Wed, 13 Sep 2023 15:55:31 -0700 Subject: [PATCH] cherry-pick(#27067): docs: fix line wrapping in release notes --- docs/src/release-notes-js.md | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/docs/src/release-notes-js.md b/docs/src/release-notes-js.md index 69785b08bb4ae..33877d6721d5e 100644 --- a/docs/src/release-notes-js.md +++ b/docs/src/release-notes-js.md @@ -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