Skip to content

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

docs(test-runners.md): add WebStorm comment (#2279)

David Gilbertson9e2733d5202f
diff --git a/docs/test-runners.md b/docs/test-runners.md
index d5db9c8590..0dbcaaec39 100644
--- a/docs/test-runners.md
+++ b/docs/test-runners.md
@@ -105,9 +105,9 @@ If using TypeScript, add types to your variables like:
let page: import('playwright').Page;
```
-If using JavaScript, you can still get nice autocompletions in VSCode by using JSDOC
+If using JavaScript, you can still get nice autocompletions in VSCode or WebStorm by using JSDoc.
```js
-/** @type {import('playwright').Page} **/
+/** @type {import('playwright').Page} */
let page;
```
@@ -125,4 +125,4 @@ beforeAll(async() => {
```
Then set `BROWSER=firefox` to run your tests with firefox, or any other browser.
-
\ No newline at end of file
+