cefsharp javascript send enter
void SendKeyEnter()
{ //this avoids javascript and dose this threw system
KeyEvent enter = new CefSharp.KeyEvent();
enter.WindowsKeyCode = (int)Keys.Enter;//keyEvent.WindowsKeyCode = (int)Keys.Enter;
enter.FocusOnEditableField = true;
enter.IsSystemKey = false;
enter.Type = KeyEventType.RawKeyDown;
browser.GetBrowser().GetHost().SendKeyEvent(enter);
enter.FocusOnEditableField = true;
enter.IsSystemKey = false;
enter.Type = KeyEventType.KeyUp;
browser.GetBrowser().GetHost().SendKeyEvent(enter);
}
//it works may be over kill
//more hints await browser.EvaluateScriptAsync("document.querySelector('.quill-editor.ql-container > div.ql-editor.ql-blank').focus()';");