code: def test_multiselect_register_callback(app: Page):
      """Should call the callback when an option is selected."""
      app.locator(".stMultiSelect").nth(10).locator("input").click()
      app.locator("li").first.click()
      expect(
          app.locator("[data-testid='stText']").nth(10)
      ).to_have_text("value 11: ['male']")
      expect(
          app.locator("[data-testid='stText']").nth(11)
      ).to_have_text("multiselect changed: True")
  
file_path: streamlit/e2e_playwright/st_multiselect_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 8 for calling a global function with example usage: test_multiselect_register_callback(app) without return types