Webbrowser click on link with OnClick attribute
问题 Let's say that I've got the following HTML: <div id="active_server"> <div class="clearfix"> <a href="#" onclick="return Index.submit_login('server_nlp1');"> <span class="world_button_active">Server NL P1</span> </a> <a href="#" onclick="return Index.submit_login('server_nlp2');"> <span class="world_button_active">Server NL P2</span> </a> </div> </div> Now let's say that i want to simulate an click on server NL P2. I know that I've got to get the HTML. so first i get the div like this: