Uses of Enum
com.microsoft.playwright.options.ColorScheme
Packages that use ColorScheme
-
Uses of ColorScheme in com.microsoft.playwright
Fields in com.microsoft.playwright with type parameters of type ColorSchemeModifier and TypeFieldDescriptionBrowser.NewContextOptions.colorSchemeEmulates"prefers-colors-scheme"media feature, supported values are"light","dark","no-preference".Browser.NewPageOptions.colorSchemeEmulates"prefers-colors-scheme"media feature, supported values are"light","dark","no-preference".BrowserType.LaunchPersistentContextOptions.colorSchemeEmulates"prefers-colors-scheme"media feature, supported values are"light","dark","no-preference".Page.EmulateMediaOptions.colorSchemeEmulates"prefers-colors-scheme"media feature, supported values are"light","dark","no-preference".Methods in com.microsoft.playwright with parameters of type ColorSchemeModifier and TypeMethodDescriptionBrowser.NewContextOptions.setColorScheme(ColorScheme colorScheme) Emulates"prefers-colors-scheme"media feature, supported values are"light","dark","no-preference".Browser.NewPageOptions.setColorScheme(ColorScheme colorScheme) Emulates"prefers-colors-scheme"media feature, supported values are"light","dark","no-preference".BrowserType.LaunchPersistentContextOptions.setColorScheme(ColorScheme colorScheme) Emulates"prefers-colors-scheme"media feature, supported values are"light","dark","no-preference".Page.EmulateMediaOptions.setColorScheme(ColorScheme colorScheme) Emulates"prefers-colors-scheme"media feature, supported values are"light","dark","no-preference". -
Uses of ColorScheme in com.microsoft.playwright.options
Subclasses with type arguments of type ColorScheme in com.microsoft.playwright.optionsMethods in com.microsoft.playwright.options that return ColorSchemeModifier and TypeMethodDescriptionstatic ColorSchemeReturns the enum constant of this type with the specified name.static ColorScheme[]ColorScheme.values()Returns an array containing the constants of this enum type, in the order they are declared.