fixing issue with close on protractor-cucumber