You can use "$scrape attribute" to get the value's. Not sure what you are doing however, you may take a look at the UI Drop Down command and use "if" and "else if" commands instead.
ui drop down("Choose a page:","page 1,page 2,page 3",#UI_DD_pages)
if($comparison(#UI_DD_pages,"= Equals","page 1")) {
then {
alert("page 1")
}
else if($comparison(#UI_DD_pages,"= Equals","page 2")) {
alert("page 2")
}
else if($comparison(#UI_DD_pages,"= Equals","page 3")) {
alert("page 3")
}
}
comment("use navigate command instead with url.")
Regards, CD