mirror of
https://github.com/puppeteer/puppeteer
synced 2024-06-14 14:02:48 +00:00
139b9e9b6d
This patch: - gets rid of `page.emulate` and `page.emulatedDevices` methods. Instead, it is suggested to use `page.setViewport()` and `page.setUserAgent()` methods. - moves DeviceDescriptors to the top level of the puppeteer so that it is convenient to require them. - improves on documentation to describe the suggested emulation approach. References #88. |
||
---|---|---|
.. | ||
assets | ||
golden | ||
server | ||
diffstyle.css | ||
frame-utils.js | ||
golden-utils.js | ||
test.js |