docs: update languages section (#18130)

This commit is contained in:
Yury Semikhatsky 2022-10-17 14:06:32 -07:00 committed by GitHub
parent bac6df30e0
commit 734dd5d171
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -3,42 +3,32 @@ id: languages
title: "Supported languages"
---
The Playwright API is available in multiple languages.
<!-- TOC -->
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)