clipboard

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

Documentation

Overview

Package clipboard contains utilities to manage the clipboard.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetClipboardFirstItemType

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

GetClipboardFirstItemType returns the type of the first item in the clipboard. More information about the item can be found here https://developer.mozilla.org/en-US/docs/Web/API/DataTransferItem.

func GetClipboardItemsSize

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

GetClipboardItemsSize returns the number of items currently in the clipboard.

Types

This section is empty.

Jump to

Keyboard shortcuts

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