Documentation ¶
Index ¶
- type BrowserWindow
- type BrowserWindowPosition
- type ChromeDpCV
- func (c *ChromeDpCV) MouseClickAtPosition(position *BrowserWindowPosition, opts ...chromedp.MouseOption) chromedp.Action
- func (c *ChromeDpCV) MouseClickWhereScreenLooksLike(targetImagePath string, opts ...chromedp.MouseOption) chromedp.Action
- func (c *ChromeDpCV) NodesAtPosition(position *BrowserWindowPosition, resultNodes *[]*cdp.Node) chromedp.Action
- func (c *ChromeDpCV) NodesWhereScreenLooksLike(targetImagePath string, resultNodes *[]*cdp.Node) chromedp.Action
- func (c *ChromeDpCV) PositionWhereScreenLooksLike(targetImagePath string, position *BrowserWindowPosition) chromedp.Action
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BrowserWindow ¶
type BrowserWindowPosition ¶
type ChromeDpCV ¶
type ChromeDpCV struct { // TemplateMatchMarkedScreenShotFilePath allows to to keep an image of the screenshot where the searched region is marked, this helps with debugging TemplateMatchMarkedScreenShotFilePath string TemplateMatchMode gocv.TemplateMatchMode IMReadFlag gocv.IMReadFlag // Debug show errors messages with stack Debug bool }
ChromeDpCV
func New ¶
func New() *ChromeDpCV
func (*ChromeDpCV) MouseClickAtPosition ¶
func (c *ChromeDpCV) MouseClickAtPosition(position *BrowserWindowPosition, opts ...chromedp.MouseOption) chromedp.Action
func (*ChromeDpCV) MouseClickWhereScreenLooksLike ¶
func (c *ChromeDpCV) MouseClickWhereScreenLooksLike(targetImagePath string, opts ...chromedp.MouseOption) chromedp.Action
func (*ChromeDpCV) NodesAtPosition ¶
func (c *ChromeDpCV) NodesAtPosition(position *BrowserWindowPosition, resultNodes *[]*cdp.Node) chromedp.Action
func (*ChromeDpCV) NodesWhereScreenLooksLike ¶
func (*ChromeDpCV) PositionWhereScreenLooksLike ¶
func (c *ChromeDpCV) PositionWhereScreenLooksLike(targetImagePath string, position *BrowserWindowPosition) chromedp.Action
Click to show internal directories.
Click to hide internal directories.