Skip to content

Commit

Permalink
Merge pull request #91 from kayqueGovetri/FIX/improving-stop-browser
Browse files Browse the repository at this point in the history
FIX/improving stop browser
  • Loading branch information
hhslepicka committed May 8, 2023
2 parents b66dfbd + b05f16e commit 107c10b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions botcity/web/bot.py
Expand Up @@ -273,6 +273,8 @@ def stop_browser(self):
"""
if not self._driver:
return
if self.get_tabs():
self.activate_tab(self.get_tabs()[-1])
self._driver.close()
self._driver.quit()
self.options = None
Expand Down

0 comments on commit 107c10b

Please sign in to comment.