Commit ab19b598 authored by gaotao's avatar gaotao

网页并未正常关闭优化

parent 42eeab33
......@@ -120,8 +120,8 @@ class BrowserEngine(ReadConfig):
# self.driver.get_screenshot_as_file(next_image_name)
def __del__(self):
self.logger.info('close driver')
try:
# self.logger.info('close driver')
self.driver.quit()
except:
pass
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment