Skip to content

Copilot: do not require snapshot in browser_take_screenshot unless element is specified #724

@pavelfeldman

Description

@pavelfeldman
  • Currently browser_take_screenshot requires snapshot unconditionally via currentTabOrDie
  • But it is only needed when the element needs to be resolved
  • Make snapshot required only when element is needed
  • Add a test that tests browser_take_screenshot w/o capturing snapshot

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions