def __init__(self, browser, base_url):
    if (browser == 'firefox'):
        self.wd = webdriver.Firefox(capabilities={'marionette': False}, firefox_binary='C:/Program Files/Mozilla Firefox/firefox.exe')
    elif (browser == 'chrome'):
        self.wd = webdriver.Chrome()
    elif (browser == 'ie'):
        self.wd = webdriver.Ie()
    else:
        raise ValueError(('Unrecognized browser %s' % browser))
    self.session = SessionHelper(self)
    self.group = GroupHelper(self)
    self.contact = ContactHelper(self)
    self.base_url = base_url
def __init__(self, browser, base_url):
    if (browser == 'firefox'):
        self.wd = webdriver.Firefox(capabilities={'marionette': False}, firefox_binary='C:/Program Files/Mozilla Firefox/firefox.exe')
    elif (browser == 'chrome'):
        self.wd = webdriver.Chrome()
    elif (browser == 'ie'):
        self.wd = webdriver.Ie()
    else:
        raise ValueError(('Unrecognized browser %s' % browser))
    self.session = SessionHelper(self)
    self.group = GroupHelper(self)
    self.contact = ContactHelper(self)
    self.base_url = base_url