Versions in this module Expand all Collapse all v0 v0.4.0 Aug 29, 2026 Changes in this version + type Chrome struct + func New(opts Options) *Chrome + func (c *Chrome) Click(ctx context.Context, selector string) error + func (c *Chrome) Close() + func (c *Chrome) Eval(ctx context.Context, expr string, out any) error + func (c *Chrome) KeyEvent(ctx context.Context, text string) error + func (c *Chrome) Navigate(ctx context.Context, url string) error + func (c *Chrome) Screenshot(ctx context.Context) ([]byte, error) + func (c *Chrome) SendKeys(ctx context.Context, selector, text string) error + func (c *Chrome) Text(ctx context.Context, selector string) (string, error) + func (c *Chrome) Value(ctx context.Context, selector string) (string, error) + func (c *Chrome) WaitReady(ctx context.Context, selector string) error + func (c *Chrome) WaitVisible(ctx context.Context, selector string) error + type Options struct + ExecPath string + Flags map[string]any + Headed bool + Height int + OnFrame func(jpegBase64 string) + Timeout time.Duration + UserDataDir string + Width int