code: def get_first_graph_svg(app: Page):
      return app.locator(".stGraphVizChart > svg").nth(0)
  
file_path: streamlit/e2e_playwright/st_graphviz_chart_test.py
imports: from playwright.sync_api import Page, expect
  from e2e_playwright.conftest import ImageCompareFunction, wait_for_app_run
label_desc: Use image node_id 1 for calling a global function with example usage: get_first_graph_svg(app) and returns: app