Open smithnanic opened 1 month ago
I think the simplest option would be to use the files below and integrate the code in your project. SingleFile CLI was supporting playwright in the past but I switched to a pure CDP implementation when I made it compatible with Deno.
I would love to be able to run SingleFile within my Playwright for Node project.
If I could pass a page object to a SingleFile function, or inject SingleFile scripts onto a page as it loads, that would be perfect. Then I would just need to know which scripts to inject and how to call the builder.