huseyin kutuk - 2016-06-08

Hello friends; Help I'm waiting.
within the website, I receive the following error code when I want to do the following code clicks. What could be the problem?

Code:
<input type="submit" name="ctl00$cphMain$btnGiris" value="Giriş Yap" onclick="javascript:WebForm_DoPostBackWithOptions(new WebForm_PostBackOptions("ctl00$cphMain$btnGiris", "", true, "kaydet", "", false, false))" id="cphMain_btnGiris" class="i_k_buton i_k_buton_s stilIK-main-i_k_header-srcbuton">

I'm in my code:
webKitBrowser1.Document.InvokeScriptMethod("document.getElementById('cphMain_btnGiris').click()");

error :
Check the ErrorCode property of the exception to determine the HRESULT returned by the COM object

 

Last edit: huseyin kutuk 2016-06-08