Skip to content

Latest commit

 

History

History
80 lines (57 loc) · 5.7 KB

InstallFromSource.md

File metadata and controls

80 lines (57 loc) · 5.7 KB
layout
default

{% include links %}

  • TOC {:toc}

Get the source

You need SeLite source to get AppsFrameworks and PackagedScripts. You also need it to install development versions of Components. Check the source out with a GIT client (which makes receiving updates or managing local modifications easier). Alternatively, download SeLite as a ZIP and SeLite SelBlocks Global as a ZIP.

There are repositories for

  • all components (except for [SelBlocks Global]) and frameworks
  • [SelBlocks Global]
  • documentation (you can view it offline as per AboutDocumentation).

| Purpose | Repository: files and details | Download ZIP | Clone from GIT | Updates (XML feed) | |--------------------------------------|---------------------------------------|-----------------------|------| | SeLite source (except for [SelBlocks Global]) | source | Download ZIP | https://github.com/SeLite/SeLite.git | Updates (feed) | | [SelBlocks Global] source | source | Download ZIP | https://github.com/SeLite/SelBlocksGlobal.git | Updates (feed) | | Documentation | source | Download ZIP | https://github.com/SeLite/SeLite.github.io.git | Updates (feed) | {: .table}

Install components from source

(If you've already installed any SeLite components from downloads, uninstall them and restart Firefox. Only then apply the next steps.) Run SeLite\setup_proxies.bat and SeLBlocksGlobal\setup_proxy.bat (or SeLite/setup_proxies.sh and SeLBlocksGlobal/setup_proxy.sh on Mac OS/Linux). You can provide a Firefox profile name as a parameter, otherwise it uses default profile. After setting up proxy files, start Firefox (with that profile).

You may need to accept components (add-ons). Verify that all SeLite components are enabled at Firefox menu > Tools > Add-ons > Extensions.

Apply DevelopmentTools, especially set xpinstall.signatures.required to false. (See MDN Signing and distributing your add-on).

Restart Firefox.

Components set up this way won't receive any updates. You'll need to run GIT pull (or download a new .zip file and extract it at the same location).

Install Selenium IDE from source

You'd need this only for debugging Selenium IDE, or custom add-ons that override it.

If you've already installed Selenium IDE, uninstall it and restart Firefox. Then you have the following two options.

Download

Download Selenium IDE as an .xpi file, but don't install it (right click at the link to an .xpi file > 'Save Link As...'). Then unzip the .xpi file (you may have to rename it to end with .zip). It contains several .xpi files inside, and you want selenium-ide.xpi. Unzip it and point a proxy file to the unzipped folder. All that is done by the following steps for Linux. For Windows or Mac OS see setup_proxies.bat or setup_proxies.sh above and figure out similar steps to the effect of the following.

cd ~/.mozilla/firefox/*.default/extensions
# if you have Selenium IDE installed already from an `.xpi` file, turn Firefox off and:
   rm -rf \{a6fd85ed-e919-4a43-a5af-8da18bda539f\}.xpi

mkdir selenium-ide-X.Y.Z
cd selenium-ide-X.Y.Z
unzip ../selenium-ide-X.Y.Z.zip
pwd > `echo ~/.mozilla/firefox/*.default`/extensions/\{a6fd85ed-e919-4a43-a5af-8da18bda539f\}

Restart Firefox.

This way you won't receive any updates. Subscribe to RSS XML feed of Selenium IDE versions.

From GitHub

git clone https://github.com/SeleniumHQ/selenium.git
cd selenium
./go
cd ide/main/src

Either wget https://raw.githubusercontent.com/peter-kehl/selenium/master/ide/main/src/setup_symlinks.sh, or download it raw. Alternatively, copy its code and save it as setup_symlinks.sh.

./setup_symlinks.sh
pwd > `echo ~/.mozilla/firefox/*.default`/extensions/\{a6fd85ed-e919-4a43-a5af-8da18bda539f\}

Restart Firefox.

Debugging Selenium IDE

For debugging Selenium IDE, apply DevelopmentTools > Debugging. Then use Firefox > Tools > Web Developer > Browser Toolbox. You need to know a file name. Identify the file using grep or some other text search tool. For easier code navigation create a NetBeans project. See DevelopmentTools > NetBeans as a Javascript IDE.

Get Firefox Beta/Nightly

Download Beta version from Releases or Nightly version from Central.