takes screenshot of a given URL