From 13b4c6704e318c7fdd41289d1fb2c57a56c2d40c Mon Sep 17 00:00:00 2001 From: ankur22 Date: Wed, 5 Jun 2024 11:12:35 +0100 Subject: [PATCH] Update e.g. to for example --- docs/sources/v0.51.x/using-k6-browser/migrating-to-k6-v0-52.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/sources/v0.51.x/using-k6-browser/migrating-to-k6-v0-52.md b/docs/sources/v0.51.x/using-k6-browser/migrating-to-k6-v0-52.md index b56ed0379f..61209d1bf8 100644 --- a/docs/sources/v0.51.x/using-k6-browser/migrating-to-k6-v0-52.md +++ b/docs/sources/v0.51.x/using-k6-browser/migrating-to-k6-v0-52.md @@ -334,7 +334,7 @@ await text.type('hello world'); ## Working with k6 check -The k6 `check` API will not `await` promises, so calling a function that returns a `Promise`, e.g. `locator.textContent()`, inside one of the predicates will not work. Instead you will have to `await` and store the result in a variable _outside_ the `check`: +The k6 `check` API will not `await` promises, so calling a function that returns a `Promise`, for example `locator.textContent()`, inside one of the predicates will not work. Instead you will have to `await` and store the result in a variable _outside_ the `check`: For example, before: