Python Forum
How to get visible text of Select Drop down
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to get visible text of Select Drop down
#1
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
Reply
#2
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?
Reply
#3
Thanks for replying. Yes I am using selenium. And I got the solution using get_first_seleted_option()
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  select all the span text with same attribute JennyYang 2 2,131 Jul-28-2020, 02:56 PM
Last Post: snippsat
  Selenium: accessing a drop-down menus without select tags ClassicalSoul 0 2,059 Apr-19-2020, 03:53 PM
Last Post: ClassicalSoul
  Select Drop down is not working properly ankitjindalbti 3 2,478 Jun-02-2019, 07:37 PM
Last Post: metulburr
  Selenium - Googlemaps element not visible Barnettch3 3 5,638 Jan-15-2018, 08:07 PM
Last Post: Barnettch3
  [Selenium] Element Visible / Invisible | Delay - Best Settings? digitalmatic7 2 6,230 Nov-19-2017, 03:54 PM
Last Post: digitalmatic7
  Selenium - "Element is not currently visible and may not be manipulated" tkj80 2 13,861 Oct-27-2016, 06:04 AM
Last Post: snippsat

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020