change protractor.getInstance usage to 'browser', fix failed test error code result