The full list of breaking Electron 2.x API changes is on https://electronjs.org/docs/tutorial/planned-breaking-changes For example, `nightmare.screenshot()` is currently broken because it calls `img.toPng()` instead of `img.toPNG()`.