code: def reset(self) -> None:
      if self.current is not None:
          self.terminate(self.current)
          self.current = None
  
imports: from __future__ import annotations
  import logging
  from ..util.dependencies import import_required
  import atexit
  import os
  from os.path import devnull
  from shutil import which
  from typing import TYPE_CHECKING, Literal
  from packaging.version import Version
  from ..settings import settings
label_desc: Use image node_id 3 for calling the _WebdriverState obj's underlying member method code with example usage: obj.reset() without return types