Skip to content

Commit

Permalink
add wait_for_selector to the cells property
Browse files Browse the repository at this point in the history
  • Loading branch information
mpacer committed Mar 22, 2018
1 parent 78254f0 commit 51c2d27
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions notebook/tests/selenium/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,10 @@ def body(self):

@property
def cells(self):
"""Gets all cells once they are visible.
"""
wait_for_selector(self.browser, ".cell")
return self.browser.find_elements_by_class_name("cell")


Expand Down

0 comments on commit 51c2d27

Please sign in to comment.