Guard against browser being None when grabbing a screenshot

Wasn't sure why we were asking for a PNG and then converting to base64
when selenium knows how to give us the base64. Comments?