From: Brad C. <yo...@br...> - 2005-02-15 21:44:01
|
I put my method on a wiki page for you: http://htmlunit.sourceforge.net/phpwiki/index.php/SelectOptionByText --- Sridhar Ranganathan <Sri...@Su...> wrote: > > Hi, > > Is there any way to click the drop-down option using the caption displayed ? > > > I have a drop-down with options like : > > <option class="MnuJmpOpt" value="0"> Operations </option> > <option class="MnuJmpOptDis" value="8" disabled="disabled">Create </option> > <option class="MnuJmpOptDis" value="6" disabled="disabled">Modify</option> > <option class="MnuJmpOptDis" value="1" disabled="disabled">Delete</option> > <option class="MnuJmpOptDis" value="2" disabled="disabled">Settings</option> > > > Currently, I am choosing using the value like "1" or "2" etc., Is there > any way to choose using "Create" / "Modify" - which the user sees on the > screen. > > thanks > Sridhar |