Class LocatorAssertions.HasAttributeOptions
- java.lang.Object
-
- com.microsoft.playwright.assertions.LocatorAssertions.HasAttributeOptions
-
- Enclosing interface:
- LocatorAssertions
public static class LocatorAssertions.HasAttributeOptions extends Object
-
-
Field Summary
Fields Modifier and Type Field Description Boolean
ignoreCase
Whether to perform case-insensitive match.Double
timeout
Time to retry the assertion for in milliseconds.
-
Constructor Summary
Constructors Constructor Description HasAttributeOptions()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description LocatorAssertions.HasAttributeOptions
setIgnoreCase(boolean ignoreCase)
Whether to perform case-insensitive match.LocatorAssertions.HasAttributeOptions
setTimeout(double timeout)
Time to retry the assertion for in milliseconds.
-
-
-
Method Detail
-
setIgnoreCase
public LocatorAssertions.HasAttributeOptions setIgnoreCase(boolean ignoreCase)
Whether to perform case-insensitive match.ignoreCase
option takes precedence over the corresponding regular expression flag if specified.
-
setTimeout
public LocatorAssertions.HasAttributeOptions setTimeout(double timeout)
Time to retry the assertion for in milliseconds. Defaults to5000
.
-
-