translates css selectors to xpath