I need a way to control Google Chrome from .net code (such as the Web Browser for IE). In my code I have to access Chrome Application so the standards solution did not work. I already tried the Awesomium and webkit .net.
我需要一种方法来从。net代码中控制谷歌Chrome(比如IE的Web浏览器)。在我的代码中,我必须访问Chrome应用程序,这样标准解决方案就不工作了。我已经试过了Awesomium和webkit。net。
If there is an alternative way in any developing language I'm willing to try it as well.
如果在任何发展中语言中有另一种方法,我也愿意尝试。
Thanks!
谢谢!
2 个解决方案
#1
0
Take a look at Selenium .Net - it's meant to help with unit testing web applications, but you can use it to arbitrarily control different browsers from within .Net.
看看Selenium . net——它的目的是帮助单元测试web应用程序,但是您可以使用它来任意地控制. net中不同的浏览器。
#2
0
You might try Automation UI, for instance, you can use Inspect.exe to get every handle of almost every window and child controls, such as buttons, see the highlighted rectangle.
您可以尝试自动化UI,例如,您可以使用检查。exe获取几乎所有窗口和子控件(例如按钮)的每个句柄,查看高亮显示的矩形。
Given these UI AutomationElement handles, you can do almost everything you can do interactively.
考虑到这些UI AutomationElement句柄,您可以进行交互式的几乎所有操作。
#1
0
Take a look at Selenium .Net - it's meant to help with unit testing web applications, but you can use it to arbitrarily control different browsers from within .Net.
看看Selenium . net——它的目的是帮助单元测试web应用程序,但是您可以使用它来任意地控制. net中不同的浏览器。
#2
0
You might try Automation UI, for instance, you can use Inspect.exe to get every handle of almost every window and child controls, such as buttons, see the highlighted rectangle.
您可以尝试自动化UI,例如,您可以使用检查。exe获取几乎所有窗口和子控件(例如按钮)的每个句柄,查看高亮显示的矩形。
Given these UI AutomationElement handles, you can do almost everything you can do interactively.
考虑到这些UI AutomationElement句柄,您可以进行交互式的几乎所有操作。