我试图访问开发工具协议的可访问性域,但没有成功。我得到了:Unchecked runtime.lastError: {"code":-32601,"message":"'Accessibility.getFullAXTree' wasn't found"}
我可以访问其他实验性API,例如Emulation.setFocusEmulationEnabled
下面是我的代码:
chrome.debugger.attach({tabId: customerTabId} , '1.3', () => {
chrome.debugger.sendCommand(
{tabId: customerTabId},
'Accessibility.getFullAXTree',
(result) => {
console.log(result);
}
);
});
是否有人尝试成功访问辅助功能域?
1条答案
按热度按时间hiz5n14c1#
感谢wOxxOm的帮助,将Chrome从110升级到115似乎可以解决这个问题。