Versions in this module Expand all Collapse all v0 v0.0.4 Jun 30, 2024 Changes in this version + const CommandClearDeviceMetricsOverride + const CommandClearDevicePostureOverride + const CommandClearGeolocationOverride + const CommandClearIdleOverride + const CommandGetOverriddenSensorInformation + const CommandResetPageScaleFactor + const CommandSetAutoDarkModeOverride + const CommandSetAutomationOverride + const CommandSetCPUThrottlingRate + const CommandSetDefaultBackgroundColorOverride + const CommandSetDeviceMetricsOverride + const CommandSetDevicePostureOverride + const CommandSetDisabledImageTypes + const CommandSetDocumentCookieDisabled + const CommandSetEmitTouchEventsForMouse + const CommandSetEmulatedMedia + const CommandSetEmulatedVisionDeficiency + const CommandSetFocusEmulationEnabled + const CommandSetGeolocationOverride + const CommandSetHardwareConcurrencyOverride + const CommandSetIdleOverride + const CommandSetLocaleOverride + const CommandSetPageScaleFactor + const CommandSetScriptExecutionDisabled + const CommandSetScrollbarsHidden + const CommandSetSensorOverrideEnabled + const CommandSetSensorOverrideReadings + const CommandSetTimezoneOverride + const CommandSetTouchEmulationEnabled + const CommandSetUserAgentOverride + const CommandSetVirtualTimePolicy + type ClearDeviceMetricsOverrideParams struct + func ClearDeviceMetricsOverride() *ClearDeviceMetricsOverrideParams + func (p *ClearDeviceMetricsOverrideParams) Do(ctx context.Context) (err error) + func (v *ClearDeviceMetricsOverrideParams) UnmarshalEasyJSON(l *jlexer.Lexer) + func (v *ClearDeviceMetricsOverrideParams) UnmarshalJSON(data []byte) error + func (v ClearDeviceMetricsOverrideParams) MarshalEasyJSON(w *jwriter.Writer) + func (v ClearDeviceMetricsOverrideParams) MarshalJSON() ([]byte, error) + type ClearDevicePostureOverrideParams struct + func ClearDevicePostureOverride() *ClearDevicePostureOverrideParams + func (p *ClearDevicePostureOverrideParams) Do(ctx context.Context) (err error) + func (v *ClearDevicePostureOverrideParams) UnmarshalEasyJSON(l *jlexer.Lexer) + func (v *ClearDevicePostureOverrideParams) UnmarshalJSON(data []byte) error + func (v ClearDevicePostureOverrideParams) MarshalEasyJSON(w *jwriter.Writer) + func (v ClearDevicePostureOverrideParams) MarshalJSON() ([]byte, error) + type ClearGeolocationOverrideParams struct + func ClearGeolocationOverride() *ClearGeolocationOverrideParams + func (p *ClearGeolocationOverrideParams) Do(ctx context.Context) (err error) + func (v *ClearGeolocationOverrideParams) UnmarshalEasyJSON(l *jlexer.Lexer) + func (v *ClearGeolocationOverrideParams) UnmarshalJSON(data []byte) error + func (v ClearGeolocationOverrideParams) MarshalEasyJSON(w *jwriter.Writer) + func (v ClearGeolocationOverrideParams) MarshalJSON() ([]byte, error) + type ClearIdleOverrideParams struct + func ClearIdleOverride() *ClearIdleOverrideParams + func (p *ClearIdleOverrideParams) Do(ctx context.Context) (err error) + func (v *ClearIdleOverrideParams) UnmarshalEasyJSON(l *jlexer.Lexer) + func (v *ClearIdleOverrideParams) UnmarshalJSON(data []byte) error + func (v ClearIdleOverrideParams) MarshalEasyJSON(w *jwriter.Writer) + func (v ClearIdleOverrideParams) MarshalJSON() ([]byte, error) + type DevicePosture struct + Type DevicePostureType + func (v *DevicePosture) UnmarshalEasyJSON(l *jlexer.Lexer) + func (v *DevicePosture) UnmarshalJSON(data []byte) error + func (v DevicePosture) MarshalEasyJSON(w *jwriter.Writer) + func (v DevicePosture) MarshalJSON() ([]byte, error) + type DevicePostureType string + const DevicePostureTypeContinuous + const DevicePostureTypeFolded + func (t *DevicePostureType) UnmarshalEasyJSON(in *jlexer.Lexer) + func (t *DevicePostureType) UnmarshalJSON(buf []byte) error + func (t DevicePostureType) MarshalEasyJSON(out *jwriter.Writer) + func (t DevicePostureType) MarshalJSON() ([]byte, error) + func (t DevicePostureType) String() string + type DisabledImageType string + const DisabledImageTypeAvif + const DisabledImageTypeWebp + func (t *DisabledImageType) UnmarshalEasyJSON(in *jlexer.Lexer) + func (t *DisabledImageType) UnmarshalJSON(buf []byte) error + func (t DisabledImageType) MarshalEasyJSON(out *jwriter.Writer) + func (t DisabledImageType) MarshalJSON() ([]byte, error) + func (t DisabledImageType) String() string + type DisplayFeature struct + MaskLength int64 + Offset int64 + Orientation DisplayFeatureOrientation + func (v *DisplayFeature) UnmarshalEasyJSON(l *jlexer.Lexer) + func (v *DisplayFeature) UnmarshalJSON(data []byte) error + func (v DisplayFeature) MarshalEasyJSON(w *jwriter.Writer) + func (v DisplayFeature) MarshalJSON() ([]byte, error) + type DisplayFeatureOrientation string + const DisplayFeatureOrientationHorizontal + const DisplayFeatureOrientationVertical + func (t *DisplayFeatureOrientation) UnmarshalEasyJSON(in *jlexer.Lexer) + func (t *DisplayFeatureOrientation) UnmarshalJSON(buf []byte) error + func (t DisplayFeatureOrientation) MarshalEasyJSON(out *jwriter.Writer) + func (t DisplayFeatureOrientation) MarshalJSON() ([]byte, error) + func (t DisplayFeatureOrientation) String() string + type EventVirtualTimeBudgetExpired struct + func (v *EventVirtualTimeBudgetExpired) UnmarshalEasyJSON(l *jlexer.Lexer) + func (v *EventVirtualTimeBudgetExpired) UnmarshalJSON(data []byte) error + func (v EventVirtualTimeBudgetExpired) MarshalEasyJSON(w *jwriter.Writer) + func (v EventVirtualTimeBudgetExpired) MarshalJSON() ([]byte, error) + type GetOverriddenSensorInformationParams struct + Type SensorType + func GetOverriddenSensorInformation(typeVal SensorType) *GetOverriddenSensorInformationParams + func (p *GetOverriddenSensorInformationParams) Do(ctx context.Context) (requestedSamplingFrequency float64, err error) + func (v *GetOverriddenSensorInformationParams) UnmarshalEasyJSON(l *jlexer.Lexer) + func (v *GetOverriddenSensorInformationParams) UnmarshalJSON(data []byte) error + func (v GetOverriddenSensorInformationParams) MarshalEasyJSON(w *jwriter.Writer) + func (v GetOverriddenSensorInformationParams) MarshalJSON() ([]byte, error) + type GetOverriddenSensorInformationReturns struct + RequestedSamplingFrequency float64 + func (v *GetOverriddenSensorInformationReturns) UnmarshalEasyJSON(l *jlexer.Lexer) + func (v *GetOverriddenSensorInformationReturns) UnmarshalJSON(data []byte) error + func (v GetOverriddenSensorInformationReturns) MarshalEasyJSON(w *jwriter.Writer) + func (v GetOverriddenSensorInformationReturns) MarshalJSON() ([]byte, error) + type MediaFeature struct + Name string + Value string + func (v *MediaFeature) UnmarshalEasyJSON(l *jlexer.Lexer) + func (v *MediaFeature) UnmarshalJSON(data []byte) error + func (v MediaFeature) MarshalEasyJSON(w *jwriter.Writer) + func (v MediaFeature) MarshalJSON() ([]byte, error) + type OrientationType string + const OrientationTypeLandscapePrimary + const OrientationTypeLandscapeSecondary + const OrientationTypePortraitPrimary + const OrientationTypePortraitSecondary + func (t *OrientationType) UnmarshalEasyJSON(in *jlexer.Lexer) + func (t *OrientationType) UnmarshalJSON(buf []byte) error + func (t OrientationType) MarshalEasyJSON(out *jwriter.Writer) + func (t OrientationType) MarshalJSON() ([]byte, error) + func (t OrientationType) String() string + type ResetPageScaleFactorParams struct + func ResetPageScaleFactor() *ResetPageScaleFactorParams + func (p *ResetPageScaleFactorParams) Do(ctx context.Context) (err error) + func (v *ResetPageScaleFactorParams) UnmarshalEasyJSON(l *jlexer.Lexer) + func (v *ResetPageScaleFactorParams) UnmarshalJSON(data []byte) error + func (v ResetPageScaleFactorParams) MarshalEasyJSON(w *jwriter.Writer) + func (v ResetPageScaleFactorParams) MarshalJSON() ([]byte, error) + type ScreenOrientation struct + Angle int64 + Type OrientationType + func (v *ScreenOrientation) UnmarshalEasyJSON(l *jlexer.Lexer) + func (v *ScreenOrientation) UnmarshalJSON(data []byte) error + func (v ScreenOrientation) MarshalEasyJSON(w *jwriter.Writer) + func (v ScreenOrientation) MarshalJSON() ([]byte, error) + type SensorMetadata struct + Available bool + MaximumFrequency float64 + MinimumFrequency float64 + func (v *SensorMetadata) UnmarshalEasyJSON(l *jlexer.Lexer) + func (v *SensorMetadata) UnmarshalJSON(data []byte) error + func (v SensorMetadata) MarshalEasyJSON(w *jwriter.Writer) + func (v SensorMetadata) MarshalJSON() ([]byte, error) + type SensorReading struct + Quaternion *SensorReadingQuaternion + Single *SensorReadingSingle + Xyz *SensorReadingXYZ + func (v *SensorReading) UnmarshalEasyJSON(l *jlexer.Lexer) + func (v *SensorReading) UnmarshalJSON(data []byte) error + func (v SensorReading) MarshalEasyJSON(w *jwriter.Writer) + func (v SensorReading) MarshalJSON() ([]byte, error) + type SensorReadingQuaternion struct + W float64 + X float64 + Y float64 + Z float64 + func (v *SensorReadingQuaternion) UnmarshalEasyJSON(l *jlexer.Lexer) + func (v *SensorReadingQuaternion) UnmarshalJSON(data []byte) error + func (v SensorReadingQuaternion) MarshalEasyJSON(w *jwriter.Writer) + func (v SensorReadingQuaternion) MarshalJSON() ([]byte, error) + type SensorReadingSingle struct + Value float64 + func (v *SensorReadingSingle) UnmarshalEasyJSON(l *jlexer.Lexer) + func (v *SensorReadingSingle) UnmarshalJSON(data []byte) error + func (v SensorReadingSingle) MarshalEasyJSON(w *jwriter.Writer) + func (v SensorReadingSingle) MarshalJSON() ([]byte, error) + type SensorReadingXYZ struct + X float64 + Y float64 + Z float64 + func (v *SensorReadingXYZ) UnmarshalEasyJSON(l *jlexer.Lexer) + func (v *SensorReadingXYZ) UnmarshalJSON(data []byte) error + func (v SensorReadingXYZ) MarshalEasyJSON(w *jwriter.Writer) + func (v SensorReadingXYZ) MarshalJSON() ([]byte, error) + type SensorType string + const SensorTypeAbsoluteOrientation + const SensorTypeAccelerometer + const SensorTypeAmbientLight + const SensorTypeGravity + const SensorTypeGyroscope + const SensorTypeLinearAcceleration + const SensorTypeMagnetometer + const SensorTypeProximity + const SensorTypeRelativeOrientation + func (t *SensorType) UnmarshalEasyJSON(in *jlexer.Lexer) + func (t *SensorType) UnmarshalJSON(buf []byte) error + func (t SensorType) MarshalEasyJSON(out *jwriter.Writer) + func (t SensorType) MarshalJSON() ([]byte, error) + func (t SensorType) String() string + type SetAutoDarkModeOverrideParams struct + Enabled bool + func SetAutoDarkModeOverride() *SetAutoDarkModeOverrideParams + func (p *SetAutoDarkModeOverrideParams) Do(ctx context.Context) (err error) + func (p SetAutoDarkModeOverrideParams) WithEnabled(enabled bool) *SetAutoDarkModeOverrideParams + func (v *SetAutoDarkModeOverrideParams) UnmarshalEasyJSON(l *jlexer.Lexer) + func (v *SetAutoDarkModeOverrideParams) UnmarshalJSON(data []byte) error + func (v SetAutoDarkModeOverrideParams) MarshalEasyJSON(w *jwriter.Writer) + func (v SetAutoDarkModeOverrideParams) MarshalJSON() ([]byte, error) + type SetAutomationOverrideParams struct + Enabled bool + func SetAutomationOverride(enabled bool) *SetAutomationOverrideParams + func (p *SetAutomationOverrideParams) Do(ctx context.Context) (err error) + func (v *SetAutomationOverrideParams) UnmarshalEasyJSON(l *jlexer.Lexer) + func (v *SetAutomationOverrideParams) UnmarshalJSON(data []byte) error + func (v SetAutomationOverrideParams) MarshalEasyJSON(w *jwriter.Writer) + func (v SetAutomationOverrideParams) MarshalJSON() ([]byte, error) + type SetCPUThrottlingRateParams struct + Rate float64 + func SetCPUThrottlingRate(rate float64) *SetCPUThrottlingRateParams + func (p *SetCPUThrottlingRateParams) Do(ctx context.Context) (err error) + func (v *SetCPUThrottlingRateParams) UnmarshalEasyJSON(l *jlexer.Lexer) + func (v *SetCPUThrottlingRateParams) UnmarshalJSON(data []byte) error + func (v SetCPUThrottlingRateParams) MarshalEasyJSON(w *jwriter.Writer) + func (v SetCPUThrottlingRateParams) MarshalJSON() ([]byte, error) + type SetDefaultBackgroundColorOverrideParams struct + Color *cdp.RGBA + func SetDefaultBackgroundColorOverride() *SetDefaultBackgroundColorOverrideParams + func (p *SetDefaultBackgroundColorOverrideParams) Do(ctx context.Context) (err error) + func (p SetDefaultBackgroundColorOverrideParams) WithColor(color *cdp.RGBA) *SetDefaultBackgroundColorOverrideParams + func (v *SetDefaultBackgroundColorOverrideParams) UnmarshalEasyJSON(l *jlexer.Lexer) + func (v *SetDefaultBackgroundColorOverrideParams) UnmarshalJSON(data []byte) error + func (v SetDefaultBackgroundColorOverrideParams) MarshalEasyJSON(w *jwriter.Writer) + func (v SetDefaultBackgroundColorOverrideParams) MarshalJSON() ([]byte, error) + type SetDeviceMetricsOverrideParams struct + DeviceScaleFactor float64 + DisplayFeature *DisplayFeature + DontSetVisibleSize bool + Height int64 + Mobile bool + PositionX int64 + PositionY int64 + Scale float64 + ScreenHeight int64 + ScreenOrientation *ScreenOrientation + ScreenWidth int64 + Viewport *page.Viewport + Width int64 + func SetDeviceMetricsOverride(width int64, height int64, deviceScaleFactor float64, mobile bool) *SetDeviceMetricsOverrideParams + func (p *SetDeviceMetricsOverrideParams) Do(ctx context.Context) (err error) + func (p SetDeviceMetricsOverrideParams) WithDisplayFeature(displayFeature *DisplayFeature) *SetDeviceMetricsOverrideParams + func (p SetDeviceMetricsOverrideParams) WithDontSetVisibleSize(dontSetVisibleSize bool) *SetDeviceMetricsOverrideParams + func (p SetDeviceMetricsOverrideParams) WithPositionX(positionX int64) *SetDeviceMetricsOverrideParams + func (p SetDeviceMetricsOverrideParams) WithPositionY(positionY int64) *SetDeviceMetricsOverrideParams + func (p SetDeviceMetricsOverrideParams) WithScale(scale float64) *SetDeviceMetricsOverrideParams + func (p SetDeviceMetricsOverrideParams) WithScreenHeight(screenHeight int64) *SetDeviceMetricsOverrideParams + func (p SetDeviceMetricsOverrideParams) WithScreenOrientation(screenOrientation *ScreenOrientation) *SetDeviceMetricsOverrideParams + func (p SetDeviceMetricsOverrideParams) WithScreenWidth(screenWidth int64) *SetDeviceMetricsOverrideParams + func (p SetDeviceMetricsOverrideParams) WithViewport(viewport *page.Viewport) *SetDeviceMetricsOverrideParams + func (v *SetDeviceMetricsOverrideParams) UnmarshalEasyJSON(l *jlexer.Lexer) + func (v *SetDeviceMetricsOverrideParams) UnmarshalJSON(data []byte) error + func (v SetDeviceMetricsOverrideParams) MarshalEasyJSON(w *jwriter.Writer) + func (v SetDeviceMetricsOverrideParams) MarshalJSON() ([]byte, error) + type SetDevicePostureOverrideParams struct + Posture *DevicePosture + func SetDevicePostureOverride(posture *DevicePosture) *SetDevicePostureOverrideParams + func (p *SetDevicePostureOverrideParams) Do(ctx context.Context) (err error) + func (v *SetDevicePostureOverrideParams) UnmarshalEasyJSON(l *jlexer.Lexer) + func (v *SetDevicePostureOverrideParams) UnmarshalJSON(data []byte) error + func (v SetDevicePostureOverrideParams) MarshalEasyJSON(w *jwriter.Writer) + func (v SetDevicePostureOverrideParams) MarshalJSON() ([]byte, error) + type SetDisabledImageTypesParams struct + ImageTypes []DisabledImageType + func SetDisabledImageTypes(imageTypes []DisabledImageType) *SetDisabledImageTypesParams + func (p *SetDisabledImageTypesParams) Do(ctx context.Context) (err error) + func (v *SetDisabledImageTypesParams) UnmarshalEasyJSON(l *jlexer.Lexer) + func (v *SetDisabledImageTypesParams) UnmarshalJSON(data []byte) error + func (v SetDisabledImageTypesParams) MarshalEasyJSON(w *jwriter.Writer) + func (v SetDisabledImageTypesParams) MarshalJSON() ([]byte, error) + type SetDocumentCookieDisabledParams struct + Disabled bool + func SetDocumentCookieDisabled(disabled bool) *SetDocumentCookieDisabledParams + func (p *SetDocumentCookieDisabledParams) Do(ctx context.Context) (err error) + func (v *SetDocumentCookieDisabledParams) UnmarshalEasyJSON(l *jlexer.Lexer) + func (v *SetDocumentCookieDisabledParams) UnmarshalJSON(data []byte) error + func (v SetDocumentCookieDisabledParams) MarshalEasyJSON(w *jwriter.Writer) + func (v SetDocumentCookieDisabledParams) MarshalJSON() ([]byte, error) + type SetEmitTouchEventsForMouseConfiguration string + const SetEmitTouchEventsForMouseConfigurationDesktop + const SetEmitTouchEventsForMouseConfigurationMobile + func (t *SetEmitTouchEventsForMouseConfiguration) UnmarshalEasyJSON(in *jlexer.Lexer) + func (t *SetEmitTouchEventsForMouseConfiguration) UnmarshalJSON(buf []byte) error + func (t SetEmitTouchEventsForMouseConfiguration) MarshalEasyJSON(out *jwriter.Writer) + func (t SetEmitTouchEventsForMouseConfiguration) MarshalJSON() ([]byte, error) + func (t SetEmitTouchEventsForMouseConfiguration) String() string + type SetEmitTouchEventsForMouseParams struct + Configuration SetEmitTouchEventsForMouseConfiguration + Enabled bool + func SetEmitTouchEventsForMouse(enabled bool) *SetEmitTouchEventsForMouseParams + func (p *SetEmitTouchEventsForMouseParams) Do(ctx context.Context) (err error) + func (p SetEmitTouchEventsForMouseParams) WithConfiguration(configuration SetEmitTouchEventsForMouseConfiguration) *SetEmitTouchEventsForMouseParams + func (v *SetEmitTouchEventsForMouseParams) UnmarshalEasyJSON(l *jlexer.Lexer) + func (v *SetEmitTouchEventsForMouseParams) UnmarshalJSON(data []byte) error + func (v SetEmitTouchEventsForMouseParams) MarshalEasyJSON(w *jwriter.Writer) + func (v SetEmitTouchEventsForMouseParams) MarshalJSON() ([]byte, error) + type SetEmulatedMediaParams struct + Features []*MediaFeature + Media string + func SetEmulatedMedia() *SetEmulatedMediaParams + func (p *SetEmulatedMediaParams) Do(ctx context.Context) (err error) + func (p SetEmulatedMediaParams) WithFeatures(features []*MediaFeature) *SetEmulatedMediaParams + func (p SetEmulatedMediaParams) WithMedia(media string) *SetEmulatedMediaParams + func (v *SetEmulatedMediaParams) UnmarshalEasyJSON(l *jlexer.Lexer) + func (v *SetEmulatedMediaParams) UnmarshalJSON(data []byte) error + func (v SetEmulatedMediaParams) MarshalEasyJSON(w *jwriter.Writer) + func (v SetEmulatedMediaParams) MarshalJSON() ([]byte, error) + type SetEmulatedVisionDeficiencyParams struct + Type SetEmulatedVisionDeficiencyType + func SetEmulatedVisionDeficiency(typeVal SetEmulatedVisionDeficiencyType) *SetEmulatedVisionDeficiencyParams + func (p *SetEmulatedVisionDeficiencyParams) Do(ctx context.Context) (err error) + func (v *SetEmulatedVisionDeficiencyParams) UnmarshalEasyJSON(l *jlexer.Lexer) + func (v *SetEmulatedVisionDeficiencyParams) UnmarshalJSON(data []byte) error + func (v SetEmulatedVisionDeficiencyParams) MarshalEasyJSON(w *jwriter.Writer) + func (v SetEmulatedVisionDeficiencyParams) MarshalJSON() ([]byte, error) + type SetEmulatedVisionDeficiencyType string + const SetEmulatedVisionDeficiencyTypeAchromatopsia + const SetEmulatedVisionDeficiencyTypeBlurredVision + const SetEmulatedVisionDeficiencyTypeDeuteranopia + const SetEmulatedVisionDeficiencyTypeNone + const SetEmulatedVisionDeficiencyTypeProtanopia + const SetEmulatedVisionDeficiencyTypeReducedContrast + const SetEmulatedVisionDeficiencyTypeTritanopia + func (t *SetEmulatedVisionDeficiencyType) UnmarshalEasyJSON(in *jlexer.Lexer) + func (t *SetEmulatedVisionDeficiencyType) UnmarshalJSON(buf []byte) error + func (t SetEmulatedVisionDeficiencyType) MarshalEasyJSON(out *jwriter.Writer) + func (t SetEmulatedVisionDeficiencyType) MarshalJSON() ([]byte, error) + func (t SetEmulatedVisionDeficiencyType) String() string + type SetFocusEmulationEnabledParams struct + Enabled bool + func SetFocusEmulationEnabled(enabled bool) *SetFocusEmulationEnabledParams + func (p *SetFocusEmulationEnabledParams) Do(ctx context.Context) (err error) + func (v *SetFocusEmulationEnabledParams) UnmarshalEasyJSON(l *jlexer.Lexer) + func (v *SetFocusEmulationEnabledParams) UnmarshalJSON(data []byte) error + func (v SetFocusEmulationEnabledParams) MarshalEasyJSON(w *jwriter.Writer) + func (v SetFocusEmulationEnabledParams) MarshalJSON() ([]byte, error) + type SetGeolocationOverrideParams struct + Accuracy float64 + Latitude float64 + Longitude float64 + func SetGeolocationOverride() *SetGeolocationOverrideParams + func (p *SetGeolocationOverrideParams) Do(ctx context.Context) (err error) + func (p SetGeolocationOverrideParams) WithAccuracy(accuracy float64) *SetGeolocationOverrideParams + func (p SetGeolocationOverrideParams) WithLatitude(latitude float64) *SetGeolocationOverrideParams + func (p SetGeolocationOverrideParams) WithLongitude(longitude float64) *SetGeolocationOverrideParams + func (v *SetGeolocationOverrideParams) UnmarshalEasyJSON(l *jlexer.Lexer) + func (v *SetGeolocationOverrideParams) UnmarshalJSON(data []byte) error + func (v SetGeolocationOverrideParams) MarshalEasyJSON(w *jwriter.Writer) + func (v SetGeolocationOverrideParams) MarshalJSON() ([]byte, error) + type SetHardwareConcurrencyOverrideParams struct + HardwareConcurrency int64 + func SetHardwareConcurrencyOverride(hardwareConcurrency int64) *SetHardwareConcurrencyOverrideParams + func (p *SetHardwareConcurrencyOverrideParams) Do(ctx context.Context) (err error) + func (v *SetHardwareConcurrencyOverrideParams) UnmarshalEasyJSON(l *jlexer.Lexer) + func (v *SetHardwareConcurrencyOverrideParams) UnmarshalJSON(data []byte) error + func (v SetHardwareConcurrencyOverrideParams) MarshalEasyJSON(w *jwriter.Writer) + func (v SetHardwareConcurrencyOverrideParams) MarshalJSON() ([]byte, error) + type SetIdleOverrideParams struct + IsScreenUnlocked bool + IsUserActive bool + func SetIdleOverride(isUserActive bool, isScreenUnlocked bool) *SetIdleOverrideParams + func (p *SetIdleOverrideParams) Do(ctx context.Context) (err error) + func (v *SetIdleOverrideParams) UnmarshalEasyJSON(l *jlexer.Lexer) + func (v *SetIdleOverrideParams) UnmarshalJSON(data []byte) error + func (v SetIdleOverrideParams) MarshalEasyJSON(w *jwriter.Writer) + func (v SetIdleOverrideParams) MarshalJSON() ([]byte, error) + type SetLocaleOverrideParams struct + Locale string + func SetLocaleOverride() *SetLocaleOverrideParams + func (p *SetLocaleOverrideParams) Do(ctx context.Context) (err error) + func (p SetLocaleOverrideParams) WithLocale(locale string) *SetLocaleOverrideParams + func (v *SetLocaleOverrideParams) UnmarshalEasyJSON(l *jlexer.Lexer) + func (v *SetLocaleOverrideParams) UnmarshalJSON(data []byte) error + func (v SetLocaleOverrideParams) MarshalEasyJSON(w *jwriter.Writer) + func (v SetLocaleOverrideParams) MarshalJSON() ([]byte, error) + type SetPageScaleFactorParams struct + PageScaleFactor float64 + func SetPageScaleFactor(pageScaleFactor float64) *SetPageScaleFactorParams + func (p *SetPageScaleFactorParams) Do(ctx context.Context) (err error) + func (v *SetPageScaleFactorParams) UnmarshalEasyJSON(l *jlexer.Lexer) + func (v *SetPageScaleFactorParams) UnmarshalJSON(data []byte) error + func (v SetPageScaleFactorParams) MarshalEasyJSON(w *jwriter.Writer) + func (v SetPageScaleFactorParams) MarshalJSON() ([]byte, error) + type SetScriptExecutionDisabledParams struct + Value bool + func SetScriptExecutionDisabled(value bool) *SetScriptExecutionDisabledParams + func (p *SetScriptExecutionDisabledParams) Do(ctx context.Context) (err error) + func (v *SetScriptExecutionDisabledParams) UnmarshalEasyJSON(l *jlexer.Lexer) + func (v *SetScriptExecutionDisabledParams) UnmarshalJSON(data []byte) error + func (v SetScriptExecutionDisabledParams) MarshalEasyJSON(w *jwriter.Writer) + func (v SetScriptExecutionDisabledParams) MarshalJSON() ([]byte, error) + type SetScrollbarsHiddenParams struct + Hidden bool + func SetScrollbarsHidden(hidden bool) *SetScrollbarsHiddenParams + func (p *SetScrollbarsHiddenParams) Do(ctx context.Context) (err error) + func (v *SetScrollbarsHiddenParams) UnmarshalEasyJSON(l *jlexer.Lexer) + func (v *SetScrollbarsHiddenParams) UnmarshalJSON(data []byte) error + func (v SetScrollbarsHiddenParams) MarshalEasyJSON(w *jwriter.Writer) + func (v SetScrollbarsHiddenParams) MarshalJSON() ([]byte, error) + type SetSensorOverrideEnabledParams struct + Enabled bool + Metadata *SensorMetadata + Type SensorType + func SetSensorOverrideEnabled(enabled bool, typeVal SensorType) *SetSensorOverrideEnabledParams + func (p *SetSensorOverrideEnabledParams) Do(ctx context.Context) (err error) + func (p SetSensorOverrideEnabledParams) WithMetadata(metadata *SensorMetadata) *SetSensorOverrideEnabledParams + func (v *SetSensorOverrideEnabledParams) UnmarshalEasyJSON(l *jlexer.Lexer) + func (v *SetSensorOverrideEnabledParams) UnmarshalJSON(data []byte) error + func (v SetSensorOverrideEnabledParams) MarshalEasyJSON(w *jwriter.Writer) + func (v SetSensorOverrideEnabledParams) MarshalJSON() ([]byte, error) + type SetSensorOverrideReadingsParams struct + Reading *SensorReading + Type SensorType + func SetSensorOverrideReadings(typeVal SensorType, reading *SensorReading) *SetSensorOverrideReadingsParams + func (p *SetSensorOverrideReadingsParams) Do(ctx context.Context) (err error) + func (v *SetSensorOverrideReadingsParams) UnmarshalEasyJSON(l *jlexer.Lexer) + func (v *SetSensorOverrideReadingsParams) UnmarshalJSON(data []byte) error + func (v SetSensorOverrideReadingsParams) MarshalEasyJSON(w *jwriter.Writer) + func (v SetSensorOverrideReadingsParams) MarshalJSON() ([]byte, error) + type SetTimezoneOverrideParams struct + TimezoneID string + func SetTimezoneOverride(timezoneID string) *SetTimezoneOverrideParams + func (p *SetTimezoneOverrideParams) Do(ctx context.Context) (err error) + func (v *SetTimezoneOverrideParams) UnmarshalEasyJSON(l *jlexer.Lexer) + func (v *SetTimezoneOverrideParams) UnmarshalJSON(data []byte) error + func (v SetTimezoneOverrideParams) MarshalEasyJSON(w *jwriter.Writer) + func (v SetTimezoneOverrideParams) MarshalJSON() ([]byte, error) + type SetTouchEmulationEnabledParams struct + Enabled bool + MaxTouchPoints int64 + func SetTouchEmulationEnabled(enabled bool) *SetTouchEmulationEnabledParams + func (p *SetTouchEmulationEnabledParams) Do(ctx context.Context) (err error) + func (p SetTouchEmulationEnabledParams) WithMaxTouchPoints(maxTouchPoints int64) *SetTouchEmulationEnabledParams + func (v *SetTouchEmulationEnabledParams) UnmarshalEasyJSON(l *jlexer.Lexer) + func (v *SetTouchEmulationEnabledParams) UnmarshalJSON(data []byte) error + func (v SetTouchEmulationEnabledParams) MarshalEasyJSON(w *jwriter.Writer) + func (v SetTouchEmulationEnabledParams) MarshalJSON() ([]byte, error) + type SetUserAgentOverrideParams struct + AcceptLanguage string + Platform string + UserAgent string + UserAgentMetadata *UserAgentMetadata + func SetUserAgentOverride(userAgent string) *SetUserAgentOverrideParams + func (p *SetUserAgentOverrideParams) Do(ctx context.Context) (err error) + func (p SetUserAgentOverrideParams) WithAcceptLanguage(acceptLanguage string) *SetUserAgentOverrideParams + func (p SetUserAgentOverrideParams) WithPlatform(platform string) *SetUserAgentOverrideParams + func (p SetUserAgentOverrideParams) WithUserAgentMetadata(userAgentMetadata *UserAgentMetadata) *SetUserAgentOverrideParams + func (v *SetUserAgentOverrideParams) UnmarshalEasyJSON(l *jlexer.Lexer) + func (v *SetUserAgentOverrideParams) UnmarshalJSON(data []byte) error + func (v SetUserAgentOverrideParams) MarshalEasyJSON(w *jwriter.Writer) + func (v SetUserAgentOverrideParams) MarshalJSON() ([]byte, error) + type SetVirtualTimePolicyParams struct + Budget float64 + InitialVirtualTime *cdp.TimeSinceEpoch + MaxVirtualTimeTaskStarvationCount int64 + Policy VirtualTimePolicy + func SetVirtualTimePolicy(policy VirtualTimePolicy) *SetVirtualTimePolicyParams + func (p *SetVirtualTimePolicyParams) Do(ctx context.Context) (virtualTimeTicksBase float64, err error) + func (p SetVirtualTimePolicyParams) WithBudget(budget float64) *SetVirtualTimePolicyParams + func (p SetVirtualTimePolicyParams) WithInitialVirtualTime(initialVirtualTime *cdp.TimeSinceEpoch) *SetVirtualTimePolicyParams + func (p SetVirtualTimePolicyParams) WithMaxVirtualTimeTaskStarvationCount(maxVirtualTimeTaskStarvationCount int64) *SetVirtualTimePolicyParams + func (v *SetVirtualTimePolicyParams) UnmarshalEasyJSON(l *jlexer.Lexer) + func (v *SetVirtualTimePolicyParams) UnmarshalJSON(data []byte) error + func (v SetVirtualTimePolicyParams) MarshalEasyJSON(w *jwriter.Writer) + func (v SetVirtualTimePolicyParams) MarshalJSON() ([]byte, error) + type SetVirtualTimePolicyReturns struct + VirtualTimeTicksBase float64 + func (v *SetVirtualTimePolicyReturns) UnmarshalEasyJSON(l *jlexer.Lexer) + func (v *SetVirtualTimePolicyReturns) UnmarshalJSON(data []byte) error + func (v SetVirtualTimePolicyReturns) MarshalEasyJSON(w *jwriter.Writer) + func (v SetVirtualTimePolicyReturns) MarshalJSON() ([]byte, error) + type UserAgentBrandVersion struct + Brand string + Version string + func (v *UserAgentBrandVersion) UnmarshalEasyJSON(l *jlexer.Lexer) + func (v *UserAgentBrandVersion) UnmarshalJSON(data []byte) error + func (v UserAgentBrandVersion) MarshalEasyJSON(w *jwriter.Writer) + func (v UserAgentBrandVersion) MarshalJSON() ([]byte, error) + type UserAgentMetadata struct + Architecture string + Bitness string + Brands []*UserAgentBrandVersion + FullVersionList []*UserAgentBrandVersion + Mobile bool + Model string + Platform string + PlatformVersion string + Wow64 bool + func (v *UserAgentMetadata) UnmarshalEasyJSON(l *jlexer.Lexer) + func (v *UserAgentMetadata) UnmarshalJSON(data []byte) error + func (v UserAgentMetadata) MarshalEasyJSON(w *jwriter.Writer) + func (v UserAgentMetadata) MarshalJSON() ([]byte, error) + type VirtualTimePolicy string + const VirtualTimePolicyAdvance + const VirtualTimePolicyPause + const VirtualTimePolicyPauseIfNetworkFetchesPending + func (t *VirtualTimePolicy) UnmarshalEasyJSON(in *jlexer.Lexer) + func (t *VirtualTimePolicy) UnmarshalJSON(buf []byte) error + func (t VirtualTimePolicy) MarshalEasyJSON(out *jwriter.Writer) + func (t VirtualTimePolicy) MarshalJSON() ([]byte, error) + func (t VirtualTimePolicy) String() string