以编程方式控制Chrome [英] Control Chrome programmatically
本文介绍了以编程方式控制Chrome的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
是否可以通过C#控制和实例化Chrome浏览器?比如打开一个新窗口,更改URL,重新加载标签等。
Is it possible to control and instantiate a Chrome browser from C#? Things like opening a new window, changing the URL, reloading the tabs, etc.
我已经查看了一个C#Chrome API,但只能找到一个Javascript脚本在 https://developer.chrome.com/ 上,我能找到的最好的是 C# - 如何控制Chrome浏览器 - 最好的答案是检查API 。
I've had a look for a C# Chrome API but can only find a Javascript ones on https://developer.chrome.com/, and the best I could find here was C# - How to control chrome browser - the best answer was to check out the API.
推荐答案
有一个可用的API。它被称为Selenium,并且具有Chrome特定的第三方扩展。
There is an API available for that. It's called 'Selenium', and has a Chrome-specific third party extension.
检查链接。
这篇关于以编程方式控制Chrome的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文