The Automated Testing with a Custom Driver document has been published to Electron's master branch, but has not yet been included in an Electron release.
Automated Testing with a Custom Driver