Mphasis Interview Question

How do you take screenshot using Selenium?