堡垒机配置应用发布服务器,用户登录bs应用调用应用发布服务器的时候出现如下报错------org.openqa.selenium.SessionNotCreatedException: session not created: This version of ChromeDriver only supports Chrome version 93
Current browser version is 120.0.6099.110 with binary path C:\Program Files\Google\Chrome\Application\chrome.exe
Build info: version: 'unknown', revision: 'unknown', time: 'unknown'
System info: host: 'WIN-LRM99CO7GJ9', ip: '172.20.0.90', os.name: 'Windows NT (unknown)', os.arch: 'amd64', os.version: '10.0', java.version: '1.8.0_11'
Driver info: driver.version: ChromeDriver
remote stacktrace: Backtrace:
Ordinal0 [0x0129D403+2479107]
Ordinal0 [0x01237D51+2063697]
Ordinal0 [0x011420C8+1056968]
Ordinal0 [0x0116043A+1180730]
Ordinal0 [0x0115C355+1164117]
Ordinal0 [0x01159B7F+1153919]
Ordinal0 [0x01189CBF+1350847]
Ordinal0 [0x0118992A+1349930]
Ordinal0 [0x0118583B+1333307]
Ordinal0 [0x01161F94+1187732]
Ordinal0 [0x01162DE9+1191401]
GetHandleVerifier [0x0141F3F6+1531734]
GetHandleVerifier [0x014CE9AE+2249998]
GetHandleVerifier [0x013239AB+501003]
GetHandleVerifier [0x01322A29+497033]
Ordinal0 [0x0123D11D+2085149]
Ordinal0 [0x012411C8+2101704]
Ordinal0 [0x01241302+2102018]
Ordinal0 [0x0124AA71+2140785]
BaseThreadInitThunk [0x766262C4+36]
RtlSubscribeWnfStateChangeNotification [0x77130F79+1081]
RtlSubscribeWnfStateChangeNotification [0x77130F44+1028]
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:408)
at org.openqa.selenium.remote.W3CHandshakeResponse.lambda$errorHandler$0(W3CHandshakeResponse.java:62)
at org.openqa.selenium.remote.W3CHandshakeResponse$$Lambda$194/956420404.apply(Unknown Source)
at org.openqa.selenium.remote.HandshakeResponse.lambda$getResponseFunction$0(HandshakeResponse.java:30)
at org.openqa.selenium.remote.HandshakeResponse$$Lambda$189/591391158.apply(Unknown Source)
at org.openqa.selenium.remote.ProtocolHandshake.lambda$createSession$0(ProtocolHandshake.java:126)
at org.openqa.selenium.remote.ProtocolHandshake$$Lambda$190/1625082366.apply(Unknown Source)
at java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:193)
at java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958)
at java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:126)
at java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:529)
at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:516)
at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:502)
at java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:152)
at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
at java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:464)
at org.openqa.selenium.remote.ProtocolHandshake.createSession(ProtocolHandshake.java:128)
at org.openqa.selenium.remote.ProtocolHandshake.createSession(ProtocolHandshake.java:74)
at org.openqa.selenium.remote.HttpCommandExecutor.execute(HttpCommandExecutor.java:136)
at org.openqa.selenium.remote.service.DriverCommandExecutor.execute(DriverCommandExecutor.java:83)
at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:552)
at org.openqa.selenium.remote.RemoteWebDriver.startSession(RemoteWebDriver.java:213)
at org.openqa.selenium.remote.RemoteWebDriver.<init>(RemoteWebDriver.java:131)
at org.openqa.selenium.chrome.ChromeDriver.<init>(ChromeDriver.java:181)
at org.openqa.selenium.chrome.ChromeDriver.<init>(ChromeDriver.java:168)
at org.openqa.selenium.chrome.ChromeDriver.<init>(ChromeDriver.java:157)
at com.sbr.automatic.factory.WebDriverFactory.createChromeDriver(WebDriverFactory.java:107)
at com.sbr.automatic.factory.WebDriverFactory.getWebDriver(WebDriverFactory.java:48)
at com.sbr.automatic.AutomaticBrowser.main(AutomaticBrowser.java:91)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:483)
at com.exe4j.runtime.LauncherEngine.launch(LauncherEngine.java:85)
at com.exe4j.runtime.WinLauncher.main(WinLauncher.java:94) |