public static void TypeEnterKey(this HtmlButton control) { control.Focus(); control.OwnerBrowser.Manager.Desktop.KeyBoard.KeyPress(Keys.Enter); } }