Permalink
Browse files

Merge pull request #90 from AlexLakatos/master

fix except issue
  • Loading branch information...
2 parents d8dfee0 + 03a22f7 commit 89f1a290fd4dae97fcec26c603fd28608f89df6c Zac committed Feb 13, 2013
Showing with 2 additions and 2 deletions.
  1. +2 −2 page.py
View
@@ -27,11 +27,11 @@ def is_the_current_page(self):
Assert.equal(self.selenium.title, self._page_title)
return True
-
+
def is_element_visible(self, *locator):
try:
return self.selenium.find_element(*locator).is_displayed()
- except NoSuchElementException, ElementNotVisibleException:
+ except (NoSuchElementException, ElementNotVisibleException):
return False
def is_element_present(self, *locator):

0 comments on commit 89f1a29

Please sign in to comment.