Skip to content

Commit 3557dbb

Browse files
ankur22inancgumus
andcommitted
Update from class to object
Apply suggestion from @inancgumus Co-authored-by: Inanc Gumus <inanc.gumus@grafana.com>
1 parent ab157b6 commit 3557dbb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/sources/k6/v1.3.x/using-k6-browser/migrate-from-playwright-to-k6.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -254,7 +254,7 @@ export async function userLogin() {
254254
}
255255
```
256256
257-
Next, copy the test code into the respective exported functions. Since k6 doesn't have fixtures, use the imported `browser` class to create a `newPage`:
257+
Next, copy the test code into the respective exported functions. Since k6 doesn't have fixtures, use the imported `browser` object to create a `newPage`:
258258
259259
```js
260260
import { expect } from 'https://jslib.k6.io/k6-testing/{{< param "JSLIB_TESTING_VERSION" >}}/index.js';

0 commit comments

Comments
 (0)