How to Click A Button in Selenium Python

Поделиться
HTML-код
  • Опубликовано: 19 ноя 2024

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

  • @ozgurdugmeci6071
    @ozgurdugmeci6071 Месяц назад

    man, spent 1 day for fixing my code and then this video was the solution. thanks a lot

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

    thanks dude

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

    Your content is nice and easy to understand, Why u r not making vids frequently.

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

      Thank you, you made my day :) I'm planning to make more in the near future

  • @descansaKnight
    @descansaKnight 8 месяцев назад +1

    spent 30 min looking for a fix because the button that i wanted was not being pressed, and the line 'time.sleep(1)' literally fixed the problem, thank you so much!

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

    Nice tutorial

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

    You really saved a lot or time brother. Thank You so much. Can you please tell me if I want to click on location button on any website how can i do that because some website only gives you data if you can give your access to your location. So I want to do that like automatically it can allow my location for any website.

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

      What you are looking for is "geolocation". You need to add prefs and set geolocation to 1. Then chromeoptions.add_experimental_option(prefs)

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

      @@farukbayram54 First of all thank you so much for your reply. some websites may have button like down-triangle button. First you have to click on down-triangle button then they will ask to detect current location. Can you please tell me how can i do that

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

      Yes I know. Once you set the geolocation like I said then the website should detect your location automatically

  • @Magdoulin
    @Magdoulin 5 месяцев назад

    I am getting the below error:
    NameError: name 'browser' is not defined

    • @farukbayram54
      @farukbayram54  5 месяцев назад

      Are you sure you defined the "browser"?