microsoft/playwright-python

How do you install this

developer992 opened this issue · 1 comments

Please do not submit this issue.

I installed python package but

> playwright install
'playwright' is not recognized as an internal or external command,
operable program or batch file.
Cache\virtualenvs\vCPlTSZ_-py3.11\Lib\site-packages\playwright\_impl\_connection.py", line 514, in wrap_api_call
    raise rewrite_error(error, f"{parsed_st['apiName']}: {error}") from None
playwright._impl._errors.Error: BrowserType.launch: Executable doesn't exist at C:\Users\...\AppData\Local\ms-playwright\chromium-1134\chrome-win\chrome.exe

How do i tell it to use different executable?

ah wait i got it ... had to run the executable from within virtualenv and now it installed the browsers