javascripttestinggaugegetgauge

How do I run multiple browsers to simulate multiple simultaneous users with Gauge?


I'm working on a web-based multiplayer game. It's the usual "One person creates a game, others join" type flow. So I bring up multiple browsers to manually test the interaction.

Is there a way to do this with Gauge/Taiko? The alternative seems to be setting up an existing scenario in the database, which seems like a lot more work.

Thanks!


Solution

  • you could use https://docs.taiko.dev/#openincognitowindow to simultaneously login different users as this opens a new incognito profile for each window. Testing can be done by switching between the windows using the name given when opening the window.