import time


def open_url(driver, url, sleep_time=3):
    """Open the url in browser.

    Args:
        driver (webdriver): Selenium webdriver object.
        url (str): URL to open in browser.
        sleep_time (int, optional): Sleep time period after running the action. Defaults to 3.

    Returns:
        bool: Returns True if the action was successful
    """
    driver.get(url)

    time.sleep(sleep_time)
    return True