nice-plq / devtools-remote-debugger Goto Github PK
View Code? Open in Web Editor NEWUse devtools against a webpage; a CDP agent implemeted in client-side JS
License: MIT License
Use devtools against a webpage; a CDP agent implemeted in client-side JS
License: MIT License
大佬,现在不能对style进行操作, 增删改都不行,后续会支持吗?
作者有了解过 chii 么,你这个和chii相比,有哪些区别或者说是有哪些优势
理论上是不是也可以,我用A浏览器(已设置允许跨域)打开一个网页,连接到B浏览器,控制B浏览器,脱离node转发那一层的依赖,这样就可以做我的网页控制本机多个浏览器的自动化操作了
如题,请教一下如何部署本项目,npm run start是什么时候执行?
nginx部署的静态页面, 是加载sdk.js之后, 调试页面发起的websocket应该转发到node服务上吗?
只能查看响应,预览也只能看到json格式返回结果,其他的直接白屏。
awesome project! 我觉得这个项目非常有前途。
有两个小疑问,
1、有 roadmap 吗?看起来目前还在迭代开发中,能否给个 roadmap 呢?这样大家比较清楚大概什么时候自己可以真的把这个项目用在自己的工作中。
2、考虑过 ts 么?你这个项目目测规模也不会特别小,ts 可能读起来会更清晰一些。
最后,加油💪🏻
<script type="module" src="./entrypoints/inspector/inspector.js"></script>
的原因,如果使用<script type="module" src="./entrypoints/devtools_app/devtools_app.js"></script>
的原生页面就有范围和尺寸的显示,src/client/sdk/domain/protocol.js
补充 DOM.setNodeValue
数组属性src/client/sdk/domain/dom.js
添加export default class Dom extends BaseDomain {
// ...
/**
* @public
*/
setNodeValue(params) {
const { nodeId, value } = params;
// const node = getNode(nodeId)
const node = nodes.getNodeById(nodeId);
node.nodeValue = value;
}
//...
}
page.js
缺少了监听参数 this.observerInst.observe(document.body, {
childList: true,
subtree: true,
attributes: true,
characterData: true, // 其他几个监听地方都添加了,早就这个Page.js没有添加
});
请问在https网站中使用,默认建立wss通信,需要https的支持,服务器如何部署支持?
作者所提到在测试环境,测试人员和开发人员不在同个地方,使用此工具有助于排查问题。
想了解下,生产环境是否也适合使用该工具排查问题?最佳实践如何。
首先这是个很棒很有前景的项目! 我期待能早日变得壮大,
看完文档有个兼容疑问点,项目中使用的是 CDP (Chrome DevTools Protocol),请问client端sdk如果是运行在其他浏览器,例如:safari,firefox,夸克,微信这种浏览器,sdk是否能够兼容?目前兼容的列表有哪些呢?
部署到了服务器https,页面报错WebSocket connection to,改成ws又报错DOMException: Failed to construct 'WebSocket': An insecure WebSocket connection may not be initiated from a page loaded over HTTPS.
报错:Failed to load resource: the server responded with a status of 401 () chrome-error://chromewebdata/:1
WebSocket connection to 'wss://localhost:8080/remote/debug/client/KTzC7tGi?favicon=&time=1691642483080&title=&ua=Mozilla%2F5.0%20%28iPhone%3B%20CPU%20iPhone%20OS%2016_0_3%20like%20Mac%20OS%20X%29%20AppleWebKit%2F605.1.15%20%28KHTML%2C%20like%20Gecko%29%20Mobile%2F15E148&url=xxxxindex.html' failed: Could not connect to the server.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.