def test_accessing_attributes_of_simple_elements(browser, app_url):
    "should allow simple element's attributes retrieval"
    browser.visit(app_url)
    header = browser.find_by_css("h1")
    assert "firstheader" == header["id"]
should allow simple element's attributes retrieval
tests/test_all_drivers/test_attributes.py