Selenium Python Beginner Tutorial – Learn Selenium Python in one video | Step by Step
Free Tutorials –
Environment Variable setup: 4:08
Learn Selenium Python in ONE VIDEO | Step by Step
Today we will learn:
1. How to download python on windows
2. How to install python
3. How to install selenium python libraries
4. Download IDE – PyCharm
5. Create new project
6. Add selenium scripts
7. Run and Validate
Step 1 : download python –
Step 2 : Install and check python and pip is installed successfully
python –version
pip –version
Step 3 : install selenium libraries
pip install -U selenium
Step 4 : Download PyCharm – community edition
Step 5 : Create new project in PyCharm
Step 6 : Adding selenium scripts to the project
note: those who face problem on click btnK replace it with "q".
Step 7 : Run from IDE
Run from Command Line
Some Useful TIPS
About –
Playlists –
_____________________________________________________________
Like on Facebook :
Follow on Twitter:
Subscribe on Youtube :
________ ONLINE COURSES TO LEARN ________
Visit –
———— UI TESTING ————
Selenium Beginners –
Selenium Java Framework from Scratch –
Selenium Python –
Selenium Tips –
Selenium Builder –
Katalon Studio –
Robot Framework –
———— API TESTING ————
Web Services (API) –
SoapUI –
Postman –
General –
———— MOBILE TESTING ————
Mobile Playlist –
———— CI | CD | DEVOPS ————
Jenkins Beginner –
Jenkins Tips & Trick –
Docker –
———— VERSION CONTROL SYSTEM ————
Git & GitHub –
———— PERFORMANCE TESTING ————
JMeter Beginner –
JMeter Intermediate –
JMeter Advanced –
JMeter Tips & Tricks –
Performance Testing –
———— JAVA ————
Java Beginners –
Java Tips & Tricks –
———— MAVEN ————
Maven –
———— OTHERS ————
Redis-
Misc –
Tools & Tips –
QnA Friday-
Sunday Special –
Ask Raghav-
Interviews –
All Playlists –
———— Follow ————
Facebook –
Twitter –
Youtube –
Free online courses – https://automationstepbystep.com/online-courses/
Thank you so much for your videos!
I have some problem running the exact same test like yours: when I run the test, the Google site appears, but then the Cookies box pops up, so my test stops at getting Google open. The rest cannot be done. How do I bypass this Cookies box to automate the rest of the test?
Thank you!
I’m a Software Test Engineer and I know Selenium Java but I needed to learn Selenium Python to train freshers in my company and I was worried because I didn’t find any well taught tutorial. But this video was a great boon for me to learn it. Thanks for the video. You are such an awesome tutor !!!
So happy to hear this Liya
Hello Raghav. I discovered you this week and since then I am watching your Python tutorials. There are very helpful!!! Thank you. I was wondering if it is a possibility to make a Python tutorial about the OOP concepts? Like a small project with all the 4 concepts explained. Anyways, you are the best!! Keep going ! 🙂
Thanks Rabusapca, I will certainly check on that. You can find existing videos here – https://automationstepbystep.com/online-courses/
Thanks Raghav, this has been the only tutorial I’ve been able to find that properly shows how to install and set up the webdrivers. Keep up the great work ?
So Glad it helped Joshua
This is amazing! Thanks so much Raghav! Keep fighting the good fight and removing the redundancies from everyday life!
You’re welcome Kenneth. Thanks for the message
For the interpreter, you can instead create a pipfile with ‘pipenv shell’ and install with pip everything you need, and PyCharm will auto-load it. I find this pretty easier than the interpreter.
Hi David, Yes, I will cover this in future videos
Thank you, Raghav – simple, exact and working demo. You’ve made my day!
You’re welcome Mykola
I am loving this video. I am a first timer at python programming and at selenium. I find this video very simple and I am able to understand at my best. Well done Raghav!
Glad it was helpful Ding
This is one of the best explained tutorials I have seen yet , thanks for your time and patients !
You’re welcome and Thanks for the message Noam
TY for your efforts! Your channel is one of a few, that a real newbie can watch. Very detailed explanation. Keep doing those videos and selenium+Python too.
I will continue. Thanks for watching.
Automation Step by Step – Raghav Pal when are you going to continue with Python?
True
Hey Raghav! Amazing tutorial I was able to get everything running perfectly. I was curious. In the video you copied the chrome and firefox webdrivers to ThisPC/Windows OS(C:)/Python27/ folder so you didn’t have to add the path everytime. I’m curious to know where would I add these folders on Mac. I’ve tried everywhere I could think of and it stills requires me to include the entire path. Thanks!
Hi Moses, basically we need to add the location where these exe files are to the Path environment variable, so that they are available from any location on cmd/terminal. You can watch my java setup on mac video and use the same for .exe files. – https://www.youtube.com/watch?v=NSvtis2fGlA&list=PLhW3qG5bs-L_qj1L5hnHvJYeFpQ_g4UuU&index=4
Thanks Raghav. Being a hard-core java guy in automation, i always wanted to learn python. This is the best way to start. Also please come up with the tutorial series of and E2E UI or API Automation project using Py.
Great to know this Suyash, i will definitely add more videos.
Raghav Sir, Thanks for these videos. I have one query that by using unittest python library we write testcase. In this we use ‘self’ so while locating some element we write self.search_ product = self.driver.find_element_by_id(‘id_name’) and sometimes we write without self —-> search_ product = self.driver.find_element_by_id(‘id_name’). So what is the difference between these two statements ? Kindly acknowledge. Thanks
Hi, you will need to. understand the use of self. Pls check this
https://stackoverflow.com/questions/2709821/what-is-the-purpose-of-the-word-self-in-python
https://pythontips.com/2013/08/07/the-self-variable-in-python-explained/
Hey, Raghav nice videos. Good to see something with Python (Now have a broad usage of python IOT, Testing, AI, ML, Data Science, Data engineering, web dev, info security etc.)
Please add more videos regarding from scratch to advance. Well, I am Java Developer. I recommend every one to watch your videos.
Great to know this Gaurav, will definitely add more videos soon to learn topics from scratch.
Great video. I’ve heard of this but never had the opportunity to review. Thanks for the step by step. Currently I have a lot of automation utilizing iMacros. Would this be a lateral programming change or an improvement?
Hi, Glad to know it helped. this will be different from Macros, here we are using python and selenium libraries
thank you very much! I was forced to learn about automated testing and this makes my life so much easier and everything faster to learn.
Happy to know this
I always had a confusion with setting up the environment variables when i install any softwares especially because i use windows 8. Raghav’s video made it so easy for me to understand this time . I also learned postman through your videos, excellent teaching, perfect rate of speech and clear content to understand the topics. I am going to start learning python with selenium as most companies in canada are looking for python with selenium. I only see sample project, pom and pytest for selenium topics, Do u think it covers most of the selenium topics with python?
Hi Fayaz, happy to know this, I have tried to cover all the basics, also you can check other python selenium tutorials here https://automationstepbystep.com/ and Udemy course here – https://automationstepbystep.com/udemy-discounts/
@Automation Step by Step Thanks raghav, Sure I will take it.
tutorial starts at 14:03
Thanks man
Thanks
tanq
Thank you so much sir. It’s very clear and full of content. Your way of explaining topics is very very good. Please do more videos on Python-Selenium. Different frameworks, File handling(jason), lib.ui, lib.utils.
I will plan it soon Moni
Hello Raghav sir I like your teaching style which is easy to understand and follow simultaneously. Now my question is that is there any topic left or this is enough topics as per your playlist to start working on Automation with Python?
Kindly let me know.
Thank you
Hi, there are several things you can do more, I also have a detailed course to teach how to create automation framework with python selenium step by step. Can check here – https://automationstepbystep.com/udemy-discounts/