Devices with isMobile cause empty screenshots
### Prerequisites
- [x] I'm using the last version.
- [x] My node version is the same as declared as `package.json`.
### Subject of the issue
When creating a screenshot with for example device `Microsoft Lumia 950 landscape` (or any other device that has `isMobile=true` causes the screenshot to be become empty
### Steps to reproduce
> **Note**: You can reproduce the code using [interactive Node.js shell by Runkit](https://npm.runkit.com/browserless).
Tell us how to reproduce this issue.
```
await browser.goto(page, {
url: 'https://google.com',
device: 'Microsoft Lumia 950 landscape',
})
```
When logging the above code it already returns `error: Error: net::ERR_ABORTED at https://google.com`, I think this is because a device with `isMobile` 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.
关闭于 2023-12-06 4 条评论