2021-01-01 15:17:27 -08:00
|
|
|
---
|
|
|
|
id: languages
|
|
|
|
title: "Supported languages"
|
|
|
|
---
|
2020-12-30 18:04:51 -08:00
|
|
|
|
|
|
|
The Playwright API is available in multiple languages.
|
|
|
|
|
2021-01-01 15:17:27 -08:00
|
|
|
<!-- TOC -->
|
2020-12-30 18:04:51 -08:00
|
|
|
|
|
|
|
## 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 for 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 for C# is available in preview.
|
|
|
|
|
|
|
|
```
|
|
|
|
dotnet add package PlaywrightSharp
|
|
|
|
```
|
|
|
|
|
|
|
|
* [Playwright on NuGet](https://www.nuget.org/packages/PlaywrightSharp/)
|
|
|
|
* [GitHub repo](https://github.com/microsoft/playwright-sharp)
|
2021-01-08 06:02:54 -08:00
|
|
|
|
|
|
|
## Java
|
|
|
|
|
|
|
|
Playwright for Java is available in preview.
|
|
|
|
|
|
|
|
* [GitHub repo](https://github.com/microsoft/playwright-java)
|