最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

chromium embedded - CEFSharp console.log quit showing up in Visual Studio Output after upgrade - Stack Overflow

programmeradmin0浏览0评论

I have an app that uses CEFSharp. In the app I use EvaluateScriptAsync a lot such as:

var script = $@"
    (function() {{
        var select = document.getElementsByName('{name}')[0];
        if (!select){{
            console.log('false');
            return false;
        }} else {{
            console.log('true');
            return true;
        }}
    }})();
";

var response = await frame.EvaluateScriptAsync(script);
return response.Success && response.Result is bool result && result;

In version 118.6.80, the output from the console.log would show up in the Visual Studio Debug output window. This quit working when I updated to the latest version. (132.3.11). I'm pretty sure there is some new configuration setting that I need to add. Can anyone help with this?

Thanks, Jim

发布评论

评论列表(0)

  1. 暂无评论