Merge remote-tracking branch 'umbra/master'

* umbra/master:
  Handle Python to JS boolean conversion
  Allow clicking on already clicked element to continue in behaviors if click_until_hard_timeout is set to true
  Make Umbra click on 'Load More' button for youtube pages
  catch and log exception deleting temporary work directory
  update detection of modal close button for facebook changes
  Add custom behavior for Brooklyn Museum.
This commit is contained in:
Noah Levitt 2016-03-07 17:37:12 -08:00
commit 4874eaccbb
4 changed files with 28 additions and 3 deletions

View file

@ -125,7 +125,11 @@ class Browser:
if self.is_running():
self._chrome_instance.stop()
self._chrome_instance = None
self._work_dir.cleanup()
try:
self._work_dir.cleanup()
except:
self.logger.error("exception deleting %s", self._work_dir,
exc_info=True)
self._work_dir = None
self._websocket_url = None
except: