how to check default value of dropdown in selenium?
The default value of dropdown in selenium web driver can be selected in the following way: String a = driver. findElement (By. xpath ( "//select [@ id='eehdlt1']" ) ) .