January 14, 2015 at 4:31 pm
#4973
Moderator
Another trick to add when looking at web elements.
In some elements, web1.outerhtml has things like Data-target-url=”stuff” style=”stuff” etc.
You can get access to “Stuff” by the words before the equal sign.
For example, I had a nasty navigational element that just was being recalcitrant.
But thanksfully there was an attribute called data-target-url which I could use to trigger the nav simply and reliably by doing:
Web1.Go_ (web1.selected.GetAttribute(“data-target-url”)