I'm new to Protractor and trying to figure out how can I take screenshot when my tests are failing.. I've already tried to use protractor-jasmine2-screenshot-reporter but it does not seem to work.. Anyone uses a different plugin that works? or have any idea why the above one doesn't?
Thanks.
Eventually I've found some gitHub repo that helped me. If anyone encounters problems resolving the issue, you can use :
https://gist.github.com/jlouros/190d654850f8e2ed7b51ed6267f30400
Works great for me.