Use protractor to catch errors in the console

    Share this video with your friends

    Send Tweet

    Protractor gives you access to the console log while it is testing. This functionality could be used to verify that no errors are occurring, or other similar things you might want to test.

    Dzmitry Budzko
    ~ 10 years ago

    There's in fact a built-in plugin called "console" that does exactly that.