简体   繁体   English

如何以编程方式在Windows应用程序中像人类一样浏览网页?

[英]How to programmatically surf on a web page like a human from Windows application?

I need to surf on a web page using a C# window application (with a browser tool on it), and collect information for my data mining project. 我需要使用C#窗口应用程序(使用浏览器工具)在网页上浏览,并收集我的数据挖掘项目的信息。 I need a tool that help me invoke events like click and refer to objects with a jQuery or css selectors like syntax to read them and save in database. 我需要一个工具来帮助我调用像click这样的事件,并用jQuery或css选择器引用对象,比如语法来读取它们并保存在数据库中。

I try watin but that is just for testing my own web application. 我尝试使用watin但这仅仅是为了测试我自己的Web应用程序。

我们有时会使用Selenium进行网络抓取。

You might want to try Selenium... 您可能想尝试Selenium ...

We use it for automated Regression Testing 我们将其用于自动回归测试

http://seleniumhq.org/ http://seleniumhq.org/

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 如何从网页重定向到Windows应用程序? - How to redirect from web page to windows application? 在Windows窗体应用程序中以编程方式单击网页的按钮 - Programmatically Clicking on a Web Page's Button in Windows Forms Application 如何从 windows 应用程序调用 web 页面中的 function - how to call a function in web page from windows application 如何从Windows Mobile应用程序获取HTML网页? - How can I get a HTML web page from a Windows Mobile Application? 如何邀请您的Facebook朋友喜欢Windows Phone应用程序中的页面? - How to invite your facebook friends to like a page in windows phone application? 如何以编程方式卸载Windows中的应用程序? - How to programmatically uninstall an application in Windows? 如何从Windows Forms应用程序发布网页? (C#) - How can I publish a web page from a Windows Forms application? (C#) 如何从Windows窗体应用程序以编程方式浏览网站? - How do I navigate a website programmatically from a windows forms application? 如何从网页检查Windows会话? - How to check Windows session from a web page? 如何在Windows应用程序和Web窗体应用程序中使用dll,即使它引用Web内容(如nUnit)? - How to use a dll in both windows application and web forms application even if it references web stuff (like nUnit)?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM