collect now supports css and xpath selectors