Selenium Python Tutorial #28 - How to handle Dropdown in Selenium

Поделиться
HTML-код
  • Опубликовано: 22 авг 2024
  • Get all my courses for USD 5.99/Month - bit.ly/all-cou...
    In this Selenium Python Tutorial, we will learn how to handle dropdown in Selenium with Python. Python Selenium provides "Select" class which is used to work with dropdowns implemented with "SELECT" tag. We will learn following methods to select a value from dropdown along with examples.
    ✅ select_by_index(index)
    ✅ select_by_value(value)
    ✅ select_by_visible_text(text)
    ✅ deselect_all()
    ✅ deselect_by_index(index)
    ✅ deselect_by_value(value)
    ✅ deselect_by_visible_text(text)
    FULL Playlist: bit.ly/Selenium...
    🔸FREE Training's at training.rcvac... 🔔SUBSCRIBE to CHANNEL: bit.ly/2YGU6JM
    Help me in spreading the knowledge, please hit LIKE, SHARE, and SUBSCRIBE for the latest tutorials. More tutorial playlists below:
    ✅ ALL PLAYLISTS (Software Testing Mentor)🔸 / softwaretestingmentor
    ✅ ALL PLAYLISTS (RCV Academy)🔸 / @rcvacademy
    ✅ JIRA BEGINNER TUTORIAL🔸 bit.ly/jira-beg...
    ✅ JIRA WORKFLOW TUTORIAL🔸 bit.ly/2EzKOEB
    ✅ JIRA ADMINISTRATION TUTORIAL🔸 bit.ly/36MPPFR
    ✅ JIRA TUTORIAL INTERMEDIATE🔸 bit.ly/Atlassia...
    ✅ JIRA TUTORIALS🔸 bit.ly/jira-tut...
    ✅ ZEPHYR TUTORIAL🔸 bit.ly/zephyr-f...
    ✅ SOAPUI TUTORIAL🔸 bit.ly/Sopui-tu...
    ✅ JSONPath TUTORIAL🔸 bit.ly/2sIZIFG
    ✅ POSTMAN TUTORIAL🔸 bit.ly/2PBbhI7
    ✅ ISTQB AGILE TESTER CERTIFICATION TUTORIAL🔸 bit.ly/istqb-ag...
    ✅ ISTQB FOUNDATION LEVEL CERTIFICATION TUTORIAL🔸 bit.ly/istqb-fo...
    ✅ CUCUMBER SELENIUM TUTORIAL🔸 bit.ly/cucumber...
    ✅ TESTRAIL TUTORIAL🔸 bit.ly/testrail...
    ✅ AGILE TUTORIALS🔸 bit.ly/agile-tu...
    ✅ PYTHON TUTORIALS🔸 bit.ly/python-p...
    ✅ PYTHON BEHAVE TUTORIALS🔸 bit.ly/python-b...
    ✅ PRACTITEST TUTORIAL🔸 bit.ly/practite...
    ✅ JAVA TUTORIAL🔸 bit.ly/2F1iL1B
    ✅ ZEPHYR TUTORIAL🔸 bit.ly/zephyr-f...
    🔶 ENROL IN MANY FREE TRAININGS ON RCV ACADEMY PORTAL 🔶
    training.rcvaca...
    🔶 FOLLOW US ON TWITTER 🔶
    / rcvacademy
    / swtmentor
    / mrmverma
    🔶 LIKE US ON FACEBOOK 🔶
    / softwaretestingmentor
    / rcvacademy47
    🔶 OUR TUTORIAL WEBSITES 🔶
    www.softwarete...
    www.rcvacademy...
    🔶 GET MY TRAININGS ON UDEMY 🔶
    www.udemy.com/...
    #SeleniumPythonTutorial #PythonSelenium #SeleniumPython #PythonSeleniumTutorial #SeleniumWebdriver #TestAutomation #SoftwareTesting #RcvAcademy #SoftwareTestingMentor
    Join this channel to get access to perks:
    / @softwaretestingmentor

Комментарии • 15

  • @jekegoindustry297
    @jekegoindustry297 Год назад +6

    the second example you havent shown...is it impossible or did u forget??

  • @gorilaz0n
    @gorilaz0n Год назад

    I know that it must be basics for folks like you, but I needed to learn that different drop downs have different classes. There’s a button-class drop down toggle that’s giving me grieve. Now I have a lead. Thanks.

  • @benjamincheong8144
    @benjamincheong8144 2 года назад +5

    how do i select from a dropdown list?
    The orginal webpage code i saw it was div class, div id....

  • @SanthoshNM
    @SanthoshNM Год назад +1

    Thanks for the wonderful tutorial. How do I select if there is no div and with just a span? Thank you.

  • @sateeshkumar795
    @sateeshkumar795 8 месяцев назад

    Hi sir , like how to create the generic function for handling the drop down in selenium with python based on real time scenarios

  • @azharuddinkhan787
    @azharuddinkhan787 2 года назад +2

    @Software Testing Mentor "This element is not interactable through selenium(automation) as it is not visible in UI. Try any near by element."(in SelectorsHub) What can I do now?

  • @berenicehuertarojas2461
    @berenicehuertarojas2461 Год назад

    Could you teach how to select a dropdown with the div tag?

  • @otj6664
    @otj6664 Год назад

    you save my life !!!!!

  • @johndoe-lz8fo
    @johndoe-lz8fo 2 года назад

    so the dropdown i have is actually a button which you have to click on and then click on the item from the dropdown menu. there is no Select written on the console. how do you work this situation?

  • @margaritaberger5212
    @margaritaberger5212 10 месяцев назад

    dd = Select (dropdown) doesn't work for me

  • @prudhvikumarchapalamadugu3510
    @prudhvikumarchapalamadugu3510 2 года назад

    Very nice explanation sir!. I have one doubt actually after bypass the captcha then hit the GO button after that it displays the some urls,i need to collect that urls , any idea about that.......?

  • @muhammadtalha9834
    @muhammadtalha9834 Год назад

    Savior

  • @hamzakuzu5169
    @hamzakuzu5169 2 года назад

    no more dropdown for job title....use employees