Uses of Class
com.microsoft.playwright.options.ServiceWorkerPolicy
-
Packages that use ServiceWorkerPolicy Package Description com.microsoft.playwright com.microsoft.playwright.options -
-
Uses of ServiceWorkerPolicy in com.microsoft.playwright
Fields in com.microsoft.playwright declared as ServiceWorkerPolicy Modifier and Type Field Description ServiceWorkerPolicyBrowser.NewContextOptions. serviceWorkersWhether to allow sites to register Service workers.ServiceWorkerPolicyBrowser.NewPageOptions. serviceWorkersWhether to allow sites to register Service workers.ServiceWorkerPolicyBrowserType.LaunchPersistentContextOptions. serviceWorkersWhether to allow sites to register Service workers.Methods in com.microsoft.playwright with parameters of type ServiceWorkerPolicy Modifier and Type Method Description Browser.NewContextOptionsBrowser.NewContextOptions. setServiceWorkers(ServiceWorkerPolicy serviceWorkers)Whether to allow sites to register Service workers.Browser.NewPageOptionsBrowser.NewPageOptions. setServiceWorkers(ServiceWorkerPolicy serviceWorkers)Whether to allow sites to register Service workers.BrowserType.LaunchPersistentContextOptionsBrowserType.LaunchPersistentContextOptions. setServiceWorkers(ServiceWorkerPolicy serviceWorkers)Whether to allow sites to register Service workers. -
Uses of ServiceWorkerPolicy in com.microsoft.playwright.options
Methods in com.microsoft.playwright.options that return ServiceWorkerPolicy Modifier and Type Method Description static ServiceWorkerPolicyServiceWorkerPolicy. valueOf(String name)Returns the enum constant of this type with the specified name.static ServiceWorkerPolicy[]ServiceWorkerPolicy. values()Returns an array containing the constants of this enum type, in the order they are declared.
-