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!
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!
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 ..
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.
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.
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'
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!
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?
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 !!!
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!
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 👍
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)
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
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
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?
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.
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.
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.
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.
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~
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
@@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 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
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
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)
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
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
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 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/
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
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/
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
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 automationstepbystep.com/ and Udemy course here - automationstepbystep.com/udemy-discounts/
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 ! :)
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
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?
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!
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)
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..
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.
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
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 - automationstepbystep.com/udemy-discounts/
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 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.
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
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
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.
Free online courses - 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!
Online courses - automationstepbystep.com/
Hi Pablo, what is the error you are facing
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!
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 ..
So happy n humbled to know this Nandeesh.. keep learning and sharing
tutorial starts at 14:03
Thanks man
Thanks
tanq
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.
True
Automation Step by Step - Raghav Pal when are you going to continue with Python?
@@ZafarDidit Please watch: "Increase Your Instagram Account followers easily with Python || Web Automation (Selenium) "
th-cam.com/video/S97o8WxZYDA/w-d-xo.html
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
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
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 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'
Hi Jaden, have you added environment variables. Also check other comments on this video, that will help.
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!
Can you try reinstalling selenium. Also use some commands for checking here - th-cam.com/video/7SW86f280o8/w-d-xo.html
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?
Search for "selenium" and add it
stackoverflow.com/questions/49482586/pycharm-referenced-error-with-import-selenium-webdriver
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
Best tutor fro automation in youtube. Very good content and in addition your pace and voice is so good
Thanks a lot.. humbled
Thank you... I was looking for tjhis kind of video which explain the detail from scratch.
You're welcome Deepak
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
thanks so much ....i was having many errors ...now its all solved ...you covered every little points
Most welcome
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
Very nice video. Step by step instructions provided. Thanks Raghav.
Thanks for watching Shikha
As a beginner level this video is very useful. Thank You.
You're welcome Roshan
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)
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
Raghav Pal
, there is any way to avoid this? I appreciate your help and tutorials
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
Please watch: "Increase Your Instagram Account followers easily with Python || Web Automation (Selenium) "
th-cam.com/video/S97o8WxZYDA/w-d-xo.html
Thanks for this elaborated information
Earlier I was confused with webdrivers
Glad t know it helped Rahul
Please watch: "Increase Your Instagram Account followers easily with Python || Web Automation (Selenium) "
th-cam.com/video/S97o8WxZYDA/w-d-xo.html
Thank you, Raghav - simple, exact and working demo. You've made my day!
You're welcome Mykola
skip to 14:44 for the actual Selenium code
Thanks for the info
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
Great to know this Ankit, i will keep posting, keep learning
Hi Raghav, this video is very useful for me. I hope you put more videos about this topic. Greetings from Taiwan.
Hi Joe, glad to hear that. Will definitely add more videos.
Please keep doing those videos and selenium+Python. Love it!
Thanks Alice, will add more to this list.
Please watch: "Increase Your Instagram Account followers easily with Python || Web Automation (Selenium) "
th-cam.com/video/S97o8WxZYDA/w-d-xo.html
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.
So happy to know this.
Thanks!!!! This is what I was looking for! I'm a beginner in automation with python.
Happy to know this Jorge
Please watch: "Increase Your Instagram Account followers easily with Python || Web Automation (Selenium) "
th-cam.com/video/S97o8WxZYDA/w-d-xo.html
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
Thanks Man !! great video !
You're welcome Rushi
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?
Hi Hyunkyung, Pls use
driver.find_element_by_name("q").send_keys(Keys.ENTER)
Raghav your videos are really helpful. Just want to say thank you.
You're welcome Ishvar, Thanks for writing to me.
Very clear and well explained. Thank you
You are welcome!
Hi Ragav,
Thanks a lot for your detail explanation (step by step). I started following you and find it very helpful.
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.
Hi Subrata, that is fine, Just add the env variables accordingly.
Tq raghav, it is very helpful for beginners .......awesome man......
Great to hear that Venkatesh.
man, this channel is amazing. Much appreciate man!
Great to hear that Matt. Keep watching.
Please watch: "Increase Your Instagram Account followers easily with Python || Web Automation (Selenium) "
th-cam.com/video/S97o8WxZYDA/w-d-xo.html
Hi Raghav, very good video. I hope you put more videos about this topic. Greetings from Brasil!
Hi El, thanks for watching. Will add more videos on this.
Great video, great tutorial. Thanks Raghav...
You're welcome. Thanks for watching.
Please watch: "Increase Your Instagram Account followers easily with Python || Web Automation (Selenium) "
th-cam.com/video/S97o8WxZYDA/w-d-xo.html
Excelent class, it was very usefully, thanks
Thanks for watching Carlos
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.
Thanku so much. Helped alot
Always welcome Manjary
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.
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
Please watch: "Increase Your Instagram Account followers easily with Python || Web Automation (Selenium) "
th-cam.com/video/S97o8WxZYDA/w-d-xo.html
very nice video..i learnt very easily
Happy to know Vaishali
Thanks Raghav! really helpful one, request if you can share a video for installation of all tools & language over mac. Thanks in advance. :)
Hi Prerna, sure will plan in some time.
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~
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
@@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
Okay, you can again check all lib are present in your project repo and can restart pycharm to check auto completion works
@@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
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
Very good video, very good lesson, thx Raghav Pal ;)
You're welcome Stephen
hey raghav,Thanks alot. Much awaiting session
glad it will help Srujan
Very nice..keep well..we expect more videos from your channel..all the best..
will keep adding more content
Very well explained. Nice work!
Thanks for watching Srikar
Great Tutorial. Thank You Sir
You're welcome Anum
Tutorial is really helpful.
Glad to know this Sanjeev
Great explanation,
For the 14:30m,when i tape Selenium on Pycharm did not required!
Is there any solution please ?
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)
@@RaghavPalIt's done,great to find out your channel.
Thank you for your steps and efforts.
You are great sir you have replied to each every person in comment section wow!!!
Yes Vikas, If I leave my students in the middle of any doubts, My work is not done.
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
Do you have any video for Python selenum setup for Mac
Hi Yogavaishnavan, yes, you can check in the Python tutorial here - automationstepbystep.com/
Great step by step video.
thanks for watching Stephen
Thank you very much for publishing this!
You're welcome
thanks raghav..wish u happy new year to all viewers..great year a head :)
Thanks and Best Wishes venkat
thanks...this video will definitely help me
great to know this Neehar
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
Hi Venkat, I will do more videos soon. Thanks for watching
If you are getting a directory error , remove the directory and paste your browser driver in the same folder of the python script.
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
@@sanjeevkrsharma295 same error
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
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/
25:04 mine only entered the text but it's not pressing the search button
Hi, pls check the logs and also check the comments, this has been faced and resolved by several users
@@RaghavPal ok it works now, thanks,
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
This is great to know William. I will add more sessions soon.
Thanks
Raghav Sir which language is best for selenium python or java
Both are good, Selenium with Python will be good option for now.
Hi Raghav sir, plz share selenium with Python more videos where I can built my Carrier in automation testing with Python
Really nice video!! Great!! Thank you for sharing..!! You got a new subscriber!! :-) Glad to find this channel !!
Happy to know this Trupti
This is really cool, thanks!
Glad to know this Jorge
Good explanation, thanks Raghav.
And can you also cover the Pytest as well ?
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/
Really good video man, thanks!
You're welcome :)
Thank you very much for this videos
You're welcome
THANK YOU THANK YOU THANK YOU FOR THIS VIDEO
You're welcome Mukesh
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
Hi Dhananjay. sure
Nice video, Explained it in a very detailed Manner.
Thanks for watching Nirai
Please watch: "Increase Your Instagram Account followers easily with Python || Web Automation (Selenium) "
th-cam.com/video/S97o8WxZYDA/w-d-xo.html
Hi Ragh, 15:43Sec Driver.Set values how to get those, Kindly assist
Hi Vinu, If you do not get autosuggestion, pls try to press ctrl+space key OR check after restarting PyCharm
Really good video thanks for the info :)
you're welcome Venkatesh
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 automationstepbystep.com/ and Udemy course here - automationstepbystep.com/udemy-discounts/
@@RaghavPal Thanks raghav, Sure I will take it.
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 - automationstepbystep.com/online-courses/
if i know selenium then i definitely now ide and all basic of python
Glad to know that Shantanu
ss true.
really ur explanation is awesome... Raghav..
Thanks Venkat
just an update: find_element_by_name or such syntax is not working now in selenium 4 its find_element("name","")
thanks for the update Sayyed
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?
Can follow this on mac
thank you very much,best tutorial i have ever seen.
You're welcome Shobhit
2000th like, ty for the tutorial
Thanks for watching.
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
Hi Sujoy, thanks for watching. Creating a Selenium Java framework is in my to do list. I will start on it asap. Keep watching.
Hi Sujoy, i have started Selenium Java Framework series - th-cam.com/play/PLhW3qG5bs-L8oRay6qeS70vJYZ3SBQnFa.html
Will be adding more videos shortly
Hi Raghav,
Can you please upload a video on, how to create modular script in python.
Hi Rakesh, sure, I think in this series you can get more info - th-cam.com/play/PLhW3qG5bs-L9JjtXx-adxWdbjaxeRhi7h.html
Excellent! Thank you!
You're welcome Jerome
Please watch: "Increase Your Instagram Account followers easily with Python || Web Automation (Selenium) "
th-cam.com/video/S97o8WxZYDA/w-d-xo.html
Do i miss out on something if I use IDLE, than Pycharm?
Should be okay, once you setup the project its all scripting after that
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?
Hi Susmita, this is for pressing or emulating keyboard press. So in this case it emulates pressing ENTER key on keyboard
Thanks for replying. oh that's great. I am learning and it's exciting.
Environment Variable setup: 4:08
Thanks for adding
Life saver 🙏🏽
So happy to know it helped Nithya
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!
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)
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..
Great to hear this. As of now i have only this video for Selenium Python . Will add more soon
Messi
Loved your video brother :)
Thanks for watching
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.
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
@@RaghavPal Clear . Thanks Raghav :)
u should make more python selenium testing videos.this is so helpful
Thanks Fuad, i will do.
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 - automationstepbystep.com/udemy-discounts/
thanks man , it helped
Most welcome Bakhshish
it was a very good tutorial...it helped me alot....:)
So happy to know this Nishant
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
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.
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
Done, I fixed it usign:
"driver.find_element_by_name("q").send_keys("intc", Keys.ENTER)" into the element "q".
Regards!
hey dude my pycharm doesn't give those suggestions, any tips on how I can fix it? Thanks a lot
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
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.
Hi Kshitij, You can try
use submit() instead of click()
OR
driver.implicitly_wait(10)
driver.find_element_by_name("btnK").click()
@@RaghavPal It Worked. Thanks a lot :)