Open browser not opening new session

Hello All,

I’m stuck in a scenario wherein, New Session property of the Open browser activity is not working.
The requirement is as follows

  1. Open the browser and log in to an account.
  2. Enter second level Password
  3. Navigate to a specific page and do some process.

Repeat the above 3 steps for multiple accounts and they need to be different sessions.

I’m using UiPath Studio 2019.10.0- beta.484 Community Edition and have checked New session in Open browser activity.

However, what is happening is for first account everything goes well, but for the second account, it opens browser and logs in to account but goes directly to the Specific page as mentioned in step 3 above and fails to find the password window and process fails.
I feel this is happening since the new window opened for the second account is not in the New Session.

Has anyone faced this/similar issue?
Thank you in advance.

Hi
Welcome back to UiPath community
is the process is included with LOG OUT from the current page so that the next the browser opens it wont go to the previous opened page instead will go to a new login page

kindly ensure once that log out step is included
Cheers @ani2692

Hello Palaniyappan,

Thank you for the quick response, however, the process requires the accounts to be logged in parallel.
So the log out is not included.

Fine
is this repeating when we do this manually with the same step like when opening for second one is it going to that page or new login page

Cheers @ani2692

When we do it manually, it works as expected. I mean in new session it goes to second level password.

awesome
may i know the exact steps used when done manually
Cheers @ani2692

Sure,
1)Open browser with URL
2)Login with credentials
3)Click on tab to navigate to specific page
4)Enter Second level password.
5)Land on page.

Fine
kindly ensure that these steps were used in uipath
–while activity
with condition like this
counter < 3
where counter is a int32 variable with default value as 0 defined in the variable panel
–then use a OPEN BROWSER activity and mention the URL
–inside the open browser container use type into activity to enter the login credentials and entered inside the page we want
–now use a send hot key activity with key as ctrl+t which will open the specific page we want to navigate
–then use TYPE INTO activity and mention the URL to be typed in the url search bar
—then land on that page and do the process wee need
–then ensure that log out is made at appropriate step with click activity
–then use CLOSE TAB activity
–then use KILL PROCESS activity and mention the processname property as “iexplore” if IE browser is used or mention as “chrome” if chrome browser is used
(all inside the while loop)
–then atlast inside the while loop use a assign activity like this
counter = counter + 1

here we can use while loop or a FOR EACH loop if we have the details in a array or collections format which can be passed as input to the for each activity

hope thiis would helpyou resolve this
Cheers @ani2692

Hello Palaniyappan,

Thank you for the detailed explanation.
We are using For Each loop and IE browser, it was working fine prior to recent UiPath Version update.
After installing the latest version it is not opening the browser in New Session.(New Session property is checked)