Skip to content

install --skills: session-management.md references wrong flag (-b instead of -s) #243

@AlephOmegaCodon

Description

@AlephOmegaCodon

Bug Description

The auto-generated reference doc from playwright-cli install --skills contains an incorrect flag reference in references/session-management.md.

Location

references/session-management.md, line 7 under "Named Browser Sessions":

## Named Browser Sessions

Use `-b` flag to isolate browser contexts:

Expected

Should reference -s (session flag), which is what all the examples in the same file and SKILL.md actually use:

playwright-cli -s=auth open https://app.example.com/login
playwright-cli -s=public open https://example.com

The CLI help also confirms -s:

Usage: playwright-cli -s=<session> <command> [args] [options]

Steps to Reproduce

  1. Run playwright-cli install --skills
  2. Open generated references/session-management.md
  3. Line 7 says -b but all examples use -s

Version

@playwright/cli v0.1.0

Metadata

Metadata

Assignees

No one assigned

    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