I\'m trying to use Selenium (2.31.0, using JavaSE 1.6 and IE9) to find a series of elements on a page. These elements all have one of two class names, \'dataLabel\' or \'dat
Why wouldn't you do the following:
driver.findElement(By.cssSelector(".dataLabel,.dataLabelWide");
The '.' selector says, "give me all elements with this class." The ',' operator is the CSS selector 'or' operator.