code: def drag_slider(
      driver: WebDriver,
      slider: Slider,
      distance: float,
      release: bool = True,
  ) -> None:
      handle = find_element_for(driver, slider, ".noUi-handle")
      actions = ActionChains(driver)
      actions.move_to_element(handle)
      actions.click_and_hold()
      actions.move_by_offset(distance, 0)
      if release:
          actions.release()
      actions.perform()
  
imports: from __future__ import annotations
  import logging
  from typing import TYPE_CHECKING, Any, Sequence
  from selenium.webdriver.common.action_chains import ActionChains
  from selenium.webdriver.common.by import By
  from selenium.webdriver.common.keys import Keys
  from bokeh.models import Button
label_desc: Use image node_id 26 for calling a global function with example usage: drag_slider(driver, slider, distance, release) without return types