We have hosted the application spectron in order to run this application in our online workstations with Wine or directly.
Quick description about 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.Features:
- Create an npm task in your package.json file
- Spectron uses WebdriverIO and exposes the managed client property on the created Application instances
- Several additional commands are provided specific to Electron
- All the commands return a Promise
- The electron property is your gateway to accessing the full Electron API
- Provides you access to the main process's process global
Programming Language: JavaScript.
Categories:
©2024. Winfy. All Rights Reserved.
By OD Group OU – Registry code: 1609791 -VAT number: EE102345621.