.net - How To Check If Element Is Visible In Web Browser In VB.net? -
.net - How To Check If Element Is Visible In Web Browser In VB.net? -
i want check if element visible (i.e. has not set display: none, visibility: hidden) in browser element in vb.net
how can that? googled didn't found anything, not in official documents.
the element like:
<div id="elem"> <a href="dynamic link">link</a> <a href="dynamic link">link</a> <a href="dynamic link">link</a> </div>
and want select 2nd tag, , check if visible. questions:
how check if sec exists? how select sec tag above? how check if visiblei tried:
if (downloadsite.document.getelementbyid("elem").getelementsbytagname("a")[1] isnot nothing) ' working end if
but doesn't work.
.net vb.net dom browser
Comments
Post a Comment