docs(python): add missing NotToHaveAttribute overloads (#17371)

Follow up to https://github.com/microsoft/playwright/pull/16941
This commit is contained in:
Ross Wollman 2022-09-15 15:57:47 -04:00 committed by GitHub
parent e1a2f7a168
commit 2e1ea29614
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -204,29 +204,46 @@ Whether to use `element.innerText` instead of `element.textContent` when retriev
### option: LocatorAssertions.NotToContainText.timeout = %%-csharp-java-python-assertions-timeout-%% ### option: LocatorAssertions.NotToContainText.timeout = %%-csharp-java-python-assertions-timeout-%%
* since: v1.18 * since: v1.18
## async method: LocatorAssertions.NotToHaveAttribute ## async method: LocatorAssertions.NotToHaveAttribute#1
* since: v1.18 * since: v1.18
* langs: python * langs: python
The opposite of [`method: LocatorAssertions.toHaveAttribute#1`]. The opposite of [`method: LocatorAssertions.toHaveAttribute#1`].
### param: LocatorAssertions.NotToHaveAttribute.name ### param: LocatorAssertions.NotToHaveAttribute#1.name
* since: v1.18 * since: v1.18
- `name` <[string]> - `name` <[string]>
Attribute name. Attribute name.
### param: LocatorAssertions.NotToHaveAttribute.value ### param: LocatorAssertions.NotToHaveAttribute#1.value
* since: v1.18 * since: v1.18
- `value` <[string]|[RegExp]> - `value` <[string]|[RegExp]>
Expected attribute value. Expected attribute value.
### option: LocatorAssertions.NotToHaveAttribute.timeout = %%-js-assertions-timeout-%% ### option: LocatorAssertions.NotToHaveAttribute#1.timeout = %%-js-assertions-timeout-%%
* since: v1.18 * 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 * 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 ## async method: LocatorAssertions.NotToHaveClass
* since: v1.20 * since: v1.20
* langs: python * langs: python