Thank you so much for this video I'm not getting ( By - Imports) I'm searching for more than 2 days your video gives a crystal-clear explanation thanks a lot
Really appreciate your continuous work of teaching....and also your dialogues like"i am not doing any rocket science" which give so much boost to learn at any point of time in career.....thanks u so much. :)
@Naveen: When to use Selenium with Java and Selenium with Python in various web app automation? What parameters should be considered when it comes to pick automation tools and technologies. With experience we would u'stand this but would be nice if you share your thoughts on this. Why Python and not Java and when. Thanks much!!
Hi Naveen excellent video . One question in the env variable why one path has been mentioned with python and other one till scripts? how do you get the python.exe files for python interpreter you showed in pycharm ?
Hi Naveen, this is an excellent video. I am following your all video tutorials and the explanation of each video is superb. Can you please make a tutorial on Jenkins pipeline also
Hi Naveen, I want to know one thing, we are using Web driver and selenium libraries in Pycharm as well, so Pycharm still depends on selenium concepts, doesn't it has own driver or libraries for its automation on web applications? Kindly let me know. Thank you.
*“element is not attached to the page document”* If you are facing this error, try this inside the *for loop* : for ele in optionsList: time.sleep(1) print(ele.text) Setting a sleep timer will likely help you overcome this error. If you still face the same error, try setting the sleep timer to 2 or 3 seconds.
Hi Naveen, is the setting different in mac: i did the same but i am not getting any method while doing driver. , like below from selenium import webdriver driver=webdriver.chrome('/Library/Selenium/chromedriver') driver.
Hello, Is it possible to use "Python" language with "Karate" Framework for UI & API Automation ? If yes, can you please create setup videos using Karate Framework using Python language in PyCharm. Thanks.
I am newbie to python selenium and trying out the first code. I am unable to search anything because a pop-up window "Before you continue to google" appears. How to resolve this?
Hi Naveen I have used the CSS Selector: ul.erkvQe li span, but the length value is getting displayed a 0 and the list of values are also not getting displayed. Can u pls help me out.
@@karishmashrestha5932 Implicit wait is like default wait..which will wait for all the driver.findElement methods. As soon as we create the driver, we should specify the implicit wait..so that implicit wait waits for all the driver.findElement methods in the test script. here trainer used time.sleep temporarily for the css selector locator to load but the correct way is specifying implicit wait at the start of the script.
I am trying to automate webwhatsapp and after first time QR code scan , I want to reuse this session in Firefox browser only. Reason being I want to run my test case in headless mode so I can't scan my QR code everytime. Only first time I want to run and scan without headless mode. For rest all times it should work as logged in user session only. It is working fine on chrome browser but not on Firefox. Please help in resolving this .
Hi Naveen, Thanks for this series. I try to setup and install selenium as mentioned in the video but i get connection timed out error because of the proxy. I set up the proxy in the pycharm and in the environment variables but it is not working. Anyone facing this issue.Could you please help on this.
Hi Naveen, I tried the exact code on mac but the list is not appearing instead it says empty list even though when i filter it using inspect element i can see 10 elements, i tried the same code with the css selector but i keep getting empty list. Can someone explain why please
Hi I am learning Selenium, I am trying spyder IDE with Python 3.9 in the above program after CSS_selector statement you written print statement as len(single element) while trying that step it shows error I tried to print single element with count extension gives some value and while executing it shows DeprecationWarning: executable_path has been deprecated, please pass in a Service object and trying in Pycharm latest edition and Python 3.10 it shows warning as DeprecationWarning: executable_path has been deprecated, please pass in a Service object driver = webdriver.Chrome(executable_path=driver_path) kindly guide me where I need commit mistake and how to resolve it thanks in advance
Hi Naveen, thanks for your videos. I have 1 issue, i'm not able to find object locators like Name, Css selector etc when i choose Inspect option in chrome. Can anyone help me.
Hi Navin, I was trying to launch Chrome but it's not coming executable_path & getting following error: Please suggest!!! "C:\Users\Vinay Gupta\AppData\Local\Programs\Python\Python38-32\python.exe" "C:/Users/Vinay Gupta/PycharmProjects/SeleniumPythonProject/SeleniumPythonPackage/WebDriverBasics.py" Traceback (most recent call last): File "C:/Users/Vinay Gupta/PycharmProjects/SeleniumPythonProject/SeleniumPythonPackage/WebDriverBasics.py", line 2, in driver = webdriver.chrome(executable_path="C:\Program Files (x86)\Google\Chrome\Application\chromedriver.exe") TypeError: 'module' object is not callable Process finished with exit code 1
hi everyone there is an error occuring driver= webdriver.Chrome(executable_path= C:\\Users\\KIIT\\PycharmProjects\\chromedriver.exe) ^ SyntaxError: invalid syntax how can it be verified?
You're missing something in the path, the double or single quotes. the path has to be like this driver=webdriver.Chrome(executable_path="C:\ Users\\KIIT\\PycharmProjects\\chromedriver.exe")
if anyone is seeing the google terms and condition pop up everytime they run the code, i found this code to help from stackoverflow : driver.switch_to.frame(0) driver.find_element_by_id("introAgreeButton").click() driver.switch_to.default_content() print("begone foul demon of google terms")
Thank you so much for this video I'm not getting ( By - Imports) I'm searching for more than 2 days your video gives a crystal-clear explanation thanks a lot
Glad to see, Selenium with Python by you. I was really waiting for it. I also loved your Selenium with Java videos..You teach very well.👌👌👌
Really appreciate your continuous work of teaching....and also your dialogues like"i am not doing any rocket science" which give so much boost to learn at any point of time in career.....thanks u so much. :)
You are great Naveen... Best Automation trainer in youtube ... Thanks for the awesome videos.
i was wishing u to upload it in python and here it goes!! thankyou naveen sir !! love from Nepal
Appreciate your efforts Naveen!
Thanks for starting off with python...
Thanks for the info.. Could you please do one video on PyBuilder please
@naveen automation labs:Api testing with requests library in python. Is this going to be covered in this series ?
Thanks Naveen for starting this Python Series.
Hi Naveen, Your way of teaching is awsome, I like your videos. Please create videos on API automation with Python. thnx 😇🥰
Hi Naveen ...... Waiting for Python.....Great to watch this
Hey Naveen, would be really appreciated if you could post all this series. Thanks alot.
Hi sir.. please uplaod all episodes.. I'm a big fan of urs
Very helpful! Thank you. Once i learn to automate my own code ill send you a python like!
Hi Sir, I am big big fan of you, I learnt lot of things from your videos. You're amazing, genius sir!!
@Naveen: When to use Selenium with Java and Selenium with Python in various web app automation? What parameters should be considered when it comes to pick automation tools and technologies. With experience we would u'stand this but would be nice if you share your thoughts on this. Why Python and not Java and when. Thanks much!!
Hi Naveen excellent video . One question in the env variable why one path has been mentioned with python and other one till scripts?
how do you get the python.exe files for python interpreter you showed in pycharm ?
Thanks, Naveen......Eagerly waiting for python series...some more videos, please
I have done your other python series videos...
Hi Naveen, this is an excellent video. I am following your all video tutorials and the explanation of each video is superb. Can you please make a tutorial on Jenkins pipeline also
Very Good Tutorial! Thank you! :)
Are you providing the complete content this time ?
Hi Naveen, I want to know one thing, we are using Web driver and selenium libraries in Pycharm as well, so Pycharm still depends on selenium concepts, doesn't it has own driver or libraries for its automation on web applications? Kindly let me know. Thank you.
Hi Naveen
I like your videos very informative. Are you going to take classes for selenium python please let me know
Thank you so much bro ... 😍
Really Helpful Naveen..thank you so much !
wow bro , accurate teach
*“element is not attached to the page document”*
If you are facing this error, try this inside the *for loop* :
for ele in optionsList:
time.sleep(1)
print(ele.text)
Setting a sleep timer will likely help you overcome this error.
If you still face the same error, try setting the sleep timer to 2 or 3 seconds.
Thank you Naveen .
Always welcome
Video about general utilities??
Hi Naveen, can you please make a video to understand how to read the Python documentation?
Much appreciated explanations
making video good effort but theme of Pycharm change so we can see clearly
thanks Naveen
Hi Naveen, is the setting different in mac: i did the same but i am not getting any method while doing driver. , like below
from selenium import webdriver
driver=webdriver.chrome('/Library/Selenium/chromedriver')
driver.
Hello Naveen, does pytest supports selenium grid?
Hi Naveen, Getting an error module not callable
When I am printing the length, it is showing 20 as it is counting twice ( naveen automation labs ) Any inputs how to fix this? TIA
what did you do. I am stuck with the same
Hi Naveen , When I install selenium in the project , Its getting install in AppData, Lib . Its not downloading under the current project
The box you used to type that css "ul.erkvQe..." does not appear when I select inpect page. How can I activate it?
how did you write css selector here can you briefly explain because i have written css by using ,class or #id
Hi Sir, can i use pydev in eclipse for python automation practices?? thanks for your response.
Hello,
Is it possible to use "Python" language with "Karate" Framework for UI & API Automation ?
If yes, can you please create setup videos using Karate Framework using Python language in PyCharm.
Thanks.
I am newbie to python selenium and trying out the first code. I am unable to search anything because a pop-up window "Before you continue to google" appears. How to resolve this?
Hi Naveen I have used the CSS Selector: ul.erkvQe li span, but the length value is getting displayed a 0 and the list of values are also not getting displayed. Can u pls help me out.
Hi Anand, use "driver.implicitly_wait(5)" before the By.CSS_SELECTOR statement
@@kalyanchakri5099 Thank u so much
@@kalyanchakri5099 thankyou i was also stuck in this . but can u tell me why did we use that impicit wait before css selector??
@@karishmashrestha5932 Implicit wait is like default wait..which will wait for all the driver.findElement methods. As soon as we create the driver, we should specify the implicit wait..so that implicit wait waits for all the driver.findElement methods in the test script. here trainer used time.sleep temporarily for the css selector locator to load but the correct way is specifying implicit wait at the start of the script.
@@kalyanchakri5099 thankyou so much clearing my doubts :)
I used same approach to print count of list but am getting count as 20
What i am doing wrong here??
Can you post rest of appium series
Is Possible to Use TestNG Framework in Selenium with Python Automation Testing.
how to select a element if we have multiple elemts of same name. is their any way to get the element?
I am trying to automate webwhatsapp and after first time QR code scan , I want to reuse this session in Firefox browser only. Reason being I want to run my test case in headless mode so I can't scan my QR code everytime. Only first time I want to run and scan without headless mode. For rest all times it should work as logged in user session only.
It is working fine on chrome browser but not on Firefox. Please help in resolving this .
Wow 🤩
Hi Naveen, Thanks for this series.
I try to setup and install selenium as mentioned in the video but i get connection timed out error because of the proxy. I set up the proxy in the pycharm and in the environment variables but it is not working. Anyone facing this issue.Could you please help on this.
Thank you naveen...
Hello Everyone! I am preparing Selenium with python.I want know Whether learning Python Selenium Having scope in MNC for Automation Tester Role
Hi Naveen, I tried the exact code on mac but the list is not appearing instead it says empty list even though when i filter it using inspect element i can see 10 elements, i tried the same code with the css selector but i keep getting empty list.
Can someone explain why please
Hi I am learning Selenium, I am trying spyder IDE with Python 3.9 in the above program after CSS_selector statement you written print statement as len(single element) while trying that step it shows error I tried to print single element with count extension gives some value and while executing it shows DeprecationWarning: executable_path has been deprecated, please pass in a Service object and trying in Pycharm latest edition and Python 3.10 it shows warning as DeprecationWarning: executable_path has been deprecated, please pass in a Service object
driver = webdriver.Chrome(executable_path=driver_path) kindly guide me where I need commit mistake and how to resolve it thanks in advance
Is it possible for you to upload selenium with pytest? it is in demand
My chrome version is 126 , there is no chrome driver for 126 version ...how do we tackle this
Hi Naveen,
thanks for your videos.
I have 1 issue, i'm not able to find object locators like Name, Css selector etc when i choose Inspect option in chrome.
Can anyone help me.
press CTL + f
getting error could not find a version while installing selenium what to do?
this is great!!!
Hi Navin, I was trying to launch Chrome but it's not coming executable_path & getting following error: Please suggest!!! "C:\Users\Vinay Gupta\AppData\Local\Programs\Python\Python38-32\python.exe" "C:/Users/Vinay Gupta/PycharmProjects/SeleniumPythonProject/SeleniumPythonPackage/WebDriverBasics.py"
Traceback (most recent call last):
File "C:/Users/Vinay Gupta/PycharmProjects/SeleniumPythonProject/SeleniumPythonPackage/WebDriverBasics.py", line 2, in
driver = webdriver.chrome(executable_path="C:\Program Files (x86)\Google\Chrome\Application\chromedriver.exe")
TypeError: 'module' object is not callable
Process finished with exit code 1
Facing same problem. please give me solution
Facing same problem, After trouble shooting everything it is not working, please give any solution.
Can't able to select auto suggestion in selenium python . Cannot able select using css selector . Please sir
TypeError: 'module' object is not callable got this error please assist
Sir i cannot able select the suggestions . it is showing the length as 0 for CSSSELECTOR
same here. what did you do next
Thanks You So Much NAVEEN.
hi naveen its throwing me error while opening through terminal - i am inside the folderpath and running python WebDriverbasics.py
Same for me
Please use white IDE , its difficult to see the code.Thanks
how to bypass captcha ?
Video visibility is need improve... Bcoz code is not able visible really hard to see..
you need to change ur YT HD settings.
'Before you continue to Google Search' pop up is so annoying .How can i get rid of it
hi everyone there is an error occuring
driver= webdriver.Chrome(executable_path= C:\\Users\\KIIT\\PycharmProjects\\chromedriver.exe)
^
SyntaxError: invalid syntax
how can it be verified?
path should in "C:\\path"
You're missing something in the path, the double or single quotes.
the path has to be like this
driver=webdriver.Chrome(executable_path="C:\
Users\\KIIT\\PycharmProjects\\chromedriver.exe")
.
if anyone is seeing the google terms and condition pop up everytime they run the code, i found this code to help from stackoverflow :
driver.switch_to.frame(0)
driver.find_element_by_id("introAgreeButton").click()
driver.switch_to.default_content()
print("begone foul demon of google terms")
selenium.common.exceptions.NoSuchFrameException: Message: Unable to locate frame with index: 0
@@edwardalexander5090 Even I get the same error. How did you fix it?
Thanks Naveen