如何将 Selenium IDE 制作为 exe?

发布于 2024-09-28 06:10:02 字数 108 浏览 1 评论 0原文

我下载了 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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(3

飞烟轻若梦 2024-10-05 06:10:02

正如每个人都指出的那样; Selenium IDE 是一个 Firefox 插件,目前没有等效的可执行文件;但是,您可以创建一个快捷方式,以便在 Firefox 启动时立即启动 Selenium IDE。

您可以通过将 Selenium IDE chrome XUL 传递给 Firefox 可执行文件接受的 -chrome 参数来完成此操作:

"firefox.exe" -chrome chrome://selenium-ide/content/selenium-ide.xul"

在 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:

"firefox.exe" -chrome chrome://selenium-ide/content/selenium-ide.xul"

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.

错爱 2024-10-05 06:10:02

它是一个 Firefox 插件,因此您无法将其作为桌面应用程序启动。您可以从图标启动 Firefox 并加载它吗?

Selenium IDE 是一个集成的
Selenium 的开发环境
脚本。它被实现为
火狐扩展

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 is an integrated
development environment for Selenium
scripts. It is implemented as a
Firefox extension

微暖i 2024-10-05 06:10:02

Selenium IDE 是一个 Firefox 插件,不能独立运行。

但是,您可以运行 Selenium Remote Control 又名 Selenium RC。

这由命令行参数调用,例如

java -jar selenium-server.jar

只需创建一个快捷方式,然后双击即可。

注意: 获取 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.

java -jar selenium-server.jar

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

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文