Search code examples
screenshotwebpage-screenshot

Method to capture a screenshot of user's browser to aid in bug reporting


I'm looking for a way to make it easy for technically unsophisticated users to submit screenshots of their browser to me, to aid in debugging web application problems.

There will be a button on all pages inside a web application they can use to report problems, which I would like to submit a screenshot (among other things).

http://www.snapabug.com/ is very close to what I want, but I need to be able to customize a few things that service won't let me.

Production environment is LAMP. I expect there must be something Flash-based that can do this, but I've not been able to find something.


Solution

  • Use JavaScript to grab the HTML, user agent and browser details (plugins, etc.) and send it to a bug reporting page with AJAX.