def get_confirmation(self, wait_time):

        return WebDriverWait(self.browser, wait_time).until(
            lambda driver:
                driver.find_element_by_xpath("//div[@class='alert alert-success']"))

    # -------------------------------------------------------------------------
@param wait_time: The time in seconds to wait for confirmation to appear.
dataset/ETHPy150Open sahana/eden/modules/tests/web2unittest.py/SeleniumUnitTest.get_confirmation