We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
From what I see in the library there's only one call to setDeviceMetricsOverride that sets mobile: false.
setDeviceMetricsOverride
mobile: false
It would be great if there was an exposed API to enable mobile emulation and manage width and height of the viewport dynamically.
The text was updated successfully, but these errors were encountered:
FWIW, I've added a mobile user agent to emulate it:
agent = 'Mozilla/5.0 (Linux; Android 7.0.0; Pixel Build/Unknown;) AppleWebKit/537.36.0 (KHTML, like Gecko) Chrome/60.0.0.0 Mobile Safari/537.36.0' browser.headers.set("User-Agent" => agent)
Probably isn't the same, but it worked for me.
Sorry, something went wrong.
No branches or pull requests
From what I see in the library there's only one call to
setDeviceMetricsOverride
that setsmobile: false
.It would be great if there was an exposed API to enable mobile emulation and manage width and height of the viewport dynamically.
The text was updated successfully, but these errors were encountered: