Open GoogleCodeExporter opened 9 years ago
It seems that JSON data in the response string is not properly quoted.
Original comment by barancev
on 15 Sep 2014 at 2:51
I ran in to this issue when trying to fetch the performance object by executing
Javascript. The loadEventEnd indeed is 0 for most page loads but doesn't seem
to be a problem with the driver itself. If you debug through the Javascript
execution (we us Java based tests) loadEventEnd always returns valid values.
Problem appears to be with page load timing. After driver.get(), if we don't
wait long enough for the page to load, the above Javascript executes before
loadEndEvent is fired or completed - see this
http://msdn.microsoft.com/en-us/library/ie/ff974721%28v=vs.85%29.aspx as
reference.
So the question really is should the driver bear the responsibility of waiting
for all appropriate events to be completed or the tests should include logic
for complete page load?
Original comment by shri...@gmail.com
on 18 Nov 2014 at 8:39
[deleted comment]
Forgot to add, as a validation I added Thread.sleep(2000) in my test to
explicitly pause after driver.get and loadEndEvent always returned a non-zero
value.
Original comment by shri...@gmail.com
on 18 Nov 2014 at 8:49
Original comment by samu...@chromium.org
on 21 Feb 2015 at 12:18
Original issue reported on code.google.com by
macmilla...@gmail.com
on 19 Aug 2014 at 10:18