select a option with selenium2+phpunit
I found I needed to convert the PHPUnit_Extensions_Selenium2TestCase_Element
to a PHPUnit_Extensions_Selenium2TestCase_Element_Select
:
PHPUnit_Extensions_Selenium2TestCase_Element_Select::fromElement($this->byId('selectMenu'))->selectOptionByValue('t3');
Also see this other question