4 ms·
Why not cdp snapshot?
by johnsmith1840 1y ago
Why not cdp snapshot?
- nikisweeting 1y agoWhat do you mean? We use CDP page snapshots extensively to get full html across frames but it's not nearly enough on its own, there are lots of checks still needed for individual OOPIFs or elements.
- johnsmith1840 1y agoYou 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!
- nikisweeting 1y agoyou 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.
- johnsmith1840 1y agoSnapshot is all you need. I get all of the info you describe in pure snapshot. Automation works fine.
- nikisweeting 1y agoyou cannot get the list of bound onclick handlers with a snapshot
- johnsmith1840 1y agoYou also can't run it at 10-20fps