close_session()把self._response置为None

This commit is contained in:
g1879 2020-09-25 18:09:16 +08:00
parent 7ae5ec6541
commit 792c05141b

View File

@ -375,4 +375,5 @@ class MixPage(Null, SessionPage, DriverPage):
"""关闭session切换到d模式"""
self.change_mode('d')
self._session = None
self._response = None
self.drission.close_session()