エラーがでたためメモ
google-chrome --headless --disable-gpu --remote-debugging-port=9222
[0108/151730.928765:ERROR:devtools_http_handler.cc(636)] Using unsafe HTTP verb GET to invoke /json/new. This action will stop supporting GET and POST verbs in future versions.
[0108/152536.430605:ERROR:devtools_http_handler.cc(636)] Using unsafe HTTP verb POST to invoke /json/new. This action will stop supporting GET and POST verbs in future versions.
教えてSenpai
PUTメソッドならよさそう
$ curl -X PUT localhost:9222/json/new
{
"description": "",
"devtoolsFrontendUrl": "/devtools/inspector.html?ws=localhost:9222/devtools/page/E265A84B69684C42957CFB182F91E907",
"id": "E265A84B69684C42957CFB182F91E907",
"title": "",
"type": "page",
"url": "about:blank",
"webSocketDebuggerUrl": "ws://localhost:9222/devtools/page/E265A84B69684C42957CFB182F91E907"
}
URLを指定する方法分かる人いたら教えてちょ