def test_finding_link_by_href_using_slice(browser, app_url):
    "should find link by href using slice"
    browser.visit(app_url)
    link = browser.links.find_by_href("http://example.com/")[-1]
    assert "Link for last Example.com" == link.text
should find link by href using slice
tests/test_all_drivers/test_find_elements.py