title: Could not start a new session. Response code 500. Message: session not created: This version of ChromeDriver only supports Chrome version 105
body: <p>I'm developing an application that uses selenium.</p>
  <ul>
  <li>OS: macOS with Apple Silicon</li>
  <li>Language: Kotlin</li>
  <li>JDK: Java 18</li>
  </ul>
  <p>But it fails.</p>
  <h2>Output</h2>
  <pre><code>Starting ChromeDriver 105.0.5195.19 (b9c217c128c16f53d12f9a02933fcfdec1bf49af-refs/branch-heads/5195@{#176}) on port 50362
  Only local connections are allowed.
  Please see https://chromedriver.chromium.org/security-considerations for suggestions on keeping ChromeDriver safe.
  ChromeDriver was started successfully.
  org.openqa.selenium.SessionNotCreatedException: Could not start a new session. Response code 500. Message: session not created: This version of ChromeDriver only supports Chrome version 105
  Current browser version is 104.0.5112.79 with binary path /Applications/Google Chrome.app/Contents/MacOS/Google Chrome
  Build info: version: '4.4.0', revision: 'e5c75ed026a'
  System info: host: 'mymac.local', ip: '2400:2200:6f0:7919:347b:3223:3841:9545%en0', os.name: 'Mac OS X', os.arch: 'aarch64', os.version: '12.3', java.version: '18.0.2'
  Driver info: org.openqa.selenium.chrome.ChromeDriver
  Command: [null, newSession {capabilities=[Capabilities {browserName: chrome, goog:chromeOptions: {args: [], extensions: []}}], desiredCapabilities=Capabilities {browserName: chrome, goog:chromeOptions: {args: [], extensions: []}}}]
      at org.openqa.selenium.remote.ProtocolHandshake.createSession(ProtocolHandshake.java:144)
      ......
  </code></pre>
  <h2>build.gradle.kts</h2>
  <pre class="lang-kotlin prettyprint-override"><code>dependencies {
      testImplementation(kotlin(&quot;test&quot;))
      implementation(compose.desktop.currentOs)
  
      // Selenium
      // https://mvnrepository.com/artifact/org.seleniumhq.selenium/selenium-java
      implementation(&quot;org.seleniumhq.selenium:selenium-java:4.4.0&quot;)
      // https://mvnrepository.com/artifact/org.seleniumhq.selenium/selenium-chrome-driver
      implementation(&quot;org.seleniumhq.selenium:selenium-chrome-driver:4.4.0&quot;)
  }
  </code></pre>
  <h2>Code</h2>
  <pre class="lang-kotlin prettyprint-override"><code>fun launch() {
      System.setProperty(
          &quot;webdriver.chrome.driver&quot;,
          &quot;/driver/path/chromedriver&quot;
      );
      ChromeDriver();
  }
  </code></pre>
  <p>Chrome driver version 105.0.5195.19 is one of the driver I saved at <code>/driver/path/chromedriver</code>.
  104.0.5112.79 is the version of Chrome I installed on my macOS.</p>
  <p>Do I have to use the chromedriver version 104? or is there any way to use one of version 105?</p>
  <p>I'm not sure why chrome version on the macOS is needed when I set <code>webdriver.chrome.driver</code>.</p>