Uses of Enum Class
org.openqa.selenium.devtools.v141.emulation.model.PressureSource
Packages that use PressureSource
Package
Description
-
Uses of PressureSource in org.openqa.selenium.devtools.v141.emulation
Methods in org.openqa.selenium.devtools.v141.emulation with parameters of type PressureSourceModifier and TypeMethodDescriptionstatic org.openqa.selenium.devtools.Command<Void> Emulation.setPressureDataOverride(PressureSource source, PressureState state, Optional<Number> ownContributionEstimate) Provides a given pressure data set that will be processed and eventually be delivered to PressureObserver users.static org.openqa.selenium.devtools.Command<Void> Emulation.setPressureSourceOverrideEnabled(Boolean enabled, PressureSource source, Optional<PressureMetadata> metadata) Overrides a pressure source of a given type, as used by the Compute Pressure API, so that updates to PressureObserver.observe() are provided via setPressureStateOverride instead of being retrieved from platform-provided telemetry data.static org.openqa.selenium.devtools.Command<Void> Emulation.setPressureStateOverride(PressureSource source, PressureState state) TODO: OBSOLETE: To remove when setPressureDataOverride is merged. -
Uses of PressureSource in org.openqa.selenium.devtools.v141.emulation.model
Methods in org.openqa.selenium.devtools.v141.emulation.model that return PressureSourceModifier and TypeMethodDescriptionstatic PressureSourcePressureSource.fromString(String s) static PressureSourceReturns the enum constant of this class with the specified name.static PressureSource[]PressureSource.values()Returns an array containing the constants of this enum class, in the order they are declared.