Add download method taking cookies from webdriver