Yesterday I figured out (issue 133) how to use Playwright to run tests against my Electron app, and then execute those tests in CI using GitHub Actions, for my datasett-app repo for my Datasette Desktop macOS application. …
This is almost really simple. I used electron/update-electron-app for it, the instructions for which are: …
For Datasette Desktop I chose to bundle a full version of Python 3.9 inside my Datasette.app
application. I did this in order to support installation of plugins via pip install
- you can read more about my reasoning in Datasette Desktop—a macOS desktop application for Datasette. …
I had to figure this out for Datasette Desktop. …
For Datasette.app I wanted to ensure that links to external URLs would open in the system browser. …
I figured out how to use the Chrome DevTools to execute JavaScript interactively inside the Electron main process. I always like having a REPL for exploring APIs, and this means I can explore the Electron and Node.js APIs interactively. …