Skip to content

Commit 4240e1d

Browse files
authored
docs: add page on language bindings (#3819)
1 parent 777689a commit 4240e1d

File tree

3 files changed

+46
-2
lines changed

3 files changed

+46
-2
lines changed

docs/README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ Playwright is a library to automate [Chromium](https://www.chromium.org/Home), [
2222
- [Get started](./intro.md)
2323
- [Core concepts](./core-concepts.md)
2424
- [Debugging](./debug.md)
25+
- [Supported languages](./languages.md)
2526
1. Guides
2627
- [Selectors](./selectors.md)
2728
- [Input](./input.md)

docs/languages.md

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
# Supported languages
2+
3+
The Playwright API is available in multiple languages.
4+
5+
<!-- GEN:toc -->
6+
- [JavaScript and TypeScript](#javascript-and-typescript)
7+
- [Python](#python)
8+
- [C#](#c)
9+
<!-- GEN:stop -->
10+
11+
## JavaScript and TypeScript
12+
13+
Playwright for JavaScript and TypeScript is generally available.
14+
15+
```
16+
npm i -D playwright
17+
```
18+
19+
* [Playwright on NPM](https://www.npmjs.com/package/playwright)
20+
* [GitHub repo](https://github.com/microsoft/playwright)
21+
22+
## Python
23+
24+
Playwright in Python is available in preview.
25+
26+
```
27+
pip install playwright
28+
```
29+
30+
* [Playwright on PyPI](https://pypi.org/project/playwright/)
31+
* [GitHub repo](https://github.com/microsoft/playwright-python)
32+
* [Pytest integration](https://github.com/microsoft/playwright-pytest)
33+
34+
## C#
35+
36+
Playwright in C# is available in preview.
37+
38+
```
39+
dotnet add package PlaywrightSharp
40+
```
41+
42+
* [Playwright on NuGet](https://www.nuget.org/packages/PlaywrightSharp/)
43+
* [GitHub repo](https://github.com/hardkoded/playwright-sharp)

docs/why-playwright.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ Playwright enables fast, reliable and capable automation across all modern brows
3535

3636
* **Modern web features**. Playwright supports web components through [shadow-piercing selectors](selectors.md), [geolocation, permissions](emulation.md), web workers and other modern web APIs.
3737

38-
* **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).
38+
* **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).
3939

4040
## Integrates with your workflow
4141
* **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
4444

4545
* **Debugging tools**. Playwright works with the [editor debugger and browser developer tools](debug.md) to pause execution and inspect the web page.
4646

47-
* **Language bindings**. Playwright is also available in [Python](https://github.com/microsoft/playwright-python) and [C#](https://github.com/hardkoded/playwright-sharp).
47+
* **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).
4848

4949
* **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).
5050

0 commit comments

Comments
 (0)