Macro to copy browser url and title stopped working on new mac

I got a new mac and used sync feature to get macros from old mac. The macro to copy browser url and title stopped working on new mac. All other macros are working.

Here are results from File -> Share -> Keyboard Maestro Forum
Roam Link replacing square brackets by curly braces.kmmacros (4.5 KB)

I verified that "Allow Javascript from Apple Events" is ON in chrome browser.
image

The output is empty hyperlink:

Log file also does not show any errors.

2024-09-15 09:00:15 Execute macro “Roam Link replacing square brackets by curly braces” from trigger The Hot Key ⌥L is pressed

KM and KM engine are enabled in System Settings -> Privacy and Security -> Accessibility

I had to enable Google Chrome in System Settings -> Privacy and security -> Automation -> Keyboard Maestro

Glad you figured it out. There's so many little details like that that we forget when moving to a new system.

Go ahead and mark your second post as the answer, so people know it's been answered.