moved browser session creation to a base class