Closed GoogleCodeExporter closed 8 years ago
Original comment by k...@google.com
on 18 Dec 2012 at 3:40
some more infos from latest tests :
- video option checked : blank images in filmstrip view
Original comment by regis.de...@gmail.com
on 18 Dec 2012 at 8:20
here is last debug informations regarding time weirdness , blank screenshot on
freebsd + flash chrome and blank video screenshots.
Please tell me how i can give an hand on this =)
Original comment by regis.de...@gmail.com
on 22 Dec 2012 at 4:31
Attachments:
and another logs with "-m 8" debug level on agent side
Original comment by regis.de...@gmail.com
on 22 Dec 2012 at 4:36
Attachments:
regarding the freebsd+flash blank screenshot issue :
- i've tested with webdriverjs standalone same issue ; i'll fill a issue on github for this one.
Original comment by regis.de...@gmail.com
on 23 Dec 2012 at 9:55
ragarding the blank video screenshot i've found this during uploading results
in the httpd logs :
==> /var/log/apache2/error_log <==
Not a JPEG file: starts with 0x89 0x50
Not a JPEG file: starts with 0x89 0x50
Not a JPEG file: starts with 0x89 0x50
Not a JPEG file: starts with 0x89 0x50
Not a JPEG file: starts with 0x89 0x50
Original comment by regis.de...@gmail.com
on 24 Dec 2012 at 12:54
As of my latest changes (r1651), video sort of works (OSX 10.8.2) -- the frames
for nissan.fr are all white until the very last one at ~14s. The reason for
this is I do not take any screenshots at all between the end of user script
(log line "Sandbox finished, waiting for browser to coalesce") and the end of
test run. I should probably be doing that, but right now I don't. The nissan.fr
site loads basically empty, then a Flash program starts, and I'm guessing it
begins displaying stuff shortly *after* the page onLoad fires, i.e. after WD
get() returns.
Right now I take screenshots after each WD call. As a workaround, if you
artificially for example look for an element (doesn't matter if you find it)
each 1/2 second for 10 seconds using e.g. setTimeout/setInterval, you will have
screenshots each 1/2 second for 10 seconds.
The inaccurately reported timings are I'm guessing also because most/all of the
page is Flash, so I would not be surprised if the HAR-based timing computation
gets confused, but that's just a wild guess, Pat would have an authoritative
answer.
Original comment by k...@google.com
on 29 Dec 2012 at 7:01
FYI I just committed r1656 where I switched to DevTools-based screenshots
instead of WebDriver screenshots. The NodeJS agent now requires Chrome 26 which
is currently Canary, looks like it should become Dev channel next week. Tested
on OSX 10.8.
The immediate benefit is now all screenshots are the same size -- showing only
the visible window viewport, which makes the filmstrip work a lot better.
WebDriver screenshots show full page even if it's larger than the visible
viewport, so the frames were ending up different size, which was breaking the
filmstrip.
The other upcoming benefit is I can now take periodic screenshots independent
of the WD program, in parallel (almost), because it's a DevTools command and
does not need to be synchronized with WebDriver commands. I haven't implemented
that yet, it I'm going to.
Original comment by k...@google.com
on 5 Jan 2013 at 6:53
Pat, just to clarify -- the screenshot change has no effect on the HAR/timings
logic, which is the main issue in this bug.
Original comment by k...@google.com
on 5 Jan 2013 at 6:53
The latest agent doesn not rely on har at all and uses dev toos traces directly
for all of the timing.
Original comment by PatMee...@gmail.com
on 4 Jul 2013 at 5:56
Original issue reported on code.google.com by
regis.de...@gmail.com
on 18 Dec 2012 at 3:29