Download Area

Home > Software Development

Spectron (free) Download Full | **UPDATE

Test Electron apps using ChromeDriver - Spectron

Spectron (free) Download Full | **UPDATE

Published Date: 2024-05-01

Spectron Free Download

Spectron (free) Download Full | **UPDATE

Spectron is a free, open-source tool for testing web applications. It allows you to write tests in JavaScript and run them against your web application. Spectron is based on the Electron framework, which means that it can be used to test any web application that can be run in a browser. Spectron is a powerful tool that can help you to improve the quality of your web applications. It is easy to use and can be integrated into your development workflow. If you are looking for a free and open-source tool for testing web applications, then Spectron is a great option.

Spectron: Easily test your Electron apps using ChromeDriver and WebdriverIO. For given versions of Electron you must depend on a very specific version range of Spectron. We provide a version mapping table between Spectron version and Electron version. Spectron works with any testing framework but the example provided uses mocha. By default, mocha searches for a folder with the name test ( which we created before ). For more information on how to configure mocha, please visit mocha. Spectron exports an Application class that when configured, can start and stop your Electron application. The Electron helpers provided by Spectron require accessing the core Electron APIs in the renderer processes of your application. So, either your Electron application has nodeIntegration set to true or you'll need to expose a require window global to Spectron so it can access the core Electron APIs.