.net - clicking a button without id -
hello people ive tried multiple ways of trying click button without , id code below
for each element htmlelement in webbrowser1.document.getelementsbytagname("button") if element.innertext.contains(" yt-uix-button yt-uix-button-primary yt-uix-button- size-default") element.invokemember("click") exit end if next element
error: object reference not set instance of object.
Comments
Post a Comment