How to log whether user is running attended automation in local session or picture in picture?

I have an attended automation that I want users to be able to run picture-in-picture (set up with the “New Desktop”/Virtual Desktop) or in their local session. Through troubleshooting it became clear that the most reliable way for the automation to interact with Chrome was to create an additional user profile folder and specify it in the Use Browser activity.

If the automation runs in the local session, calling the new Chrome user profile and the user has Chrome open already, the automation fails. I want to explore a conditional flow where I use one Use Browser if it’s a local session vs the new profile if it’s a PIP session.

I know I can kill Chrome before it begins but that option doesn’t feel like the best user experience.

we can detect the PIP Running mode by:

1 Like

Thank you for linking the info!

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.