title: Unable to grab classes using Selenium in TripAdvisor
body: <p>I'm trying to scrape all of the images for a specific TripAdivsor page but when using the find_elements_by_class_name function in Selenium, it is giving me no values whatsoever. I am confused as that is the exact class name for what values I want to iterate through and append to a list, here is the <a href="https://www.tripadvisor.com/Hotel_Review-g28970-d84078-Reviews-Hyatt_Regency_Washington_on_Capitol_Hill-Washington_DC_District_of_Columbia.html#/media/84078/405571061:p/?albumid=101&amp;type=2&amp;category=101" rel="nofollow noreferrer">site</a>. Any help would be greatly appreciated!</p>
  
  <pre><code># importing dependencies
  import re
  import selenium
  import io
  import pandas as pd
  import urllib.request
  import urllib.parse
  import requests
  from bs4 import BeautifulSoup
  import pandas as pd
  from selenium.webdriver.common.action_chains import ActionChains
  from selenium import webdriver
  import time
  from _datetime import datetime
  from selenium.webdriver.common.keys import Keys
  
  
  #setup opening url window of website to be scraped
  options = webdriver.ChromeOptions()
  options.headless=False
  prefs = {"profile.default_content_setting_values.notifications" : 2} 
  options.add_experimental_option("prefs", prefs)
  driver = webdriver.Chrome("/Users/rishi/Downloads/chromedriver 3") #possible issue by not including the file extension
  driver.maximize_window()
  time.sleep(5)
  driver.get("""https://www.tripadvisor.com/""") #get the information from the page
  
  #automate searching for hotels in specific city
  driver.find_element_by_xpath('/html/body/div[2]/div/div[6]/div[1]/div/div/div/div/span[1]/div/div/div/a').click() #clicks on hotels option
  driver.implicitly_wait(12) #allows xpath to be found
  driver.find_element_by_xpath('//*[@id="BODY_BLOCK_JQUERY_REFLOW"]/div[12]/div/div/div[1]/div[1]/div/input').send_keys("Washington D.C.", Keys.ENTER) #change string to get certain city
  time.sleep(8)
  
  #now get current url
  url = driver.current_url
  
  response = requests.get(url)
  response = response.text
  data = BeautifulSoup(response, 'html.parser')
  
  #get list of all hotels
  hotels = driver.find_elements_by_class_name("prw_rup prw_meta_hsx_responsive_listing ui_section listItem")
  
  print("Total Number of Hotels: ", len(hotels))
  
  </code></pre>