Chrome 73 stop supporting headless mode in background scheduled task? - scheduled-tasks

We have a .NET program to run headless Chrome to snapshot web page to image, and here is the sample code:
class Program
{
static void Main(string[] args)
{
var p = Process.Start(
#"C:\Program Files (x86)\Google\Chrome\Application\chrome.exe",
$#"--headless --screenshot=E:\test{DateTime.Now:HHmmss}.png --disable-gpu --window-size=320,568 http://www.microsoft.com");
p.WaitForExit();
}
}
The console application is scheduled in Windows Task Scheduler with "Run whether user is logged on or not" option. The program works fine for months but failed yesterday, we noticed the Chrome version is 73 now. Luckily we found a computer in which Chrome is still 72, so we tested the background scheduled task once, upgraded Chrome to 73 and tested it again, finally got the conclusion - Headless Chrome 72 can run in background, but Chrome 73 can't.
Does anybody find the same issue on Chrome 73?
[updated on 2019/6/23]
It's a bug of Chromium (bug 942023) and has been fixed on Chrome 74.0.3729.108.
For Chrome 73, you can use --disable-features=VizDisplayCompositor argument as a workaround.

Yes, we have the same issue here. We're running Chrome through Selenium WebDriver and after the update to Chrome 73 our background tasks no longer function correctly. Downgrading to Chrome 72 fixes the problem.
Our diagnostics logs show that when running Chrome 73 in headless mode that certain calls to the Chrome process seem to hang. For instance, resizing the browser or trying to take a screenshot via the WebDriver API. We tried a number of things to fix this including updating Selenium, WebDriver and chromedriver to the latest versions but all had identical behaviours.
There certainly seems to be an issue with running Chrome 73 in headless mode after the update.

Related

Remote debug broken with Android Chrome 89

When I want to inspect a page listed on chrome://inspect page on a remote Pixel 4 with OS version 11, I get a white page with just 'HTTP/1.1 404 Not Found' shown.
I uninstalled all updates from Android Chrome, went down to version 83, and remote debugging started working again.
I have the same problem with current versions of Chrome beta/dev/canary.
Is this only a problem on my device, or a general problem? Any way to get remote debugging working with Chrome 89?
Thanks,
Michael
It seems you can't get it working on Chrome 89 for now because this is a general problem. I got the same issue on Vivaldi 3.7 which runs Chromium 89. The only option for now is rolling back to previous working release.

Unable to launch AVD in VSCode

This problem seems to only happen for a specific project I have saved on my desktop which was cloned from GitHub.
Clicking on Run > Run Without Debugging, I am prompted to "Select a device to use". This is unusual, because usually, VSC provides the android devices I have downloaded on Android Studio as possible suggestions - however I don't see this.
Running the command: Flutter: Launch Emulator, I am able to choose an android device. However, after VSC launches the device, it displays the message: "Waiting for Pixel 3a API 29 to connect"
60 seconds later it gives the following error: "Failed to launch Pixel 3a API 29: Error. Emulator didn't connect within 60 seconds."
I only seem to have this problem with this flutter project. Creating a new project, I am able to connect to my AVD. I have tried removing and cloning the repository from GitHub to my desktop several times however I end up with the same error.
Edit: Yes, I have tried stopping and wiping the data of the AVD, however this doesn't work either.

PNaCl logging to stdout no longer working in Chrome 72 onwards?

I'm currently working to maintain an existing PNaCl application for ChromeOS devices. Prior to Chrome 72, we were able to log to stdout and stderr and these logs would appear on the ChromeOS device inside the ui.LATEST file. Since our ChromeOS devices have upgraded to versions past Chrome 71 our logs do not appear any more. We've tried this on devices running both Intel and ARM chipsets with the same results. We are using Pepper 49 (the latest). Our development environments in Ubuntu are still outputting to the stdout and stderr.
Has there been a change in Chrome 72 to where stdout and stderr log to or how we log to the ui.LATEST file?
EDIT: We've tried a couple of other sites that we know log to the stdout and use PNaCl, namely this: https://gonativeclient.appspot.com/demo - this also does not log to the Chromebooks but does log in our development environments.

protractor launches chrome data:. url and takes almost 10 minutes to navigate to application URL

My protractor scripts were running fine on Chrome V62 & chromeDriver 2.35. My browser got updated to v64 and from then on, i m experiencing the wierd behaviour where my browser opens with "data.;" & then hangs for 10 min and then proceeds with execution.
I updated my chromeBrowser to 2.36 & also selenium server to 3.12.0. on running "webdriver-manager update" it says: all are uptodate. Not sure what is causing the issue.
Versions:
Node: 8.8.1
protractor : 5.3
Chrome: 64
ChromeDriver:2.36
seleniumserver: 3.12.0
& directConnect:true.
All of the versions is samefrom the begining, except for chromeDriver & chrome. Can canyone tell me what went wrong please.

Chrome for window devtools freezes

I'm using chrome on Windows 7 and after updating from 48 to 49, the devtools get frozen when I'm trying to navigate some of the tabs (sources, resources, etc.)
I re-installed several times, and restored devtools options to default, but none of the attempts worked for me.
I downgraded to 43 and works fine.
Anyone knows the reason or experiencing same problem?