Mac accessibility API - get chrome tab

184 Views Asked by At

I want to use the macOS accessibility API to click a button on a website in a google chrome tab.

I'm using the Atomac package to do this.

chrome = atomac.getAppRefByBundleId('com.google.Chrome')
window = chrome.windows()[0]

But can I now get the buttons available inside the chrome window and then click on them?

1

There are 1 best solutions below

0
On

Try using selenium for accessing contents within Chrome.