Exposing devtools to javascript

95 views
Skip to first unread message

Ophir Back

unread,
Jun 1, 2023, 6:38:05 AM6/1/23
to chrome-debugging-protocol
I attempted to expose devtools interface to a javascript client to play with it a bit from there. I used `Target.exposeDevToolsProtocol` and it worked. 
I then tried to do the following, which gave me an error I'm not sure what to do with:
"error":{"code":-32601,"message":"'Input.insertText' wasn't found"}
It does not matter which method I try to invoke, they all returned with the same error. Is there some initialisation I'm supposed to do and not aware of?

Screenshot 2023-06-01 at 13.36.18.png
Reply all
Reply to author
Forward
0 new messages