code: def test_get_svg_with_svg_present(webdriver: WebDriver) -> None:
      def plot(color: str):
          return Plot(
              x_range=Range1d(),
              y_range=Range1d(),
              height=20,
              width=20,
              toolbar_location=None,
              outline_line_color=None,
              border_fill_color=None,
              background_fill_color=color,
              output_backend="svg",
          )
  
      layout = row([plot("red"), plot("blue")])
  
      with silenced(MISSING_RENDERERS):
          svgs0 = bie.get_svg(layout, driver=webdriver)
          svgs1 = bie.get_svg(layout, driver=webdriver)
  
      svgs2 = [
          '<svg version="1.1" xmlns="http://www.w3.org/2000/svg" width="40" height="20">'
          "<defs/>"
          '<path fill="rgb(0,0,0)" stroke="none" paint-order="stroke" d="M 0 0 L 40 0 L 40 20 L 0 20 L 0 0 Z" fill-opacity="0"/>'
          '<path fill="rgb(255,0,0)" stroke="none" paint-order="stroke" d="M 5.5 5.5 L 15.5 5.5 L 15.5 15.5 L 5.5 15.5 L 5.5 5.5 Z" fill-opacity="1"/>'
          '<g transform="matrix(1, 0, 0, 1, 20, 0)">'
          '<path fill="rgb(0,0,255)" stroke="none" paint-order="stroke" d="M 5.5 5.5 L 15.5 5.5 L 15.5 15.5 L 5.5 15.5 L 5.5 5.5 Z" fill-opacity="1"/>'
          "</g>"
          "</svg>",
      ]
  
      assert svgs0 == svgs2
      assert svgs1 == svgs2
  
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 12 for calling a global function with example usage: test_get_svg_with_svg_present(webdriver) and returns: Plot