input: Write a python function to extract and return all text from a webpage given its URL.
  assert extract_text('https://example.com') == ['Example Domain', 'This domain is for use in illustrative examples in documents. You may use this domain in literature without prior coordination or asking for permission. More information...']
  assert extract_text('https://www.wikipedia.org') == ['Wikipedia', 'The Free Encyclopedia', 'English', 'Read Wikipedia in your language', '1 000 000+', 'articles', '1 000 000+', 'articles']
  assert isinstance(extract_text('https://example.com'), list)
output: def extract_text(url):
      import requests
      from bs4 import BeautifulSoup
      
      response = requests.get(url)
      soup = BeautifulSoup(response.content, 'html.parser')
      
      texts = [element.get_text(strip=True) for element in soup.find_all(text=True) if element.strip()]
      return texts