-
Notifications
You must be signed in to change notification settings - Fork 192
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
Occasional "No inspectable targets" error when launching chrome with a very short connectionPollInterval #145
Comments
Thanks very much for filing with a simple repro case! That's correct If you'd be interested in adding this functionality to chrome-launcher, I'd bet some other folks might end up making use of it as well :) I imagine it just might involve polling |
@patrickhulce It's great to get such a fast response! But I'm a little unsure of what you're suggesting. Do you consider the issue I reported to be a bug or normal/expected behavior? In the latter case, would adding a flag (e.g. |
I consider it to be expected behavior, but I understand your use case is a common one that could be worthwhile to support in the library ( |
To reproduce, create and run a Node script such as the one below:
After an unpredictable number of loops, the script (usually) crashes with a stacktrace:
It looks like
chrome-launcher
occasionally reports that the launched Chrome instance is ready and has a debugging port, even though it isn't actually ready to accept a debug session yet.The text was updated successfully, but these errors were encountered: