Menu

#1 SpiderFixture: withSelectOption with different locators

open
nobody
None
5
2010-11-01
2010-11-01
Anonymous
No

It looks like if the underlying driver is selenium, selecting an option via "withSelectOption" in spider fixture will support name= and label=. I am using just the firefox driver, and I am forced to select options from a select control via value, instead of label. Looking at the code (SelectElement, ~ line 117), it looks like only value is supported. This seems inconsistent with other parts of SpdierFixture, which support Selenium-style locators.

Discussion


Log in to post a comment.