Select Drop Down Values in Selenium Python – Part 4
In this video, I have explained how to select drop down values using Select class for select html tag based drop downs.
Learn:
–what is select_by_visible_text()
–what is select_by_index()
–What is select_by_value()
–is_multiple
–how to create generic methods for drop down selection
–how to select values from dropdown without using select class
~~~Subscribe to this channel, and press bell icon to get some interesting videos on Selenium and Automation:
Follow me on my Facebook Page:
Let's join our Automation community for some amazing knowledge sharing and group discussion on Telegram:
Paid courses (Recorded) videos:
For Java & Selenium –
For API (Manual + Automation) –
Bhai you are helping the community. We are proud to have a mentor like you. I am not happy to see 280K subscribers. It should have been more than 1 M long ago. Please market it, you deserve to stand in shark tank india. You are giving more to the society right now than what we are giving to you. Bde bhai aap millions subscriber deserve krte ho
Amazing! Thank you, Sir!
Could you explain how css selectors work and what kind of them exist?
Hi Naveen i like your videos , plz make daily videos if possible bcz many persons are waiting your python automation videos.
Hi Naveen,
I have two groups in dropdown options like..
How to select option form dropdown like email… I am sure you will surely help in this.
unable to select…please help
Hi Naveen, I request you to include pytest pararmeterization and fixtures in this series.
we can select the values from drop down without using select by this xpath
“driver.find_element(By.XPATH,”//option[@value=’0 – 10′]”).click()”
Very use full. And how do compare the actual and expected dropdown lists?
Sir how to select the ‘SELECT’ tag when the ‘id’ is dynamic and nothing unique is there to select?
Naveen bhai, your videos are very clear. Thanks for the videos.
Hi Naveen, i was unable to join telegram! Is there any other way to join the telegram group ?
Amazing…??
Hi Naveen,
Can you load above examples in your Github because I getting below error just want to compare my code what I am missing :
********** Error **********
File “C:/Users/ASHUTOSH SINGH/PycharmProjects/Selenium-Python-Practice/SelenuimSession/DropDownHandle.py”, line 33, in
for ele in dropDownOptionsList:
NameError: name ‘dropDownOptionsList’ is not defined
@Naveen AutomationLabs Got it Thanks
Check the git now
waiting for the video…
What if the web element is a search field and it delivers a list based on the fact what you typed in?
@Usama Ali ty. ??
extract all the suggestions and then run a loop over those result and select any option you want by using if clause.
this did not work for me.
Very informative videos! Each step explained with such clarity. Finally found something worth coming back to again and again for reference. Thank you Naveen!