code: def test_get_screenshot_as_png_with_fractional_sizing__issue_12611(
      webdriver: WebDriver,
  ) -> None:
      div = Div(
          text="Something",
          styles=dict(width="100.64px", height="50.34px"),
      )
      png = bie.get_screenshot_as_png(div, driver=webdriver)
      assert len(png.tobytes()) > 0
  
imports: from __future__ import annotations
  import pytest
  import base64
  import re
  import sys
  from typing import TYPE_CHECKING
  from bokeh.core.validation import silenced
  from bokeh.core.validation.warnings import MISSING_RENDERERS
  from bokeh.io.state import curstate
  from bokeh.io.webdriver import webdriver_control
  from bokeh.layouts import row
  from bokeh.models import Circle, ColumnDataSource, Div, Plot, Range1d, Rect
  from bokeh.plotting import figure
  from bokeh.resources import Resources
  from bokeh.themes import Theme
  import bokeh.io.export
label_desc: Use image node_id 5 for calling a global function with example usage: test_get_screenshot_as_png_with_fractional_sizing__issue_12611(webdriver) without return types