Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

fix except issue

  • Loading branch information...
commit 03a22f7be67c706ac79420072ad8bcdd1e3281e4 1 parent d8dfee0
Alex Lakatos authored

Showing 1 changed file with 2 additions and 2 deletions. Show diff stats Hide diff stats

  1. +2 2 page.py
4 page.py
@@ -27,11 +27,11 @@ def is_the_current_page(self):
27 27
28 28 Assert.equal(self.selenium.title, self._page_title)
29 29 return True
30   -
  30 +
31 31 def is_element_visible(self, *locator):
32 32 try:
33 33 return self.selenium.find_element(*locator).is_displayed()
34   - except NoSuchElementException, ElementNotVisibleException:
  34 + except (NoSuchElementException, ElementNotVisibleException):
35 35 return False
36 36
37 37 def is_element_present(self, *locator):

0 comments on commit 03a22f7

Please sign in to comment.
Something went wrong with that request. Please try again.