mirror of
https://github.com/microsoft/playwright.git
synced 2025-06-26 21:40:17 +00:00
docs: add page on language bindings (#3819)
This commit is contained in:
parent
777689a96a
commit
4240e1df1d
@ -22,6 +22,7 @@ Playwright is a library to automate [Chromium](https://www.chromium.org/Home), [
|
|||||||
- [Get started](./intro.md)
|
- [Get started](./intro.md)
|
||||||
- [Core concepts](./core-concepts.md)
|
- [Core concepts](./core-concepts.md)
|
||||||
- [Debugging](./debug.md)
|
- [Debugging](./debug.md)
|
||||||
|
- [Supported languages](./languages.md)
|
||||||
1. Guides
|
1. Guides
|
||||||
- [Selectors](./selectors.md)
|
- [Selectors](./selectors.md)
|
||||||
- [Input](./input.md)
|
- [Input](./input.md)
|
||||||
|
43
docs/languages.md
Normal file
43
docs/languages.md
Normal file
@ -0,0 +1,43 @@
|
|||||||
|
# Supported languages
|
||||||
|
|
||||||
|
The Playwright API is available in multiple languages.
|
||||||
|
|
||||||
|
<!-- GEN:toc -->
|
||||||
|
- [JavaScript and TypeScript](#javascript-and-typescript)
|
||||||
|
- [Python](#python)
|
||||||
|
- [C#](#c)
|
||||||
|
<!-- GEN:stop -->
|
||||||
|
|
||||||
|
## 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)
|
@ -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.
|
* **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
|
## Integrates with your workflow
|
||||||
* **One-line installation**. Running `npm i playwright` auto-downloads browser dependencies for your team to be onboarded quickly.
|
* **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.
|
* **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).
|
* **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).
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user