title: Scraping reviews from sidebar widget selenium python
body: <p>I'm trying to practice review scraping from booking.com.  I randomly pick a hotel and make selenium get the element then try to located to get reviews from BeautifulSoup as follows but the results return no data.  May I have your suggestions what went wrong and how to fix it?</p>
  <pre><code>from selenium import webdriver
  from bs4 import BeautifulSoup
  
  driver = webdriver.Chrome(executable_path=&quot;./driver/chromedriver.exe&quot;)
  driver.get(&quot;https://booking.com&quot;)
  
  driver.find_element_by_css_selector(&quot;input[class*='sb-searchbox__input']&quot;).send_keys(&quot;Eden The Residence at The Sea&quot;)
  driver.find_element_by_css_selector(&quot;button[type='submit']&quot;).click()
  driver.find_element_by_xpath(&quot;//span[contains(text(),'Eden The Residence at The Sea')]&quot;).click()
  soup = BeautifulSoup(driver.page_source,&quot;html.parser&quot;)
  containers = soup.find_all(&quot;div&quot;, {&quot;class&quot;: &quot;review_list_container&quot;})
  reviews = containers[0].find_all(&quot;ul&quot;)
  </code></pre>