Skip to content

Playwright is a framework for Web Testing and Automation. It allows testing Chromium, Firefox and WebKit with a single API.

docs: Fixing a release version of a method toHaveAttribute (#27559)

AlexKomanov117f3f12986b
diff --git a/docs/src/api/class-locatorassertions.md b/docs/src/api/class-locatorassertions.md
index 43c99a4a5e..077e418eb5 100644
--- a/docs/src/api/class-locatorassertions.md
+++ b/docs/src/api/class-locatorassertions.md
@@ -1152,7 +1152,7 @@ Expected attribute value.
* since: v1.18
## async method: LocatorAssertions.toHaveAttribute#2
-* since: v1.40
+* since: v1.39
* langs: js
Ensures the [Locator] points to an element with given attribute. The method will assert attribute
@@ -1166,13 +1166,13 @@ await expect(locator).not.toHaveAttribute('open');
```
### param: LocatorAssertions.toHaveAttribute#2.name
-* since: v1.40
+* since: v1.39
- `name` <[string]>
Attribute name.
### option: LocatorAssertions.toHaveAttribute#2.timeout = %%-js-assertions-timeout-%%
-* since: v1.40
+* since: v1.39
## async method: LocatorAssertions.toHaveClass
* since: v1.20