Skip to content

[πŸ› Bug]: Unable to setup: Critical : selenium.common.exceptions.SessionNotCreatedException: Message: session not created: This version of ChromeDriver only supports Chrome version 114 Current browser version is 131.0.6778.70Β #14758

@laxmithurv

Description

@laxmithurv

What happened?

[INFO] 2024-11-15 12:56:07,218 LAPTOP-7RK7NGFK/locust.main [thread: MainThread]: Starting web interface at http://localhost:8089 (accepting connections from all network int
erfaces)
[INFO] 2024-11-15 12:56:07,244 LAPTOP-7RK7NGFK/locust.main [thread: MainThread]: Starting Locust 2.31.5
[INFO] 2024-11-15 12:56:07,244 LAPTOP-7RK7NGFK/locust.main [thread: MainThread]: No run time limit set, use CTRL+C to interrupt
[INFO] 2024-11-15 12:56:07,298 LAPTOP-7RK7NGFK/locust.runners [thread: Thread-1]: Ramping to 1 users at a rate of 1.00 per second
[INFO] 2024-11-15 12:56:07,299 LAPTOP-7RK7NGFK/locust.runners [thread: Thread-1]: All users spawned: {"WebUser": 1} (1 total users)
[INFO] 2024-11-15 12:56:07,300 LAPTOP-7RK7NGFK/root [thread: UserThread-2]: For Test Run -> User Role: "Customer : Administrator"
[INFO] 2024-11-15 12:56:07,300 LAPTOP-7RK7NGFK/root [thread: UserThread-2]: Getting User Data Of Account Type: "Customer" with Role: "Administrator" with Account: "None"
[INFO] 2024-11-15 12:56:07,302 LAPTOP-7RK7NGFK/root [thread: UserThread-2]: Step started: User_Launch_And_Login_Bridge_Marketplace_And_Switch_Account
[INFO] 2024-11-15 12:56:07,302 LAPTOP-7RK7NGFK/WDM [thread: UserThread-2]: ====== WebDriver manager ======
[INFO] 2024-11-15 12:56:11,645 LAPTOP-7RK7NGFK/WDM [thread: UserThread-2]: Get LATEST chromedriver version for google-chrome
[INFO] 2024-11-15 12:56:11,858 LAPTOP-7RK7NGFK/WDM [thread: UserThread-2]: About to download new driver from https://chromedriver.storage.googleapis.com/114.0.5735.90/chrom
edriver_win32.zip
[INFO] 2024-11-15 12:56:12,035 LAPTOP-7RK7NGFK/WDM [thread: UserThread-2]: Driver downloading response is 200
[INFO] 2024-11-15 12:56:15,356 LAPTOP-7RK7NGFK/WDM [thread: UserThread-2]: Get LATEST chromedriver version for google-chrome
[INFO] 2024-11-15 12:56:18,056 LAPTOP-7RK7NGFK/WDM [thread: UserThread-2]: Get LATEST chromedriver version for google-chrome
[INFO] 2024-11-15 12:56:20,509 LAPTOP-7RK7NGFK/WDM [thread: UserThread-2]: Driver has been saved in cache [C:\Users\LaxmiTG.wdm\drivers\chromedriver\win64\114.0.5735.90]

DevTools listening on ws://127.0.0.1:64429/devtools/browser/f2501f68-d9b7-4727-b586-23fe3a4201c7
[ERROR] 2024-11-15 12:56:29,777 LAPTOP-7RK7NGFK/root [thread: UserThread-2]: Message: session not created: This version of ChromeDriver only supports Chrome version 114
Current browser version is 131.0.6778.70 with binary path C:\Program Files\Google\Chrome\Application\chrome.exe

How can we reproduce the issue?

Traceback (most recent call last):
  File "C:\Users\LaxmiTG\Downloads\Workspace\projectname\venv\lib\site-packages\common_test_foundation\helpers\taskset_handler.py", line 185, in decorator
    res = fnc(*args, **kwargs)
  File "C:\Users\LaxmiTG\Downloads\Workspace\projectname\venv\lib\site-packages\locust\user\task.py", line 385, in execute_task
    task(self)
  File "C:\Users\LaxmiTG\Downloads\Workspace\projectname\helpers\kb_helper.py", line 40, in log_step
    func(self, *args, **kwargs)
  File "C:\Users\LaxmiTG\Downloads\Workspace\projectname\tests\kb\taskset_common.py", line 40, in user_launch_and_login_bridge_marketplace_and_switch_account
    self.client.set_driver(proxy=self.proxy)
  File "C:\Users\LaxmiTG\Downloads\Workspace\projectname\venv\lib\site-packages\common_test_foundation\lib\selenium_locust\core.py", line 140, in set_driver
    self.driver = ChromeDriver(
  File "C:\Users\LaxmiTG\Downloads\Workspace\projectname\venv\lib\site-packages\common_test_foundation\lib\webdrivers\drivers.py", line 113, in __new__
    driver = webdriver.Chrome(service=ChromeService(DriverBinarySingleton.binary_path), options=options)
  File "C:\Users\LaxmiTG\Downloads\Workspace\projectname\venv\lib\site-packages\selenium\webdriver\chrome\webdriver.py", line 45, in __init__
    super().__init__(
  File "C:\Users\LaxmiTG\Downloads\Workspace\projectname\venv\lib\site-packages\selenium\webdriver\chromium\webdriver.py", line 66, in __init__
    super().__init__(command_executor=executor, options=options)
  File "C:\Users\LaxmiTG\Downloads\Workspace\projectname\venv\lib\site-packages\selenium\webdriver\remote\webdriver.py", line 212, in __init__
    self.start_session(capabilities)
  File "C:\Users\LaxmiTG\Downloads\Workspace\projectname\venv\lib\site-packages\selenium\webdriver\remote\webdriver.py", line 299, in start_session
    response = self.execute(Command.NEW_SESSION, caps)["value"]
  File "C:\Users\LaxmiTG\Downloads\Workspace\projectname\venv\lib\site-packages\selenium\webdriver\remote\webdriver.py", line 354, in execute
    self.error_handler.check_response(response)
  File "C:\Users\LaxmiTG\Downloads\Workspace\projectname\venv\lib\site-packages\selenium\webdriver\remote\errorhandler.py", line 229, in check_response
    raise exception_class(message, screen, stacktrace)
selenium.common.exceptions.SessionNotCreatedException: Message: session not created: This version of ChromeDriver only supports Chrome version 114
Current browser version is 131.0.6778.70 with binary path C:\Program Files\Google\Chrome\Application\chrome.exe
Stacktrace:
Backtrace:
        GetHandleVerifier [0x00F1A813+48355]
        (No symbol) [0x00EAC4B1]
        (No symbol) [0x00DB5358]
        (No symbol) [0x00DD61AC]
        (No symbol) [0x00DD1EF3]
        (No symbol) [0x00DD0579]
        (No symbol) [0x00E00C55]
        (No symbol) [0x00E0093C]
        (No symbol) [0x00DFA536]
        (No symbol) [0x00DD82DC]
        (No symbol) [0x00DD93DD]
        GetHandleVerifier [0x0117AABD+2539405]
        GetHandleVerifier [0x011BA78F+2800735]
        GetHandleVerifier [0x011B456C+2775612]
        GetHandleVerifier [0x00FA51E0+616112]
        (No symbol) [0x00EB5F8C]
        (No symbol) [0x00EB2328]
        (No symbol) [0x00EB240B]
        (No symbol) [0x00EA4FF7]
        BaseThreadInitThunk [0x7569FCC9+25]
        RtlGetAppContainerNamedObjectPath [0x7720809E+286]
        RtlGetAppContainerNamedObjectPath [0x7720806E+238]

Relevant log output

Traceback (most recent call last):
  File "C:\Users\LaxmiTG\Downloads\Workspace\projectname\venv\lib\site-packages\common_test_foundation\helpers\taskset_handler.py", line 185, in decorator
    res = fnc(*args, **kwargs)
  File "C:\Users\LaxmiTG\Downloads\Workspace\projectname\venv\lib\site-packages\locust\user\task.py", line 385, in execute_task
    task(self)
  File "C:\Users\LaxmiTG\Downloads\Workspace\projectname\helpers\kb_helper.py", line 40, in log_step
    func(self, *args, **kwargs)
  File "C:\Users\LaxmiTG\Downloads\Workspace\projectname\tests\kb\taskset_common.py", line 40, in user_launch_and_login_bridge_marketplace_and_switch_account
    self.client.set_driver(proxy=self.proxy)
  File "C:\Users\LaxmiTG\Downloads\Workspace\projectname\venv\lib\site-packages\common_test_foundation\lib\selenium_locust\core.py", line 140, in set_driver
    self.driver = ChromeDriver(
  File "C:\Users\LaxmiTG\Downloads\Workspace\projectname\venv\lib\site-packages\common_test_foundation\lib\webdrivers\drivers.py", line 113, in __new__
    driver = webdriver.Chrome(service=ChromeService(DriverBinarySingleton.binary_path), options=options)
  File "C:\Users\LaxmiTG\Downloads\Workspace\projectname\venv\lib\site-packages\selenium\webdriver\chrome\webdriver.py", line 45, in __init__
    super().__init__(
  File "C:\Users\LaxmiTG\Downloads\Workspace\projectname\venv\lib\site-packages\selenium\webdriver\chromium\webdriver.py", line 66, in __init__
    super().__init__(command_executor=executor, options=options)
  File "C:\Users\LaxmiTG\Downloads\Workspace\projectname\venv\lib\site-packages\selenium\webdriver\remote\webdriver.py", line 212, in __init__
    self.start_session(capabilities)
  File "C:\Users\LaxmiTG\Downloads\Workspace\projectname\venv\lib\site-packages\selenium\webdriver\remote\webdriver.py", line 299, in start_session
    response = self.execute(Command.NEW_SESSION, caps)["value"]
  File "C:\Users\LaxmiTG\Downloads\Workspace\projectname\venv\lib\site-packages\selenium\webdriver\remote\webdriver.py", line 354, in execute
    self.error_handler.check_response(response)
  File "C:\Users\LaxmiTG\Downloads\Workspace\projectname\venv\lib\site-packages\selenium\webdriver\remote\errorhandler.py", line 229, in check_response
    raise exception_class(message, screen, stacktrace)
selenium.common.exceptions.SessionNotCreatedException: Message: session not created: This version of ChromeDriver only supports Chrome version 114
Current browser version is 131.0.6778.70 with binary path C:\Program Files\Google\Chrome\Application\chrome.exe
Stacktrace:
Backtrace:
        GetHandleVerifier [0x00F1A813+48355]
        (No symbol) [0x00EAC4B1]
        (No symbol) [0x00DB5358]
        (No symbol) [0x00DD61AC]
        (No symbol) [0x00DD1EF3]
        (No symbol) [0x00DD0579]
        (No symbol) [0x00E00C55]
        (No symbol) [0x00E0093C]
        (No symbol) [0x00DFA536]
        (No symbol) [0x00DD82DC]
        (No symbol) [0x00DD93DD]
        GetHandleVerifier [0x0117AABD+2539405]
        GetHandleVerifier [0x011BA78F+2800735]
        GetHandleVerifier [0x011B456C+2775612]
        GetHandleVerifier [0x00FA51E0+616112]
        (No symbol) [0x00EB5F8C]
        (No symbol) [0x00EB2328]
        (No symbol) [0x00EB240B]
        (No symbol) [0x00EA4FF7]
        BaseThreadInitThunk [0x7569FCC9+25]
        RtlGetAppContainerNamedObjectPath [0x7720809E+286]
        RtlGetAppContainerNamedObjectPath [0x7720806E+238]

Operating System

Windows10

Selenium version

pip show selenium Name: selenium Version: 4.22.0, python --version Python 3.10.2

What are the browser(s) and version(s) where you see this issue?

browser version is 131.0.6778.70

What are the browser driver(s) and version(s) where you see this issue?

Chromedriver - 114.0.5735.90 gets downloaded

Are you using Selenium Grid?

No

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-needs-triagingA Selenium member will evaluate this soon!I-defectSomething is not working as intended

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions