Playwright Framework #1 | Base functions | Playwright Tutorial - Part 76

Поделиться
HTML-код
  • Опубликовано: 25 янв 2025

Комментарии • 65

  • @akshaypramodpai7736
    @akshaypramodpai7736 2 года назад +2

    Thank you Kaushik for shoutout. Looking forward to implementing your suggestions as well.

  • @jaykishoreduvvuri7598
    @jaykishoreduvvuri7598 2 года назад +2

    Thank you very much Koushik :) ! Awesome work!

  • @subhankarroy3891
    @subhankarroy3891 5 месяцев назад +1

    Just Subscribed, I am new to Playwright with Typescript and its very helpful so far!

    • @letcode
      @letcode  5 месяцев назад

      Great 👍

  • @SunnahDiet24
    @SunnahDiet24 11 месяцев назад +1

    Thanks for your playwright series. Please add more framework related videos specifically reusable methods etc

    • @letcode
      @letcode  11 месяцев назад +1

      Welcome 🤗. Sure I'll do my best

  • @ragulraj5102
    @ragulraj5102 2 года назад +1

    Very useful and amazing delivery... expect more concepts in playwright framework...

  • @santhanakrishnan9953
    @santhanakrishnan9953 2 года назад +2

    You are amazing. Waiting for further framework videos

  • @akshaysadaphule5787
    @akshaysadaphule5787 6 дней назад +1

    Hi koushik , I have one question I am going to use your framework in my organisation, but the Jason File author name is yours with license , can I change that ? Is it possible?

    • @letcode
      @letcode  6 дней назад

      Yes it is open, you can do all the changes.

  • @akshaysadaphule5787
    @akshaysadaphule5787 10 дней назад +1

    I am not able to find the framework creation video , could you please help me with this .

    • @letcode
      @letcode  10 дней назад +1

      ruclips.net/p/PL699Xf-_ilW4FuazWjbnRm0PPCltz25pz&si=21I6-p-clc5w59XY

    • @akshaysadaphule5787
      @akshaysadaphule5787 10 дней назад +1

      Thank you for the prompt reply , but it is redirecting me to the same video ​@@letcode

    • @letcode
      @letcode  10 дней назад

      I guess u r referring to this
      ruclips.net/video/ELAp41NV13E/видео.htmlsi=9UNrsBmiePQbbmVW

  • @learnalongwithyashwanth
    @learnalongwithyashwanth Год назад +1

    Am not able to find framework with js videos..please provide the link for the you tube videos for given framework with js repo..

    • @letcode
      @letcode  Год назад

      No js, only TS

    • @learnalongwithyashwanth
      @learnalongwithyashwanth Год назад +1

      @@letcode thanks for your response....please suggest any good playlist for Playwright with JS framework..

    • @letcode
      @letcode  Год назад

      Mostly js and Ts are the same only, only a few syntax will change. You can learn from this playlist.
      Recommended is TS, learning TS will take roughly 30 mins if u know js

    • @learnalongwithyashwanth
      @learnalongwithyashwanth Год назад +1

      @@letcodeThank you so much. will start as per your suggestion...

  • @SamSC09
    @SamSC09 Год назад +1

    Hello Koushik, Greetings!!!,
    Just wanted to check with you that are you planning to complete these Framework video Series which you started?
    I have watched your whole series of 100 videos and able to see 3 Framework videos at Video 79, 83 and 85 but All the concepts are not covered that how a final Framework should be and what are all the functionalities which should be there.
    I have watched one video where your Friend Akshay Pai covered framework.
    Eagerly waiting for more videos for complete Framework from your point of view.
    Thank you for your efforts !!!

    • @letcode
      @letcode  Год назад

      Hi, you can refer to the Akshay repo.
      I don't think anything more to be added to the playlist.
      You can also refer to the code and music playlist, I have done a complete project.

    • @SamSC09
      @SamSC09 Год назад +1

      Hello Koushik, Thank you for reply, I was not aware about your Code and Music playlist, Will go through for Framework. @@letcode

  • @k.lakshman1919
    @k.lakshman1919 Год назад +1

    Hi koushik, I had a small query. I had one feature with 5 scenarios. How to run same feature file in same browser(chrome) multiple times in parallel. is it possible with playwright cucumber.

    • @letcode
      @letcode  Год назад

      Hi, i doubt that. I have to check.

    • @k.lakshman1919
      @k.lakshman1919 Год назад

      @@letcode please let me know when u find it

  • @pradeepkumar123ful
    @pradeepkumar123ful 2 года назад +3

    is it really necessary to make wrapper and over completed things I think we directly used playwright function that allso good standard wrapper .

    • @letcode
      @letcode  2 года назад +1

      Yeah, that is what I said in the beginning of video, but i got lots of comments related to framework.

    • @harish1990kumar
      @harish1990kumar 8 месяцев назад

      Hi Pradeep,Are you using any framework without wrappers?

  • @harishkce1989
    @harishkce1989 Год назад +1

    Hello Koushik - thanks for the amazing video series - i am in stage of practicing playwright at the moment - not deepdived into developing framework but i have some weird thoughts of
    how/why does the browser close automatically after the steps inside the test() method is executed ?
    is this the nature of the test() method ?
    (inside one example.js)i was trying to use beforeall() to launch the browser - > have multiple test method() -> finally close the browser using afterall()
    is this even possible ?

    • @letcode
      @letcode  Год назад

      That is also possible, but thankfully playwright has a fixtures concept where it opens and closes the browser automatically.

  • @AnUnprofessionalChef
    @AnUnprofessionalChef 2 года назад +2

    Requesting you to add , multi environment handling ,API framework in the same

    • @letcode
      @letcode  2 года назад +1

      Sure 😃

    • @shwetasaini8356
      @shwetasaini8356 2 года назад +1

      @@letcode I was thinking of the same . multi environment support and API framework would be great.

  • @AnUnprofessionalChef
    @AnUnprofessionalChef 2 года назад +1

    I get error like context n page fixtures are not supported in beforeAll , why can’t i use it ? As i have seen u r using page fixures in beforeAll

    • @letcode
      @letcode  2 года назад +1

      Fixtures don't support connect and page in before all, however you can use those in test i guess.

    • @AnUnprofessionalChef
      @AnUnprofessionalChef 2 года назад +1

      @@letcode ya that I am doing just thought if there is any work around , Thankyou

  • @ajaytiruwa
    @ajaytiruwa 2 года назад +1

    Hi koushik joined your membership but still not able to join your WhatsApp group...I needed help on Playwright test data ...please reply

    • @letcode
      @letcode  2 года назад

      Thanks for joining.
      If you go to the membership page, there you can see the WhatsApp group link.

  • @venkatesenkizhapandal2243
    @venkatesenkizhapandal2243 2 года назад +1

    I am trying to create a framework with cucumber typescript and playwright. How do I convert scenario datatable to map object and access as key value pair. I could do this easily in Java

    • @letcode
      @letcode  2 года назад

      I haven't work on that, but i guess we can use the map here as well

  • @prashanthpatil8086
    @prashanthpatil8086 Год назад +1

    hay Koushik, nice session was exploring to understand the details on how to build framework from scratch in playwright and this was helpful, just wanted to understand when we have built in option to locate the locators in playwright itself so how the findLocator function defined in wrapper.ts will be helpful?

    • @letcode
      @letcode  Год назад +2

      Yeah, it is not that useful, after the introduction of getByLocator, I'm not using this wrapper function to find the locator.

    • @prashanthpatil8086
      @prashanthpatil8086 Год назад

      Thx for the confirmation Koushik, this was helpful

  • @tarunpatel05
    @tarunpatel05 2 года назад +2

    Can we have same code base with java script? it will be really helpful,
    thanks maccha for all your help.

    • @letcode
      @letcode  2 года назад +1

      I'll recommend to switch to typescript. Concept is same may be u can try with js.

    • @tarunpatel05
      @tarunpatel05 2 года назад +1

      @@letcode in current project my team emphasize to use Javascript only, no problem I will try the same with javascript

  • @nomanshahid1397
    @nomanshahid1397 2 года назад +1

    How to print table all rows using playwright ?

    • @letcode
      @letcode  2 года назад +1

      I'll cover the web table concept in the upcoming days.

    • @nomanshahid1397
      @nomanshahid1397 2 года назад +1

      @@letcode Kindly upload soon and make a video to verify data by automation

  • @santhanakrishnan9953
    @santhanakrishnan9953 2 года назад +1

    Hi koushik, When can we expect this playlist to be completed?

    • @letcode
      @letcode  2 года назад

      In another 2 weeks I'll try to complete 😊

  • @anka2842
    @anka2842 2 года назад +1

    Could you please make a video on how we can use a same json object across all test cases?

    • @letcode
      @letcode  2 года назад

      Which json object u r referring to ?

  • @sanjeevinikeerthi2053
    @sanjeevinikeerthi2053 2 года назад +1

    Thank you!! This is very helpful, I do have a requirement of using SSL certificate as a part of authentication, can you please create a video on that ?

  • @basalona1
    @basalona1 2 года назад +1

    Thanks for all the amazing videos :) I was wondering if you could do a video about lighthouse performance automation with playwright.

    • @letcode
      @letcode  2 года назад

      Thanks, I'll look into it.

  • @AnUnprofessionalChef
    @AnUnprofessionalChef 2 года назад +1

    One more request Kaushik, can u plz include how do we specify the devices ( mobile ), the browsers , env at run time , Thankyou

    • @letcode
      @letcode  2 года назад +1

      For mobile and browser u can refer this
      ruclips.net/video/NBHDp-QvGBQ/видео.html
      For env I'll make videos.

    • @AnUnprofessionalChef
      @AnUnprofessionalChef 2 года назад

      @@letcode Thankyou

  • @loopvideos1768
    @loopvideos1768 2 года назад

    hello, great video, thank you very much... Doesn't contain subtitles in the videos?
    sorry I'm from Brazil and I'm still learning English lol

    • @letcode
      @letcode  2 года назад +1

      Subtitles will be added automatically by youtube in a while, pls watch tomo morning,
      Thanks for joining as a channel member.

    • @loopvideos1768
      @loopvideos1768 2 года назад +1

      @@letcode Thanks for the answer.
      I'm working on a project to extract data from the system, I'm using playwright and I'm really enjoying it. do you provide any kind of support besides the videos here?
      I assembled all the code using nodejs, it's working, but I'm not sure if I used the commands correctly.

    • @letcode
      @letcode  2 года назад +1

      @@loopvideos1768 give it a try, it should work.
      I don't do support, but i try to help as possible.
      You can join our discord, link in the channel video description.