Create a list of WebElements in Selenium using Class Name
<p>I have a class on a webpage i am trying to create automated tests for, which is used several times, is there anyway to create a list of each of these in java so i can use them later?</p>

<pre><code>&lt;LABEL onclick="doSomeThing();" id=smainMenu1 title="Program JSP001" class=node&gt;Link1&lt;/LABEL&gt;
&lt;LABEL onclick="doSomeThing();" id=smainMenu2 title="Program JSP002" class=node&gt;Link2&lt;/LABEL&gt;
&lt;LABEL onclick="doSomeThing();" id=smainMenu3 title="Program JSP003" class=node&gt;Link3&lt;/LABEL&gt;
</code></pre>