Bulletproof demos using Chrome's playback mode
dev.hubspot.com
dev.hubspot.com
Although just capturing user session would already be nice, better than forcing people to take videos of their desktop (and with a bit of luck the file would be much smaller)
Even if not that wonderful, just the ability to have QA or fellow developers send me a file that I can analyze instead of tying up their computer would be wonderful. Especially when working with remote co-workers.
The problem with video is that I can't inspect their DOM or their console.
something like open -a "Google Chrome" --args --record-mode --output-file output.log
then: some-command-that-plays-it-back --infile output.log
does anyone know if something like that exists?
http://stackoverflow.com/questions/8806625/is-it-possible-to...
[edit] Also:
Random perl script: https://github.com/inno/pluck-har
Google's record/playback Chrome extension: http://code.google.com/p/bite-project/
I am getting quite different results - it records http requests and user input (keyboard/mouse).
Windows 7 x64, Chrome 25.0.1364.172 m :
# navigate to chrome directory
cd C:\Users\User\AppData\Local\Google\Chrome\Application\
# run chrome with a new profile
chrome --user-data-dir="../User Data/recording_test" --first-run --record-mode
# use the new chrome profile to browse around
# close chrome
# launch it in playback mode
chrome --user-data-dir="../User Data/recording_test" --playback-mode
# watch disaster ensue as it locks your mouse (not keyboard),
# replays all activity (url bar input, navigation, mouse cursor movements...),
# and doesn't even stop when you alt-tab
# to a different application
It feels unpolished - mouse scroll wasn't recorded, the "translate this page?" bar wasn't showing up the same way as in the recording, and most importantly, I managed to switch to a different application and it continued sending input to that application. HTTP requests did get cached as promised, and non-cached requests (due to missing scroll event, it clicked on a different link) resulted in a cache error.I JUST dealt with bad data speeds at SXSW while demoing for @scobleizer so this would have been great for the future.
Anyway, cool concept, except it doesn't work with X-Content-Type-Options: nosniff, or ajax call with timestamp parameters.
I think its use is limited to what the article suggests: making sure real life demos don't break.
start /b "" "C:\Users\User\AppData\Local\Google\Chrome\Application\chrome.exe" --args --record-mode
doesn't seem to work
start /b "" "C:\Users\User\AppData\Local\Google\Chrome\Application\chrome.exe" --record-mode
Report back if it works!
"C:\Users\User\AppData\Local\Google\Chrome\Application\chrome.exe" --record-mode
2. run chrome.exe --record-mode ( /record-mode also works)
3. navigate in a predetermined way, then close chrome
4. run chrome.exe --playback-mode ( /playback-mode also works)
5. navigate in the same predetermined way. Those clicks will all work. Any other clicks will not work and result in 'cache miss' errors.
"c:\path\to\chrome\dir\chrome" --user-data-dir="c:\path\to\chrome\dir\User Data/test" --record-modeThe record/playback feature is designed to make a copy of the content you look at during a session, allowing you to retrieve it offline at a later time by revisiting the page (or making equivalent HTTP calls).
Interestingly, if you use both together, you can design a offline-mode reader for hacker news for use on the train or other disconnected environments. Or, combine selenium and playback mode to create kick ass demos that are less likely to fail on weak wifi networks. :)
> even if your servers have exploded, a bug has been
> deployed, or the conference wifi has dropped outThen there is a setting to disable cache. Although I have heard reports that it doesn't completely work, but that might have been fixed by now.
1 is a size in bytes (must be >0).
Thanks for the heads-up!