Playwright with Javascript | Locating Web Elements | Locators-Property, XPath, CSS | Part 4

แชร์
ฝัง
  • เผยแพร่เมื่อ 25 พ.ค. 2023
  • #playwright#javascript#locators
    #########################
    Udemy Courses:
    #########################
    Manual Testing+Agile with Jira Tool
    ************************************
    ► shorturl.at/xNXZ4
    Selenium with Java+Cucumber
    ********************************
    ► shorturl.at/aIKMW
    Selenium with Python & PyTest
    ********************************
    ► shorturl.at/ELW09
    Selenium with python using Robot framework
    ****************************************
    ► shorturl.at/bcDPZ
    API Testing(Postman, RestAssured & SoapUI)
    *****************************************
    ► shorturl.at/uAWY7
    Web & API Automation using Cypress with Javascript
    ********************************************
    ► rb.gy/4uum2n
    Playwright with Javascript
    **************************
    ► shorturl.at/gALZ1
    Jmeter-Performance Testing
    ************************
    ► rb.gy/ocj7r2
    SDET Essencials(Full Stack QA)
    *************************
    ► rb.gy/hlnf2v
    Appium-Mobile Automation Testing
    ************************************
    ► rb.gy/wmzv64
    Java Collections
    *****************
    ► bit.ly/3S66ezE
    Python Programming
    *********************
    ► urlis.net/gdsfpb0s
    Cucumber BDD Framework
    ***************************
    ► bit.ly/3F7d69r
    Protractor with Javascript
    ***************************
    ► urlis.net/4uddm1qb
    ####################################
    TH-cam Playlists:
    ####################################
    Manual Testing & Agile
    ***********************
    ► bit.ly/3ujvaYa
    ► bit.ly/3OYzxQj
    SQL
    *************************
    ► bit.ly/3R6XjeG
    ► bit.ly/3nE0a1s
    ► bit.ly/3IeKuuJ
    linux & Shell Scripting
    **********************
    ► bit.ly/3up1Z6a
    ► bit.ly/3nzvGxx
    Java
    **********************
    ► bit.ly/3R9QfOs
    ► bit.ly/3AoRMKM
    ► bit.ly/3IbTTDn
    ► bit.ly/3ybXInv
    ► bit.ly/3yCoHdw
    Selenium With Java+Cucumber
    ********************************
    ► bit.ly/3P2FMm4
    ► bit.ly/3yhiIt4
    ► bit.ly/3uokzet
    ► bit.ly/3a7XIND
    ► bit.ly/3umN2S9
    ► bit.ly/3aar7GW
    ► bit.ly/3y9kD2S
    ► bit.ly/3uhLskn
    Python
    ********************************
    ► bit.ly/3agNgU0
    ► bit.ly/3NJNnoy
    ► bit.ly/2CTQ4mR
    ► bit.ly/3OIYWh1
    Selenium With Python,Pytest&Behave
    ***************************************
    ► bit.ly/3OHHoC9
    ► bit.ly/3IeNLdv
    ► bit.ly/2J4tPeT
    ► bit.ly/3ydSkAq
    Selenium With Python Using Robert Framework
    (Web&API Testing)
    *************************************************
    ► bit.ly/3nUvlpr
    ► bit.ly/3nUvE3z
    API Testing (Postman,SoapUi,&Rest Assured)
    **********************************************
    ► bit.ly/3OXacWY
    ► bit.ly/3yh0UhE
    ► bit.ly/3nC9DWQ
    ► bit.ly/3yGfhNS
    ► bit.ly/3OJa11H
    ► bit.ly/3P2slCC
    Mobile App Testing Appium
    ****************************
    ► bit.ly/3Al49HG
    Performance Testing Jmeter
    *******************************
    ► bit.ly/3nz4fE7
    Maven,Jenkins,Git,Github,CI/CD
    *******************************
    ► bit.ly/3P16HPj
    ► bit.ly/3yhlUVA
    ► bit.ly/3afYfwT
    ► bit.ly/3yGzweG
    ► bit.ly/3yF73Ws
    ► bit.ly/3NCOmH7
    SQL,DB Testing&ETL,Bigdata
    *******************************
    ► bit.ly/3NKOcNY
    ► bit.ly/3OVpDyI
    ► bit.ly/3NEvUy0
    ► bit.ly/3IryxlT
    ► bit.ly/3RkWBLh
    JavaScript Based Automation Tools
    ********************************
    ► bit.ly/3nUx51X
    ► bit.ly/3AqI6Q0
    ► bit.ly/3yeurbT
    ► bit.ly/3ujzpTK
    Selector Hub Tools
    ********************
    ►rb.gy/h3h424
    GraphQL
    ******************
    ► rb.gy/sj3gys
    Cypress API Testing
    ********************
    ► shorturl.at/fjKPX
    Cypress Web Testing
    **********************
    ► shorturl.at/agjlK
    Playwright with Javascipt
    **************************
    ► shorturl.at/adSTY
    #PlaywrightJavaScript
    #PlaywrightTesting
    #PlaywrightAutomation
    #PlaywrightFramework
    #JavaScriptTesting
    #WebAutomation
    #TH-camChannel
    #TH-camAutomation
    #WebTesting
    #ElementLocators
    #PlaywrightProperties
    #XPathSelectors
    #CSSSelectors
    #DOMManipulation
    #FrontendTesting
    #TestingFrameworks
    #AutomatedTesting
    #WebDevelopment
    #TestingSolutions
    #TH-camAPI
    #TestingTips
    #TestAutomation
    #TH-camData
    #PlaywrightCommunity
    #TH-camAnalytics
    #JavaScriptTips
    #WebScraping
    #UIAutomation
    #TH-camSEO
    #TestingBestPractices
    #DevOpsTesting
    #WebCrawling
    #TH-camEngagement
    #PlaywrightSnippets
    #TH-camContent
    #CrossBrowserTesting
    #WebTestingTools
    #TH-camGrowth
    #PlaywrightTutorials
    #TH-camMarketing
    #TestYourCode
    #WebBrowserAutomation
    #TH-camMonetization
    #PlaywrightExamples
    #JavaScriptDevelopment
    #TH-camVideoSEO
    #PlaywrightTestingTips
    #AutomateTheWeb
    #TH-camLiveStreaming
    #PlaywrightXPathCSS

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

  • @sumitlanjewar2716
    @sumitlanjewar2716 ปีที่แล้ว +27

    May be ,you can earn money with this in depth explaination video but you decided to earn the blessing.may God bless you sir!

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

    I saw a lot of videos explained "how to automated test cases" or "how to be a qa automation" and you my friend... you are the best teacher I've ever had. I love the way you teach and for me it's a pleasure to see all your videos. Greetings from Argentina !!!

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

    After following carefully your lectures, it is almost impossible not to learn anything. This is the feeling I have. Many thanks for explaining some complicated issues in such a simple way.

  • @talipoglu1836
    @talipoglu1836 8 วันที่ผ่านมา +1

    Thanks a lot for useful tutorial

    • @sdetpavan
      @sdetpavan  7 วันที่ผ่านมา

      You are most welcome

  • @roshnray6566
    @roshnray6566 3 หลายเดือนก่อน +1

    Always unique way and content.. thank you very much sir

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

      Always welcome

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

    Awesome explanation thanks. Type method is depreciated now.

  • @user-kc6wj7wr6i
    @user-kc6wj7wr6i 4 หลายเดือนก่อน +1

    Your videos are simply superb sir - Thanks a lot.

    • @sdetpavan
      @sdetpavan  4 หลายเดือนก่อน

      Welcome

  • @serdarfesli2433
    @serdarfesli2433 10 หลายเดือนก่อน

    hey Pavan, thanks a lot for everything. seems type() depreciated

  • @shoaibkolkata
    @shoaibkolkata 4 หลายเดือนก่อน +1

    I was reading documents on locating element but it was not clear. But this video clarfy my doubts. Thanks a lot

    • @sdetpavan
      @sdetpavan  4 หลายเดือนก่อน

      You are most welcome

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

    Thankyou Sir. Your explanation is very clear.

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

      You are most welcome

  • @AnjaliKumari-mj4wf
    @AnjaliKumari-mj4wf ปีที่แล้ว +3

    Your video is really helpful for me thank you sir

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

    Nice lecture sir, please go with playwright api and also go with playwright integration with browser stock.

  • @naimtkhalid3159
    @naimtkhalid3159 4 หลายเดือนก่อน +1

    Thank you so much for detail explanition

    • @sdetpavan
      @sdetpavan  4 หลายเดือนก่อน

      My pleasure

  • @SandeepNigamMotivational
    @SandeepNigamMotivational 9 หลายเดือนก่อน +1

    Hello Sir, adding below line it find the elements everytime. Thanks for explaination sir.
    (await page.waitForSelector("//div[@id='tbodyid']//div//h4/a")).isVisible();

  • @enesuzun-qx5et
    @enesuzun-qx5et 4 หลายเดือนก่อน +1

    cool explanation thanks Sir

    • @sdetpavan
      @sdetpavan  4 หลายเดือนก่อน

      You are welcome

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

    Thank you sir for the great tutorial. Will you kindly do one using a Python client? Thanks

  • @rvthym89
    @rvthym89 9 หลายเดือนก่อน

    Very nice explanation and Your videos are so useful sir. I have a question which automation tool is in demand now for testing and web scraping. Selenium or Cypress or playwright. If Automation testers want to excel their knowledge in one tool which do you recommend.

  • @sonaliroy6612
    @sonaliroy6612 9 วันที่ผ่านมา

    Sir, Thanks a lot for the video, it helped a lot.But facing one issue while validating "log out" button is visible. Do we have to give explicit wait for that locator?

  • @raviteja-qk3br
    @raviteja-qk3br 10 หลายเดือนก่อน +1

    Thank you sir

    • @sdetpavan
      @sdetpavan  10 หลายเดือนก่อน +1

      Welcome

  • @SofianMW
    @SofianMW 16 วันที่ผ่านมา

    thanks for sharig! I user Playwright ver.1.45 and node ver.20.14 “selector multi element” doesn't work at all. Is there a solution? Thanks much!

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

    This video was really helpfull. i want to know if i want to keep all the test in one spec.js page and execute with 1 worker . how can i do it?

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

    in Xpath what is 'normalize-space()' ? i am not able to see that in your page elements ?

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

    Hi Mr. Pavan. Are you planning to have udemy courses for playwright web, mobile and api? It will be very useful if you are making it as you're a wonderful at structuring your courses and explaining things and I'd be sure to purchase the courses if you are going to be doing playwright courses on udemy.

  • @sidb2023
    @sidb2023 9 หลายเดือนก่อน +1

    thanks Sir

    • @sdetpavan
      @sdetpavan  9 หลายเดือนก่อน

      Most welcome

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

    12:24 :: javascript is synchronous language by default FYI

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

    hi - your videos are awesome .Can you create some for vitest

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

    Sir in interview they as to write test cases for web app and mobile app in single question how to write test cases for that type of questions

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

    Do I need good understanding of JS for learning Playwright?

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

    Hi sir, please make all the day wise automation videos into one playlist somewhere available day 31,36,1,2 remaining are not able to find. Please make all the day wise videos into one playlist for automation and manual testing, it would be very helpful for us to go in a flow without break.

  • @MidnightMemories17
    @MidnightMemories17 25 วันที่ผ่านมา

    Hello Sir.
    Not getting textContent() method in the suggestions.
    How to resolve it

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

    hi sir your videos help a lot can you please tell me how to install an extension in a browser using Playwright

  • @maheshkumar-zw5nt
    @maheshkumar-zw5nt ปีที่แล้ว +1

    1. Is there any difference between type and fill?
    2. can we use page.locator to find multiple elements on a page?
    3. is there any different for of and for in ?

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

      1: Type use to field character by character data in the text box.
      Fill directly enter all data in the text box.

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

    is it possible to use CSS and XPath in single test case?

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

    Sir please start salesforce testing vedio

  • @user-vw7ru9yt6t
    @user-vw7ru9yt6t ปีที่แล้ว +1

    Sir please help me. While trying i am getting "No tests found"

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

      check if you created file in tests folder and not in test example. I did the same mistake too

  • @user-le5nu6nm1f
    @user-le5nu6nm1f 10 หลายเดือนก่อน

    hello, thanks so much for this,
    it seems you did not finish in video 15:34 , the fill and type, you did not mention how you would include what is to be filled/type in the css second way of use. can you mention here please?

    • @user-le5nu6nm1f
      @user-le5nu6nm1f 10 หลายเดือนก่อน

      ok ive seen it in 18:30

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

    Sir the thing this in this tutorial I did not got the last part I did run the test but still did not get the result

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

    could you please share the code for all your videos pls?

  • @SimranjitSingh-me4vh
    @SimranjitSingh-me4vh ปีที่แล้ว

    Thank you sir, sir please tell one thing, how can we maximize the browser window in the headed mode

  • @crissiehannac.demelo5735
    @crissiehannac.demelo5735 ปีที่แล้ว +1

    Is there a way to create the CSS or XPath without using the Selectors Hub?

    • @CoolDude-mx7le
      @CoolDude-mx7le 11 หลายเดือนก่อน

      manually by inspecting the dom :P

    • @crissiehannac.demelo5735
      @crissiehannac.demelo5735 8 หลายเดือนก่อน

      @@CoolDude-mx7le it's nor working for me

    • @CoolDude-mx7le
      @CoolDude-mx7le 8 หลายเดือนก่อน

      @@crissiehannac.demelo5735 man its easy peasy .Read how to make xpath you can find good reading material online.

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

    I am getting error when I use wait for selector

    • @ReverenceSiya2.0
      @ReverenceSiya2.0 ปีที่แล้ว

      Use await ahead of the waitforSelector

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

    I am facing Error: Timeout for expect (received).toBrVisible
    When I am trying to validation

    • @ReverenceSiya2.0
      @ReverenceSiya2.0 ปีที่แล้ว

      It may be cause, the username password you provided may be incorrect, use the same as mentioned in the lecture.
      Happened with me too

    • @ReverenceSiya2.0
      @ReverenceSiya2.0 ปีที่แล้ว

      It did not login, and hence could not move to next page. As a result getting the timeout error

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

    Hi there. I'm enjoying this lecture, but upon entering the username and password in the lecture I'm returned with an error of 'User does not exist.' I cannot proceed . Can you please help?

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

      Hey!!
      Just need to create an account (Sing up), you need to make it manually and put the same credentials in the test case.

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

      @@cesrra_ Thank you so much. It's working now👌

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

    I don't have knowledge on javascript

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

      You can learn. Plz check my playlist for javascript programming.

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

    I am getting this error "Error: Timed out 5000ms waiting for expect(received).toBeVisible()"
    I have written this code, what I need to change in the below code
    const logoutLink = await page.locator("//a[normalize-space()='Log out']");
    await expect(logoutLink).toBeVisible();