• <tfoot id='O7lAc'></tfoot>

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

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

        从渲染器接收消息超时

        时间:2023-06-27
        • <tfoot id='lBMwa'></tfoot>

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

                1. 本文介绍了从渲染器接收消息超时的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着跟版网的小编来一起学习吧!

                  问题描述

                  我正在尝试从某个门户网站获取交易状态,并且我在我的 java 应用程序中使用下面的 chrome 设置,我正在获取

                  I am trying to get status of transactions from some web portal and I am using below chrome settings in my java application and I am getting

                  从渲染器接收消息超时:60.000

                  Timed out receiving message from renderer: 60.000

                  所有待处理的事务都在超时.

                  and all the pending transactions are timing out.

                  会话信息:无头 chrome=68.0.3440.75
                  驱动程序信息:chromedriver=2.38 (0)
                  platform=Linux 2.6.32-696.23.1.el6.x86_64 x86_64)

                  Session info: headless chrome=68.0.3440.75
                  Driver info: chromedriver=2.38 (0)
                  platform=Linux 2.6.32-696.23.1.el6.x86_64 x86_64)

                  我如何处理这个问题,如果发生任何超时,然后转到下一个事务?

                  How i can handle this and if any timeout is happening then move to next transaction?

                  我已经尝试了以下语句的所有排列和组合,但仍然无法正常工作;

                  I have tried all permutation and combinations with below statements but still its not working;

                  options.addArguments("headless");
                  options.addArguments("disable-gpu");
                  WebDriver driver = new ChromeDriver(caps);
                  TimeUnit.SECONDS.sleep(1);
                  driver.manage().timeouts().pageLoadTimeout(20, TimeUnit.SECONDS);
                  driver.manage().timeouts().implicitlyWait(20,TimeUnit.SECONDS);
                  

                  推荐答案

                  这个错误信息...

                  Timed out receiving message from renderer: 60.000
                  

                  ...暗示 ChromeDriver 无法启动/生成新的 WebBrowserChrome 浏览器 会话.

                  ...implies that the ChromeDriver was unable to initiate/spawn a new WebBrowser i.e. Chrome Browser session.

                  您的主要问题是您使用的二进制文件版本之间的不兼容性,如下所示:

                  Your main issue is the incompatibility between the version of the binaries you are using as follows:

                  • 您正在使用 chromedriver=2.38
                  • chromedriver=2.38 的发行说明明确提及以下内容:

                  支持 Chrome v65-67

                  • 您正在使用 chrome=68.0
                  • ChromeDriver v2.41 明确提及以下内容:
                  • 支持 Chrome v67-69

                    • 我们不知道您的 Selenium 客户端 版本.
                    • 您的 JDK 版本是我们未知的版本.
                      • Your Selenium Client version is unknown to us.
                      • Your JDK version is version is unknown to us.
                      • 所以 ChromeDriver v2.38Chrome 浏览器 v68.0

                        • JDK 升级到最新级别 <强>JDK 8u181.
                        • Selenium 升级到当前级别版本 3.14.0.
                        • ChromeDriver 升级到当前的 ChromeDriverv2.41 级别.
                        • Chrome 版本保持在 Chrome v67-69 级别之间.(根据 ChromeDriver v2.41 发行说明)
                        • 清理你的项目工作区通过你的IDE重建你的项目只需要依赖.
                        • 执行你的 @Test.
                        • Upgrade JDK to recent levels JDK 8u181.
                        • Upgrade Selenium to current levels Version 3.14.0.
                        • Upgrade ChromeDriver to current ChromeDriver v2.41 level.
                        • Keep Chrome version between Chrome v67-69 levels. (as per ChromeDriver v2.41 release notes)
                        • Clean your Project Workspace through your IDE and Rebuild your project with required dependencies only.
                        • Execute your @Test.

                        这篇关于从渲染器接收消息超时的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!

                  上一篇:如何通过 selenium-webdriver 和 Java 使用 java 鼠标悬停 下一篇:使用 ChromeDriver 和无头模式下载 Java、Selenium 文件

                  相关文章

                2. <legend id='61JUq'><style id='61JUq'><dir id='61JUq'><q id='61JUq'></q></dir></style></legend>

                3. <small id='61JUq'></small><noframes id='61JUq'>

                      • <bdo id='61JUq'></bdo><ul id='61JUq'></ul>
                      <tfoot id='61JUq'></tfoot>

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