Skip to content

if use chrome-devtools_emulate geo api will failed #2013

Closed as not planned
Closed as not planned

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

Activity

  1. added theissue type on May 7, 2026
  2. nattallius commented on May 8, 2026

    @nattallius
    Contributor
  3. OrKoN commented on May 11, 2026

    @OrKoN
    Collaborator

    I am not able to reproduce but note that if you open DevTools it might apply its own overrides for geolocation.

  4. bluelovers commented on May 11, 2026

    @bluelovers
    Author

    if i dodn't use chrome-devtools_emulate

    geolocation is work

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions