Debugging selenium app
This commit is contained in:
@@ -77,8 +77,10 @@ class MissingKidsFetcher():
|
|||||||
logger.warning("Exception while clicking page {}. {}".format(i+1, str(e)), exc_info=True)
|
logger.warning("Exception while clicking page {}. {}".format(i+1, str(e)), exc_info=True)
|
||||||
finally:
|
finally:
|
||||||
try:
|
try:
|
||||||
|
logger.info("Closing web driver and returning results")
|
||||||
driver.close()
|
driver.close()
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
|
logger.warning("Exception closing web driver: {}".format(str(e)))
|
||||||
pass
|
pass
|
||||||
|
|
||||||
return set_urls
|
return set_urls
|
||||||
|
|||||||
Reference in New Issue
Block a user