Open URL in an already running instance of Chrome

How to open a URL in an already running instance of Chrome, which I run via PowerShell, so that the robot works with RDP closed.

The “Open URL” opens a new browser instance.

Or maybe there are other ways to solve the problem of uploading files in a browser with RDP closed?

How/where is powershell running. Are you using windows scheduled task ?

Yes, Allan, you’re absolutely right, I use the task scheduler both to run chrome through powershell and to run the robot.

Then it is important that you set the check ’ Run only when user is logged on`

Hmm.. maybe I explained the problem inaccurately or my poor English prevents me from doing it. Or I don’t quite understand your answer.

Problem number 1. The robot running on the virtual machine cannot open the “Select File” window through the browser when RDP is minimized or closed.

To solve it, I launch the browser in an interactive SYSTEM session via PowerShell.

Problem number 2. When using the “Open URL”, the robot launches a second instance of Chrome and again nothing works. (It worked when using IE, but when switching to Chrome, the problems started).

Question. How can the robot use an already opened instance of Chrome? Or are there other ways to solve these problems?

You cannot run OpenRPA as the local system; it must run inside an ACTIVE desktop or RDP session. If you need to run OpenRPA inside an RDP session, you need to use HD robots to keep the session alive. Windows removes access to the keyboard and mouse if you minimize an open RDP session, and it also removes access to the screen if you disconnect. Hence, you MUST keep the session open and active, or use HD Robots.

Watch the video here

I can’t run OpenRPA as a local system, but I can run the browser like this. And it worked with IE because it doesn’t generate instances.

Okay, I’ll try to put the question another way.. Can the robot select an already running instance of browser (Chrome), open a link there and continue its work in it?

Yes, if the browser is running in the same userspace and has the OpenRPA extension installed

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