A custom script I wrote that is used internally by Mac users to automate a connection process is now failing on Big Sur (yes, it’s taken this long for all the enterprise apps to be fully updated and approved by our IT department and allow us to install Big Sur… but I digress…)
The issue is that Big Sur seems to be adding a Passwords… pop-up button by default to a secure text field
in one of the dialogs, as shown in the screenshot below:
This extra element causes the window detection logic in my script to fail.
I’ve tried, but I can’t find a good way to get information about this new extraneous Passwords… button so I can try and detect it in my script. As soon as I switch to UI Browser to find it, the Passwords… pop-up disappears (and the attributes of the dialog look like the script expects them to).
The check I’m using to detect this window opening is simply:
if button "OK" of window 2 of process theConnectorProcess exists then
which now fails because of the new Passwords… popup.
Has anyone dealt with this in Big Sur already? Any suggestions?