def open_url_in_browser(url, browsername=None, fallback=False):
    r"""
    Opens a url in the specified or default browser

    Args:
        url (str): web url

    CommandLine:
        python -m utool.util_grabdata --test-open_url_in_browser

    Example:
        >>> # DISABLE_DOCTEST
        >>> # SCRIPT
        >>> from utool.util_grabdata import *  # NOQA
        >>> url = 'http://www.jrsoftware.org/isdl.php'
        >>> open_url_in_browser(url, 'chrome')
    """
    import webbrowser
    print('[utool] Opening url=%r in browser' % (url,))
    if browsername is None:
        browser = webbrowser.open(url)
    else:
        browser = get_prefered_browser(pref_list=[browsername], fallback=fallback)
    return browser.open(url)
r"""
    Opens a url in the specified or default browser

    Args:
        url (str): web url

    CommandLine:
        python -m utool.util_grabdata --test-open_url_in_browser

    Example:
        >>> # DISABLE_DOCTEST
        >>> # SCRIPT
        >>> from utool.util_grabdata import *  # NOQA
        >>> url = 'http://www.jrsoftware.org/isdl.php'
        >>> open_url_in_browser(url, 'chrome')