These are critical for my tests, and could very well be for others. It may not seem so important, but it is when actual pages don't matter. I test some of my libraries with a single instance on about:blank with inject(); refresh()'ing before each test.
https://github.com/stevenvachon/universal-url/blob/master/test.js#L179-L184
https://joelgriffith.github.io/navalia/Chrome/inject/
https://joelgriffith.github.io/navalia/Chrome/reload/
Navalia has had these for a while. Would love to hear feedback if they aren't working
So, like: .inject("js", "browser-built.js") & .inject("css", "custom.css")?
Is there a way to do this with .evaluate() ?
@bradoyler yes, but it requires fs, which is not nearly as clean.
Hello any progress on this one ?
Most helpful comment
https://joelgriffith.github.io/navalia/Chrome/inject/
https://joelgriffith.github.io/navalia/Chrome/reload/
Navalia has had these for a while. Would love to hear feedback if they aren't working