C# - 如何控制chrome浏览器

发布于 2024-11-10 08:55:17 字数 141 浏览 5 评论 0原文

我想制作一个应用程序,您可以在其中指定网站名称、您的用户名和密码,并且该应用程序会自动登录您在指定网站中的所有帐户。我已经使用 Windows 窗体应用程序和 Web 浏览器完成了此操作。但我希望我的应用程序能够在 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

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(3

后来的我们 2024-11-17 08:55:17

我会检查 chrome API 是否失败
考虑通过窗口 API 调用获取窗口句柄

,但为什么不只是使用 chrome 扩展呢?!?里程更简单

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

垂暮老矣 2024-11-17 08:55:17

在 Google 上快速搜索“chrome C# api”会发现一些相关结果,我想您可能会找到相关结果。

如果您愿意接受一些让步,我认为以下内容特别有希望:

Doing a quick Google search for "chrome C# api" turned up a number of results I think you may find relevant.

I thought the following were particularly promising, if you're willing to accept a few concessions:

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文