input: Write a function to connect to a given domain and fetch the contents of its homepage. If the connection is successful and the response status code is 200, return the content of the page. Otherwise, return "Error fetching the page". The function should take a single argument, which is the URL of the domain.
  
  def fetch_homepage_content(url):
      import requests
      response = requests.get(url)
      if response.status_code == 200:
          return response.content
      else:
          return "Error fetching the page"
  
  assert fetch_homepage_content("https://www.example.com/") == requests.get("https://www.example.com/").content
  assert fetch_homepage_content("https://www.nonexistentdomain.com/") == "Error fetching the page"
  assert fetch_homepage_content("https://www.google.com/") == requests.get("https://www.google.com/").content
  assert fetch_homepage_content("https://www.invalidurl.com") == "Error fetching the page"
  assert fetch_homepage_content("https://www.github.com/") == requests.get("https://www.github.com/").content
output: def fetch_homepage_content(url):
      import requests
      response = requests.get(url)
      if response.status_code == 200:
          return response.content
      else:
          return "Error fetching the page"