accepts browser as a param