I'm using AppleScript (inside of a macOS app) to get the currently active tab name in a browser. The code is following:
"tell application \"Google Chrome\" to return title of active tab of front window"
Until recently, everything was working fine. However, when I switched to the new version of Catalina, I started getting the following errors:
skipped scripting addition "/Library/ScriptingAdditions/Adobe Unit Types.osax" because it is not SIP-protected.
{
    NSAppleScriptErrorAppName = "Google Chrome";
    NSAppleScriptErrorBriefMessage = "Not authorized to send Apple events to Google Chrome.";
    NSAppleScriptErrorMessage = "Not authorized to send Apple events to Google Chrome.";
    NSAppleScriptErrorNumber = "-1743";
    NSAppleScriptErrorRange = "NSRange: {43, 3}";
}
I've tried adding NSAppleEventsUsageDescription and setting its value, but that produced no changes.
Any suggestions?