Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: command line flag --headed has no effect in ui mode #33023

Closed
fafeitsch opened this issue Oct 9, 2024 · 2 comments · Fixed by #33030
Closed

[Bug]: command line flag --headed has no effect in ui mode #33023

fafeitsch opened this issue Oct 9, 2024 · 2 comments · Fixed by #33030

Comments

@fafeitsch
Copy link

Version

1.48.0

Steps to reproduce

  1. set headless: true in playwright.config.ts
  2. start playwright using playwright test --ui --headed
  3. run a test

Expected behavior

The test is run in headed mode, i.e. a browser window opens.

Actual behavior

The test is run in the UI, but in headless mode, i.e. without opening a browser and without stopping at await page.pause.

Additional context

In the previous version, 1.47.2 this works as expected.

Also, playwright test --headed does work as expected. Only --headed together with --ui seems to be ignored.

Environment

System:
OS: Linux 6.8 Ubuntu 22.04.5 LTS 22.04.5 LTS (Jammy Jellyfish)
CPU: (20) x64 13th Gen Intel(R) Core(TM) i7-13700H
Memory: 13.63 GB / 31.01 GB
Container: Yes
Binaries:
Node: 20.17.0 - ~/.nvm/versions/node/v20.17.0/bin/node
npm: 10.8.2 - ~/.nvm/versions/node/v20.17.0/bin/npm
pnpm: 9.5.0 - ~/.local/share/pnpm/pnpm
Languages:
Bash: 5.1.16 - /usr/bin/bash
npmPackages:
@playwright/test: 1 => 1.48.0

@anhquande
Copy link

Has the fix been released anywhere? Where can I download this fix?

@anhquande
Copy link

thanks guys,

This fix is available in version 1.48.1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants