I am trying to click on a button in some website using c# code and it's code from the inspector:
<td colspan="1" rowspan="1" align="left"><table class="t10Button" cellspacing="0" cellpadding="0" border="0" summary=""> <tbody><tr> <td class="t10L"><a href="javascript:apex.submit('LOGIN');"><img src="/i/themes/theme_10_ar/button_left.gif" alt="" width="4" height="24"></a></td> <td class="t10C"><a href="javascript:apex.submit('LOGIN');">Sign-in</a></td> <td class="t10R"><a href="javascript:apex.submit('LOGIN');"><img src="/i/themes/theme_10_ar/button_right.gif" width="4" height="24" alt=""></a></td> </tr> </tbody></table></td> My code looks something like this:
webBrowser1.Document.GetElementById("t10C").InvokeMember("submit"); But I have failed: Nothing happens when the code gets executed.
idof"javascript:apex.submit('LOGIN');"