From 2e1ea296144c1d38f90815c02167a2e51f3b2b40 Mon Sep 17 00:00:00 2001 From: Ross Wollman Date: Thu, 15 Sep 2022 15:57:47 -0400 Subject: [PATCH] docs(python): add missing NotToHaveAttribute overloads (#17371) Follow up to https://github.com/microsoft/playwright/pull/16941 --- docs/src/api/class-locatorassertions.md | 27 ++++++++++++++++++++----- 1 file changed, 22 insertions(+), 5 deletions(-) diff --git a/docs/src/api/class-locatorassertions.md b/docs/src/api/class-locatorassertions.md index 118551534d..8d57488558 100644 --- a/docs/src/api/class-locatorassertions.md +++ b/docs/src/api/class-locatorassertions.md @@ -204,29 +204,46 @@ Whether to use `element.innerText` instead of `element.textContent` when retriev ### option: LocatorAssertions.NotToContainText.timeout = %%-csharp-java-python-assertions-timeout-%% * since: v1.18 -## async method: LocatorAssertions.NotToHaveAttribute +## async method: LocatorAssertions.NotToHaveAttribute#1 * since: v1.18 * langs: python The opposite of [`method: LocatorAssertions.toHaveAttribute#1`]. -### param: LocatorAssertions.NotToHaveAttribute.name +### param: LocatorAssertions.NotToHaveAttribute#1.name * since: v1.18 - `name` <[string]> Attribute name. -### param: LocatorAssertions.NotToHaveAttribute.value +### param: LocatorAssertions.NotToHaveAttribute#1.value * since: v1.18 - `value` <[string]|[RegExp]> Expected attribute value. -### option: LocatorAssertions.NotToHaveAttribute.timeout = %%-js-assertions-timeout-%% +### option: LocatorAssertions.NotToHaveAttribute#1.timeout = %%-js-assertions-timeout-%% * since: v1.18 -### option: LocatorAssertions.NotToHaveAttribute.timeout = %%-csharp-java-python-assertions-timeout-%% +### option: LocatorAssertions.NotToHaveAttribute#1.timeout = %%-csharp-java-python-assertions-timeout-%% * since: v1.18 +## async method: LocatorAssertions.NotToHaveAttribute#2 +* since: v1.26 +* langs: python + +The opposite of [`method: LocatorAssertions.toHaveAttribute#2`]. + +### param: LocatorAssertions.NotToHaveAttribute#2.name +* since: v1.26 +- `name` <[string]> + +Attribute name. + +### option: LocatorAssertions.NotToHaveAttribute#2.timeout = %%-js-assertions-timeout-%% +* since: v1.26 +### option: LocatorAssertions.NotToHaveAttribute#2.timeout = %%-csharp-java-python-assertions-timeout-%% +* since: v1.26 + ## async method: LocatorAssertions.NotToHaveClass * since: v1.20 * langs: python