added advance option for css selectors