rpa

package
v0.0.0-...-cac2201 Latest Latest
Warning

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

Go to latest
Published: Aug 25, 2023 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type RPA

type RPA struct {
	Page     *rod.Page
	Launcher *launcher.Launcher
	Browser  *rod.Browser
}

func (*RPA) ClickElementByXPath

func (s *RPA) ClickElementByXPath(xPath string) error

func (*RPA) CloseAll

func (s *RPA) CloseAll()

func (*RPA) ClosePage

func (s *RPA) ClosePage()

func (*RPA) FindElementByXPath

func (s *RPA) FindElementByXPath(xPath string) (*rod.Element, error)

func (*RPA) HasByXPath

func (s *RPA) HasByXPath(xPath string) bool

func (*RPA) Init

func (s *RPA) Init(visible bool)

func (*RPA) InputElementByXPath

func (s *RPA) InputElementByXPath(xPath string, text string) error

func (*RPA) NewPage

func (s *RPA) NewPage(url string, closeActual bool)

func (*RPA) OpenInNewPageElement

func (s *RPA) OpenInNewPageElement(xPath string) error

func (*RPA) Screenshot

func (s *RPA) Screenshot()

func (*RPA) Title

func (s *RPA) Title() string

func (*RPA) URL

func (s *RPA) URL() string

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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