added option to log browser or not, updated tests to match changes