Uses of Enum
com.microsoft.playwright.options.ServiceWorkerPolicy
Packages that use ServiceWorkerPolicy
-
Uses of ServiceWorkerPolicy in com.microsoft.playwright
Fields in com.microsoft.playwright declared as ServiceWorkerPolicyModifier and TypeFieldDescriptionBrowser.NewContextOptions.serviceWorkersWhether to allow sites to register Service workers.Browser.NewPageOptions.serviceWorkersWhether to allow sites to register Service workers.BrowserType.LaunchPersistentContextOptions.serviceWorkersWhether to allow sites to register Service workers.Methods in com.microsoft.playwright with parameters of type ServiceWorkerPolicyModifier and TypeMethodDescriptionBrowser.NewContextOptions.setServiceWorkers(ServiceWorkerPolicy serviceWorkers) Whether to allow sites to register Service workers.Browser.NewPageOptions.setServiceWorkers(ServiceWorkerPolicy serviceWorkers) Whether to allow sites to register Service workers.BrowserType.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 ServiceWorkerPolicyModifier and TypeMethodDescriptionstatic ServiceWorkerPolicyReturns 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.