diff --git a/docs/README.md b/docs/README.md index f16427141f..2f1c96ccd0 100644 --- a/docs/README.md +++ b/docs/README.md @@ -22,6 +22,7 @@ Playwright is a library to automate [Chromium](https://www.chromium.org/Home), [ - [Get started](./intro.md) - [Core concepts](./core-concepts.md) - [Debugging](./debug.md) + - [Supported languages](./languages.md) 1. Guides - [Selectors](./selectors.md) - [Input](./input.md) diff --git a/docs/languages.md b/docs/languages.md new file mode 100644 index 0000000000..f183b458ec --- /dev/null +++ b/docs/languages.md @@ -0,0 +1,43 @@ +# Supported languages + +The Playwright API is available in multiple languages. + + +- [JavaScript and TypeScript](#javascript-and-typescript) +- [Python](#python) +- [C#](#c) + + +## JavaScript and TypeScript + +Playwright for JavaScript and TypeScript is generally available. + +``` +npm i -D playwright +``` + +* [Playwright on NPM](https://www.npmjs.com/package/playwright) +* [GitHub repo](https://github.com/microsoft/playwright) + +## Python + +Playwright in Python is available in preview. + +``` +pip install 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) + +## C# + +Playwright in C# is available in preview. + +``` +dotnet add package PlaywrightSharp +``` + +* [Playwright on NuGet](https://www.nuget.org/packages/PlaywrightSharp/) +* [GitHub repo](https://github.com/hardkoded/playwright-sharp) diff --git a/docs/why-playwright.md b/docs/why-playwright.md index 68872ca88f..c5f34b0755 100644 --- a/docs/why-playwright.md +++ b/docs/why-playwright.md @@ -35,7 +35,7 @@ Playwright enables fast, reliable and capable automation across all modern brows * **Modern web features**. Playwright supports web components through [shadow-piercing selectors](selectors.md), [geolocation, permissions](emulation.md), web workers and other modern web APIs. -* **Capabilities to cover all scenarios**. Support for [file downloads](network.md) and [uploads](input.md), native [input events](input.md), and even [dark mode](emulation.md). +* **Capabilities to cover all scenarios**. Support for [file downloads](network.md) and [uploads](input.md), out-of-process iframes, native [input events](input.md), and even [dark mode](emulation.md). ## Integrates with your workflow * **One-line installation**. Running `npm i playwright` auto-downloads browser dependencies for your team to be onboarded quickly. @@ -44,7 +44,7 @@ Playwright enables fast, reliable and capable automation across all modern brows * **Debugging tools**. Playwright works with the [editor debugger and browser developer tools](debug.md) to pause execution and inspect the web page. -* **Language bindings**. Playwright is also available in [Python](https://github.com/microsoft/playwright-python) and [C#](https://github.com/hardkoded/playwright-sharp). +* **Language bindings**. Playwright is also available in [Python](https://github.com/microsoft/playwright-python) and [C#](https://github.com/hardkoded/playwright-sharp). Learn about [supported languages](./languages.md). * **Deploy tests to CI**. First-party [Docker image](docker/README.md) and [GitHub Actions](https://github.com/microsoft/playwright-github-action) to deploy tests to [your preferred CI/CD provider](ci.md).