Skip to content

if use chrome-devtools_emulate geo api will failed #2013

@bluelovers

Description

@bluelovers

Description of the bug

without chrome-devtools_emulate

Image

with chrome-devtools_emulate

geo always is 0,0

Image Image

Reproduction

userAgent: Mozilla/5.0 (iPhone; CPU iPhone OS 17_0 like Mac OS X)
  AppleWebKit/605.1.15 (KHTML, like Gecko) Version/17.0 Mobile/15E148
  Safari/604.1
viewport: 393x852x3,mobile,touch

Expectation

No response

MCP configuration

Image
    "chrome-devtools": {
      "type": "local",
      "command": [
        "ynpx",
        "chrome-devtools-mcp@latest",
        // "--auto-connect",
        // "--remote-debugging-port=9222",
        // "--",
        // "--remote-allow-origins=*",
        // "--no-first-run",
        // "--user-data-dir=C:/Users/User/AppData/Local/Google/Chrome/User Data/Default",
        // "--browserUrl=http://127.0.0.1:9222",
        "--categoryExtensions",
        "--enable-unsafe-extension-debugging",
      ]
    },

Chrome DevTools MCP version

latest

Chrome version

No response

Coding agent version

No response

Model version

No response

Chat log

No response

Node version

No response

Operating system

None

Extra checklist

  • I want to provide a PR to fix this bug

Metadata

Metadata

Assignees

No one assigned

    Type

    No fields configured for Bug.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions