Skip to content

[Bug]: Playwright CLI cannot annotate on screen when launched with --headed #40565

@XFaramirX

Description

@XFaramirX

Version

1.59.1

Steps to reproduce

Description

Playwright CLI cannot annotate on screen when launched with:

playwright-cli open --headed

However, annotations work correctly when launching without the --headed flag:

playwright-cli open

Expected behavior

Description

Playwright CLI cannot annotate on screen when launched with:

playwright-cli open --headed

However, annotations work correctly when launching without the --headed flag:

playwright-cli open

Actual behavior

On-screen annotation should work when launching with:

playwright-cli open --headed

Additional context

No response

Environment

System:
    OS: Windows 11 10.0.22631
    CPU: (12) x64 AMD Ryzen 5 3600 6-Core Processor              
    Memory: 11.53 GB / 31.94 GB
  Binaries:
    Node: 20.19.0 - C:\Program Files\nodejs\node.EXE
    npm: 11.6.2 - C:\Program Files\nodejs\npm.CMD
    pnpm: 10.18.2 - C:\Program Files\nodejs\pnpm.CMD
  IDEs:
    Cursor: 2.1.26 - 
  Languages:
    Bash: 5.2.37 - 
  npmPackages:
    @playwright/test: ^1.59.1 => 1.59.1

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