Skip to content

Add element info queries (html/value/attr/title/url/count/box/styles) #50

@justrach

Description

@justrach

Feature

agent-browser supports get html/value/attr/title/url/count/box/styles <sel>.

Implementation

Add /get?tab_id=&type=html|value|attr|title|url|count|box|styles&selector= endpoint.
All can be implemented via Runtime.evaluate with appropriate JS expressions.

Acceptance Criteria

  • Each get type returns the correct value
  • Works with CSS selectors

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