code: def __init__(
      self, *, kind: DriverKind | None = None, reuse: bool = True
  ) -> None:
      self.kind = kind
      self.reuse = reuse
      self.current = None
      self._drivers = set()
  
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 1 to create a new _WebdriverState object  with example: obj = _WebdriverState()