Closed TriPSs closed 9 months ago
Thanks a lot. It should be fixed in the last version
Can you verify at your end? https://github.com/microlinkhq/browserless/releases/tag/v10.2.1 🙂
It is indeed working now, thanks!
Also I found a typo in the code:
https://github.com/microlinkhq/browserless/blob/0b578051040d09db17d9f03d49dc713ab70dc886/packages/screenshot/src/index.js#L22
I think naturalWeight
should be naturalWidth
?
@TriPSs good catch; can you make a PR? happy to see new contributors 🙂
Ofc (#541)
Prerequisites
package.json
.Subject of the issue
When creating a screenshot with for example device
Microsoft Lumia 950 landscape
(or any other device that hasisMobile=true
causes the screenshot to be become emptySteps to reproduce
Tell us how to reproduce this issue.
When logging the above code it already returns
error: Error: net::ERR_ABORTED at https://google.com
, I think this is because a device withisMobile
causes the page to reload and the timeout to hit.Expected behaviour
It to run correctly, not throwing an error.
Actual behaviour
An error is being thrown.