| Posted: 22 Nov 2007 17:56 | ||
|
Registered User Currently Offline |
Posts: 2 Join Date: Nov 2007 |
|
|
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 | ||
|
|
Administrator Currently Offline |
Posts: 1382 Join Date: Jan 2007 |
|
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 | ||
|
Registered User Currently Offline |
Posts: 2 Join Date: Nov 2007 |
|
|
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 | ||
|
|
Administrator Currently Offline |
Posts: 1382 Join Date: Jan 2007 |
| Yes, but it this case I'd have to add a watermark advertising fireshot because this looks like another software product... | ||