Added support for browsers to take screenshots.