Avoid creating new webdriver when trying to take screenshot