diff --git a/dotnet/docs/intro.mdx b/dotnet/docs/intro.mdx index f36fe405133..1eae7afc9b4 100644 --- a/dotnet/docs/intro.mdx +++ b/dotnet/docs/intro.mdx @@ -224,7 +224,7 @@ See our doc on [Running and Debugging Tests](./running-tests.mdx) to learn more - Playwright is distributed as a .NET Standard 2.0 library. We recommend .NET 8. - Windows 10+, Windows Server 2016+ or Windows Subsystem for Linux (WSL). - macOS 14 Ventura, or later. -- Debian 12, Ubuntu 22.04, Ubuntu 24.04, on x86-64 and arm64 architecture. +- Debian 12, Debian 13, Ubuntu 22.04, Ubuntu 24.04, on x86-64 and arm64 architecture. ## What's next - [Write tests using web first assertions, page fixtures and locators](./writing-tests.mdx) diff --git a/java/docs/intro.mdx b/java/docs/intro.mdx index d1ae734eec3..906a2bc338c 100644 --- a/java/docs/intro.mdx +++ b/java/docs/intro.mdx @@ -131,7 +131,7 @@ By default browsers launched with Playwright run headless, meaning no browser UI - Java 8 or higher. - Windows 10+, Windows Server 2016+ or Windows Subsystem for Linux (WSL). - macOS 14 Ventura, or later. -- Debian 12, Ubuntu 22.04, Ubuntu 24.04, on x86-64 and arm64 architecture. +- Debian 12, Debian 13, Ubuntu 22.04, Ubuntu 24.04, on x86-64 and arm64 architecture. ## What's next - [Write tests using web first assertions, page fixtures and locators](./writing-tests.mdx) diff --git a/nodejs/docs/intro.mdx b/nodejs/docs/intro.mdx index ab3d10e9e93..f977b941770 100644 --- a/nodejs/docs/intro.mdx +++ b/nodejs/docs/intro.mdx @@ -257,7 +257,7 @@ pnpm exec playwright --version - Latest version of Node.js 20, 22 or 24. - Windows 10+, Windows Server 2016+ or Windows Subsystem for Linux (WSL). - macOS 14 Ventura, or later. -- Debian 12, Ubuntu 22.04, Ubuntu 24.04, on x86-64 and arm64 architecture. +- Debian 12, Debian 13, Ubuntu 22.04, Ubuntu 24.04, on x86-64 and arm64 architecture. ## What's next - [Write tests using web first assertions, page fixtures and locators](./writing-tests.mdx) diff --git a/python/docs/api/class-page.mdx b/python/docs/api/class-page.mdx index c266d79388f..f5140676f2b 100644 --- a/python/docs/api/class-page.mdx +++ b/python/docs/api/class-page.mdx @@ -203,7 +203,7 @@ page.get_by_role("button", name="Start here").click() ```py # Setup the handler. -def handler(): +async def handler(): await page.get_by_role("button", name="No thanks").click() await page.add_locator_handler(page.get_by_text("Sign up to the newsletter"), handler) @@ -243,7 +243,7 @@ page.get_by_role("button", name="Start here").click() ```py # Setup the handler. -def handler(): +async def handler(): await page.get_by_role("button", name="Remind me later").click() await page.add_locator_handler(page.get_by_text("Confirm your security details"), handler) @@ -283,7 +283,7 @@ page.get_by_role("button", name="Start here").click() ```py # Setup the handler. -def handler(): +async def handler(): await page.evaluate("window.removeObstructionsForTestIfNeeded()") await page.add_locator_handler(page.locator("body"), handler, no_wait_after=True) @@ -317,7 +317,7 @@ page.add_locator_handler(page.get_by_label("Close"), handler, times=1) ```py -def handler(locator): +async def handler(locator): await locator.click() await page.add_locator_handler(page.get_by_label("Close"), handler, times=1) ``` diff --git a/python/docs/intro.mdx b/python/docs/intro.mdx index 8787a409323..a988ee2c5f3 100644 --- a/python/docs/intro.mdx +++ b/python/docs/intro.mdx @@ -101,7 +101,7 @@ pip install pytest-playwright playwright -U - Python 3.8 or higher. - Windows 10+, Windows Server 2016+ or Windows Subsystem for Linux (WSL). - macOS 14 Ventura, or later. -- Debian 12, Ubuntu 22.04, Ubuntu 24.04, on x86-64 and arm64 architecture. +- Debian 12, Debian 13, Ubuntu 22.04, Ubuntu 24.04, on x86-64 and arm64 architecture. ## What's next - [Write tests using web first assertions, page fixtures and locators](./writing-tests.mdx)