Skip to content

Comment on Closer to the Metal: Leaving Playwright for CDPparent

Comments

You can get all of that pure snapshot.

There are no extra checks needed it's by a significant margin the most reliable method to see current state.

I run snapshot at 10-20fps though plus the same for parallel image capture.

I've been wondering if I should release just this part of my system open source seems like I'm not alone in how complex this all is.

I could launch yet another automation framework!

you still need separate calls to get the AXTree with full computed aria properties, and a bunch of Runtime.evaluate calls to scan all the dynamically-added event listeners.

Snapshot is all you need. I get all of the info you describe in pure snapshot. Automation works fine.

you cannot get the list of bound onclick handlers with a snapshot

You also can't run it at 10-20fps

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.