Multiple browser instances in serenity

Viewed 30

Serenity version: 2.6.0

I have a feature in my application in which to test the real time chat feature. I used to open two incognito mode to test it manually but when it comes to automation, I am not sure how to achieve this?

is there away to open two browser instance to test real time chatting in a single machine using SERENITY?

if not, kindly suggest the best approach to deal with this situation like selenium grid/sauce labs.

I tried open multiple browser instance by calling open() method back to back but it just replaces the other opened.

enter image description here

Expected: Two browser instances need to be opened.

Actual: One instance replaced the another.

0 Answers
Related