Created
March 29, 2010 20:49
-
-
Save mcfunley/348388 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def _wait_for_dropdown_count(self, c): | |
# this has the .closed class on it when it's hidden. | |
self.se.wait_for_function( | |
'function($) { ' | |
' return $("#search-facet > ul.closed").length == %s;' | |
'}' % c) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment