input: Write a function to extract text from all div elements with class 'data-element' on a given URL.
  assert extract_text_from_div('https://example.com/') == ['text1', 'text2', 'text3']
  assert extract_text_from_div('https://anotherexample.com/') == ['textA', 'textB']
  assert extract_text_from_div('https://yetanotherexample.com/') == ['example1', 'example2', 'example3', 'example4']
output: def extract_text_from_div(url):
      import requests
      from bs4 import BeautifulSoup
  
      response = requests.get(url)
      soup = BeautifulSoup(response.content, 'html.parser')
      divs = soup.find_all('div', class_='data-element')
      return [div.get_text(strip=True) for div in divs]