Switching dom_elements extraction to use recursion. Designed against pot...

...ential for race conditions when simulating actions prior harvesting data