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; } /**