Skip to content

Conversation

tomassurin
Copy link

This PR fixes an incompatibility with recent chromium versions (111+)

Details

The main culprit is the API for creating pages = PUT /json/new. This library uses wrong HTTP method GET here. This got unnoticed up until now because chromium did not enforce the correct method. However, this changed recently where chromium started enforcing it and responding with an error:

Using unsafe HTTP verb GET to invoke /json/new. This action supports only PUT verb.

For context, this has been introduced by this chromium PR: https://chromium-review.googlesource.com/c/chromium/src/+/4110715

@gorghoa
Copy link

gorghoa commented Jan 18, 2024

lol, I checked the issues but not the PR, and recoded this one too 🤣 (#39)

@andrewvy , any chance to get this one merged and released?

Thanks!

aus70 added a commit to aus70/chrome-remote-interface that referenced this pull request Apr 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants