title: Simple scraping / data collecting with C# Selenium not working
body: <p>So im trying to collect some data with Selenium using C# and I am fairly new to it, atleast the collecting data part, what im trying to achieve is, when I press a button is collects some data and puts it in a textbox, simple as that, the only thing is when I run my code it doesnt collect anything</p>
  
  <p>im using a label as a button</p>
  
  <pre><code>    private void label11_Click(object sender, EventArgs e)
      {
          var getTopFive = new FirefoxDriver();
          getTopFive.Navigate().GoToUrl("http://www.rottentomatoes.com/top/bestofrt/top_100_action__adventure_movies/");
  
          foreach (var item in getTopFive.FindElements(By.TagName("a")))
  
              //this is where I left off
  
          {
              activeTextBox.Text = (item.GetAttribute("class"));
  
          }
  </code></pre>
  
  <p>I think I messed it with the FindElements &amp; GetAttribute but im not sure</p>