When I tested this, it worked immediately in Chrome but failed in Safari (URL but no title).
The error I got was: DoJavaScript failed Safari got an error: You must enable the 'Allow JavaScript from Apple Events' option in Safari's Develop menu to use 'do JavaScript'.
I would check ~/Library/Logs/Keyboard Maestro/Engine.log to see if you're getting any similar errors.
What I did is I had a look in Google Chrome Settings > Sec & Privacy > Site Settings > JavaScript > Sites can use Javascript, and it was checked already.
Then I tested the macro, and there - it worked, but I had not toggled even any specific setting.
So far, so good, but strange.
Thank you for your help, I'm using these URL / Title macros all the time here.