<bdo id='6yI1e'></bdo><ul id='6yI1e'></ul>
    <legend id='6yI1e'><style id='6yI1e'><dir id='6yI1e'><q id='6yI1e'></q></dir></style></legend>
  • <tfoot id='6yI1e'></tfoot>

      <i id='6yI1e'><tr id='6yI1e'><dt id='6yI1e'><q id='6yI1e'><span id='6yI1e'><b id='6yI1e'><form id='6yI1e'><ins id='6yI1e'></ins><ul id='6yI1e'></ul><sub id='6yI1e'></sub></form><legend id='6yI1e'></legend><bdo id='6yI1e'><pre id='6yI1e'><center id='6yI1e'></center></pre></bdo></b><th id='6yI1e'></th></span></q></dt></tr></i><div id='6yI1e'><tfoot id='6yI1e'></tfoot><dl id='6yI1e'><fieldset id='6yI1e'></fieldset></dl></div>

      1. <small id='6yI1e'></small><noframes id='6yI1e'>

      2. SessionNotCreatedException:会话未创建:此版本的 ChromeDriver 仅支持使用 Sel

        SessionNotCreatedException: session not created: This version of ChromeDriver only supports Chrome version 77 using Selenium ChromeDriver(SessionNotCreatedException:会话未创建:此版本的 ChromeDriver 仅支持使用 Selenium ChromeDriver 的 Chrome

        • <bdo id='mK948'></bdo><ul id='mK948'></ul>
          • <i id='mK948'><tr id='mK948'><dt id='mK948'><q id='mK948'><span id='mK948'><b id='mK948'><form id='mK948'><ins id='mK948'></ins><ul id='mK948'></ul><sub id='mK948'></sub></form><legend id='mK948'></legend><bdo id='mK948'><pre id='mK948'><center id='mK948'></center></pre></bdo></b><th id='mK948'></th></span></q></dt></tr></i><div id='mK948'><tfoot id='mK948'></tfoot><dl id='mK948'><fieldset id='mK948'></fieldset></dl></div>

            1. <tfoot id='mK948'></tfoot>

                  <tbody id='mK948'></tbody>

                <small id='mK948'></small><noframes id='mK948'>

                <legend id='mK948'><style id='mK948'><dir id='mK948'><q id='mK948'></q></dir></style></legend>

                • 本文介绍了SessionNotCreatedException:会话未创建:此版本的 ChromeDriver 仅支持使用 Selenium ChromeDriver 的 Chrome 版本 77的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着跟版网的小编来一起学习吧!

                  问题描述

                  我正在使用ChromeDriver 77.0.3865.10

                  I am using ChromeDriver 77.0.3865.10

                  Google Chrome 版本 76.0.3809.100(官方版本)(64 位)

                  Google Chrome Version 76.0.3809.100 (Official Build) (64-bit)

                  C:WINDOWSsystem32>java -version
                  openjdk version "1.8.0_222"
                  OpenJDK Runtime Environment (AdoptOpenJDK)(build 1.8.0_222-b10)
                  OpenJDK 64-Bit Server VM (AdoptOpenJDK)(build 25.222-b10, mixed mode)
                  

                  Eclipse IDE for Java Developers 版本:2019-06 (4.12.0)

                  Eclipse IDE for Java Developers Version: 2019-06 (4.12.0)

                  Windows 10

                  我尝试重新安装 Windows 以获得新的操作系统,但仍然没有帮助.

                  I am tried reinstalling my windows to have a fresh OS, but it still didn't help the situation.

                  代码试验:

                  import org.openqa.selenium.WebDriver;
                  import org.openqa.selenium.chrome.ChromeDriver;
                  
                  public class One {
                  
                      public static void main(String[] args) {
                  
                          System.setProperty("webdriver.chrome.driver", "C:\Work\chromedriver_win32\chromedriver.exe");
                          WebDriver Driver=new ChromeDriver();
                          Driver.get("http://www.yahoo.com");
                      }
                  }
                  

                  错误:

                  Starting ChromeDriver 77.0.3865.10 (bc3579f611bbc73331171afe020ec7a45e6ccc55-refs/branch-heads/3865@{#93}) on port 32932
                  Only local connections are allowed.
                  Please protect ports used by ChromeDriver and related test frameworks to prevent access by malicious code.
                  Exception in thread "main" 
                  org.openqa.selenium.SessionNotCreatedException: session not created: This version of ChromeDriver only supports Chrome version 77
                  Build info: version: '3.141.59', revision: 'e82be7d358', time: '2018-11-14T08:25:48'
                  System info: host: 'LAPTOP-P9CFNEOV', ip: '172.20.10.12', os.name: 'Windows 10', os.arch: 'amd64', os.version: '10.0', java.version: '1.8.0_222'
                  Driver info: driver.version: ChromeDriver
                  remote stacktrace: Backtrace:
                  Ordinal0 [0x0046EBD3+1502163]
                  Ordinal0 [0x003EF781+980865]
                  Ordinal0 [0x0037763F+489023]
                  Ordinal0 [0x0030F2F4+62196]
                  Ordinal0 [0x0030BCDA+48346]
                  Ordinal0 [0x003297E0+169952]
                  Ordinal0 [0x0032940D+168973]
                  Ordinal0 [0x003278EB+162027]
                  Ordinal0 [0x00310AC7+68295]
                  Ordinal0 [0x00311B40+72512]
                  Ordinal0 [0x00311AD9+72409]
                  Ordinal0 [0x00408FE7+1085415]
                  GetHandleVerifier [0x0050D8AD+503293]
                  GetHandleVerifier [0x0050D640+502672]
                  GetHandleVerifier [0x0051471C+531564]
                  GetHandleVerifier [0x0050E0BA+505354]
                  Ordinal0 [0x004006B6+1050294]
                  Ordinal0 [0x0040052F+1049903]
                  Ordinal0 [0x0040B04B+1093707]
                  Ordinal0 [0x0040B1B3+1094067]
                  Ordinal0 [0x0040A145+1089861]
                  BaseThreadInitThunk [0x75988494+36]
                  RtlAreBitsSet [0x775641C8+136]
                  RtlAreBitsSet [0x77564198+88]
                  
                  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:423)
                  at org.openqa.selenium.remote.W3CHandshakeResponse.lambda$errorHandler$0(W3CHandshakeResponse.java:62)
                  at org.openqa.selenium.remote.HandshakeResponse.lambda$getResponseFunction$0(HandshakeResponse.java:30)
                  at org.openqa.selenium.remote.ProtocolHandshake.lambda$createSession$0(ProtocolHandshake.java:126)
                  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:499)
                  at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:486)
                  at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:472)
                  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:531)
                  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:123)
                  at One.main(One.java:10)
                  

                  推荐答案

                  您应该下载这个驱动并将其替换为您的 chrome 驱动 Chrome 驱动

                  You should be download and replace this driver to your chrome driver Chrome Driver

                  这篇关于SessionNotCreatedException:会话未创建:此版本的 ChromeDriver 仅支持使用 Selenium ChromeDriver 的 Chrome 版本 77的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!

                  本站部分内容来源互联网,如果有图片或者内容侵犯了您的权益,请联系我们,我们会在确认后第一时间进行删除!

                  相关文档推荐

                  Lucene Porter Stemmer not public(Lucene Porter Stemmer 未公开)
                  How to index pdf, ppt, xl files in lucene (java based or python or php any of these is fine)?(如何在 lucene 中索引 pdf、ppt、xl 文件(基于 java 或 python 或 php 中的任何一个都可以)?)
                  KeywordAnalyzer and LowerCaseFilter/LowerCaseTokenizer(KeywordAnalyzer 和 LowerCaseFilter/LowerCaseTokenizer)
                  How to search between dates (Hibernate Search)?(如何在日期之间搜索(休眠搜索)?)
                  How to get positions from a document term vector in Lucene?(如何从 Lucene 中的文档术语向量中获取位置?)
                  Java Lucene 4.5 how to search by case insensitive(Java Lucene 4.5如何按不区分大小写进行搜索)
                      <tbody id='IGIk9'></tbody>

                    1. <tfoot id='IGIk9'></tfoot>
                    2. <i id='IGIk9'><tr id='IGIk9'><dt id='IGIk9'><q id='IGIk9'><span id='IGIk9'><b id='IGIk9'><form id='IGIk9'><ins id='IGIk9'></ins><ul id='IGIk9'></ul><sub id='IGIk9'></sub></form><legend id='IGIk9'></legend><bdo id='IGIk9'><pre id='IGIk9'><center id='IGIk9'></center></pre></bdo></b><th id='IGIk9'></th></span></q></dt></tr></i><div id='IGIk9'><tfoot id='IGIk9'></tfoot><dl id='IGIk9'><fieldset id='IGIk9'></fieldset></dl></div>
                      • <bdo id='IGIk9'></bdo><ul id='IGIk9'></ul>

                          <legend id='IGIk9'><style id='IGIk9'><dir id='IGIk9'><q id='IGIk9'></q></dir></style></legend>

                          <small id='IGIk9'></small><noframes id='IGIk9'>