wmp

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: 13 Imported by: 0

Documentation

Overview

Package wmp contains utility functions for window management and performance.

Package wmp contains utility functions for window resize operations.

Index

Constants

View Source
const (
	// FullScreen is the type to take a full screenshot.
	FullScreen screenshotType = iota
)

Variables

This section is empty.

Functions

func CaptureScreenshot

func CaptureScreenshot(tconn *chrome.TestConn, sst screenshotType) action.Action

CaptureScreenshot captures screenshot according to the argument passed in, fullscreen, partial or window.

func LaunchScreenCapture

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

LaunchScreenCapture launches "Screen capture" from Quick Settings.

func ResizableArea

func ResizableArea(ctx context.Context, tconn *chrome.TestConn) (*coords.Rect, error)

ResizableArea setups resizeable area before performing resizing.

func StableDrag

func StableDrag(tconn *chrome.TestConn, window *nodewith.Finder, srcPt, endPt coords.Point) uiauto.Action

StableDrag drags the window and waits for location be stabled.

Types

This section is empty.

Jump to

Keyboard shortcuts

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