docs(pom): fixed JS example which contained TS (#6917)
This commit is contained in:
parent
52878bb19d
commit
334096ed20
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue