我想在螺栓管理界面中安装扩展。当我打开网页就得到我的这个错误: An unknown error occurred. This was the error message: JSON.parse: unexpected character at line 1 column 1 of the JSON data 在页面的控制台看着我得到: TypeError: n.error is undefine
如何选择使用querySelector 这里整个文档来选择整个文档代码: var jsdom = require('jsdom');
const {JSDOM} = jsdom;
const dom = new JSDOM(htmlSource)
var q = dom.window.document.querySelector.bind(dom.window.document);
q("