How to enable cookies in Chromedriver with Webdriver?
问题 I am trying to use Selenium's Chromedriver to log in to a website which has cookies enabled. I got a message from the server that the browser has cookies disabled. How can I enable cookies in Chromedriver? 回答1: ChromeDriver has cookie be enabled by default. Please try the following steps: Use FirefoxDriver/IEDriver, see what the site says. Manually open a Chrome browser, see what the site says. Try open whatismybrowser.com with ChromeDriver opened browser, see what it tells you. If your site