title: Selecting a button/label in selenium web driver to display more text
body: <p>So in the webpage I am trying to write some selenium for, there is a label that causes more text to be displayed.  I am trying to figure out how to have selenium select the label and then have the rest of the text displayed.</p>
  
  <p>The button/label I am trying to get it to select is <code>&lt;label class="btn_expand" for="kpanel"&gt;Show Full Display&lt;/label&gt;</code></p>
  
  <p>When I tried using select I got an error "Element should have been select, but
  instead was label".  This was the code I tried - </p>
  
  <pre><code>    Select select = new Select(driver.findElement(By.xpath("//label[@class=' btn_expand']")));
      select.deselectAll();
      select.selectByVisibleText("Show Full Display");
  </code></pre>
  
  <p>Thanks in advance.</p>