Uses of Class
com.microsoft.playwright.Page.AddLocatorHandlerOptions
-
Packages that use Page.AddLocatorHandlerOptions Package Description com.microsoft.playwright -
-
Uses of Page.AddLocatorHandlerOptions in com.microsoft.playwright
Methods in com.microsoft.playwright that return Page.AddLocatorHandlerOptions Modifier and Type Method Description Page.AddLocatorHandlerOptionsPage.AddLocatorHandlerOptions. setNoWaitAfter(boolean noWaitAfter)By default, after calling the handler Playwright will wait until the overlay becomes hidden, and only then Playwright will continue with the action/assertion that triggered the handler.Page.AddLocatorHandlerOptionsPage.AddLocatorHandlerOptions. setTimes(int times)Specifies the maximum number of times this handler should be called.Methods in com.microsoft.playwright with parameters of type Page.AddLocatorHandlerOptions Modifier and Type Method Description voidPage. addLocatorHandler(Locator locator, Consumer<Locator> handler, Page.AddLocatorHandlerOptions options)When testing a web page, sometimes unexpected overlays like a "Sign up" dialog appear and block actions you want to automate, e.g.
-