Use Chrome script with Brave?

Hi Michael,

Re this script ; I’ve been playing around without success trying to use it with Brave. My initial assumption that it would be a 2-second job seeing as Brave is built on Chromium, was quickly proven wrong. Is it possible, do you know?

The close button is nested inside some groups:

tell application "System Events"
    tell application process "Brave"
        tell window 1
            tell group 1
                tell group "Downloads bar"
                    click button "Close"
                end tell
            end tell
        end tell
    end tell
end tell

The best way to figure this out is with UI Browser.

Ah right. Knew it had to be something of that nature beyond my ken. Thanks so much for that. I’ll have to have a proper look at UI Browser. I downloaded it a while back, but haven’t really explored it.