Using Selenium for selecting an option on a select with optgroup Using Selenium for selecting an option on a select with optgroup selenium selenium

Using Selenium for selecting an option on a select with optgroup


The value for the required option in your example is actually '18'. Try the following:

selenium.select("locator", "label=REQUIRED VALUE")