Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
cookiecrook committed Apr 20, 2023
1 parent 13106aa commit 611e635
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions webdriver/tests/get_computed_role/get.py
Original file line number Diff line number Diff line change
Expand Up @@ -77,9 +77,9 @@ def test_stale_element_reference(session, stale_element, as_frame):


@pytest.mark.parametrize("html,tag,expected", [
("<li role=menuitem>foo", "li", "menuitem"),
("<main>foo</main>", "main", "main"),
("<input role=searchbox>", "input", "searchbox"),
("<img role=presentation>", "img", "presentation")])
("<img role=button tabindex=0>", "img", "button")])
def test_computed_roles(session, inline, html, tag, expected):
session.url = inline(html)
element = session.find.css(tag, all=False)
Expand Down

0 comments on commit 611e635

Please sign in to comment.