From 734dd5d171b11f77800e4bb3b0a64821abb8455c Mon Sep 17 00:00:00 2001 From: Yury Semikhatsky Date: Mon, 17 Oct 2022 14:06:32 -0700 Subject: [PATCH] docs: update languages section (#18130) --- docs/src/languages.md | 20 +++++--------------- 1 file changed, 5 insertions(+), 15 deletions(-) diff --git a/docs/src/languages.md b/docs/src/languages.md index 287ecff0a5..7f42df3a4d 100644 --- a/docs/src/languages.md +++ b/docs/src/languages.md @@ -3,42 +3,32 @@ id: languages title: "Supported languages" --- -The Playwright API is available in multiple languages. - - +Playwright is available in multiple languages that share the same underlying implementation. All core features are supported in all languages. Pick the language based on your experience, familiarity with its testing ecosystem and your project constraints. For the best experience pick the test runner that we recommend for each language. ## JavaScript and TypeScript -[Playwright for Node.js](https://playwright.dev/docs/intro) is available. +Playwright for Node.js comes with its own [test runner](https://playwright.dev/docs/running-tests) that provides great parallelization mechanism, screenshot assertions, html reporter, automatic tracing etc. -* [NPM](https://www.npmjs.com/package/playwright) * [Documentation](https://playwright.dev/docs/intro) -* [API](https://playwright.dev/docs/api/class-playwright) * [GitHub repo](https://github.com/microsoft/playwright) ## Python -[Playwright for Python](https://playwright.dev/python/docs/intro) is available. +Playwright [Pytest plugin](https://playwright.dev/python/docs/test-runners) is the recommended way to run end-to-end tests. It provides context isolation, running it on multiple browser configurations and more out of the box. * [Documentation](https://playwright.dev/python/docs/intro) -* [API](https://playwright.dev/python/docs/api/class-playwright) -* [Playwright on PyPI](https://pypi.org/project/playwright/) * [GitHub repo](https://github.com/microsoft/playwright-python) -* [Pytest integration](https://github.com/microsoft/playwright-pytest) ## Java -[Playwright for Java](https://playwright.dev/java/docs/intro) is available. +You can choose any testing framework such as JUnit or TestNG based on your project requirements. * [Documentation](https://playwright.dev/java/docs/intro) -* [API](https://playwright.dev/java/docs/api/class-playwright) * [GitHub repo](https://github.com/microsoft/playwright-java) ## .NET -[Playwright for .NET](https://playwright.dev/dotnet/docs/intro) is available. +Playwright for .NET comes with [NUnit base classes](./test-runners.md#nunit) and [MSTest base classes](./test-runners.md#nunit) for writing end-to-end tests. * [Documentation](https://playwright.dev/dotnet/docs/intro) -* [API](https://playwright.dev/dotnet/docs/api/class-playwright) * [GitHub repo](https://github.com/microsoft/playwright-dotnet) -* [Playwright on NuGet](https://www.nuget.org/packages/Microsoft.Playwright)