I am trying to print out the value I am selecting from a dropdown list.
SelectElement selector = new SelectElement(ddlRegisters);
selector.SelectByIndex(1);
String regSelect = selector.Options[1].Text.ToString();
Console.WriteLine("The User Selected "+regSelect+".");
But this isn't working can anyone provide clarification?