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

6

6

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.

Broker answered 2/3, 2010 at 13:18 Comment(2)
what kind kind of customization do you need?Barham
I don't want any of the live agent stuff, and I need to add things like backtraces and application variables to the submission, and I can't have the third-party branding. Snapabug won't work for me, but the screen capture feature is exactly what I am looking for.Broker
A
1

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

Amah answered 11/3, 2010 at 4:41 Comment(1)
don't forget cookie values, and post dataFrowsy
E
3

Buzz,

if you need a tool which integrates already with existing bugtracking solutions (fogbugz, redmine, JIRA, TFS, ...) you should give Usersnap a try. I think it does exactly what you need! Full disclosure: I'm one of the co-founder of http://usersnap.com

Estelleesten answered 19/9, 2013 at 10:22 Comment(0)
S
1

Buzz,

Yeah, I came across that tool as well and it seems to be pretty cool. The closest thing I can point out is Selenium. Selenium can take a screen shot and save the page source. I believe it uses JavaScript to make the necessary calls.

You could build something around that I suppose.

Walter

Singles answered 2/3, 2010 at 13:22 Comment(3)
IIRC, the user needs to have Selenium core installed as a browser plugin(?); as long as you're OK with these limitations, it would work.Elisavetpol
It won't be possible for me to require they install that.Broker
It was a suggestion meaning you can peak at the JavaScript source code and write your own solution. No, I wouldn't recommend they install Selenium. However, you can write your own JavaScript code to do the same thing. More importantly, what I do is capture the actual HTML source and whatever information the client sends (http headers). With this, I can then debug the problem. We can take the html source and run it in Chrome, Firefox, IE, Safari, Konqueror, etc. and see how that displays. I'm not a fan of client-side tools, instead capture the server-side as you can trust yourself.Singles
A
1

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

Amah answered 11/3, 2010 at 4:41 Comment(1)
don't forget cookie values, and post dataFrowsy
A
1

Buzz,

Backtraces and application variables can be stored in JavaScript variables and will be grabbed by SnapABug when sending the screenshot.

The Live Agent stuff are only enables if you choose to do so in the configuration. By default, they are not enabled.

Also we now have the ability to create custom forms to match your site look and feel and can remove the branding if this is a big deal.

Contact us at: [email protected] and we'll come up with something that works for you.

Cheers, Jerome.

Arlyn answered 12/3, 2010 at 19:21 Comment(0)
W
0

Have you seen this one? http://userfly.com/

Witness answered 11/3, 2010 at 4:50 Comment(0)
R
0

Getting a session with logins is tricky, but can be done with

https://github.com/leonid-shevtsov/headless and https://github.com/lanej/selenium-webdriver

On a separate server.

Hosted solutions like http://url2png.com don't support sessions (yet) I think.

Rattlesnake answered 2/12, 2011 at 6:2 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.