Skip to content

Instantly share code, notes, and snippets.

@hyperh
Created November 5, 2017 22:46
def test_button(driver):
WAIT_SEC = 10
driver.implicitly_wait(WAIT_SEC)
btn = driver.find_element_by_accessibility_id('button')
btn.click()
btn.click()
counter = driver.find_element_by_accessibility_id('counter')
assert counter.text == '2'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment