Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

Using playwright-cli tool classifies URLs as directories for permission prompting

Open
#4,925 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
52/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Active
Tech stack
shell
Domain
authorization, cli

Research direction

Reproduce the issue with Playwright CLI 1.0.86 on Windows Terminal using pwsh 7, following the listed settings and navigation steps. Start by tracing how the shell tool matches allowed root URLs to navigated sub-URLs; done means permitted URLs and their sub-URLs no longer trigger directory-access prompts.

Written by the indexing model from the issue text.

Description

triage
Describe the bug

When using the playwright-cli tool (https://github.com/microsoft/playwright-cli), I get permission prompts for every URL as if they are directories rather than URLs (I've already allowed the URLs via settings).

Affected version

1.0.86

Steps to reproduce the behavior
  1. Install playwright cli and the playwright-cli skill from https://github.com/microsoft/playwright-cli
  2. Configure settings to allow a root URL
  3. Prompt to use the playwright CLI to do any kind of navigation
  4. Get a directory-access permission prompt asking for access to every URL, even sub-URLs of the one allowed in step 2
Expected behavior

No directory-permission prompt when using Playwright navigating to already allowed URLs.

Additional context

Windows Terminal, pwsh 7, Playwright CLI uses "shell" tool.

Dominant language
Shell
Stars
11.2k
Forks
1.9k
Avg merge
14h 16m
Merged PRs (30d)
6

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from github/copilot-cli

All issues in github/copilot-cli

Similar issues

More Shell/Bash issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.