英文:
Cannot access Accessibility domain in chrome dev tools protocol
问题
I'm trying to access the Accessibility domain of the dev tools protocol without success.
I'm getting:
Unchecked runtime.lastError: {"code":-32601,"message":"'Accessibility.getFullAXTree' wasn't found"}
I'm able to access other experimental APIs, for example, Emulation.setFocusEmulationEnabled
.
Here is my code:
chrome.debugger.attach({tabId: customerTabId} , '1.3', () => {
chrome.debugger.sendCommand(
{tabId: customerTabId},
'Accessibility.getFullAXTree',
(result) => {
console.log(result);
}
);
});
Did anyone try to access the accessibility domain with success?
英文:
I'm trying to access the Accessibility domain of the dev tools protocol without success.
I'm getting:
Unchecked runtime.lastError: {"code":-32601,"message":"'Accessibility.getFullAXTree' wasn't found"}
I'm able to access other experimental APIs for example Emulation.setFocusEmulationEnabled
Here is my code:
chrome.debugger.attach({tabId: customerTabId} , '1.3', () => {
chrome.debugger.sendCommand(
{tabId: customerTabId},
'Accessibility.getFullAXTree',
(result) => {
console.log(result);
}
);
});
Did anyone try to access the accessibility domain with success?
答案1
得分: 0
感谢wOxxOm的帮助,将Chrome从110升级到115似乎解决了这个问题。
英文:
Thanks to wOxxOm help, upgrading chrome from 110 to 115 seems to solve this issue.
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
评论