Don't check for xpath if css selector is set