ios-webkit-debug-proxy 说明
生活随笔
收集整理的這篇文章主要介紹了
ios-webkit-debug-proxy 说明
小編覺得挺不錯的,現在分享給大家,幫大家做個參考.
支持IOS 13.0以下
參考:https://github.com/google/ios-webkit-debug-proxy
工作原理圖:
啟動命令,直接:ios_webkit_debug_proxy
- --debug?for verbose output.
- --frontend?to specify a frontend
- --help?for more options.
- Ctrl-C?to quit. Also, the proxy can be left running as a background process.
指定前端:
ios_webkit_debug_proxy -f chrome-devtools://devtools/bundled/inspector.html ios_webkit_debug_proxy -f ~/chromium/src/third_party/WebKit/Source/devtools/front_end/inspector.html ios_webkit_debug_proxy -f http://foo.com:1234/bar/inspector.html http://chrome-devtools-frontend.appspot.com/static/27.0.1453.93/devtools.htmlappium中封裝API使用的協議:Webkit remote debugger protocol
https://github.com/appium/appium-remote-debugger
?
js發送websocket請求格式:
websocket.send(JSON.stringify({id:2,method:"DOM.getAttributes",params:{nodeId:12}}))
?
tips:很多方法不支持。
?
參考:
CDP協議命令:https://chromedevtools.github.io/devtools-protocol/tot/DOM/#method-requestNode
CDP協議詳解:https://github.com/Pines-Cheng/blog/issues/82
最新協議開發者:https://inspect.dev/why
?
總結
以上是生活随笔為你收集整理的ios-webkit-debug-proxy 说明的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: win7中c盘清理
- 下一篇: 决策树,逻辑回归,PCA-算法面经