What is the correct import statement to use for a Select object in webdriver 2.4 under python?
Question: I am writing tests with selenium webdriver 2.4 on python 2.7.

The documentation (http://seleniumhq.org/docs/03_webdriver.html) demonstrates
the ability to manipulate select form elements as follows:

    
    
    Select select = new Select(driver.findElement(By.xpath("//select")));
    select.deselectAll();
    select.selectByVisibleText("Edam");
    

I need to manipulate select form elements like this but in python. However I
cannot figure out what to import to successfully instantiate the Select
object.

What should my import statement be?

Thanks.


Answer: > However I cannot figure out what to import to successfully instantiate the
> Select object.

It is available as: `from selenium.webdriver.support.ui import Select`

See also:
<http://selenium.googlecode.com/svn/trunk/docs/api/py/webdriver_support/selenium.webdriver.support.select.html#module-
selenium.webdriver.support.select>

