Uses of Interface
com.microsoft.playwright.ConsoleMessage
-
Packages that use ConsoleMessage Package Description com.microsoft.playwright com.microsoft.playwright.impl -
-
Uses of ConsoleMessage in com.microsoft.playwright
Fields in com.microsoft.playwright with type parameters of type ConsoleMessage Modifier and Type Field Description java.util.function.Predicate<ConsoleMessage>BrowserContext.WaitForConsoleMessageOptions. predicateReceives theConsoleMessageobject and resolves to truthy value when the waiting should resolve.java.util.function.Predicate<ConsoleMessage>Page.WaitForConsoleMessageOptions. predicateReceives theConsoleMessageobject and resolves to truthy value when the waiting should resolve.Methods in com.microsoft.playwright that return ConsoleMessage Modifier and Type Method Description ConsoleMessageBrowserContext. waitForConsoleMessage(BrowserContext.WaitForConsoleMessageOptions options, java.lang.Runnable callback)Performs action and waits for aConsoleMessageto be logged by in the pages in the context.default ConsoleMessageBrowserContext. waitForConsoleMessage(java.lang.Runnable callback)Performs action and waits for aConsoleMessageto be logged by in the pages in the context.ConsoleMessagePage. waitForConsoleMessage(Page.WaitForConsoleMessageOptions options, java.lang.Runnable callback)Performs action and waits for aConsoleMessageto be logged by in the page.default ConsoleMessagePage. waitForConsoleMessage(java.lang.Runnable callback)Performs action and waits for aConsoleMessageto be logged by in the page.Method parameters in com.microsoft.playwright with type arguments of type ConsoleMessage Modifier and Type Method Description voidBrowserContext. offConsoleMessage(java.util.function.Consumer<ConsoleMessage> handler)Removes handler that was previously added withonConsoleMessage(handler).voidPage. offConsoleMessage(java.util.function.Consumer<ConsoleMessage> handler)Removes handler that was previously added withonConsoleMessage(handler).voidBrowserContext. onConsoleMessage(java.util.function.Consumer<ConsoleMessage> handler)Emitted when JavaScript within the page calls one of console API methods, e.g.voidPage. onConsoleMessage(java.util.function.Consumer<ConsoleMessage> handler)Emitted when JavaScript within the page calls one of console API methods, e.g.BrowserContext.WaitForConsoleMessageOptionsBrowserContext.WaitForConsoleMessageOptions. setPredicate(java.util.function.Predicate<ConsoleMessage> predicate)Receives theConsoleMessageobject and resolves to truthy value when the waiting should resolve.Page.WaitForConsoleMessageOptionsPage.WaitForConsoleMessageOptions. setPredicate(java.util.function.Predicate<ConsoleMessage> predicate)Receives theConsoleMessageobject and resolves to truthy value when the waiting should resolve. -
Uses of ConsoleMessage in com.microsoft.playwright.impl
Classes in com.microsoft.playwright.impl that implement ConsoleMessage Modifier and Type Class Description classConsoleMessageImplMethods in com.microsoft.playwright.impl that return ConsoleMessage Modifier and Type Method Description ConsoleMessageBrowserContextImpl. waitForConsoleMessage(BrowserContext.WaitForConsoleMessageOptions options, java.lang.Runnable code)ConsoleMessagePageImpl. waitForConsoleMessage(Page.WaitForConsoleMessageOptions options, java.lang.Runnable code)private ConsoleMessageBrowserContextImpl. waitForConsoleMessageImpl(BrowserContext.WaitForConsoleMessageOptions options, java.lang.Runnable code)private ConsoleMessagePageImpl. waitForConsoleMessageImpl(Page.WaitForConsoleMessageOptions options, java.lang.Runnable code)Method parameters in com.microsoft.playwright.impl with type arguments of type ConsoleMessage Modifier and Type Method Description voidBrowserContextImpl. offConsoleMessage(java.util.function.Consumer<ConsoleMessage> handler)voidPageImpl. offConsoleMessage(java.util.function.Consumer<ConsoleMessage> handler)voidBrowserContextImpl. onConsoleMessage(java.util.function.Consumer<ConsoleMessage> handler)voidPageImpl. onConsoleMessage(java.util.function.Consumer<ConsoleMessage> handler)
-