Hi,
I have a sample code for taking the snap of the page during runtime as well as the logger code which creates the log after run.
Will need to modify a bit if you will need. I have it in C# language.
Brief Info:
I am a pure tester and I have more than 5 years of exp working with automation tools like Selenium with c#, Qtp with VBScript.
I have also worked as a manual tester in few projects with automating it as well. From development of test scripts, till execution and report bugs i have also developed functions as per the requirement. Please go thru my profile for more info.
Thanks