The ability to reply to discussions is limited to PRO members. Want to join in the discussion? Click here to subscribe now.

Use protractor to catch errors in the console

Use protractor to catch errors in the console

2:23
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.
Watch this lesson now
Avatar
egghead.io

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.

Avatar
David

That "flash of ugly handlebars"... can that be avoided with ng-cloak? Just curious since I recently ran into (and solved) with that method.

In reply to egghead.io
Avatar
Mike

Yes, or use ng-bind="expression" in an element.

In reply to David
Avatar
Dzmitry Budzko

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

HEY, QUICK QUESTION!
Joel's Head
Why are we asking?