grunt-perfbudget icon indicating copy to clipboard operation
grunt-perfbudget copied to clipboard

Script support?

Open chchrist opened this issue 11 years ago • 6 comments

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?

chchrist avatar Sep 22 '14 11:09 chchrist

At the moment , no.

Could you describe a bit more what you would be looking to do with that?

tkadlec avatar Sep 22 '14 15:09 tkadlec

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.

chchrist avatar Sep 24 '14 09:09 chchrist

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

tkadlec avatar Sep 24 '14 20:09 tkadlec

Any plan to add this functionality?

travi avatar Jun 05 '15 19:06 travi

Yeah, I really want to get this baked in. Lots of good uses, I think.

tkadlec avatar Jun 05 '15 19:06 tkadlec

+1 for script support; short of a PR, anything I can do to help?

cweekly avatar Apr 13 '16 16:04 cweekly