Installation
Quick Start
Client
NewClient(apiKey string) *Client
Creates a new API client. Connects to https://api.rustybrowser.com automatically.
Official Go client library for the Rusty Browser API
NewClient(apiKey string) *Clienthttps://api.rustybrowser.com automatically.
CreateBrowser(ctx) (*Browser, error)GetBrowser(ctx, id) (*Browser, error)DeleteBrowser(ctx, id) errorNavigate(ctx, id, url) errorClick(ctx, id, selector) errorNodeClick(ctx, id, node) errorType(ctx, id, req) errorScrollBy(ctx, id, x, y) errorScrollTo(ctx, id, req) errorScreenshot(ctx, id) (*Screenshot, error)FetchHTML(ctx, id) (string, error)FetchText(ctx, id) (string, error)Eval(ctx, id, expression) (interface{}, error)Instruct(ctx, id, instruction) (*InstructResult, error)