I was thinking about this recently, and tried implement it myself last night, then I found your repo, that's lucky,.
I have exists project use <https://github.com/halonium/halonium>, am planning use cdp instead. >From what I can tell, the cdp lack of dom domain, tab domain apis, and page >domain lack of `Page.addScriptToEvaluateOnNewDocument` wrapper, and the >disadvantage compare to chrome driver wrappers is it lack some features that >chrome driver options supported. like load packed extension (.crx).