New issue
Advanced search Search tips

Issue 866848 link

Starred by 1 user

Issue metadata

Status: Unconfirmed
Owner: ----
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: 3
Type: Bug

Blocking:
issue 705916



Sign in to add a comment

Exception while trying to capture screenshot of second window, in headless chrome

Reported by ajithg....@gmail.com, Jul 24

Issue description

Chrome Version       : Version 67.0.3396.99 (Official Build) (64-bit)
ChromeDriver Version : 2.37.544315
URLs (if applicable) :

What steps will reproduce the problem?
(1) Selenium is used to launch headless chrome
(2) Open a new window
(3) Capture screenshot using ((TakesScreenshot) driver).getScreenshotAs(OutputType.BASE64);

What is the expected result?
Screenshot of second window is to be captured, just like in normal chrome renedering

What happens instead?
The following exception comes up and an indefinite wait happens
[1532431812.900][SEVERE]: Timed out receiving message from renderer: 600.000
[1532431812.900][WARNING]: screenshot failed, retrying


Please provide any additional information below. Attach a screenshot if
possible.
I have switched to the topmost window handle. But even that doesn't work. Screenshot is captured when there's only a single window.
 
Components: -Blink Internals>Media>ScreenCapture
Labels: Needs-Triage-M67
Components: Internals>Headless
Labels: Proj-Headless Triaged-ET TE-NeedsTriageHelp
Thanks for filing the issue!

From comment#0 it seems the issue has to be triaged by launching chrome in headless mode using Selenium, which is out of scope for us to proceed further. Hence adding label "TE-NeedsTriageHelp" and requesting someone from respective team to have a look into it and help in further triaging.
Note: Adding component Internals>Headless and label "Proj-Headless" please remove/change if this isn't applicable.
Cc: pfeldman@chromium.org

Comment 5 by dbbrooks@chromium.org, Jan 16 (6 days ago)

Components: -Internals>Media>ScreenCapture
Removing Internals>Media>ScreenCapture which is about mirroring screen content and not the screenshot mentioned here. (Feel free to add the component back if I'm mistaken. Thanks.)

Sign in to add a comment