Include RigiJS in your application
Option 1. Install the Rigi injector. Select this option to capture previews for a web app from the Rigi environment.
This Chrome extension will add the script to each loaded page. For details, see the Install Rigi injector for Chrome guide.
Option 2. Include the script in your application. Select this option to ensure you always use the latest version of RigiJS.
Include the following line of code in the <head> section of your web application. This line of code is only required on the staging server and is only used for localization purposes.
<script scr="https://[YOUR_RIGI_TENANT_URL]/lib/rigi.min.js"></script>.
If you have an automated UI testing framework that captures Rigi previews, instead of using the link, you can include a copy of the Rigi script in the capture process. However, in this case, you must check regularly whether a newer version of RigiJS is available. Use the following link to download the newest version of the Rigi script:
https://[YOUR_RIGI_TENANT_URL]/lib/rigi.min.js
Option 3. Use a Chrome extension to include custom JS. Select this option when asked by Rigi Support to test a beta version of RigiJS.
You can load custom JS using a Chrome extension such as User JavaScript and CSS.
