Welcome Guest Search | Active Topics | Sign In | Register

EO.WebBrowser crashes when F5 pressed Options
Clarence
Posted: Thursday, October 2, 2025 9:45:22 PM
Rank: Member
Groups: Member

Joined: 9/29/2019
Posts: 14
Using the browser event OnLoadDone()
{
WebWin=EOWeb.GetDOMWindow();
WebDoc=WebWin.docouement; ParsePg();
}

void ParsePg()
{
...
EO.WebBrowser.DOM.Element e = WebDoc.getElementById("someID");
...
}

The above line crashes when F5 is pressed with error
EO.WebBrowser.JSInvokeException: 'Invoking function 'getElementById' failed because object is invalid.'

How can prevent or what should be check when parsing the page?


You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.