capturemode

package
v0.0.0-...-683b059 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 23, 2022 License: BSD-3-Clause Imports: 11 Imported by: 0

Documentation

Overview

Package capturemode contains helper methods to work with Capture Mode.

Index

Constants

This section is empty.

Variables

View Source
var ErrCaptureModeNotFound = errors.New("capture mode not found in the UI")

ErrCaptureModeNotFound is returned by TakeAreaScreenshot if capture mode was not found in the UI.

For example, capture mode might be not allowed by admin policy.

Functions

func TakeAreaScreenshot

func TakeAreaScreenshot(ctx context.Context, tconn *chrome.TestConn) error

TakeAreaScreenshot opens system tray, enters capture mode, selects some area and takes a screenshot.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL