How to make Selenium IDE as exe?

喜你入骨 提交于 2020-01-03 03:43:18

问题


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.


回答1:


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.




回答2:


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




回答3:


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



来源:https://stackoverflow.com/questions/3957654/how-to-make-selenium-ide-as-exe

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!