[BUG] Can't give permanent approval to read screenshots taken by Playwright

Resolved 💬 5 comments Opened Jun 4, 2025 by swombat Closed Jun 5, 2025

Environment

  • Platform (select one):
  • [X] Anthropic API
  • [ ] AWS Bedrock
  • [ ] Google Vertex AI
  • [ ] Other: <!-- specify -->
  • Claude CLI version: 1.0.10
  • Operating System: MacOs Sonoma 14.3.1
  • Terminal: iTerm 2

Bug Description

I use Playwright a lot to get Claude to manually test its implementations. That works great, but it often needs to take a screenshot and look at it. There doesn't appear to be a way to shift-tab/give it permanent authorisation to read a screenshot that it's taken with Playwright though:

<img width="1068" alt="Image" src="https://github.com/user-attachments/assets/cc580362-ef7f-485c-8662-b10b748c82f5" />

!Image

<img width="1070" alt="Image" src="https://github.com/user-attachments/assets/f25ebcbc-8960-4984-b914-0f2f4778d65a" />

This makes the agentic mode a lot less useful because I have to baby it constantly to give it authorisation to read its own screenshots.

Steps to Reproduce

  1. Set up Playwright MCP
  2. Get it to do something and check the results on dev
  3. It asks for permission to read screenshots without option to shift-tab.

Expected Behavior

Add option to shift-tab to give it permanent authorisation to do this.

Actual Behavior

No option to shift-tab.

Additional Context

<!-- Add any other context about the problem here, such as screenshots, logs, etc. -->

View original on GitHub ↗

This issue has 5 comments on GitHub. Read the full discussion on GitHub ↗