hide localhost assertions in browser test