Skip to content

Instantly share code, notes, and snippets.

@meatcar
Last active December 13, 2015 17:28
Show Gist options
  • Save meatcar/4947700 to your computer and use it in GitHub Desktop.
Save meatcar/4947700 to your computer and use it in GitHub Desktop.
def test_blah_blah_blah():
def has_unfollow(driver):
btn =
return btn.text == 'Unfollow'
config.util.wait_assert(has_unfollow)
config.util.wait_assert(lambda driver:
profile.find_element_by_css_selector('.vf-subscribe').text == 'Unfollow')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment