It is easy to get all the links on a page as WebLink, but then if the clickable content is an image icon instead of text, I don't have a way to get to the image that I know of. getText() gets the user readable text, there doesn't seem to be a getOriginalHTML() call. (Which is currently a feature request, but I was wondering if anyone had a workaround)
Thanks!
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
It is easy to get all the links on a page as WebLink, but then if the clickable content is an image icon instead of text, I don't have a way to get to the image that I know of. getText() gets the user readable text, there doesn't seem to be a getOriginalHTML() call. (Which is currently a feature request, but I was wondering if anyone had a workaround)
Thanks!
I use getLinkWithImageText("alt text"). Have to set the ALT attribute of the image unique first. Hope this will work for you.