def test_the_text_for_an_element_strips_html_tags(browser, app_url):
    "should show that the text attribute strips html"
    browser.visit(app_url)
    assert browser.find_by_id("text_with_html").text == "another bit of text"
should show that the text attribute strips html
tests/tests_webdriver/test_element_wd.py