iamtech Posted May 1, 2018 Share Posted May 1, 2018 How to get text of selected option from a dropdown in Internet Explorer ? Link to comment Share on other sites More sharing options...
Danp2 Posted May 1, 2018 Share Posted May 1, 2018 The forum has a search feature. Have you tried using it or Google? Here's one example I found -- Latest Webdriver UDF Release Webdriver Wiki FAQs Link to comment Share on other sites More sharing options...
iamtech Posted May 2, 2018 Author Share Posted May 2, 2018 10 hours ago, Danp2 said: The forum has a search feature. Have you tried using it or Google? Here's one example I found -- @Danp2 It was get value of selected option, I want to get Text of selected option. Link to comment Share on other sites More sharing options...
Danp2 Posted May 2, 2018 Share Posted May 2, 2018 @iamtech No, that isn't correct. Go back and review the code. Now... Notice how they are retrieving the innertext of the selected option? That should give you the text of the selected option, not it's value. Latest Webdriver UDF Release Webdriver Wiki FAQs Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now