PhantomJS WebDriver / GhostDriver and YSlow

55 views
Skip to first unread message

Aleksey Sazonov

unread,
Mar 5, 2015, 3:09:21 AM3/5/15
to phan...@googlegroups.com
Why this doesn't work ?
phantomjs --webdriver=4000 yslow.js -i grade

But this works fine:
phantomjs yslow.js -i grade http://google.com

If i send yslow.js script via POST /session/:sessionId/execute
i get error:
"Can't find variable: require"

How can i run PhantomJS with YSlow in webdriver / ghostdriver mode ?
Reply all
Reply to author
Forward
0 new messages