From b88c4ee49cc62d2d4a1088a48659f11dcecc4e19 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?An=C5=BEe=20Vodovnik?= Date: Thu, 12 Aug 2021 10:54:51 +0200 Subject: [PATCH] fix(docs): missing reference type (#8031) This was causing the .NET API to have invalid XML comments. --- docs/src/api/class-locator.md | 2 +- types/types.d.ts | 5 +++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/docs/src/api/class-locator.md b/docs/src/api/class-locator.md index 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 as a 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 promise to resolve and return its value. Examples: diff --git a/types/types.d.ts b/types/types.d.ts index 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: *