How to continue a test case if JavaScript throws an error

If you would like your test case to continue executing even after an error has been thrown, then you can use the JavaScript statements try...catch

Here’s a simple example

2 Likes