Tag: firefox

从C#应用程序到Firefox扩展的通信

我需要从我的C#应用​​程序发送一些字符串(名称,编号)到我的Firefox扩展,我已经阅读了一些做但不知道如何实现它的技巧。 管道 套接字(HTTP请求) 如果它使用HTTP请求更好。 UPDATE onSocketAccepted : function(socket, transport) { alert(“came”) var input =transport.openInputStream(0, 0, 0); alert(input) } 我从C#应用程序发送的消息是否在var输入?

如何从C#应用程序自动化Firefox?

从最简单的任务开始,从C#应用程序中捕获Firefox中的URL。 它似乎使用user32.dll Windows API函数将无法正常工作,因为它是在IE中捕获URL的方法。

打开firefox窗口在selenium与firefox插件加载?

当我在selenium中运行我的测试时,新打开的firefox窗口打开时没有我安装的插件,如xpathchecker。 是否可以设置selenium以便它将使用安装了插件的Firefox?

如何在C#中使用Selenium?

selenium 。 我下载了C#客户端驱动程序和IDE。 我设法记录了一些测试,并成功地从IDE运行它们。 但现在我想用C#做到这一点。 我将所有相关的DLL(Firefox)添加到项目中,但我没有Selenium类。 一些你好的世界会很好。

获取Firefox URL?

如何使用.NET 2.0 Windows / console应用程序从正在运行的firefox实例获取URL? C#或VB代码都可以。 谢谢!

如何从Chrome和Firefox获取打开网页的url?

我正在编写一个系统托盘应用程序,需要检查基于内部网络的应用程序是否已打开。 我可以使用以下方法检查IE: SHDocVw.ShellWindows shellWindows = new SHDocVw.ShellWindows(); string filename; bool sdOpen = false; foreach (SHDocVw.InternetExplorer ie in shellWindows) { filename = Path.GetFileNameWithoutExtension(ie.FullName).ToLower(); if (filename.Equals(“iexplore”)) { string[] urlParts = (ie.LocationURL.ToString()).Split(‘/’); string website = urlParts[2]; if (website == “myApp:8080”) { sdOpen = true; }; } } if (sdOpen) { Console.WriteLine(“App is open”); } else { Console.WriteLine(“App is […]