Share your code.
nightmare-animated-gifpublic
nightmare animated gif 
Nightmare plugin for generating animated gif.
Install
npm i nightmare-animated-gif
Usage
Use .use(animatedGif.captureAs(label))
like .screenshot()
.
After that, you can use generate(label)
for generate animated gif 😎
var Nightmare = ;var nightmare = ; nightmare type'form[action*="/search"] [name=p]' 'github nightmare' ;
generated gif
Documentation
Settings
generate(label, output, encoderOptions)
encoderOptions
is gifencoder's option.
You can see full options at here.
LICENSE
MIT