-
Notifications
You must be signed in to change notification settings - Fork 2.3k
browser1 and browser2 webdriver instances #574
Comments
Firefox allows you to You may need to dig into the actual driver itself to figure out more. |
This isn't exactly about windows handles @Droogans , i need each browser to keep separate cookies, i.e. individual selenium sessions. Can't have 2 different users logged in in the same browser session. |
If you want to make this work, it will take some effort, and may also require that you set up your application to support this kind of a test. I would recommend:
If that's not possible:
I'm not sure protractor is going to provide you any resources for dealing with this issue, but I could be wrong. |
I've used windows popup handles extensively already, even troubleshooted IE issues regarding the order in which they give you the handles back. Thanks for the link anyway. But again, windows handles doesn't solve this, each window doesn't isolate cookies, is the same as opening a new window or tab in your browser right now. |
This is a duplicate of #381 - closing as dupe, but please continue the discussion there! |
Is it possible to have 2 browser instances running to test interactions between 2 users using an angular app?
I need this to test instant messaging and notifications between two logged in users.
By default
browser
would point tobrowser1
and all expectations would run by default on browser1 unless browser2 is specified with some DSL like:The text was updated successfully, but these errors were encountered: