You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
with latest ferrum 0.14 when we try the new flag for headless we frequently get an error on image/screenshot creation
Ferrum::NoSuchPageError
This is the part of the code where it happens
out = nil
browser.create_page() do |page|
page.go_to(absolute_internal_path_to_image.gsub("'", "\\\\'"))
out = if page.network.status.between?(200, 226)
page.screenshot(quality: AC['uploaders']['instant']['quality'],
format: AC['uploaders']['instant']['file_format'],
encoding: :binary)
else
logger.info " [error #{browser.network.status}] Ferrum browser bad status!"
end
page.close
end
HI there.
with latest ferrum
0.14
when we try thenew
flag for headless we frequently get an error on image/screenshot creationFerrum::NoSuchPageError
This is the part of the code where it happens
The browser now we initialize like that:
With
0.13
version andheadless
totrue
this was working like a charm.Any ideas what might causing that?
The text was updated successfully, but these errors were encountered: