Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cdp: error.MissingField on Target.createTarget with chromedp #283

Open
krichprollsch opened this issue Oct 24, 2024 · 1 comment
Open

cdp: error.MissingField on Target.createTarget with chromedp #283

krichprollsch opened this issue Oct 24, 2024 · 1 comment
Labels
bug Something isn't working CDP Chrome Debug Protocol

Comments

@krichprollsch
Copy link
Member

Using a chromedp script to request lightpanda CDP, I get the following error:

 error(server): do error: error.MissingField

chromedp sent the message:

2024-10-24T16:20:04.571+0200    DEBUG   gateway/main.go:259     ws read: type 1, msg {"id":1,"method":"Target.createTarget","params":{"url":"about:blank"}}
@krichprollsch krichprollsch added CDP Chrome Debug Protocol bug Something isn't working labels Oct 24, 2024
@krichprollsch
Copy link
Member Author

For comparison, where is the Target.createTarget message sent by puppeteer:

2024-10-24T16:20:10.782+0200    DEBUG   gateway/main.go:259     ws read: type 1, msg {"method":"Target.createTarget","params":{"url":"about:blank","browserContextId":"22648B09EDCCDD11109E2D4FEFBE4F89"},"id":6}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working CDP Chrome Debug Protocol
Projects
None yet
Development

No branches or pull requests

1 participant