code: def test_open_search_via_hotkey(
      app: Page, assert_snapshot: ImageCompareFunction
  ):
      """Test that the search can be opened via a hotkey."""
      dataframe_element = app.get_by_test_id("stDataFrame").nth(0)
  
      # Press hotkey to open search:
      dataframe_element.press("Control+F")
  
      # Check that the search is visible:
      assert_snapshot(
          dataframe_element,
          name="st_dataframe-trigger_search_via_hotkey",
      )
  
file_path: streamlit/e2e_playwright/st_dataframe_interactions_test.py
imports: import pytest
  from playwright.sync_api import Page, expect
  from e2e_playwright.conftest import ImageCompareFunction
label_desc: Use image node_id 9 for calling a global function with example usage: test_open_search_via_hotkey(app, assert_snapshot) without return types