Add Emulation.setNavigatorPlatform
Sometimes in headless we need to emulate mobile devices including changing navigator.platform. This DevTools command achieves that. Bug: Change-Id: Id305db9fa595d527225c2e19bb269cb60f29110f Reviewed-on: https://chromium-review.googlesource.com/603715 Commit-Queue: Alex Clarke <alexclarke@chromium.org> Reviewed-by:Dmitry Gozman <dgozman@chromium.org> Cr-Commit-Position: refs/heads/master@{#501225}
Showing
Please register or sign in to comment