Some of the URLs might be landing as image, gif,video…etc etc. Can we get the format of the URL like whether it is image, gif, etc etc
Share some sample urls, which you are pointing to
this is an image.sometimes it might be gif
It can be possible by placing the Get Attribute activity
select “tag”, It will return VIDEO
Mark as solution if this helps
If it’s always Vine URLs that you use, you could use “Element Exists” to find Video/Photo player and make an If statement accordingly? Or you could use Find Element to get the body of the page, and do some validation and use Switch on the returned object’s parameters?
URL is not constant. Only single image/gif/video will be opened in new web page
Ok how to print the o/p of find element
You could use this answer to check which attributes are available (Convert UiPath.Core.UiElement to text). (Use his command in a write line activity to get a list of attributes)
You could then use this answer to check the contents of the attributes. (Show Value of all available Attributes for a given UI element)
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.