title: Scrape the data and store to dictionary
body: <p>I was trying to scrape the data from the website link and when we click on the &quot;Sterne Anzeigen&quot; button at the bottom of the review we find the sub ratings and wanted to scrape that rating and store it in the CSV file. I was able to perform the actions like clicking on the button for each review and write code to extract the sub ratings as below</p>
  <pre><code>articles=browser.find_elements_by_class_name(&quot;index__reviewBlock__27gnB&quot;)
  
  data=[]
  
  for article in articles:
  
  try:
     element2 = article.find_elements_by_tag_name('button')
  except EX.NoSuchElementException:
     pass
  
  for element in element2:
     ActionChains(browser).click(element).perform()
  
  row={}  
  
  Stars=article.find_elements_by_class_name(&quot;index__factor__3Z15R&quot;)
  
  
  for item in Stars:
    key = item.find_element_by_class_name(&quot;index__title__W4hOp&quot;).text
    value = item.find_element_by_xpath(&quot;//*[@class='index__stars__2ads4 index__medium__1wpWb 
     index__stars__3lgvx']&quot;).get_attribute(&quot;data-score&quot;)
    row[key]=value
  
  data.append(row)
  </code></pre>
  <p>Can anyone help me to get the exact ratings since using this code I'm getting all the rating value &quot;5&quot;?</p>
  <p>Thanks in advance</p>