WebPagetest Forums

Full Version: waitForJSDone problem - window.webpagetest undefined
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I am trying to use the statement in tested page code:

if( window.webpagetest ) {
window.webpagetest.done();
}

Unfortunately it does not work. I use IE11 and IE9 on my private agents.

Is waitForJSDone statement still available?
I've prepared the test case in the public Internet

http://www.webpagetest.org/result/150924...c916ac7a0/

tested page includes code:

if( window.webpagetest ) {
window.webpagetest.done();
} else {
$('#warningMessage').html('not webpagetest');
}

You can see the message in red 'not webpagetest' on screenshot
I don't think that has been implemented in wptdriver, just the older urlblast code.
Reference URL's