-
Notifications
You must be signed in to change notification settings - Fork 24
Protractor Screenshots Alernatives
-
https://github.com/azachar/protractor-screenshoter-plugin (MIT licence, disclaimer: I am the author)
A brand new jasmine2 protractor plugin that captures for each browser instance a screenshot and console logs. The snapshot is made optionally for each expect or spec. Plugins comes with a beautiful angular based analytics tool to visually check and fix tests results.
π Can create screenshots for each expect
π Can create HTML snapshots for the whole page for each expect
π Can create dump (like a DB dump) for each expect
π Can fail if there are too many logs in your browser console
π Support multiple forked browsers
π Has tests coverage
π Comes with an Angular based HTML reporter
π Integrates with CI servers (Travis, GitLab, CircleCI)
π Created just recently, so it is still a bit unknown
Here is a list of alternatives with a quick review of pros and cons of them. None of them satisfied my requirements, so I wrote protractor-screenshoter-plugin.
Sorted by stars as of October 14th, 2016.
-
https://github.com/swissmanu/protractor-screenshot-reporter (62 stars, 22 forks, MIT licence)
Use the screenshot reporter to capture screenshots from your Selenium nodes after each executed Protractor test case.
π A screenshot is saved as PNG image. Along with it, a JSON file with a matching filename is created.
π Path builder
π doens't capture browser's logs
π doens't generate html report
π doens't capture screen after each expectation
π unmaintained at the moment
π no tests
-
https://github.com/jintoppy/protractor-html-screenshot-reporter (54 stars, 55 forks, MIT licence)
An npm module and grunt plugin which generates your Protractor test reports in HTML with screenshots
π Add title for the html report (optional) π you will also get a summary report, Stack trace information also.
π design looks so y2k.
π No support for forked browsers
π no tests
-
https://github.com/mlison/protractor-jasmine2-screenshot-reporter (49 stars, 56 forks, unknown licence)
will capture a screenshot after each executed test case and store the results in a HTML report. Supports jasmine2.
π capable to capture forked browsers.
π tests
π doesn't capture logs
π doens't generate html report
π doens't capture screen after each expectation
-
https://github.com/burnsred/protractor-screenshots (12 stars, 9 forks, unknown licence)
Integrates protractor and webdriver to let tests take and compare screenshots at different sizes.
π₯ The name is misleading, it doesn't do any reporting as one would expect. π tests
-
https://github.com/bcole/protractor-angular-screenshot-reporter (4 stars, 55 forks, MIT licence)
An npm module and which generates your Protractor test reports in HTML (angular) with screenshots
π angular base html reporter
π screenshot reporter will generate JSON and PNG files for each test.
π no support for forked browser instances
π doens't provide your browsers console logs, only protractor one (a bit useless)
π no tests
-
https://github.com/abhishekswain/jasmine2-protractor-utils (10 stars, 4 forks, MIT licence)
Utilities for Protractor with jasmine2 [Screenshot, Browser Console log and more]
π Can create screenshots for each expect
π Can fail if there are too many logs in your browser console
π Doesn't support multiple browsers
π Has no tests coverage
π The reporter did not work out of box when I tried it.
-
https://github.com/KrekkieD/protractor-snapshot (5 stars, 9 forks, unknow licence)
Protractor screenshot and html snapshot utility. Create HTML snapshots and screenshots from anywhere in your end-to-end tests.
π create html snapshot besides screenshot
π can create screenshots with multiple resolutions
π tests
π₯ Do it yourself!
π need to manually add a code into your tests, no reporting nor analytics.
-
https://github.com/Evilweed/protractor-beautiful-reporter (2 stars, 0 forks, MIT licence)
An npm module and which generates your Protractor test reports in HTML (angular) with screenshots, durations, browser logs, and stack trace.
π angular base html reporter
π screenshot reporter will generate JSON and PNG files for each test.
π provides browser console logs, test durations
π no support for forked browser instances
π no tests
-
https://github.com/excenter/protractor-screenshots-on-demand ( 1 star, 0 forks, unknown licence)
Take screenshots in protractor with a simple command
π₯ Do it your self.
π It makes screenshots on demand, no reporting no analytics.
π no tests
-
https://egghead.io/lessons/angularjs-automated-screenshots-of-your-e2e-protractor-tests
π₯ Do it all yourself
If you know other projects - feel free to edit this Wiki page!