C# - 如何控制Chrome浏览器 [英] C# - How to control chrome browser

查看:1454
本文介绍了C# - 如何控制Chrome浏览器的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想制作一个应用程序,在其中指定网站的名称,用户名和密码,并且该应用程序会自动登录到指定网站中的所有帐户。我已经使用Windows窗体应用程序,使用Web浏览器来完成此操作。但我希望我的应用程序能够在Chrome中打开所有这些网站并将其登录到那里。 Plz Help

解决方案

我会查看chrome API失败的情况
查看通过窗口获取句柄窗口API调用



但为什么不只是一个Chrome扩展?!?英里更简单

I wanted to make an application wherein you specify the name of the websites, your username and password and that application automatically logs in to all your accounts in the specified websites. I have done this using windows form application, using a web browser. But i wanted my application to open all these websites in chrome and log it in there. Plz Help

解决方案

I'd check out the chrome API failing that Look into getting a handle to the window through window API calls

But why not just a chrome extension?!? Miles simpler

这篇关于C# - 如何控制Chrome浏览器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆