Getting Timed out receiving message from renderer: 600.000 When we execute selenium scripts using Jenkins windows service modeINFO: Detected dialect: OSS Error on Jenkins consoleNot able to execute selenium script on jenkins on chrome version 73Selenium Timed out receiving message from rendererError [SEVERE]: Timed out receiving message from renderer: 20.000 while executing the testsuite through Selenium on JenkinsIssue in taking screenshot in selenium while using chromedriver 73 for chrome version 73Timed out receiving message from renderer: 600.000 with Chrome v73.0, ChromeDriver 2.46 on Bamboo ServerSelenium Test case failed with “script returned exit code 255”TypeError: 'NoneType' object is not subscriptable while invoking execute_script() for Chrome Download Manager through SeleniumJenkins not opening Chrome browser when Jenkins is hosted on Windows server and node is Windows server itself but works fine when node is MAC machineSetup Chrome WebDriver with remote 'chromedriver.exe' fileHeadless Browser and scraping - solutionsunknown error: Chrome failed to start: exited abnormally (Driver info: chromedriver=2.9Error on Adding Chrome Driver in selenium 2.4.2Unable to Set Size (Increase Size) for Chrome Browser through Selenium in Jenkins?Selenium ChromeDriver Timed out receiving message from renderer exceptionChromeDriver Failing At StartupGetting error for selenium test execution with jenkins on QAT server, it's working fine with local jenkinsProblems headless chromedriver downloadsChromedriver on linux : [SEVERE]: Unable to receive message from renderer
Should I not go forward with internship interview process if I don't have the time to prepare properly?
How to disable "Completion time:..." in SQL Server Messages window
These were just lying around
Is there a command to install basic applications on Ubuntu 16.04?
Why did I get only 5 points even though I won?
Can "être sur" mean "to be about" ?
The cat ate your input again!
If a digital camera can be "hacked" in the ransomware sense, how best to protect it?
Collinear Galois conjugates
A continuous water "planet" ring around a star
Understanding the point of a kölsche Witz
How can this older-style irrigation tee be replaced?
Does Molecular Weight of a Gas affect its lifting properties at the same velocity over the same wing?
What does the phrase "pull off sick wheelies and flips" mean here?
What is this 1990s horror game of otherworldly PCs dealing with monsters on modern Earth?
Word for an event that will likely never happen again
Redis Cache Shared Session Configuration
What is this "Table of astronomy" about?
Random Double Arc Endpoint Angles
Graphs for which a calculus student can reasonably compute the arclength
Does fossil fuels use since 1990 account for half of all the fossil fuels used in history?
How are you supposed to know the strumming pattern for a song from the "chord sheet music"?
Why are Tucker and Malcolm not dead?
Creating multi-attribute primary key in table in ArcGIS Desktop
Getting Timed out receiving message from renderer: 600.000 When we execute selenium scripts using Jenkins windows service mode
INFO: Detected dialect: OSS Error on Jenkins consoleNot able to execute selenium script on jenkins on chrome version 73Selenium Timed out receiving message from rendererError [SEVERE]: Timed out receiving message from renderer: 20.000 while executing the testsuite through Selenium on JenkinsIssue in taking screenshot in selenium while using chromedriver 73 for chrome version 73Timed out receiving message from renderer: 600.000 with Chrome v73.0, ChromeDriver 2.46 on Bamboo ServerSelenium Test case failed with “script returned exit code 255”TypeError: 'NoneType' object is not subscriptable while invoking execute_script() for Chrome Download Manager through SeleniumJenkins not opening Chrome browser when Jenkins is hosted on Windows server and node is Windows server itself but works fine when node is MAC machineSetup Chrome WebDriver with remote 'chromedriver.exe' fileHeadless Browser and scraping - solutionsunknown error: Chrome failed to start: exited abnormally (Driver info: chromedriver=2.9Error on Adding Chrome Driver in selenium 2.4.2Unable to Set Size (Increase Size) for Chrome Browser through Selenium in Jenkins?Selenium ChromeDriver Timed out receiving message from renderer exceptionChromeDriver Failing At StartupGetting error for selenium test execution with jenkins on QAT server, it's working fine with local jenkinsProblems headless chromedriver downloadsChromedriver on linux : [SEVERE]: Unable to receive message from renderer
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;
We are executing our selenium automation script using jenkins window service(Headless mode) on daily basis .it was working fine till yesterday. suddenly it stopped working and not launching the browser. it shows the below error message [1553677874.187][SEVERE]: Timed out receiving message from renderer: 600.000. after that all the remaining test cases are getting failed.
It is working fine if we run the build using jenkins as without windows service. We are experiencing this issue only with windows as service
- My chrome driver version :73.0.3683.68
- Chrome browser version :73.0.3683.68
- Selenium Version :3.14.0
I have tried to downgrade the browser version and driver version. even though it is not working
I am expecting the browser should launch in the background when we execute using jenkins as windows service but getting error message.
System.setProperty("webdriver.chrome.driver", "C:\chromedriver.exe");
ChromeOptions options = new ChromeOptions();
options.addArguments("load-extension=C:\1.13.4_0");
options.addArguments("--start-maximized");
options.addArguments("--ignore-certificate-errors");
options.addArguments("--disable-popup-blocking");
// options.addArguments("window-size=1400,600");
options.addArguments("enable-automation");
options.addArguments("--headless");
options.addArguments("--window-size=1920,1080");
options.addArguments("--no-sandbox");
// options.addArguments("--disable-extensions");
options.addArguments("--dns-prefetch-disable");
options.addArguments("--disable-gpu");
options.setPageLoadStrategy(PageLoadStrategy.NORMAL);
DesiredCapabilities capabilities =
DesiredCapabilities.chrome();
capabilities.setCapability(ChromeOptions.CAPABILITY,
**strong text**options);
return new ChromeDriver(capabilities);
selenium jenkins service window selenium-chromedriver
add a comment |
We are executing our selenium automation script using jenkins window service(Headless mode) on daily basis .it was working fine till yesterday. suddenly it stopped working and not launching the browser. it shows the below error message [1553677874.187][SEVERE]: Timed out receiving message from renderer: 600.000. after that all the remaining test cases are getting failed.
It is working fine if we run the build using jenkins as without windows service. We are experiencing this issue only with windows as service
- My chrome driver version :73.0.3683.68
- Chrome browser version :73.0.3683.68
- Selenium Version :3.14.0
I have tried to downgrade the browser version and driver version. even though it is not working
I am expecting the browser should launch in the background when we execute using jenkins as windows service but getting error message.
System.setProperty("webdriver.chrome.driver", "C:\chromedriver.exe");
ChromeOptions options = new ChromeOptions();
options.addArguments("load-extension=C:\1.13.4_0");
options.addArguments("--start-maximized");
options.addArguments("--ignore-certificate-errors");
options.addArguments("--disable-popup-blocking");
// options.addArguments("window-size=1400,600");
options.addArguments("enable-automation");
options.addArguments("--headless");
options.addArguments("--window-size=1920,1080");
options.addArguments("--no-sandbox");
// options.addArguments("--disable-extensions");
options.addArguments("--dns-prefetch-disable");
options.addArguments("--disable-gpu");
options.setPageLoadStrategy(PageLoadStrategy.NORMAL);
DesiredCapabilities capabilities =
DesiredCapabilities.chrome();
capabilities.setCapability(ChromeOptions.CAPABILITY,
**strong text**options);
return new ChromeDriver(capabilities);
selenium jenkins service window selenium-chromedriver
I’m honestly not sure if that’s your script or the error message. Could you upload both please and clarify?
– C. Peck
Mar 27 at 9:32
My Error message is [1553677874.187][SEVERE]: Timed out receiving message from renderer: 600.000.
– Sai
Mar 27 at 10:42
add a comment |
We are executing our selenium automation script using jenkins window service(Headless mode) on daily basis .it was working fine till yesterday. suddenly it stopped working and not launching the browser. it shows the below error message [1553677874.187][SEVERE]: Timed out receiving message from renderer: 600.000. after that all the remaining test cases are getting failed.
It is working fine if we run the build using jenkins as without windows service. We are experiencing this issue only with windows as service
- My chrome driver version :73.0.3683.68
- Chrome browser version :73.0.3683.68
- Selenium Version :3.14.0
I have tried to downgrade the browser version and driver version. even though it is not working
I am expecting the browser should launch in the background when we execute using jenkins as windows service but getting error message.
System.setProperty("webdriver.chrome.driver", "C:\chromedriver.exe");
ChromeOptions options = new ChromeOptions();
options.addArguments("load-extension=C:\1.13.4_0");
options.addArguments("--start-maximized");
options.addArguments("--ignore-certificate-errors");
options.addArguments("--disable-popup-blocking");
// options.addArguments("window-size=1400,600");
options.addArguments("enable-automation");
options.addArguments("--headless");
options.addArguments("--window-size=1920,1080");
options.addArguments("--no-sandbox");
// options.addArguments("--disable-extensions");
options.addArguments("--dns-prefetch-disable");
options.addArguments("--disable-gpu");
options.setPageLoadStrategy(PageLoadStrategy.NORMAL);
DesiredCapabilities capabilities =
DesiredCapabilities.chrome();
capabilities.setCapability(ChromeOptions.CAPABILITY,
**strong text**options);
return new ChromeDriver(capabilities);
selenium jenkins service window selenium-chromedriver
We are executing our selenium automation script using jenkins window service(Headless mode) on daily basis .it was working fine till yesterday. suddenly it stopped working and not launching the browser. it shows the below error message [1553677874.187][SEVERE]: Timed out receiving message from renderer: 600.000. after that all the remaining test cases are getting failed.
It is working fine if we run the build using jenkins as without windows service. We are experiencing this issue only with windows as service
- My chrome driver version :73.0.3683.68
- Chrome browser version :73.0.3683.68
- Selenium Version :3.14.0
I have tried to downgrade the browser version and driver version. even though it is not working
I am expecting the browser should launch in the background when we execute using jenkins as windows service but getting error message.
System.setProperty("webdriver.chrome.driver", "C:\chromedriver.exe");
ChromeOptions options = new ChromeOptions();
options.addArguments("load-extension=C:\1.13.4_0");
options.addArguments("--start-maximized");
options.addArguments("--ignore-certificate-errors");
options.addArguments("--disable-popup-blocking");
// options.addArguments("window-size=1400,600");
options.addArguments("enable-automation");
options.addArguments("--headless");
options.addArguments("--window-size=1920,1080");
options.addArguments("--no-sandbox");
// options.addArguments("--disable-extensions");
options.addArguments("--dns-prefetch-disable");
options.addArguments("--disable-gpu");
options.setPageLoadStrategy(PageLoadStrategy.NORMAL);
DesiredCapabilities capabilities =
DesiredCapabilities.chrome();
capabilities.setCapability(ChromeOptions.CAPABILITY,
**strong text**options);
return new ChromeDriver(capabilities);
selenium jenkins service window selenium-chromedriver
selenium jenkins service window selenium-chromedriver
edited Mar 27 at 10:10
DebanjanB
57.2k16 gold badges57 silver badges107 bronze badges
57.2k16 gold badges57 silver badges107 bronze badges
asked Mar 27 at 9:21
SaiSai
686 bronze badges
686 bronze badges
I’m honestly not sure if that’s your script or the error message. Could you upload both please and clarify?
– C. Peck
Mar 27 at 9:32
My Error message is [1553677874.187][SEVERE]: Timed out receiving message from renderer: 600.000.
– Sai
Mar 27 at 10:42
add a comment |
I’m honestly not sure if that’s your script or the error message. Could you upload both please and clarify?
– C. Peck
Mar 27 at 9:32
My Error message is [1553677874.187][SEVERE]: Timed out receiving message from renderer: 600.000.
– Sai
Mar 27 at 10:42
I’m honestly not sure if that’s your script or the error message. Could you upload both please and clarify?
– C. Peck
Mar 27 at 9:32
I’m honestly not sure if that’s your script or the error message. Could you upload both please and clarify?
– C. Peck
Mar 27 at 9:32
My Error message is [1553677874.187][SEVERE]: Timed out receiving message from renderer: 600.000.
– Sai
Mar 27 at 10:42
My Error message is [1553677874.187][SEVERE]: Timed out receiving message from renderer: 600.000.
– Sai
Mar 27 at 10:42
add a comment |
2 Answers
2
active
oldest
votes
Seems you are using the following configuration:
- chromedriver=73.0.3683.68
- chrome=73.0.3683.68
- Windows OS
John Chen (Owner - chromedriver) recently have confirmed that,
We have confirmed issues with take screenshot when Chrome 73.0.3686.75 is started by a service (such as Jenkins or Task scheduler) on Windows. Please see https://crbug.com/942023 for more details. We apologize for any inconvenience caused by this. However, we haven't yet been able to observe similar issue on Linux, so we appreciate any help you can provide to enable us to reproduce the issue on Linux. We don't have access to TeamCity, but we have tested take screenshot using Docker image produced by Selenium (selenium/standalone-chrome:3.141.59-lithium), and didn't find any problems.
Yesterday (Mar 26, 2019), John once again confirmed:
I am aware of some issues with running Chrome 73 from Jenkins. I don't know any workarounds. Please following https://crbug.com/942023 for updates.
Update
We were able to dig up the main issue. The main issue is not with ChromeDriver v73.x as such but with Chrome v73.x and John officially confirms it as:
The root cause is indeed in Chrome 73.x, not in ChromeDriver. We are working with Chrome devs to find a solution.
Solution
A quick fix solution will be to:
- Downgrade Chrome Browser to Chrome v72.x
- Use a matching ChromeDriver among:
ChromeDriver 2.46- ChromeDriver 72.0.3626.69
Note: If you are using Chrome version 72, please download ChromeDriver 2.46 or ChromeDriver 72.0.3626.69
- Ensure that JDK is upgraded to recent level of JDK 8u202.
Outro
You can find the relevant discussions in:
- Page.captureScreenshot no longer works in Chrome 73 under Selenium as a Service on Windows
- Error [SEVERE]: Timed out receiving message from renderer: 20.000 while executing the testsuite through Selenium on Jenkins
- Download Google Chrome 72 Offline Installer For All Operating Systems
Update(03-April-2019)
Adding the argument --disable-features=VizDisplayCompositor
through an instance of ChromeOptions()
seems solves the issue:
ChromeOptions options = new ChromeOptions();
options.addArguments("--disable-features=VizDisplayCompositor");
WebDriver driver = new ChromeDriver(options);
driver.get("https://google.com");
1
Thank you so much for providing the solution
– Sai
Mar 28 at 14:22
1
I think you're right (I separately found the same underlying issue - it just doesn't work with Chrome v73 as a background service). You mention downgrading - how did you do that?
– thab
Mar 28 at 14:30
1
@DebanjanB - do you have Chrome downgrading instructions somewhere though?
– thab
Mar 28 at 14:35
1
@thab Updated answer with a link for your reference
– DebanjanB
Mar 28 at 15:01
1
FYI - downgrade worked
– thab
Mar 28 at 16:34
|
show 15 more comments
Possible problem is that your Google Chrome updated and became incompatible with your Chromedriver. I suggest either getting a new Chromedriver or downgrading your Google Chrome to a previous version and disabling auto updates.
You can verify the required Chromedriver version for your Google Chrome here:
http://chromedriver.chromium.org/downloads
Step 4 of the following link worked for me to disable automatic google Chrome updates.
https://www.webnots.com/7-ways-to-disable-automatic-chrome-update-in-windows-and-mac/
add a comment |
Your Answer
StackExchange.ifUsing("editor", function ()
StackExchange.using("externalEditor", function ()
StackExchange.using("snippets", function ()
StackExchange.snippets.init();
);
);
, "code-snippets");
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "1"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55373625%2fgetting-timed-out-receiving-message-from-renderer-600-000-when-we-execute-selen%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
Seems you are using the following configuration:
- chromedriver=73.0.3683.68
- chrome=73.0.3683.68
- Windows OS
John Chen (Owner - chromedriver) recently have confirmed that,
We have confirmed issues with take screenshot when Chrome 73.0.3686.75 is started by a service (such as Jenkins or Task scheduler) on Windows. Please see https://crbug.com/942023 for more details. We apologize for any inconvenience caused by this. However, we haven't yet been able to observe similar issue on Linux, so we appreciate any help you can provide to enable us to reproduce the issue on Linux. We don't have access to TeamCity, but we have tested take screenshot using Docker image produced by Selenium (selenium/standalone-chrome:3.141.59-lithium), and didn't find any problems.
Yesterday (Mar 26, 2019), John once again confirmed:
I am aware of some issues with running Chrome 73 from Jenkins. I don't know any workarounds. Please following https://crbug.com/942023 for updates.
Update
We were able to dig up the main issue. The main issue is not with ChromeDriver v73.x as such but with Chrome v73.x and John officially confirms it as:
The root cause is indeed in Chrome 73.x, not in ChromeDriver. We are working with Chrome devs to find a solution.
Solution
A quick fix solution will be to:
- Downgrade Chrome Browser to Chrome v72.x
- Use a matching ChromeDriver among:
ChromeDriver 2.46- ChromeDriver 72.0.3626.69
Note: If you are using Chrome version 72, please download ChromeDriver 2.46 or ChromeDriver 72.0.3626.69
- Ensure that JDK is upgraded to recent level of JDK 8u202.
Outro
You can find the relevant discussions in:
- Page.captureScreenshot no longer works in Chrome 73 under Selenium as a Service on Windows
- Error [SEVERE]: Timed out receiving message from renderer: 20.000 while executing the testsuite through Selenium on Jenkins
- Download Google Chrome 72 Offline Installer For All Operating Systems
Update(03-April-2019)
Adding the argument --disable-features=VizDisplayCompositor
through an instance of ChromeOptions()
seems solves the issue:
ChromeOptions options = new ChromeOptions();
options.addArguments("--disable-features=VizDisplayCompositor");
WebDriver driver = new ChromeDriver(options);
driver.get("https://google.com");
1
Thank you so much for providing the solution
– Sai
Mar 28 at 14:22
1
I think you're right (I separately found the same underlying issue - it just doesn't work with Chrome v73 as a background service). You mention downgrading - how did you do that?
– thab
Mar 28 at 14:30
1
@DebanjanB - do you have Chrome downgrading instructions somewhere though?
– thab
Mar 28 at 14:35
1
@thab Updated answer with a link for your reference
– DebanjanB
Mar 28 at 15:01
1
FYI - downgrade worked
– thab
Mar 28 at 16:34
|
show 15 more comments
Seems you are using the following configuration:
- chromedriver=73.0.3683.68
- chrome=73.0.3683.68
- Windows OS
John Chen (Owner - chromedriver) recently have confirmed that,
We have confirmed issues with take screenshot when Chrome 73.0.3686.75 is started by a service (such as Jenkins or Task scheduler) on Windows. Please see https://crbug.com/942023 for more details. We apologize for any inconvenience caused by this. However, we haven't yet been able to observe similar issue on Linux, so we appreciate any help you can provide to enable us to reproduce the issue on Linux. We don't have access to TeamCity, but we have tested take screenshot using Docker image produced by Selenium (selenium/standalone-chrome:3.141.59-lithium), and didn't find any problems.
Yesterday (Mar 26, 2019), John once again confirmed:
I am aware of some issues with running Chrome 73 from Jenkins. I don't know any workarounds. Please following https://crbug.com/942023 for updates.
Update
We were able to dig up the main issue. The main issue is not with ChromeDriver v73.x as such but with Chrome v73.x and John officially confirms it as:
The root cause is indeed in Chrome 73.x, not in ChromeDriver. We are working with Chrome devs to find a solution.
Solution
A quick fix solution will be to:
- Downgrade Chrome Browser to Chrome v72.x
- Use a matching ChromeDriver among:
ChromeDriver 2.46- ChromeDriver 72.0.3626.69
Note: If you are using Chrome version 72, please download ChromeDriver 2.46 or ChromeDriver 72.0.3626.69
- Ensure that JDK is upgraded to recent level of JDK 8u202.
Outro
You can find the relevant discussions in:
- Page.captureScreenshot no longer works in Chrome 73 under Selenium as a Service on Windows
- Error [SEVERE]: Timed out receiving message from renderer: 20.000 while executing the testsuite through Selenium on Jenkins
- Download Google Chrome 72 Offline Installer For All Operating Systems
Update(03-April-2019)
Adding the argument --disable-features=VizDisplayCompositor
through an instance of ChromeOptions()
seems solves the issue:
ChromeOptions options = new ChromeOptions();
options.addArguments("--disable-features=VizDisplayCompositor");
WebDriver driver = new ChromeDriver(options);
driver.get("https://google.com");
1
Thank you so much for providing the solution
– Sai
Mar 28 at 14:22
1
I think you're right (I separately found the same underlying issue - it just doesn't work with Chrome v73 as a background service). You mention downgrading - how did you do that?
– thab
Mar 28 at 14:30
1
@DebanjanB - do you have Chrome downgrading instructions somewhere though?
– thab
Mar 28 at 14:35
1
@thab Updated answer with a link for your reference
– DebanjanB
Mar 28 at 15:01
1
FYI - downgrade worked
– thab
Mar 28 at 16:34
|
show 15 more comments
Seems you are using the following configuration:
- chromedriver=73.0.3683.68
- chrome=73.0.3683.68
- Windows OS
John Chen (Owner - chromedriver) recently have confirmed that,
We have confirmed issues with take screenshot when Chrome 73.0.3686.75 is started by a service (such as Jenkins or Task scheduler) on Windows. Please see https://crbug.com/942023 for more details. We apologize for any inconvenience caused by this. However, we haven't yet been able to observe similar issue on Linux, so we appreciate any help you can provide to enable us to reproduce the issue on Linux. We don't have access to TeamCity, but we have tested take screenshot using Docker image produced by Selenium (selenium/standalone-chrome:3.141.59-lithium), and didn't find any problems.
Yesterday (Mar 26, 2019), John once again confirmed:
I am aware of some issues with running Chrome 73 from Jenkins. I don't know any workarounds. Please following https://crbug.com/942023 for updates.
Update
We were able to dig up the main issue. The main issue is not with ChromeDriver v73.x as such but with Chrome v73.x and John officially confirms it as:
The root cause is indeed in Chrome 73.x, not in ChromeDriver. We are working with Chrome devs to find a solution.
Solution
A quick fix solution will be to:
- Downgrade Chrome Browser to Chrome v72.x
- Use a matching ChromeDriver among:
ChromeDriver 2.46- ChromeDriver 72.0.3626.69
Note: If you are using Chrome version 72, please download ChromeDriver 2.46 or ChromeDriver 72.0.3626.69
- Ensure that JDK is upgraded to recent level of JDK 8u202.
Outro
You can find the relevant discussions in:
- Page.captureScreenshot no longer works in Chrome 73 under Selenium as a Service on Windows
- Error [SEVERE]: Timed out receiving message from renderer: 20.000 while executing the testsuite through Selenium on Jenkins
- Download Google Chrome 72 Offline Installer For All Operating Systems
Update(03-April-2019)
Adding the argument --disable-features=VizDisplayCompositor
through an instance of ChromeOptions()
seems solves the issue:
ChromeOptions options = new ChromeOptions();
options.addArguments("--disable-features=VizDisplayCompositor");
WebDriver driver = new ChromeDriver(options);
driver.get("https://google.com");
Seems you are using the following configuration:
- chromedriver=73.0.3683.68
- chrome=73.0.3683.68
- Windows OS
John Chen (Owner - chromedriver) recently have confirmed that,
We have confirmed issues with take screenshot when Chrome 73.0.3686.75 is started by a service (such as Jenkins or Task scheduler) on Windows. Please see https://crbug.com/942023 for more details. We apologize for any inconvenience caused by this. However, we haven't yet been able to observe similar issue on Linux, so we appreciate any help you can provide to enable us to reproduce the issue on Linux. We don't have access to TeamCity, but we have tested take screenshot using Docker image produced by Selenium (selenium/standalone-chrome:3.141.59-lithium), and didn't find any problems.
Yesterday (Mar 26, 2019), John once again confirmed:
I am aware of some issues with running Chrome 73 from Jenkins. I don't know any workarounds. Please following https://crbug.com/942023 for updates.
Update
We were able to dig up the main issue. The main issue is not with ChromeDriver v73.x as such but with Chrome v73.x and John officially confirms it as:
The root cause is indeed in Chrome 73.x, not in ChromeDriver. We are working with Chrome devs to find a solution.
Solution
A quick fix solution will be to:
- Downgrade Chrome Browser to Chrome v72.x
- Use a matching ChromeDriver among:
ChromeDriver 2.46- ChromeDriver 72.0.3626.69
Note: If you are using Chrome version 72, please download ChromeDriver 2.46 or ChromeDriver 72.0.3626.69
- Ensure that JDK is upgraded to recent level of JDK 8u202.
Outro
You can find the relevant discussions in:
- Page.captureScreenshot no longer works in Chrome 73 under Selenium as a Service on Windows
- Error [SEVERE]: Timed out receiving message from renderer: 20.000 while executing the testsuite through Selenium on Jenkins
- Download Google Chrome 72 Offline Installer For All Operating Systems
Update(03-April-2019)
Adding the argument --disable-features=VizDisplayCompositor
through an instance of ChromeOptions()
seems solves the issue:
ChromeOptions options = new ChromeOptions();
options.addArguments("--disable-features=VizDisplayCompositor");
WebDriver driver = new ChromeDriver(options);
driver.get("https://google.com");
edited Apr 3 at 5:50
answered Mar 27 at 10:07
DebanjanBDebanjanB
57.2k16 gold badges57 silver badges107 bronze badges
57.2k16 gold badges57 silver badges107 bronze badges
1
Thank you so much for providing the solution
– Sai
Mar 28 at 14:22
1
I think you're right (I separately found the same underlying issue - it just doesn't work with Chrome v73 as a background service). You mention downgrading - how did you do that?
– thab
Mar 28 at 14:30
1
@DebanjanB - do you have Chrome downgrading instructions somewhere though?
– thab
Mar 28 at 14:35
1
@thab Updated answer with a link for your reference
– DebanjanB
Mar 28 at 15:01
1
FYI - downgrade worked
– thab
Mar 28 at 16:34
|
show 15 more comments
1
Thank you so much for providing the solution
– Sai
Mar 28 at 14:22
1
I think you're right (I separately found the same underlying issue - it just doesn't work with Chrome v73 as a background service). You mention downgrading - how did you do that?
– thab
Mar 28 at 14:30
1
@DebanjanB - do you have Chrome downgrading instructions somewhere though?
– thab
Mar 28 at 14:35
1
@thab Updated answer with a link for your reference
– DebanjanB
Mar 28 at 15:01
1
FYI - downgrade worked
– thab
Mar 28 at 16:34
1
1
Thank you so much for providing the solution
– Sai
Mar 28 at 14:22
Thank you so much for providing the solution
– Sai
Mar 28 at 14:22
1
1
I think you're right (I separately found the same underlying issue - it just doesn't work with Chrome v73 as a background service). You mention downgrading - how did you do that?
– thab
Mar 28 at 14:30
I think you're right (I separately found the same underlying issue - it just doesn't work with Chrome v73 as a background service). You mention downgrading - how did you do that?
– thab
Mar 28 at 14:30
1
1
@DebanjanB - do you have Chrome downgrading instructions somewhere though?
– thab
Mar 28 at 14:35
@DebanjanB - do you have Chrome downgrading instructions somewhere though?
– thab
Mar 28 at 14:35
1
1
@thab Updated answer with a link for your reference
– DebanjanB
Mar 28 at 15:01
@thab Updated answer with a link for your reference
– DebanjanB
Mar 28 at 15:01
1
1
FYI - downgrade worked
– thab
Mar 28 at 16:34
FYI - downgrade worked
– thab
Mar 28 at 16:34
|
show 15 more comments
Possible problem is that your Google Chrome updated and became incompatible with your Chromedriver. I suggest either getting a new Chromedriver or downgrading your Google Chrome to a previous version and disabling auto updates.
You can verify the required Chromedriver version for your Google Chrome here:
http://chromedriver.chromium.org/downloads
Step 4 of the following link worked for me to disable automatic google Chrome updates.
https://www.webnots.com/7-ways-to-disable-automatic-chrome-update-in-windows-and-mac/
add a comment |
Possible problem is that your Google Chrome updated and became incompatible with your Chromedriver. I suggest either getting a new Chromedriver or downgrading your Google Chrome to a previous version and disabling auto updates.
You can verify the required Chromedriver version for your Google Chrome here:
http://chromedriver.chromium.org/downloads
Step 4 of the following link worked for me to disable automatic google Chrome updates.
https://www.webnots.com/7-ways-to-disable-automatic-chrome-update-in-windows-and-mac/
add a comment |
Possible problem is that your Google Chrome updated and became incompatible with your Chromedriver. I suggest either getting a new Chromedriver or downgrading your Google Chrome to a previous version and disabling auto updates.
You can verify the required Chromedriver version for your Google Chrome here:
http://chromedriver.chromium.org/downloads
Step 4 of the following link worked for me to disable automatic google Chrome updates.
https://www.webnots.com/7-ways-to-disable-automatic-chrome-update-in-windows-and-mac/
Possible problem is that your Google Chrome updated and became incompatible with your Chromedriver. I suggest either getting a new Chromedriver or downgrading your Google Chrome to a previous version and disabling auto updates.
You can verify the required Chromedriver version for your Google Chrome here:
http://chromedriver.chromium.org/downloads
Step 4 of the following link worked for me to disable automatic google Chrome updates.
https://www.webnots.com/7-ways-to-disable-automatic-chrome-update-in-windows-and-mac/
answered Mar 27 at 9:50
RemyRemy
1329 bronze badges
1329 bronze badges
add a comment |
add a comment |
Thanks for contributing an answer to Stack Overflow!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55373625%2fgetting-timed-out-receiving-message-from-renderer-600-000-when-we-execute-selen%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
I’m honestly not sure if that’s your script or the error message. Could you upload both please and clarify?
– C. Peck
Mar 27 at 9:32
My Error message is [1553677874.187][SEVERE]: Timed out receiving message from renderer: 600.000.
– Sai
Mar 27 at 10:42