It looks like Chrome now requires a PUT request to start the dev tools. Starting a new tab now produces a JSONDecodeError because the response is not JSON. The actual response is a 405 with the content: Using unsafe HTTP verb GET to invoke /json/new. This action supports only PUT verb.
|
rp = requests.get("%s/json" % self.dev_url, json=True, timeout=timeout) |
It looks like Chrome now requires a PUT request to start the dev tools. Starting a new tab now produces a
JSONDecodeErrorbecause the response is not JSON. The actual response is a 405 with the content:Using unsafe HTTP verb GET to invoke /json/new. This action supports only PUT verb.pychrome/pychrome/browser.py
Line 33 in c6c755b