Code modified to make browser as a configurable property.