Skip to content

Playwright is a framework for Web Testing and Automation. It allows testing Chromium, Firefox and WebKit with a single API.

docs(pom): fixed JS example which contained TS (#6917)

Max Schmitt334096ed2062
diff --git a/docs/src/test-pom.md b/docs/src/test-pom.md
index 9b4524340a..e9ba7945df 100644
--- a/docs/src/test-pom.md
+++ b/docs/src/test-pom.md
@@ -10,7 +10,7 @@ We will create a `PlaywrightDevPage` helper class to encapsulate common operatio
```js js-flavor=js
// playwright-dev-page.js
exports.PlaywrightDevPage = class PlaywrightDevPage {
- constructor(page: Page) {
+ constructor(page) {
this.page = page;
}