Captures Screenshot of HTML elements