screenshot

package
v0.0.0-...-2ef0b57 Latest Latest
Warning

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

Go to latest
Published: May 14, 2019 License: BSD-3-Clause Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// Name of this action
	Name = "Screenshot"

	// Description of this action
	Description = "Screenshot takes a picture of the screen at the given URL"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Screenshot

type Screenshot struct {
	action.Action

	URL      string
	Selector string
	SavePath string
}

Screenshot is an action

func (*Screenshot) Description

func (a *Screenshot) Description() string

Description returns what the action does

func (*Screenshot) Name

func (a *Screenshot) Name() string

Name returns the action name

func (*Screenshot) Take

func (a *Screenshot) Take() (err error)

Take performs the action to take a screenshot

Jump to

Keyboard shortcuts

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