Skip to content

Add back/forward/reload navigation endpoints #40

@justrach

Description

@justrach

Feature

agent-browser supports back, forward, reload commands.

Implementation

Add 3 endpoints:

  • /back?tab_id= → JS history.back() via Runtime.evaluate
  • /forward?tab_id=history.forward()
  • /reload?tab_id= → CDP Page.reload

Acceptance Criteria

  • Navigate to page A → page B → /back → page A → /forward → page B
  • /reload reloads current page

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