Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/csharp/321.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181

Warning: file_get_contents(/data/phpspider/zhask/data//catemap/6/google-chrome/4.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
C# 访问当前chrome文档_C#_Google Chrome_Siebel - Fatal编程技术网

C# 访问当前chrome文档

C# 访问当前chrome文档,c#,google-chrome,siebel,C#,Google Chrome,Siebel,我希望能够访问chrome窗口当前加载的页面而不使用调试模式。Chrome中有类似的东西吗?我的最终目标是能够通过javascript与Siebel OpenUI通信。对于IE,我可以使用类似于下面代码的代码并使其正常工作 我确实遇到过一篇文章提到硒,但是不需要任何额外的产品就可以做到吗?我工作的公司不赞成在环境中增加新产品 foreach (SHDocVw.InternetExplorer ieInst in new SHDocVw.ShellWindowsClass()) { var

我希望能够访问chrome窗口当前加载的页面而不使用调试模式。Chrome中有类似的东西吗?我的最终目标是能够通过javascript与Siebel OpenUI通信。对于IE,我可以使用类似于下面代码的代码并使其正常工作

我确实遇到过一篇文章提到硒,但是不需要任何额外的产品就可以做到吗?我工作的公司不赞成在环境中增加新产品

foreach (SHDocVw.InternetExplorer ieInst in new SHDocVw.ShellWindowsClass())
{
    var document = ieInst.Document as HTMLDocument;
    ...
}
谢谢你的帮助