Customer Center

Welcome back

My Account Logout
#4973

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”)