grunt-perfbudget
grunt-perfbudget copied to clipboard
Script support?
Hello, I haven't checked the code (lazy me) but is there support for scripts? I see that you use https://github.com/marcelduran/webpagetest-api So instead a url can I pass a script?
At the moment , no.
Could you describe a bit more what you would be looking to do with that?
Well, I have a facebook app that works only inside facebook so I have to use a script to login to facebook and visit the app.
Gotcha.
WebPageTest does support some scripting, though the public instance is a bit limited. https://sites.google.com/a/webpagetest.org/docs/using-webpagetest/scripting
It looks like the API does allow for that to be set as a parameter so exposing that in perfbudget should b enough to get the job done: https://sites.google.com/a/webpagetest.org/docs/advanced-features/webpagetest-restful-apis#TOC-Parameters
Any plan to add this functionality?
Yeah, I really want to get this baked in. Lots of good uses, I think.
+1 for script support; short of a PR, anything I can do to help?