Playwright Installation - 2022

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

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

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

    This is good for beginners. Generally the hardest part for a beginner ( any tool) is the initial installation.

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

    Bruh. You have no idea how many different vids I've followed to get this thing running on my restricted work laptop. THIS DID WORKED!!!! THANK YOU!!!!

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

    This is good for beginners. Installation part was really easy. thanks for making the video. expecting more on it

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

      Pls check out the playlist. 94 videos are there, basic to advanced level.

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

    Thanks,
    I think you should move this video at the start of the playlist, I was facing installation issues, luckily I noticed this video and it helped

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

      Great, I'll update the playlist

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

    It's been a wonderful year

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

    Thank you for the video ❤

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

    Hi, I am getting this error when trying to installa the playwright.
    PS C:\Users\zaidih\Desktop\Playwright> npm init playwright@latest --yes -- --quiet --browser=chromium --browser=firefox --browser=webkit --gha
    npm ERR! code ERR_UNESCAPED_CHARACTERS
    npm ERR! Request path contains unescaped characters
    Can you please help me in resolving this error?

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

      Seems like permission error, try in any other folder than desktop.

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

    When i try to open cmd from the new folder i created, Im getting 'code' is not recognised as in internal or external command'

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

      When u install vs code there will be an option to set path automatically.
      U have to use that or you have to set it

  • @SahilSharma-bx1hs
    @SahilSharma-bx1hs 2 года назад +1

    Hey, I am not able to get the intelligence for Playwright code such as waitForNavigation, waitForLoadState(). How I can enable these things
    Please help me with this

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

      I have used this function in some video, may be you can refer those.

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

    npm : The term 'npm' is not recognized as the name of a cmdlet,
    the name, or if a path was included, verify that the path is correct
    and try again.
    At line:1 char:1
    + npm init playwright@latest -- --quiet --browser=chromium
    --browser=fi ...
    + ~~~
    + CategoryInfo : ObjectNotFound: (npm:String) [], Comma
    ndNotFoundException
    + FullyQualifiedErrorId : CommandNotFoundException
    wht do i do

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

      pls tell

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

      Did u installed node js application?

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

      @@letcode yes i installed but still seeing same error

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

      @@karthiknayaka8611 node is not set in the path.
      You can refer this link
      stackoverflow.com/questions/27864040/fixing-npm-path-in-windows-8-and-10#:~:text=Search%20for%20Environment%20Variables%20in,nodejs%5Cnode_modules%5Cnpm%5Cbin

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

    Hi, do we need to change recorded and converted test code

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

      Hi, Change to what? I didn't get u.

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

    Nice bro 😁

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

    I am non coder. In playwright we have option to record the steps and convert the steps to code. After converting code , can we copy it directly and run or do we need to adjust the code

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

      It depends on the application, mostly it works fine, but sometimes we have to modify.

    • @Siva-en9sw
      @Siva-en9sw Год назад

      It will give a basic snippet to run but it wont provide assertion or converting into a page object and then we need to manage test-runner, so please learn coding it will help a lot and don't completely rely on codegen

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

      Slight modifications might need based on your requirements.

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

    At 5:45 on left side you getting colored icons in your project structure ,Iam getting normal files :( how to do

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

      vscode-icons this extension we need to download got it

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

      Awesome

  • @VeluR-1993
    @VeluR-1993 3 дня назад +1

    bro for me even after adding headless: false, in use. test is running headless for me

    • @letcode
      @letcode  3 дня назад +1

      Check within test if you have test.use

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

    Don't work for me. If I click on "install playwright" nothing happens.

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

      🥺, try Updating vs code and try again

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

    How can i install playwright with python in vscode.?

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

      In vs code you can set up a python project.

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

      @@letcode no like is there anyways to install all decencies and everything with this extension for python. Because it only shows for typescript and js

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

      Unfortunately as of now we don't have for python but maybe in future we can expect.

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

    how if i want to do this step installation but with js not ts?

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

      Mostly same only.

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

      @@letcode can I just change the type of file config form ts to js?

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

      @@putrinadiyah4746 export and import will be little different, you can check the examples here
      playwright.dev/docs/test-advanced#configuration-object