spectron
electron-spectron-example
Our great sponsors
spectron | electron-spectron-example | |
---|---|---|
5 | 1 | |
1,679 | 0 | |
0.0% | - | |
0.0 | 0.0 | |
about 2 months ago | about 3 years ago | |
JavaScript | JavaScript | |
MIT License | - |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
spectron
-
Playwright: Automate Chromium, WebKit and Firefox
Electron appear to have dropped support for their previous automated testing framework - https://github.com/electron-userland/spectron - and now suggest Playwright as an alternative: https://www.electronjs.org/docs/latest/tutorial/automated-te...
- Spectron deprecation - any alternatives?
- 用 Spectron 對 Electron App 做測試
-
Setup Spectron and Testing Library to effectively test your Electron.js application
Mismatching Spectron and Electron versions Check the versions from package.json and make sure they are compatible by checking Spectron Github
-
Using Spectron for Electron Apps
We have attached a link below to access the Spectron APIs – https://github.com/electron-userland/spectron#clientwindowbyindexindex
electron-spectron-example
-
Setup Spectron and Testing Library to effectively test your Electron.js application
The example project used in this article was created using Electron Forge uses Electron 11, Spectron 12, and tests are run using Jest. I won't be covering every configuration step so if you want to know all the details, you can find the project at https://github.com/juhanakristian/electron-spectron-example.
What are some alternatives?
electron-playwright-example - Example of multi-window Playwright testing with Electron
WebdriverIO - Next-gen browser and mobile automation test framework for Node.js
Electron - :electron: Build cross-platform desktop apps with JavaScript, HTML, and CSS
Atom - :atom: The hackable text editor
Playwright - Playwright is a framework for Web Testing and Automation. It allows testing Chromium, Firefox and WebKit with a single API.
running-playwright-on-aws-lambda - Running hundreds of Playwright E2E tests in a few seconds with AWS Lambda
mocha - ☕️ simple, flexible, fun javascript test framework for node.js & the browser
puppeteer - Node.js API for Chrome
running-playwright-on-aw
releases - 📦 Complete and up-to-date info about every release of Electron