简体   繁体   中英

How to make Selenium IDE as exe?

我下载了Selenium IDE代码。现在我只想通过双击它而不是firefox插件来启动Selenium IDE。任何能帮助我将IDE作为桌面应用程序启动的想法都值得赞赏。

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.

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

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 eg

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

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM