Closed laubsauger closed 6 years ago
Hi @laubsauger,
I've tried to reproduce this problem with same environment but I could not reproduce.
Environment:
Do you have any thoughts of another reason?
@laubsauger I am not able to produce this either.
Maybe related... I found using --ignore-certificate-errors
flag did sometimes cause a screenshot issue -- because of an onscreen notification. I switched to chromyChain.ignoreCertificateErrors()
method and have not had an issue since.
Thanks for trying to reproduce.
Unfortunately i have no other idea what could be causing this.
I've bumped node to 8.3.1 and reinstalled chrome (still same version) via yum but i get the same result.
Even rebooted my vm :neutral_face:
I'm not using the --ignore-certificate-errors
switch in this minimal testcase.
disable-gpu flag affects a result?
new Chrome({
visible: true,
chromeFlags: {
'--disable-gpu'
}
})
I just installed google-chrome-unstable
@62.0.3178.0 and the problem is gone.
@dotneet I will test your suggestion anyway.
update: Yes. When i pass --disable-gpu
it will work with google-chrome-stable
@60.0.3112.90-1.
Thanks guys :+1:
Hi @dotneet,
i think this is on chromy but i can't be entirely sure:
Reduced testcase:
This is how it looks:
Environment:
Chrome 60 Chromy 0.4.7 Centos 7 Node 8
I think the problem occured first after updating from chrome59 to chrome60 but i can't be sure. Headless Mode still works. But having the window visible helps a lot when working on complex test cases. If i manually start chrome via
google-chrome --remote-debugging-port=9222
and then run a chrome-remote-interface script against it, everything works and the rendering seems fine.Reference: https://github.com/garris/BackstopJS/issues/479