我正在写一个网络抓取脚本,我想使用getComputedStyle(),但是它在节点上不起作用。我收到错误,说是getComputedStyle is not defined return elements.sort((a, b) => {
let aFontSize = parseInt(global.getC
看起来getComputedStyle()是个不错的选择。我想我需要的是这样的东西..for (var i in tags) {
var style = getComputedStyle有没有什么办法我可以混合使用xpath evaluate()和getComputedStyle()或任何其他方法来实现这一点呢?