def get_ip(driver, ip_site="https://api.ipify.org"):
    """
    gets ip from specified page
    :param driver: selenium webdriver object
    :param ip_site: ip site, which only returns ip as string
    :return: str of current ip address
    """
    driver.get(ip_site)
    return driver.find_element_by_tag_name("body").text