Altimetrik interview question

How to take screenshot in selenium ?