Nightmare v2.1.0 Release Notes

Release Date: 2015-12-17 // over 8 years ago
    • ๐Ÿ’ฅ BREAKING: changed page-error, page-alert, and page-log to console with types error, alert, log
    • ๐Ÿ’ฅ BREAKING: fixed signature on nightmare.on('console', ...), to act more like console.log(...)

    • ๐Ÿ‘‰ use native electron sendInputEvent for nightmare.type(...)

    • โšก๏ธ properly shutdown nightmare after certain tests and update formatting on the readme

    • โž• add events for prompt, alert, confirm, and the other console events

    • โšก๏ธ update docs for preload script

    • ๐Ÿ‘Œ support passing in a custom preload script

    • โšก๏ธ Update PDF Options

    • ๐Ÿ’ป follow new BrowserWindow option naming

    • โœ‚ remove useless mocha opt

    • implement electronPath option

    • ๐Ÿ›  Fixed 'args is not defined' error for paths option