Permalink
Browse files

Added debug log message indicating failed to open url.

  • Loading branch information...
1 parent 7ad56e9 commit c7769a866a333c5ac374fe19768d5b5a6fa40c49 @emanlove emanlove committed Jan 8, 2014
Showing with 2 additions and 0 deletions.
  1. +2 −0 src/Selenium2Library/keywords/_browsermanagement.py
View
2 src/Selenium2Library/keywords/_browsermanagement.py
@@ -115,6 +115,8 @@ def open_browser(self, url, browser='firefox', alias=None,remote_url=False,
browser.get(url)
except:
self._cache.register(browser, alias)
+ self._debug("Opened browser with session id %s but failed to open url '%s'"
+ % (browser.session_id, url))
raise
self._debug('Opened browser with session id %s'
% browser.session_id)

0 comments on commit c7769a8

Please sign in to comment.