diff --git a/docs/src/release-notes-js.md b/docs/src/release-notes-js.md index c2e9870ac0..3320a0d14e 100644 --- a/docs/src/release-notes-js.md +++ b/docs/src/release-notes-js.md @@ -14,10 +14,10 @@ import LiteYouTube from '@site/src/components/LiteYouTube'; ```js // Setup the handler. await page.addLocatorHandler( - page.getByRole('heading', { name: 'Hej! You are in control of your cookies.' }), - async () => { - await page.getByRole('button', { name: 'Accept all' }).click(); - }); + page.getByRole('heading', { name: 'Hej! You are in control of your cookies.' }), + async () => { + await page.getByRole('button', { name: 'Accept all' }).click(); + }); // Write the test as usual. await page.goto('https://www.ikea.com/'); await page.getByRole('link', { name: 'Collection of blue and white' }).click();