Cleaning up Protractor stack trace
问题 The Question: Is it possible to clean up the stack trace and leave only relevant frames eliminating everything Protractor , WebDriverJS and Jasmine specific? The Story: Let's execute this example test: describe("SO test", function () { beforeEach(function () { browser.get("https://angularjs.org"); }); it("should throw a meaningful error", function () { element(by.id("not_found")).click(); }); }); It would fail with a following stacktrace: SO test should throw a meaningful error - Failed: No