use webdriver directly for screenshot capture