如何将 Selenium IDE 制作为 exe?
我下载了 Selenium IDE 代码。现在我想通过双击它来启动 selenium IDE,而不是作为 firefox 插件。任何可以帮助我将 IDE 作为桌面应用程序启动的想法都值得赞赏。提前致谢。
I downloaded Selenium IDE code.Now i want to start selenium IDE just by double clicking on it not as firefox plugin.Any Idea which helps me to start IDE as a desktop application is appreciated.Thanks in advance.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
正如每个人都指出的那样; Selenium IDE 是一个 Firefox 插件,目前没有等效的可执行文件;但是,您可以创建一个快捷方式,以便在 Firefox 启动时立即启动 Selenium IDE。
您可以通过将 Selenium IDE chrome XUL 传递给 Firefox 可执行文件接受的 -chrome 参数来完成此操作:
在 Windows 上,您可以创建一个快捷方式,将该代码段放置在“目标”字段中,然后更改快捷方式的图标。这可以很容易地由安装人员实现自动化。如果您确实需要一个可执行文件,那么可能有一个 Firefox Web 浏览器控件,或者可以嵌入到窗口中的等效控件。
As everyone has noted; Selenium IDE is a Firefox plugin and has no executable equivalent at this time; however, you could create a shortcut that launches the Selenium IDE as soon as Firefox launches.
You can do this by passing the Selenium IDE chrome XUL to the -chrome argument accepted by the Firefox executable:
On Windows, you could create a shortcut, place that snippet in the Target field, and then change the shortcut's icon. This could easily be automated by an installer. If you seriously need an executable, then there may be a Firefox Web Browser control, or something equivalent that you can embed in a window.
它是一个 Firefox 插件,因此您无法将其作为桌面应用程序启动。您可以从图标启动 Firefox 并加载它吗?
It is a Firefox plugin, so you can't start it as a desktop application. You could launch Firefox from an icon and load it?
Selenium IDE 是一个 Firefox 插件,不能独立运行。
但是,您可以运行 Selenium Remote Control 又名 Selenium RC。
这由命令行参数调用,例如
只需创建一个快捷方式,然后双击即可。
注意: 获取 Selenium RC 基础知识的快速方法是加载 Selenium IDE,捕获测试,单击“选项/格式”,然后选择所需的输出类型。您可以在此处查看示例
Selenium IDE is a Firefox plug-in and can't be run stand-alone.
However, you can run Selenium Remote Control aka Selenium RC.
This in invoked by a command line parameter e.g.
Just make a shortcut which you can then double-click.
Note: A quick way to get the Selenium RC basics is to load the Selenium IDE, capture your test, click "Options / Format" and then select the type of output you require. You can see a sample here