code: def click_fullscreen(app: Page):
      app.locator('[data-testid="StyledFullScreenButton"]').nth(
          0
      ).click()
      # Wait for the animation to finish
      app.wait_for_timeout(1000)
  
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 2 for calling a global function with example usage: click_fullscreen(app) without return types