无法访问 Chrome 开发工具协议中的辅助功能域

问题描述 投票:0回答:1

我尝试访问开发工具协议的辅助功能域,但没有成功。 我越来越:

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);        
        }
    );
});

有人尝试成功访问可访问域吗?

google-chrome google-chrome-extension google-chrome-devtools accessibility chrome-devtools-protocol
1个回答
0
投票

感谢 wOxxOm 的帮助,将 chrome 从 110 升级到 115 似乎解决了这个问题。

© www.soinside.com 2019 - 2024. All rights reserved.