protractor-utils
Small utils for Protractor.
httpGetChecksum([algorithm, ]url)
Expect a page with given checksum. algorithm
defaults to sha1
.
var baseUrl = 'http://localhost:9000';exportsconfig = baseUrl: baseUrl { expect { return { var checksum = httpGetChecksum; ; return this; } }; }; // expect.myPage('/index.html').haveChecksum('ca5767e0ecef0...');