WebPagetest Forums

Full Version: Scripting issue in Chrome with Single Page Apps?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I am having issues running scripts in Chrome and it seems to be related to (a) the target being a Single Page App and (b) the navigate command not detecting the end condition. The same script runs fine in Firefox!

Also: I have a private instance of WPT that runs through a batch of URLs/Scripts every 2 hours and I found that tests targeting Single Page Apps started showing this behavior on or around the beginning of March ... I proceeded to run one of these scripts on public WPT and got the same issue:

Firefox working: http://www.webpagetest.org/result/170404...e1ebaa2c6/
Chrome failing: http://www.webpagetest.org/result/170404...bc67d1a99/

logData 0
navigate https://sso.godaddy.com

setValue id=username <username>
setValue id=password <password>
clickAndWait id=submitBtn

logData 1
navigate https://dcc.godaddy.com/domains

The Chrome screenshots are still showing the sso.godaddy.com page (from the initial navigate statement) while the Firefox screenshots are showing the desired target page.

Agents are currently on version 371

If anybody is seeing this behavior or wants to troubleshoot this, hit me up!
I made a quick video showing the agents doing their work - one running Firefox and the other Chrome. You can see Firefox (on the left) going through the entire script and reaching the intended page, both for the First and Repeat View. Chrome (on the right) stops almost immediately after it starts navigating to the intended page (it decides that the page is complete too early) ...

link: https://www.youtube.com/watch?v=5BpDG_sEAxg
Reference URL's