changed utils code from try-catch to Web driver code.