selenium

package
v0.0.0-...-9c4fc95 Latest Latest
Warning

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

Go to latest
Published: Dec 12, 2023 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GetScreenshotByURLPayload

type GetScreenshotByURLPayload struct {
	URL string
}

type GetScreenshotByURLResponse

type GetScreenshotByURLResponse struct {
	FileName string `json:"filename"`
}

type SeleniumClient

type SeleniumClient struct {
	URL string
}

func CreateSeleniumClient

func CreateSeleniumClient(url string) *SeleniumClient

func (*SeleniumClient) GetDynamicScreenshotByURL

func (sc *SeleniumClient) GetDynamicScreenshotByURL(url string) string

func (*SeleniumClient) GetScreenshotByURL

func (sc *SeleniumClient) GetScreenshotByURL(method string, path string, pl *GetScreenshotByURLPayload) (*GetScreenshotByURLResponse, error)

func (*SeleniumClient) GetURL

func (sc *SeleniumClient) GetURL() string

Jump to

Keyboard shortcuts

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