But... There is claude --chrome which I'm puzzled nobody mentioned. I use it for E2E testing.

playwright-cli and agent-browser are much much better, give them a try.