'most of the make browser functions just call this function which creates the
appropriate web-driver'

def _generic_make_browser(self, webdriver_type, desired_cap_type, remote_url, desired_caps):

    if (not remote_url):
        browser = webdriver_type()
    else:
        browser = self._create_remote_web_driver(desired_cap_type, remote_url, desired_caps)
    return browser
