WebDriverError: No active session with ID WebDriverError: No active session with ID selenium selenium

WebDriverError: No active session with ID


The problem is due to the version mismatch between the driver and browser version.

use the below version of chrome driver and corresponding browser version in you remote machine where your tests are executed

  • If you are using Chrome version 74, please download ChromeDriver 74.0.3729.6
  • If you are using Chrome version 73, please download ChromeDriver 73.0.3683.68
  • If you are using Chrome version 72, please download ChromeDriver 2.46

Refer here for more info http://chromedriver.chromium.org/downloads/version-selection

Hope it helps you