• <small id='5KUzk'></small><noframes id='5KUzk'>

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

      <legend id='5KUzk'><style id='5KUzk'><dir id='5KUzk'><q id='5KUzk'></q></dir></style></legend>

        • <bdo id='5KUzk'></bdo><ul id='5KUzk'></ul>

        Selenium 意外出现问题

        时间:2023-07-05
          <i id='M6GKG'><tr id='M6GKG'><dt id='M6GKG'><q id='M6GKG'><span id='M6GKG'><b id='M6GKG'><form id='M6GKG'><ins id='M6GKG'></ins><ul id='M6GKG'></ul><sub id='M6GKG'></sub></form><legend id='M6GKG'></legend><bdo id='M6GKG'><pre id='M6GKG'><center id='M6GKG'></center></pre></bdo></b><th id='M6GKG'></th></span></q></dt></tr></i><div id='M6GKG'><tfoot id='M6GKG'></tfoot><dl id='M6GKG'><fieldset id='M6GKG'></fieldset></dl></div>

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

                <tbody id='M6GKG'></tbody>

                <bdo id='M6GKG'></bdo><ul id='M6GKG'></ul>
              • <legend id='M6GKG'><style id='M6GKG'><dir id='M6GKG'><q id='M6GKG'></q></dir></style></legend>

                <tfoot id='M6GKG'></tfoot>
                  本文介绍了Selenium 意外出现问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着跟版网的小编来一起学习吧!

                  问题描述

                  我在一些项目中使用 selenium 已经有一段时间了.

                  I have been using selenium now for a while on a number of projects.

                  使用正在运行的代码,我现在收到以下错误:

                  With code that was running I am now receiving the following error:

                      C:Users\%USER%Minicondapython.exe C:/Users/%USER%/PycharmProjects/c_r/quick_debug.py
                      Traceback (most recent call last):
                        File "C:/Users/%USER%/PycharmProjects/c_r/quick_debug.py", line 17, in <module>
                          c.setUp()
                        File "C:Users\%USER%PycharmProjectsc_rc.py", line 40, in setUp
                          self.driver = webdriver.Chrome()
                        File "C:Users\%USER%Minicondalibsite-packagesseleniumwebdriverchromewebdriver.py", line 67, in __init__
                          desired_capabilities=desired_capabilities)
                        File "C:Users\%USER%Minicondalibsite-packagesseleniumwebdriver
                  emotewebdriver.py", line 87, in __init__
                          self.start_session(desired_capabilities, browser_profile)
                        File "C:Users\%USER%Minicondalibsite-packagesseleniumwebdriver
                  emotewebdriver.py", line 141, in start_session
                          'desiredCapabilities': desired_capabilities,
                        File "C:Users\%USER%Minicondalibsite-packagesseleniumwebdriver
                  emotewebdriver.py", line 201, in execute
                          self.error_handler.check_response(response)
                        File "C:Users\%USER%Minicondalibsite-packagesseleniumwebdriver
                  emoteerrorhandler.py", line 181, in check_response
                          raise exception_class(message, screen, stacktrace)
                      selenium.common.exceptions.WebDriverException: Message: unknown error: unrecognized Blink revision: 3b3c00f2d95c45cca18ab944acced413fb759311
                        (Driver info: chromedriver=2.10.267521,platform=Windows NT 6.3 x86_64)
                  
                  
                      Process finished with exit code 1
                  

                  其中 c.setUp() 是:

                  def setUp(self):
                     self.driver = webdriver.Chrome()
                  

                  再次 - 这是 WAS 正在运行的代码,我不确定如何处理这个无法识别的闪烁修订"错误.

                  Again - this is code that WAS running and I am unsure how to this "Unrecognized blink revision" error.

                  没有任何有意识的改变.

                  Nothing has consciously changed.

                  感谢大家的指点

                  推荐答案

                  快速浏览一下源代码,我认为这是 ChromeDriver 和 Chrome 本身之间的兼容性问题 - 我怀疑您的 Chrome 已自动更新,现在对于 ChromeDriver 2.10 来说太新了.

                  After having a quick look at the source code, I think this is a compatibility issue between ChromeDriver and Chrome itself - I suspect your Chrome auto-updated and now is too new for ChromeDriver 2.10.

                  换句话说:更新 ChromeDriver,最新的当前是 2.19.

                  In other words: update ChromeDriver, latest is currently 2.19.

                  这篇关于Selenium 意外出现问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!

                  上一篇:如何重用 selenium 浏览器会话 下一篇:让 Chrome 通过 Selenium 启动

                  相关文章

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

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

                      <bdo id='pXNRv'></bdo><ul id='pXNRv'></ul>

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