No video

Advanced Python Programming: Browser Automation with Selenium

Enroll in The Complete Python Programming Bootcamp! www.udemy.com/...
Become a Member on TheCodex for FREE and jumpstart your career - thecodex.me
Advanced Python Programming Tutorials! Check out my latest video on Browser Automation with Selenium. We'll understand what Selenium is, how to install the webdriver and the various functions involved. We'll learn about finding elements, clicking and entering in text into fields through Selenium!
► SIGN UP ON THECODEX TODAY! www.thecodex.me/
► THECODEX BLOG: blog.thecodex.me/
► TWITTER: / thecodexme
► FACEBOOK: / thecodexme
♦♦♦♦♦♦♦♦♦♦
THECODEX is a company focused on empowering and enabling anyone to learn how to code. Established in 2015 by Avinash Jain, THECODEX has taught over 600,000 students around the world how to code. With over 16 programming courses on a wide variety of topics, and more than 20,000 5-Star reviews, THECODEX is the right choice for you.
We provide engaging and comprehensive videos that break down complex information and cover everything you need to know about the subject. All students get access to our Q/A forums where you can get your doubts and problems cleared up. At the end of every course, you will receive a certificate of completion.
Jumpstart your Coding Journey with THECODEX today!
♦♦♦♦♦♦♦♦♦♦
Music: Flash Funk (Marshmello)

Пікірлер: 316

  • @TheCodex
    @TheCodex5 жыл бұрын

    Interested in learning more about Selenium? Enroll in TheCodex and take our Rapid Web Automation course that covers Selenium in-depth! thecodex.me/courses/python-selenium

  • @CrypticConsole

    @CrypticConsole

    5 жыл бұрын

    I'm using selenium to automate homework. That kinda beats the purpose.

  • @CrypticConsole

    @CrypticConsole

    5 жыл бұрын

    / works on windows too.

  • @v.akamaleshpathy3408

    @v.akamaleshpathy3408

    4 жыл бұрын

    how to open the browser on a specific port like 8080 (i.e localhost)

  • @simplematters4893

    @simplematters4893

    4 жыл бұрын

    TheCodex this is the best video I’ve seen. Change you thumbnail, this video is by far the bast but the thumbnail looks spammy.

  • @jeralgaming853

    @jeralgaming853

    4 жыл бұрын

    I need this cource for free pls

  • @FLWVideosYT
    @FLWVideosYT4 жыл бұрын

    Excellent video. This is exactly what I was looking for. It is crazy that it is so hard to find tutorials like this

  • @nazaka9904

    @nazaka9904

    3 жыл бұрын

    Agree with you

  • @rock3tcatU233
    @rock3tcatU2334 жыл бұрын

    Wow, this will make writing malware so much easier. Thx!

  • @forestriver437

    @forestriver437

    4 жыл бұрын

    😂😂😂

  • @tarunalakhramsing7861

    @tarunalakhramsing7861

    4 жыл бұрын

    I made a discord nitro gift card checker 😂 It’s super easy

  • @blaccy5991

    @blaccy5991

    4 жыл бұрын

    @@tarunalakhramsing7861 WAIT THATS WRONG!!!... but umm... could you maybe.. i dont know explain how ;)

  • @tarunalakhramsing7861

    @tarunalakhramsing7861

    4 жыл бұрын

    AfroDoodle 😂 sorry can’t tell u but it’s really easy

  • @athstudent4434

    @athstudent4434

    3 жыл бұрын

    lol can u actually do that...I gotta learn this!

  • @timmarkbaker
    @timmarkbaker5 жыл бұрын

    Brilliant. Focused on one topic, clear and just the right pace. Thank You

  • @ThomasHauck
    @ThomasHauck6 жыл бұрын

    Hi Avinash, Thanks for reaching out to me and taking the time to explain the technology of Selenium and Browser Automation with Python.

  • @Rob-ms6bi
    @Rob-ms6bi5 жыл бұрын

    Great video man, nice to someone who doesn't rush through the code to try and look smart at the expense of the learner. Well explained.

  • @shakilhaque1822
    @shakilhaque18224 жыл бұрын

    THANK YOU SO MUCH!!!! iv spent just over a week and NO youtube videos explained the whole send_keys,click, find_element_by. functions and how it actually works. 10/10 from you sir!

  • @fog-sz8di
    @fog-sz8di6 жыл бұрын

    great! i can automate my job search now.

  • @AtariWow

    @AtariWow

    3 жыл бұрын

    2 years later, and I think web scraping would have been more useful for that.

  • @LarryLesPaul
    @LarryLesPaul4 жыл бұрын

    This is amazing, I would love to use this for automate daily voting for my company, it will save me time and I won't have to remember it all the time. Thank you!

  • @TheCodex
    @TheCodex6 жыл бұрын

    Take your skills one step further with The Complete Python Programming Bootcamp! www.thecodex.me/python-bootcamp Join THECODEX today! www.thecodex.me

  • @0Apostata0
    @0Apostata04 жыл бұрын

    Perfect, some stackoverflow searching and I got it working on fedora! Thank you. ( in case anyone needs the info, in linux you have to copy the driver file into your users '/bin' directory and run chmod, then you just use 'webdriver.(), without the file path)

  • @peacemekka

    @peacemekka

    3 жыл бұрын

    you can have it anywhere on your computer if you just specify the full path to it inside braces. The chmod part is necessary though.

  • @disruptityourself
    @disruptityourself5 жыл бұрын

    Just a little thing but since this is a lesson, searchBar is mixedCase and not technically Pythonic. On a more positive note thank you so much for really helping me understand this with such a good, concise overview! I know it's a year old but seriously it did the trick for me.

  • @supernova687
    @supernova6874 жыл бұрын

    This is one of the most easiest to understand and bests videos I've ever seen for some technical tutorials. Thank you so much! You helped me a lot :D

  • @COK-uk6jd
    @COK-uk6jd4 жыл бұрын

    GREAT video, Really well explained and i am amazed at how short this video is but yet has so many valuable information. You really broke it down into understandable pieces!

  • @TheCodex

    @TheCodex

    4 жыл бұрын

    Glad it was helpful!

  • @sanzay.
    @sanzay.4 жыл бұрын

    PROBLEMS I ENCOUNTERED AND RESOLVED: 1. Python Console wasn't working at first because there was some package problem so I uninstalled everything and updated it Pycharm to 20.1. 2. The command to open the browser using selenium should have been this: browser = webdriver.Chrome('C:\Program Files\chromedriver.exe') [note: after ' add location wherever the chromedriver.exe is stored then add\chromedriver.exe '] to locate successfully.

  • @CDAmG
    @CDAmG5 жыл бұрын

    Your enthusiasm is contagious. Good job.

  • @jpsainsbury55
    @jpsainsbury554 жыл бұрын

    great video, very clear thanks. I've been introduced to Selenium and webdrivers on a project, this video has filled a few holes in my knowledge

  • @Ianick87
    @Ianick87 Жыл бұрын

    That's the kind of content I love! Direct and informative! Great job!

  • @wuiqed
    @wuiqed5 жыл бұрын

    What did he call the slashes at 5:02? "Wagwag"?

  • @ZillerehmanTayyab

    @ZillerehmanTayyab

    4 жыл бұрын

    nice focus with good point have a great listing power

  • @Dichill
    @Dichill5 жыл бұрын

    If your own pycharm you can simply go to File > Settings > Project : (Folder Name) > Project Interpreter > Click the + Button > Search for Selenium > Install > Finished

  • @tomashutnan5665
    @tomashutnan56654 жыл бұрын

    This is gold, I've been looking for something like this for ages!

  • @samsonbelario
    @samsonbelario5 жыл бұрын

    wow! mehn you just made things easy for me, currently working on an automation script and wanted to add some selenium headless browsing and this video really helped, thanks bro

  • @kv7164
    @kv71645 жыл бұрын

    Never doing taxes manually again, you could potentially make an E-commerce platform that runs itself, access and send emails, access banks, everything.

  • @DurgeshMishrablog
    @DurgeshMishrablog6 жыл бұрын

    Such a useful content. Thank you for sharing knowledge. Cheers

  • @erjonameti1066
    @erjonameti10664 жыл бұрын

    Finally my script is running Thanks man

  • @admiralmudkip9836
    @admiralmudkip98364 жыл бұрын

    Just out of curiousity if I wanted to, say, delete my browser history every 5 days or really any similar interval, how would I go about doing so?

  • @OrgBrent

    @OrgBrent

    4 жыл бұрын

    Use the chrome browser for the browser selenium uses, afterwards look at the link the chrome browser settings uses, I think it was chrome://settings or something along those lines. Afterwards check the code in F12 and just follow the guide I guess. I'm really new to programming but this sounds like the logic solution. Hope I helped!

  • @OrgBrent

    @OrgBrent

    4 жыл бұрын

    Actually, look for a web scraping guide with selenium, might help you out a bit more

  • @MusiQ8dict

    @MusiQ8dict

    3 жыл бұрын

    you could do that but DOM structure of chrome history page is too complicated and it does have shadow dom

  • @arcanerstudios
    @arcanerstudios5 жыл бұрын

    Thanks for the quick useful tutorial.

  • @mikhailkuzmin2431
    @mikhailkuzmin24315 жыл бұрын

    Thank you! Very clear.

  • @MrAirsunny
    @MrAirsunny4 жыл бұрын

    how do you get your mac to trust the driver, it says it does not know the developer so it wont open

  • @csicee

    @csicee

    4 жыл бұрын

    unzip the file

  • @nothingiseverperfect
    @nothingiseverperfect4 жыл бұрын

    Me: *knows nothing about coding or python* Me: *oh sure I’ll watch this video*

  • @melih_cob

    @melih_cob

    4 жыл бұрын

    Could be my words 😂☻

  • @gordontang7837

    @gordontang7837

    4 жыл бұрын

    Constant learning! Good for you

  • @8.8.8.8

    @8.8.8.8

    4 жыл бұрын

    @@DeveshKhare89 no bobs for you

  • @2137xd

    @2137xd

    4 жыл бұрын

    @@8.8.8.8 LMFAOOOOOOOO

  • @AtariWow

    @AtariWow

    3 жыл бұрын

    @@DeveshKhare89 I doubt that is them

  • @tarunalakhramsing7861
    @tarunalakhramsing78614 жыл бұрын

    Selenite is really good using it i was able to automate a part of my daily routine

  • @name2103
    @name21034 жыл бұрын

    Thanks, I am really excited about Selenium, great video

  • @zeeshanqureshi9252
    @zeeshanqureshi92525 жыл бұрын

    Salute to you Sir.. for Extraordinary Explanation and for saving time. Thanks and Love you.... BTW, i liked your voice.

  • @moveonvillain1080
    @moveonvillain10802 жыл бұрын

    WOW , I MEAN IT, WOW This is so much hassle free than using bs4

  • @Karen-pv6gt
    @Karen-pv6gt4 жыл бұрын

    Is there a way to automate this at specific time of a day?

  • @moazelsawaf2000
    @moazelsawaf20005 жыл бұрын

    Thanks a lot sir ❤️ your flow in explanation is great ❤️

  • @imtiazshahed944
    @imtiazshahed9445 жыл бұрын

    great video and a nice description. where can I find your web scraping tutorial? thank you.

  • @miscellaneouscrux
    @miscellaneouscrux4 жыл бұрын

    ¡AAAL FIIIN ALGUIEN QUE EXPLICA BIEN LA WEAAAAAAAAAAAAAAAAA!, awesome video duddeeeee, the best explanation!!

  • @samanthaperez1356

    @samanthaperez1356

    4 жыл бұрын

    Chileno weon

  • @andreasholtmann5311
    @andreasholtmann53114 жыл бұрын

    Great tutorial! Short, very well chosen content! Go ahead!!

  • @peacefulwater9689
    @peacefulwater96894 жыл бұрын

    I've found on stack overflow that you can simply put geckodriver.exe into your python path folder near python.exe (in my case it's "C:\Users\Name\AppData\Local\Programs\Python\Python38-32"). This way you can write webdriver.Firefox() rather than webdriver.Firefox("path to gecko.exe")

  • @arekifsimpang9092

    @arekifsimpang9092

    4 жыл бұрын

    Can you link me to that?

  • @peacefulwater9689

    @peacefulwater9689

    4 жыл бұрын

    @@arekifsimpang9092 I don't really remember anymore which one it is, but perhaps it's this one stackoverflow.com/questions/44814959/working-with-gecko-driver-using-python Probably the last comment with "You can simply unzip the geckodriver and put geckodriver.exe in C:\PythonXX and you are good to go" By the way the path that I've mentioned, "C:\Users\Name\AppData\Local\Programs\Python\Python38-32", is in my environment 'Path' variable

  • @arekifsimpang9092

    @arekifsimpang9092

    4 жыл бұрын

    @@peacefulwater9689Thanks a lot for your help.

  • @vivekbansal7207
    @vivekbansal72074 жыл бұрын

    You taught really well but please make full videos it's just one part of selenium.

  • @gbengastephen4604
    @gbengastephen46044 жыл бұрын

    Great video! Thank you!

  • @TheCodex

    @TheCodex

    4 жыл бұрын

    Thanks!

  • @lucasofficial
    @lucasofficial5 жыл бұрын

    Very interesting, I'm very new to the python world and wanting to learn more! I'm currently aiming to create a piece of website automation software

  • @jameshunt1822
    @jameshunt18223 жыл бұрын

    Infac Thank you for rushing through and getting to the point

  • @daniel_testhimes7670
    @daniel_testhimes76705 жыл бұрын

    Thank you, you just made a horrable job soooo much better for me!!

  • @SamFerndz
    @SamFerndz4 жыл бұрын

    Fantastic video, did this in a few minutes

  • @praisong7475
    @praisong74754 жыл бұрын

    Always wanted to learn this. Thanks for the great content. Keep it up :)

  • @sameerk12982
    @sameerk129824 жыл бұрын

    Thank you for the great tutorial.....appreciated...... One question > what to do when right click is disabled on web page and you can not read element id or xpath....how to excess elements then? Please reply if you know anything about this.

  • @PurpleLemonade.

    @PurpleLemonade.

    4 жыл бұрын

    Most websites disable right-clicking through javascript. Disabling javascript should, in theory, allow you to right click again. You can accomplish this by checking your browsers settings, you might find the option, or simply by installing the Ublock Origin add-on, which lets you enable/disable javascript at anytime. You can also just press f12, and the inspector will come up. Clicking each element's code will highlight said element on the webpage, so you can tell youre looking at the right one. Hope it helps!

  • @sameerk12982

    @sameerk12982

    4 жыл бұрын

    @@PurpleLemonade. Thank you very much for your suggestions..will look into it.

  • @rajeevmenon1975
    @rajeevmenon19752 жыл бұрын

    Hi. Can you tell me how to enable the user to read captcha and OTP and manually enter the data which can be used to log into the system?

  • @hrishabhgoel6876
    @hrishabhgoel68762 жыл бұрын

    Hi, amazing video. Thanks a lot! Just a quick question, we can also use the click function we used earlier to trigger the enter for the search bar, right?

  • @Zack-ni3vz
    @Zack-ni3vz2 жыл бұрын

    do you know, how to automate multiple choice questions using selenium python? where the questions change every time the course is opened

  • @gustavovelasquez1066
    @gustavovelasquez10666 жыл бұрын

    This is awesome dude

  • @nand2005
    @nand20054 жыл бұрын

    Selenium works only when webscraping is allowed which is not the case in many cases and need pyautogui to rescue the situation.

  • @ChillingSpartan
    @ChillingSpartan6 жыл бұрын

    Thanks for this short tutorial about Selenium. Is there anything in Selenium how I can access a datepicker field?

  • @praveenbalasubramanianplus
    @praveenbalasubramanianplus6 жыл бұрын

    This is a great introduction material. Thanks lot !

  • @niklasopf
    @niklasopf4 жыл бұрын

    Awesome introduction. Keep up the great work!

  • @buddybob5502
    @buddybob55024 жыл бұрын

    straight up godly man

  • @daffasiregar9279
    @daffasiregar92794 жыл бұрын

    Thank you so much for the tutorial

  • @marlegagaming1274
    @marlegagaming12744 жыл бұрын

    Very helpful video, subscribed ❤

  • @luis96xd
    @luis96xd3 жыл бұрын

    Excellent video, it was well explained! Thanks 😄

  • @gangfang8807
    @gangfang88074 жыл бұрын

    Damn it, short and sweet nice job buddy!!

  • @RahulSinha15
    @RahulSinha154 жыл бұрын

    Which IDE should I use on windows for this auto complete feature like "browser.find..."? Tried with SublimeText & Spyder but it doesn't show suggestions like this.

  • @malamhari_
    @malamhari_4 жыл бұрын

    On Windows if you using firefox, after extracting geckodriver move/copy it to python parent directory. It's easier so you don't have to write on scripts like : webdriver.Firefox(directory)

  • @Jerry-fy4md

    @Jerry-fy4md

    3 жыл бұрын

    how?

  • @alerey4363
    @alerey43634 жыл бұрын

    Hi, very useful, but can I use Selenium to parse a continuous dynamic changing section in a browser window? With the covid pandemia I need to implement a customer service webchat and try to make a python bot to direct customers in several problems they encounter, so I need to detect the text they enter line by line in a continuos way (.i.e. frame or css section of the main window) and respond to their questions, thanks!

  • @josereynelchauxperez947
    @josereynelchauxperez9476 жыл бұрын

    Excelente material, muchas gracias !!!

  • @nolanlautrette8779
    @nolanlautrette87794 жыл бұрын

    Quick question - so once I create a webbot, how easy is it to publish/deploy the bot such that other people can install and use it?

  • @faiz181
    @faiz1814 жыл бұрын

    Hi, how would you deploy using this technology so multiple non-technical people across a team can then start using automations?

  • @Lu_Ca
    @Lu_Ca5 жыл бұрын

    I wish it lasted longer :) hoping for a Seleenium in practice playlist

  • @timtom3403
    @timtom34034 жыл бұрын

    i have some doubts ,i had watched your python web automation video,i tried to automate google meet,everything is working well except when i join the meet with the join id,i switch to the child node correctly and interacted with evry element,algood,except the alert box on the chld window can not be closed,it says no such alert,the alert requests for cam mic permission whcih in want to dismiss,Stuck for two days? used wait methods,keybaord escape button, too still no luck?any suggestion?

  • @user-mt1hg6lr1z
    @user-mt1hg6lr1z2 жыл бұрын

    Selenium is being detected by cloudflare. A lot of sites just refuse to normally load when browser is being controlled by selenium. Therefore i want to know if there is any way to automate browser without using any selenium or programs with that functionality. There are also windows automation tools but i am not sure about how to use them as replacement of selenium.

  • @deepakarthikeyan3109
    @deepakarthikeyan31094 жыл бұрын

    Informative video.thanks for sharing

  • @DRocksRecords
    @DRocksRecords4 жыл бұрын

    Thanks thats awesome man!! Been having a pain automating with pure AutoHotkey scripts lol

  • @youriwatson
    @youriwatson Жыл бұрын

    Really cool, thanks!

  • @fokcem
    @fokcem Жыл бұрын

    find.element_by_link_text is somehow not supported by selenium. Only find_element and find_elements

  • @rhhcreole
    @rhhcreole3 жыл бұрын

    great video man, any way to speed up selenium scripts? seems to run slow even without waits

  • @winatasyahputra2031
    @winatasyahputra20314 жыл бұрын

    Dude, thanks a lotttt, this is what i loking forrrr.

  • @adityaray9415
    @adityaray94154 жыл бұрын

    Hi Avinash, Thanks for this Amazing Video. Meanwhile can you please tell me how can I build a Python App which opens a Website and logins automatically from the DATA Provided from FORMS or DATABASE, Please tell me the Technique only. Thanks You

  • @deshxbm
    @deshxbm3 жыл бұрын

    FANTASTIC!

  • @lilnate6867
    @lilnate68674 жыл бұрын

    Dude legit thankyou

  • @juanhairabedian3546
    @juanhairabedian35463 жыл бұрын

    Esto era exactamente lo que estaba buscando. Muchas gracias por ahcer este contenido

  • @andrefrosch3498
    @andrefrosch34985 жыл бұрын

    AWESOME! is there a way to run a script only online? say embedded in my website to run such a script for a 3rd like a customer that comes to my site klicks on the button on my site and I set in the words into the searchbar like shown here? Thanks

  • @levietkhuong6264
    @levietkhuong62644 жыл бұрын

    Thank you sssssso much. I can install pip until saw this video

  • @lucasgaldino9678
    @lucasgaldino96783 жыл бұрын

    is there a way in selenium to just send the key Enter without using an element?

  • @dw0x
    @dw0x4 жыл бұрын

    Can you execute a script on an open browser session from that console you're using?

  • @yashrastogi3726
    @yashrastogi37264 жыл бұрын

    why this video has such low views . you should create a complete playlist on selenium.

  • @seohelpers5013
    @seohelpers50135 жыл бұрын

    Amazing resource!!

  • @franklee1780
    @franklee17804 жыл бұрын

    is there anyway to clear the default form text before input values in?

  • @elhamaryanpur
    @elhamaryanpur5 жыл бұрын

    Thank You Brother!

  • @debasismohanty221
    @debasismohanty2214 жыл бұрын

    Hey I have installed selenium by using pip install selenium and chromedriver.but after that get() is not working.it is working on import webbrowser. Any suggestions ?

  • @pouyarezaeinia5646
    @pouyarezaeinia56464 жыл бұрын

    Great video, good job

  • @hexatested
    @hexatested5 жыл бұрын

    Finally i can submit Excel sheets to webpages, without macro. 😉

  • @arjunbhaduri1469
    @arjunbhaduri14694 жыл бұрын

    Amazing energy

  • @neerajkumar_21
    @neerajkumar_214 жыл бұрын

    Can you please share the codes on GitHub. It will be a lot of help

  • @geetikakalra1
    @geetikakalra14 жыл бұрын

    Hi, I have used selenium to automate web browser activity and using Chrome browser at work. My browser version got updated which I can't control basically(admin controlled) I need to update the driver version also. Is their a way out to solve this? To update driver everytime how can we handle this?

  • @blitxwhx_x
    @blitxwhx_x5 жыл бұрын

    You are amazing. Thank you my good sir

  • @bjornpersson5944
    @bjornpersson59444 жыл бұрын

    Hi there. You know you should never ever use sudo with pip, right?

  • @EarlWallaceNYC
    @EarlWallaceNYC4 жыл бұрын

    I love your rapid-fire style. Thanks for the video. It was very helpful.

  • @starlitewalker8827
    @starlitewalker88273 жыл бұрын

    How can i work with selenium from python console? it returns me this error when trying to install File "", line 1 pip install selenium ^ SyntaxError: invalid syntax

  • @KillerKotHD
    @KillerKotHD6 жыл бұрын

    HI there, great tutorial, can you help me, how do i open a chrome profile on selenium with this code, i dont want a clean chrome, i want my custom chrome profile on this so its less painfull to deal with passwords etc.

  • @jacobcohen6610

    @jacobcohen6610

    4 жыл бұрын

    Please let me know if you've figured this out.

  • @havefun2632
    @havefun26324 жыл бұрын

    many thanks