Took me about half a day.
Granted, Ive neen building browser automation tools on top of cdp for many years now.