I need to call Chrom from our Application. I tested with no headless mode and works fine. But when I set this parameter "-headless" then the Chrom stops working.
What I do:
I need to open html file and print to pdf. I need to handle files, therefor I use interception by calling this function (""Fetch.enable","{\"handleAuthRequests\":true,\"patterns\":[{\"urlPattern\":\"*\"}]}").
But if I want to leave it on Chrome, I call this function "Fetch.continueRequest" from callback. But the Chrom does not confirm me this command and stop working.
I think that the problem is than I am loading https page and this page contains http links.
The attached files contain startup parameter and communication intercepted by wireshark.