Login

Lost your password?
Don't have an account? Sign Up

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 –

https://www.educational.guru

45 comments

    1. Duong Bui

      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!

  1. Liya Mathew

    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 !!!

  2. Rabusapca Rabusapca

    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 ! 🙂

  3. David

    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.

  4. Moses A

    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!

  5. Suyash Nande

    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.

  6. pc

    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

  7. Gaurav Kawatra

    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.

  8. Brick Building Kids

    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?

  9. Mohammad Fayaz

    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?

  10. Moni Kumari

    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.

  11. bhaumik17

    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

Leave a Comment

Your email address will not be published. Required fields are marked *

*
*