Im a c# developer and I believe that what I want to achieve is going to move out of the realms of some drop in .NET component so I am looking for advise on what I use externally which .NET can inter op with.
我是一个c#开发人员,我相信我想要实现的目标是摆脱.NET组件的一些下降领域,所以我正在寻找关于我在外部使用哪些.NET可以与之交互的建议。
My requirements are to have an embedded web browser control in a WPF/Winforms applciation BUT I will also need to keep track of the following:
我的要求是在WPF / Winforms应用程序中使用嵌入式Web浏览器控件但是我还需要跟踪以下内容:
- User interaction i.e. what pages they visit, forms submitted where they click etc.
- DOM manipulation and traversing
用户交互,即他们访问的页面,在点击的地方提交的表单等。
DOM操作和遍历
I am guessing here but it seems that I might need to start looking at open source html/web browsers out there like WebKit etc. Is this the right track or is there anything currently available in the form of a control/COM object that I can use directly.
我在这里猜测,但似乎我可能需要开始查看像WebKit那样的开源html / web浏览器。这是正确的轨道还是有任何当前可用的控件/ COM对象形式,我可以直接使用。
Cheers, Chris.
1 个解决方案
#1
You should be able to accomplish point 1 using the webbrowser control in Visual Studio, but I dont think DOM manipulation is available, i do know you can traverse all the tags. reference
您应该能够使用Visual Studio中的webbrowser控件完成第1点,但我不认为DOM操作可用,我知道您可以遍历所有标记。参考
#1
You should be able to accomplish point 1 using the webbrowser control in Visual Studio, but I dont think DOM manipulation is available, i do know you can traverse all the tags. reference
您应该能够使用Visual Studio中的webbrowser控件完成第1点,但我不认为DOM操作可用,我知道您可以遍历所有标记。参考