关于cefsharp 获取js动态加载后的信息

关于cefsharp 获取js动态加载后的信息
IFrame frame = null;
            var identifiers = Browser.GetBrowser().GetFrameIdentifiers();
            foreach (var i in identifiers)
            {
                frame = Browser.GetBrowser().GetFrame(i);

                if (frame != null)
                {
                    var task = frame.GetSourceAsync();
                    task.Wait();
                    string content = task.Result;
                }
            }

 

posted on 2017-09-06 10:12 ccqin 阅读( ...) 评论( ...) 编辑 收藏

转载于:https://www.cnblogs.com/ccqin/p/7483191.html

你可能感兴趣的:(关于cefsharp 获取js动态加载后的信息)