Added preCleanup to browser objects based off of environment variable serenityci