extracting sauce labs logic to base class