Thanks for example but in my case I want save screenshot after "bad end", not after "start".
Next problem which I saw now is error log: Active tab of instance is not found - what does it mean? And why during posting to my wordpress blog instance of firefox turn off itself? How can I fix it? Or How can I turn on instance after turn off?
I ask for this because after every turn off my template stops and lose my time.