"trigger context menu item" action is not working. Any ideas for fixes?

I made this BTT trigger to quit items in the dock faster by automatically clicking the context menu item, but either nothing happens or it opens the menu without actually clicking it. I looked this issue up and found a bunch of old posts with no solutions.Processing: r0k8zsry3flc1.png…

unfortunately the dock context menu's don't behave like normal context menus. Not sure whether I'll be able to workaround that.

However in the latest alpha (4.411 ) the "Quit App Under Cursor" action, will also work on Dock items. That's probably a better solution to the problem anyways.