Selenium WebDriver With Python - Installation & First Code - Part 1

แชร์
ฝัง
  • เผยแพร่เมื่อ 9 พ.ย. 2024

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

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

    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

  • @vpkori
    @vpkori 4 ปีที่แล้ว +11

    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.👌👌👌

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

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

  • @saurabht09
    @saurabht09 3 ปีที่แล้ว +2

    You are great Naveen... Best Automation trainer in youtube ... Thanks for the awesome videos.

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

    i was wishing u to upload it in python and here it goes!! thankyou naveen sir !! love from Nepal

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

    Appreciate your efforts Naveen!
    Thanks for starting off with python...

  • @NagaRaju-se5ov
    @NagaRaju-se5ov 11 หลายเดือนก่อน +1

    Thanks for the info.. Could you please do one video on PyBuilder please

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

    @naveen automation labs:Api testing with requests library in python. Is this going to be covered in this series ?

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

    Thanks Naveen for starting this Python Series.

  • @manuverma3133
    @manuverma3133 ปีที่แล้ว

    Hi Naveen, Your way of teaching is awsome, I like your videos. Please create videos on API automation with Python. thnx 😇🥰

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

    Hi Naveen ...... Waiting for Python.....Great to watch this

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

    Hey Naveen, would be really appreciated if you could post all this series. Thanks alot.

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

    Hi sir.. please uplaod all episodes.. I'm a big fan of urs

  • @marshalyapado
    @marshalyapado 5 หลายเดือนก่อน

    Very helpful! Thank you. Once i learn to automate my own code ill send you a python like!

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

    Hi Sir, I am big big fan of you, I learnt lot of things from your videos. You're amazing, genius sir!!

  • @mittalpatel4685
    @mittalpatel4685 3 ปีที่แล้ว +2

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

  • @sathya-enjoy_lifetothefullest
    @sathya-enjoy_lifetothefullest 4 ปีที่แล้ว +2

    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 ?

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

    Thanks, Naveen......Eagerly waiting for python series...some more videos, please
    I have done your other python series videos...

  • @RanjeetKumar-dx7bb
    @RanjeetKumar-dx7bb 4 ปีที่แล้ว +1

    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

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

    Very Good Tutorial! Thank you! :)

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

    Are you providing the complete content this time ?

  • @ravikumar-ov6yl
    @ravikumar-ov6yl 3 ปีที่แล้ว

    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.

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

    Hi Naveen
    I like your videos very informative. Are you going to take classes for selenium python please let me know

  • @priya-cw2gl
    @priya-cw2gl ปีที่แล้ว

    Thank you so much bro ... 😍

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

    Really Helpful Naveen..thank you so much !

  • @shebeeradimaly6125
    @shebeeradimaly6125 ปีที่แล้ว

    wow bro , accurate teach

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

    *“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.

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

    Thank you Naveen .

  • @anubaby7636
    @anubaby7636 ปีที่แล้ว

    Video about general utilities??

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

    Hi Naveen, can you please make a video to understand how to read the Python documentation?

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

    Much appreciated explanations

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

    making video good effort but theme of Pycharm change so we can see clearly

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

    thanks Naveen

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

    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.

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

    Hello Naveen, does pytest supports selenium grid?

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

    Hi Naveen, Getting an error module not callable

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

    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

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

      what did you do. I am stuck with the same

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

    Hi Naveen , When I install selenium in the project , Its getting install in AppData, Lib . Its not downloading under the current project

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

    The box you used to type that css "ul.erkvQe..." does not appear when I select inpect page. How can I activate it?

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

    how did you write css selector here can you briefly explain because i have written css by using ,class or #id

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

    Hi Sir, can i use pydev in eclipse for python automation practices?? thanks for your response.

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

    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.

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

    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?

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

    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.

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

      Hi Anand, use "driver.implicitly_wait(5)" before the By.CSS_SELECTOR statement

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

      @@kalyanchakri5099 Thank u so much

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

      @@kalyanchakri5099 thankyou i was also stuck in this . but can u tell me why did we use that impicit wait before css selector??

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

      @@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.

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

      @@kalyanchakri5099 thankyou so much clearing my doubts :)

  • @ShubhamGupta-hw7ll
    @ShubhamGupta-hw7ll 3 ปีที่แล้ว +1

    I used same approach to print count of list but am getting count as 20
    What i am doing wrong here??

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

    Can you post rest of appium series

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

    Is Possible to Use TestNG Framework in Selenium with Python Automation Testing.

  • @mohamednayeem2602
    @mohamednayeem2602 ปีที่แล้ว

    how to select a element if we have multiple elemts of same name. is their any way to get the element?

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

    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 .

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

    Wow 🤩

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

    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.

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

    Thank you naveen...

  • @srinikesh.M
    @srinikesh.M 3 ปีที่แล้ว +2

    Hello Everyone! I am preparing Selenium with python.I want know Whether learning Python Selenium Having scope in MNC for Automation Tester Role

  • @Wreker_
    @Wreker_ ปีที่แล้ว

    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

  • @MaheshS-jp7xk
    @MaheshS-jp7xk ปีที่แล้ว

    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

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

    Is it possible for you to upload selenium with pytest? it is in demand

  • @namrathavarma2195
    @namrathavarma2195 3 หลายเดือนก่อน

    My chrome version is 126 , there is no chrome driver for 126 version ...how do we tackle this

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

    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.

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

      press CTL + f

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

    getting error could not find a version while installing selenium what to do?

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

    this is great!!!

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

    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

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

      Facing same problem. please give me solution

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

      Facing same problem, After trouble shooting everything it is not working, please give any solution.

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

    Can't able to select auto suggestion in selenium python . Cannot able select using css selector . Please sir

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

    TypeError: 'module' object is not callable got this error please assist

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

    Sir i cannot able select the suggestions . it is showing the length as 0 for CSSSELECTOR

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

    Thanks You So Much NAVEEN.

  • @JitendraKumar-lr3vq
    @JitendraKumar-lr3vq 4 ปีที่แล้ว

    hi naveen its throwing me error while opening through terminal - i am inside the folderpath and running python WebDriverbasics.py

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

    Please use white IDE , its difficult to see the code.Thanks

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

    how to bypass captcha ?

  • @KrishnaMoorthy-cn7gn
    @KrishnaMoorthy-cn7gn 3 ปีที่แล้ว

    Video visibility is need improve... Bcoz code is not able visible really hard to see..

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

    'Before you continue to Google Search' pop up is so annoying .How can i get rid of it

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

    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?

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

      path should in "C:\\path"

    • @krishnakumar-zb4us
      @krishnakumar-zb4us 4 ปีที่แล้ว

      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")

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

    .

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

    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")

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

      selenium.common.exceptions.NoSuchFrameException: Message: Unable to locate frame with index: 0

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

      @@edwardalexander5090 Even I get the same error. How did you fix it?

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

    Thanks Naveen