Difference in Getting URL & Using Application/Browser

I have a nested “Use Application/Browser” right now. - 2 of it

I don’t understand how I can be “Use Application/Browser - Child URL” and when I use the activity “Get URL” It’s showing that I’m on the Parent URL??

@WilfredNg

Can you please show your workflow

That would help in understanding

Cheers

Hi, this is roughly my current workflow

“Use Browser 1” → extract data table → “Use Browser 2” → extract data table 2

@WilfredNg

May I know why are you using open browser and then a use browser again?

Ideally one of it is enough

Cheers

I tried just using the activity “Open Browser” but it would go back to the Browser 1 instead everytime it runs the next activity. Therefore I encased it within another “Use Application/Browser”

Using just “Use application/browser” wouldn’t even open browser 2

@WilfredNg

In use application /browser you have a option open…please set it ito always or if not open then it would open the browser

And get url depends on which browser it is attached to…is the oarent window also open? And is selector same?

Cheers

Hi, Okay setting Open Options to - Always will work. But not IfNotOpened

yes both the browser1 and browser2’s selector are the same but the URLs are different. Will It be an issue?

@WilfredNg

Yes it would be…becasue if you see your selector there is no differentiation between both windows…so it would pick the first one it takes…
Ifnotopen is also not working for same reason because it finds the first window and will not open again

may be try using url in your selector to make them unique

cheers

Gotcha, I’ll store the URL in a variable and use it within the selector (url) variable

1 Like

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