✔ Selenium Python: How To Select From A Drop Down

Поділитися
Вставка
  • Опубліковано 7 лис 2024

КОМЕНТАРІ • 47

  • @rodrigored99
    @rodrigored99 Рік тому +3

    u save my life bro ... tranks fron Brazil !!!

  • @d-rey1758
    @d-rey1758 Рік тому +4

    Awesome vid! Do you know how to do it if it’s not a “option 1” in the code. Essentially if it’s not a element, but instead is a element with a

    • @tamzin1223
      @tamzin1223 Рік тому +2

      Yes please, a video on this would be so helpful!!

    • @RexJonesII
      @RexJonesII  Рік тому +2

      Sure, D-Rey I can create a video based on your request. Do you have a sample application with that scenario?

    • @d-rey1758
      @d-rey1758 Рік тому +1

      @@RexJonesII Thanks it was a private website. I actually solved it after hours of research. the problem was that the drop-down box was so sensitive that if the user right-clicked anywhere on the page the drop-down box would disappear. At first it was and , but then the using the browser tools to actually zoom out of the page. then dev tools showed more info on the element it was actually "" with "". then a "for loop" was used to select the the option for the drop down menu. Thanks for the support though!!!

  • @atomiic39
    @atomiic39 3 місяці тому +2

    thanks. i had no idea you were supposed to import "By".
    edit: it worked 100%! thank you! i subbed :)

    • @RexJonesII
      @RexJonesII  2 місяці тому +1

      That's awesome! I'm glad it worked for you

  • @t1234-q5z
    @t1234-q5z 2 роки тому +1

    Bro your straight forward. Genius.

    • @RexJonesII
      @RexJonesII  2 роки тому

      Thanks Tristan 👍 I appreciate it bro

  • @jeffgordon553
    @jeffgordon553 Рік тому +1

    Hey, just found your videos and your demeanor and explanation are some of the best on youtube! I am just beginning my professional programming journey with a new company and this will be very useful for webscraping and testing! Hope you the best, I have sauced a follow

    • @RexJonesII
      @RexJonesII  Рік тому

      Thanks 👍 I wish you much success on your programming journey

  • @omarhossam285
    @omarhossam285 Рік тому +1

    that was a pain in the butt, but you made it smooth , ty man

  • @agnichatian
    @agnichatian 7 місяців тому +2

    good job on this; detailed and easy to see; thanks; subbed

    • @RexJonesII
      @RexJonesII  6 місяців тому

      Thanks @agnichatian 👍

  • @michaelbuzek
    @michaelbuzek Рік тому +1

    This is exactly what I was looking for, thanks for your turorial Rex 😀

  • @player_xXx
    @player_xXx Рік тому +1

    You just helped me a lot Sir! Thank you for the clear explanation! :)

  • @gaurangsinghal5672
    @gaurangsinghal5672 2 роки тому +1

    This video has cleared my doubt about dropdown

    • @RexJonesII
      @RexJonesII  2 роки тому

      That's awesome Gaurang 👍

  • @luissalazar2863
    @luissalazar2863 Рік тому +1

    Goat!!! nice video, thank you!
    Liked and subscribed.

    • @RexJonesII
      @RexJonesII  Рік тому

      You're Welcome Luis! 👍 That's awesome. I'm glad you liked it

  • @juliorosales1546
    @juliorosales1546 2 роки тому +1

    This video was a life saver. Thanks man. Like the way you explained. It was thorough and precise

    • @RexJonesII
      @RexJonesII  2 роки тому

      You're Welcome Julio 👍 Thanks!!!

  • @sekee
    @sekee 2 роки тому +1

    Hey Rex, this video helped me out a lot!! Thanks man

  • @saulohenrique5543
    @saulohenrique5543 2 роки тому +1

    Please!! Help me!!
    I would like to click on the following element:
    Export
    How can i do this using selenium python

    • @RexJonesII
      @RexJonesII  2 роки тому +1

      Hi Saulo, you can use the text() function via xpath to find the element then click it

    • @saulohenrique5543
      @saulohenrique5543 2 роки тому

      @@RexJonesII Thanks!!
      How can i use the text() function in my question?
      I'm new to this tool and I don't know how to use it very well yet

  • @carstenjensen3123
    @carstenjensen3123 Рік тому +1

    You are so amazing at explaining this stuff. Great video!

  • @mayurasandakalumsellapperu6778
    @mayurasandakalumsellapperu6778 2 роки тому +1

    Superb Bro 👌😉

    • @RexJonesII
      @RexJonesII  2 роки тому

      Thanks bro 👍 I appreciate it Mayura

  • @amithadole9252
    @amithadole9252 2 роки тому +1

    Hello sir,
    How to select option from mat-select dropdown using selenium python?

    • @RexJonesII
      @RexJonesII  2 роки тому

      Hi Amit, I haven't came across a scenario that involves mat-select dropdown. Can you send me an example?

  • @pelotoncio
    @pelotoncio Рік тому +1

    helped me with what I was doing

    • @RexJonesII
      @RexJonesII  Рік тому +1

      I'm happy it helped with what you were doing 👍

  • @sebastianmaciasmartinez3905
    @sebastianmaciasmartinez3905 2 роки тому +1

    Thank you, thank you very much!!!

    • @RexJonesII
      @RexJonesII  2 роки тому

      You're Welcome Sebastian 👍

  • @KarlmarxMashele
    @KarlmarxMashele Рік тому

    what if the web element is a "div" after pressing the inspect button

  • @feliwein_cc
    @feliwein_cc 2 роки тому

    what if the dropdown is not on a select label but a div?

  • @Zach-mo8um
    @Zach-mo8um Рік тому +1

    fucking love you for this

  • @Онотоле-в6л
    @Онотоле-в6л 2 роки тому +1

    Thank you brother ! U genius