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
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
5 жыл бұрын
I'm using selenium to automate homework. That kinda beats the purpose.
@CrypticConsole
5 жыл бұрын
/ works on windows too.
@v.akamaleshpathy3408
4 жыл бұрын
how to open the browser on a specific port like 8080 (i.e localhost)
@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
4 жыл бұрын
I need this cource for free pls
Excellent video. This is exactly what I was looking for. It is crazy that it is so hard to find tutorials like this
@nazaka9904
3 жыл бұрын
Agree with you
Wow, this will make writing malware so much easier. Thx!
@forestriver437
4 жыл бұрын
😂😂😂
@tarunalakhramsing7861
4 жыл бұрын
I made a discord nitro gift card checker 😂 It’s super easy
@blaccy5991
4 жыл бұрын
@@tarunalakhramsing7861 WAIT THATS WRONG!!!... but umm... could you maybe.. i dont know explain how ;)
@tarunalakhramsing7861
4 жыл бұрын
AfroDoodle 😂 sorry can’t tell u but it’s really easy
@athstudent4434
3 жыл бұрын
lol can u actually do that...I gotta learn this!
Brilliant. Focused on one topic, clear and just the right pace. Thank You
Hi Avinash, Thanks for reaching out to me and taking the time to explain the technology of Selenium and Browser Automation with Python.
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.
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!
great! i can automate my job search now.
@AtariWow
3 жыл бұрын
2 years later, and I think web scraping would have been more useful for that.
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!
Take your skills one step further with The Complete Python Programming Bootcamp! www.thecodex.me/python-bootcamp Join THECODEX today! www.thecodex.me
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
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.
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.
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
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
4 жыл бұрын
Glad it was helpful!
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.
Your enthusiasm is contagious. Good job.
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
That's the kind of content I love! Direct and informative! Great job!
What did he call the slashes at 5:02? "Wagwag"?
@ZillerehmanTayyab
4 жыл бұрын
nice focus with good point have a great listing power
If your own pycharm you can simply go to File > Settings > Project : (Folder Name) > Project Interpreter > Click the + Button > Search for Selenium > Install > Finished
This is gold, I've been looking for something like this for ages!
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
Never doing taxes manually again, you could potentially make an E-commerce platform that runs itself, access and send emails, access banks, everything.
Such a useful content. Thank you for sharing knowledge. Cheers
Finally my script is running Thanks man
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
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
4 жыл бұрын
Actually, look for a web scraping guide with selenium, might help you out a bit more
@MusiQ8dict
3 жыл бұрын
you could do that but DOM structure of chrome history page is too complicated and it does have shadow dom
Thanks for the quick useful tutorial.
Thank you! Very clear.
how do you get your mac to trust the driver, it says it does not know the developer so it wont open
@csicee
4 жыл бұрын
unzip the file
Me: *knows nothing about coding or python* Me: *oh sure I’ll watch this video*
@melih_cob
4 жыл бұрын
Could be my words 😂☻
@gordontang7837
4 жыл бұрын
Constant learning! Good for you
@8.8.8.8
4 жыл бұрын
@@DeveshKhare89 no bobs for you
@2137xd
4 жыл бұрын
@@8.8.8.8 LMFAOOOOOOOO
@AtariWow
3 жыл бұрын
@@DeveshKhare89 I doubt that is them
Selenite is really good using it i was able to automate a part of my daily routine
Thanks, I am really excited about Selenium, great video
Salute to you Sir.. for Extraordinary Explanation and for saving time. Thanks and Love you.... BTW, i liked your voice.
WOW , I MEAN IT, WOW This is so much hassle free than using bs4
Is there a way to automate this at specific time of a day?
Thanks a lot sir ❤️ your flow in explanation is great ❤️
great video and a nice description. where can I find your web scraping tutorial? thank you.
¡AAAL FIIIN ALGUIEN QUE EXPLICA BIEN LA WEAAAAAAAAAAAAAAAAA!, awesome video duddeeeee, the best explanation!!
@samanthaperez1356
4 жыл бұрын
Chileno weon
Great tutorial! Short, very well chosen content! Go ahead!!
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
4 жыл бұрын
Can you link me to that?
@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
4 жыл бұрын
@@peacefulwater9689Thanks a lot for your help.
You taught really well but please make full videos it's just one part of selenium.
Great video! Thank you!
@TheCodex
4 жыл бұрын
Thanks!
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
Infac Thank you for rushing through and getting to the point
Thank you, you just made a horrable job soooo much better for me!!
Fantastic video, did this in a few minutes
Always wanted to learn this. Thanks for the great content. Keep it up :)
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.
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
4 жыл бұрын
@@PurpleLemonade. Thank you very much for your suggestions..will look into it.
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?
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?
do you know, how to automate multiple choice questions using selenium python? where the questions change every time the course is opened
This is awesome dude
Selenium works only when webscraping is allowed which is not the case in many cases and need pyautogui to rescue the situation.
Thanks for this short tutorial about Selenium. Is there anything in Selenium how I can access a datepicker field?
This is a great introduction material. Thanks lot !
Awesome introduction. Keep up the great work!
straight up godly man
Thank you so much for the tutorial
Very helpful video, subscribed ❤
Excellent video, it was well explained! Thanks 😄
Damn it, short and sweet nice job buddy!!
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.
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
3 жыл бұрын
how?
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!
Excelente material, muchas gracias !!!
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?
Hi, how would you deploy using this technology so multiple non-technical people across a team can then start using automations?
I wish it lasted longer :) hoping for a Seleenium in practice playlist
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?
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.
Informative video.thanks for sharing
Thanks thats awesome man!! Been having a pain automating with pure AutoHotkey scripts lol
Really cool, thanks!
find.element_by_link_text is somehow not supported by selenium. Only find_element and find_elements
great video man, any way to speed up selenium scripts? seems to run slow even without waits
Dude, thanks a lotttt, this is what i loking forrrr.
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
FANTASTIC!
Dude legit thankyou
Esto era exactamente lo que estaba buscando. Muchas gracias por ahcer este contenido
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
Thank you sssssso much. I can install pip until saw this video
is there a way in selenium to just send the key Enter without using an element?
Can you execute a script on an open browser session from that console you're using?
why this video has such low views . you should create a complete playlist on selenium.
Amazing resource!!
is there anyway to clear the default form text before input values in?
Thank You Brother!
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 ?
Great video, good job
Finally i can submit Excel sheets to webpages, without macro. 😉
Amazing energy
Can you please share the codes on GitHub. It will be a lot of help
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?
You are amazing. Thank you my good sir
Hi there. You know you should never ever use sudo with pip, right?
I love your rapid-fire style. Thanks for the video. It was very helpful.
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
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
4 жыл бұрын
Please let me know if you've figured this out.
many thanks