Closed kblok closed 4 years ago
I was thinking of
dotnet tool install -g PlaywrightSharp.Cli
browser-fetcher install -browserType [-version] [-location] [-host]
the cli will only download the browser if it doesn't exist locally
browserType
is one of chromium
, firefox
or webkit
version
is an optional argument, if missing we'll download the lastest versionlocation
custom path to save tohost
custom host to download fromYes. The idea is to create a dotnet tool and we should have the playwright-sharp brand. I think it could be playwrightsharp add-browser
we could also have stuff like list-browsers
, remove-browsers
.
This is a low priority issue BTW.
Let's build a dotnet CLI tool to install browsers