yslow icon indicating copy to clipboard operation
yslow copied to clipboard

Yslow + PhantomJS against twitter.com fails

Open Andrei- opened this issue 9 years ago • 4 comments

Just tried PhantomJS with yslow script against twitter. Doesn't seem to work. I tried two version of phantomjs, 1.8 and 2.0. With 1.8 I get "Failed to load undefined" With 2.0 I get "TypeError: undefined is not an object (evaluating args.length)

yslow_error_

Andrei- avatar Mar 29 '15 00:03 Andrei-

Same against yahoo.com. Am I doing something wrong?

Andrei- avatar Mar 29 '15 00:03 Andrei-

Mistery solved: 1.8 was failing because it was missing --ssl-protocol=any 2.0 was failing because .args in phantomjs.args has been removed (and probably previous reason as well)

Andrei- avatar Mar 31 '15 07:03 Andrei-

What should I do if I still want yslow to work under 2.0?

TeaEra avatar Dec 07 '15 03:12 TeaEra

You can locally merge this: https://github.com/marcelduran/yslow/pull/150

soulgalore avatar Dec 07 '15 06:12 soulgalore