playwright icon indicating copy to clipboard operation
playwright copied to clipboard

[BUG] clicking the Playwright icon in the dock launches a blank Chromium window on macOS

Open mskelton opened this issue 3 years ago • 7 comments

Context:

  • Playwright Version: 1.15.1
  • Operating System: macOS
  • Node.js version: 14.17.1

Describe the bug

When clicking the macOS dock icon for the Playwright trace viewer or inspector, it launches a blank Chromium page.

https://user-images.githubusercontent.com/25914066/136846916-8e47a888-1e6f-49a8-a152-35e9d5570d92.mov

mskelton avatar Oct 11 '21 19:10 mskelton

I am running the Apple M1 chip with macOS Big Sur 11.6. Would I be able to take this issue @yury-s @mxschmitt ?

LuigiZaccagnini avatar Oct 12 '21 23:10 LuigiZaccagnini

I am running the Apple M1 chip with macOS Big Sur 11.6. Would I be able to take this issue @yury-s @mxschmitt ?

Although I only tried on x86 and macOS 10.5 I believe it's reproducible on all macOS versions regardless of hardware architecture. If you are worried about building webkit on m1 - we do that as we ship binaries for m1. Update: sorry, I meant chromium.

yury-s avatar Oct 12 '21 23:10 yury-s

Okay perfect! Could you assign me to this issue?

LuigiZaccagnini avatar Oct 13 '21 02:10 LuigiZaccagnini

JFYI same with intel mac + Catalina

dimkin-eu avatar Oct 15 '21 07:10 dimkin-eu

I can confirm having the same issue in the M1 Pro with macOS Monterey 12.0. It hangs when specifying firefox as browser as well! Let me know if I could help doing some QA in case you have a poc @LuigiZaccagnini

yannbf avatar Nov 29 '21 16:11 yannbf

I can confirm having the same issue in the M1 Pro with macOS Monterey 12.0. It hangs when specifying firefox as browser as well! Let me know if I could help doing some QA in case you have a poc @LuigiZaccagnini

Coming back to this my problem was actually that I had two conflicting versions of Playwright. In the end it all worked perfectly!

yannbf avatar Dec 16 '21 09:12 yannbf

Yeah, I am seeing this issue on macOS x86 (12.3.1 (21E258)) too for the Chromium browser.

weyert avatar Apr 08 '22 16:04 weyert

Would love this fixed since we will be using the UI mode a lot and clicking the icon in the dock. Thanks!

Nav-2d avatar Mar 23 '23 00:03 Nav-2d

Yeah this also happens in UI mode. I can reproduce it in Playwright 1.32.1 on macOS 13.2.1 (Apple silicon).

effectivetom avatar Mar 26 '23 22:03 effectivetom

Im seeing this as well on Mac M1 laptop. Is there any updates on this issue?

BryantUng-at avatar Jul 11 '23 06:07 BryantUng-at

JFYI, same issue here ( macOS 12.6.2, PW 1.36.0 ). as a dummy workaround i use RMB click -> Playwright test window row click :

https://github.com/microsoft/playwright/assets/115224622/d83a10f4-6e1e-498f-bf38-f4da7a526426

StanislavGrishaev avatar Jul 14 '23 14:07 StanislavGrishaev