Uses of Interface
com.microsoft.playwright.Worker
-
Packages that use Worker Package Description com.microsoft.playwright com.microsoft.playwright.impl -
-
Uses of Worker in com.microsoft.playwright
Fields in com.microsoft.playwright with type parameters of type Worker Modifier and Type Field Description java.util.function.Predicate<Worker>Page.WaitForWorkerOptions. predicateReceives theWorkerobject and resolves to truthy value when the waiting should resolve.Methods in com.microsoft.playwright that return Worker Modifier and Type Method Description WorkerWorker. waitForClose(Worker.WaitForCloseOptions options, java.lang.Runnable callback)Performs action and waits for the Worker to close.default WorkerWorker. waitForClose(java.lang.Runnable callback)Performs action and waits for the Worker to close.WorkerPage. waitForWorker(Page.WaitForWorkerOptions options, java.lang.Runnable callback)Performs action and waits for a newWorker.default WorkerPage. waitForWorker(java.lang.Runnable callback)Performs action and waits for a newWorker.Methods in com.microsoft.playwright that return types with arguments of type Worker Modifier and Type Method Description java.util.List<Worker>Page. workers()This method returns all of the dedicated WebWorkers associated with the page.Method parameters in com.microsoft.playwright with type arguments of type Worker Modifier and Type Method Description voidWorker. offClose(java.util.function.Consumer<Worker> handler)Removes handler that was previously added withonClose(handler).voidPage. offWorker(java.util.function.Consumer<Worker> handler)Removes handler that was previously added withonWorker(handler).voidWorker. onClose(java.util.function.Consumer<Worker> handler)Emitted when this dedicated WebWorker is terminated.voidPage. onWorker(java.util.function.Consumer<Worker> handler)Emitted when a dedicated WebWorker is spawned by the page.Page.WaitForWorkerOptionsPage.WaitForWorkerOptions. setPredicate(java.util.function.Predicate<Worker> predicate)Receives theWorkerobject and resolves to truthy value when the waiting should resolve. -
Uses of Worker in com.microsoft.playwright.impl
Classes in com.microsoft.playwright.impl that implement Worker Modifier and Type Class Description (package private) classWorkerImplFields in com.microsoft.playwright.impl with type parameters of type Worker Modifier and Type Field Description (package private) java.util.Set<Worker>PageImpl. workersMethods in com.microsoft.playwright.impl that return Worker Modifier and Type Method Description WorkerWorkerImpl. waitForClose(Worker.WaitForCloseOptions options, java.lang.Runnable code)private WorkerWorkerImpl. waitForCloseImpl(Worker.WaitForCloseOptions options, java.lang.Runnable code)WorkerPageImpl. waitForWorker(Page.WaitForWorkerOptions options, java.lang.Runnable code)private WorkerPageImpl. waitForWorkerImpl(Page.WaitForWorkerOptions options, java.lang.Runnable code)Methods in com.microsoft.playwright.impl that return types with arguments of type Worker Modifier and Type Method Description java.util.List<Worker>PageImpl. workers()Method parameters in com.microsoft.playwright.impl with type arguments of type Worker Modifier and Type Method Description voidWorkerImpl. offClose(java.util.function.Consumer<Worker> handler)voidPageImpl. offWorker(java.util.function.Consumer<Worker> handler)voidWorkerImpl. onClose(java.util.function.Consumer<Worker> handler)voidPageImpl. onWorker(java.util.function.Consumer<Worker> handler)
-