Skip to content

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

docs: fix ignoreCase description (#28121)

Yury Semikhatskyec2c7024b660
diff --git a/docs/src/api/class-locatorassertions.md b/docs/src/api/class-locatorassertions.md
index 11244c0867..20e7c3f0fe 100644
--- a/docs/src/api/class-locatorassertions.md
+++ b/docs/src/api/class-locatorassertions.md
@@ -1156,7 +1156,7 @@ Expected attribute value.
### option: LocatorAssertions.toHaveAttribute.timeout = %%-csharp-java-python-assertions-timeout-%%
* since: v1.18
-### option: LocatorAssertions.toHaveAttribute.ignoreCase = %%-js-assertions-timeout-%%
+### option: LocatorAssertions.toHaveAttribute.ignoreCase
* since: v1.40
- `ignoreCase` <[boolean]>
diff --git a/packages/playwright/types/test.d.ts b/packages/playwright/types/test.d.ts
index 7e29ef87a2..bbf9da8314 100644
--- a/packages/playwright/types/test.d.ts
+++ b/packages/playwright/types/test.d.ts
@@ -5709,8 +5709,6 @@ interface LocatorAssertions {
*/
toHaveAttribute(name: string, value: string|RegExp, options?: {
/**
- * Time to retry the assertion for in milliseconds. Defaults to `timeout` in `TestConfig.expect`.
- *
* Whether to perform case-insensitive match. `ignoreCase` option takes precedence over the corresponding regular
* expression flag if specified.
*/