Bieng a CCNA aspirant i am too happy to listen when Tino Sir says "I am not a programmer guy i grew up with switch routers and firewaalls" literally touch my heart.... keep up the great work sir
We are fortunate that we are living in an era where teacher like Hitesh is teaching us. Sir your quality of teaching is awesome. Love from bhubaneswar, India.
This is honestly the best most simple tutorial on this subject! I am going to be watching all of your Python tutorials, I am a statistician who has switched away from R to Python and your videos are the perfect introduction to self learn on any topic. Thank you so much for your time in making these!
I 1000% percent agree with you. If you cannot show students how you can do practical things with programming they get bored. Simple data in/out is not satisfying. Show them how to webscrape a site to check prices of their favorite shoes. That is a real application that is satisfying and can make you money!
Just finished 4 years of computer science in college and probably 99% of it was just boring stuff. I feel like they could inspire their students to be passionate about code if they taught cool things like what you're teaching, but instead they just make students do boring projects year after year. Great video!
I've been struggling to learn Python for exactly that reason - boring boring boring. Finally I learned that this is the way to go: pick a fun project and then learn what you need to accomplish it. Thanks for the great videos!
im so glad i found this. I do a lot of inputting in my current job, so i am trying to create a program where i can have all my work inputted automatically. This is a great first step. thanks so much.
Actually it's much easier to just install the Selenium IDE extension to your Chrome/Firefox browser, record what you are doing, then export it to Python code and work from there. The generated Python code: driver.find_element(By.NAME, "search_query").click() driver.find_element(By.NAME, "search_query").send_keys("selenium") driver.find_element(By.NAME, "search_query").send_keys(Keys.ENTER)
finally a real video worth watching , i enjoyed my ds course and now for reward i will do this , ps : all my friend are doing web dev and i didn't want that so selenium helped
Ho-ly shit I had no idea this was possible, I'm using Cypress in Gitlab CI, combined with a Python script which notifies our team if a test fails. But you're telling me I can ditch Cypress and code everything myself? You're effing right, this is what makes programming EPIC. Doesn't surprise me I was already subscribed to this channel. Thanks a lot!
Thanks You Sir. I'm A 13 Years old Programmer In Python. And your tutorials are the best. Not because the video is good, interesting, or Informative. Yes, Of course the video is Really Informative, Useful and everything but beacause you thought me what programming actually is. Thank You Very Much.😇😇😇🙂🙂
This video is absolutely amazing and has really helped me alot. I haven't added a comment yet so I just want to say that this video has helped me so much and I would recommend it to anyone who wants to learn Web automation in python! Thank you so much! Edit: For firefox driver = webdriver.Firefox() works.
Brooo thank you very much for this, I wanted to automate some tasks for a long time and with this knowledge I finally managed to do it, have an amazing day!
Hitesh! I've spent my time doing competitive programming, I just learned piles of useless theory and programmed just to analyze data. I lost all motivation to program and actually began to hate computer science. You have reignited my interest in programming again! I haven't felt this way in a very long time
Good ... But I want to know how can I perform selenium automation on Current web browser (without opening another chrome Tab separately for selenium ) Thanks in advance ...
Great topic and video. Thank you very much. Really needed this as I want to know how to apply what I’m learning and have fun, including with automation, and not just be “dry” about it. Looking forward to learning more from you great job!
Please Hitesh sir. Make more videos on web automation with python because the way you teach us is very simple and understanding. Please make more videos. As I am a software tester and using Java but wanted to move with python automations. And your tutorial is what makes me excited to do it. Please sir it's my humble request.
In case you get an error such as webdriver must be added to the path ecc, in our current system which is windows 10, search view advanced system settings then click on Environment Variables, later click to the path and add the path that your webdriver is located, as an example if my files are to be in a file called WebDrivers on my desktop I am supposed to add this line " C:\Users\dro_m\Desktop\WebDrivers " , finally restart your computer so that your pc can recognize the path.
If you are getting error after installing everything correctly. There can be 2 possibilities: 1. you have wrote 'find_elements_by_xpath' instead of 'find_element_by_xpath'. 2. You must copy full xpath instead of xpath. ( xpath Doesn't work for me and generates error: element not iteractable) BTW anyone of 514 comments have not encountered this error . This means either they know this or they havent tried this in IDE oR Paid comments ( I hope thats not the case).
I also had to use the full xpath, thanks for the recommendation ! As I searched a lot of things n internet to be able to do this small tutorial, I discovered that instead of searchbox.click(), we can use the 2 lines of codes below to get the same effect: from selenium.webdriver.common.keys import Keys searchbox.send_keys(Keys.RETURN) Who knows, this might be useful to someone one day :)
If anybody has an issue where there is no inputting into the search box (possibly due to slow internet), you can add the code inside the brackets { # How long you want to wait for delay = 50 # Making a wait variable for the WebDriver wait = WebDriverWait(driver, delay) # It will wait until all elements are on the screen OR it passes the delay time wait.until(EC.visibility_of_all_elements_located) } You can add this right after the line, { driver.get('youtube.com') }
Its simple for a master like you, but its awesome for a guy like to who bring more productivity with such awesome code. That was an really interesting tutorial Hitesh. Thanks for sharing it.
"If you take out the fun, it's not fun anymore" wise words indeed.
Indeed, "if you take out all the fun, whats gone leftover gonna be Notfun"
just wanted to state this ... i am amazed :D
Yes, "There is no fun, without fun."
Every 60 seconds in Africa, a minute passes.
It's same applicable for life...
Bieng a CCNA aspirant i am too happy to listen when Tino Sir says "I am not a programmer guy i grew up with switch routers and firewaalls" literally touch my heart.... keep up the great work sir
We are fortunate that we are living in an era where teacher like Hitesh is teaching us. Sir your quality of teaching is awesome. Love from bhubaneswar, India.
Bro i am frm khordha
couldn't agree more, i've just subscribed!
Bro from Cuttack
@@kakashisenpai99 do u know python?
Bro from Nayagarh
This is honestly the best most simple tutorial on this subject! I am going to be watching all of your Python tutorials, I am a statistician who has switched away from R to Python and your videos are the perfect introduction to self learn on any topic.
Thank you so much for your time in making these!
Clicked this video randomly, bro you are doing a lovely job explaining everything in such a neat and tidy way. Thank you! more power to you!
You are the real face of professionalism.
That's great. Now I understand why we should not click random things , looking very tempting 🤣🤣🙂
I 1000% percent agree with you. If you cannot show students how you can do practical things with programming they get bored. Simple data in/out is not satisfying. Show them how to webscrape a site to check prices of their favorite shoes. That is a real application that is satisfying and can make you money!
Ur happiness and joy in programming is so contentious .
Do you mean “contagious”?
Note: As of 2021 for Mac users, use: brew install --cask chromedriver .... keep learning ..
Just finished 4 years of computer science in college and probably 99% of it was just boring stuff. I feel like they could inspire their students to be passionate about code if they taught cool things like what you're teaching, but instead they just make students do boring projects year after year. Great video!
I've been struggling to learn Python for exactly that reason - boring boring boring. Finally I learned that this is the way to go: pick a fun project and then learn what you need to accomplish it. Thanks for the great videos!
im so glad i found this. I do a lot of inputting in my current job, so i am trying to create a program where i can have all my work inputted automatically. This is a great first step. thanks so much.
Actually it's much easier to just install the Selenium IDE extension to your Chrome/Firefox browser, record what you are doing, then export it to Python code and work from there.
The generated Python code:
driver.find_element(By.NAME, "search_query").click()
driver.find_element(By.NAME, "search_query").send_keys("selenium")
driver.find_element(By.NAME, "search_query").send_keys(Keys.ENTER)
finally a real video worth watching ,
i enjoyed my ds course and now for reward i will do this , ps : all my friend are doing web dev and i didn't want that so selenium helped
Ho-ly shit I had no idea this was possible, I'm using Cypress in Gitlab CI, combined with a Python script which notifies our team if a test fails. But you're telling me I can ditch Cypress and code everything myself? You're effing right, this is what makes programming EPIC. Doesn't surprise me I was already subscribed to this channel. Thanks a lot!
Using xpath is my biggest take away thanks a lot , FUN always.
Thanks You Sir. I'm A 13 Years old Programmer In Python. And your tutorials are the best. Not because the video is good, interesting, or Informative. Yes, Of course the video is Really Informative, Useful and everything but beacause you thought me what programming actually is.
Thank You Very Much.😇😇😇🙂🙂
Respect.
At your age, I was working around how to grow a snake on a nokia.
@@sreedarshshaji5951 Things have changed, at his age I was busy playing cricket
I am also 13 and I am also a programmer :)
"If you take out the fun element, it's not fun anymore"
That's some logic right there
This video is absolutely amazing and has really helped me alot. I haven't added a comment yet so I just want to say that this video has helped me so much and I would recommend it to anyone who wants to learn Web automation in python! Thank you so much!
Edit: For firefox driver = webdriver.Firefox() works.
if u take the fun element out of it.. its not fun anymore.. what a genius
Thank you Hitesh, you just demo’d a complex subject in a fun and straight forward way. I look forward to your other videos!!
Brooo thank you very much for this, I wanted to automate some tasks for a long time and with this knowledge I finally managed to do it, have an amazing day!
Hi sir.I am Adel Tahmid from Bangladesh and I am only 15. I am really inspired by your videos and I learned a lot from them
Hitesh! I've spent my time doing competitive programming, I just learned piles of useless theory and programmed just to analyze data. I lost all motivation to program and actually began to hate computer science. You have reignited my interest in programming again! I haven't felt this way in a very long time
Yes we need more videos on automation using phython🤓
Thanks for that. I made a automatic wallpaper downloader. Since I manually change my wallpaper daily . Now it will do work for me.
Good ... But I want to know
how can I perform selenium automation on Current web browser (without opening another chrome Tab separately for selenium )
Thanks in advance ...
ua-cam.com/video/MPsL0_LWhGg/v-deo.html
Simple and clean explination, Great work
I'm loving your video editing part these days
Thanks
Now this is what you call fun!
I am gonna try it today!
I m shocked that I haven't subscribed you yet..
Killed the subscribe button already.. kudos brother.. keep doing whatever you are doing.. cheers!! ✌
now i realize that decision to learn coding was the best one ❤❤❤
Great topic and video. Thank you very much. Really needed this as I want to know how to apply what I’m learning and have fun, including with automation, and not just be “dry” about it. Looking forward to learning more from you great job!
My favourite programming teacher on youtube!
this is rocket science.
Video starts at x.xx( find x yourself)
I hit the suscribe button you are the best my techie,,your lively
looks like the secret ingredient to increasing millions of views for any video through a simple python program.
Cool man.
Always keep programming fun. It gives joy when you use programming for personal stuff.
We really need teachers like you 👌
Your English accent is so good 🔥
cringe it is
@@saurabh95mishra bruh, its good -_-
That background wallpaper is SO COOL!!!
U have ni idea how much this was helpful to me thx alot
Yes, you reminded me the nostalgic days of making triangles, pyramid etc in c++
This video gave me the excitement to continue learning about Python. I am headed to my desktop now to play 😁
I already liked it seeing just the first 30 seconds...
Yes sir. I want such kind of videos for Automation with python.
Great UA-cam channel for providing simple way of technology
neatest coding tutorial have seen
Please Hitesh sir. Make more videos on web automation with python because the way you teach us is very simple and understanding. Please make more videos. As I am a software tester and using Java but wanted to move with python automations. And your tutorial is what makes me excited to do it. Please sir it's my humble request.
Wow man you made it crystal clear!!!!
Thank you for such a simplistic approach.
In case you get an error such as webdriver must be added to the path ecc, in our current system which is windows 10, search view advanced system settings then click on Environment Variables, later click to the path and add the path that your webdriver is located, as an example if my files are to be in a file called WebDrivers on my desktop I am supposed to add this line " C:\Users\dro_m\Desktop\WebDrivers " , finally restart your computer so that your pc can recognize the path.
Wow...!!!
Thank you Hitesh sir...
Leaning Python and loving it a lot...
Your videos just removed my tension to make project for my final sem loved ur videos ....more power to you♥️😇
No one :
Literally no one :
Hitesh sir : i finally wrote my name.
🤣😂
Hahaha, that’s a really long last name
@@HiteshCodeLab 😅 well ,not that long for an indian sir.
never use sudo pip
I wish I had a haha reaction button 😂
To the point and quality content. Appreciated!
You are going to save me 5 hours of work eveyday 😄
My tool development is in progress 😎👍
Thanks much for the video 😊❤
7:05
Hitesh sir put Semi-colon at the end of the line...
Black Panther: We don't do that here
😂😂😂
🤣🤣😅
If you are getting error after installing everything correctly. There can be 2 possibilities:
1. you have wrote 'find_elements_by_xpath' instead of 'find_element_by_xpath'.
2. You must copy full xpath instead of xpath. ( xpath Doesn't work for me and generates error: element not iteractable)
BTW anyone of 514 comments have not encountered this error . This means either they know this or they havent tried this in IDE oR Paid comments ( I hope thats not the case).
I also had to use the full xpath, thanks for the recommendation !
As I searched a lot of things n internet to be able to do this small tutorial, I discovered that instead of searchbox.click(), we can use the 2 lines of codes below to get the same effect:
from selenium.webdriver.common.keys import Keys
searchbox.send_keys(Keys.RETURN)
Who knows, this might be useful to someone one day :)
The pleasure is watching your videos. You are always motivation for me to keep going joyfully in programming world. Thank you sooo much hitesh sir.
instead of finding the search button, you can call the submit method on the searchbox
I'd love to see how you did it! I am having an error with sending keys
Thanks for the tutorial 👍🏻
Awesome! This made me think that how interesting my life can actually be. Thanks a lot for this video 😊.
Your teacher way Awesome bro
the chrome is automatically closed why its happens?
Wooooooow. Man that was exactly what i needed. You got yourself a new subscriber. Viva amitab bachan!
This is exactly what I was looking for. I got to learn that from scratch but it will be worth it
Yes this is interesting I thought selenium is for only testing but now I realised this is for automation also
why the method "find_element_by_xpath" doesnt appear for me? i can only see the find_element one, can someone help?
Same problem occuring with me too. Have u found any solution yet?
Man, you're very practical.
Very funny and simple. Good explained. Thank you!
Thanks sir you helped me you deserve much more subs
Great video awesome
If anybody has an issue where there is no inputting into the search box (possibly due to slow internet), you can add the code inside the brackets
{
# How long you want to wait for
delay = 50
# Making a wait variable for the WebDriver
wait = WebDriverWait(driver, delay)
# It will wait until all elements are on the screen OR it passes the delay time
wait.until(EC.visibility_of_all_elements_located)
}
You can add this right after the line,
{
driver.get('youtube.com')
}
That is so cool!!!
As a non-programmer, my mind is blown 😲
Very clean explanation easy to understand
What a fun video to watch! Thank you!
Very beautiful video. Thank you for the short and, above all, effective introduction to the topic of Web Automat
So it feels like Hitesh sir is actually a big fan of standing desks !
I like this guy. Thanks, Hitesh
Its simple for a master like you, but its awesome for a guy like to who bring more productivity with such awesome code. That was an really interesting tutorial Hitesh. Thanks for sharing it.
Hi sir,
I'm getting this problem " find_element_by_xpath is deprecated use instead find_by_element "
please help me on this
You are doing a gr8 job. keep it up
You did this all not just through programming but with the help of Python and its superb packages. In Java this could have been quite cumbersome.😉
love that last line 10:32
Well done Hitesh, please keep sharing your knowledge with us. I enjoyed it.
Thank you Hitesh for such wonderful video.
Good Video but actually you need to copy "full xpath" instead of "xpath". :)
Thanks a lot bro, it works after using your tip
ya maan i wanna give you great gift thanks sssssss
I spend about 2 days on this but nothing happend
but your comment helped me alot
This should be pinned. I was so confused lol, thanks man
This is exactly we have done recently in our process
Pls keep on posting such fun coding videos. I really enjoyed it a lot and executed what you have teached in this lesson.🥰🥰🥰
You sir, recharge my learning spirit, many thanks.
bruh i was looking for tht in a long time thank u reallyy much
Such a good video! congrats!
Cool stuff phython is a great skill to master
Thank you so much. I have learnt so much. Blessings.
That's a great tutorial for a beginner. I'm going to make something really useful after learning this. Thanks a lot!!!
new to the channel,
looking forward for more fun programming tasks
I am waiting for this video long time. Can you make a full course on this, so I can automate my daily office job?
You can definitely automate more things using robotic process automation like UI path