Python Forum

Full Version: How to get visible text of Select Drop down
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
There is a function named select_by_visible_text() to select an option in <select> drop down. Is there a similar function something like get_visible_text() to get the Visible text of selected option
It is most helpful to mention what package 'select_by_visible_text()' is part of
I'm sure somewhere in my own private code I have a method by that name.
I believe that you are referring to Selenium, Correct or is it FuzzyWuzzy?
Thanks for replying. Yes I am using selenium. And I got the solution using get_first_seleted_option()