This is a proof-of-concept. some quick and dirty utils extracting UI components from HTML using CSS selectors.