Skip to content

v0.5.1

Choose a tag to compare

@github-actions github-actions released this 24 Mar 02:31
89ec7cf

Features

  • New connect command — Attach to any running Chrome/Electron app via CDP with libretto connect <cdp-url>. Once connected, all session commands (exec, snapshot, pages, etc.) work against the remote browser. (#126)

  • --viewport support for run command — The run command now respects the --viewport WIDTHxHEIGHT flag and config.json viewport settings, matching the behavior of open. Previously it was hardcoded to 1366×768. (#110)

  • Improved exec and snapshot UX (#122):

    • exec now prints "Executed successfully" when code returns no value (previously silent)
    • Empty .catch(() => {}) handlers are automatically stripped so errors bubble up properly
    • Cleaner snapshot output with Screenshot saved: / Analysis: / Selectors: sections
    • Screenshots wait for page rendering to complete before capturing, so SPAs finish rendering