def setUp(self): # setUp is where you setup call fixture creation scripts # and instantiate the WebDriver, which in turns loads up the browser. User.objects.create_superuser(username='******', password='******', email='*****@*****.**') # Instantiating the WebDriver will load your browser self.wd = CustomWebDriver()