Pass URL as argument

Hi,
I am at a particular webpage using app/browser.
I click on an element on the web site to navigate to a page URL2. I like to pass this URL2 as an argument to another sequence. How do I get this URL2?

My plan is when I get URL2, in sequence2 I like to use application/browser and use as input element.

Thanks much,

Thank you,

Hi,

We can get the URL using GetAttribute activity with “url” attribute as the following.

note: we can also indicate specific element instead of UiElement variable.

Regards,

Thank you @Yoichi
Will try this.

For check app state do I need to pass uiElement as an input? Does passing URL work here?

Thank you for clearing my question.

Hi,

I think CheckAppState needs UiElement or selector (string). URL is not enough to identify element.

Regards,

It worked. Thanks!

1 Like

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