Skip to content

bug: --auto-open-devtools-for-tabs is broken on latest chromium version (137) #675

@Crovitche-1623

Description

@Crovitche-1623

Hi,

I just wanted to report an annoying problem I encountered with the latest version of chromium, and how I managed to solve it (so that other developers don’t waste time on it).

Bug

Using the version 137 of chromium, some requests will fail mysteriously with the following error code:

{"code":-32000,"message":"Browser window not found"}

see https://stackoverflow.com/questions/79641152/error-code-32000-messagebrowser-window-not-found-with-usage-auto-op

Solution

The devtools are enabled by defaults on symfony/panther. I solved the problem either by using the previous version of Chromium (136), which is not recommended for security reasons if you’re accessing public websites, or by disabling DevTools with the PANTHER_DEVTOOLS=0 environment variable.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions