After the Click activity which is opening a new tab, insert another Use application\browser activity and indicate the newly opened tab.
Change the Properties and Selectors of Use application\browser as below,
β Go to Properties and select the Never option for the Open dropdown.
β Select the If opened by browser option for the Close dropdown.
β Remove the URL which is generated and make it empty (It will not show any error).
β Go to selectors and find the title attribute, change the value of Title attribute with wildcard(*)
By following the above steps, it works fine if the URL or selectors are keep changing every time.
Another problem is that when I send the output element of the second tab to another workflow, if I use wild card for the URL, it throwing 404 not found error.
When I insert a new use application\browser and indicate on the tab, it is getting URL which is very long. If I use a star, when I open in a new workflow using the output element, it is giving 404 errro not found.
Main workflow, tab2 - use application browser - indicate browser - giving me url -
In the URL if I use wildcard, and use output element for the use application \browser, this output element in workflow 2 used as input element for its use\application browser throwing 404 not found error.
If you are passing the Output element of the click activity to the Input element of the Use application\browser activity. Then it will not take the URL.
Just create a variable to the Output Element option in the properties of click activity then give the same variable to the Input Element of the Use application\browser.
Just this approach and let us know weather itβs working or notβ¦ @A_Learner