{"modulePath":"github.com/lichdotdev/lich","version":"v0.94.0-rc.5","isLatest":false,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package pagescript\n\nPackage pagescript holds the scripts that read a page for the browser pane's notes, run as they are by every engine that draws a page: Chrome for the agent's page, and the web view the window holds itself.\n\n## Functions\n\n```go\nfunc ElementAt(x, y float64) string\n```\nElementAt is the call of elementScript at x,y, CSS pixels of the viewport. It answers the element as api.BrowserElement's JSON, or null.\n\n```go\nfunc Locate(selectors []string, reveal string) (string, error)\n```\nLocate is the call of locateScript for selectors, first revealing reveal's element. It answers a list of api.BrowserRect's JSON.\n\n","path":"github.com/lichdotdev/lich/pagescript","name":"pagescript","synopsis":"Package pagescript holds the scripts that read a page for the browser pane's notes, run as they are by every engine that draws a page: Chrome for the agent's page, and the web view the window holds itself.","isRedistributable":true}
