fwouts / viteshot

Viteshot 📸 is a fast and simple component screenshot tool based on Vite.

Home Page:https://viteshot.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Playwright executablePath

KraKeN-47 opened this issue · comments

Hello,
Your package.json dependencies do not specify playwright as the main dependency but I think it actually is.
So the issue is that if I wish to execute my own chromium binary, I am unable to do so if I use your viteshot/shooters/playwright util.

As a workaround I do some edits inside the compiled package and change

browserType.launch()

to:

browserType.launch(props)

This worked for me. But it would be nice to improve this util!