--
You received this message because you are subscribed to the Google Groups "webdriver" group.
To post to this group, send email to webd...@googlegroups.com.
To unsubscribe from this group, send email to webdriver+...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/webdriver?hl=en.
Better yet, check out the Select support class [1] which is designed
for just this purpose:
Select select = new
Select(driver.findElement(By.xpath("//select[@id='airspace_id0']/optgroup[1]")));
select.selectByVisibleText("RANGE ONE");
1: http://selenium.googlecode.com/svn/trunk/docs/api/java/org/openqa/selenium/support/ui/Select.html