»User: »Password:   Remember Me? 
Screen capture software Support Forum / FireShot Support / Enhancement and Feature Requests / Take screenshot automatically with Javascript?
Posted:  22 Nov 2007 17:56
hi

is there any way to save a screenshot of the current page by triggering some javascript function? I would like to save screenshots of failed automated tests.

thanks & regards
nicola
Posted:  22 Nov 2007 20:22
I'm sure there is.
You need to google about XPCOM and execution of javascript functions declared inside chrome packages.
Posted:  03 Dec 2007 19:57
hi

I already managed to get your dll working inside selenium - however it still pops up a save-dialog, which is not very convenient for automated saving... is there a way to pass a filename to the fireshot dll so no save-dialog would be displayed?

thanks & regards
nicola
Posted:  03 Dec 2007 20:11
Yes, but it this case I'd have to add a watermark advertising fireshot because this looks like another software product...