Uses of Class
com.microsoft.playwright.assertions.LocatorAssertions.IsInViewportOptions
-
Packages that use LocatorAssertions.IsInViewportOptions Package Description com.microsoft.playwright.assertions -
-
Uses of LocatorAssertions.IsInViewportOptions in com.microsoft.playwright.assertions
Methods in com.microsoft.playwright.assertions that return LocatorAssertions.IsInViewportOptions Modifier and Type Method Description LocatorAssertions.IsInViewportOptionsLocatorAssertions.IsInViewportOptions. setRatio(double ratio)The minimal ratio of the element to intersect viewport.LocatorAssertions.IsInViewportOptionsLocatorAssertions.IsInViewportOptions. setTimeout(double timeout)Time to retry the assertion for in milliseconds.Methods in com.microsoft.playwright.assertions with parameters of type LocatorAssertions.IsInViewportOptions Modifier and Type Method Description voidLocatorAssertions. isInViewport(LocatorAssertions.IsInViewportOptions options)Ensures theLocatorpoints to an element that intersects viewport, according to the intersection observer API.
-