Versions in this module Expand all Collapse all v0 v0.2.0 Sep 25, 2026 v0.1.0 Sep 24, 2026 Changes in this version + type ActionResult struct + Action string + NewPages []PageInfo + Page PageInfo + Target ControlID + Warnings []string + func (r ActionResult) String() string + type Client struct + func Connect(ctx context.Context, endpoint string) (*Client, error) + func (c *Client) Close() error + func (c *Client) Open(ctx context.Context, address string) (*Page, error) + func (c *Client) Page(ctx context.Context, id PageID) (*Page, error) + func (c *Client) Pages(ctx context.Context) (PagesResult, error) + type ControlID int + type Error struct + Code string + Message string + func (e *Error) Error() string + type EvalResult struct + Type string + UnserializableValue string + Value json.RawMessage + func (r EvalResult) String() string + type Node struct + Children []*Node + Description string + ID ControlID + Level int + Name string + Role string + State map[string]any + Text string + URL string + Value *string + type Page struct + func (p *Page) Click(ctx context.Context, id ControlID) (_ ActionResult, err error) + func (p *Page) Eval(ctx context.Context, expression string) (EvalResult, error) + func (p *Page) Fill(ctx context.Context, id ControlID, text string) (_ ActionResult, err error) + func (p *Page) Info(ctx context.Context) (PageInfo, error) + func (p *Page) Navigate(ctx context.Context, address string) error + func (p *Page) Press(ctx context.Context, key string) (_ ActionResult, err error) + func (p *Page) Read(ctx context.Context, opts ReadOptions) (ReadResult, error) + func (p *Page) Select(ctx context.Context, id ControlID, value string) (_ ActionResult, err error) + type PageID int + type PageInfo struct + ID PageID + Title string + URL string + func (p PageInfo) String() string + type PagesResult struct + Pages []PageInfo + func (r PagesResult) String() string + type ReadOptions struct + ControlsOnly bool + Selector string + type ReadResult struct + Complete bool + Page PageInfo + Tree *Node + Warnings []string + func (r ReadResult) String() string