code: def test_scrv001_select_on_scroll(test, props, data_fn):
      test.start_server(get_app(props, data_fn))
  
      target = test.table("table")
      target.cell(2, 2).click()
  
      assert target.cell(2, 2).is_focused()
  
      scroll_window_by(test, 2000)
  
      assert (
          not target.cell(2, 2).exists()
          or target.cell(2, 2).is_focused()
      )
      assert test.get_log_errors() == []
  
file_path: dash/components/dash-table/tests/selenium/test_scrolling2.py
imports: import dash
  from dash.testing import wait
  from selenium.webdriver.common.keys import Keys
  from utils import basic_modes, get_props, generate_mock_data, generate_markdown_mock_data, generate_mixed_markdown_data
  from dash.dash_table import DataTable
  import pytest
label_desc: Use image node_id 4 for calling a global function with example usage: test_scrv001_select_on_scroll(test, props, data_fn) without return types