-
Notifications
You must be signed in to change notification settings - Fork 45
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
Protocol version #102
Comments
Hi, they were pulled from the JSON in ChromeDevTools/devtools-protocol on Jul 10, so that should be But on that note, unless you're using bleeding edge methods, there shouldn't be much difference when using the latest protocol definition and running a few versions old Chrome 😄. I could add the protocol version somewhere, e.g. commit message, maybe |
PS. For best compatibility, pulling the protocol from the running browser ( I've been planning on moving to Go modules, and making a few adjustments to the protocol generator ( |
I think version in README would be just fine. The problem I'm facing is that the protocol works weird with new versions of Chrome. Not always, but its work is not consistently good or bad. Completely random issues appear here or there. Therefore, I would like to know the version of the library in order to understand what range of browsers should be supported well. (if such exist at all) |
That's weird, in my experience the protocol definition either works or it doesn't. So for example, if you're using a newer protocol definition and and older Chrome, and trying to run a command that's not supported on that version, you will get an error. It shouldn't cause any weird behavior. From the cdp-packages perspective, there really is no difference between Chrome versions, the difference is only what commands are issued and with what parameters (i.e. the generated protocol definitions are really just a thin wrapper). If you can give more specific examples of failures, and maybe point to example code that fails sporadically, I could look into it. |
I can't say that there is a pattern. Same operations may fail just randomly. I guess because of if puppeteer uses specific version of Chrome. |
Hi!
I wonder what's the current version of the CDP protocol the library is using now?
Since the protocol is still in flux, I need the number to properly stick to a particular version of Chrome.
The text was updated successfully, but these errors were encountered: