I've recently set up Playwright MCP (Microsoft integration) with Claude code, allowing me to pass prompts through its headless CLI. However, I've noticed that browser interactions, like logging in with a username and password, are pretty slow—sometimes taking over 4 seconds. I'm running this setup on WSL2. Does anyone have tips on how to speed things up? Thanks in advance!
1 Answer
Honestly, it might be a good idea to consider why you're using Claude code tokens for running Playwright tests. Could it be more efficient to just run your tests through CI/CD pipelines instead? It could save you tokens and potentially get you better performance overall. Just a thought!
That does make sense! Using the right testing approach could definitely minimize inefficiencies.