英文:
Cannot access Accessibility domain in chrome dev tools protocol
问题 {#heading}
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 {#1}
得分: 0
感谢wOxxOm的帮助,将Chrome从110升级到115似乎解决了这个问题。 英文:
Thanks to wOxxOm help, upgrading chrome from 110 to 115 seems to solve this issue.