Skip to content

Instantly share code, notes, and snippets.

@isaulv
Created November 15, 2013 19:58
Show Gist options
  • Select an option

  • Save isaulv/7490610 to your computer and use it in GitHub Desktop.

Select an option

Save isaulv/7490610 to your computer and use it in GitHub Desktop.
How to deal with jquery ui widgets
def wait_for_jquery_animation_to_complete(self, selector):
script = '$(\'{}\').filter(":animated").length === 0;'.format(selector)
self.wait_for_script_expression_to_evaluate_true(script)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment