def __init__(self):
    if (os.environ.get('ENV') == 'DEV'):
        self.driver = webdriver.Firefox('/Users/david/Projets/selenium driver/')
        self.url = 'http://127.0.0.1:8000/'
        self.driver.maximize_window()
    if (os.environ.get('ENV') == 'TRAVIS'):
        self.BROWSERSTACK_URL = 'https://davidbarat1:example@example.com.com/wd/hub'
        self.desired_cap = {'os': 'Windows', 'os_version': '10', 'browser': 'Chrome', 'browser_version': '80', 'name': 'P8 Test'}
        self.driver = webdriver.Remote(command_executor=self.BROWSERSTACK_URL, desired_capabilities=self.desired_cap)
        self.driver.maximize_window()
        self.url = 'http://167.99.212.10/'
    self.search = 'Nutella'
    self.user = 'example@example.com'
    self.password = '007Test!'
    self.newpassword = 'newpassword456'
def __init__(self):
    if (os.environ.get('ENV') == 'DEV'):
        self.driver = webdriver.Firefox('/Users/david/Projets/selenium driver/')
        self.url = 'http://127.0.0.1:8000/'
        self.driver.maximize_window()
    if (os.environ.get('ENV') == 'TRAVIS'):
        self.BROWSERSTACK_URL = 'https://davidbarat1:example@example.com.com/wd/hub'
        self.desired_cap = {'os': 'Windows', 'os_version': '10', 'browser': 'Chrome', 'browser_version': '80', 'name': 'P8 Test'}
        self.driver = webdriver.Remote(command_executor=self.BROWSERSTACK_URL, desired_capabilities=self.desired_cap)
        self.driver.maximize_window()
        self.url = 'http://167.99.212.10/'
    self.search = 'Nutella'
    self.user = 'example@example.com'
    self.password = '007Test!'
    self.newpassword = 'newpassword456'