YouTube Subscription Sorter

I often use the YouTube subscription page to sort videos into playlists to watch later and to purge my feed using the "hide" commands. Perhaps my Inbox Zero tendencies have gone too far but I figured this would be a challenging macro to program. The accessibility commands very between Safari and Chrome, but essentially I click and execute a series of commands to orient to the first video.

What I would like to do is run in "Until" loop to use keystrokes to take actions on each video for "Watch Later", "Skip", and "Hide"... wherein each action navigates and opens the next video's overflow menu.

Through trial and error, I've discovered that this is best driven via keyboard instead of X/Y position. I'm struggling with opening the next video upon close as the accessibility state is unpredictable... meaning sometime it'll hover over the overflow triple-dot, other-times it'll capture the next video, etc.

It seems that either JXA or X-Path would help with this and I didn't know if any ninjas could step in and take a peak?

Orient to First Video in Safari

Opens the First Overflow Box

If / Else within Image-based Until Loop