4165 - Use Nokogiri at_css instead of css as the former returns nil rather than the whole document if the element is not found