make tests browser ready