Skip to content

Add localStorage / sessionStorage endpoints #42

@justrach

Description

@justrach

Feature

agent-browser supports storage local/session get/set/clear.

Implementation

Add endpoints:

  • GET /storage/local?tab_id=&key= → via Runtime.evaluate (localStorage.getItem(key))
  • POST /storage/local?tab_id= with body {key, value}localStorage.setItem(key, value)
  • DELETE /storage/local?tab_id=localStorage.clear()
  • Same for /storage/session

Acceptance Criteria

  • Can get, set, and clear localStorage/sessionStorage via HTTP API

Co-authored-by: blackfloofie 265516171+blackfloofie@users.noreply.github.com

Metadata

Metadata

Assignees

No one assigned

    Labels

    blackfloofieCo-author: 265516171+blackfloofie@users.noreply.github.comenhancementNew feature or requestpriority:p2Medium prioritystatus:doneWork item is complete

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions