Uses of Enum
com.microsoft.playwright.options.ForcedColors
Packages that use ForcedColors
-
Uses of ForcedColors in com.microsoft.playwright
Fields in com.microsoft.playwright with type parameters of type ForcedColorsModifier and TypeFieldDescriptionBrowser.NewContextOptions.forcedColorsEmulates"forced-colors"media feature, supported values are"active","none".Browser.NewPageOptions.forcedColorsEmulates"forced-colors"media feature, supported values are"active","none".BrowserType.LaunchPersistentContextOptions.forcedColorsEmulates"forced-colors"media feature, supported values are"active","none".Page.EmulateMediaOptions.forcedColorsEmulates"forced-colors"media feature, supported values are"active"and"none".Methods in com.microsoft.playwright with parameters of type ForcedColorsModifier and TypeMethodDescriptionBrowser.NewContextOptions.setForcedColors(ForcedColors forcedColors) Emulates"forced-colors"media feature, supported values are"active","none".Browser.NewPageOptions.setForcedColors(ForcedColors forcedColors) Emulates"forced-colors"media feature, supported values are"active","none".BrowserType.LaunchPersistentContextOptions.setForcedColors(ForcedColors forcedColors) Emulates"forced-colors"media feature, supported values are"active","none".Page.EmulateMediaOptions.setForcedColors(ForcedColors forcedColors) Emulates"forced-colors"media feature, supported values are"active"and"none". -
Uses of ForcedColors in com.microsoft.playwright.options
Methods in com.microsoft.playwright.options that return ForcedColorsModifier and TypeMethodDescriptionstatic ForcedColorsReturns the enum constant of this type with the specified name.static ForcedColors[]ForcedColors.values()Returns an array containing the constants of this enum type, in the order they are declared.