Closed route closed 10 months ago
Anything we can do to help get this implemented @route?
@lifesaverluke not that I can think of, I'm on it but I was sick and on the road.
It looks like even though I can be able to land support with frames, there's at least one quite major regression for Chrome which shows duplicated requests and there's an event missing which is quite crucial for network. So it's not gonna happen until they fix it.
A thing that changed for sure is that last_exchange
is now the request to favicon.ico instead of the document. The old headless mode never loaded favicons, so that change makes sense.
Maybe we just need to adjust the tests?
A thing that changed for sure is that
last_exchange
is now the request to favicon.ico instead of the document. The old headless mode never loaded favicons, so that change makes sense.Maybe we just need to adjust the tests?
No itβs not that simple, networking is broken
Bit weird that puppeteer / playwright etc do work with headless=new? What's the difference?
@lifesaverluke in general it works, but there are a lot of tests broken for networking. The design is different, the architecture is also different. But looks like I found solution to make it work disable-site-isolation-trials
In general the issue is with frames only https://www.chromium.org/developers/design-documents/oop-iframes/
Since "new" mode has a bug with file download behavior it's not default now, but you can turn on "new" mode if it satisfies your needs.
@route Awesome! π
Will there be a new release later, with this included?
released
@route I appreciate the addition! Could we also get a new release of Cuprite? ππ» The current version locks Ferrum to 0.13.x
, so I cannot upgrade to 0.14.x
.
@janko yep I was going to do that, but need to do some stuff offline ;) life is life)
@route Of course, as a fellow open source maintainer, I totally understand π I really appreciate all the work you did on Ferrum/Cuprite, it brought us tremendous benefits in my current company ππ»
I decided we needed the new headless mode when I encountered a system test that was failing in old headless mode and passing in headful mode. We were able to use the new headless mode with current Cuprite by passing browser_options: { "headless" => "new" }
to the driver, so not a blocker at all.
@janko Very good article btw!
Addresses #352