Home > Enterprise >  How to automate multiple user login in selenium java?
How to automate multiple user login in selenium java?

Time:11-09

I have a website where one user logs in and waiting for customer orders. There are five different users I need to automate the login part for all the users and need to wait with each user session. But when I tried to login this site with another user, website opens with previous user session. Is there a way with selenium java to done this automation (I am a beginner to selenium automation). Thanks.

CodePudding user response:

Include your browser initialization inside the login method. so every it will open a new browser and entering the credentials. please share your code samples for more info.

  • Related