豆豆友情提示:这是一个非官方 GitHub 代理镜像,主要用于网络测试或访问加速。请勿在此进行登录、注册或处理任何敏感信息。进行这些操作请务必访问官方网站 github.com。 Raw 内容也通过此代理提供。
Skip to content

feat: add emulate_device_profile tool#272

Closed
hiowenluke wants to merge 1 commit intoChromeDevTools:mainfrom
hiowenluke:feat/emulate-device-profile
Closed

feat: add emulate_device_profile tool#272
hiowenluke wants to merge 1 commit intoChromeDevTools:mainfrom
hiowenluke:feat/emulate-device-profile

Conversation

@hiowenluke
Copy link
Copy Markdown

  • add predefined mobile device profiles and CDP emulation logic
  • register emulate_device_profile tool, document usage and Copilot prompt example
  • cover the new tool with automation tests and update the tool listing

@google-cla
Copy link
Copy Markdown

google-cla bot commented Oct 4, 2025

Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

View this failed invocation of the CLA check for more information.

For the most up to date status, view the checks section at the bottom of the pull request.

@albertehc
Copy link
Copy Markdown

Any updates on this feature?
It would be interesting to be able to emulate a mobile device from the MCP

github-merge-queue bot pushed a commit that referenced this pull request Jan 20, 2026
This PR adds two emulation attributes `viewport` and `userAgent` that
allow emulating a mobile or a different desktop device.

Closes #272
Closes #619
Closes #410
Closes #280
(the recommended way is to emulate via the MCP server instead of a
parallel DevTools session)
@OrKoN OrKoN closed this in #798 Jan 20, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants