»User:
»Password:
Remember Me? 
FireShot: Full Webpage Screenshots + Annotations for Firefox, Chrome, Opera, Edge and Internet Explorer / FireShot and Screenshot Studio Support / Enhancement and Feature Requests / 

Take screenshot automatically with Javascript?

Pages: 1
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.
__________________
FireShot Pro Pro Full Webpage Screenshots will be moving to a subscription model soon!
There's a last chance to purchase a Lifetime License and get a 33% discount! - https://getfireshot.com/buy.php
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...
__________________
FireShot Pro Pro Full Webpage Screenshots will be moving to a subscription model soon!
There's a last chance to purchase a Lifetime License and get a 33% discount! - https://getfireshot.com/buy.php
Posted:  16 Sep 2016 16:49   Last Edited By: stevieg
Sorry, meant to post new question...
Pages: 1