changed element method to css_selector