my javascript code is not running when I post the event: IsBrowserInitializedChanged. However, if I remove the event, the code will work, but the error will occur later.
Code:
chromeBrowser.IsBrowserInitializedChanged += (sender, args) =>
{
if (chromeBrowser.IsBrowserInitialized)
{
chromeBrowser.ExecuteScriptAsync(codejavascript);
}
};