Installation
Install Swarm Local
Download and run SwarmSetup.exe. Navigate through the set up screens.
Create an environment variable for the SWARM_LICENSE_KEY. This key will be shared via text message.
Install Chrome Driver
Before running Swarm locally, you need to set up ChromeDriver on your computer. ChromeDriver is a tool used by Swarm to communicate with Google Chrome, such as opening the browser, navigating to web pages, executing scripts, and more.
Follow these steps to set up ChromeDriver on your computer before running Swarm:
Ensure Google Chrome is installed on your computer. Swarm expects you to have Google Chrome installed in the default location for your platform.
Check the version of Google Chrome installed on your computer. You can do it by opening the browser, clicking on the three vertical dots in the top-right corner, hovering your cursor over Help, and then selecting About Google Chrome. The version of your Google Chrome will appear on the next window.
Download the ChromeDriver file matching the version of your Google Chrome from this link: https://chromedriver.chromium.org/downloads. Choose the ChromeDriver file for your platform.
Unzip the downloaded file and then place the executable ChromeDriver file into a local folder. Create an environment variable for the chrome driver path: CHROMEDRIVER_PATH
Install WKHTMLTOPDF
Wkhtmltopdf and wkhtmltoimage are open source (LGPLv3) command line tools to render HTML into PDF.
Download and install WKHTMLTOPDF at the following URL:
https://wkhtmltopdf.org/downloads.html
Create an environment variable for the WKHTMLTOPDF_PATH installation.