input: Write a python function to scrape text data from a specified URL using Selenium.
  assert scrape_data('https://www.example.com/index.html') == ['Example Data 1', 'Example Data 2', 'Example Data 3']
  assert scrape_data('https://www.anotherexample.com/index.html') == ['Another Example Data 1', 'Another Example Data 2']
  assert scrape_data('https://www.testexample.com/index.html') == ['Test Example Data 1', 'Test Example Data 2', 'Test Example Data 3']
output: def scrape_data(url):
      from selenium import webdriver
      from selenium.webdriver.common.by import By
      from selenium.webdriver.chrome.service import Service
      from webdriver_manager.chrome import ChromeDriverManager
      import time
      
      options = webdriver.ChromeOptions()
      options.add_argument('--headless')
      options.add_argument('--no-sandbox')
      options.add_argument('--disable-dev-shm-usage')
      
      driver = webdriver.Chrome(service=Service(ChromeDriverManager().install()), options=options)
      driver.get(url)
      
      time.sleep(3)  # wait for the page to fully load
      
      elements = driver.find_elements(By.CSS_SELECTOR, 'selector-for-desired-text')  # replace with actual selector
      data = [element.text for element in elements]
      
      driver.quit()
      
      return data