Web Automation using Python To Fill out A Form

Поділитися
Вставка
  • Опубліковано 31 лип 2024
  • #Python #Selenium #WebAutomation
    ✨OVERVIEW✨
    In this video, we will look at Web Automation using Python in detail. We will be using the Webdriver and Selenium Libraries to do our coding, and we will be filling out an attendance form, automating that, and validating if it did. Hope You learn something new!
    ---------------------------------------------------------------------------------------------------------------------------
    ✨CHAPTERS✨
    0:00 Intro
    0:05 In This Video
    0:29 What Is Web Automation?
    1:21 Modules Used
    2:19 Demo
    2:34 Filling Out A Form
    12:22 Confirmation
    16:15 Conclusion
    ---------------------------------------------------------------------------------------------------------------------------
    ✨LINKS✨
    GitHub: github.com/RishabKattimani/We...
    Twitter: / rishabtweets
    LinkedIn: / rishabkattimani
    ---------------------------------------------------------------------------------------------------------------------------
    ✨ RELATED VIDEOS✨
    Intro To Python: • Python: A Beginners Guide
    Python Playlist: • Face Recognition using...
    And more to come!
    ---------------------------------------------------------------------------------------------------------------------------
    Thanks very much for watching, see you guys next time! :)
  • Наука та технологія

КОМЕНТАРІ • 492

  • @rich5397
    @rich5397 3 роки тому +159

    Ay thanks for the great tutorial kid! You got a bright future ahead of you for sure! It's crazy how young you are, and you're already so incredible at coding

    • @RishabTeachesTech
      @RishabTeachesTech  3 роки тому +24

      Thank You So Much. Its comments like these that keep encouraging me :)

    • @shazzwand5533
      @shazzwand5533 3 роки тому +1

      @@RishabTeachesTech thanks for the video, what to write there in order to fill the form with random names ?

    • @pollos4157
      @pollos4157 3 роки тому +6

      @@shazzwand5533 Create an array filled with random name strings e.g. ["Mike", "David", "Hannah", "Katie" ...] then use random to generate a random index between 0 and the size of the array and then assign the name you want to write as the data at that array index e.g. Name = array[randomIndex].

    • @adanmessiah5206
      @adanmessiah5206 3 роки тому

      dunno if anyone gives a shit but if you're bored like me atm you can watch pretty much all of the latest movies and series on InstaFlixxer. Been watching with my brother for the last days xD

    • @kairodavian114
      @kairodavian114 3 роки тому

      @Adan Messiah definitely, have been watching on Instaflixxer for months myself :D

  • @paulleykamp
    @paulleykamp 3 роки тому +67

    This kid is probably gonna wind up automating my job, and that's really awesome.

    • @RishabTeachesTech
      @RishabTeachesTech  3 роки тому +1

      lol thanks :)

    • @RishabTeachesTech
      @RishabTeachesTech  3 роки тому +1

      @null Instead of clicking the submit button, you would get the xpath and click the "next page" button, and then continue like that

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

      HAHAHA! XD

  • @travishowell2016
    @travishowell2016 2 роки тому +14

    Friends, be advised: the attribute has changed from
    find_element_by_xpath(XPath)
    to
    find_element('xpath', XPath)
    Great video and great teaching! Thanks a ton @Rishab

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

      saviour!

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

      Hi Travis, thank you for the comment. But I'm unable to use the find element function, it always ends up in error.
      Can you help me with it?

    • @jaredalbin5658
      @jaredalbin5658 11 місяців тому

      Thank you, I just came across this issue now.

  • @notreallyme425
    @notreallyme425 Рік тому +5

    I have to admit, after listening for 2 seconds I realized this kid is probably 1/4 of my age and I was about to bail on the video. Turns out, it’s exactly what I needed and the best tutorial I could find on UA-cam on how to do this. Well done kid!

  • @AlfredGuimaz
    @AlfredGuimaz 2 роки тому +3

    Don't stop learning and growing. Us and thousands of other people used this to help our own lives. You're a bright, curious kid, never lose that part of your self. Thanks for the great video

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

    This is a fantastic tutorial! The pace is great and it's clear and consise. I 100% didn't expect it coming from someone of your age, which is an eye opener for me. Keep up the good work.

  • @hazelzenn
    @hazelzenn 3 роки тому +1

    I love how you also show the error messages you encountered and how you solve them. You inspire my to continue learning!!

  • @nuudlz5068
    @nuudlz5068 2 роки тому +3

    This video taught me more in 16 minutes than 3 weeks of courses! Well done!

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

    Fantastic! I've watched a bunch of python automation videos, and this is genuinely top tier. Thank you!

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

    You’re ability to clearly explain and teach these topics is incredibly impressive for any age. Thank you for the tutorial.

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

    I’m trying to make a bot to auto fill out a survey for my girlfriends collage project 400 times, and this was incredibly helpful. Iv watched plenty of coding tutorials and yours makes the most sense by far. Idk why but whatever your doing keep it up. Thank you

  • @z.r.777
    @z.r.777 2 роки тому +3

    I was like wow I'm learning so much... But the voice... Then realized a thirteen year old is teaching me.... I sit quiet and keep on learning... Well done

  • @m71k
    @m71k 2 роки тому +6

    When I started watching this video, I was like "Oh no, there's another TikTok kid speaking about web automation".
    But now I must clearly say that you have good programming skills and also good knowledge about all these surrounding factors like CSS and XPath. Also you know very well how to combine and present your knowledge. Not everybody knows how to do that.
    Respect, young man!

  • @alexmisiaszek6123
    @alexmisiaszek6123 2 роки тому +3

    Very impressive. It pisses me off how skilled you are at such a young age. This was an excellent video, very comprehensive.

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

    Really good explained. I can't believe you're this young and already so comfortable with python. You just got yourself a new subscriber. You have a bright future ahead of you!

  • @districtborn19
    @districtborn19 3 роки тому +1

    This was a really great tutorial!! I’ve learned more about python from you than I have from my book that I’m beginning.

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

    Honestly speaking you are a good teacher. I am doing my very first selenium code by seeing your video. Very nice video! keep going.

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

    For a young person you are an amazing orator and head and shoulders above the majority of tutorial makers. Clear, to the point and easy to follow.

  • @spartanadam3935
    @spartanadam3935 Рік тому +5

    I don’t know how old this kid is, but better than my peers at so many levels. I’d hire him in a heartbeat

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

    Love your tutorial! So simple and easy to understand! Great job! and THANK YOU!

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

    This is such a wonderful tutorial. I really appreciate the thorough instructions!

  • @michaelt7191991
    @michaelt7191991 3 роки тому +2

    This video was absolutely amazing!! Thank you so much! I'm going to try this for a work form.

  • @jacinthompeteye3037
    @jacinthompeteye3037 2 роки тому +2

    People are calling you a kid, I say you're a master, keep it up, it's amazing.

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

    Extremely professional. Great stuff, keep it up please. I teach and I haven't done web stuff with python, which I'm doing for myself, so I was looking for exactly this. Thanks.

  • @lw5795
    @lw5795 2 роки тому +2

    Brilliant! One of the best Python tutorials I've seen, thank you!

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

    Rishab, you are the man! Keep up the good work and enjoy a shining future.

  • @GemmaMeehan
    @GemmaMeehan 3 роки тому +1

    thank you so much for this video I've watched so many python tutorials and this is the only one that's helped me, it was very well explained and easy to follow :)

  • @carbonfe
    @carbonfe 3 роки тому +1

    You just blew my mind young man! Thank you for making this clear and easy to understand. You have a bright future ahead!

  • @Simon_Alexnder
    @Simon_Alexnder 2 роки тому +2

    "Yaaaaaaay!" Adoreable, kid. Never stop!

  • @billalexander949
    @billalexander949 3 роки тому +2

    Excellent video. Thanks for being so thorough and explaining your steps and thought process. Very helpful.

  • @yossirov
    @yossirov 3 роки тому +5

    This video is the best expiation way I ever watched !!.thank you so much

  • @mohammadaljadallah6542
    @mohammadaljadallah6542 2 роки тому +2

    You are the best lecturerr in our world, gold gift for your parents 💛💛

  • @ni_kabiu_john
    @ni_kabiu_john 2 роки тому +3

    Young man.. you have a great future ahead.. thanks for the teachings.. definitely sub

  • @football42241
    @football42241 3 роки тому +1

    Dude this is very awesome. And you did a great job at explaining this and moving at a good pace. Keep up the great work!

  • @ali1t
    @ali1t 3 роки тому +3

    Great Tutorial Rishab, keep up the phenomenal work! I'm definitely going to subscribe!

  • @diegomountain7177
    @diegomountain7177 2 роки тому +9

    Sound off if you're older than this instructor and you learned something. 🤣🤣

  • @Manish-nh5ok
    @Manish-nh5ok Рік тому +3

    you explain so well that i can understand all these stuffs verbally, without looking at the screen. you should definitely start a podcast!!

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

      thank you !! i've actually been interviewed on a podcast quite a while ago, but it would be a cool idea to start one too

  • @xer.g
    @xer.g 2 роки тому +1

    Gosh!! Thank you for an amazing video lesson. You are a great teacher! I'm so impressed :)

  • @dibendusarma3354
    @dibendusarma3354 2 роки тому +3

    U are not a kid ..you are genius ,

  • @rkem1000
    @rkem1000 2 роки тому +5

    Oh boy I’m learning a lot from this kid!

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

    This was an amazing tutorial, did almost exactly what I needed it to! and I was able to make the few minor adjustments required for it to function (the syntax for send keys is slightly different in whatever version of python I have I guess).
    (also commenting for the algorithm.)

  • @Tokomon
    @Tokomon 4 роки тому

    Thank you for making this! You have very clear and easy-to-follow way of teaching programming. Key up the good work!

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

    This is an awesome, insightful video! You're going to go far kid!

  • @luccasangpur6527
    @luccasangpur6527 3 роки тому +1

    Absolutely Brilliant! Good Job Mate 👍

  • @nelsonjoanpalaciovalencia9590
    @nelsonjoanpalaciovalencia9590 11 місяців тому +2

    Beautiful Rishab. Very much appreciated!

  • @felix6142
    @felix6142 3 роки тому +2

    Keep it up, you are great! Amazing tutorial btw!

  • @OnceIcaughtafiash
    @OnceIcaughtafiash 2 роки тому +3

    Wow! Seriously bright future for this kid! Great work

  • @handohanners
    @handohanners 3 роки тому +2

    This is phenomenally helpful and so well explained. Well done dude, extremely impressive

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

    Amazing video. Keep up the marvelous work and learning. You’re great.

  • @ninaphilippe
    @ninaphilippe 3 роки тому +1

    This is Awesome!! Keep up the good work!!

  • @huzaifataufiuq5124
    @huzaifataufiuq5124 2 роки тому +8

    Selenium has removed find_element_by_xpath command, you may instead use
    last = web.find_element("xpath", 'paste xpath here')

  • @valobhediya
    @valobhediya 3 роки тому +2

    Wow Rishab, you are so talented kid, the future of Tech giants. Keep learning! Greetings from India

  • @MateriTK
    @MateriTK 3 роки тому +5

    Wow, this is clear.
    Thank you.

  • @MrSketch212
    @MrSketch212 3 роки тому +2

    Amazing work! Thank you, keep it up

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

    Excellent video. Very clear and easy to understand. Well done.

  • @gauravk7343
    @gauravk7343 3 роки тому +1

    Amazing superb

  • @rahulhuilgol5928
    @rahulhuilgol5928 3 роки тому +2

    Thanks for this tutorial, Rishab. With this as a guideline, I was able to carry out the task of filling a form 900 times with different entries each time - something that was needed to be done at my workplace. I used Pandas and Numpy to read and iterate from the dataset I had to use. Cheers! Keep up the great work!

  • @Snoopdehond
    @Snoopdehond 3 роки тому +2

    Took me like 6 mins of video to realize I should be suscribed to your channel. Great Job buddy!

  • @vishnudixit7754
    @vishnudixit7754 3 роки тому +1

    wow! you honestly teach better than most adults!

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

    This was so well explained, I am amazed! Great job Rishab, keep up the good work and thank you for explaining everything so much into details, it was very easy to understand! 👏 P.s. you explained it even better than some assistants at university. 🙂

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

    Nice work and great video! Thank you! I'm sure you'll be a cool programmer

  • @TriNguyen-xi8ji
    @TriNguyen-xi8ji 2 роки тому +1

    Thank you. This is really helpful and easy to follow. Keep up the good work.

  • @user-lw9ui2zd6t
    @user-lw9ui2zd6t Рік тому +1

    Rishab, thamk you! This video really helps, it's awesome

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

    Great video Rishab. Keep it up.

  • @emotionaljackfruit
    @emotionaljackfruit 3 роки тому +3

    Awesome Tutorial!!! keep it up!

  • @chillquility
    @chillquility 3 роки тому

    Thank you this was just what I needed. Also the clearest explanation of what Regression Testing is I've ever heard. :D

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

    This is OP duh ♥️🔥

  • @leggolego3777
    @leggolego3777 3 роки тому +1

    I didnt watch the whole video, but its pretty good. Keep Up The Good Effort!

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

    Great tutorial, you have a bright future ahead of yourself!

  • @user-lw9hx6kk8q
    @user-lw9hx6kk8q Рік тому +3

    impressive, really impressive....

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

    Kid figured out life way too fast man xDDDD. Keep it up my man!

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

    Excellent tutorial kid. It was simple and easy to understand, you saved me.
    Thank you very much, keep with the great work.

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

    what if every form you're filling out is different? The xpath may be different for all of them (e.g. ./following-sibling::div//input instead of ./following-sibling::input).
    Is the only solution to add a lot of if statements in your code?

  • @tnulbhserf
    @tnulbhserf 3 роки тому +1

    Oh boy u're so smart and u helped me a lot i was getting frustrated and ur video made my program work

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

    Hi there! Your communication skill is amazing! Well done, dear kid!

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

    nice one!!! keep up the good work!!!

  • @renadf9693
    @renadf9693 3 роки тому

    keep up the great work, i'm learning from you :)

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

    Thanks, man -- you rock!

  • @ceciliachow7567
    @ceciliachow7567 3 роки тому +3

    Thank you for making this awesome tutorial, Rishab! You're so good at explaining things.
    May I ask how I could fill in a form with a date a few days later? Could you make a video for this?

  • @ruzen3803
    @ruzen3803 8 місяців тому

    This kid is awesome. Much love

  • @muhammadridho7680
    @muhammadridho7680 3 роки тому +2

    Man your explanation is very clear, Ur English is better than mine, also your not even older than my little brother, you really have a bright future kid, keep it up.

  • @shaunbritz8989
    @shaunbritz8989 3 роки тому +1

    Keep up the good work!!!

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

    Why my text is not changing color to blue like yours (sleep, send.key, find_element_by_xpath, click)
    Is this a problem when I run the program and it doesn’t work?

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

    Thank You Soooooo much! Sending love from Palestine

  • @toonice555
    @toonice555 11 місяців тому +1

    Great! Thank you very much

  • @caiwind9093
    @caiwind9093 7 місяців тому

    So cool!

  • @rayray7244
    @rayray7244 2 роки тому +4

    This kid is amazing!

  • @DavidBeloosesky
    @DavidBeloosesky 3 роки тому +2

    Hi Rishab, I like this tutorial very much. Very helpful!
    And of course, I'm impressed that you just 12 years old with so much information and knowledge

  • @user-fl7mi2bu8r
    @user-fl7mi2bu8r 3 роки тому +1

    dude! thanks, loved how you explained things

  • @temzeks
    @temzeks 3 роки тому +2

    For anyone struggling with chromedriver. It is not explained in the video for some reason. you will need to point to the path of chromedriver file in your system for the chrome to work on run.
    `service = Service('/path/local/bin/chromedriver')` something like this

  • @brianjester123
    @brianjester123 3 роки тому +1

    Well done!

  • @Dilloon
    @Dilloon 3 роки тому +2

    Really well made and helpful tutorial. Thanks! :)

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

    Thanks for your kind help and guidence ... please make another video as simple as this one... to cover all kind of web form automation, like, how to move mouse on screen , and how to set keyboard shortcuts and send keyboard keys... and how to open combo box and select option from it... and how to activate already open webpage. Thanks again

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

    Our Planet's next Super Nerd. Thank you so much you little Rockstar! 🚀💎👐

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

      He called you a bully he is my friend from school

  • @benjaminjose7354
    @benjaminjose7354 3 роки тому +1

    Thanks for the video, do you know if there is a way to capture the screenshots in selenium with the url ? When am capturing the screenshot the url is not included.. please help.

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

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

  • @DL-gg3sb
    @DL-gg3sb Рік тому +1

    Nice video.

  • @Kings.Official007
    @Kings.Official007 3 місяці тому

    Dear Master Rishab, Thank you very much for your wonderful presentation and all the very best for your future endeavours. I've seen your thanking video of 10000 subscribers...Kudos to that. May Lord Krishna Bless you to achieve all the success in your life and May your Dreams Come True. I hope you can establish a company like Infosys or TCS.

  • @jonbaptiste182
    @jonbaptiste182 3 роки тому +1

    awesome stuff young man, keep it up

  • @anasahmadahmad3783
    @anasahmadahmad3783 3 роки тому +1

    Good job!