Selenium: Get current value from drop-down menu
Posted
by tombh
on Stack Overflow
See other posts from Stack Overflow
or by tombh
Published on 2010-02-02T09:37:04Z
Indexed on
2010/03/08
11:51 UTC
Read the original article
Hit count: 254
Hi there.
I'm trying to find a simple Selenium call to grab the current option from a select drop-down list. I'm aware there are calls which grab all the values in a list but I wish to know which option is currently selected. Apologies if this is trivial but google and Selenium IDE didn't help me. Thanks.
© Stack Overflow or respective owner