Pregunta de entrevista de NiCE

how to take screenshots? why webdriver is used?