def test_is_element_present_by_xpath(browser, app_url):
    "should is element present by xpath verify if element is present"
    browser.visit(app_url)
    browser.find_by_css(".add-async-element").click()
    assert browser.is_element_present_by_xpath("//h4")
should is element present by xpath verify if element is present
tests/tests_webdriver/test_is_element_present.py