Uses of Interface
com.microsoft.playwright.Worker
Packages that use Worker
-
Uses of Worker in com.microsoft.playwright
Fields in com.microsoft.playwright with type parameters of type WorkerModifier and TypeFieldDescriptionPage.WaitForWorkerOptions.predicateReceives theWorkerobject and resolves to truthy value when the waiting should resolve.Methods in com.microsoft.playwright that return WorkerModifier and TypeMethodDescriptionWorker.waitForClose(Worker.WaitForCloseOptions options, Runnable callback) Performs action and waits for the Worker to close.default WorkerWorker.waitForClose(Runnable callback) Performs action and waits for the Worker to close.Page.waitForWorker(Page.WaitForWorkerOptions options, Runnable callback) Performs action and waits for a newWorker.default WorkerPage.waitForWorker(Runnable callback) Performs action and waits for a newWorker.Methods in com.microsoft.playwright that return types with arguments of type WorkerModifier and TypeMethodDescriptionPage.workers()This method returns all of the dedicated WebWorkers associated with the page.Method parameters in com.microsoft.playwright with type arguments of type WorkerModifier and TypeMethodDescriptionvoidRemoves handler that was previously added withonClose(handler).voidRemoves handler that was previously added withonWorker(handler).voidEmitted when this dedicated WebWorker is terminated.voidEmitted when a dedicated WebWorker is spawned by the page.Page.WaitForWorkerOptions.setPredicate(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 WorkerFields in com.microsoft.playwright.impl with type parameters of type WorkerMethods in com.microsoft.playwright.impl that return WorkerModifier and TypeMethodDescriptionWorkerImpl.waitForClose(Worker.WaitForCloseOptions options, Runnable code) private WorkerWorkerImpl.waitForCloseImpl(Worker.WaitForCloseOptions options, Runnable code) PageImpl.waitForWorker(Page.WaitForWorkerOptions options, Runnable code) private WorkerPageImpl.waitForWorkerImpl(Page.WaitForWorkerOptions options, Runnable code) Methods in com.microsoft.playwright.impl that return types with arguments of type WorkerMethod parameters in com.microsoft.playwright.impl with type arguments of type Worker