Playwright Beginner Tutorial 2 | How to install

preview_player
Показать описание

00:00 Introduction
00:50 Prerequisites
04:33 How to install Playwright
05:02 Option 1 - using node commands
12:35 Playwright project structure
18:34 Option 1 - using vs code extension
25:20 Outro

Prerequisites
Node JS
node -v npm -v
IDE ( VS Code )

Install using command as npm package

Step 1 - Create a new folder and open in VS Code
Step 3 - Following will be added
- tests folder - basic example test
- tests-examples folder - detailed example tests
- .gitignore - to be used during git commit and push
Step 4 - Check playwright added - npm playwright -v
Step 5 - Check playwright command options - npx playwright -h

Using VS Code extension

Step 1 - Create a new folder and open in VS Code
Step 2 - Goto Extensions section and install Playwright extension from Microsoft
Step 3 - Goto View - Command Palette and type playwright - select install playwright
Step 4 - Select the browsers and click ok
Step 5 - It will install the libraries and create the project folders

#playwright #automation #testing

CI CD DEVOPS

UI TESTING

API TESTING

MOBILE TESTING

PERFORMANCE TESTING

IDE

PROGRAMMING

BUILD TOOLS

SOURCE CODE MANAGEMENT

CLOUD SERVICES

Every LIKE & SUBSCRIPTION gives me great motivation to keep working for you

You can support my mission for education by sharing this knowledge and helping as many people as you can

If my work has helped you, consider helping any animal near you, in any way you can

NEVER STOP LEARNING
Raghav Pal
Рекомендации по теме
Комментарии
Автор

Well explained. This series will be very helpful whoever wants to learn Playwright. I am expecting all videos run time will be like.

uvitalkumar
Автор

A very well spoken and super informative series of tutorials, this has been helping me so much as I'm learning, thank you!!!

GigioR
Автор

Wow, the information you give is great. In the first video, usually tutorials will label a few generic benefits to using it, but you really went into detail on things. This second video is really starting to impress me with your teaching.

Are you a licensed teacher? You talk like an experienced programmer and teacher. You explain everything that would be a possible question, before anyone even asks the question! Very informative, very good. You are the most impressive teacher online, doing this all on a 50GB hard drive with 3FPS ahahaha.

CCleanerShot
Автор

Once again Raghav nails this introduction.. best on the web by far

fayser
Автор

Hi you have helped me understand alot since i started learning playwright testing thank you so much

nomandladube
Автор

That very first mouse click was all I needed. I'm using the Python version. Thank you!!!! (Didn't see that first dropdown...)

jpin
Автор

I have been a follower of this channel from the day, I shifted into IT. I have learnt a lot from here. highly respect your concern on developing from the base. Pls proceed with these kind of tutorials.

dushananuradha-zwvp
Автор

Great tutorial! Keep up the good work.

mukmusicdiary
Автор

Awesome explanation. Very useful for the beginners who wants to get into automation. Can you also please do a series with C#?

LavanyaU-zgjq
Автор

Thank you so much! You are the best tutor!

ypuvpdb
Автор

This is a great video . Thanks! Raghav.

chandanprasadshah
Автор

Awesome explanation. Very helpful for the beginners who wants to learn automation. Can you please also do the series with C#?

LavanyaU-zgjq
Автор

Wow Excellent Tutorial for Me. thanks for this.

kcconsigo
Автор

very good session, mate. Thank you. And may I know which software you are using for your presentation like to share you desktop and showing camera at the same time in a single screen?

ravienu
Автор

Hi sir. firstly your way of explaining and teaching is really the best among all.
I got an issue with WebKit sometimes the execution gets failed either in headed or nonheaded mode.

SaiRam-isuz
Автор

which IDE will be best to use for Playwright with C# ? Will it be VS Code or VS studio professional ?

meetamalhotra
Автор

Hi Raghav, Nice session on playwright, Can you pls suggest which framework is better playwright or Cypress, as both are gaining a lot of traction. We have to create an automation framework from scratch for testing MERN based app.

sumitagrawal
Автор

Can you also talk about limitations of Playwright? And can we integrate BrowserStack with PlayWright ?

meghana
Автор

Thank you for the detailed sessions.
You explained 2 installations "Install using npm package" and "Install using VS code extension", what the difference is between?

itssumanmsk
Автор

Hi, I want to know scope of playwright, is it important/ famous same as selenium.

hafsaiqbal