超时从渲染器接收消息 [英] Timed out receiving message from renderer

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

问题描述

我正在尝试从某个Web门户获取交易状态,并且我在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 无法启动/产生新的 WebBrowser ,即 Chrome浏览器会话.

...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:

支持 Chrome v65-67

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆