Playwright is a framework for Web Testing and Automation. It allows testing Chromium, Firefox and WebKit with a single API.
TypeScript automationchromechromiume2e-testingelectronend-to-end-testingfirefoxjavascriptplaywrighttesttest-automationtestingtesting-toolswebwebkit
fix(docs): missing reference type (#8031)
Anže Vodovnikb88c4ee49cc6
diff --git a/docs/src/api/class-locator.md b/docs/src/api/class-locator.mdindex 60c3fcb676..e4f132a43f 100644--- a/docs/src/api/class-locator.md+++ b/docs/src/api/class-locator.md@@ -383,7 +383,7 @@ Optional argument to pass to [`param: expression`].The method finds all elements matching the specified locator and passes an array of matched elements asa first argument to [`param: expression`]. Returns the result of [`param: expression`] invocation.-If [`param: expression`] returns a [Promise], then [`Locator.evaluateAll`] would wait for the promise+If [`param: expression`] returns a [Promise], then [`method: Locator.evaluateAll`] would wait for the promiseto resolve and return its value.Examples:diff --git a/types/types.d.ts b/types/types.d.tsindex 574b433e82..2611edaa61 100644--- a/types/types.d.ts+++ b/types/types.d.ts@@ -7064,8 +7064,9 @@ export interface Locator {* The method finds all elements matching the specified locator and passes an array of matched elements as a first argument* to `pageFunction`. Returns the result of `pageFunction` invocation.*- * If `pageFunction` returns a [Promise], then [`Locator.evaluateAll`] would wait for the promise to resolve and return its- * value.+ * If `pageFunction` returns a [Promise], then+ * [locator.evaluateAll(pageFunction[, arg])](https://playwright.dev/docs/api/class-locator#locator-evaluate-all) would+ * wait for the promise to resolve and return its value.** Examples:*