input: def web_scraper_for_tripadvisor(url: str) -> None:
      """This function scrapes hotel reviews from TripAdvisor using the given URL. It extracts the title and review text of each displayed review.
      
      >>> web_scraper_for_tripadvisor('https://www.tripadvisor.com/')
      # Displays the titles and texts of hotel reviews from the given TripAdvisor URL.
      """
  
      import requests
      from bs4 import BeautifulSoup
  
      headers = {'User-Agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/81.0.4044.138 Safari/537.36'}
  
      response = requests.get(url, headers=headers)
      soup = BeautifulSoup(response.text, 'html.parser')
      reviews = soup.find_all('div', {'class': 'review-container'})
  
      for review in reviews:
          title = review.find('span', {'class': 'noQuotes'}).text
          text = review.find('p', {'class': 'partial_entry'}).text
          print(title)
          print(text)
          print('-' * 50)
output:     if response.status_code != 200:
          print(f"Failed to retrieve the page. Status code: {response.status_code}")
          return
  
      if not reviews:
          print("No reviews found on the page.")
          return