I know kendo-ui hides elements from view. unselectable="on" However, I am unable to find a specific drop down or it's options using capybara.
I've tried adding the :visible => false
tag to a find, but that does not seem to help, either. (or it does, and I'm using the wrong selector.)
I just want to the be able to select one of the options in the drop down.
EDIT: "You don't show the actual HTML from the elements that actually become visible on the page," ~Thomas Walpole
visible: false
option only makes sense as a step towards locating other elements that are actually visible (see my answer). This is because a user can't (and therefore neither should you in tests) interact with non-visible elements, soclick
on a non-visible element is meaningless. Additionally the actual visible elements on your page are not<select>
or<option>
elements soselect
andselect_option
don't make sense either. – Thomas Walpole