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?
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
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
@@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
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
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
This is good for beginners. Generally the hardest part for a beginner ( any tool) is the initial installation.
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!!!!
Great :)
This is good for beginners. Installation part was really easy. thanks for making the video. expecting more on it
Pls check out the playlist. 94 videos are there, basic to advanced level.
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
Great, I'll update the playlist
It's been a wonderful year
Thank you for the video ❤
Welcome 🤗
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?
Seems like permission error, try in any other folder than desktop.
When i try to open cmd from the new folder i created, Im getting 'code' is not recognised as in internal or external command'
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
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
I have used this function in some video, may be you can refer those.
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
pls tell
Did u installed node js application?
@@letcode yes i installed but still seeing same error
@@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
Hi, do we need to change recorded and converted test code
Hi, Change to what? I didn't get u.
Nice bro 😁
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
It depends on the application, mostly it works fine, but sometimes we have to modify.
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
Slight modifications might need based on your requirements.
At 5:45 on left side you getting colored icons in your project structure ,Iam getting normal files :( how to do
vscode-icons this extension we need to download got it
Awesome
bro for me even after adding headless: false, in use. test is running headless for me
Check within test if you have test.use
Don't work for me. If I click on "install playwright" nothing happens.
🥺, try Updating vs code and try again
How can i install playwright with python in vscode.?
In vs code you can set up a python project.
@@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
Unfortunately as of now we don't have for python but maybe in future we can expect.
how if i want to do this step installation but with js not ts?
Mostly same only.
@@letcode can I just change the type of file config form ts to js?
@@putrinadiyah4746 export and import will be little different, you can check the examples here
playwright.dev/docs/test-advanced#configuration-object