ThinknSolutions interview question

How you can capture screenshots in selenium