How to update Chrome driver?

For API login process, we have integrated Chrome automation through Selenium WebDriver and ChromeDriver.

Chrome automation will work only when Chrome and Chrome driver are having same version. This means whenever you update Chrome, you have to manually download the ChromeDriver and update in your system.

How to know:

The Chrome login window doesn’t open or open and closes instantly.

You can check the below logs to know the exact reason.

Log File Name:
WEBCONTROLLER_LOGS_[DDMMYYYY].txt

(Replace [DDMMYYYY] with relevant date)

Log File Location:
For EtaTrader users,
C:\Program Files\EtaTrader Zerodha
C:\Program Files\EtaTrader Upstox
C:\Program Files\EtaTrader Samco
C:\Program Files\EtaTrader Alice
As required

For Excel Users,
My Documents

For Custom App Users,
App Folder/Bin

Steps:

  1. Check for any Updates in Chrome, if any pending updates please do.
  2. Note down the Chrome version (Ex: 85.x.xxxx.xx, version –> 85)
  3. Close Excel/AmiBroker/EtaTrader/Custom App if running
  4. Download the Chrome driver, go to the below link
    https://chromedriver.storage.googleapis.com/index.html
    Check for matching version (Ex: If Chrome version 85, then look for 85.xx), if you find multiple releases for the same version, then download
    the latest one
  5. Extract the downloaded zip file to a folder
  6. Copy the chromedriver.exe to the below folders (if exists) and replace the file (if already exists)

Folders to Copy:

C:\Windows\System32
C:\Windows\SysWOW64
C:\Program Files\EtaTrader Zerodha
C:\Program Files\EtaTrader Upstox
C:\Program Files\EtaTrader Samco
C:\Program Files\EtaTrader Alice

Please refer the below images. (version shown in the below images are just an Example)