fix: normalize live Chrome CDP endpoints for browser tools
This commit is contained in:
parent
36a4481152
commit
bb59057d5d
3 changed files with 99 additions and 3 deletions
2
cli.py
2
cli.py
|
|
@ -3926,7 +3926,7 @@ class HermesCLI:
|
|||
parts = cmd.strip().split(None, 1)
|
||||
sub = parts[1].lower().strip() if len(parts) > 1 else "status"
|
||||
|
||||
_DEFAULT_CDP = "ws://localhost:9222"
|
||||
_DEFAULT_CDP = "http://localhost:9222"
|
||||
current = os.environ.get("BROWSER_CDP_URL", "").strip()
|
||||
|
||||
if sub.startswith("connect"):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue