Current time: 12-13-2019, 11:41 AM Hello There, Guest! (LoginRegister)

Post Reply 
 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
waitForJSDone problem - window.webpagetest undefined
09-25-2015, 12:16 AM (This post was last modified: 09-25-2015 01:14 AM by ash.)
Post: #1
waitForJSDone problem - window.webpagetest undefined
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?

Artur Sudnik
Find all posts by this user
Quote this message in a reply
09-25-2015, 04:26 AM
Post: #2
RE: waitForJSDone problem - window.webpagetest undefined
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

Artur Sudnik
Find all posts by this user
Quote this message in a reply
09-30-2015, 01:20 AM
Post: #3
RE: waitForJSDone problem - window.webpagetest undefined
I don't think that has been implemented in wptdriver, just the older urlblast code.
Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)