getting the value of the onclick attribute RRS feed

  • Question

  • in WebAutomation using VB

    the HTML document loaded by WebBrowser contains an <input element : <input .... onclick="Search()" ....>

    How can I get the string value of the onclick element, that is "Search()" so that I can invoke the corresponding script ?

    Additionally I mention also that raising the onclick event of the input element does not induce WebBrowser to navigate following the execution of the script, but that invoking the script directly does induce navigation

    jeudi 6 juillet 2017 07:16