Is there a way to stop protractor after it throws a timeout exception? <p>Quite often there is the chance that protractor test specs throws a timeout exception.</p> <p>To make debugging and troubleshooting easier, I would like to stop protractor just after a timeout exception and prevent it to continue running test.</p> <p>But trying to catch timeout exception at each promise looks quite ugly to do.</p> <p>Is there any other way to stop protractor when it throws a timeout exception? </p>