Problem with button (webbrowser)

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Ohay
    New Member
    • Jun 2013
    • 6

    #1

    Problem with button (webbrowser)

    Hello, I wanted do a program which automatically login to site and starting click the button every refresh page, but I dont know how to write to click that button because it dont have ID... Do you know any other method which i can use to make that program click the button? I was using method GetElementByID but its not working cause i got no ID.
  • Rabbit
    Recognized Expert MVP
    • Jan 2007
    • 12517

    #2
    You could use getElementByTag Name. But there could be more than one element with the same tag so you will need to iterate through the results to find the right one.

    Comment

    Working...