Current time: 06-26-2017, 06:52 PM Hello There, Guest! (LoginRegister)

Post Reply 
 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Scripting issue in Chrome with Single Page Apps?
04-07-2017, 04:18 AM
Post: #1
Scripting issue in Chrome with Single Page Apps?
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/

Script:
Code:
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!
Find all posts by this user
Quote this message in a reply
04-08-2017, 05:00 AM (This post was last modified: 04-08-2017 05:06 AM by mverkerk.)
Post: #2
RE: Scripting issue in Chrome with Single Page Apps?
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
Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump:


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