Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Error when installing Microsoft Playwright

I'm getting this error:

At line:1 char:1
+ playwright install
+ ~~~~~~~~~~
     + CategoryInfo          : ObjectNotFound: (playwright:String) [],CommandNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException

I'm installing it using pip, for use in python

like image 885
LT_Orange Avatar asked Jun 15 '26 10:06

LT_Orange


1 Answers

You need playwright added to your PATH.

However, a better way to do this (if python is added to your path) without adding it to your PATH is by running:

python -m playwright install

This runs the playwright module as a script. Use python -h for more information on these flags, and python -m playwright for more information on the flags supported specifically by playwright

like image 153
Charchit Agarwal Avatar answered Jun 18 '26 00:06

Charchit Agarwal



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!