I want to simulate a click on a element on a website. The website contains a list and every element is expandable. The element i want to click on causes an entry of the list to expand, so its something like a "show detailed info" button.
First, here is the html code where the button is defined:
<td>
<span id="span_details62_0">
<a href="#" onclick="setBusy('running-indication');
render_event_cluster('104,105', 620);
toggle_fe('dtlsRow620');
change('span_details62_0', 'show');
Element.update('running-indication','');; return false;"><img alt="show | hide" border="0" height="10" src="/images/layout/general/clear.gif?1408570117" title="Show/hide details" width="10" /></a>
</span>
</td>
Is it possible to send the commands
render_event_cluster('104,105', 620);
toggle_fe('dtlsRow620');
change('span_details62_0', 'show');
directly to the website, thus making it think that the button has been click and the result are showed?