From bf44368a8733346a0c2629b755f4a9d0056e8fdc Mon Sep 17 00:00:00 2001 From: serialbandicoot Date: Mon, 9 Sep 2024 10:33:57 +0100 Subject: [PATCH] doc type needs string for types return --- docs/src/api/class-selectors.md | 1 + packages/playwright-core/types/types.d.ts | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/src/api/class-selectors.md b/docs/src/api/class-selectors.md index b64baa17ca..04c2c42a41 100644 --- a/docs/src/api/class-selectors.md +++ b/docs/src/api/class-selectors.md @@ -251,5 +251,6 @@ Test id attribute name. ## method: Selectors.testIdAttributeName * since: v1.48 +- returns: <[string]> Return the current Test id attribute name. \ No newline at end of file diff --git a/packages/playwright-core/types/types.d.ts b/packages/playwright-core/types/types.d.ts index 49c97050da..0fff69e475 100644 --- a/packages/playwright-core/types/types.d.ts +++ b/packages/playwright-core/types/types.d.ts @@ -19899,7 +19899,7 @@ export interface Selectors { /** * Return the current Test id attribute name. */ - testIdAttributeName(): void; + testIdAttributeName(): string; } /**