Thank you for the library. The 3rd party jars you added and the ones you specify in the example projects are of different version.
Edit: Seen the jar files now.
New issue: If the installed chrome driver is different from the chrome driver 104, it crashes. Is that the expected behaviour?
Waiting for debugger to connect...
Program started.
Aug 07, 2022 7:50:25 PM org.openqa.selenium.remote.DesiredCapabilities chrome
INFO: Using `new ChromeOptions()` is preferred to `DesiredCapabilities.chrome()`
Starting ChromeDriver 104.0.5112.29 (eff877e18f767c77fef0481a1cba402c8cbad404-refs/branch-heads/5112@{#422}) on port 19893
Only local connections are allowed.
Please see https://chromedriver.chromium.org/security-considerations for suggestions on keeping ChromeDriver safe.
ChromeDriver was started successfully.
[1659901841.241][WARNING]: Deprecated chrome option is ignored: useAutomationExtension
[1659901841.241][WARNING]: Deprecated chrome option is ignored: useAutomationExtension
Error occurred on line: 49 (Main)
org.openqa.selenium.SessionNotCreatedException: session not created: This version of ChromeDriver only supports Chrome version 104
Current browser version is 103.0.5060.134 with binary path C:\Program Files\Google\Chrome\Application\chrome.exe
Build info: version: '3.14.0', revision: 'aacccce0', time: '2018-08-02T20:05:20.749Z'
Driver info: driver.version: ChromeDriver
remote stacktrace: Backtrace:
Ordinal0 [0x01138823+2197539]
Ordinal0 [0x010D0911+1771793]
Ordinal0 [0x00FE3FE8+802792]
Ordinal0 [0x01005B43+940867]
....
.
.
at javafx.graphics/com.sun.glass.ui.win.WinApplication.lambda$runLoop$3(WinApplication.java:174)
at java.base/java.lang.Thread.run(Thread.java:834)