Attach Browser / Navigate To problem


#1

Hi guys,

I’m quite new to UiPath and I’m trying to check whether the browser is opened or not. When it’s opened I want the program to use the already opened browser and navigate to the specified URL. I’m having a problem with attach browser and navigate to activities. How to get them to work ? I assume I have to assign existing browser to browser variable. Can You help on the issue ? Thanks


#2

Hi there razor34,

  1. To confirm the browser is open, you can use an [element exists].
  2. Following this, you can utilise selection to determine the appropriate action, for example:
    IF bBrowserExists THEN
    – Log it exists
    ELSE THEN
    – Open the browser
  3. Once you’ve determined it is open, or opened it, you can attach to it via selectors and navigate.

I’ve included a basic example, but please let me know if there are any further issues.

Thanks in advance!

Main.xaml (14.7 KB)