简体   繁体   中英

Canopy - Working With Select Lists

I have just started working with Canopy and am struggling with select lists. I know you can set the selected item by value by doing:

"#dropDown" << read "option[value='x']"

However, how would you select the nth element of a select list> Or, how about selecting by text? I can't seem to find anything in the documentation.

在这里得到了一些很好的建议/答案: https//github.com/lefthandedgoat/canopy/issues/176

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM