Selenium Python Beginner Tutorial - Learn Selenium Python in one video | Step by Step

แชร์
ฝัง
  • เผยแพร่เมื่อ 7 ม.ค. 2025

ความคิดเห็น • 895

  • @RaghavPal
    @RaghavPal  5 ปีที่แล้ว +10

    Free online courses - automationstepbystep.com/online-courses/

    • @duongbui3639
      @duongbui3639 3 ปีที่แล้ว

      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!

  • @RaghavPal
    @RaghavPal  6 ปีที่แล้ว

    Online courses - automationstepbystep.com/

    • @RaghavPal
      @RaghavPal  6 ปีที่แล้ว

      Hi Pablo, what is the error you are facing

    • @bhaskervaranasi
      @bhaskervaranasi 5 ปีที่แล้ว +1

      The code is not clicking the Enter key, but it's successfully opening the URL. How to pass the key in Unicode format? I heard that using the Keys.Enter may not work in some cases. Could you please help? I'm using Python 3.7 with Chrome's geckodriver. Thanks for the videos!

  • @shoonya0000
    @shoonya0000 2 หลายเดือนก่อน +1

    I referred it 9 years back and today again I've visited to watch back.. it's in my tech Playlist. Nowhere I could get this simple , realistic example and explanation. Thanks ..

    • @RaghavPal
      @RaghavPal  2 หลายเดือนก่อน

      So happy n humbled to know this Nandeesh.. keep learning and sharing

  • @wintercraft1108
    @wintercraft1108 6 ปีที่แล้ว +62

    tutorial starts at 14:03

  • @veidenbahlev
    @veidenbahlev 7 ปีที่แล้ว +18

    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.

    • @RaghavPal
      @RaghavPal  7 ปีที่แล้ว

      I will continue. Thanks for watching.

    • @shikhaawasthi5333
      @shikhaawasthi5333 6 ปีที่แล้ว

      True

    • @ZafarDidit
      @ZafarDidit 6 ปีที่แล้ว

      Automation Step by Step - Raghav Pal when are you going to continue with Python?

    • @codematehussain
      @codematehussain 5 ปีที่แล้ว

      @@ZafarDidit Please watch: "Increase Your Instagram Account followers easily with Python || Web Automation (Selenium) "
      th-cam.com/video/S97o8WxZYDA/w-d-xo.html

  • @Skaxarrat
    @Skaxarrat 6 ปีที่แล้ว +11

    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.

    • @RaghavPal
      @RaghavPal  6 ปีที่แล้ว +3

      Hi David, Yes, I will cover this in future videos

  • @abcdsfeewr
    @abcdsfeewr 5 ปีที่แล้ว +2

    This is one of the best explained tutorials I have seen yet , thanks for your time and patients !

    • @RaghavPal
      @RaghavPal  5 ปีที่แล้ว

      You're welcome and Thanks for the message Noam

  • @ASTROCZ9
    @ASTROCZ9 5 ปีที่แล้ว +1

    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.

    • @RaghavPal
      @RaghavPal  5 ปีที่แล้ว

      Happy to know this

  • @Officialjadenwilliams
    @Officialjadenwilliams 6 ปีที่แล้ว +2

    I have installed Python and PIP correctly, all showing up in the CMD, updated and everything. Installed selenium using PIP, fully set and everything, even in the python folder, it's showing up.
    Though, after all of that, the python script does not run properly and shows this as the error message. Any help would be appreciated!
    Code >
    from selenium import webdriver
    driver = webdriver.Chrome()
    Error Message >
    Traceback (most recent call last):
    File "C:/Users/MyName/PycharmProjects/Test project/Test Script Selenium.py", line 1, in
    from selenium import webdriver
    ModuleNotFoundError: No module named 'selenium'

    • @RaghavPal
      @RaghavPal  6 ปีที่แล้ว

      Hi Jaden, have you added environment variables. Also check other comments on this video, that will help.

    • @Officialjadenwilliams
      @Officialjadenwilliams 6 ปีที่แล้ว

      Automation Step by Step - Raghav Pal Yes, I added the environment variables properly, and yes, I've been checking the comments. Thanks, but still can't seem to find the solution!

    • @RaghavPal
      @RaghavPal  6 ปีที่แล้ว

      Can you try reinstalling selenium. Also use some commands for checking here - th-cam.com/video/7SW86f280o8/w-d-xo.html

    • @Officialjadenwilliams
      @Officialjadenwilliams 6 ปีที่แล้ว

      Tried reinstalling selenium as well. Everything is installed and up to date. For some reason though, it still cays there's no module names selenium. Also, what do you mean you want me to check with the commands? You want me to install robot?

    • @sempredic
      @sempredic 6 ปีที่แล้ว +1

      Search for "selenium" and add it
      stackoverflow.com/questions/49482586/pycharm-referenced-error-with-import-selenium-webdriver

  • @liyamathew8577
    @liyamathew8577 3 ปีที่แล้ว

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

    • @RaghavPal
      @RaghavPal  3 ปีที่แล้ว +1

      So happy to hear this Liya

  • @NimbuCB
    @NimbuCB 11 หลายเดือนก่อน

    Best tutor fro automation in youtube. Very good content and in addition your pace and voice is so good

    • @RaghavPal
      @RaghavPal  11 หลายเดือนก่อน

      Thanks a lot.. humbled

  • @deepakkhetan2900
    @deepakkhetan2900 5 ปีที่แล้ว +2

    Thank you... I was looking for tjhis kind of video which explain the detail from scratch.

    • @RaghavPal
      @RaghavPal  5 ปีที่แล้ว

      You're welcome Deepak

  • @dinglenjau
    @dinglenjau 4 ปีที่แล้ว

    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!

    • @RaghavPal
      @RaghavPal  4 ปีที่แล้ว

      Glad it was helpful Ding

  • @NitzVision
    @NitzVision 3 ปีที่แล้ว

    thanks so much ....i was having many errors ...now its all solved ...you covered every little points

    • @RaghavPal
      @RaghavPal  3 ปีที่แล้ว

      Most welcome

  • @sgian_ime
    @sgian_ime 4 ปีที่แล้ว

    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 👍

    • @RaghavPal
      @RaghavPal  4 ปีที่แล้ว +1

      So Glad it helped Joshua

  • @shikhaawasthi5333
    @shikhaawasthi5333 6 ปีที่แล้ว

    Very nice video. Step by step instructions provided. Thanks Raghav.

    • @RaghavPal
      @RaghavPal  6 ปีที่แล้ว

      Thanks for watching Shikha

  • @roshank9
    @roshank9 5 ปีที่แล้ว

    As a beginner level this video is very useful. Thank You.

    • @RaghavPal
      @RaghavPal  5 ปีที่แล้ว

      You're welcome Roshan

  • @carlosquevedo2767
    @carlosquevedo2767 6 ปีที่แล้ว

    Thank you for your tutorials. I want to say in this example I add ... , Keys.ENTER ... because the browser was expecting that, just to share in case someone have the same issue this is the line: driver.find_element_by_name("q").send_keys("text", Keys.ENTER)

    • @carlosquevedo2767
      @carlosquevedo2767 6 ปีที่แล้ว

      I forgot something If you do that, you should comment this line: #driver.find_element_by_name("btnK").send_keys(Keys.ENTER) or you will get and error

    • @carlosquevedo2767
      @carlosquevedo2767 6 ปีที่แล้ว

      Raghav Pal
      , there is any way to avoid this? I appreciate your help and tutorials

    • @RaghavPal
      @RaghavPal  6 ปีที่แล้ว

      Hi Carlos, thanks for adding the information. When you enter anything in google search box. An automated suggestion drop down is generated that overlaps over the search button and click on button fails. To avoid you can either press ENTER key or first press ESC key to remove the auto-suggestion drop-down and then click on button

    • @codematehussain
      @codematehussain 5 ปีที่แล้ว

      Please watch: "Increase Your Instagram Account followers easily with Python || Web Automation (Selenium) "
      th-cam.com/video/S97o8WxZYDA/w-d-xo.html

  • @MrRahul15937
    @MrRahul15937 6 ปีที่แล้ว +2

    Thanks for this elaborated information
    Earlier I was confused with webdrivers

    • @RaghavPal
      @RaghavPal  6 ปีที่แล้ว +1

      Glad t know it helped Rahul

    • @codematehussain
      @codematehussain 5 ปีที่แล้ว

      Please watch: "Increase Your Instagram Account followers easily with Python || Web Automation (Selenium) "
      th-cam.com/video/S97o8WxZYDA/w-d-xo.html

  • @mykolashatkovskyi8817
    @mykolashatkovskyi8817 5 ปีที่แล้ว +1

    Thank you, Raghav - simple, exact and working demo. You've made my day!

    • @RaghavPal
      @RaghavPal  5 ปีที่แล้ว +1

      You're welcome Mykola

  • @laneschmidt5210
    @laneschmidt5210 5 ปีที่แล้ว +3

    skip to 14:44 for the actual Selenium code

    • @RaghavPal
      @RaghavPal  5 ปีที่แล้ว +1

      Thanks for the info

  • @ankitlohia1710
    @ankitlohia1710 7 ปีที่แล้ว +1

    Thanks raghav..I''m learning selenium with Java and this one would help me ...:) I like all your videos and wait for your Friday and Sunday sessions....take care

    • @RaghavPal
      @RaghavPal  7 ปีที่แล้ว

      Great to know this Ankit, i will keep posting, keep learning

  • @joegou1100
    @joegou1100 7 ปีที่แล้ว

    Hi Raghav, this video is very useful for me. I hope you put more videos about this topic. Greetings from Taiwan.

    • @RaghavPal
      @RaghavPal  7 ปีที่แล้ว

      Hi Joe, glad to hear that. Will definitely add more videos.

  • @alicejen6928
    @alicejen6928 7 ปีที่แล้ว +1

    Please keep doing those videos and selenium+Python. Love it!

    • @RaghavPal
      @RaghavPal  7 ปีที่แล้ว

      Thanks Alice, will add more to this list.

    • @codematehussain
      @codematehussain 5 ปีที่แล้ว

      Please watch: "Increase Your Instagram Account followers easily with Python || Web Automation (Selenium) "
      th-cam.com/video/S97o8WxZYDA/w-d-xo.html

  • @MrJeepty
    @MrJeepty 5 ปีที่แล้ว

    Thank you sir. Your method lead me to a working script with only 2 library modules. I followed along using linux without a single issue.

    • @RaghavPal
      @RaghavPal  5 ปีที่แล้ว

      So happy to know this.

  • @JorgeSpina1980
    @JorgeSpina1980 5 ปีที่แล้ว

    Thanks!!!! This is what I was looking for! I'm a beginner in automation with python.

    • @RaghavPal
      @RaghavPal  5 ปีที่แล้ว

      Happy to know this Jorge

    • @codematehussain
      @codematehussain 5 ปีที่แล้ว

      Please watch: "Increase Your Instagram Account followers easily with Python || Web Automation (Selenium) "
      th-cam.com/video/S97o8WxZYDA/w-d-xo.html

  • @K_dyub
    @K_dyub 5 ปีที่แล้ว

    This is amazing! Thanks so much Raghav! Keep fighting the good fight and removing the redundancies from everyday life!

    • @RaghavPal
      @RaghavPal  5 ปีที่แล้ว

      You're welcome Kenneth. Thanks for the message

  • @sinner_ssaint
    @sinner_ssaint 5 ปีที่แล้ว +1

    Thanks Man !! great video !

    • @RaghavPal
      @RaghavPal  5 ปีที่แล้ว +2

      You're welcome Rushi

  • @hyunkyungkoo1068
    @hyunkyungkoo1068 5 ปีที่แล้ว +4

    Thanks for the tutorial.
    I followed the instructions as it is, but I kept getting an error in the line "driver.find_element_by_name("btnK").send_keys(Keys.ENTER)"
    Here's the error message.
    selenium.common.exceptions.ElementNotInteractableException: Message: element not interactable
    Can you explain what the problem is?

    • @RaghavPal
      @RaghavPal  5 ปีที่แล้ว +7

      Hi Hyunkyung, Pls use
      driver.find_element_by_name("q").send_keys(Keys.ENTER)

  • @isshwar7
    @isshwar7 6 ปีที่แล้ว

    Raghav your videos are really helpful. Just want to say thank you.

    • @RaghavPal
      @RaghavPal  6 ปีที่แล้ว

      You're welcome Ishvar, Thanks for writing to me.

  • @shivayogaji
    @shivayogaji 4 ปีที่แล้ว

    Very clear and well explained. Thank you

    • @RaghavPal
      @RaghavPal  4 ปีที่แล้ว

      You are welcome!

  • @subratakumarbhowmik6736
    @subratakumarbhowmik6736 5 ปีที่แล้ว

    Hi Ragav,
    Thanks a lot for your detail explanation (step by step). I started following you and find it very helpful.

    • @subratakumarbhowmik6736
      @subratakumarbhowmik6736 5 ปีที่แล้ว

      Currently i am stuck with one problem, after installation of selenium python library i don't find it inside python root folder instead i find it only inside of lib>>site-package. hope you will provide a solution.

    • @RaghavPal
      @RaghavPal  5 ปีที่แล้ว

      Hi Subrata, that is fine, Just add the env variables accordingly.

  • @venkateshdhande6318
    @venkateshdhande6318 7 ปีที่แล้ว

    Tq raghav, it is very helpful for beginners .......awesome man......

    • @RaghavPal
      @RaghavPal  7 ปีที่แล้ว

      Great to hear that Venkatesh.

  • @mzimmerman1988
    @mzimmerman1988 7 ปีที่แล้ว

    man, this channel is amazing. Much appreciate man!

    • @RaghavPal
      @RaghavPal  7 ปีที่แล้ว

      Great to hear that Matt. Keep watching.

    • @codematehussain
      @codematehussain 5 ปีที่แล้ว

      Please watch: "Increase Your Instagram Account followers easily with Python || Web Automation (Selenium) "
      th-cam.com/video/S97o8WxZYDA/w-d-xo.html

  • @elbobs2010
    @elbobs2010 7 ปีที่แล้ว +1

    Hi Raghav, very good video. I hope you put more videos about this topic. Greetings from Brasil!

    • @RaghavPal
      @RaghavPal  7 ปีที่แล้ว

      Hi El, thanks for watching. Will add more videos on this.

  • @yavuzselimylmaz7422
    @yavuzselimylmaz7422 6 ปีที่แล้ว

    Great video, great tutorial. Thanks Raghav...

    • @RaghavPal
      @RaghavPal  6 ปีที่แล้ว

      You're welcome. Thanks for watching.

    • @codematehussain
      @codematehussain 5 ปีที่แล้ว

      Please watch: "Increase Your Instagram Account followers easily with Python || Web Automation (Selenium) "
      th-cam.com/video/S97o8WxZYDA/w-d-xo.html

  • @carlosguevara257
    @carlosguevara257 7 ปีที่แล้ว +1

    Excelent class, it was very usefully, thanks

    • @RaghavPal
      @RaghavPal  7 ปีที่แล้ว

      Thanks for watching Carlos

  • @GauravKawatrakir
    @GauravKawatrakir 7 ปีที่แล้ว

    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.

    • @RaghavPal
      @RaghavPal  7 ปีที่แล้ว +1

      Great to know this Gaurav, will definitely add more videos soon to learn topics from scratch.

  • @manjarypatil8519
    @manjarypatil8519 4 ปีที่แล้ว

    Thanku so much. Helped alot

    • @RaghavPal
      @RaghavPal  4 ปีที่แล้ว

      Always welcome Manjary

  • @SuyashNande
    @SuyashNande 7 ปีที่แล้ว

    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.

    • @RaghavPal
      @RaghavPal  7 ปีที่แล้ว

      Great to know this Suyash, i will definitely add more videos.

  • @MoniKumari-je6mz
    @MoniKumari-je6mz 6 ปีที่แล้ว

    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.

    • @RaghavPal
      @RaghavPal  6 ปีที่แล้ว

      I will plan it soon Moni

    • @codematehussain
      @codematehussain 5 ปีที่แล้ว

      Please watch: "Increase Your Instagram Account followers easily with Python || Web Automation (Selenium) "
      th-cam.com/video/S97o8WxZYDA/w-d-xo.html

  • @vaishaliarora5692
    @vaishaliarora5692 5 ปีที่แล้ว

    very nice video..i learnt very easily

    • @RaghavPal
      @RaghavPal  5 ปีที่แล้ว

      Happy to know Vaishali

  • @richasahay1
    @richasahay1 6 ปีที่แล้ว +4

    Thanks Raghav! really helpful one, request if you can share a video for installation of all tools & language over mac. Thanks in advance. :)

    • @RaghavPal
      @RaghavPal  6 ปีที่แล้ว

      Hi Prerna, sure will plan in some time.

  • @zerotwo6606
    @zerotwo6606 4 ปีที่แล้ว

    Hello Raghav,
    thank you for making this tutorial, it is very helpful to learn for me
    but i have a lil problem where in the video 15:42 showing there's a suggestion when you write the code "driver.set" and you can choose "set_page_load_timeout ()"
    meanwhile on my side once i write the code "driver.set" there's no any suggestions appear in my pycharm so i have to write manually one by one :(
    did i missed to install another packages ? or actually we can set to get suggestions on the settings ?
    please let me know, i will looking forward to it
    thank youu~

    • @RaghavPal
      @RaghavPal  4 ปีที่แล้ว

      Hi, Do the following. Check
      1. Your import statements, Check they are correct
      2. Check the required libraries are imported in the project
      PyCharm (File in windows) -> Preferences (Settings on Windows) -> Project -> Project InterpreterHere you can see list of libraries
      You can also click on '+' sign to add new library (python module)
      3. Restart Pycharm
      Let me know if this works for you

    • @zerotwo6606
      @zerotwo6606 4 ปีที่แล้ว +2

      @@RaghavPal Hi Raghav,
      in my libraries i have files like in your video: pip, selenium, urllib3, and setuptools
      my suggestion only work when i wrote like "import" then "selenium" which is only support in one word
      so it means my auto suggestions is not complete like yours once you wrote "driver.set" or "driver.get" and get a lot of long script suggestions :(
      note : i'm using python version 3.8.5 and pycharm-community-2020.1.3

    • @RaghavPal
      @RaghavPal  4 ปีที่แล้ว

      Okay, you can again check all lib are present in your project repo and can restart pycharm to check auto completion works

    • @zerotwo6606
      @zerotwo6606 4 ปีที่แล้ว

      @@RaghavPal Thank you Raghav,
      I really appreciate it but i still don't get it what do you mean, i'm beginner so sorry :(
      if you dont mind please give me the easy steps to understand for me
      example : "go to folder python38/x/x/x move name.exe into blablabla"
      i'm looking forward to it
      many thanks Raghav, god bless you

    • @RaghavPal
      @RaghavPal  4 ปีที่แล้ว

      Hi if you manually type and are able to run, that means the libraries are available on the system.
      Goto PyCharm and select menu
      File -> Preferences (Settings on Windows) -> Project -> Project Interpreter
      Here you can see list of libraries
      Ensure you see the required libraries like selenium
      Just in case you do not find, click on + button and add the same.
      Restart Pycharm

  • @stephenAOGOLO
    @stephenAOGOLO 5 ปีที่แล้ว

    Very good video, very good lesson, thx Raghav Pal ;)

    • @RaghavPal
      @RaghavPal  5 ปีที่แล้ว

      You're welcome Stephen

  • @vanikethineedi2854
    @vanikethineedi2854 7 ปีที่แล้ว +1

    hey raghav,Thanks alot. Much awaiting session

    • @RaghavPal
      @RaghavPal  7 ปีที่แล้ว

      glad it will help Srujan

    • @SrsofttechIn
      @SrsofttechIn 7 ปีที่แล้ว +1

      Very nice..keep well..we expect more videos from your channel..all the best..

    • @RaghavPal
      @RaghavPal  7 ปีที่แล้ว

      will keep adding more content

  • @srikarb3150
    @srikarb3150 5 ปีที่แล้ว

    Very well explained. Nice work!

    • @RaghavPal
      @RaghavPal  5 ปีที่แล้ว

      Thanks for watching Srikar

  • @anumpathak
    @anumpathak 6 ปีที่แล้ว +1

    Great Tutorial. Thank You Sir

    • @RaghavPal
      @RaghavPal  6 ปีที่แล้ว

      You're welcome Anum

  • @sanjeevkrsharma295
    @sanjeevkrsharma295 6 ปีที่แล้ว +1

    Tutorial is really helpful.

    • @RaghavPal
      @RaghavPal  6 ปีที่แล้ว

      Glad to know this Sanjeev

  • @adamakby2747
    @adamakby2747 4 ปีที่แล้ว

    Great explanation,
    For the 14:30m,when i tape Selenium on Pycharm did not required!
    Is there any solution please ?

    • @RaghavPal
      @RaghavPal  4 ปีที่แล้ว +1

      Hi Adam, Please check the following
      1. Your import statements, Check they are correct
      2. Check the required libraries are imported in the project
      PyCharm (File in windows) -> Preferences (Settings on Windows) -> Project -> Project InterpreterHere you can see list of libraries
      You can also click on '+' sign to add new library (python module)

    • @adamakby2747
      @adamakby2747 4 ปีที่แล้ว

      @@RaghavPalIt's done,great to find out your channel.
      Thank you for your steps and efforts.

  • @chamartalks
    @chamartalks 4 ปีที่แล้ว

    You are great sir you have replied to each every person in comment section wow!!!

    • @RaghavPal
      @RaghavPal  4 ปีที่แล้ว

      Yes Vikas, If I leave my students in the middle of any doubts, My work is not done.

  • @madeinsy7752
    @madeinsy7752 6 ปีที่แล้ว +3

    Notes for Python 3.X Users on Windows:
    If you cannot find "Environment Variables" in C Drive then do not worry, just go to "C:\users\AppData\Local\Programs\Python" here you will get the installation path.
    For more information please refer link below:
    docs.python.org/3/using/windows.html

  • @yogavaishnavann6543
    @yogavaishnavann6543 4 ปีที่แล้ว +1

    Do you have any video for Python selenum setup for Mac

    • @RaghavPal
      @RaghavPal  4 ปีที่แล้ว

      Hi Yogavaishnavan, yes, you can check in the Python tutorial here - automationstepbystep.com/

  • @MrStephen0625
    @MrStephen0625 6 ปีที่แล้ว +1

    Great step by step video.

    • @RaghavPal
      @RaghavPal  6 ปีที่แล้ว

      thanks for watching Stephen

  • @deweywsu
    @deweywsu 5 ปีที่แล้ว

    Thank you very much for publishing this!

    • @RaghavPal
      @RaghavPal  5 ปีที่แล้ว

      You're welcome

  • @venkatsai6496
    @venkatsai6496 6 ปีที่แล้ว

    thanks raghav..wish u happy new year to all viewers..great year a head :)

    • @RaghavPal
      @RaghavPal  6 ปีที่แล้ว

      Thanks and Best Wishes venkat

  • @neehararora
    @neehararora 7 ปีที่แล้ว +1

    thanks...this video will definitely help me

    • @RaghavPal
      @RaghavPal  7 ปีที่แล้ว

      great to know this Neehar

  • @venkatsai6496
    @venkatsai6496 6 ปีที่แล้ว

    Thank you @Raghav Pal, Use full video for beginners ..i hope this video help any one who doesn't idea the programming language prior.. Thank you so much..
    please upload more videos related to python and selenium with python

    • @RaghavPal
      @RaghavPal  6 ปีที่แล้ว

      Hi Venkat, I will do more videos soon. Thanks for watching

  • @wintercraft1108
    @wintercraft1108 6 ปีที่แล้ว +5

    If you are getting a directory error , remove the directory and paste your browser driver in the same folder of the python script.

    • @sanjeevkrsharma295
      @sanjeevkrsharma295 6 ปีที่แล้ว

      C:\Users\sanjeevs\PycharmProjects\SeleniumvidPyt\venv\Scripts\python.exe C:/Users/sanjeevs/PycharmProjects/SeleniumvidPyt/FirstTest/test1.py
      File "C:/Users/sanjeevs/PycharmProjects/SeleniumvidPyt/FirstTest/test1.py", line 5
      driver = webdriver.Chrome("C:\Users\sanjeevs\PycharmProjects\SeleniumvidPyt\drivers\chromedriver.exe")
      ^
      SyntaxError: (unicode error) 'unicodeescape' codec can't decode bytes in position 2-3: truncated \UXXXXXXXX escape
      Process finished with exit code 1

    • @kratiklodha9365
      @kratiklodha9365 5 ปีที่แล้ว

      @@sanjeevkrsharma295 same error

  • @pc-fu6fv
    @pc-fu6fv 5 ปีที่แล้ว +1

    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

    • @RaghavPal
      @RaghavPal  5 ปีที่แล้ว

      Hi, you will need to. understand the use of self. Pls check this
      stackoverflow.com/questions/2709821/what-is-the-purpose-of-the-word-self-in-python
      pythontips.com/2013/08/07/the-self-variable-in-python-explained/

  • @CSSuccessGamer
    @CSSuccessGamer 4 ปีที่แล้ว +1

    25:04 mine only entered the text but it's not pressing the search button

    • @RaghavPal
      @RaghavPal  4 ปีที่แล้ว

      Hi, pls check the logs and also check the comments, this has been faced and resolved by several users

    • @CSSuccessGamer
      @CSSuccessGamer 4 ปีที่แล้ว

      @@RaghavPal ok it works now, thanks,

  • @smartinformation6591
    @smartinformation6591 6 ปีที่แล้ว +1

    Hi, Raghav I'm so pleased to let you know that I have completed the course you are exceptionally well-organized Tutor when it comes to Automation Testing. Now I have learned Python and Selenium and I am willing to go further ahead I meant I can learn automation on next level do you have more video where I can learn Python and Selenium. If so I 'd be grateful to you for this favor. Please upload more video Python and Selenium in terms of next level. Looking forward to hearing from you.
    Kind Regards,
    William

    • @RaghavPal
      @RaghavPal  6 ปีที่แล้ว

      This is great to know William. I will add more sessions soon.

    • @smartinformation6591
      @smartinformation6591 6 ปีที่แล้ว +1

      Thanks

  • @RajeshKumar-ig3xg
    @RajeshKumar-ig3xg 5 ปีที่แล้ว +2

    Raghav Sir which language is best for selenium python or java

    • @RaghavPal
      @RaghavPal  5 ปีที่แล้ว

      Both are good, Selenium with Python will be good option for now.

    • @RajeshKumar-ig3xg
      @RajeshKumar-ig3xg 5 ปีที่แล้ว

      Hi Raghav sir, plz share selenium with Python more videos where I can built my Carrier in automation testing with Python

  • @smarttrupti2007
    @smarttrupti2007 5 ปีที่แล้ว

    Really nice video!! Great!! Thank you for sharing..!! You got a new subscriber!! :-) Glad to find this channel !!

    • @RaghavPal
      @RaghavPal  5 ปีที่แล้ว

      Happy to know this Trupti

  • @testingtrail
    @testingtrail 6 ปีที่แล้ว

    This is really cool, thanks!

    • @RaghavPal
      @RaghavPal  6 ปีที่แล้ว

      Glad to know this Jorge

  • @RahulKumar-yo3wo
    @RahulKumar-yo3wo 4 ปีที่แล้ว +1

    Good explanation, thanks Raghav.
    And can you also cover the Pytest as well ?

    • @RaghavPal
      @RaghavPal  4 ปีที่แล้ว +2

      Yes Rahul, you can find Pytest in Python Selenium here - automationstepbystep.com/
      There is also a detailed Python Selenium Framework course on my Udemy automationstepbystep.com/udemy-discounts/

  • @TheBlissMagnets
    @TheBlissMagnets 6 ปีที่แล้ว

    Really good video man, thanks!

    • @RaghavPal
      @RaghavPal  6 ปีที่แล้ว

      You're welcome :)

  • @testTest-ks6bz
    @testTest-ks6bz 5 ปีที่แล้ว

    Thank you very much for this videos

    • @RaghavPal
      @RaghavPal  5 ปีที่แล้ว

      You're welcome

  • @MukeshKumar-re4wd
    @MukeshKumar-re4wd 6 ปีที่แล้ว +1

    THANK YOU THANK YOU THANK YOU FOR THIS VIDEO

    • @RaghavPal
      @RaghavPal  6 ปีที่แล้ว

      You're welcome Mukesh

  • @dhananjaypatil110
    @dhananjaypatil110 5 ปีที่แล้ว +1

    hi dear u explained very well but u should also add that while installing selenium from cmd internet should be on or internet is required or not bcoz serioulsy thats not understood

    • @RaghavPal
      @RaghavPal  5 ปีที่แล้ว

      Hi Dhananjay. sure

  • @niraimathi671
    @niraimathi671 6 ปีที่แล้ว

    Nice video, Explained it in a very detailed Manner.

    • @RaghavPal
      @RaghavPal  6 ปีที่แล้ว

      Thanks for watching Nirai

    • @codematehussain
      @codematehussain 5 ปีที่แล้ว

      Please watch: "Increase Your Instagram Account followers easily with Python || Web Automation (Selenium) "
      th-cam.com/video/S97o8WxZYDA/w-d-xo.html

  • @vinuvignesh443
    @vinuvignesh443 5 ปีที่แล้ว

    Hi Ragh, 15:43Sec Driver.Set values how to get those, Kindly assist

    • @RaghavPal
      @RaghavPal  5 ปีที่แล้ว

      Hi Vinu, If you do not get autosuggestion, pls try to press ctrl+space key OR check after restarting PyCharm

  • @kopula
    @kopula 7 ปีที่แล้ว +1

    Really good video thanks for the info :)

    • @RaghavPal
      @RaghavPal  7 ปีที่แล้ว

      you're welcome Venkatesh

  • @mohammadfayaz4962
    @mohammadfayaz4962 3 ปีที่แล้ว

    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?

    • @RaghavPal
      @RaghavPal  3 ปีที่แล้ว

      Hi Fayaz, happy to know this, I have tried to cover all the basics, also you can check other python selenium tutorials here automationstepbystep.com/ and Udemy course here - automationstepbystep.com/udemy-discounts/

    • @mohammadfayaz4962
      @mohammadfayaz4962 3 ปีที่แล้ว

      @@RaghavPal Thanks raghav, Sure I will take it.

  • @rabusapcarabusapca2738
    @rabusapcarabusapca2738 5 ปีที่แล้ว

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

    • @RaghavPal
      @RaghavPal  5 ปีที่แล้ว

      Thanks Rabusapca, I will certainly check on that. You can find existing videos here - automationstepbystep.com/online-courses/

  • @shantanubombatkarvlogs9821
    @shantanubombatkarvlogs9821 6 ปีที่แล้ว +2

    if i know selenium then i definitely now ide and all basic of python

    • @RaghavPal
      @RaghavPal  6 ปีที่แล้ว

      Glad to know that Shantanu

    • @PsSarvna
      @PsSarvna 6 ปีที่แล้ว

      ss true.

  • @venkatsai6496
    @venkatsai6496 6 ปีที่แล้ว

    really ur explanation is awesome... Raghav..

    • @RaghavPal
      @RaghavPal  6 ปีที่แล้ว

      Thanks Venkat

  • @MalegaonDiary
    @MalegaonDiary 2 ปีที่แล้ว +1

    just an update: find_element_by_name or such syntax is not working now in selenium 4 its find_element("name","")

    • @RaghavPal
      @RaghavPal  2 ปีที่แล้ว +1

      thanks for the update Sayyed

  • @kandamilveganvlogs9803
    @kandamilveganvlogs9803 2 ปีที่แล้ว

    hi Raghav, thank you for this series, do you have one on mac? i dont have windows, is it going to be completely
    different for mac?

    • @RaghavPal
      @RaghavPal  2 ปีที่แล้ว

      Can follow this on mac

  • @Sab_Moh_Maya_Hal
    @Sab_Moh_Maya_Hal 5 ปีที่แล้ว

    thank you very much,best tutorial i have ever seen.

    • @RaghavPal
      @RaghavPal  5 ปีที่แล้ว

      You're welcome Shobhit

  • @alecsmotiongraphics
    @alecsmotiongraphics 4 ปีที่แล้ว +2

    2000th like, ty for the tutorial

    • @RaghavPal
      @RaghavPal  4 ปีที่แล้ว

      Thanks for watching.

  • @sujoybanerjee9302
    @sujoybanerjee9302 7 ปีที่แล้ว

    hi raghav , all of ur videos r super awesome with every small steps explained, which is a must for every newbie :)
    It will b great if u start selenium with java along with JUnit & TestNG videos tutorials

    • @RaghavPal
      @RaghavPal  7 ปีที่แล้ว

      Hi Sujoy, thanks for watching. Creating a Selenium Java framework is in my to do list. I will start on it asap. Keep watching.

    • @RaghavPal
      @RaghavPal  6 ปีที่แล้ว

      Hi Sujoy, i have started Selenium Java Framework series - th-cam.com/play/PLhW3qG5bs-L8oRay6qeS70vJYZ3SBQnFa.html
      Will be adding more videos shortly

  • @rakeshpatra1955
    @rakeshpatra1955 5 ปีที่แล้ว +1

    Hi Raghav,
    Can you please upload a video on, how to create modular script in python.

    • @RaghavPal
      @RaghavPal  5 ปีที่แล้ว

      Hi Rakesh, sure, I think in this series you can get more info - th-cam.com/play/PLhW3qG5bs-L9JjtXx-adxWdbjaxeRhi7h.html

  • @jeromebader1656
    @jeromebader1656 6 ปีที่แล้ว

    Excellent! Thank you!

    • @RaghavPal
      @RaghavPal  6 ปีที่แล้ว

      You're welcome Jerome

    • @codematehussain
      @codematehussain 5 ปีที่แล้ว

      Please watch: "Increase Your Instagram Account followers easily with Python || Web Automation (Selenium) "
      th-cam.com/video/S97o8WxZYDA/w-d-xo.html

  • @parthchhabra150
    @parthchhabra150 4 ปีที่แล้ว +1

    Do i miss out on something if I use IDLE, than Pycharm?

    • @RaghavPal
      @RaghavPal  4 ปีที่แล้ว

      Should be okay, once you setup the project its all scripting after that

  • @sush123451
    @sush123451 6 ปีที่แล้ว

    nice video, can you please explain little more what .send_keys(Keys.ENTER) does in line no 10?Understood why we have to do but could not understand what it actually does?

    • @RaghavPal
      @RaghavPal  6 ปีที่แล้ว

      Hi Susmita, this is for pressing or emulating keyboard press. So in this case it emulates pressing ENTER key on keyboard

    • @sush123451
      @sush123451 6 ปีที่แล้ว +1

      Thanks for replying. oh that's great. I am learning and it's exciting.

  • @biplob2071
    @biplob2071 5 ปีที่แล้ว

    Environment Variable setup: 4:08

    • @RaghavPal
      @RaghavPal  5 ปีที่แล้ว

      Thanks for adding

  • @nithyas4168
    @nithyas4168 4 ปีที่แล้ว

    Life saver 🙏🏽

    • @RaghavPal
      @RaghavPal  4 ปีที่แล้ว

      So happy to know it helped Nithya

  • @arnabdasgupta100
    @arnabdasgupta100 4 ปีที่แล้ว

    Nice tutorial! Got me started after a long wait finally. Only thing is that in my case, the ENTER key is not getting hit with the same code. Request some guidance! Thanks in advance!

    • @RaghavPal
      @RaghavPal  4 ปีที่แล้ว

      Hi Arnab, You can add wait or sleep commands OR Try this
      input = driver.find_element_by_name('q') input.send_keys('SELENIUM PYTHON IS COOL') input.send_keys(Keys.ENTER)

  • @nprasanna3985
    @nprasanna3985 7 ปีที่แล้ว

    Thanks Raghav.. Thank you so much for this video.. I have experience in QTP(VB script).. I learned python but I don't have knowledge in selenium.. I just saw your video.. it helped me a lot.. can you please send me the links of this continuation videos..

    • @RaghavPal
      @RaghavPal  7 ปีที่แล้ว

      Great to hear this. As of now i have only this video for Selenium Python . Will add more soon

    • @camarasalou5770
      @camarasalou5770 6 ปีที่แล้ว

      Messi

  • @codematehussain
    @codematehussain 5 ปีที่แล้ว

    Loved your video brother :)

    • @RaghavPal
      @RaghavPal  5 ปีที่แล้ว

      Thanks for watching

  • @rameshtulal
    @rameshtulal 4 ปีที่แล้ว

    Thanks Ragav, Could you please tell me why is use of executable path for passing the driver url. some are using smoe are not and both the case its wrking. why exactly we use executable path? Thanks.

    • @RaghavPal
      @RaghavPal  4 ปีที่แล้ว

      Hi Ramesh, hope you are talking about driver exe file. It is required with Selenium 3 onwards to communicate between selenium and browser. If using older ver of selenium you may not need it

    • @rameshtulal
      @rameshtulal 4 ปีที่แล้ว

      @@RaghavPal Clear . Thanks Raghav :)

  • @fuadhaque922
    @fuadhaque922 7 ปีที่แล้ว

    u should make more python selenium testing videos.this is so helpful

    • @RaghavPal
      @RaghavPal  7 ปีที่แล้ว

      Thanks Fuad, i will do.

  • @bhaumik17able
    @bhaumik17able 5 ปีที่แล้ว

    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

    • @RaghavPal
      @RaghavPal  5 ปีที่แล้ว

      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 - automationstepbystep.com/udemy-discounts/

  • @bakhshishsingh2570
    @bakhshishsingh2570 3 ปีที่แล้ว

    thanks man , it helped

    • @RaghavPal
      @RaghavPal  3 ปีที่แล้ว

      Most welcome Bakhshish

  • @nishatahmed7646
    @nishatahmed7646 5 ปีที่แล้ว

    it was a very good tutorial...it helped me alot....:)

    • @RaghavPal
      @RaghavPal  5 ปีที่แล้ว +1

      So happy to know this Nishant

  • @BrickBuildingKids
    @BrickBuildingKids 4 ปีที่แล้ว

    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?

    • @RaghavPal
      @RaghavPal  4 ปีที่แล้ว

      Hi, Glad to know it helped. this will be different from Macros, here we are using python and selenium libraries

  • @rodrigorodriguezbarrera4418
    @rodrigorodriguezbarrera4418 3 ปีที่แล้ว +1

    Hi Raghav,
    First, thank you so much for your Tutorials, I follow you and has been helpfull to me, you're a master!
    Second, I have a situation when I run the Test1, due the ENTER does not works, and appear the following error:
    File "C:\Users
    odne\PycharmProjects\firstSeleniumTest\venv\lib\site-packages\selenium\webdriver
    emote\errorhandler.py", line 242, in check_response
    raise exception_class(message, screen, stacktrace)
    selenium.common.exceptions.ElementNotInteractableException: Message: element not interactable
    (Session info: chrome=88.0.4324.150)
    Could you help me to know why it's broken? or maybe I missed something.

    • @RaghavPal
      @RaghavPal  3 ปีที่แล้ว

      Hi Rodrigo, this is mostly because the element i.e the Search button gets overlapped by the search results and is not visible. You can first press escape to close the auto-suggestion window and then process, Also check the comments of this video, you will get more solutions

    • @rodrigorodriguezbarrera4418
      @rodrigorodriguezbarrera4418 3 ปีที่แล้ว

      Done, I fixed it usign:
      "driver.find_element_by_name("q").send_keys("intc", Keys.ENTER)" into the element "q".
      Regards!

  • @leonishaxhiaj3586
    @leonishaxhiaj3586 4 ปีที่แล้ว +2

    hey dude my pycharm doesn't give those suggestions, any tips on how I can fix it? Thanks a lot

    • @RaghavPal
      @RaghavPal  4 ปีที่แล้ว

      Hi Leonis, try to restart PyCharm and check. If that does not help check this - stackoverflow.com/questions/28677670/why-isnt-pycharms-autocomplete-working-for-libraries-i-install

  • @kshitijrastogi5674
    @kshitijrastogi5674 4 ปีที่แล้ว +1

    Hi Raghav,
    I am getting the following exception while running "driver.find_element_by_name("btnK").send_keys(Keys.ENTER)"
    "selenium.common.exceptions.ElementNotInteractableException: Message: element not interactable"
    Please help as I am unable to resolve this issue.

    • @RaghavPal
      @RaghavPal  4 ปีที่แล้ว +1

      Hi Kshitij, You can try
      use submit() instead of click()
      OR
      driver.implicitly_wait(10)
      driver.find_element_by_name("btnK").click()

    • @kshitijrastogi5674
      @kshitijrastogi5674 4 ปีที่แล้ว

      @@RaghavPal It Worked. Thanks a lot :)